{"version":3,"sources":["webpack:///./src/app/components/data-entry/data-entry-trade-ins.component.html","webpack:///../node_modules/core-js/modules/es6.array.is-array.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/carproof/carproof.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/color.component.html","webpack:///./src/app/components/deal-sheet/modals/view-customer-email-sent-modal.component.html","webpack:///./src/app/generated/services/sale-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/sale-client.service.ts","webpack:///./src/app/components/deal-sheet/contract/projected-mileage/projected-mileage.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/projected-mileage/projected-mileage.component.ts","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-connect/mobile-customer-connect.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-connect/mobile-customer-connect.component.ts","webpack:///../node_modules/core-js/modules/_redefine-all.js.pre-build-optimizer.js","webpack:///./src/app/constants/activity-result-descriptors.ts.pre-build-optimizer.js","webpack:///./src/app/constants/activity-result-descriptors.ts","webpack:///./src/app/modules/translations/translations.module.js.pre-build-optimizer.js","webpack:///./src/app/modules/translations/translations.module.js","webpack:///./src/app/components/deal-sheet/contract/annual-percentage-rate/annual-percentage-rate.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/annual-percentage-rate/annual-percentage-rate.component-ng.html","webpack:///./src/app/components/deal-sheet/alerts/alerts.component-ng.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/alerts/alerts.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/trade-source-logo/trade-source-logo.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/constants/alert.types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/alert.types.ts","webpack:///./src/app/components/deal-sheet/contract/carfax/carfax.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/carfax/carfax.component-ng.html","webpack:///./src/app/components/dashboard/quick-links/quick-links.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/quick-links/quick-links.component-ng.html","webpack:///../node_modules/core-js/modules/_math-sign.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_strict-method.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/discrepancy-input.component.html","webpack:///./src/app/components/error/unauthorized.component.html","webpack:///./src/app/components/deal-sheet/alert-relevant-info.component.html","webpack:///./src/app/scripts/redactor/redactor.nobabel.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/money-factor/money-factor.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/money-factor/money-factor.component.ts","webpack:///./src/app/components/header/search-presets/search-presets.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/header/search-presets/search-presets.component.ts","webpack:///./src/app/components/deal-sheet/mobile/mobile-deal-sheet/mobile-deal-sheet.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/header-wrapper.component.html","webpack:///../node_modules/core-js/modules/es6.reflect.has.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-manage-presets.component.html","webpack:///./src/app/components/admin/do-not-call-email/do-not-call-email.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/do-not-call-email/do-not-call-email.component-ng.html","webpack:///./src/app/components/dashboard/dashboard-opportunities-table/dashboard-opportunities-table.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/do-not-call-email/do-not-call-email.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial/add-financial-info.component.html","webpack:///./src/app/constants/activity-sub-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/activity-sub-types.ts","webpack:///../node_modules/core-js/modules/es6.math.tanh.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-rates-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-rates-client.service.ts","webpack:///./src/app/constants/activity-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/activity-types.ts","webpack:///../node_modules/core-js/modules/es6.array.slice.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/activity-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/activity-client.service.ts","webpack:///./src/app/components/deal-sheet/modals/credit-pre-approval-modal.component.html","webpack:///./src/app/components/admin/admin-settings-opportunity.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-opportunity.component-ng.html","webpack:///./src/app/components/header/user-settings.component/user-settings.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/header/user-settings.component/user-settings.component-ng.html","webpack:///./src/app/components/deal-sheet/nlo-info-modal/nlo-info-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-edit.component.scss","webpack:///../node_modules/core-js/modules/_object-gops.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-actions/customer-connect-actions.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vincue-modal/vincue-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/services/customer-workflow.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/customer-workflow.service.ts","webpack:///./src/app/services/stock-number-search.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/stock-number-search.service.ts","webpack:///./src/app/components/wish-list/wish-list.component.html","webpack:///./src/app/services/customer.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/customer.service.ts","webpack:///./src/app/services/mobile-deal-sheet-data-caching.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/mobile-deal-sheet-data-caching.service.ts","webpack:///./src/app/polyfills.ts.pre-build-optimizer.js","webpack:///./src/app/polyfills.ts","webpack:///./src/app/components/deal-sheet/contract/feature-comparison-features.component.html","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-schedule-action/customer-connect-schedule-action.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-schedule-action/customer-connect-schedule-action.component-ng.html","webpack:///./src/app/images/icon-o2o-offer-blue.svg","webpack:///../node_modules/core-js/modules/_uid.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/trade-source-logo/trade-source-logo.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/trade-source-logo/trade-source-logo.component-ng.html","webpack:///./src/app/images/icons/icon-sms.svg","webpack:///./src/app/core/common.config.js","webpack:///./src/app/core/common.config.js.pre-build-optimizer.js","webpack:///./src/app/constants/discrepancy-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/discrepancy-types.ts","webpack:///./src/app/components/deal-sheet/contract/vauto/vauto.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vauto/vauto.component.ts","webpack:///./src/app/components/admin/admin-settings-modal-sendtestlead.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-modal-sendtestlead.component.ts","webpack:///../node_modules/core-js/modules/_object-gopd.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-roles-modal-addedit.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/personalized-offer/personalized-offer.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/personalized-offer/personalized-offer.component.ts","webpack:///./src/app/components/deal-sheet/type-of-call/type-of-call.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-name/customer-name.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-name/customer-name.component.ts","webpack:///./src/app/constants/opportunity-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/opportunity-types.ts","webpack:///../node_modules/core-js/modules/es6.reflect.is-extensible.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/score-info-modal/score-info-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/score-info-modal/score-info-modal.component-ng.html","webpack:///../node_modules/core-js/modules/es6.object.set-prototype-of.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-inventory.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-inventory.component-ng.html","webpack:///./src/app/components/radio-group.component.html","webpack:///./src/app/components/deal-sheet/modals/vehicle-select-modal.component.html","webpack:///./src/app/components/deal-sheet/vehicle/trade-in-value/trade-in-value.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/trade-in-value/trade-in-value.component-ng.html","webpack:///../node_modules/core-js/modules/_array-methods.js.pre-build-optimizer.js","webpack:///./src/app/constants/api/activity-statuses.ts.pre-build-optimizer.js","webpack:///./src/app/constants/api/activity-statuses.ts","webpack:///./src/app/components/deal-sheet/contract/loyalty-rebate.component.html","webpack:///./src/app/components/deal-sheet/mobile/mobile-vehicles/mobile-vehicles.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-vehicles/mobile-vehicles.component.ts","webpack:///../node_modules/core-js/modules/_is-array-iter.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/sale-type-select.component.html","webpack:///./src/app/components/deal-sheet/contract/vauto-modal/vauto-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/balloon-payment.component.html","webpack:///../node_modules/core-js/modules/es7.object.get-own-property-descriptors.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.array.find-index.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/balance-to-maturity.component.html","webpack:///./src/app/components/modals/display-modal/display-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/modals/display-modal/display-modal.component.ts","webpack:///./src/app/components/login.component.html","webpack:///./src/app/generated/services/messaging-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/messaging-client.service.ts","webpack:///./src/app/components/deal-sheet/score-info-modal/score-info-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/display-modal/display-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/icon-ai-manager-vanilla.svg","webpack:///./src/app/modules/oidc-auth/events.ts.pre-build-optimizer.js","webpack:///./src/app/modules/oidc-auth/events.ts","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-modal/mileage-edit-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-modal/mileage-edit-modal.component-ng.html","webpack:///../node_modules/core-js/modules/es7.object.values.js.pre-build-optimizer.js","webpack:///./src/app/services/ngx-modal-wrapper.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/ngx-modal-wrapper.service.ts","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-detail/customer-connect-sub-detail.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/activity-history-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/activity-history-client.service.ts","webpack:///./src/app/generated/services/customer-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/customer-client.service.ts","webpack:///./src/app/services/activity.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/activity.service.ts","webpack:///../node_modules/core-js/modules/es6.object.get-own-property-names.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-edit-action.component.html","webpack:///./src/app/constants/time-zones.ts.pre-build-optimizer.js","webpack:///./src/app/constants/time-zones.ts","webpack:///../node_modules/core-js/modules/es6.math.sinh.js.pre-build-optimizer.js","webpack:///./src/app/services/recent-deal-sheet.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/recent-deal-sheet.service.ts","webpack:///./src/app/modules/oidc-auth/token.service.ts.pre-build-optimizer.js","webpack:///./src/app/modules/oidc-auth/token.service.ts","webpack:///./src/app/components/deal-sheet/modals/credit-soft-pull-result-modal.component.html","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-log-action/customer-connect-log-action.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/trim-select.component.html","webpack:///./src/app/components/deal-sheet/vehicle/fuel-difference.component.html","webpack:///./src/app/components/data-entry/replacement/edit-upgrade-downgrade-multi-items-modal.component.html","webpack:///../node_modules/core-js/modules/es7.reflect.define-metadata.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.array.reduce.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_set-proto.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-time.pipe.ts.pre-build-optimizer.js","webpack:///./src/app/filters/locale-time.pipe.ts","webpack:///../node_modules/core-js/modules/es7.object.lookup-getter.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/type-of-call/type-of-call.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/type-of-call/type-of-call.component-ng.html","webpack:///./src/app/components/deal-sheet/alert/alert.component-ng.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/alert/alert.component-ng.ts","webpack:///./src/app/components/admin/admin-settings-programs.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-programs.component.ts","webpack:///./src/app/components/deal-sheet/financial-edit-action.component.html","webpack:///./src/app/components/deal-sheet/vehicle/stock-vehicle.component.html","webpack:///../node_modules/core-js/modules/es6.regexp.to-string.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/residual/residual.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/residual/residual.component-ng.html","webpack:///../node_modules/core-js/modules/es6.string.sup.js.pre-build-optimizer.js","webpack:///./src/app/images/Blue_Advantage_Blue_Certified.png","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-connect/mobile-customer-connect.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-connect/mobile-customer-connect.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/financed-amount/financed-amount.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/report-subscription-list.component.html","webpack:///./src/app/components/search/search-export-epsilon-modal.component.scss","webpack:///./src/app/components/deal-sheet/alert/alert.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/user-module-access-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/user-module-access-client.service.ts","webpack:///./src/app/generated/services/log-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/log-client.service.ts","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect.component-ng.html","webpack:///./src/app/components/deal-sheet/vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component-ng.html","webpack:///./src/app/components/admin/admin-settings-dealerinfo.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-dealerinfo.component.ts","webpack:///./src/app/components/deal-sheet/vehicle/inventory-search-action.component.html","webpack:///../node_modules/core-js/modules/_to-primitive.js.pre-build-optimizer.js","webpack:///./src/app/images/error/unauthorized/icon-alertminer-warranty.png","webpack:///./src/app/ajs-upgraded-providers.ts.pre-build-optimizer.js","webpack:///./src/app/ajs-upgraded-providers.ts","webpack:///./src/app/images/icons/icon-messaging-email-sms.svg","webpack:///./src/app/components/deal-sheet/deal-sheet-vci.component.scss","webpack:///../node_modules/core-js/modules/es6.object.assign.js.pre-build-optimizer.js","webpack:///./src/app/components/opportunities/euroliteopportunities.component.html","webpack:///./src/app/components/service-drive/modals/service-drive-offers-print.modal.component.html","webpack:///./src/app/components/wish-list/wish-list-matches-modal.component.scss","webpack:///./src/app/components/deal-sheet/modals/show-full-conversation-modal.component.html","webpack:///./src/app/components/deal-sheet/reopen.component.html","webpack:///./src/app/constants/trim-price-plan-source.ts.pre-build-optimizer.js","webpack:///./src/app/constants/trim-price-plan-source.ts","webpack:///./src/app/components/possible-nlo/possible-nlo.component.html","webpack:///../node_modules/core-js/modules/es6.object.define-properties.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/tags/tags.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/tags/tags.component.ts","webpack:///../node_modules/core-js/es7/reflect.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_math-fround.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/service-history.component.html","webpack:///./src/app/constants/sale-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/sale-types.ts","webpack:///./src/app/components/deal-sheet/modals/open-process-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/payment-difference/payment-difference.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/payment-difference/payment-difference.component.ts","webpack:///./src/app/images/logo-pando.svg","webpack:///./src/app/components/search/search-preset-settings-modal.component.html","webpack:///./src/app/generated/services/credit-soft-pull-result-entity-del-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/credit-soft-pull-result-entity-del-client.service.ts","webpack:///../node_modules/core-js/modules/es6.array.of.js.pre-build-optimizer.js","webpack:///./src/app/components/header/customer-engagement-widget.component.html","webpack:///../node_modules/core-js/modules/es6.string.includes.js.pre-build-optimizer.js","webpack:///./src/app/components/wish-list/wish-list-trim-list.component.html","webpack:///./src/app/components/header/impersonation-status/impersonation-status.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/header/impersonation-status/impersonation-status.component-ng.html","webpack:///./src/app/components/admin/admin-templates/admin-templates-edit-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-actions/customer-connect-sub-actions.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-actions/customer-connect-sub-actions.component-ng.html","webpack:///../node_modules/core-js/modules/es6.reflect.delete-property.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.object.keys.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/modal/modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/pando-passthrough-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/pando-passthrough-client.service.ts","webpack:///./src/app/core/logged-in-data-initialization.service.ts.pre-build-optimizer.js","webpack:///./src/app/core/logged-in-data-initialization.service.ts","webpack:///./src/app/components/admin/admin-settings-product.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-product.component.ts","webpack:///./src/app/components/reports/modals/lms-transcript-modal.component.html","webpack:///./src/app/images/icons/icon-tag.svg","webpack:///./src/app/components/data-entry/data-entry-alerts.component.html","webpack:///./src/app/components/dashboard/opportunity-block.component.html","webpack:///./src/app/components/deal-sheet/contract/factory-rebate/factory-rebate.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/factory-rebate/factory-rebate.component-ng.html","webpack:///./src/app/components/deal-sheet/log-action-shortcuts/log-action-shortcuts.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/log-action-shortcuts/log-action-shortcuts.component.ts","webpack:///./src/app/components/deal-sheet/contract/pull-forward/pull-forward.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/pull-forward/pull-forward.component.ts","webpack:///./src/app/services/authorization.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/authorization.service.ts","webpack:///./src/app/images/icons/icon-wish-list.svg","webpack:///./src/app/components/modals/bulk-template-wizard-modal.component.html","webpack:///./src/app/images/icons/engagement.svg","webpack:///../node_modules/core-js/modules/es6.array.for-each.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/lms-transcript.component.html","webpack:///../node_modules/core-js/modules/es6.date.now.js.pre-build-optimizer.js","webpack:///./src/app/images/error/unauthorized/icon-alertminer-flex.png","webpack:///./src/app/components/deal-sheet/other-vehicles-owned.component.html","webpack:///../node_modules/core-js/modules/es6.date.to-primitive.js.pre-build-optimizer.js","webpack:///./src/app/services/admin-templates.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/admin-templates.service.ts","webpack:///./src/app/components/admin/admin-settings-dealerinfo.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-dealerinfo.component-ng.html","webpack:///./src/app/directives/max.directive.ts.pre-build-optimizer.js","webpack:///./src/app/directives/max.directive.ts","webpack:///./src/app/components/deal-sheet/contract/preferred-equity.component.html","webpack:///./src/app/components/dashboard/dashboard.scss","webpack:///../node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js.pre-build-optimizer.js","webpack:///./src/app/constants/search-preset-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/search-preset-types.ts","webpack:///./src/app/images/Ford-Pricing-logo2x.png","webpack:///../node_modules/core-js/modules/_shared-key.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/mileage/mileage.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/mileage/mileage.component.ts","webpack:///./src/app/modules/oidc-auth/module.ts.pre-build-optimizer.js","webpack:///./src/app/modules/oidc-auth/module.ts","webpack:///./src/app/components/dashboard/dashboard-manager.component.html","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-action/mileage-edit-action.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-action/mileage-edit-action.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/dealer-rebate/dealer-rebate.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-save-layout-modal.component.scss","webpack:///./src/app/components/deal-sheet/modals/post-notes.component.html","webpack:///../node_modules/core-js/modules/_array-reduce.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/dms-push-modal/dms-push-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/dms-push-modal/dms-push-modal.component-ng.html","webpack:///./src/app/components/deal-sheet/activity-actions.component.html","webpack:///./src/app/components/deal-sheet/contract/annual-percentage-rate/annual-percentage-rate.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/annual-percentage-rate/annual-percentage-rate.component.ts","webpack:///./src/app/generated/services/dealer-tradein-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-tradein-client.service.ts","webpack:///../node_modules/core-js/modules/es6.reflect.get.js.pre-build-optimizer.js","webpack:///./src/app/components/header/header.component.html","webpack:///../node_modules/core-js/modules/_wks.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_ctx.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.regexp.match.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.array.filter.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-phone/mobile-customer-phone.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-phone/mobile-customer-phone.component-ng.html","webpack:///./src/app/constants/customer-process-statuses.ts.pre-build-optimizer.js","webpack:///./src/app/constants/customer-process-statuses.ts","webpack:///./src/app/components/deal-sheet/mobile/customer-info/customer-info.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/customer-info/customer-info.component.ts","webpack:///./src/app/components/header/main-menu.component.html","webpack:///./src/app/generated/services/cache-management-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/cache-management-client.service.ts","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect.component.ts","webpack:///../node_modules/core-js/modules/_object-gpo.js.pre-build-optimizer.js","webpack:///./src/app/components/third-party-report.component.html","webpack:///./src/app/components/general/customer-culture-select/customer-culture-select.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/tag-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/tag-client.service.ts","webpack:///../node_modules/core-js/modules/es6.symbol.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.date.to-json.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.math.log2.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/change-log-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/change-log-client.service.ts","webpack:///./src/app/components/deal-sheet/template-email-preview.component.html","webpack:///../node_modules/core-js/modules/_collection.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_string-context.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-preset-selector-modal.component.html","webpack:///../node_modules/core-js/modules/es6.reflect.apply.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/price/price.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/dms-push/dms-push.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/dms-push/dms-push.component.ts","webpack:///../node_modules/core-js/modules/es6.math.log10.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/icon-store-chooser.svg","webpack:///./src/app/components/deal-sheet/email-info-edit.component.html","webpack:///../node_modules/core-js/modules/es6.string.ends-with.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-add-access-modal.component.html","webpack:///./src/app/services/auto-assistant.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/auto-assistant.service.ts","webpack:///../node_modules/core-js/modules/es6.string.fixed.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_to-absolute-index.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/score-info/score-info.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/score-info/score-info.component-ng.html","webpack:///./src/app/components/data-entry/data-entry-trade-ins.component.scss","webpack:///./src/app/components/search/search-directalert.component.html","webpack:///./src/app/components/deal-sheet/contract/payments/payments.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component.ts","webpack:///../node_modules/core-js/modules/_is-object.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/dms-push/dms-push.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-log-action/customer-connect-log-action.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-log-action/customer-connect-log-action.component-ng.html","webpack:///./src/app/components/deal-sheet/nlo-info/nlo-info.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/nlo-info/nlo-info.component-ng.html","webpack:///./src/app/components/header/pando-availability/pando-availability.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_array-species-create.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/contract-dates.component.html","webpack:///./src/app/images/autoalert-logo.png","webpack:///./src/app/components/data-entry/data-entry-rebates.component.scss","webpack:///../node_modules/core-js/modules/_create-property.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_html.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/eula-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/eula-client.service.ts","webpack:///./src/app/components/deal-sheet/pricing-plan-client.component.html","webpack:///../node_modules/core-js/modules/_math-log1p.js.pre-build-optimizer.js","webpack:///./src/app/components/header/user-settings.component/user-settings.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/filters/safe.pipe.ts.pre-build-optimizer.js","webpack:///./src/app/filters/safe.pipe.ts","webpack:///../node_modules/core-js/modules/_iobject.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.math.expm1.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/facebook-profile-action.component.html","webpack:///./src/app/components/data-entry/data-entry-rebates.component.html","webpack:///./src/app/services/dealer-settings.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/dealer-settings.service.ts","webpack:///../node_modules/core-js/es6/number.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/es6/parse-float.js.pre-build-optimizer.js","webpack:///../node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/app/components/dashboard/dashboard-opportunities.component.html","webpack:///./src/app/images/autoalert-logo-lincoln.png","webpack:///./src/app/images/icons/o2o-offer.svg","webpack:///./src/app/components/deal-sheet/alert/alert.component-ng.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/alert/alert.component-ng.html","webpack:///./src/app/images/error/unauthorized/logo-alertminer.png","webpack:///./src/app/components/header/live-support.component.html","webpack:///./src/app/components/search/search-reassign-modal.component.html","webpack:///../node_modules/core-js/modules/es6.math.sign.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings.component-ng.html","webpack:///./src/app/components/search/ui-dropdownlist.component.html","webpack:///./src/app/components/data-entry/data-entry-frame.component.html","webpack:///./src/app/components/deal-sheet/contract/money-factor/money-factor.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/money-factor/money-factor.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/msrp-type-select.component.html","webpack:///./src/app/components/deal-sheet/mobile/mobile-routes.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-routes.ts","webpack:///./src/app/components/search/search-manage-presets.component.scss","webpack:///../node_modules/core-js/modules/es6.parse-float.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/rating-5star.svg","webpack:///./src/app/images/icons/close.svg","webpack:///./src/app/components/search/search-save-response-modal.component.html","webpack:///./src/app/components/dashboard/dashboard-opportunities-table/dashboard-opportunities-table.component-ng.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/dashboard-opportunities-table/dashboard-opportunities-table.component-ng.html","webpack:///../node_modules/core-js/modules/_fails.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_set-species.js.pre-build-optimizer.js","webpack:///./src/app/constants/api/crm-activity-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/api/crm-activity-types.ts","webpack:///./src/app/components/data-entry/replacement/edit-upgrade-downgrade-modal.component.html","webpack:///./src/app/generated/services/dealer-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-client.service.ts","webpack:///./src/app/components/admin/admin-templates/admin-templates-edit-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-templates/admin-templates-edit-modal.component.ts","webpack:///./src/app/components/data-entry/data-entry-alerts.component.scss","webpack:///../node_modules/core-js/modules/es6.reflect.define-property.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/feature-comparison-fuel.component.html","webpack:///../node_modules/core-js/modules/es6.number.to-precision.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mark-as-sold.component.html","webpack:///./src/app/components/deal-sheet/modals/hot-trade-details-modal.component.html","webpack:///../node_modules/core-js/modules/es6.reflect.prevent-extensions.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_an-instance.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-roles-selector.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.reflect.enumerate.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/ext-customer-activity-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/ext-customer-activity-client.service.ts","webpack:///./src/app/components/deal-sheet/contract/capital-cost/capital-cost.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/capital-cost/capital-cost.component.ts","webpack:///../node_modules/core-js/modules/es6.string.starts-with.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-contact.component.html","webpack:///./src/app/generated/services/dealer-asset-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-asset-client.service.ts","webpack:///./src/app/components/deal-sheet/opportunity-select.component.html","webpack:///./src/app/constants/conquest-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/conquest-types.ts","webpack:///./src/app/components/deal-sheet/vehicle/fuel-difference/fuel-difference.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/fuel-difference/fuel-difference.component.ts","webpack:///./src/app/components/deal-sheet/contract/service-appointment/service-appointment.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.math.asinh.js.pre-build-optimizer.js","webpack:///./src/app/components/email-unsubscribe.component.html","webpack:///../node_modules/core-js/modules/_fails-is-regexp.js.pre-build-optimizer.js","webpack:///./src/app/constants/engagement-event-types.constant.ts.pre-build-optimizer.js","webpack:///./src/app/constants/engagement-event-types.constant.ts","webpack:///./src/app/constants/email-from-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/email-from-types.ts","webpack:///./src/app/components/deal-sheet/contract/vauto/vauto.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vauto/vauto.component-ng.html","webpack:///./src/app/components/reports/report-subscriptions.component.html","webpack:///../node_modules/core-js/modules/es6.reflect.get-prototype-of.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial/financials-retail-sale.component.html","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-process.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_defined.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/es6/function.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deskit/deskit.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deskit/deskit.component.ts","webpack:///../node_modules/core-js/modules/_descriptors.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.number.min-safe-integer.js.pre-build-optimizer.js","webpack:///./src/app/constants/product-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/product-types.ts","webpack:///./src/app/components/deal-sheet/contract/vincue-modal/vincue-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vincue-modal/vincue-modal.component-ng.html","webpack:///./src/app/components/data-entry/replacement/edit-upgrade-downgrade-modal.component.scss","webpack:///./src/app/components/deal-sheet/view-email-conversation-action.component.html","webpack:///./src/app/generated/services/vehicle-final-trade-value-temp-change-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/vehicle-final-trade-value-temp-change-client.service.ts","webpack:///./src/app/components/deal-sheet/alert-script-type-select.component.html","webpack:///./src/app/components/deal-sheet/user-select-action.component.html","webpack:///./src/app/services/menu.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/menu.service.ts","webpack:///../node_modules/core-js/modules/es6.number.is-finite.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/reviews.svg","webpack:///../node_modules/core-js/modules/es6.function.name.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/modal/modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/modals/modal/modal.component.ts","webpack:///./src/app/components/data-entry/replacement/edit-replacements-advanced-modal.component.html","webpack:///./src/app/components/deal-sheet/mobile/mobile-replacement-contract/mobile-replacement-contract.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.number.is-integer.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-detail/customer-connect-sub-detail.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-detail/customer-connect-sub-detail.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/service-appointment/service-appointment.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/service-appointment/service-appointment.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/cash-paid/cash-paid.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/cash-paid/cash-paid.component.ts","webpack:///./src/app/images/icon-pencil-lake.svg","webpack:///./src/app/images/error/unauthorized/icon-alertminer-service.png","webpack:///./src/app/components/ngx-toaster.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/ngx-toaster.component.ts","webpack:///./src/app/constants/asset-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/asset-types.ts","webpack:///./src/app/components/deal-sheet/vehicle/vin.component.html","webpack:///./src/app/components/deal-sheet/vehicle/inventory-search.component.html","webpack:///./src/app/components/deal-sheet/contract/dealer-rebate/dealer-rebate.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/dealer-rebate/dealer-rebate.component.ts","webpack:///../node_modules/core-js/modules/_ie8-dom-define.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.object.seal.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/open-new-window.component.html","webpack:///./src/app/components/deal-sheet/vehicle/trade-in-value/trade-in-value.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/facebook-photo.component.html","webpack:///./src/app/components/wish-list/wish-list-distr-list.component.html","webpack:///./src/app/images/icons/rating-1star.svg","webpack:///./src/app/generated/services/email-conversation-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/email-conversation-client.service.ts","webpack:///../node_modules/core-js/modules/_for-of.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/icon-geoalert.svg","webpack:///./src/app/constants/translate-error-keys.ts.pre-build-optimizer.js","webpack:///./src/app/constants/translate-error-keys.ts","webpack:///./src/app/images/icons/icon-im-offer-arrow-lake.svg","webpack:///./src/app/images/icon-eye-lake.svg","webpack:///./src/app/components/deal-sheet/contract/contract-end/contract-end.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/contract-end/contract-end.component-ng.html","webpack:///../node_modules/core-js/modules/es6.array.fill.js.pre-build-optimizer.js","webpack:///./src/app/components/edit-contact.component.html","webpack:///./src/app/components/header/dealer-list.component.html","webpack:///./src/app/components/deal-sheet/vehicle/registration-number.component.html","webpack:///./src/app/components/data-entry/data-entry-prices.component.scss","webpack:///./src/app/components/reports/dealer-make-select.component.html","webpack:///../node_modules/core-js/modules/_iterators.js.pre-build-optimizer.js","webpack:///../node_modules/zone.js/dist/zone.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_object-pie.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/rate-type-select.component.html","webpack:///./src/app/components/opportunities/opportunity-block-horizontal.component.html","webpack:///./src/app/utilities/datetime.js","webpack:///./src/app/components/deal-sheet/vehicle/price/price.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/price/price.component-ng.html","webpack:///./src/app/components/header/impersonation-status/impersonation-status.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/header/impersonation-status/impersonation-status.component.ts","webpack:///./src/app/components/search/search-save-layout-modal.component.html","webpack:///./src/app/components/iframe.component.html","webpack:///./src/app/services/pando-communication.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/pando-communication.service.ts","webpack:///../node_modules/core-js/modules/es6.regexp.constructor.js.pre-build-optimizer.js","webpack:///./src/app/utilities/object-cache.ts.pre-build-optimizer.js","webpack:///./src/app/utilities/object-cache.ts","webpack:///../node_modules/core-js/modules/_array-copy-within.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/activity.component.html","webpack:///./src/app/services/http/ng-selected-dealers-interceptor.ts.pre-build-optimizer.js","webpack:///./src/app/services/http/ng-selected-dealers-interceptor.ts","webpack:///./src/app/components/deal-sheet/vehicle/price/price.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/price/price.component.ts","webpack:///./src/app/filters/locale-number.pipe.ts.pre-build-optimizer.js","webpack:///./src/app/filters/locale-number.pipe.ts","webpack:///./src/app/components/deal-sheet/contract/payoff/payoff.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vincue-modal/vincue-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vincue-modal/vincue-modal.component.ts","webpack:///./src/app/constants/sub-menu.ts.pre-build-optimizer.js","webpack:///./src/app/constants/sub-menu.ts","webpack:///./src/app/components/deal-sheet/modals/view-email-conversation-modal.component.html","webpack:///./src/app/components/admin/admin-templates/admin-templates.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-templates/admin-templates.component.ts","webpack:///../node_modules/core-js/modules/es6.string.italics.js.pre-build-optimizer.js","webpack:///./src/app/constants/customer-activity-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/customer-activity-types.ts","webpack:///./src/app/constants/dealer-countries.ts.pre-build-optimizer.js","webpack:///./src/app/constants/dealer-countries.ts","webpack:///../node_modules/core-js/modules/_iter-define.js.pre-build-optimizer.js","webpack:///./src/app/images/Blue_Advantage_Gold_Certified.png","webpack:///../node_modules/core-js/modules/es6.array.iterator.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/tagged-customers/tagged-customers.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/tagged-customers/tagged-customers.component.ts","webpack:///./src/app/components/deal-sheet/action-checkbox.component.html","webpack:///../node_modules/core-js/modules/es6.number.max-safe-integer.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deal-sheet-tab-select.component.html","webpack:///../node_modules/core-js/modules/es7.object.lookup-setter.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/open-modal.component.html","webpack:///../node_modules/core-js/modules/_invoke.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vincue/vincue.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/services/communication-api.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/communication-api.service.ts","webpack:///./src/app/components/admin/admin-roles.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-roles.component-ng.html","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/constants/eula-status.types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/eula-status.types.ts","webpack:///./src/app/components/deal-sheet/contract/auto-check/auto-check.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/auto-check/auto-check.component.ts","webpack:///./src/app/filters/locale-date-time.pipe.ts.pre-build-optimizer.js","webpack:///./src/app/filters/locale-date-time.pipe.ts","webpack:///./src/app/components/admin/admin-settings-tabs.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-tabs.ts","webpack:///./src/app/components/admin/admin-templates/admin-templates-edit-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-templates/admin-templates-edit-modal.component-ng.html","webpack:///./src/app/components/deal-sheet/modals/push-to-crm.component.html","webpack:///./src/app/components/header/user-settings.component/user-settings.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/header/user-settings.component/user-settings.component.ts","webpack:///../node_modules/core-js/modules/es6.object.freeze.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial/financials-balloon-sale.component.html","webpack:///./src/app/components/dashboard/tagged-customers/tagged-customers.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/tagged-customers/tagged-customers.component-ng.html","webpack:///../node_modules/core-js/modules/es7.reflect.delete-metadata.js.pre-build-optimizer.js","webpack:///./src/app/services/deal-sheet-data.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/deal-sheet-data.service.ts","webpack:///../node_modules/core-js/modules/es6.object.is.js.pre-build-optimizer.js","webpack:///./src/app/images/error/unauthorized/icon-alertminer-mileage.png","webpack:///../node_modules/core-js/modules/_string-html.js.pre-build-optimizer.js","webpack:///./src/app/modules/oidc-auth/auth.provider.js.pre-build-optimizer.js","webpack:///./src/app/modules/oidc-auth/auth.provider.js","webpack:///../node_modules/core-js/es6/math.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/payoff-input-modal/payoff-input-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/payoff-input-modal/payoff-input-modal.component.ts","webpack:///./src/app/components/html-textarea.component.html","webpack:///../node_modules/core-js/modules/es6.reflect.construct.js.pre-build-optimizer.js","webpack:///./src/app/constants/activity-icon-classes.ts.pre-build-optimizer.js","webpack:///./src/app/constants/activity-icon-classes.ts","webpack:///./src/app/components/data-entry/replacement/data-entry-replacement-popover-list.component.html","webpack:///./src/app/components/deal-sheet/deal-sheet.scss","webpack:///./src/app/components/deal-sheet/contract/auto-check/auto-check.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/auto-check/auto-check.component-ng.html","webpack:///./src/app/components/tooltip.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/tooltip-ng.html","webpack:///./src/app/components/deal-sheet/modals/confirmation-modal/confirmation-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/confirmation-modal/confirmation-modal.component-ng.html","webpack:///../node_modules/core-js/modules/es7.reflect.get-metadata-keys.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_object-keys.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-vehicles/mobile-vehicles.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/confirm-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/confirm-modal.component-ng.html","webpack:///./src/app/images/icons/icon-info-warning-apple.svg","webpack:///../node_modules/core-js/modules/es6.date.to-string.js.pre-build-optimizer.js","webpack:///./src/app/constants/modules.ts.pre-build-optimizer.js","webpack:///./src/app/constants/modules.ts","webpack:///./src/app/components/admin/admin-roles-modal-addedit.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-roles-modal-addedit.component.ts","webpack:///../node_modules/core-js/modules/_flags.js.pre-build-optimizer.js","webpack:///./src/app/constants/alert-type.descriptors.ts.pre-build-optimizer.js","webpack:///./src/app/constants/alert-type.descriptors.ts","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-image/vehicle-image.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-image/vehicle-image.component-ng.html","webpack:///./src/app/components/deal-sheet/print-upgrade-proposal.component.html","webpack:///./src/app/components/deal-sheet/contract/trade-source-logo/trade-source-logo.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/trade-source-logo/trade-source-logo.component.ts","webpack:///./src/app/generated/services/dealer-rebate-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-rebate-client.service.ts","webpack:///./src/app/components/admin/admin-report-subscriptions.component.scss","webpack:///./src/app/components/dashboard/dashboard-agenda/dashboard-agenda.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.number.is-nan.js.pre-build-optimizer.js","webpack:///./src/app/services/data-entry.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/data-entry.service.ts","webpack:///./src/app/images/alertminerbadge.png","webpack:///./src/app/components/reports/beta-reports.component.html","webpack:///./src/app/components/deal-sheet/customer-phone.component.html","webpack:///./src/app/components/dashboard/dashboard-agenda/dashboard-agenda.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/dashboard-agenda/dashboard-agenda.component.ts","webpack:///./src/app/components/deal-sheet/log-call.component.html","webpack:///./src/app/components/deal-sheet/modals/user-select-modal.component.html","webpack:///../node_modules/core-js/modules/_object-assign.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/update-mileage.component.html","webpack:///./src/app/components/deal-sheet/credit-prescreen-spinner.component.html","webpack:///../node_modules/core-js/modules/_is-regexp.js.pre-build-optimizer.js","webpack:///./src/app/services/dealer.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/dealer.service.ts","webpack:///../node_modules/core-js/modules/es6.string.sub.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-deal-sheet/mobile-deal-sheet.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-deal-sheet/mobile-deal-sheet.component.ts","webpack:///./src/app/components/dashboard/search-preset-counts/search-preset-counts.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/search-preset-counts/search-preset-counts.component-ng.html","webpack:///../node_modules/core-js/modules/es6.string.repeat.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/print-offer.component.html","webpack:///./src/app/components/deal-sheet/deal-sheet.component.html","webpack:///./src/app/components/admin/admin-settings-general.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-general.component-ng.html","webpack:///../node_modules/core-js/es6/set.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_same-value.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/contract-select.component.html","webpack:///./src/app/components/deal-sheet/contract/vincue/vincue.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vincue/vincue.component.ts","webpack:///./src/app/components/admin/admin-roles-selector.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-roles-selector.component.ts","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-type.component.html","webpack:///./src/app/components/deal-sheet/mobile/mobile-vehicles/mobile-vehicles.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-vehicles/mobile-vehicles.component-ng.html","webpack:///./src/app/services/notification.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/notification.service.ts","webpack:///../node_modules/core-js/modules/_classof.js.pre-build-optimizer.js","webpack:///./src/app/constants/tag-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/tag-types.ts","webpack:///./src/app/constants/pandox-rule-category.ts.pre-build-optimizer.js","webpack:///./src/app/constants/pandox-rule-category.ts","webpack:///../node_modules/core-js/es6/date.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_add-to-unscopables.js.pre-build-optimizer.js","webpack:///./src/app/components/header/pando-availability/pando-availability.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/header/pando-availability/pando-availability.component.ts","webpack:///../node_modules/core-js/modules/es6.math.cbrt.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/print-offer-batch-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/print-offer-batch-client.service.ts","webpack:///./src/app/components/legacy-iframe-support.component.html","webpack:///./src/app/components/possible-nlo/possible-nlo.component.scss","webpack:///../node_modules/core-js/modules/es6.array.last-index-of.js.pre-build-optimizer.js","webpack:///./src/app/generated/services.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services.ts","webpack:///../node_modules/core-js/modules/_global.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/carproof/carproof.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/carproof/carproof.component-ng.html","webpack:///../node_modules/core-js/modules/_an-object.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.object.create.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.object.is-extensible.js.pre-build-optimizer.js","webpack:///./src/app/constants/deal-sheet-tabs.ts.pre-build-optimizer.js","webpack:///./src/app/constants/deal-sheet-tabs.ts","webpack:///./src/app/components/header/recent-deal-sheets/recent-deal-sheets.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/header/recent-deal-sheets/recent-deal-sheets.component-ng.html","webpack:///./src/app/components/deal-sheet/customer-phone-list.component.html","webpack:///./src/app/generated/services/vehicle-user-trade-value-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/vehicle-user-trade-value-client.service.ts","webpack:///./src/app/components/deal-sheet/contract/payments/payments.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/payments/payments.component-ng.html","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-select.component.html","webpack:///./src/app/constants/api/activity-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/api/activity-types.ts","webpack:///../node_modules/core-js/modules/_array-fill.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/web.svg","webpack:///./src/app/components/deal-sheet/modals/log-call-modal.component.html","webpack:///./src/app/components/admin/admin-report-subscriptions.component.html","webpack:///./src/app/components/deal-sheet/contract/cash-down/cash-down.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/cash-down/cash-down.component-ng.html","webpack:///./src/app/images/icons/rating-3star.svg","webpack:///./src/app/components/deal-sheet/contract/dealer-rebate/dealer-rebate.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/dealer-rebate/dealer-rebate.component-ng.html","webpack:///./src/app/components/calendar-date-range.component-ng.ts.pre-build-optimizer.js","webpack:///./src/app/components/calendar-date-range.component-ng.ts","webpack:///./src/app/components/dashboard/dashboard-opportunities-table/dashboard-opportunities-table.component-ng.ts.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/dashboard-opportunities-table/dashboard-opportunities-table.component-ng.ts","webpack:///./src/app/components/admin/admin-settings-general.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-general.component.ts","webpack:///./src/app/components/modals/bulk-template-wizard-modal.component.scss","webpack:///./src/app/components/deal-sheet/contract/loyalty-rebate/loyalty-rebate.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/loyalty-rebate/loyalty-rebate.component.ts","webpack:///./src/app/images/facebook-logo.png","webpack:///./src/app/components/deal-sheet/contract/extended-warranty/extended-warranty.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/images/autoalert-logo-ford-canada.png","webpack:///./src/app/constants/pricing-plan-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/pricing-plan-types.ts","webpack:///./src/app/components/reports/reports-menu.component.html","webpack:///../node_modules/core-js/modules/_array-species-constructor.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/customer-activity-history-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/customer-activity-history-client.service.ts","webpack:///./src/app/images/icons/pando-offer-icon.svg","webpack:///./src/app/components/deal-sheet/vehicle/recommended-vehicles-action.component.html","webpack:///./src/app/generated/services/eula-history-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/eula-history-client.service.ts","webpack:///../node_modules/core-js/modules/_core.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/nlo-info-modal/nlo-info-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/nlo-info-modal/nlo-info-modal.component-ng.html","webpack:///./src/app/components/toggle-button.component.html","webpack:///./src/app/services/customer-engagement.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/customer-engagement.service.ts","webpack:///../node_modules/core-js/modules/es6.math.log1p.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/sale-type/sale-type.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-save-modal.component.html","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/payment-difference/payment-difference.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/carfaxv2/carfaxv2.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/carfaxv2/carfaxv2.component-ng.html","webpack:///./src/app/images/icons/icon-usergroup.png","webpack:///./src/app/components/dashboard/quick-links/quick-links.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/confirmation-modal/confirmation-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/confirmation-modal/confirmation-modal.component.ts","webpack:///./src/app/images/autoalert-logo-lincoln-canada.png","webpack:///./src/app/generated/services/replacement-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/replacement-client.service.ts","webpack:///./src/app/images/error/unauthorized/hero-alertminer.png","webpack:///./src/app/components/deal-sheet/change-log.component.html","webpack:///./src/app/components/deal-sheet/text-message-activity/text-message-activity.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/text-message-activity/text-message-activity.component-ng.html","webpack:///./src/app/components/admin/admin-templates/admin-templates.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-templates/admin-templates.component-ng.html","webpack:///./src/app/components/search/search-save-response-modal.component.scss","webpack:///../node_modules/core-js/modules/es6.string.fontsize.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-action-select.component.html","webpack:///./src/app/constants/export-campaign-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/export-campaign-types.ts","webpack:///./src/app/images/icon-pando-profile-on.svg","webpack:///./src/app/components/deal-sheet/modals/schedule.component.html","webpack:///./src/app/components/search/search-manage-presets-container.component.scss","webpack:///./src/app/generated/alertminer-api-configuration.ts.pre-build-optimizer.js","webpack:///./src/app/generated/alertminer-api-configuration.ts","webpack:///./src/app/components/deal-sheet/contract/vauto/vauto.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/contract-end/contract-end.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/contract-end/contract-end.component.ts","webpack:///./src/app/components/deal-sheet/modals/send-email-template-modal.component.html","webpack:///./src/app/components/admin/admin-settings-advanced.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-advanced.component.ts","webpack:///../node_modules/core-js/modules/es6.string.link.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-equity.component.html","webpack:///../node_modules/core-js/modules/_parse-int.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/customer-edit-modal.component.html","webpack:///../node_modules/core-js/modules/_to-length.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deal-sheet-vci.component.html","webpack:///./src/app/app.module.ngfactory.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_validate-collection.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_string-ws.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-type-select.component.html","webpack:///./src/app/components/deal-sheet/modals/discrepancy-input-modal.component.html","webpack:///./src/app/constants/ford-fba-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/ford-fba-types.ts","webpack:///./src/app/core/translation.ts.pre-build-optimizer.js","webpack:///./src/app/core/translation.ts","webpack:///./src/app/components/date-input/date-input.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/date-input/date-input.component-ng.html","webpack:///./src/app/components/modals/announcement-modal.component.html","webpack:///./src/app/constants/authorization-keys.ts.pre-build-optimizer.js","webpack:///./src/app/constants/authorization-keys.ts","webpack:///./src/app/components/admin/admin-settings-inventory.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-inventory.component.ts","webpack:///../node_modules/core-js/modules/es6.array.every.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/replacement/data-entry-replacement-offers.component.scss","webpack:///./src/app/components/search/ui-textbox.component.html","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-detail/customer-connect-detail.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-detail/customer-connect-detail.component-ng.html","webpack:///./src/app/components/deal-sheet/default-tab-action/default-tab-action.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/default-tab-action/default-tab-action.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/repair-orders/repair-orders.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/modules/storage/cookie-storage.service.ts.pre-build-optimizer.js","webpack:///./src/app/modules/storage/cookie-storage.service.ts","webpack:///../node_modules/web-animations-js/web-animations.min.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_object-dp.js.pre-build-optimizer.js","webpack:///./src/app/constants/api/activity-actions.ts.pre-build-optimizer.js","webpack:///./src/app/constants/api/activity-actions.ts","webpack:///../node_modules/core-js/modules/_metadata.js.pre-build-optimizer.js","webpack:///./src/app/constants/index.ts.pre-build-optimizer.js","webpack:///./src/app/constants/index.ts","webpack:///./src/app/components/deal-sheet/modals/activity-follow-up-modal.component.html","webpack:///../node_modules/core-js/modules/es6.array.sort.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/reports-header.component.html","webpack:///./src/app/components/deal-sheet/text-message-activity/text-message-activity.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/text-message-activity/text-message-activity.component.ts","webpack:///../node_modules/core-js/modules/_object-gopn-ext.js.pre-build-optimizer.js","webpack:///./src/app/components/general/customer-culture-select/customer-culture-select.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/general/customer-culture-select/customer-culture-select.component.ts","webpack:///./src/app/components/deal-sheet/contract/salesperson-name.component.html","webpack:///../node_modules/core-js/modules/_to-object.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/announcement-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/announcement-client.service.ts","webpack:///./src/app/components/deal-sheet/deskit/deskit.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deskit/deskit.component-ng.html","webpack:///./src/app/components/deal-sheet/customer-email-list.component.html","webpack:///../node_modules/core-js/modules/es6.array.index-of.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-advanced.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-advanced.component-ng.html","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-email/mobile-customer-email.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-detail/customer-connect-detail.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/header/search-presets/search-presets.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/header/search-presets/search-presets.component-ng.html","webpack:///./src/app/components/deal-sheet/mobile/mobile-activities/mobile-activities.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/warranty-actions.component.html","webpack:///../node_modules/core-js/modules/es6.array.some.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/rating-4star.svg","webpack:///./src/app/constants/program-source-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/program-source-types.ts","webpack:///../node_modules/core-js/modules/_iter-step.js.pre-build-optimizer.js","webpack:///./src/app/images/icon-warning-lemon.svg","webpack:///./src/app/images/icons/icon-Pando-Settings.svg","webpack:///../node_modules/core-js/modules/es6.math.cosh.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/modal/modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/modal/modal.component-ng.html","webpack:///./src/app/generated/services/entity-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/entity-client.service.ts","webpack:///./src/app/components/tooltip.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/tooltip.component.ts","webpack:///./src/app/services/date-format.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/date-format.service.ts","webpack:///./src/app/components/wish-list/wish-list-distr-list.component.js","webpack:///./src/app/components/admin/admin.scss","webpack:///./src/app/constants/app-settings.ts.pre-build-optimizer.js","webpack:///./src/app/constants/app-settings.ts","webpack:///./src/app/components/reports/pando-survey-select.component.html","webpack:///../node_modules/core-js/modules/_object-create.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/web.dom.iterable.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/mileage.component.html","webpack:///./src/app/components/search/search-direct-alert-modal.component.scss","webpack:///./src/app/components/deal-sheet/contract/contract-end/contract-end.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/constants/translate-keys.ts.pre-build-optimizer.js","webpack:///./src/app/constants/translate-keys.ts","webpack:///./src/app/components/deal-sheet/text-action/text-action.component-ng.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_property-desc.js.pre-build-optimizer.js","webpack:///./src/app/components/icon/icon.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/icon/icon.component.ts","webpack:///../node_modules/core-js/modules/_fix-re-wks.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-penalty/mileage-penalty.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-penalty/mileage-penalty.component.ts","webpack:///./src/app/images/icon-trash-lake.svg","webpack:///../node_modules/core-js/modules/es6.string.big.js.pre-build-optimizer.js","webpack:///./src/app/images/icon-desking-lake.svg","webpack:///./src/app/images/logo-reputation-pro.svg","webpack:///./src/app/components/deal-sheet/contract/cash-down/cash-down.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/header/search-presets/search-presets.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_export.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.string.small.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_collection-strong.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/crm-action.component.html","webpack:///./src/app/services/http/ng-content-type.interceptor.ts.pre-build-optimizer.js","webpack:///./src/app/services/http/ng-content-type.interceptor.ts","webpack:///./src/app/components/deal-sheet/contract/carfaxv2/carfaxv2.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mark-as-on-order.component.html","webpack:///../node_modules/core-js/modules/_is-array.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/role-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/role-client.service.ts","webpack:///../node_modules/core-js/modules/_date-to-primitive.js.pre-build-optimizer.js","webpack:///./src/app/images/service-marketing-email-blue.svg","webpack:///./src/app/images/icons/pando.svg","webpack:///./src/app/components/modals/confirm-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/modals/confirm-modal.component.ts","webpack:///./src/app/generated/services/entity-opportunity-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/entity-opportunity-client.service.ts","webpack:///./src/app/components/data-entry/data-entry-rates.component.html","webpack:///./src/app/components/deal-sheet/contract/repair-orders/repair-orders.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/repair-orders/repair-orders.component.ts","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/on-demand-offers.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/on-demand-offers.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-action/mileage-edit-action.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-action/mileage-edit-action.component.ts","webpack:///./src/app/components/ngx-toaster.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/ngx-toaster.component.ts.NgxToaster.html","webpack:///./src/app/images/icon-dnc.svg","webpack:///./src/app/components/deal-sheet/contract/service-appointment/service-appointment.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/service-appointment/service-appointment.component.ts","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-email/mobile-customer-email.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-email/mobile-customer-email.component.ts","webpack:///./src/app/components/deal-sheet/default-tab-action/default-tab-action.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/default-tab-action/default-tab-action.component.ts","webpack:///./src/app/components/search/search-menu.component.scss","webpack:///./src/app/components/deal-sheet/text-message-activity/text-message-activity.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-summary/vehicle-summary.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-summary/vehicle-summary.component-ng.html","webpack:///./src/app/components/search/search-reassign-modal.component.scss","webpack:///./src/app/generated/services/trim-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/trim-client.service.ts","webpack:///./src/app/components/admin/admin-settings-crmleadsdelivery.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-crmleadsdelivery.component.ts","webpack:///../node_modules/core-js/modules/es6.array.from.js.pre-build-optimizer.js","webpack:///./src/app/components/dealer-dropdown.component.html","webpack:///./src/app/core/toaster-logger.service.ts.pre-build-optimizer.js","webpack:///./src/app/core/toaster-logger.service.ts","webpack:///./src/app/components/dashboard/quick-links/quick-links.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/quick-links/quick-links.component.ts","webpack:///../node_modules/core-js/modules/es6.regexp.replace.js.pre-build-optimizer.js","webpack:///./src/app/app.module.ts.pre-build-optimizer.js","webpack:///./src/app/app.module.ts","webpack:///./src/app/components/deal-sheet/vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-upgrade-proposal-setting-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-upgrade-proposal-setting-client.service.ts","webpack:///./src/app/components/admin/admin-settings-opportunity.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-opportunity.component.ts","webpack:///./src/app/components/deal-sheet/activity-list/activity-list.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/activity-list/activity-list.component.ts","webpack:///./src/app/components/deal-sheet/contract/financed-amount/financed-amount.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/financed-amount/financed-amount.component-ng.html","webpack:///./src/app/components/data-entry/data-entry-frame.component.scss","webpack:///./src/app/components/deal-sheet/type-of-call/type-of-call.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/type-of-call/type-of-call.component.ts","webpack:///../node_modules/core-js/modules/_a-number-value.js.pre-build-optimizer.js","webpack:///./src/app/scripts/redactor/redactor.overrides.scss","webpack:///../node_modules/core-js/modules/_shared.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es7.reflect.get-metadata.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/user-profile-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/user-profile-client.service.ts","webpack:///./src/app/components/deal-sheet/contract/replacement-contracts.component.html","webpack:///./src/app/components/reports/report-subscription-edit.component.html","webpack:///./src/app/components/header/stock-number-search/stock-number-search.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/icon-marketing-mailer-lake.svg","webpack:///../node_modules/core-js/modules/es6.parse-int.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/score-info-modal/score-info-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/score-info-modal/score-info-modal.component.ts","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-modal/mileage-edit-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/log-call-action.component.html","webpack:///../node_modules/core-js/modules/es6.array.reduce-right.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/icon-auto-assistant.svg","webpack:///./src/app/components/deal-sheet/contract/bank-name.component.html","webpack:///./src/app/filters/locale-date.pipe.ts.pre-build-optimizer.js","webpack:///./src/app/filters/locale-date.pipe.ts","webpack:///../node_modules/core-js/modules/es6.math.hypot.js.pre-build-optimizer.js","webpack:///./src/app/components/header/stock-number-search/stock-number-search.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/header/stock-number-search/stock-number-search.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/carfax/carfax.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/carfax/carfax.component.ts","webpack:///./src/app/components/reports/report-subscriptions-modal.component.html","webpack:///../node_modules/core-js/modules/es6.string.code-point-at.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.regexp.split.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/reports.css","webpack:///../node_modules/core-js/modules/_object-keys-internal.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/personalized-offer.component.html","webpack:///./src/app/services/window-ref.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/window-ref.service.ts","webpack:///./src/app/core/config.module.js","webpack:///../node_modules/core-js/modules/es6.number.parse-float.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-form.component.scss","webpack:///../node_modules/core-js/modules/es6.math.imul.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.object.prevent-extensions.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deal-sheet-lite.component.html","webpack:///./src/app/components/deal-sheet/deal-sheet-vci-eula-modal.component.html","webpack:///../node_modules/core-js/modules/_a-function.js.pre-build-optimizer.js","webpack:///./src/app/services/search-preset.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/search-preset.service.ts","webpack:///./src/app/images/icon-arrow-right-charcoal.svg","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-image/vehicle-image.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-image/vehicle-image.component.ts","webpack:///./src/app/constants/activity-results.ts.pre-build-optimizer.js","webpack:///./src/app/constants/activity-results.ts","webpack:///./src/app/components/wish-list/edit-wish-list-modal.component.scss","webpack:///./src/app/images/icon-private-offer.svg","webpack:///./src/app/services/http/http-interceptor-options.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/http/http-interceptor-options.service.ts","webpack:///./src/app/components/deal-sheet/modals/eula-modal.component.html","webpack:///./src/app/components/header/pando-unread-messages.component/pando-unread-messages.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/header/pando-unread-messages.component/pando-unread-messages.component-ng.html","webpack:///./src/app/components/data-entry/data-entry-rates-over-allowance.component.html","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-process.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-process.component.ts","webpack:///../node_modules/core-js/modules/es6.math.atanh.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-modal/mileage-edit-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-modal/mileage-edit-modal.component.ts","webpack:///./src/app/components/admin/admin-roles.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-roles.component.ts","webpack:///./src/app/filters/locale-currency.pipe.ts.pre-build-optimizer.js","webpack:///./src/app/filters/locale-currency.pipe.ts","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-email/mobile-customer-email.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-email/mobile-customer-email.component-ng.html","webpack:///./src/app/components/modals/google-maps-modal.component.html","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/more-vehicle-offers.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/more-vehicle-offers.component.ts","webpack:///./src/app/components/deal-sheet/contract/replacement-contracts/replacement-contracts.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/replacement-contracts/replacement-contracts.component.ts","webpack:///./src/app/components/deal-sheet/email-template-action/email-template-action.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/email-template-action/email-template-action.component.ts","webpack:///./src/app/constants/contact-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/contact-types.ts","webpack:///./src/app/images/icons/icon-saved-search.svg","webpack:///./src/app/components/search/search-container.component.scss","webpack:///./src/app/components/data-entry/replacement/data-entry-replacement-popover-list.component.js","webpack:///./src/app/interfaces/pando-form-control.interface.ts.pre-build-optimizer.js","webpack:///./src/app/interfaces/pando-form-control.interface.ts","webpack:///./src/app/components/deal-sheet/deal-history/deal-history.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/services/http/ng-oidc-http.interceptor.ts.pre-build-optimizer.js","webpack:///./src/app/services/http/ng-oidc-http.interceptor.ts","webpack:///./src/app/components/reports/reports-container.component.html","webpack:///./src/app/components/deal-sheet/contract/carproof/carproof.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/carproof/carproof.component.ts","webpack:///../node_modules/core-js/modules/es6.object.is-frozen.js.pre-build-optimizer.js","webpack:///./src/app/modules/oidc-auth/oidc-http.interceptor.js.pre-build-optimizer.js","webpack:///./src/app/modules/oidc-auth/oidc-http.interceptor.js","webpack:///../node_modules/core-js/modules/es7.object.define-getter.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es7.reflect.metadata.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/score-info/score-info.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/tagged-customers/tagged-customers.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.object.define-property.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-detail/customer-connect-sub-detail.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-detail/customer-connect-sub-detail.component.ts","webpack:///./src/app/services/http/ng-no-cache-interceptor.ts.pre-build-optimizer.js","webpack:///./src/app/services/http/ng-no-cache-interceptor.ts","webpack:///./src/app/components/deal-sheet/contract/vauto-modal/vauto-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vauto-modal/vauto-modal.component.ts","webpack:///./src/app/images/icons/rating-2star.svg","webpack:///./src/app/constants/activity-status-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/activity-status-types.ts","webpack:///./src/app/components/data-entry/data-entry-rates-used-rates.component.html","webpack:///./src/app/components/header/pando-unread-messages.component/pando-unread-messages.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/header/pando-unread-messages.component/pando-unread-messages.component.ts","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-process.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-process.component-ng.html","webpack:///../node_modules/core-js/modules/es6.string.anchor.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_array-from-iterable.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/discrepancy-report-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/discrepancy-report-client.service.ts","webpack:///./src/app/components/deal-sheet/contract/pull-forward.component.html","webpack:///./src/app/components/deal-sheet/contract/extended-warranty/extended-warranty.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/extended-warranty/extended-warranty.component.ts","webpack:///./src/app/components/search/search-preset-selector.component.html","webpack:///../node_modules/core-js/modules/es6.number.constructor.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/icon-info-i-lake.svg","webpack:///./src/app/components/deal-sheet/customer-email.component.html","webpack:///./src/app/constants/storage-keys.ts.pre-build-optimizer.js","webpack:///./src/app/constants/storage-keys.ts","webpack:///./src/app/components/header/customer-engagements-by-entity-modal.component.html","webpack:///./src/app/components/deal-sheet/contract/money-factor/money-factor.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-search-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-search-client.service.ts","webpack:///./src/app/components/deal-sheet/auto-assigned-access.component.html","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-connect/mobile-customer-connect.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/opportunities/modals/euro-lite-grid-layout-selector-modal.component.html","webpack:///./src/app/components/dashboard/dashboard-agenda/dashboard-agenda.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/dashboard-agenda/dashboard-agenda.component-ng.html","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-lite-modal.component.html","webpack:///./src/app/images/icon-Pando-outlines.svg","webpack:///../node_modules/core-js/modules/_has.js.pre-build-optimizer.js","webpack:///./src/app/components/search/ui-textbox-range.component.html","webpack:///../node_modules/core-js/modules/es7.reflect.has-own-metadata.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-prices.component.html","webpack:///../node_modules/core-js/modules/es6.string.bold.js.pre-build-optimizer.js","webpack:///./src/app/constants/activity-result-type.descriptors.ts.pre-build-optimizer.js","webpack:///./src/app/constants/activity-result-type.descriptors.ts","webpack:///./src/app/components/admin/admin-settings-programs.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-programs.component-ng.html","webpack:///../node_modules/core-js/modules/es6.number.parse-int.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_enum-bug-keys.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.reflect.set.js.pre-build-optimizer.js","webpack:///./src/app/generated/alertminer-api.module.ts.pre-build-optimizer.js","webpack:///./src/app/generated/alertminer-api.module.ts","webpack:///./src/app/components/deal-sheet/auto-assistant.component.html","webpack:///../node_modules/core-js/modules/_wks-ext.js.pre-build-optimizer.js","webpack:///./src/app/constants/review-pro-rating.js","webpack:///./src/app/components/deal-sheet/contract/auto-check/auto-check.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/core/constants.ts.pre-build-optimizer.js","webpack:///./src/app/core/constants.ts","webpack:///./src/app/services/log-action-shortcut.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/log-action-shortcut.service.ts","webpack:///./src/app/components/deal-sheet/mobile/mobile-activities/mobile-activities.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-activities/mobile-activities.component.ts","webpack:///./src/app/images/vehicle-image-not-available.png","webpack:///../node_modules/core-js/modules/_object-sap.js.pre-build-optimizer.js","webpack:///./src/app/services/admin-role.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/admin-role.service.ts","webpack:///./src/app/generated/models.ts.pre-build-optimizer.js","webpack:///./src/app/images/icons/icon-user-review-vanilla.svg","webpack:///./src/app/components/dashboard/dashboard-widget.component.html","webpack:///./src/app/components/deal-sheet/text-action/text-action.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/text-action/text-action.component.ts","webpack:///./src/app/components/admin/do-not-call-email/do-not-call-email.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/do-not-call-email/do-not-call-email.component.ts","webpack:///./src/app/components/header/recent-deal-sheets/recent-deal-sheets.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/header/recent-deal-sheets/recent-deal-sheets.component.ts","webpack:///./src/app/components/deal-sheet/contract/sale-type/sale-type.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/sale-type/sale-type.component-ng.html","webpack:///./src/app/components/deal-sheet/tags/tags.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/model-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/model-client.service.ts","webpack:///../node_modules/core-js/modules/_string-trim.js.pre-build-optimizer.js","webpack:///./src/app/filters/adaptive-position.pipe.ts.pre-build-optimizer.js","webpack:///./src/app/filters/adaptive-position.pipe.ts","webpack:///./src/app/scripts/jquery-resizable.nobabel.js.pre-build-optimizer.js","webpack:///./src/app/utilities/lodash.js","webpack:///./src/app/utilities/moment.js","webpack:///./src/app/scripts/init.js","webpack:///./src/app/core/opportunities.module.js","webpack:///./src/app/constants/AutoAlert.AlertMiner.ServiceContract.Enums/ActivityResultCodeEnum.js","webpack:///./src/app/constants/activity-action-name-types.js","webpack:///./src/app/constants/alert-icon-classes.js","webpack:///./src/app/constants/alert-script-types.js","webpack:///./src/app/constants/analytics.js","webpack:///./src/app/constants/api/activity-rule.js","webpack:///./src/app/constants/vci-result-type.js","webpack:///./src/app/constants/credit-prescreen-statuses.js","webpack:///./src/app/constants/credit-tiers.js","webpack:///./src/app/constants/cultures.js","webpack:///./src/app/constants/date-range-types.js","webpack:///./src/app/constants/defaults.js","webpack:///./src/app/constants/donotcall-status-types.js","webpack:///./src/app/constants/entityActionAccessEnum.js","webpack:///./src/app/constants/eula-response.types.js","webpack:///./src/app/constants/euro-opportunity-grid-layout.js","webpack:///./src/app/constants/fuel-types.js","webpack:///./src/app/constants/legacy-url-mappings.js","webpack:///./src/app/constants/message-types.js","webpack:///./src/app/constants/msrp-types.js","webpack:///./src/app/constants/price-set-to-options.js","webpack:///./src/app/constants/reports/reports-menu.js","webpack:///./src/app/constants/reports/report-subscription-view-types.js","webpack:///./src/app/constants/reports/report-subscription-periods.js","webpack:///./src/app/constants/reports/report-categories.js","webpack:///./src/app/constants/roles.js","webpack:///./src/app/constants/reports/report-header-types.js","webpack:///./src/app/constants/reports/report-specifications.js","webpack:///./src/app/core/report-routes.config.js","webpack:///./src/app/core/report-routes.config.js.pre-build-optimizer.js","webpack:///./src/app/constants/router-states.js","webpack:///./src/app/constants/sub-menu-unauthorized.js","webpack:///./src/app/constants/territories.js","webpack:///./src/app/constants/translate-paths.js","webpack:///./src/app/constants/translate.keys.js","webpack:///./src/app/constants/userProfileRoles.js","webpack:///./src/app/constants/vehicle-select-columns.js","webpack:///./src/app/constants/widget-types.js","webpack:///./src/app/constants/vehicle-actions.js","webpack:///./src/app/constants/smtp-provider-types.js","webpack:///./src/app/constants/pando-action-types.js","webpack:///./src/app/core/opportunities.config.js.pre-build-optimizer.js","webpack:///./src/app/core/opportunities.config.js","webpack:///./src/app/utilities/url.js.pre-build-optimizer.js","webpack:///./src/app/utilities/url.js","webpack:///./src/app/utilities/utils.js","webpack:///./src/app/utilities/http.js","webpack:///./src/app/utilities/promises.js.pre-build-optimizer.js","webpack:///./src/app/utilities/promises.js","webpack:///./src/app/utilities/messaging.js.pre-build-optimizer.js","webpack:///./src/app/utilities/messaging.js","webpack:///./src/app/services/legacy.service.js.pre-build-optimizer.js","webpack:///./src/app/services/legacy.service.js","webpack:///./src/app/core/opportunities.run.js","webpack:///./src/app/core/exception.js","webpack:///./src/app/directives/compile-template.directive.js","webpack:///./src/app/utilities/culture.js","webpack:///./src/app/core/opportunities.run.js.pre-build-optimizer.js","webpack:///./src/app/core/exception.js.pre-build-optimizer.js","webpack:///./src/app/directives/compile-template.directive.js.pre-build-optimizer.js","webpack:///./src/app/utilities/math.js","webpack:///./src/app/directives/number-input.directive.js","webpack:///./src/app/directives/disable-click.directive.js","webpack:///./src/app/directives/min-date.directive.js","webpack:///./src/app/directives/max-date.directive.js","webpack:///./src/app/directives/currency-input.directive.js","webpack:///./src/app/directives/disable-click.directive.js.pre-build-optimizer.js","webpack:///./src/app/directives/fallback-src.directive.js","webpack:///./src/app/directives/min-date.directive.js.pre-build-optimizer.js","webpack:///./src/app/directives/max-date.directive.js.pre-build-optimizer.js","webpack:///./src/app/directives/percent-input.directive.js","webpack:///./src/app/directives/phone-number.directive.js","webpack:///./src/app/filters/locale-currency.filter.js","webpack:///./src/app/filters/locale-date-time-with-day.filter.js","webpack:///./src/app/directives/phone-number.directive.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-currency.filter.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-date-time-with-day.filter.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-date-time.filter.js","webpack:///./src/app/filters/locale-date.filter.js","webpack:///./src/app/filters/locale-decimal.filter.js","webpack:///./src/app/filters/locale-fuel-economy.filter.js","webpack:///./src/app/filters/locale-money-factor.filter.js","webpack:///./src/app/filters/locale-number.filter.js","webpack:///./src/app/filters/locale-phone.filter.js","webpack:///./src/app/filters/locale-rounded-currency.filter.js","webpack:///./src/app/filters/locale-time.filter.js","webpack:///./src/app/filters/elapsed-time.filter.js","webpack:///./src/app/utilities/map-utils.js","webpack:///./src/app/services/contract.service.js","webpack:///./src/app/services/deal-sheet.service.js","webpack:///./src/app/services/eula-modal.service.js","webpack:///./src/app/services/external.service.js","webpack:///./src/app/services/feature-toggle.service.js","webpack:///./src/app/services/financials.service.js","webpack:///./src/app/filters/locale-date-time.filter.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-date.filter.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-fuel-economy.filter.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-money-factor.filter.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-number.filter.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-rounded-currency.filter.js.pre-build-optimizer.js","webpack:///./src/app/filters/locale-time.filter.js.pre-build-optimizer.js","webpack:///./src/app/filters/trim.filter.js","webpack:///./src/app/filters/unique.filter.js","webpack:///./src/app/filters/elapsed-time.filter.js.pre-build-optimizer.js","webpack:///./src/app/scripts/constants.js","webpack:///./src/app/utilities/map-utils.js.pre-build-optimizer.js","webpack:///./src/app/utilities/url-helper.js","webpack:///./src/app/services/contract.service.js.pre-build-optimizer.js","webpack:///./src/app/services/deal-sheet.service.js.pre-build-optimizer.js","webpack:///./src/app/services/eula-modal.service.js.pre-build-optimizer.js","webpack:///./src/app/services/external.service.js.pre-build-optimizer.js","webpack:///./src/app/services/feature-toggle.service.js.pre-build-optimizer.js","webpack:///./src/app/services/financials.service.js.pre-build-optimizer.js","webpack:///./src/app/services/global-iframe.service.js","webpack:///./src/app/services/global-iframe.service.js.pre-build-optimizer.js","webpack:///./src/app/services/google.service.js","webpack:///./src/app/services/opportunity-count.service.js","webpack:///./src/app/services/opportunity.service.js","webpack:///./src/app/services/pando-survey.service.js","webpack:///./src/app/services/print-offer-batch.service.js","webpack:///./src/app/services/google.service.js.pre-build-optimizer.js","webpack:///./src/app/services/opportunity-count.service.js.pre-build-optimizer.js","webpack:///./src/app/services/opportunity.service.js.pre-build-optimizer.js","webpack:///./src/app/services/pando-survey.service.js.pre-build-optimizer.js","webpack:///./src/app/services/print-offer-batch.service.js.pre-build-optimizer.js","webpack:///./src/app/services/report.service.js.pre-build-optimizer.js","webpack:///./src/app/services/report.service.js","webpack:///./src/app/services/search.service.js","webpack:///./src/app/services/services.service.js","webpack:///./src/app/services/search.service.js.pre-build-optimizer.js","webpack:///./src/app/services/services.service.js.pre-build-optimizer.js","webpack:///./src/app/services/template.service.js","webpack:///./src/app/services/template.service.js.pre-build-optimizer.js","webpack:///./src/app/services/vehicle.service.js","webpack:///./src/app/services/vehicle.service.js.pre-build-optimizer.js","webpack:///./src/app/services/swagger-definition.js","webpack:///./src/app/services/core-api.js.pre-build-optimizer.js","webpack:///./src/app/services/core-api.js","webpack:///./src/app/services/selected-dealers-injector.service.js","webpack:///./src/app/services/swagger-definition-dmspush.js","webpack:///./src/app/services/dmspush-api.js.pre-build-optimizer.js","webpack:///./src/app/services/dmspush-api.js","webpack:///./src/app/utilities/BusyIndicator.js.pre-build-optimizer.js","webpack:///./src/app/utilities/BusyIndicator.js","webpack:///./src/app/components/data-entry/replacement/data-entry-replacement-offers.component.js","webpack:///./src/app/components/data-entry/replacement/data-entry-replacement-offers.component.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-prices.component.js","webpack:///./src/app/components/data-entry/data-entry-trade-ins.component.js","webpack:///./src/app/components/data-entry/data-entry-rebates.component.js","webpack:///./src/app/components/data-entry/data-entry-rates.component.js","webpack:///./src/app/components/data-entry/data-entry-alerts.component.js","webpack:///./src/app/components/data-entry/data-entry-rates-rate-mark-ups.component.js","webpack:///./src/app/components/data-entry/data-entry-rates-over-allowance.component.js","webpack:///./src/app/components/data-entry/data-entry-rates-used-rates.component.js","webpack:///./src/app/components/admin/admin-report-subscriptions.component.js","webpack:///./src/app/components/dashboard/dashboard-manager.component.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/dashboard-manager.component.js","webpack:///./src/app/components/dashboard/dashboard-opportunities.component.js","webpack:///./src/app/components/dashboard/dashboard.component.js","webpack:///./src/app/components/dashboard/opportunity-block.component.js","webpack:///./src/app/components/deal-sheet/activity-actions.component.js","webpack:///./src/app/components/data-entry/replacement/edit-upgrade-downgrade-multi-items-modal.component.js","webpack:///./src/app/components/data-entry/replacement/edit-upgrade-downgrade-modal.component.js","webpack:///./src/app/components/data-entry/replacement/edit-replacements-advanced-modal.component.js","webpack:///./src/app/components/data-entry/data-entry-frame.component.js","webpack:///./src/app/components/data-entry/data-entry-prices.component.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-trade-ins.component.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-rebates.component.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-rates.component.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-alerts.component.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-rates-rate-mark-ups.component.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-rates-over-allowance.component.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-rates-used-rates.component.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-report-subscriptions.component.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/dashboard-opportunities.component.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/dashboard-widget.component.js","webpack:///./src/app/components/dashboard/dashboard.component.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/opportunity-block.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/activity-actions.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/activity.component.js","webpack:///./src/app/components/deal-sheet/activity-list.component.js","webpack:///./src/app/components/deal-sheet/auto-assistant.component.js","webpack:///./src/app/components/deal-sheet/alert-relevant-info.component.js","webpack:///./src/app/components/deal-sheet/alert-script-type-select.component.js","webpack:///./src/app/components/deal-sheet/alert-script.component.js","webpack:///./src/app/components/deal-sheet/activity.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/activity-list.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/auto-assistant.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/alert-relevant-info.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/alert-script-type-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/alert-script.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/bank-rate.component.js","webpack:///./src/app/components/deal-sheet/contract/contract-dates.component.js","webpack:///./src/app/components/deal-sheet/contract/contract-select.component.js","webpack:///./src/app/components/deal-sheet/contract/delivery-monthly-mileage.component.js","webpack:///./src/app/components/deal-sheet/contract/feature-comparison-features.component.js","webpack:///./src/app/components/deal-sheet/contract/msrp-type-select.component.js","webpack:///./src/app/components/deal-sheet/contract/preferred-equity.component.js","webpack:///./src/app/components/deal-sheet/contract/rate-type-select.component.js","webpack:///./src/app/components/deal-sheet/contract/replacement-contracts.component.js","webpack:///./src/app/components/deal-sheet/contract/sale-type-select.component.js","webpack:///./src/app/components/deal-sheet/contract/warranty-actions.component.js","webpack:///./src/app/components/deal-sheet/change-log.component.js","webpack:///./src/app/components/deal-sheet/contract/balance-to-maturity.component.js","webpack:///./src/app/components/deal-sheet/contract/balloon-payment.component.js","webpack:///./src/app/components/deal-sheet/contract/bank-name.component.js","webpack:///./src/app/components/deal-sheet/contract/bank-rate.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/contract-dates.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/contract-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/delivery-monthly-mileage.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/feature-comparison-features.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/feature-comparison-fuel.component.js","webpack:///./src/app/components/deal-sheet/contract/lease-mileage.component.js","webpack:///./src/app/components/deal-sheet/contract/loyalty-rebate.component.js","webpack:///./src/app/components/deal-sheet/contract/monthly-mileage.component.js","webpack:///./src/app/components/deal-sheet/contract/msrp-type-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/personalized-offer.component.js","webpack:///./src/app/components/deal-sheet/contract/preferred-equity.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/pull-forward.component.js","webpack:///./src/app/components/deal-sheet/contract/rate-type-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/replacement-contracts.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/sale-type-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/salesperson-name.component.js","webpack:///./src/app/components/deal-sheet/contract/warranty-actions.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/credit-inquiries.component.js","webpack:///./src/app/components/deal-sheet/credit-prescreen.component.js","webpack:///./src/app/components/deal-sheet/culture-select.component.js","webpack:///./src/app/components/deal-sheet/customer-contact.component.js","webpack:///./src/app/components/deal-sheet/customer-email.component.js","webpack:///./src/app/components/deal-sheet/customer-phone.component.js","webpack:///./src/app/components/deal-sheet/credit-inquiries.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/credit-prescreen-spinner.component.js","webpack:///./src/app/components/deal-sheet/credit-prescreen.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/crm-action.component.js","webpack:///./src/app/components/deal-sheet/culture-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-contact.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-edit-action.component.js","webpack:///./src/app/components/deal-sheet/customer-edit.component.js","webpack:///./src/app/components/deal-sheet/customer-edit.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-name.component.js","webpack:///./src/app/components/deal-sheet/customer-email.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-email-list.component.js","webpack:///./src/app/components/deal-sheet/customer-phone.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-phone-list.component.js","webpack:///./src/app/components/deal-sheet/deal-sheet.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deal-sheet.component.js","webpack:///./src/app/components/deal-sheet/deal-sheet-vci.component.js","webpack:///./src/app/components/deal-sheet/deal-sheet-lite.component.js","webpack:///./src/app/components/deal-sheet/deal-sheet-tab-select.component.js","webpack:///./src/app/components/deal-sheet/discrepancy-input.component.js","webpack:///./src/app/components/deal-sheet/email-template-action.component.js","webpack:///./src/app/components/deal-sheet/facebook-profile-action.component.js","webpack:///./src/app/components/deal-sheet/facebook-photo.component.js","webpack:///./src/app/components/deal-sheet/financial-edit-action.component.js","webpack:///./src/app/components/deal-sheet/financial/add-financial-info.component.js","webpack:///./src/app/components/deal-sheet/financial/financials-balloon-sale.component.js","webpack:///./src/app/components/deal-sheet/financial/financials-cash-sale.component.js","webpack:///./src/app/components/deal-sheet/financial/financials-lease-sale.component.js","webpack:///./src/app/components/deal-sheet/financial/financials-retail-sale.component.js","webpack:///./src/app/components/deal-sheet/log-call-action.component.js","webpack:///./src/app/components/deal-sheet/log-call.component.js","webpack:///./src/app/components/deal-sheet/action-checkbox.component.js","webpack:///./src/app/components/deal-sheet/mark-as-sold.component.js","webpack:///./src/app/components/deal-sheet/modals/activity-follow-up-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/credit-soft-pull-result-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/customer-edit-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-lite-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/log-call-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/post-notes.component.js","webpack:///./src/app/components/deal-sheet/modals/push-to-crm.component.js","webpack:///./src/app/components/deal-sheet/modals/schedule.component.js","webpack:///./src/app/components/deal-sheet/modals/update-mileage.component.js","webpack:///./src/app/components/deal-sheet/open-new-window.component.js","webpack:///./src/app/components/deal-sheet/other-vehicles-owned.component.js","webpack:///./src/app/components/deal-sheet/deal-sheet-vci.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deal-sheet-vci-eula-modal.component.js","webpack:///./src/app/components/deal-sheet/deal-sheet-lite.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deal-sheet-tab-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/discrepancy-input.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/email-template-action.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/facebook-profile-action.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/facebook-photo.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial-edit-action.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial/add-financial-info.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial/financials-balloon-sale.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial/financials-cash-sale.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial/financials-lease-sale.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial/financials-retail-sale.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/log-call-action.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/log-call.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/action-checkbox.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mark-as-sold.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mark-as-on-order.component.js","webpack:///./src/app/components/deal-sheet/modals/activity-follow-up-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/confirmation-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/credit-pre-approval-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/credit-pre-qualified-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/credit-soft-pull-result-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/customer-edit-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-lite-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/discrepancy-input-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/eula-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/financial-info-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/inventory-search-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/log-call-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/message-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/post-notes.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/push-to-crm.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/schedule.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/select-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/show-full-conversation-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/service-detail-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/update-mileage.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/user-select-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/vehicle-select-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/view-customer-conversation-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/hot-trade-details-modal.component.js","webpack:///./src/app/components/deal-sheet/open-new-window.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/opportunity-select.component.js","webpack:///./src/app/components/deal-sheet/other-vehicles-owned.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/pricing-plan-client.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/pricing-plan-client.component.js","webpack:///./src/app/components/deal-sheet/print-offer.component.js","webpack:///./src/app/components/deal-sheet/print-upgrade-proposal.component.js","webpack:///./src/app/components/deal-sheet/reopen.component.js","webpack:///./src/app/components/deal-sheet/report-discrepancy-action.component.js","webpack:///./src/app/components/deal-sheet/service-history.component.js","webpack:///./src/app/components/deal-sheet/vehicle/inventory-search-action.component.js","webpack:///./src/app/components/deal-sheet/vehicle/inventory-search.component.js","webpack:///./src/app/components/deal-sheet/vehicle/mileage.component.js","webpack:///./src/app/components/deal-sheet/vehicle/recommended-vehicles-action.component.js","webpack:///./src/app/components/deal-sheet/vehicle/stock-vehicle.component.js","webpack:///./src/app/components/deal-sheet/vehicle/trim-select.component.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-action-select.component.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-select.component.js","webpack:///./src/app/components/deal-sheet/template-email-preview.component.js","webpack:///./src/app/components/deal-sheet/modals/send-email-template-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/send-email-template-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/view-email-conversation-modal.component.js","webpack:///./src/app/components/deal-sheet/view-email-conversation-action.component.js","webpack:///./src/app/components/opportunities/modals/euro-lite-grid-layout-selector-modal.component.js","webpack:///./src/app/components/edit-contact.component.js","webpack:///./src/app/components/error/unauthorized.component.js","webpack:///./src/app/components/deal-sheet/print-offer.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/print-upgrade-proposal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/reopen.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/report-discrepancy-action.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/service-history.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/user-select-action.component.js","webpack:///./src/app/components/deal-sheet/user-select.component.js","webpack:///./src/app/components/deal-sheet/vehicle/color.component.js","webpack:///./src/app/components/deal-sheet/vehicle/fuel-difference.component.js","webpack:///./src/app/components/deal-sheet/vehicle/inventory-search-action.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/inventory-search.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/mileage.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/recommended-vehicles-action.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/registration-number.component.js","webpack:///./src/app/components/deal-sheet/vehicle/stock-vehicle.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/trim-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-action-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-equity.component.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-type-select.component.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-type.component.js","webpack:///./src/app/components/deal-sheet/vehicle/vin.component.js","webpack:///./src/app/components/deal-sheet/watch.component.js","webpack:///./src/app/components/deal-sheet/pando-process-claim-info.component.js","webpack:///./src/app/components/deal-sheet/template-email-preview.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/auto-assigned-access.component.js","webpack:///./src/app/components/deal-sheet/email-info-edit.component.js","webpack:///./src/app/components/deal-sheet/modals/email-info-edit-modal.component.js","webpack:///./src/app/components/deal-sheet/modals/view-email-conversation-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/view-email-conversation-action.component.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/view-customer-email-sent-modal.component.js","webpack:///./src/app/components/opportunities/opportunity-block-horizontal.component.js","webpack:///./src/app/components/opportunities/modals/euro-lite-grid-layout-selector-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/edit-contact.component.js.pre-build-optimizer.js","webpack:///./src/app/components/error/unauthorized.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header-wrapper.component.js","webpack:///./src/app/components/header/quick-search.component.js","webpack:///./src/app/components/header/sub-menu.component.js","webpack:///./src/app/components/dealer-dropdown.component.js","webpack:///./src/app/components/email-unsubscribe.component.js","webpack:///./src/app/scripts/redactor/autoalert.layout.js","webpack:///./src/app/components/header-wrapper.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/quick-search.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/sub-menu.component.js.pre-build-optimizer.js","webpack:///./src/app/components/dealer-dropdown.component.js.pre-build-optimizer.js","webpack:///./src/app/components/email-unsubscribe.component.js.pre-build-optimizer.js","webpack:///./src/app/scripts/redactor/jquery.bind-first.js","webpack:///./src/app/scripts/redactor/autoalert.redactor.link-visibility-message.js","webpack:///./src/app/scripts/redactor/autoalert.redactor.button.js","webpack:///./src/app/scripts/redactor/fontcolor.js","webpack:///./src/app/scripts/redactor/fontfamily.js","webpack:///./src/app/scripts/redactor/fontsize.js","webpack:///./src/app/components/html-textarea.component.js","webpack:///./src/app/components/iframe.component.js","webpack:///./src/app/components/legacy-iframe-support.component.js","webpack:///./src/app/components/login.component.js","webpack:///./src/app/components/modals/open-modal.component.js","webpack:///./src/app/components/modals/bulk-template-wizard-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/bulk-template-wizard-modal.component.js","webpack:///./src/app/components/modals/google-maps-modal.component.js","webpack:///./src/app/components/reports/dealer-make-select.component.js","webpack:///./src/app/components/reports/pando-survey-select.component.js","webpack:///./src/app/components/html-textarea.component.js.pre-build-optimizer.js","webpack:///./src/app/components/iframe.component.js.pre-build-optimizer.js","webpack:///./src/app/components/legacy-iframe-support.component.js.pre-build-optimizer.js","webpack:///./src/app/components/login.component.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/open-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/announcement-modal.component.js","webpack:///./src/app/components/modals/google-maps-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/radio-group.component.js","webpack:///./src/app/components/reports/modals/lms-transcript-modal.component.js","webpack:///./src/app/components/reports/lms-transcript.component.js","webpack:///./src/app/components/reports/dealer-make-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/pando-survey-select.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/report-render.component.js","webpack:///./src/app/components/reports/reports-container.component.js","webpack:///./src/app/components/reports/reports-menu.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/reports-menu.component.js","webpack:///./src/app/components/reports/report-render.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/reports-container.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/reports.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/reports.component.js","webpack:///./src/app/components/reports/beta-reports.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/beta-reports.component.js","webpack:///./src/app/components/reports/reports-header.component.js","webpack:///./src/app/components/reports/report-subscriptions-modal.component.js","webpack:///./src/app/components/reports/report-subscriptions.component.js","webpack:///./src/app/components/reports/report-subscription-list.component.js","webpack:///./src/app/components/reports/report-subscription-edit.component.js","webpack:///./src/app/components/template-email.component.js","webpack:///./src/app/components/service-drive/filters/service-drive-offers.filter.js","webpack:///./src/app/components/service-drive/modals/service-drive-offers-print.modal.component.js","webpack:///./src/app/components/service-drive/service-drive-offers.component.js.pre-build-optimizer.js","webpack:///./src/app/components/service-drive/service-drive-offers.component.js","webpack:///./src/app/components/third-party-report.component.js","webpack:///./src/app/components/carfax-callback.component.js","webpack:///./src/app/components/carfax-authorize.component.js","webpack:///./src/app/components/portal-footer.component.js","webpack:///./src/app/components/opportunities/euroliteopportunities.component.js","webpack:///./src/app/components/reports/reports-header.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/report-subscriptions-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/report-subscriptions.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/report-subscription-list.component.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/report-subscription-edit.component.js.pre-build-optimizer.js","webpack:///./src/app/components/template-email.component.js.pre-build-optimizer.js","webpack:///./src/app/components/service-drive/filters/service-drive-offers.filter.js.pre-build-optimizer.js","webpack:///./src/app/components/service-drive/modals/service-drive-offers-filter.modal.component.js","webpack:///./src/app/components/service-drive/modals/service-drive-offers-print.modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/third-party-report.component.js.pre-build-optimizer.js","webpack:///./src/app/components/carfax-callback.component.js.pre-build-optimizer.js","webpack:///./src/app/components/carfax-authorize.component.js.pre-build-optimizer.js","webpack:///./src/app/components/toggle-button.component.js","webpack:///./src/app/components/portal-footer.component.js.pre-build-optimizer.js","webpack:///./src/app/components/opportunities/euroliteopportunities.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/searchfilter-definitions.js","webpack:///./src/app/components/search/search-form.component.js","webpack:///./src/app/components/search/ui-checkboxlist.component.js","webpack:///./src/app/components/search/ui-textbox.component.js","webpack:///./src/app/components/search/ui-dropdownlist.component.js","webpack:///./src/app/components/search/ui-textbox-range.component.js","webpack:///./src/app/components/search/ui-datepicker-range.component.js","webpack:///./src/app/components/search/search-menu.component.js","webpack:///./src/app/components/search/search-container.component.js","webpack:///./src/app/components/search/search-manage-presets-container.component.js","webpack:///./src/app/components/search/search-form.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/ui-checkboxlist.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/ui-textbox.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/ui-dropdownlist.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/ui-textbox-range.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/ui-datepicker-range.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-menu.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-container.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-manage-presets-container.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-manage-presets.component.js","webpack:///./src/app/components/search/search-preset-selector.component.js","webpack:///./src/app/components/search/search-preset-settings.component.js","webpack:///./src/app/components/search/search-preset-settings-modal.component.js","webpack:///./src/app/components/search/search-export-modal.component.js","webpack:///./src/app/components/search/search-export-epsilon-modal.component.js","webpack:///./src/app/components/search/search-export-epsilon-result-modal.component.js","webpack:///./src/app/components/search/search-save-modal.component.js","webpack:///./src/app/components/search/search-save-layout-modal.component.js","webpack:///./src/app/components/search/search-reassign-modal.component.js","webpack:///./src/app/components/search/search-add-access-modal.component.js","webpack:///./src/app/components/search/search-direct-alert-modal.component.js","webpack:///./src/app/components/search/search-directalert.component.js","webpack:///./src/app/components/search/search-save-response-modal.component.js","webpack:///./src/app/components/wish-list/wish-list.component.js.pre-build-optimizer.js","webpack:///./src/app/components/wish-list/wish-list.component.js","webpack:///./src/app/components/wish-list/edit-wish-list-modal.component.js","webpack:///./src/app/components/wish-list/wish-list-matches-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/wish-list/wish-list-matches-modal.component.js","webpack:///./src/app/components/possible-nlo/possible-nlo.component.js","webpack:///./src/app/core/exception-handler.provider.js","webpack:///./src/app/components/header/customer-engagement-widget.component.js","webpack:///./src/app/components/header/customer-engagement-widget-window.component.js","webpack:///./src/app/components/header/customer-engagements-by-entity-modal.component.js","webpack:///./src/app/components/header/dealer-list.component.js","webpack:///./src/app/components/header/header.component.js","webpack:///./src/app/components/header/live-support.component.js","webpack:///./src/app/components/header/main-menu.component.js","webpack:///./src/app/components/search/search-manage-presets.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-preset-selector.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-preset-selector-modal.component.js","webpack:///./src/app/components/search/search-preset-settings.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-preset-settings-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-export-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-export-epsilon-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-export-epsilon-result-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-save-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-save-layout-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-reassign-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-add-access-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-direct-alert-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-directalert.component.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-save-response-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/wish-list/edit-wish-list-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/possible-nlo/possible-nlo.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/customer-engagement-widget.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/customer-engagement-widget-window.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/customer-engagements-by-entity-modal.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/dealer-list.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/header.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/live-support.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/main-menu.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/pando-inbox.component.js.pre-build-optimizer.js","webpack:///./src/app/components/header/pando-inbox.component.js","webpack:///./src/app/components/pagination.component.js","webpack:///./src/app/components/pagination.component.js.pre-build-optimizer.js","webpack:///./src/app/components/filter-button.component.js","webpack:///./src/app/core/opportunities.manifest.js","webpack:///./src/app/generated/services/user-search-condition-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/user-search-condition-client.service.ts","webpack:///./src/app/generated/services/customer-contact-history-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/customer-contact-history-client.service.ts","webpack:///./src/app/images/logo-one-to-one.svg","webpack:///./src/app/components/deal-sheet/contract/payoff/payoff.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/payoff/payoff.component.ts","webpack:///./src/app/components/deal-sheet/contract/cash-paid/cash-paid.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/cash-paid/cash-paid.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/projected-mileage/projected-mileage.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/projected-mileage/projected-mileage.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/payoff-input-modal/payoff-input-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deskit/deskit.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.string.fontcolor.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-log-action/customer-connect-log-action.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-log-action/customer-connect-log-action.component.ts","webpack:///../node_modules/core-js/modules/_iter-call.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/confirmation-modal.component.html","webpack:///./src/app/components/deal-sheet/modals/hot-trade-details-modal.component.scss","webpack:///../node_modules/core-js/es6/reflect.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-replacement-contract/mobile-replacement-contract.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-replacement-contract/mobile-replacement-contract.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/preferred-equity/preferred-equity.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/preferred-equity/preferred-equity.component.ts","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-phone/mobile-customer-phone.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-detail/customer-connect-detail.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-detail/customer-connect-detail.component.ts","webpack:///./src/app/components/deal-sheet/dms-push/dms-push.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/dms-push/dms-push.component-ng.html","webpack:///../node_modules/core-js/modules/es6.array.join.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.object.is-sealed.js.pre-build-optimizer.js","webpack:///./src/app/services/log-factory.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/log-factory.service.ts","webpack:///../node_modules/core-js/modules/es6.array.find.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/financial-info-modal.component.html","webpack:///../node_modules/core-js/modules/es6.regexp.flags.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_own-keys.js.pre-build-optimizer.js","webpack:///./src/app/components/wish-list/wish-list.component.scss","webpack:///../node_modules/core-js/modules/es6.math.trunc.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_object-forced-pam.js.pre-build-optimizer.js","webpack:///./src/app/components/icon/icon.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/filter-button.component.html","webpack:///../node_modules/core-js/modules/es6.number.to-fixed.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/nlo-info/nlo-info.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/nlo-info/nlo-info.component.ts","webpack:///../node_modules/core-js/modules/_inherit-if-required.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/auto-assigned.svg","webpack:///./src/app/components/deal-sheet/alerts/alerts.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-schedule-action/customer-connect-schedule-action.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_set-to-string-tag.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings.component.ts","webpack:///./src/app/components/admin/admin-roles-selector.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-roles-selector.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/carfax/carfax.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-rates.component.scss","webpack:///./src/app/components/deal-sheet/modals/email-info-edit-modal.component.html","webpack:///./src/app/components/deal-sheet/log-action-shortcuts/log-action-shortcuts.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/log-action-shortcuts/log-action-shortcuts.component-ng.html","webpack:///../node_modules/core-js/modules/es6.array.copy-within.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-crmleadsdelivery.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-crmleadsdelivery.component-ng.html","webpack:///./src/app/images/logo-service-lead-management.svg","webpack:///../node_modules/core-js/es6/weak-map.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/es6/parse-int.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/replacement/edit-upgrade-downgrade-multi-items-modal.component.scss","webpack:///./src/app/images/icons/icon-trash-vanilla.svg","webpack:///./src/app/components/wish-list/edit-wish-list-modal.component.html","webpack:///./src/app/components/deal-sheet/contract/payments/payments.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/payments/payments.component.ts","webpack:///./src/app/components/admin/admin-settings-creditconvert.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-creditconvert.component.ts","webpack:///./src/app/components/wish-list/wish-list-trim-list.component.js","webpack:///./src/app/components/deal-sheet/contract/capital-cost/capital-cost.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/images/icon-arrow-up-down-lake.svg","webpack:///./src/app/generated/services/deskit-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/deskit-client.service.ts","webpack:///./src/app/components/deal-sheet/default-tab-action/default-tab-action.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/es6/array.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-schedule-action/customer-connect-schedule-action.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-schedule-action/customer-connect-schedule-action.component.ts","webpack:///./src/app/components/deal-sheet/contract/annual-percentage-rate/annual-percentage-rate.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/modules/storage/module.ts.pre-build-optimizer.js","webpack:///./src/app/modules/storage/module.ts","webpack:///./src/app/images/icons/icon-information.svg","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/payment-difference/payment-difference.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/payment-difference/payment-difference.component-ng.html","webpack:///./src/app/components/deal-sheet/alerts/alerts.component-ng.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/alerts/alerts.component-ng.ts","webpack:///../node_modules/core-js/modules/es7.object.define-setter.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/delivery-monthly-mileage.component.html","webpack:///./src/app/components/search/ui-datepicker-range.component.html","webpack:///./src/app/components/deal-sheet/contract/payoff/payoff.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/payoff/payoff.component-ng.html","webpack:///./src/app/components/admin/admin-settings-vhr-disclaimer.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-vhr-disclaimer.component.ts","webpack:///../node_modules/core-js/modules/es6.string.iterator.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.object.get-prototype-of.js.pre-build-optimizer.js","webpack:///./src/app/modules/storage/storage.service.ts.pre-build-optimizer.js","webpack:///./src/app/modules/storage/storage.service.ts","webpack:///./src/app/generated/services/search-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/search-client.service.ts","webpack:///../node_modules/core-js/es6/symbol.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/select-modal.component.html","webpack:///../node_modules/core-js/modules/_enum-keys.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-templates/admin-templates.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-direct-alert-modal.component.html","webpack:///../node_modules/core-js/modules/es6.set.js.pre-build-optimizer.js","webpack:///./src/app/constants/access-rights.ts.pre-build-optimizer.js","webpack:///./src/app/constants/access-rights.ts","webpack:///./src/app/generated/base-service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/base-service.ts","webpack:///./src/app/components/search/search-export-epsilon-modal.component.html","webpack:///../node_modules/core-js/modules/es6.string.trim.js.pre-build-optimizer.js","webpack:///./src/app/images/error/unauthorized/icon-alertminer-upgrade.png","webpack:///./src/app/components/search/search-menu.component.html","webpack:///./src/app/interfaces/settings.interface.ts.pre-build-optimizer.js","webpack:///./src/app/interfaces/settings.interface.ts","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-phone/mobile-customer-phone.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-customer-phone/mobile-customer-phone.component.ts","webpack:///../node_modules/core-js/modules/_dom-create.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_to-iobject.js.pre-build-optimizer.js","webpack:///./src/app/components/template-email.component.html","webpack:///./src/app/components/search/search-preset-settings.component.html","webpack:///./src/app/components/deal-sheet/contract/sale-type/sale-type.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/sale-type/sale-type.component.ts","webpack:///./src/app/components/header/recent-deal-sheets/recent-deal-sheets.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/constants/entity-mail-history-source.ts.pre-build-optimizer.js","webpack:///./src/app/constants/entity-mail-history-source.ts","webpack:///../node_modules/core-js/modules/_to-integer.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/hot-flame.svg","webpack:///../node_modules/core-js/modules/_cof.js.pre-build-optimizer.js","webpack:///./src/app/components/header/pando-inbox.component.html","webpack:///./src/app/components/deal-sheet/mobile/mobile-replacement-contract/mobile-replacement-contract.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-replacement-contract/mobile-replacement-contract.component.ts","webpack:///./src/app/components/deal-sheet/culture-select.component.html","webpack:///./src/app/components/deal-sheet/credit-inquiries.component.html","webpack:///./src/app/generated/services/ford-credit-approval-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/ford-credit-approval-client.service.ts","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/more-vehicle-offers.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/environments/app-settings.ts.pre-build-optimizer.js","webpack:///./src/app/environments/app-settings.ts","webpack:///./src/app/components/service-drive/service-drive.scss","webpack:///./src/app/components/header/impersonation-status/impersonation-status.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/dms-push-modal/dms-push-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/dms-push-modal/dms-push-modal.component.ts","webpack:///./src/app/components/dashboard/search-preset-counts/search-preset-counts.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/search-preset-counts/search-preset-counts.component.ts","webpack:///./src/app/components/deal-sheet/contract/factory-rebate/factory-rebate.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/factory-rebate/factory-rebate.component.ts","webpack:///../node_modules/core-js/es6/map.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-penalty/mileage-penalty.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-penalty/mileage-penalty.component-ng.html","webpack:///../node_modules/core-js/modules/es6.regexp.search.js.pre-build-optimizer.js","webpack:///./src/app/generated/services/user-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/user-client.service.ts","webpack:///./src/app/constants/mail-format.ts.pre-build-optimizer.js","webpack:///./src/app/constants/mail-format.ts","webpack:///../node_modules/core-js/modules/es6.function.bind.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_bind.js.pre-build-optimizer.js","webpack:///./src/app/constants/opportunity-statuses.ts.pre-build-optimizer.js","webpack:///./src/app/constants/opportunity-statuses.ts","webpack:///./src/app/components/deal-sheet/contract/monthly-mileage.component.html","webpack:///./src/app/images/icons/pando-outline.svg","webpack:///./src/app/components/search/search-manage-presets-container.component.html","webpack:///./src/app/scripts/redactor/autoalert.redactor.button.scss","webpack:///../node_modules/core-js/modules/es6.reflect.set-prototype-of.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/dashboard.component.html","webpack:///../node_modules/core-js/modules/es6.weak-map.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/credit-prescreen.component.html","webpack:///../node_modules/core-js/modules/_string-repeat.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/repair-orders/repair-orders.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/repair-orders/repair-orders.component-ng.html","webpack:///./src/app/components/general/customer-culture-select/customer-culture-select.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/general/customer-culture-select/customer-culture-select.component-ng.html","webpack:///../node_modules/core-js/modules/core.get-iterator-method.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_object-to-array.js.pre-build-optimizer.js","webpack:///./src/app/main.ts.pre-build-optimizer.js","webpack:///./src/app/main.ts","webpack:///./src/app/components/deal-sheet/text-action/text-action.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/text-action/text-action.component-ng.html","webpack:///./src/app/components/deal-sheet/modals/credit-pre-qualified-modal.component.html","webpack:///../node_modules/core-js/modules/_object-dps.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-container.component.html","webpack:///./src/app/generated/services/trim-alternate-offer-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/trim-alternate-offer-client.service.ts","webpack:///../node_modules/core-js/modules/_iter-create.js.pre-build-optimizer.js","webpack:///./src/app/services/opportunity2.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/opportunity2.service.ts","webpack:///./src/app/images/icons/icon-hot-flame-apple.svg","webpack:///../node_modules/core-js/modules/es6.array.species.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/allowed-mileage/allowed-mileage.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/allowed-mileage/allowed-mileage.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/allowed-mileage/allowed-mileage.component-ng.html","webpack:///./src/app/components/deal-sheet/modals/view-customer-conversation-modal.component.html","webpack:///../node_modules/core-js/modules/es6.string.strike.js.pre-build-optimizer.js","webpack:///./src/app/services/user.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/user.service.ts","webpack:///./src/app/components/deal-sheet/deal-history/deal-history.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deal-history/deal-history.component-ng.html","webpack:///../node_modules/core-js/modules/es7.reflect.get-own-metadata.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-export-modal.component.html","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-summary/vehicle-summary.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/modules/storage/index.ts.pre-build-optimizer.js","webpack:///./src/app/modules/storage/index.ts","webpack:///../node_modules/core-js/modules/es6.function.has-instance.js.pre-build-optimizer.js","webpack:///./src/app/components/date-input/date-input.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-edit.component.html","webpack:///./src/app/generated/services/text-message-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/text-message-client.service.ts","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/more-vehicle-offers.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/more-vehicle-offers.component-ng.html","webpack:///../node_modules/core-js/modules/es6.math.acosh.js.pre-build-optimizer.js","webpack:///../node_modules/Base64/base64.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/residual/residual.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/dashboard/search-preset-counts/search-preset-counts.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/header/customer-engagement-widget-window.component.html","webpack:///../node_modules/core-js/modules/es7.reflect.has-metadata.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.object.get-own-property-descriptor.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.math.clz32.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/on-demand-offers.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/more-vehicle-offers/on-demand-offers.component.ts","webpack:///./src/app/constants/vehicle-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/vehicle-types.ts","webpack:///./src/app/components/deal-sheet/contract/capital-cost/capital-cost.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/capital-cost/capital-cost.component-ng.html","webpack:///./src/app/components/deal-sheet/modals/message-modal.component.html","webpack:///./src/app/components/deal-sheet/contract/carfaxv2/carfaxv2.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/carfaxv2/carfaxv2.component.ts","webpack:///./src/app/components/search/search-save-modal.component.scss","webpack:///./src/app/components/deal-sheet/modals/inventory-search-modal.component.html","webpack:///./src/app/components/header/quick-search.component.html","webpack:///../node_modules/core-js/modules/_collection-weak.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/data-entry-rates-rate-mark-ups.component.html","webpack:///./src/app/modules/storage/cross-domain-storage.service.ts.pre-build-optimizer.js","webpack:///./src/app/modules/storage/cross-domain-storage.service.ts","webpack:///./src/app/images/icons/icon-im-offer-lake.svg","webpack:///./src/app/generated/services/make-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/make-client.service.ts","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-image/vehicle-image.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-roles-modal-addedit.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-roles-modal-addedit.component-ng.html","webpack:///../node_modules/core-js/modules/_redefine.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-activities/mobile-activities.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-activities/mobile-activities.component-ng.html","webpack:///../node_modules/core-js/modules/_array-includes.js.pre-build-optimizer.js","webpack:///./src/app/directives/min.directive.ts.pre-build-optimizer.js","webpack:///./src/app/directives/min.directive.ts","webpack:///./src/app/components/deal-sheet/email-template-action.component.html","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-actions/customer-connect-sub-actions.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-actions/customer-connect-sub-actions.component.ts","webpack:///./src/app/components/wish-list/wish-list-matches-modal.component.html","webpack:///./src/app/components/opportunities/euroliteopportunities.component.scss","webpack:///./src/app/images/icons/icon-unshare-search-vanilla.svg","webpack:///../node_modules/core-js/modules/es6.object.to-string.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/financed-amount/financed-amount.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/financed-amount/financed-amount.component.ts","webpack:///./src/app/components/deal-sheet/dms-push-modal/dms-push-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/nlo-info-modal/nlo-info-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/nlo-info-modal/nlo-info-modal.component.ts","webpack:///./src/app/components/admin/admin-settings-product.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-product.component-ng.html","webpack:///./src/app/components/deal-sheet/customer-name.component.html","webpack:///./src/app/generated/services/dealer-setting-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-setting-client.service.ts","webpack:///./src/app/components/service-drive/modals/service-drive-offers-filter.modal.component.html","webpack:///../node_modules/core-js/modules/es6.date.to-iso-string.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/trade-in-value/trade-in-value.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/trade-in-value/trade-in-value.component.ts","webpack:///./src/app/components/search/ui-checkboxlist.component.html","webpack:///./src/app/components/deal-sheet/alert-script.component.html","webpack:///../node_modules/core-js/modules/_hide.js.pre-build-optimizer.js","webpack:///./src/app/images/autoalert-logo-ford.png","webpack:///./src/app/components/deal-sheet/contract/factory-rebate/factory-rebate.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/dealer-dropdown.component.scss","webpack:///./src/app/components/search/search-add-access-modal.component.scss","webpack:///./src/app/components/portal-footer.component.html","webpack:///./src/app/generated/services/deal-sheet-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/deal-sheet-client.service.ts","webpack:///./src/app/constants/AutoAlert.AlertMiner.ServiceContract.Enums/ActivityActionEnum.ts.pre-build-optimizer.js","webpack:///./src/app/constants/AutoAlert.AlertMiner.ServiceContract.Enums/ActivityActionEnum.ts","webpack:///./src/app/components/reports/reports.component.html","webpack:///../node_modules/core-js/modules/es6.number.epsilon.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/payoff-input-modal/payoff-input-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/payoff-input-modal/payoff-input-modal.component-ng.html","webpack:///../node_modules/core-js/modules/es6.string.blink.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/report-discrepancy-action.component.html","webpack:///../node_modules/core-js/modules/_string-at.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/customer-info/customer-info.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/icon-nlo-vanilla.svg","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-actions/customer-connect-actions.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-actions/customer-connect-actions.component-ng.html","webpack:///./src/app/components/deal-sheet/dms-push-modal/dms-push-enums.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/dms-push-modal/dms-push-enums.ts","webpack:///../node_modules/core-js/modules/es6.string.raw.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es7.object.entries.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-vhr-disclaimer.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-vhr-disclaimer.component-ng.html","webpack:///./src/app/components/icon/icon.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/icon/icon.component-ng.html","webpack:///./src/app/filters/locale-money-factor.pipe.ts.pre-build-optimizer.js","webpack:///./src/app/filters/locale-money-factor.pipe.ts","webpack:///./src/app/constants/payment-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/payment-types.ts","webpack:///./src/app/components/deal-sheet/contract/cash-paid/cash-paid.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/residual/residual.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/residual/residual.component.ts","webpack:///./src/app/components/deal-sheet/contract/projected-mileage/projected-mileage.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/activity-list.component.html","webpack:///./src/app/components/deal-sheet/mobile/customer-info/customer-info.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/customer-info/customer-info.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/bank-rate.component.html","webpack:///./src/app/components/date-input/date-input.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/date-input/date-input.component.ts","webpack:///../node_modules/core-js/es6/regexp.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vauto-modal/vauto-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vauto-modal/vauto-modal.component-ng.html","webpack:///./src/app/components/pagination.component.html","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-summary/vehicle-summary.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/vehicle/vehicle-summary/vehicle-summary.component.ts","webpack:///./src/app/components/deal-sheet/mobile/mobile-deal-sheet/mobile-deal-sheet.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/mobile/mobile-deal-sheet/mobile-deal-sheet.component-ng.html","webpack:///./src/app/components/header/sub-menu.component.html","webpack:///../node_modules/core-js/modules/es6.reflect.own-keys.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/confirmation-modal/confirmation-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/constants/customer-cultures.ts.pre-build-optimizer.js","webpack:///./src/app/constants/customer-cultures.ts","webpack:///../node_modules/core-js/es7/object.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-sub-actions/customer-connect-sub-actions.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/service-detail-modal.component.html","webpack:///../node_modules/core-js/modules/_library.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/user-select.component.html","webpack:///./src/app/generated/services/dealer-price-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-price-client.service.ts","webpack:///./src/app/components/search/search-export-modal.component.scss","webpack:///../node_modules/core-js/modules/_parse-float.js.pre-build-optimizer.js","webpack:///./src/app/images/service-marketing-mail-blue.svg","webpack:///./src/app/filters/locale-phone.pipe.ts.pre-build-optimizer.js","webpack:///./src/app/filters/locale-phone.pipe.ts","webpack:///./src/app/environments/environment.ts.pre-build-optimizer.js","webpack:///./src/app/environments/environment.ts","webpack:///./src/app/components/calendar-date-range.component-ng.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/calendar-date-range.component-ng.html","webpack:///./src/app/modules/oidc-auth/index.ts.pre-build-optimizer.js","webpack:///./src/app/modules/oidc-auth/index.ts","webpack:///./src/app/generated/services/customer-workflow-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/customer-workflow-client.service.ts","webpack:///./src/app/components/deal-sheet/contract/lease-mileage.component.html","webpack:///./src/app/components/deal-sheet/modals/open-process-modal.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/open-process-modal.component.ts","webpack:///./src/app/images/icons/icon-invite-user-vanilla.svg","webpack:///../node_modules/core-js/es6/object.js.pre-build-optimizer.js","webpack:///./src/app/images/error/unauthorized/icon-alertminer-contract.png","webpack:///./src/app/images/icons/alert-blocks.svg","webpack:///./src/app/components/deal-sheet/financial/financials-lease-sale.component.html","webpack:///../node_modules/core-js/modules/_is-integer.js.pre-build-optimizer.js","webpack:///./src/app/components/reports/reports.scss","webpack:///./src/app/components/admin/admin-settings-creditconvert.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-creditconvert.component-ng.html","webpack:///./src/app/components/deal-sheet/contract/mileage-penalty/mileage-penalty.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/images/icons/icon-sms-lake.svg","webpack:///./src/app/components/service-drive/service-drive-offers.component.html","webpack:///./src/app/components/modals/confirm-modal.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/data-entry/replacement/data-entry-replacement-offers.component.html","webpack:///./src/app/components/deal-sheet/contract/extended-warranty/extended-warranty.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/extended-warranty/extended-warranty.component-ng.html","webpack:///./src/app/images/error/unauthorized/icon-alertminer-in-market.png","webpack:///./src/app/components/search/search-form.component.html","webpack:///./src/app/generated/services/pando-claim-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/pando-claim-client.service.ts","webpack:///./src/app/components/deal-sheet/pando-process-claim-info.component.html","webpack:///../node_modules/core-js/modules/es6.array.map.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/mileage-edit-action/mileage-edit-action.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/display-modal/display-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/modals/display-modal/display-modal.component-ng.html","webpack:///../node_modules/core-js/modules/_math-expm1.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/es6/string.js.pre-build-optimizer.js","webpack:///./src/app/constants/trade-value-types.ts.pre-build-optimizer.js","webpack:///./src/app/constants/trade-value-types.ts","webpack:///./src/app/components/deal-sheet/contract/allowed-mileage/allowed-mileage.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/allowed-mileage/allowed-mileage.component.ts","webpack:///./src/app/images/Enterprise_Customer_White_Icon.png","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-actions/customer-connect-actions.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/customer-connect/customer-connect-actions/customer-connect-actions.component.ts","webpack:///./src/app/components/deal-sheet/contract/vincue/vincue.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/vincue/vincue.component-ng.html","webpack:///./src/app/constants/change-log-type.ts.pre-build-optimizer.js","webpack:///./src/app/constants/change-log-type.ts","webpack:///./src/app/components/deal-sheet/nlo-info/nlo-info.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/modals/deal-sheet-modal.component.html","webpack:///./src/app/components/deal-sheet/watch.component.html","webpack:///./src/app/images/icon-pando-profile-off.svg","webpack:///./src/app/components/deal-sheet/contract/cash-down/cash-down.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/contract/cash-down/cash-down.component.ts","webpack:///./src/app/components/admin/admin-settings-modal-sendtestlead.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/admin/admin-settings-modal-sendtestlead.component-ng.html","webpack:///./src/app/components/header/pando-availability/pando-availability.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/header/pando-availability/pando-availability.component-ng.html","webpack:///../node_modules/core-js/modules/_date-to-iso-string.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/financial/financials-cash-sale.component.html","webpack:///./src/app/components/deal-sheet/score-info/score-info.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/score-info/score-info.component.ts","webpack:///./src/app/services/text-message.service.ts.pre-build-optimizer.js","webpack:///./src/app/services/text-message.service.ts","webpack:///./src/app/generated/services/dealer-smtp-setting-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/dealer-smtp-setting-client.service.ts","webpack:///../node_modules/core-js/modules/_wks-define.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/es6.math.fround.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/tags/tags.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/tags/tags.component-ng.html","webpack:///../node_modules/core-js/modules/_meta.js.pre-build-optimizer.js","webpack:///../node_modules/core-js/modules/_object-gopn.js.pre-build-optimizer.js","webpack:///./src/app/components/search/search-export-epsilon-result-modal.component.html","webpack:///./src/app/generated/services/inventory-client.service.ts.pre-build-optimizer.js","webpack:///./src/app/generated/services/inventory-client.service.ts","webpack:///../node_modules/core-js/modules/es6.string.from-code-point.js.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deal-history/deal-history.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/deal-sheet/deal-history/deal-history.component.ts","webpack:///../node_modules/core-js/modules/_iter-detect.js.pre-build-optimizer.js","webpack:///./$_lazy_route_resource lazy namespace object","webpack:///./src/app/components/deal-sheet/log-action-shortcuts/log-action-shortcuts.component.scss.shim.ngstyle.js.pre-build-optimizer.js","webpack:///./src/app/components/header/stock-number-search/stock-number-search.component.ts.pre-build-optimizer.js","webpack:///./src/app/components/header/stock-number-search/stock-number-search.component.ts","webpack:///../node_modules/core-js/modules/es6.number.is-safe-integer.js.pre-build-optimizer.js","webpack:///./src/app/interfaces/notification-message.interface.ts.pre-build-optimizer.js","webpack:///./src/app/interfaces/notification-message.interface.ts","webpack:///../node_modules/core-js/modules/es6.map.js.pre-build-optimizer.js"],"names":["path","window","angular","module","run","c","put","exports","$export","__webpack_require__","S","isArray","styles","__importStar","this","mod","__esModule","result","k","Object","hasOwnProperty","call","defineProperty","value","http_1","base_service_1","operators_1","i0","i1","i2","SaleClientService","_super","config","http","__extends","prototype","GetSaleExtByEntityIdByEntityidGETResponse","entityId","__params","newParams","__headers","HttpHeaders","req","HttpRequest","rootUrl","headers","params","responseType","request","pipe","filter","_r","HttpResponse","map","GetSaleExtByEntityIdByEntityidGET","body","AddUpdateSalePayoffPOSTResponse","AddUpdateSalePayoffPOST","GetSaleExtByEntityIdByEntityidGETPath","AddUpdateSalePayoffPOSTPath","ngInjectableDef","ɵɵdefineInjectable","factory","ɵɵinject","AlertminerApiConfiguration","HttpClient","token","providedIn","BaseService","ProjectedMileageComponent","ngOnInit","constants_1","MobileCustomerConnectComponent","activityService","toasterLoggerService","customerService","mobileDealSheetDataCachingService","transition","changeDetectorRef","activityActionEnum","ActivityActionEnum","defaultCustomerConnectAction","Log_Call","isCustomerConnectOpen","opportunityId","_this","opportunitySubscription","getDealsheetData","subscribe","dealSheetData","opportunity","permissions","usersSubscription","getUsers","dealerId","users","detectChanges","onLogScheduleSubmit","busy","postActivitySubmitAction","then","data","isFollowUpScheduleAppt","success","Schedule_Appt","resultID","ActivityResults","phoneCall","noLongerOwns","note","updateCustomerDoesNotOwnVehicle","id","vehiclePaidOff","updateVehiclePaidOff","refreshActivities","updateCustomer","customer","clearDealSheetData","clearActivities","ngOnDestroy","unsubscribe","redefine","target","src","safe","key","ActivityResultDescriptors","activityResultID","translateKey","priority","setID","column","angular__WEBPACK_IMPORTED_MODULE_0__","angular__WEBPACK_IMPORTED_MODULE_0___default","n","_core_translation__WEBPACK_IMPORTED_MODULE_3__","_i18n_en_CA_json__WEBPACK_IMPORTED_MODULE_4__","_i18n_en_GB_json__WEBPACK_IMPORTED_MODULE_5__","_i18n_en_US_json__WEBPACK_IMPORTED_MODULE_6__","_i18n_es_US_json__WEBPACK_IMPORTED_MODULE_7__","_i18n_fr_CA_json__WEBPACK_IMPORTED_MODULE_8__","_i18n_fr_FR_json__WEBPACK_IMPORTED_MODULE_9__","AddTranslations","$translateProvider","translations","en_CA","en_GB","en_US","es_US","fr_CA","fr_FR","currentUserCulture$","cultureName","use","$inject","moduleName","i3","i4","i5","i6","RenderType_AnnualPercentageRateComponent","ɵcrt","encapsulation","View_AnnualPercentageRateComponent_1","_l","ɵvid","ɵeld","ɵdid","TranslateDirective","TranslateService","ElementRef","ChangeDetectorRef","translate","translateParams","ɵppd","ɵpod","apr","_ck","_v","_co","component","currVal_1","ɵunv","ɵnov","parent","View_AnnualPercentageRateComponent_0","ɵpid","LocaleNumberPipe","StorageService","ɵand","NgIf","ViewContainerRef","TemplateRef","ngIf","View_AnnualPercentageRateComponent_Host_0","AnnualPercentageRateComponent","Injector","AnnualPercentageRateComponentNgFactory","ɵccf","i7","i8","i9","i10","RenderType_AlertsComponent","View_AlertsComponent_2","View_AlertComponent_0","RenderType_AlertComponent","AlertComponent","alertTypeId","context","$implicit","type","View_AlertsComponent_3","message","View_AlertsComponent_1","showRelavantInfo","View_AlertsComponent_0","NgForOf","IterableDiffers","ngForOf","values","View_AlertsComponent_Host_0","AlertsComponent","LocaleDateTimePipe","LocaleDatePipe","LocaleCurrencyPipe","AlertsComponentNgFactory","AlertTypes","alert","flexAlert","inMarket","inMarketEngaged","contractEnd","service","appointment","mileage","warranty","RenderType_CarfaxComponent","View_CarfaxComponent_1","View_CarfaxComponent_2","en","$event","ad","go","button","ctrlKey","metaKey","AnchorUISref","Renderer2","UISref","UIRouter","state","vin","View_CarfaxComponent_0","showCarFaxLink","readonly","View_CarfaxComponent_Host_0","CarfaxComponent","CarfaxComponentNgFactory","dealerSettings","i11","RenderType_QuickLinksComponent","View_QuickLinksComponent_1","View_IconComponent_0","RenderType_IconComponent","IconComponent","DomSanitizer","View_QuickLinksComponent_2","View_QuickLinksComponent_3","View_QuickLinksComponent_4","View_QuickLinksComponent_5","isExactMatch","isShowUsed","hasOpp","inventorySortColumnName","ageVehicleGroup","View_QuickLinksComponent_6","View_QuickLinksComponent_7","View_QuickLinksComponent_8","View_QuickLinksComponent_9","icon","View_QuickLinksComponent_10","View_QuickLinksComponent_0","modulePermissions","opportunities","activities","search","financeInsuranceManager","preOwnedManager","serviceManager","isSomeDealerOneToOneEnabled","conquests","wishlist","View_QuickLinksComponent_Host_0","QuickLinksComponent","DealerService","MenuService","QuickLinksComponentNgFactory","Math","sign","x","fails","method","arg","html","jQuery","$","uuid","Range","range","startOffset","endOffset","equals","reUrlYoutube","reUrlVimeo","Redactor","el","options","init","fn","redactor","val","args","Array","slice","arguments","each","instance","isFunction","error","methodVal","apply","undefined","push","length","VERSION","opts","rangy","iframe","fullpage","css","lang","direction","placeholder","typewriter","wym","mobile","cleanup","tidyHtml","pastePlainText","removeEmptyTags","cleanSpaces","cleanFontTag","templateVars","xhtml","visual","focus","tabindex","autoresize","minHeight","maxHeight","shortcuts","ctrl+m, meta+m","ctrl+b, meta+b","ctrl+i, meta+i","ctrl+h, meta+h","ctrl+l, meta+l","ctrl+k, meta+k","ctrl+shift+7","ctrl+shift+8","shortcutsAdd","autosave","autosaveInterval","plugins","linkProtocol","linkNofollow","linkSize","predefinedLinks","imageFloatMargin","imageGetJson","dragUpload","imageTabLink","imageUpload","imageUploadParam","imageResizable","fileUpload","fileUploadParam","clipboardUpload","clipboardUploadUrl","dnbImageTypes","s3","uploadFields","observeImages","observeLinks","modalOverlay","tabSpaces","tabFocus","air","airButtons","toolbar","toolbarFixed","toolbarFixedTarget","document","toolbarFixedTopOffset","toolbarFixedBox","toolbarExternal","toolbarOverflow","buttonSource","buttons","buttonsHideOnMobile","activeButtons","activeButtonsStates","b","strong","i","em","del","strike","ul","ol","u","tr","td","table","formattingTags","linebreaks","paragraphy","convertDivs","convertLinks","convertImageLinks","convertVideoLinks","formattingPre","phpTags","allowedTags","deniedTags","boldTag","italicTag","indentValue","buffer","rebuffer","textareamode","emptyHtml","invisibleSpace","rBlockTest","alignmentTags","ownLine","contOwnLine","newLevel","blockLevelElements","langs","video","image","link","link_insert","link_edit","unlink","formatting","paragraph","quote","code","header1","header2","header3","header4","header5","bold","italic","fontcolor","backcolor","unorderedlist","orderedlist","outdent","indent","cancel","insert","save","_delete","insert_table","insert_row_above","insert_row_below","insert_column_left","insert_column_right","delete_column","delete_row","delete_table","rows","columns","add_head","delete_head","title","image_position","none","left","right","center","image_web_link","text","mailto","web","video_html_code","file","upload","download","choose","or_choose","drop_file_here","align_left","align_center","align_right","align_justify","horizontalrule","deleted","anchor","link_new_tab","underline","alignment","filename","edit","keyCode","BACKSPACE","DELETE","DOWN","ENTER","ESC","TAB","CTRL","META","LEFT","LEFT_WIN","rtePaste","$element","$source","extend","start","dropdowns","sourceHeight","sourceWidth","savedSel","cleanlineBefore","RegExp","join","cleanlineAfter","cleannewLevel","rTestBlock","arrSearch","arrAdd","inArray","pos","splice","browser","removeFromArrayByValue","curLang","placeholderInit","buildStart","toolbarInit","func","dropdown","p","blockquote","className","pre","h1","h2","h3","h4","h5","exec","separator_drop1","name","separator_drop2","separator_drop3","alignleft","aligncenter","alignright","justify","alignjustify","callback","event","destroy","clearInterval","off","removeData","get","$box","after","remove","show","$elem","$editor","removeClass","removeAttr","getObject","getEditor","getBox","getIframe","$frame","getToolbar","$toolbar","getCodeIframe","outerHtml","contents","children","attr","contenteditable","dir","set","strip","placeholderRemove","toString","replace","setCodeIframe","setEditor","placeholderRemoveFromEditor","cleanSavePreCode","cleanStripTags","cleanConvertProtected","cleanConvertInlineTags","cleanConverters","cleanEmpty","setNonEditable","setSpansVerified","sync","doc","iframePage","cleanRemoveSpaces","open","write","close","find","setFullpageOnInit","fullpageDoctype","match","setFullpageDoctype","source","spans","outer","outerHTML","regex","tagName","newTag","replaceWith","setSpansVerifiedHtml","e","cleanUnverified","syncClean","cleanRemoveEmptyTags","trim","s","which","placeholderRemoveFromCode","removeTags","removeTagsWithoutAttr","cleanReConvertProtected","$div","append","unwrap","attributes","content","isMobile","buildMobile","buildContent","iframeStart","buildFromTextarea","buildFromElement","buildOptions","buildAfter","hide","buildCodearea","insertAfter","buildAddClasses","buildEnable","split","addClass","toolbarBuild","modalTemplatesInit","buildPlugins","buildBindKeyboard","setTimeout","proxy","observeStart","execCommand","toggle","clickedElement","dblEnter","on","buildEventDrop","selectall","buildEventPaste","buildEventKeydown","buildEventKeyup","textareaKeydownCallback","focusCallback","mousedown","hasClass","parents","blurCallback","originalEvent","FormData","dataTransfer","files","preventDefault","indexOf","bufferSet","showProgressBar","dragUploadAjax","s3uploadFile","oldsafari","navigator","userAgent","buildEventClipboardUpload","selectionSave","fullscreen","height","saveScroll","scrollTop","frag","extractContent","pastedFrag","selectionRestore","getFragmentHtml","pasteClean","clipboardFilePaste","clipboardData","items","getAsFile","reader","FileReader","onload","pasteClipboardUpload","readAsDataURL","ctrl","getParent","current","getCurrent","block","getBlock","getSelection","selection","lineOrWord","modify","shiftKey","collapseToStart","collapseToEnd","imageResizeHide","insertAfterLastElement","altKey","bufferUndo","bufferRedo","insertLineBreak","getRange","collapsed","sel","rangeCount","deleteContents","nodeType","insertNode","createElement","isEndOfElement","element","last","insertingAfterLastElement","tmp","buildEventKeydownPre","listCurrent","listText","listCurrentText","next","$list","closest","node","selectionStart","test","blockElem","buildEventKeydownInsertLineBreak","replaceLineBreak","buildEventKeydownTab","buildEventKeydownBackspace","createTextNode","isEmpty","indentingOutdent","indentingIndent","parentNode","nodeValue","prev","clone","selectionEnd","buildEventKeyupConverters","formatEmpty","formatLinkify","RedactorPlugins","iframeCreate","iframeAppend","$sourceOld","one","timer","setInterval","iframeLoad","iframeDoc","contentWindow","documentElement","removeChild","iframeAddCss","isString","url","ownerDocument","defaultView","placeholderText","placeholderStart","placeholderOnFocus","placeholderOnBlur","placeholderGet","placeholderFocus","placeholderBlur","ph","str","command","keys","shortcutsHandler","eval","origHandler","hotkeysSpecialKeys","8","9","10","13","16","17","18","19","20","27","32","33","34","35","36","37","38","39","40","45","46","59","61","96","97","98","99","100","101","102","103","104","105","106","107","109","110","111","112","113","114","115","116","117","118","119","120","121","122","123","144","145","173","186","187","188","189","190","191","192","219","220","221","222","hotkeysShiftNums","`","1","2","3","4","5","6","7","0","-","=",";","'",",",".","/","\\","toLowerCase","special","character","String","fromCharCode","modif","possible","index","specialKey","l","focusSet","focusWithSaveScroll","top","focusEnd","collapse","selectNodeContents","removeAllRanges","addRange","direct","toggleCode","toggleVisual","modified","thtml","buttonActiveVisual","buttonInactive","innerHeight","cleanHtml","textareaIndenting","buttonInactiveVisual","buttonActive","$el","substring","savedHtml","ajax","escape","encodeURIComponent","json","parseJSON","airEnable","$air","prepend","btnName","btnObject","buttonBuild","toolbarObserveScroll","buttonActiveObserver","end","boxTop","offset","width","innerWidth","position","zIndex","getSelectionText","airShow","$focusElem","getElement","focusNode","keyboard","clientX","clientY","airBindHide","hideHandler","fadeOut","selectionRemove","airBindMousemoveHide","dropdownBuild","$dropdown","dropdownObject","$item","returnValue","dropdownShow","$button","buttonGet","appendTo","dropdownHideAll","keyPosition","dropdownWidth","btnHeight","hdlHideDropDown","dropdownHide","stopPropagation","buttonImage","isFocused","buttonTagToActiveState","buttonName","buttonActiveToggle","buttonInactiveAll","not","buttonChangeIcon","classname","buttonRemoveIcon","buttonAwesome","buttonAdd","btn","buttonAddFirst","buttonAddAfter","afterkey","$btn","buttonAddBefore","beforekey","before","buttonRemove","$parent","align","execPasteFrag","getRangeAt","innerHTML","lastNode","createDocumentFragment","firstChild","appendChild","cloneRange","setStartAfter","cmd","param","isIe11","createRange","pasteHTML","inlineRemoveFormatReplace","insertHtml","currentOrParentIs","execLists","execUnlink","isParentRedactor","listTag","nodes","getNodes","elems","getBlocks","unshift","replaced","$s","cloned","clonedHtml","empty","firstParent","wrapper","selectionWrap","wrapperHtml","tmpList","tmpLi","wrapAll","$listParent","nodeTestBlocks","indentingStart","$prev","$childList","newblock","normalize","elements","elem","insideOutdent","removeEmptyAttr","li","alignmentLeft","alignmentSet","alignmentRight","alignmentCenter","alignmentJustify","oldIE","gallery","cleanParagraphy","matches","phpMatches","merge","cleanReplacer","etagsInline","etags","len","concat","safes","commentsMatches","R","r","blocks","htmls","allowed","arr","$0","$1","encode","cleanEncodeEntities","$elem2","codeLength","point","tag","out","cont","cleanlevel","substr","cleanFinish","charAt","cleanGetTabs","t","placeTag","cleanTag","j","m","tagout","suffix","nl","formatBlocks","formatQuote","formatBlock","formatChangeTag","fromElement","toTagName","newElement","blocksLen","paragraphsOnly","count","getSelectionHtml","inlineFormat","newhtml","selectionElement","blockRemoveAttr","blockSetAttr","blockRemoveStyle","rule","blockSetStyle","blockRemoveClass","blockSetClass","inlineRemoveClass","inlineEachNodes","inlineSetClass","inlineMethods","inlineRemoveStyle","inlineSetStyle","inlineRemoveAttr","startContainer","endContainer","inlineUnwrapSpan","inlineSetAttr","fonts","inlineSetMethods","$spans","span","$span","inlineRemoveFormat","utag","toUpperCase","$html","parseHTML","currBlock","htmlTagName","getRangeSelectedNodes","is","insertHtmlAdvanced","insertBeforeCursor","space","insertText","setEndAfter","insertNodeToCaretPositionFromPoint","y","caretPositionFromPoint","setStart","offsetNode","caretRangeFromPoint","createTextRange","moveToPoint","endRange","duplicate","setEndPoint","select","twice","br","setCaretAfter","selectionRemoveMarkers","getCaretOffset","insertDoubleLineBreak","textContent","innerText","pasteInsert","tablePaste","blocksElems","pastePre","pasteClipboardMozilla","img","pasteClipboardUploadMozilla","pasteClipboardAppendFields","postData","v","imgs","contentType","post","filelink","pop","linkObserver","linkObserverTooltipClose","imageResize","editGallery","$link","posFrame","tooltip","href","aLink","aEdit","linkShow","aUnlink","setCaret","selectionSet","orgn","orgo","focn","foco","par","setEnd","extractContents","selectionAll","preCaretRange","getCaretOffsetRange","endCharCount","textNodes","getTextNodesIn","foundStart","charCount","textNode","cursorRange","emptyElement","childNodes","newnodes","isInlineNode","nodeName","tagTestBlock","finalnodes","isCollapsed","endNode","rangeNodes","nextNode","commonAncestorContainer","hasChildNodes","nextSibling","container","cloneContents","saveSelection","selectionCreateMarker","node1","node2","selectionSetMarker","boundaryRange","detach","restoreSelection","removeMarkers","tableShow","modalInit","modal_table","click","tableInsert","$row","z","$column","$table_box","tableId","floor","random","$table","modalClose","tableDeleteTable","tableDeleteRow","$current_tr","$focus_tr","$focus_td","first","tableDeleteColumn","$current_td","cellIndex","focusIndex","eq","tableAddHead","tableDeleteHead","$thead","tableAddRowAbove","tableAddRow","tableAddRowBelow","tableAddColumnLeft","tableAddColumn","tableAddColumnRight","new_tr","$current","videoShow","modal_video","videoInsert","iframeEnd","predefinedLinksStorage","that","getJSON","$select","insert_link_node","thref","self","location","re","host","prop","linkInsertPressed","linkProcess","modal_link","targetBlank","pattern","re2","extra","linkInsert","a","$a","fileShow","isIPad","draguploadInit","fileCallback","obj","uploadParam","uploadInit","auto","modal_file","chrome","linkmarker","imageShow","folders","folder","folderclass","thumbtitle","folderkey","isEmptyObject","thumb","imageThumbClick","change","imageCallback","s3handleFileSelect","imageCallbackLink","modal_image","imageEdit","imageRemove","imageSave","modal_image_edit","parentLink","parentEl","floating","float","margin","display","imageBox","marginTop","style","marginBottom","marginLeft","marginRight","$image","start_y","ratio","imageResizer","imageResizeControls","isResizing","round","pageX","pageY","mouse_y","div_h","new_h","parseInt","new_w","imageEditter","fontSize","padding","lineHeight","outline","backgroundColor","color","cursor","bottom","border","imageInsert","buildProgressBar","$progressBar","fadeIn","hideProgressBar","modalSetOverlay","$redactorModalWidth","$redactorModal","modalCloseHandler","modalSetContent","modalSetTitle","modalSetDraggable","modalLoadTabs","modalOnCloseButton","modalSetButtonsWidth","saveModalScroll","modalShowOnDesktop","modalShowOnMobile","modalSaveBodyOveflow","outerHeight","modalcontent","buttonsSize","$redactorModalOverlay","draggable","handle","$redactor_tabs","redactorModalInner","modalSetTab","num","f","s3executeOnSignedUrl","signedURL","s3uploadToS3","xhr","XMLHttpRequest","mark","overrideMimeType","onreadystatechange","readyState","status","decodeURIComponent","responseText","send","s3createCORSRequest","XDomainRequest","s3image","onerror","onprogress","setRequestHeader","uploadOptions","trigger","input","form","element_action","submit","uploadSubmit","uploadForm","uploadFrame","d","uploadLoaded","uploadSuccess","jsonData","JSON","stringify","jsonString","formId","fileId","hidden","oldElement","imageFile","fileData","$http","Content-Type","transformRequest","headersGetter","response","catch","contentDocument","frames","draguploadOptions","preview","atext","droparea","dropareabox","dropalternative","draguploadOndrag","draguploadOndragleave","ondrop","directupload","ajaxSettings","addEventListener","uploadProgress","ajaxSetup","fd","identity","$img","percent","loaded","total","stripHtml","getInternetExplorerVersion","rv","appName","ua","parseFloat","fragment","cloneNode","div","child","array","protocol","rProtocol","urlImage","addProtocol","escapedBackReferences","MoneyFactorComponent","__importDefault","default","core_1","lodash_1","rxjs_1","SearchPresetsComponent","searchPresetService","userService","stateService","visible","visibleChange","EventEmitter","isSltUser","searchPresets","userPresets","dealerPresets","commonPresets","searchPresetTypes","SearchPresetTypes","subscriptionAggregator","Subscription","getUserProfile","userProfile","toggleSearchPresets","getSearchPresets","add","emit","from","searchPresetData","setSearchPresets","sort","byDescSearchConditionID","byGroupType","user","uniqBy","dealer","common","groupType","searchPreset","userSearchConditionGroupType","item1","item2","userSearchConditionID","navigate","presetId","recentActivity","reload","inherit","has","propertyKey","RenderType_DoNotCallEmailComponent","View_DoNotCallEmailComponent_1","ɵted","selectType","doNotCallType","doNotEmailType","doNotCallEmailSelectFileTypeLabel","hasDoNotCallModule","doNotEmailCallTypeLabelCall","hasDoNotEmailModule","doNotEmailCallTypeLabelEmail","View_DoNotCallEmailComponent_2","doNotCallEmailStep1Label","uploadMessage","fileName","errorMessage","View_DoNotCallEmailComponent_4","startColumnHover","endColumnHover","selectColumn","getColumnClass","ɵinlineInterpolate","doNotEmailCallColumnTooltip","View_DoNotCallEmailComponent_6","View_DoNotCallEmailComponent_5","View_DoNotCallEmailComponent_3","SlicePipe","parsedCsv","transform","rowsSampleSize","doNotCallEmailStep2Label","columnSelectMessage","matchedMessage","View_DoNotCallEmailComponent_9","View_DoNotCallEmailComponent_10","View_DoNotCallEmailComponent_11","View_DoNotCallEmailComponent_12","View_DoNotCallEmailComponent_14","ɵprd","ɵNgClassImpl","ɵNgClassR2Impl","KeyValueDiffers","NgClass","ngClass","currVal_0","cellPhoneMatch","cellPhone","View_DoNotCallEmailComponent_15","homePhoneMatch","homePhone","View_DoNotCallEmailComponent_16","workPhoneMatch","workPhone","View_DoNotCallEmailComponent_17","emailAddressMatch","emailAddress","View_DoNotCallEmailComponent_13","typeSelected","displayName","View_DoNotCallEmailComponent_8","confirmList","customerMatchList","doNotEmailCallColumnNameLabel","View_DoNotCallEmailComponent_7","customerMatchCount","doNotCallEmailStep3Label","confirmMessage","statusMessage","View_DoNotCallEmailComponent_18","View_DoNotCallEmailComponent_19","back","View_DoNotCallEmailComponent_0","LocalePhonePipe","InstanceConfigHolderService","ɵa","NgBusyDirective","ɵb","ComponentFactoryResolver","ApplicationRef","delay","steps","currentStepIndex","selectTypeStep","uploadFileStep","selectColumnStep","confirmStep","finishStep","okStep","shouldDisplayCancelBackButton","doNotEmailCallPageTitle","getNextDisabledStatus","nextLabel","View_DoNotCallEmailComponent_Host_0","DoNotCallEmailComponent","CustomerService","DoNotCallEmailComponentNgFactory","ActivitySubTypes","outBoundCall","inBoundCall","expm1","exp","tanh","Infinity","DealerRatesClientService","GetDealerRateMarkUpsByDealeridGETResponse","GetDealerRateMarkUpsByDealeridGET","UpdateDealerUsedRatesPOSTResponse","UpdateDealerUsedRatesPOST","DeleteAllUsedRatesByDealerIdPOSTResponse","DeleteAllUsedRatesByDealerIdPOST","UpdateDealerOverAllowancePOSTResponse","UpdateDealerOverAllowancePOST","UpdateDealerRateMarkUpsPOSTResponse","rates","UpdateDealerRateMarkUpsPOST","GetDealerOverAllowancesByDealeridGETResponse","GetDealerOverAllowancesByDealeridGET","GetDealerUsedRatesByDealeridGETResponse","GetDealerUsedRatesByDealeridGET","GetDealerRateMarkUpsByDealeridGETPath","UpdateDealerUsedRatesPOSTPath","DeleteAllUsedRatesByDealerIdPOSTPath","UpdateDealerOverAllowancePOSTPath","UpdateDealerRateMarkUpsPOSTPath","GetDealerOverAllowancesByDealeridGETPath","GetDealerUsedRatesByDealeridGETPath","ActivityTypes","logNote","logPhoneCall","schedulePhoneCall","reschedulePhoneCall","reassignPhoneCall","completePhoneCall","expirePhoneCall","cancelPhoneCall","scheduleAppointment","rescheduleAppointment","reassignAppointment","completeAppointment","expireAppointment","cancelAppointment","printTemplate","printOfferLetter","pushToCrm","sendOneToOneEmail","sendOneToOneMail","sendEmailTemplate","logCrmProspectStatus","logCrmProspectAlert","logCrmRemark","logCrmShowroomRemark","logCrmCustomerWillBeBack","logCrmInboundCall","logCrmOutboundCall","logCrmInboundEmail","logCrmOutboundEmail","sendCrmLetter","sendCrmTextMessage","sendCrmReminder","sendEmail","emailReply","emailReplyCustomer","emailReplyDealer","pandoProcess","purlView","purlSubmit","websiteEngaged","websiteLeadSubmission","reviewProServiceRating","reviewProSalesRating","sentSLMEmailOffer","textMessage","geoAlertActive","geoAlertCampaign","autoAssistCommSent","autoAssistNewHotLead","autoAssistCustomerReplied","geoAlertAd","purlViewIntelMrkt","purlSubmitIntelMrkt","sendIntelMrktEmail","sendIntelMrktMail","customerPandoProcess","facebookAdded","facebookVerified","autofiDigitalRetailing","autofiDigitalRetailingCreditApp","autofiDigitalRetailingApptSched","crmInboundTextMessage","crmOutboundTextMessage","sendFordCreditMailers","export","appraisal","dmsPush","sendServiceMarketingEmail","sendServiceMarketingMail","sendPartnerExportMail","cof","toAbsoluteIndex","toLength","arraySlice","P","F","begin","klass","upTo","size","ActivityClientService","RunActivityRulePOSTResponse","RunActivityRulePOST","SubmitActionPOSTResponse","submission","SubmitActionPOST","GetAgendaItemsGETResponse","take","flushCache","GetAgendaItemsGET","GetAgendaItemsWithEntityDataGETResponse","viewAllUsers","dateTo","dateFrom","activityTypes","forEach","GetAgendaItemsWithEntityDataGET","GetActivitiesForEntityPOSTResponse","activityStatuses","GetActivitiesForEntityPOST","GetNewActivityNotificationsByEntityidGETResponse","GetNewActivityNotificationsByEntityidGET","AddUpgradeProposalActivityNotePOSTResponse","AddUpgradeProposalActivityNotePOST","ByIdGETResponse","ByIdGET","ByIdDELETEResponse","ByIdDELETE","GetManyGETResponse","ids","GetManyGET","PUTResponse","PUT","POSTResponse","POST","RunActivityRulePOSTPath","SubmitActionPOSTPath","GetAgendaItemsGETPath","GetAgendaItemsWithEntityDataGETPath","GetActivitiesForEntityPOSTPath","GetNewActivityNotificationsByEntityidGETPath","AddUpgradeProposalActivityNotePOSTPath","ByIdGETPath","ByIdDELETEPath","GetManyGETPath","PUTPath","POSTPath","RenderType_AdminSettingsOpportunityComponent","View_AdminSettingsOpportunityComponent_2","_handleInput","onTouched","_compositionStart","_compositionEnd","onChange","dsa","dealerSetting","multiVehReplLeaseDowngradeTolerance","DefaultValueAccessor","COMPOSITION_BUFFER_MODE","NumberValueAccessor","NG_VALUE_ACCESSOR","p0_0","p1_0","NgModel","model","update","NgControl","NgControlStatus","multiVehReplRetailDowngradeTolerance","ngClassUntouched","ngClassTouched","ngClassPristine","ngClassDirty","ngClassValid","ngClassInvalid","ngClassPending","View_AdminSettingsOpportunityComponent_1","View_TooltipComponent_0","RenderType_TooltipComponent","TooltipComponent","PopoverModule","titleKey","contentKey","checked","enableMultiVehReplTolerances","CheckboxControlValueAccessor","isDisabled","TranslatePipe","multiVehReplLeaseUpgradeTolerance","multiVehReplRetailUpgradeTolerance","upgradeVehiclePaymentIncrease","isFordAlert","View_AdminSettingsOpportunityComponent_3","serviceAlertWindow","View_AdminSettingsOpportunityComponent_0","leaseAlertTolerance","retailAlertTolerance","leaseFlexAlertTolerance","retailFlexAlertTolerance","flexMonthsTolerance","leaseContractEndRangeFrom","validateContractEndRange","leaseContractEndRangeTo","purchaseContractEndRangeFrom","purchaseContractEndTo","leaseEstimatedPenaltyTolerance","warrantyMilesRemainingTolerance","warrantyMonthsRemainingTolerance","daysToMarkAsUnread","isFordLincolnDealer","isUSADealer","productID","productTypes","serviceDriveOnly","leaseContractEndRangeValid","purchaseContractEndRangeValid","unitLabelKey","View_AdminSettingsOpportunityComponent_Host_0","AdminSettingsOpportunityComponent","BsModalService","UserService","ToasterLoggerService","DOCUMENT","AdminSettingsOpportunityComponentNgFactory","RenderType_UserSettingsComponent","View_UserSettingsComponent_3","View_UserSettingsComponent_2","dropDownVisible","action","sref","View_UserSettingsComponent_5","View_UserSettingsComponent_4","View_UserSettingsComponent_7","View_UserSettingsComponent_6","reloadPage","View_UserSettingsComponent_8","View_UserSettingsComponent_1","NgSwitch","ngSwitch","NgSwitchCase","ngSwitchCase","NgSwitchDefault","View_UserSettingsComponent_0","active","ɵNgStyleImpl","ɵNgStyleR2Impl","NgStyle","ngStyle","background-image","currVal_2","avatarUrl","userFullName","View_UserSettingsComponent_Host_0","UserSettingsComponent","UserSettingsComponentNgFactory","getOwnPropertySymbols","CustomerWorkflowService","customerWorkflowClient","toaster","getStartListCustomer","GetStartListCustomerByEntityidGET","toPromise","GetStartFormByStartableformtemplateid","startableFormTemplateId","GetStartFormByStartableformtemplateidGET","startCustomerWorkflowByEntityidByWorkflowtemplateid","workflowTemplateId","worflowForm","StartCustomerWorkflowByEntityidByWorkflowtemplateidPOST","StockNumberSearchService","inventoryClientService","getProcessQueryString","quickSearchQuery","getQueryType","Query","IsVIN","IsPhone","IsName","qtype","cleanQueryString","includes","HasLetters","HasNumbers","query","getStockList","GetStockViewsGET","customerClient","customerActivityHistoryClient","customerContactHistoryClient","getCustomerActivities","GetCustomerActivityHistoryByEntityidGET","getCustomer","forkJoin","ByEntityByEntityidGET","GetCustomerAdditionalContactsByEntityidGET","_a","resolveCustomer","getCustomerName","GetNameOnlyByEntityidGET","stageDoNotEmailList","emailList","InsertDoNotEmailStagingPOST","stageDoNotCallList","phoneNumberList","InsertDoNotCallStagingPOST","finishDoNotEmailList","sessionId","CustomerMarkDoNotEmailPOST","sessionID","hypothetical","finishDoNotCallList","CustomerMarkDoNotCallPOST","getCustomerCultureByCode","cultureObj","CustomerCultures","culture","contactHistory","invalidContacts","createPreferredContact","contactType","doNotCallStatusTypeId","isBad","isPreferred","customerID","isFullCustomer","isAddressNotValid","firstName","middleName","lastName","fullName","companyName","homePhoneNumber","ContactTypes","homePhone_DoNotCallStatusTypeId","workPhoneNumber","workPhone_DoNotCallStatusTypeId","cellPhoneNumber","cellPhone_DoNotCallStatusTypeId","email","alternateContacts","contact","some","contactID","contactValue","contactExistsInCollection","contactIsAPreferredContact","createAlternateContacts","doNotCall","doNotEmail","doNotMail","doNotText","address","streetAddress","streetAddress2","address2","city","stateId","stateID","stateName","zipCode","normalizedZipCode","pricingPlanId","pricingPlanID","preferredCultureName","dealerID","getFullName","getUpdateCustomerRequest","UpdatePATCHResponse","resolveCustomerUpdate","CustomerClientService","CustomerActivityHistoryClientService","CustomerContactHistoryClientService","MobileDealSheetDataCachingService","dealsheetDataService","dealerService","stockNo","dealSheetData$","initDealsheetData","publishReplay","refCount","users$","getActivities","customerId","activity$","clearUsers","DealSheetDataService","ActivityService","Element","msMatchesSelector","webkitMatchesSelector","i12","i13","RenderType_CustomerConnectScheduleActionComponent","View_CustomerConnectScheduleActionComponent_1","View_CustomerConnectScheduleActionComponent_2","View_CustomerConnectScheduleActionComponent_3","NgSelectOption","SelectControlValueAccessor","ɵangular_packages_forms_forms_y","View_CustomerConnectScheduleActionComponent_0","onSubmit","onReset","ɵangular_packages_forms_forms_z","NgForm","ControlContainer","NgControlStatusGroup","setScheduleDueDate","date","View_DateInputComponent_0","RenderType_DateInputComponent","DateInputComponent","DateFormatService","FormBuilder","defaultDate","onInput","time","View_TimepickerComponent_0","RenderType_TimepickerComponent","TimepickerStore","TimepickerComponent","TimepickerConfig","TimepickerActions","hourStep","minuteStep","showMeridian","sendReminder","onClick","userChoice","display-none","ButtonRadioDirective","ButtonRadioGroupDirective","btnRadio","ngForTrackBy","notes","onCancel","scheduleDueDate","dateOptions","scheduleDueDateModel","errors","minDate","maxDate","invalid","hstep","mstep","ismeridian","currVal_51","currentLoginUserProfile","employeeUser","currVal_67","owner","isValid","currVal_94","userList","usersTrackBy","currentScheduleType","IsDateVisible","IsTimeVisible","IsReminderVisible","IsAssignToVisible","isActive","View_CustomerConnectScheduleActionComponent_Host_0","CustomerConnectScheduleActionComponent","CustomerConnectScheduleActionComponentNgFactory","subAction","dialogParams","px","RenderType_TradeSourceLogoComponent","View_TradeSourceLogoComponent_1","View_TradeSourceLogoComponent_2","View_TradeSourceLogoComponent_3","View_TradeSourceLogoComponent_4","tradeValueInsertDt","View_TradeSourceLogoComponent_6","View_TradeSourceLogoComponent_7","View_TradeSourceLogoComponent_5","isCanada","View_TradeSourceLogoComponent_8","View_TradeSourceLogoComponent_0","tradeSourceId","tradeValueTypes","blackBookTradeValue","tradeValueIsManual","galvesTradeValue","View_TradeSourceLogoComponent_Host_0","TradeSourceLogoComponent","VehicleUserTradeValueClientService","TradeSourceLogoComponentNgFactory","countryId","vehicle","ConfigureCommonItemsForModule","ConfigAuth","RunEnsureRouteServiceIsConstructed","$authProvider","$httpProvider","$routeProvider","oidc","configure","defaults","when","resolve","handleSignInCallback","$auth","$route","handleSignOutCallback","signOut","__webpack_exports__","DiscrepancyTypes","tradeValue","payoffAmount","replacementVehicle","balloonRate","balloonFactoryRebate","balloonDealerRebate","retailRate","retailFactoryRebate","retailDealerRebate","leaseRate","leaseFactoryRebate","leaseDealerRebate","other","vauto_modal_component_1","VautoComponent","modalService","tService","logger","vehicleService","dealSheetService","ngOnChanges","changes","vautoModal","bsModalRef","VautoModalComponent","initialState","class","onSaveChanges","salesperson","ownerUserFullName","vAutoCreateAppraisal","make","makeName","modelName","year","yearID","estimatedCurrentMileage","postalCode","salespersonfirstname","salespersonlastname","interiorcolor","interiorColor","exteriorcolor","exteriorColor","appraisalID","showAppraisalPopup","instant","console","log","deepLink","AdminSettingsModalSendTestLeadComponent","_bsModalRef","sendTestLead","ngAfterViewInit","sendLeadForm","valid","cancelModal","pIE","createDesc","toIObject","toPrimitive","IE8_DOM_DEFINE","gOPD","getOwnPropertyDescriptor","O","static_1","PersonalizedOfferComponent","elementRef","injector","UpgradeComponent","CustomerNameComponent","OpportunityTypes","native","converted","conquest","anObject","$isExtensible","isExtensible","RenderType_ScoreInfoModalComponent","View_ScoreInfoModalComponent_3","alertCode","alertCodeLetter","View_ScoreInfoModalComponent_5","featureDescription","View_ScoreInfoModalComponent_4","isAlert","View_ScoreInfoModalComponent_2","posValue","negValue","weight","posneg","View_ScoreInfoModalComponent_1","features","View_ScoreInfoModalComponent_6","View_ScoreInfoModalComponent_7","View_ScoreInfoModalComponent_0","featuresLoaded","View_ScoreInfoModalComponent_Host_0","ScoreInfoModalComponent","BsModalRef","Opportunity2Service","ScoreInfoModalComponentNgFactory","setPrototypeOf","RenderType_AdminSettingsInventoryComponent","View_AdminSettingsInventoryComponent_1","dealerUsedPriceAdjust","usedPriceAdjustPercent","usedPriceAdjustDollar","inventoryTurn","wholeSaleBegin","freshInvEnd","View_AdminSettingsInventoryComponent_2","grossProfitFormat","View_AdminSettingsInventoryComponent_3","ngValue","SelectMultipleControlValueAccessor","inventoryMatchRankingFieldTypeName","View_AdminSettingsInventoryComponent_0","enableUsedAlerts","usedOverNewPreference","rvsSelectedItem","rvsMove","isPreOwnedFeatureEnabled","dealerInventoryMatchRankingField","View_AdminSettingsInventoryComponent_Host_0","AdminSettingsInventoryComponent","AdminSettingsInventoryComponentNgFactory","RenderType_TradeInValueComponent","View_TradeInValueComponent_2","View_TradeInValueComponent_4","adjustment","mileageAdjustment","View_TradeInValueComponent_3","tradeOnKeyPress","onValueChange","onStoreTradeValue","inputName","showAdjustment","View_TradeInValueComponent_1","View_TradeInValueComponent_0","viewTradeValue","View_TradeInValueComponent_Host_0","TradeInValueComponent","TradeInValueComponentNgFactory","tradeValueChange","ctx","IObject","toObject","asc","TYPE","$create","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","create","$this","callbackfn","res","ApiActivityStatuses","new","scheduled","completed","uncompleted","mobile_routes_1","MobileVehiclesComponent","dealSheetDataService","vehicleTypeKeys","VehicleTypes","vehicleTypes","saleTypeKeys","SaleTypes","paymentTypes","PaymentTypes","TradeValueTypes","showPullForward","shouldDisplayPullForward","alertExists","flexAlertExists","serviceAlertExists","appointmentAlertExists","mileageAlertExists","contractEndAlertExists","warrantyAlertExists","fuelEconomyComparison","viewReplacementDetails","MobileRoutes","replacementDetails","Iterators","ITERATOR","ArrayProto","it","ownKeys","createProperty","getOwnPropertyDescriptors","object","desc","getDesc","$find","KEY","forced","findIndex","srcDoc","DisplayModalComponent","sanitizer","onClosed","safeHtml","bypassSecurityTrustHtml","htmlContent","nativeElement","confirmed","MessagingClientService","GetPubNubConfigGETResponse","GetPubNubConfigGET","GetPubNubConfigGETPath","unauthorized$","Subject","tokenExpired$","tokenMissing$","tokenExpiresSoon$","loggedIn$","externalLoggedIn$","loggedOut$","silentRefreshStarted$","silentRefreshSucceeded$","silentRefreshFailed$","silentRefreshTokenUnchanged$","silentRefreshTimeout$","RenderType_MileageEditModalComponent","View_MileageEditModalComponent_1","View_MileageEditModalComponent_2","View_MileageEditModalComponent_0","ɵqud","mileageForm","saveMileage","ngSubmit","RequiredValidator","required","NG_VALIDATORS","setDate","dateModel","View_MileageEditModalComponent_Host_0","MileageEditModalComponent","MileageEditModalComponentNgFactory","$values","modal_1","NgxModalWrapperService","renderFactory","clr","isModalStacked","onHide","classList","contains","modalRef","modalsCount","querySelector","setAttribute","querySelectorAll","item","RendererFactory2","ComponentLoaderFactory","ActivityHistoryClientService","GetExtByEntityIdByEntityidGETResponse","GetExtByEntityIdByEntityidGET","GetLastActivityByEntityIdByEntityidGETResponse","GetLastActivityByEntityIdByEntityidGET","GetOneToOneMailHistoryByByEntityidGETResponse","GetOneToOneMailHistoryByByEntityidGET","GetSLMEmailOfferHistoryByByEntityidGETResponse","GetSLMEmailOfferHistoryByByEntityidGET","GetExtActivityHistoryByByEntityidByDealeridGETResponse","GetExtActivityHistoryByByEntityidByDealeridGET","GetEmailConversationHistoryByByEntityidGETResponse","GetEmailConversationHistoryByByEntityidGET","GetCustomerEngagementHistoryByByEntityidGETResponse","GetCustomerEngagementHistoryByByEntityidGET","GetCombinedActivityHistoryGETResponse","GetCombinedActivityHistoryGET","GetExtByEntityIdByEntityidGETPath","GetLastActivityByEntityIdByEntityidGETPath","GetOneToOneMailHistoryByByEntityidGETPath","GetSLMEmailOfferHistoryByByEntityidGETPath","GetExtActivityHistoryByByEntityidByDealeridGETPath","GetEmailConversationHistoryByByEntityidGETPath","GetCustomerEngagementHistoryByByEntityidGETPath","GetCombinedActivityHistoryGETPath","ByEntityByEntityidGETResponse","GetNameOnlyByEntityidGETResponse","CustomerMarkDoNotEmailPOSTResponse","CustomerGetDoNotEmailBySessionidGETResponse","CustomerGetDoNotEmailBySessionidGET","CustomerMarkDoNotCallPOSTResponse","CustomerGetDoNotCallBySessionidGETResponse","CustomerGetDoNotCallBySessionidGET","customerProfile","UpdatePATCH","UpdateCustomerByUpdatinguseridPOSTResponse","updatingUserId","UpdateCustomerByUpdatinguseridPOST","InsertDoNotEmailStagingPOSTResponse","emailaddresslist","InsertDoNotCallStagingPOSTResponse","UpdatePreferredLanguagePOSTResponse","customerPreferredLanguage","UpdatePreferredLanguagePOST","ByEntityByEntityidGETPath","GetNameOnlyByEntityidGETPath","CustomerMarkDoNotEmailPOSTPath","CustomerGetDoNotEmailBySessionidGETPath","CustomerMarkDoNotCallPOSTPath","CustomerGetDoNotCallBySessionidGETPath","UpdatePATCHPath","UpdateCustomerByUpdatinguseridPOSTPath","InsertDoNotEmailStagingPOSTPath","InsertDoNotCallStagingPOSTPath","UpdatePreferredLanguagePOSTPath","datetime_1","moment_1","engagement_event_types_constant_1","entity_mail_history_source_1","mail_format_1","lodash_2","activityHistoriesClientService","activityClientService","entityClientService","emailConversationClientService","httpClient","httpInterceptorOptionsService","printedTemplatesPath","emailTemplatePath","emailTemplateSentPreviewParam","apiActivityTypes","ApiActivityTypes","apiActivityStatuses","apiActivityActions","ApiActivityActions","apiCrmActivityTypes","ApiCrmActivityTypes","customerActivityTypes","CustomerActivityTypes","settings","Settings","emailFromTypes","EmailFromTypes","customerProcessStatuses","CustomerProcessStatuses","exportCampaignTypes","ExportCampaignTypes","runActivityRule","activityRules","resolveActivities","activityHistories","templateOutputs","printOffers","oneToOneActivities","externalCrmData","emailConversations","customerEngagements","customerActivities","customerProcesses","exportHistories","appraisalHistories","dmsPushHistories","textMessages","getFileUrlFromActivity","activity","templateOutboundEmailID","opportunitiesOrigin","accessCode","ensureNonTrackingO2OUrl","endsWith","campaignTypeName","invert","exportCampaignTypeID","exportCampaignType","submittedDateTime","Date","exportDate","submittedByUserFullName","exportProvider","providerName","activityTypeID","crm","activityId","activityID","getActivityType","insertUserFullName","insertDate","scheduledDateTime","dueDate","dateFromLocalString","assignedUserFullName","responsibleUserFullName","assignedUserID","responsibleUserID","activityActionId","activityActionID","emailSubject","firstOpenDate","lastOpenDate","totalCount","openCount","recordingUrl","fileUrl","activityHistoryStatusId","activityStatusID","activityStatusId","activityActivityStatusID","activityActionSubTypeID","templateEmailId","upgradeProposalIsAvailable","template","generateDate","templateName","templateOutputId","templateOutputID","usesNewStorage","legacy","iframeUrl","filePath","printOffer","generatedByUserFullName","printUrl","oneToOneActivity","oneToOneType","sourceID","EntityMailHistorySource","NVQ","One2One","SKG","mailFormatID","MailFormat","Mail","Email","IntelligentMarketing","FordCreditMailers","ServiceMarketing","pUrl","SLM","PartnerExport","strArray","preferredPartner","messageCreativeType","utcDateSent","oneToOneKey","mailServiceProviderID","mailCode","additionalData","customerProcess","processStatusCodeName","status_1","startDateUtc","processTemplateName","processTitle","requestorFirstLast","lastAssignedToFirstLast","requestorAvatarUrl","lastAssignedToAvatarUrl","customerProcessStatus","customerProcessStatusCode","elapsedSeconds","lastActivityDateTime","lastActivityDateUtc","custActivity","typeId","customerActivityEventID","activityDateUTC","messageText","eventDetails","autoAssistActivities","campaignId","campaignID","activitiesByCampaign","groupBy","act","_i","entries","activitesPerCampaign","activity1","activity2","time1","utc","isAfter","ungroupedctivities","engagement","engagementEventTypeID","EngagementEventTypes","eventDateUTC","purl","purlViewIM","purlLeadSubmission","purlLeadSubmissionIM","onlineServiceReview","reviewRating","onlineSalesReview","webEngagementActivities","viewDates","dateFromUtcString","grouped","toDateString","dates","datesArray","firstViewedDate","reduce","acc","lastViewedDate","viewCount","webLeadSubmissionActivities","getExternalActivityType","activityType","performedByFullName","activityDate","subject","emailTo","toEmailAddress","emailFrom","fromEmailAddress","contactPhone","contactedPhone","emailConversation","emailConversationType","emailConversationSubmittedBy","None","fromName","Customer","customerName","User","emailConversationItemId","emailConversationSubject","sentDateTime","emailFirstOpenedDateTime","emailLastOpenedDateTime","emailOpenCount","appraisalHistory","appraisalId","appraisalUrl","appraisalLink","appraisalHistoryTypeId","appraisalHistoryTypeID","insertDateUTC","dmsPushHistory","dmsCustomerId","dmsDealId","createDateUtc","dmsRequestTypeId","requestTypeId","textMessagesByDay","tm","startOf","dealerPhoneAccessRightID","_c","_d","textMessagesPerDay","textMessage1","textMessage2","messageId","submittedDate","getTime","getLastActivityDetails","getAgendaItems","selectedDealerId","setOverrideDealerIds","getAgendaItemsWithEntityData","updateWarrantyStatus","HasWarrantyByEntityidPOST","updateSoldWarranty","SoldWarrantyByEntityidPOST","CustomerDoesNotOwnVehicleByEntityidPOST","VehiclePaidOffByEntityidPOST","updateVehiclePurchasedByDealer","VehiclePurchasedByDealerByEntityidPOST","getEmailConversation","GetEmailBodyByIdGET","resultType","beBack","inboundCall","inboundEmail","letter","outboundCall","outboundEmail","prospectAlert","prospectStatus","remark","remarkShowroom","reminder","inboundTextMessage","outboundTextMessage","EntityClientService","EmailConversationClientService","HttpInterceptorOptionsService","moment_timezone_1","TimeZones","hawaiianStandardTime","tzdbName","bclName","standard","daylight","alaskanStandardTime","pacificStandardTime","mountainStandardTime","centralStandardTime","easternStandardTime","atlanticStandardTime","westPacificStandardTime","utcMinus11","usMountainStandardTime","newfoundlandStandardTime","utcPlus12","gmtStandardTime","romanceStandardTime","TimeZonesById","Map","TimeZonesByTzdbName","timeZone","guessBrowserTimeZone","tz","guess","sinh","abs","E","RecentDealSheetService","dealSheetClientService","getRecentDealSheets","UserDealSheetHistoryGET","DealSheetClientService","TokenService","storageService","ACCESS_TOKEN_TYPE","ID_TOKEN_TYPE","padBase64","base64data","getPayloadFromRawToken","raw","tokenParts","getImpersonatingUsername","hasToken","getClaimsByTokenType","impersonating_aa_username","deserializeClaims","claimsBase64","claimsJson","atob","parse","convertToClaims","payload","saveToken","tokenType","isExternalToken","setItem","StorageKeys","IsExternalToken","claims","hasExternalToken","getItem","getTokenByType","hasValidToken","validAtTimestamp","now","nbf","cachedClaims","clearTokens","removeItem","isAutoAlertUser","currentClaims","isMotoFuzeUser","metadata","toMetaKey","ordinaryDefineOwnMetadata","defineMetadata","metadataKey","metadataValue","targetKey","$reduce","isObject","check","proto","TypeError","buggy","Function","__proto__","common_1","time_zones_1","LocaleTimePipe","utcOffsetString","timeZoneId","isDST","DatePipe","getPrototypeOf","__lookupGetter__","D","K","RenderType_TypeOfCallComponent","View_TypeOfCallComponent_0","onSelectionChange","selectedCallType","onBlur","RadioControlValueAccessor","ɵangular_packages_forms_forms_o","activitySubTypes","View_TypeOfCallComponent_Host_0","TypeOfCallComponent","TypeOfCallComponentNgFactory","onTypeSelect","AlertTypeDescriptors","enumerable","configurable","typeDescriptor","cssClass","AdminSettingsProgramsComponent","perUnitLabelKey","handleLeasePenaltyFeeChanged","leasePenaltyFee","getResidualMileageOptions","bankID","rmo","residualMileageOptions","residualMileage10kLabel","formatNumber","residualMileage12kLabel","residualMileage15kLabel","$flags","DESCRIPTORS","$toString","define","flags","RenderType_ResidualComponent","View_ResidualComponent_1","View_ResidualComponent_0","View_ResidualComponent_Host_0","ResidualComponent","ResidualComponentNgFactory","createHTML","RenderType_MobileCustomerConnectComponent","View_MobileCustomerConnectComponent_0","$value","View_CustomerConnectComponent_0","RenderType_CustomerConnectComponent","CustomerConnectComponent","maxScheduleFutureDays","isEuroLite","isTextingEnabled","mobileView","onCustomerEdit","View_MobileCustomerConnectComponent_Host_0","Transition","MobileCustomerConnectComponentNgFactory","UserModuleAccessClientService","GETResponse","GET","GetModuleAccessByModuleidGETResponse","moduleId","GetModuleAccessByModuleidGET","GETPath","GetModuleAccessByModuleidGETPath","LogClientService","LogWarningPOSTResponse","LogWarningPOST","LogWarningPOSTPath","CollapseDirective","AnimationBuilder","isAnimated","onActionSelect","View_CustomerConnectActionsComponent_0","RenderType_CustomerConnectActionsComponent","CustomerConnectActionsComponent","LogActionShortcutService","onAction","View_CustomerConnectDetailComponent_0","RenderType_CustomerConnectDetailComponent","CustomerConnectDetailComponent","actionTime","scheduleModalParamObject","isCollapse","isExpanded","isCollapsing","View_CustomerConnectComponent_Host_0","CustomerConnectComponentNgFactory","RenderType_ReplacementVehicleOffersComponent","View_ReplacementVehicleOffersComponent_0","UpperCasePipe","label","View_ReplacementVehicleOffersComponent_Host_0","ReplacementVehicleOffersComponent","ReplacementVehicleOffersComponentNgFactory","currentVehicle","replacementVehicles","AdminSettingsDealerInfoComponent","selectedMakeId","customerCulturesDifferent","isReadOnly","isEmployee","selectedMake","dealerMakeFranchiseInfo","makeID","defaultPreferredLanguage","defaultCultureName","secondaryPreferredLanguage","secondaryCultureName","isFirstChange","currentValue","previousValue","cultureChange","updateImage","logoImageBinary","fileExtension","dealerImageSrc","uploadFile","lastIndexOf","dealerLogoImage","isDealerLogoUpdate","fileInput","deleteFile","makeChanged","address1","dealerMakeFranchiseAddress","displayOrder","logoFileExtension","valueOf","coreApiServiceFactory","legacyServiceFactory","authServiceFactory","opportunityServiceFactory","dealSheetServiceFactory","recentDealSheetServiceFactory","templateServiceFactory","rootScopeFactory","eulaModalServiceFactory","vehicleServiceFactory","contractServiceFactory","mapUtilsServiceFactory","tmhDynamicLocaleFactory","CoreApiService","InjectionToken","coreApiServiceProvider","provide","useFactory","deps","LegacyService","legacyServiceProvider","AuthService","authServiceProvider","OpportunityService","opportunityServiceProvider","DealSheetService","dealSheetServiceProvider","recentDealSheetServiceProvider","TemplateService","templateServiceProvider","$rootScope","rootScopeProvider","EulaModalService","eulaModalServiceProvider","VehicleService","vehicleServiceProvider","ContractService","contractServiceProvider","MapUtilsService","mapUtilsServiceProvider","TmhDynamicLocale","tmhDynamicLocaleProvider","assign","TrimPricePlanSource","autoAlertPrice","dealerPrice","aZPlan","xPlan","employeePricing","defineProperties","TagsComponent","localeDate","hasRecallNotice","hasMultipleRecalls","recallNotificationList","tag1","tag2","expirationDate","compareTagsByExpirationDateAndName","setLocalizedExpirationDate","tagID","getRecallInformation","getVinRecall","vehicleId","dedupedRecalls","recall","recallNumber_Nhtsa","recallNumber_mfr","recallDate","description","recallDescription","safetyRisk","safetyRiskDescription","remedy","remedyDescription","isRemedyAvailable","vinRecallDate","localizedExpirationDate","compareTagsByName","openOasisLink","oasisUrl","environmentVariables","fordOASISUrl","Reflect","pow","EPSILON","EPSILON32","MAX32","MIN32","fround","$abs","$sign","unknown","lease","retail","balloon","cash","notused5","onePayLease","wholesale","incomplete","RenderType_OpenProcessModalComponent","View_OpenProcessModalComponent_0","View_OpenProcessModalComponent_Host_0","OpenProcessModalComponent","OpenProcessModalComponentNgFactory","openModal","openModalChanged","PaymentDifferenceComponent","hasPaymentsPermission","paymentDifference","payment","existingPayment","getPaymentClass","getPaymentDifferenceLabel","CreditSoftPullResultEntityDelClientService","GetCreditSoftPullResultEntityDelByEntityidGETResponse","GetCreditSoftPullResultEntityDelByEntityidGET","GetCreditSoftPullResultEntityDelByEntityidGETPath","of","aLen","searchString","RenderType_ImpersonationStatusComponent","View_ImpersonationStatusComponent_1","logOut","impersonationStatus","View_ImpersonationStatusComponent_0","impersonatingUserFullName","View_ImpersonationStatusComponent_Host_0","ImpersonationStatusComponent","ImpersonationStatusComponentNgFactory","RenderType_CustomerConnectSubActionsComponent","View_CustomerConnectSubActionsComponent_2","selectedLogAction","View_CustomerConnectSubActionsComponent_3","Post_Note","View_CustomerConnectSubActionsComponent_1","shortCutActivityActionEnum","View_CustomerConnectSubActionsComponent_4","selectedScheduleAction","Schedule_Call","View_CustomerConnectSubActionsComponent_0","View_CustomerConnectSubActionsComponent_Host_0","CustomerConnectSubActionsComponent","CustomerConnectSubActionsComponentNgFactory","subActionTime","deleteProperty","$keys","PandoPassthroughClientService","GetStringPOSTResponse","GetStringPOST","GetWorkflowTemplatesByDealeridGETResponse","GetWorkflowTemplatesByDealeridGET","GetPandoCustomStoreGroupsByDealeridGETResponse","GetPandoCustomStoreGroupsByDealeridGET","AutoAssistFullViewByDealeridByEntityidGETResponse","GetConversicaConversationStatusesByDealeridByEntityidGETResponse","AutoAssistFullViewByDealeridByEntityidGET","GetConversicaConversationStatusesByDealeridByEntityidGET","GetStringPOSTPath","GetWorkflowTemplatesByDealeridGETPath","GetPandoCustomStoreGroupsByDealeridGETPath","AutoAssistFullViewByDealeridByEntityidGETPath","GetConversicaConversationStatusesByDealeridByEntityidGETPath","translation_1","LoggedInDataInitializationService","menuService","tmhDynamicLocale","loggerService","initializeData","getUserProfileComplete","getUserProfileFailed","countryCode","setSelectedDealers","getDealersOneToOneStatus","debug","dealerIds","getSelectedDealerIds","getSiteMap","getSelectedDealers","getCXMViewSelectedStores","Promise","updateSelectedDealers","dealerDisplayText","dealerGroupId","getDealers","dealers","selectedDealers","o","displayText","errorState","StateService","AdminSettingsProductComponent","RenderType_FactoryRebateComponent","View_FactoryRebateComponent_1","View_FactoryRebateComponent_0","programSourceId","programSourceTypes","View_FactoryRebateComponent_Host_0","FactoryRebateComponent","FactoryRebateComponentNgFactory","LogActionShortcutsComponent","logActionShortcutService","logShortcut","logCall","scheduleAppt","PullForwardComponent","__awaiter","thisArg","_arguments","generator","reject","fulfilled","step","rejected","done","__generator","g","_","sent","trys","ops","verb","throw","return","Symbol","iterator","op","AuthorizationService","userModuleAccessClient","getModuleIds","getAccessRightsAndModules","moduleIds","convertToModuleIds","modules","getModuleIdsFromCache","ModuleIds","getAccessRightIdsFromCache","accessRightIds","AccessRightIds","getAccessRightIds","convertToAccessRightIds","accessRights","userModuleAccessPromise","getDealerModules","dealerModules","isAuthorized","permissionValue","getUserCountryID","getUserCultureName","getDealSheetPermissions","serviceHistory","AuthorizationKeys","ServiceHistory","viewCustomer","ViewCustomer","viewVehicle","VehicleDetails","viewContract","SaleDetails","viewChangeLog","ChangeLog","viewInventory","Inventory","TradeValue","editMileage","Odometer","editContract","Sale","editConquestContract","ConvertService","editPrice","Price","editCustomer","EditCustomer","editAssignedUser","Reassign","editActivity","PostActivity","editPayoffAmount","Payoff","editMarkAsNotOwn","MarkAsNotOwn","editMarkAsSold","MarkAsSold","editMarkAsPaidOff","MarkAsPaidOff","editMarkAsWarranty","MarkAsWarranty","editMarkAsWatch","MarkAsWatch","Warranty","activitiesLog","ActivitiesLog","postActivity","print","Print","PrintTemplate","requestCreditPrescreen","CreditConvertSoftPullManual","emailTemplate","EmailTemplate","vehicleHistoryReports","VehicleHistoryReports","payments","Payments","paymentDetails","PaymentDetails","editDoNotContact","DoNotContact","viewAlertScripts","Script","manageSearches","ManageSearches","sendTextSales","SendTextSales","sendTextService","SendTextService","crossBrandMVO","CrossBrandMVO","intersection","moduleDealerIds","uniq","accessRight","accessRightDealerIds","accessRightId","isLiteUser","$forEach","STRICT","TO_PRIMITIVE","AdminTemplatesService","legacyService","i14","RenderType_AdminSettingsDealerInfoComponent","View_AdminSettingsDealerInfoComponent_1","View_AdminSettingsDealerInfoComponent_3","View_AdminSettingsDealerInfoComponent_2","View_AdminSettingsDealerInfoComponent_4","View_AdminSettingsDealerInfoComponent_5","View_AdminSettingsDealerInfoComponent_6","dealerName","View_AdminSettingsDealerInfoComponent_8","timeZoneInfo","DisplayName","View_AdminSettingsDealerInfoComponent_9","stateAbbr","View_AdminSettingsDealerInfoComponent_7","dealerContactInfo","timeZoneID","dealerAddress","dealerAddress2","dealerCity","dealerState","dealerZipCode","dealerURL","View_AdminSettingsDealerInfoComponent_10","brandUrl","View_AdminSettingsDealerInfoComponent_11","View_AdminSettingsDealerInfoComponent_12","View_CustomerCultureSelectComponent_0","RenderType_CustomerCultureSelectComponent","CustomerCultureSelectComponent","includeEmptyEntry","preferredCultureNameChange","View_AdminSettingsDealerInfoComponent_14","View_AdminSettingsDealerInfoComponent_13","View_AdminSettingsDealerInfoComponent_15","View_AdminSettingsDealerInfoComponent_16","View_AdminSettingsDealerInfoComponent_17","View_AdminSettingsDealerInfoComponent_18","View_AdminSettingsDealerInfoComponent_0","View_AdminSettingsDealerInfoComponent_Host_0","AdminSettingsDealerInfoComponentNgFactory","forms_1","MaxDirective","validate","control","Validators","max","ordinaryOwnMetadataKeys","getOwnMetadataKeys","shared","uid","MileageComponent","angular_1","storage_1","RenderType_MileageEditActionComponent","View_MileageEditActionComponent_2","editMileageModal","View_MileageEditActionComponent_1","estimate","actual","recordedDate","estimatedMileage","recordedMileage","View_MileageEditActionComponent_0","View_MileageEditActionComponent_Host_0","MileageEditActionComponent","MileageEditActionComponentNgFactory","onMileageValueChange","startWorkingState","aFunction","memo","isRight","i15","i16","i17","i18","i19","RenderType_DmsPushModalComponent","View_DmsPushModalComponent_2","View_DmsPushModalComponent_3","View_DmsPushModalComponent_5","latestDmsCustomerId","View_DmsPushModalComponent_6","latestDmsDealId","View_DmsPushModalComponent_4","latestCreateDateUtc","latestRequestType","latestFullName","View_DmsPushModalComponent_1","disabled-deal","includeDeal","replacementVin","currVal_15","currVal_26","cityStZip","currVal_10","primaryPhone","currVal_31","replacementPrice","currentVin","currVal_36","currentTradeValue","View_DmsPushModalComponent_8","customerMatchesCount","customerMatches","View_DmsPushModalComponent_9","View_DmsPushModalComponent_11","processSelectedCustomer","View_DmsPushModalComponent_10","currentView","DisplayView","customerSelectView","customerSelection","currVal_4","phoneNumber1","phoneNumber2","email1","showFullAddress","View_DmsPushModalComponent_7","processNewCustomer","View_DmsPushModalComponent_12","newOrUpdatedDMSCustomerID","View_DmsPushModalComponent_13","newOrUpdatedDMSDealID","View_DmsPushModalComponent_14","dmsErrorMsg","View_DmsPushModalComponent_15","View_DmsPushModalComponent_16","View_DmsPushModalComponent_17","View_DmsPushModalComponent_18","pushToDms","View_DmsPushModalComponent_0","initialView","customerPushedView","dealPushedView","errorView","waitingView","showCloseButton","View_DmsPushModalComponent_Host_0","DmsPushModalComponent","NotificationService","DmsPushModalComponentNgFactory","localeNumber","DealerTradeinClientService","GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETResponse","makeId","yearId","modelId","trimId","GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGET","UpdateDealerTradeinsPATCHResponse","tradeins","UpdateDealerTradeinsPATCH","GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETPath","UpdateDealerTradeinsPATCHPath","receiver","store","USE_SYMBOL","defined","MATCH","$match","regexp","$filter","RenderType_MobileCustomerPhoneComponent","View_MobileCustomerPhoneComponent_2","phone","View_MobileCustomerPhoneComponent_3","View_MobileCustomerPhoneComponent_4","View_MobileCustomerPhoneComponent_1","View_MobileCustomerPhoneComponent_0","View_MobileCustomerPhoneComponent_Host_0","MobileCustomerPhoneComponent","MobileCustomerPhoneComponentNgFactory","notSet","waiting","inProgress","inProgressExternal","overdue","cancelled","autoCancelled","CustomerInfoComponent","CacheManagementClientService","FlushUserRelatedCacheGETResponse","FlushUserRelatedCacheGET","FlushUserRelatedCacheGETPath","modalType","dealSheetOwnerId","assignedUserId","usersObject","activityObject","ownerUserInfoObject","ownerUserInfo","actionSelected","IE_PROTO","ObjectProto","constructor","TagClientService","GetTagsForEntityByEntityidGETResponse","GetTagsForEntityByEntityidGET","GetTagsPivotForDealersGETResponse","GetTagsPivotForDealersGET","IsTagActivePast6MonthsByDealeridByTagtextGETResponse","tagText","IsTagActivePast6MonthsByDealeridByTagtextGET","GetTagsForDealersByDealeridGETResponse","GetTagsForDealersByDealeridGET","GetActiveTagsInDateRangePOSTResponse","GetActiveTagsInDateRangePOST","GetActiveTagsInDateRangeForDealerByDealeridPOSTResponse","GetActiveTagsInDateRangeForDealerByDealeridPOST","GetTagsForEntityByEntityidGETPath","GetTagsPivotForDealersGETPath","IsTagActivePast6MonthsByDealeridByTagtextGETPath","GetTagsForDealersByDealeridGETPath","GetActiveTagsInDateRangePOSTPath","GetActiveTagsInDateRangeForDealerByDealeridPOSTPath","global","$fails","setToStringTag","wks","wksExt","wksDefine","enumKeys","_create","gOPNExt","$GOPD","$DP","dP","gOPN","$Symbol","$JSON","_stringify","HIDDEN","isEnum","propertyIsEnumerable","SymbolRegistry","AllSymbols","OPSymbols","USE_NATIVE","QObject","setter","findChild","setSymbolDesc","protoDesc","wrap","sym","_k","isSymbol","$defineProperty","$defineProperties","$propertyIsEnumerable","$getOwnPropertyDescriptor","$getOwnPropertyNames","names","$getOwnPropertySymbols","IS_OP","$set","G","W","es6Symbols","wellKnownSymbols","for","keyFor","useSetter","useSimple","getOwnPropertyNames","replacer","$replacer","NaN","toJSON","toISOString","pv","isFinite","log2","LN2","ChangeLogClientService","ByEntityidGETResponse","ByEntityidGET","AddTermChangeLogByVehicleidByTermPOSTResponse","term","AddTermChangeLogByVehicleidByTermPOST","AddPriceChangeLogByVehicleidByPricePOSTResponse","price","AddPriceChangeLogByVehicleidByPricePOST","ByEntityidGETPath","AddTermChangeLogByVehicleidByTermPOSTPath","AddPriceChangeLogByVehicleidByPricePOSTPath","redefineAll","meta","forOf","anInstance","$iterDetect","inheritIfRequired","NAME","methods","IS_WEAK","Base","C","ADDER","fixMethod","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","iter","BUGGY_ZERO","$instance","iterable","clear","getConstructor","NEED","setStrong","isRegExp","rApply","fApply","thisArgument","argumentsList","T","L","dms_push_modal_component_1","DmsPushComponent","dmsPushModal","states","replacementSaleType","currentYear","currentMake","currentModel","currentMileage","log10","LOG10E","$endsWith","endPosition","min","AutoAssistantService","pandoPassthroughClientService","extCustomerActivityClientService","endCommunication","AddEndConversationEventRecordByEntityidGET","isAutoAssistantConversationOpen","IsAutoAssistantConversationOpenByEntityidGET","getAutoAssistFullView","getConversicaConversationStatuses","ExtCustomerActivityClientService","toInteger","RenderType_ScoreInfoComponent","View_ScoreInfoComponent_1","View_ScoreInfoComponent_0","scoreInfoModal","PopoverDirective","PopoverConfig","PositioningService","popover","placement","triggers","View_ScoreInfoComponent_Host_0","ScoreInfoComponent","ScoreInfoComponentNgFactory","standardVehicle","upgradeVehicle","downgradeVehicle","RenderType_CustomerConnectLogActionComponent","View_CustomerConnectLogActionComponent_1","onTypeOfCallSelect","View_CustomerConnectLogActionComponent_3","currentNoteType","resultLabelKey","View_CustomerConnectLogActionComponent_4","View_CustomerConnectLogActionComponent_5","View_CustomerConnectLogActionComponent_2","isLogEmail","activityResultsListColumn1","activityResultsListColumn2","View_CustomerConnectLogActionComponent_0","setScheduleAppt","isCallBoundTypeVisible","View_CustomerConnectLogActionComponent_Host_0","CustomerConnectLogActionComponent","CustomerConnectLogActionComponentNgFactory","isReset","isError","RenderType_NloInfoComponent","View_NloInfoComponent_1","View_NloInfoComponent_0","nloInfoModal","View_NloInfoComponent_Host_0","NloInfoComponent","NloInfoComponentNgFactory","nloData","onMarkNlo","speciesConstructor","original","EulaClientService","log1p","SafePipe","dom","bypassSecurityTrustResourceUrl","$expm1","DealerSettingsService","dsClientService","modelClientService","trimClientService","GetDealerSettingAll","GetDealerSettingAllByDealeridGET","UpdateDealerSettingAll","UpdateDealerSettingAllPOST","GetTrim","GetTrims","GetTrimsByModelsPOST","GetModel","GetModels","GetModelsByMakeByMakeidGET","GetModelsByMakeYear","GetModelsByMakesYearsPOST","makeIDs","years","SendTestAdfEmail","SendTestAdfEmailPOST","GetTextNumbers","overrideStateCode","areaCode","GetTextNumbersByDealeridGET","stateCode","UseLegacyDealerSettingsPage","UseLegacyDealerSettingsPageGET","Number","./af","./af.js","./ar","./ar-dz","./ar-dz.js","./ar-kw","./ar-kw.js","./ar-ly","./ar-ly.js","./ar-ma","./ar-ma.js","./ar-sa","./ar-sa.js","./ar-tn","./ar-tn.js","./ar.js","./az","./az.js","./be","./be.js","./bg","./bg.js","./bm","./bm.js","./bn","./bn.js","./bo","./bo.js","./br","./br.js","./bs","./bs.js","./ca","./ca.js","./cs","./cs.js","./cv","./cv.js","./cy","./cy.js","./da","./da.js","./de","./de-at","./de-at.js","./de-ch","./de-ch.js","./de.js","./dv","./dv.js","./el","./el.js","./en-au","./en-au.js","./en-ca","./en-ca.js","./en-gb","./en-gb.js","./en-ie","./en-ie.js","./en-il","./en-il.js","./en-nz","./en-nz.js","./eo","./eo.js","./es","./es-do","./es-do.js","./es-us","./es-us.js","./es.js","./et","./et.js","./eu","./eu.js","./fa","./fa.js","./fi","./fi.js","./fo","./fo.js","./fr","./fr-ca","./fr-ca.js","./fr-ch","./fr-ch.js","./fr.js","./fy","./fy.js","./gd","./gd.js","./gl","./gl.js","./gom-latn","./gom-latn.js","./gu","./gu.js","./he","./he.js","./hi","./hi.js","./hr","./hr.js","./hu","./hu.js","./hy-am","./hy-am.js","./id","./id.js","./is","./is.js","./it","./it.js","./ja","./ja.js","./jv","./jv.js","./ka","./ka.js","./kk","./kk.js","./km","./km.js","./kn","./kn.js","./ko","./ko.js","./ky","./ky.js","./lb","./lb.js","./lo","./lo.js","./lt","./lt.js","./lv","./lv.js","./me","./me.js","./mi","./mi.js","./mk","./mk.js","./ml","./ml.js","./mn","./mn.js","./mr","./mr.js","./ms","./ms-my","./ms-my.js","./ms.js","./mt","./mt.js","./my","./my.js","./nb","./nb.js","./ne","./ne.js","./nl","./nl-be","./nl-be.js","./nl.js","./nn","./nn.js","./pa-in","./pa-in.js","./pl","./pl.js","./pt","./pt-br","./pt-br.js","./pt.js","./ro","./ro.js","./ru","./ru.js","./sd","./sd.js","./se","./se.js","./si","./si.js","./sk","./sk.js","./sl","./sl.js","./sq","./sq.js","./sr","./sr-cyrl","./sr-cyrl.js","./sr.js","./ss","./ss.js","./sv","./sv.js","./sw","./sw.js","./ta","./ta.js","./te","./te.js","./tet","./tet.js","./tg","./tg.js","./th","./th.js","./tl-ph","./tl-ph.js","./tlh","./tlh.js","./tr","./tr.js","./tzl","./tzl.js","./tzm","./tzm-latn","./tzm-latn.js","./tzm.js","./ug-cn","./ug-cn.js","./uk","./uk.js","./ur","./ur.js","./uz","./uz-latn","./uz-latn.js","./uz.js","./vi","./vi.js","./x-pseudo","./x-pseudo.js","./yo","./yo.js","./zh-cn","./zh-cn.js","./zh-hk","./zh-hk.js","./zh-tw","./zh-tw.js","webpackContext","webpackContextResolve","Error","alertClassNames","characterClassNames","typeDescriptorTranslateKey","View_AlertComponent_Host_0","AlertComponentNgFactory","i20","i21","i22","i23","i24","i25","i26","i27","i28","i29","i30","i31","i32","RenderType_AdminSettingsComponent","View_AdminSettingsComponent_2","View_AdminSettingsComponent_1","dealerChanged","View_AdminSettingsComponent_3","View_AdminSettingsComponent_4","onValidateDuringEntry","onValidateAfterEntry","View_TabsetComponent_0","RenderType_TabsetComponent","TabsetComponent","TabsetConfig","onTabChanged","tabs","General","TabDirective","heading","selectTab","View_AdminSettingsGeneralComponent_0","RenderType_AdminSettingsGeneralComponent","AdminSettingsGeneralComponent","Programs","View_AdminSettingsProgramsComponent_0","RenderType_AdminSettingsProgramsComponent","Opportunity","DealerInfo","Advanced","View_AdminSettingsAdvancedComponent_0","RenderType_AdminSettingsAdvancedComponent","AdminSettingsAdvancedComponent","CreditConvert","customClass","View_AdminSettingsCreditConvertComponent_0","RenderType_AdminSettingsCreditConvertComponent","AdminSettingsCreditConvertComponent","Product","View_AdminSettingsProductComponent_0","RenderType_AdminSettingsProductComponent","CRMLeadsDelivery","View_AdminSettingsCrmLeadsDeliveryComponent_0","RenderType_AdminSettingsCrmLeadsDeliveryComponent","AdminSettingsCrmLeadsDeliveryComponent","onSave","tabIndex","tabCreditConvertCssClass","tabProductCssClass","clazz","disableSaveCancel","View_AdminSettingsComponent_0","asDealerInfoComponent","asCreditConvertComponent","asAdvancedComponent","asGeneralComponent","asOpportunityComponent","formLoaded","View_AdminSettingsComponent_Host_0","AdminSettingsComponent","AdminSettingsComponentNgFactory","RenderType_MoneyFactorComponent","View_MoneyFactorComponent_1","moneyFactor","View_MoneyFactorComponent_0","LocaleMoneyFactorPipe","View_MoneyFactorComponent_Host_0","MoneyFactorComponentNgFactory","customerConnect","$parseFloat","RenderType_DashboardOpportunitiesTableComponent","View_DashboardOpportunitiesTableComponent_1","View_DashboardOpportunitiesTableComponent_3","View_DashboardOpportunitiesTableComponent_5","View_DashboardOpportunitiesTableComponent_6","View_DashboardOpportunitiesTableComponent_7","View_DashboardOpportunitiesTableComponent_8","View_DashboardOpportunitiesTableComponent_9","View_DashboardOpportunitiesTableComponent_10","View_DashboardOpportunitiesTableComponent_11","View_DashboardOpportunitiesTableComponent_12","View_DashboardOpportunitiesTableComponent_13","View_DashboardOpportunitiesTableComponent_14","View_DashboardOpportunitiesTableComponent_15","View_DashboardOpportunitiesTableComponent_16","View_DashboardOpportunitiesTableComponent_17","View_DashboardOpportunitiesTableComponent_18","View_DashboardOpportunitiesTableComponent_19","View_DashboardOpportunitiesTableComponent_20","View_DashboardOpportunitiesTableComponent_21","View_DashboardOpportunitiesTableComponent_22","View_DashboardOpportunitiesTableComponent_23","View_DashboardOpportunitiesTableComponent_24","View_DashboardOpportunitiesTableComponent_25","View_DashboardOpportunitiesTableComponent_26","View_DashboardOpportunitiesTableComponent_27","View_DashboardOpportunitiesTableComponent_28","View_DashboardOpportunitiesTableComponent_29","View_DashboardOpportunitiesTableComponent_30","View_DashboardOpportunitiesTableComponent_31","View_DashboardOpportunitiesTableComponent_32","View_DashboardOpportunitiesTableComponent_33","View_DashboardOpportunitiesTableComponent_34","View_DashboardOpportunitiesTableComponent_35","View_DashboardOpportunitiesTableComponent_36","View_DashboardOpportunitiesTableComponent_37","View_DashboardOpportunitiesTableComponent_38","View_DashboardOpportunitiesTableComponent_39","View_DashboardOpportunitiesTableComponent_40","View_DashboardOpportunitiesTableComponent_41","View_DashboardOpportunitiesTableComponent_42","View_DashboardOpportunitiesTableComponent_43","View_DashboardOpportunitiesTableComponent_4","columnTypes","widgetTitleKey","View_DashboardOpportunitiesTableComponent_47","opportunityRank","View_DashboardOpportunitiesTableComponent_48","entityScore","View_DashboardOpportunitiesTableComponent_46","View_DashboardOpportunitiesTableComponent_50","View_DashboardOpportunitiesTableComponent_49","customerFullName","View_DashboardOpportunitiesTableComponent_51","View_DashboardOpportunitiesTableComponent_52","dateChanged","View_DashboardOpportunitiesTableComponent_53","detailedAlerts","View_DashboardOpportunitiesTableComponent_54","View_DashboardOpportunitiesTableComponent_55","View_DashboardOpportunitiesTableComponent_56","View_DashboardOpportunitiesTableComponent_57","currentPayment","View_DashboardOpportunitiesTableComponent_45","openDealSheet","entityID","light","worked","currVal_7","lastMarketedDate","currVal_8","performedOn","currVal_9","openDate","View_DashboardOpportunitiesTableComponent_44","sortedWidgetData","View_DashboardOpportunitiesTableComponent_61","View_DashboardOpportunitiesTableComponent_60","highEngagement","View_DashboardOpportunitiesTableComponent_63","View_DashboardOpportunitiesTableComponent_64","View_DashboardOpportunitiesTableComponent_62","View_DashboardOpportunitiesTableComponent_65","new_Used","View_DashboardOpportunitiesTableComponent_67","View_DashboardOpportunitiesTableComponent_68","View_DashboardOpportunitiesTableComponent_69","View_DashboardOpportunitiesTableComponent_70","View_DashboardOpportunitiesTableComponent_71","View_DashboardOpportunitiesTableComponent_66","engagementEventGroupID","engagementEventGroups","autoAssistant","one2one","intelligentMarketing","View_DashboardOpportunitiesTableComponent_72","ratingIcon","ratingTitle","View_DashboardOpportunitiesTableComponent_74","View_DashboardOpportunitiesTableComponent_75","View_DashboardOpportunitiesTableComponent_73","engagementEventTypes","View_DashboardOpportunitiesTableComponent_77","eventDate","View_DashboardOpportunitiesTableComponent_78","appointmentDate","View_DashboardOpportunitiesTableComponent_79","View_DashboardOpportunitiesTableComponent_76","View_DashboardOpportunitiesTableComponent_81","View_DashboardOpportunitiesTableComponent_82","View_DashboardOpportunitiesTableComponent_83","View_DashboardOpportunitiesTableComponent_80","View_DashboardOpportunitiesTableComponent_84","View_DashboardOpportunitiesTableComponent_85","deal_Date","View_DashboardOpportunitiesTableComponent_86","View_DashboardOpportunitiesTableComponent_87","ownerFullName","View_DashboardOpportunitiesTableComponent_88","serviceAdvisorName","View_DashboardOpportunitiesTableComponent_90","View_DashboardOpportunitiesTableComponent_89","View_DashboardOpportunitiesTableComponent_92","roAppointmentDate","View_DashboardOpportunitiesTableComponent_93","roDate","View_DashboardOpportunitiesTableComponent_91","isAppointment","isService","View_DashboardOpportunitiesTableComponent_94","View_DashboardOpportunitiesTableComponent_95","assignedDate","View_DashboardOpportunitiesTableComponent_96","View_DashboardOpportunitiesTableComponent_97","newUsed","View_DashboardOpportunitiesTableComponent_98","paymentRemaining","View_DashboardOpportunitiesTableComponent_99","View_DashboardOpportunitiesTableComponent_100","View_DashboardOpportunitiesTableComponent_101","View_DashboardOpportunitiesTableComponent_102","View_DashboardOpportunitiesTableComponent_103","View_DashboardOpportunitiesTableComponent_104","replacement_Model_Year","View_DashboardOpportunitiesTableComponent_105","replacement_Model_Name","View_DashboardOpportunitiesTableComponent_106","View_DashboardOpportunitiesTableComponent_107","View_DashboardOpportunitiesTableComponent_108","estimated_Current_Mileage","View_DashboardOpportunitiesTableComponent_109","View_DashboardOpportunitiesTableComponent_110","current_Payment","View_DashboardOpportunitiesTableComponent_111","replacement_Payment","View_DashboardOpportunitiesTableComponent_112","View_DashboardOpportunitiesTableComponent_113","payment_Difference","View_DashboardOpportunitiesTableComponent_114","View_DashboardOpportunitiesTableComponent_115","home_Phone","View_DashboardOpportunitiesTableComponent_116","zip_Code","View_DashboardOpportunitiesTableComponent_117","assignedBy","View_DashboardOpportunitiesTableComponent_59","View_DashboardOpportunitiesTableComponent_58","View_DashboardOpportunitiesTableComponent_2","View_DashboardOpportunitiesTableComponent_0","widgetData","View_DashboardOpportunitiesTableComponent_Host_0","DashboardOpportunitiesTableComponent","DashboardOpportunitiesTableComponentNgFactory","onCloseCallback","SPECIES","DealerClientService","GetDealerVendorFlagsByDealeridGETResponse","GetDealerVendorFlagsByDealeridGET","GetDealerFordPilotDtoByDealeridGETResponse","GetDealerFordPilotDtoByDealeridGET","GetDealerFordInfoGETResponse","GetDealerFordInfoGET","GetPandoErrorDealersByLookbackdaysGETResponse","lookbackDays","GetPandoErrorDealersByLookbackdaysGET","GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETResponse","GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGET","UpdateDealerAlertTolerancesByDealeridPOSTResponse","alertTolerances","UpdateDealerAlertTolerancesByDealeridPOST","GetDealerWishListsByDealeridGETResponse","GetDealerWishListsByDealeridGET","FlushDealerWishListsCacheByDealeridGETResponse","FlushDealerWishListsCacheByDealeridGET","SaveDealerWishListPOSTResponse","dealerWishList","SaveDealerWishListPOST","GetDealerWishListLogsByDealeridByDealerwishlistidGETResponse","dealerWishListID","GetDealerWishListLogsByDealeridByDealerwishlistidGET","GetDealerVendorFlagsByDealeridGETPath","GetDealerFordPilotDtoByDealeridGETPath","GetDealerFordInfoGETPath","GetPandoErrorDealersByLookbackdaysGETPath","GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETPath","UpdateDealerAlertTolerancesByDealeridPOSTPath","GetDealerWishListsByDealeridGETPath","FlushDealerWishListsCacheByDealeridGETPath","SaveDealerWishListAsyncPOSTPath","GetDealerWishListLogsByDealeridByDealerwishlistidGETPath","app_settings_1","AdminTemplatesEditModalComponent","saveChanges","aNumberValue","$toPrecision","toPrecision","precision","$preventExtensions","preventExtensions","Constructor","forbiddenField","Enumerate","iterated","_t","enumerate","AddEndConversationEventRecordByEntityidGETResponse","IsAutoAssistantConversationOpenByEntityidGETResponse","AddEndConversationEventRecordByEntityidGETPath","IsAutoAssistantConversationOpenByEntityidGETPath","CapitalCostComponent","$startsWith","startsWith","DealerAssetClientService","GetDealerAssetsGETResponse","GetDealerAssetsGET","GetByDealerByDealeridGETResponse","GetByDealerByDealeridGET","GetDealerAssetsGETPath","GetByDealerByDealeridGETPath","ConquestTypes","notConverted","creditConvert","FuelDifferenceComponent","$asinh","asinh","sqrt","EngagementEventGroups","reviews","geoAlert","newServiceAppointment","inService","emailOpened","emailReplied","textMessageReplied","customerRequestedContact","activeGeoAlert","EngagementEventGroupsByType","RenderType_VautoComponent","View_VautoComponent_0","View_VautoComponent_Host_0","VautoComponentNgFactory","getProto","DeskitComponent","showDeskitLink","saleTypes","deskitImagePath","deskitPushEnabled","deskitPush","trade","modelTrim","trimFullName","soldVehicle","stockNumber","inventoryType","dealType","saleType","addressLines","county","tradeVehicles","pushToDeskit","dealID","MIN_SAFE_INTEGER","ProductTypes","full","fca_Express","fca_Full","euroLite","RenderType_VinCueModalComponent","View_VinCueModalComponent_1","View_VinCueModalComponent_2","createDate","acv","View_VinCueModalComponent_0","sendAppraisal","hasLatestAppraisal","fullAddress","fullTrim","View_VinCueModalComponent_Host_0","VinCueModalComponent","VinCueModalComponentNgFactory","VehicleFinalTradeValueTempChangeClientService","LogTradeValueChangePOSTResponse","LogTradeValueChangePOST","LogTradeValueChangePOSTPath","constants_2","translateService","authorizationService","dealerSettingsService","_moduleIds","siteMapReadySubject","ReplaySubject","siteMapReady","asObservable","_siteMap","getModulePermissions","Modules","currentSiteMap","siteMap","all","resolveSiteMap","loadMenu","SubMenu","getHomeRoute","redirectToUserHome","localRedirect","menuItem","findMenuItemByUrl","TranslateErrorKeys","unauthorizedPageErrorKey","WarningTitleKey","warning","subMenuItems","dataEntry","removeInaccessibleTopMenuItemsSync","removeInaccessibleSubMenuItemsSync","removeServiceDriveOfferMenuIfDisabledSync","setDealerSettingsLink","removeInaccessibleSltTopMenuItems","disableInaccessibleSltTopMenuItems","disableInaccessibleSltSubMenuItems","disabled","indicesToRemove","accessible","authorize","allIndicesToRemove","subMenuItem","subIndicesToRemove","getIsSomeDealerOneToOneEnabled","removeSubMenuItemById","useLegacyDealerSettings","subMenu","preOwnedIndex","alertDesk","accessibleSubMenuItems","alertDeskMenu","_isFinite","FProto","nameRE","ModalComponent","onClose","closeButtonVisible","includeTitleBar","headerTitle","translatedHeaderTitle","headerClass","firstChange","headerTextClass","isInteger","RenderType_CustomerConnectSubDetailComponent","View_CustomerConnectSubDetailComponent_1","View_CustomerConnectSubDetailComponent_2","View_CustomerConnectSubDetailComponent_0","View_CustomerConnectSubDetailComponent_Host_0","CustomerConnectSubDetailComponent","CustomerConnectSubDetailComponentNgFactory","RenderType_ServiceAppointmentComponent","View_ServiceAppointmentComponent_1","idUnique","serviceAppointment","View_ServiceAppointmentComponent_0","View_ServiceAppointmentComponent_Host_0","ServiceAppointmentComponent","ServiceAppointmentComponentNgFactory","abbreviate","CashPaidComponent","localeCurrency","angular2_toaster_1","NgxToaster","toasterService","configToaster","ToasterConfig","positionClass","animation","timeout","popToast","AssetTypes","contentFuze","connectPro","showroomPro","comparePro","servicePro","spanishContentFuze","vDPTool","autoWebSupport","reputationPro","curatorPro","curatorProPlus","reviewBuilderPro","websiteContentPage","fuzeCast","managedServices","profileFuze","alertMiner","oneToOne","inMarketAlert","galvesTradeValues","pandoX","intelMarketing","textMessaging","inventoryCalculations","pandoDsButtonsOverride","deskItPush","toyotaVinRecall","emailAppend","DealerRebateComponent","onFreeze","$seal","RecordEmailConversationPOSTResponse","RecordEmailConversationPOST","RecordEmailReadPOSTResponse","alertMinerMailOpened","RecordEmailReadPOST","GetEmailBodyByIdGETResponse","RecordEmailConversationPOSTPath","RecordEmailReadPOSTPath","GetEmailBodyByIdGETPath","isArrayIter","getIterFn","BREAK","RETURN","iterFn","generalErrorTitleKey","generalErrorMessageKey","unauthorizedAppErrorKey","unauthorizedAPIAccessKey","unauthorizedDisabledUserKey","unauthorizedLockedUserKey","unauthorizedNoUserProfileKey","underConstructionKey","maxEmailsExceeded","invalidIPAddress","generalErrorDncProcessKey","generalErrorCreditSoftPullNoEditKey","popupBlockerEnabledErrorMessage","RenderType_ContractEndComponent","View_ContractEndComponent_1","contract-end","currVal_3","View_ContractEndComponent_0","View_ContractEndComponent_Host_0","ContractEndComponent","ContractEndComponentNgFactory","fill","performance","performanceMeasure","checkDuplicate","__symbol__","nativeMicroTaskQueuePromise","Zone","zoneSpec","_parent","_name","_properties","properties","_zoneDelegate","ZoneDelegate","assertZonePatched","patches","zone","_currentZoneFrame","_currentTask","__load_patch","perfName","_api","getZoneWith","fork","_callback","intercept","runGuarded","applyThis","applyArgs","invoke","handleError","runTask","task","NO_ZONE","notScheduled","eventTask","macroTask","reEntryGuard","running","_transitionTo","runCount","previousTask","isPeriodic","cancelFn","invokeTask","_updateTaskCount","scheduleTask","newZone","scheduling","zoneDelegates","_zoneDelegates","_zone","err","scheduleMicroTask","customSchedule","ZoneTask","microTask","scheduleMacroTask","customCancel","scheduleEventTask","cancelTask","canceling","DELEGATE_ZS","onHasTask","delegate","hasTaskState","hasTask","onScheduleTask","onInvokeTask","onCancelTask","parentDelegate","_taskCounts","_parentDelegate","_forkZS","onFork","_forkDlgt","_forkCurrZone","_interceptZS","onIntercept","_interceptDlgt","_interceptCurrZone","_invokeZS","onInvoke","_invokeDlgt","_invokeCurrZone","_handleErrorZS","onHandleError","_handleErrorDlgt","_handleErrorCurrZone","_scheduleTaskZS","_scheduleTaskDlgt","_scheduleTaskCurrZone","_invokeTaskZS","_invokeTaskDlgt","_invokeTaskCurrZone","_cancelTaskZS","_cancelTaskDlgt","_cancelTaskCurrZone","_hasTaskZS","_hasTaskDlgt","_hasTaskDlgtOwner","_hasTaskCurrZone","zoneSpecHasTask","targetZone","returnTask","scheduleFn","counts","_state","useG","_numberOfNestedTaskFrames","drainMicroTaskQueue","cancelScheduleRequest","toState","fromState1","fromState2","handleId","symbolSetTimeout","symbolPromise","symbolThen","_microTaskQueue","_isDrainingMicrotaskQueue","nativeThen","queue","onUnhandledError","microtaskDrainDone","symbol","currentZoneFrame","noop","showUncaughtError","patchEventTarget","patchOnProperties","patchMethod","bindArguments","patchThen","patchMacroTask","setNativePromise","NativePromise","patchEventPrototype","isIEOrEdge","getGlobalObjects","ObjectDefineProperty","ObjectGetOwnPropertyDescriptor","ObjectCreate","ArraySlice","patchClass","wrapWithCurrentZone","filterProperties","attachOriginToPatched","_redefineProperty","patchCallbacks","__values","api","_uncaughtPromiseErrors","creationTrace","rejection","stack","_loop_1","uncaughtPromiseError","shift","handleUnhandledRejection","UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL","handler","isThenable","forwardResolution","forwardRejection","ZoneAwarePromise","symbolState","symbolValue","symbolFinally","symbolParentPromiseValue","symbolParentPromiseState","UNRESOLVED","RESOLVED","REJECTED","REJECTED_NO_CATCH","makeResolver","promise","resolvePromise","once","wasCalled","wrappedFunction","TYPE_ERROR","CURRENT_TASK_TRACE_SYMBOL","onceWrapper","clearRejectedNoCatch","trace","currentTask","writable","scheduleResolveOrReject","readableObjectToString","error_1","REJECTION_HANDLED_HANDLER","chainPromise","onFulfilled","onRejected","promiseState","parentPromiseValue","isFinallyPromise","executor","race","e_1","rej","onResolve","onReject","values_1","values_1_1","e_1_1","e_2","unresolvedCount","valueIndex","resolvedValues","_loop_2","this_1","curValueIndex","values_2","values_2_1","e_2_1","toStringTag","finally","onFinally","ZONE_AWARE_PROMISE","NewNativePromise","symbolThenPatched","Ctor","originalThen","fetch_1","resultPromise","ctor","zoneify","ObjectGetPrototypeOf","ADD_EVENT_LISTENER_STR","REMOVE_EVENT_LISTENER_STR","ZONE_SYMBOL_ADD_EVENT_LISTENER","ZONE_SYMBOL_REMOVE_EVENT_LISTENER","TRUE_STR","FALSE_STR","ZONE_SYMBOL_PREFIX","scheduleMacroTaskWithCurrentZone","zoneSymbol","isWindowExists","internalWindow","_global","REMOVE_ATTRIBUTE","NULL_ON_PROP_VALUE","isPropertyWritable","propertyDesc","isWebWorker","WorkerGlobalScope","isNode","process","isBrowser","isMix","zoneSymbolEventNames","wrapFn","eventNameSymbol","listener","errorEvent","lineno","colno","patchProperty","onPropPatchedSymbol","originalDescGet","originalDescSet","eventName","newValue","removeEventListener","removeAttribute","onProperties","originalInstanceKey","OriginalClass","shouldCopySymbolProperties","patchFn","delegateName","patchDelegate_1","dest","copySymbolProperties","funcName","metaCreator","setNative","cbIdx","patched","isDetectedIEOrEdge","ieOrEdge","isIE","originalFunctionToString","ORIGINAL_DELEGATE_SYMBOL","PROMISE_SYMBOL","ERROR_SYMBOL","newFunctionToString","originalDelegate","nativePromise","nativeError","originalObjectToString","passiveSupported","OPTIMIZED_ZONE_EVENT_TASK_DATA","zoneSymbolEventNames$1","globalSources","EVENT_NAME_SYMBOL_REGX","IMMEDIATE_PROPAGATION_SYMBOL","apis","patchOptions","ADD_EVENT_LISTENER","REMOVE_EVENT_LISTENER","rm","LISTENERS_EVENT_LISTENER","listeners","REMOVE_ALL_LISTENERS_EVENT_LISTENER","rmAll","zoneSymbolAddEventListener","ADD_EVENT_LISTENER_SOURCE","PREPEND_EVENT_LISTENER","PREPEND_EVENT_LISTENER_SOURCE","isRemoved","handleEvent","globalZoneAwareCallback","tasks","copyTasks","globalZoneAwareCaptureCallback","patchEventTargetMethods","useGlobalCallback","validateHandler","vh","chkDup","returnTarget","rt","nativePrependEventListener","eventNameToString","taskData","nativeAddEventListener","nativeRemoveEventListener","nativeListeners","nativeRemoveAllListeners","checkIsPassive","capture","isExisting","symbolEventNames","symbolEventName","existingTasks","allRemoved","compare","diff","typeOfDelegate","blackListedEvents","makeAddListener","nativeListener","addSource","customScheduleFn","customCancelFn","isHandleEvent","falseEventName","trueEventName","symbolCapture","constructorName","targetSource","existingTask","findEventTasks","symbolCaptureEventName","captureTasks","removeTasks","evtName","results","foundTasks","Event","targetName","callbacks","nativeDelegate","descriptor","zoneSymbol$1","_defineProperty","_getOwnPropertyDescriptor","unconfigurablesKey","originalConfigurableFlag","_tryDefineProperty","rewriteDescriptor","isUnconfigurable","isFrozen","descJson","windowEventNames","mediaElementEventNames","frameEventNames","frameSetEventNames","marqueeEventNames","XMLHttpRequestEventNames","IDBIndexEventNames","websocketEventNames","workerEventNames","eventNames","ignoreProperties","tip","ip","targetIgnoreProperties","patchFilteredProperties","propertyDescriptorPatch","supportsWebSocket","WebSocket","ignoreErrorProperties","Document","HTMLElement","HTMLMediaElement","HTMLFrameSetElement","HTMLBodyElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement_1","Worker_1","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","eventTargetLegacyPatch","WTF_ISSUE_555","NO_EVENT_TARGET","isWtf","WTF_ISSUE_555_ARRAY","isDisableIECheck","isEnableCrossContextCheck","BROWSER_TOOLS","targets","apiTypes","testString","propertyDescriptorLegacyPatch","onclick","XMLHttpRequestPrototype","xhrDesc","SYMBOL_FAKE_ONREADYSTATECHANGE_1","detectFunc","canPatchViaPropertyDescriptor","unboundKey","property","onproperty","bound","elt","parentElement","patchViaCapturingAllTheEvents","WS","EventTarget","proxySocket","proxySocketProto","socket","onmessageDesc","propName","propertySymbol","globalWebSocket","SYMBOL_BLACK_LISTED_EVENTS","SYMBOL_UNPATCHED_EVENTS","registerElementPatch","taskSymbol","patchTimer","setName","cancelName","nameSuffix","clearNative","tasksByHandleId","clearTask","ref","unref","bind","eventTargetPatch","EVENT_TARGET","legacyPatch","blockingMethods","patchEvent$1","props","customElements","patchCustomElements","oriAddListener","oriRemoveListener","XMLHttpRequestEventTarget_1","XMLHttpRequestEventTargetPrototype","READY_STATE_CHANGE","SCHEDULED","openNative","XHR_SYNC","XHR_URL","fetchTaskAborting","fetchTaskScheduling","sendNative","aborted","placeholderCallback","XHR_ERROR_BEFORE_SCHEDULED","abortNative","XHR_TASK","XHR_SCHEDULED","XHR_LISTENER","newListener","DONE","loadTasks","oriInvoke_1","patchXHR","geolocation","fnNames","name_1","patchPrototype","findPromiseRejectionHandler","PromiseRejectionEvent","evt","reason","toSameLocalTimeInUTC","toSameLocalTimeInCurrentZone","atMidnight","moment_timezone__WEBPACK_IMPORTED_MODULE_0__","moment_timezone__WEBPACK_IMPORTED_MODULE_0___default","dateString","moment","local","toDate","utcLocalTimestamp","UTC","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","RenderType_PriceComponent","View_PriceComponent_1","View_PriceComponent_2","View_PriceComponent_0","View_PriceComponent_Host_0","PriceComponent","PriceComponentNgFactory","priceChange","authService","tokenService","impersonatingUsername","getUser","impersonatingUser","impersonatedUser","PandoCommunicationService","communicationApi","getPandoInboxConfig","getMotofuzeCurrentUser","getCurrentUser","getGlobalFrameConfig","notifyOnDealerChange","SelectedAutoAlertDealerIDs","Data","viewDealerGroupID","ViewDealerGroupID","viewAccount","ViewAccount","viewSelectedStores","ViewSelectedStores","getUnreadMessageCount","msgcount","TotalBadgeCount","getMessageVendorInfo","getChatStaff","getAvailabilityReasons","setAvailable","setUnavailable","reasonId","Notes","AvailabilityReasonId","setBusy","minutes","$RegExp","re1","CORRECT_NEW","tiRE","piRE","fiU","CacheFetchOptions","ObjectCache","cachedItems","cacheOptions","getOrFetch","callBack","cacheFetchOptions","forceFetch","fetchAndCache","cachedItem","cacheAgeLimitSeconds","cacheTimestamp","invalidateCacheForAllKeys","invalidateCacheForKey","delete","timeStamp","cacheItem","copyWithin","to","inc","NgSelectedDealersInterceptor","crossDomainStorageService","URL_PREFIXES_TO_MODIFY","CONFIG","employeeDefaultDealer","apiUrls","reportMiner","prefix","selectedDealerGroupId","selectedDealerIds","overrideDealerIds","overrideDealerIdsSetting","newHeaders","newReq","setHeaders","number","fractionDigits","isNumber","savedCultureName","isNaN","DecimalPipe","getLatestAppraisal","getCustomerAddress","getFullTrim","getLatestAppraisalVinCue","created","modules_1","imgUrl","baseUrl","dashboard","-roleId","admin_templates_edit_modal_component_1","settings_interface_1","display_modal_component_1","kendo_data_query_1","confirm_modal_component_1","AdminTemplatesComponent","formBuilder","dealerUpgradeProposalSettingClientService","dealerSmtpSettingClientService","templateService","marketingMessageTextMaxLength","marketingMessageTextValue","readOnly","addConfidentialCoverPage","submitted","pageSize","skip","tab1","tab2","tab3","tempDealerSmtpSettingCustomDto","field","SMTPForm","group","SMTPHost","port","maxLength","useSSL","username","password","SMTPSettingEnum","defaultMarketingMessage","systemUserName","loadData","pageChange","dealerTemplates","orderBy","gridView","getTemplates","getMarketingMessage","getDealerSmtpSettings","calculateLength","GetDealerSmtpSettingsGET","smtpMethod","customHost","customPort","customUsername","customUseSsl","custom","patchValue","GetDealerUpgradeProposalSettingByDealeridGET","marketingMessageId","marketingMessage","getNonEmptyTemplatesForDealerId","templateData","isSystemTemplate","createdByFullName","sortChange","onSuccess","refreshTemplates","showSuccess","onDealerSelect","onDeleteSuccess","deleteTemplate","ConfirmModalComponent","saveWarningMessage","messageKey","pdfPreviewTemplate","getTemplatePdfPreview","emailPreviewTemplate","getTemplateEmailPreview","onCreateNewTemplate","editTemplate","saveMarketingMessage","busy3","SaveDealerUpgradeProposalSettingPOST","onSaveMarketingMessage","onSaveSMTPSettings","autoAlert","busy2","SaveDealerSmtpSettingsPOST","customPassword","DealerCountries","usa","canada","unitedKingdom","france","LIBRARY","$iterCreate","BUGGY","returnThis","DEFAULT","IS_SET","FORCED","IteratorPrototype","getMethod","kind","TAG","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","addToUnscopables","Arguments","tag_types_1","TaggedCustomersComponent","opportunityService","opportunity2Service","tsService","tagData","tagDataType1","tagDataType2","tagTypes","TagTypes","getTagsPivotForDealers","opportunityServiceAng8Enabled","goToOppSearch","tagId","widgetDataPromise","translatedText","tagTypeId","dealership","refresh","clearCache","MAX_SAFE_INTEGER","__lookupSetter__","un","__assign","enabled","pandoInboxEnabled","motofuze","pandoInboxUrl","motofuzeToken","tokenPromise","CommunicationApiService","logFactory","httpBackend","requestWithToken","fetchTokenAndRequest","tradeAccessTokenForMotofuzeToken","withCredentials","Authorization","observe","accessToken","HttpParams","fromObject","provider","externalAccessToken","warn","LogFactory","HttpBackend","RenderType_AdminRolesComponent","View_AdminRolesComponent_2","roleNameForSelect","View_AdminRolesComponent_1","optionGroupNameKey","View_AdminRolesComponent_3","onEditRole","View_AdminRolesComponent_4","getRoleSelectNote","View_AdminRolesComponent_5","View_AdminRolesComponent_0","onRoleChanged","selectedRole","onAddRole","cancelChanges","accessRightChanged","View_AdminRolesSelectorComponent_0","RenderType_AdminRolesSelectorComponent","AdminRolesSelectorComponent","accessList","categories","onCancelChanges","hideCategoryCheckbox","roleOptions","isEditable","parentRoleID","moduleSettings","moduleCategories","rightSettings","rightCategories","View_AdminRolesComponent_Host_0","AdminRolesComponent","AdminRoleService","AdminRolesComponentNgFactory","EulaStatusTypes","fullyAccepted","notAccepted","canadaAddendumNeeded","canadaAddendumDeferred","AutoCheckComponent","showAutoCheckLink","enableAutoCheck","AdminSettingTabs","RenderType_AdminTemplatesEditModalComponent","View_AdminTemplatesEditModalComponent_0","View_AdminTemplatesEditModalComponent_Host_0","AdminTemplatesEditModalComponentNgFactory","$freeze","RenderType_TaggedCustomersComponent","View_TaggedCustomersComponent_1","View_TaggedCustomersComponent_2","View_TaggedCustomersComponent_0","View_TaggedCustomersComponent_Host_0","TaggedCustomersComponentNgFactory","getOrCreateMetadataMap","deleteMetadata","metadataMap","targetMetadata","userProfileResult","featureComparison","otherVehiclesOwned","hasReviewProDealer","hasReviewPro","hasGeoAlertDealer","hasGeoAlert","getOpportunity","setAdditionalProperties","dealSheetDataResult","getFuelEconomyComparisonReplacementVehicleFuelCost","addAlertsAsProperties","alerts","replacementContract","pullForwardAmount","currentContract","balanceToMaturity","dispositionFee","trimID","getFuelEconomyComparison","quot","string","attribute","p1","angular__WEBPACK_IMPORTED_MODULE_5__","angular__WEBPACK_IMPORTED_MODULE_5___default","_module__WEBPACK_IMPORTED_MODULE_6__","_module__WEBPACK_IMPORTED_MODULE_6___default","_events__WEBPACK_IMPORTED_MODULE_7__","thunkEventName","eventPrefix","basePath","clientId","urls","scope","redirectUri","origin","pathname","logoutUri","authorizationEndpoint","revocationEndpoint","endSessionEndpoint","advanceRefresh","enableRequestChecks","stickToLastKnownIdp","isDotNetClientApp","isExternal","$get","$logFactory","$document","$location","$window","$log","fragments","hash","parseErrorFromFragments","queryString","pairs","pair","separatorIndex","escapedKey","escapedValue","parseQueryString","id_token","access_token","newIdToken","newAccessToken","broadcastToParent","nonceIsValid","newClaims","error_description","handleSilentRefreshCallback","idToken","error_uri","handleImplicitFlowCallback","validateExpirity","trialExpirationTime","trySilentRefresh","isAuthenticated","isAuthenticatedIn","milliseconds","signIn","localRedirectPath","crmToken","startImplicitFlow","impersonate","impersonateUsername","hasPathDelimiter","createLogoutUrl","impersonating","startLogout","silentRefresh","_len","_key","msg","postMessage","createLoginUrl","nonce","allowLoginForm","crmTokenValue","endImpersonation","appendChar","idpClaimValue","$$host","redirectPathToSave","idTokenClaims","PayoffInputModalComponent","showAmountMsg","minValidValue","payoffGoodThroughDays","formatYear","startingDay","showWeeks","minPayoff","ceil","setGoodThroughDate","goodThroughDateModel","goodThroughDate","setShowAmountMsg","payoffForm","controls","pristine","savePayoff","rConstruct","construct","NEW_TARGET_BUG","ARGS_BUG","Target","newTarget","$args","ActivityIconClasses","RenderType_AutoCheckComponent","View_AutoCheckComponent_1","View_AutoCheckComponent_2","View_AutoCheckComponent_0","View_AutoCheckComponent_Host_0","AutoCheckComponentNgFactory","View_TooltipComponent_1","containerClass","View_TooltipComponent_Host_0","TooltipComponentNgFactory","RenderType_ConfirmationModalComponent","View_ConfirmationModalComponent_0","View_ModalComponent_0","RenderType_ModalComponent","submitButtonVisible","submitButtonDisabled","submitButtonText","closeButtonText","View_ConfirmationModalComponent_Host_0","ConfirmationModalComponent","ConfirmationModalComponentNgFactory","Set","ordinaryMetadataKeys","oKeys","pKeys","getMetadataKeys","enumBugKeys","RenderType_ConfirmModalComponent","View_ConfirmModalComponent_1","View_ConfirmModalComponent_2","View_ConfirmModalComponent_0","onContinue","View_ConfirmModalComponent_Host_0","ConfirmModalComponentNgFactory","DateProto","pandoIntegration","fordAlert","dealerPrincipalDashboard","reports","fordAXZPlanPricing","pandoWorkflowIntegration","managerDashboard","euroliteOpportunities","dataCleanse","oneToOneSoldUnitsReport","leadAssignOwnerAccess","portalSearchPage","intelligentMarketingSoldUnitsReport","autoAssistantSoldUnitsReport","geoAlertSoldUnitsReport","AdminRolesModalAddEditComponent","parentRoleInvalid","roleNameInvalid","newRole","roleID","roleName","startWithParentRole","onConfirm","alreadyExists","flatRoles","ignoreCase","multiline","unicode","sticky","countName","uiRouterStateName","AlertTypeDescriptorsEuroLite","RenderType_VehicleImageComponent","View_VehicleImageComponent_0","updateUrl","View_VehicleImageComponent_Host_0","VehicleImageComponent","VehicleImageComponentNgFactory","trade_value_types_1","dealer_countries_1","vehicleUserTradeValueClientService","dealerCountries","saveVehicleId","vehicleID","GetVehicleUserTradeValue","vutv","expirationDt","dateParts","insertDt","DealerRebateClientService","GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETResponse","GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGET","UpdateDealerRebatesPATCHResponse","rebates","UpdateDealerRebatesPATCH","GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETPath","UpdateDealerRebatesPATCHPath","DataEntryService","dealerRatesClientService","dealerRebateClientService","dealerPriceClientService","dealerTradeInClientService","replacementClientService","trimAlternateOfferClientService","deleteAllUsedRatesByDealerId","resolveDealerDataEntryUpdate","getDealerUsedRates","updateDealerUsedRates","usedRates","updateDealerOverAllowance","overAllowance","updateDealerRateMarkUps","getDealerOverAllowances","getRateMarkUps","getDealerRebates","updateDealerRebates","getDealerPrices","GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGET","updateDealerPrices","prices","UpdateDealerPricesPATCH","updateDealerTradeins","tradeIns","getDealerTradeIns","getReplacementSpecifics","filterByNew","GetReplacementSpecificsGET","DealerId","FilterByNew","MakeId","YearId","ModelId","TrimId","getReplacementUpDown","GetReplacementUpDownGET","deleteTrimAlternateOffer","baseTrimID","level","ByDealeridByBasetrimidByLevelDELETE","updateTrimAlternateOffer","baseTrimId","alternateTrimID","retailTolerance","leaseTolerance","createTrimAlternateOffer","saveBulkReplacements","SaveBulkReplacementsByDefaultdealeridPOST","defaultDealerId","bulkDelete","trimIds","isUpgrade","BulkDeletePOST","trimIDs","bulkReplacementDelete","bulkRemoveMappings","BulkRemoveMappingsPOST","DealerPriceClientService","ReplacementClientService","TrimAlternateOfferClientService","DashboardAgendaComponent","activityResultTypeDescriptors","ActivityResultTypeDescriptors","activityStatusTypes","ActivityStatusTypes","dealSheetClosed","activityIconClasses","dealSheetClose","opId","openDealSheetLiteModal","openDealSheetModal","getResult","activityResultType","activityResultNameTranslateKey","activityStatusTypeName","getKeys","gOPS","$assign","A","B","getSymbols","asset_types_1","object_cache_1","dealerSettingClient","dealerClient","dealerSearchClient","userClient","printOfferBatchClient","dealerAssetClient","communicationService","rootScope","dealersOneToOneStatus","dealersOneToOneStatusLoaded","getIsAssetEnabledForDealerPromise","enabledUsersForDealerCache","defaultInMemoryCacheTimeoutSeconds","dealersCache","dealerCache","getDealerSettings","ByDealeridGET","allowUsedCalculation","allowCPOCalculation","enableCarFax","enableCarProof","useCreditSoftPull","activityFutureWindow","dncEnabled","allowExpiration","autoRewardAccountIdentifier","autoRewardPassword","autoRewardUserName","enableAutoRewards","defaultUserID","enableDirectAlertCampaigns","enableDealerUsedRates","enableOffBrandMultiVehReplTolerances","deskitDealerID","carFaxVersion","carFaxAutoPurchase","offBrandMakeIds","getDealer","dealerCode","dealerGroupID","dealersExt","dealerInfoDtoExt","getEnabledUsersForDealer","userID","userTypeId","userTypeID","GetEnabledUsersForDealerByDealeridGET","getSelectedDealerGroupId","getRawSelectedDealers","getDealerDisplayText","addAllDealersOption","updateSelectedDealersToMatchCXM","updateCXMSelectedDealersToMatchAlertMiner","onSelectedDealersChanged","onchange","GetDealerStatusesGET","$broadcast","getIsDealerNoLongerOwnsEnabled","assetID","getIsDealerEmailAppendEnabled","getIsAssetEnabledForDealer","assetId","getIsDealerPandoXEnabled","getIsDealerOneToOneEnabled","printOfferEnabled","getIsSomeDealerIntelligentMarketingEnabled","getIsSomeDealerAutoAssistantEnabled","getIsSomeDealerGeoAlertEnabled","getOneToOneEnabledDealerIds","getDealerAlertTolerances","UpdateDealerAlertTolerances","getDealerFordInfo","getDealerWishLists","saveDealerWishList","GetDealerWishListLogs","DealerSettingClientService","DealerSearchClientService","UserClientService","PrintOfferBatchClientService","CrossDomainStorageService","events_1","MobileDealSheetComponent","transitionService","routes","selectedNav","$to","selectNav","route","stopWorkingState","RenderType_SearchPresetCountsComponent","View_SearchPresetCountsComponent_3","View_SearchPresetCountsComponent_4","View_SearchPresetCountsComponent_5","View_SearchPresetCountsComponent_6","activityCount","View_SearchPresetCountsComponent_7","View_SearchPresetCountsComponent_8","View_SearchPresetCountsComponent_9","noActivityCount","View_SearchPresetCountsComponent_11","View_SearchPresetCountsComponent_10","View_SearchPresetCountsComponent_2","search-preset-count-na","currVal_12","searchConditionName","insertDateUtc","currVal_5","searchActiveEndDate","View_SearchPresetCountsComponent_1","presetCounts","maxRowsDisplayed","View_SearchPresetCountsComponent_12","View_SearchPresetCountsComponent_13","increaseLimit","View_SearchPresetCountsComponent_0","setLimitPromise","maxRowLimit","unusedSearchPresets","View_SearchPresetCountsComponent_Host_0","SearchPresetCountsComponent","SearchPresetService","SearchPresetCountsComponentNgFactory","widgetState","widgetStateChange","onRunDateChanged","repeat","View_AdminSettingsGeneralComponent_1","defaultLeaseAnnualMiles","defaultLeasePenaltyPerMile","View_AdminSettingsGeneralComponent_5","View_AdminSettingsGeneralComponent_4","onOverrideStateChanged","onSearchByState","View_AdminSettingsGeneralComponent_6","formatPhoneNumber","View_AdminSettingsGeneralComponent_7","View_AdminSettingsGeneralComponent_8","View_AdminSettingsGeneralComponent_3","textMessagingAreaCode","onViewNumbers","twilioSendTextSalesNumber","onNewNumberChanged","twilioSendTextServiceNumber","searchReturnedLessThanTwoLocalNumbers","newTextNumbers","twilioNumbersValid","View_AdminSettingsGeneralComponent_11","View_AdminSettingsGeneralComponent_10","overrideStateCodeCXM","onOverrideStateChangedCXM","onSearchByStateCXM","View_AdminSettingsGeneralComponent_12","View_AdminSettingsGeneralComponent_13","View_AdminSettingsGeneralComponent_14","View_AdminSettingsGeneralComponent_9","textMessagingAreaCodeCXM","onViewNumbersCXM","twilioSendTextSalesNumberCXM","onNewNumberChangedCXM","twilioSendTextServiceNumberCXM","searchReturnedLessThanTwoLocalNumbersCXM","newTextNumbersCXM","twilioNumbersValidCXM","View_AdminSettingsGeneralComponent_15","View_AdminSettingsGeneralComponent_2","isTextMessagingNewNumberSettingsEnabled","isTextMessagingNewNumberSettingsEnabledCXM","allTwilioNumbersUnique","View_AdminSettingsGeneralComponent_16","View_AdminSettingsGeneralComponent_18","autoCheckCustomerId","MaxLengthValidator","maxlength","View_AdminSettingsGeneralComponent_19","carFaxUsername","carFaxPassword","View_AdminSettingsGeneralComponent_20","View_AdminSettingsGeneralComponent_21","View_AdminSettingsGeneralComponent_22","carProofAccessKey","View_AdminSettingsGeneralComponent_17","isCanadianDealer","View_AdminSettingsGeneralComponent_23","enableVehicleHistoryReports","View_AdminSettingsGeneralComponent_24","onEscapeDown","selectedOwners","View_AngularMultiSelect_0","RenderType_AngularMultiSelect","AngularMultiSelect","ɵi","itemTempl","badgeTempl","searchTempl","ownersDropdownSettings","defaultSettings","classes","overrideStateSelect","overrideStateSelectCXM","activityExpirationWindow","vAutoEntityId","dealerMakeLeaseMileage","textMessagingEnabled","isDealerPandoXEnabled","isEnableVHR","isViewSDOSettings","View_AdminSettingsGeneralComponent_Host_0","AdminSettingsGeneralComponentNgFactory","onValidateField","vincue_modal_component_1","VinCueComponent","vincueModal","vinCueCreateAppraisal","odometer","mobilePhone","appraiser","userName","salesPerson","ICONS","editRights","viewRights","actions","employees","inventoryDashboard","admin","adminRoles-miscellaneous","onItemChecked","allow","onSubItemChecked","subitem","filterSubItemsByCategoryId","categoryId","i33","i34","i35","i36","i37","i38","i39","i40","i41","i42","i43","i44","i45","i46","i47","i48","i49","i50","i51","i52","i53","i54","i55","i56","i57","i58","i59","i60","i61","i62","i63","i64","i65","i66","i67","i68","i69","i70","i71","i72","i73","i74","i75","i76","i77","i78","i79","i80","i81","i82","i83","RenderType_MobileVehiclesComponent","View_MobileVehiclesComponent_1","View_MobileVehiclesComponent_3","View_MobileVehiclesComponent_2","View_MobileVehiclesComponent_4","View_MobileVehiclesComponent_5","View_MobileVehiclesComponent_6","View_MobileVehiclesComponent_7","View_CarproofComponent_0","RenderType_CarproofComponent","CarproofComponent","View_MobileVehiclesComponent_0","View_TagsComponent_0","RenderType_TagsComponent","View_VehicleSummaryComponent_0","RenderType_VehicleSummaryComponent","VehicleSummaryComponent","isReplacement","View_SaleTypeComponent_0","RenderType_SaleTypeComponent","SaleTypeComponent","conquestType","View_PaymentsComponent_0","RenderType_PaymentsComponent","PaymentsComponent","contract","View_AllowedMileageComponent_0","RenderType_AllowedMileageComponent","AllowedMileageComponent","View_RepairOrdersComponent_0","RenderType_RepairOrdersComponent","RepairOrdersComponent","View_ProjectedMileageComponent_0","RenderType_ProjectedMileageComponent","View_MileagePenaltyComponent_0","RenderType_MileagePenaltyComponent","MileagePenaltyComponent","projected","View_CashPaidComponent_0","RenderType_CashPaidComponent","View_CashDownComponent_0","RenderType_CashDownComponent","CashDownComponent","View_PayoffComponent_0","RenderType_PayoffComponent","PayoffComponent","paymentsRemaining","paidOff","residualAmount","View_ExtendedWarrantyComponent_0","RenderType_ExtendedWarrantyComponent","ExtendedWarrantyComponent","replacementVehicleType","trimPlanPriceSourceName","trimPlanPriceSourceId","View_DealerRebateComponent_0","RenderType_DealerRebateComponent","programDetails","PreferredEquityComponent","LoyaltyRebateComponent","vehicleType","View_FinancedAmountComponent_0","RenderType_FinancedAmountComponent","FinancedAmountComponent","View_CapitalCostComponent_0","RenderType_CapitalCostComponent","tags","allowedMileage","eighteenMonthServiceCount","lastOdometerReadingDate","estimatedMaturityMileage","currentMileagePenalty","estimatedMileagePenalty","cashPaid","cashDown","lastPaymentDate","tradeSourceID","replacement","isFlexAlert","isOverAllowance","factoryRebate","programSourceID","dealerRebate","preferredEquity","loyaltyRebate","financedAmount","capitalCost","used","cpo","View_MobileVehiclesComponent_Host_0","MobileVehiclesComponentNgFactory","pubnub_1","EventTypes","dmsPushResponse","messagingClient","messageReceivedSubject","statusReceivedSubject","notificationServiceEnabled","message$","statusReceived","eventType","connect","connectWithConfig","pubNubConfig","err_1","pubnub","subscribeKey","subscriptionKey","authKey","authorizationKey","ssl","addListener","parsedEvent","channels","channelGroups","ARG","tryGet","callee","oem","PandoXRuleCategory","Sales","Service","InventoryAcquisition","Conquest","PandoXRuleCategoryReverse","UNSCOPABLES","PandoAvailabilityComponent","availability","chatStaff","Availability","availabilityReasons","busyNote","busySelectedOption","busyForMinutes","unavailableNote","unavailableSelectedOption","isDropdownVisible","currentStateImage","userAvailability","Available","Busy","NotAvailable","modelUserSelection","errorMsgKey","trackByBusyReasonsById","Id","trackByUnavailableReasonsById","reasons","busyReasons","BusyReasons","unavailableReasons","UnavailableReasons","resetUI","setUnAvailable","showSuccessMessage","showWarningMessage","onUserAvailabilityClick","toggleAvailabilitySwitch","validateBusyMin","submitAvailabilityStatus","cbrt","OpenBatchPOSTResponse","entityIds","OpenBatchPOST","GetDealerStatusesGETResponse","OpenBatchPOSTPath","GetDealerStatusesGETPath","NEGATIVE_ZERO","searchElement","activity_client_service_1","activity_history_client_service_1","announcement_client_service_1","AnnouncementClientService","cache_management_client_service_1","change_log_client_service_1","credit_soft_pull_result_entity_del_client_service_1","customer_client_service_1","customer_activity_history_client_service_1","customer_contact_history_client_service_1","customer_workflow_client_service_1","CustomerWorkflowClientService","dealer_client_service_1","dealer_asset_client_service_1","dealer_price_client_service_1","dealer_rates_client_service_1","dealer_rebate_client_service_1","dealer_search_client_service_1","dealer_setting_client_service_1","dealer_smtp_setting_client_service_1","DealerSmtpSettingClientService","dealer_tradein_client_service_1","dealer_upgrade_proposal_setting_client_service_1","DealerUpgradeProposalSettingClientService","deal_sheet_client_service_1","deskit_client_service_1","DeskitClientService","discrepancy_report_client_service_1","DiscrepancyReportClientService","email_conversation_client_service_1","entity_client_service_1","entity_opportunity_client_service_1","EntityOpportunityClientService","eula_client_service_1","eula_history_client_service_1","EulaHistoryClientService","ext_customer_activity_client_service_1","ford_credit_approval_client_service_1","FordCreditApprovalClientService","inventory_client_service_1","InventoryClientService","log_client_service_1","make_client_service_1","MakeClientService","messaging_client_service_1","model_client_service_1","ModelClientService","pando_claim_client_service_1","PandoClaimClientService","pando_passthrough_client_service_1","print_offer_batch_client_service_1","replacement_client_service_1","role_client_service_1","RoleClientService","sale_client_service_1","search_client_service_1","SearchClientService","tag_client_service_1","text_message_client_service_1","TextMessageClientService","trim_client_service_1","TrimClientService","trim_alternate_offer_client_service_1","user_client_service_1","user_module_access_client_service_1","user_profile_client_service_1","UserProfileClientService","user_search_condition_client_service_1","UserSearchConditionClientService","vehicle_final_trade_value_temp_change_client_service_1","vehicle_user_trade_value_client_service_1","__g","View_CarproofComponent_1","View_CarproofComponent_2","showCarProofLink","View_CarproofComponent_Host_0","CarproofComponentNgFactory","DealSheetTabs","alertsAndScripts","currentVehicleDetails","replacementVehicleDetails","activityAndNotes","dealHistory","changeLog","RenderType_RecentDealSheetsComponent","View_RecentDealSheetsComponent_2","View_RecentDealSheetsComponent_3","getAlertObjects","clientName","View_RecentDealSheetsComponent_1","recentDealSheets","View_RecentDealSheetsComponent_0","toggleRecentDealSheets","View_RecentDealSheetsComponent_Host_0","RecentDealSheetsComponent","RecentDealSheetsComponentNgFactory","StoreVehicleUserTradeValueResponse","StoreVehicleUserTradeValue","GetVehicleUserTradeValueResponse","StoreVehicleUserTradeValuePath","GetVehicleUserTradeValuePath","View_PaymentsComponent_3","months","amount","View_PaymentsComponent_4","minAmount","maxAmount","paymentMinimum","paymentMaximum","View_PaymentsComponent_5","View_PaymentsComponent_6","paymentsRemainingMo","View_PaymentsComponent_2","flex","conquestTypes","View_PaymentsComponent_9","View_PaymentsComponent_10","View_PaymentsComponent_8","absoluteValue","View_PaymentsComponent_11","termBeforeImprovement","paymentBeforeImprovement","View_PaymentsComponent_7","shouldShowPaymentBeforeImprovement","View_PaymentsComponent_12","View_PaymentsComponent_1","View_PaymentsComponent_Host_0","PaymentsComponentNgFactory","compass","endPos","View_CashDownComponent_1","View_CashDownComponent_Host_0","CashDownComponentNgFactory","View_DealerRebateComponent_1","View_DealerRebateComponent_Host_0","DealerRebateComponentNgFactory","CalendarDateRangeComponent","localeId","intlService","dateRangeSelect","presetDateRangeSelect","lastPreselect","currentPreselect","maxEndDate","minStartDate","defaultEndDate","endDate","defaultStartDate","startDate","isDurationError","isDurationNullError","isFromDtGreaterThanToDt","enCADateFormat","manualForcedDateFormat","defaultSelectedPresetType","dateSelected","kendoDateRangeSelectionDirective","handleChange","onToggle","onUpdate","onPresetSelect","presetType","checkOneYearDateRangeValidation","endMoment","startMoment","duartionOfYearInDays","isLeapYear","handleSelectionRange","selRange","onStartChange","onEndChange","isFutureDate","isValidDate","_dealsheetClose","iconClassForReviewRating","onlineReviewRating","admin_settings_vhr_disclaimer_component_1","dealerSettingService","localNumberSearchExecuted","localNumberSearchExecutedCXM","AccessRight","AccessRights","placeHolderNumberText","singleSelection","selectAllText","enableSearchFilter","badgeShowLimit","labelKey","primaryKey","getTwilioNumber","SendTextSalesCXM","SendTextServiceCXM","dealerOrphanOwner","Boolean","dealerTwilioPhoneNumber","twilioPhoneNumber","unformatPhoneNumber","endResult","phoneText","charCodeAt","AdminSettingsVHRDisclaimerComponent","acceptDisclaimer","allNumbersUnique","isUnique","isStateSearch","rObj","PricingPlanTypes","noPlan","azPlan","xPlanPartners","xPlanFriends","GetCustomerActivityHistoryByEntityidGETResponse","GetCustomerActivityHistoryByEntityidGETPath","GetStatusGETResponse","GetStatusGET","PostResponseByEulaidByEularesponsetypeidPOSTResponse","eulaId","eulaResponseTypeId","PostResponseByEulaidByEularesponsetypeidPOST","GetStatusGETPath","PostResponseByEulaidByEularesponsetypeidPOSTPath","core","version","__e","RenderType_NloInfoModalComponent","View_NloInfoModalComponent_1","communicationSource","communicationText","View_NloInfoModalComponent_0","markAsNLO","View_NloInfoModalComponent_Host_0","NloInfoModalComponent","NloInfoModalComponentNgFactory","review_pro_rating_1","notification_service_1","CustomerEngagementService","notificationService","dealSheetClient","getCustomerEngagementLastViewed","GetCustomerEngagementLastViewedGET","getCustomerEngagement","hoursBack","subtract","IncludeReviewPro","lastViewedResponse","lastViewedDateUTC","CustomerEngagementHistoryGET","engagementsResponse","engagements","lastViewed","combinedResponse","engagementEventGroupId","engagementEventTypeId","utcStringToLocalDate","one2oneCount","one2OneCount","emailCount","textMessageCount","autoAssistantCount","webCount","serviceCount","reviewCount","intelligentMarketingCount","geoAlertCount","lastViewedCount","RATING_ICONS","RATING_TITLES","getCustomerEngagementByGroup","hotLeadsOnly","notWorkedOnly","engagementEventGroupIds","CustomerEngagementDashboardPOST","getCustomerEngagementsByEntity","CustomerEngagementsByEntityPOST","markCustomerEngagementsViewed","UpdateCustomerEngagementLastViewedPOST","RenderType_Carfaxv2Component","View_Carfaxv2Component_1","View_Carfaxv2Component_2","outsideClick","View_Carfaxv2Component_3","View_Carfaxv2Component_0","View_Carfaxv2Component_Host_0","Carfaxv2Component","Carfaxv2ComponentNgFactory","isLoggedIn","submitSubject","GetReplacementSpecificsGETResponse","GetReplacementUpDownGETResponse","SaveBulkReplacementsByDefaultdealeridPOSTResponse","BulkDeletePOSTResponse","__body","GetReplacementSpecificsGETPath","GetReplacementUpDownGETPath","SaveBulkReplacementsByDefaultdealeridPOSTPath","BulkDeletePOSTPath","RenderType_TextMessageActivityComponent","View_TextMessageActivityComponent_3","userFirstName","userLastName","View_TextMessageActivityComponent_4","customerFirstName","customerLastName","View_TextMessageActivityComponent_6","viewUpgradeProposal","View_TextMessageActivityComponent_5","View_TextMessageActivityComponent_2","user-message","customer-message","row","handleUpgradeProposalLinkClick","outgoing","hasUpgradeProposalLink","formatSentDateTime","safeMessage","View_TextMessageActivityComponent_1","View_TextMessageActivityComponent_0","displayMessages","salesOrServiceLabel","sentBy","View_TextMessageActivityComponent_Host_0","TextMessageActivityComponent","TextMessageService","TextMessageActivityComponentNgFactory","RenderType_AdminTemplatesComponent","View_AdminTemplatesComponent_2","View_AdminTemplatesComponent_1","View_AdminTemplatesComponent_4","View_AdminTemplatesComponent_3","isActiveInLeadManagement","View_AdminTemplatesComponent_5","View_AdminTemplatesComponent_6","View_AdminTemplatesComponent_8","View_AdminTemplatesComponent_7","View_AdminTemplatesComponent_9","View_PagerPrevButtonsComponent_0","RenderType_PagerPrevButtonsComponent","PagerPrevButtonsComponent","LocalizationService","PagerContextService","View_PagerNumericButtonsComponent_0","RenderType_PagerNumericButtonsComponent","PagerNumericButtonsComponent","buttonCount","View_PagerNextButtonsComponent_0","RenderType_PagerNextButtonsComponent","PagerNextButtonsComponent","View_PagerInfoComponent_0","RenderType_PagerInfoComponent","PagerInfoComponent","View_AdminTemplatesComponent_10","View_AdminTemplatesComponent_13","View_AdminTemplatesComponent_12","View_AdminTemplatesComponent_15","View_AdminTemplatesComponent_16","View_AdminTemplatesComponent_14","View_AdminTemplatesComponent_18","View_AdminTemplatesComponent_17","View_AdminTemplatesComponent_11","FormControlName","ɵangular_packages_forms_forms_q","View_AdminTemplatesComponent_0","deselect","View_GridComponent_0","RenderType_GridComponent","SuspendService","ResizeService","SinglePopupService","PopupService","NgZone","ScrollSyncService","DragAndDropService","DragHintService","Sanitizer","DropCueService","IdService","BrowserSupportService","DomEventsService","LocalDataChangesService","SelectionService","GroupInfoService","GroupsService","Skip","ChangeNotificationService","DetailsService","EditService$1","FilterService","PDFService","ResponsiveService","ExcelService","L10N_PREFIX","MessageService","RTL","ColumnResizingService","ColumnReorderService","ColumnInfoService","ScrollRequestService","FocusRoot","NavigationService","FocusableDirective","SortService","GridComponent","filterable","sortable","pageable","detailTemplateChildren","noRecordsTemplateChildren","pagerTemplateChildren","toolbarTemplateChildren","columnMenuTemplates","CELL_CONTEXT","EMPTY_CELL_CONTEXT","View_ColumnComponent_0","RenderType_ColumnComponent","ColumnComponent","headerTemplates","footerTemplate","groupHeaderTemplate","groupFooterTemplate","filterCellTemplate","filterMenuTemplate","ColumnBase","CellTemplateDirective","PagerTemplateDirective","FormGroupDirective","getSMTPSettingEnum","currVal_41","currVal_68","hostClasses","lockedClasses","virtualClasses","columnResizing","noScrollbarClass","View_AdminTemplatesComponent_Host_0","AdminTemplatesComponentNgFactory","sales","callCenter","dsService","UpdateSelfRegisrtationLink","defaultTrimID","modelID","trims","models","selectedModelId","selectedYear","updateModelsTrims","updateTrims","GetTradeInSource","extTradeValueSourceID","extTradeValueTier","selfRegistrationLink","registrationCode","$parseInt","$trim","ws","hex","radix","i84","i85","i86","i87","i88","i89","i90","i91","i92","i93","i94","i95","i96","i97","i98","i99","i100","i101","i102","i103","i104","i105","i106","i107","i108","i109","i110","i111","i112","i113","i114","i115","i116","i117","i118","i119","i120","i121","i122","i123","i124","i125","i126","i127","i128","i129","i130","i131","i132","i133","i134","i135","i136","i137","i138","i139","i140","i141","i142","i143","i144","i145","i146","i147","i148","i149","i150","i151","i152","i153","i154","i155","i156","i157","i158","i159","i160","i161","i162","i163","i164","i165","i166","i167","i168","i169","i170","i171","i172","i173","i174","i175","i176","i177","i178","i179","i180","i181","i182","i183","i184","i185","i186","i187","i188","i189","i190","i191","i192","i193","i194","i195","i196","i197","i198","i199","i200","i201","i202","i203","i204","i205","i206","i207","i208","i209","i210","i211","i212","i213","i214","i215","i216","i217","i218","i219","i220","i221","i222","i223","i224","i225","i226","i227","i228","i229","i230","i231","i232","i233","i234","i235","i236","i237","i238","i239","i240","i241","i242","AppModuleNgFactory","ɵcmf","AppModule","ɵmod","ɵmpd","ɵCodegenComponentFactoryResolver","UIViewNgFactory","PopupComponentNgFactory","StringFilterCellComponentNgFactory","NumericFilterCellComponentNgFactory","BooleanFilterCellComponentNgFactory","DateFilterCellComponentNgFactory","StringFilterMenuComponentNgFactory","NumericFilterMenuComponentNgFactory","DateFilterMenuComponentNgFactory","BooleanFilterMenuComponentNgFactory","DefaultBusyComponentNgFactory","ɵcNgFactory","UIViewNgUpgradeNgFactory","ModalBackdropComponentNgFactory","ModalContainerComponentNgFactory","PopoverContainerComponentNgFactory","TypeaheadContainerComponentNgFactory","BsDatepickerContainerComponentNgFactory","BsDaterangepickerContainerComponentNgFactory","BsDatepickerInlineContainerComponentNgFactory","NgxToasterNgFactory","MoreVehicleOffersComponentNgFactory","OnDemandOffersComponentNgFactory","TextActionComponentNgFactory","CalendarDateRangeComponentNgFactory","AdminSettingsProductComponentNgFactory","AdminSettingsProgramsComponentNgFactory","AdminRolesSelectorComponentNgFactory","AdminRolesModalAddEditComponentNgFactory","AdminSettingsModalSendTestLeadComponentNgFactory","AdminSettingsVHRDisclaimerComponentNgFactory","AdminSettingsAdvancedComponentNgFactory","AdminSettingsCreditConvertComponentNgFactory","AdminSettingsCrmLeadsDeliveryComponentNgFactory","IconComponentNgFactory","DealHistoryComponentNgFactory","DefaultTabActionComponentNgFactory","SearchPresetsComponentNgFactory","DisplayModalComponentNgFactory","PandoAvailabilityComponentNgFactory","PandoUnreadMessagesComponentNgFactory","StockNumberSearchComponentNgFactory","ModalComponentNgFactory","DashboardAgendaComponentNgFactory","CustomerCultureSelectComponentNgFactory","MobileDealSheetComponentNgFactory","CustomerInfoComponentNgFactory","MobileActivitiesComponentNgFactory","MobileReplacementContractComponentNgFactory","DealSheetProcessComponentNgFactory","LogActionShortcutsComponentNgFactory","CustomerConnectActionsComponentNgFactory","RepairOrdersComponentNgFactory","ProjectedMileageComponentNgFactory","MileagePenaltyComponentNgFactory","VehicleSummaryComponentNgFactory","SaleTypeComponentNgFactory","AllowedMileageComponentNgFactory","CashPaidComponentNgFactory","DateInputComponentNgFactory","TagsComponentNgFactory","PayoffComponentNgFactory","PayoffInputModalComponentNgFactory","FinancedAmountComponentNgFactory","ExtendedWarrantyComponentNgFactory","CapitalCostComponentNgFactory","DeskitComponentNgFactory","VautoModalComponentNgFactory","VinCueComponentNgFactory","DmsPushComponentNgFactory","NgModuleRef","LOCALE_ID","ɵangular_packages_core_core_p","NgLocalization","NgLocaleLocalization","ɵangular_packages_common_common_a","ɵangular_packages_core_core_ba","ɵangular_packages_core_core_r","Compiler","APP_ID","ɵangular_packages_core_core_f","ɵangular_packages_core_core_n","ɵangular_packages_core_core_o","ɵDomSanitizerImpl","HAMMER_GESTURE_CONFIG","HammerGestureConfig","EVENT_MANAGER_PLUGINS","p0_1","p0_2","p2_0","p2_1","p2_2","p2_3","ɵDomEventsPlugin","ɵKeyEventsPlugin","ɵHammerGesturesPlugin","PLATFORM_ID","ɵConsole","HAMMER_LOADER","EventManager","ɵDomSharedStylesHost","ɵDomRendererFactory2","AnimationDriver","ɵangular_packages_platform_browser_animations_animations_a","ɵAnimationStyleNormalizer","ɵangular_packages_platform_browser_animations_animations_b","ɵAnimationEngine","ɵInjectableAnimationEngine","ɵangular_packages_platform_browser_animations_animations_c","ɵSharedStylesHost","Testability","ɵBrowserAnimationBuilder","HttpXsrfTokenExtractor","ɵangular_packages_common_http_http_g","ɵangular_packages_common_http_http_e","ɵangular_packages_common_http_http_h","ɵangular_packages_common_http_http_f","WINDOW_REF","browserWindowFactory","crossDomainStorageServiceFactory","ɵangular_packages_upgrade_static_static_a","ToasterService","HTTP_INTERCEPTORS","p4_0","p4_1","p4_2","p4_3","p4_4","p4_5","NgNoCacheInterceptor","NgContentTypeInterceptor","NgOidcHttpInterceptor","ɵangular_packages_common_http_http_d","XhrFactory","HttpXhrBackend","HttpHandler","ɵHttpInterceptingHandler","DOMService","CenturyViewService","DecadeViewService","MonthViewService","IntlService","YearViewService","WeekNamesService","POPUP_CONTAINER","BusViewService","DOMService$1","HoursService","MinutesService","SecondsService","DayPeriodService","ResizeBatchService","BusyConfig","ɵangular_packages_upgrade_static_static_b","ɵangular_packages_upgrade_static_static_c","ɵangular_packages_upgrade_static_static_d","getUIRouter","uiRouterUpgradeFactory","StateRegistry","fnStateRegistry","getParentUIViewInject","fnStateService","TransitionService","fnTransitionService","UrlMatcherFactory","fnUrlMatcherFactory","UrlRouter","fnUrlRouter","UrlService","fnUrlService","ViewService","fnViewService","UIRouterGlobals","fnGlobals","ToasterContainerComponent","DeviceDetectorService","TypeaheadConfig","ɵc","ɵe","BsDatepickerConfig","BsDaterangepickerConfig","BsDatepickerInlineConfig","BsLocaleService","ɵd","AdaptivePositionPipe","WindowWrapper","CommonModule","UIRouterModule","ErrorHandler","ɵangular_packages_platform_browser_platform_browser_a","APP_INITIALIZER","ɵangular_packages_platform_browser_platform_browser_j","initApiConfiguration","NgProbeToken","ApplicationInitStatus","ApplicationModule","BrowserModule","BrowserAnimationsModule","HttpClientXsrfModule","HttpClientModule","AlertminerApiModule","EventsModule","CalendarCommonModule","IntlModule","TemplatesModule","VirtualizationModule","CalendarModule","PopupModule","MultiViewCalendarModule","CalendarsModule","DateInputModule","DatePickerModule","TimePickerModule","DateRangeModule","DateInputsModule","ɵangular_packages_forms_forms_d","FormsModule","DraggableModule","SharedModule","DragAndDropModule","GroupModule","ReactiveFormsModule","NumericTextBoxModule","BodyModule","ResizeSensorModule","SharedDirectivesModule","DropDownListModule","AutoCompleteModule","TextBoxModule","SliderModule","SwitchModule","MaskedTextBoxModule","ColorPickerModule","InputsModule","SharedFilterModule","RowFilterModule","FilterMenuModule","ColumnMenuModule","HeaderModule","FooterModule","PagerModule","GridModule","NgBusyModule","AngularMultiSelectModule","ToasterModule","TranslateModule","UpgradeModule","UIRouterUpgradeModule","Ng5SliderModule","DeviceDetectorModule","ModalModule","TabsModule","CollapseModule","TypeaheadModule","BsDatepickerModule","TimepickerModule","ButtonsModule","TranslateStore","TranslateLoader","TranslateFakeLoader","TranslateCompiler","TranslateFakeCompiler","TranslateParser","TranslateDefaultParser","MissingTranslationHandler","FakeMissingTranslationHandler","USE_DEFAULT_LANG","USE_STORE","ɵAPP_ROOT","ANIMATION_MODULE_TYPE","TOUCH_ENABLED","touchEnabled","UIROUTER_ROOT_MODULE","ɵ0","UIROUTER_MODULE_TOKEN","ROUTES","FordFBATypes","gold","blue","lincolnCPO","en_CA_json_1","en_GB_json_1","en_US_json_1","es_US_json_1","fr_CA_json_1","fr_FR_json_1","BehaviorSubject","configureTranslation","setDefaultLang","setTranslation","dateInput","onKeyup","BsDatepickerDirective","bsConfig","BsDatepickerInputDirective","dateInputForm","nullDate","View_DateInputComponent_Host_0","CustomerRecap","Access","NewVehicle","Alert","Flex","Conversion","Appointment","Mileage","ContractEnd","AllowExport","AllowBatchReassigning","AllowBatchAccess","ViewAllCustomers","EditLayout","Scheduled","Locked","ViewAllConquests","ShareSearch","TemplateSettings","TemplateOutput","SwitchUserDealer","PcuVisit","AdminCreditConvert","EditCreditConvert","GrossProfitDetails","CurrentVehicleRecentRO","CurrentVehicleMileage","CurrentVehicleDelivery","CurrentVehicleProjectedMileage","CurrentVehicleBank","CurrentVehicleSoldAs","DestinationFeeAsEditable","AdministerCreditConvert1Point5","HaveNotServiced","DueForService","ViewSDOSettings","DirectAlertSettings","ChangeExpirationSetting","SelfRegistrationAccess","AutoAlertSupport","ProductSettingAccess","DirectAlert","TextMessageNewNumberSettings","newIndex","temp","order","$every","every","View_CustomerConnectDetailComponent_Host_0","CustomerConnectDetailComponentNgFactory","RenderType_DefaultTabActionComponent","View_DefaultTabActionComponent_1","View_DefaultTabActionComponent_2","onClickMarkAsDefault","View_DefaultTabActionComponent_0","defaultTab","currentTab","View_DefaultTabActionComponent_Host_0","DefaultTabActionComponent","CookieStorage","domain","keyPrefix","KNOWN_KEYS","cookies","cookie","prefixedKey","addKeyPrefix","cookieSafeValue","cookieValue","makeCookieString","keyValueString","domainString","pathString","secureString","expiresString","prevValue","intervalHandle","valueStringify","components","_delay","_endDelay","_fill","_iterationStart","_iterations","_duration","_playbackRate","_direction","_easing","_easingFunction","isDeprecated","duration","w","h","animationTimingFunction","middle","endDelay","H","I","J","_setMember","_effect","_timingInput","_timing","normalizeTimingInput","activeDuration","calculateActiveDuration","_animation","_rebuildUnderlyingAnimation","playbackRate","iterationStart","timing","easing","iterations","ease","ease-in","ease-out","ease-in-out","step-start","step-middle","step-end","cloneTimingInput","makeTiming","numericTimingToObject","calculateIterationProgress","q","calculatePhase","normalizeEasing","parseEasingFunction","composite","background","borderBottom","borderColor","borderLeft","borderRadius","borderRight","borderTop","borderWidth","font","createElementNS","thin","medium","thick","borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","xx-small","x-small","small","large","x-large","xx-large","fontWeight","normal","outlineWidth","textShadow","boxShadow","convertToArrayForm","normalizeKeyframes","DOMException","NOT_SUPPORTED_ERR","setMonth","deprecated","animate","convertEffectInput","applyFrom","applyTo","easingFunction","interpolation","propertyInterpolation","addPropertiesHandler","backgroundPosition","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderLeftColor","borderRightColor","borderSpacing","borderTopColor","borderTopLeftRadius","borderTopRightRadius","clip","letterSpacing","maxWidth","minWidth","opacity","outlineColor","outlineOffset","paddingBottom","paddingLeft","paddingRight","paddingTop","strokeDasharray","strokeDashoffset","textIndent","verticalAlign","visibility","wordSpacing","Interpolation","KeyframeEffect","_totalDuration","_update","_clear","_hasSameTarget","_target","_id","_element","_surrogateStyle","_style","_length","_isAnimatedProperty","_updateSvgTransformAttr","namespaceURI","_savedTransformAttr","_updateIndices","_webAnimationsPatchedStyle","_set","cssText","parentRule","getPropertyCSSValue","getPropertyPriority","getPropertyValue","removeProperty","setProperty","unprefixedPropertyName","getAttribute","transformToSvgMatrix","propertyName","timeline","_play","composeMatrix","quat","dot","acos","sin","cos","sequenceNumber","currentTime","timelineTime","bubbles","cancelable","currentTarget","defaultPrevented","eventPhase","AT_TARGET","Animation","_sequenceNumber","_currentTime","_startTime","_paused","_inTimeline","_finishedFlag","onfinish","_finishHandlers","_inEffect","_idle","_currentTimePending","_ensureAlive","_animations","_tickCurrentTime","_isFinished","restart","_timeline","applyDirtiedAnimation","startTime","playState","_rewind","play","pause","finish","reverse","_fireEvents","_tick","_needsTick","pending","_targetAnimations","_activeAnimations","_markTarget","_unmarkTarget","requestAnimationFrame","cancelAnimationFrame","deg","grad","turn","PI","rad","tan","makeMatrixDecomposition","transformListToMatrix","consumeToken","consumeTrimmed","consumeRepeated","consumeParenthesised","ignore","optional","consumeList","mergeNestedRepeated","mergeWrappedNestedRepeated","mergeList","inset","lengths","consumeLengthOrPercent","consumeColor","mergeDimensions","mergeColors","toFixed","clamp","parseNumber","parseNumberList","mergeNumbers","numberToString","fillStyle","fillRect","getImageData","clearRect","getContext","parseLength","parseLengthOrPercent","parseAngle","consumeSizePairList","mergeNonNegativeSizePair","parseBox","mergeBoxes","N","lastIndex","decompositionPair","matrix","matrix3d","rotate","rotatex","rotatey","rotatez","rotate3d","perspective","scale","scalex","scaley","scalez","scale3d","skew","skewx","skewy","translatex","translatey","translatez","translate3d","%","consumePosition","mergeOffsetList","oncancel","_cancelHandlers","getComputedStyle","true","Attributes","postNote","sendToCompass","sendToCrm","keyMetadata","MetadataKey","MetadataValue","activity_types_1","activity_types_2","deal_sheet_tabs_1","change_log_type_1","ChangeLogType","activity_statuses_1","activity_actions_1","crm_activity_types_1","customer_activity_types_1","email_from_types_1","authorization_keys_1","alert_type_descriptors_1","alert_types_1","sub_menu_1","translate_error_keys_1","contact_types_1","search_preset_types_1","trim_price_plan_source_1","pricing_plan_types_1","activity_result_type_descriptors_1","activity_status_types_1","activity_icon_classes_1","pandox_rule_category_1","customer_cultures_1","eula_status_types_1","access_rights_1","activity_sub_types_1","product_types_1","conquest_types_1","opportunity_statuses_1","OpportunityStatuses","opportunity_types_1","discrepancy_types_1","vehicle_types_1","storage_keys_1","payment_types_1","sale_types_1","ActivityActionEnum_1","activity_results_1","customer_process_statuses_1","translate_keys_1","TranslateKeys","activity_result_descriptors_1","program_source_types_1","ProgramSourceTypes","export_campaign_types_1","ford_fba_types_1","$sort","comparefn","text_message_service_1","domSanitizer","textMessageService","localeDatetimePipe","SalesOrService","authorizationKeys","sub","translatedCustomerLabel","getSentByLabel","replaceUrlStringWithHtmlLink","downloadUpgradeProposalByActivity","downloadUpgradeProposalIfAvailable","toLocaleTimeString","currentLang","hour","minute","customerLabel","customerSentBy","userSentByMap","userId","userSentBy","windowNames","getWindowNames","customerCultures","selectCultureEmptyValueText","selectedCultureName","selectLabelKey","selectCultureLabel","GetAnnouncementForUserGETResponse","GetAnnouncementForUserGET","UpdateAnnouncementUserDisplayByAnnouncementidPUTResponse","announcementId","doNotDisplay","UpdateAnnouncementUserDisplayByAnnouncementidPUT","GetAnnouncementForUserGETPath","UpdateAnnouncementUserDisplayByAnnouncementidPUTPath","RenderType_DeskitComponent","View_DeskitComponent_1","View_DeskitComponent_0","View_DeskitComponent_Host_0","$indexOf","View_AdminSettingsAdvancedComponent_1","View_AdminSettingsAdvancedComponent_2","View_AdminSettingsAdvancedComponent_3","View_AdminSettingsAdvancedComponent_4","trimName","View_AdminSettingsAdvancedComponent_5","View_AdminSettingsAdvancedComponent_7","includeActivityOnDealSheet","vendorName","View_AdminSettingsAdvancedComponent_6","extDealerVendor","useTradeMileageAdjustment","enableCustomAPRForSubprime","customAPRForSubprimeMax","customAPRForSubprimeValue","customAPRForSubprimeCaptiveBankRebates","conversionAlertTolerence","enforcePasswordSecurity","includeCRMActivityInSearch","dealerMake","dealerMakeYears","isSelfRegistrationAccess","View_AdminSettingsAdvancedComponent_Host_0","RenderType_SearchPresetsComponent","View_SearchPresetsComponent_1","View_SearchPresetsComponent_3","View_SearchPresetsComponent_4","View_SearchPresetsComponent_5","View_SearchPresetsComponent_6","View_SearchPresetsComponent_7","View_SearchPresetsComponent_8","View_SearchPresetsComponent_9","View_SearchPresetsComponent_10","View_SearchPresetsComponent_11","View_SearchPresetsComponent_12","View_SearchPresetsComponent_2","View_SearchPresetsComponent_0","View_SearchPresetsComponent_Host_0","$some","fordIncentives","cosh","View_ModalComponent_2","View_ModalComponent_1","ɵncd","closeIconVisible","View_ModalComponent_3","View_ModalComponent_4","View_ModalComponent_Host_0","GetExtByEntityidGETResponse","GetExtByEntityidGET","ReassignToUserIdPOSTResponse","ReassignToUserIdPOST","CreditPrescreenRequestByEntityidPOSTResponse","CreditPrescreenRequestByEntityidPOST","CreditPrescreenStatusByEntityidGETResponse","CreditPrescreenStatusByEntityidGET","MarkAsReadPOSTResponse","MarkAsReadPOST","CustomerDoesNotOwnVehicleByEntityidPOSTResponse","VehiclePurchasedByDealerByEntityidPOSTResponse","VehiclePaidOffByEntityidPOSTResponse","VehicleNotPaidOffByEntityidPOSTResponse","VehicleNotPaidOffByEntityidPOST","HasWarrantyByEntityidPOSTResponse","SoldWarrantyByEntityidPOSTResponse","UndoHasWarrantyByEntityidPOSTResponse","UndoHasWarrantyByEntityidPOST","UpdateMileagePOSTResponse","UpdateMileagePOST","MarkAsSoldByEntityidPOSTResponse","MarkAsSoldByEntityidPOST","WatchByEntityidPOSTResponse","WatchByEntityidPOST","UnwatchByEntityidPOSTResponse","UnwatchByEntityidPOST","ReopenByEntityidPOSTResponse","ReopenByEntityidPOST","UnmarkSoldWarrantyByEntityidPOSTResponse","UnmarkSoldWarrantyByEntityidPOST","GetEntityReportByCustomerIdByCustomeridGETResponse","GetEntityReportByCustomerIdByCustomeridGET","GetEntityReportByDealerIdAndVinByDealeridByVinGETResponse","GetEntityReportByDealerIdAndVinByDealeridByVinGET","GetEntityStatusByEntityidGETResponse","GetEntityStatusByEntityidGET","HasReviewProDealerByEntityidGETResponse","HasReviewProDealerByEntityidGET","HasGeoAlertDealerByEntityidGETResponse","HasGeoAlertDealerByEntityidGET","GetVehicleTurnPredictorByEntityidGETResponse","GetVehicleTurnPredictorByEntityidGET","GetActiveNLPNoLongerOwnByEntityidGETResponse","GetActiveNLPNoLongerOwnByEntityidGET","UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETResponse","agreed","UpdateActiveNLPNoLongerOwnByEntityidByAgreedGET","GetEntityScoreFeatureByEntityidGETResponse","GetEntityScoreFeatureByEntityidGET","ExternalGrantEntityAccessByEntityidByGrantuseridPOSTResponse","grantUserId","ExternalGrantEntityAccessByEntityidByGrantuseridPOST","ExternalRevokeEntityAccessByEntityidByUseridPOSTResponse","ExternalRevokeEntityAccessByEntityidByUseridPOST","ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTResponse","actingUserId","ownerUserId","entites","ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOST","GetExtByEntityidGETPath","ReassignToUserIdPOSTPath","CreditPrescreenRequestByEntityidPOSTPath","CreditPrescreenStatusByEntityidGETPath","MarkAsReadPOSTPath","CustomerDoesNotOwnVehicleByEntityidPOSTPath","VehiclePurchasedByDealerByEntityidPOSTPath","VehiclePaidOffByEntityidPOSTPath","VehicleNotPaidOffByEntityidPOSTPath","HasWarrantyByEntityidPOSTPath","SoldWarrantyByEntityidPOSTPath","UndoHasWarrantyByEntityidPOSTPath","UpdateMileagePOSTPath","MarkAsSoldByEntityidPOSTPath","WatchByEntityidPOSTPath","UnwatchByEntityidPOSTPath","ReopenByEntityidPOSTPath","UnmarkSoldWarrantyByEntityidPOSTPath","GetEntityReportByCustomerIdByCustomeridGETPath","GetEntityReportByDealerIdAndVinByDealeridByVinGETPath","GetEntityStatusByEntityidGETPath","HasReviewProDealerByEntityidGETPath","HasGeoAlertDealerByEntityidGETPath","GetVehicleTurnPredictorByEntityidGETPath","GetActiveNLPNoLongerOwnByEntityidGETPath","UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETPath","GetEntityScoreFeatureByEntityidGETPath","ExternalGrantEntityAccessByEntityidByGrantuseridPOSTPath","ExternalRevokeEntityAccessByEntityidByUseridPOSTPath","ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTPath","popoverModule","getDateTimeFormatString","getCultureFromStorage","getDateTimeMomentFormatString","thisCultureName","getDateMomentFormatString","getTimeMomentFormatString","getDateFormatString","getAlternateDateFormatString","getTimeFormatString","require","APP_SETTINGS_JSON","dPs","Empty","createDict","iframeDocument","lt","Properties","$iterators","TO_STRING_TAG","ArrayValues","DOMIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","collections","explicit","Collection","logCallTitleKey","postNotesTitleKey","logEmailSentTitleKey","cancelTitleCallKey","cancelTitleApptKey","completeTitleCallKey","completeTitleApptKey","scheduleTitleCallKey","scheduleTitleApptKey","rescheduleTitleCallKey","rescheduleTitleApptKey","reassignTitleCallKey","reassignTitleApptKey","scheduleAssignToErrorMsgKey","recentRepairOrdersAbbreviatedKey","recentRepairOrdersKey","SingularKey","bitmap","hot-flame","o2o-offer","pando","pando-outline","pando-offer-email","pando-settings","common-search","dealer-search","tag-search","rating-1star","rating-2star","rating-3star","rating-4star","rating-5star","auto-assign","clipboard-assigned","trash","share","unshare","info","email-sms","sms","geoalert","auto-assistant","hot-trade","o2o-im-filter","im-mail-sent","im-email-events","wish-list","info-i","info-warn","nlo","ai-manager","_b","SYMBOL","fns","strfn","rxfn","own","IS_FORCED","IS_GLOBAL","IS_PROTO","IS_BIND","expProto","U","$iterDefine","setSpecies","fastKey","SIZE","getEntry","entry","_f","def","GetRoleOptionsGETResponse","GetRoleOptionsGET","GetRoleAccessRightsByRoleidGETResponse","roleId","GetRoleAccessRightsByRoleidGET","GetRoleModuleAccessByRoleidGETResponse","GetRoleModuleAccessByRoleidGET","GetRoleModuleCategoriesByRoleidGETResponse","GetRoleModuleCategoriesByRoleidGET","GetRoleAccessRightCategoriesGETResponse","GetRoleAccessRightCategoriesGET","RoleAccessUpdateByRoleidGETResponse","moduleIdList","accessRightIdList","RoleAccessUpdateByRoleidGET","AddEditRolePOSTResponse","role","AddEditRolePOST","GetRoleOptionsGETPath","GetRoleAccessRightsByRoleidGETPath","GetRoleModuleAccessByRoleidGETPath","GetRoleModuleCategoriesByRoleidGETPath","GetRoleAccessRightCategoriesGETPath","RoleAccessUpdateByRoleidGETPath","AddEditRolePOSTPath","hint","GetOpportunitiesForEntityByEntityidGETResponse","GetOpportunitiesForEntityByEntityidGET","GetOpportunitiesForEntityByEntityidGETPath","recentRepairOrder","repairOrderDate","getTranslateKey","latestDate","RenderType_OnDemandOffersComponent","View_OnDemandOffersComponent_1","clickHandler","View_PaymentDifferenceComponent_0","RenderType_PaymentDifferenceComponent","getSelectedAttribute","imagePath","alternateVehicles","View_OnDemandOffersComponent_3","View_OnDemandOffersComponent_2","onMakeSelect","dealerGroupMakes","noRecommendationsLabel","View_OnDemandOffersComponent_0","toggleOnDemandDropSelect","showOffBrandDropSelect","getContainerClass","View_OnDemandOffersComponent_Host_0","OnDemandOffersComponent","selectedVehicle","mileage_edit_modal_component_1","readOnDate","updateMileAge","mileageValue","RenderType_NgxToaster","View_NgxToaster_1","View_NgxToaster_0","View_ToasterContainerComponent_0","RenderType_ToasterContainerComponent","toasterconfig","View_NgxToaster_Host_0","localeDateTime","localeTime","serviceAppointmentDateTime","serviceAppointmentDate","serviceAppointmentTime","MobileCustomerEmailComponent","View_VehicleSummaryComponent_1","oasis","View_VehicleSummaryComponent_3","View_VehicleSummaryComponent_4","planTranslationKey","View_VehicleSummaryComponent_5","View_VehicleSummaryComponent_6","averageTranslateKey","View_VehicleSummaryComponent_2","pricingPlanMsrp","trimPricePlanSource","View_VehicleSummaryComponent_8","View_VehicleSummaryComponent_9","View_VehicleSummaryComponent_7","View_VehicleSummaryComponent_11","View_VehicleSummaryComponent_10","View_VehicleSummaryComponent_12","View_VehicleSummaryComponent_14","View_VehicleSummaryComponent_16","fordOasisTooltip","View_VehicleSummaryComponent_15","View_VehicleSummaryComponent_13","View_VehicleSummaryComponent_17","View_VehicleSummaryComponent_Host_0","GetTrimsByModelIdByModelidGETResponse","GetTrimsByModelIdByModelidGET","GetTrimExtIdByTrimidGETResponse","GetTrimExtIdByTrimidGET","GetFuelEconomyComparisonByNewtrimidByEntityidGETResponse","newTrimId","GetFuelEconomyComparisonByNewtrimidByEntityidGET","GetFeatureComparisonByNewtrimidByEntityidGETResponse","GetFeatureComparisonByNewtrimidByEntityidGET","GetFeatureComparisonGETResponse","GetFeatureComparisonGET","GetTrimsByModelsPOSTResponse","modelIds","GetTrimsByModelIdByModelidGETPath","GetTrimExtIdByTrimidGETPath","GetFuelEconomyComparisonByNewtrimidByEntityidGETPath","GetFeatureComparisonByNewtrimidByEntityidGETPath","GetFeatureComparisonGETPath","GetTrimsByModelsPOSTPath","admin_settings_modal_sendtestlead_component_1","onDeliverAllOpportunitiesChanged","dealerAdfSetting","deliverOpportunityCreditConvert","deliverAllOpportunities","deliverOpportunityUpgrade","deliverOpportunityContractEnd","deliverOpportunityMileage","deliverOpportunityWarranty","arrayLike","mapfn","mapping","genericError","environment","logDebugEnabled","initQuickLinks","siteMapReadySubscription","onSiteMapLoaded","REPLACE","$replace","searchValue","replaceValue","toaster_logger_service_1","text_action_component_1","more_vehicle_offers_component_1","on_demand_offers_component_1","calendar_date_range_component_ng_1","trade_source_logo_component_1","deal_history_component_1","text_message_activity_component_1","admin_roles_component_1","admin_roles_modal_addedit_component_1","admin_roles_selector_component_1","search_preset_service_1","cross_domain_storage_service_1","storage_service_1","log_factory_service_1","token_service_1","stock_number_search_service_1","user_service_1","search_presets_component_1","pando_communication_service_1","recent_deal_sheet_service_1","customer_culture_select_component_1","fr_1","alertminer_api_configuration_1","activity_service_1","dashboard_opportunities_table_component_ng_1","alerts_component_ng_1","auto_assistant_service_1","alert_component_ng_1","icon_component_1","default_tab_action_component_1","admin_templates_component_1","menu_service_1","customer_service_1","ngx_toaster_component_1","user_settings_component_1","tagged_customers_component_1","stock_number_search_component_1","pando_availability_component_1","pando_unread_messages_component_1","recent_deal_sheets_component_1","impersonation_status_component_1","search_preset_counts_component_1","dealer_service_1","customer_engagement_service_1","modal_component_1","communication_api_service_1","quick_links_component_1","dashboard_agenda_component_1","authorization_service_1","data_entry_service_1","opportunity2_service_1","type_of_call_component_1","logged_in_data_initialization_service_1","vehicle_summary_component_1","sale_type_component_1","payments_component_1","annual_percentage_rate_component_1","allowed_mileage_component_1","money_factor_component_1","repair_orders_component_1","service_appointment_component_1","mileage_edit_action_component_1","projected_mileage_component_1","mileage_penalty_component_1","cash_paid_component_1","trade_in_value_component_1","cash_down_component_1","payoff_component_1","contract_end_component_1","extended_warranty_component_1","auto_check_component_1","tags_component_1","carfax_component_1","carfaxv2_component_1","carproof_component_1","replacement_vehicle_offers_component_1","factory_rebate_component_1","dealer_rebate_component_1","price_component_1","financed_amount_component_1","capital_cost_component_1","residual_component_1","customer_connect_component_1","open_process_modal_component_1","log_action_shortcuts_component_1","log_action_shortcut_service_1","date_input_component_1","date_format_service_1","payoff_input_modal_component_1","deskit_component_1","vauto_component_1","vincue_component_1","dms_push_component_1","score_info_component_1","score_info_modal_component_1","nlo_info_component_1","nlo_info_modal_component_1","directive","downgradeComponent","MoreVehicleOffersComponent","TextActionComponent","DealHistoryComponent","StockNumberSearchComponent","PandoUnreadMessagesComponent","downgradeInjectable","registerLocaleData","INIT_API_CONFIGURATION","multi","upgrade","ngDoBootstrap","bootstrap","getElementById","strictDi","GetDealerUpgradeProposalSettingByDealeridGETResponse","SaveDealerUpgradeProposalSettingPOSTResponse","GetDealerUpgradeProposalSettingByDealeridGETPath","SaveDealerUpgradeProposalSettingPOSTPath","ActivityListComponent","onScheduleSubmit","onSetAsDefault","onRefresh","View_FinancedAmountComponent_1","View_FinancedAmountComponent_Host_0","mode","copyright","ordinaryHasOwnMetadata","ordinaryGetOwnMetadata","ordinaryGetMetadata","getMetadata","ExtendedGETResponse","ExtendedGET","GetCulturesGETResponse","GetCulturesGET","GetTimeZonesGETResponse","GetTimeZonesGET","ExtendedGETPath","GetCulturesGETPath","GetTimeZonesGETPath","MAX_RECORDS","translationKeys","dataSource","featureId","getEntityScoreFeature","byImportanceRank","featureID","getByFeatureId","transKey","feature1","feature2","importanceRank","reduceRight","hypot","value1","value2","sum","larg","RenderType_StockNumberSearchComponent","View_StockNumberSearchComponent_2","View_StockNumberSearchComponent_3","View_StockNumberSearchComponent_4","View_StockNumberSearchComponent_1","onSelect","isNew","isCPO","fullTrimName","View_StockNumberSearchComponent_5","onFocus","onKeydown","TypeaheadDirective","typeahead","typeaheadMinLength","typeaheadOptionsLimit","typeaheadOptionField","typeaheadItemTemplate","typeaheadOnSelect","myForm","inventoryStockMinViews","View_StockNumberSearchComponent_0","View_StockNumberSearchComponent_Host_0","$at","codePointAt","SPLIT","$split","_split","$push","NPCG","separator","limit","separator2","lastLength","output","lastLastIndex","splitLimit","separatorCopy","arrayIndexOf","platformId","isPlatformBrowser","windowRefProvider","Window","_environments_app_settings__WEBPACK_IMPORTED_MODULE_1__","configModule","constant","$imul","imul","xn","yn","xl","yl","userSearchConditionClientService","defaultRowLimit","GetSearchesGET","getSearchModel","userSearchConditionId","GetSearchModelByUsersearchconditionidGET","getSearchPreset","deleteSearchPreset","DeleteUserSearchConditionByUsersearchconditionidPOST","shareSearchPreset","ShareUserSearchConditionByUsersearchconditionidPOST","unshareSearchPreset","UnshareUserSearchConditionByUsersearchconditionidPOST","getDealerSearchPresetLayouts","GetDealerLayOutExtsGET","getActiveDealerSearchPresetLayouts","GetActiveDealerLayOutExtsGET","getDealerSearchPresetLayoutCounts","hardRefresh","layouts","availableSearchPresets","mapGetResponse","byOrder","getSearchPresetCounts","difference","GetSearchCountsPOST","searchPreset1","searchPreset2","updateDealerSearchPresetLayouts","searchPresetLayouts","UpdateDealerLayOutsByDealeridPOSTResponse","resolveLayoutUpdate","getPandoCustomStoreGroups","disableErrorHandler","updateAutoAssignments","assignments","ResetAutoAssignmentsPOST","executePandoXSearch","ExecutePandoXPOST","vehicleImageNotAvailableUrl","scheduledAppointment","requestedCallBack","requestedDoNotCall","leftMessage","noAnswer","notInterested","spokeToCustomer","badPhoneNumber","interested","miscellaneous","customerDidNotShow","showedClosed","showedOpen","upgradeProposal","oneToOnePrintedOffer","testDriveDone","_disableErrorHandler","_overrideDealerIds","RenderType_PandoUnreadMessagesComponent","View_PandoUnreadMessagesComponent_1","unreadMessageCount","View_PandoUnreadMessagesComponent_0","communicationUrl","View_PandoUnreadMessagesComponent_Host_0","pando_form_control_interface_1","DealSheetProcessComponent","customerWorkflowService","formReady","startButtonEnabled","showLoadFormButton","processSettings","multiListSettings","displayForm","processForm","formControlType","PandoFormControlType","workflowFormAnswers","sliderOptions","workFlowTemplates","top5Recent","workflowTemplates","selectedWorkFlowTemplate","workflowTemplateSelect","onTop5Clicked","selectedWorkflowTemplate","workflowtemplateId","completeFormOnStart","loadForm","controlType","LinearScale","minValue","maxValue","getLegend","minLabel","maxLabel","showTicks","formControlId","formControls","startWorkflow","isSuccess","workflowInstanceId","started","convertAnswers","formTemplateId","answers","valuesList","MultiSelectList","dateWithOffset","format","Time","inputType","otherValue","setRadioSelection","selectOptions","submitForm","submitProcessForm","$atanh","atanh","opened","roleService","getRoleOptions","GetRoleOptions","GetRoleAccessRightCategories","getRoleAccess","openAddEditRoleModalWithChangesCheck","setSelectedRole","getRoleName","openAddEditRoleModal","RoleSave","previousRoleId","saveModuleAndRightSettings","promise1","GetRoleModuleCategories","promise2","GetRoleAccessRights","promise3","GetRoleModuleAccess","csvRight","csvModule","accessOptionId","RoleAccessUpdate","showFractionDigits","showSymbol","roundWithPrecision","formattedAmount","decimalPipe","amountIsNegative","absoluteAmount","nbsp","factor","RenderType_MobileCustomerEmailComponent","View_MobileCustomerEmailComponent_2","View_MobileCustomerEmailComponent_3","View_MobileCustomerEmailComponent_4","View_MobileCustomerEmailComponent_1","View_MobileCustomerEmailComponent_0","View_MobileCustomerEmailComponent_Host_0","MobileCustomerEmailComponentNgFactory","selectedVehicleType","alternateVehicleIndex","selectedVehicleObject","dealSheetPermissions","overrideShowPayment","chosenVehicleType","isOffBrand","selectedIndex","ReplacementContractsComponent","EmailTemplateActionComponent","onComplete","urlMatchesConfig","appendBearer","broadcast","handleResponse","catchError","caught","HttpErrorResponse","handleResponseError","throwError","httpErrorResponse","disableErrorHandlerSetting","isErrorEndpoint","translationKey","excludedEndpoints","$isFrozen","angular__WEBPACK_IMPORTED_MODULE_1__","angular__WEBPACK_IMPORTED_MODULE_1___default","_module__WEBPACK_IMPORTED_MODULE_2__","_module__WEBPACK_IMPORTED_MODULE_2___default","_events__WEBPACK_IMPORTED_MODULE_3__","$q","$injector","responseError","event$","__defineGetter__","getter","$metadata","createNew","isUnreadMessageCountHover","RenderType_DealSheetProcessComponent","View_DealSheetProcessComponent_4","View_DealSheetProcessComponent_3","View_DealSheetProcessComponent_5","View_DealSheetProcessComponent_7","formTitle","View_DealSheetProcessComponent_9","View_DealSheetProcessComponent_10","helpText","View_DealSheetProcessComponent_11","View_DealSheetProcessComponent_12","View_DealSheetProcessComponent_13","PatternValidator","View_DealSheetProcessComponent_14","View_DealSheetProcessComponent_16","View_DealSheetProcessComponent_17","View_DealSheetProcessComponent_15","hasOtherValue","View_DealSheetProcessComponent_19","View_DealSheetProcessComponent_18","View_DealSheetProcessComponent_21","View_DealSheetProcessComponent_20","View_DealSheetProcessComponent_22","View_DealSheetProcessComponent_23","View_DealSheetProcessComponent_24","padding-bottom","onResize","View_ɵa_0","RenderType_ɵa","valueChange","tooltipTemplate","sliderElementVerticalClass","sliderElementAnimateClass","sliderElementDisabledAttr","View_DealSheetProcessComponent_8","fieldType","SectionHeader","TextBox","Password","TextArea","Phone","DropDownList","SingleSelectRadio","View_DealSheetProcessComponent_6","View_DealSheetProcessComponent_2","top5ProcessesAvailable","View_DealSheetProcessComponent_25","View_DealSheetProcessComponent_26","View_DealSheetProcessComponent_27","View_DealSheetProcessComponent_1","processesAvailable","View_DealSheetProcessComponent_0","View_DealSheetProcessComponent_Host_0","ReportDiscrepancyPOSTResponse","ReportDiscrepancyPOST","ReportDiscrepancyPOSTPath","getWarrantyStatus","hasExtendedWarranty","warrantyMilesRemaining","warrantyMonthsRemaining","$Number","BROKEN_COF","TRIM","toNumber","argument","third","maxCode","digits","UserProfile","CultureName","RenderType_DashboardAgendaComponent","View_DashboardAgendaComponent_1","View_DashboardAgendaComponent_3","_Customer_Owner","current_Model_Year","current_Model_Name","View_DashboardAgendaComponent_2","View_DashboardAgendaComponent_0","View_DashboardAgendaComponent_Host_0","hasOwnMetadata","activityResultSetID","activityResultPriority","needPageReload","View_AdminSettingsProgramsComponent_2","View_AdminSettingsProgramsComponent_1","tier","residualMileage","ɵpad","currVal_35","bankName","dealerMakeRegionID","tier0","tier1","tier2","View_AdminSettingsProgramsComponent_3","residualCentsPerMile","View_AdminSettingsProgramsComponent_4","useResidualMileageOverride","leaseSalesTax","purchaseSalesTax","docFee","gasolinePricePerGallon","dieselPricePerGallon","cngPricePerGallon","electricityPricePerkWh","dealerBankRateTier","useSalesTax","View_AdminSettingsProgramsComponent_Host_0","V","existingDescriptor","ownDesc","QuickSearchUrl","DealSheetUrl","SearchPresetUrl","UserProfileUrl","SubMenuLocalizationPath","QuickSearchWarningKey","QuickSearchInvalidCharacterWarningKey","PageNotFoundKey","logShortcutSubject","$logShortcutAction","reset","MobileActivitiesComponent","activitiesSubscription","handleLogActivityNavigation","roleClientService","jquery_1","notification_message_interface_1","renderer","localeDateTimePipe","eulaModalService","textModalSelector","noUserNumberModal","filteredMessagesModified","modalClosedSubject","upgradeProosalLinkPlaceholder","eulaStatusTypes","nestedModalBackdropZindex","last6Months","lastMonth","lastYear","allTexts","filteredMessages","dateRangeOptions","newTextMessageValue","timeSpanToDisplay","isTextable","authorizedKeys","selectedType","isShortcutButton","latestNotificationObservable","Last6Mon","LastMon","LastYear","AllTexts","handleNotification","EventType","EngagementEventTypeEnum","lastMessage","obs","getHistoryByCustomerId","newMessages","messagesToBeAppended","currentLastMessage","currentLastMessageId","mappedMessages","mapServiceResults","filterMessages","refreshTextableStatus","translatedLinkText","ngAfterViewChecked","modalBodyElement","scrollHeight","getSanitizedAvatar","bypassSecurityTrustStyle","userAvatarUrl","insertUpgradeProposalLink","getNewTextMessagePlaceholder","viewType","text_service","text_sales","openDialog","validateUserNumberAndOpenDialog","isUserNumberTextable","modal","backdrop","handleStackedDialogClose","openTextingDialog","textableStatus","eulaStatus","validateEula","continueUserNumberConfirmation","isStopped","getMessageHistory","notificationSubscription","handleModalClosed","shouldDisplayDateLine","currentTextMessageIndex","currentMessageSentDate","prevousMessageSentDate","shouldDisplayUpgradeProposalLink","getDisplayDate","isSame","toLocaleDateString","month","day","getMessageFooter","formattedTime","sendMessage","newMessage","cleanedMessage","accountSid","smsSid","customerPhone","displayDate","messageFooter","sendTextWithUpgradeProposal","textResponse","proposalResponse","handleSendMessageResponse","sendText","messageRequest","messageResponse","newMessageResponse","getMaxRows","currentMessage","arrayOfLines","timeSpanChanged","toggleSalesServiceSelection","getHistory","messages","getTextableStatus","updateTextableStatus","appendToTooltip","toolTipTranslationKey","substitutionOptions","consentDateTime","hasValidTouchpoint","touchpointDate","dealerNumberProvisionedDate","consentNotGranted","hasContactInfo","noCustomerCellNumber","invalidCustomerNumber","outsideTextingHours","modalBackdrop","originalBackdropZindex","fromDate","getFromDateFromTimespan","listOf","typeLabel","nextLabelNext","nextLabelFinish","nextLabelOk","columnHoveredIndex","selectedColumnIndex","sampleSizeMessage","doNotEmailCallListOfPhoneNumbers","ok","limitedNumber","sampleSizeTranslation","handleNextStep","handlePreviousStep","columnIndex","doNotEmailCallListOfEmails","doNotEmailCallFileError","readAsText","columnSelectMessageTranslationKey","parseCsv","numberOfMatches","resetFileInfo","uploadSelectedColumn","observable","selectedValues","doNotEmailCallNoItemsConfirmMessage","csv","lines_1","recentDealSheetService","dealSheetId","recentDealSheetData","dealSheet","View_SaleTypeComponent_1","saleTypeTranslateKeys","View_SaleTypeComponent_2","View_SaleTypeComponent_3","saleTypeOriginalLookupKey","saleTypeOriginalLookupId","View_SaleTypeComponent_Host_0","GetModelsByMakeYearByMakeidByYearidGETResponse","GetModelsByMakeYearByMakeidByYearidGET","GetModelsByMakeByMakeidGETResponse","GetModelsByMakesYearsPOSTResponse","GetModelsByMakeYearByMakeidByYearidGETPath","GetModelsByMakeByMakeidGETPath","GetModelsByMakesYearsPOSTPath","spaces","ltrim","rtrim","exporter","ALIAS","FORCE","boldText","highlightQuery","toLocaleLowerCase","lenght","resizable","opt","handleSelector","resizeWidth","resizeHeight","resizeWidthFrom","resizeHeightFrom","onDragStart","onDragEnd","onDrag","touchActionNone","startPos","startTransition","$handle","selector","getHandle","doDrag","newWidth","newHeight","getMousePos","stopDragging","unbind","dragFunc","Touch","maxTouchPoints","touches","jquery_default","IsLegacyPage","$currentState","resolvedComponent","resizeHeader","messagePort","isIframeReady","footer","hideFooter","shouldShowFooter","msOverflowStyle","widthNoScroll","offsetWidth","overflow","inner","widthWithScroll","getScrollbarWidth","headerHight","header_height","sendHeaderHeightMessage","OpportunitiesModule","oidcAuthModule","uiSelect","uiRouter","upgradeModule","Push_To_Crm_Success","Push_To_CRM_Fail_Permission","Push_To_CRM_Fail_Delivery","Standard_Activity_Success","General_Exception","scheduleCall","emailSent","reschedule","reassign","pushToCompass","emailTemplateSent","manualPushToCRM","pandoProcessClaimed","pandoProcessCompleted","200","400","500","600","700","800","900","1000","alertCrossMakeUsed","leaseEnd","privateOffer","privateOfferWithPreApproval","changeReplacementVehicle","labels","trimChange","inventoryRecommendation","inventorySearch","inventoryBestMatch","Close","Mark_As_Sold","New_Call","New_Appointment","New_Call_Or_Appointment","Re_Open","Schedule","Set_To_Completed","Set_To_Scheduled","Set_To_Uncomplete_Existing","Set_To_Uncompleted","Watch","Unwatch","Read","Not_Own","Paid_Off","Has_Warranty","Add_Payoff","Add_Mileage","Warranty_Sold","Convert","Edit_Sale","View_Deal_Sheet","Sent_To_CRM","Unmark_As_Sold","Print_Deal_Sheet","Mark_as_Do_Not_Call","Opened_from_CRM","Re_Open_and_Re_Calculate","Unmark_As_Paid_Off","Convert_edit_via_PURL","Verify_PURL_Info","Bought_Vehicle","Convert_by_CreditConvert","Unmark_as_Has_Warranty","Unmark_as_Warranty_Sold","New_Push_to_Compass","Open_ContractEndNonAlert_Window","Close_ContractEndNonAlert_Window","Open_LeaseEnd_Call_Script_Window","Close_LeaseEnd","Open_MileageAlert","Close_MileageAlert","Open_PhoneMessage","Close_PhoneMessage","Open_PhoneMessageConquest","Close_PhoneMessageConquest","Open_SalesAlert","Close_SalesAlert","Open_ServiceOnly","Close_ServiceOnly","Open_WarrantyAlert","Close_WarrantyAlert","View_Deal_Sheet_From_Partner","Activity_Posted_From_Partner","DealSheet_Printed_From_Search","Pando_Claim","Mark_As_On_Order","Unmark_As_On_Order","EulaRequired","NotConfigured","OptedOutNonoriginatingDealer","OptedOutOriginatingDealer","GeneralError","VinNotFound","HasData","processing","noDataReceived","creditDataReceived","financialDataReceived","superPrime","prime","nearPrime","subPrime","deepSubPrime","didNotQualify","infoNotAvailable","enUS","enGB","enCA","frCA","frFR","esUS","userInput","monthToDate","quarter","quarterToDate","yearToDate","previousDay","previousMonth","previousMonthToDate","previousQuarter","previousQuarterToDate","previousWeek","previousYearQuarter","previousYearQuarterToDate","previousYear","previousYearToDate","last7Days","last14Days","last21Days","last28Days","last30Days","last60Days","last90Days","day1st","day2nd","day3rd","day4th","day5th","day6th","day7th","day8th","day9th","day10th","day11th","day12th","day13th","day14th","day15th","day16th","day17th","day18th","day19th","day20th","day21st","day22nd","day23rd","day24th","day25th","day26th","day27th","day28th","lastDayOfMonth","weekday1","weekday2","weekday3","weekday4","weekday5","weekday6","weekday7","notProcessed","invalidNumber","notSubscribed","onDoNotCallList","offDoNotCallList","showHasWarranty","showSoldWarranty","showDoesntHaveWarranty","showUndoSoldWarranty","showVehicleNotPaidoff","accept","decline","defer","fields","db_name","displayname","isChecked","selectable","diesel","gas","phev","electric","cng","legacyUrlMappings","logIn","dealSheets","preOwnedManagerFindABuyer","quickSearch","register","searchTags","securityNewAccountActivate","legacyUnsubscribe","legacyNotification","opportunitiesAlert","opportunitiesAppointment","opportunitiesService","opportunitiesFlexAlert","opportunitiesContractEnd","opportunitiesInMarket","opportunitiesInMarketEngaged","opportunitiesMileage","opportunitiesWarranty","opportunitiesLease","opportunitiesRetail","activitiesAgenda","summaryReport","soldUnitsReport","soldUnitsDetailReport","expressRoiReport","tradeInsReport","oneToOneReport","userActivityReport","activityReport","emailTemplateReport","opportunitiesReport","inventoryReport","certificationReport","webinarAttendanceReport","profitCenterUtilizationReport","creditConvertReport","vinScanUtilizationReport","notifications","creditConvertEstimator","about","help","contactUs","average","inventory","totalPrice","msrp","beta","betaOnly","category","betaKey","list","daily","weekly","monthly","social","campaigns","communication","onetoone","autoassistant","partnerExport","globalAdmin","customerSupport","dealerAdmin","generalManager","salesManager","salesAssociate","financeAndInsuranceManager","salesAllClients","trainer","baseSalesAssociate","regionalSalesManager","clientCareAdvisor","portfolioManager","usedCarSalesManager","ReportHeaderTypes","validatedFull","singleDate","dealerOnly","dealerDatesPresets","pandoSurvey","dealerOnlyNoSubscriptionDateSelector","dealerMakeNoSubscriptionDateSelector","performanceReport","ReportSpecs","dashboardReport","enterprise","header","pdfExportEnabled","excelExportEnabled","subscriptionEnabled","isEnterprise","serviceDriveSalesPerformanceReport","salesGrossReport","hideDateRange","autoAssistantActivityReport","onetoOneSoldUnitsReport","partnerExportSoldUnitsReport","serviceLaneTechnologyReport","pandoSurveyReport","isPandoReport","pandoUserActivityReport","dataCleanseReport","ReportSpecsList","AllReportSpecs","_ngInjectExport","$stateProvider","reportsMenu","kendo","importKendo","report","createLegacyState","createBetaState","optionalParams","thisReportSpec","reportSpecs","completedComponents","routerStates","abstract","onExit","access","router_states_i","legacyUrl","abbreviation","general","scripts","serviceDrive","agenda","newOpportunityChanges","recentlyAssigned","opportunitySearches","Sales_Associate","Base_Sales_Associate","daysInStock","widgetTypes","searchPresetCounts","opportunitiesTable","doesNotOwnVehicle","vehicleNotPaidOff","purchasedByDealer","tab","_objectSpread","ConfigureOidcInterceptor","ConfigureDealerHeaders","ConfigWhatFix","ConfigDynamicLocaleProvider","ConfigTranslation","ConfigRoutes","ConfigureDefaultDealers","ConfigureApi","Configure","ConfigLogger","appErrorPrefix","$logProvider","debugSetInLocalStorage","localStorage","debugEnabled","$analyticsProvider","exceptionHandlerProvider","virtualPageviews","coreApiProvider","selectedDealersInjectorProvider","dmsPushApiProvider","addUrl","dmsPushApi","$locationProvider","$urlRouterProvider","$urlMatcherFactoryProvider","html5Mode","strictMode","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","onEnter","$transition$","otherwise","controller","$state","homeRoute","firstAuthorizedAlertDeskRoute","firstSubMenuItem","flatMap","dealSheetParams","calculationType","showLegacy","MobileReplacementContractComponent","pg","menu","profile","communicationMenuItem","$translate","$timeout","warningTitleKey","pageNotFoundKey","pageNotFound","warningTitle","_targetState","_params","queryParams","queryParamString","activeTab","submitSearch","sortColumnName","modelType","ownerFilter","searchText","sectionStates","registerAlertDesk","hid","sh","reportType","templateId","replMakeId","$translatePartialLoaderProvider","localePaths","fallbackLanguage","preferredLanguage","useSanitizeValueStrategy","useLoaderCache","addPart","localeLocationPattern","whatFixUrl","whatFixScript","async","getElementsByTagName","insertBefore","interceptors","ConfigReportRoutes","_typeof","getUrlComponents","hostname","defaultTo","getValueFunc","defaultValue","downloadArraybufferResponse","_ref","httpResponse","Blob","msSaveOrOpenBlob","URL","webkitURL","mozURL","msURL","createObjectURL","promises_typeof","_wrapNativeSuper","Class","_cache","Wrapper","Parent","sham","Proxy","isNativeReflectConstruct","_setPrototypeOf","_construct","_getPrototypeOf","TimeoutError","_Error","_getPrototypeOf2","_classCallCheck","ReferenceError","_assertThisInitialized","_possibleConstructorReturn","subClass","superClass","_inherits","messaging_defineProperty","messaging_typeof","ChildMessagePort","iframeDomElement","iframeOrigin","$scope","messaging_classCallCheck","_iframe","_origin","_$scope","_event$","_status$","_generateId","_goToWaitingState","_messagePortRequestHandler","_iframeLoadHandler","_sendMessagePortToChild","protoProps","staticProps","_defineProperties","_createClass","_port","_messagesAwaitingPort","_this2","responseForId","clearTimeout","timeoutId","_this3","$apply","complete","_this4","_messagePortMessageListener","_this5","channel","MessageChannel","port1","ackHandler","_goToReadyState","port2","_notifySubscribers","_this6","replyPort","reply","messaging_objectSpread","legacy_service_legacyService","UPGRADE_PROPOSAL_PATH","MESSAGING_FRAME_PATH","SECOND","MINUTE","$interval","coreApi","opportunityTypes","printTemplateUrlPath","translateErrorKeys","_getUrlComponents","sendSSOToken","addStandardMessageHandlers","keepAlive","failed","status$","addKeepAlive","createDedicatedLegacyMessagePort","getCalculationParameters","generateUpgradeProposal","parameters","getUpgradeProposalUrl","UpgradeProposal","GetByActivityId","getPrintTemplateUrl","openInEditMode","newPaymentCPO","newPaymentDifferenceCPO","DealerID","EntityID","Make","Model","Year","Trim","IsNew","NewPaymentValue","NewPaymentDifferenceValue","StockNo","FullTrimName","Equity","sendLogOutMessage","sendChangeDealerMessageToIframe","sessionStorage","CacheManagement","FlushUserRelatedCache","dealer_ids","BalanceToMaturity","saleId","saleID","SalePayoffEstimate","tradeEquity","maturityDate","salePayoffEstimate","stillOwnsVehicle","stillOwned","finalTradeValue","adjustedBalance","dealDate","KeyID","SaleID","OldBankID","StateID","ZipCode","LastPaymentSaleType","UseBalloon","DispositionFee","CanBTBeApplied","canBeApplied","CanBTDispositionFeeBeForgiven","canDispositionFeeBeForgiven","UsePullForward","usePullForward","HasCreditConvertFinancialData","PayOffForward","AdjustedBalance","TotalPenalty","totalPenalty","ForgivePenaltyIfTheSameBank","forgivePenaltyIfTheSameBank","FinalTradeValue","NewTrimID","NewMakeID","NewTrimYearID","IsConquest","NewVehiclePrice","IsUsed","IsCPO","MSRP","CashDown","OldMaturityDate","OldMakeID","OldTrimID","OldSaleTypeID","OldTermID","OldPaymentsRemaining","OldMonthlyPayment","TradeEquity","StillOwnAndNotPaidOff","Source","dt","repMileage","repVIN","OverrideTerm","useOverrideTerm","Culture","useOffBrandCalc","ssoToken","token_value","access_token_value","impersonating_username","Run","$transitions","$translatePartialLoader","externalService","globalIframeService","$on","repositionUiView","headerHeight","offsetHeight","margin-top","onresize","iframeBackwardsCompatibilityInit","RunInitMessageListener","sendDealerIds","runUserInit","loggedInDataInitializationService","RunUiRouterTransitionSpinner","transitionsInProgressCount","onStart","trans","alreadyCompleted","globalBusyPromise","RunUiRouterTransitionsInit","saveReferrerAndSignIn","oidcOrigin","referrerOrigin","referrer","isOnExternalDealSheetRoute","onBefore","router","isProcessingAuthCallback","referrerHost","portalHost","portalUrl","socialMenuItem","hashString","splitAndDecodeUrl","nonCrmToken","getValidExternalDealsheetJWTToken","getValidExternalPageJWTToken","getExternalPageJWT","tokenResponse","RunUiRouterTransitionAuthorization","RunPostMessageInit","$uibModal","announcementKey","urlHelper","impersonateModalInstance","showConfirmImpersonateModal","maybeJsonString","safeParseJSON","activeDealSheet","dealsheetId","_ref2","redirectUrl","newwindowUrl","launchNewDealSheetTab","authorizedForThisModuleId","topLevelMenu","mi","sessionObj","validateEulaOnStart","getAnnouncementForUser","announcement","updateAnnouncementUserDisplay","impersonatedFullName","impersonatingFullName","impersonateUserNotAuthorizedMsg","impersonateUserMsg","legeacyRedirect","stringToSplitAndDecode","delimeter","objectToAddTo","exception","catcher","compileTemplateDirective","$compile","$parse","parsed","ngBindHtml","$watch","getCultureByCode","culturesByLowerCaseCode","exception_exception","keySelector","currencyPrecision","currencySymbol","currencySymbolBefore","percentSymbolBefore","toMap","shiftedToInteger","reverseShift","numArray","NumberLinkFunction","makeNumberLinkFunction","$attributes","$ngModelCtrl","addonText","wrapElement","wrapElementInInputGroup","addon","addonTextWidth","$parsers","$viewValue","rounded","getPrecision","$validators","modelValue","viewValue","newViewValue","$modelValue","Intl","NumberFormat","useGrouping","$setViewValue","$render","spec","$wrapper","disableClickDirective","restrict","compile","disableClick","stopImmediatePropagation","$$phase","$evalAsync","minDateDirective","cultures","elm","attrs","validateDateRange","inputDate","isValidInput","isValidMinDate","createDateFromString","setHours","$setValidity","$formatters","$observe","dateStr","maxDateDirective","validateMinDate","isValidMaxDate","ngModel","iElement","iAttrs","fallbackSrc","phoneNumberDirective","localePhoneFilter","ngModelCtrl","formatted","localeCurrencyFilter","localeNumberFilter","localeDateTimeWithDay","isToday","isDateToday","addonTextBefore","locale_currency_filter_localeCurrencyFilter","localeDateTimeFilter","timeZones","timeZonesById","localeDateFilter","localeDecimalFilter","toLocaleString","minimumFractionDigits","maximumFractionDigits","localeFuelEconomy","fuelTypes","CANADIAN_CULTURES","fuelTypeId","isMetric","localeMoneyFactorFilter","localePhone","phoneNumber","formatEurope","numbers","char","formattedNumber","localeRoundedCurrencyFilter","localeTimeFilter","elapsedTimeFilter","seconds","setSeconds","mapUtils","getVehicleTrimFullName","addModelToTrim","displayCodes","mfcModelCode","hasActionAccess","actionAccess","aa","contractService","alertTypes","getCurrentContract","opportunityType","GetSaleExtByEntityId","resolveData","CreditSoftPullResultEntityKeep","GetSaleInfoByEntityId","getReplacementContracts","DealSheet","CalculatePayments","contracts","updatePayoff","AddUpdateSalePayoff","payOffAmount","payOffGoodThru","undoVehiclePaidOff","Entity","VehicleNotPaidOff","creditConvertSaleData","isConquest","isCreditConvert","stillOwn","canBTBeApplied","canBTDispositionFeeBeForgiven","entityTypeId","interestRate","isUsed","keyID","keyId","newMakeID","newTrimID","newTrimYearID","newVehiclePrice","oldBankID","oldMakeID","oldMaturityDate","oldMonthlyPayment","oldPaymentsRemaining","oldSaleTypeID","oldTermID","oldTrimID","payOffForward","residualPercentage","stillOwnAndNotPaidOff","useBalloon","useSubsidy","dealSheetUrl","getDealSheetUrl","absolute","getDealSheetLiteUrl","autoalertIframe","blur","parentElem","_verifyCallback","calc","sn","windowClass","backdropClass","vw_search","vwsearch","_EntityID","selectedItem","modalDisplayState","openScheduleModal","openModalDialog","modalParamObject","componentName","Appointment_Completed","Phone_Call_Completed","Cancel_Call","Cancel_Appt","Email_Sent","Reschedule_Appt","Reschedule_Call","IsFollowUp","callBackScheduleModal","returnedData","followUpActions","activityResult","openFollowUpActions","Reassign_Call","Reassign_Appt","getModalParamObject","getDealHistory","GetDealHistory","getEntityEnterpriseCustomers","GetEntityEnterpriseCustomers","pushRequest","Deskit","PushToDeskit","isVAutoEnabled","vAuto","IsEnabled","isVinCueEnabled","VinCue","CreateAppraisal","GetLatestAppraisalByVin","dmsPushCustomer","DmsPush","PushCustomer","dmsPushPushFAndI","PushFAndI","dmsPushGetLatest","GetLatestDmsPushSuccess","isDmsPushValid","IsDmsPushValid","eulaResponseTypes","processStatus","statusId","isEmailEnabled","validateStatusId","getEulaStatus","sId","getEula","eulaText","modalResponse","postResponse","vHash","accesCode","Authentication","CrmLogin","CrmLoginPage","FeatureToggleService","featureToggles","customerEngagementWidget","calculateFeatureToggle","enableCustomerEngagementWidget","useFakeCustomerEngagementData","feature","financialsService","getConvertInfo","deferred","GetConvertInfo","convert","selectedBank","typeName","resolveGetConvertInfo","ex","getBankSelect","Bank","GetBankSelect","banks","resolveGetBankSelect","getConvertSaleTypes","GetConvertSaleTypes","resolveGetConvertSaleTypes","getFinancialsData","saleOptions","resolveGetFinancialsData","resolveGetUsers","submitConvertInfo","PostConvertInfo","resolveSubmitConvertInfo","locale_date_filter_localeDateFilter","chars","filterOn","isUndefined","newItems","extractValueToCompare","isDuplicate","sold","closed","map_utils_mapUtils","query_string","vars","contract_service_contractService","deal_sheet_service_dealSheetService","eula_modal_service_eulaModalService","external_service_externalService","GlobalIframeService","global_iframe_service_classCallCheck","_$log","_subscriptions","global_iframe_service_defineProperties","global_iframe_service_createClass","googleService","googleApi","getCoordinates","GoogleXhrRequest","getGoogle","isLoaded","head","script","google","loadScript","opportunityCountsService","getOpportunityCounts","OpportunityCounts","GetOpportunityCounts","discrepancyTypes","opportunityStatuses","fordFBATypes","dsPermissions","GetExt","dealSheetExpirationDate","isExpired","entityKeyID","entityTypeID","hasWarranty","isMarkedAsSold","watched","ownerUserID","autoAssignAccessUserName","autoAssignOwner","autoAssignAccessUser","autoAssignAccessSearch","autoAssignAccessDate","autoAssignOwnerDate","autoAssignOwnerSearch","actionChecked","onOrder","activityNotification","triggered","Activity","GetNewActivityNotifications","resolveActivityNotification","GetEntityUserInfo","getCreditSoftPullResultAsync","creditSoftPull","getCreditPrescreenStatus","creditPrescreenStatus","isDealerEnabledForModule","FordCreditApproval","FordCreditApprovalByEntityId","creditPreApproval","getPandoClaim","pandoClaim","getNonEssentialOpportunityData","resturnResults","getCurrentVehicle","getReplacementVehicles","getTags","FullNameByEntity","MarkAsRead","containsTag","isCreditConvertOpportunity","equityValue","equity","EntityOpportunity","GetOpportunitiesForEntity","alertType","getAlertTypeName","byType","resolveOpportunityAlerts","replacementContracts","defaultContract","setAlertDetails","resolveOpportunityReplacementContracts","resolveOpportunityDetails","resolveOpportunity","resolveDealerSettings","notify","notification","clearAlerts","updateAssignedUser","ReassignToUserId","assignToUserId","logTradeValueChange","VehicleFinalTradeValueTempChange","LogTradeValueChange","VehicleID","getOpportunitiesByCustomerId","GetEntityReportByCustomerId","soldAsNew","lastServiceDate","saleTypeID","soldByFullName","getOpportunitiesByVin","GetEntityReportByDealerIdAndVin","markOpportunityWatched","markOpportunityUnwatched","resetActivityNotification","reopenOpportunity","Reopen","submitCreditPrescreenRequest","CreditPrescreenRequest","getChangeLogs","submitDiscrepancy","discrepancy","reportableFieldId","reportableExpectedValue","expectedValue","currentVehicleVin","reportDiscrepancyVehicle","localePrice","multiple","ReportableCurrentValues","reportableCurrentValue","DiscrepancyReport","ReportDiscrepancy","Tag","GetTagsPivotForDealers","addTermOverrideChangeLog","Term","addPriceOverrideChangeLog","HasReviewProDealer","HasGeoAlertDealer","getOwnerUserInfo","getOpportunityEntityOnly","getAllSaleTypeLocalization","GetAllSaleTypeLocalization","getSaleExtByEntityId","getOpportunityFromView","vw_SearchRow","_VehicleID","_EntityTypeID","toBoolean","still_Own","paid_Off","_DealerID","full_Name","address_2","_StateID","showIfNotNullOrEmpty","cell_Phone","do_Not_Call","do_Not_Email","do_Not_Mail","first_Name","_CustomerID","last_Name","middle_Name","work_Phone","_Opportunity_Rank","_OwnerUserID","estimated_Payoff","_SaleTypeID","rate","soldByName","sold_By_Name","NewUsedCpoToID","paymentsMade","payments_Made","payment_Remaining","lease_Total_Allowed_Miles","bank_Name","lastTouchedDate","last_Payment_Date","_SaleID","dmS_Deal_ID","deal_Term","lease_Net_Cap_Cost","lease_Residual","purchase_Amount_Financed","cash_Down","toYesNoTypeID","financedOrCapCost","trade_Value","_TrimID","_YearID","_MakeID","current_Make_Name","current_Trim_Name","paymentDifferenceAmount","replacement_New_Used","replacement_Stock_No","replacement_MSRP","replacementTrimID","replacementMakeID","replacement_Make_Name","replacement_Trim_Name","replacement_Full_Trim_Name","_EntityKeyID","toSaleTypeID","replacement_Sale_Type","replacement_Term","replacement_Rate","is_Over_Allowance","nullIf","replacement_Loan_Amount","preferred_Equity","is_Alert","is_Flex_Alert","isConversionAlert","is_Conversion_Alert","pushAlert","is_Appointment","is_Contract_End","is_In_Market","is_In_Market_Engaged","is_Mileage_Alert","is_Warranty_Alert","toAlertTypeList","getOpportunityFromViewEntityId","Search","GetSearchByEntityId","getVehicleTurnPredictor","GetVehicleTurnPredictor","getActiveNLPNoLongerOwn","GetActiveNLPNoLongerOwn","updateActiveNLPNoLongerOwn","UpdateActiveNLPNoLongerOwn","GetTagsForEntity","tagExpireDate","CreditPrescreenStatus","CreditSoftPullResultEntityDel","setFlexAlertDetails","setServiceAlertDetails","setAppointmentAlertDetails","setContractEndAlertDetails","setMileageAlertDetails","setWarrantyAlertDetails","getAlertTranslateKey","details","alert1","alert2","contractTerm","PandoClaim","ByEntity","yesNoTypeName","valueIfNull","pandoSurveyService","getAccessibleSurveys","PandoPassthrough","GetString","uriTemplate","SurveyFamilies","getWorkflowTemplates","GetWorkflowTemplates","getDealerAutoReportSubscription","ReportSubscription","GetDealerAutoReportSubscription","getReportDealerPandoGroupSubscriptions","GetReportDealerPandoGroupSubscriptions","removeDealerAutoReportSubscription","RemoveDealerAutoReportSubscription","updateDealerAutoReportSubscription","subscription","UpdateDealerAutoReportSubscription","addReportDealerPandoGroupSubscription","AddReportDealerPandoGroupSubscription","updateReportDealerPandoGroupSubscription","UpdateReportDealerPandoGroupSubscription","printOfferBatchService","initiatePrint","batchId","pollCount","PrintOfferBatch","OpenBatch","poller","isFailed","failedCount","collectionUrl","successCount","postOpenBatch","openPrintModal","successMessage","failedMessage","getByBatch","successfulEntityIds","namesConcatenatedString","offer","getFailedCustomerNamesByEntityIds","warningMessage","PrintOffer","GetByBatch","google_service_googleService","opportunity_service_opportunityService","pando_survey_service_pandoSurveyService","print_offer_batch_service_printOfferBatchService","report_service_reportService","generateReportApi","reportService","getReport","additionalParams","Key","Value","reportId","getReportData","finalFormat","getReportDataExport","getDateRanges","Reports","GetReportPeriods","getData","getFordPilotStoreStatus","FordPilotStore","GetFordAlertModuleDealerStatus","getAuthorizedReports","authorizedReports","isReportAuthorized","getServiceDriveReportDetail","Report_ServiceDrivePerformance","GetServiceDrivePerformanceDetail","getCreditConvertReportDetail","Report_CreditConvert","Report_CreditConvert_Detail","getDataCleanseReportDetail","Report_DataCleanse","Report_DataCleanse_Detail","getUserActivityLog","Report_UserActivity","Report_UserActivity_Main","getSubscriptions","GetReportSelfSubscriptionsByUser","addSubscription","AddReportSelfSubscription","updateSubscription","UpdateReportSelfSubscription","disableSubscription","subscriptionId","DisableReportSelfSubscription","enableSubscription","EnableReportSelfSubscription","deleteSubscription","DeleteReportSelfSubscription","toZuluStringFromLocalDate","datetime","getLmsTranscript","Lms","GetTranscript","getPerformanceReportAvailableMonths","Report_Performance_GetAvailableMonths","MPR_AvailableMonths","DataMonths","Month","getBetaReportList","tableauApi","Pragma","Cache-Control","getTableauToken","isEnterpriseReport","searchService","getFreshOpportunities","GetFreshOpportunities","getOneToOneEntities","GetOneToOneEntities","getOpenOpportunities","GetOpenOpportunities","getRecentlyAssignedOpportunities","GetRecentlyAssignedOpportunities","maxResults","getEntitiesListCustom","GetEntitiesListCustom","getTagsForDealers","GetTagsForDealers","getSoldBySearchByDealers","GetSoldBySearchByDealers","getPrivateOfferInfo","GetPrivateOfferInfo","saveSearch","searchName","autoShareSearch","autoShareSearchPosition","searchModel","assignPandoXRule","pandoXRuleQuantity","executePandoXImmediately","pandoXRuleCategoryId","searchActiveStartDate","SaveSearch","SearchName","AutoShareSearch","AutoShareSearchPosition","SearchModel","AssignPandoXRule","RuleCategoryId","PandoXRuleQuantity","ExecutePandoXImmediately","SearchActiveStartDate","SearchActiveEndDate","getDealerCampaignRequestsInWindow","GetDealerCampaignRequestsInWindow","days","createDealerCampaignExportAudience","campaignType","CreateDealerCampaignExportAudience","ExportCampaignTypeID","DealerIds","CampaignTypeDescription","getNoLongerOwnForDealer","GetNoLongerOwnForDealer","servicesService","getServicesBy","GetServicesBy","Current","Total","otherCustomer","wasOwnedByCurrentCustomer","dealerPaid","customerPaid","warrantyPaid","wasServicedByOtherCustomer","Totals","Dealer","Counts","History","getServiceLineDetails","roId","GetServiceDetail","roSale","roSaleCP","roSaleWP","roSaleIP","search_service_searchService","services_service_servicesService","previewTemplateEmailUrlPath","getTemplatesForDealerId","assert","Template","GetTemplatesForDealerId","templateID","templateSubject","GetNonEmptyTemplatesForDealerId","createdBy","validateMaxEmailsPerDay","TemplateOutboundEmail","ValidateMaxEmailsPerDay","getMergedTemplate","MergeTemplate","getSentEmailContent","GetSentEmailContent","templateOutboundEmailId","getEmailPreviewContent","templateContent","GenerateEmailPreview","ContentHtml","getEmailSubscription","GetEmailSubscription","disableEmailSubscription","DisableEmailSubscription","createPdf","contentHtml","templateLetterheadImageUrl","CreatePdf","isArchived","downloadPdf","downloadName","DownloadPdf","saveAs","archivePdf","ArchivePdf","getDealerOutboundEmailProviderInfo","DealerSetting","GetDealerOutboundEmailProviderInfo","storePreviewTemplate","previewTemplate","retrievePreviewTemplate","getTemplateEmailPreviewUrl","DeleteTemplate","outboundTemplate","SendEmailWithAttachment","EmailRequest","ProposalRequest","TemplateEmailPreview","TemplatePdfPreview","condition","getVehicleImagePath","VehicleImage","GetImage","vehicleImageNotFoundPath","Vehicle","GetDetails","VehicleReplacement","GetVehicleReplacements","getOnDemandOffBrandVehicles","makeIds","OnDemandOffBrandVehicleReplacements","getAverageReplacementVehicle","GetExtByVehicleAndDealer","getAverageReplacementVehicleByTrim","getInventoryReplacementVehicle","InventoryBestMatch","getInventoryReplacementVehicles","InventoryRecommendation_UsedCar","currentTerm","InventoryRecommendation_NewCar","CalculationParamsModel","SaleType","CurrentTerm","CurrentPayment","vehicles","vehicleData","resultsCount","getInventoryVehicles","getNewVehicles","getUsedVehicles","calculationParamsModel","yearIds","yearIDs","modelIDs","minimumTermLength","maximumTermLength","minimumMonthlyPayment","maximumMonthlyPayment","getInventoryVehicle","GetExtByStockNo","getAdjustedInventoryVehiclePrice","DealerPrice","GetAdjustedInventoryVehiclePrice","getMakes","GetMakes","dealerids","getMakesMany","GetMany","getModels","getModelId","getModelsByMakeId","GetModelsByMake","getYearIDs","showDefaultYears","yearLimit","GetByDealerId","getTrims","promises","GetTrimsByModelId","getTrimPrice","GetTrimPrice","milieageDate","UpdateMileage","mileageDate","GetFuelEconomyComparison","getFeatureComparison","GetFeatureComparison","getAutoCheckReport","AutoCheck","getCarFaxReport","CarFax","GetCarFaxReportHtml","getCarFaxUrlFromAuthCode","GetCarFaxUrlFromAuthCode","getCarFaxReportUrl","GetCarFaxReportUrl","getCarProofReport","CarProof","GetCarProofReportHtml","VinRecall","GetByDealerVehicle","getVinRecallNos","GetVinRecallNos","getVinRecallTypes","GetVinRecallTypes","getModelsByMakesYears","GetModelsByMakesYears","getTrimsByModels","GetTrimsByModels","getTrimPlanPrice","GetTrimPlanPrice","getInventoryBestMatchToTrim","replPrice","InventoryBestMatchToTrim","carFaxLogOut","CarFaxLogOut","dealerMakeHasVciConfig","VciMaturity","DealerMakeHasVciConfig","getVciMaturityData","GetVciMaturityData","addVciEulaAccepted","AddVciEulaAccepted","vehicle_service_vehicleService","swagger_definition","swagger","termsOfService","paths","/api/Activity/RunActivityRule","operationId","consumes","produces","in","schema","$ref","responses","/api/Activity/SubmitAction","/api/Activity/GetAgendaItems","uniqueItems","/api/Activity/GetAgendaItemsWithEntityData","enum","collectionFormat","/api/Activity/GetActivitiesForEntity","/api/Activity/GetNewActivityNotifications/{entityId}","/api/Activity/UpgradeProposal","/api/Activity/{id}","/api/Activity/GetMany","/api/Activity","/api/ActivityHistory/GetExtByEntityId/{entityId}","/api/ActivityHistory/GetLastActivityByEntityId/{entityId}","/api/ActivityHistory/GetOneToOneMailHistoryBy/{entityId}","/api/ActivityHistory/GetSLMEmailOfferHistoryBy/{entityId}","/api/ActivityHistory/GetExtActivityHistoryBy/{entityId}/{dealerId}","/api/ActivityHistory/GetEmailConversationHistoryBy/{entityId}","/api/ActivityHistory/GetCustomerEngagementHistoryBy/{entityId}","/api/ActivityHistory/GetCombinedActivityHistory","/api/Announcement/GetAnnouncementForUser","/api/Announcement/UpdateAnnouncementUserDisplay/{announcementId}","/api/AssetModule/{id}","/api/AssetModule/GetMany","/api/AssetModule","/api/Authentication/CrmLogin/{entityId}/{vHash}/{accesCode}/{dealerId}","/api/Authentication/CrmLogin/{entityId}/{vHash}/{accesCode}","/api/Authentication/CrmLoginPage/{accesCode}/{dealerId}","/api/Authentication/CrmLoginPage/{accesCode}","/api/AutoCheck/{entityId}/{vin}","/api/AutoCheck/GetAutoCheckReportHtml","/api/BalanceToMaturity/{entityId}","/api/Bank/GetBankSelect/{dealerId}","/api/CacheManagement/FlushUserRelatedCache","/api/CarFax/GetCarFaxReportHtml/{entityId}/{vin}","/api/CarFax/GetCarFaxUrlFromAuthCode","/api/CarFax/GetCarFaxUrlFromAuthCodeInv","/api/CarFax/GetCarFaxReportUrl","/api/CarFax/GetCarFaxReportHtml","/api/CarFax/GetCarFaxReportUrlInv","/api/CarFax/CarFaxLogOut","/api/CarFax/CarFaxLogOutInv","/api/CarProof/GetCarProofReportHtml/{entityId}/{vin}","/api/ChangeLog/{entityId}","/api/ChangeLog/Term/{vehicleId}/{term}","/api/ChangeLog/Price/{vehicleId}/{price}","/api/Convert/GetConvertInfo/{entityId}","/api/Convert/PostConvertInfo","/api/Convert/GetConvertSaleTypes","/api/CreditSoftPullResultEntityDel/{entityId}","/api/CreditSoftPullResultEntityKeep/GetSaleInfoByEntityId/{entityId}","/api/Customer/ByEntity/{entityId}","/api/Customer/NameByEntity/{entityId}","/api/Customer/Customer_Mark_DoNotEmail","/api/Customer/Customer_Get_DoNotEmail/{sessionID}","/api/Customer/Customer_Mark_DoNotCall","/api/Customer/Customer_Get_DoNotCall/{sessionID}","/api/Customer","patch","/api/Customer/UpdateCustomer/{updatingUserId}","/api/Customer/Insert_DoNotEmailStaging","/api/Customer/Insert_DoNotCallStaging","/api/Customer/UpdatePreferredLanguage","/api/Customer/{id}","/api/Customer/GetMany","/api/CustomerActivityHistory/ByEntity/{entityId}","/api/CustomerContactHistory/ByEntity/{entityId}","/api/CustomerContactHistory/ByCustomer/{customerId}","/api/CustomerContactHistory/{id}","/api/CustomerContactHistory/GetMany","/api/CustomerContactHistory","/api/CustomerWorkflow/GetStartListCustomer/{entityId}","/api/CustomerWorkflow/StartCustomerWorkflow/{entityId}/{workflowTemplateId}","/api/CustomerWorkflow/GetStartForm/{startableFormTemplateId}","/api/Dealer/GetDealerVendorFlags/{dealerId}","/api/Dealer/GetDealerFordPilotDto/{dealerId}","/api/Dealer/GetDealerFordInfo","/api/Dealer/GetPandoErrorDealers/{lookbackDays}","/api/Dealer/GetDealerAlertTolerances/{dealerId}/{makeId}/{year}/{modelId}/{trimId}","/api/Dealer/UpdateDealerAlertTolerances/{dealerId}","/api/Dealer/GetDealerWishLists/{dealerId}","/api/Dealer/FlushDealerWishListsCache/{dealerId}","/api/Dealer/SaveDealerWishList","/api/Dealer/GetDealerWishListLogs/{dealerId}/{dealerWishListID}/{take}","/api/Dealer/{id}","/api/Dealer/GetMany","/api/Dealer","/api/DealerAsset/GetDealerAssets","/api/DealerAsset/GetByDealer/{dealerId}","/api/DealerAsset/{id}","/api/DealerAsset/GetMany","/api/DealerAsset","/info/{data}","/api/DealerGroup/{dealerGroupId}","/img/DealerLogoImage/{dealerId}","/img/DealerLogoImage/{dealerId}/{makeId}","/api/DealerModule/DealerModulesChanged","/api/DealerPrice/GetTrimPrice/{dealerId}/{trimId}","/api/DealerPrice/GetTrimPlanPrice","/api/DealerPrice/GetAdjustedInventoryVehiclePrice/{dealerId}/{vehicleType}/{msrp}","/api/DealerPrice/GetDealerPrices/{dealerId}/{makeId}/{year}/{modelId}/{trimId}","/api/DealerPrice","/api/DealerRates/GetDealerRateMarkUps/{dealerId}","/api/DealerRates/UpdateDealerUsedRates","/api/DealerRates/DeleteAllUsedRatesByDealerId","/api/DealerRates/UpdateDealerOverAllowance","/api/DealerRates/UpdateDealerRateMarkUps","/api/DealerRates/GetDealerOverAllowances/{dealerId}","/api/DealerRates/GetDealerUsedRates/{dealerId}","/api/DealerRebate/GetDealerRebates/{dealerId}/{makeId}/{year}/{modelId}/{trimId}","/api/DealerRebate","/api/DealerSearch","/api/DealerSetting/{dealerId}","/api/DealerSetting/GetDealerSmtpSetting/{dealerId}","/api/DealerSetting/DealerSettingChanged","/api/DealerSetting/GetDealerOutboundEmailProviderInfo/{dealerId}","/api/DealerSetting/GetDealerSettingAll/{dealerId}","/api/DealerSetting/UpdateDealerSettingAll","/api/DealerSetting/SendTestAdfEmail","/api/DealerSetting/GetTextNumbers/{dealerId}","/api/DealerSetting/UseLegacyDealerSettings","/api/DealerSetting/UpdateInventoryDealerSettingByDealerId","/api/DealerSmtpSetting/GetDealerSmtpSettings","/api/DealerSmtpSetting/SaveDealerSmtpSettings","/api/DealerTradein/GetDealerTradeins/{dealerId}/{makeId}/{yearId}/{modelId}/{trimId}","/api/DealerTradein","/api/DealerUpgradeProposalSetting/GetDealerUpgradeProposalSetting/{dealerId}","/api/DealerUpgradeProposalSetting/SaveDealerUpgradeProposalSetting","/api/DealSheet/History","/api/DealSheet/CalculatePayments","/api/DealSheet/GetDealHistory/{entityId}","/api/DealSheet/CustomerEngagementHistory","/api/DealSheet/CustomerEngagementsByEntity","/api/DealSheet/HasReviewProDealer","/api/DealSheet/CustomerEngagementDashboard","/api/DealSheet/CustomerEngagementLastViewed","/api/Deskit/PushToDeskit","/api/DiscrepancyReport/ReportDiscrepancy","/api/EmailConversation/RecordEmailConversation","/api/EmailConversation/RecordEmailRead","/api/EmailConversation/GetEmailBody/{id}","/api/EmailConversation/{id}","/api/EmailConversation/GetMany","/api/EmailConversation","/api/Entity/GetExt/{entityId}","/api/Entity/ReassignToUserId","/api/Entity/CreditPrescreenRequest/{entityId}","/api/Entity/CreditPrescreenStatus/{entityId}","/api/Entity/MarkAsRead","/api/Entity/CustomerDoesNotOwnVehicle/{entityId}","/api/Entity/VehiclePurchasedByDealer/{entityId}","/api/Entity/VehiclePaidOff/{entityId}","/api/Entity/VehicleNotPaidOff/{entityId}","/api/Entity/HasWarranty/{entityId}","/api/Entity/SoldWarranty/{entityId}","/api/Entity/UndoHasWarranty/{entityId}","/api/Entity/UpdateMileage","/api/Entity/MarkAsSold/{entityId}","/api/Entity/Watch/{entityId}","/api/Entity/Unwatch/{entityId}","/api/Entity/Reopen/{entityId}","/api/Entity/UnmarkSoldWarranty/{entityId}","/api/Entity/GetEntityReportByCustomerId/{customerId}","/api/Entity/GetEntityReportByDealerIdAndVin/{dealerId}/{vin}","/api/Entity/GetEntityStatus/{entityId}","/api/Entity/HasReviewProDealer/{entityId}","/api/Entity/HasGeoAlertDealer/{entityId}","/api/Entity/GetVehicleTurnPredictor/{entityId}","/api/Entity/GetActiveNLPNoLongerOwn/{entityId}","/api/Entity/UpdateActiveNLPNoLongerOwn/{entityId}/{agreed}","/api/Entity/GetEntityScoreFeature/{entityId}","/api/Entity/ExternalGrantEntityAccess/{entityId}/{grantUserId}","/api/Entity/ExternalRevokeEntityAccess/{entityId}/{userId}","/api/Entity/ExternalBulkAssignEntityOwners/{actingUserId}/{ownerUserId}","/api/Entity/{id}","/api/Entity/GetMany","/api/Entity","/api/Entity/GetEntityEnterpriseCustomers/{entityId}","/api/EntityBalanceToMaturity/{entityId}","/api/EntityOpportunity/GetOpportunitiesForEntity/{entityId}","/api/Eula/{id}","/api/Eula/GetMany","/api/Eula","/api/EulaHistory/GetStatus","/api/EulaHistory/PostResponse/{eulaId}/{eulaResponseTypeId}","/api/EulaHistory/{id}","/api/EulaHistory/GetMany","/api/EulaHistory","/api/ExtCustomerActivity/AddEndConversationEventRecord/{entityId}","/api/ExtCustomerActivity/IsAutoAssistantConversationOpen/{entityId}","/api/FileUpload/UploadImage","/api/FordCreditApproval/FordCreditApprovalByEntityId/{entityId}","/api/FordPilotStore/GetFordPilotStoreStatus","/api/FordPilotStore/GetFordAlertModuleDealerStatus","/api/FordProgram/{id}","/api/FordProgram/GetMany","/api/FordProgram","/api/Healthz","/healthz","/elbtest.html","/api/Healthz/Diagnostics","/api/Inventory/InventoryBestMatchToTrim","/api/Inventory/InventoryBestMatch","/api/Inventory/InventoryRecommendation_UsedCar/{entityId}","/api/Inventory/InventoryRecommendation_NewCar","/api/Inventory/GetStockView/{dealerId}","/api/Inventory/GetStockView","/api/Inventory/GetExtByStockNo/{stockNo}/{entityId}/{pricingPlanID}","/api/Inventory/GetInventoryOpportunities/{dealerId}/{stockNumber}/{cashAdjustment}","/api/Inventory/Search","/api/InventoryDetail/GetInventoryDetail/{dealerId}","/api/InventoryDetail/UpdateInventoryDetail","/api/KendoReportProxy","/api/Lms/GetTraining","/api/Lms/Enroll/{id}","/api/Lms/Join/{id}","/api/Lms/GetTranscript/{userId}","/api/Log/Log","/api/Make/GetMakes","/api/Make/GetSearchableModelNames","/api/Make/{id}","/api/Make/GetMany","/api/Make","/api/Messaging/GetPubNubConfig","/api/Model/GetModelsByMakeYear/{makeId}/{yearId}","/api/Model/GetModelsByMake/{makeId}","/api/Model/GetModelsByMakesYears","/api/Model/{id}","/api/Model/GetMany","/api/Model","/api/MultipleApiCalls","/api/OpportunityCounts/GetOpportunityCounts","/api/PandoClaim/ByEntity/{entityId}","/api/PandoPassthrough/GetString","/api/PandoPassthrough/GetWorkflowTemplates/{dealerId}","/api/PandoPassthrough/GetPandoCustomStoreGroups/{dealerId}","/api/PandoPassthrough/AutoAssistFullView/{dealerId}/{entityId}","/api/PrintOffer/GetByEntity/{entityId}","/api/PrintOffer/GetByEntity/{entityId}/{excludeEmployees}","/api/PrintOffer/GetByBatch/{batchId}","/api/PrintOfferBatch/OpenBatch","/api/PrintOfferBatch/GetDealerStatuses","/api/PrintOfferBatch/{id}","/api/PrintOfferBatch/GetMany","/api/PrintOfferBatch","/api/Replacement/GetReplacementSpecifics","/api/Replacement/GetReplacementUpDown","/api/Replacement/SaveBulkReplacements/{defaultDealerId}","/api/Replacement/BulkDelete","/api/Replacement/{id}","/api/Replacement/GetMany","/api/Replacement","/api/Report_CreditConvert/Report_CreditConvert_Processed","/api/Report_CreditConvert/Report_CreditConvert_ROI","/api/Report_CreditConvert/Report_CreditConvert_Detail","/api/Report_CreditConvert/Report_CreditConvert_Summary","/api/Report_DataCleanse/Report_DataCleanse_Detail","/api/Report_DataCleanse/Report_DataCleanse_Summary","/api/Report_Inventory/Report_Inventory","/api/Report_ServiceDrivePerformance/GetServiceDrivePerformanceSummary","/api/Report_ServiceDrivePerformance/GetServiceDrivePerformanceSummaryEnterprise","/api/Report_ServiceDrivePerformance/GetServiceDrivePerformanceDetail","/api/Report_UserActivity/Report_UserActivity","/api/Report_UserActivity/Report_UserActivity_Entity","/api/Report_UserActivity/Report_UserActivity_Main","/api/Report_UserActivity/Report_DealerActivity","/api/Reports/Report_Dashboard","/api/Reports/Report_DashboardFromBenchmarks","/api/Reports/Report_EnterpriseDashboard","/api/Reports/GetReportPeriods","/api/Reports/Report_FooterInformation","/api/Reports/GenerateBenchmarks","/api/Reports/GenerateBenchmarksBatch","/api/Reports/Report_Dashboard_Benchmarks","/api/Reports/Report_OpportunitySales","/api/Reports/Report_AutoAssistant","/api/Reports/Report_AutoAssistantActivity","/api/Reports/Report_AutoAssistantEnterprise","/api/Reports/Report_GeoAlert","/api/Reports/Report_OnetoOne","/api/Reports/Report_OnetoOneEnterprise","/api/Reports/Report_GeoAlertEnterprise","/api/Reports/Report_TradeSales","/api/Reports/Report_Certification","/api/Reports/Report_WebinarAttendance","/api/Reports/Report_ServiceLaneTechnology","/api/Reports/Report_Performance","/api/Reports/Report_Performance_GetAvailableMonths/{dealerId}","/api/ReportSubscription/GetReportSelfSubscriptionsByUser","/api/ReportSubscription/GetReportSelfSubscriptionsByUserReport/{reportId}","/api/ReportSubscription/DisableReportSelfSubscription/{id}","/api/ReportSubscription/EnableReportSelfSubscription/{id}","/api/ReportSubscription/DeleteReportSelfSubscription/{id}","/api/ReportSubscription/AddReportSelfSubscription","/api/ReportSubscription/UpdateReportSelfSubscription","/api/ReportSubscription/GetReportSubscriptionRunLogs/{take}/{failOnly}","/api/ReportSubscription/GetReportDealerPandoGroupSubscriptions/{dealerId}","/api/ReportSubscription/AddReportDealerPandoGroupSubscription","/api/ReportSubscription/UpdateReportDealerPandoGroupSubscription","/api/ReportSubscription/GetDealerAutoReportSubscription/{dealerId}","/api/ReportSubscription/RemoveDealerAutoReportSubscription/{dealerId}","/api/ReportSubscription/UpdateDealerAutoReportSubscription","/api/Role/GetRoleOptions","/api/Role/GetRoleAccessRights/{roleId}","/api/Role/GetRoleModuleAccess/{roleId}","/api/Role/GetRoleModuleCategories/{roleId}","/api/Role/GetRoleAccessRightCategories","/api/Role/RoleAccessUpdate/{roleId}","/api/Role/AddEditRole","/api/Role/{id}","/api/Role/GetMany","/api/Role","/api/Sale/GetSaleExtByEntityId/{entityId}","/api/Sale/AddUpdateSalePayoff","/api/SaleBalanceToMaturity/{saleId}","/api/SaleCalc/GetByEntityId/{entityId}","/api/SalePayoffEstimate/{saleId}","/api/Search/GetSearchByEntityId/{entityId}","/api/Search/GetOpenOpportunities","/api/Search/GetOpenOpportunities/FlushCache","/api/Search/GetEntitiesListCustom","/api/Search/GetOneToOneEntities","/api/Search/GetFreshOpportunities","/api/Search/GetFreshOpportunities/FlushCache","/api/Search/GetRecentlyAssignedOpportunities","/api/Search/GetRecentlyAssignedOpportunities/FlushCache","/api/Search/GetSoldBySearchByDealers/{dealerId}","/api/Search/GetPrivateOfferInfo/{dealerId}/{entityId}","/api/Search/SaveSearch","/api/Search/CreateDealerCampaignExportAudience","/api/Search/GetDealerCampaignRequestsInWindow/{days}","/api/Search/GetNoLongerOwnForDealer/{dealerId}","/api/Service/GetServicesBy/{entityId}","/api/Service/GetServiceDetail/{dealerId}/{roId}","/api/Style/GetStyleImage/{styleId}","/api/Style/GetStyleImageCarousel/{styleId}","/api/Tag/GetTagsForEntity/{entityId}","/api/Tag/GetTagsPivotForDealers","/api/Tag/IsTagActivePast6Months/{dealerId}/{tagText}","/api/Tag/GetTagsForDealers/{dealerId}","/api/Tag/GetActiveTagsInDateRange","/api/Tag/GetActiveTagsInDateRangeForDealer/{dealerId}","/api/Template/GetTemplateExtById/{templateId}","/api/Template/SaveTemplateExt","/api/Template/DeleteTemplate/{templateId}","/api/Template/TemplateEmailPreview/{templateId}/{dealerId}","/api/Template/TemplatePdfPreview/{templateId}/{dealerId}","/api/Template/GetTemplatesForDealerId","/api/Template/GetNonEmptyTemplatesForDealerId","/api/Template/GetTemplates/{dealerId}","/api/Template/MergeTemplate/{templateId}","/api/TemplateOutboundEmail/{id}","/api/TemplateOutboundEmail/SendProcessEmail","/api/TemplateOutboundEmail/SendExternalProcessEmail","/api/TemplateOutboundEmail/SendEmail","/api/TemplateOutboundEmail/SendEmailWithAttachment","/api/TemplateOutboundEmail/ValidateMaxEmailsPerDay/{entityId}","/api/TemplateOutboundEmail/GenerateEmailPreview","/api/TemplateOutboundEmail/GetSentEmailContent/{templateOutboundEmailId}/{accessCode}","/api/TemplateOutboundEmail/GetEmailSubscription/{templateOutboundEmailId}/{accessCode}","/api/TemplateOutboundEmail/DisableEmailSubscription/{templateOutboundEmailId}/{accessCode}","/api/t/o/{templateOutboundEmailId}/{accessCode}","/api/t/c/{templateOutboundEmailId}/{templateId}/{accessCode}/{url}","/api/t/cq/{templateOutboundEmailId}/{templateId}/{accessCode}","/api/TemplateOutput/GetByEntityId/{entityId}","/api/TemplateOutput/CreatePdf","/api/TemplateOutput/DownloadPdf/{templateOutputId}","/api/TemplateOutput/ArchivePdf","/api/TextMessage/Send","/api/TextMessage/SendWithUpgradeProposal","/api/TextMessage/GetHistoryForEntity/{entityId}","/api/TextMessage/GetMessagesByCustomerId/{customerId}","/api/TextMessage/GetNewMessagesByCustomerId/{customerId}/{messageId}","/api/TextMessage/GetTextableStatus","/api/TextMessage/IsUserNumberTextable","/api/TextMessage/SearchForNewNumber","/api/TextMessage/SearchForNewNumber/{dealerId}/{stateCode}","/api/TextMessage/SearchForNewNumberByAreaCode","/api/TextMessage/PurchaseNewNumber","/api/Trim/GetTrimsByModelId/{modelId}","/api/Trim/GetTrimExtId/{trimId}","/api/Trim/GetFuelEconomyComparison/{newTrimId}/{entityId}","/api/Trim/GetFeatureComparison/{newTrimId}/{entityId}","/api/Trim/GetFeatureComparison","/api/Trim/GetTrimsByModels","/api/Trim/{id}","/api/Trim/GetMany","/api/Trim","/api/TrimAlternateOffer/{dealerID}/{baseTrimID}/{level}","/api/TrimAlternateOffer","204","201","/api/TrimAlternateOffer/BulkDelete","/api/TrimAlternateOffer/BulkRemoveMappings","/api/UpgradeProposal","/api/UpgradeProposal/GetByActivityId/{activityId}","/pub/up/{activityId}/{accessCode}","/api/User/LoggedInUser","/api/User/CurrentUser","/api/User/GetUser/{username}","/api/User/GetEnabledUsersForDealer/{dealerId}","/api/User/GetEnabledClientUsersExtByDealer/{dealerId}","/api/User/FullName/{userId}","/api/User/FullNameByEntity/{entityId}","/api/User/GetEntityUserInfo/{entityId}","/api/User/LogUserLogin","/api/User/FacebookUserId/{emailAddress}","/api/User/GetUserDealers","/api/User/GetUserIsMetric/{countryId}","/api/User/CheckUserIP","/api/User/IsWhiteSalePartner","/api/User/{id}","/api/User/GetMany","/api/User","/api/UserModule/{id}","/api/UserModule/GetMany","/api/UserModule","/api/UserModuleAccess","/api/UserModuleAccess/GetModuleAccess/{moduleId}","/api/UserProfile","/api/UserProfile/Extended","/api/UserProfile/GetCultures","/api/UserProfile/GetTimeZones","/api/UserProfile/{id}","/api/UserProfile/GetMany","/api/UserSearchCondition/GetSearches","/api/UserSearchCondition/GetSearchModel/{userSearchConditionId}","/api/UserSearchCondition/GetSearchCounts","/api/UserSearchCondition/FlushSearchCountsCache/{luae}","/api/UserSearchCondition/GetDealerLayOutExts","/api/UserSearchCondition/GetActiveDealerLayOutExts","/api/UserSearchCondition/ShareUserSearchCondition/{userSearchConditionId}","/api/UserSearchCondition/UnshareUserSearchCondition/{userSearchConditionId}","/api/UserSearchCondition/DeleteUserSearchCondition/{userSearchConditionId}","/api/UserSearchCondition/UpdateDealerLayOuts/{dealerId}","/api/UserSearchCondition/ResetAutoAssignments","/api/UserSearchCondition/ExecutePandoX","/api/UserSearchCondition/{id}","/api/UserSearchCondition/GetMany","/api/UserSearchCondition","/api/VciMaturity/DealerMakeHasVciConfig/{dealerId}/{makeId}","/api/VciMaturity/AddVciEulaAccepted","/api/VciMaturity/GetVciMaturityData/{entityId}/{makeId}/{vin}","/api/VciMaturity/{id}","/api/VciMaturity/GetMany","/api/VciMaturity","/api/Vehicle/ByVin/{vin}","/api/Vehicle/GetByEntityId/{entityId}","/api/Vehicle/GetDetailsByEntityId/{entityId}","/api/Vehicle/GetDetails/{vehicleId}","/api/Vehicle/{id}","/api/Vehicle/GetMany","/api/Vehicle","/api/VehicleCalc/{id}","/api/VehicleCalc/GetExtById/{id}","/api/VehicleExtendedWarranty/GetByVehicleId/{vehicleId}","/api/VehicleExtendedWarranty/SaveExtendedWarrantySoldDate/{vehicleId}/{soldDate}","/api/VehicleFinalTradeValueTempChange/LogTradeValueChange","/api/VehicleFinalTradeValueTempChange/{id}","/api/VehicleFinalTradeValueTempChange/GetMany","/api/VehicleFinalTradeValueTempChange","/api/VehicleImage/GetImage/{dealerId}/{trimId}","/api/VehicleImage/GetEntityImage/{entityId}","/api/VehicleImage/GetVehicleImage/{vehicleId}","/api/VehicleReplacement/GetExtByEntityId/{entityId}","/api/VehicleReplacement/GetExtByVehicleAndDealer/{vehicleId}/{dealerId}","/api/VehicleReplacement/GetVehicleReplacements/{entityId}/{stockNo}","/api/VehicleReplacement/OnDemandOffBrandVehicleReplacements","403","/api/VehicleReplacement/{id}","/api/VehicleReplacement/GetMany","/api/VehicleReplacement","/api/VehicleUserTradeValue/StoreVehicleUserTradeValue","/api/VinRecall/GetByDealerVehicle/{dealerId}/{vehicleId}","/api/VinRecall/GetInvRecallByDealerVehicle/{dealerId}/{vehicleId}","/api/VinRecall/GetVinRecallNos","/api/VinRecall/GetVinRecallTypes","/api/VinRecall/GetVinRecallForInventory","/api/VinRecall/{id}","/api/VinRecall/GetMany","/api/VinRecall","/api/Year/GetYears/{isAll}","/api/Year/GetByDealerId/{dealerId}/{showDefaultYears}","/api/Year/{id}","/api/Year/GetMany","/api/Year","definitions","securityDefinitions","Bearer","security","core_api_objectSpread","core_api_defineProperty","CoreAPIProvider","swaggerDefinition","clients","CreateClients","defaultsDeep","loadAPI","pathSplit","httpVerbs","httpVerb","upperCaseVerb","urlParams","httpOptions","aggregateUrl","httpPath","PATCH","Write","swaggerInfo","encodeURI","swagger_definition_dmspush","/api/Activity/ManualPushToCrm","/api/Deskit/IsPushToDeskitValid/{dealerId}","/api/DmsPush/IsDmsPushValid/{dealerId}","/api/DmsPush/PushCustomer","/api/DmsPush/PushFAndI","/api/DmsPush/GetDealerTrackLookupData/{dealerId}/{trackingKey}","/api/DmsPush/PushDealerTrackFAndI","/api/DmsPush/GetCDKLookupData/{dealerId}/{trackingKey}","/api/DmsPush/PushCDKFAndI","/api/DmsPush/GetRCILookupData/{dealerId}/{trackingKey}","/api/DmsPush/PushRCIFAndI","/api/DmsPush/GetPBSLookupData/{dealerId}/{trackingKey}","/api/DmsPush/PushPBSFAndI","/api/DmsPush/PushSertiFAndI","/api/DmsPush/PushAdfFAndI","409","/api/DmsPush/PushAutovanceFAndI","/api/DmsPush/GetAutomateLookupData/{dealerId}/{trackingKey}","/api/DmsPush/PushAutomateFAndI","/api/DmsPush/GetDealerbuiltLookupData/{dealerId}/{trackingKey}","/api/DmsPush/PushDealerbuiltProspect","/api/DmsPush/PushDealerbuiltDeal","/api/DmsPush/GetDmsPushSuccessHistory","/api/DmsPush/GetLatestDmsPushSuccess","/api/DmsPush/GetDmsEmployees/{dealerId}","/api/DmsPush/GetDmsEmployeesForCleanup/{dealerId}","/api/DmsPush/GetNonRCIConfiguredFullDeskingDealers","/api/Finance/IsFinancePushValid/{dealerId}","/api/Finance/GetResultsForTrackingKey/{trackingKey}","/api/Finance/CreateSevenHundredCreditCreditReport","/api/Finance/CreateSevenHundredCreditPrescreenReport","/api/Finance/CreateSevenHundredCreditOFACReport","/api/Finance/CreateRouteOneDealJacket","/api/Finance/UpdateRouteOneDealJacket","/api/Finance/GetRouteOneDealJacket","/api/Finance/CreateRouteOneCreditApp","/api/Finance/DealerTrackFinancePushLead","/api/vAuto/CreateAppraisal","/api/vAuto/CreateAppraisalV2","/api/vAuto/GetAppraisalById","/api/vAuto/GetLatestAppraisalByVin/{dealerId}/{vin}","/api/vAuto/IsEnabled/{dealerId}","/api/vAuto/GetvAutoAccount/{dealerId}","/api/vAuto/GetAppraisalHistoryBy/{dealerId}/{entityId}","/api/vAuto/UpdatevAutoAccount/{dealerId}","/api/VinCue/CreateAppraisal","/api/VinCue/IsEnabled/{dealerId}","/api/VinCue/GetLatestAppraisalByVin/{dealerId}/{vin}","dmspush_api_objectSpread","dmspush_api_defineProperty","DmsPushAPIProvider","BusyIndicator","BusyIndicator_classCallCheck","_stack","BusyIndicator_defineProperties","BusyIndicator_createClass","_resolve","_stop","ix","shouldResolve","DataEntryReplacementOfferController","dataEntryService","$ctrl","busyMessage","translation","busyIndicator","loadingMakeModelTrim","makes","isFordLincoln","fordMakeIds","lincolnMakeIds","showUpgradesDowngrades","processUpgradeDowngradeColumns","selectedYearId","replacementsMMT","advancedMMT","loadReplacements","confirmationModal","closeButtonDisabled","doWorkIfConfirmed","setToDefaults","dataReplacementSpecifics","removeMappings","formatTrim","isBold","noUpgradeDefined","noDowngradeDefined","tabName","replacementEyeballList","loadReplacementUpDown","loadReplacementAdvanced","loadingReplacementTabData","ds","DataSource","editable","baseMakeName","baseModelName","baseTrimName","baseYearID","upgradeDefaultTrimID","upgradeDefaultMakeName","upgradeDefaultModelName","upgradeDefaultTrimName","upgradeDefaultYearID","upgradeOverrideExists","upgradeOverrideMakeID","upgradeOverrideMakeName","upgradeOverrideModelID","upgradeOverrideModelName","upgradeOverrideTrimID","upgradeOverrideTrimName","upgradeOverrideYearID","upgradeRetailTolerance","upgradeLeaseTolerance","downgradeDefaultTrimID","downgradeDefaultMakeName","downgradeDefaultModelName","downgradeDefaultTrimName","downgradeDefaultYearID","downgradeOverrideExists","downgradeOverrideMakeID","downgradeOverrideMakeName","downgradeOverrideModelID","downgradeOverrideModelName","downgradeOverrideTrimID","downgradeOverrideTrimName","downgradeOverrideYearID","downgradeRetailTolerance","downgradeLeaseTolerance","upgradeTrimID","upgradeIsDefault","downgradeTrimID","downgradeIsDefault","batch","loadingAdvancedTabData","dataReplacementAdvanced","dsAdvanced","isDefaultTrim","existingMakeName","existingModelName","existingTrimName","existingYearID","replacementMakeName","replacementModelName","replacementTrimName","replacementYearID","setKendoCulture","$onInit","getTranslations","gridOptions","standardReplacementOffers","headerAttributes","replacementTrimMappings","createTrimRenderer","editTrimMappings","editMultiItemsTrimRenderer","multiVehicleOffers","second","headerTemplate","downgrade","editUpgradeDowngrade","editTrimRenderer","allowUnsort","reorderable","gridOptionsAdvanced","existingYearModelTrimMappings","replacementYearModelTrimMappings","editAdvanced","editAdvancedRenderer","renderAdvancedGrid","read","setTrimSelections","selections","upDownModal","saveModalData","editUpgradeDowngradeMultiItems","baseMakeID","baseModelID","replacementTrim","saveUpgradeDowngradeMultiItems","editTrimAdvanced","editTrimAdvancedModal","saveAdvancedModalData","modalState","saveList","replacements","mapToItself","itself","baseUpDown","hideEyeball","eyeball","eyeIconPath","trimElement","replacementID","saveUpDown","upDown","upgradeInt","upgradeChanged","downgradeChanged","loadEyeballList","replacementsEyeballListTrimID","setToDefaultsConfirmation","setReplacementsToDefaultsConfirmation","setReplacementsToDefaults","removeMappingsConfirmation","upgradeTrim","downgradeTrim","previewChanges","showColumn","hideColumn","isFordDealerMakeSelected","templateUrl","bindings","DataEntryPricesController","priceSetToOptions","assetTypes","isDataDirty","trimSelections","hasO2O","loadPrices","kendoGrid","dirty","_data","setOverwriteWarning","showOverwriteWarning","anyOverrides","dataPrices","overridesFound","destination","sunroof","automaticTransmission","metallicPaint","gasGuzzlerTax","destinationFeeEditable","kendoDatePicker","widget","showQuickAction","priceSetTo","priceAdjMode","priceAdjBy","expireSetTo","expireAdjBy","totalTemplate","destinationTemplate","priceTemplate","tbody","updateExpirationValidationFlag","minPrice","maxPrice","expirationDateTemplate","updatePriceValidationFlag","today","localeExpirationDate","saveConfirmMessage","validationErrorMessage","stuff","navigatable","onShowQuickAction","onHideQuickAction","onPerformPrice","pricePerformError","dirtyFields","onClearPrice","onPerformExpireDate","onClearExpireDate","isDataValid","dirtyRows","dealerPriceID","destinationFee","DataEntryTradeInsController","resizeHandler","screenWidth","setColumnWidths","loadTradeIns","tradeValueTemplate","estimated","dataTradeIns","auctionWeek1","auctionWeek2","auctionWeek3","auctionWeek4","dealerTradeValue","dealerTradeExpirationDate","weekOne","grid","weekColumns","scrollWidth","col","dealerTradeValueTemplate","updateDealerValueValidationFlag","$onDestroy","enableQuickAction","tradeInsSetTo","tradeInsAdjMode","onPerformTradeIn","tradeInsAdjBy","tradeInsPerformError","tradeIn","tradein","onClearTrade","dealerValueExpirationDate","DataEntryRebatesController","loadRebates","dataRebates","leaseRebate","leaseExpirationDate","retailRebate","retailExpirationDate","balloonRebate","balloonExpirationDate","leaseDealerRebateID","leaseSaleTypeID","retailDealerRebateID","retailSaleTypeID","balloonDealerRebateID","balloonSaleTypeID","rebateFor","quickActionForOptions","rebateSetAmount","leaseRebateTemplate","leaseExpirationDateTemplate","retailRebateTemplate","retailExpirationDateTemplate","balloonRebateTemplate","balloonExpirationDateTemplate","expireOn","onPerform","setLeaseColumn","setRetailColumn","setBalloonColumn","onClear","clearFlag","DataEntryRatesController","tabDealerId","isOverAllowanceNotSaved","isMarkUpNotSaved","isUsedRatesNotSaved","onNotifyUnsavedData","DataEntryAlertsController","loadTolerances","dataTolerances","setOptions","gridPageSize","alertLeaseSetTo","alertRetailSetTo","flexAlertLeaseSetTo","flexAlertRetailSetTo","flexMonthSetTo","toleranceEditor","kendoNumericTextBox","decimals","minTolerance","maxTolerance","restrictDecimals","monthEditor","minMonth","maxMonth","leaseAlertToleranceTemplate","initAlertLeaseSet","leaseAlertToleranceDefault","leaseAlertToleranceOverride","retailAlertToleranceTemplate","initAlertRetailSet","retailAlertToleranceDefault","retailAlertToleranceOverride","leaseFlexAlertToleranceTemplate","initFlexAlertLeaseSet","leaseFlexAlertToleranceDefault","leaseFlexAlertToleranceOverride","retailFlexAlertToleranceTemplate","initFlexAlertRetailSet","retailFlexAlertToleranceDefault","retailFlexAlertToleranceOverride","flexMonthsToleranceTemplate","initFlexMonthSet","flexMonthsToleranceDefault","flexMonthsToleranceOverride","editsDisabledTooltip","editor","columnName","setToValue","imposeMinMax","showDisabledTooltip","overrides","modifiedBy","modifiedDate","isModified","updateAlertTolerances","DataEntryRatesRateMarkUpController","loadRates","setRetailCPOAmount","setLeaseAmount","moneyFactorCheck","numericEditor5","bankMakeSorting","bankMakeTemplate","stdLeaseRateMarkUpTemplate","stdLeaseRateMarkUp","minStdLease","maxStdLease","minStdAprLease","maxStdAprLease","stdRetailRateMarkUpTemplate","stdRetailRateMarkUp","minStdAprRetail","maxStdAprRetail","specLeaselRateMarkUpTemplate","specLeaselRateMarkUp","specRetailRateMarkUpTemplate","specRetailRateMarkUp","cpoRateMarkUpTemplate","cpoRateMarkUp","markupData","processData","bankMake","dealerMakeRegion_DealerMakeRegionID","$onChanges","cellClose","DataEntryRatesOverAllowanceController","loadOverAllowance","allowanceEditor","LeaseTemplate","initLeaseSet","leaseAllowanceBankDefault","leaseAllowance","RetailTemplate","initRetailSet","retailAllowanceBankDefault","retailAllowance","BalloonTemplate","initBalloonSet","balloonAllowanceBankDefault","balloonAllowance","BankMakeTemplate","overAllowanceData","bankId","t1pRetailAllowance","t1pLeaseAllowance","t1pBalloonAllowance","t1pRetailAllowanceBankDefault","t1pLeaseAllowanceBankDefault","t1pBalloonAllowanceBankDefault","t1RetailAllowance","t1LeaseAllowance","t1BalloonAllowance","t1RetailAllowanceBankDefault","t1LeaseAllowanceBankDefault","t1BalloonAllowanceBankDefault","t2RetailAllowance","t2LeaseAllowance","t2BalloonAllowance","t2RetailAllowanceBankDefault","t2LeaseAllowanceBankDefault","t2BalloonAllowanceBankDefault","isLeaseAllowanceChanged","isRetailAllowanceChanged","isBalloonAllowanceChanged","DataEntryRatesUsedRatesController","loadUsedRates","gridLockedMessage","rate24Template","rate24","rate30Template","rate30","rate36Template","rate36","rate42Template","rate42","rate48Template","rate48","rate54Template","rate54","rate60Template","rate60","rate66Template","rate66","rate72Template","rate72","rate84Template","rate84","usedRatesData","gridData","yearList","startYear","endYear","ele2","termID","fromTerm","toTerm","quickActionFromTerm","quickActionToTerm","fromYear","toYear","quickActionFromYear","quickActionToYear","termMonths","isChanged","termId","rateAmount2","rateAmount","quickActionToTermChange","quickActionToYearChange","AdminReportSubscriptionsController","roles","dealerSelected","ele","selectedDealerName","dealerReportSubscriptions","cloneDeep","reportSubscriptions","dealerAutoReportSubscription","reportDealerPandoGroupSubscriptions","pandoGroups","groupId","groupMessagingType","groupName","reportID","subscriptionGM","subscriptionSM","sendToGroupID","previousSendToGroupID","sendToGroupIDEnabled","previousSendToGroupIDEnabled","reportSubscriptionId","promiseArray","validationError","saleGrossReportSubscription","deliveryMethodEmail","deliveryMethodPando","reportSubscriptionPeriodPoint","periodicity","userActivityReportSubscription","showError","dataPromise1","dataPromise2","dataPromise3","dataPromise4","dataPromise5","dataPromise6","dataPromise7","dataPromise8","dataArray","errorResponse","reportName","reportSubscriptionRoles","reportSubscriptionRoleId","dashboard_manager_component_defineProperty","asyncGeneratorStep","gen","_next","_throw","DashboardManagerController","customerEngagementService","MAX_ROWS","managerDashboardCustomerEngagementMaxRows","showHotLeadsOnly","showNotWorkedOnly","_setUpWidgets","setUpWidgets","refreshWidgets","closeCallback","hotLeadsOnlyChanged","filtersChanged","NotWorkedChanged","showReviewPro","showGeoAlert","getWidgetColumnTypesList","getWidgetLink","moveWidgetToTop","setFavoriteWidget","isOn","widgetIndex","widgets","widgetDefaultOrder","isFavorite","favorites","saveFavorites","showFavorites","saveCollapseState","collapseState","reviewProColumnTypes","emailTextOneToOneColumnTypes","serviceColumnTypes","webColumnTypes","geoAlertColumnTypes","upComingApptColumnTypes","_asyncToGenerator","regeneratorRuntime","_callee","_context","widgetType","widgetExpandToolTipKey","widgetLink","widgetDataService","retailWidgetDataService","triggerRefresh","leaseWidgetDataService","highEngagementDescription","detailViewLinkDisabled","force","mappedResponse","getUpcomingAppointments","agendaWidgetDataService","recentlyAssignedWidgetDataService","showCollapseState","stop","widgetStr","widgetSetting","favoritesStr","byDefaultOrder","object1","object2","leaseSaleTypes","retailSaleTypes","startOfToday","appts","appt","dashboard_manager_component_objectSpread","DashboardOpportunitiesController","$sce","alertTypeDescriptors","widgetTitleKeys","widgetExpandToolTipKeys","managerRoles","searchPresentCountWidgetEnabled","displayWidgets","searchPresetCountConfig","newOpportunityChangesConfig","leftColumnWidgets","rightColumnWidgets","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","refreshAllWidgets","newOpportunityChangesWidgetDataService","iframeSource","trustAsResourceUrl","managerWidgetOrder","opportunityCounts","DashboardController","IsVisible","showQuickLinkPanel","tabDefinitions","requiredModules","OpportunityBlockController","goToState","opportunityBlock","alertName","ActivityActionController","closeWrapper","isValidated","arrowIconPath","dismiss","setDefaults","upgradeOverrideValue","downgradeOverrideValue","rowState","upgradeOriginal","upgradeOverrideDefaults","upgradeRetailToleranceOriginal","upgradeLeaseToleranceOriginal","upgradeSelection","upgradeOverride","downgradeOriginal","downgradeOverrideDefaults","downgradeRetailToleranceOriginal","downgradeLeaseToleranceOriginal","downgradeSelection","downgradeOverride","invalidUpgradeLeaseTolerance","invalidUpgradeRetailTolerance","invalidDowngradeLeaseTolerance","invalidDowngradeRetailTolerance","invalidReplacementYear","replacementModelID","DashboardWidgetController","saveSelectedSearchPresets","selectedSearchPresets","pandoWorkflowIntegrationEnabled","isModuleEnabledForAnyDealer","pandoXEnabled","setFavorite","onSetFavorite","toggleCollapse","onToggleCollapse","isCollapsable","showOpportunitySearched","searchPresetLimit","isEmployeeUser","leadAssignOwnerAccessEnabled","isEnabled","gotoState","runDateChange","runDate","transclude","widgetHeaderIcon","widgetPreamble","widgetExpandText","alertCount","ActivityController","activityResults","playableUrl","activityTypeTranslateKeys","activityResultTranslateKeys","downloadUpgradeProposal","getIconClass","getProcessStatusClass","statusClass","hasAudioLink","isPhoneType","viewTemplateOutput","ActivityListController","dealSheetTabs","enableModule","foundModule","getFilteredActivities","activeModuleGroupNames","selected","masterActivities","moduleGroupName","modalClick","latestScheduledActivity","onScheduleCallApptSubmit","bySubmittedDateTime","activityScheduled","getModuleGroupName","nextAction","sourceActionType","getCompleteActionType","rescheduleAction","getRescheduleActionType","reassignAction","getReAssignActionType","cancelAction","getCancelActionType","iconClass","iconName","scheduledActivities","getLatestScheduledActivity","filteredActivities","listId","filterSelectedLogs","isCall","resetFilter","AutoAssistantController","messageTypes","successKey","autoAssistantService","conversicaStatus","hasConversation","conversationTranslateButtonKey","conversationTranslatePopoverKey","endAutoAssistCommunication","showSubmitButton","getIsAutoAssistantConversationOpenVariable","getAutoAssistantConversation","AlertRelevantInfoController","AlertScriptTypeSelectController","alertScriptTypes","changeScriptType","scriptType","selectedAlertType","setSelectedAlertScriptType","changeAlertType","isCrossMake","alertScriptType","selectedAlertScriptType","isConquestScript","alertTypeKeys","showPrivateOfferScript","showPrivateOfferPreApprovalScript","AlertScriptController","alertScriptTypeKeys","submittedBy","assignedTo","typeOfCall","hasAutoAssist","BankRateController","loadUnknownBankLabel","runOnce","ContractDatesController","ContractSelectController","offsetActive","refreshLinkActive","setSelectedContract","showMobileView","selectedContract","anyContractsAreAlert","updateDealsheetTerm","onOverride","DeliveryMonthlyMileage","FeatureComparisonFeaturesController","setCurrentSelections","idx","currentsavings","currentSelections","existingFuelEconomy","fuelEstimateRanges","replacementFuelEconomy","currentRange","rangeSelections","estimatedAnnualDistance","saving","estimatedAnnualFuelCost","setSteps","slider","stepsArray","tickLabel","CurrentSelection","setupUxKeys","fuelEconomy","comparison","alticon","alttransKey","hasMultipleFuelTypes","checkData","rslt","isShowItem","hasAdvantage","prepData","existingVehicle","newVehicle","combined","combinedEquivalent","eadSource","eadIndex","showPrintFeaturesDialog","onPrintFeatures","showTicksValues","sliderId","highValue","pointerType","MsrpTypeSelectController","msrpTypes","selectedMsrpType","msrpType","PreferredEquityController","toolTipMessage","rateTypeSelectController","selectedRateType","rateType","ReplacementContractDetailsController","setSelectedSaleTypes","selectedSaleTypes","bySaleType","currentSaleType","currentSaleTypeContracts","availableContracts","onSaleTypeChange","loadContracts","option1","option2","synchronizedContracts","bySaleTypeAndTermMonths","synchronizeContractTerms","getSynchronizedContracts","contractsByBankIdAndSaleType","contractsByBankId","mapValues","cs","groupByBankIdAndSaleType","fromPairs","forOwn","contractsBySaleType","saleType1","saleType2","termsToInsert","filteredContracts1","filteredContracts2","termToInsert","termExists","contract1","contract2","bank","selectedContracts","availableSaleTypes","getAvailableSaleTypes","uniqueBankContracts","getBanks","hasMultipleBanks","defaultContracts","getDefaultContracts","setOverrideContract","onReplacementContractOverride","SaleTypeSelect","WarrantyActionsController","activityRule","entityActionAccessEnum","onHasWarranty","refreshOpportunity","onDoesntHaveWarranty","onSoldWarranty","onUndoSoldWarranty","ChangeLogController","_getChangeLogs","changeLogLoadingPromise","changeLogs","appendDate","appendedDate","pricing","planTypes","pricingPlan","masterChangeLogs","_setModuleAccess","selectedChangeLogs","refreshChangeLogs","filteredLogs","bankUrl","defaultTerm","existingVehicleSaleType","delivery","printingFeatures","showMultiFuel","mileageAtDelivery","renderAsButton","CreditInquiriesController","creditPrescreenStatuses","creditPrescreenResultsKey","noCreditPrescreenDataKey","goodThruDate","creditPreApprovalValid","creditPreQualifiedValid","CreditPrescreenController","creditPrescreenErrorKey","submitPromise","startPrescreenTime","checkStatus","showErrorMessage","date1","date2","utcDate1","utcDate2","getDateDifferenceInDays","requestDate","CHECK_STATUS_TIMEOUT","CHECK_STATUS_INTERVAL","currentPrescreenTime","onStatusChange","onPrescreen","CultureSelectController","changeCulture","getTranslationTable","selectedCulture","getCultureNameSync","CustomerContactController","contactTypes","tel1Label","tel2Label","phoneCellLabel","phoneHomeLabel","phoneWorkLabel","preferredLanguageLabel","hasCoords","customerAddress","homePhones","workPhones","cellPhones","emails","cultureDisplayName","openModalWithMap","addressCoordinatesSearched","CustomerEmailController","featureToggleService","preEmailValidation","acceptedEula","templateServiceResponse","maxEmailsPerEntityPerDay","showEmailLink","isTouchpointOk","getEmailTemplateUrl","blankTemplateId","displayTextKey","lastTouchDate","twoYearsAgo","setFullYear","CustomerPhoneController","doNotCallStatusTypes","doNotCallStatusTranslateKeys","creditPrescreen","onEmailSend","useIcon","CustomerEditController","territories","updateInvalidContacts","editableCustomer","getAlternateContacts","contacts","uniqueContacts","candidate","onEdit","customerEditForm","$valid","isFirstNameRequired","isLastNameRequired","onPreferredContactChanged","onAlternateContactChanged","preferredPropertyName","getPreferredPropertyName","preferredContact","replaceOrAddContact","updateState","selectedState","updatePricingPlan","selectedPricingPlan","pricingPlanEnabled","pricingPlans","_arrayWithHoles","_arr","_n","_e","_s","_iterableToArrayLimit","_nonIterableRest","_slicedToArray","$setDirty","alternateHomePhones","alternateWorkPhones","alternateCellPhones","alternateEmailAddresses","currentEmail","currentPhone","phones","deal_sheet_component_objectSpread","deal_sheet_component_defineProperty","DealSheetController","$analytics","switchToNewDealSheetKey","switchToClassicDealSheetKey","dontHaveAccessWarningKey","analytics","userProfileRoles","submitDiscrepancySuccessMessageKey","vehicleActions","pandoActionTypes","errorExit","errorExitWithCode","dealsheetWorking","isDealsheetVersionChangeEnabled","changeDealSheetLabel","newDealSheetVisible","hideWhenBusy","initNewDealSheet","getLegacyDealSheet","loadingDealSheetText","newDealSheetReady","contractReady","opportunityDetailsReady","funcKeydown","calculationId","setOpportunity","crossBrandConditionsMet","isVciAvailable","hasData","displayHotTrade","hotTradeData","displayNlo","leadAssignment","leadAssignmentLabel","dateLabel","isAutoAssignedOwner","autoOwnerLeadAssignmentToolTip","dateSeparator","newLineSeparator","autoAssignData","isAutoAssigned","toolTip","hasTextingModule","isVautoEnabled","OriginalTradeValue","expirationDateLimit","setYear","showExpirationDate","newWindowButtonVisible","isDealerEnabled","isOfferEnabled","checkPullForward","setRelatedOpportunitiesByVin","isDealSheetDirty","replacementStockNo","isPrivateOffer","privateoffer","po","privateOfferInfo","updateReplacementVehicleFuelCost","autoRewardsUrl","getAutoRewardsUrl","offBrandAlternateVehicles","alternatesWithOvernightOffBrand","entityReport","enterpriseOpportunities","buildOpportunitiesFromEntityReport","enterpriseOpportunity","entity","isEnterpriseCustomer","relatedOpportunities","otherVehicleStatusClosed","otherVehicleHasAlerts","makeDealerIds","hasPandoDsButtonsOverride","isPandoConnectEnabled","pandoDealSheetEnabled","eulaAcceptedDate","defaultTabs","isTabAccessible","accessibleTabs","getAccessibleTabs","getDefaultTab","changeTab","setUserDetails","relatedOpportunitiesByVin","updateReplacementVehicleFeatures","tabLabel","eventTrack","refreshTabs","tabLoadingPromise","setActivities","reCalculateReplacementContract","hasTermOverride","overrideTermInfo","saleTypeName","setReplacementContracts","reLoadOpportunity","waitTime","setReplacementVehicle","updateReplacementVehicleImagePath","showNoRecommendedVehiclesMessage","setReplacementVehicleMsrp","avgVehicle","bestTrimMatch_VIN","overrideContract","reloadOpportunityOnSuccess","setInventoryOrAverageReplacementVehicle","selectedReplacementVehicle","closeModal","noRecommendedVehiclesMessageVisible","changeDealSheetView","onActivityUpdate","onTradeValueChange","logged","isUserEditedTradeValue","reCalculateVehicleEquity","onPriceChange","onWatchChange","updateReplacementVehicleByMsrpType","updateReplacementVehicleByTrim","extID","trimPriceInfo","trimPlanSourceId","trimPlanSourceName","setTrimPriceInfo","sourceName","updateCustomerCancel","printVisible","printShow","showPrintDialog","showFeaturePrintDialog","onMarkAsNLO","onFinancialUpdate","onOpenComparisonTab","changeOpportunity","setReplacementVehicleType","payoffResult","reopen","onMarkAsSold","markAsOnOrder","unMarkAsOnOrder","getCreditConvertData","creditPrescreenResult","setCreditPrescreenStatus","setDefaultTab","onNoLongerOwns","onVehicleActionUpdate","vehicleActionUpdated","isVehicleStatusVisible","availableChoices","setReplacementContractOverride","mKey","setMVOVehicle","selectedMVOEventObject","onDemandVehicle","openSmartVincentLink","market","language","smartVincentUrl","isPandoOpen","pandoOnIcon","pandoOnIconPath","pandoOffIcon","pandoOffIconPath","onPandoActionClick","actionTypeSelected","pandoActionTypeSelected","isPandoDealSheetProcessEnabled","toggleClick","LogActivityClick","labelText","openHotTradeModal","renderedPromise","hotTrade","DealSheetVciController","vciResultType","fixupString","showVciDataClick","vciApiErrored","dataloadWorking","vciDataErrored","vciVinNotFound","vciOptedOutNonoriginatingDealer","vciOptedOutOriginatingDealer","vciData","detail","vciDataLoaded","vciDataDisplay","buildFullName","buyerBlock","middleInitial","boolToYorN","showVciDataSection","DealSheetLiteController","dontHaveAccessExpiredKey","stockIdValue","setOpportunityStatus","_Is_Alert","_Is_Flex_Alert","_Is_Contract_End","estimatedMonthlyCostDifference","replacement_Monthly_Fuel_Difference","opportunityOverwrite","saleExt","applyAndOperation","checkExpiration","setInventoryReplacementVehicle","two","DealSheetTabSelectController","DiscrepancyInputController","onDiscrepancyInput","selectedOption","discrepancyInputForm","discrepancyTypeTranslateKeys","EmailTemplateActionController","getUrl","accepted","checkEULA","FacebookProfileActionController","setFacebookUserId","facebookUserId","getFacebookUserId","FacebookPhotoController","FinancialEditActionController","getFinancialData","financials","submitFinancialData","AddFinancialInfoController","addDays","dat","_initDateOptions","originalOwnerUserID","soldByID","_preProcessAssignTo","calendarClick","checkValidation","onCheck","financialForm","$dirty","FinancialsBalloonSaleController","monthlyPaymentAmountKey","financedAmountKey","residualKey","financeFieldPromptTitleKey","financeFieldPromptMessageKey","_balloonPaymentByAmountAprAndResidual","balloonAmount","residual","balloonResidual","complexRate","_balloonRateComplexPart","power","_balloonPower","balloonPayment","_balloonAmountByPaymentAprAndResidual","_balloonResidualByAmountAprAndPayment","_balloonAprFromBalloonRate","recalculateBalloonField","balloonField","balloonFields","onBalloonFieldChange","promptActive","balloonFieldChanged","promptFields","modalInstance","balloonFieldSelected","promptFieldToRecalculate","recalculateBalloonFields","hasExtWarranty","$setPristine","_doBalloonCalc","FinancialsCashSaleController","cashAmount","FinancialsLeaseSaleController","_getSetLeaseRate","taxMonthlyPayment","leaseTotalPayment","leasePayoff","leaseMoneyFactor","leaseNetCapCost","leaseResidual","leaseAnnualMiles","calculations","leaseTaxRate","leaseBasePayment","_calcBasePayment","basePayment","_paymentsMade","_getSetLeaseMoneyFactor","_calcLeaseNetCapCost","_calcLeaseResidual","_moneyFactorByAmtResidulaAndTerm","_leaseRateByMoneyFactor","_doLeaseCalc","FinancialsRetailSaleController","aprKey","_retailRateByAmountAndPayment","purchasePayment","purchaseAmount","rl","rr","amt_l","amt_m","purchaseRate","_retailAmountByRateAndPayment","_getAprFromPurchaseRate","_retailPaymentByRateAndAmount","recalculateRetailField","retailField","retailFields","onRetailFieldChange","retailFieldChanged","retailFieldSelected","recalculateRetailFields","calcPurchaseRate","_doRetailCalc","LogCallActionController","activityPostedKey","returnKey","resetLogCall","setActivity","submitLogCall","onError","logCallError","LogCallController","activityResultDescriptors","callBoundType","notesType","noteObject","dialogTitle","setActivityResults","cancelCallActivity","cancelApptActivity","completeCallActivity","completeApptActivity","onLogCallEdit","recordId","removeFromActivityResults","hasPermission","activityResultId","activityResultsList","ActionCheckboxController","checkedAction","onNlo","MarkAsSoldController","ActivityFollowUpController","submitFollowUpClick","selectedActivityId","cancelClick","uiButtonsTypes","activityActionName","activityIcon","displayData","getFollowUpUIModel","CreditSoftPullResultModalController","creditTiers","creditTierTranslateKeys","getCreditReport","customReportHTML","CustomerEditModal","optInConfirmationMessageKey","optInConfirmationTitleKey","validCustomer","originalCustomer","DealSheetModalController","messageHandler","DealSheetLiteModalController","_globalIframeService$","LogCallModal","prepareData","submitting","LogCallError","PostNotesController","submitClick","PushToCRMController","ActivityResultCodeEnum","setSubmitActionResult","resultCode","isErrorNoPermission","duplicationControlInDays","responseData","lastSentDate","isErrorSentRecently","postSubmitActionPromise","ActivityActionID","Manual_Push_To_CRM","ScheduleController","dateFormatService","scheduleType","rescheduleCall","rescheduleAppt","reassignCall","reassignAppt","updateModel","maxFutureDays","sortOrder","dynamicSort","ownerId","scheduleForm","getValidOwnerId","getValidatedAssignToUserObject","editedActivityAssignToUser","getAssignToSelectedState","setupScheduleDialogUX","currentOwnerId","soldByUserId","soldByUserFullName","getUserIdbyName","ownerUserEnabled","resultObj","dateTime","assignTo","validatedAssignee","soldById","soldByStatus","mytime","initModels","dateFormat","UpdateMileageController","mileageEditForm","initModel","OpenNewWindowController","openInNewWindow","newWindowUrl","openLite","OtherVehiclesOwnedController","alertIconClasses","opportunityTypeTranslateKeys","doNotShow","showActivityIndicator","showVehicleIndicator","userRole","setDiscrepancy","discrepancyValid","setSelection","validFinancials","resetCounter","validationCheck","endCommunicationAction","tableData","ViewCustomerConversationModalController","conversation","trustAsHtml","titleText","getTitle","PricingPlanClientController","pricingActive","showPricingPlan","plan","planTitle","PrintOfferController","onFinish","showWarning","PrintUpgradeProposalController","iPromiseIamThinking","getUpgradeProposal","onPrint","ReopenController","reopenEnabled","ReportDiscrepancyActionController","currentVehicleKey","paymentsKey","getValueList","discrepancyType","useMoneyFactor","rateList","getReplacementVehicleInfo","getOptions","getDiscrepancyOptions","ServiceHistoryController","generalNaKey","GetAdvisor","serviceAdvisorID","GetAmount","naMessage","InventorySearchActionController","onVehicleSelect","getDefaults","InventorySearchController","vehicleSelectColumns","setDefaultPaymentFilters","termFilter","validPayments","paymentFilter","lowerBound","findClosestValue","upperBound","distances","distance","sortBy","setSelectedVehicleTypes","selectedVehicleTypes","missingInventoryTrimIDErrorMsg","showSearchResults","displayPaymentColumn","byDaysInStock","displayColumns","vehicle1","vehicle2","searchByStockNo","searchPromise","searchByTrim","paymentFiltersEnabled","usePricingPlan","resetFilters","MileageController","RecommendedVehiclesActionController","setVehicles","onNoRecommendations","getVehicles","StockVehicleController","TrimSelectController","selectedModel","getModelIds","setTrims","filterByModelName","getTrimIds","filterByTrimName","selectedTrim","setModels","byModelName","showBlankOptions","showBlankModelTrimOptions","byTrimName","descending","number1","number2","byMakeName","updateModels","showAllMakes","isValidSelection","VehicleActionSelectController","updateVehicleStatus","vehicleStatusInt","vehicleOptionStatus","canVehicleBePaidOff","VehicleSelectController","scrollBarClassName","displayColumnExists","getSortIconClassesForColumn","invisible","orderByColumn","sorted-ascending","orderByDescending","sorted-descending","getSortIconClassesForColumnType","orderableColumns","new_used_cpo","toggleOrderByColumn","instockVehicles","vehicleTypeTranslateKeys","pricingPlanTranslateKeys","_IsNew","addCustomeSortField","TemplateEmailPreviewController","setTemplateEmailContent","templateEmailContent","emailContentPromise","getTemplateEmailContent","send_email_template_modal_component_asyncGeneratorStep","SendEmailTemplateModalController","invalidMergeFieldErrorMsgKey","smtpProviderTypes","templateEmail","toggleEditTemplate","isEditableTemplate","toggleEditButtonKey","onSendEmail","_x","_x2","_x3","_x4","_x5","_x6","send_email_template_modal_component_asyncToGenerator","isTestEmail","testTo","upgradeProposalCalcParameters","outboundTemplateInfo","attachProposal","testToAddress","toAddress","t0","translationParameters","templates","emailDisabled","canSendEmail","toast","workingPromise","defaultTemplateId","emailFromAddress","mailFrom","checkCanSendEmail","atForFromAddr","templateBody","changeTemplate","vehicleColor","selectedFullTrim","selectedNewUsed","selectedPrice","selectedMileage","selectedColor","selectedStockNo","invalidMergeFields","invalidFlds","invalidMergeFieldErrorMsg","bodyOutputType","readOnlyText","templateOutput","readyToArchive","onResultSendTestEmail","onResultSendEmail","disabledEmailTitle","attachmentGenerationResponse","viewEmailConversationModalController","ViewEmailConversationActionController","euroLiteGridLayoutSelectorModalController","euroOpportunityGridLayout","gridColumns","currentColumns","currentGridColumns","checkColumnSelectionLimit","showLimitMsg","EditContactController","sendOnChange","newContact","displayValue","markAsBadChanged","markAsPreferred","isPhoneNumber","isEmailAddress","doNotCallStatusAbbrevTranslateKeys","ErrorUnauthorizedController","$stateParams","translateObject","translateArray","resolveTranslations","onReopen","history","defaultUser","isActionMenu","setSelectedUser","selectedUser","defaultUserId","interior","exterior","costDiffHasValue","costDiffClass","showAllYears","showYearAsterisk","VehicleTypeSelectController","newOptionSelected","usedOptionSelected","VehicleTypeController","modelNumber","claimInfo","autoAssignAccessInfo","userEmailTo","onTestEmailEdit","isEmailValid","finalEmailToAddress","userSubject","isTest","userChanges","$result","emailReplyTo","markSelectedAlerts","onAlertSelect","HeaderWrapperController","headerLocalizationPath","disableDealerList","isDealSheetPage","dealerListDisabled","disposeSiteMapLoaded","hasInventoryAccess","availableMakesPromise","moduleID","availableMakes","isLincolnDealer","isFordDealer","fordlogo","fordLogoPath","lincolnlogo","lincolnLogoPath","fordCanadaLogoPath","lincolnCanadaLogoPath","defaultLogoPath","getLogoPath","logoPath","isEulaAccepted","dealerIDs","productId","userProfileMenuItems","getFilteredUserMenu","walkmeSegments","AA_WalkMe_Segments","segment","SegmentId","SegmentValue","isCoreReady","setSelectedTab","recentDealSheetsVisible","isReportTabEnabled","searchPresetsVisible","isPublicState","isHeaderVisible","hiddenHeaderUrls","selectedTab","showSubmenu","selectedDealerIdsSubscription","isQuickSearchVisible","allItems","onDealersChanged","onCustomerEngagementClicked","overflowX","overflowY","QuickSearchController","quickSearchWarningKey","quickSearchInvalidCharacterWarningKey","trySearch","showWarningMessageInvalidCharacter","quickSearchInvalidCharacterWarning","quickSearchWarning","searchOnKeyPress","searchOnButtonClick","SubMenuController","subMenuUnauthorized","subMenuLocalizationPath","setSiteMap","isActiveMenuItem","currentState","dispose","removeClick","removeCurrentTarget","getElementsByClassName","navToMenuItem","dropDownElement","DealerDropdownController","changeEventWrapper","changeEvent","EmailUnsubscribeController","setEmailSubscription","emailSubscription","bindFirst","handlers","linkVisibilityMessage","linkVisibilityMessageInsertLinkDialog","modalOpenedCallback","modalClosedCallback","imageUploadCallback","$resizingImg","insertImageIntoLayoutTable","$modal","modalId","modalInsertLinkCallback","modalEditImageCallback","okText","modalTitle","currentAlignment","load","buttonModalBody","buttonNewModalFooter","buttonEditModalFooter","$redactor","buttonButtonClick","buttonEditControl","buttonEditControlHide","$existingButton","inEditMode","buttonInsert","buttonBox","$buttonEditter","layout","layoutButtonClick","columnCount","layoutInsert","layoutDelete","colors","pickerBuild","_self","onSwatch","pickerSet","$swatch","$elNone","fontfamily","setFontfamily","resetFontfamily","HtmlTextareaController","getRedactor","changeCallback","textValue","uploadErrorCallback","IframeController","originalUrl","setCurrentMessagePort","iframeShouldScroll","iframeWidth","isMobileiOS","getMobileWidth","isTouchDevice","isOrientationValid","orientation","isAppleDevice","vendor","screen","onorientationchange","legacyIframeSupportController","LoginController","logUserLogin","loginUrl","OpenModalController","modalResolve","loadResolve","currentDialog","onResult","onOpening","bulk_template_wizard_modal_component_objectSpread","bulk_template_wizard_modal_component_defineProperty","BulkTemplateWizardModalController","trustedUrl","onRendered","PASSTHROUGH_MESSAGE_TYPES","onButtonClicked","searchGridMessagePort","postRequest","_message$data","newStateName","getState","setButtonStateFromText","CANCEL","ARCHIVE_PDF","PRINT_PDF","SEND_EMAIL","BACK","NEXT","CLOSE","GoogleMapsModalController","addressIsInvalid","textnode","coords","geometry","maps","zoom","mapTypeId","Marker","setAddressCoordinates","DealerMakeSelectController","updateMakes","defaultMakeId","simpleMakes","getSimpleMakes","onDealerMakeSelect","hasSetDefaultDealerId","PandoSurveySelectController","surveyFamilies","ID","getSimpleSurveyFamilies","selectedSurveyFamilyId","surveys","getSimpleSurveys","selectedSurveyId","setReportState","REPORT_AVAILABLE_WITH_DATA","REPORT_AVAILABLE_WITH_NO_DATA","REPORT_UNAVAILABLE","defaultSurveyFamilyId","updateSurveys","defaultSurveyId","onSurveyFamilySurveySelect","surveyFamilyId","Surveys","SurveyStartDT","SurveyEndDT","reportState","onSetReportState","surveyId","fontsize","setFontsize","resetFontsize","onOptionSelect","transcript","showDealers","showMakes","showSurveySelectors","ReportRenderController","badgeImagePath","aaBadgeImagePath","noTrimImagePath","aaNoTrimImagePath","slmImagePath","aaSLMImagePath","repProImagePath","aaRepProImagePath","pandoImagePath","aaPandoImagePath","oneToOneImagePath","aaOneToOneImagePath","trustedReportData","reportData","reportsContainer","reportsMenuVisible","reportsToggleMenu","createEvent","initEvent","dispatchEvent","reportsMenuEnabled","_toConsumableArray","arr2","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","reports_menu_component_asyncGeneratorStep","ReportsMenuController","reportCategories","setPerformanceReportMonthYear","PERFORMANCE_REPORT_START_DAY","showPerformanceReportDayOfMonth","locale","dayOfMonth","prevMonth","prevYear","showPerformanceReport","performanceReportAvailable","performanceReportMonthName","performanceReportYear","currentMenuItem","opportunitiesMenuVisible","communicationMenuVisible","oneToOneMenuVisible","autoAssistantMenuVisible","geoAlertMenuVisible","partnerExportMenuVisible","fixNullCategory","CategoryName","byCategoryThenReportName","report1","report2","Name","$$search","monthlyPerformanceReportId","legacyExpirationDate","oneToOneMenuDisabled","autoAssistantMenuDisabled","geoAlertMenuDisabled","partnerExportMenuDisabled","showBetaReports","betaReportsMenu","currentReportId","reports_menu_component_asyncToGenerator","isDealerOneTooneEnabled","isDealerAutoAssistantEnabled","isDealerGeoAlertEnabled","isAutoAlertEmployee","Success","tableauReports","currentBetaCategory","currentReport","betaReportCategories","categoryName","isVisible","isActiveBetaMenuItem","headerData","reportLink","passOptionalParameter","openLmsTranscriptModal","reports_component_asyncGeneratorStep","ReportsController","dateRangeTypes","getReportSpecForSelectedDealerId","getDealerMakes","setPandoSurveyData","pandoReportState","getMonthYearLabel","byDescendingDate","dateRange1","dateRange2","performanceReportDateRanges","setPresetDateRange","selectedDateRangeType","selectedDateRange","dateRanges","beginDate","changeDateRange","dateRangeType","updateOptionalParams","validDates","isDate","createReportParams","isExport","makeSelection","getMakeSelectionName","isFnpDealer","fordPilotDealerInfo","isFordPilotStore","dealerFordPilotStatus","isDealerInFordNationalProgram","reportSpecification","showSingleHeader","showO2OExtras","ActiveTagSelectedTagIds","survey","loadReport","reports_component_asyncToGenerator","optionalParamKey","optionalParamValue","isNoLongerOwnsEnabled","isEmailAppendEnabled","showRefresh","abrupt","reportHeaders","setReportDisabledForDealerMessage","reportPromise","reportRenderedData","setReportUnavailableContent","reportTitle","newReportExport","fileType","headerType","extension","titleTask","dataTask","showReportSettings","blob","reportsEnabled","reportEnabled","dateRangeTypeTranslateKeys","MTD","YTD","dateRangesTask","fordPilotStatusTask","dealerMakesTask","surveyTask","perfRptTask","BaseUnits","loadHeaderData","datePickerSelection","isStart","endDateTicks","startMonthIndex","startMonthTicks","isInvalidDateRange","generateReportExport","sheet","workbook","sheets","saveAsExcel","getSheets","ooxml","Workbook","dataURI","toDataURL","generateReportExportOld","loadReportPresetRange","reportNavigationCallback","reportInfo","validatedOnly","toggleInfo","onDealershipChanged","beta_reports_component_asyncGeneratorStep","BetaReportsController","setReportUrl","tableauToken","tableauUrl","betaReportsUrl","viewUrl","reportIsFavorite","beta_reports_component_asyncToGenerator","accountPlatformIds","reportingPlatformIds","currentBetaReport","IsFavorite","ViewUrl","IsEnterpriseReport","ReportsHeaderController","startDatePickerVisible","endDatePickerVisible","showDealerSelector","showMakeSelector","showDatesSelectors","showStartDateSelector","showDatePresets","showValidatedSelector","showPerformanceReportDateSelector","perfReportDateRange","showReportSettingsButton","reportSettingsToggle","setDatePickerVisiblity","onDealershipChangedWrapper","$onDealershipChanged","setPandoReportState","setSurveyFamilySurveySelections","isTabletDevice","onCalendarDateRangeSelect","dateRange","onCalendarPresetDateRangeSelect","presetDateType","onPerfReportDateRangeSelect","datePickerOptions","ReportSubscriptionsModalController","reportSubscriptionViewTypes","viewTypes","subscriptionCount","cancelSubscriptionEdit","ReportSubscriptionsController","duplicateSubscriptionKey","loadSubscriptions","setSubscriptions","subscriptions","reportSpec","showMake","editableSubscription","onSubscriptionsLoad","onViewTypeChange","validationResult","validateSubscriptionEditForm","isDuplicateSubscription","edited","isUpdateSubscription","duplicateSubscription","deliveryMethods","editSubscription","toggleSubscription","ReportSubscriptionListController","reportSubscriptionPeriods","dateRangeTranslateKeys","subscriptionPeriodTranslateKeys","translateCode","translateCodes","ReportSubscriptionEditController","reportSubscriptionSubjectKey","reportSubscriptionEnterpriseSubjectKey","deliveryDateRangeOrdinalTypes","deliveryWeekDayTypes","subscriptionPeriods","deliveryDateRangeOrdinalTypeKeys","deliveryWeekDayTypeKeys","dateRangesWeekly","dateRangesMonthly","getAuthorizedReportSpecifications","selectedReportId","allTranslations","validateEnterpriseDealerships","translatedNames","nameByCulture","byReportTranslatedName","showEmailInvalidMsg","isExistingSubscription","addDefaultSubscriptionDateRangeCode","deliveryDayOfTheWeek","deliveryDayOfTheMonth","emailDeliveryMethod","pandoDeliveryMethod","updateSubscriptionPeriodPoint","updateSubscriptionSubject","setEditableSubscription","enableMakeSelect","enableDateRangeSelect","setDealerMakeSelections","setReportId","onReportSelect","getReportSpec","onDeliveryEmail","subscriptionEditForm","$invalid","indexEmail","disableEmailValidation","onDeliveryPando","pandoIndex","showDateRangeSelector","reportHeaderTypes","authorizedReportsMenu","reportSpecsList","reportSpecifications","getAuthorizedReportSpecificationsHelper","deliverySchedule","subjectPickerResultKey","subscriptionSubject","reportHasEnterpriseVersion","TemplateEmailController","setEmailConversationDetails","emailDetails","setEmailContent","emailBodyContentHtml","sentEmailObject","primaryAddress","isPreview","addScriptToRemoveLegacyHeaderandFooter","emailHeaderPath","dealerUserPreviewClassName","serviceDriveOffersFilter","isIncludePrintedChecked","dateStart","lastPrintedDate","ServiceDriveOffersModalController","printOfferIframeUrl","service_drive_offers_component_defineProperty","ServiceDriveOffersController","offers","getOneToOneEntitiesInProgress","getTimezoneOffset","selectedAlertTypes","getEntitiesPromise","filteredOffers","service_drive_offers_component_objectSpread","resetSearchText","initiatePrintPromise","alertsDropdown","isopen","dateEnd","selectedEntityIds","isAllSelected","updateOffers","setFilters","resetButton","alertStyle","clickTableRow","getLatestDate","scanDate","scanDatePartOnly","roDatePartOnly","printSelected","showFutureAppointments","toggleAllRows","replacementFullTrimName","isSelected","ThirdPartyReportController","redirectToReport","uri","displayReport","iframedoc","CarfaxCallbackController","carfaxUrl","CarfaxAuthorizeController","PortalFooterController","isFooterVisible","EuroLiteOpportunitiesController","alertTypeDescriptorsEuroLite","stockNumberSearchService","allFilters","allOpportunityFilters","lastOpenedLogActivityRow","isAlertSelectedBefore","isFlexAlertSelectedBefore","filterUnscheduledOnly_show","getAlertTranslations","currentEntityId","flexAlertName","warrantyName","contractEndName","noRecordsAvailable","flag","score","allAlerts","allMakes","clientOwner","DealsheetPrintOfferCaption","home","customerHomePhone","cell","phone1","phone2","customerCellPhone","lastActivityTitle","lastActivityToolTip","paymentsMadeTitle","paymentsMadeToolTip","paymentsLeftTitle","paymentsLeftToolTip","paymentsDifferenceTitle","paymentsDifferenceToolTip","postNoteActivity","rescheduleActivity","completedActivity","reassigned","canceled","cancelledAppointment","cancelledCall","loggedActivity","scheduledCallActivity","expiredActivity","loading","bykey","allAlertsCaption","allMakesCaption","by","alertOptions","alertListTitle","makeListSelected","dealerMakes","dealerMakesOptions","mainGridOptions","scrollable","numeric","pageSizes","onPagerPageChange","scoreTemplate","FlagTemplate","openDealsheetTemplate","HomePhoneTemplate","CellPhoneTemplate","SaleTypeTemplate","CategoriesTemplate","categorySorting","PaymentDifferencePctTemplate","PerformedOnTemplate","OfferTemplate","initActionMenuTemplate","dataBound","onDataboundInitKendoGrid","noRecords","emailFieldName","homePhoneFieldName","cellPhoneFieldName","initGridDataSource","refreshData","gridds","_opportunity_Rank","full_name","customer_owner","sale_type","current_model_Name","current_model_Year","payment_remaining","payments_made","payment_difference_pct","performed_On","ro_Appt_Date","current_make_Name","_EntityRead","_EntityWatched","_EntityScheduled","getKendoGrid","setDataSource","onReloadGridDS","onActionMenuMarkAsSoldClick","openEuroliteMarkAsSoldTranslationKey","onLogActivitySubmit","onActionMenuLogActivityClick","openedActivityOrNotesEntity","openEuroliteNewLogActivityTranslationKey","closeAllDetails","isLogActivityOpen","isNotesOpen","onActionOpenLogActivity","onActionMenuActivityNotesClick","onActionOpenNotes","onReassignComplete","currentGridRow","gridloaded","onLogActivityComplete","onUpdateCustomer","fieldStates","fieldNames","fieldValues","selectedRow","rowChildren","indexOfMatchField","renderValue","updateColumnInSelectedRow","onActivityNotesClosed","onSelectedOpportunityId","onOfferTemplateClick","_BankID","balance_To_Maturity","normZipCode","rowId","isActivityNotesOpen","onActivityNotesScheduleActionComplete","onGridRowChange","sender","dataItem","onUserCustomFilterClick","onUserCustomFilterKeyPress","onLastActivityMouseOver","toolTipHtml","getLastActionKeys","lastActivityToolTipDesc","onGridLayoutChanges","columnsSelected","columnsHidden","onFilterSelect","onAlertClick","onHeaderFilterSelect","onFlagClicked","entityWatchStatus","newEntityWatchStatus","makesSelected","alertsSelected","settingsMakesDropdown","smartButtonTextConverter","option","checkBoxes","smartButtonMaxItems","showCheckAll","showUncheckAll","settingsAlertsDropdown","filterNew","filterUsed","filterCash","filterLease","filterRetail","filterBalloon","filterUnreadOnly","filterUnscheduledOnly","filterFlaggedOnly","LogActivity","ActivityNotesList","getByUid","gridDataLoadingCompleted","pageNum","matchedExternalEntityID","page","selectGrid","getAllCustomerSearchFilters","tempFilter","qtypeOperator","userCustomFilter","operator","actionTemplate","EntityIds","ReturnFields","Alerts","cell_PhoneString","home_PhoneString","userSettings","logic","filters","aAlertListCount","bAlertListCount","_EntitySold","_EntityClosed","expandRow","headerFilters","filterList","allOrMakeConditions","allOrSaleTypeConditions","makesList","headerFilterList","customerQuickSearchFilters","isAlertSelectedAfter","isFlexAlertSelectedAfter","alertsList","collapseRow","callBackDealSheetClosed","sale_Type","alertHtml","upOrDown","payment_Difference__","JSZip","isPandoReportAvailable","onSubscriptionToggle","onSubscriptionEdit","onSubscriptionDelete","OffersFiltersModalController","updateIcons","svgIcon","onIcon","offIcon","isIcon","buttonState","filterTypes","CheckBoxList","DropdownList","Text","Title","TextBoxRange","EmptyLine","Separator","DatepickerRange","CollapseWidget","CustomTitle","filterSources","Fixed","Tags","Makes","Years","AlertType","SoldBy","Owner","Models","Banks","Trims","NatRecallNos","MfgrRecallNos","RecallTypes","saveResponseCodes","SaveSearchError","NameAlreadyExists","ShareSearchError","UpdateDealerlayoutError","filterNames","AutoAssistantFrom","AutoAssistantTo","BankID","Categories","CategoriesList","CurrentRateFrom","CurrentRateTo","CustomerAddress","CustomerEmail","emaillIsValid","CustomerEngagementGroups","CustomerName","CustomerPhone","DealDateFrom","DealDateTo","Dealers","DealStatuses","DealStatusID","DirectAlertFrom","DirectAlertTo","EndDateFrom","EndDateTo","EquityFrom","EquityTo","ExtColor","ExtWarranties","ExtWarrantyID","GeoAlertFrom","GeoAlertTo","PartnerExportFrom","PartnerExportTo","ServiceMarketingFrom","ServiceMarketingTo","ServiceLeadManagementFrom","ServiceLeadManagementTo","HasActivities","HasActivityDays","HasActivityID","HasEngagementDays","HasEngagementID","HasExportDays","HasExportID","HasExports","HasRODays","HasROID","HasROs","IntColor","IntelMarketingFrom","IntelMarketingTo","LayoutModuleName","LayoutModuleTitle","LowerExisitingAPR","MakesList","MappedTo","MappedToList","ModelName","ModelsList","MVO","NewRateFrom","NewRateTo","OdometerFrom","OdometerTo","OpportunityCreateDateFrom","OpportunityCreateDateTo","OwnerIds","Owners","Priorities","PrioritiesList","PrivateOfferMax","PrivateOfferMin","RemainingFrom","RemainingTo","RepairOrderDateFrom","RepairOrderDateTo","SavedSearches","ScoreMax","ScoreMin","ServiceAppointmentDateFrom","ServiceAppointmentDateTo","ShowBalloon","ShowBlocksOnly","ShowCash","ShowConquest","ShowLease","ShowNative","ShowNewCars","ShowRetail","ShowUsedCars","SoldByName","SoldBys","Stages","StagesList","TermFrom","TermTo","TrimName","UseAdvancedConditions","VIN","YearsList","ZipDistance","ZipDistanceUnits","NatRecallNo","MfgrRecallNo","RecallDateFrom","RecallDateTo","VinRecallTypeID","ReplacementStockNo","IncludeVTPInSearch","searchFilters","filterType","cellSize","sectionID","displayNameKey","sectionIDToCollapse","hideDisplayName","fieldName","availableValuesUsefieldName","tooltipText","availableValues","valueOverride","displayNameCssClass","fieldNameMin","fieldNameMax","Score","separatorCharacter","filterSource","fieldCssClass","nameKey","filterId","fieldDefaultValues","rightCharacter","fieldDisabled","emailValid","nameText","regexFirst","regexLast","HasEngagements","SearchFormController","originalIframeUrl","bulkTemplateUrl","setSectionsOpenCloseState","section","onInitOrLoad","privateOfferField","privateOfferFieldsPopulated","privateOfferSearchInvalid","mappedToField","filteredList","showMVO","mvoField","dealerFordInfo","hasLincolnMake","hasFordMake","enableMvo","performDirectAlert","rendered","openDirectAlertModal","searchCriteria","SearchCriteria","searchResultsForm","performSearch","selectedUserSearchConditionId","onMenuSettingsChanged","updateMenuSettings","invalidFields","invalidField","sf","fieldValidation","getInvalidFields","convertPortalSearchToLegacyObject","searchData","resultsGridPromise","dealsheetDomain","getRecallNumbers","vinRecallNos","searchFilter","mfgrRecallNos","natRecallNos","getRecallTypes","vinRecallTypes","vinRecallTypeId","vinRecallTypeDescription","removeDuplicates","bankSearchMask","groupNames","getSoldBy","soldByUsers","getOwners","compareValues","getSelectedValue","dealerModels","portalObj","legacyObj","av","updateTooltip","selectedSummary","popOverText","initializeValues","triggerInit","myArr","mapObj","varA","varB","setDisabledUntilPerformSearch","saveSearchBtnDisabled","isMultipleDealers","oneToOneBtnDisabled","templateBtnDisabled","moreBtnDisabled","showExportLink","showPrintLink","searchGridResultsReady","EnableDirectAlertCampaigns","CanSwitchUserDealer","CanPrintTemplate","One2OneAccess","searchFilterSections","allDealerships","getUserIsMetric","unitOfMeasureKey","reassignResult","Status","Message","addAccessResult","yearValues","getYears","openBulkTemplateWizard","performExport","exportModalInstance","openExportModal","exportLayout","performEpsilonExport","openEpsilonExportModal","openEpsilonExportResultModal","performReassign","reassignModalInstance","openReassignModal","assignedUsers","performAddAccess","addAccessModalInstance","openAddAccessModal","showDirectAlertModal","printGrid","saveSearchModalInstance","openSaveSearchModal","savedSearchName","responseCode","dealerIdsAutoShared","dealerIdsShareSkipped","saveResponse","saveUsersSearch","saveLayout","saveLayoutModalInstance","openSaveLayoutModal","clearAll","newVal","oldVal","savedSearchPreset","searchConditionText","portalSearchModel","convertLegacyObjectToPortalSearch","getSelectedIds","dealerTrims","UICheckBoxList","onInit","UITextBox","invalidCharacters","UIDropdownList","multiSelect","ssav","msav","onSelectionChanged","onChanged","settingsDropdown","dropdownDisable","itemText","idProperty","UITextBoxRange","selectedValueFirst","selectedValueLast","isValidSelectedValueFirst","isValidSelectedValueLast","reFirst","reLast","SetValidationCSS","selectedValueFirstCSSClass","selectedValueLastCSSClass","UIDatepickerRange","onInputValueFirst","copy","onInputValueLast","SearchMenuController","mySearchesMenuVisible","sharedSearchesMenuVisible","tagBasedSearchesMenuVisible","predefinedSearchesMenuVisible","presetSections","hasShareSearchAccess","openSearchPreset","preset","deleteSharedSearchPreset","isSearchNameDuplicate","setView","searchMenuVisible","SearchContainer","searchToggleMenu","searchFormSectionStates","searchMenuPresetSections","searchMenuSettings","SearchManagePresetsContainer","view","availableGroupNames","includeDefaultOption","SearchManagePresets","hasTemplateErrors","hasActiveTemplate","srchPreClearInputsBtn","srchPreMissingGroup","srchPreMissingWorkflow","srchPreDeleteTitle","srchPreDeleteMsg","srchPreClearInputsTitle","srchPreClearInputsMsg","srchPreClearAutoMsg","srchPreDataErrorMsg","srchPreSelectDealership","srchPreSelectGroup","srchPreSelectProcess","srchPreSelectTemplate","srchPreGroupLabel","srchPandoXPopupText","srchPreExecutePandoXLabel","srchPreCategoryLabel","srchPreSelectCategory","srchPreExecutePandoXTooltip","kendoToolBar","GroupId","GroupName","OwnerTemplate","TemplateId","TemplateName","MaxOwnerEntries","AccessTemplate","MaxAccessEntries","PandoX","CategoryId","AssignedWorkflow","WorkflowInstanceId","WorkflowName","MaxAssignEntries","updatePresets","pandoXRuleCategoryArray","pandoXRuleCategory","pandoXRuleCategoryReverse","groups","byTemplateName","TemplateSubject","workflows","pandoWorkflowTemplates","initDataSource","initGridOptions","getGroupName","maxOrder","presets","Order","getKendoIdFromUserConditionId","IsPriority","isPriority","savePresetSettings","clearOwnership","clearAccess","resetOwnerAutoAssignments","resetAccessAutoAssignments","readyToDisplay","kendoUserConditionIdSpacer","userConditionId","getUserConditionIdFromKendoId","kendoId","alldata","allrows","workflowQuantity","pandoIntegrationEnabled","ownerOverrideGroupId","ownerOverrideQuantity","ownerOverrideTemplateId","accessGrantGroupId","accessGrantQuantity","accessGrantTemplateId","ruleCategoryID","InsertDateUtc","PandoXCategoryId","PandoXCategoryName","transport","workflowName","workflowMax","getWorkflowName","ownerGroupName","ownerGroupId","ownerMax","accessGroupName","accessGroupId","accessMax","pandoXCategoryName","pandoXCategoryId","ownerTemplate","ownerOverrideTemplateID","accessTemplate","accessGrantTemplateID","searchList","reOrderData","errorThrown","workflow","onRowBound","CheckForTemplateErrors","onDataBound","kendoSortable","hintElement","oldIndex","AddDragDrop","ShowHideColumns","HasTemplateSubject","hasSubject","maxEntriesEditor","ownerDropdown_change","accessDropdown_change","templateDropdown_change","ownerEditor","kendoDropDownList","autoBind","dataTextField","dataValueField","templateHtml","accessEditor","pandoXEditor","workflowDropDownEditor","sixthColumn","renderWorkflowColumn","seventhColumn","renderPandoXProcessInitColumn","upDownArrowIconPath","textColor","startDateExpired","renderStartDateColumn","endDateExpired","renderEndDateColumn","errorCodes","warningSignPath","renderOwnerColumn","renderAccessColumn","pencilIconPath","trashIconPath","wrapperWidth","SearchPresetSelectorController","getSelections","cachedSelectedSearchPresets","searchPresetTypeTranslateKeys","cachedAvailableSearchPresets","allpresets","previouslyselected","filterSearchPresets","filterAvailableSearchPresets","searchPresetTypeList","filterSelectedPresets","maxNonPrioritySearch","errorMessageVisible","searchPresetsSelections","hasSelections","onSelection","bySearchConditionName","differenceBy","SearchPresetSettingsController","selectionsChanged","SearchPresetSettingsModalController","SearchExportModalController","messageChannelExport","originalIframeExportUrl","iframeExport","originExport","layoutData","SearchExportEpsilonModalController","isInputValid","showHistory","windowData","requestsInWindow","campaignTypeTranslateKey","SearchExportEpsilonResultModalController","requestsCreated","SearchSaveModalController","errorTooSmall","errorTooBig","pandoXError","invalidDates","useActiveDates","continueLoop","hasManageSearchAccess","pandoXCategoryChange","autoShareSearchClicked","pandoXRuleQuantityChanged","newQuantity","SearchSaveLayoutModalController","messageChannelLayout","originalIframeLayoutUrl","iframeLayout","originLayout","SearchReassignModalController","messageChannel","SearchAddAccessModalController","SearchDirectAlertModalController","SearchDirectAlertController","SaveSearchResponseModalController","getDealerNameById","wish_list_component_defineProperty","WishListController","getUsersExt","byFullName","loadWishLists","loadingWishlistData","wishListData","expirationDateUtc","distributionList","createUserID","createUserFullName","modifyUserID","modifyUserFullName","modifyDateUtc","searchObject","byOdometerRange","o1","o2","odometerMin","odometerMax","fullName1","fullName2","detailLinkTemplate","yearRangeTemplate","yearMin","yearMax","odometorRangeTemplate","trimListTemplate","trimList","uniqueTrimsByName","trimString","notifyTemplate","displayYesNo","yes","searchNo","editWishListTemplate","trims_a","trims_b","lblDateCreated","wishlistActiveLabel","loadDetails","wishlistMatchesTitle","inventoryWishlist","dealerships","addVehicle","addToWishlist","addVehicleToWishlist","chooseOne","dateMustBeGreaterToday","editWishlist","loadingWishlistMatches","odometerMinMaxRequired","odometerRangeError","toLabel","wishlistFullListTooltip","wishlistIsActiveLabel","wishlistMatchingVehicles","wishlistNotificationExceeds","wishlistNotificationLabel","wishlistNotificationReq","wishlistNotificationTooltip","wishlistRequirements","wishlistSelectedTrims","wishlistTrimsLabel","wishlistTrimExceeds","yearsLabel","validationRequired","faalertletter","flexAlertLetter","inMarketLetter","inMarketEngagedLetter","contractEndLetter","serviceLetter","serviceAppointmentLetter","mileageLetter","warrantyLetter","repairOrderNumberColumnLabel","sentTo","alertsLabel","vinLabel","yearRangeError","displayTrimList","displayDistributionList","distUser","editWishList","dealerWishlistID","editWishListModalController","validateTrimSelections","wishListEditForm","selectedTrims","validateYearSelections","selectedYearMin","selectedYearMax","validateUserSelections","distributionListTouched","selectedUsers","uniqueModelsByName","uniqueTrimByName","wishListCriteria","trimIdList","selectedExpirationDate","defaultExpirationDate","isEditMode","modelIdList","expirationDateTouched","selectedOdometerMin","selectedOdometerMax","validateExpirationDate","currentDate","validateOdometerSelections","yearChanged","wish_list_matches_modal_component_defineProperty","wishListMatchesModalController","renderCustomerLink","renderAlerts","odometerTemplate","loadWishListMatches","MATCH_TAKE","dealerWishListLogID","distributionSent","loadDealSheet","alertTypeHelper","getByDescription","getById","alertCodes","alertLetterTranslations","renderTemplate","wishListMatches","dealerWishlistLogID","serviceID","resultDateUtc","rO_ID","PossibleNloController","loadNloData","maxInsertDateUtc","nloDetails","updateNLO","declineNLO","mostRecentDateTemplate","dateUtc","insertDateTemplate","nloLatestDate","nlo_Mark","nlo_Decline","nloCommSrc_001","nloCommSrc_002","nloCommSrc_003","nloCommandBtnsTooltip","nloMessage","childGridOptions","communicationSourceID","AppError","MustBeCaughtNoToastError","CustomerEngagementWidgetController","checkForNewEngagements","sortEngagementsByDateDescending","newEngagementsCount","onHoursBackChanged","newEngagements","engagementTime","engagementTimeUtc","CustomerEngagementWidgetWindowController","hoursBackOptions","typeFilters","applyFilters","setHoursBack","engagementClicked","highEngagementClicked","getDateHoursBack","$translateFilter","descriptionForEngagement","iconClassForEngagement","iconNameForEngagement","geoAlertEnabled","reviewProEnabled","sortEngagements","filteredItems","pagedItems","maxPageSize","maxMinArrows","onPagedItems","onPagerChange","pager","currentPage","totalPages","sortEngagements_StandAlone","filteredEngagements","resetPage","onResetComplete","record","filterByType","hotFilter","CustomerEngagementsByEntityModalController","DealerListController","fetchAndSetDealers","allowedDealers","dealerSelections","setDealerSearchLimit","filterForEuroLite","dealersForEuroLite","IsReloadDialogOpen","noMatchFoundClick","selectedDealersChangedSubscription","showReloadDialog","toggleDealerList","dealerSearchLimit","selectionsAvailable","selectAll","removeAll","cancelSelections","changeDealers","isArrayEqual","selectDealerPromise","getDealerIds","dealerGroupName","sendOnDealersChanged","noMatchSubmitChange","array1","array2","HeaderController","overrideLogoPath","LiveSupportController","initESW","gslbBaseURL","embedded_svc","displayHelpButton","defaultMinimizedText","disabledMinimizedText","offlineSupportMinimizedText","enabledFeatures","entryFeature","chat","targetElement","extraPrechatInfo","entityName","entityFieldMaps","doCreate","baseLiveAgentContentURL","deploymentId","buttonId","baseLiveAgentURL","eswLiveAgentDevName","isOfflineSupportEnabled","MainMenuController","getSelectedSearchPresets","saveSearchResponse","$provide","decorator","$delegate","exceptionHandler","cause","shouldIgnoreError","concatenatedException","Log","toJson","allowChanges","allowChangingDealer","liveSupportDomain","userMenuItems","userContext","tabBarGutter","pando_inbox_component_asyncGeneratorStep","pando_inbox_component_asyncToGenerator","PandoInboxController","pandoCommunicationService","inboxConfig","vendorInfo","SubscriptionKey","AuthorizationKey","userIds","UserControl","loginUserId","pandoMessaging","initPubnub","Channels","ChannelGroups","pubnubMessageCallback","processApiMessageCollection","isUserAuthorisedForPando","isAvailable","messageGroupIds","PandoMessaging","msgResponseObject","selectedStores","dealerInfo","rtid","pn_apns","aps","badge","SelectedStores","DealerGroupID","fetchDealerInfo","_callee2","_context2","subKey","pandoChannels","pandoChannelGroups","Pubnub","getUUID","sendPandoChatMessage","presence","quitPandoChat","PaginationController","setPage","newPage","totalItems","startIndex","startPage","endPage","endIndex","pages","GetPager","getDefaultPager","pageDownDisabled","pageUpDisabled","maxMinPage","maxSize","onPageChanged","ngChange","GetSearchesGETResponse","GetSearchModelByUsersearchconditionidGETResponse","GetSearchCountsPOSTResponse","FlushSearchCountsCacheByLuaeGETResponse","luae","FlushSearchCountsCacheByLuaeGET","GetDealerLayOutExtsGETResponse","GetActiveDealerLayOutExtsGETResponse","ShareUserSearchConditionByUsersearchconditionidPOSTResponse","UnshareUserSearchConditionByUsersearchconditionidPOSTResponse","DeleteUserSearchConditionByUsersearchconditionidPOSTResponse","UpdateDealerLayOutsByDealeridPOST","ResetAutoAssignmentsPOSTResponse","resets","ExecutePandoXPOSTResponse","GetSearchesGETPath","GetSearchModelByUsersearchconditionidGETPath","GetSearchCountsPOSTPath","FlushSearchCountsCacheByLuaeGETPath","GetDealerLayOutExtsGETPath","GetActiveDealerLayOutExtsGETPath","ShareUserSearchConditionByUsersearchconditionidPOSTPath","UnshareUserSearchConditionByUsersearchconditionidPOSTPath","DeleteUserSearchConditionByUsersearchconditionidPOSTPath","UpdateDealerLayOutsByDealeridPOSTPath","ResetAutoAssignmentsPOSTPath","ExecutePandoXPOSTPath","GetCustomerAdditionalContactsByEntityidGETResponse","GetCustomerAdditionalContactsByCustomeridGETResponse","GetCustomerAdditionalContactsByCustomeridGET","GetCustomerAdditionalContactsByEntityidGETPath","GetCustomerAdditionalContactsByCustomeridGETPath","onPayoffChange","inputPayoffModal","View_CashPaidComponent_1","View_CashPaidComponent_Host_0","View_ProjectedMileageComponent_1","View_ProjectedMileageComponent_Host_0","confirmation_modal_component_1","bsModalService","callActionResultSetID","apptActionResultSetID","noteActionResultSetID","emailActionResultSetID","translateKeys","handleNotesTypeChange","index2","onLogActivityCompleteMarkAsSold","animated","onPostSubmit","ret","RenderType_MobileReplacementContractComponent","View_MobileReplacementContractComponent_0","View_MobileReplacementContractComponent_Host_0","RenderType_DmsPushComponent","View_DmsPushComponent_1","View_DmsPushComponent_0","View_DmsPushComponent_Host_0","arrayJoin","$isSealed","NamedLog","windowRef","_logImpl","logFunction","dummyMessage","prependName","trunc","__defineSetter__","$toFixed","ERROR","multiply","c2","divide","numToString","RangeError","x2","markasNLO","stat","admin_settings_tabs_1","changeDetector","dsDealerId","loadDealer","validateAllFieldsUpdateUI","isFormChanged","validationSetting","getElementsByName","vs","decimalPlaceStep","maxCharacters","validateField","setValidationSettingEnabled","decimalPlaces","validateAllFields","isFormValid","value_1","validateFieldOnSave","objPropName","dealerCreditSoftPull","isCreditConvertDealerSettingEnabled","isProductSettingsEnabled","isFieldEmpty","isURL","urlRegEx","numValue","dsTabId","View_AdminRolesSelectorComponent_2","View_AdminRolesSelectorComponent_3","accessOptionName","View_AdminRolesSelectorComponent_1","View_AdminRolesSelectorComponent_4","View_AdminRolesSelectorComponent_5","View_AdminRolesSelectorComponent_Host_0","RenderType_LogActionShortcutsComponent","View_LogActionShortcutsComponent_1","View_TextActionComponent_0","RenderType_TextActionComponent","View_LogActionShortcutsComponent_0","View_LogActionShortcutsComponent_Host_0","View_AdminSettingsCrmLeadsDeliveryComponent_1","View_AdminSettingsCrmLeadsDeliveryComponent_3","View_AdminSettingsCrmLeadsDeliveryComponent_2","deliverWithOpportunity","autoSendOpportunityCreated","autoSendOpportunityUnread","autoSendVinScan","autoSendServiceAppointment","autoSendServiceAlert","notePosted","phoneCallLogged","phoneCallScheduled","phoneCallCompleted","phoneCallRescheduled","phoneCallReassigned","phoneCallCancelled","appointmentScheduled","appointmentCompleted","appointmentRescheduled","appointmentReassigned","appontmentCancelled","delayMinutes","crmEmail","includeDealSheetUrl","leadDuplicationControlInDays","View_AdminSettingsCrmLeadsDeliveryComponent_4","fordDirectAppointment","fordDirectO2OPurlLead","fordDirectBatch","View_AdminSettingsCrmLeadsDeliveryComponent_Host_0","WeakMap","lastPaymentMonths","currentDateMonths","dropdownList","selectedYears","specificYearsSettings","creditConvertFilterYears","itemName","dealerCreditSoftPullOwner","creditSoftPullYearFilter","selectedYearArray","onMultiSelectChanged","PushToDeskitPOSTResponse","PushToDeskitPOST","PushToDeskitPOSTPath","scheduleTypeAction","dateAddDays","daysToAdd","newDate","getDay","View_PaymentDifferenceComponent_Host_0","PaymentDifferenceComponentNgFactory","alertNames","updateAlerts","alertValue","getAlertLetterKey","alert_1","setAlertLocaleData","setServiceAlertLocaleData","setAppointmentAlertLocaleData","setContractEndAlertLocaleData","setMileageAlertLocaleData","setWarrantyAlertLocaleData","setAlertMessage","localeData","differenceLabel","made","remaining","projectedMileage","currentPenalty","projectedPenalty","miles","alertLetterKey","translationSet","translationId","View_PayoffComponent_2","View_PayoffComponent_1","View_PayoffComponent_Host_0","$getPrototypeOf","cookie_storage_service_1","COOKIE_KEYS","LOCAL_STORAGE_KEYS","STORAGE_SUBSCRIPTIONS","localStorageContainer","StorageContainer","sessionStorageContainer","cookieStorageContainer","prevOnStorage","onstorage","cb","getStorageForKey","storage","storageSubscriptionsArray","serialized","reviver","wrappedCb","GetSearchByEntityIdByEntityidGETResponse","GetSearchByEntityIdByEntityidGET","GetOpenOpportunitiesGETResponse","GetOpenOpportunitiesGET","GetOpenOpportunitiesFlushCacheGETResponse","GetOpenOpportunitiesFlushCacheGET","GetEntitiesListCustomPOSTResponse","GetEntitiesListCustomPOST","GetOneToOneEntitiesPOSTResponse","GetOneToOneEntitiesPOST","GetFreshOpportunitiesGETResponse","MaxResults","GetFreshOpportunitiesGET","GetFreshOpportunitiesFlushCacheGETResponse","GetFreshOpportunitiesFlushCacheGET","GetRecentlyAssignedOpportunitiesGETResponse","GetRecentlyAssignedOpportunitiesGET","GetRecentlyAssignedOpportunitiesFlushCacheGETResponse","GetRecentlyAssignedOpportunitiesFlushCacheGET","GetSoldBySearchByDealersByDealeridGETResponse","GetSoldBySearchByDealersByDealeridGET","GetPrivateOfferInfoByDealeridByEntityidGETResponse","GetPrivateOfferInfoByDealeridByEntityidGET","SaveSearchPOSTResponse","SaveSearchPOST","CreateDealerCampaignExportAudiencePOSTResponse","CreateDealerCampaignExportAudiencePOST","GetDealerCampaignRequestsInWindowAsyncByDaysGETResponse","GetDealerCampaignRequestsInWindowAsyncByDaysGET","GetNoLongerOwnForDealerByDealeridGETResponse","GetNoLongerOwnForDealerByDealeridGET","GetSearchByEntityIdByEntityidGETPath","GetOpenOpportunitiesGETPath","GetOpenOpportunitiesFlushCacheGETPath","GetEntitiesListCustomPOSTPath","GetOneToOneEntitiesPOSTPath","GetFreshOpportunitiesGETPath","GetFreshOpportunitiesFlushCacheGETPath","GetRecentlyAssignedOpportunitiesGETPath","GetRecentlyAssignedOpportunitiesFlushCacheGETPath","GetSoldBySearchByDealersByDealeridGETPath","GetPrivateOfferInfoByDealeridByEntityidGETPath","SaveSearchPOSTPath","CreateDealerCampaignExportAudiencePOSTPath","GetDealerCampaignRequestsInWindowAsyncByDaysGETPath","GetNoLongerOwnForDealerByDealeridGETPath","symbols","InMarket","InMarketEngaged","FullDataExport","PARAMETER_CODEC","ParameterCodec","encodeKey","encodeValue","decodeKey","decodeValue","_rootUrl","encoder","FordCreditApprovalByEntityIdByEntityidGETResponse","FordCreditApprovalByEntityIdByEntityidGET","FordCreditApprovalByEntityIdByEntityidGETPath","appSettings","dms_push_enums_1","DmsSaleType","handlePushResponse","requestSucceeded","succeeded","currentRequestType","RequestType","fandI","parts","param1","customerMatch","setAddressInfo","newPushResponse","getLatestPushRequest","buildGetLatestPushRequest","latestRequestTypeId","confirmCustomerSelection","forceInsertCustomer","isNullorWhiteSpace","setBusinessName","businessname","buildRequest","ResponseMethod","idReferences","referenceId","businessName","email2","repSaleType","vehicleDeal","dealNumber","allowance","pushSelectedCustomer","newMaxRowsDisplayed","maxRemainingRows","searchPresetsToQuery","View_MileagePenaltyComponent_2","View_MileagePenaltyComponent_3","View_MileagePenaltyComponent_1","View_MileagePenaltyComponent_Host_0","SEARCH","$search","LoggedInUserGETResponse","LoggedInUserGET","CurrentUserGETResponse","CurrentUserGET","GetUserByUsernameGETResponse","GetUserByUsernameGET","GetEnabledUsersForDealerByDealeridGETResponse","GetEnabledClientUsersExtByDealerByDealeridGETResponse","GetEnabledClientUsersExtByDealerByDealeridGET","GetUserFullNameByUseridGETResponse","GetUserFullNameByUseridGET","GetUserFullNameByEntityByEntityidGETResponse","GetUserFullNameByEntityByEntityidGET","GetEntityUserInfoByEntityidGETResponse","GetEntityUserInfoByEntityidGET","LogUserLoginPOSTResponse","LogUserLoginPOST","FacebookUserIdByEmailaddressGETResponse","FacebookUserIdByEmailaddressGET","GetUserDealersGETResponse","GetUserDealersGET","GetUserIsMetricByCountryidGETResponse","GetUserIsMetricByCountryidGET","CheckUserIPGETResponse","ipAddress","CheckUserIPGET","IsWhiteSalePartnerGETResponse","IsWhiteSalePartnerGET","LoggedInUserGETPath","CurrentUserGETPath","GetUserByUsernameGETPath","GetEnabledUsersForDealerByDealeridGETPath","GetEnabledClientUsersExtByDealerByDealeridGETPath","GetUserFullNameByUseridGETPath","GetUserFullNameByEntityByEntityidGETPath","GetEntityUserInfoByEntityidGETPath","LogUserLoginPOSTPath","FacebookUserIdByEmailaddressGETPath","GetUserDealersGETPath","GetUserIsMetricByCountryidGETPath","CheckUserIPGETPath","IsWhiteSalePartnerGETPath","factories","partArgs","setProto","InternalMap","weak","getWeak","uncaughtFrozenStore","ufstore","$WeakMap","freeze","View_RepairOrdersComponent_1","View_RepairOrdersComponent_Host_0","View_CustomerCultureSelectComponent_1","View_CustomerCultureSelectComponent_2","View_CustomerCultureSelectComponent_3","View_CustomerCultureSelectComponent_Host_0","classof","getIteratorMethod","isEntries","setAngularJSGlobal","core_2","__NgCli_bootstrap_1","__NgCli_bootstrap_2","$urlService","deferIntercept","angularProdMode","enableProdMode","platformBrowser","bootstrapModuleFactory","platformRef","urlService","listen","View_TextActionComponent_2","disabled link-disabled-but-looks-enabled","icon-class icon -size-24 text-icon","sms-icon","do-not-text-icon","View_TextActionComponent_3","View_TextActionComponent_4","View_TextActionComponent_5","View_TextActionComponent_7","View_TextActionComponent_8","View_TextActionComponent_9","no-user-avatar","View_TextActionComponent_6","View_TextActionComponent_10","View_TextActionComponent_1","btn btn-default","cancelUserNumberConfirmation","newTextMessageElement","View_TextActionComponent_Host_0","ByDealeridByBasetrimidByLevelDELETEResponse","BulkRemoveMappingsPOSTResponse","ByDealeridByBasetrimidByLevelDELETEPath","BulkRemoveMappingsPOSTPath","mapUtilsService","entityClient","entityOpportunityClientService","creditSoftPullResultEntityDelClientService","fordCreditApprovalClientService","vehicleFinalTradeValueTempChangeClientService","discrepancyReportClientService","changeLogClientService","pandoClaimClientService","saleClientService","tagClientService","searchClientService","entityResponse","countryID","notificationsResponse","getCreditPreApprovalAsync","alert_2","alert_3","View_AllowedMileageComponent_1","View_AllowedMileageComponent_Host_0","announcementClientService","cacheManagementClientService","eulaClientService","eulaHistoryClientService","userClientService","userProfileService","facebookUserIdCache","getCellPhoneNumberDetails","cellPhoneArea","part1","cellPhonePart1","part2","cellPhonePart2","wirelessCarrier","cellPhoneCarrier","getCultures","getTimeZones","forceReload","userPromise","cachedUserProfile","getUserProfileImpl","loggedInUser","userInfo","motofuzeUser","gfConfig","cxmViewSelectedDealers","cxmDealers","dealerListsMatch","dealerCodes","refreshedUser","dataLayer","product","gtm.start","tagManager","containerId","setGtmData","AutoAlertDealerID","ViewAllowedStores","AccountPlatformID","eulaAcceptDate","lastPasswordResetDate","lastPwdResetDate","Permissions","WalkMeSegments","updateUserProfile","RenderType_DealHistoryComponent","View_DealHistoryComponent_1","View_DealHistoryComponent_4","checkboxClicked","View_DealHistoryComponent_3","View_DealHistoryComponent_6","photoPath","View_DealHistoryComponent_7","View_DealHistoryComponent_5","changeTypes","replacementTerm","replacementPayment","View_DealHistoryComponent_2","listDealHistory","View_DealHistoryComponent_0","listDealHistoryTemp","View_DealHistoryComponent_Host_0","isTabSelected","getOwnMetadata","module_1","HAS_INSTANCE","FunctionProto","SendPOSTResponse","SendPOST","SendWithUpgradeProposalPOSTResponse","SendWithUpgradeProposalPOST","GetHistoryForEntityByEntityidGETResponse","GetHistoryForEntityByEntityidGET","GetMessagesByCustomerIdByCustomeridGETResponse","GetMessagesByCustomerIdByCustomeridGET","GetMessagesByCustomerIdByCustomeridByMessageidGETResponse","GetMessagesByCustomerIdByCustomeridByMessageidGET","GetTextableStatusGETResponse","WorkPhoneDoNotCallStatusTypeId","WorkPhone","UpdateDate","State","PricingPlanID","PreferredCultureName","NormalizedZipCode","MiddleName","LastName","IsFullCustomer","IsAddressNotValid","InvalidContacts","InsertDate","HomePhoneDoNotCallStatusTypeId","HomePhone","FullName","FirstName","ExternalImportID","DoNotText","DoNotMail","DoNotEmail","DoNotCall","CustomerID","CreatedByUserID","County","CompanyName","City","CellPhoneDoNotCallStatusTypeId","CellPhone","Address2","Address","GetTextableStatusGET","IsUserNumberTextableGETResponse","IsUserNumberTextableGET","SearchForNewNumberGETResponse","SearchForNewNumberGET","SearchForNewNumberByDealeridGETResponse","SearchForNewNumberByDealeridGET","SearchForNewNumberByAreaCodeGETResponse","SearchForNewNumberByAreaCodeGET","PurchaseNewNumberPOSTResponse","newNumberToPurchase","PurchaseNewNumberPOST","SendPOSTPath","SendWithUpgradeProposalPOSTPath","GetHistoryForEntityByEntityidGETPath","GetMessagesByCustomerIdByCustomeridGETPath","GetMessagesByCustomerIdByCustomeridByMessageidGETPath","GetTextableStatusGETPath","IsUserNumberTextableGETPath","SearchForNewNumberGETPath","SearchForNewNumberByDealeridGETPath","SearchForNewNumberByAreaCodeGETPath","PurchaseNewNumberPOSTPath","RenderType_MoreVehicleOffersComponent","View_MoreVehicleOffersComponent_1","View_MoreVehicleOffersComponent_2","View_MoreVehicleOffersComponent_3","View_MoreVehicleOffersComponent_4","View_MoreVehicleOffersComponent_5","View_MoreVehicleOffersComponent_6","View_MoreVehicleOffersComponent_0","View_MoreVehicleOffersComponent_Host_0","$acosh","acosh","MAX_VALUE","InvalidCharacterError","btoa","charCode","bs","bc","ordinaryHasMetadata","hasMetadata","clz32","LOG2E","offBrandHasBeenCalledForEntity","loadingText","noRecommendationsText","onDemandDiv","View_CapitalCostComponent_1","View_CapitalCostComponent_Host_0","createArrayMethod","$has","arrayFind","arrayFindIndex","UncaughtFrozenStore","findUncaughtFrozen","window_ref_service_1","crossDomainStorageDomain","crossDomainStoragePrefix","crossDomainStorageServiceProvider","GetMakesGETResponse","GetMakesGET","GetSearchableModelNamesGETResponse","GetSearchableModelNamesGET","GetMakesGETPath","GetSearchableModelNamesGETPath","RenderType_AdminRolesModalAddEditComponent","View_AdminRolesModalAddEditComponent_1","View_AdminRolesModalAddEditComponent_2","View_AdminRolesModalAddEditComponent_3","View_AdminRolesModalAddEditComponent_4","View_AdminRolesModalAddEditComponent_5","View_AdminRolesModalAddEditComponent_0","fieldInvalid","currVal_13","currVal_29","View_AdminRolesModalAddEditComponent_Host_0","SRC","TPL","inspectSource","RenderType_MobileActivitiesComponent","View_MobileActivitiesComponent_1","View_MobileActivitiesComponent_0","View_MobileActivitiesComponent_Host_0","IS_INCLUDES","fromIndex","MinDirective","shortcutSubscription","dealerSDOSetting","viewSvcApptDays","isSDOChangeExpiration","View_AdminSettingsProductComponent_Host_0","ByDealeridGETResponse","GetDealerSmtpSettingByDealeridGETResponse","GetDealerSmtpSettingByDealeridGET","DealerSettingChangedPOSTResponse","DealerSettingChangedPOST","GetDealerOutboundEmailProviderInfoByDealeridGETResponse","GetDealerOutboundEmailProviderInfoByDealeridGET","GetDealerSettingAllByDealeridGETResponse","UpdateDealerSettingAllPOSTResponse","SendTestAdfEmailPOSTResponse","GetTextNumbersByDealeridGETResponse","UseLegacyDealerSettingsPageGETResponse","UpdateInventoryDealerSettingByDealerIdAsyncPOSTResponse","inventoryDealerSettingDto","UpdateInventoryDealerSettingByDealerIdAsyncPOST","ByDealeridGETPath","GetDealerSmtpSettingByDealeridGETPath","DealerSettingChangedPOSTPath","GetDealerOutboundEmailProviderInfoByDealeridGETPath","GetDealerSettingAllByDealeridGETPath","UpdateDealerSettingAllPOSTPath","SendTestAdfEmailPOSTPath","GetTextNumbersByDealeridGETPath","UseLegacyDealerSettingsPageGETPath","UpdateInventoryDealerSettingByDealerIdAsyncPOSTPath","hasChanged","dealerid","vehicleid","tradevalue","UserDealSheetHistoryGETResponse","CalculatePaymentsPOSTResponse","CalculatePaymentsPOST","GetDealHistoryByEntityidPOSTResponse","GetDealHistoryByEntityidPOST","CustomerEngagementHistoryGETResponse","CustomerEngagementsByEntityPOSTResponse","HasReviewProDealerGETResponse","HasReviewProDealerGET","CustomerEngagementDashboardPOSTResponse","GetCustomerEngagementLastViewedGETResponse","UpdateCustomerEngagementLastViewedPOSTResponse","UserDealSheetHistoryGETPath","CalculatePaymentsPOSTPath","GetDealHistoryByEntityidPOSTPath","CustomerEngagementHistoryGETPath","CustomerEngagementsByEntityPOSTPath","HasReviewProDealerGETPath","CustomerEngagementDashboardPOSTPath","GetCustomerEngagementLastViewedGETPath","UpdateCustomerEngagementLastViewedPOSTPath","Expire_Phone_Call","Expire_Appointment","Pushed_To_Compass","Email_Template_Sent","RenderType_PayoffInputModalComponent","View_PayoffInputModalComponent_1","View_PayoffInputModalComponent_2","View_PayoffInputModalComponent_3","View_PayoffInputModalComponent_0","View_PayoffInputModalComponent_Host_0","TO_STRING","View_CustomerConnectActionsComponent_2","onDonotCallChange","View_CustomerConnectActionsComponent_3","onDonotEmailChange","activityActionEnums","showEmail","View_CustomerConnectActionsComponent_1","activityClicked","scheduleClicked","selectedLogActivity","showLogActivity","selectedscheduleActivity","showScheduleAppt","currVal_14","showText","currVal_19","View_CustomerConnectActionsComponent_Host_0","callSite","tpl","RenderType_AdminSettingsVHRDisclaimerComponent","View_AdminSettingsVHRDisclaimerComponent_0","View_AdminSettingsVHRDisclaimerComponent_Host_0","View_IconComponent_1","View_IconComponent_Host_0","RenderType_CustomerInfoComponent","View_CustomerInfoComponent_1","View_CustomerInfoComponent_0","View_CustomerInfoComponent_Host_0","changedValue","dateInputFormat","selectFromOtherMonth","customTodayClass","adaptivePosition","createForm","dateValidator","setValue","valueChanges","validateDate","isBefore","RenderType_VautoModalComponent","View_VautoModalComponent_1","View_VautoModalComponent_2","View_VautoModalComponent_0","View_VautoModalComponent_Host_0","pricingPlanTypes","pricingPlanTypeKeys","hasEmployeePricing","RenderType_MobileDealSheetComponent","View_MobileDealSheetComponent_0","View_UIView_0","RenderType_UIView","UIView","currVal_6","View_MobileDealSheetComponent_Host_0","GetTrimPriceByDealeridByTrimidGETResponse","GetTrimPriceByDealeridByTrimidGET","GetTrimPlanPriceGETResponse","GetTrimPlanPriceGET","GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETResponse","GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGET","GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETResponse","UpdateDealerPricesPATCHResponse","GetTrimPriceByDealeridByTrimidGETPath","GetTrimPlanPriceGETPath","GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETPath","GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETPath","UpdateDealerPricesPATCHPath","pandoDealSheetProcessEnabled","customerEngagementUpdateInterval","pandoDealSheetUrl","whoson","linkId","RenderType_CalendarDateRangeComponent","View_CalendarDateRangeComponent_2","View_CalendarDateRangeComponent_3","View_CalendarDateRangeComponent_4","View_CalendarDateRangeComponent_6","View_CalendarDateRangeComponent_5","View_CalendarDateRangeComponent_1","View_PopupComponent_0","RenderType_PopupComponent","AlignService","SCALE","PositionService","ScrollableService","AnimationService","PopupComponent","anchorAlign","popupAlign","horizontal","vertical","handleBlur","handleFocus","handleMouseEnter","handleMouseLeave","handleMousedown","handleClick","keydown","enter","View_MultiViewCalendarComponent_0","RenderType_MultiViewCalendarComponent","MultiViewCalendarComponent","activeRangeEnd","selectionRange","cellTemplate","monthCellTemplate","yearCellTemplate","decadeCellTemplate","centuryCellTemplate","weekNumberTemplate","headerTitleTemplate","DateRangeSelectionDirective","DateRangeService","selectionRangeChange","MonthCellTemplateDirective","KendoInput","PickerService","widgetId","widgetRole","calendarTabIndex","ariaDisabled","ariaActivedescendant","wrapperClass","disabledClass","View_CalendarDateRangeComponent_0","View_CalendarDateRangeComponent_Host_0","GetStartListCustomerByEntityidGETResponse","StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTResponse","GetStartFormByStartableformtemplateidGETResponse","GetStartListCustomerByEntityidGETPath","StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTPath","GetStartFormByStartableformtemplateidGETPath","deal_sheet_process_component_1","View_AdminSettingsCreditConvertComponent_1","View_AdminSettingsCreditConvertComponent_3","onDeSelect","onSelectAll","onDeSelectAll","View_AdminSettingsCreditConvertComponent_4","creditSoftPullMileageFilter","creditSoftPullProcessedFilter","ignoreFiltersOnPredictiveRepull","View_AdminSettingsCreditConvertComponent_5","enableRealTimeScan","enableLeaseAlerts","processFirstTimeConquests","View_AdminSettingsCreditConvertComponent_2","isCreditConvertAdmin","isCreditConvertEditor","View_AdminSettingsCreditConvertComponent_Host_0","View_ExtendedWarrantyComponent_2","View_ExtendedWarrantyComponent_4","View_ExtendedWarrantyComponent_3","View_ExtendedWarrantyComponent_5","View_ExtendedWarrantyComponent_7","View_ExtendedWarrantyComponent_6","View_ExtendedWarrantyComponent_9","View_ExtendedWarrantyComponent_10","View_ExtendedWarrantyComponent_11","View_ExtendedWarrantyComponent_8","View_ExtendedWarrantyComponent_1","View_ExtendedWarrantyComponent_Host_0","$map","RenderType_DisplayModalComponent","View_DisplayModalComponent_0","View_DisplayModalComponent_Host_0","autoAlertTradeValue","auctionTradeValue","estimateTradeValue","manualTradeValue","selectedBar","shortcutInProgress","handleShortcutEvent","selectLogActivity","selectScheduleActivity","setAllShowFlags","onDonotCallEmailChange","getCustomerCopy","RenderType_VinCueComponent","View_VinCueComponent_0","View_VinCueComponent_Host_0","RenderType_AdminSettingsModalSendTestLeadComponent","View_AdminSettingsModalSendTestLeadComponent_1","View_AdminSettingsModalSendTestLeadComponent_2","View_AdminSettingsModalSendTestLeadComponent_0","EmailValidator","View_AdminSettingsModalSendTestLeadComponent_Host_0","RenderType_PandoAvailabilityComponent","View_PandoAvailabilityComponent_1","View_PandoAvailabilityComponent_2","View_PandoAvailabilityComponent_3","View_PandoAvailabilityComponent_5","View_PandoAvailabilityComponent_4","View_PandoAvailabilityComponent_7","View_PandoAvailabilityComponent_6","View_PandoAvailabilityComponent_8","View_PandoAvailabilityComponent_0","View_PandoAvailabilityComponent_Host_0","$toISOString","lz","textMessageClientService","useWhiteLink","infoUrlNumber","urlStartIndex","urlEndIndex","urlSecondEndIndex","textRequest","proposalRequest","textMessageId","isFzlnk","customerDto","GetDealerSmtpSettingsGETResponse","SaveDealerSmtpSettingsPOSTResponse","GetDealerSmtpSettingsGETPath","SaveDealerSmtpSettingsPOSTPath","View_TagsComponent_1","View_TagsComponent_4","View_TagsComponent_5","View_TagsComponent_6","View_TagsComponent_8","View_TagsComponent_9","View_TagsComponent_10","View_TagsComponent_11","View_TagsComponent_7","View_TagsComponent_14","View_TagsComponent_15","View_TagsComponent_16","View_TagsComponent_17","View_TagsComponent_13","View_TagsComponent_12","View_TagsComponent_3","View_TagsComponent_2","View_TagsComponent_Host_0","setDesc","FREEZE","setMeta","hiddenKeys","InventoryBestMatchToTrimPOSTResponse","InventoryBestMatchToTrimPOST","InventoryBestMatchPOSTResponse","InventoryBestMatchPOST","InventoryRecommendationUsedCarByEntityidGETResponse","InventoryRecommendationUsedCarByEntityidGET","InventoryRecommendationNewCarPOSTResponse","InventoryRecommendationNewCarPOST","GetStockViewByDealeridGETResponse","GetStockViewByDealeridGET","GetStockViewsGETResponse","GetExtByStockNoByStocknoByEntityidByPricingplanidGETResponse","GetExtByStockNoByStocknoByEntityidByPricingplanidGET","GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETResponse","cashAdjustment","GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGET","SearchPOSTResponse","SearchPOST","InventoryBestMatchToTrimPOSTPath","InventoryBestMatchPOSTPath","InventoryRecommendationUsedCarByEntityidGETPath","InventoryRecommendationNewCarPOSTPath","GetStockViewByDealeridGETPath","GetStockViewsGETPath","GetExtByStockNoByStocknoByEntityidByPricingplanidGETPath","GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETPath","SearchPOSTPath","$fromCodePoint","fromCodePoint","dealHistoryData","alertsTranslatedText","mappingTranslatedText","termTranslatedText","paymentTranslatedText","initData","data_1","isAlertChange","isMappingChange","isPaymentChange","isTermChange","SAFE_CLOSING","riter","skipClosing","webpackEmptyAsyncContext","inventoryStockMinViewCtrl","FormControl","FormGroup","inventoryStockMinView","stockNoInput","isSafeInteger"],"mappings":"8EAAA,IAAAA,EAAA,iEAEAC,OAAAC,QAAAC,OAAA,MAAAC,IAAA,2BAAAC,GAAgEA,EAAAC,IAAAN,EADhE,k5IAEAG,EAAAI,QAAAP,0BCFA,IAAIQ,EAAUC,EAAQ,QAEtBD,EAAQA,EAAQE,EAAG,QAAS,CAAEC,QAASF,EAAQ,+CCM/CF,EAAQK,OADK,CAAC,wECRd,IAAAZ,EAAA,0DAEAC,OAAAC,QAAAC,OAAA,MAAAC,IAAA,2BAAAC,GAAgEA,EAAAC,IAAAN,EADhE,6eAEAG,EAAAI,QAAAP,wBCHA,IAAAA,EAAA,kFAEAC,OAAAC,QAAAC,OAAA,MAAAC,IAAA,2BAAAC,GAAgEA,EAAAC,IAAAN,EADhE,wTAEAG,EAAAI,QAAAP,oDCWIa,EAAgBC,MAAQA,KAAKD,cAAiB,SAAUE,GACxD,GAAIA,GAAOA,E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,OACAC,UAAA,OACAC,aAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,UAAA,OACAC,aAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,YAAA,OACAC,eAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,QAAA,OACAC,WAAA,OACA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BAEAC,GAAqB,CAAC,gBAAiB,WAAY,QAAS,UAAW,QAAS,UAAW,gBAAiB,SAC5GC,GAAsB,CAAC,QAAS,QAAS,OAAQ,WACjDC,GAAmB,CAAC,QAAS,WAC7BC,GApNgC,CAChC,QACA,kBACA,eACA,qBACA,WACA,cACA,OACA,SACA,UACA,iBACA,SACA,mBACA,oBACA,iBACA,YACA,QACA,QACA,cACA,aACA,WACA,OACA,UACA,YACA,WACA,YACA,WACA,OACA,iBACA,UACA,QACA,QACA,QACA,UACA,WACA,oBACA,QACA,UACA,UACA,WACA,QACA,OACA,YACA,aACA,iBACA,qBACA,YACA,aACA,aACA,YACA,WACA,YACA,UACA,aACA,oBACA,QACA,OACA,UACA,gBACA,cACA,eACA,eACA,oBACA,uBACA,4BACA,mBACA,sBACA,yBACA,cACA,WACA,cACA,YACA,WACA,aACA,QACA,SACA,SACA,SACA,UACA,SACA,kBACA,cACA,OACA,OACA,UACA,SACA,UACA,aACA,eACA,cACA,YACA,aACA,WACA,mBACA,gBACA,UACA,SAoH2C9vH,OAbzB,CAAC,uBAAwB,mBAAoB,6BAC9C,CAAC,eAAgB,qBACf,CAAC,UAvGC,CACrB,qBAAsB,sBAAuB,mBAAoB,SAAU,mBAC3E,sBAAuB,yBAA0B,qBAAsB,kBACvE,qBAAsB,wBAAyB,oBAAqB,mBACpE,mBAAoB,UA8GqGqvH,GA5EjG,CACxB,aAAc,YAAa,cAAe,OAAQ,MAAO,QAAS,YAAa,UAC/E,iBAAkB,SAAU,gBAAiB,kBAAmB,qBAChE,2BAA4B,uBAAwB,uBAG9B,CACtB,WACA,cACA,cACA,iBACA,mBACA,kBACA,eACA,aACA,gBACA,gBACA,iBACA,kBACA,cACA,eACA,iBACA,cACA,OACA,UACA,YACA,iBACA,YACA,cACA,WACA,UACA,aACA,eACA,UACA,0BACA,aACA,OACA,gBACA,6BACA,kBACA,qBACA,eACA,gBACA,iBACA,eACA,sBACA,iBACA,uBACA,kBACA,gBACA,iBACA,iBACA,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B3oY,GAU5B,MADA2vY,g6BAiGJ,SAASzG,EAAmBtrZ,GAExB,IAAIhD,EAAS,IAAI3B,OA0HjB,OAxHA2B,EAAOg1Z,UAAY,GAEnBh1Z,EAAOi1Z,aAAe,CAClB,oBACA,wCACA,SACA,iBACA,uBACA,mBACA,cACA,YACA,yBACA,yBACA,qBACA,0BACA,0BACA,+BACA,2BACA,qBACA,sBACA,4BACA,qBACA,wBACA,cACA,mBACA,yBACA,8BACA,cACA,sBAEA,YACA,YACA,gBACA,iBACA,cACA,cACA,gBACA,qBACA,kBACA,mBACA,YACA,sBACA,iBACA,YACA,gBACA,aACA,YACA,eACA,cACA,YACA,gBACA,qBACA,wBACA,cACA,eACA,SACA,iBACA,sBACA,uBACA,uBACA,oBACA,mBACA,cACA,cACA,gBACA,gBACA,iBACA,UACA,qBACA,eACA,cACA,eACA,aACA,mBACA,oBACA,wBACA,kBACA,yBACA,iBACA,qBACA,eACA,sBAEA,cACA,sBACA,uBACA,gBACA,aACA,gBACA,aACA,aACA,yBACA,sBACA,kBACA,6BACA,iBACA,qBACA,2BACA,qBACA,0BACA,yBACA,sBACA,sBACA,cACA,UACA,cACA,gBACA,QACA,aACA,kBACA,iBACA,kBAGJj1Z,EAAO+7K,SAAW/4K,EAElBhD,EAAOk1Z,OAAS,CAAC,QAAS,OAAQ,cAAe,YAEjDl1Z,EAAOgoQ,YAAcg4E,EAAMt5U,YAEpBwmT,EAAcU,sBAAsB5tT,GACtCsD,KAAK,SAAAnF,GACF,IAAIg8V,EAAWh8V,EAEXyrS,EAAoB/zL,EAAQ,eAEhCskP,EAAShvS,QAAQ,SAAU/lC,GAEnBA,EAAE+vY,iBADF/vY,EAAE86R,WACmBtW,EAAkBxkR,EAAE86R,YAAY/8R,QAAQ,OAAQ,IAEhD,GAGrBiC,EAAEgwY,iBADFhwY,EAAE6/G,WACmB2kK,EAAkBxkR,EAAE6/G,YAAY9hH,QAAQ,OAAQ,IAEhD,KAE7B68T,EAAM8B,GAAK,IA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,yBACAA,IAAA,6BACAA,IAAA,+BACAA,IAAA,uBACAA,IAAA,2CACAA,IAAA,mCACAA,IAAA,iDACAA,IAAA,6CACAA,IAAA,0CACAA,IAAA,4CAXQA,EAAZ,CAAY/vQ,EAAA+vQ,yBAAuB,uCClBnC,IAAIz2P,EAASpZ,EAAQ,QACjB2wG,EAAW3wG,EAAQ,QAIvBN,EAAOI,QAAUE,EAAQ,OAARA,CAHP,MAGqC,SAAU6jB,GACvD,OAAO,WAAiB,OAAOA,EAAIxjB,KAAMuT,UAAUS,OAAS,EAAIT,UAAU,QAAKO,KAC9E,CAED0P,IAAK,SAAazc,GAChB,IAAI28O,EAAQ3qO,EAAO0qO,SAASnzI,EAAStwG,KAR/B,OAQ2C+G,GACjD,OAAO28O,GAASA,EAAMv6M,GAGxBpkB,IAAK,SAAahe,EAAKtG,GACrB,OAAOsY,EAAO6qO,IAAItzI,EAAStwG,KAbrB,OAayC,IAAR+G,EAAY,EAAIA,EAAKtG,KAE7DsY,GAAQ","file":"main.5313cb7360acb9ab4743.js","sourcesContent":["var path = '/app/components/data-entry/data-entry-trade-ins.component.html';\nvar html = \"
1\\\">



\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = require('./_export');\n\n$export($export.S, 'Array', { isArray: require('./_is-array') });\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".carproof-logo[_ngcontent-%COMP%]{height:25px}\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/vehicle/color.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/modals/view-customer-email-sent-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar SaleClientService = /** @class */ (function (_super) {\n __extends(SaleClientService, _super);\n function SaleClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n */\n SaleClientService.prototype.GetSaleExtByEntityIdByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Sale/GetSaleExtByEntityId/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n SaleClientService.prototype.GetSaleExtByEntityIdByEntityidGET = function (entityId) {\n return this.GetSaleExtByEntityIdByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n SaleClientService.prototype.AddUpdateSalePayoffPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Sale/AddUpdateSalePayoff\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n SaleClientService.prototype.AddUpdateSalePayoffPOST = function (request) {\n return this.AddUpdateSalePayoffPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n SaleClientService.GetSaleExtByEntityIdByEntityidGETPath = '/api/Sale/GetSaleExtByEntityId/{entityId}';\n SaleClientService.AddUpdateSalePayoffPOSTPath = '/api/Sale/AddUpdateSalePayoff';\n SaleClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function SaleClientService_Factory() { return new SaleClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: SaleClientService, providedIn: \"root\" });\n return SaleClientService;\n}(base_service_1.BaseService));\nexports.SaleClientService = SaleClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { SalePayoffRequestDto } from '../models/sale-payoff-request-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass SaleClientService extends __BaseService {\r\n static readonly GetSaleExtByEntityIdByEntityidGETPath = '/api/Sale/GetSaleExtByEntityId/{entityId}';\r\n static readonly AddUpdateSalePayoffPOSTPath = '/api/Sale/AddUpdateSalePayoff';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetSaleExtByEntityIdByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Sale/GetSaleExtByEntityId/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetSaleExtByEntityIdByEntityidGET(entityId: string): __Observable {\r\n return this.GetSaleExtByEntityIdByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n AddUpdateSalePayoffPOSTResponse(request?: SalePayoffRequestDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Sale/AddUpdateSalePayoff`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n AddUpdateSalePayoffPOST(request?: SalePayoffRequestDto): __Observable {\r\n return this.AddUpdateSalePayoffPOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule SaleClientService {\r\n}\r\n\r\nexport { SaleClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar ProjectedMileageComponent = /** @class */ (function () {\n function ProjectedMileageComponent() {\n }\n ProjectedMileageComponent.prototype.ngOnInit = function () {\n };\n return ProjectedMileageComponent;\n}());\nexports.ProjectedMileageComponent = ProjectedMileageComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'projected-mileage',\r\n templateUrl: './projected-mileage.component-ng.html',\r\n styleUrls: ['./projected-mileage.component.scss']\r\n})\r\nexport class ProjectedMileageComponent implements OnInit {\r\n @Input() value: number;\r\n @Input() alertExists: boolean;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@uirouter/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar toaster_logger_service_1 = require(\"../../../../core/toaster-logger.service\");\nvar activity_service_1 = require(\"../../../../services/activity.service\");\nvar customer_service_1 = require(\"../../../../services/customer.service\");\nvar mobile_deal_sheet_data_caching_service_1 = require(\"../../../../services/mobile-deal-sheet-data-caching.service\");\nvar MobileCustomerConnectComponent = /** @class */ (function () {\n function MobileCustomerConnectComponent(activityService, toasterLoggerService, customerService, mobileDealSheetDataCachingService, transition, changeDetectorRef) {\n this.activityService = activityService;\n this.toasterLoggerService = toasterLoggerService;\n this.customerService = customerService;\n this.mobileDealSheetDataCachingService = mobileDealSheetDataCachingService;\n this.transition = transition;\n this.changeDetectorRef = changeDetectorRef;\n this.activityActionEnum = constants_1.ActivityActionEnum;\n this.defaultCustomerConnectAction = this.activityActionEnum.Log_Call;\n this.isCustomerConnectOpen = true;\n this.opportunityId = this.transition.params().opportunityId;\n }\n MobileCustomerConnectComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(function (dealSheetData) {\n _this.opportunity = dealSheetData.opportunity;\n _this.permissions = dealSheetData.permissions;\n _this.usersSubscription = _this.mobileDealSheetDataCachingService.getUsers(dealSheetData.opportunity.dealerId)\n .subscribe(function (users) {\n _this.users = users;\n // users is passed down through to the upgraded angularjs components and the change is not picked up there.\n // This can probably be removed once those components are Angular 8\n _this.changeDetectorRef.detectChanges();\n });\n });\n };\n MobileCustomerConnectComponent.prototype.onLogScheduleSubmit = function (result) {\n var _this = this;\n if (!result) {\n return;\n } // user data entry error\n if (result === 'cancel') {\n return;\n }\n this.isCustomerConnectOpen = false;\n this.busy = this.activityService.postActivitySubmitAction(result)\n .then(function (data) {\n if (result.isFollowUpScheduleAppt) {\n _this.toasterLoggerService.success('postActivityFollowupMsg');\n _this.defaultCustomerConnectAction = _this.activityActionEnum.Schedule_Appt;\n }\n else {\n _this.toasterLoggerService.success('postActivitySuccessMsg');\n }\n // if vehicle no longer owns\n if (result.resultID === constants_1.ActivityResults.phoneCall.noLongerOwns || result.resultID === constants_1.ActivityResults.note.noLongerOwns) {\n return _this.activityService.updateCustomerDoesNotOwnVehicle(_this.opportunity.id).then(function () {\n });\n }\n // if vehicle paid off\n if (result.resultID === constants_1.ActivityResults.phoneCall.vehiclePaidOff) {\n return _this.activityService.updateVehiclePaidOff(_this.opportunity.id)\n .then(function () {\n });\n }\n _this.isCustomerConnectOpen = true;\n return _this.refreshActivities();\n });\n };\n MobileCustomerConnectComponent.prototype.updateCustomer = function (customer) {\n var _this = this;\n this.busy = this.customerService.updateCustomer(customer).then(function (success) {\n if (success) {\n _this.mobileDealSheetDataCachingService.clearDealSheetData();\n }\n });\n };\n MobileCustomerConnectComponent.prototype.refreshActivities = function () {\n this.mobileDealSheetDataCachingService.clearActivities();\n };\n MobileCustomerConnectComponent.prototype.ngOnDestroy = function () {\n this.opportunitySubscription.unsubscribe();\n this.usersSubscription.unsubscribe();\n };\n return MobileCustomerConnectComponent;\n}());\nexports.MobileCustomerConnectComponent = MobileCustomerConnectComponent;\n","import { Component, OnDestroy, OnInit, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\r\nimport { Transition } from '@uirouter/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { ActivityActionEnum, ActivityResults } from '../../../../constants';\r\nimport { ToasterLoggerService } from '../../../../core/toaster-logger.service';\r\nimport { CustomerConnectActivityResult } from '../../../../interfaces/deal-sheet/customer-connect-activity-result.interface';\r\nimport { DealSheetOpportunity } from '../../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { UserDtoExt } from '../../../../interfaces/user-dto-ext.interface';\r\nimport { ActivityService } from '../../../../services/activity.service';\r\nimport { CustomerService } from '../../../../services/customer.service';\r\nimport { MobileDealSheetDataCachingService } from '../../../../services/mobile-deal-sheet-data-caching.service';\r\n\r\n@Component({\r\n selector: 'mobile-customer-connect',\r\n templateUrl: './mobile-customer-connect.component-ng.html',\r\n styleUrls: ['./mobile-customer-connect.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class MobileCustomerConnectComponent implements OnInit, OnDestroy {\r\n opportunitySubscription: Subscription;\r\n usersSubscription: Subscription;\r\n opportunity: DealSheetOpportunity;\r\n permissions: DealSheetPermissions;\r\n private opportunityId: string;\r\n public activityActionEnum = ActivityActionEnum;\r\n public defaultCustomerConnectAction = this.activityActionEnum.Log_Call;\r\n users: UserDtoExt[];\r\n public busy: Promise;\r\n public isCustomerConnectOpen = true;\r\n\r\n constructor(private activityService: ActivityService,\r\n private toasterLoggerService: ToasterLoggerService,\r\n private customerService: CustomerService,\r\n private mobileDealSheetDataCachingService: MobileDealSheetDataCachingService,\r\n private transition: Transition,\r\n private changeDetectorRef: ChangeDetectorRef) {\r\n this.opportunityId = this.transition.params().opportunityId;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(dealSheetData => {\r\n this.opportunity = dealSheetData.opportunity;\r\n this.permissions = dealSheetData.permissions;\r\n this.usersSubscription = this.mobileDealSheetDataCachingService.getUsers(dealSheetData.opportunity.dealerId)\r\n .subscribe(users => {\r\n this.users = users;\r\n // users is passed down through to the upgraded angularjs components and the change is not picked up there.\r\n // This can probably be removed once those components are Angular 8\r\n this.changeDetectorRef.detectChanges();\r\n });\r\n });\r\n }\r\n\r\n public onLogScheduleSubmit(result: CustomerConnectActivityResult | 'cancel') {\r\n if (!result) { return; } // user data entry error\r\n\r\n if (result === 'cancel') {\r\n return;\r\n }\r\n\r\n this.isCustomerConnectOpen = false;\r\n this.busy = this.activityService.postActivitySubmitAction(result)\r\n .then((data) => {\r\n\r\n if (result.isFollowUpScheduleAppt) {\r\n this.toasterLoggerService.success('postActivityFollowupMsg');\r\n this.defaultCustomerConnectAction = this.activityActionEnum.Schedule_Appt;\r\n\r\n } else {\r\n this.toasterLoggerService.success('postActivitySuccessMsg');\r\n }\r\n\r\n // if vehicle no longer owns\r\n if (result.resultID === ActivityResults.phoneCall.noLongerOwns || result.resultID === ActivityResults.note.noLongerOwns) {\r\n return this.activityService.updateCustomerDoesNotOwnVehicle(this.opportunity.id).then(() => {\r\n\r\n });\r\n }\r\n\r\n // if vehicle paid off\r\n if (result.resultID === ActivityResults.phoneCall.vehiclePaidOff) {\r\n return this.activityService.updateVehiclePaidOff(this.opportunity.id)\r\n .then(() => {\r\n\r\n });\r\n }\r\n\r\n this.isCustomerConnectOpen = true;\r\n return this.refreshActivities();\r\n });\r\n }\r\n\r\n public updateCustomer(customer: any): void {\r\n this.busy = this.customerService.updateCustomer(customer).then((success) => {\r\n if (success) {\r\n this.mobileDealSheetDataCachingService.clearDealSheetData();\r\n }\r\n });\r\n }\r\n\r\n private refreshActivities(): void {\r\n this.mobileDealSheetDataCachingService.clearActivities();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.opportunitySubscription.unsubscribe();\r\n this.usersSubscription.unsubscribe();\r\n }\r\n}\r\n","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ActivityResultDescriptors = [\n // logcall setid: 1 ---------------------------------------------------\n {\n 'activityResultID': 27,\n 'translateKey': 'ResultKeyInterested',\n 'priority': 1,\n 'setID': 1,\n 'column': 1\n },\n {\n 'activityResultID': 6,\n 'translateKey': 'ResultKeyNotInterested',\n 'priority': 2,\n 'setID': 1,\n 'column': 1\n },\n {\n 'activityResultID': 28,\n 'translateKey': 'ResultKeyNoLongerOwns',\n 'priority': 3,\n 'setID': 1,\n 'column': 1\n },\n {\n 'activityResultID': 7,\n 'translateKey': 'ResultKeySold',\n 'priority': 4,\n 'setID': 1,\n 'column': 1\n },\n {\n 'activityResultID': 4,\n 'translateKey': 'ResultKeyLeftMessage',\n 'priority': 1,\n 'setID': 1,\n 'column': 2\n },\n {\n 'activityResultID': 2,\n 'translateKey': 'ResultKeyCallBack',\n 'priority': 2,\n 'setID': 1,\n 'column': 2\n },\n {\n 'activityResultID': 5,\n 'translateKey': 'ResultKeyNoAnswer',\n 'priority': 3,\n 'setID': 1,\n 'column': 2\n },\n {\n 'activityResultID': 32,\n 'translateKey': 'ResultKeyMiscellaneous',\n 'priority': 4,\n 'setID': 1,\n 'column': 2\n },\n // old portal dialogs still use these\n {\n 'activityResultID': 1,\n 'translateKey': 'ResultKeyAppointmentSet',\n 'priority': 1,\n 'setID': 1,\n 'column': 0 // for old dialog at activity screen\n },\n // log notes setid: 3 ---------------------------------------------------\n {\n 'activityResultID': 22,\n 'translateKey': 'ResultKeyUpgradeProposal',\n 'priority': 1,\n 'setID': 3,\n 'column': 1\n },\n {\n 'activityResultID': 29,\n 'translateKey': 'ResultKeyOneToOnePrintedOffer',\n 'priority': 2,\n 'setID': 3,\n 'column': 1\n },\n {\n 'activityResultID': 30,\n 'translateKey': 'ResultKeyTestDriveDone',\n 'priority': 3,\n 'setID': 3,\n 'column': 1\n },\n {\n 'activityResultID': 23,\n 'translateKey': 'ResultKeySold',\n 'priority': 4,\n 'setID': 3,\n 'column': 1\n },\n {\n 'activityResultID': 6,\n 'translateKey': 'ResultKeyNotInterested',\n 'priority': 5,\n 'setID': 3,\n 'column': 2\n },\n {\n 'activityResultID': 31,\n 'translateKey': 'ResultKeyNoLongerOwns',\n 'priority': 6,\n 'setID': 3,\n 'column': 2\n },\n {\n 'activityResultID': 33,\n 'translateKey': 'vehiclePaidOff',\n 'priority': 6,\n 'setID': 3,\n 'column': 2\n },\n {\n 'activityResultID': 25,\n 'translateKey': 'ResultKeyMiscellaneous',\n 'priority': 7,\n 'setID': 3,\n 'column': 2\n },\n {\n 'activityResultID': 11,\n 'translateKey': 'ResultKeySold',\n 'priority': 1,\n 'setID': 2,\n 'column': 1\n },\n {\n 'activityResultID': 10,\n 'translateKey': 'ResultKeyShowedOpen',\n 'priority': 2,\n 'setID': 2,\n 'column': 1\n },\n {\n 'activityResultID': 9,\n 'translateKey': 'ResultKeyShowedClosed',\n 'priority': 3,\n 'setID': 2,\n 'column': 1\n },\n {\n 'activityResultID': 8,\n 'translateKey': 'ResultKeyDidNotShow',\n 'priority': 4,\n 'setID': 2,\n 'column': 1\n },\n {\n 'activityResultID': 33,\n 'translateKey': 'vehiclePaidOff',\n 'priority': 13,\n 'setID': 1,\n 'column': 1\n }\n];\n","export const ActivityResultDescriptors = [\r\n // logcall setid: 1 ---------------------------------------------------\r\n {\r\n 'activityResultID': 27,\r\n 'translateKey': 'ResultKeyInterested',\r\n 'priority': 1,\r\n 'setID': 1,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 6,\r\n 'translateKey': 'ResultKeyNotInterested',\r\n 'priority': 2,\r\n 'setID': 1,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 28,\r\n 'translateKey': 'ResultKeyNoLongerOwns',\r\n 'priority': 3,\r\n 'setID': 1,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 7,\r\n 'translateKey': 'ResultKeySold',\r\n 'priority': 4,\r\n 'setID': 1,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 4,\r\n 'translateKey': 'ResultKeyLeftMessage',\r\n 'priority': 1,\r\n 'setID': 1,\r\n 'column': 2\r\n },\r\n {\r\n 'activityResultID': 2,\r\n 'translateKey': 'ResultKeyCallBack',\r\n 'priority': 2,\r\n 'setID': 1,\r\n 'column': 2\r\n },\r\n {\r\n 'activityResultID': 5,\r\n 'translateKey': 'ResultKeyNoAnswer',\r\n 'priority': 3,\r\n 'setID': 1,\r\n 'column': 2\r\n },\r\n {\r\n 'activityResultID': 32,\r\n 'translateKey': 'ResultKeyMiscellaneous',\r\n 'priority': 4,\r\n 'setID': 1,\r\n 'column': 2\r\n },\r\n // old portal dialogs still use these\r\n {\r\n 'activityResultID': 1,\r\n 'translateKey': 'ResultKeyAppointmentSet',\r\n 'priority': 1,\r\n 'setID': 1,\r\n 'column': 0 // for old dialog at activity screen\r\n },\r\n // log notes setid: 3 ---------------------------------------------------\r\n {\r\n 'activityResultID': 22,\r\n 'translateKey': 'ResultKeyUpgradeProposal',\r\n 'priority': 1,\r\n 'setID': 3,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 29,\r\n 'translateKey': 'ResultKeyOneToOnePrintedOffer',\r\n 'priority': 2,\r\n 'setID': 3,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 30,\r\n 'translateKey': 'ResultKeyTestDriveDone',\r\n 'priority': 3,\r\n 'setID': 3,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 23,\r\n 'translateKey': 'ResultKeySold',\r\n 'priority': 4,\r\n 'setID': 3,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 6,\r\n 'translateKey': 'ResultKeyNotInterested',\r\n 'priority': 5,\r\n 'setID': 3,\r\n 'column': 2\r\n },\r\n {\r\n 'activityResultID': 31,\r\n 'translateKey': 'ResultKeyNoLongerOwns',\r\n 'priority': 6,\r\n 'setID': 3,\r\n 'column': 2\r\n },\r\n {\r\n 'activityResultID': 33,\r\n 'translateKey': 'vehiclePaidOff',\r\n 'priority': 6,\r\n 'setID': 3,\r\n 'column': 2\r\n },\r\n {\r\n 'activityResultID': 25,\r\n 'translateKey': 'ResultKeyMiscellaneous',\r\n 'priority': 7,\r\n 'setID': 3,\r\n 'column': 2\r\n },\r\n {// ---------------------------------------------------\r\n 'activityResultID': 11,\r\n 'translateKey': 'ResultKeySold',\r\n 'priority': 1,\r\n 'setID': 2,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 10,\r\n 'translateKey': 'ResultKeyShowedOpen',\r\n 'priority': 2,\r\n 'setID': 2,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 9,\r\n 'translateKey': 'ResultKeyShowedClosed',\r\n 'priority': 3,\r\n 'setID': 2,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 8,\r\n 'translateKey': 'ResultKeyDidNotShow',\r\n 'priority': 4,\r\n 'setID': 2,\r\n 'column': 1\r\n },\r\n {\r\n 'activityResultID': 33,\r\n 'translateKey': 'vehiclePaidOff',\r\n 'priority': 13,\r\n 'setID': 1,\r\n 'column': 1\r\n }\r\n];\r\n","AddTranslations.$inject = [\"$translateProvider\"];\nimport angular from 'angular';\nimport 'angular-translate';\nimport 'angular-translate-loader-partial';\nimport { currentUserCulture$ } from '../../core/translation';\nvar moduleName = 'AaApp.Translations';\nexport default moduleName;\nvar translationModule = angular.module(moduleName, ['pascalprecht.translate']);\ntranslationModule.config(AddTranslations);\nimport en_CA from \"../../i18n/en-CA.json\";\nimport en_GB from \"../../i18n/en-GB.json\";\nimport en_US from \"../../i18n/en-US.json\";\nimport es_US from \"../../i18n/es-US.json\";\nimport fr_CA from \"../../i18n/fr-CA.json\";\nimport fr_FR from \"../../i18n/fr-FR.json\";\nAddTranslations.$inject = ['$translateProvider'];\n\nfunction AddTranslations($translateProvider) {\n \"ngInject\";\n\n $translateProvider.translations(\"en-CA\", en_CA);\n $translateProvider.translations(\"en-GB\", en_GB);\n $translateProvider.translations(\"en-US\", en_US);\n $translateProvider.translations(\"es-US\", es_US);\n $translateProvider.translations(\"fr-CA\", fr_CA);\n $translateProvider.translations(\"fr-FR\", fr_FR); // Update ngx-translate's culture when the current user culture changes\n\n currentUserCulture$.subscribe(function (cultureName) {\n return $translateProvider.use(cultureName);\n });\n}","import angular from 'angular';\r\nimport 'angular-translate';\r\nimport 'angular-translate-loader-partial';\r\nimport { currentUserCulture$ } from '../../core/translation';\r\n\r\nconst moduleName = 'AaApp.Translations';\r\nexport default moduleName;\r\n\r\nvar translationModule = angular.module(moduleName, ['pascalprecht.translate'])\r\n\r\ntranslationModule.config(AddTranslations)\r\n\r\nimport en_CA from \"../../i18n/en-CA.json\";\r\nimport en_GB from \"../../i18n/en-GB.json\";\r\nimport en_US from \"../../i18n/en-US.json\";\r\nimport es_US from \"../../i18n/es-US.json\";\r\nimport fr_CA from \"../../i18n/fr-CA.json\";\r\nimport fr_FR from \"../../i18n/fr-FR.json\";\r\n\r\nAddTranslations.$inject = ['$translateProvider']\r\nfunction AddTranslations($translateProvider) {\r\n \"ngInject\";\r\n\r\n $translateProvider.translations(\"en-CA\", en_CA);\r\n $translateProvider.translations(\"en-GB\", en_GB);\r\n $translateProvider.translations(\"en-US\", en_US);\r\n $translateProvider.translations(\"es-US\", es_US);\r\n $translateProvider.translations(\"fr-CA\", fr_CA);\r\n $translateProvider.translations(\"fr-FR\", fr_FR);\r\n\r\n // Update ngx-translate's culture when the current user culture changes\r\n currentUserCulture$.subscribe(cultureName => $translateProvider.use(cultureName));\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./annual-percentage-rate.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-number.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./annual-percentage-rate.component\"));\nvar styles_AnnualPercentageRateComponent = [i0.styles];\nvar RenderType_AnnualPercentageRateComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AnnualPercentageRateComponent, data: {} });\nexports.RenderType_AnnualPercentageRateComponent = RenderType_AnnualPercentageRateComponent;\nfunction View_AnnualPercentageRateComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"value field\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [[\"class\", \"qa-annual-percentage-rate\"], [\"translate\", \"annualPercentageRate\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(3, 2), i1.ɵpod(4, { apr: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"annualPercentageRate\"; var currVal_1 = _ck(_v, 4, 0, i1.ɵunv(_v, 2, 1, _ck(_v, 3, 0, i1.ɵnov(_v.parent, 0), _co.value, \"1.2-2\"))); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_AnnualPercentageRateComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleNumberPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AnnualPercentageRateComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_AnnualPercentageRateComponent_0 = View_AnnualPercentageRateComponent_0;\nfunction View_AnnualPercentageRateComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"annual-percentage-rate\", [], null, null, null, View_AnnualPercentageRateComponent_0, RenderType_AnnualPercentageRateComponent)), i1.ɵdid(1, 49152, null, 0, i6.AnnualPercentageRateComponent, [i1.ElementRef, i1.Injector, i3.LocaleNumberPipe], null, null)], null, null); }\nexports.View_AnnualPercentageRateComponent_Host_0 = View_AnnualPercentageRateComponent_Host_0;\nvar AnnualPercentageRateComponentNgFactory = i1.ɵccf(\"annual-percentage-rate\", i6.AnnualPercentageRateComponent, View_AnnualPercentageRateComponent_Host_0, { value: \"value\" }, {}, []);\nexports.AnnualPercentageRateComponentNgFactory = AnnualPercentageRateComponentNgFactory;\n","
\r\n \r\n
\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./alerts.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../alert/alert.component-ng.ngfactory\"));\nvar i3 = __importStar(require(\"../alert/alert.component-ng\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"./alerts.component-ng\"));\nvar i6 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar i7 = __importStar(require(\"../../../filters/locale-date.pipe\"));\nvar i8 = __importStar(require(\"../../../filters/locale-currency.pipe\"));\nvar i9 = __importStar(require(\"../../../filters/locale-number.pipe\"));\nvar i10 = __importStar(require(\"@ngx-translate/core\"));\nvar styles_AlertsComponent = [i0.styles];\nvar RenderType_AlertsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AlertsComponent, data: {} });\nexports.RenderType_AlertsComponent = RenderType_AlertsComponent;\nfunction View_AlertsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"alert\", [], null, null, null, i2.View_AlertComponent_0, i2.RenderType_AlertComponent)), i1.ɵdid(1, 49152, null, 0, i3.AlertComponent, [], { alertTypeId: [0, \"alertTypeId\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.type; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AlertsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"span\", [], [[8, \"innerHTML\", 1]], null, null, null, null))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.message; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AlertsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"li\", [[\"class\", \"opportunity\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AlertsComponent_2)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AlertsComponent_3)), i1.ɵdid(4, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.showRelavantInfo; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.showRelavantInfo; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_AlertsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"ul\", [[\"class\", \"opportunities qa-alerts-opportunities\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AlertsComponent_1)), i1.ɵdid(2, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.values; _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_AlertsComponent_0 = View_AlertsComponent_0;\nfunction View_AlertsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"alerts\", [], null, null, null, View_AlertsComponent_0, RenderType_AlertsComponent)), i1.ɵdid(1, 638976, null, 0, i5.AlertsComponent, [i6.LocaleDateTimePipe, i7.LocaleDatePipe, i8.LocaleCurrencyPipe, i9.LocaleNumberPipe, i10.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AlertsComponent_Host_0 = View_AlertsComponent_Host_0;\nvar AlertsComponentNgFactory = i1.ɵccf(\"alerts\", i5.AlertsComponent, View_AlertsComponent_Host_0, { values: \"values\", showRelavantInfo: \"showRelavantInfo\" }, {}, []);\nexports.AlertsComponentNgFactory = AlertsComponentNgFactory;\n","
    \r\n
  • \r\n \r\n \r\n
  • \r\n
\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".blackbook-us-logo[_ngcontent-%COMP%]{height:50px}\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AlertTypes = {\n alert: 100,\n flexAlert: 200,\n inMarket: 400,\n inMarketEngaged: 500,\n contractEnd: 600,\n service: 700,\n appointment: 800,\n mileage: 900,\n warranty: 1000\n};\n","export const AlertTypes = {\r\n alert: 100,\r\n flexAlert: 200,\r\n inMarket: 400,\r\n inMarketEngaged: 500,\r\n contractEnd: 600,\r\n service: 700,\r\n appointment: 800,\r\n mileage: 900,\r\n warranty: 1000\r\n};\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./carfax.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@uirouter/angular/lib/directives/uiSref\"));\nvar i3 = __importStar(require(\"@uirouter/core\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"./carfax.component\"));\nvar styles_CarfaxComponent = [i0.styles];\nvar RenderType_CarfaxComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CarfaxComponent, data: {} });\nexports.RenderType_CarfaxComponent = RenderType_CarfaxComponent;\nfunction View_CarfaxComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"src\", \"../../../images/carfax.png\"]], null, null, null, null, null))], null, null); }\nfunction View_CarfaxComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"a\", [[\"class\", \"qa-carfax-link\"], [\"href\", \"javascript:void(0)\"], [\"target\", \"_blank\"], [\"uiSref\", \"carFaxReport\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i2.AnchorUISref, [i1.ElementRef, i1.Renderer2], null, null), i1.ɵdid(2, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"], params: [1, \"params\"] }, null), i1.ɵpod(3, { opportunityId: 0, vin: 1 }), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"img\", [[\"src\", \"../../../images/carfax.png\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"carFaxReport\"; var currVal_1 = _ck(_v, 3, 0, _co.opportunityId, _co.vin); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_CarfaxComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_CarfaxComponent_1)), i1.ɵdid(1, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CarfaxComponent_2)), i1.ɵdid(3, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.showCarFaxLink && _co.readonly); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.showCarFaxLink && !_co.readonly); _ck(_v, 3, 0, currVal_1); }, null); }\nexports.View_CarfaxComponent_0 = View_CarfaxComponent_0;\nfunction View_CarfaxComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"carfax\", [], null, null, null, View_CarfaxComponent_0, RenderType_CarfaxComponent)), i1.ɵdid(1, 638976, null, 0, i5.CarfaxComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CarfaxComponent_Host_0 = View_CarfaxComponent_Host_0;\nvar CarfaxComponentNgFactory = i1.ɵccf(\"carfax\", i5.CarfaxComponent, View_CarfaxComponent_Host_0, { permissions: \"permissions\", dealerSettings: \"dealerSettings\", opportunityId: \"opportunityId\", vin: \"vin\", readonly: \"readonly\" }, {}, []);\nexports.CarfaxComponentNgFactory = CarfaxComponentNgFactory;\n","\r\n\r\n\r\n\r\n\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./quick-links.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@uirouter/angular/lib/directives/uiSref\"));\nvar i3 = __importStar(require(\"@uirouter/core\"));\nvar i4 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i5 = __importStar(require(\"../../icon/icon.component\"));\nvar i6 = __importStar(require(\"@angular/platform-browser\"));\nvar i7 = __importStar(require(\"@ngx-translate/core\"));\nvar i8 = __importStar(require(\"@angular/common\"));\nvar i9 = __importStar(require(\"./quick-links.component\"));\nvar i10 = __importStar(require(\"../../../services/dealer.service\"));\nvar i11 = __importStar(require(\"../../../services/menu.service\"));\nvar styles_QuickLinksComponent = [i0.styles];\nvar RenderType_QuickLinksComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_QuickLinksComponent, data: {} });\nexports.RenderType_QuickLinksComponent = RenderType_QuickLinksComponent;\nfunction View_QuickLinksComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"opportunities\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-opportunities\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"opportunities\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"opportunities\"; _ck(_v, 1, 0, currVal_0); _ck(_v, 3, 0); var currVal_1 = \"opportunities\"; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_QuickLinksComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"activities\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-activities\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"activities\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"activities\"; _ck(_v, 1, 0, currVal_0); _ck(_v, 3, 0); var currVal_1 = \"activities\"; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_QuickLinksComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"search.form\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-search\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"search\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"search.form\"; _ck(_v, 1, 0, currVal_0); _ck(_v, 3, 0); var currVal_1 = \"search\"; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_QuickLinksComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"financeInsuranceManager\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-finance-insurance-manager\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"financeInsuranceManager\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"financeInsuranceManager\"; _ck(_v, 1, 0, currVal_0); _ck(_v, 3, 0); var currVal_1 = \"financeInsuranceManager\"; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_QuickLinksComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"preOwnedManagerFindABuyer\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"], params: [1, \"params\"] }, null), i1.ɵpod(2, { isExactMatch: 0, isShowUsed: 1, hasOpp: 2, inventorySortColumnName: 3, ageVehicleGroup: 4 }), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-find-buyer\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(4, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"preOwnedManagerQuickLinkLabel\"]], null, null, null, null, null)), i1.ɵdid(6, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"preOwnedManagerFindABuyer\"; var currVal_1 = _ck(_v, 2, 0, false, true, false, \"DaysInStock\", (0 - 1)); _ck(_v, 1, 0, currVal_0, currVal_1); _ck(_v, 4, 0); var currVal_2 = \"preOwnedManagerQuickLinkLabel\"; _ck(_v, 6, 0, currVal_2); }, null); }\nfunction View_QuickLinksComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"serviceManager\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-service-drive\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"serviceManager\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"serviceManager\"; _ck(_v, 1, 0, currVal_0); _ck(_v, 3, 0); var currVal_1 = \"serviceManager\"; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_QuickLinksComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"serviceDriveOffers\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-view-offer-letter\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"serviceDriveOffers\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"serviceDriveOffers\"; _ck(_v, 1, 0, currVal_0); _ck(_v, 3, 0); var currVal_1 = \"serviceDriveOffers\"; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_QuickLinksComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"conquests\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-conquest\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"conquestsQuickLinkLabel\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"conquests\"; _ck(_v, 1, 0, currVal_0); _ck(_v, 3, 0); var currVal_1 = \"conquestsQuickLinkLabel\"; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_QuickLinksComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"wishList\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"-size-wish-list\"], [\"icon\", \"'wish-list'\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], { icon: [0, \"icon\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"inventoryWishlist\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"wishList\"; _ck(_v, 1, 0, currVal_0); var currVal_1 = \"'wish-list'\"; _ck(_v, 3, 0, currVal_1); var currVal_2 = \"inventoryWishlist\"; _ck(_v, 5, 0, currVal_2); }, null); }\nfunction View_QuickLinksComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"quick-link-row\"], [\"uiSref\", \"potentialNLO\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"-size-wish-list\"], [\"icon\", \"'ai-manager'\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], { icon: [0, \"icon\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"quick-link-description\"], [\"translate\", \"nlo_MenuLabel\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"potentialNLO\"; _ck(_v, 1, 0, currVal_0); var currVal_1 = \"'ai-manager'\"; _ck(_v, 3, 0, currVal_1); var currVal_2 = \"nlo_MenuLabel\"; _ck(_v, 5, 0, currVal_2); }, null); }\nfunction View_QuickLinksComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"h5\", [[\"class\", \"quick-links-header\"], [\"translate\", \"quickLinks\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_1)), i1.ɵdid(3, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_2)), i1.ɵdid(5, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_3)), i1.ɵdid(7, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_4)), i1.ɵdid(9, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_5)), i1.ɵdid(11, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_6)), i1.ɵdid(13, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_7)), i1.ɵdid(15, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_8)), i1.ɵdid(17, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_9)), i1.ɵdid(19, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_QuickLinksComponent_10)), i1.ɵdid(21, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"quickLinks\"; _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.modulePermissions.opportunities; _ck(_v, 3, 0, currVal_1); var currVal_2 = _co.modulePermissions.activities; _ck(_v, 5, 0, currVal_2); var currVal_3 = _co.modulePermissions.search; _ck(_v, 7, 0, currVal_3); var currVal_4 = _co.modulePermissions.financeInsuranceManager; _ck(_v, 9, 0, currVal_4); var currVal_5 = _co.modulePermissions.preOwnedManager; _ck(_v, 11, 0, currVal_5); var currVal_6 = _co.modulePermissions.serviceManager; _ck(_v, 13, 0, currVal_6); var currVal_7 = _co.isSomeDealerOneToOneEnabled; _ck(_v, 15, 0, currVal_7); var currVal_8 = _co.modulePermissions.conquests; _ck(_v, 17, 0, currVal_8); var currVal_9 = _co.modulePermissions.wishlist; _ck(_v, 19, 0, currVal_9); var currVal_10 = _co.modulePermissions.wishlist; _ck(_v, 21, 0, currVal_10); }, null); }\nexports.View_QuickLinksComponent_0 = View_QuickLinksComponent_0;\nfunction View_QuickLinksComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"quick-links\", [], null, null, null, View_QuickLinksComponent_0, RenderType_QuickLinksComponent)), i1.ɵdid(1, 245760, null, 0, i9.QuickLinksComponent, [i10.DealerService, i11.MenuService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_QuickLinksComponent_Host_0 = View_QuickLinksComponent_Host_0;\nvar QuickLinksComponentNgFactory = i1.ɵccf(\"quick-links\", i9.QuickLinksComponent, View_QuickLinksComponent_Host_0, {}, {}, []);\nexports.QuickLinksComponentNgFactory = QuickLinksComponentNgFactory;\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x) {\n // eslint-disable-next-line no-self-compare\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","var path = '/app/components/deal-sheet/discrepancy-input.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/error/unauthorized.component.html';\nvar html = \"

Sell More Cars. It's That Simple.

Never miss a sale again.

Our proprietary data-mining software enables you to anticipate customer needs and leverage critical information based on seven different alerts. Our extensive training program advises you on the sales and marketing techniques needed to open up more opportunities and close more sales.

Upgrade Alert

Retain your customers before they even enter the market. The Upgrade Alert automatically identifies when a customer is in a position to upgrade to a newer vehicle for a similar monthly payment.

Mileage Alert

With the Mileage Alert, you know in advance when client lease miles are about to exceed the contracted mileage and penalties can be avoided by upgrading to a vehicle with a comparable payment plan.

Service Alert

Some of your best prospects are current clients. The service Alert allows your sales team to receive alerts when customers are scheduled for service or pull into the service drive. Greet them when they hit your service drive to present new vehicle opportunities.

In-Market Alert

Detect shopper behaviors and discover in-market customers who are ready to buy. Forget about tracking anonymous leads and focus on digital search behavior that immediately adds value to intelligent marketing efforts and offers valuable opportunities.

Warranty Alert

Know well in advance which clients are in positions to take advantage of extended warranty offers, even if their vehicles weren't purchased at your dealership. Never miss out on this additional source of revenue with the Warranty Alert.

Contract Alert

With the Mileage Alert, you know in advance when client lease miles are about to exceed the contracted mileage and penalties can be avoided by upgrading to a vehicle with a comparable payment plan.

Flex Alert

Retain your customers before they even enter the market. The Upgrade Alert automatically identifies when a customer is in a position to upgrade to a newer vehicle for a similar monthly payment.

Ready to Start?

Call Us at 844-362-7096

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/alert-relevant-info.component.html';\nvar html = \" 0 ? 'more' : 'less'}}\\\"> \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","/*\n\tRedactor v9.2.6\n\tUpdated: Jul 19, 2014\n\n\thttp://imperavi.com/redactor/\n\n\tCopyright (c) 2009-2014, Imperavi LLC.\n\tLicense: http://imperavi.com/redactor/license/\n\n\tUsage: $('#content').redactor();\n*/\n(function($)\n{\n\tvar uuid = 0;\n\n\t\"use strict\";\n\n\tvar Range = function(range)\n\t{\n\t\tthis[0] = range.startOffset;\n\t\tthis[1] = range.endOffset;\n\n\t\tthis.range = range;\n\n\t\treturn this;\n\t};\n\n\tRange.prototype.equals = function()\n\t{\n\t\treturn this[0] === this[1];\n\t};\n\n\tvar reUrlYoutube = /https?:\\/\\/(?:[0-9A-Z-]+\\.)?(?:youtu\\.be\\/|youtube\\.com\\S*[^\\w\\-\\s])([\\w\\-]{11})(?=[^\\w\\-]|$)(?![?=&+%\\w.-]*(?:['\"][^<>]*>|<\\/a>))[?=&+%\\w.-]*/ig;\n\tvar reUrlVimeo = /https?:\\/\\/(www\\.)?vimeo.com\\/(\\d+)($|\\/)/;\n\n\t// Plugin\n\t$.fn.redactor = function(options)\n\t{\n\t\tvar val = [];\n\t\tvar args = Array.prototype.slice.call(arguments, 1);\n\n\t\tif (typeof options === 'string')\n\t\t{\n\t\t\tthis.each(function()\n\t\t\t{\n\t\t\t\tvar instance = $.data(this, 'redactor');\n\t\t\t\tif (typeof instance !== 'undefined' && $.isFunction(instance[options]))\n\t\t\t\t{\n\t\t\t\t\tvar methodVal = instance[options].apply(instance, args);\n\t\t\t\t\tif (methodVal !== undefined && methodVal !== instance) val.push(methodVal);\n\t\t\t\t}\n\t\t\t\telse return $.error('No such method \"' + options + '\" for Redactor');\n\t\t\t});\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.each(function()\n\t\t\t{\n\t\t\t\tif (!$.data(this, 'redactor')) $.data(this, 'redactor', Redactor(this, options));\n\t\t\t});\n\t\t}\n\n\t\tif (val.length === 0) return this;\n\t\telse if (val.length === 1) return val[0];\n\t\telse return val;\n\n\t};\n\n\t// Initialization\n\tfunction Redactor(el, options)\n\t{\n\t\treturn new Redactor.prototype.init(el, options);\n\t}\n\n\t$.Redactor = Redactor;\n\t$.Redactor.VERSION = '9.2.6';\n\t$.Redactor.opts = {\n\n\t\t\t// settings\n\t\t\trangy: false,\n\n\t\t\tiframe: false,\n\t\t\tfullpage: false,\n\t\t\tcss: false, // url\n\n\t\t\tlang: 'en',\n\t\t\tdirection: 'ltr', // ltr or rtl\n\n\t\t\tplaceholder: false,\n\n\t\t\ttypewriter: false,\n\t\t\twym: false,\n\t\t\tmobile: true,\n\t\t\tcleanup: true,\n\t\t\ttidyHtml: true,\n\t\t\tpastePlainText: false,\n\t\t\tremoveEmptyTags: true,\n\t\t\tcleanSpaces: true,\n\t\t\tcleanFontTag: true,\n\t\t\ttemplateVars: false,\n\t\t\txhtml: false,\n\n\t\t\tvisual: true,\n\t\t\tfocus: false,\n\t\t\ttabindex: false,\n\t\t\tautoresize: true,\n\t\t\tminHeight: false,\n\t\t\tmaxHeight: false,\n\t\t\tshortcuts: {\n\t\t\t\t'ctrl+m, meta+m': \"this.execCommand('removeFormat', false)\",\n\t\t\t\t'ctrl+b, meta+b': \"this.execCommand('bold', false)\",\n\t\t\t\t'ctrl+i, meta+i': \"this.execCommand('italic', false)\",\n\t\t\t\t'ctrl+h, meta+h': \"this.execCommand('superscript', false)\",\n\t\t\t\t'ctrl+l, meta+l': \"this.execCommand('subscript', false)\",\n\t\t\t\t'ctrl+k, meta+k': \"this.linkShow()\",\n\t\t\t\t'ctrl+shift+7': \"this.execCommand('insertorderedlist', false)\",\n\t\t\t\t'ctrl+shift+8': \"this.execCommand('insertunorderedlist', false)\"\n\t\t\t},\n\t\t\tshortcutsAdd: false,\n\n\t\t\tautosave: false, // false or url\n\t\t\tautosaveInterval: 60, // seconds\n\n\t\t\tplugins: false, // array\n\n\t\t\t//linkAnchor: true,\n\t\t\t//linkEmail: true,\n\t\t\tlinkProtocol: 'http://',\n\t\t\tlinkNofollow: false,\n\t\t\tlinkSize: 50,\n\t\t\tpredefinedLinks: false, // json url (ex. /some-url.json ) or false\n\n\t\t\timageFloatMargin: '10px',\n\t\t\timageGetJson: false, // json url (ex. /some-images.json ) or false\n\n\t\t\tdragUpload: true, // false\n\t\t\timageTabLink: true,\n\t\t\timageUpload: false, // url\n\t\t\timageUploadParam: 'file', // input name\n\t\t\timageResizable: true,\n\n\t\t\tfileUpload: false, // url\n\t\t\tfileUploadParam: 'file', // input name\n\t\t\tclipboardUpload: true, // or false\n\t\t\tclipboardUploadUrl: false, // url\n\n\t\t\tdnbImageTypes: ['image/png', 'image/jpeg', 'image/gif'], // or false\n\n\t\t\ts3: false,\n\t\t\tuploadFields: false,\n\n\t\t\tobserveImages: true,\n\t\t\tobserveLinks: true,\n\n\t\t\tmodalOverlay: true,\n\n\t\t\ttabSpaces: false, // true or number of spaces\n\t\t\ttabFocus: true,\n\n\t\t\tair: false,\n\t\t\tairButtons: ['formatting', 'bold', 'italic', 'deleted', 'unorderedlist', 'orderedlist', 'outdent', 'indent'],\n\n\t\t\ttoolbar: true,\n\t\t\ttoolbarFixed: false,\n\t\t\ttoolbarFixedTarget: document,\n\t\t\ttoolbarFixedTopOffset: 0, // pixels\n\t\t\ttoolbarFixedBox: false,\n\t\t\ttoolbarExternal: false, // ID selector\n\t\t\ttoolbarOverflow: false,\n\t\t\tbuttonSource: true,\n\n\t\t\tbuttons: ['html', 'formatting', 'bold', 'italic', 'deleted', 'unorderedlist', 'orderedlist',\n\t\t\t\t\t 'outdent', 'indent', 'image', 'video', 'file', 'table', 'link', 'alignment', '|',\n\t\t\t\t\t 'horizontalrule'], // 'underline', 'alignleft', 'aligncenter', 'alignright', 'justify'\n\t\t\tbuttonsHideOnMobile: [],\n\n\t\t\tactiveButtons: ['deleted', 'italic', 'bold', 'underline', 'unorderedlist', 'orderedlist',\n\t\t\t\t\t\t\t'alignleft', 'aligncenter', 'alignright', 'justify', 'table'],\n\t\t\tactiveButtonsStates: {\n\t\t\t\tb: 'bold',\n\t\t\t\tstrong: 'bold',\n\t\t\t\ti: 'italic',\n\t\t\t\tem: 'italic',\n\t\t\t\tdel: 'deleted',\n\t\t\t\tstrike: 'deleted',\n\t\t\t\tul: 'unorderedlist',\n\t\t\t\tol: 'orderedlist',\n\t\t\t\tu: 'underline',\n\t\t\t\ttr: 'table',\n\t\t\t\ttd: 'table',\n\t\t\t\ttable: 'table'\n\t\t\t},\n\n\t\t\tformattingTags: ['p', 'blockquote', 'pre', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'],\n\n\t\t\tlinebreaks: false,\n\t\t\tparagraphy: true,\n\t\t\tconvertDivs: true,\n\t\t\tconvertLinks: true,\n\t\t\tconvertImageLinks: false,\n\t\t\tconvertVideoLinks: false,\n\t\t\tformattingPre: false,\n\t\t\tphpTags: false,\n\n\t\t\tallowedTags: false,\n\t\t\tdeniedTags: ['html', 'head', 'link', 'body', 'meta', 'script', 'style', 'applet'],\n\n\t\t\tboldTag: 'strong',\n\t\t\titalicTag: 'em',\n\n\t\t\t// private\n\t\t\tindentValue: 20,\n\t\t\tbuffer: [],\n\t\t\trebuffer: [],\n\t\t\ttextareamode: false,\n\t\t\temptyHtml: '

',\n\t\t\tinvisibleSpace: '​',\n\t\t\trBlockTest: /^(P|H[1-6]|LI|ADDRESS|SECTION|HEADER|FOOTER|ASIDE|ARTICLE)$/i,\n\t\t\talignmentTags: ['P', 'H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'DD', 'DL', 'DT', 'DIV', 'TD',\n\t\t\t\t\t\t\t\t'BLOCKQUOTE', 'OUTPUT', 'FIGCAPTION', 'ADDRESS', 'SECTION',\n\t\t\t\t\t\t\t\t'HEADER', 'FOOTER', 'ASIDE', 'ARTICLE'],\n\t\t\townLine: ['area', 'body', 'head', 'hr', 'i?frame', 'link', 'meta', 'noscript', 'style', 'script', 'table', 'tbody', 'thead', 'tfoot'],\n\t\t\tcontOwnLine: ['li', 'dt', 'dt', 'h[1-6]', 'option', 'script'],\n\t\t\tnewLevel: ['blockquote', 'div', 'dl', 'fieldset', 'form', 'frameset', 'map', 'ol', 'p', 'pre', 'select', 'td', 'th', 'tr', 'ul'],\n\t\t\tblockLevelElements: ['P', 'H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'DD', 'DL', 'DT', 'DIV', 'LI',\n\t\t\t\t\t\t\t\t'BLOCKQUOTE', 'OUTPUT', 'FIGCAPTION', 'PRE', 'ADDRESS', 'SECTION',\n\t\t\t\t\t\t\t\t'HEADER', 'FOOTER', 'ASIDE', 'ARTICLE', 'TD'],\n\n\n\t\t\t// lang\n\t\t\tlangs: {\n\t\t\t\ten: {\n\t\t\t\t\thtml: 'HTML',\n\t\t\t\t\tvideo: 'Insert Video',\n\t\t\t\t\timage: 'Insert Image',\n\t\t\t\t\ttable: 'Table',\n\t\t\t\t\tlink: 'Link',\n\t\t\t\t\tlink_insert: 'Insert link',\n\t\t\t\t\tlink_edit: 'Edit link',\n\t\t\t\t\tunlink: 'Unlink',\n\t\t\t\t\tformatting: 'Formatting',\n\t\t\t\t\tparagraph: 'Normal text',\n\t\t\t\t\tquote: 'Quote',\n\t\t\t\t\tcode: 'Code',\n\t\t\t\t\theader1: 'Header 1',\n\t\t\t\t\theader2: 'Header 2',\n\t\t\t\t\theader3: 'Header 3',\n\t\t\t\t\theader4: 'Header 4',\n\t\t\t\t\theader5: 'Header 5',\n\t\t\t\t\tbold: 'Bold',\n\t\t\t\t\titalic: 'Italic',\n\t\t\t\t\tfontcolor: 'Font Color',\n\t\t\t\t\tbackcolor: 'Back Color',\n\t\t\t\t\tunorderedlist: 'Unordered List',\n\t\t\t\t\torderedlist: 'Ordered List',\n\t\t\t\t\toutdent: 'Outdent',\n\t\t\t\t\tindent: 'Indent',\n\t\t\t\t\tcancel: 'Cancel',\n\t\t\t\t\tinsert: 'Insert',\n\t\t\t\t\tsave: 'Save',\n\t\t\t\t\t_delete: 'Delete',\n\t\t\t\t\tinsert_table: 'Insert Table',\n\t\t\t\t\tinsert_row_above: 'Add Row Above',\n\t\t\t\t\tinsert_row_below: 'Add Row Below',\n\t\t\t\t\tinsert_column_left: 'Add Column Left',\n\t\t\t\t\tinsert_column_right: 'Add Column Right',\n\t\t\t\t\tdelete_column: 'Delete Column',\n\t\t\t\t\tdelete_row: 'Delete Row',\n\t\t\t\t\tdelete_table: 'Delete Table',\n\t\t\t\t\trows: 'Rows',\n\t\t\t\t\tcolumns: 'Columns',\n\t\t\t\t\tadd_head: 'Add Head',\n\t\t\t\t\tdelete_head: 'Delete Head',\n\t\t\t\t\ttitle: 'Title',\n\t\t\t\t\timage_position: 'Position',\n\t\t\t\t\tnone: 'None',\n\t\t\t\t\tleft: 'Left',\n\t\t\t\t\tright: 'Right',\n\t\t\t\t\tcenter: 'Center',\n\t\t\t\t\timage_web_link: 'Image Web Link',\n\t\t\t\t\ttext: 'Text',\n\t\t\t\t\tmailto: 'Email',\n\t\t\t\t\tweb: 'URL',\n\t\t\t\t\tvideo_html_code: 'Video Embed Code',\n\t\t\t\t\tfile: 'Insert File',\n\t\t\t\t\tupload: 'Upload',\n\t\t\t\t\tdownload: 'Download',\n\t\t\t\t\tchoose: 'Choose',\n\t\t\t\t\tor_choose: 'Or choose',\n\t\t\t\t\tdrop_file_here: 'Drop file here',\n\t\t\t\t\talign_left: 'Align text to the left',\n\t\t\t\t\talign_center: 'Center text',\n\t\t\t\t\talign_right: 'Align text to the right',\n\t\t\t\t\talign_justify: 'Justify text',\n\t\t\t\t\thorizontalrule: 'Insert Horizontal Rule',\n\t\t\t\t\tdeleted: 'Deleted',\n\t\t\t\t\tanchor: 'Anchor',\n\t\t\t\t\tlink_new_tab: 'Open link in new tab',\n\t\t\t\t\tunderline: 'Underline',\n\t\t\t\t\talignment: 'Alignment',\n\t\t\t\t\tfilename: 'Name (optional)',\n\t\t\t\t\tedit: 'Edit'\n\t\t\t\t}\n\t\t\t}\n\t};\n\n\t// Functionality\n\tRedactor.fn = $.Redactor.prototype = {\n\n\t\tkeyCode: {\n\t\t\tBACKSPACE: 8,\n\t\t\tDELETE: 46,\n\t\t\tDOWN: 40,\n\t\t\tENTER: 13,\n\t\t\tESC: 27,\n\t\t\tTAB: 9,\n\t\t\tCTRL: 17,\n\t\t\tMETA: 91,\n\t\t\tLEFT: 37,\n\t\t\tLEFT_WIN: 91\n\t\t},\n\n\t\t// Initialization\n\t\tinit: function(el, options)\n\t\t{\n\t\t\tthis.rtePaste = false;\n\t\t\tthis.$element = this.$source = $(el);\n\t\t\tthis.uuid = uuid++;\n\n\t\t\t// clonning options\n\t\t\tvar opts = $.extend(true, {}, $.Redactor.opts);\n\n\t\t\t// current settings\n\t\t\tthis.opts = $.extend(\n\t\t\t\t{},\n\t\t\t\topts,\n\t\t\t\tthis.$element.data(),\n\t\t\t\toptions\n\t\t\t);\n\n\t\t\tthis.start = true;\n\t\t\tthis.dropdowns = [];\n\n\t\t\t// get sizes\n\t\t\tthis.sourceHeight = this.$source.css('height');\n\t\t\tthis.sourceWidth = this.$source.css('width');\n\n\t\t\t// dependency of the editor modes\n\t\t\tif (this.opts.fullpage) this.opts.iframe = true;\n\t\t\tif (this.opts.linebreaks) this.opts.paragraphy = false;\n\t\t\tif (this.opts.paragraphy) this.opts.linebreaks = false;\n\t\t\tif (this.opts.toolbarFixedBox) this.opts.toolbarFixed = true;\n\n\t\t\t// the alias for iframe mode\n\t\t\tthis.document = document;\n\t\t\tthis.window = window;\n\n\t\t\t// selection saved\n\t\t\tthis.savedSel = false;\n\n\t\t\t// clean setup\n\t\t\tthis.cleanlineBefore = new RegExp('^<(/?' + this.opts.ownLine.join('|/?' ) + '|' + this.opts.contOwnLine.join('|') + ')[ >]');\n\t\t\tthis.cleanlineAfter = new RegExp('^<(br|/?' + this.opts.ownLine.join('|/?' ) + '|/' + this.opts.contOwnLine.join('|/') + ')[ >]');\n\t\t\tthis.cleannewLevel = new RegExp('^]');\n\n\t\t\t// block level\n\t\t\tthis.rTestBlock = new RegExp('^(' + this.opts.blockLevelElements.join('|' ) + ')$', 'i');\n\n\t\t\t// setup formatting permissions\n\t\t\tif (this.opts.linebreaks === false)\n\t\t\t{\n\t\t\t\tif (this.opts.allowedTags !== false)\n\t\t\t\t{\n\t\t\t\t\tvar arrSearch = ['strong', 'em', 'del'];\n\t\t\t\t\tvar arrAdd = ['b', 'i', 'strike'];\n\n\t\t\t\t\tif ($.inArray('p', this.opts.allowedTags) === '-1') this.opts.allowedTags.push('p');\n\n\t\t\t\t\tfor (i in arrSearch)\n\t\t\t\t\t{\n\t\t\t\t\t\tif ($.inArray(arrSearch[i], this.opts.allowedTags) != '-1') this.opts.allowedTags.push(arrAdd[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (this.opts.deniedTags !== false)\n\t\t\t\t{\n\t\t\t\t\tvar pos = $.inArray('p', this.opts.deniedTags);\n\t\t\t\t\tif (pos !== '-1') this.opts.deniedTags.splice(pos, pos);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// ie & opera\n\t\t\tif (this.browser('msie') || this.browser('opera'))\n\t\t\t{\n\t\t\t\tthis.opts.buttons = this.removeFromArrayByValue(this.opts.buttons, 'horizontalrule');\n\t\t\t}\n\n\t\t\t// load lang\n\t\t\tthis.opts.curLang = this.opts.langs[this.opts.lang];\n\n\t\t\t// extend shortcuts\n\t\t\t$.extend(this.opts.shortcuts, this.opts.shortcutsAdd);\n\n\t\t\t// init placeholder\n\t\t\tthis.placeholderInit();\n\n\t\t\t// Build\n\t\t\tthis.buildStart();\n\n\t\t},\n\t\ttoolbarInit: function(lang)\n\t\t{\n\t\t\treturn {\n\t\t\t\thtml:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.html,\n\t\t\t\t\tfunc: 'toggle'\n\t\t\t\t},\n\t\t\t\tformatting:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.formatting,\n\t\t\t\t\tfunc: 'show',\n\t\t\t\t\tdropdown:\n\t\t\t\t\t{\n\t\t\t\t\t\tp:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.paragraph,\n\t\t\t\t\t\t\tfunc: 'formatBlocks'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tblockquote:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.quote,\n\t\t\t\t\t\t\tfunc: 'formatQuote',\n\t\t\t\t\t\t\tclassName: 'redactor_format_blockquote'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tpre:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.code,\n\t\t\t\t\t\t\tfunc: 'formatBlocks',\n\t\t\t\t\t\t\tclassName: 'redactor_format_pre'\n\t\t\t\t\t\t},\n\t\t\t\t\t\th1:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.header1,\n\t\t\t\t\t\t\tfunc: 'formatBlocks',\n\t\t\t\t\t\t\tclassName: 'redactor_format_h1'\n\t\t\t\t\t\t},\n\t\t\t\t\t\th2:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.header2,\n\t\t\t\t\t\t\tfunc: 'formatBlocks',\n\t\t\t\t\t\t\tclassName: 'redactor_format_h2'\n\t\t\t\t\t\t},\n\t\t\t\t\t\th3:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.header3,\n\t\t\t\t\t\t\tfunc: 'formatBlocks',\n\t\t\t\t\t\t\tclassName: 'redactor_format_h3'\n\t\t\t\t\t\t},\n\t\t\t\t\t\th4:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.header4,\n\t\t\t\t\t\t\tfunc: 'formatBlocks',\n\t\t\t\t\t\t\tclassName: 'redactor_format_h4'\n\t\t\t\t\t\t},\n\t\t\t\t\t\th5:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.header5,\n\t\t\t\t\t\t\tfunc: 'formatBlocks',\n\t\t\t\t\t\t\tclassName: 'redactor_format_h5'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tbold:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.bold,\n\t\t\t\t\texec: 'bold'\n\t\t\t\t},\n\t\t\t\titalic:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.italic,\n\t\t\t\t\texec: 'italic'\n\t\t\t\t},\n\t\t\t\tdeleted:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.deleted,\n\t\t\t\t\texec: 'strikethrough'\n\t\t\t\t},\n\t\t\t\tunderline:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.underline,\n\t\t\t\t\texec: 'underline'\n\t\t\t\t},\n\t\t\t\tunorderedlist:\n\t\t\t\t{\n\t\t\t\t\ttitle: '• ' + lang.unorderedlist,\n\t\t\t\t\texec: 'insertunorderedlist'\n\t\t\t\t},\n\t\t\t\torderedlist:\n\t\t\t\t{\n\t\t\t\t\ttitle: '1. ' + lang.orderedlist,\n\t\t\t\t\texec: 'insertorderedlist'\n\t\t\t\t},\n\t\t\t\toutdent:\n\t\t\t\t{\n\t\t\t\t\ttitle: '< ' + lang.outdent,\n\t\t\t\t\tfunc: 'indentingOutdent'\n\t\t\t\t},\n\t\t\t\tindent:\n\t\t\t\t{\n\t\t\t\t\ttitle: '> ' + lang.indent,\n\t\t\t\t\tfunc: 'indentingIndent'\n\t\t\t\t},\n\t\t\t\timage:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.image,\n\t\t\t\t\tfunc: 'imageShow'\n\t\t\t\t},\n\t\t\t\tvideo:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.video,\n\t\t\t\t\tfunc: 'videoShow'\n\t\t\t\t},\n\t\t\t\tfile:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.file,\n\t\t\t\t\tfunc: 'fileShow'\n\t\t\t\t},\n\t\t\t\ttable:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.table,\n\t\t\t\t\tfunc: 'show',\n\t\t\t\t\tdropdown:\n\t\t\t\t\t{\n\t\t\t\t\t\tinsert_table:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.insert_table,\n\t\t\t\t\t\t\tfunc: 'tableShow'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tseparator_drop1:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'separator'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tinsert_row_above:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.insert_row_above,\n\t\t\t\t\t\t\tfunc: 'tableAddRowAbove'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tinsert_row_below:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.insert_row_below,\n\t\t\t\t\t\t\tfunc: 'tableAddRowBelow'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tinsert_column_left:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.insert_column_left,\n\t\t\t\t\t\t\tfunc: 'tableAddColumnLeft'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tinsert_column_right:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.insert_column_right,\n\t\t\t\t\t\t\tfunc: 'tableAddColumnRight'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tseparator_drop2:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'separator'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tadd_head:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.add_head,\n\t\t\t\t\t\t\tfunc: 'tableAddHead'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdelete_head:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.delete_head,\n\t\t\t\t\t\t\tfunc: 'tableDeleteHead'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tseparator_drop3:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: 'separator'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdelete_column:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.delete_column,\n\t\t\t\t\t\t\tfunc: 'tableDeleteColumn'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdelete_row:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.delete_row,\n\t\t\t\t\t\t\tfunc: 'tableDeleteRow'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdelete_table:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.delete_table,\n\t\t\t\t\t\t\tfunc: 'tableDeleteTable'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tlink: {\n\t\t\t\t\ttitle: lang.link,\n\t\t\t\t\tfunc: 'show',\n\t\t\t\t\tdropdown:\n\t\t\t\t\t{\n\t\t\t\t\t\tlink:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.link_insert,\n\t\t\t\t\t\t\tfunc: 'linkShow'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tunlink:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.unlink,\n\t\t\t\t\t\t\texec: 'unlink'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\talignment:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.alignment,\n\t\t\t\t\tfunc: 'show',\n\t\t\t\t\tdropdown:\n\t\t\t\t\t{\n\t\t\t\t\t\talignleft:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.align_left,\n\t\t\t\t\t\t\tfunc: 'alignmentLeft'\n\t\t\t\t\t\t},\n\t\t\t\t\t\taligncenter:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.align_center,\n\t\t\t\t\t\t\tfunc: 'alignmentCenter'\n\t\t\t\t\t\t},\n\t\t\t\t\t\talignright:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.align_right,\n\t\t\t\t\t\t\tfunc: 'alignmentRight'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tjustify:\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: lang.align_justify,\n\t\t\t\t\t\t\tfunc: 'alignmentJustify'\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\talignleft:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.align_left,\n\t\t\t\t\tfunc: 'alignmentLeft'\n\t\t\t\t},\n\t\t\t\taligncenter:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.align_center,\n\t\t\t\t\tfunc: 'alignmentCenter'\n\t\t\t\t},\n\t\t\t\talignright:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.align_right,\n\t\t\t\t\tfunc: 'alignmentRight'\n\t\t\t\t},\n\t\t\t\talignjustify:\n\t\t\t\t{\n\t\t\t\t\ttitle: lang.align_justify,\n\t\t\t\t\tfunc: 'alignmentJustify'\n\t\t\t\t},\n\t\t\t\thorizontalrule:\n\t\t\t\t{\n\t\t\t\t\texec: 'inserthorizontalrule',\n\t\t\t\t\ttitle: lang.horizontalrule\n\t\t\t\t}\n\n\t\t\t}\n\t\t},\n\n\t\t// CALLBACKS\n\t\tcallback: function(type, event, data)\n\t\t{\n\t\t\tvar callback = this.opts[ type + 'Callback' ];\n\t\t\tif ($.isFunction(callback))\n\t\t\t{\n\t\t\t\tif (event === false) return callback.call(this, data);\n\t\t\t\telse return callback.call(this, event, data);\n\t\t\t}\n\t\t\telse return data;\n\t\t},\n\n\n\t\t// DESTROY\n\t\tdestroy: function()\n\t\t{\n\t\t\tclearInterval(this.autosaveInterval);\n\n\t\t\t$(window).off('.redactor');\n\t\t\tthis.$source.off('redactor-textarea');\n\t\t\tthis.$element.off('.redactor').removeData('redactor');\n\n\t\t\tvar html = this.get();\n\n\t\t\tif (this.opts.textareamode)\n\t\t\t{\n\t\t\t\tthis.$box.after(this.$source);\n\t\t\t\tthis.$box.remove();\n\t\t\t\tthis.$source.val(html).show();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tvar $elem = this.$editor;\n\t\t\t\tif (this.opts.iframe) $elem = this.$element;\n\n\t\t\t\tthis.$box.after($elem);\n\t\t\t\tthis.$box.remove();\n\n\t\t\t\t$elem.removeClass('redactor_editor').removeClass('redactor_editor_wym').removeAttr('contenteditable').html(html).show();\n\t\t\t}\n\n\t\t\tif (this.opts.toolbarExternal)\n\t\t\t{\n\t\t\t\t$(this.opts.toolbarExternal).html('');\n\t\t\t}\n\n\t\t\tif (this.opts.air)\n\t\t\t{\n\t\t\t\t$('#redactor_air_' + this.uuid).remove();\n\t\t\t}\n\t\t},\n\n\t\t// API GET\n\t\tgetObject: function()\n\t\t{\n\t\t\treturn $.extend({}, this);\n\t\t},\n\t\tgetEditor: function()\n\t\t{\n\t\t\treturn this.$editor;\n\t\t},\n\t\tgetBox: function()\n\t\t{\n\t\t\treturn this.$box;\n\t\t},\n\t\tgetIframe: function()\n\t\t{\n\t\t\treturn (this.opts.iframe) ? this.$frame : false;\n\t\t},\n\t\tgetToolbar: function()\n\t\t{\n\t\t\treturn (this.$toolbar) ? this.$toolbar : false;\n\t\t},\n\n\t\t// CODE GET & SET\n\t\tget: function()\n\t\t{\n\t\t\treturn this.$source.val();\n\t\t},\n\t\tgetCodeIframe: function()\n\t\t{\n\t\t\tthis.$editor.removeAttr('contenteditable').removeAttr('dir');\n\t\t\tvar html = this.outerHtml(this.$frame.contents().children());\n\t\t\tthis.$editor.attr({ 'contenteditable': true, 'dir': this.opts.direction });\n\n\t\t\treturn html;\n\t\t},\n\t\tset: function(html, strip, placeholderRemove)\n\t\t{\n\t\t\thtml = html.toString();\n\t\t\thtml = html.replace(/\\$/g, '$');\n\n\t\t\tif (this.opts.fullpage) this.setCodeIframe(html);\n\t\t\telse this.setEditor(html, strip);\n\n\t\t\tif (html == '') placeholderRemove = false;\n\t\t\tif (placeholderRemove !== false) this.placeholderRemoveFromEditor();\n\t\t},\n\t\tsetEditor: function(html, strip)\n\t\t{\n\n\t\t\tif (strip !== false)\n\t\t\t{\n\t\t\t\thtml = this.cleanSavePreCode(html);\n\n\t\t\t\thtml = this.cleanStripTags(html);\n\t\t\t\thtml = this.cleanConvertProtected(html);\n\t\t\t\thtml = this.cleanConvertInlineTags(html, true);\n\n\t\t\t\tif (this.opts.linebreaks === false)\thtml = this.cleanConverters(html);\n\t\t\t\telse html = html.replace(/([\\w\\W]*?)<\\/p>/gi, '$2
');\n\t\t\t}\n\n\t\t\t// $ fix\n\t\t\thtml = html.replace(/&#36;/g, '$');\n\n\t\t\thtml = this.cleanEmpty(html);\n\n\t\t\tthis.$editor.html(html);\n\n\t\t\t// set no editable\n\t\t\tthis.setNonEditable();\n\t\t\tthis.setSpansVerified();\n\n\t\t\tthis.sync();\n\t\t},\n\t\tsetCodeIframe: function(html)\n\t\t{\n\t\t\tvar doc = this.iframePage();\n\t\t\tthis.$frame[0].src = \"about:blank\";\n\n\t\t\thtml = this.cleanConvertProtected(html);\n\t\t\thtml = this.cleanConvertInlineTags(html);\n\t\t\thtml = this.cleanRemoveSpaces(html);\n\n\t\t\tdoc.open();\n\t\t\tdoc.write(html);\n\t\t\tdoc.close();\n\n\t\t\t// redefine editor for fullpage mode\n\t\t\tif (this.opts.fullpage)\n\t\t\t{\n\t\t\t\tthis.$editor = this.$frame.contents().find('body').attr({ 'contenteditable': true, 'dir': this.opts.direction });\n\t\t\t}\n\n\t\t\t// set no editable\n\t\t\tthis.setNonEditable();\n\t\t\tthis.setSpansVerified();\n\t\t\tthis.sync();\n\n\t\t},\n\t\tsetFullpageOnInit: function(html)\n\t\t{\n\t\t\tthis.fullpageDoctype = html.match(/^<\\!doctype[^>]*>/i);\n\t\t\tif (this.fullpageDoctype && this.fullpageDoctype.length == 1)\n\t\t\t{\n\t\t\t\thtml = html.replace(/^<\\!doctype[^>]*>/i, '');\n\t\t\t}\n\n\t\t\thtml = this.cleanSavePreCode(html, true);\n\t\t\thtml = this.cleanConverters(html);\n\t\t\thtml = this.cleanEmpty(html);\n\n\t\t\t// set code\n\t\t\tthis.$editor.html(html);\n\n\t\t\t// set no editable\n\t\t\tthis.setNonEditable();\n\t\t\tthis.setSpansVerified();\n\t\t\tthis.sync();\n\t\t},\n\t\tsetFullpageDoctype: function()\n\t\t{\n\t\t\tif (this.fullpageDoctype && this.fullpageDoctype.length == 1)\n\t\t\t{\n\t\t\t\tvar source = this.fullpageDoctype[0] + '\\n' + this.$source.val();\n\t\t\t\tthis.$source.val(source);\n\t\t\t}\n\t\t},\n\t\tsetSpansVerified: function()\n\t\t{\n\t\t\tvar spans = this.$editor.find('span');\n\t\t\tvar replacementTag = 'inline';\n\n\t\t\t$.each(spans, function() {\n\t\t\t\tvar outer = this.outerHTML;\n\n\t\t\t\t// Replace opening tag\n\t\t\t\tvar regex = new RegExp('<' + this.tagName, 'gi');\n\t\t\t\tvar newTag = outer.replace(regex, '<' + replacementTag);\n\n\t\t\t\t// Replace closing tag\n\t\t\t\tregex = new RegExp('/, '');\n\t\t\treturn html.replace(/<\\/span>/, '');\n\t\t},\n\t\tsetNonEditable: function()\n\t\t{\n\t\t\tthis.$editor.find('.noneditable').attr('contenteditable', false);\n\t\t},\n\n\t\t// SYNC\n\t\tsync: function(e)\n\t\t{\n\t\t\tvar html = '';\n\n\t\t\tthis.cleanUnverified();\n\n\t\t\tif (this.opts.fullpage) html = this.getCodeIframe();\n\t\t\telse html = this.$editor.html();\n\t\t\t\n\t\t\thtml = html.replace(/


<\\/p>/gi, '
');\n\n\t\t\thtml = this.syncClean(html);\n\t\t\thtml = this.cleanRemoveEmptyTags(html);\n\n\t\t\t// is there a need to synchronize\n\t\t\tvar source = this.cleanRemoveSpaces(this.$source.val(), false);\n\t\t\tvar editor = this.cleanRemoveSpaces(html, false);\n\n\t\t\tif (source == editor)\n\t\t\t{\n\t\t\t\t// do not sync\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t// fix second level up ul, ol\n\t\t\thtml = html.replace(/<\\/li><(ul|ol)>([\\w\\W]*?)<\\/(ul|ol)>/gi, '<$1>$2');\n\n\t\t\tif ($.trim(html) === '
') html = '';\n\n\t\t\t// xhtml\n\t\t\tif (this.opts.xhtml)\n\t\t\t{\n\t\t\t\tvar xhtmlTags = ['br', 'hr', 'img', 'link', 'input', 'meta'];\n\t\t\t\t$.each(xhtmlTags, function(i,s)\n\t\t\t\t{\n\t\t\t\t\thtml = html.replace(new RegExp('<' + s + '(.*?[^\\/$]?)>', 'gi'), '<' + s + '$1 />');\n\t\t\t\t});\n\n\t\t\t}\n\n\t\t\t// before callback\n\t\t\thtml = this.callback('syncBefore', false, html);\n\n\t\t\tthis.$source.val(html);\n\t\t\tthis.setFullpageDoctype();\n\n\t\t\t// onchange & after callback\n\t\t\tthis.callback('syncAfter', false, html);\n\n\t\t\tif (this.start === false)\n\t\t\t{\n\n\t\t\t\tif (typeof e != 'undefined')\n\t\t\t\t{\n\t\t\t\t\tswitch(e.which)\n\t\t\t\t\t{\n\t\t\t\t case 37: // left\n\t\t\t\t break;\n\t\t\t\t case 38: // up\n\t\t\t\t break;\n\t\t\t\t case 39: // right\n\t\t\t\t break;\n\t\t\t\t case 40: // down\n\t\t\t\t break;\n\n\t\t\t\t\t\tdefault: this.callback('change', false, html);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tthis.callback('change', false, html);\n\t\t\t\t}\n\t\t\t}\n\n\t\t},\n\t\tsyncClean: function(html)\n\t\t{\n\t\t\tif (!this.opts.fullpage) html = this.cleanStripTags(html);\n\n\t\t\t// trim\n\t\t\thtml = $.trim(html);\n\n\t\t\t// removeplaceholder\n\t\t\thtml = this.placeholderRemoveFromCode(html);\n\n\t\t\t// remove space\n\t\t\thtml = html.replace(/​/gi, '');\n\t\t\thtml = html.replace(/​/gi, '');\n\t\t\thtml = html.replace(/<\\/a> /gi, '<\\/a> ');\n\t\t\thtml = html.replace(/\\u200B/g, '');\n\n\t\t\tif (html == '

' || html == '

' || html == '

 

')\n\t\t\t{\n\t\t\t\thtml = '';\n\t\t\t}\n\n\t\t\t// link nofollow\n\t\t\tif (this.opts.linkNofollow)\n\t\t\t{\n\t\t\t\thtml = html.replace(//gi, '');\n\t\t\t\thtml = html.replace(//gi, '');\n\t\t\t}\n\n\t\t\t// php code fix\n\t\t\thtml = html.replace('', '?>');\n\n\t\t\t// revert no editable\n\t\t\thtml = html.replace(/<(.*?)class=\"noeditable\"(.*?) contenteditable=\"false\"(.*?)>/gi, '<$1class=\"noeditable\"$2$3>');\n\n\t\t\thtml = html.replace(/ data-tagblock=\"\"/gi, '');\n\t\t\thtml = html.replace(/\\n?<\\/(P|H[1-6]|LI|ADDRESS|SECTION|HEADER|FOOTER|ASIDE|ARTICLE)>/gi, '');\n\n\t\t\t// remove image resize\n\t\t\thtml = html.replace(/([\\w\\W]*?)<\\/span>/gi, '$3');\n\t\t\thtml = html.replace(/(.*?)<\\/span>/gi, '');\n\t\t\thtml = html.replace(/(.*?)<\\/span>/gi, '');\n\n\t\t\t// remove empty lists\n\t\t\thtml = html.replace(/<(ul|ol)>\\s*\\t*\\n*<\\/(ul|ol)>/gi, '');\n\n\t\t\t// remove font\n\t\t\tif (this.opts.cleanFontTag)\n\t\t\t{\n\t\t\t\thtml = html.replace(/([\\w\\W]*?)<\\/font>/gi, '$2');\n\t\t\t}\n\n\t\t\t// remove spans\n\t\t //html = html.replace(/([\\w\\W]*?)<\\/span>/gi, '$2'); // WEBUI-3360 This breaks when there are nested span. Replacing it with removeTags()\n\t\t\thtml = this.removeTags(html, 'span');\n\n\t\t //html = html.replace(/([\\w\\W]*?)<\\/inline>/gi, '$1'); // WEBUI-3360 This breaks when there are nested inline. Replacing it with removeTagsWithoutAttr()\n\t\t\thtml = this.removeTagsWithoutAttr(html, 'inline');\n\n\t\t\thtml = html.replace(//gi, '');\n\t\t\thtml = html.replace(//gi, '');\n\n\t\t\tif (this.opts.removeEmptyTags)\n\t\t\t{\n\t\t\t //html = html.replace(/([\\w\\W]*?)<\\/span>/gi, '$1');\n\t\t\t html = this.removeTagsWithoutAttr(html, 'span');\n\t\t\t}\n\n\t\t\thtml = html.replace(/([\\w\\W]*?)<\\/span>/gi, '');\n\t\t\thtml = html.replace(//gi, '');\n\n\t\t\t// special characters\n\t\t\thtml = html.replace(/&/gi, '&');\n\t\t\thtml = html.replace(/\\u2122/gi, '™');\n\t\t\thtml = html.replace(/\\u00a9/gi, '©');\n\t\t\thtml = html.replace(/\\u2026/gi, '…');\n\t\t\thtml = html.replace(/\\u2014/gi, '—');\n\t\t\thtml = html.replace(/\\u2010/gi, '‐');\n\n\t\t\thtml = this.cleanReConvertProtected(html);\n\n\t\t\treturn html;\n\t\t},\n\n\t\tremoveTags: function (html, tagName) {\n\t\t if (!tagName || tagName == '')\n\t\t return html;\n\n\t\t var $div = $('
').append(html);\n\t\t $div.find(tagName).each(function () {\n\t\t $(this).contents().unwrap();\n\t\t });\n\n\t\t return $div.html();\n\t\t},\n\n\t\tremoveTagsWithoutAttr: function (html, tagName) {\n\t\t if (!tagName || tagName == '')\n\t\t return html;\n\n\t\t var $div = $('
').append(html);\n\t\t $div.find(tagName).each(function () {\n\t\t if (this.attributes.length === 0) {\n\t\t $(this).contents().unwrap();\n\t\t }\n\t\t });\n\n\t\t return $div.html();\n\t\t},\n\n\t\t// BUILD\n\t\tbuildStart: function()\n\t\t{\n\t\t\t// content\n\t\t\tthis.content = '';\n\n\t\t\t// container\n\t\t\tthis.$box = $('
');\n\n\t\t\t// textarea test\n\t\t\tif (this.$source[0].tagName === 'TEXTAREA') this.opts.textareamode = true;\n\n\t\t\t// mobile\n\t\t\tif (this.opts.mobile === false && this.isMobile())\n\t\t\t{\n\t\t\t\tthis.buildMobile();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t// get the content at the start\n\t\t\t\tthis.buildContent();\n\n\t\t\t\tif (this.opts.iframe)\n\t\t\t\t{\n\t\t\t\t\t// build as iframe\n\t\t\t\t\tthis.opts.autoresize = false;\n\t\t\t\t\tthis.iframeStart();\n\t\t\t\t}\n\t\t\t\telse if (this.opts.textareamode) this.buildFromTextarea();\n\t\t\t\telse this.buildFromElement();\n\n\t\t\t\t// options and final setup\n\t\t\t\tif (!this.opts.iframe)\n\t\t\t\t{\n\t\t\t\t\tthis.buildOptions();\n\t\t\t\t\tthis.buildAfter();\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tbuildMobile: function()\n\t\t{\n\t\t\tif (!this.opts.textareamode)\n\t\t\t{\n\t\t\t\tthis.$editor = this.$source;\n\t\t\t\tthis.$editor.hide();\n\t\t\t\tthis.$source = this.buildCodearea(this.$editor);\n\t\t\t\tthis.$source.val(this.content);\n\t\t\t}\n\n\t\t\tthis.$box.insertAfter(this.$source).append(this.$source);\n\t\t},\n\t\tbuildContent: function()\n\t\t{\n\t\t\tif (this.opts.textareamode) this.content = $.trim(this.$source.val());\n\t\t\telse this.content = $.trim(this.$source.html());\n\t\t},\n\t\tbuildFromTextarea: function()\n\t\t{\n\t\t\tthis.$editor = $('
');\n\t\t\tthis.$box.insertAfter(this.$source).append(this.$editor).append(this.$source);\n\n\t\t\t// enable\n\t\t\tthis.buildAddClasses(this.$editor);\n\t\t\tthis.buildEnable();\n\t\t},\n\t\tbuildFromElement: function()\n\t\t{\n\t\t\tthis.$editor = this.$source;\n\t\t\tthis.$source = this.buildCodearea(this.$editor);\n\t\t\tthis.$box.insertAfter(this.$editor).append(this.$editor).append(this.$source);\n\n\t\t\t// enable\n\t\t\tthis.buildEnable();\n\t\t},\n\t\tbuildCodearea: function($source)\n\t\t{\n\t\t\treturn $(''\n\t\t\t\t\t+ ''\n\t\t\t\t+ ''\n\t\t\t\t+ '
'\n\t\t\t\t\t+ ''\n\t\t\t\t\t+ ''\n\t\t\t\t+ '
'\n\n\t\t\t});\n\t\t},\n\t\tmodalInit: function(title, content, width, callback)\n\t\t{\n\t\t\tthis.modalSetOverlay();\n\n\t\t\tthis.$redactorModalWidth = width;\n\t\t\tthis.$redactorModal = $('#redactor_modal');\n\n\t\t\tif (!this.$redactorModal.length)\n\t\t\t{\n\t\t\t\tthis.$redactorModal = $('
');\n\t\t\t\tthis.$redactorModal.append($('
×
'));\n\t\t\t\tthis.$redactorModal.append($('
'));\n\t\t\t\tthis.$redactorModal.append($('
'));\n\t\t\t\tthis.$redactorModal.appendTo(document.body);\n\t\t\t}\n\n\t\t\t$('#redactor_modal_close').on('click', $.proxy(this.modalClose, this));\n\t\t\t$(document).on('keyup', $.proxy(this.modalCloseHandler, this));\n\t\t\tthis.$editor.on('keyup', $.proxy(this.modalCloseHandler, this));\n\n\t\t\tthis.modalSetContent(content);\n\t\t\tthis.modalSetTitle(title);\n\t\t\tthis.modalSetDraggable();\n\t\t\tthis.modalLoadTabs();\n\t\t\tthis.modalOnCloseButton();\n\t\t\tthis.modalSetButtonsWidth();\n\n\t\t\tthis.saveModalScroll = this.document.body.scrollTop;\n\t\t\tif (this.opts.autoresize === false)\n\t\t\t{\n\t\t\t\tthis.saveModalScroll = this.$editor.scrollTop();\n\t\t\t}\n\n\t\t\tif (this.isMobile() === false) this.modalShowOnDesktop();\n\t\t\telse this.modalShowOnMobile();\n\n\t\t\t// modal actions callback\n\t\t\tif (typeof callback === 'function')\n\t\t\t{\n\t\t\t\tcallback();\n\t\t\t}\n\n\t\t\t// modal shown callback\n\t\t\tsetTimeout($.proxy(function()\n\t\t\t{\n\t\t\t\tthis.callback('modalOpened', this.$redactorModal);\n\n\t\t\t}, this), 11);\n\n\t\t\t// fix bootstrap modal focus\n\t\t\t$(document).off('focusin.modal');\n\n\t\t\t// enter\n\t\t\tthis.$redactorModal.find('input[type=text]').on('keypress', $.proxy(function(e)\n\t\t\t{\n\t\t\t\tif (e.which === 13)\n\t\t\t\t{\n\t\t\t\t\tthis.$redactorModal.find('.redactor_modal_action_btn').click();\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}, this));\n\n\t\t\treturn this.$redactorModal;\n\n\t\t},\n\t\tmodalShowOnDesktop: function()\n\t\t{\n\t\t\tthis.$redactorModal.css({\n\t\t\t\tposition: 'fixed',\n\t\t\t\ttop: '-2000px',\n\t\t\t\tleft: '50%',\n\t\t\t\twidth: this.$redactorModalWidth + 'px',\n\t\t\t\tmarginLeft: '-' + (this.$redactorModalWidth / 2) + 'px'\n\t\t\t}).show();\n\n\t\t\tthis.modalSaveBodyOveflow = $(document.body).css('overflow');\n\t\t\t$(document.body).css('overflow', 'hidden');\n\n\t\t\tsetTimeout($.proxy(function()\n\t\t\t{\n\t\t\t\tvar height = this.$redactorModal.outerHeight();\n\t\t\t\tthis.$redactorModal.css({\n\t\t\t\t\ttop: '50%',\n\t\t\t\t\theight: 'auto',\n\t\t\t\t\tminHeight: 'auto',\n\t\t\t\t\tmarginTop: '-' + (height + 10) / 2 + 'px'\n\t\t\t\t});\n\t\t\t}, this), 15);\n\t\t},\n\t\tmodalShowOnMobile: function()\n\t\t{\n\t\t\tthis.$redactorModal.css({\n\t\t\t\tposition: 'fixed',\n\t\t\t\twidth: '100%',\n\t\t\t\theight: '100%',\n\t\t\t\ttop: '0',\n\t\t\t\tleft: '0',\n\t\t\t\tmargin: '0',\n\t\t\t\tminHeight: '300px'\n\t\t\t}).show();\n\t\t},\n\t\tmodalSetContent: function(content)\n\t\t{\n\t\t\tthis.modalcontent = false;\n\t\t\tif (content.indexOf('#') == 0)\n\t\t\t{\n\t\t\t\tthis.modalcontent = $(content);\n\t\t\t\t$('#redactor_modal_inner').empty().append(this.modalcontent.html());\n\t\t\t\tthis.modalcontent.html('');\n\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$('#redactor_modal_inner').empty().append(content);\n\t\t\t}\n\t\t},\n\t\tmodalSetTitle: function(title)\n\t\t{\n\t\t\tthis.$redactorModal.find('#redactor_modal_header').html(title);\n\t\t},\n\t\tmodalSetButtonsWidth: function()\n\t\t{\n\t\t\tvar buttons = this.$redactorModal.find('footer button').not('.redactor_modal_btn_hidden');\n\t\t\tvar buttonsSize = buttons.length;\n\t\t\tif (buttonsSize > 0)\n\t\t\t{\n\t\t\t\t$(buttons).css('width', (this.$redactorModalWidth/buttonsSize) + 'px')\n\t\t\t}\n\t\t},\n\t\tmodalOnCloseButton: function()\n\t\t{\n\t\t\tthis.$redactorModal.find('.redactor_btn_modal_close').on('click', $.proxy(this.modalClose, this));\n\t\t},\n\t\tmodalSetOverlay: function()\n\t\t{\n\t\t\tif (this.opts.modalOverlay)\n\t\t\t{\n\t\t\t\tthis.$redactorModalOverlay = $('#redactor_modal_overlay');\n\t\t\t\tif (!this.$redactorModalOverlay.length)\n\t\t\t\t{\n\t\t\t\t\tthis.$redactorModalOverlay = $('
');\n\t\t\t\t\t$('body').prepend(this.$redactorModalOverlay);\n\t\t\t\t}\n\n\t\t\t\tthis.$redactorModalOverlay.show().on('click', $.proxy(this.modalClose, this));\n\t\t\t}\n\t\t},\n\t\tmodalSetDraggable: function()\n\t\t{\n\t\t\tif (typeof $.fn.draggable !== 'undefined')\n\t\t\t{\n\t\t\t\tthis.$redactorModal.draggable({ handle: '#redactor_modal_header' });\n\t\t\t\tthis.$redactorModal.find('#redactor_modal_header').css('cursor', 'move');\n\t\t\t}\n\t\t},\n\t\tmodalLoadTabs: function()\n\t\t{\n\t\t\tvar $redactor_tabs = $('#redactor_tabs');\n\t\t\tif (!$redactor_tabs.length) return false;\n\n\t\t\tvar that = this;\n\t\t\t$redactor_tabs.find('a').each(function(i, s)\n\t\t\t{\n\t\t\t\ti++;\n\t\t\t\t$(s).on('click', function(e)\n\t\t\t\t{\n\t\t\t\t\te.preventDefault();\n\n\t\t\t\t\t$redactor_tabs.find('a').removeClass('redactor_tabs_act');\n\t\t\t\t\t$(this).addClass('redactor_tabs_act');\n\t\t\t\t\t$('.redactor_tab').hide();\n\t\t\t\t\t$('#redactor_tab' + i ).show();\n\t\t\t\t\t$('#redactor_tab_selected').val(i);\n\n\t\t\t\t\tif (that.isMobile() === false)\n\t\t\t\t\t{\n\t\t\t\t\t\tvar height = that.$redactorModal.outerHeight();\n\t\t\t\t\t\tthat.$redactorModal.css('margin-top', '-' + (height + 10) / 2 + 'px');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t},\n\t\tmodalCloseHandler: function(e)\n\t\t{\n\t\t\tif (e.keyCode === this.keyCode.ESC)\n\t\t\t{\n\t\t\t\tthis.modalClose();\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\t\tmodalClose: function()\n\t\t{\n\t\t\t$('#redactor_modal_close').off('click', this.modalClose);\n\t\t\t$('#redactor_modal').fadeOut('fast', $.proxy(function()\n\t\t\t{\n\t\t\t\tvar redactorModalInner = $('#redactor_modal_inner');\n\n\t\t\t\tif (this.modalcontent !== false)\n\t\t\t\t{\n\t\t\t\t\tthis.modalcontent.html(redactorModalInner.html());\n\t\t\t\t\tthis.modalcontent = false;\n\t\t\t\t}\n\n\t\t\t\tredactorModalInner.html('');\n\n\t\t\t\tif (this.opts.modalOverlay)\n\t\t\t\t{\n\t\t\t\t\t$('#redactor_modal_overlay').hide().off('click', this.modalClose);\n\t\t\t\t}\n\n\t\t\t\t$(document).off('keyup', this.modalCloseHandler);\n\t\t\t\tthis.$editor.off('keyup', this.modalCloseHandler);\n\n\t\t\t\tthis.selectionRestore();\n\n\t\t\t\t// restore scroll\n\t\t\t\tif (this.opts.autoresize && this.saveModalScroll)\n\t\t\t\t{\n\t\t\t\t\t$(this.document.body).scrollTop(this.saveModalScroll);\n\t\t\t\t}\n\t\t\t\telse if (this.opts.autoresize === false && this.saveModalScroll)\n\t\t\t\t{\n\t\t\t\t\tthis.$editor.scrollTop(this.saveModalScroll);\n\t\t\t\t}\n\n\t\t\t\tthis.callback('modalClosed');\n\n\t\t\t}, this));\n\n\n\t\t\tif (this.isMobile() === false)\n\t\t\t{\n\t\t\t\t$(document.body).css('overflow', this.modalSaveBodyOveflow ? this.modalSaveBodyOveflow : 'visible');\n\t\t\t}\n\n\t\t\treturn false;\n\t\t},\n\t\tmodalSetTab: function(num)\n\t\t{\n\t\t\t$('.redactor_tab').hide();\n\t\t\t$('#redactor_tabs').find('a').removeClass('redactor_tabs_act').eq(num - 1).addClass('redactor_tabs_act');\n\t\t\t$('#redactor_tab' + num).show();\n\t\t},\n\n\t\t// S3\n\t\ts3handleFileSelect: function(e)\n\t\t{\n\t\t\tvar files = e.target.files;\n\n\t\t\tfor (var i = 0, f; f = files[i]; i++)\n\t\t\t{\n\t\t\t\tthis.s3uploadFile(f);\n\t\t\t}\n\t\t},\n\t\ts3uploadFile: function(file)\n\t\t{\n\t\t\tthis.s3executeOnSignedUrl(file, $.proxy(function(signedURL)\n\t\t\t{\n\t\t\t\tthis.s3uploadToS3(file, signedURL);\n\t\t\t}, this));\n\t\t},\n\t\ts3executeOnSignedUrl: function(file, callback)\n\t\t{\n\t\t\tvar xhr = new XMLHttpRequest();\n\n\t\t\tvar mark = '?';\n\t\t\tif (this.opts.s3.search(/\\?/) != '-1') mark = '&';\n\n\t\t\txhr.open('GET', this.opts.s3 + mark + 'name=' + file.name + '&type=' + file.type, true);\n\n\t\t\t// Hack to pass bytes through unprocessed.\n\t\t\tif (xhr.overrideMimeType) xhr.overrideMimeType('text/plain; charset=x-user-defined');\n\n\t\t\tvar that = this;\n\t\t\txhr.onreadystatechange = function(e)\n\t\t\t{\n\t\t\t\tif (this.readyState == 4 && this.status == 200)\n\t\t\t\t{\n\t\t\t\t\tthat.showProgressBar();\n\t\t\t\t\tcallback(decodeURIComponent(this.responseText));\n\t\t\t\t}\n\t\t\t\telse if(this.readyState == 4 && this.status != 200)\n\t\t\t\t{\n\t\t\t\t\t//setProgress(0, 'Could not contact signing script. Status = ' + this.status);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\txhr.send();\n\t\t},\n\t\ts3createCORSRequest: function(method, url)\n\t\t{\n\t\t\tvar xhr = new XMLHttpRequest();\n\t\t\tif (\"withCredentials\" in xhr)\n\t\t\t{\n\t\t\t\txhr.open(method, url, true);\n\t\t\t}\n\t\t\telse if (typeof XDomainRequest != \"undefined\")\n\t\t\t{\n\t\t\t\txhr = new XDomainRequest();\n\t\t\t\txhr.open(method, url);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\txhr = null;\n\t\t\t}\n\n\t\t\treturn xhr;\n\t\t},\n\t\ts3uploadToS3: function(file, url)\n\t\t{\n\t\t\tvar xhr = this.s3createCORSRequest('PUT', url);\n\t\t\tif (!xhr)\n\t\t\t{\n\t\t\t\t//setProgress(0, 'CORS not supported');\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\txhr.onload = $.proxy(function()\n\t\t\t\t{\n\t\t\t\t\tif (xhr.status == 200)\n\t\t\t\t\t{\n\t\t\t\t\t\t//setProgress(100, 'Upload completed.');\n\n\t\t\t\t\t\tthis.hideProgressBar();\n\n\t\t\t\t\t\tvar s3image = url.split('?');\n\n\t\t\t\t\t\tif (!s3image[0])\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t // url parsing is fail\n\t\t\t\t\t\t\t return false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tthis.selectionRestore();\n\n\t\t\t\t\t\tvar html = '';\n\t\t\t\t\t\thtml = '';\n\t\t\t\t\t\tif (this.opts.paragraphy) html = '

' + html + '

';\n\n\t\t\t\t\t\tthis.execCommand('inserthtml', html, false);\n\n\t\t\t\t\t\tvar image = $(this.$editor.find('img#image-marker'));\n\n\t\t\t\t\t\tif (image.length) image.removeAttr('id');\n\t\t\t\t\t\telse image = false;\n\n\t\t\t\t\t\tthis.sync();\n\n\t\t\t\t\t\t// upload image callback\n\t\t\t\t\t\tthis.callback('imageUpload', image, false);\n\n\t\t\t\t\t\tthis.modalClose();\n\t\t\t\t\t\tthis.observeImages();\n\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\t//setProgress(0, 'Upload error: ' + xhr.status);\n\t\t\t\t\t}\n\t\t\t\t}, this);\n\n\t\t\t\txhr.onerror = function()\n\t\t\t\t{\n\t\t\t\t\t//setProgress(0, 'XHR error.');\n\t\t\t\t};\n\n\t\t\t\txhr.upload.onprogress = function(e)\n\t\t\t\t{\n\t\t\t\t\t/*\n\t\t\t\t\tif (e.lengthComputable)\n\t\t\t\t\t{\n\t\t\t\t\t\tvar percentLoaded = Math.round((e.loaded / e.total) * 100);\n\t\t\t\t\t\tsetProgress(percentLoaded, percentLoaded == 100 ? 'Finalizing.' : 'Uploading.');\n\t\t\t\t\t}\n\t\t\t\t\t*/\n\t\t\t\t};\n\n\t\t\t\txhr.setRequestHeader('Content-Type', file.type);\n\t\t\t\txhr.setRequestHeader('x-amz-acl', 'public-read');\n\n\t\t\t\txhr.send(file);\n\t\t\t}\n\t\t},\n\n\t\t// UPLOAD\n\t\tuploadInit: function(el, options)\n\t\t{\n\t\t\tthis.uploadOptions = {\n\t\t\t\turl: false,\n\t\t\t\tsuccess: false,\n\t\t\t\terror: false,\n\t\t\t\tstart: false,\n\t\t\t\ttrigger: false,\n\t\t\t\tauto: false,\n\t\t\t\tinput: false\n\t\t\t};\n\n\t\t\t$.extend(this.uploadOptions, options);\n\n\t\t\tvar $el = $('#' + el);\n\n\t\t\t// Test input or form\n\t\t\tif ($el.length && $el[0].tagName === 'INPUT')\n\t\t\t{\n\t\t\t\tthis.uploadOptions.input = $el;\n\t\t\t\tthis.el = $($el[0].form);\n\t\t\t}\n\t\t\telse this.el = $el;\n\n\t\t\tthis.element_action = this.el.attr('action');\n\n\t\t\t// Auto or trigger\n\t\t\tif (this.uploadOptions.auto)\n\t\t\t{\n\t\t\t\t$(this.uploadOptions.input).change($.proxy(function(e)\n\t\t\t\t{\n\t\t\t\t\tthis.el.submit(function(e)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t});\n\n\t\t\t\t\tthis.uploadSubmit(e);\n\n\t\t\t\t}, this));\n\n\t\t\t}\n\t\t\telse if (this.uploadOptions.trigger)\n\t\t\t{\n\t\t\t\t$('#' + this.uploadOptions.trigger).click($.proxy(this.uploadSubmit, this));\n\t\t\t}\n\t\t},\n\t\tuploadSubmit: function(e)\n\t\t{\n\t\t\tthis.showProgressBar();\t\t \n\t\t\tthis.id = 'f' + Math.floor(Math.random() * 99999);\n\t\t\tthis.uploadForm(this.element, this.id);\n\t\t},\n\t\tuploadFrame: function()\n\t\t{\n\t\t\tthis.id = 'f' + Math.floor(Math.random() * 99999);\n\n\t\t\tvar d = this.document.createElement('div');\n\t\t\tvar iframe = '';\n\n\t\t\td.innerHTML = iframe;\n\t\t\t$(d).appendTo(\"body\");\n\n\t\t\t// Start\n\t\t\tif (this.uploadOptions.start) this.uploadOptions.start();\n\n\t\t $( '#' + this.id ).on('load',$.proxy(this.uploadLoaded, this));\n\n\n\t\t\treturn this.id;\n\t\t},\n\t\tuploadSuccess: function (data, self) {\t\t \r\n\t\t var jsonData = JSON.stringify(data.data);\r\n\t\t self.hideProgressBar();\n\n\t\t if (typeof jsonData !== 'undefined') {\r\n\t\t var rawString = jsonData;\n\t\t var jsonString = rawString.match(/\\{(.|\\n)*\\}/)[0];\n\n\t\t jsonString = jsonString.replace(/^\\[/, '');\n\t\t jsonString = jsonString.replace(/\\]$/, '');\n\n\t\t var json = $.parseJSON(jsonString);\n\n\t\t if (typeof json.error == 'undefined') self.uploadOptions.success(json);\n\t\t else {\r\n\t\t self.uploadOptions.error(self, json);\n\t\t self.modalClose();\r\n\t\t }\r\n\t\t }\n\t\t else {\r\n self.hideProgressBar();\r\n self.callback(\"uploadError\", false, \"uploadFailed\");\r\n\t\t self.modalClose();\t\t \r\n\t\t }\r\n\n\t\t self.el.attr('action', self.element_action);\n\t\t self.el.attr('target', '');\r\n\r\n },\n\t\tuploadForm: function (f, name)\n\t\t{\n\t\t\tif (this.uploadOptions.input)\n\t\t\t{\n\t\t\t\tvar formId = 'redactorUploadForm' + this.id,\n\t\t\t\t\tfileId = 'redactorUploadFile' + this.id;\n\n\t\t\t\tthis.form = $('
');\n\n\t\t\t\t// append hidden fields\n\t\t\t\tif (this.opts.uploadFields !== false && typeof this.opts.uploadFields === 'object')\n\t\t\t\t{\n\t\t\t\t\t$.each(this.opts.uploadFields, $.proxy(function(k, v)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (v != null && v.toString().indexOf('#') === 0) v = $(v).val();\n\n\t\t\t\t\t\tvar hidden = $('', {\n\t\t\t\t\t\t\t'type': \"hidden\",\n\t\t\t\t\t\t\t'name': k,\n\t\t\t\t\t\t\t'value': v\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\t$(this.form).append(hidden);\n\n\t\t\t\t\t}, this));\n\t\t\t\t}\n\n\t\t\t\tvar oldElement = this.uploadOptions.input;\n\t\t\t\tvar newElement = $(oldElement).clone();\n\n\t\t\t\t$(oldElement).attr('id', fileId).before(newElement).appendTo(this.form);\n\n\t\t\t\t$(this.form).css('position', 'absolute')\n\t\t\t\t\t\t.css('top', '-2000px')\n\t\t\t\t\t\t.css('left', '-2000px')\n\t\t\t\t\t\t.appendTo('body');\n\t\t\t\t\t\t\t\t\n\t\t\t\tvar jsonData;\n\t\t\t\tvar imageFile = $('#redactorUploadFile' + this.id)[0].files[0];\n\t\t\t\tvar fileData = new FormData();\n\t\t\t\tfileData.append(\"file\", imageFile);\t\t\t\t\n\n\t\t\t\tvar self = this;\n\t\t\t this.opts.$http({\r\n\t\t\t\t method: 'POST',\r\n\t\t\t\t url: this.uploadOptions.url,\r\n\t\t\t\t headers: {'Content-Type': undefined},\r\n\t\t\t\t data: fileData,\r\n\t\t\t\t transformRequest: function (data, headersGetter) {\r\n\t\t\t\t angular.identity;\t\t\t\t \t\t\t\t\r\n\t\t\t\t return data;\r\n\t\t\t\t }\r\n\t\t\t })\r\n .then(function (response) {\r\n self.uploadSuccess(response, self)\r\n }) \r\n .catch(function (data, status) { \r\n self.hideProgressBar();\r\n self.callback(\"uploadError\", false, \"uploadFailed\");\r\n self.modalClose(); \r\n });\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tf.attr('target', name)\n\t\t\t\t\t.attr('method', 'POST')\n\t\t\t\t\t.attr('enctype', 'multipart/form-data')\n\t\t\t\t\t.attr('action', this.uploadOptions.url);\n\n\t\t\t\tthis.element.submit();\n\t\t\t}\n\t\t},\n\t\tuploadLoaded: function()\n\t\t{\n\t\t\tvar i = $( '#' + this.id)[0], d;\n\n\t\t\tif (i.contentDocument) d = i.contentDocument;\n\t\t\telse if (i.contentWindow) d = i.contentWindow.document;\n\t\t\telse d = window.frames[this.id].document;\n\n\t\t\t// Success\n\t\t\tif (this.uploadOptions.success)\n\t\t\t{\n\t\t\t\tthis.hideProgressBar();\n\n\t\t\t\tif (typeof d !== 'undefined')\n\t\t\t\t{\t\t\t\t\t\n\t\t\t\t\tvar rawString = d.body.innerHTML;\n\t\t\t\t\tvar jsonString = rawString.match(/\\{(.|\\n)*\\}/)[0];\n\n\t\t\t\t\tjsonString = jsonString.replace(/^\\[/, '');\n\t\t\t\t\tjsonString = jsonString.replace(/\\]$/, '');\n\n\t\t\t\t\tvar json = $.parseJSON(jsonString);\n\n\t\t\t\t\tif (typeof json.error == 'undefined') this.uploadOptions.success(json);\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tthis.uploadOptions.error(this, json);\n\t\t\t\t\t\tthis.modalClose();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n this.hideProgressBar();\n this.callback(\"uploadError\", false, \"uploadFailed\");\n\t\t\t\t\tthis.modalClose();\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.el.attr('action', this.element_action);\n\t\t\tthis.el.attr('target', '');\n\t\t},\n\n\t\t// DRAGUPLOAD\n\t\tdraguploadInit: function (el, options)\n\t\t{\n\t\t\tthis.draguploadOptions = $.extend({\n\t\t\t\turl: false,\n\t\t\t\tsuccess: false,\n\t\t\t\terror: false,\n\t\t\t\tpreview: false,\n\t\t\t\tuploadFields: false,\n\t\t\t\ttext: this.opts.curLang.drop_file_here,\n\t\t\t\tatext: this.opts.curLang.or_choose,\n\t\t\t\tuploadParam: false\n\t\t\t}, options);\n\n\t\t\tif (window.FormData === undefined) return false;\n\n\t\t\tthis.droparea = $('
');\n\t\t\tthis.dropareabox = $('
' + this.draguploadOptions.text + '
');\n\t\t\tthis.dropalternative = $('
' + this.draguploadOptions.atext + '
');\n\n\t\t\tthis.droparea.append(this.dropareabox);\n\n\t\t\t$(el).before(this.droparea);\n\t\t\t$(el).before(this.dropalternative);\n\n\t\t\t// drag over\n\t\t\tthis.dropareabox.on('dragover', $.proxy(function()\n\t\t\t{\n\t\t\t\treturn this.draguploadOndrag();\n\n\t\t\t}, this));\n\n\t\t\t// drag leave\n\t\t\tthis.dropareabox.on('dragleave', $.proxy(function()\n\t\t\t{\n\t\t\t\treturn this.draguploadOndragleave();\n\n\t\t\t}, this));\n\n\t\t\t// drop\n\t\t\tthis.dropareabox.get(0).ondrop = $.proxy(function(e)\n\t\t\t{\n\t\t\t\te.preventDefault();\n\n\t\t\t\tthis.dropareabox.removeClass('hover').addClass('drop');\n\t\t\t\tthis.showProgressBar();\n\t\t\t\tthis.dragUploadAjax(this.draguploadOptions.url, e.dataTransfer.files[0], false, e, this.draguploadOptions.uploadParam);\n\n\t\t\t}, this );\n\t\t},\n\t\tdragUploadAjax: function(url, file, directupload, e, uploadParam)\n\t\t{\n\t\t\tif (!directupload)\n\t\t\t{\n\t\t\t\tvar xhr = $.ajaxSettings.xhr();\n\t\t\t\tif (xhr.upload)\n\t\t\t\t{\n\t\t\t\t\txhr.upload.addEventListener('progress', $.proxy(this.uploadProgress, this), false);\n\t\t\t\t}\n\n\t\t\t\t$.ajaxSetup({\n\t\t\t\t xhr: function () { return xhr; }\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t// drop callback\n\t\t\tthis.callback('drop', e);\n\n\t\t\tvar fd = new FormData();\n\n\t\t\t// append file data\n\t\t\tif (uploadParam !== false)\n\t\t\t{\n\t\t\t\tfd.append(uploadParam, file);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfd.append('file', file);\n\t\t\t}\n\n\t\t\t// append hidden fields\n\t\t\tif (this.opts.uploadFields !== false && typeof this.opts.uploadFields === 'object')\n\t\t\t{\n\t\t\t\t$.each(this.opts.uploadFields, $.proxy(function(k, v)\n\t\t\t\t{\n\t\t\t\t\tif (v != null && v.toString().indexOf('#') === 0) v = $(v).val();\n\t\t\t\t\tfd.append(k, v);\n\n\t\t\t\t}, this));\n\t\t\t}\n\n\t\t\tvar self = this;\n\t\t\tthis.opts.$http.post(url, fd,\r\n {\r\n transformRequest: angular.identity,\r\n headers: { 'Content-Type': undefined }\r\n })\n .then(function (response) {\n var data = JSON.stringify(response.data)\n \n data = data.replace(/^\\[/, '');\n data = data.replace(/\\]$/, '');\n\n var json = (typeof data === 'string' ? $.parseJSON(data) : data);\n\n self.hideProgressBar();\n\n if (directupload)\n {\n var $img = $('');\n $img.attr('src', json.filelink).attr('id', 'drag-image-marker');\n\n self.insertNodeToCaretPositionFromPoint(e, $img[0]);\n\n var image = $(self.$editor.find('img#drag-image-marker'));\n if (image.length) image.removeAttr('id');\n else image = false;\n\n self.sync();\n self.observeImages();\n\n // upload callback\n if (image) self.callback('imageUpload', image, json);\n\n // error callback\n if (typeof json.error !== 'undefined') self.callback('imageUploadError', json);\n }\n else\n {\n if (typeof json.error == 'undefined')\n {\n self.draguploadOptions.success(json);\n }\n else\n {\n self.draguploadOptions.error(self, json);\n self.draguploadOptions.success(false);\n }\n }\r\n });\n\n\t\t},\n\t\tdraguploadOndrag: function()\n\t\t{\n\t\t\tthis.dropareabox.addClass('hover');\n\t\t\treturn false;\n\t\t},\n\t\tdraguploadOndragleave: function()\n\t\t{\n\t\t\tthis.dropareabox.removeClass('hover');\n\t\t\treturn false;\n\t\t},\n\t\tuploadProgress: function(e, text)\n\t\t{\n\t\t\tvar percent = e.loaded ? parseInt(e.loaded / e.total * 100, 10) : e;\n\t\t\tthis.dropareabox.text('Loading ' + percent + '% ' + (text || ''));\n\t\t},\n\n\t\t// UTILS\n\t\tisMobile: function()\n\t\t{\n\t\t\treturn /(iPhone|iPod|BlackBerry|Android)/.test(navigator.userAgent);\n\t\t},\n\t\tisIPad: function()\n\t\t{\n\t\t\treturn /iPad/.test(navigator.userAgent);\n\t\t},\n\t\tnormalize: function(str)\n\t\t{\n\t\t\tif (typeof(str) === 'undefined') return 0;\n\t\t\treturn parseInt(str.replace('px',''), 10);\n\t\t},\n\t\touterHtml: function(el)\n\t\t{\n\t\t\treturn $('
').append($(el).eq(0).clone()).html();\n\t\t},\n\t\tstripHtml: function(html)\n\t\t{\n\t\t\tvar tmp = document.createElement(\"DIV\");\n\t\t\ttmp.innerHTML = html;\n\t\t\treturn tmp.textContent || tmp.innerText || \"\";\n\t\t},\n\t\tisString: function(obj)\n\t\t{\n\t\t\treturn Object.prototype.toString.call(obj) == '[object String]';\n\t\t},\n\t\tisEmpty: function(html)\n\t\t{\n\t\t\thtml = html.replace(/​|
|| /gi, '');\n\t\t\thtml = html.replace(/\\s/g, '');\n\t\t\thtml = html.replace(/^

[^\\W\\w\\D\\d]*?<\\/p>$/i, '');\n\n\t\t\treturn html == '';\n\t\t},\n\t\tgetInternetExplorerVersion: function()\n\t\t{\n\t\t\tvar rv = false;\n\t\t\tif (navigator.appName == 'Microsoft Internet Explorer')\n\t\t\t{\n\t\t\t\tvar ua = navigator.userAgent;\n\t\t\t\tvar re = new RegExp(\"MSIE ([0-9]{1,}[\\.0-9]{0,})\");\n\t\t\t\tif (re.exec(ua) != null)\n\t\t\t\t{\n\t\t\t\t\trv = parseFloat(RegExp.$1);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn rv;\n\t\t},\n\t\tisIe11: function()\n\t\t{\n\t\t\treturn !!navigator.userAgent.match(/Trident\\/7\\./);\n\t\t},\n\t\tbrowser: function(browser)\n\t\t{\n\t\t\tvar ua = navigator.userAgent.toLowerCase();\n\t\t\tvar match = /(opr)[\\/]([\\w.]+)/.exec( ua ) ||\n /(chrome)[ \\/]([\\w.]+)/.exec( ua ) ||\n /(webkit)[ \\/]([\\w.]+).*(safari)[ \\/]([\\w.]+)/.exec(ua) ||\n /(webkit)[ \\/]([\\w.]+)/.exec( ua ) ||\n /(opera)(?:.*version|)[ \\/]([\\w.]+)/.exec( ua ) ||\n /(msie) ([\\w.]+)/.exec( ua ) ||\n ua.indexOf(\"trident\") >= 0 && /(rv)(?::| )([\\w.]+)/.exec( ua ) ||\n ua.indexOf(\"compatible\") < 0 && /(mozilla)(?:.*? rv:([\\w.]+)|)/.exec( ua ) ||\n [];\n\n\t\t\tif (browser == 'version') return match[2];\n\t\t\tif (browser == 'webkit') return (match[1] == 'chrome' || match[1] == 'webkit');\n\t\t\tif (match[1] == 'rv') return browser == 'msie';\n\t\t\tif (match[1] == 'opr') return browser == 'webkit';\n\n\t\t\treturn browser == match[1];\n\n\t\t},\n\t\toldIE: function()\n\t\t{\n\t\t\tif (this.browser('msie') && parseInt(this.browser('version'), 10) < 9) return true;\n\t\t\treturn false;\n\t\t},\n\t\tgetFragmentHtml: function (fragment)\n\t\t{\n\t\t\tvar cloned = fragment.cloneNode(true);\n\t\t\tvar div = this.document.createElement('div');\n\n\t\t\tdiv.appendChild(cloned);\n\t\t\treturn div.innerHTML;\n\t\t},\n\t\textractContent: function()\n\t\t{\n\t\t\tvar node = this.$editor[0];\n\t\t\tvar frag = this.document.createDocumentFragment();\n\t\t\tvar child;\n\n\t\t\twhile ((child = node.firstChild))\n\t\t\t{\n\t\t\t\tfrag.appendChild(child);\n\t\t\t}\n\n\t\t\treturn frag;\n\t\t},\n\t\tisParentRedactor: function(el)\n\t\t{\n\t\t\tif (!el) return false;\n\t\t\tif (this.opts.iframe) return el;\n\n\t\t\tif ($(el).parents('div.redactor_editor').length == 0 || $(el).hasClass('redactor_editor')) return false;\n\t\t\telse return el;\n\t\t},\n\t\tcurrentOrParentIs: function(tagName)\n\t\t{\n\t\t\tvar parent = this.getParent(), current = this.getCurrent();\n\t\t\treturn parent && parent.tagName === tagName ? parent : current && current.tagName === tagName ? current : false;\n\t\t},\n\t\tisEndOfElement: function()\n\t\t{\n\t\t\tvar current = this.getBlock();\n\t\t\tvar offset = this.getCaretOffset(current);\n\n\t\t\tvar text = $.trim($(current).text()).replace(/\\n\\r\\n/g, '');\n\n\t\t\tvar len = text.length;\n\n\t\t\tif (offset == len) return true;\n\t\t\telse return false;\n\t\t},\n\t\tisFocused: function()\n\t\t{\n\t\t\tvar el, sel = this.getSelection();\n\n\t\t\tif (sel && sel.rangeCount && sel.rangeCount > 0) el = sel.getRangeAt(0).startContainer;\n\t\t\tif (!el) return false;\n\t\t\tif (this.opts.iframe)\n\t\t\t{\n\t\t\t\tif (this.getCaretOffsetRange().equals()) return !this.$editor.is(el);\n\t\t\t\telse return true;\n\t\t\t}\n\n\t\t\treturn $(el).closest('div.redactor_editor').length != 0;\n\t\t},\n\t\tremoveEmptyAttr: function (el, attr)\n\t\t{\n\t\t\tif ($(el).attr(attr) == '') $(el).removeAttr(attr);\n\t\t},\n\t\tremoveFromArrayByValue: function(array, value)\n\t\t{\n\t\t\tvar index = null;\n\n\t\t\twhile ((index = array.indexOf(value)) !== -1)\n\t\t\t{\n\t\t\t\tarray.splice(index, 1);\n\t\t\t}\n\n\t\t\treturn array;\n\t\t}\n\n\t};\n\n\t// constructor\n\tRedactor.prototype.init.prototype = Redactor.prototype;\n\n\t// LINKIFY\n\t$.Redactor.fn.formatLinkify = function(protocol, convertLinks, convertImageLinks, convertVideoLinks, linkSize)\n\t{\n\t\tvar url = /(((https?|ftps?):\\/\\/)|www[.][^\\s])(.+?\\..+?)([.),]?)(\\s|\\.\\s+|\\)|$)/gi,\n\t\t\trProtocol = /(https?|ftp):\\/\\//i,\n\t\t\turlImage = /(https?:\\/\\/.*\\.(?:png|jpg|jpeg|gif))/gi;\n\n\t\tvar childNodes = (this.$editor ? this.$editor.get(0) : this).childNodes, i = childNodes.length;\n\t\twhile (i--)\n\t\t{\n\t\t\tvar n = childNodes[i];\n\t\t\tif (n.nodeType === 3)\n\t\t\t{\n\t\t\t\tvar html = n.nodeValue;\n\n\t\t\t\t// youtube & vimeo\n\t\t\t\tif (convertVideoLinks && html)\n\t\t\t\t{\n\t\t\t\t\tvar iframeStart = '';\n\n\t\t\t\t\tif (html.match(reUrlYoutube))\n\t\t\t\t\t{\n\t\t\t\t\t\thtml = html.replace(reUrlYoutube, iframeStart + '//www.youtube.com/embed/$1' + iframeEnd);\n\t\t\t\t\t\t$(n).after(html).remove();\n\t\t\t\t\t}\n\t\t\t\t\telse if (html.match(reUrlVimeo))\n\t\t\t\t\t{\n\t\t\t\t\t\thtml = html.replace(reUrlVimeo, iframeStart + '//player.vimeo.com/video/$2' + iframeEnd);\n\t\t\t\t\t\t$(n).after(html).remove();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// image\n\t\t\t\tif (convertImageLinks && html && html.match(urlImage))\n\t\t\t\t{\n\t\t\t\t\thtml = html.replace(urlImage, '');\n\n\t\t\t\t\t$(n).after(html).remove();\n\t\t\t\t}\n\n\t\t\t\t// link\n\t\t\t\tif (convertLinks && html && html.match(url))\n\t\t\t\t{\n\t\t\t\t\tvar matches = html.match(url);\n\n\t\t\t\t\tfor (var i in matches)\n\t\t\t\t\t{\n\t\t\t\t\t\tvar href = matches[i];\n\t\t\t\t\t\tvar text = href;\n\n\t\t\t\t\t\tvar space = '';\n\t\t\t\t\t\tif (href.match(/\\s$/) !== null) space = ' ';\n\n\t\t\t\t\t\tvar addProtocol = protocol;\n\t\t\t\t\t\tif (href.match(rProtocol) !== null) addProtocol = '';\n\n\t\t\t\t\t\tif (text.length > linkSize) text = text.substring(0, linkSize) + '...';\n\n\t\t\t\t\t\ttext = text.replace(/&/g, '&').replace(//g, '>')\n\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t\tTo handle URLs which may have $ characters in them, need to escape $ -> $$ to prevent $1 from getting treated as a backreference.\n\t\t\t\t\t\t\tSee http://gotofritz.net/blog/code-snippets/escaping-in-replace-strings-in-javascript/\n\t\t\t\t\t\t*/\n\t\t\t\t\t\tvar escapedBackReferences = text.replace('$', '$$$');\n\n\t\t\t\t\t\thtml = html.replace(href, '' + $.trim(escapedBackReferences) + '' + space);\n\t\t\t\t\t}\n\n\t\t\t\t\t$(n).after(html).remove();\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (n.nodeType === 1 && !/^(a|button|textarea)$/i.test(n.tagName))\n\t\t\t{\n\t\t\t\t$.Redactor.fn.formatLinkify.call(n, protocol, convertLinks, convertImageLinks, convertVideoLinks, linkSize);\n\t\t\t}\n\t\t}\n\t};\n\n})(jQuery);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar MoneyFactorComponent = /** @class */ (function () {\n function MoneyFactorComponent() {\n }\n MoneyFactorComponent.prototype.ngOnInit = function () {\n };\n return MoneyFactorComponent;\n}());\nexports.MoneyFactorComponent = MoneyFactorComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'money-factor',\r\n templateUrl: './money-factor.component-ng.html',\r\n styleUrls: ['./money-factor.component.scss']\r\n})\r\nexport class MoneyFactorComponent implements OnInit {\r\n @Input() value: any;\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n}\r\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar search_preset_service_1 = require(\"../../../services/search-preset.service\");\nvar user_service_1 = require(\"../../../services/user.service\");\nvar constants_1 = require(\"../../../constants\");\nvar lodash_1 = __importDefault(require(\"lodash\"));\nvar rxjs_1 = require(\"rxjs\");\nvar core_2 = require(\"@uirouter/core\");\nvar SearchPresetsComponent = /** @class */ (function () {\n function SearchPresetsComponent(searchPresetService, userService, stateService) {\n this.searchPresetService = searchPresetService;\n this.userService = userService;\n this.stateService = stateService;\n this.visible = false;\n this.visibleChange = new core_1.EventEmitter();\n this.isSltUser = false;\n this.searchPresets = [];\n this.userPresets = [];\n this.dealerPresets = [];\n this.commonPresets = [];\n this.searchPresetTypes = constants_1.SearchPresetTypes;\n this.subscriptionAggregator = new rxjs_1.Subscription();\n }\n SearchPresetsComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.userService.getUserProfile()\n .then(function (userProfile) { return _this.isSltUser = userProfile.isSltUser; });\n };\n SearchPresetsComponent.prototype.ngOnDestroy = function () {\n this.subscriptionAggregator.unsubscribe();\n };\n SearchPresetsComponent.prototype.toggleSearchPresets = function () {\n this.visible = !this.visible;\n if (this.visible) {\n this.busy = this.getSearchPresets();\n this.subscriptionAggregator.add(this.busy);\n }\n this.visibleChange.emit(this.visible);\n };\n SearchPresetsComponent.prototype.getSearchPresets = function () {\n var _this = this;\n return rxjs_1.from(this.searchPresetService.getSearchPresets())\n .subscribe(function (searchPresetData) {\n _this.setSearchPresets(searchPresetData);\n });\n };\n SearchPresetsComponent.prototype.setSearchPresets = function (searchPresetData) {\n this.searchPresets = searchPresetData.sort(this.byDescSearchConditionID);\n this.userPresets = this.searchPresets.filter(this.byGroupType(this.searchPresetTypes.user));\n this.dealerPresets = lodash_1.default.uniqBy(this.searchPresets.filter(this.byGroupType(this.searchPresetTypes.dealer)), 'userSearchConditionID');\n this.commonPresets = this.searchPresets.filter(this.byGroupType(this.searchPresetTypes.common));\n };\n SearchPresetsComponent.prototype.byGroupType = function (groupType) {\n return function (searchPreset) {\n return searchPreset.userSearchConditionGroupType === groupType;\n };\n };\n SearchPresetsComponent.prototype.byDescSearchConditionID = function (item1, item2) {\n if (item1.userSearchConditionID > item2.userSearchConditionID)\n return -1;\n if (item1.userSearchConditionID < item2.userSearchConditionID)\n return 1;\n return 0;\n };\n SearchPresetsComponent.prototype.navigate = function (presetId) {\n this.visible = false;\n if (this.stateService.params.presetId == presetId && !this.stateService.params.recentActivity) {\n this.stateService.reload();\n }\n else {\n this.stateService.go('search.form', { presetId: presetId, recentActivity: null }, { reload: 'search.form', inherit: false });\n }\n };\n return SearchPresetsComponent;\n}());\nexports.SearchPresetsComponent = SearchPresetsComponent;\n","import { Component, OnInit, Input, Output, OnDestroy, EventEmitter } from '@angular/core';\r\nimport { SearchPresetService } from '../../../services/search-preset.service';\r\nimport { UserService } from '../../../services/user.service';\r\nimport { SearchPresetTypes } from '../../../constants';\r\nimport _ from 'lodash';\r\nimport { UserSearchCondition } from '../../../interfaces/user-search-condition.interface';\r\nimport { Subscription, from } from 'rxjs';\r\nimport { StateService } from '@uirouter/core';\r\n\r\n@Component({\r\n selector: 'search-presets',\r\n templateUrl: './search-presets.component-ng.html',\r\n styleUrls: ['./search-presets.component.scss']\r\n})\r\n\r\nexport class SearchPresetsComponent implements OnInit, OnDestroy {\r\n @Input() visible: boolean = false;\r\n @Output() visibleChange = new EventEmitter();\r\n public isSltUser: boolean = false;\r\n public searchPresets: UserSearchCondition[] = [];\r\n public userPresets: UserSearchCondition[] = [];\r\n public dealerPresets: UserSearchCondition[] = [];\r\n public commonPresets: UserSearchCondition[] = [];\r\n public busy: Subscription;\r\n\r\n private searchPresetTypes = SearchPresetTypes;\r\n private subscriptionAggregator = new Subscription();\r\n\r\n constructor(private searchPresetService: SearchPresetService,\r\n private userService: UserService,\r\n private stateService: StateService) {\r\n }\r\n\r\n public ngOnInit(): void {\r\n this.userService.getUserProfile()\r\n .then((userProfile) => this.isSltUser = userProfile.isSltUser);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionAggregator.unsubscribe();\r\n }\r\n\r\n public toggleSearchPresets(): void {\r\n this.visible = !this.visible;\r\n\r\n if (this.visible) {\r\n this.busy = this.getSearchPresets();\r\n this.subscriptionAggregator.add(this.busy);\r\n }\r\n this.visibleChange.emit(this.visible);\r\n }\r\n\r\n getSearchPresets(): Subscription {\r\n return from(this.searchPresetService.getSearchPresets())\r\n .subscribe(searchPresetData => {\r\n this.setSearchPresets(searchPresetData);\r\n });\r\n }\r\n\r\n private setSearchPresets(searchPresetData) {\r\n this.searchPresets = searchPresetData.sort(this.byDescSearchConditionID);\r\n this.userPresets = this.searchPresets.filter(this.byGroupType(this.searchPresetTypes.user));\r\n this.dealerPresets = _.uniqBy(this.searchPresets.filter(this.byGroupType(this.searchPresetTypes.dealer)), 'userSearchConditionID');\r\n this.commonPresets = this.searchPresets.filter(this.byGroupType(this.searchPresetTypes.common));\r\n }\r\n\r\n private byGroupType(groupType) {\r\n return function (searchPreset) {\r\n return searchPreset.userSearchConditionGroupType === groupType;\r\n };\r\n }\r\n\r\n private byDescSearchConditionID(item1, item2) {\r\n if (item1.userSearchConditionID > item2.userSearchConditionID)\r\n return -1;\r\n if (item1.userSearchConditionID < item2.userSearchConditionID)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n public navigate(presetId): void {\r\n this.visible = false;\r\n\r\n if (this.stateService.params.presetId == presetId && !this.stateService.params.recentActivity) {\r\n this.stateService.reload();\r\n }\r\n else {\r\n this.stateService.go('search.form', { presetId: presetId, recentActivity: null }, { reload: 'search.form', inherit: false });\r\n }\r\n }\r\n\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".mobile-deal-sheet-wrapper[_ngcontent-%COMP%]{background-color:#fff;height:calc(100vh);padding-left:0;padding-right:0}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] tabset ul.nav.nav-tabs.nav-tabs{padding-left:0;padding-right:0}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%]{margin-top:85px;overflow:auto;background-color:#fff;overflow-x:hidden}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar-fixed-top[_ngcontent-%COMP%]{width:calc(100vw);z-index:1000}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar-fixed-bottom{padding:4px 0}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar{min-height:0}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%]{display:table;width:calc(100vw);margin:40px 0 0}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{float:none;display:table-cell;text-align:center}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding-bottom:0;font-size:18px;border-top-left-radius:10px;border-top-right-radius:10px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar-default[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{background-color:#172751;color:#fff}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar-default[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%]:after{position:absolute;bottom:0;left:0;width:100%;content:\\\" \\\";border-bottom:6px solid #172751}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .customer-name{color:#1f8bd5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;position:fixed;width:calc(100vw - 80px);font-size:22px;margin-top:10px;margin-bottom:5px;margin-left:5px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .edit-icon{display:none}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .current-vehicle-label span{top:19px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .replacement-vehicle-label span{top:19px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .dealsheet-body .contract-header{border-left-width:20px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .current-contract-summary-header{margin-left:-15px;margin-right:-15px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .current-contract-summary-body{margin-left:-15px;margin-right:-15px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .replacement-contract-summary-header{margin-left:-15px;margin-right:-15px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .replacement-contract-summary-body{margin-left:-15px;margin-right:-15px}@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait){.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .customer-name{display:block}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%]{display:block;margin-top:36px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding-bottom:5px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%]{margin-top:85px}}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .customerNameContainer[_ngcontent-%COMP%]{float:left}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .scoreLeft[_ngcontent-%COMP%]{float:left;border-left:20px solid transparent;border-top:36px solid #1f8bd5}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .score[_ngcontent-%COMP%]{font-size:20px;color:#fff;padding:5px 20px 0 10px;float:left;background-color:#1f8bd5;height:36px}.mobile-deal-sheet-wrapper[_ngcontent-%COMP%] .scoreContainer[_ngcontent-%COMP%]{float:right}\"];\nexports.styles = styles;\n","var path = '/app/components/header-wrapper.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","var path = '/app/components/search/search-manage-presets.component.html';\nvar html = \"
1\\\" class=\\\"row dealerRow\\\">
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n {{translations.doNotCallEmailStep1Label}}\r\n
\r\n
\r\n {{uploadMessage}} \r\n
\r\n
\r\n \r\n {{fileName}}\r\n
\r\n
\r\n
\r\n
\r\n {{errorMessage}}\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{translations.doNotCallEmailStep2Label}}\r\n
\r\n
\r\n {{columnSelectMessage}}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{header}}\r\n
\r\n {{col}}\r\n
\r\n {{matchedMessage}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n {{translations.doNotCallEmailStep3Label}}\r\n
\r\n
\r\n {{confirmMessage}}\r\n
\r\n
0\">\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
{{translations.doNotEmailCallColumnNameLabel}}CellHomeWorkEmail
{{matchedCustomer.displayName}}\r\n {{matchedCustomer.cellPhone | localePhone}}\r\n {{matchedCustomer.homePhone | localePhone}}\r\n {{matchedCustomer.workPhone | localePhone}}\r\n {{matchedCustomer.emailAddress}}
\r\n {{matchedMessage}}\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{errorMessage}} \r\n
\r\n
\r\n {{statusMessage}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".do-not-call-email-wrapper[_ngcontent-%COMP%]{background-color:#e7e7e7;padding-left:15px;padding-right:15px;padding-bottom:5px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-email[_ngcontent-%COMP%]{margin:15px 15px 10px;background-color:#fff;border-radius:10px;position:relative;max-width:calc(100vw - 60px)}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%]{padding-bottom:0;margin-bottom:0}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:5px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] > .panel-footer[_ngcontent-%COMP%]{height:55px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#1f8bd5;font-size:16px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{margin-right:5px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .type-selection-radio[_ngcontent-%COMP%]{padding-left:45px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .type-selection-title[_ngcontent-%COMP%]{margin-bottom:5px;color:gray}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .btn-file[_ngcontent-%COMP%]{position:relative;overflow:hidden;color:#fff}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{color:red}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .status-row[_ngcontent-%COMP%]{bottom:0;position:absolute}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .margin-bottom-15[_ngcontent-%COMP%]{margin-bottom:15px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .margin-left-15[_ngcontent-%COMP%]{margin-left:15px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]{position:relative;height:100%}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .table-col[_ngcontent-%COMP%]{overflow:auto}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] .do-not-call-panel-body[_ngcontent-%COMP%]{min-height:590px;height:1px;overflow:auto;width:100%}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:700}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:center;padding-right:5px;padding-left:5px;background:#d0e5f5;border-bottom:1px solid #b1d6de;color:grey;white-space:nowrap}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:10px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tfoot[_ngcontent-%COMP%]{font-style:italic}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{cursor:pointer;font-size:15px}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .hover[_ngcontent-%COMP%]{background-color:#ffffa3}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background-color:#b0de78}.do-not-call-email-wrapper[_ngcontent-%COMP%] .do-not-call-panel[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){background:#e5f1f9}\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/financial/add-financial-info.component.html';\nvar html = \"
{{op.type | translate}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ActivitySubTypes = {\n outBoundCall: 1,\n inBoundCall: 2\n};\n","\r\nexport const ActivitySubTypes = {\r\n outBoundCall: 1,\r\n inBoundCall: 2\r\n};\r\n","// 20.2.2.33 Math.tanh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerRatesClientService = /** @class */ (function (_super) {\n __extends(DealerRatesClientService, _super);\n function DealerRatesClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerRatesClientService.prototype.GetDealerRateMarkUpsByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerRates/GetDealerRateMarkUps/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerRatesClientService.prototype.GetDealerRateMarkUpsByDealeridGET = function (dealerId) {\n return this.GetDealerRateMarkUpsByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n DealerRatesClientService.prototype.UpdateDealerUsedRatesPOSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerRates/UpdateDealerUsedRates\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n DealerRatesClientService.prototype.UpdateDealerUsedRatesPOST = function (data) {\n return this.UpdateDealerUsedRatesPOSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerRatesClientService.prototype.DeleteAllUsedRatesByDealerIdPOSTResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = dealerId;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerRates/DeleteAllUsedRatesByDealerId\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: _r.body === 'true' });\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerRatesClientService.prototype.DeleteAllUsedRatesByDealerIdPOST = function (dealerId) {\n return this.DeleteAllUsedRatesByDealerIdPOSTResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n DealerRatesClientService.prototype.UpdateDealerOverAllowancePOSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerRates/UpdateDealerOverAllowance\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n DealerRatesClientService.prototype.UpdateDealerOverAllowancePOST = function (data) {\n return this.UpdateDealerOverAllowancePOSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param rates undefined\n */\n DealerRatesClientService.prototype.UpdateDealerRateMarkUpsPOSTResponse = function (rates) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = rates;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerRates/UpdateDealerRateMarkUps\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param rates undefined\n */\n DealerRatesClientService.prototype.UpdateDealerRateMarkUpsPOST = function (rates) {\n return this.UpdateDealerRateMarkUpsPOSTResponse(rates).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerRatesClientService.prototype.GetDealerOverAllowancesByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerRates/GetDealerOverAllowances/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerRatesClientService.prototype.GetDealerOverAllowancesByDealeridGET = function (dealerId) {\n return this.GetDealerOverAllowancesByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerRatesClientService.prototype.GetDealerUsedRatesByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerRates/GetDealerUsedRates/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerRatesClientService.prototype.GetDealerUsedRatesByDealeridGET = function (dealerId) {\n return this.GetDealerUsedRatesByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerRatesClientService.GetDealerRateMarkUpsByDealeridGETPath = '/api/DealerRates/GetDealerRateMarkUps/{dealerId}';\n DealerRatesClientService.UpdateDealerUsedRatesPOSTPath = '/api/DealerRates/UpdateDealerUsedRates';\n DealerRatesClientService.DeleteAllUsedRatesByDealerIdPOSTPath = '/api/DealerRates/DeleteAllUsedRatesByDealerId';\n DealerRatesClientService.UpdateDealerOverAllowancePOSTPath = '/api/DealerRates/UpdateDealerOverAllowance';\n DealerRatesClientService.UpdateDealerRateMarkUpsPOSTPath = '/api/DealerRates/UpdateDealerRateMarkUps';\n DealerRatesClientService.GetDealerOverAllowancesByDealeridGETPath = '/api/DealerRates/GetDealerOverAllowances/{dealerId}';\n DealerRatesClientService.GetDealerUsedRatesByDealeridGETPath = '/api/DealerRates/GetDealerUsedRates/{dealerId}';\n DealerRatesClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerRatesClientService_Factory() { return new DealerRatesClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerRatesClientService, providedIn: \"root\" });\n return DealerRatesClientService;\n}(base_service_1.BaseService));\nexports.DealerRatesClientService = DealerRatesClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerRateMarkUpExtDto } from '../models/dealer-rate-mark-up-ext-dto';\r\nimport { DealerRateUsedDto } from '../models/dealer-rate-used-dto';\r\nimport { DealerOverAllowanceUpdateDto } from '../models/dealer-over-allowance-update-dto';\r\nimport { DealerOverAllowanceExtDto } from '../models/dealer-over-allowance-ext-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerRatesClientService extends __BaseService {\r\n static readonly GetDealerRateMarkUpsByDealeridGETPath = '/api/DealerRates/GetDealerRateMarkUps/{dealerId}';\r\n static readonly UpdateDealerUsedRatesPOSTPath = '/api/DealerRates/UpdateDealerUsedRates';\r\n static readonly DeleteAllUsedRatesByDealerIdPOSTPath = '/api/DealerRates/DeleteAllUsedRatesByDealerId';\r\n static readonly UpdateDealerOverAllowancePOSTPath = '/api/DealerRates/UpdateDealerOverAllowance';\r\n static readonly UpdateDealerRateMarkUpsPOSTPath = '/api/DealerRates/UpdateDealerRateMarkUps';\r\n static readonly GetDealerOverAllowancesByDealeridGETPath = '/api/DealerRates/GetDealerOverAllowances/{dealerId}';\r\n static readonly GetDealerUsedRatesByDealeridGETPath = '/api/DealerRates/GetDealerUsedRates/{dealerId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerRateMarkUpsByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerRates/GetDealerRateMarkUps/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerRateMarkUpsByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetDealerRateMarkUpsByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n UpdateDealerUsedRatesPOSTResponse(data?: Array): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerRates/UpdateDealerUsedRates`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n UpdateDealerUsedRatesPOST(data?: Array): __Observable {\r\n return this.UpdateDealerUsedRatesPOSTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n DeleteAllUsedRatesByDealerIdPOSTResponse(dealerId?: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = dealerId;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerRates/DeleteAllUsedRatesByDealerId`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: (_r as HttpResponse).body === 'true' }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n DeleteAllUsedRatesByDealerIdPOST(dealerId?: number): __Observable {\r\n return this.DeleteAllUsedRatesByDealerIdPOSTResponse(dealerId).pipe(\r\n __map(_r => _r.body as boolean)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n UpdateDealerOverAllowancePOSTResponse(data?: Array): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerRates/UpdateDealerOverAllowance`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n UpdateDealerOverAllowancePOST(data?: Array): __Observable {\r\n return this.UpdateDealerOverAllowancePOSTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param rates undefined\r\n */\r\n UpdateDealerRateMarkUpsPOSTResponse(rates?: Array): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = rates;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerRates/UpdateDealerRateMarkUps`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param rates undefined\r\n */\r\n UpdateDealerRateMarkUpsPOST(rates?: Array): __Observable {\r\n return this.UpdateDealerRateMarkUpsPOSTResponse(rates).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerOverAllowancesByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerRates/GetDealerOverAllowances/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerOverAllowancesByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetDealerOverAllowancesByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerUsedRatesByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerRates/GetDealerUsedRates/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerUsedRatesByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetDealerUsedRatesByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerRatesClientService {\r\n}\r\n\r\nexport { DealerRatesClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ActivityTypes = {\n logNote: 1,\n logPhoneCall: 2,\n schedulePhoneCall: 3,\n reschedulePhoneCall: 4,\n reassignPhoneCall: 5,\n completePhoneCall: 6,\n expirePhoneCall: 7,\n cancelPhoneCall: 8,\n scheduleAppointment: 9,\n rescheduleAppointment: 10,\n reassignAppointment: 11,\n completeAppointment: 12,\n expireAppointment: 13,\n cancelAppointment: 14,\n printTemplate: 15,\n printOfferLetter: 16,\n pushToCrm: 17,\n sendOneToOneEmail: 18,\n sendOneToOneMail: 19,\n sendEmailTemplate: 20,\n logCrmProspectStatus: 21,\n logCrmProspectAlert: 22,\n logCrmRemark: 23,\n logCrmShowroomRemark: 24,\n logCrmCustomerWillBeBack: 25,\n logCrmInboundCall: 26,\n logCrmOutboundCall: 27,\n logCrmInboundEmail: 28,\n logCrmOutboundEmail: 29,\n sendCrmLetter: 30,\n sendCrmTextMessage: 31,\n sendCrmReminder: 32,\n sendEmail: 33,\n emailReply: 34,\n emailReplyCustomer: 35,\n emailReplyDealer: 36,\n pandoProcess: 37,\n purlView: 38,\n purlSubmit: 39,\n websiteEngaged: 40,\n websiteLeadSubmission: 41,\n reviewProServiceRating: 42,\n reviewProSalesRating: 43,\n sentSLMEmailOffer: 44,\n textMessage: 45,\n geoAlertActive: 46,\n geoAlertCampaign: 47,\n autoAssistCommSent: 48,\n autoAssistNewHotLead: 49,\n autoAssistCustomerReplied: 50,\n geoAlertAd: 51,\n purlViewIntelMrkt: 52,\n purlSubmitIntelMrkt: 53,\n sendIntelMrktEmail: 54,\n sendIntelMrktMail: 55,\n customerPandoProcess: 56,\n facebookAdded: 57,\n facebookVerified: 58,\n autofiDigitalRetailing: 59,\n autofiDigitalRetailingCreditApp: 60,\n autofiDigitalRetailingApptSched: 61,\n crmInboundTextMessage: 62,\n crmOutboundTextMessage: 63,\n sendFordCreditMailers: 64,\n export: 65,\n appraisal: 66,\n dmsPush: 67,\n sendServiceMarketingEmail: 68,\n sendServiceMarketingMail: 69,\n sendPartnerExportMail: 70\n};\n","export const ActivityTypes = {\r\n logNote: 1,\r\n logPhoneCall: 2,\r\n schedulePhoneCall: 3,\r\n reschedulePhoneCall: 4,\r\n reassignPhoneCall: 5,\r\n completePhoneCall: 6,\r\n expirePhoneCall: 7,\r\n cancelPhoneCall: 8,\r\n scheduleAppointment: 9,\r\n rescheduleAppointment: 10,\r\n reassignAppointment: 11,\r\n completeAppointment: 12,\r\n expireAppointment: 13,\r\n cancelAppointment: 14,\r\n printTemplate: 15,\r\n printOfferLetter: 16,\r\n pushToCrm: 17,\r\n sendOneToOneEmail: 18,\r\n sendOneToOneMail: 19,\r\n sendEmailTemplate: 20,\r\n logCrmProspectStatus: 21,\r\n logCrmProspectAlert: 22,\r\n logCrmRemark: 23,\r\n logCrmShowroomRemark: 24,\r\n logCrmCustomerWillBeBack: 25,\r\n logCrmInboundCall: 26,\r\n logCrmOutboundCall: 27,\r\n logCrmInboundEmail: 28,\r\n logCrmOutboundEmail: 29,\r\n sendCrmLetter: 30,\r\n sendCrmTextMessage: 31,\r\n sendCrmReminder: 32,\r\n sendEmail: 33,\r\n emailReply: 34,\r\n emailReplyCustomer: 35,\r\n emailReplyDealer: 36,\r\n pandoProcess: 37,\r\n purlView: 38,\r\n purlSubmit: 39,\r\n websiteEngaged: 40,\r\n websiteLeadSubmission: 41,\r\n reviewProServiceRating: 42,\r\n reviewProSalesRating: 43,\r\n sentSLMEmailOffer: 44,\r\n textMessage: 45,\r\n geoAlertActive: 46,\r\n geoAlertCampaign: 47,\r\n autoAssistCommSent: 48,\r\n autoAssistNewHotLead: 49,\r\n autoAssistCustomerReplied: 50,\r\n geoAlertAd: 51,\r\n purlViewIntelMrkt: 52,\r\n purlSubmitIntelMrkt: 53,\r\n sendIntelMrktEmail: 54,\r\n sendIntelMrktMail: 55,\r\n customerPandoProcess: 56,\r\n facebookAdded: 57,\r\n facebookVerified: 58,\r\n autofiDigitalRetailing: 59,\r\n autofiDigitalRetailingCreditApp: 60,\r\n autofiDigitalRetailingApptSched: 61,\r\n crmInboundTextMessage: 62,\r\n crmOutboundTextMessage: 63,\r\n sendFordCreditMailers: 64,\r\n export: 65,\r\n appraisal: 66,\r\n dmsPush: 67,\r\n sendServiceMarketingEmail: 68,\r\n sendServiceMarketingMail: 69,\r\n sendPartnerExportMail: 70\r\n};\r\n","'use strict';\nvar $export = require('./_export');\nvar html = require('./_html');\nvar cof = require('./_cof');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nvar arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * require('./_fails')(function () {\n if (html) arraySlice.call(html);\n}), 'Array', {\n slice: function slice(begin, end) {\n var len = toLength(this.length);\n var klass = cof(this);\n end = end === undefined ? len : end;\n if (klass == 'Array') return arraySlice.call(this, begin, end);\n var start = toAbsoluteIndex(begin, len);\n var upTo = toAbsoluteIndex(end, len);\n var size = toLength(upTo - start);\n var cloned = new Array(size);\n var i = 0;\n for (; i < size; i++) cloned[i] = klass == 'String'\n ? this.charAt(start + i)\n : this[start + i];\n return cloned;\n }\n});\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar ActivityClientService = /** @class */ (function (_super) {\n __extends(ActivityClientService, _super);\n function ActivityClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param request undefined\n */\n ActivityClientService.prototype.RunActivityRulePOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Activity/RunActivityRule\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n ActivityClientService.prototype.RunActivityRulePOST = function (request) {\n return this.RunActivityRulePOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param submission undefined\n * @return Success\n */\n ActivityClientService.prototype.SubmitActionPOSTResponse = function (submission) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = submission;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Activity/SubmitAction\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param submission undefined\n * @return Success\n */\n ActivityClientService.prototype.SubmitActionPOST = function (submission) {\n return this.SubmitActionPOSTResponse(submission).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ActivityClientService.GetAgendaItemsGETParams` containing the following parameters:\n *\n * - `take`:\n *\n * - `flushCache`:\n *\n * @return Success\n */\n ActivityClientService.prototype.GetAgendaItemsGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.take != null)\n __params = __params.set('take', params.take.toString());\n if (params.flushCache != null)\n __params = __params.set('flushCache', params.flushCache.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Activity/GetAgendaItems\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ActivityClientService.GetAgendaItemsGETParams` containing the following parameters:\n *\n * - `take`:\n *\n * - `flushCache`:\n *\n * @return Success\n */\n ActivityClientService.prototype.GetAgendaItemsGET = function (params) {\n return this.GetAgendaItemsGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ActivityClientService.GetAgendaItemsWithEntityDataGETParams` containing the following parameters:\n *\n * - `viewAllUsers`:\n *\n * - `take`:\n *\n * - `dateTo`:\n *\n * - `dateFrom`:\n *\n * - `activityTypes`:\n *\n * @return Success\n */\n ActivityClientService.prototype.GetAgendaItemsWithEntityDataGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.viewAllUsers != null)\n __params = __params.set('viewAllUsers', params.viewAllUsers.toString());\n if (params.take != null)\n __params = __params.set('take', params.take.toString());\n if (params.dateTo != null)\n __params = __params.set('dateTo', params.dateTo.toString());\n if (params.dateFrom != null)\n __params = __params.set('dateFrom', params.dateFrom.toString());\n (params.activityTypes || []).forEach(function (val) { if (val != null)\n __params = __params.append('activityTypes', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Activity/GetAgendaItemsWithEntityData\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ActivityClientService.GetAgendaItemsWithEntityDataGETParams` containing the following parameters:\n *\n * - `viewAllUsers`:\n *\n * - `take`:\n *\n * - `dateTo`:\n *\n * - `dateFrom`:\n *\n * - `activityTypes`:\n *\n * @return Success\n */\n ActivityClientService.prototype.GetAgendaItemsWithEntityDataGET = function (params) {\n return this.GetAgendaItemsWithEntityDataGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ActivityClientService.GetActivitiesForEntityPOSTParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `activityTypes`:\n *\n * - `activityStatuses`:\n */\n ActivityClientService.prototype.GetActivitiesForEntityPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.entityId != null)\n __params = __params.set('entityId', params.entityId.toString());\n (params.activityTypes || []).forEach(function (val) { if (val != null)\n __params = __params.append('activityTypes', val.toString()); });\n (params.activityStatuses || []).forEach(function (val) { if (val != null)\n __params = __params.append('activityStatuses', val.toString()); });\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Activity/GetActivitiesForEntity\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ActivityClientService.GetActivitiesForEntityPOSTParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `activityTypes`:\n *\n * - `activityStatuses`:\n */\n ActivityClientService.prototype.GetActivitiesForEntityPOST = function (params) {\n return this.GetActivitiesForEntityPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n ActivityClientService.prototype.GetNewActivityNotificationsByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Activity/GetNewActivityNotifications/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n ActivityClientService.prototype.GetNewActivityNotificationsByEntityidGET = function (entityId) {\n return this.GetNewActivityNotificationsByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n ActivityClientService.prototype.AddUpgradeProposalActivityNotePOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Activity/UpgradeProposal\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n ActivityClientService.prototype.AddUpgradeProposalActivityNotePOST = function (request) {\n return this.AddUpgradeProposalActivityNotePOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n ActivityClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Activity/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n ActivityClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n ActivityClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Activity/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n ActivityClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n ActivityClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Activity/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n ActivityClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n ActivityClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Activity\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n ActivityClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n ActivityClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Activity\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n ActivityClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n ActivityClientService.RunActivityRulePOSTPath = '/api/Activity/RunActivityRule';\n ActivityClientService.SubmitActionPOSTPath = '/api/Activity/SubmitAction';\n ActivityClientService.GetAgendaItemsGETPath = '/api/Activity/GetAgendaItems';\n ActivityClientService.GetAgendaItemsWithEntityDataGETPath = '/api/Activity/GetAgendaItemsWithEntityData';\n ActivityClientService.GetActivitiesForEntityPOSTPath = '/api/Activity/GetActivitiesForEntity';\n ActivityClientService.GetNewActivityNotificationsByEntityidGETPath = '/api/Activity/GetNewActivityNotifications/{entityId}';\n ActivityClientService.AddUpgradeProposalActivityNotePOSTPath = '/api/Activity/UpgradeProposal';\n ActivityClientService.ByIdGETPath = '/api/Activity/{id}';\n ActivityClientService.ByIdDELETEPath = '/api/Activity/{id}';\n ActivityClientService.GetManyGETPath = '/api/Activity/GetMany';\n ActivityClientService.PUTPath = '/api/Activity';\n ActivityClientService.POSTPath = '/api/Activity';\n ActivityClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ActivityClientService_Factory() { return new ActivityClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: ActivityClientService, providedIn: \"root\" });\n return ActivityClientService;\n}(base_service_1.BaseService));\nexports.ActivityClientService = ActivityClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { ActivityActionTargetEntityRequest } from '../models/activity-action-target-entity-request';\r\nimport { ActivityActionResponseModel } from '../models/activity-action-response-model';\r\nimport { ActivityActionSubmissionModel } from '../models/activity-action-submission-model';\r\nimport { ActivityExtendedWithVwSearchDto } from '../models/activity-extended-with-vw-search-dto';\r\nimport { ActivityWithEntityDto } from '../models/activity-with-entity-dto';\r\nimport { UpgradeProposalActivityRequest } from '../models/upgrade-proposal-activity-request';\r\nimport { ActivityDto } from '../models/activity-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass ActivityClientService extends __BaseService {\r\n static readonly RunActivityRulePOSTPath = '/api/Activity/RunActivityRule';\r\n static readonly SubmitActionPOSTPath = '/api/Activity/SubmitAction';\r\n static readonly GetAgendaItemsGETPath = '/api/Activity/GetAgendaItems';\r\n static readonly GetAgendaItemsWithEntityDataGETPath = '/api/Activity/GetAgendaItemsWithEntityData';\r\n static readonly GetActivitiesForEntityPOSTPath = '/api/Activity/GetActivitiesForEntity';\r\n static readonly GetNewActivityNotificationsByEntityidGETPath = '/api/Activity/GetNewActivityNotifications/{entityId}';\r\n static readonly AddUpgradeProposalActivityNotePOSTPath = '/api/Activity/UpgradeProposal';\r\n static readonly ByIdGETPath = '/api/Activity/{id}';\r\n static readonly ByIdDELETEPath = '/api/Activity/{id}';\r\n static readonly GetManyGETPath = '/api/Activity/GetMany';\r\n static readonly PUTPath = '/api/Activity';\r\n static readonly POSTPath = '/api/Activity';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n RunActivityRulePOSTResponse(request?: ActivityActionTargetEntityRequest): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Activity/RunActivityRule`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n RunActivityRulePOST(request?: ActivityActionTargetEntityRequest): __Observable {\r\n return this.RunActivityRulePOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param submission undefined\r\n * @return Success\r\n */\r\n SubmitActionPOSTResponse(submission?: ActivityActionSubmissionModel): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = submission;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Activity/SubmitAction`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param submission undefined\r\n * @return Success\r\n */\r\n SubmitActionPOST(submission?: ActivityActionSubmissionModel): __Observable {\r\n return this.SubmitActionPOSTResponse(submission).pipe(\r\n __map(_r => _r.body as ActivityActionResponseModel)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ActivityClientService.GetAgendaItemsGETParams` containing the following parameters:\r\n *\r\n * - `take`:\r\n *\r\n * - `flushCache`:\r\n *\r\n * @return Success\r\n */\r\n GetAgendaItemsGETResponse(params: ActivityClientService.GetAgendaItemsGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.take != null) __params = __params.set('take', params.take.toString());\r\n if (params.flushCache != null) __params = __params.set('flushCache', params.flushCache.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Activity/GetAgendaItems`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ActivityClientService.GetAgendaItemsGETParams` containing the following parameters:\r\n *\r\n * - `take`:\r\n *\r\n * - `flushCache`:\r\n *\r\n * @return Success\r\n */\r\n GetAgendaItemsGET(params: ActivityClientService.GetAgendaItemsGETParams): __Observable> {\r\n return this.GetAgendaItemsGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ActivityClientService.GetAgendaItemsWithEntityDataGETParams` containing the following parameters:\r\n *\r\n * - `viewAllUsers`:\r\n *\r\n * - `take`:\r\n *\r\n * - `dateTo`:\r\n *\r\n * - `dateFrom`:\r\n *\r\n * - `activityTypes`:\r\n *\r\n * @return Success\r\n */\r\n GetAgendaItemsWithEntityDataGETResponse(params: ActivityClientService.GetAgendaItemsWithEntityDataGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.viewAllUsers != null) __params = __params.set('viewAllUsers', params.viewAllUsers.toString());\r\n if (params.take != null) __params = __params.set('take', params.take.toString());\r\n if (params.dateTo != null) __params = __params.set('dateTo', params.dateTo.toString());\r\n if (params.dateFrom != null) __params = __params.set('dateFrom', params.dateFrom.toString());\r\n (params.activityTypes || []).forEach(val => {if (val != null) __params = __params.append('activityTypes', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Activity/GetAgendaItemsWithEntityData`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ActivityClientService.GetAgendaItemsWithEntityDataGETParams` containing the following parameters:\r\n *\r\n * - `viewAllUsers`:\r\n *\r\n * - `take`:\r\n *\r\n * - `dateTo`:\r\n *\r\n * - `dateFrom`:\r\n *\r\n * - `activityTypes`:\r\n *\r\n * @return Success\r\n */\r\n GetAgendaItemsWithEntityDataGET(params: ActivityClientService.GetAgendaItemsWithEntityDataGETParams): __Observable> {\r\n return this.GetAgendaItemsWithEntityDataGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ActivityClientService.GetActivitiesForEntityPOSTParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `activityTypes`:\r\n *\r\n * - `activityStatuses`:\r\n */\r\n GetActivitiesForEntityPOSTResponse(params: ActivityClientService.GetActivitiesForEntityPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.entityId != null) __params = __params.set('entityId', params.entityId.toString());\r\n (params.activityTypes || []).forEach(val => {if (val != null) __params = __params.append('activityTypes', val.toString())});\r\n (params.activityStatuses || []).forEach(val => {if (val != null) __params = __params.append('activityStatuses', val.toString())});\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Activity/GetActivitiesForEntity`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ActivityClientService.GetActivitiesForEntityPOSTParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `activityTypes`:\r\n *\r\n * - `activityStatuses`:\r\n */\r\n GetActivitiesForEntityPOST(params: ActivityClientService.GetActivitiesForEntityPOSTParams): __Observable {\r\n return this.GetActivitiesForEntityPOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetNewActivityNotificationsByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Activity/GetNewActivityNotifications/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetNewActivityNotificationsByEntityidGET(entityId: string): __Observable {\r\n return this.GetNewActivityNotificationsByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n AddUpgradeProposalActivityNotePOSTResponse(request?: UpgradeProposalActivityRequest): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Activity/UpgradeProposal`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n AddUpgradeProposalActivityNotePOST(request?: UpgradeProposalActivityRequest): __Observable {\r\n return this.AddUpgradeProposalActivityNotePOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Activity/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as ActivityDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Activity/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Activity/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: ActivityDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Activity`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: ActivityDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: ActivityDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Activity`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: ActivityDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as ActivityDto)\r\n );\r\n }\r\n}\r\n\r\nmodule ActivityClientService {\r\n\r\n /**\r\n * Parameters for GetAgendaItemsGET\r\n */\r\n export interface GetAgendaItemsGETParams {\r\n take?: number;\r\n flushCache?: boolean;\r\n }\r\n\r\n /**\r\n * Parameters for GetAgendaItemsWithEntityDataGET\r\n */\r\n export interface GetAgendaItemsWithEntityDataGETParams {\r\n viewAllUsers?: boolean;\r\n take?: number;\r\n dateTo?: string;\r\n dateFrom?: string;\r\n activityTypes?: Array<1 | 2 | 3 | 4 | 5 | 6>;\r\n }\r\n\r\n /**\r\n * Parameters for GetActivitiesForEntityPOST\r\n */\r\n export interface GetActivitiesForEntityPOSTParams {\r\n entityId?: string;\r\n activityTypes?: Array;\r\n activityStatuses?: Array;\r\n }\r\n}\r\n\r\nexport { ActivityClientService }\r\n","var path = '/app/components/deal-sheet/modals/credit-pre-approval-modal.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"../tooltip.component.ngfactory\"));\nvar i4 = __importStar(require(\"../tooltip.component\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./admin-settings-opportunity.component\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i9 = __importStar(require(\"../../services/user.service\"));\nvar i10 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar styles_AdminSettingsOpportunityComponent = [];\nvar RenderType_AdminSettingsOpportunityComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsOpportunityComponent, data: {} });\nexports.RenderType_AdminSettingsOpportunityComponent = RenderType_AdminSettingsOpportunityComponent;\nfunction View_AdminSettingsOpportunityComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 20, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"downgradeVehicles\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.MultiVehReplLeaseDowngradeTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.multiVehReplLeaseDowngradeTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(5, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(6, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(8, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(10, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"])), (_l()(), i0.ɵeld(12, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.MultiVehReplRetailDowngradeTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 14)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 14).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 14)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 14)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 15).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 15).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 15).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.multiVehReplRetailDowngradeTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(14, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(15, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(17, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(19, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"downgradeVehicles\"; _ck(_v, 2, 0, currVal_0); var currVal_8 = \"DealerSetting.MultiVehReplLeaseDowngradeTolerance\"; var currVal_9 = _co.dsa.dealerSetting.multiVehReplLeaseDowngradeTolerance; _ck(_v, 8, 0, currVal_8, currVal_9); var currVal_17 = \"DealerSetting.MultiVehReplRetailDowngradeTolerance\"; var currVal_18 = _co.dsa.dealerSetting.multiVehReplRetailDowngradeTolerance; _ck(_v, 17, 0, currVal_17, currVal_18); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 10).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 10).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 10).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 10).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 10).ngClassValid; var currVal_6 = i0.ɵnov(_v, 10).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 10).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_10 = i0.ɵnov(_v, 19).ngClassUntouched; var currVal_11 = i0.ɵnov(_v, 19).ngClassTouched; var currVal_12 = i0.ɵnov(_v, 19).ngClassPristine; var currVal_13 = i0.ɵnov(_v, 19).ngClassDirty; var currVal_14 = i0.ɵnov(_v, 19).ngClassValid; var currVal_15 = i0.ɵnov(_v, 19).ngClassInvalid; var currVal_16 = i0.ɵnov(_v, 19).ngClassPending; _ck(_v, 13, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); }); }\nfunction View_AdminSettingsOpportunityComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 56, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_multiVehicleReplacementOffersTolerances\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 9).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 9).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.enableMultiVehReplTolerances = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(9, 16384, null, 0, i2.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i0.ɵdid(11, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(13, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(14, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 7, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 0, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"span\", [[\"class\", \"bold\"], [\"translate\", \"lease\"]], null, null, null, null, null)), i0.ɵdid(20, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(21, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2 bold\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(22, 0, null, null, 1, \"span\", [[\"class\", \"bold\"], [\"translate\", \"retail\"]], null, null, null, null, null)), i0.ɵdid(23, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(24, 0, null, null, 30, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(25, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"upgradeVehicles\"]], null, null, null, null, null)), i0.ɵdid(26, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(27, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(28, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.MultiVehReplLeaseUpgradeTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 29)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 29).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 29)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 29)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 30).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 30).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 30).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.multiVehReplLeaseUpgradeTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(29, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(30, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(32, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(34, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"])), (_l()(), i0.ɵeld(36, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(37, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.MultiVehReplRetailUpgradeTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 38)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 38).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 38)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 38)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 39).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 39).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 39).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.multiVehReplRetailUpgradeTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(38, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(39, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(41, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(43, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"])), (_l()(), i0.ɵeld(45, 0, null, null, 9, \"div\", [[\"class\", \"col-md-4\"]], null, null, null, null, null)), (_l()(), i0.ɵted(46, null, [\" \", \" $ \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(48, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerSetting.UpgradeVehiclePaymentIncrease\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 49)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 49).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 49)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 49)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 50).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 50).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 50).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.upgradeVehiclePaymentIncrease = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(49, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(50, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(52, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(54, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsOpportunityComponent_2)), i0.ɵdid(56, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_multiVehicleReplacementOffersTolerances\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_multiVehicleReplacementOffersTolerances\"; var currVal_2 = \"dsAdmin_multiVehicleReplacementOffersTolerancesTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_10 = _co.dsa.isFordAlert; var currVal_11 = _co.dsa.dealerSetting.enableMultiVehReplTolerances; _ck(_v, 11, 0, currVal_10, currVal_11); var currVal_13 = \"lease\"; _ck(_v, 20, 0, currVal_13); var currVal_14 = \"retail\"; _ck(_v, 23, 0, currVal_14); var currVal_15 = \"upgradeVehicles\"; _ck(_v, 26, 0, currVal_15); var currVal_23 = \"DealerSetting.MultiVehReplLeaseUpgradeTolerance\"; var currVal_24 = _co.dsa.isFordAlert; var currVal_25 = _co.dsa.dealerSetting.multiVehReplLeaseUpgradeTolerance; _ck(_v, 32, 0, currVal_23, currVal_24, currVal_25); var currVal_33 = \"DealerSetting.MultiVehReplRetailUpgradeTolerance\"; var currVal_34 = _co.dsa.isFordAlert; var currVal_35 = _co.dsa.dealerSetting.multiVehReplRetailUpgradeTolerance; _ck(_v, 41, 0, currVal_33, currVal_34, currVal_35); var currVal_44 = \"DealerSetting.UpgradeVehiclePaymentIncrease\"; var currVal_45 = _co.dsa.isFordAlert; var currVal_46 = _co.dsa.dealerSetting.upgradeVehiclePaymentIncrease; _ck(_v, 52, 0, currVal_44, currVal_45, currVal_46); var currVal_47 = !_co.dsa.isFordAlert; _ck(_v, 56, 0, currVal_47); }, function (_ck, _v) { var currVal_3 = i0.ɵnov(_v, 13).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 13).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 13).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 13).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 13).ngClassValid; var currVal_8 = i0.ɵnov(_v, 13).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 13).ngClassPending; _ck(_v, 8, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_12 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"dsAdmin_enableMultiVehicleReplacementOffers\")); _ck(_v, 14, 0, currVal_12); var currVal_16 = i0.ɵnov(_v, 34).ngClassUntouched; var currVal_17 = i0.ɵnov(_v, 34).ngClassTouched; var currVal_18 = i0.ɵnov(_v, 34).ngClassPristine; var currVal_19 = i0.ɵnov(_v, 34).ngClassDirty; var currVal_20 = i0.ɵnov(_v, 34).ngClassValid; var currVal_21 = i0.ɵnov(_v, 34).ngClassInvalid; var currVal_22 = i0.ɵnov(_v, 34).ngClassPending; _ck(_v, 28, 0, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22); var currVal_26 = i0.ɵnov(_v, 43).ngClassUntouched; var currVal_27 = i0.ɵnov(_v, 43).ngClassTouched; var currVal_28 = i0.ɵnov(_v, 43).ngClassPristine; var currVal_29 = i0.ɵnov(_v, 43).ngClassDirty; var currVal_30 = i0.ɵnov(_v, 43).ngClassValid; var currVal_31 = i0.ɵnov(_v, 43).ngClassInvalid; var currVal_32 = i0.ɵnov(_v, 43).ngClassPending; _ck(_v, 37, 0, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32); var currVal_36 = i0.ɵunv(_v, 46, 0, i0.ɵnov(_v, 47).transform(\"dsAdmin_leaseRetailpaymentNotToExceed\")); _ck(_v, 46, 0, currVal_36); var currVal_37 = i0.ɵnov(_v, 54).ngClassUntouched; var currVal_38 = i0.ɵnov(_v, 54).ngClassTouched; var currVal_39 = i0.ɵnov(_v, 54).ngClassPristine; var currVal_40 = i0.ɵnov(_v, 54).ngClassDirty; var currVal_41 = i0.ɵnov(_v, 54).ngClassValid; var currVal_42 = i0.ɵnov(_v, 54).ngClassInvalid; var currVal_43 = i0.ɵnov(_v, 54).ngClassPending; _ck(_v, 48, 0, currVal_37, currVal_38, currVal_39, currVal_40, currVal_41, currVal_42, currVal_43); }); }\nfunction View_AdminSettingsOpportunityComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_serviceAlertExpiration\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 9, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.ServiceAlertWindow\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.serviceAlertWindow = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(5, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(6, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(8, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(10, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(11, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_serviceAlertExpiration\"; _ck(_v, 2, 0, currVal_0); var currVal_8 = \"DealerSetting.ServiceAlertWindow\"; var currVal_9 = _co.dsa.dealerSetting.serviceAlertWindow; _ck(_v, 8, 0, currVal_8, currVal_9); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 10).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 10).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 10).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 10).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 10).ngClassValid; var currVal_6 = i0.ɵnov(_v, 10).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 10).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_10 = i0.ɵunv(_v, 11, 0, i0.ɵnov(_v, 12).transform(\"days\")).toLowerCase(); _ck(_v, 11, 0, currVal_10); }); }\nfunction View_AdminSettingsOpportunityComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 181, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 180, \"div\", [[\"class\", \"col-md-11\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_alertTolerances\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 0, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"span\", [[\"class\", \"bold\"], [\"translate\", \"lease\"]], null, null, null, null, null)), i0.ɵdid(10, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"col-md-2 bold\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"span\", [[\"class\", \"bold\"], [\"translate\", \"retail\"]], null, null, null, null, null)), i0.ɵdid(13, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵted(-1, null, [\"Retail\"])), (_l()(), i0.ɵeld(15, 0, null, null, 58, \"div\", [], [[8, \"title\", 0]], null, null, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(17, 0, null, null, 20, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_alertsTolerance\"]], null, null, null, null, null)), i0.ɵdid(19, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(21, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.LeaseAlertTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 22)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 22).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 22)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 22)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 23).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 23).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 23).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.leaseAlertTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(22, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(23, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(25, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(27, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"])), (_l()(), i0.ɵeld(29, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(30, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.RetailAlertTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 31)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 31).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 31)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 31)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 32).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 32).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 32).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.retailAlertTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(31, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(32, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(34, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(36, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"])), (_l()(), i0.ɵeld(38, 0, null, null, 20, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(39, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_flexAlertsTolerance\"]], null, null, null, null, null)), i0.ɵdid(40, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(41, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(42, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.LeaseFlexAlertTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 43)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 43).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 43)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 43)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 44).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 44).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 44).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.leaseFlexAlertTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(43, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(44, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(46, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(48, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"])), (_l()(), i0.ɵeld(50, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(51, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.RetailFlexAlertTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 52)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 52).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 52)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 52)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 53).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 53).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 53).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.retailFlexAlertTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(52, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(53, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(55, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(57, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"])), (_l()(), i0.ɵeld(59, 0, null, null, 12, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(60, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_flexMonthTolerance\"]], null, null, null, null, null)), i0.ɵdid(61, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(62, 0, null, null, 9, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(63, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.FlexMonthsTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 64)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 64).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 64)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 64)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 65).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 65).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 65).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.flexMonthsTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(64, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(65, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(67, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(69, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(70, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsOpportunityComponent_1)), i0.ɵdid(73, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(74, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(75, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle below\"], [\"translate\", \"dsAdmin_ContractEndRangeInMonths\"]], null, null, null, null, null)), i0.ɵdid(76, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(77, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(78, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(79, 0, null, null, 21, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(80, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"lease\"]], null, null, null, null, null)), i0.ɵdid(81, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(82, 0, null, null, 18, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(83, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.LeaseContractEndRangeFrom\"], [\"type\", \"number\"]], [[2, \"invalid\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 84)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 84).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 84)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 84)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 85).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 85).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 85).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.leaseContractEndRangeFrom = $event) !== false);\n ad = (pd_7 && ad);\n } if ((\"change\" === en)) {\n var pd_8 = (_co.validateContractEndRange() !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i0.ɵdid(84, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(85, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(87, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(89, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(90, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(92, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.LeaseContractEndRangeTo\"], [\"type\", \"number\"]], [[2, \"invalid\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 93)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 93).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 93)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 93)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 94).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 94).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 94).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.leaseContractEndRangeTo = $event) !== false);\n ad = (pd_7 && ad);\n } if ((\"change\" === en)) {\n var pd_8 = (_co.validateContractEndRange() !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i0.ɵdid(93, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(94, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(96, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(98, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(99, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(101, 0, null, null, 21, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(102, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"retail\"]], null, null, null, null, null)), i0.ɵdid(103, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(104, 0, null, null, 18, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(105, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.PurchaseContractEndRangeFrom\"], [\"type\", \"number\"]], [[2, \"invalid\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 106)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 106).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 106)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 106)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 107).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 107).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 107).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.purchaseContractEndRangeFrom = $event) !== false);\n ad = (pd_7 && ad);\n } if ((\"change\" === en)) {\n var pd_8 = (_co.validateContractEndRange() !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i0.ɵdid(106, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(107, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(109, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(111, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(112, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(114, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.PurchaseContractEndTo\"], [\"type\", \"number\"]], [[2, \"invalid\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 115)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 115).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 115)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 115)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 116).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 116).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 116).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.purchaseContractEndTo = $event) !== false);\n ad = (pd_7 && ad);\n } if ((\"change\" === en)) {\n var pd_8 = (_co.validateContractEndRange() !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i0.ɵdid(115, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(116, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(118, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(120, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(121, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(123, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(124, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle below\"], [\"translate\", \"dsAdmin_mileageWarrantyServiceAlerts\"]], null, null, null, null, null)), i0.ɵdid(125, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(126, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(127, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsOpportunityComponent_3)), i0.ɵdid(129, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(130, 0, null, null, 10, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(131, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_mileagePenalty\"]], null, null, null, null, null)), i0.ɵdid(132, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(133, 0, null, null, 7, \"div\", [[\"class\", \"col-md-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(134, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.LeaseEstimatedPenaltyTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 135)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 135).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 135)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 135)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 136).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 136).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 136).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.leaseEstimatedPenaltyTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(135, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(136, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(138, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(140, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵeld(141, 0, null, null, 22, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(142, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"WarrantyRemaining\"]], null, null, null, null, null)), i0.ɵdid(143, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(144, 0, null, null, 19, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(145, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerSetting.WarrantyMilesRemainingTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 146)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 146).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 146)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 146)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 147).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 147).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 147).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.warrantyMilesRemainingTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(146, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(147, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(149, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(151, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(152, null, [\" \", \" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(155, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.WarrantyMonthsRemainingTolerance\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 156)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 156).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 156)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 156)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 157).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 157).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 157).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.warrantyMonthsRemainingTolerance = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(156, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(157, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(159, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(161, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(162, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(164, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(165, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle below\"], [\"translate\", \"dsAdmin_markOpportunitiesUnread\"]], null, null, null, null, null)), i0.ɵdid(166, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(167, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(168, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(169, 0, null, null, 12, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(170, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_markOpportunitiesUnreadAfter\"]], null, null, null, null, null)), i0.ɵdid(171, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(172, 0, null, null, 9, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(173, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.DaysToMarkAsUnread\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 174)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 174).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 174)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 174)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 175).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 175).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 175).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.daysToMarkAsUnread = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(174, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(175, 16384, null, 0, i2.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i0.ɵdid(177, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(179, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵted(180, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_alertTolerances\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_alertTolerances\"; var currVal_2 = \"dsAdmin_alertTolerancesTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = \"lease\"; _ck(_v, 10, 0, currVal_3); var currVal_4 = \"retail\"; _ck(_v, 13, 0, currVal_4); var currVal_6 = \"dsAdmin_alertsTolerance\"; _ck(_v, 19, 0, currVal_6); var currVal_14 = \"DealerSetting.LeaseAlertTolerance\"; var currVal_15 = _co.dsa.isFordAlert; var currVal_16 = _co.dsa.dealerSetting.leaseAlertTolerance; _ck(_v, 25, 0, currVal_14, currVal_15, currVal_16); var currVal_24 = \"DealerSetting.RetailAlertTolerance\"; var currVal_25 = _co.dsa.isFordAlert; var currVal_26 = _co.dsa.dealerSetting.retailAlertTolerance; _ck(_v, 34, 0, currVal_24, currVal_25, currVal_26); var currVal_27 = \"dsAdmin_flexAlertsTolerance\"; _ck(_v, 40, 0, currVal_27); var currVal_35 = \"DealerSetting.LeaseFlexAlertTolerance\"; var currVal_36 = _co.dsa.isFordAlert; var currVal_37 = _co.dsa.dealerSetting.leaseFlexAlertTolerance; _ck(_v, 46, 0, currVal_35, currVal_36, currVal_37); var currVal_45 = \"DealerSetting.RetailFlexAlertTolerance\"; var currVal_46 = _co.dsa.isFordAlert; var currVal_47 = _co.dsa.dealerSetting.retailFlexAlertTolerance; _ck(_v, 55, 0, currVal_45, currVal_46, currVal_47); var currVal_48 = \"dsAdmin_flexMonthTolerance\"; _ck(_v, 61, 0, currVal_48); var currVal_56 = \"DealerSetting.FlexMonthsTolerance\"; var currVal_57 = _co.dsa.isFordAlert; var currVal_58 = _co.dsa.dealerSetting.flexMonthsTolerance; _ck(_v, 67, 0, currVal_56, currVal_57, currVal_58); var currVal_60 = (!_co.dsa.isFordLincolnDealer || (_co.dsa.isFordAlert && _co.dsa.isUSADealer)); _ck(_v, 73, 0, currVal_60); var currVal_61 = \"dsAdmin_ContractEndRangeInMonths\"; _ck(_v, 76, 0, currVal_61); var currVal_62 = \"dsAdmin_ContractEndRangeInMonths\"; var currVal_63 = \"dsAdmin_ContractEndRangeInMonthsTooltip\"; _ck(_v, 78, 0, currVal_62, currVal_63); var currVal_64 = \"lease\"; _ck(_v, 81, 0, currVal_64); var currVal_73 = \"DealerSetting.LeaseContractEndRangeFrom\"; var currVal_74 = _co.dsa.dealerSetting.leaseContractEndRangeFrom; _ck(_v, 87, 0, currVal_73, currVal_74); var currVal_84 = \"DealerSetting.LeaseContractEndRangeTo\"; var currVal_85 = _co.dsa.dealerSetting.leaseContractEndRangeTo; _ck(_v, 96, 0, currVal_84, currVal_85); var currVal_87 = \"retail\"; _ck(_v, 103, 0, currVal_87); var currVal_96 = \"DealerSetting.PurchaseContractEndRangeFrom\"; var currVal_97 = _co.dsa.dealerSetting.purchaseContractEndRangeFrom; _ck(_v, 109, 0, currVal_96, currVal_97); var currVal_107 = \"DealerSetting.PurchaseContractEndTo\"; var currVal_108 = _co.dsa.dealerSetting.purchaseContractEndTo; _ck(_v, 118, 0, currVal_107, currVal_108); var currVal_110 = \"dsAdmin_mileageWarrantyServiceAlerts\"; _ck(_v, 125, 0, currVal_110); var currVal_111 = \"dsAdmin_mileageWarrantyServiceAlerts\"; var currVal_112 = \"dsAdmin_mileageWarrantyServiceAlertsTooltip\"; _ck(_v, 127, 0, currVal_111, currVal_112); var currVal_113 = (_co.dsa.dealerSetting.productID !== _co.productTypes.serviceDriveOnly); _ck(_v, 129, 0, currVal_113); var currVal_114 = \"dsAdmin_mileagePenalty\"; _ck(_v, 132, 0, currVal_114); var currVal_122 = \"DealerSetting.LeaseEstimatedPenaltyTolerance\"; var currVal_123 = _co.dsa.dealerSetting.leaseEstimatedPenaltyTolerance; _ck(_v, 138, 0, currVal_122, currVal_123); var currVal_124 = \"WarrantyRemaining\"; _ck(_v, 143, 0, currVal_124); var currVal_132 = \"DealerSetting.WarrantyMilesRemainingTolerance\"; var currVal_133 = _co.dsa.dealerSetting.warrantyMilesRemainingTolerance; _ck(_v, 149, 0, currVal_132, currVal_133); var currVal_143 = \"DealerSetting.WarrantyMonthsRemainingTolerance\"; var currVal_144 = _co.dsa.dealerSetting.warrantyMonthsRemainingTolerance; _ck(_v, 159, 0, currVal_143, currVal_144); var currVal_146 = \"dsAdmin_markOpportunitiesUnread\"; _ck(_v, 166, 0, currVal_146); var currVal_147 = \"dsAdmin_markOpportunitiesUnread\"; var currVal_148 = \"dsAdmin_markOpportunitiesUnreadTooltip\"; _ck(_v, 168, 0, currVal_147, currVal_148); var currVal_149 = \"dsAdmin_markOpportunitiesUnreadAfter\"; _ck(_v, 171, 0, currVal_149); var currVal_157 = \"DealerSetting.DaysToMarkAsUnread\"; var currVal_158 = _co.dsa.dealerSetting.daysToMarkAsUnread; _ck(_v, 177, 0, currVal_157, currVal_158); }, function (_ck, _v) { var _co = _v.component; var currVal_5 = (_co.dsa.isFordAlert ? i0.ɵunv(_v, 15, 0, i0.ɵnov(_v, 16).transform(\"dsAdmin_valueSetByFormProgram\")) : \"\"); _ck(_v, 15, 0, currVal_5); var currVal_7 = i0.ɵnov(_v, 27).ngClassUntouched; var currVal_8 = i0.ɵnov(_v, 27).ngClassTouched; var currVal_9 = i0.ɵnov(_v, 27).ngClassPristine; var currVal_10 = i0.ɵnov(_v, 27).ngClassDirty; var currVal_11 = i0.ɵnov(_v, 27).ngClassValid; var currVal_12 = i0.ɵnov(_v, 27).ngClassInvalid; var currVal_13 = i0.ɵnov(_v, 27).ngClassPending; _ck(_v, 21, 0, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13); var currVal_17 = i0.ɵnov(_v, 36).ngClassUntouched; var currVal_18 = i0.ɵnov(_v, 36).ngClassTouched; var currVal_19 = i0.ɵnov(_v, 36).ngClassPristine; var currVal_20 = i0.ɵnov(_v, 36).ngClassDirty; var currVal_21 = i0.ɵnov(_v, 36).ngClassValid; var currVal_22 = i0.ɵnov(_v, 36).ngClassInvalid; var currVal_23 = i0.ɵnov(_v, 36).ngClassPending; _ck(_v, 30, 0, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23); var currVal_28 = i0.ɵnov(_v, 48).ngClassUntouched; var currVal_29 = i0.ɵnov(_v, 48).ngClassTouched; var currVal_30 = i0.ɵnov(_v, 48).ngClassPristine; var currVal_31 = i0.ɵnov(_v, 48).ngClassDirty; var currVal_32 = i0.ɵnov(_v, 48).ngClassValid; var currVal_33 = i0.ɵnov(_v, 48).ngClassInvalid; var currVal_34 = i0.ɵnov(_v, 48).ngClassPending; _ck(_v, 42, 0, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34); var currVal_38 = i0.ɵnov(_v, 57).ngClassUntouched; var currVal_39 = i0.ɵnov(_v, 57).ngClassTouched; var currVal_40 = i0.ɵnov(_v, 57).ngClassPristine; var currVal_41 = i0.ɵnov(_v, 57).ngClassDirty; var currVal_42 = i0.ɵnov(_v, 57).ngClassValid; var currVal_43 = i0.ɵnov(_v, 57).ngClassInvalid; var currVal_44 = i0.ɵnov(_v, 57).ngClassPending; _ck(_v, 51, 0, currVal_38, currVal_39, currVal_40, currVal_41, currVal_42, currVal_43, currVal_44); var currVal_49 = i0.ɵnov(_v, 69).ngClassUntouched; var currVal_50 = i0.ɵnov(_v, 69).ngClassTouched; var currVal_51 = i0.ɵnov(_v, 69).ngClassPristine; var currVal_52 = i0.ɵnov(_v, 69).ngClassDirty; var currVal_53 = i0.ɵnov(_v, 69).ngClassValid; var currVal_54 = i0.ɵnov(_v, 69).ngClassInvalid; var currVal_55 = i0.ɵnov(_v, 69).ngClassPending; _ck(_v, 63, 0, currVal_49, currVal_50, currVal_51, currVal_52, currVal_53, currVal_54, currVal_55); var currVal_59 = i0.ɵunv(_v, 70, 0, i0.ɵnov(_v, 71).transform(\"Months\")).toLowerCase(); _ck(_v, 70, 0, currVal_59); var currVal_65 = !_co.leaseContractEndRangeValid; var currVal_66 = i0.ɵnov(_v, 89).ngClassUntouched; var currVal_67 = i0.ɵnov(_v, 89).ngClassTouched; var currVal_68 = i0.ɵnov(_v, 89).ngClassPristine; var currVal_69 = i0.ɵnov(_v, 89).ngClassDirty; var currVal_70 = i0.ɵnov(_v, 89).ngClassValid; var currVal_71 = i0.ɵnov(_v, 89).ngClassInvalid; var currVal_72 = i0.ɵnov(_v, 89).ngClassPending; _ck(_v, 83, 0, currVal_65, currVal_66, currVal_67, currVal_68, currVal_69, currVal_70, currVal_71, currVal_72); var currVal_75 = i0.ɵunv(_v, 90, 0, i0.ɵnov(_v, 91).transform(\"To\")); _ck(_v, 90, 0, currVal_75); var currVal_76 = !_co.leaseContractEndRangeValid; var currVal_77 = i0.ɵnov(_v, 98).ngClassUntouched; var currVal_78 = i0.ɵnov(_v, 98).ngClassTouched; var currVal_79 = i0.ɵnov(_v, 98).ngClassPristine; var currVal_80 = i0.ɵnov(_v, 98).ngClassDirty; var currVal_81 = i0.ɵnov(_v, 98).ngClassValid; var currVal_82 = i0.ɵnov(_v, 98).ngClassInvalid; var currVal_83 = i0.ɵnov(_v, 98).ngClassPending; _ck(_v, 92, 0, currVal_76, currVal_77, currVal_78, currVal_79, currVal_80, currVal_81, currVal_82, currVal_83); var currVal_86 = i0.ɵunv(_v, 99, 0, i0.ɵnov(_v, 100).transform(\"Months\")).toLowerCase(); _ck(_v, 99, 0, currVal_86); var currVal_88 = !_co.purchaseContractEndRangeValid; var currVal_89 = i0.ɵnov(_v, 111).ngClassUntouched; var currVal_90 = i0.ɵnov(_v, 111).ngClassTouched; var currVal_91 = i0.ɵnov(_v, 111).ngClassPristine; var currVal_92 = i0.ɵnov(_v, 111).ngClassDirty; var currVal_93 = i0.ɵnov(_v, 111).ngClassValid; var currVal_94 = i0.ɵnov(_v, 111).ngClassInvalid; var currVal_95 = i0.ɵnov(_v, 111).ngClassPending; _ck(_v, 105, 0, currVal_88, currVal_89, currVal_90, currVal_91, currVal_92, currVal_93, currVal_94, currVal_95); var currVal_98 = i0.ɵunv(_v, 112, 0, i0.ɵnov(_v, 113).transform(\"To\")); _ck(_v, 112, 0, currVal_98); var currVal_99 = !_co.purchaseContractEndRangeValid; var currVal_100 = i0.ɵnov(_v, 120).ngClassUntouched; var currVal_101 = i0.ɵnov(_v, 120).ngClassTouched; var currVal_102 = i0.ɵnov(_v, 120).ngClassPristine; var currVal_103 = i0.ɵnov(_v, 120).ngClassDirty; var currVal_104 = i0.ɵnov(_v, 120).ngClassValid; var currVal_105 = i0.ɵnov(_v, 120).ngClassInvalid; var currVal_106 = i0.ɵnov(_v, 120).ngClassPending; _ck(_v, 114, 0, currVal_99, currVal_100, currVal_101, currVal_102, currVal_103, currVal_104, currVal_105, currVal_106); var currVal_109 = i0.ɵunv(_v, 121, 0, i0.ɵnov(_v, 122).transform(\"Months\")).toLowerCase(); _ck(_v, 121, 0, currVal_109); var currVal_115 = i0.ɵnov(_v, 140).ngClassUntouched; var currVal_116 = i0.ɵnov(_v, 140).ngClassTouched; var currVal_117 = i0.ɵnov(_v, 140).ngClassPristine; var currVal_118 = i0.ɵnov(_v, 140).ngClassDirty; var currVal_119 = i0.ɵnov(_v, 140).ngClassValid; var currVal_120 = i0.ɵnov(_v, 140).ngClassInvalid; var currVal_121 = i0.ɵnov(_v, 140).ngClassPending; _ck(_v, 134, 0, currVal_115, currVal_116, currVal_117, currVal_118, currVal_119, currVal_120, currVal_121); var currVal_125 = i0.ɵnov(_v, 151).ngClassUntouched; var currVal_126 = i0.ɵnov(_v, 151).ngClassTouched; var currVal_127 = i0.ɵnov(_v, 151).ngClassPristine; var currVal_128 = i0.ɵnov(_v, 151).ngClassDirty; var currVal_129 = i0.ɵnov(_v, 151).ngClassValid; var currVal_130 = i0.ɵnov(_v, 151).ngClassInvalid; var currVal_131 = i0.ɵnov(_v, 151).ngClassPending; _ck(_v, 145, 0, currVal_125, currVal_126, currVal_127, currVal_128, currVal_129, currVal_130, currVal_131); var currVal_134 = i0.ɵunv(_v, 152, 0, i0.ɵnov(_v, 153).transform(_co.unitLabelKey)).toLowerCase(); var currVal_135 = i0.ɵunv(_v, 152, 1, i0.ɵnov(_v, 154).transform(\"or\")).toLowerCase(); _ck(_v, 152, 0, currVal_134, currVal_135); var currVal_136 = i0.ɵnov(_v, 161).ngClassUntouched; var currVal_137 = i0.ɵnov(_v, 161).ngClassTouched; var currVal_138 = i0.ɵnov(_v, 161).ngClassPristine; var currVal_139 = i0.ɵnov(_v, 161).ngClassDirty; var currVal_140 = i0.ɵnov(_v, 161).ngClassValid; var currVal_141 = i0.ɵnov(_v, 161).ngClassInvalid; var currVal_142 = i0.ɵnov(_v, 161).ngClassPending; _ck(_v, 155, 0, currVal_136, currVal_137, currVal_138, currVal_139, currVal_140, currVal_141, currVal_142); var currVal_145 = i0.ɵunv(_v, 162, 0, i0.ɵnov(_v, 163).transform(\"Months\")).toLowerCase(); _ck(_v, 162, 0, currVal_145); var currVal_150 = i0.ɵnov(_v, 179).ngClassUntouched; var currVal_151 = i0.ɵnov(_v, 179).ngClassTouched; var currVal_152 = i0.ɵnov(_v, 179).ngClassPristine; var currVal_153 = i0.ɵnov(_v, 179).ngClassDirty; var currVal_154 = i0.ɵnov(_v, 179).ngClassValid; var currVal_155 = i0.ɵnov(_v, 179).ngClassInvalid; var currVal_156 = i0.ɵnov(_v, 179).ngClassPending; _ck(_v, 173, 0, currVal_150, currVal_151, currVal_152, currVal_153, currVal_154, currVal_155, currVal_156); var currVal_159 = i0.ɵunv(_v, 180, 0, i0.ɵnov(_v, 181).transform(\"days\")).toLowerCase(); _ck(_v, 180, 0, currVal_159); }); }\nexports.View_AdminSettingsOpportunityComponent_0 = View_AdminSettingsOpportunityComponent_0;\nfunction View_AdminSettingsOpportunityComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-opportunity\", [], null, null, null, View_AdminSettingsOpportunityComponent_0, RenderType_AdminSettingsOpportunityComponent)), i0.ɵdid(1, 114688, null, 0, i7.AdminSettingsOpportunityComponent, [i8.BsModalService, i1.TranslateService, i9.UserService, i10.ToasterLoggerService, i6.DOCUMENT], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminSettingsOpportunityComponent_Host_0 = View_AdminSettingsOpportunityComponent_Host_0;\nvar AdminSettingsOpportunityComponentNgFactory = i0.ɵccf(\"admin-settings-opportunity\", i7.AdminSettingsOpportunityComponent, View_AdminSettingsOpportunityComponent_Host_0, { dsa: \"dsa\" }, {}, []);\nexports.AdminSettingsOpportunityComponentNgFactory = AdminSettingsOpportunityComponentNgFactory;\n","
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Retail\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n %\r\n
\r\n
\r\n %\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n %\r\n
\r\n
\r\n %\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ ('Months' | translate).toLowerCase() }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n %\r\n
\r\n
\r\n %\r\n
\r\n
\r\n {{ 'dsAdmin_leaseRetailpaymentNotToExceed' | translate }} $ \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n %\r\n
\r\n
\r\n %\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ 'To' | translate }} {{ ('Months' | translate).toLowerCase() }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'To' | translate }} {{ ('Months' | translate).toLowerCase() }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ ('days' | translate).toLowerCase() }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ (unitLabelKey | translate).toLowerCase() }} {{ ('or' | translate).toLowerCase() }} {{ ('Months' | translate).toLowerCase() }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ ('days' | translate).toLowerCase() }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./user-settings.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@uirouter/angular/lib/directives/uiSref\"));\nvar i3 = __importStar(require(\"@uirouter/core\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"@ngx-translate/core\"));\nvar i6 = __importStar(require(\"./user-settings.component\"));\nvar styles_UserSettingsComponent = [i0.styles];\nvar RenderType_UserSettingsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_UserSettingsComponent, data: {} });\nexports.RenderType_UserSettingsComponent = RenderType_UserSettingsComponent;\nfunction View_UserSettingsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"style\", \"float: right\"]], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"icon \", _v.parent.parent.context.$implicit.icon, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_UserSettingsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"a\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } if ((\"click\" === en)) {\n var pd_1 = (((_co.dropDownVisible = false) || (_v.parent.context.$implicit.action ? _v.parent.context.$implicit.action() : null)) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i2.AnchorUISref, [i1.ElementRef, i1.Renderer2], null, null), i1.ɵdid(2, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSettingsComponent_3)), i1.ɵdid(4, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(5, null, [\" \", \" \"])), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.sref, \"\"); _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.icon; _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(_v.parent.context.$implicit.translate)); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_UserSettingsComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"style\", \"float: right\"]], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"icon \", _v.parent.parent.context.$implicit.icon, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_UserSettingsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"a\", [], [[8, \"href\", 4], [1, \"target\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (((_co.dropDownVisible = false) || (_v.parent.context.$implicit.action ? _v.parent.context.$implicit.action() : null)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSettingsComponent_5)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" \"])), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_2 = _v.parent.context.$implicit.icon; _ck(_v, 2, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.href; var currVal_1 = (_v.parent.context.$implicit.target || undefined); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_v.parent.context.$implicit.translate)); _ck(_v, 3, 0, currVal_3); }); }\nfunction View_UserSettingsComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"style\", \"float: right\"]], [[8, \"className\", 0]], null, null, null, null))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"icon \", _v.parent.parent.context.$implicit.icon, \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_UserSettingsComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"a\", [[\"href\", \"#\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.reloadPage() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSettingsComponent_7)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" \"])), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.icon; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_v.parent.context.$implicit.translate)); _ck(_v, 3, 0, currVal_1); }); }\nfunction View_UserSettingsComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"hr\", [], null, null, null, null, null))], null, null); }\nfunction View_UserSettingsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"li\", [], null, null, null, null, null)), i1.ɵdid(1, 16384, null, 0, i4.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSettingsComponent_2)), i1.ɵdid(3, 278528, null, 0, i4.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i4.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSettingsComponent_4)), i1.ɵdid(5, 278528, null, 0, i4.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i4.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSettingsComponent_6)), i1.ɵdid(7, 16384, null, 0, i4.NgSwitchDefault, [i1.ViewContainerRef, i1.TemplateRef, i4.NgSwitch], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSettingsComponent_8)), i1.ɵdid(9, 278528, null, 0, i4.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i4.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.type; _ck(_v, 1, 0, currVal_0); var currVal_1 = \"SREF\"; _ck(_v, 3, 0, currVal_1); var currVal_2 = \"HREF\"; _ck(_v, 5, 0, currVal_2); var currVal_3 = \"SEPARATOR\"; _ck(_v, 9, 0, currVal_3); }, null); }\nfunction View_UserSettingsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [[\"id\", \"aa-header-user\"]], null, [[null, \"mouseleave\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseleave\" === en)) {\n var pd_0 = ((_co.dropDownVisible = false) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"clickable\"], [\"id\", \"aa-header-user-name\"]], null, [[null, \"mouseenter\"], [null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mouseenter\" === en)) {\n var pd_0 = ((_co.dropDownVisible = true) !== false);\n ad = (pd_0 && ad);\n } if ((\"click\" === en)) {\n var pd_1 = ((_co.dropDownVisible = !_co.dropDownVisible) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i4.ɵNgClassImpl, i4.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(3, 278528, null, 0, i4.NgClass, [i4.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { active: 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 3, \"div\", [[\"id\", \"aa-header-user-avatar\"]], null, null, null, null, null)), i1.ɵprd(512, null, i4.ɵNgStyleImpl, i4.ɵNgStyleR2Impl, [i1.ElementRef, i1.KeyValueDiffers, i1.Renderer2]), i1.ɵdid(7, 278528, null, 0, i4.NgStyle, [i4.ɵNgStyleImpl], { ngStyle: [0, \"ngStyle\"] }, null), i1.ɵpod(8, { \"background-image\": 0 }), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"span\", [[\"class\", \"user-name\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"span\", [[\"class\", \"aa-icon-chevron-down small-icon\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 3, \"div\", [[\"id\", \"aa-header-user-dropdown\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"ul\", [[\"class\", \"user\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSettingsComponent_1)), i1.ɵdid(15, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"clickable\"; var currVal_1 = _ck(_v, 4, 0, _co.dropDownVisible); _ck(_v, 3, 0, currVal_0, currVal_1); var currVal_2 = _ck(_v, 8, 0, (_co.avatarUrl ? ((\"url(\\\"\" + _co.avatarUrl) + \"\\\")\") : undefined)); _ck(_v, 7, 0, currVal_2); var currVal_5 = _co.items; _ck(_v, 15, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.userFullName; _ck(_v, 10, 0, currVal_3); var currVal_4 = !_co.dropDownVisible; _ck(_v, 12, 0, currVal_4); }); }\nexports.View_UserSettingsComponent_0 = View_UserSettingsComponent_0;\nfunction View_UserSettingsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"user-settings\", [], null, null, null, View_UserSettingsComponent_0, RenderType_UserSettingsComponent)), i1.ɵdid(1, 114688, null, 0, i6.UserSettingsComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_UserSettingsComponent_Host_0 = View_UserSettingsComponent_Host_0;\nvar UserSettingsComponentNgFactory = i1.ɵccf(\"user-settings\", i6.UserSettingsComponent, View_UserSettingsComponent_Host_0, { items: \"items\", userFullName: \"userFullName\" }, {}, []);\nexports.UserSettingsComponentNgFactory = UserSettingsComponentNgFactory;\n","
\r\n
\r\n\r\n
\r\n
\r\n {{userFullName}}\r\n \r\n
\r\n\r\n \r\n
","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".modal-body[_ngcontent-%COMP%]{padding-top:10px!important}.form-group[_ngcontent-%COMP%]{margin-bottom:0}.nlo-info-wrapper[_ngcontent-%COMP%] .nlo-title[_ngcontent-%COMP%]{float:left}.nlo-info-wrapper[_ngcontent-%COMP%] .intro[_ngcontent-%COMP%]{font-size:14px;margin-top:8px;margin-bottom:15px}.nlo-info-wrapper[_ngcontent-%COMP%] .nlo-float-right[_ngcontent-%COMP%]{float:right}.nlo-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{width:100%;max-width:100%;margin-bottom:15px}.nlo-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%], .nlo-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%], .nlo-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%], .nlo-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%], .nlo-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%], .nlo-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{padding:4px 2px;border-top:none}.nlo-info-wrapper[_ngcontent-%COMP%] .cancelBtn[_ngcontent-%COMP%]{margin-right:20px}\"];\nexports.styles = styles;\n","module.exports = \".preferred-language-select {\\n width: 75%;\\n display: inline-block;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9kZWFsLXNoZWV0L0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcY29tcG9uZW50c1xcZGVhbC1zaGVldFxcY3VzdG9tZXItZWRpdC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9kZWFsLXNoZWV0L2N1c3RvbWVyLWVkaXQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0E7RUFDSSxXQUFBO0VBQ0Esc0JBQUE7Q0NBSCIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvZGVhbC1zaGVldC9jdXN0b21lci1lZGl0LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiXHJcbi5wcmVmZXJyZWQtbGFuZ3VhZ2Utc2VsZWN0IHtcclxuICAgIHdpZHRoOiA3NSU7XHJcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbn0iLCIucHJlZmVycmVkLWxhbmd1YWdlLXNlbGVjdCB7XG4gIHdpZHRoOiA3NSU7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbn0iXX0= */\"","exports.f = Object.getOwnPropertySymbols;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".modal-body[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:500}.row-underline[_ngcontent-%COMP%]{border-bottom:1px solid #e5e5e5}.sectionHeader[_ngcontent-%COMP%]{font-size:18px;font-weight:500}.table[_ngcontent-%COMP%]{margin-bottom:10px}.table[_ngcontent-%COMP%] td.right[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] th.right[_ngcontent-%COMP%]{text-align:right}\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar services_1 = require(\"../generated/services\");\nvar toaster_logger_service_1 = require(\"../core/toaster-logger.service\");\nvar CustomerWorkflowService = /** @class */ (function () {\n function CustomerWorkflowService(customerWorkflowClient, toaster) {\n this.customerWorkflowClient = customerWorkflowClient;\n this.toaster = toaster;\n }\n CustomerWorkflowService.prototype.getStartListCustomer = function (entityId) {\n return this.customerWorkflowClient.GetStartListCustomerByEntityidGET(entityId).toPromise();\n };\n CustomerWorkflowService.prototype.GetStartFormByStartableformtemplateid = function (startableFormTemplateId) {\n return this.customerWorkflowClient.GetStartFormByStartableformtemplateidGET(startableFormTemplateId).toPromise();\n //.pipe(map(result => {\n // return this.resolvePandoForm(result);\n //})).toPromise();\n };\n //private resolvePandoForm(pandoForm: PandoFormDto): PandoForm {\n // const resolvedForm = {\n // formTitle: pandoForm.formTitle,\n // formTemplateId: pandoForm.formTemplateId,\n // formControls: pandoForm.formControls,\n // };\n // return resolvedForm;\n //}\n CustomerWorkflowService.prototype.startCustomerWorkflowByEntityidByWorkflowtemplateid = function (entityId, workflowTemplateId, worflowForm) {\n var params = {\n workflowTemplateId: workflowTemplateId,\n entityId: entityId,\n form: worflowForm\n };\n return this.customerWorkflowClient.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOST(params).toPromise();\n };\n return CustomerWorkflowService;\n}());\nexports.CustomerWorkflowService = CustomerWorkflowService;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { catchError, flatMap, map, take } from 'rxjs/operators';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { PandoGroupInfo } from '../interfaces/pando-group-info.interface';\r\nimport { StartListCustomerDto } from \"../generated/models/start-list-customer-dto\";\r\nimport { CustomerWorkflowClientService } from \"../generated/services\";\r\nimport { ToasterLoggerService } from '../core/toaster-logger.service';\r\nimport { PandoFormRequestDto } from \"../generated/models/pando-form-request-dto\";\r\nimport { PandoFormDto } from \"../generated/models/pando-form-dto\";\r\nimport { PandoForm } from'../interfaces/pando-form.interface';\r\n\r\n\r\n@Injectable()\r\nexport class CustomerWorkflowService {\r\n constructor(public customerWorkflowClient: CustomerWorkflowClientService, public toaster: ToasterLoggerService) {\r\n\r\n }\r\n\r\n public getStartListCustomer(entityId: string): Promise {\r\n return this.customerWorkflowClient.GetStartListCustomerByEntityidGET(entityId).toPromise();\r\n }\r\n\r\n public GetStartFormByStartableformtemplateid(startableFormTemplateId: string): Promise {\r\n return this.customerWorkflowClient.GetStartFormByStartableformtemplateidGET(startableFormTemplateId).toPromise();\r\n\r\n //.pipe(map(result => {\r\n // return this.resolvePandoForm(result);\r\n //})).toPromise();\r\n\r\n }\r\n\r\n //private resolvePandoForm(pandoForm: PandoFormDto): PandoForm {\r\n\r\n // const resolvedForm = {\r\n\r\n // formTitle: pandoForm.formTitle,\r\n // formTemplateId: pandoForm.formTemplateId,\r\n // formControls: pandoForm.formControls,\r\n // };\r\n\r\n // return resolvedForm;\r\n //}\r\n\r\n\r\n\r\n\r\n\r\n public startCustomerWorkflowByEntityidByWorkflowtemplateid(entityId: string, workflowTemplateId: string, worflowForm?: PandoFormRequestDto): Promise {\r\n\r\n const params: CustomerWorkflowClientService.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTParams = {\r\n workflowTemplateId: workflowTemplateId,\r\n entityId: entityId,\r\n form: worflowForm\r\n };\r\n\r\n return this.customerWorkflowClient.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOST(params).toPromise(); \r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar services_1 = require(\"../generated/services\");\nvar StockNumberSearchService = /** @class */ (function () {\n function StockNumberSearchService(inventoryClientService) {\n this.inventoryClientService = inventoryClientService;\n }\n StockNumberSearchService.prototype.getProcessQueryString = function (quickSearchQuery) {\n var queryType = {\n Query: quickSearchQuery,\n IsVIN: true,\n IsPhone: true,\n IsName: true,\n };\n queryType = this.getQueryType(queryType);\n return queryType;\n };\n StockNumberSearchService.prototype.getQueryType = function (qtype) {\n // ( ) - signs Phone\n if (qtype.Query.indexOf('(') > -1 || qtype.Query.indexOf(')') > -1) {\n qtype.IsVIN = false;\n qtype.IsName = false;\n qtype.Query = this.cleanQueryString(qtype.Query);\n return qtype;\n }\n // '-' can be in name or in phone number\n if (qtype.Query.indexOf('-') > -1) {\n // Phone should not contain any letter characters\n if (!/[a-zA-Z]/.test(qtype.Query)) {\n qtype.IsVIN = false;\n qtype.IsName = false;\n qtype.Query = this.cleanQueryString(qtype.Query);\n return qtype;\n }\n }\n // clean spaces\n qtype.Query = this.cleanQueryString(qtype.Query);\n var HasSpaces = qtype.Query.includes(' ');\n if (HasSpaces) {\n qtype.IsVIN = false;\n }\n if (/[o,O,i,I,q,Q]/.test(qtype.Query)) {\n qtype.IsVIN = false; // VIN cannot contain o,q or i\n qtype.IsPhone = false; // literals - no phone\n return qtype;\n }\n // phone or vin or name or vrn left \n var HasLetters = /[a-zA-Z]/.test(qtype.Query);\n var HasNumbers = /[0-9]/.test(qtype.Query);\n // tests\n if (HasLetters)\n qtype.IsPhone = false;\n else\n qtype.IsName = false;\n if (!HasNumbers)\n qtype.IsVIN = false;\n // require at least 8 last of the vin\n if (qtype.Query.length < 8 || qtype.Query.length > 17)\n qtype.IsVIN = false;\n if (qtype.Query.length > 8 && !HasLetters)\n qtype.IsVIN = false;\n // vin has last 5 digits \n if (!/[0-9]{5}/.test(qtype.Query))\n qtype.IsVIN = false;\n // vin and phone - decide by length\n if (qtype.IsVIN && qtype.IsPhone && qtype.Query.length == 8)\n qtype.IsPhone = false;\n // name or vin undecided - default to VIN\n if (qtype.IsVIN && qtype.IsName) {\n qtype.IsName = false;\n }\n return qtype;\n };\n StockNumberSearchService.prototype.cleanQueryString = function (query) {\n query = query.trim().replace('(', ' ').replace(')', ' ').replace('-', ' ');\n // remove double spaces\n while (query.indexOf(\" \") > -1) {\n query = query.replace(\" \", \" \");\n }\n return query;\n };\n StockNumberSearchService.prototype.getStockList = function () {\n return this.inventoryClientService.GetStockViewsGET().toPromise();\n };\n return StockNumberSearchService;\n}());\nexports.StockNumberSearchService = StockNumberSearchService;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { QueryType } from '../interfaces/query-type.interface';\r\nimport { InventoryClientService } from '../generated/services';\r\nimport { InventoryStockMinViewDto } from '../generated/models/inventory-stock-min-view-dto';\r\nimport { map } from 'rxjs/operators';\r\n\r\n\r\n@Injectable()\r\nexport class StockNumberSearchService {\r\n constructor(\r\n private inventoryClientService: InventoryClientService) {\r\n }\r\n\r\n public getProcessQueryString(quickSearchQuery: string): QueryType {\r\n let queryType: QueryType = {\r\n Query: quickSearchQuery,\r\n IsVIN: true,\r\n IsPhone: true,\r\n IsName: true,\r\n }\r\n queryType = this.getQueryType(queryType)\r\n return queryType;\r\n }\r\n\r\n private getQueryType(qtype: QueryType): QueryType {\r\n // ( ) - signs Phone\r\n if (qtype.Query.indexOf('(') > -1 || qtype.Query.indexOf(')') > -1) {\r\n qtype.IsVIN = false;\r\n qtype.IsName = false;\r\n qtype.Query = this.cleanQueryString(qtype.Query);\r\n return qtype;\r\n }\r\n\r\n // '-' can be in name or in phone number\r\n if (qtype.Query.indexOf('-') > -1) {\r\n // Phone should not contain any letter characters\r\n if (!/[a-zA-Z]/.test(qtype.Query)) {\r\n qtype.IsVIN = false;\r\n qtype.IsName = false;\r\n qtype.Query = this.cleanQueryString(qtype.Query);\r\n return qtype;\r\n }\r\n }\r\n\r\n // clean spaces\r\n qtype.Query = this.cleanQueryString(qtype.Query);\r\n let HasSpaces = qtype.Query.includes(' ');\r\n if (HasSpaces) {\r\n qtype.IsVIN = false;\r\n }\r\n\r\n if (/[o,O,i,I,q,Q]/.test(qtype.Query)) {\r\n qtype.IsVIN = false; // VIN cannot contain o,q or i\r\n qtype.IsPhone = false; // literals - no phone\r\n return qtype;\r\n }\r\n\r\n\r\n // phone or vin or name or vrn left \r\n let HasLetters = /[a-zA-Z]/.test(qtype.Query);\r\n let HasNumbers = /[0-9]/.test(qtype.Query);\r\n\r\n\r\n // tests\r\n if (HasLetters) qtype.IsPhone = false; else qtype.IsName = false;\r\n if (!HasNumbers) qtype.IsVIN = false;\r\n\r\n // require at least 8 last of the vin\r\n if (qtype.Query.length < 8 || qtype.Query.length > 17) qtype.IsVIN = false;\r\n if (qtype.Query.length > 8 && !HasLetters) qtype.IsVIN = false;\r\n\r\n // vin has last 5 digits \r\n if (!/[0-9]{5}/.test(qtype.Query)) qtype.IsVIN = false;\r\n // vin and phone - decide by length\r\n if (qtype.IsVIN && qtype.IsPhone && qtype.Query.length == 8) qtype.IsPhone = false;\r\n\r\n // name or vin undecided - default to VIN\r\n if (qtype.IsVIN && qtype.IsName) {\r\n qtype.IsName = false;\r\n }\r\n\r\n return qtype;\r\n }\r\n\r\n private cleanQueryString(query: string): string {\r\n query = query.trim().replace('(', ' ').replace(')', ' ').replace('-', ' ');\r\n // remove double spaces\r\n while (query.indexOf(\" \") > -1) {\r\n query = query.replace(\" \", \" \");\r\n }\r\n\r\n return query;\r\n }\r\n\r\n public getStockList(): Promise> {\r\n return this.inventoryClientService.GetStockViewsGET().toPromise();\r\n }\r\n}","var path = '/app/components/wish-list/wish-list.component.html';\nvar html = \"
{{$ctrl.translations.inventoryWishlist}}
1\\\">
{{$ctrl.translations.dealerships}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lodash_1 = __importDefault(require(\"lodash\"));\nvar rxjs_1 = require(\"rxjs\");\nvar operators_1 = require(\"rxjs/operators\");\nvar constants_1 = require(\"../constants\");\nvar services_1 = require(\"../generated/services\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../generated/services/customer-client.service\"));\nvar i2 = __importStar(require(\"../generated/services/customer-activity-history-client.service\"));\nvar i3 = __importStar(require(\"../generated/services/customer-contact-history-client.service\"));\nvar CustomerService = /** @class */ (function () {\n function CustomerService(customerClient, customerActivityHistoryClient, customerContactHistoryClient) {\n this.customerClient = customerClient;\n this.customerActivityHistoryClient = customerActivityHistoryClient;\n this.customerContactHistoryClient = customerContactHistoryClient;\n }\n CustomerService.prototype.getCustomerActivities = function (entityId) {\n return this.customerActivityHistoryClient.GetCustomerActivityHistoryByEntityidGET(entityId).toPromise();\n };\n CustomerService.prototype.getCustomer = function (entityId) {\n var _this = this;\n return rxjs_1.forkJoin(this.customerClient.ByEntityByEntityidGET(entityId), this.customerContactHistoryClient.GetCustomerAdditionalContactsByEntityidGET(entityId))\n .pipe(operators_1.map(function (_a) {\n var customer = _a[0], customerAdditionalContact = _a[1];\n return _this.resolveCustomer(customer, customerAdditionalContact);\n })).toPromise();\n };\n CustomerService.prototype.getCustomerName = function (entityId) {\n var _this = this;\n return this.customerClient.GetNameOnlyByEntityidGET(entityId)\n .pipe(operators_1.map(function (result) {\n return _this.resolveCustomer(result, null);\n })).toPromise();\n };\n CustomerService.prototype.stageDoNotEmailList = function (emailList) {\n return this.customerClient.InsertDoNotEmailStagingPOST(emailList);\n };\n CustomerService.prototype.stageDoNotCallList = function (phoneNumberList) {\n return this.customerClient.InsertDoNotCallStagingPOST(phoneNumberList);\n };\n CustomerService.prototype.finishDoNotEmailList = function (sessionId) {\n return this.customerClient.CustomerMarkDoNotEmailPOST({ sessionID: sessionId, hypothetical: false });\n };\n CustomerService.prototype.finishDoNotCallList = function (sessionId) {\n return this.customerClient.CustomerMarkDoNotCallPOST({ sessionID: sessionId, hypothetical: false });\n };\n CustomerService.prototype.getCustomerCultureByCode = function (code) {\n if (code == null)\n return null;\n var cultureObj = constants_1.CustomerCultures.find(function (culture) {\n return culture.name.toLowerCase() == code.toLowerCase();\n });\n return cultureObj != null ? cultureObj.displayName : null;\n };\n CustomerService.prototype.resolveCustomer = function (customer, contactHistory) {\n var invalidContacts = customer.invalidContacts ? customer.invalidContacts.split(',') : [];\n var createPreferredContact = function (value, contactType, doNotCallStatusTypeId) {\n if (value) {\n return {\n contactType: contactType,\n value: value,\n isBad: lodash_1.default.includes(invalidContacts, value),\n isPreferred: true,\n doNotCallStatusTypeId: doNotCallStatusTypeId\n };\n }\n };\n var createAlternateContacts = function () {\n var alternateContacts = [];\n var contactExistsInCollection = function (contact) {\n return lodash_1.default.some(alternateContacts, function (p) {\n return p.contactType === contact.contactID\n && p.value === contact.contactValue;\n });\n };\n var contactIsAPreferredContact = function (contact) {\n switch (contact.contactID) {\n case constants_1.ContactTypes.homePhone: return customer.homePhone === contact.contactValue;\n case constants_1.ContactTypes.workPhone: return customer.workPhone === contact.contactValue;\n case constants_1.ContactTypes.cellPhone: return customer.cellPhone === contact.contactValue;\n case constants_1.ContactTypes.email: return customer.email === contact.contactValue;\n }\n };\n if (contactHistory) {\n contactHistory.forEach(function (contact) {\n if (!contactExistsInCollection(contact) && !contactIsAPreferredContact(contact)) {\n alternateContacts.push({\n contactType: contact.contactID,\n value: contact.contactValue,\n isBad: lodash_1.default.includes(invalidContacts, contact.contactValue),\n doNotCallStatusTypeId: contact.doNotCallStatusTypeId\n });\n }\n });\n }\n return alternateContacts;\n };\n var resolvedCustomer = {\n id: customer.customerID,\n isFullCustomer: customer.isFullCustomer,\n isAddressNotValid: customer.isAddressNotValid,\n firstName: customer.firstName,\n middleName: customer.middleName,\n lastName: customer.lastName,\n fullName: customer.fullName,\n companyName: customer.companyName,\n homePhoneNumber: createPreferredContact(customer.homePhone, constants_1.ContactTypes.homePhone, customer.homePhone_DoNotCallStatusTypeId),\n workPhoneNumber: createPreferredContact(customer.workPhone, constants_1.ContactTypes.workPhone, customer.workPhone_DoNotCallStatusTypeId),\n cellPhoneNumber: createPreferredContact(customer.cellPhone, constants_1.ContactTypes.cellPhone, customer.cellPhone_DoNotCallStatusTypeId),\n emailAddress: createPreferredContact(customer.email, constants_1.ContactTypes.email, invalidContacts),\n alternateContacts: createAlternateContacts(),\n doNotCall: customer.doNotCall,\n doNotEmail: customer.doNotEmail,\n doNotMail: customer.doNotMail,\n doNotText: customer.doNotText,\n address: {\n streetAddress: customer.address,\n streetAddress2: customer.address2,\n city: customer.city,\n stateId: customer.stateID,\n stateName: customer.state,\n zipCode: customer.zipCode,\n normalizedZipCode: customer.normalizedZipCode\n },\n pricingPlanId: customer.pricingPlanID,\n // We preserve this array so we can restore them when updating\n // the customer.\n invalidContacts: invalidContacts,\n preferredCultureName: customer.preferredCultureName,\n dealerID: customer.dealerID\n };\n return resolvedCustomer;\n };\n CustomerService.prototype.updateCustomer = function (customer) {\n var getUpdateCustomerRequest = function () {\n var homePhoneNumber = customer.homePhoneNumber && customer.homePhoneNumber.value !== undefined ? customer.homePhoneNumber.value : null;\n var workPhoneNumber = customer.workPhoneNumber && customer.workPhoneNumber.value !== undefined ? customer.workPhoneNumber.value : null;\n var cellPhoneNumber = customer.cellPhoneNumber && customer.cellPhoneNumber.value !== undefined ? customer.cellPhoneNumber.value : null;\n var emailAddress = customer.emailAddress && customer.emailAddress.value !== undefined ? customer.emailAddress.value : null;\n return {\n customerID: customer.id,\n firstName: customer.firstName,\n middleName: customer.middleName,\n lastName: customer.lastName,\n companyName: customer.companyName,\n address: customer.address.streetAddress,\n address2: customer.address.streetAddress2,\n city: customer.address.city,\n stateID: customer.address.stateId,\n state: customer.address.stateName,\n zipCode: customer.address.zipCode,\n homePhone: homePhoneNumber,\n workPhone: workPhoneNumber,\n cellPhone: cellPhoneNumber,\n invalidContacts: customer.invalidContacts ? customer.invalidContacts.join(',') : null,\n email: emailAddress,\n doNotCall: customer.doNotCall,\n doNotEmail: customer.doNotEmail,\n doNotMail: customer.doNotMail,\n fullName: getFullName(),\n pricingPlanID: customer.pricingPlanId,\n doNotText: customer.doNotText,\n preferredCultureName: customer.preferredCultureName\n };\n };\n var getFullName = function () {\n var fullName = customer.firstName;\n if (customer.middleName) {\n fullName += ' ' + customer.middleName;\n }\n if (customer.lastName) {\n fullName += ' ' + customer.lastName;\n }\n return fullName;\n };\n var request = getUpdateCustomerRequest();\n return this.customerClient.UpdatePATCHResponse(request)\n .pipe(operators_1.map(function (response) { return resolveCustomerUpdate(response); })).toPromise();\n function resolveCustomerUpdate(response) {\n return response.status === 204;\n }\n };\n CustomerService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function CustomerService_Factory() { return new CustomerService(i0.ɵɵinject(i1.CustomerClientService), i0.ɵɵinject(i2.CustomerActivityHistoryClientService), i0.ɵɵinject(i3.CustomerContactHistoryClientService)); }, token: CustomerService, providedIn: \"root\" });\n return CustomerService;\n}());\nexports.CustomerService = CustomerService;\n","import { HttpResponse } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport _ from 'lodash';\r\nimport { forkJoin, Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ContactTypes, CustomerCultures } from '../constants';\r\nimport { DoNotCallStagingResponseDto, DoNotEmailStagingResponseDto, CustomerMarkDoNotCallDto,\r\n CustomerMarkDoNotEmailDto } from '../generated/models';\r\nimport { CustomerAdditionalContactDto } from '../generated/models/customer-additional-contact-dto';\r\nimport { CustomerDto } from '../generated/models/customer-dto';\r\nimport { CustomerPatch } from '../generated/models/customer-patch';\r\nimport { CustomerActivityHistoryClientService, CustomerClientService, CustomerContactHistoryClientService } from '../generated/services';\r\nimport { CustomerContact } from '../interfaces/customer-contact.interface';\r\nimport { Customer } from '../interfaces/customer.interface';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomerService {\r\n constructor(private customerClient: CustomerClientService,\r\n private customerActivityHistoryClient: CustomerActivityHistoryClientService,\r\n private customerContactHistoryClient: CustomerContactHistoryClientService) { }\r\n\r\n public getCustomerActivities(entityId: string) {\r\n return this.customerActivityHistoryClient.GetCustomerActivityHistoryByEntityidGET(entityId).toPromise();\r\n }\r\n\r\n public getCustomer(entityId: string): Promise {\r\n return forkJoin(\r\n this.customerClient.ByEntityByEntityidGET(entityId),\r\n this.customerContactHistoryClient.GetCustomerAdditionalContactsByEntityidGET(entityId)\r\n )\r\n .pipe(\r\n map(([customer, customerAdditionalContact]) => {\r\n return this.resolveCustomer(customer, customerAdditionalContact);\r\n })\r\n ).toPromise();\r\n }\r\n\r\n public getCustomerName(entityId: string): Promise {\r\n return this.customerClient.GetNameOnlyByEntityidGET(entityId)\r\n .pipe(map(result => {\r\n return this.resolveCustomer(result, null);\r\n })).toPromise();\r\n }\r\n\r\n public stageDoNotEmailList(emailList: string[]): Observable {\r\n return this.customerClient.InsertDoNotEmailStagingPOST(emailList);\r\n }\r\n\r\n public stageDoNotCallList(phoneNumberList: string[]): Observable {\r\n return this.customerClient.InsertDoNotCallStagingPOST(phoneNumberList);\r\n }\r\n\r\n public finishDoNotEmailList(sessionId: string) {\r\n return this.customerClient.CustomerMarkDoNotEmailPOST({sessionID: sessionId, hypothetical: false} as CustomerMarkDoNotEmailDto);\r\n }\r\n\r\n public finishDoNotCallList(sessionId: string) {\r\n return this.customerClient.CustomerMarkDoNotCallPOST({sessionID: sessionId, hypothetical: false} as CustomerMarkDoNotCallDto);\r\n }\r\n\r\n public getCustomerCultureByCode(code: string) {\r\n if (code == null)\r\n return null;\r\n\r\n var cultureObj = CustomerCultures.find(function (culture) {\r\n return culture.name.toLowerCase() == code.toLowerCase();\r\n });\r\n return cultureObj != null ? cultureObj.displayName : null;\r\n }\r\n\r\n private resolveCustomer(customer: CustomerDto, contactHistory: CustomerAdditionalContactDto[]): Customer {\r\n const invalidContacts = customer.invalidContacts ? customer.invalidContacts.split(',') : [];\r\n\r\n const createPreferredContact = (value, contactType, doNotCallStatusTypeId?): CustomerContact => {\r\n if (value) {\r\n return {\r\n contactType: contactType,\r\n value: value,\r\n isBad: _.includes(invalidContacts, value),\r\n isPreferred: true,\r\n doNotCallStatusTypeId: doNotCallStatusTypeId\r\n } as CustomerContact;\r\n }\r\n };\r\n\r\n const createAlternateContacts = () => {\r\n const alternateContacts = [];\r\n\r\n const contactExistsInCollection = (contact) => {\r\n return _.some(alternateContacts, function (p) {\r\n return p.contactType === contact.contactID\r\n && p.value === contact.contactValue;\r\n });\r\n };\r\n\r\n const contactIsAPreferredContact = (contact) => {\r\n switch (contact.contactID) {\r\n case ContactTypes.homePhone: return customer.homePhone === contact.contactValue;\r\n case ContactTypes.workPhone: return customer.workPhone === contact.contactValue;\r\n case ContactTypes.cellPhone: return customer.cellPhone === contact.contactValue;\r\n case ContactTypes.email: return customer.email === contact.contactValue;\r\n }\r\n };\r\n\r\n if (contactHistory) {\r\n contactHistory.forEach(function (contact) {\r\n if (!contactExistsInCollection(contact) && !contactIsAPreferredContact(contact)) {\r\n alternateContacts.push({\r\n contactType: contact.contactID,\r\n value: contact.contactValue,\r\n isBad: _.includes(invalidContacts, contact.contactValue),\r\n doNotCallStatusTypeId: contact.doNotCallStatusTypeId\r\n });\r\n }\r\n });\r\n }\r\n\r\n return alternateContacts;\r\n };\r\n\r\n const resolvedCustomer = {\r\n id: customer.customerID,\r\n isFullCustomer: customer.isFullCustomer,\r\n isAddressNotValid: customer.isAddressNotValid,\r\n firstName: customer.firstName,\r\n middleName: customer.middleName,\r\n lastName: customer.lastName,\r\n fullName: customer.fullName,\r\n companyName: customer.companyName,\r\n homePhoneNumber: createPreferredContact(customer.homePhone, ContactTypes.homePhone, customer.homePhone_DoNotCallStatusTypeId),\r\n workPhoneNumber: createPreferredContact(customer.workPhone, ContactTypes.workPhone, customer.workPhone_DoNotCallStatusTypeId),\r\n cellPhoneNumber: createPreferredContact(customer.cellPhone, ContactTypes.cellPhone, customer.cellPhone_DoNotCallStatusTypeId),\r\n emailAddress: createPreferredContact(customer.email, ContactTypes.email, invalidContacts),\r\n alternateContacts: createAlternateContacts(),\r\n doNotCall: customer.doNotCall,\r\n doNotEmail: customer.doNotEmail,\r\n doNotMail: customer.doNotMail,\r\n doNotText: customer.doNotText,\r\n address: {\r\n streetAddress: customer.address,\r\n streetAddress2: customer.address2,\r\n city: customer.city,\r\n stateId: customer.stateID,\r\n stateName: customer.state,\r\n zipCode: customer.zipCode,\r\n normalizedZipCode: customer.normalizedZipCode\r\n },\r\n pricingPlanId: customer.pricingPlanID,\r\n // We preserve this array so we can restore them when updating\r\n // the customer.\r\n invalidContacts: invalidContacts,\r\n preferredCultureName: customer.preferredCultureName,\r\n dealerID: customer.dealerID\r\n };\r\n\r\n return resolvedCustomer;\r\n }\r\n\r\n updateCustomer(customer): Promise {\r\n const getUpdateCustomerRequest = (): CustomerPatch => {\r\n const homePhoneNumber = customer.homePhoneNumber && customer.homePhoneNumber.value !== undefined ? customer.homePhoneNumber.value : null;\r\n const workPhoneNumber = customer.workPhoneNumber && customer.workPhoneNumber.value !== undefined ? customer.workPhoneNumber.value : null;\r\n const cellPhoneNumber = customer.cellPhoneNumber && customer.cellPhoneNumber.value !== undefined ? customer.cellPhoneNumber.value : null;\r\n const emailAddress = customer.emailAddress && customer.emailAddress.value !== undefined ? customer.emailAddress.value : null;\r\n\r\n return {\r\n customerID: customer.id,\r\n firstName: customer.firstName,\r\n middleName: customer.middleName,\r\n lastName: customer.lastName,\r\n companyName: customer.companyName,\r\n address: customer.address.streetAddress,\r\n address2: customer.address.streetAddress2,\r\n city: customer.address.city,\r\n stateID: customer.address.stateId,\r\n state: customer.address.stateName,\r\n zipCode: customer.address.zipCode,\r\n homePhone: homePhoneNumber,\r\n workPhone: workPhoneNumber,\r\n cellPhone: cellPhoneNumber,\r\n invalidContacts: customer.invalidContacts ? customer.invalidContacts.join(',') : null,\r\n email: emailAddress,\r\n doNotCall: customer.doNotCall,\r\n doNotEmail: customer.doNotEmail,\r\n doNotMail: customer.doNotMail,\r\n fullName: getFullName(),\r\n pricingPlanID: customer.pricingPlanId,\r\n doNotText: customer.doNotText,\r\n preferredCultureName: customer.preferredCultureName\r\n };\r\n };\r\n\r\n const getFullName = () => {\r\n let fullName = customer.firstName;\r\n\r\n if (customer.middleName) {\r\n fullName += ' ' + customer.middleName;\r\n }\r\n\r\n if (customer.lastName) {\r\n fullName += ' ' + customer.lastName;\r\n }\r\n\r\n return fullName;\r\n };\r\n\r\n const request = getUpdateCustomerRequest();\r\n\r\n return this.customerClient.UpdatePATCHResponse(request)\r\n .pipe(\r\n map((response) => resolveCustomerUpdate(response))\r\n ).toPromise();\r\n\r\n function resolveCustomerUpdate(response: HttpResponse) {\r\n return response.status === 204;\r\n }\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = require(\"rxjs\");\nvar operators_1 = require(\"rxjs/operators\");\nvar deal_sheet_data_service_1 = require(\"./deal-sheet-data.service\");\nvar dealer_service_1 = require(\"./dealer.service\");\nvar activity_service_1 = require(\"./activity.service\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"./deal-sheet-data.service\"));\nvar i2 = __importStar(require(\"./dealer.service\"));\nvar i3 = __importStar(require(\"./activity.service\"));\n// Refactor of methods that get an opportunity formatted for use in a dealsheet\nvar MobileDealSheetDataCachingService = /** @class */ (function () {\n function MobileDealSheetDataCachingService(dealsheetDataService, dealerService, activityService) {\n this.dealsheetDataService = dealsheetDataService;\n this.dealerService = dealerService;\n this.activityService = activityService;\n }\n MobileDealSheetDataCachingService.prototype.getDealsheetData = function (opportunityId, stockNo) {\n if (this.dealSheetData$) {\n return this.dealSheetData$;\n }\n this.dealSheetData$ = this.dealsheetDataService.initDealsheetData(opportunityId, stockNo).pipe(operators_1.publishReplay(1), operators_1.refCount());\n return this.dealSheetData$;\n };\n MobileDealSheetDataCachingService.prototype.getUsers = function (dealerId) {\n if (this.users$) {\n return this.users$;\n }\n this.users$ = rxjs_1.from(this.dealerService.getUsers(dealerId));\n return this.users$;\n };\n MobileDealSheetDataCachingService.prototype.getActivities = function (opportunityId, dealerId, customerId) {\n if (this.activity$) {\n return this.activity$;\n }\n this.activity$ = rxjs_1.from(this.activityService.getActivities(opportunityId, dealerId, customerId));\n return this.activity$;\n };\n MobileDealSheetDataCachingService.prototype.clearActivities = function () {\n this.activity$ = null;\n };\n MobileDealSheetDataCachingService.prototype.clearUsers = function () {\n this.users$ = null;\n };\n MobileDealSheetDataCachingService.prototype.clearDealSheetData = function () {\n this.dealSheetData$ = null;\n };\n MobileDealSheetDataCachingService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function MobileDealSheetDataCachingService_Factory() { return new MobileDealSheetDataCachingService(i0.ɵɵinject(i1.DealSheetDataService), i0.ɵɵinject(i2.DealerService), i0.ɵɵinject(i3.ActivityService)); }, token: MobileDealSheetDataCachingService, providedIn: \"root\" });\n return MobileDealSheetDataCachingService;\n}());\nexports.MobileDealSheetDataCachingService = MobileDealSheetDataCachingService;\n","import { Injectable } from '@angular/core';\r\nimport { Observable, from } from 'rxjs';\r\nimport { DealSheetData } from '../interfaces/deal-sheet/deal-sheet-data.interface';\r\nimport { publishReplay, refCount } from 'rxjs/operators';\r\nimport { DealSheetDataService } from './deal-sheet-data.service';\r\nimport { DealerService } from './dealer.service';\r\nimport { UserDtoExt } from '../interfaces/user-dto-ext.interface';\r\nimport { ActivityService } from './activity.service';\r\nimport { Activity } from '../interfaces/activity.interface';\r\n\r\n// Refactor of methods that get an opportunity formatted for use in a dealsheet\r\n@Injectable({ providedIn: 'root' })\r\nexport class MobileDealSheetDataCachingService {\r\n private dealSheetData$: Observable;\r\n private users$: Observable;\r\n private activity$: Observable;\r\n\r\n constructor(private dealsheetDataService: DealSheetDataService, private dealerService: DealerService, private activityService: ActivityService) { }\r\n\r\n public getDealsheetData(opportunityId: string, stockNo?: string): Observable {\r\n\r\n if (this.dealSheetData$) {\r\n return this.dealSheetData$;\r\n }\r\n\r\n this.dealSheetData$ = this.dealsheetDataService.initDealsheetData(opportunityId, stockNo).pipe(publishReplay(1), refCount());\r\n\r\n return this.dealSheetData$;\r\n }\r\n\r\n public getUsers(dealerId: number): Observable {\r\n\r\n if (this.users$) {\r\n return this.users$;\r\n }\r\n\r\n this.users$ = from(this.dealerService.getUsers(dealerId));\r\n\r\n return this.users$;\r\n }\r\n\r\n public getActivities(opportunityId: string, dealerId: number, customerId: number): Observable {\r\n if (this.activity$) {\r\n return this.activity$;\r\n }\r\n\r\n this.activity$ = from(this.activityService.getActivities(opportunityId, dealerId, customerId));\r\n\r\n return this.activity$;\r\n }\r\n\r\n public clearActivities() {\r\n this.activity$ = null;\r\n }\r\n\r\n public clearUsers() {\r\n this.users$ = null;\r\n }\r\n\r\n public clearDealSheetData() {\r\n this.dealSheetData$ = null;\r\n }\r\n}\r\n","\"use strict\";\n/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\n * file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/guide/browser-support\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\nrequire(\"core-js/es6/symbol\");\nrequire(\"core-js/es6/object\");\nrequire(\"core-js/es7/object\");\nrequire(\"core-js/es6/function\");\nrequire(\"core-js/es6/parse-int\");\nrequire(\"core-js/es6/parse-float\");\nrequire(\"core-js/es6/number\");\nrequire(\"core-js/es6/math\");\nrequire(\"core-js/es6/string\");\nrequire(\"core-js/es6/date\");\nrequire(\"core-js/es6/array\");\nrequire(\"core-js/es6/regexp\");\nrequire(\"core-js/es6/array\");\nrequire(\"core-js/es6/map\");\nrequire(\"core-js/es6/weak-map\");\nrequire(\"core-js/es6/set\");\nrequire(\"core-js/es6/reflect\");\nrequire(\"core-js/es7/reflect\");\nrequire(\"Base64\");\n/**\n * If the application will be indexed by Google Search, the following is required.\n * Googlebot uses a renderer based on Chrome 41.\n * https://developers.google.com/search/docs/guides/rendering\n **/\n// import 'core-js/es6/array';\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\n/** IE10 and IE11 requires the following for the Reflect API. */\n// import 'core-js/es6/reflect';\n/**\n * Web Animations `@angular/platform-browser/animations`\n * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.\n * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).\n **/\n// Kendo uses AnimationBuilder\nrequire(\"web-animations-js\"); // Run `npm install --save web-animations-js`.\n/**\n * By default, zone.js will patch all possible macroTask and DomEvents\n * user can disable parts of macroTask/DomEvents patch by setting following flags\n */\n// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame\n// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick\n// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames\n/*\n* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js\n* with the following flag, it will bypass `zone.js` patch for IE/Edge\n*/\n// (window as any).__Zone_enable_cross_context_check = true;\n/***************************************************************************************************\n * Zone JS is required by default for Angular itself.\n */\nrequire(\"zone.js/dist/zone\"); // Included with Angular CLI.\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\nif (!Element.prototype.matches) {\n Element.prototype.matches = Element.prototype.msMatchesSelector ||\n Element.prototype.webkitMatchesSelector;\n}\n","/**\r\n * This file includes polyfills needed by Angular and is loaded before the app.\r\n * You can add your own extra polyfills to this file.\r\n *\r\n * This file is divided into 2 sections:\r\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\r\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\r\n * file.\r\n *\r\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\r\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\r\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\r\n *\r\n * Learn more in https://angular.io/guide/browser-support\r\n */\r\n\r\n/***************************************************************************************************\r\n * BROWSER POLYFILLS\r\n */\r\n\r\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\r\n import 'core-js/es6/symbol';\r\n import 'core-js/es6/object';\r\n import 'core-js/es7/object';\r\n import 'core-js/es6/function';\r\n import 'core-js/es6/parse-int';\r\n import 'core-js/es6/parse-float';\r\n import 'core-js/es6/number';\r\n import 'core-js/es6/math';\r\n import 'core-js/es6/string';\r\n import 'core-js/es6/date';\r\n import 'core-js/es6/array';\r\n import 'core-js/es6/regexp';\r\n import 'core-js/es6/array';\r\n import 'core-js/es6/map';\r\n import 'core-js/es6/weak-map';\r\n import 'core-js/es6/set';\r\n\r\n import 'core-js/es6/reflect';\r\n import 'core-js/es7/reflect';\r\n\r\nimport 'Base64';\r\n\r\n/**\r\n * If the application will be indexed by Google Search, the following is required.\r\n * Googlebot uses a renderer based on Chrome 41.\r\n * https://developers.google.com/search/docs/guides/rendering\r\n **/\r\n// import 'core-js/es6/array';\r\n\r\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\r\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\r\n\r\n/** IE10 and IE11 requires the following for the Reflect API. */\r\n// import 'core-js/es6/reflect';\r\n\r\n/**\r\n * Web Animations `@angular/platform-browser/animations`\r\n * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.\r\n * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).\r\n **/\r\n// Kendo uses AnimationBuilder\r\n import 'web-animations-js'; // Run `npm install --save web-animations-js`.\r\n\r\n/**\r\n * By default, zone.js will patch all possible macroTask and DomEvents\r\n * user can disable parts of macroTask/DomEvents patch by setting following flags\r\n */\r\n\r\n// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame\r\n// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick\r\n// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames\r\n\r\n/*\r\n* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js\r\n* with the following flag, it will bypass `zone.js` patch for IE/Edge\r\n*/\r\n// (window as any).__Zone_enable_cross_context_check = true;\r\n\r\n/***************************************************************************************************\r\n * Zone JS is required by default for Angular itself.\r\n */\r\n import 'zone.js/dist/zone'; // Included with Angular CLI.\r\n\r\n\r\n/***************************************************************************************************\r\n * APPLICATION IMPORTS\r\n */\r\n\r\nif (!Element.prototype.matches) {\r\n Element.prototype.matches = (Element.prototype).msMatchesSelector ||\r\n Element.prototype.webkitMatchesSelector;\r\n}\r\n","var path = '/app/components/deal-sheet/contract/feature-comparison-features.component.html';\nvar html = \"
{{ $ctrl.currentsavings | localeCurrency }}/{{\\\"yearAbbr\\\" | translate}}
{{ $ctrl.currentSelections[0].estimatedAnnualFuelCost | localeCurrency }}
{{ $ctrl.currentSelections[1].estimatedAnnualFuelCost | localeCurrency }}
{{ $first ? \\\"\\\" : \\\", \\\" }} {{ fuel.costPerUnit | localeFuelEconomy:fuel.fuelTypeId:$ctrl.fuelEconomyComparison.isMetric }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./customer-connect-schedule-action.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/forms\"));\nvar i4 = __importStar(require(\"../../../date-input/date-input.component.ngfactory\"));\nvar i5 = __importStar(require(\"../../../date-input/date-input.component\"));\nvar i6 = __importStar(require(\"../../../../services/date-format.service\"));\nvar i7 = __importStar(require(\"@angular/common\"));\nvar i8 = __importStar(require(\"../../../../../../../node_modules/ngx-bootstrap/timepicker/ngx-bootstrap-timepicker.ngfactory\"));\nvar i9 = __importStar(require(\"ngx-bootstrap/timepicker\"));\nvar i10 = __importStar(require(\"ngx-bootstrap/buttons\"));\nvar i11 = __importStar(require(\"./customer-connect-schedule-action.component\"));\nvar i12 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i13 = __importStar(require(\"../../../../services/user.service\"));\nvar styles_CustomerConnectScheduleActionComponent = [i0.styles];\nvar RenderType_CustomerConnectScheduleActionComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CustomerConnectScheduleActionComponent, data: {} });\nexports.RenderType_CustomerConnectScheduleActionComponent = RenderType_CustomerConnectScheduleActionComponent;\nfunction View_CustomerConnectScheduleActionComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"error\"], [\"translate\", \"dateOutOfRange\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dateOutOfRange\"; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_CustomerConnectScheduleActionComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"error\"], [\"translate\", \"invalidDateFormat\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"invalidDateFormat\"; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_CustomerConnectScheduleActionComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i3.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i3.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(2, 147456, null, 0, i3.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \"\"]))], function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _v.context.$implicit.id, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _v.context.$implicit.id, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.fullName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_CustomerConnectScheduleActionComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 0, null, null, 118, \"form\", [[\"name\", \"scheduleForm\"], [\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i3.ɵangular_packages_forms_forms_z, [], null, null), i1.ɵdid(2, 4210688, [[\"scheduleForm\", 4]], 0, i3.NgForm, [[8, null], [8, null]], null, null), i1.ɵprd(2048, null, i3.ControlContainer, null, [i3.NgForm]), i1.ɵdid(4, 16384, null, 0, i3.NgControlStatusGroup, [[4, i3.ControlContainer]], null, null), (_l()(), i1.ɵeld(5, 0, null, null, 113, \"div\", [[\"class\", \"form-horizontal row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 89, \"div\", [[\"class\", \"col-sm-12 col-md-5 modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 9, \"div\", [[\"class\", \"form-group\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-3 label-top-buffer\"], [\"for\", \"duedate\"], [\"translate\", \"scheduleDueDate\"]], null, null, null, null, null)), i1.ɵdid(9, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 6, \"div\", [[\"class\", \"col-xs-12 col-sm-6 col-md-9\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"date-input\", [], null, [[null, \"onInput\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onInput\" === en)) {\n var pd_0 = (_co.setScheduleDueDate($event.date, $event.model) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i4.View_DateInputComponent_0, i4.RenderType_DateInputComponent)), i1.ɵdid(12, 638976, null, 0, i5.DateInputComponent, [i6.DateFormatService, i3.FormBuilder, i1.Renderer2], { defaultDate: [0, \"defaultDate\"], options: [1, \"options\"] }, { onInput: \"onInput\" }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectScheduleActionComponent_1)), i1.ɵdid(14, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectScheduleActionComponent_2)), i1.ɵdid(16, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 22, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-3 timeTicker\"], [\"for\", \"duetime\"], [\"translate\", \"scheduleDueTime\"]], [[8, \"hidden\", 0]], null, null, null, null)), i1.ɵdid(19, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(20, 0, null, null, 19, \"div\", [[\"class\", \"col-sm-9 row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 7, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 6, \"timepicker\", [[\"name\", \"time\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"ngModelChange\" === en)) {\n var pd_0 = ((_co.model.time = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i8.View_TimepickerComponent_0, i8.RenderType_TimepickerComponent)), i1.ɵprd(512, null, i9.TimepickerStore, i9.TimepickerStore, []), i1.ɵdid(24, 704512, null, 0, i9.TimepickerComponent, [i9.TimepickerConfig, i1.ChangeDetectorRef, i9.TimepickerStore, i9.TimepickerActions], { hourStep: [0, \"hourStep\"], minuteStep: [1, \"minuteStep\"], showMeridian: [2, \"showMeridian\"] }, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i9.TimepickerComponent]), i1.ɵdid(26, 671744, null, 0, i3.NgModel, [[2, i3.ControlContainer], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(28, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(29, 0, null, null, 10, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(30, 0, null, null, 9, \"div\", [[\"class\", \"form-group timeTicker\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 5, \"input\", [[\"class\", \"label-top-buffer\"], [\"id\", \"scheduleSendReminder\"], [\"name\", \"sendReminder\"], [\"type\", \"checkbox\"]], [[8, \"hidden\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 32).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 32).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.model.sendReminder = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(32, 16384, null, 0, i3.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.CheckboxControlValueAccessor]), i1.ɵdid(34, 671744, null, 0, i3.NgModel, [[2, i3.ControlContainer], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(36, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(38, 0, null, null, 1, \"label\", [[\"for\", \"scheduleSendReminder\"], [\"translate\", \"scheduleSendReminder\"]], [[8, \"hidden\", 0]], null, null, null, null)), i1.ɵdid(39, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(40, 0, null, null, 55, \"div\", [[\"class\", \"form-group\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(41, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-3 label-top-buffer\"], [\"for\", \"sel1\"], [\"translate\", \"scheduleAssignTo\"]], null, null, null, null, null)), i1.ɵdid(42, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(43, 0, null, null, 52, \"div\", [[\"class\", \"col-sm-9\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(44, 0, null, null, 12, \"a\", [[\"btnRadio\", \"self\"], [\"class\", \"btn btn-default qa-assign-to-self-btn\"], [\"name\", \"userChoice\"]], [[2, \"active\", null], [1, \"aria-pressed\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"click\"], [null, \"ngModelChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 48).onClick() !== false);\n ad = (pd_0 && ad);\n } if ((\"click\" === en)) {\n var pd_1 = ((_co.errorMessage = \"\") !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.model.userChoice = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i7.ɵNgClassImpl, i7.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(46, 278528, null, 0, i7.NgClass, [i7.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(47, { \"display-none\": 0 }), i1.ɵdid(48, 81920, null, 0, i10.ButtonRadioDirective, [i1.ElementRef, i1.ChangeDetectorRef, [2, i10.ButtonRadioGroupDirective], i1.Renderer2], { btnRadio: [0, \"btnRadio\"] }, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i10.ButtonRadioDirective]), i1.ɵdid(50, 671744, null, 0, i3.NgModel, [[2, i3.ControlContainer], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(52, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(53, 0, null, null, 1, \"label\", [[\"translate\", \"asignToSelf\"]], null, null, null, null, null)), i1.ɵdid(54, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(55, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(56, null, [\"\", \"\"])), (_l()(), i1.ɵeld(57, 0, null, null, 12, \"a\", [[\"btnRadio\", \"owner\"], [\"class\", \"btn btn-default qa-assign-to-owner-btn\"], [\"name\", \"userChoice\"]], [[2, \"active\", null], [1, \"aria-pressed\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"click\"], [null, \"ngModelChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 61).onClick() !== false);\n ad = (pd_0 && ad);\n } if ((\"click\" === en)) {\n var pd_1 = ((_co.errorMessage = \"\") !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.model.userChoice = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i7.ɵNgClassImpl, i7.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(59, 278528, null, 0, i7.NgClass, [i7.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(60, { \"display-none\": 0 }), i1.ɵdid(61, 81920, null, 0, i10.ButtonRadioDirective, [i1.ElementRef, i1.ChangeDetectorRef, [2, i10.ButtonRadioGroupDirective], i1.Renderer2], { btnRadio: [0, \"btnRadio\"] }, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i10.ButtonRadioDirective]), i1.ɵdid(63, 671744, null, 0, i3.NgModel, [[2, i3.ControlContainer], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(65, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(66, 0, null, null, 1, \"label\", [[\"translate\", \"asignToOwner\"]], null, null, null, null, null)), i1.ɵdid(67, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(68, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(69, null, [\"\", \"\"])), (_l()(), i1.ɵeld(70, 0, null, null, 7, \"a\", [[\"btnRadio\", \"other\"], [\"class\", \"btn btn-default qa-assign-to-other-user-btn\"], [\"name\", \"userChoice\"]], [[2, \"active\", null], [1, \"aria-pressed\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"click\"], [null, \"ngModelChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 71).onClick() !== false);\n ad = (pd_0 && ad);\n } if ((\"click\" === en)) {\n var pd_1 = ((_co.errorMessage = \"\") !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.model.userChoice = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(71, 81920, null, 0, i10.ButtonRadioDirective, [i1.ElementRef, i1.ChangeDetectorRef, [2, i10.ButtonRadioGroupDirective], i1.Renderer2], { btnRadio: [0, \"btnRadio\"] }, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i10.ButtonRadioDirective]), i1.ɵdid(73, 671744, null, 0, i3.NgModel, [[2, i3.ControlContainer], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(75, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(76, 0, null, null, 1, \"label\", [[\"translate\", \"asignToOtherUser\"]], null, null, null, null, null)), i1.ɵdid(77, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(78, 0, null, null, 15, \"div\", [[\"class\", \"top-buffer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(79, 0, null, null, 14, \"select\", [[\"class\", \"form-control\"], [\"id\", \"sel1\"], [\"name\", \"userSelect\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 83).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 83).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.model.user = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i7.ɵNgClassImpl, i7.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(81, 278528, null, 0, i7.NgClass, [i7.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(82, { \"display-none\": 0 }), i1.ɵdid(83, 16384, null, 0, i3.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.SelectControlValueAccessor]), i1.ɵdid(85, 671744, null, 0, i3.NgModel, [[2, i3.ControlContainer], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(87, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(88, 0, null, null, 3, \"option\", [[\"translate\", \"pleaseChoose\"], [\"value\", \"-1\"]], null, null, null, null, null)), i1.ɵdid(89, 147456, null, 0, i3.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i3.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(90, 147456, null, 0, i3.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), i1.ɵdid(91, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectScheduleActionComponent_3)), i1.ɵdid(93, 278528, null, 0, i7.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i1.ɵeld(94, 0, null, null, 1, \"div\", [[\"class\", \"error ng-binding label-top-buffer\"]], null, null, null, null, null)), i1.ɵdid(95, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(96, 0, null, null, 22, \"div\", [[\"class\", \"col-sm-12 col-md-7 modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(97, 0, null, null, 21, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(98, 0, null, null, 9, \"div\", [[\"class\", \"col-sm-12 col-md-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(99, 0, null, null, 8, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(100, 0, null, null, 1, \"span\", [[\"class\", \"label-top-buffer\"], [\"translate\", \"notes\"]], null, null, null, null, null)), i1.ɵdid(101, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(102, 0, null, null, 5, \"textarea\", [[\"class\", \"form-control\"], [\"name\", \"notes\"], [\"rows\", \"8\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 103)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 103).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 103)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 103)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.model.notes = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(103, 16384, null, 0, i3.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i3.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.DefaultValueAccessor]), i1.ɵdid(105, 671744, null, 0, i3.NgModel, [[2, i3.ControlContainer], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(107, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(108, 0, null, null, 10, \"div\", [[\"class\", \"col-sm-12 col-md-6 modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(109, 0, null, null, 9, \"div\", [[\"class\", \"bottom-column-schedule\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(110, 0, null, null, 8, \"div\", [[\"class\", \"customer-connect-log-button\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(111, 0, null, null, 3, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(112, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary ng-scope qa-customer-connect-schedule-submit-btn\"], [\"translate\", \"submit\"]], [[8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSubmit() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(113, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"Submit\"])), (_l()(), i1.ɵeld(115, 0, null, null, 3, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(116, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary ng-scope qa-customer-connect-schedule-cancel-btn\"], [\"translate\", \"cancel\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(117, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"Cancel\"]))], function (_ck, _v) { var _co = _v.component; var currVal_8 = \"scheduleDueDate\"; _ck(_v, 9, 0, currVal_8); var currVal_9 = _co.model.scheduleDueDate; var currVal_10 = _co.dateOptions; _ck(_v, 12, 0, currVal_9, currVal_10); var currVal_11 = (((_co.scheduleDueDateModel == null) ? null : ((_co.scheduleDueDateModel.errors == null) ? null : _co.scheduleDueDateModel.errors.minDate)) || ((_co.scheduleDueDateModel == null) ? null : ((_co.scheduleDueDateModel.errors == null) ? null : _co.scheduleDueDateModel.errors.maxDate))); _ck(_v, 14, 0, currVal_11); var currVal_12 = ((((_co.scheduleDueDateModel == null) ? null : _co.scheduleDueDateModel.invalid) && !((_co.scheduleDueDateModel == null) ? null : ((_co.scheduleDueDateModel.errors == null) ? null : _co.scheduleDueDateModel.errors.minDate))) && !((_co.scheduleDueDateModel == null) ? null : ((_co.scheduleDueDateModel.errors == null) ? null : _co.scheduleDueDateModel.errors.maxDate))); _ck(_v, 16, 0, currVal_12); var currVal_14 = \"scheduleDueTime\"; _ck(_v, 19, 0, currVal_14); var currVal_22 = _co.hstep; var currVal_23 = _co.mstep; var currVal_24 = _co.ismeridian; _ck(_v, 24, 0, currVal_22, currVal_23, currVal_24); var currVal_25 = \"time\"; var currVal_26 = _co.model.time; _ck(_v, 26, 0, currVal_25, currVal_26); var currVal_35 = \"sendReminder\"; var currVal_36 = _co.model.sendReminder; _ck(_v, 34, 0, currVal_35, currVal_36); var currVal_38 = \"scheduleSendReminder\"; _ck(_v, 39, 0, currVal_38); var currVal_40 = \"scheduleAssignTo\"; _ck(_v, 42, 0, currVal_40); var currVal_50 = \"btn btn-default qa-assign-to-self-btn\"; var currVal_51 = _ck(_v, 47, 0, ((_co.currentLoginUserProfile == null) ? null : _co.currentLoginUserProfile.employeeUser)); _ck(_v, 46, 0, currVal_50, currVal_51); var currVal_52 = \"self\"; _ck(_v, 48, 0, currVal_52); var currVal_53 = \"userChoice\"; var currVal_54 = _co.model.userChoice; _ck(_v, 50, 0, currVal_53, currVal_54); var currVal_55 = \"asignToSelf\"; _ck(_v, 54, 0, currVal_55); var currVal_66 = \"btn btn-default qa-assign-to-owner-btn\"; var currVal_67 = _ck(_v, 60, 0, !((_co.owner == null) ? null : _co.owner.isValid)); _ck(_v, 59, 0, currVal_66, currVal_67); var currVal_68 = \"owner\"; _ck(_v, 61, 0, currVal_68); var currVal_69 = \"userChoice\"; var currVal_70 = _co.model.userChoice; _ck(_v, 63, 0, currVal_69, currVal_70); var currVal_71 = \"asignToOwner\"; _ck(_v, 67, 0, currVal_71); var currVal_82 = \"other\"; _ck(_v, 71, 0, currVal_82); var currVal_83 = \"userChoice\"; var currVal_84 = _co.model.userChoice; _ck(_v, 73, 0, currVal_83, currVal_84); var currVal_85 = \"asignToOtherUser\"; _ck(_v, 77, 0, currVal_85); var currVal_93 = \"form-control\"; var currVal_94 = _ck(_v, 82, 0, (((_co.model == null) ? null : _co.model.userChoice) !== \"other\")); _ck(_v, 81, 0, currVal_93, currVal_94); var currVal_95 = \"userSelect\"; var currVal_96 = _co.model.user; _ck(_v, 85, 0, currVal_95, currVal_96); var currVal_97 = \"-1\"; _ck(_v, 89, 0, currVal_97); var currVal_98 = \"-1\"; _ck(_v, 90, 0, currVal_98); var currVal_99 = \"pleaseChoose\"; _ck(_v, 91, 0, currVal_99); var currVal_100 = _co.userList; var currVal_101 = _co.usersTrackBy; _ck(_v, 93, 0, currVal_100, currVal_101); var currVal_102 = i1.ɵinlineInterpolate(1, \"\", _co.errorMessage, \"\"); _ck(_v, 95, 0, currVal_102); var currVal_103 = \"notes\"; _ck(_v, 101, 0, currVal_103); var currVal_111 = \"notes\"; var currVal_112 = _co.model.notes; _ck(_v, 105, 0, currVal_111, currVal_112); var currVal_114 = \"submit\"; _ck(_v, 113, 0, currVal_114); var currVal_115 = \"cancel\"; _ck(_v, 117, 0, currVal_115); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 4).ngClassValid; var currVal_5 = i1.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_7 = !((_co.currentScheduleType == null) ? null : _co.currentScheduleType.IsDateVisible); _ck(_v, 7, 0, currVal_7); var currVal_13 = !((_co.currentScheduleType == null) ? null : _co.currentScheduleType.IsTimeVisible); _ck(_v, 18, 0, currVal_13); var currVal_15 = i1.ɵnov(_v, 28).ngClassUntouched; var currVal_16 = i1.ɵnov(_v, 28).ngClassTouched; var currVal_17 = i1.ɵnov(_v, 28).ngClassPristine; var currVal_18 = i1.ɵnov(_v, 28).ngClassDirty; var currVal_19 = i1.ɵnov(_v, 28).ngClassValid; var currVal_20 = i1.ɵnov(_v, 28).ngClassInvalid; var currVal_21 = i1.ɵnov(_v, 28).ngClassPending; _ck(_v, 22, 0, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21); var currVal_27 = !((_co.currentScheduleType == null) ? null : _co.currentScheduleType.IsReminderVisible); var currVal_28 = i1.ɵnov(_v, 36).ngClassUntouched; var currVal_29 = i1.ɵnov(_v, 36).ngClassTouched; var currVal_30 = i1.ɵnov(_v, 36).ngClassPristine; var currVal_31 = i1.ɵnov(_v, 36).ngClassDirty; var currVal_32 = i1.ɵnov(_v, 36).ngClassValid; var currVal_33 = i1.ɵnov(_v, 36).ngClassInvalid; var currVal_34 = i1.ɵnov(_v, 36).ngClassPending; _ck(_v, 31, 0, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34); var currVal_37 = !((_co.currentScheduleType == null) ? null : _co.currentScheduleType.IsReminderVisible); _ck(_v, 38, 0, currVal_37); var currVal_39 = !((_co.currentScheduleType == null) ? null : _co.currentScheduleType.IsAssignToVisible); _ck(_v, 40, 0, currVal_39); var currVal_41 = i1.ɵnov(_v, 48).isActive; var currVal_42 = i1.ɵnov(_v, 48).isActive; var currVal_43 = i1.ɵnov(_v, 52).ngClassUntouched; var currVal_44 = i1.ɵnov(_v, 52).ngClassTouched; var currVal_45 = i1.ɵnov(_v, 52).ngClassPristine; var currVal_46 = i1.ɵnov(_v, 52).ngClassDirty; var currVal_47 = i1.ɵnov(_v, 52).ngClassValid; var currVal_48 = i1.ɵnov(_v, 52).ngClassInvalid; var currVal_49 = i1.ɵnov(_v, 52).ngClassPending; _ck(_v, 44, 0, currVal_41, currVal_42, currVal_43, currVal_44, currVal_45, currVal_46, currVal_47, currVal_48, currVal_49); var currVal_56 = ((_co.currentLoginUserProfile == null) ? null : _co.currentLoginUserProfile.userFullName); _ck(_v, 56, 0, currVal_56); var currVal_57 = i1.ɵnov(_v, 61).isActive; var currVal_58 = i1.ɵnov(_v, 61).isActive; var currVal_59 = i1.ɵnov(_v, 65).ngClassUntouched; var currVal_60 = i1.ɵnov(_v, 65).ngClassTouched; var currVal_61 = i1.ɵnov(_v, 65).ngClassPristine; var currVal_62 = i1.ɵnov(_v, 65).ngClassDirty; var currVal_63 = i1.ɵnov(_v, 65).ngClassValid; var currVal_64 = i1.ɵnov(_v, 65).ngClassInvalid; var currVal_65 = i1.ɵnov(_v, 65).ngClassPending; _ck(_v, 57, 0, currVal_57, currVal_58, currVal_59, currVal_60, currVal_61, currVal_62, currVal_63, currVal_64, currVal_65); var currVal_72 = ((_co.owner == null) ? null : _co.owner.fullName); _ck(_v, 69, 0, currVal_72); var currVal_73 = i1.ɵnov(_v, 71).isActive; var currVal_74 = i1.ɵnov(_v, 71).isActive; var currVal_75 = i1.ɵnov(_v, 75).ngClassUntouched; var currVal_76 = i1.ɵnov(_v, 75).ngClassTouched; var currVal_77 = i1.ɵnov(_v, 75).ngClassPristine; var currVal_78 = i1.ɵnov(_v, 75).ngClassDirty; var currVal_79 = i1.ɵnov(_v, 75).ngClassValid; var currVal_80 = i1.ɵnov(_v, 75).ngClassInvalid; var currVal_81 = i1.ɵnov(_v, 75).ngClassPending; _ck(_v, 70, 0, currVal_73, currVal_74, currVal_75, currVal_76, currVal_77, currVal_78, currVal_79, currVal_80, currVal_81); var currVal_86 = i1.ɵnov(_v, 87).ngClassUntouched; var currVal_87 = i1.ɵnov(_v, 87).ngClassTouched; var currVal_88 = i1.ɵnov(_v, 87).ngClassPristine; var currVal_89 = i1.ɵnov(_v, 87).ngClassDirty; var currVal_90 = i1.ɵnov(_v, 87).ngClassValid; var currVal_91 = i1.ɵnov(_v, 87).ngClassInvalid; var currVal_92 = i1.ɵnov(_v, 87).ngClassPending; _ck(_v, 79, 0, currVal_86, currVal_87, currVal_88, currVal_89, currVal_90, currVal_91, currVal_92); var currVal_104 = i1.ɵnov(_v, 107).ngClassUntouched; var currVal_105 = i1.ɵnov(_v, 107).ngClassTouched; var currVal_106 = i1.ɵnov(_v, 107).ngClassPristine; var currVal_107 = i1.ɵnov(_v, 107).ngClassDirty; var currVal_108 = i1.ɵnov(_v, 107).ngClassValid; var currVal_109 = i1.ɵnov(_v, 107).ngClassInvalid; var currVal_110 = i1.ɵnov(_v, 107).ngClassPending; _ck(_v, 102, 0, currVal_104, currVal_105, currVal_106, currVal_107, currVal_108, currVal_109, currVal_110); var currVal_113 = i1.ɵnov(_v, 2).invalid; _ck(_v, 112, 0, currVal_113); }); }\nexports.View_CustomerConnectScheduleActionComponent_0 = View_CustomerConnectScheduleActionComponent_0;\nfunction View_CustomerConnectScheduleActionComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect-schedule-action\", [], null, null, null, View_CustomerConnectScheduleActionComponent_0, RenderType_CustomerConnectScheduleActionComponent)), i1.ɵdid(1, 638976, null, 0, i11.CustomerConnectScheduleActionComponent, [i6.DateFormatService, i12.StorageService, i13.UserService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CustomerConnectScheduleActionComponent_Host_0 = View_CustomerConnectScheduleActionComponent_Host_0;\nvar CustomerConnectScheduleActionComponentNgFactory = i1.ɵccf(\"customer-connect-schedule-action\", i11.CustomerConnectScheduleActionComponent, View_CustomerConnectScheduleActionComponent_Host_0, { subAction: \"subAction\", permissions: \"permissions\", dialogParams: \"dialogParams\" }, { onLogScheduleSubmit: \"onLogScheduleSubmit\" }, []);\nexports.CustomerConnectScheduleActionComponentNgFactory = CustomerConnectScheduleActionComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n  \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n {{currentLoginUserProfile?.userFullName}}\r\n \r\n\r\n \r\n {{owner?.fullName}}\r\n \r\n\r\n \r\n \r\n \r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","module.exports = __webpack_public_path__ + \"icon-o2o-offer-blue.39498b3f9798b27d620e.svg\";","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./trade-source-logo.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"./trade-source-logo.component\"));\nvar i5 = __importStar(require(\"../../../../generated/services/vehicle-user-trade-value-client.service\"));\nvar styles_TradeSourceLogoComponent = [i0.styles];\nvar RenderType_TradeSourceLogoComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TradeSourceLogoComponent, data: {} });\nexports.RenderType_TradeSourceLogoComponent = RenderType_TradeSourceLogoComponent;\nfunction View_TradeSourceLogoComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"poweredbyBlackBook\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_TradeSourceLogoComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"poweredbyGalves\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_TradeSourceLogoComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"tradeValueManual\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_TradeSourceLogoComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.tradeValueInsertDt; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_TradeSourceLogoComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"class\", \"qa-trade-source-logo blackbook-us-logo\"], [\"src\", \"images/blackbook.png\"]], null, null, null, null, null))], null, null); }\nfunction View_TradeSourceLogoComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"class\", \"black-book-canada qa-trade-source-logo\"], [\"src\", \"images/black-book-canada.png\"]], null, null, null, null, null))], null, null); }\nfunction View_TradeSourceLogoComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeSourceLogoComponent_6)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeSourceLogoComponent_7)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isCanada(); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.isCanada(); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_TradeSourceLogoComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"class\", \"galves qa-trade-source-logo\"], [\"src\", \"images/galves-market-data.png\"]], null, null, null, null, null))], null, null); }\nfunction View_TradeSourceLogoComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"row poweredby-blackbook\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"col-sm-5 col-xs-7\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeSourceLogoComponent_1)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeSourceLogoComponent_2)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeSourceLogoComponent_3)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"col-sm-7 col-xs-5\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeSourceLogoComponent_4)), i1.ɵdid(10, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeSourceLogoComponent_5)), i1.ɵdid(12, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeSourceLogoComponent_8)), i1.ɵdid(14, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.tradeSourceId === _co.tradeValueTypes.blackBookTradeValue) && (_co.tradeValueIsManual === false)); _ck(_v, 3, 0, currVal_0); var currVal_1 = ((_co.tradeSourceId === _co.tradeValueTypes.galvesTradeValue) && (_co.tradeValueIsManual === false)); _ck(_v, 5, 0, currVal_1); var currVal_2 = (_co.tradeValueIsManual === true); _ck(_v, 7, 0, currVal_2); var currVal_3 = (_co.tradeValueIsManual === true); _ck(_v, 10, 0, currVal_3); var currVal_4 = ((_co.tradeSourceId === _co.tradeValueTypes.blackBookTradeValue) && (_co.tradeValueIsManual === false)); _ck(_v, 12, 0, currVal_4); var currVal_5 = ((_co.tradeSourceId === _co.tradeValueTypes.galvesTradeValue) && (_co.tradeValueIsManual === false)); _ck(_v, 14, 0, currVal_5); }, null); }\nexports.View_TradeSourceLogoComponent_0 = View_TradeSourceLogoComponent_0;\nfunction View_TradeSourceLogoComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"trade-source-logo\", [], null, null, null, View_TradeSourceLogoComponent_0, RenderType_TradeSourceLogoComponent)), i1.ɵdid(1, 638976, null, 0, i4.TradeSourceLogoComponent, [i1.ElementRef, i1.Injector, i5.VehicleUserTradeValueClientService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_TradeSourceLogoComponent_Host_0 = View_TradeSourceLogoComponent_Host_0;\nvar TradeSourceLogoComponentNgFactory = i1.ɵccf(\"trade-source-logo\", i4.TradeSourceLogoComponent, View_TradeSourceLogoComponent_Host_0, { tradeSourceId: \"tradeSourceId\", countryId: \"countryId\", vehicle: \"vehicle\" }, {}, []);\nexports.TradeSourceLogoComponentNgFactory = TradeSourceLogoComponentNgFactory;\n","
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
","module.exports = \"\"","// This file isn't wonderful, sorry :(\r\n// This function is shared between Opportunities and Identity.\r\n\r\nexport function ConfigureCommonItemsForModule(module) {\r\n module\r\n .config(ConfigAuth)\r\n .run(RunEnsureRouteServiceIsConstructed)\r\n}\r\n\r\nfunction ConfigAuth($authProvider, $httpProvider, $routeProvider, oidc) {\r\n \"ngInject\";\r\n\r\n $authProvider.configure(oidc);\r\n\r\n if (!$httpProvider.defaults.headers.get) {\r\n $httpProvider.defaults.headers.get = {};\r\n }\r\n\r\n $httpProvider.defaults.headers.get['Cache-Control'] = 'no-cache';\r\n $httpProvider.defaults.headers.get['Pragma'] = 'no-cache';\r\n\r\n // Register callback route\r\n $routeProvider\r\n .when('/auth/callback/:data', {\r\n resolve: { \r\n handleSignInCallback: function ($auth, $route) { \r\n \"ngInject\"\r\n $auth.handleSignInCallback($route.current.params.data);\r\n }\r\n }\r\n })\r\n .when('/auth/clear', {\r\n resolve: {\r\n handleSignOutCallback: function ($auth) {\r\n \"ngInject\"\r\n $auth.handleSignOutCallback();\r\n }\r\n }\r\n })\r\n .when('/auth/logout-from-sso', {\r\n resolve: {\r\n signOut: function ($auth) {\r\n \"ngInject\"\r\n $auth.signOut();\r\n }\r\n }\r\n }) \r\n}\r\n\r\nfunction RunEnsureRouteServiceIsConstructed($route) {\r\n \"ngInject\";\r\n // You cannot remove this function, and you can't remove the unused $route\r\n // parameter. Seriously.\r\n //\r\n // The only hint about this I found was in this COMMENT (the question and\r\n // answer are irrelevant):\r\n //\r\n // `You also need to inject \"$route\" somewhere or these events never fire.`\r\n // https://stackoverflow.com/questions/14765719/how-to-watch-for-a-route-change-in-angularjs#comment28277400_14765954\r\n //\r\n // If we don't inject $route anywhere, then AngularJS never constructs the\r\n // service, so the router never does any work.\r\n}\r\n","RunEnsureRouteServiceIsConstructed.$inject = [\"$route\"];\nConfigAuth.$inject = [\"$authProvider\", \"$httpProvider\", \"$routeProvider\", \"oidc\"];\n// This file isn't wonderful, sorry :(\n// This function is shared between Opportunities and Identity.\nexport function ConfigureCommonItemsForModule(module) {\n module.config(ConfigAuth).run(RunEnsureRouteServiceIsConstructed);\n}\n\nfunction ConfigAuth($authProvider, $httpProvider, $routeProvider, oidc) {\n \"ngInject\";\n\n $authProvider.configure(oidc);\n\n if (!$httpProvider.defaults.headers.get) {\n $httpProvider.defaults.headers.get = {};\n }\n\n $httpProvider.defaults.headers.get['Cache-Control'] = 'no-cache';\n $httpProvider.defaults.headers.get['Pragma'] = 'no-cache'; // Register callback route\n\n $routeProvider.when('/auth/callback/:data', {\n resolve: {\n handleSignInCallback: [\"$auth\", \"$route\", function handleSignInCallback($auth, $route) {\n \"ngInject\";\n\n $auth.handleSignInCallback($route.current.params.data);\n }]\n }\n }).when('/auth/clear', {\n resolve: {\n handleSignOutCallback: [\"$auth\", function handleSignOutCallback($auth) {\n \"ngInject\";\n\n $auth.handleSignOutCallback();\n }]\n }\n }).when('/auth/logout-from-sso', {\n resolve: {\n signOut: [\"$auth\", function signOut($auth) {\n \"ngInject\";\n\n $auth.signOut();\n }]\n }\n });\n}\n\nfunction RunEnsureRouteServiceIsConstructed($route) {\n \"ngInject\"; // You cannot remove this function, and you can't remove the unused $route\n // parameter. Seriously.\n //\n // The only hint about this I found was in this COMMENT (the question and\n // answer are irrelevant):\n //\n // `You also need to inject \"$route\" somewhere or these events never fire.`\n // https://stackoverflow.com/questions/14765719/how-to-watch-for-a-route-change-in-angularjs#comment28277400_14765954\n //\n // If we don't inject $route anywhere, then AngularJS never constructs the\n // service, so the router never does any work.\n}","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DiscrepancyTypes = {\n tradeValue: 1,\n payoffAmount: 2,\n replacementVehicle: 3,\n balloonRate: 4,\n balloonFactoryRebate: 5,\n balloonDealerRebate: 6,\n retailRate: 7,\n retailFactoryRebate: 8,\n retailDealerRebate: 9,\n leaseRate: 10,\n leaseFactoryRebate: 11,\n leaseDealerRebate: 12,\n other: 13\n};\n","export const DiscrepancyTypes = {\r\n tradeValue: 1,\r\n payoffAmount: 2,\r\n replacementVehicle: 3,\r\n balloonRate: 4,\r\n balloonFactoryRebate: 5,\r\n balloonDealerRebate: 6,\r\n retailRate: 7,\r\n retailFactoryRebate: 8,\r\n retailDealerRebate: 9,\r\n leaseRate: 10,\r\n leaseFactoryRebate: 11,\r\n leaseDealerRebate: 12,\r\n other: 13\r\n}","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar toaster_logger_service_1 = require(\"../../../../core/toaster-logger.service\");\nvar vauto_modal_component_1 = require(\"../vauto-modal/vauto-modal.component\");\nvar ngx_modal_wrapper_service_1 = require(\"../../../../services/ngx-modal-wrapper.service\");\nvar VautoComponent = /** @class */ (function () {\n function VautoComponent(modalService, tService, logger, vehicleService, dealSheetService) {\n this.modalService = modalService;\n this.tService = tService;\n this.logger = logger;\n this.vehicleService = vehicleService;\n this.dealSheetService = dealSheetService;\n }\n VautoComponent.prototype.ngOnInit = function () {\n };\n VautoComponent.prototype.ngOnChanges = function (changes) {\n };\n VautoComponent.prototype.vautoModal = function () {\n var _this = this;\n var initialState = {\n dealerId: this.dealerId,\n customer: this.customer,\n vehicle: this.vehicle,\n owner: this.owner\n };\n this.bsModalRef = this.modalService.show(vauto_modal_component_1.VautoModalComponent, { initialState: initialState, class: 'vauto-modal' });\n this.bsModalRef.content.onSaveChanges.subscribe(function (result) {\n var salesperson = [];\n if (_this.owner != null && _this.owner.ownerUserFullName != null) {\n salesperson = _this.owner.ownerUserFullName.split(\" \", 2);\n }\n var request = {\n dealerId: _this.dealerId,\n vin: _this.vehicle.vin,\n make: _this.vehicle.makeName,\n model: _this.vehicle.modelName,\n year: _this.vehicle.yearID,\n mileage: _this.vehicle.estimatedCurrentMileage,\n firstName: _this.customer.firstName,\n lastName: _this.customer.lastName,\n postalCode: _this.customer.address.zipCode,\n salespersonfirstname: salesperson.length > 0 ? salesperson[0] : null,\n salespersonlastname: salesperson.length > 1 ? salesperson[1] : null,\n interiorcolor: _this.vehicle.interiorColor,\n exteriorcolor: _this.vehicle.exteriorColor\n };\n _this.dealSheetService.vAutoCreateAppraisal(request)\n .then(function (data) {\n if (data && data.appraisalID) {\n _this.logger.success(\"vAuto appraisal successfully created with appraisal id: \" + data.appraisalID);\n _this.showAppraisalPopup(data);\n }\n else {\n _this.logger.error(_this.tService.instant(\"generalErrorMessageKey\"));\n }\n });\n });\n };\n VautoComponent.prototype.showAppraisalPopup = function (data) {\n console.log('Appraisial ID: ' + data.appraisalID + ' vAuto url: ' + data.deepLink);\n window.open(data.deepLink, '_blank');\n };\n return VautoComponent;\n}());\nexports.VautoComponent = VautoComponent;\n","import { Component, OnInit, Input, OnChanges, Inject, SimpleChanges } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { VehicleService } from '../../../../ajs-upgraded-providers';\r\nimport { ToasterLoggerService } from '../../../../core/toaster-logger.service';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { VautoModalComponent } from '../vauto-modal/vauto-modal.component';\r\nimport { NgxModalWrapperService } from '../../../../services/ngx-modal-wrapper.service';\r\nimport { DealSheetService } from '../../../../ajs-upgraded-providers';\r\n\r\n@Component({\r\n selector: 'vauto',\r\n templateUrl: './vauto.component-ng.html',\r\n styleUrls: ['./vauto.component.scss']\r\n})\r\nexport class VautoComponent {\r\n @Input() dealerId: number;\r\n @Input() customer: any;\r\n @Input() vehicle: any;\r\n @Input() owner: any;\r\n bsModalRef: BsModalRef;\r\n\r\n constructor(\r\n public modalService: NgxModalWrapperService,\r\n public tService: TranslateService,\r\n public logger: ToasterLoggerService,\r\n @Inject(VehicleService) private vehicleService,\r\n @Inject(DealSheetService) private dealSheetService) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n }\r\n\r\n public vautoModal() {\r\n\r\n const initialState = {\r\n dealerId: this.dealerId,\r\n customer: this.customer,\r\n vehicle: this.vehicle,\r\n owner: this.owner\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(VautoModalComponent, { initialState, class: 'vauto-modal' });\r\n\r\n this.bsModalRef.content.onSaveChanges.subscribe((result: any) => {\r\n\r\n var salesperson = [];\r\n if (this.owner != null && this.owner.ownerUserFullName != null) {\r\n salesperson = this.owner.ownerUserFullName.split(\" \", 2);\r\n }\r\n var request = {\r\n dealerId: this.dealerId,\r\n vin: this.vehicle.vin,\r\n make: this.vehicle.makeName,\r\n model: this.vehicle.modelName,\r\n year: this.vehicle.yearID,\r\n mileage: this.vehicle.estimatedCurrentMileage,\r\n firstName: this.customer.firstName,\r\n lastName: this.customer.lastName,\r\n postalCode: this.customer.address.zipCode,\r\n salespersonfirstname: salesperson.length > 0 ? salesperson[0] : null,\r\n salespersonlastname: salesperson.length > 1 ? salesperson[1] : null,\r\n interiorcolor: this.vehicle.interiorColor,\r\n exteriorcolor: this.vehicle.exteriorColor\r\n }\r\n\r\n this.dealSheetService.vAutoCreateAppraisal(request)\r\n .then(data => {\r\n if (data && data.appraisalID) {\r\n this.logger.success(\"vAuto appraisal successfully created with appraisal id: \" + data.appraisalID);\r\n this.showAppraisalPopup(data);\r\n }\r\n else {\r\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\r\n }\r\n });\r\n });\r\n }\r\n\r\n public showAppraisalPopup(data) {\r\n console.log('Appraisial ID: ' + data.appraisalID + ' vAuto url: ' + data.deepLink);\r\n window.open(data.deepLink, '_blank');\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar AdminSettingsModalSendTestLeadComponent = /** @class */ (function () {\n function AdminSettingsModalSendTestLeadComponent(_bsModalRef, tService, logger) {\n this._bsModalRef = _bsModalRef;\n this.tService = tService;\n this.logger = logger;\n //public isEmailIValid: boolean = true;\n this.email = \"\";\n this.source = \"AutoAlert\";\n this.sendTestLead = new core_1.EventEmitter();\n }\n AdminSettingsModalSendTestLeadComponent.prototype.ngOnInit = function () {\n this._bsModalRef.hide();\n };\n AdminSettingsModalSendTestLeadComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n AdminSettingsModalSendTestLeadComponent.prototype.sendEmail = function (sendLeadForm) {\n if (sendLeadForm.valid) {\n this.sendTestLead.emit({ email: this.email, source: this.source });\n this._bsModalRef.hide();\n }\n };\n AdminSettingsModalSendTestLeadComponent.prototype.cancelModal = function () {\n this._bsModalRef.hide();\n };\n return AdminSettingsModalSendTestLeadComponent;\n}());\nexports.AdminSettingsModalSendTestLeadComponent = AdminSettingsModalSendTestLeadComponent;\n","import { Component, OnInit, Output, EventEmitter, AfterViewInit } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\n\r\n@Component({\r\n selector: 'admin-settings-modal-sendtestlead',\r\n templateUrl: './admin-settings-modal-sendtestlead.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsModalSendTestLeadComponent implements OnInit, AfterViewInit {\r\n //public isEmailIValid: boolean = true;\r\n public email: string = \"\";\r\n public source: string = \"AutoAlert\";\r\n\r\n @Output() sendTestLead = new EventEmitter();\r\n\r\n constructor(\r\n public _bsModalRef: BsModalRef,\r\n public tService: TranslateService,\r\n private logger: ToasterLoggerService) {\r\n\r\n }\r\n\r\n public ngOnInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public sendEmail(sendLeadForm: NgForm): void {\r\n if (sendLeadForm.valid) {\r\n this.sendTestLead.emit({ email: this.email, source: this.source });\r\n this._bsModalRef.hide();\r\n }\r\n }\r\n\r\n public cancelModal(): void {\r\n this._bsModalRef.hide();\r\n }\r\n}\r\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".modal-header[_ngcontent-%COMP%]{background:-webkit-gradient(linear,left top,right top,from(#172751),to(#1f8bd5)) fixed;background:linear-gradient(to right,#172751,#1f8bd5) fixed;color:#fff;border-radius:5px 5px 0 0;text-align:left;margin:0;display:block;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:10px}.invalidField[_ngcontent-%COMP%]{color:Red;margin-left:5px}.roleSelectContainer[_ngcontent-%COMP%]{margin:10px 0}.startWithDefaultLabel[_ngcontent-%COMP%]{margin-left:6px}.startWithParentContainer[_ngcontent-%COMP%]{margin-top:10px}.fieldInvalid[_ngcontent-%COMP%]{border-color:red}.close[_ngcontent-%COMP%]{color:#fff;opacity:1}.popoverHeader[_ngcontent-%COMP%]{font-weight:700}.tooltipContainer[_ngcontent-%COMP%]{float:left;margin-left:5px}.txtRoleName[_ngcontent-%COMP%]{width:200px}.roleSelect[_ngcontent-%COMP%]{width:200px;height:32px}label[_ngcontent-%COMP%]{color:#444a50}\"];\nexports.styles = styles;\n","\"use strict\";\n// import { Component, OnInit } from '@angular/core';\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// @Component({\n// selector: 'personalized-offer',\n// templateUrl: './personalized-offer.component.html',\n// styleUrls: ['./personalized-offer.component.scss']\n// })\n// export class PersonalizedOfferComponent implements OnInit {\n// constructor() { }\n// ngOnInit() {\n// }\n// }\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar PersonalizedOfferComponent = /** @class */ (function (_super) {\n __extends(PersonalizedOfferComponent, _super);\n function PersonalizedOfferComponent(elementRef, injector) {\n return _super.call(this, 'personalizedOffer', elementRef, injector) || this;\n }\n return PersonalizedOfferComponent;\n}(static_1.UpgradeComponent));\nexports.PersonalizedOfferComponent = PersonalizedOfferComponent;\n","// import { Component, OnInit } from '@angular/core';\r\n\r\n// @Component({\r\n// selector: 'personalized-offer',\r\n// templateUrl: './personalized-offer.component.html',\r\n// styleUrls: ['./personalized-offer.component.scss']\r\n// })\r\n// export class PersonalizedOfferComponent implements OnInit {\r\n\r\n// constructor() { }\r\n\r\n// ngOnInit() {\r\n// }\r\n\r\n// }\r\n\r\n\r\nimport { Directive, ElementRef, Injector, Input } from '@angular/core';\r\nimport { UpgradeComponent } from '@angular/upgrade/static';\r\n\r\n@Directive({\r\n selector: 'personalized-offer'\r\n})\r\nexport class PersonalizedOfferComponent extends UpgradeComponent {\r\n @Input() programDetails: any;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('personalizedOffer', elementRef, injector);\r\n }\r\n}","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar CustomerNameComponent = /** @class */ (function (_super) {\n __extends(CustomerNameComponent, _super);\n function CustomerNameComponent(elementRef, injector) {\n return _super.call(this, 'customerName', elementRef, injector) || this;\n }\n return CustomerNameComponent;\n}(static_1.UpgradeComponent));\nexports.CustomerNameComponent = CustomerNameComponent;\n","\r\nimport { Directive, ElementRef, Injector, Input } from '@angular/core';\r\nimport { UpgradeComponent } from '@angular/upgrade/static';\r\nimport { Customer } from '../../../interfaces/customer.interface';\r\n\r\n@Directive({\r\n selector: 'customer-name'\r\n})\r\nexport class CustomerNameComponent extends UpgradeComponent {\r\n @Input() customer: Customer;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('customerName', elementRef, injector);\r\n }\r\n}","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OpportunityTypes = {\n native: 1,\n converted: 2,\n conquest: 3\n};\n","export const OpportunityTypes = {\r\n native: 1,\r\n converted: 2,\r\n conquest: 3\r\n};","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./score-info-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i5 = __importStar(require(\"../../icon/icon.component\"));\nvar i6 = __importStar(require(\"@angular/platform-browser\"));\nvar i7 = __importStar(require(\"ng-busy\"));\nvar i8 = __importStar(require(\"./score-info-modal.component\"));\nvar i9 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i10 = __importStar(require(\"../../../services/opportunity2.service\"));\nvar styles_ScoreInfoModalComponent = [i0.styles];\nvar RenderType_ScoreInfoModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ScoreInfoModalComponent, data: {} });\nexports.RenderType_ScoreInfoModalComponent = RenderType_ScoreInfoModalComponent;\nfunction View_ScoreInfoModalComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"td\", [[\"class\", \"feature-desc\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [[\"class\", \"grid-alert\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"span\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"fa alerts-letterblock-sm\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), (_l()(), i1.ɵted(5, null, [\"\\u00A0\", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"fa fa\", _v.parent.context.$implicit.alertCode, \"\"); _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.alertCodeLetter; _ck(_v, 4, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"alertName\")); _ck(_v, 5, 0, currVal_2); }); }\nfunction View_ScoreInfoModalComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.parent.context.$implicit.featureDescription; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ScoreInfoModalComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [[\"class\", \"feature-desc\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ScoreInfoModalComponent_5)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = !_v.parent.context.$implicit.isAlert; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ScoreInfoModalComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"td\", [[\"class\", \"text-center\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(3, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"posValue\": 0, \"negValue\": 1 }), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ScoreInfoModalComponent_3)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ScoreInfoModalComponent_4)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = \"text-center\"; var currVal_1 = _ck(_v, 4, 0, (_v.context.$implicit.weight > 0), (_v.context.$implicit.weight < 0)); _ck(_v, 3, 0, currVal_0, currVal_1); var currVal_3 = _v.context.$implicit.isAlert; _ck(_v, 7, 0, currVal_3); var currVal_4 = !_v.context.$implicit.isAlert; _ck(_v, 9, 0, currVal_4); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.posneg; _ck(_v, 5, 0, currVal_2); }); }\nfunction View_ScoreInfoModalComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"form-group row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 9, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 4, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"th\", [[\"class\", \"text-center\"], [\"translate\", \"influence\"]], null, null, null, null, null)), i1.ɵdid(6, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"th\", [[\"translate\", \"ScoreFeatureLabel\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ScoreInfoModalComponent_2)), i1.ɵdid(11, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"influence\"; _ck(_v, 6, 0, currVal_0); var currVal_1 = \"ScoreFeatureLabel\"; _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.features; _ck(_v, 11, 0, currVal_2); }, null); }\nfunction View_ScoreInfoModalComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"form-group row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12 no-score-data\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"translate\", \"NoScoreData\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"NoScoreData\"; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_ScoreInfoModalComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"form-group row note-section\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"span\", [[\"class\", \"noteLabel\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \":\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"ul\", [[\"class\", \"noteList\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"li\", [[\"translate\", \"scoreNote1\"]], null, null, null, null, null)), i1.ɵdid(7, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"li\", [[\"translate\", \"scoreNote2\"]], null, null, null, null, null)), i1.ɵdid(9, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_1 = \"scoreNote1\"; _ck(_v, 7, 0, currVal_1); var currVal_2 = \"scoreNote2\"; _ck(_v, 9, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(\"note\")); _ck(_v, 3, 0, currVal_0); }); }\nfunction View_ScoreInfoModalComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 22, \"div\", [[\"class\", \"modal-wrapper score-info-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"score-title\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"h5\", [[\"class\", \"modal-title\"], [\"translate\", \"BehindScoreTitle\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 3, \"div\", [[\"class\", \"score-float-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(8, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(9, 16777216, null, null, 10, \"div\", [[\"class\", \"modal-body form-horizontal\"]], null, null, null, null, null)), i1.ɵprd(512, null, i7.InstanceConfigHolderService, i7.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i7.ɵa, i7.ɵa, []), i1.ɵdid(12, 409600, null, 0, i7.NgBusyDirective, [i7.ɵb, i7.InstanceConfigHolderService, i1.ComponentFactoryResolver, i7.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(13, { busy: 0, delay: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ScoreInfoModalComponent_1)), i1.ɵdid(15, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ScoreInfoModalComponent_6)), i1.ɵdid(17, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ScoreInfoModalComponent_7)), i1.ɵdid(19, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(22, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"BehindScoreTitle\"; _ck(_v, 4, 0, currVal_0); _ck(_v, 8, 0); var currVal_1 = _ck(_v, 13, 0, _co.busy, 200); _ck(_v, 12, 0, currVal_1); var currVal_2 = (_co.featuresLoaded && (_co.features.length > 0)); _ck(_v, 15, 0, currVal_2); var currVal_3 = (_co.featuresLoaded && (_co.features.length == 0)); _ck(_v, 17, 0, currVal_3); var currVal_4 = (_co.featuresLoaded && (_co.features.length > 0)); _ck(_v, 19, 0, currVal_4); var currVal_5 = \"close\"; _ck(_v, 22, 0, currVal_5); }, null); }\nexports.View_ScoreInfoModalComponent_0 = View_ScoreInfoModalComponent_0;\nfunction View_ScoreInfoModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"score-info-modal\", [], null, null, null, View_ScoreInfoModalComponent_0, RenderType_ScoreInfoModalComponent)), i1.ɵdid(1, 4308992, null, 0, i8.ScoreInfoModalComponent, [i9.BsModalRef, i2.TranslateService, i10.Opportunity2Service], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ScoreInfoModalComponent_Host_0 = View_ScoreInfoModalComponent_Host_0;\nvar ScoreInfoModalComponentNgFactory = i1.ɵccf(\"score-info-modal\", i8.ScoreInfoModalComponent, View_ScoreInfoModalComponent_Host_0, { entityId: \"entityId\" }, {}, []);\nexports.ScoreInfoModalComponentNgFactory = ScoreInfoModalComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
0\">\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
0, 'negValue': row.weight < 0}\">{{row.posneg}}\r\n {{row.alertCodeLetter}} {{'alertName' | translate}}\r\n \r\n {{row.featureDescription}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
0\">\r\n
\r\n {{'note' | translate}}:\r\n
    \r\n
  • \r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"../tooltip.component.ngfactory\"));\nvar i3 = __importStar(require(\"../tooltip.component\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i5 = __importStar(require(\"@angular/forms\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./admin-settings-inventory.component\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i9 = __importStar(require(\"../../services/user.service\"));\nvar i10 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar styles_AdminSettingsInventoryComponent = [];\nvar RenderType_AdminSettingsInventoryComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsInventoryComponent, data: {} });\nexports.RenderType_AdminSettingsInventoryComponent = RenderType_AdminSettingsInventoryComponent;\nfunction View_AdminSettingsInventoryComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 67, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle below\"], [\"translate\", \"dsAdmin_usedInventoryPriceAdjustmenet\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(4, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 18, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(8, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerUsedPriceAdjust.UsedPriceAdjustPercent\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 9)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 9).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 9)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 9)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 10).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 10).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 10).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerUsedPriceAdjust.usedPriceAdjustPercent = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(9, 16384, null, 0, i5.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(10, 16384, null, 0, i5.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.NumberValueAccessor]), i0.ɵdid(12, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(14, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(15, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(17, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerUsedPriceAdjust.UsedPriceAdjustDollar\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 18)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 18).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 18)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 18)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 19).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 19).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 19).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerUsedPriceAdjust.usedPriceAdjustDollar = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(18, 16384, null, 0, i5.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(19, 16384, null, 0, i5.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.NumberValueAccessor]), i0.ɵdid(21, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(23, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵeld(24, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(25, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_usedInventoryTurnSettings\"]], null, null, null, null, null)), i0.ɵdid(26, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(27, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(28, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(29, 0, null, null, 12, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(30, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_usedInventoryTurn\"]], null, null, null, null, null)), i0.ɵdid(31, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(32, 0, null, null, 9, \"div\", [[\"class\", \"co-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(33, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.InventoryTurn\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 34)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 34).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 34)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 34)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 35).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 35).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 35).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.inventoryTurn = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(34, 16384, null, 0, i5.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(35, 16384, null, 0, i5.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.NumberValueAccessor]), i0.ɵdid(37, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(39, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(40, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(42, 0, null, null, 12, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(43, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_wholeSalesNoticeAge\"]], null, null, null, null, null)), i0.ɵdid(44, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(45, 0, null, null, 9, \"div\", [[\"class\", \"co-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(46, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.WholeSaleBegin\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 47)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 47).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 47)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 47)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 48).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 48).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 48).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.wholeSaleBegin = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(47, 16384, null, 0, i5.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(48, 16384, null, 0, i5.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.NumberValueAccessor]), i0.ɵdid(50, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(52, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(53, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(55, 0, null, null, 12, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(56, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_freshInventoryAge\"]], null, null, null, null, null)), i0.ɵdid(57, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(58, 0, null, null, 9, \"div\", [[\"class\", \"co-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(59, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.FreshInvEnd\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 60)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 60).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 60)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 60)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 61).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 61).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 61).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.freshInvEnd = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(60, 16384, null, 0, i5.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(61, 16384, null, 0, i5.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.NumberValueAccessor]), i0.ɵdid(63, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(65, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(66, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_usedInventoryPriceAdjustmenet\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"dsAdmin_usedInventoryPriceAdjustmenet\"; var currVal_2 = \"dsAdmin_usedInventoryPriceAdjustmenetTooltip\"; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_11 = \"DealerUsedPriceAdjust.UsedPriceAdjustPercent\"; var currVal_12 = _co.dsa.dealerUsedPriceAdjust.usedPriceAdjustPercent; _ck(_v, 12, 0, currVal_11, currVal_12); var currVal_21 = \"DealerUsedPriceAdjust.UsedPriceAdjustDollar\"; var currVal_22 = _co.dsa.dealerUsedPriceAdjust.usedPriceAdjustDollar; _ck(_v, 21, 0, currVal_21, currVal_22); var currVal_23 = \"dsAdmin_usedInventoryTurnSettings\"; _ck(_v, 26, 0, currVal_23); var currVal_24 = \"dsAdmin_usedInventoryTurnSettings\"; var currVal_25 = \"dsAdmin_usedInventoryTurnSettingsTooltip\"; _ck(_v, 28, 0, currVal_24, currVal_25); var currVal_26 = \"dsAdmin_usedInventoryTurn\"; _ck(_v, 31, 0, currVal_26); var currVal_34 = \"DealerSetting.InventoryTurn\"; var currVal_35 = _co.dsa.dealerSetting.inventoryTurn; _ck(_v, 37, 0, currVal_34, currVal_35); var currVal_37 = \"dsAdmin_wholeSalesNoticeAge\"; _ck(_v, 44, 0, currVal_37); var currVal_45 = \"DealerSetting.WholeSaleBegin\"; var currVal_46 = _co.dsa.dealerSetting.wholeSaleBegin; _ck(_v, 50, 0, currVal_45, currVal_46); var currVal_48 = \"dsAdmin_freshInventoryAge\"; _ck(_v, 57, 0, currVal_48); var currVal_56 = \"DealerSetting.FreshInvEnd\"; var currVal_57 = _co.dsa.dealerSetting.freshInvEnd; _ck(_v, 63, 0, currVal_56, currVal_57); }, function (_ck, _v) { var currVal_3 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(\"dsAdmin_adjustUsedInventoryPriceByAmount\")); _ck(_v, 6, 0, currVal_3); var currVal_4 = i0.ɵnov(_v, 14).ngClassUntouched; var currVal_5 = i0.ɵnov(_v, 14).ngClassTouched; var currVal_6 = i0.ɵnov(_v, 14).ngClassPristine; var currVal_7 = i0.ɵnov(_v, 14).ngClassDirty; var currVal_8 = i0.ɵnov(_v, 14).ngClassValid; var currVal_9 = i0.ɵnov(_v, 14).ngClassInvalid; var currVal_10 = i0.ɵnov(_v, 14).ngClassPending; _ck(_v, 8, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); var currVal_13 = i0.ɵunv(_v, 15, 0, i0.ɵnov(_v, 16).transform(\"dsAdmin_andOrByAmount\")); _ck(_v, 15, 0, currVal_13); var currVal_14 = i0.ɵnov(_v, 23).ngClassUntouched; var currVal_15 = i0.ɵnov(_v, 23).ngClassTouched; var currVal_16 = i0.ɵnov(_v, 23).ngClassPristine; var currVal_17 = i0.ɵnov(_v, 23).ngClassDirty; var currVal_18 = i0.ɵnov(_v, 23).ngClassValid; var currVal_19 = i0.ɵnov(_v, 23).ngClassInvalid; var currVal_20 = i0.ɵnov(_v, 23).ngClassPending; _ck(_v, 17, 0, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20); var currVal_27 = i0.ɵnov(_v, 39).ngClassUntouched; var currVal_28 = i0.ɵnov(_v, 39).ngClassTouched; var currVal_29 = i0.ɵnov(_v, 39).ngClassPristine; var currVal_30 = i0.ɵnov(_v, 39).ngClassDirty; var currVal_31 = i0.ɵnov(_v, 39).ngClassValid; var currVal_32 = i0.ɵnov(_v, 39).ngClassInvalid; var currVal_33 = i0.ɵnov(_v, 39).ngClassPending; _ck(_v, 33, 0, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33); var currVal_36 = i0.ɵunv(_v, 40, 0, i0.ɵnov(_v, 41).transform(\"days\")).toLowerCase(); _ck(_v, 40, 0, currVal_36); var currVal_38 = i0.ɵnov(_v, 52).ngClassUntouched; var currVal_39 = i0.ɵnov(_v, 52).ngClassTouched; var currVal_40 = i0.ɵnov(_v, 52).ngClassPristine; var currVal_41 = i0.ɵnov(_v, 52).ngClassDirty; var currVal_42 = i0.ɵnov(_v, 52).ngClassValid; var currVal_43 = i0.ɵnov(_v, 52).ngClassInvalid; var currVal_44 = i0.ɵnov(_v, 52).ngClassPending; _ck(_v, 46, 0, currVal_38, currVal_39, currVal_40, currVal_41, currVal_42, currVal_43, currVal_44); var currVal_47 = i0.ɵunv(_v, 53, 0, i0.ɵnov(_v, 54).transform(\"days\")).toLowerCase(); _ck(_v, 53, 0, currVal_47); var currVal_49 = i0.ɵnov(_v, 65).ngClassUntouched; var currVal_50 = i0.ɵnov(_v, 65).ngClassTouched; var currVal_51 = i0.ɵnov(_v, 65).ngClassPristine; var currVal_52 = i0.ɵnov(_v, 65).ngClassDirty; var currVal_53 = i0.ɵnov(_v, 65).ngClassValid; var currVal_54 = i0.ɵnov(_v, 65).ngClassInvalid; var currVal_55 = i0.ɵnov(_v, 65).ngClassPending; _ck(_v, 59, 0, currVal_49, currVal_50, currVal_51, currVal_52, currVal_53, currVal_54, currVal_55); var currVal_58 = i0.ɵunv(_v, 66, 0, i0.ɵnov(_v, 67).transform(\"days\")).toLowerCase(); _ck(_v, 66, 0, currVal_58); }); }\nfunction View_AdminSettingsInventoryComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 24, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_grossProfitFormatSettings\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(4, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 19, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"translate\", \"dsAdmin_showMyTopUsedOpportunitiesBy\"]], null, null, null, null, null)), i0.ɵdid(7, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 16, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 15, \"select\", [[\"class\", \"form-control\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 10).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 10).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.grossProfitFormat = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(10, 16384, null, 0, i5.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.SelectControlValueAccessor]), i0.ɵdid(12, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(14, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵeld(15, 0, null, null, 4, \"option\", [[\"value\", \"1\"]], null, null, null, null, null)), i0.ɵdid(16, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(17, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(18, null, [\"\", \" $\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(20, 0, null, null, 4, \"option\", [[\"value\", \"2\"]], null, null, null, null, null)), i0.ɵdid(21, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(22, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(23, null, [\"\", \" %\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_grossProfitFormatSettings\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"dsAdmin_grossProfitFormatSettings\"; var currVal_2 = \"dsAdmin_grossProfitFormatSettingsTooltip\"; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_3 = \"dsAdmin_showMyTopUsedOpportunitiesBy\"; _ck(_v, 7, 0, currVal_3); var currVal_11 = _co.dsa.dealerSetting.grossProfitFormat; _ck(_v, 12, 0, currVal_11); var currVal_12 = \"1\"; _ck(_v, 16, 0, currVal_12); var currVal_13 = \"1\"; _ck(_v, 17, 0, currVal_13); var currVal_15 = \"2\"; _ck(_v, 21, 0, currVal_15); var currVal_16 = \"2\"; _ck(_v, 22, 0, currVal_16); }, function (_ck, _v) { var currVal_4 = i0.ɵnov(_v, 14).ngClassUntouched; var currVal_5 = i0.ɵnov(_v, 14).ngClassTouched; var currVal_6 = i0.ɵnov(_v, 14).ngClassPristine; var currVal_7 = i0.ɵnov(_v, 14).ngClassDirty; var currVal_8 = i0.ɵnov(_v, 14).ngClassValid; var currVal_9 = i0.ɵnov(_v, 14).ngClassInvalid; var currVal_10 = i0.ɵnov(_v, 14).ngClassPending; _ck(_v, 9, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); var currVal_14 = i0.ɵunv(_v, 18, 0, i0.ɵnov(_v, 19).transform(\"gross\")); _ck(_v, 18, 0, currVal_14); var currVal_17 = i0.ɵunv(_v, 23, 0, i0.ɵnov(_v, 24).transform(\"gross\")); _ck(_v, 23, 0, currVal_17); }); }\nfunction View_AdminSettingsInventoryComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), i0.ɵdid(2, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [2, i5.SelectMultipleControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.inventoryMatchRankingFieldTypeName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsInventoryComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 52, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 51, \"div\", [[\"class\", \"col-md-10\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_usedAlertsCalculation\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 20, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 9, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 10).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 10).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.enableUsedAlerts = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(10, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(12, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(14, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(15, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(17, 0, null, null, 9, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 20).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 20).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.usedOverNewPreference = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(20, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(22, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(24, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(25, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(27, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsInventoryComponent_1)), i0.ɵdid(29, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(30, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsInventoryComponent_2)), i0.ɵdid(32, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(33, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_replacementVehicleSorting\"]], null, null, null, null, null)), i0.ɵdid(35, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(36, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(37, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(38, 0, null, null, 14, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(39, 0, null, null, 8, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(40, 0, null, null, 7, \"select\", [[\"multiple\", \"multiple\"], [\"style\", \"height: 70px;width:200px\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 41).onChange($event.target) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 41).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.rvsSelectedItem = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(41, 16384, null, 0, i5.SelectMultipleControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.SelectMultipleControlValueAccessor]), i0.ɵdid(43, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(45, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsInventoryComponent_3)), i0.ɵdid(47, 278528, null, 0, i6.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(48, 0, null, null, 4, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(49, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(50, 0, null, null, 0, \"button\", [[\"class\", \"btn-up\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.rvsMove(\"+\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(51, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(52, 0, null, null, 0, \"button\", [[\"class\", \"btn-down\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.rvsMove(\"-\") !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_usedAlertsCalculation\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_usedAlertsCalculation\"; var currVal_2 = \"dsAdmin_usedAlertsCalculationTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_10 = _co.dsa.dealerSetting.enableUsedAlerts; _ck(_v, 12, 0, currVal_10); var currVal_19 = _co.dsa.dealerSetting.usedOverNewPreference; _ck(_v, 22, 0, currVal_19); var currVal_21 = _co.dsa.isPreOwnedFeatureEnabled; _ck(_v, 29, 0, currVal_21); var currVal_22 = _co.dsa.isPreOwnedFeatureEnabled; _ck(_v, 32, 0, currVal_22); var currVal_23 = \"dsAdmin_replacementVehicleSorting\"; _ck(_v, 35, 0, currVal_23); var currVal_24 = \"dsAdmin_replacementVehicleSorting\"; var currVal_25 = \"dsAdmin_replacementVehicleSortingTooltip\"; _ck(_v, 37, 0, currVal_24, currVal_25); var currVal_33 = _co.rvsSelectedItem; _ck(_v, 43, 0, currVal_33); var currVal_34 = _co.dsa.dealerInventoryMatchRankingField; _ck(_v, 47, 0, currVal_34); }, function (_ck, _v) { var currVal_3 = i0.ɵnov(_v, 14).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 14).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 14).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 14).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 14).ngClassValid; var currVal_8 = i0.ɵnov(_v, 14).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 14).ngClassPending; _ck(_v, 9, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i0.ɵunv(_v, 15, 0, i0.ɵnov(_v, 16).transform(\"dsAdmin_enableUsedAlerts\")); _ck(_v, 15, 0, currVal_11); var currVal_12 = i0.ɵnov(_v, 24).ngClassUntouched; var currVal_13 = i0.ɵnov(_v, 24).ngClassTouched; var currVal_14 = i0.ɵnov(_v, 24).ngClassPristine; var currVal_15 = i0.ɵnov(_v, 24).ngClassDirty; var currVal_16 = i0.ɵnov(_v, 24).ngClassValid; var currVal_17 = i0.ɵnov(_v, 24).ngClassInvalid; var currVal_18 = i0.ɵnov(_v, 24).ngClassPending; _ck(_v, 19, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18); var currVal_20 = i0.ɵunv(_v, 25, 0, i0.ɵnov(_v, 26).transform(\"dsAdmin_preferUsedToUsedMappings\")); _ck(_v, 25, 0, currVal_20); var currVal_26 = i0.ɵnov(_v, 45).ngClassUntouched; var currVal_27 = i0.ɵnov(_v, 45).ngClassTouched; var currVal_28 = i0.ɵnov(_v, 45).ngClassPristine; var currVal_29 = i0.ɵnov(_v, 45).ngClassDirty; var currVal_30 = i0.ɵnov(_v, 45).ngClassValid; var currVal_31 = i0.ɵnov(_v, 45).ngClassInvalid; var currVal_32 = i0.ɵnov(_v, 45).ngClassPending; _ck(_v, 40, 0, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32); }); }\nexports.View_AdminSettingsInventoryComponent_0 = View_AdminSettingsInventoryComponent_0;\nfunction View_AdminSettingsInventoryComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-inventory\", [], null, null, null, View_AdminSettingsInventoryComponent_0, RenderType_AdminSettingsInventoryComponent)), i0.ɵdid(1, 49152, null, 0, i7.AdminSettingsInventoryComponent, [i8.BsModalService, i1.TranslateService, i9.UserService, i10.ToasterLoggerService], null, null)], null, null); }\nexports.View_AdminSettingsInventoryComponent_Host_0 = View_AdminSettingsInventoryComponent_Host_0;\nvar AdminSettingsInventoryComponentNgFactory = i0.ɵccf(\"admin-settings-inventory\", i7.AdminSettingsInventoryComponent, View_AdminSettingsInventoryComponent_Host_0, { dsa: \"dsa\" }, { onSaveChanges: \"onSaveChanges\" }, []);\nexports.AdminSettingsInventoryComponentNgFactory = AdminSettingsInventoryComponentNgFactory;\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ 'dsAdmin_adjustUsedInventoryPriceByAmount' | translate }} {{ 'dsAdmin_andOrByAmount' | translate }} \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ ('days' | translate).toLowerCase() }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ ('days' | translate).toLowerCase() }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ ('days' | translate).toLowerCase() }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
","var path = '/app/components/radio-group.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/modals/vehicle-select-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./trade-in-value.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/forms\"));\nvar i4 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i5 = __importStar(require(\"../../../icon/icon.component\"));\nvar i6 = __importStar(require(\"@angular/platform-browser\"));\nvar i7 = __importStar(require(\"@angular/common\"));\nvar i8 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i9 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i10 = __importStar(require(\"./trade-in-value.component\"));\nvar i11 = __importStar(require(\"../../../../generated/services/vehicle-user-trade-value-client.service\"));\nvar styles_TradeInValueComponent = [i0.styles];\nvar RenderType_TradeInValueComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TradeInValueComponent, data: {} });\nexports.RenderType_TradeInValueComponent = RenderType_TradeInValueComponent;\nfunction View_TradeInValueComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"field-data qa-trade-in-value\"], [\"id\", \"trade-in-value\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent, 0), _co.value)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_TradeInValueComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [[\"class\", \"adjustment qa-trade-value-mileage-adjustment\"], [\"translate\", \"mileageAdjustment\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(2, 1), i1.ɵpod(3, { adjustment: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"mileageAdjustment\"; var currVal_1 = _ck(_v, 3, 0, i1.ɵunv(_v, 1, 1, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent, 0), (0 - _co.mileageAdjustment)))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_TradeInValueComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, \"span\", [[\"class\", \"field-data\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"translate\", \"currencySymbol\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"input\", [[\"class\", \"form-control input-sm editable qa-trade-value-input\"], [\"type\", \"text\"]], [[8, \"id\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"keypress\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"change\" === en)) {\n var pd_5 = (_co.update(_co.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"keypress\" === en)) {\n var pd_6 = (_co.tradeOnKeyPress($event) !== false);\n ad = (pd_6 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i3.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i3.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.DefaultValueAccessor]), i1.ɵdid(6, 671744, null, 0, i3.NgModel, [[8, null], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(8, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(9, 0, null, null, 3, \"a\", [[\"class\", \"edit-icon qa-trade-value-refresh-link\"], [\"href\", \"#\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onValueChange(_co.value) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-refresh\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(12, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(13, 0, null, null, 3, \"a\", [[\"class\", \"edit-icon\"], [\"href\", \"#\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onStoreTradeValue(_co.value) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"icon\", [[\"class\", \"icon save-manual-trade-value\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(16, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeInValueComponent_4)), i1.ɵdid(18, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"currencySymbol\"; _ck(_v, 2, 0, currVal_0); var currVal_9 = _co.inputName; var currVal_10 = _co.value; _ck(_v, 6, 0, currVal_9, currVal_10); _ck(_v, 12, 0); _ck(_v, 16, 0); var currVal_13 = (_co.showAdjustment && ((0 - _co.mileageAdjustment) > 0)); _ck(_v, 18, 0, currVal_13); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.inputName; var currVal_2 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 8).ngClassValid; var currVal_7 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"recalculatedealsheet\")), \"\"); _ck(_v, 9, 0, currVal_11); var currVal_12 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"savemanualtradevalue\")), \"\"); _ck(_v, 13, 0, currVal_12); }); }\nfunction View_TradeInValueComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"trade-in-value\"], [\"translate\", \"tradeValue\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeInValueComponent_2)), i1.ɵdid(4, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeInValueComponent_3)), i1.ɵdid(6, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"tradeValue\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.readonly; _ck(_v, 4, 0, currVal_1); var currVal_2 = !_co.readonly; _ck(_v, 6, 0, currVal_2); }, null); }\nfunction View_TradeInValueComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i8.LocaleCurrencyPipe, [i9.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TradeInValueComponent_1)), i1.ɵdid(2, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.value != null) && ((_co.permissions == null) ? null : _co.permissions.viewTradeValue)); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_TradeInValueComponent_0 = View_TradeInValueComponent_0;\nfunction View_TradeInValueComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"trade-in-value\", [], null, null, null, View_TradeInValueComponent_0, RenderType_TradeInValueComponent)), i1.ɵdid(1, 49152, null, 0, i10.TradeInValueComponent, [i1.ElementRef, i1.Injector, i11.VehicleUserTradeValueClientService], null, null)], null, null); }\nexports.View_TradeInValueComponent_Host_0 = View_TradeInValueComponent_Host_0;\nvar TradeInValueComponentNgFactory = i1.ɵccf(\"trade-in-value\", i10.TradeInValueComponent, View_TradeInValueComponent_Host_0, { vehicle: \"vehicle\", value: \"value\", showAdjustment: \"showAdjustment\", mileageAdjustment: \"mileageAdjustment\", permissions: \"permissions\", inputName: \"inputName\", readonly: \"readonly\" }, { tradeValueChange: \"tradeValueChange\" }, []);\nexports.TradeInValueComponentNgFactory = TradeInValueComponentNgFactory;\n","
\r\n \r\n\r\n {{ value | localeCurrency }}\r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 0\" translate=\"mileageAdjustment\"\r\n [translateParams]=\"{ adjustment: -mileageAdjustment | localeCurrency }\">\r\n \r\n
\r\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApiActivityStatuses = {\n new: 0,\n scheduled: 1,\n completed: 2,\n uncompleted: 3\n};\n","export const ApiActivityStatuses = {\r\n new: 0,\r\n scheduled: 1,\r\n completed: 2,\r\n uncompleted: 3\r\n};\r\n","var path = '/app/components/deal-sheet/contract/loyalty-rebate.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar deal_sheet_data_service_1 = require(\"../../../../services/deal-sheet-data.service\");\nvar core_2 = require(\"@uirouter/core\");\nvar mobile_deal_sheet_data_caching_service_1 = require(\"../../../../services/mobile-deal-sheet-data-caching.service\");\nvar rxjs_1 = require(\"rxjs\");\nvar mobile_routes_1 = require(\"../mobile-routes\");\nvar MobileVehiclesComponent = /** @class */ (function () {\n function MobileVehiclesComponent(dealSheetDataService, stateService, mobileDealSheetDataCachingService, transition, changeDetectorRef) {\n this.dealSheetDataService = dealSheetDataService;\n this.stateService = stateService;\n this.mobileDealSheetDataCachingService = mobileDealSheetDataCachingService;\n this.transition = transition;\n this.changeDetectorRef = changeDetectorRef;\n this.vehicleTypeKeys = Object.keys(constants_1.VehicleTypes);\n this.vehicleTypes = constants_1.VehicleTypes;\n this.saleTypeKeys = Object.keys(constants_1.SaleTypes);\n this.paymentTypes = constants_1.PaymentTypes;\n this.tradeValueTypes = constants_1.TradeValueTypes;\n this.opportunityId = this.transition.params().opportunityId;\n }\n MobileVehiclesComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.showPullForward = this.dealSheetDataService.shouldDisplayPullForward(this.opportunity);\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(function (dealSheetData) {\n _this.opportunity = dealSheetData.opportunity;\n _this.permissions = dealSheetData.permissions;\n _this.alertExists = dealSheetData.alertExists;\n _this.flexAlertExists = dealSheetData.flexAlertExists;\n _this.serviceAlertExists = dealSheetData.serviceAlertExists;\n _this.appointmentAlertExists = dealSheetData.appointmentAlertExists;\n _this.mileageAlertExists = dealSheetData.mileageAlertExists;\n _this.contractEndAlertExists = dealSheetData.contractEndAlertExists;\n _this.warrantyAlertExists = dealSheetData.warrantyAlertExists;\n _this.userProfile = dealSheetData.userProfile;\n _this.fuelEconomyComparison = dealSheetData.fuelEconomyComparison;\n _this.changeDetectorRef.detectChanges();\n });\n this.busy = this.opportunitySubscription;\n };\n MobileVehiclesComponent.prototype.ngOnDestroy = function () {\n this.opportunitySubscription.unsubscribe();\n };\n MobileVehiclesComponent.prototype.viewReplacementDetails = function () {\n this.stateService.go(mobile_routes_1.MobileRoutes.replacementDetails);\n };\n return MobileVehiclesComponent;\n}());\nexports.MobileVehiclesComponent = MobileVehiclesComponent;\n","import { Component, OnInit, OnDestroy, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\r\nimport { PaymentTypes, SaleTypes, TradeValueTypes, VehicleTypes } from '../../../../constants';\r\nimport { DealSheetOpportunity } from '../../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { UserProfile } from '../../../../interfaces/user-profile.interface';\r\nimport { DealSheetDataService } from '../../../../services/deal-sheet-data.service';\r\nimport { StateService, Transition } from '@uirouter/core';\r\nimport { MobileDealSheetDataCachingService } from '../../../../services/mobile-deal-sheet-data-caching.service';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { MobileRoutes } from '../mobile-routes';\r\n\r\n@Component({\r\n selector: 'mobile-vehicles',\r\n templateUrl: './mobile-vehicles.component-ng.html',\r\n styleUrls: ['./mobile-vehicles.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class MobileVehiclesComponent implements OnInit, OnDestroy {\r\n opportunitySubscription: Subscription;\r\n opportunityId: string;\r\n\r\n opportunity: DealSheetOpportunity;\r\n permissions: DealSheetPermissions;\r\n alertExists: boolean;\r\n flexAlertExists: boolean;\r\n serviceAlertExists: boolean;\r\n appointmentAlertExists: boolean;\r\n mileageAlertExists: boolean;\r\n contractEndAlertExists: boolean;\r\n warrantyAlertExists: boolean;\r\n userProfile: UserProfile;\r\n fuelEconomyComparison: any;\r\n\r\n public vehicleTypeKeys = Object.keys(VehicleTypes);\r\n public vehicleTypes = VehicleTypes;\r\n public saleTypeKeys = Object.keys(SaleTypes);\r\n public paymentTypes = PaymentTypes;\r\n public tradeValueTypes = TradeValueTypes;\r\n\r\n public showPullForward: boolean;\r\n\r\n public busy: Subscription;\r\n\r\n constructor(private dealSheetDataService: DealSheetDataService,\r\n private stateService: StateService,\r\n private mobileDealSheetDataCachingService: MobileDealSheetDataCachingService,\r\n private transition: Transition,\r\n private changeDetectorRef: ChangeDetectorRef) {\r\n this.opportunityId = this.transition.params().opportunityId;\r\n }\r\n\r\n ngOnInit() {\r\n this.showPullForward = this.dealSheetDataService.shouldDisplayPullForward(this.opportunity);\r\n\r\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(dealSheetData => {\r\n this.opportunity = dealSheetData.opportunity;\r\n this.permissions = dealSheetData.permissions;\r\n this.alertExists = dealSheetData.alertExists;\r\n this.flexAlertExists = dealSheetData.flexAlertExists;\r\n this.serviceAlertExists = dealSheetData.serviceAlertExists;\r\n this.appointmentAlertExists = dealSheetData.appointmentAlertExists;\r\n this.mileageAlertExists = dealSheetData.mileageAlertExists;\r\n this.contractEndAlertExists = dealSheetData.contractEndAlertExists;\r\n this.warrantyAlertExists = dealSheetData.warrantyAlertExists;\r\n this.userProfile = dealSheetData.userProfile;\r\n this.fuelEconomyComparison = dealSheetData.fuelEconomyComparison;\r\n\r\n this.changeDetectorRef.detectChanges();\r\n });\r\n\r\n this.busy = this.opportunitySubscription;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.opportunitySubscription.unsubscribe();\r\n }\r\n\r\n public viewReplacementDetails() {\r\n this.stateService.go(MobileRoutes.replacementDetails);\r\n }\r\n}\r\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","var path = '/app/components/deal-sheet/contract/sale-type-select.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".modal-body[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:500}.row-underline[_ngcontent-%COMP%]{border-bottom:1px solid #e5e5e5}.sectionHeader[_ngcontent-%COMP%]{font-size:18px;font-weight:500}.table[_ngcontent-%COMP%]{margin-bottom:10px}.table[_ngcontent-%COMP%] td.right[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] th.right[_ngcontent-%COMP%]{text-align:right}\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/contract/balloon-payment.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export');\nvar ownKeys = require('./_own-keys');\nvar toIObject = require('./_to-iobject');\nvar gOPD = require('./_object-gopd');\nvar createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIObject(object);\n var getDesc = gOPD.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, desc;\n while (keys.length > i) {\n desc = getDesc(O, key = keys[i++]);\n if (desc !== undefined) createProperty(result, key, desc);\n }\n return result;\n }\n});\n","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","var path = '/app/components/deal-sheet/contract/balance-to-maturity.component.html';\nvar html = \"
100\\\">
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar platform_browser_1 = require(\"@angular/platform-browser\");\nvar srcDoc = __importStar(require(\"srcdoc-polyfill\"));\nvar DisplayModalComponent = /** @class */ (function () {\n function DisplayModalComponent(_bsModalRef, sanitizer) {\n this._bsModalRef = _bsModalRef;\n this.sanitizer = sanitizer;\n this.onClosed = new core_1.EventEmitter();\n }\n DisplayModalComponent.prototype.ngOnInit = function () {\n this.safeHtml = this.sanitizer.bypassSecurityTrustHtml(this.htmlContent);\n // TO Support Edge, IE as they do not support iframe/srcDoc following polyfill was used\n srcDoc.set(this.iframe.nativeElement, this.safeHtml);\n };\n DisplayModalComponent.prototype.onCancel = function () {\n this.onClosed.emit({ confirmed: false });\n this._bsModalRef.hide();\n };\n return DisplayModalComponent;\n}());\nexports.DisplayModalComponent = DisplayModalComponent;\n","import { Component, EventEmitter, Input, OnInit, Output, ViewChild, ElementRef } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { SafePipe } from '../../../filters/safe.pipe';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport * as srcDoc from 'srcdoc-polyfill';\r\n\r\n@Component({\r\n selector: 'display-modal',\r\n templateUrl: './display-modal.component-ng.html',\r\n styleUrls: ['./display-modal.component.scss']\r\n})\r\n\r\nexport class DisplayModalComponent implements OnInit {\r\n @Input() htmlContent: string;\r\n @Output() onClosed = new EventEmitter();\r\n @ViewChild('frame', {static: true}) public iframe: ElementRef;\r\n\r\n public safeHtml: SafeHtml; \r\n\r\n constructor(public _bsModalRef: BsModalRef, protected sanitizer: DomSanitizer) { }\r\n\r\n public ngOnInit(): void {\r\n this.safeHtml = this.sanitizer.bypassSecurityTrustHtml(this.htmlContent);\r\n // TO Support Edge, IE as they do not support iframe/srcDoc following polyfill was used\r\n srcDoc.set(this.iframe.nativeElement, this.safeHtml);\r\n }\r\n\r\n public onCancel(): void {\r\n this.onClosed.emit({ confirmed: false });\r\n this._bsModalRef.hide();\r\n }\r\n\r\n}\r\n","var path = '/app/components/login.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar MessagingClientService = /** @class */ (function (_super) {\n __extends(MessagingClientService, _super);\n function MessagingClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @return Success\n */\n MessagingClientService.prototype.GetPubNubConfigGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Messaging/GetPubNubConfig\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n MessagingClientService.prototype.GetPubNubConfigGET = function () {\n return this.GetPubNubConfigGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n MessagingClientService.GetPubNubConfigGETPath = '/api/Messaging/GetPubNubConfig';\n MessagingClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function MessagingClientService_Factory() { return new MessagingClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: MessagingClientService, providedIn: \"root\" });\n return MessagingClientService;\n}(base_service_1.BaseService));\nexports.MessagingClientService = MessagingClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { PubNubConfigDto } from '../models/pub-nub-config-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass MessagingClientService extends __BaseService {\r\n static readonly GetPubNubConfigGETPath = '/api/Messaging/GetPubNubConfig';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetPubNubConfigGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Messaging/GetPubNubConfig`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetPubNubConfigGET(): __Observable {\r\n return this.GetPubNubConfigGETResponse().pipe(\r\n __map(_r => _r.body as PubNubConfigDto)\r\n );\r\n }\r\n}\r\n\r\nmodule MessagingClientService {\r\n}\r\n\r\nexport { MessagingClientService }\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".modal-body[_ngcontent-%COMP%]{padding-top:10px!important}.form-group[_ngcontent-%COMP%]{margin-bottom:0}.score-info-wrapper[_ngcontent-%COMP%] .score-title[_ngcontent-%COMP%]{float:left}.score-info-wrapper[_ngcontent-%COMP%] .score-float-right[_ngcontent-%COMP%]{float:right}.score-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{width:100%;max-width:100%;margin-bottom:4px}.score-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%], .score-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%], .score-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%], .score-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > tfoot[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%], .score-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%], .score-info-wrapper[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{padding:0 2px;border-top:none}.score-info-wrapper[_ngcontent-%COMP%] .grid-alert[_ngcontent-%COMP%]{float:left}.score-info-wrapper[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:700}.score-info-wrapper[_ngcontent-%COMP%] .boldNote[_ngcontent-%COMP%]{font-weight:700;font-size:14px}.score-info-wrapper[_ngcontent-%COMP%] .noteLabel[_ngcontent-%COMP%]{font-size:14px;color:#7a8084}.score-info-wrapper[_ngcontent-%COMP%] .note-section[_ngcontent-%COMP%]{padding-top:8px}.score-info-wrapper[_ngcontent-%COMP%] .noteList[_ngcontent-%COMP%]{padding-left:inherit;font-size:12px;font-weight:300;color:#7a8084}.score-info-wrapper[_ngcontent-%COMP%] .posValue[_ngcontent-%COMP%]{color:green;font-size:22px;font-weight:700}.score-info-wrapper[_ngcontent-%COMP%] .negValue[_ngcontent-%COMP%]{color:red;font-size:22px;font-weight:700}.score-info-wrapper[_ngcontent-%COMP%] .faalert[_ngcontent-%COMP%]{border-radius:3px;background:#f53142;width:18px;height:18px;line-height:18px!important;text-align:center;margin-top:0}.score-info-wrapper[_ngcontent-%COMP%] .faservice[_ngcontent-%COMP%]{border-radius:3px;background:#42b93f;width:18px;height:18px;line-height:18px!important;text-align:center;margin-top:0}.score-info-wrapper[_ngcontent-%COMP%] .facontractend[_ngcontent-%COMP%]{border-radius:3px;background:#226be6;width:18px;height:18px;line-height:18px!important;text-align:center;margin-top:0}.score-info-wrapper[_ngcontent-%COMP%] .famileage[_ngcontent-%COMP%]{border-radius:3px;background:#fe6e1a;width:18px;height:18px;line-height:18px!important;text-align:center;margin-top:0}.score-info-wrapper[_ngcontent-%COMP%] .fawarranty[_ngcontent-%COMP%]{border-radius:3px;background:#7a5ec8;width:18px;height:18px;line-height:18px!important;text-align:center;margin-top:0}.score-info-wrapper[_ngcontent-%COMP%] .fafflexalert[_ngcontent-%COMP%]{border-radius:3px;background:#824119;width:18px;height:18px;line-height:18px!important;text-align:center;margin-top:0}.score-info-wrapper[_ngcontent-%COMP%] .faappointment[_ngcontent-%COMP%]{border-radius:3px;background:#257f31;width:18px;height:18px;line-height:18px!important;text-align:center;margin-top:0}.score-info-wrapper[_ngcontent-%COMP%] .fainmarket[_ngcontent-%COMP%]{border-radius:3px;background:#c80;width:18px;height:18px;line-height:18px!important;text-align:center;margin-top:0}.score-info-wrapper[_ngcontent-%COMP%] .fainmarketengaged[_ngcontent-%COMP%]{border-radius:3px;background:#fcaf26;width:18px;height:18px;line-height:18px!important;text-align:center;margin-top:0}.score-info-wrapper[_ngcontent-%COMP%] .no-score-data[_ngcontent-%COMP%]{padding:15px;text-align:center}.score-info-wrapper[_ngcontent-%COMP%] .feature-desc[_ngcontent-%COMP%]{vertical-align:middle}\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".modal-header[_ngcontent-%COMP%]{background:-webkit-gradient(linear,left top,right top,from(#172751),to(#1f8bd5)) fixed;background:linear-gradient(to right,#172751,#1f8bd5) fixed;color:#fff;border-radius:5px 5px 0 0;text-align:left;margin:0;display:block;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:10px}.modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{color:#fff;opacity:1}.startWithParentContainer[_ngcontent-%COMP%]{margin-top:10px}\"];\nexports.styles = styles;\n","module.exports = \"\"","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = require(\"rxjs\");\nexports.unauthorized$ = new rxjs_1.Subject();\nexports.tokenExpired$ = new rxjs_1.Subject();\nexports.tokenMissing$ = new rxjs_1.Subject();\nexports.tokenExpiresSoon$ = new rxjs_1.Subject();\nexports.loggedIn$ = new rxjs_1.Subject();\nexports.externalLoggedIn$ = new rxjs_1.Subject();\nexports.loggedOut$ = new rxjs_1.Subject();\nexports.silentRefreshStarted$ = new rxjs_1.Subject();\nexports.silentRefreshSucceeded$ = new rxjs_1.Subject();\nexports.silentRefreshFailed$ = new rxjs_1.Subject();\nexports.silentRefreshTokenUnchanged$ = new rxjs_1.Subject();\nexports.silentRefreshTimeout$ = new rxjs_1.Subject();\n","import { Subject } from 'rxjs';\r\n\r\nexport const unauthorized$ = new Subject();\r\nexport const tokenExpired$ = new Subject();\r\nexport const tokenMissing$ = new Subject();\r\nexport const tokenExpiresSoon$ = new Subject();\r\n\r\nexport const loggedIn$ = new Subject();\r\nexport const externalLoggedIn$ = new Subject();\r\nexport const loggedOut$ = new Subject();\r\n\r\nexport const silentRefreshStarted$ = new Subject();\r\nexport const silentRefreshSucceeded$ = new Subject();\r\nexport const silentRefreshFailed$ = new Subject();\r\nexport const silentRefreshTokenUnchanged$ = new Subject();\r\nexport const silentRefreshTimeout$ = new Subject();\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mileage-edit-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/forms\"));\nvar i4 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i5 = __importStar(require(\"../../../icon/icon.component\"));\nvar i6 = __importStar(require(\"@angular/platform-browser\"));\nvar i7 = __importStar(require(\"../../../date-input/date-input.component.ngfactory\"));\nvar i8 = __importStar(require(\"../../../date-input/date-input.component\"));\nvar i9 = __importStar(require(\"../../../../services/date-format.service\"));\nvar i10 = __importStar(require(\"@angular/common\"));\nvar i11 = __importStar(require(\"./mileage-edit-modal.component\"));\nvar i12 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i13 = __importStar(require(\"../../../../core/toaster-logger.service\"));\nvar styles_MileageEditModalComponent = [i0.styles];\nvar RenderType_MileageEditModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MileageEditModalComponent, data: {} });\nexports.RenderType_MileageEditModalComponent = RenderType_MileageEditModalComponent;\nfunction View_MileageEditModalComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"form-group row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"class\", \"error\"], [\"translate\", \"dateOutOfRange\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dateOutOfRange\"; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_MileageEditModalComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"row form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"class\", \"error\"], [\"translate\", \"invalidDateFormat\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"invalidDateFormat\"; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_MileageEditModalComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(671088640, 1, { mileageForm: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 43, \"div\", [[\"class\", \"modal-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 42, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngSubmit\"], [null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onReset() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngSubmit\" === en)) {\n var pd_2 = (_co.saveMileage(i1.ɵnov(_v, 4)) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(3, 16384, null, 0, i3.ɵangular_packages_forms_forms_z, [], null, null), i1.ɵdid(4, 4210688, [[1, 4], [\"mileageForm\", 4]], 0, i3.NgForm, [[8, null], [8, null]], null, { ngSubmit: \"ngSubmit\" }), i1.ɵprd(2048, null, i3.ControlContainer, null, [i3.NgForm]), i1.ɵdid(6, 16384, null, 0, i3.NgControlStatusGroup, [[4, i3.ControlContainer]], null, null), (_l()(), i1.ɵeld(7, 0, null, null, 37, \"div\", [[\"class\", \"alert-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"h5\", [[\"class\", \"modal-title\"], [\"translate\", \"updateMileage\"]], null, null, null, null, null)), i1.ɵdid(11, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(15, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(16, 0, null, null, 23, \"div\", [[\"class\", \"modal-body form-horizontal\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 12, \"div\", [[\"class\", \"row form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-2 col-form-label control-label\"], [\"translate\", \"mileageLabel\"]], null, null, null, null, null)), i1.ɵdid(19, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(20, 0, null, null, 9, \"div\", [[\"class\", \"col-sm-10\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 8, \"input\", [[\"autofocus\", \"true\"], [\"class\", \"form-control\"], [\"id\", \"mileage1\"], [\"name\", \"mileage1\"], [\"required\", \"\"], [\"type\", \"number\"]], [[1, \"required\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 22)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 22).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 22)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 22)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 23).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 23).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 23).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.mileage = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i1.ɵdid(22, 16384, null, 0, i3.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i3.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(23, 16384, null, 0, i3.NumberValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵdid(24, 16384, null, 0, i3.RequiredValidator, [], { required: [0, \"required\"] }, null), i1.ɵprd(1024, null, i3.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i3.RequiredValidator]), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i3.DefaultValueAccessor, i3.NumberValueAccessor]), i1.ɵdid(27, 671744, [[\"mileage1\", 4]], 0, i3.NgModel, [[2, i3.ControlContainer], [6, i3.NG_VALIDATORS], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(29, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(30, 0, null, null, 5, \"div\", [[\"class\", \"row form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-2 col-form-label control-label\"], [\"translate\", \"readOn\"]], null, null, null, null, null)), i1.ɵdid(32, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-10\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 1, \"date-input\", [[\"id\", \"readOnDate\"], [\"name\", \"readOnDate\"]], null, [[null, \"onInput\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onInput\" === en)) {\n var pd_0 = (_co.setDate($event.date, $event.model) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i7.View_DateInputComponent_0, i7.RenderType_DateInputComponent)), i1.ɵdid(35, 638976, null, 0, i8.DateInputComponent, [i9.DateFormatService, i3.FormBuilder, i1.Renderer2], { defaultDate: [0, \"defaultDate\"], options: [1, \"options\"] }, { onInput: \"onInput\" }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MileageEditModalComponent_1)), i1.ɵdid(37, 16384, null, 0, i10.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MileageEditModalComponent_2)), i1.ɵdid(39, 16384, null, 0, i10.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(40, 0, null, null, 4, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(41, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(42, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(43, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"submit\"], [\"type\", \"submit\"]], [[8, \"disabled\", 0]], null, null, null, null)), i1.ɵdid(44, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = \"updateMileage\"; _ck(_v, 11, 0, currVal_7); _ck(_v, 15, 0); var currVal_8 = \"mileageLabel\"; _ck(_v, 19, 0, currVal_8); var currVal_17 = \"\"; _ck(_v, 24, 0, currVal_17); var currVal_18 = \"mileage1\"; var currVal_19 = _co.mileage; _ck(_v, 27, 0, currVal_18, currVal_19); var currVal_20 = \"readOn\"; _ck(_v, 32, 0, currVal_20); var currVal_21 = _co.model.date; var currVal_22 = _co.dateOptions; _ck(_v, 35, 0, currVal_21, currVal_22); var currVal_23 = (((_co.dateModel == null) ? null : ((_co.dateModel.errors == null) ? null : _co.dateModel.errors.minDate)) || ((_co.dateModel == null) ? null : ((_co.dateModel.errors == null) ? null : _co.dateModel.errors.maxDate))); _ck(_v, 37, 0, currVal_23); var currVal_24 = ((((_co.dateModel == null) ? null : _co.dateModel.invalid) && !((_co.dateModel == null) ? null : ((_co.dateModel.errors == null) ? null : _co.dateModel.errors.minDate))) && !((_co.dateModel == null) ? null : ((_co.dateModel.errors == null) ? null : _co.dateModel.errors.maxDate))); _ck(_v, 39, 0, currVal_24); var currVal_25 = \"cancel\"; _ck(_v, 42, 0, currVal_25); var currVal_27 = \"submit\"; _ck(_v, 44, 0, currVal_27); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 6).ngClassValid; var currVal_5 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_9 = (i1.ɵnov(_v, 24).required ? \"\" : null); var currVal_10 = i1.ɵnov(_v, 29).ngClassUntouched; var currVal_11 = i1.ɵnov(_v, 29).ngClassTouched; var currVal_12 = i1.ɵnov(_v, 29).ngClassPristine; var currVal_13 = i1.ɵnov(_v, 29).ngClassDirty; var currVal_14 = i1.ɵnov(_v, 29).ngClassValid; var currVal_15 = i1.ɵnov(_v, 29).ngClassInvalid; var currVal_16 = i1.ɵnov(_v, 29).ngClassPending; _ck(_v, 21, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); var currVal_26 = (!i1.ɵnov(_v, 4).form.valid || !((_co.dateModel == null) ? null : _co.dateModel.valid)); _ck(_v, 43, 0, currVal_26); }); }\nexports.View_MileageEditModalComponent_0 = View_MileageEditModalComponent_0;\nfunction View_MileageEditModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mileage-edit-modal\", [], null, null, null, View_MileageEditModalComponent_0, RenderType_MileageEditModalComponent)), i1.ɵdid(1, 4308992, null, 0, i11.MileageEditModalComponent, [i12.BsModalRef, i2.TranslateService, i13.ToasterLoggerService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MileageEditModalComponent_Host_0 = View_MileageEditModalComponent_Host_0;\nvar MileageEditModalComponentNgFactory = i1.ɵccf(\"mileage-edit-modal\", i11.MileageEditModalComponent, View_MileageEditModalComponent_Host_0, {}, { onSaveChanges: \"onSaveChanges\" }, []);\nexports.MileageEditModalComponentNgFactory = MileageEditModalComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $values = require('./_object-to-array')(false);\n\n$export($export.S, 'Object', {\n values: function values(it) {\n return $values(it);\n }\n});\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar component_loader_1 = require(\"ngx-bootstrap/component-loader\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar NgxModalWrapperService = /** @class */ (function (_super) {\n __extends(NgxModalWrapperService, _super);\n function NgxModalWrapperService(renderFactory, clr) {\n var _this = _super.call(this, renderFactory, clr) || this;\n _this.renderFactory = renderFactory;\n _this.clr = clr;\n _this.isModalStacked = false;\n _this.onHide.subscribe(function () {\n if (_this.isModalStacked) {\n document.body.classList.add('modal-open');\n }\n });\n return _this;\n }\n NgxModalWrapperService.prototype.show = function (content, config) {\n this.isModalStacked = document.body.classList.contains('modal-open');\n var modalRef = _super.prototype.show.call(this, content, config);\n if (this.isModalStacked && this.modalsCount === 1) {\n var backdrop = document.querySelector('bs-modal-backdrop');\n backdrop.setAttribute('style', 'z-index: 1070');\n }\n if (this.isModalStacked) {\n // the following fixes issues with ngx-bootstrap modal showing behind deal sheet if deal sheet\n // was opened by engagement widget which is a ui-bootstrap modal:\n var containerList = document.querySelectorAll('modal-container');\n containerList.forEach(function (item) {\n item.setAttribute('style', 'display:block;z-index: 1070');\n });\n }\n return modalRef;\n };\n NgxModalWrapperService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function NgxModalWrapperService_Factory() { return new NgxModalWrapperService(i0.ɵɵinject(i0.RendererFactory2), i0.ɵɵinject(i1.ComponentLoaderFactory)); }, token: NgxModalWrapperService, providedIn: \"root\" });\n return NgxModalWrapperService;\n}(modal_1.BsModalService));\nexports.NgxModalWrapperService = NgxModalWrapperService;\n","import { Injectable, TemplateRef, RendererFactory2, ViewChild } from '@angular/core';\r\nimport { BsModalRef, BsModalService, ModalOptions } from 'ngx-bootstrap/modal';\r\nimport { ComponentLoaderFactory } from 'ngx-bootstrap/component-loader';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\n// This service helps ngx-bootstrap modals play nice with ui-bootstrap modals\r\n// This is only needed while the deal sheet is opened in angularjs\r\n// Nesting of ngx-bootstrap modals on top of angularjs modals does not work correctly\r\n// because the two libraries don't know about each other\r\n// This bumps the modal backdrop up above the deal sheet modal and re-adds the 'modal-open' class to the body\r\n// Known issues: Scroll bar leaves then comes back on nested modal close, ngx-bootstrap removes this first thing and I can't trick it to not remove it\r\nexport class NgxModalWrapperService extends BsModalService {\r\n\r\n private isModalStacked = false;\r\n\r\n constructor(private renderFactory: RendererFactory2, private clr: ComponentLoaderFactory) {\r\n super(renderFactory, clr);\r\n\r\n this.onHide.subscribe(() => {\r\n if (this.isModalStacked) {\r\n document.body.classList.add('modal-open');\r\n }\r\n });\r\n }\r\n\r\n show(content: string | TemplateRef | any, config?: ModalOptions): BsModalRef {\r\n this.isModalStacked = document.body.classList.contains('modal-open');\r\n\r\n const modalRef = super.show(content, config);\r\n \r\n if (this.isModalStacked && (this).modalsCount === 1) {\r\n const backdrop = document.querySelector('bs-modal-backdrop');\r\n backdrop.setAttribute('style', 'z-index: 1070');\r\n }\r\n\r\n if (this.isModalStacked) {\r\n // the following fixes issues with ngx-bootstrap modal showing behind deal sheet if deal sheet\r\n // was opened by engagement widget which is a ui-bootstrap modal:\r\n const containerList = document.querySelectorAll('modal-container');\r\n containerList.forEach(function (item) {\r\n item.setAttribute('style', 'display:block;z-index: 1070');\r\n });\r\n }\r\n\r\n return modalRef;\r\n }\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar ActivityHistoryClientService = /** @class */ (function (_super) {\n __extends(ActivityHistoryClientService, _super);\n function ActivityHistoryClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param params The `ActivityHistoryClientService.GetExtByEntityIdByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `count`:\n */\n ActivityHistoryClientService.prototype.GetExtByEntityIdByEntityidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.count != null)\n __params = __params.set('count', params.count.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ActivityHistory/GetExtByEntityId/\" + params.entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ActivityHistoryClientService.GetExtByEntityIdByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `count`:\n */\n ActivityHistoryClientService.prototype.GetExtByEntityIdByEntityidGET = function (params) {\n return this.GetExtByEntityIdByEntityidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n ActivityHistoryClientService.prototype.GetLastActivityByEntityIdByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ActivityHistory/GetLastActivityByEntityId/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n ActivityHistoryClientService.prototype.GetLastActivityByEntityIdByEntityidGET = function (entityId) {\n return this.GetLastActivityByEntityIdByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n ActivityHistoryClientService.prototype.GetOneToOneMailHistoryByByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ActivityHistory/GetOneToOneMailHistoryBy/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n ActivityHistoryClientService.prototype.GetOneToOneMailHistoryByByEntityidGET = function (entityId) {\n return this.GetOneToOneMailHistoryByByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n ActivityHistoryClientService.prototype.GetSLMEmailOfferHistoryByByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ActivityHistory/GetSLMEmailOfferHistoryBy/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n ActivityHistoryClientService.prototype.GetSLMEmailOfferHistoryByByEntityidGET = function (entityId) {\n return this.GetSLMEmailOfferHistoryByByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ActivityHistoryClientService.GetExtActivityHistoryByByEntityidByDealeridGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `dealerId`:\n */\n ActivityHistoryClientService.prototype.GetExtActivityHistoryByByEntityidByDealeridGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ActivityHistory/GetExtActivityHistoryBy/\" + params.entityId + \"/\" + params.dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ActivityHistoryClientService.GetExtActivityHistoryByByEntityidByDealeridGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `dealerId`:\n */\n ActivityHistoryClientService.prototype.GetExtActivityHistoryByByEntityidByDealeridGET = function (params) {\n return this.GetExtActivityHistoryByByEntityidByDealeridGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n ActivityHistoryClientService.prototype.GetEmailConversationHistoryByByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ActivityHistory/GetEmailConversationHistoryBy/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n ActivityHistoryClientService.prototype.GetEmailConversationHistoryByByEntityidGET = function (entityId) {\n return this.GetEmailConversationHistoryByByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n ActivityHistoryClientService.prototype.GetCustomerEngagementHistoryByByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ActivityHistory/GetCustomerEngagementHistoryBy/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n ActivityHistoryClientService.prototype.GetCustomerEngagementHistoryByByEntityidGET = function (entityId) {\n return this.GetCustomerEngagementHistoryByByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ActivityHistoryClientService.GetCombinedActivityHistoryGETParams` containing the following parameters:\n *\n * - `opportunityId`:\n *\n * - `dealerId`:\n *\n * - `customerId`:\n *\n * @return Success\n */\n ActivityHistoryClientService.prototype.GetCombinedActivityHistoryGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.opportunityId != null)\n __params = __params.set('opportunityId', params.opportunityId.toString());\n if (params.dealerId != null)\n __params = __params.set('dealerId', params.dealerId.toString());\n if (params.customerId != null)\n __params = __params.set('customerId', params.customerId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/ActivityHistory/GetCombinedActivityHistory\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ActivityHistoryClientService.GetCombinedActivityHistoryGETParams` containing the following parameters:\n *\n * - `opportunityId`:\n *\n * - `dealerId`:\n *\n * - `customerId`:\n *\n * @return Success\n */\n ActivityHistoryClientService.prototype.GetCombinedActivityHistoryGET = function (params) {\n return this.GetCombinedActivityHistoryGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n ActivityHistoryClientService.GetExtByEntityIdByEntityidGETPath = '/api/ActivityHistory/GetExtByEntityId/{entityId}';\n ActivityHistoryClientService.GetLastActivityByEntityIdByEntityidGETPath = '/api/ActivityHistory/GetLastActivityByEntityId/{entityId}';\n ActivityHistoryClientService.GetOneToOneMailHistoryByByEntityidGETPath = '/api/ActivityHistory/GetOneToOneMailHistoryBy/{entityId}';\n ActivityHistoryClientService.GetSLMEmailOfferHistoryByByEntityidGETPath = '/api/ActivityHistory/GetSLMEmailOfferHistoryBy/{entityId}';\n ActivityHistoryClientService.GetExtActivityHistoryByByEntityidByDealeridGETPath = '/api/ActivityHistory/GetExtActivityHistoryBy/{entityId}/{dealerId}';\n ActivityHistoryClientService.GetEmailConversationHistoryByByEntityidGETPath = '/api/ActivityHistory/GetEmailConversationHistoryBy/{entityId}';\n ActivityHistoryClientService.GetCustomerEngagementHistoryByByEntityidGETPath = '/api/ActivityHistory/GetCustomerEngagementHistoryBy/{entityId}';\n ActivityHistoryClientService.GetCombinedActivityHistoryGETPath = '/api/ActivityHistory/GetCombinedActivityHistory';\n ActivityHistoryClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ActivityHistoryClientService_Factory() { return new ActivityHistoryClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: ActivityHistoryClientService, providedIn: \"root\" });\n return ActivityHistoryClientService;\n}(base_service_1.BaseService));\nexports.ActivityHistoryClientService = ActivityHistoryClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { LastActivityDetailsExtDto } from '../models/last-activity-details-ext-dto';\r\nimport { EntityMailHistoryDto } from '../models/entity-mail-history-dto';\r\nimport { ActivityHistoryCombinedDto } from '../models/activity-history-combined-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass ActivityHistoryClientService extends __BaseService {\r\n static readonly GetExtByEntityIdByEntityidGETPath = '/api/ActivityHistory/GetExtByEntityId/{entityId}';\r\n static readonly GetLastActivityByEntityIdByEntityidGETPath = '/api/ActivityHistory/GetLastActivityByEntityId/{entityId}';\r\n static readonly GetOneToOneMailHistoryByByEntityidGETPath = '/api/ActivityHistory/GetOneToOneMailHistoryBy/{entityId}';\r\n static readonly GetSLMEmailOfferHistoryByByEntityidGETPath = '/api/ActivityHistory/GetSLMEmailOfferHistoryBy/{entityId}';\r\n static readonly GetExtActivityHistoryByByEntityidByDealeridGETPath = '/api/ActivityHistory/GetExtActivityHistoryBy/{entityId}/{dealerId}';\r\n static readonly GetEmailConversationHistoryByByEntityidGETPath = '/api/ActivityHistory/GetEmailConversationHistoryBy/{entityId}';\r\n static readonly GetCustomerEngagementHistoryByByEntityidGETPath = '/api/ActivityHistory/GetCustomerEngagementHistoryBy/{entityId}';\r\n static readonly GetCombinedActivityHistoryGETPath = '/api/ActivityHistory/GetCombinedActivityHistory';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param params The `ActivityHistoryClientService.GetExtByEntityIdByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `count`:\r\n */\r\n GetExtByEntityIdByEntityidGETResponse(params: ActivityHistoryClientService.GetExtByEntityIdByEntityidGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n if (params.count != null) __params = __params.set('count', params.count.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ActivityHistory/GetExtByEntityId/${params.entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ActivityHistoryClientService.GetExtByEntityIdByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `count`:\r\n */\r\n GetExtByEntityIdByEntityidGET(params: ActivityHistoryClientService.GetExtByEntityIdByEntityidGETParams): __Observable {\r\n return this.GetExtByEntityIdByEntityidGETResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetLastActivityByEntityIdByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ActivityHistory/GetLastActivityByEntityId/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetLastActivityByEntityIdByEntityidGET(entityId: string): __Observable {\r\n return this.GetLastActivityByEntityIdByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as LastActivityDetailsExtDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetOneToOneMailHistoryByByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ActivityHistory/GetOneToOneMailHistoryBy/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetOneToOneMailHistoryByByEntityidGET(entityId: string): __Observable {\r\n return this.GetOneToOneMailHistoryByByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetSLMEmailOfferHistoryByByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ActivityHistory/GetSLMEmailOfferHistoryBy/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetSLMEmailOfferHistoryByByEntityidGET(entityId: string): __Observable> {\r\n return this.GetSLMEmailOfferHistoryByByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ActivityHistoryClientService.GetExtActivityHistoryByByEntityidByDealeridGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `dealerId`:\r\n */\r\n GetExtActivityHistoryByByEntityidByDealeridGETResponse(params: ActivityHistoryClientService.GetExtActivityHistoryByByEntityidByDealeridGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ActivityHistory/GetExtActivityHistoryBy/${params.entityId}/${params.dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ActivityHistoryClientService.GetExtActivityHistoryByByEntityidByDealeridGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `dealerId`:\r\n */\r\n GetExtActivityHistoryByByEntityidByDealeridGET(params: ActivityHistoryClientService.GetExtActivityHistoryByByEntityidByDealeridGETParams): __Observable {\r\n return this.GetExtActivityHistoryByByEntityidByDealeridGETResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetEmailConversationHistoryByByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ActivityHistory/GetEmailConversationHistoryBy/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetEmailConversationHistoryByByEntityidGET(entityId: string): __Observable {\r\n return this.GetEmailConversationHistoryByByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetCustomerEngagementHistoryByByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ActivityHistory/GetCustomerEngagementHistoryBy/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetCustomerEngagementHistoryByByEntityidGET(entityId: string): __Observable {\r\n return this.GetCustomerEngagementHistoryByByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ActivityHistoryClientService.GetCombinedActivityHistoryGETParams` containing the following parameters:\r\n *\r\n * - `opportunityId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `customerId`:\r\n *\r\n * @return Success\r\n */\r\n GetCombinedActivityHistoryGETResponse(params: ActivityHistoryClientService.GetCombinedActivityHistoryGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.opportunityId != null) __params = __params.set('opportunityId', params.opportunityId.toString());\r\n if (params.dealerId != null) __params = __params.set('dealerId', params.dealerId.toString());\r\n if (params.customerId != null) __params = __params.set('customerId', params.customerId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ActivityHistory/GetCombinedActivityHistory`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ActivityHistoryClientService.GetCombinedActivityHistoryGETParams` containing the following parameters:\r\n *\r\n * - `opportunityId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `customerId`:\r\n *\r\n * @return Success\r\n */\r\n GetCombinedActivityHistoryGET(params: ActivityHistoryClientService.GetCombinedActivityHistoryGETParams): __Observable {\r\n return this.GetCombinedActivityHistoryGETResponse(params).pipe(\r\n __map(_r => _r.body as ActivityHistoryCombinedDto)\r\n );\r\n }\r\n}\r\n\r\nmodule ActivityHistoryClientService {\r\n\r\n /**\r\n * Parameters for GetExtByEntityIdByEntityidGET\r\n */\r\n export interface GetExtByEntityIdByEntityidGETParams {\r\n entityId: string;\r\n count?: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetExtActivityHistoryByByEntityidByDealeridGET\r\n */\r\n export interface GetExtActivityHistoryByByEntityidByDealeridGETParams {\r\n entityId: string;\r\n dealerId: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetCombinedActivityHistoryGET\r\n */\r\n export interface GetCombinedActivityHistoryGETParams {\r\n opportunityId?: string;\r\n dealerId?: number;\r\n customerId?: number;\r\n }\r\n}\r\n\r\nexport { ActivityHistoryClientService }\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar CustomerClientService = /** @class */ (function (_super) {\n __extends(CustomerClientService, _super);\n function CustomerClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n * @return Success\n */\n CustomerClientService.prototype.ByEntityByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Customer/ByEntity/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n CustomerClientService.prototype.ByEntityByEntityidGET = function (entityId) {\n return this.ByEntityByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n CustomerClientService.prototype.GetNameOnlyByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Customer/NameByEntity/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n CustomerClientService.prototype.GetNameOnlyByEntityidGET = function (entityId) {\n return this.GetNameOnlyByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n CustomerClientService.prototype.CustomerMarkDoNotEmailPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Customer/Customer_Mark_DoNotEmail\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n CustomerClientService.prototype.CustomerMarkDoNotEmailPOST = function (request) {\n return this.CustomerMarkDoNotEmailPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param sessionID undefined\n * @return Success\n */\n CustomerClientService.prototype.CustomerGetDoNotEmailBySessionidGETResponse = function (sessionID) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Customer/Customer_Get_DoNotEmail/\" + sessionID), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param sessionID undefined\n * @return Success\n */\n CustomerClientService.prototype.CustomerGetDoNotEmailBySessionidGET = function (sessionID) {\n return this.CustomerGetDoNotEmailBySessionidGETResponse(sessionID).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n CustomerClientService.prototype.CustomerMarkDoNotCallPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Customer/Customer_Mark_DoNotCall\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n CustomerClientService.prototype.CustomerMarkDoNotCallPOST = function (request) {\n return this.CustomerMarkDoNotCallPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param sessionID undefined\n * @return Success\n */\n CustomerClientService.prototype.CustomerGetDoNotCallBySessionidGETResponse = function (sessionID) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Customer/Customer_Get_DoNotCall/\" + sessionID), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param sessionID undefined\n * @return Success\n */\n CustomerClientService.prototype.CustomerGetDoNotCallBySessionidGET = function (sessionID) {\n return this.CustomerGetDoNotCallBySessionidGETResponse(sessionID).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n CustomerClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Customer\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n CustomerClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n CustomerClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Customer\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n CustomerClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param customerProfile undefined\n */\n CustomerClientService.prototype.UpdatePATCHResponse = function (customerProfile) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = customerProfile;\n var req = new http_1.HttpRequest('PATCH', this.rootUrl + \"/api/Customer\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param customerProfile undefined\n */\n CustomerClientService.prototype.UpdatePATCH = function (customerProfile) {\n return this.UpdatePATCHResponse(customerProfile).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `CustomerClientService.UpdateCustomerByUpdatinguseridPOSTParams` containing the following parameters:\n *\n * - `updatingUserId`:\n *\n * - `customerProfile`:\n */\n CustomerClientService.prototype.UpdateCustomerByUpdatinguseridPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.customerProfile;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Customer/UpdateCustomer/\" + params.updatingUserId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `CustomerClientService.UpdateCustomerByUpdatinguseridPOSTParams` containing the following parameters:\n *\n * - `updatingUserId`:\n *\n * - `customerProfile`:\n */\n CustomerClientService.prototype.UpdateCustomerByUpdatinguseridPOST = function (params) {\n return this.UpdateCustomerByUpdatinguseridPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param emailaddresslist undefined\n * @return Success\n */\n CustomerClientService.prototype.InsertDoNotEmailStagingPOSTResponse = function (emailaddresslist) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = emailaddresslist;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Customer/Insert_DoNotEmailStaging\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param emailaddresslist undefined\n * @return Success\n */\n CustomerClientService.prototype.InsertDoNotEmailStagingPOST = function (emailaddresslist) {\n return this.InsertDoNotEmailStagingPOSTResponse(emailaddresslist).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param phoneNumberList undefined\n * @return Success\n */\n CustomerClientService.prototype.InsertDoNotCallStagingPOSTResponse = function (phoneNumberList) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = phoneNumberList;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Customer/Insert_DoNotCallStaging\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param phoneNumberList undefined\n * @return Success\n */\n CustomerClientService.prototype.InsertDoNotCallStagingPOST = function (phoneNumberList) {\n return this.InsertDoNotCallStagingPOSTResponse(phoneNumberList).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param customerPreferredLanguage undefined\n * @return Success\n */\n CustomerClientService.prototype.UpdatePreferredLanguagePOSTResponse = function (customerPreferredLanguage) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = customerPreferredLanguage;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Customer/UpdatePreferredLanguage\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param customerPreferredLanguage undefined\n * @return Success\n */\n CustomerClientService.prototype.UpdatePreferredLanguagePOST = function (customerPreferredLanguage) {\n return this.UpdatePreferredLanguagePOSTResponse(customerPreferredLanguage).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n CustomerClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Customer/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n CustomerClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n CustomerClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Customer/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n CustomerClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n CustomerClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Customer/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n CustomerClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n CustomerClientService.ByEntityByEntityidGETPath = '/api/Customer/ByEntity/{entityId}';\n CustomerClientService.GetNameOnlyByEntityidGETPath = '/api/Customer/NameByEntity/{entityId}';\n CustomerClientService.CustomerMarkDoNotEmailPOSTPath = '/api/Customer/Customer_Mark_DoNotEmail';\n CustomerClientService.CustomerGetDoNotEmailBySessionidGETPath = '/api/Customer/Customer_Get_DoNotEmail/{sessionID}';\n CustomerClientService.CustomerMarkDoNotCallPOSTPath = '/api/Customer/Customer_Mark_DoNotCall';\n CustomerClientService.CustomerGetDoNotCallBySessionidGETPath = '/api/Customer/Customer_Get_DoNotCall/{sessionID}';\n CustomerClientService.PUTPath = '/api/Customer';\n CustomerClientService.POSTPath = '/api/Customer';\n CustomerClientService.UpdatePATCHPath = '/api/Customer';\n CustomerClientService.UpdateCustomerByUpdatinguseridPOSTPath = '/api/Customer/UpdateCustomer/{updatingUserId}';\n CustomerClientService.InsertDoNotEmailStagingPOSTPath = '/api/Customer/Insert_DoNotEmailStaging';\n CustomerClientService.InsertDoNotCallStagingPOSTPath = '/api/Customer/Insert_DoNotCallStaging';\n CustomerClientService.UpdatePreferredLanguagePOSTPath = '/api/Customer/UpdatePreferredLanguage';\n CustomerClientService.ByIdGETPath = '/api/Customer/{id}';\n CustomerClientService.ByIdDELETEPath = '/api/Customer/{id}';\n CustomerClientService.GetManyGETPath = '/api/Customer/GetMany';\n CustomerClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function CustomerClientService_Factory() { return new CustomerClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: CustomerClientService, providedIn: \"root\" });\n return CustomerClientService;\n}(base_service_1.BaseService));\nexports.CustomerClientService = CustomerClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { CustomerDto } from '../models/customer-dto';\r\nimport { CustomerMarkDoNotEmailDto } from '../models/customer-mark-do-not-email-dto';\r\nimport { Customer_Get_DoNotEmailDto } from '../models/customer-_get-_do-not-email-dto';\r\nimport { CustomerMarkDoNotCallDto } from '../models/customer-mark-do-not-call-dto';\r\nimport { Customer_Get_DoNotCallDto } from '../models/customer-_get-_do-not-call-dto';\r\nimport { CustomerPatch } from '../models/customer-patch';\r\nimport { DoNotEmailStagingResponseDto } from '../models/do-not-email-staging-response-dto';\r\nimport { DoNotCallStagingResponseDto } from '../models/do-not-call-staging-response-dto';\r\nimport { UpdatePreferredLanguageResultDto } from '../models/update-preferred-language-result-dto';\r\nimport { CustomerPreferredLanguageDto } from '../models/customer-preferred-language-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass CustomerClientService extends __BaseService {\r\n static readonly ByEntityByEntityidGETPath = '/api/Customer/ByEntity/{entityId}';\r\n static readonly GetNameOnlyByEntityidGETPath = '/api/Customer/NameByEntity/{entityId}';\r\n static readonly CustomerMarkDoNotEmailPOSTPath = '/api/Customer/Customer_Mark_DoNotEmail';\r\n static readonly CustomerGetDoNotEmailBySessionidGETPath = '/api/Customer/Customer_Get_DoNotEmail/{sessionID}';\r\n static readonly CustomerMarkDoNotCallPOSTPath = '/api/Customer/Customer_Mark_DoNotCall';\r\n static readonly CustomerGetDoNotCallBySessionidGETPath = '/api/Customer/Customer_Get_DoNotCall/{sessionID}';\r\n static readonly PUTPath = '/api/Customer';\r\n static readonly POSTPath = '/api/Customer';\r\n static readonly UpdatePATCHPath = '/api/Customer';\r\n static readonly UpdateCustomerByUpdatinguseridPOSTPath = '/api/Customer/UpdateCustomer/{updatingUserId}';\r\n static readonly InsertDoNotEmailStagingPOSTPath = '/api/Customer/Insert_DoNotEmailStaging';\r\n static readonly InsertDoNotCallStagingPOSTPath = '/api/Customer/Insert_DoNotCallStaging';\r\n static readonly UpdatePreferredLanguagePOSTPath = '/api/Customer/UpdatePreferredLanguage';\r\n static readonly ByIdGETPath = '/api/Customer/{id}';\r\n static readonly ByIdDELETEPath = '/api/Customer/{id}';\r\n static readonly GetManyGETPath = '/api/Customer/GetMany';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n ByEntityByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Customer/ByEntity/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n ByEntityByEntityidGET(entityId: string): __Observable {\r\n return this.ByEntityByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as CustomerDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetNameOnlyByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Customer/NameByEntity/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetNameOnlyByEntityidGET(entityId: string): __Observable {\r\n return this.GetNameOnlyByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as CustomerDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CustomerMarkDoNotEmailPOSTResponse(request?: CustomerMarkDoNotEmailDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Customer/Customer_Mark_DoNotEmail`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CustomerMarkDoNotEmailPOST(request?: CustomerMarkDoNotEmailDto): __Observable {\r\n return this.CustomerMarkDoNotEmailPOSTResponse(request).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n\r\n /**\r\n * @param sessionID undefined\r\n * @return Success\r\n */\r\n CustomerGetDoNotEmailBySessionidGETResponse(sessionID: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Customer/Customer_Get_DoNotEmail/${sessionID}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param sessionID undefined\r\n * @return Success\r\n */\r\n CustomerGetDoNotEmailBySessionidGET(sessionID: string): __Observable {\r\n return this.CustomerGetDoNotEmailBySessionidGETResponse(sessionID).pipe(\r\n __map(_r => _r.body as Customer_Get_DoNotEmailDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CustomerMarkDoNotCallPOSTResponse(request?: CustomerMarkDoNotCallDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Customer/Customer_Mark_DoNotCall`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CustomerMarkDoNotCallPOST(request?: CustomerMarkDoNotCallDto): __Observable {\r\n return this.CustomerMarkDoNotCallPOSTResponse(request).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n\r\n /**\r\n * @param sessionID undefined\r\n * @return Success\r\n */\r\n CustomerGetDoNotCallBySessionidGETResponse(sessionID: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Customer/Customer_Get_DoNotCall/${sessionID}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param sessionID undefined\r\n * @return Success\r\n */\r\n CustomerGetDoNotCallBySessionidGET(sessionID: string): __Observable {\r\n return this.CustomerGetDoNotCallBySessionidGETResponse(sessionID).pipe(\r\n __map(_r => _r.body as Customer_Get_DoNotCallDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: CustomerDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Customer`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: CustomerDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: CustomerDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Customer`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: CustomerDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as CustomerDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param customerProfile undefined\r\n */\r\n UpdatePATCHResponse(customerProfile?: CustomerPatch): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = customerProfile;\r\n let req = new HttpRequest(\r\n 'PATCH',\r\n this.rootUrl + `/api/Customer`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param customerProfile undefined\r\n */\r\n UpdatePATCH(customerProfile?: CustomerPatch): __Observable {\r\n return this.UpdatePATCHResponse(customerProfile).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `CustomerClientService.UpdateCustomerByUpdatinguseridPOSTParams` containing the following parameters:\r\n *\r\n * - `updatingUserId`:\r\n *\r\n * - `customerProfile`:\r\n */\r\n UpdateCustomerByUpdatinguseridPOSTResponse(params: CustomerClientService.UpdateCustomerByUpdatinguseridPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n __body = params.customerProfile;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Customer/UpdateCustomer/${params.updatingUserId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `CustomerClientService.UpdateCustomerByUpdatinguseridPOSTParams` containing the following parameters:\r\n *\r\n * - `updatingUserId`:\r\n *\r\n * - `customerProfile`:\r\n */\r\n UpdateCustomerByUpdatinguseridPOST(params: CustomerClientService.UpdateCustomerByUpdatinguseridPOSTParams): __Observable {\r\n return this.UpdateCustomerByUpdatinguseridPOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param emailaddresslist undefined\r\n * @return Success\r\n */\r\n InsertDoNotEmailStagingPOSTResponse(emailaddresslist?: Array): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = emailaddresslist;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Customer/Insert_DoNotEmailStaging`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param emailaddresslist undefined\r\n * @return Success\r\n */\r\n InsertDoNotEmailStagingPOST(emailaddresslist?: Array): __Observable {\r\n return this.InsertDoNotEmailStagingPOSTResponse(emailaddresslist).pipe(\r\n __map(_r => _r.body as DoNotEmailStagingResponseDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param phoneNumberList undefined\r\n * @return Success\r\n */\r\n InsertDoNotCallStagingPOSTResponse(phoneNumberList?: Array): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = phoneNumberList;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Customer/Insert_DoNotCallStaging`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param phoneNumberList undefined\r\n * @return Success\r\n */\r\n InsertDoNotCallStagingPOST(phoneNumberList?: Array): __Observable {\r\n return this.InsertDoNotCallStagingPOSTResponse(phoneNumberList).pipe(\r\n __map(_r => _r.body as DoNotCallStagingResponseDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param customerPreferredLanguage undefined\r\n * @return Success\r\n */\r\n UpdatePreferredLanguagePOSTResponse(customerPreferredLanguage?: CustomerPreferredLanguageDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = customerPreferredLanguage;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Customer/UpdatePreferredLanguage`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param customerPreferredLanguage undefined\r\n * @return Success\r\n */\r\n UpdatePreferredLanguagePOST(customerPreferredLanguage?: CustomerPreferredLanguageDto): __Observable {\r\n return this.UpdatePreferredLanguagePOSTResponse(customerPreferredLanguage).pipe(\r\n __map(_r => _r.body as UpdatePreferredLanguageResultDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Customer/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as CustomerDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Customer/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Customer/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n}\r\n\r\nmodule CustomerClientService {\r\n\r\n /**\r\n * Parameters for UpdateCustomerByUpdatinguseridPOST\r\n */\r\n export interface UpdateCustomerByUpdatinguseridPOSTParams {\r\n updatingUserId: number;\r\n customerProfile?: CustomerPatch;\r\n }\r\n}\r\n\r\nexport { CustomerClientService }\r\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lodash_1 = require(\"lodash\");\nvar operators_1 = require(\"rxjs/operators\");\nvar datetime_1 = require(\"../utilities/datetime\");\nvar moment_1 = __importDefault(require(\"moment\"));\nvar engagement_event_types_constant_1 = require(\"../constants/engagement-event-types.constant\");\nvar constants_1 = require(\"../constants\");\nvar services_1 = require(\"../generated/services\");\nvar http_1 = require(\"@angular/common/http\");\nvar entity_mail_history_source_1 = require(\"../constants/entity-mail-history-source\");\nvar mail_format_1 = require(\"../constants/mail-format\");\nvar http_interceptor_options_service_1 = require(\"./http/http-interceptor-options.service\");\nvar core_1 = require(\"@ngx-translate/core\");\nvar lodash_2 = __importDefault(require(\"lodash\"));\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../generated/services/activity-history-client.service\"));\nvar i2 = __importStar(require(\"../generated/services/activity-client.service\"));\nvar i3 = __importStar(require(\"../generated/services/entity-client.service\"));\nvar i4 = __importStar(require(\"../generated/services/email-conversation-client.service\"));\nvar i5 = __importStar(require(\"@angular/common/http\"));\nvar i6 = __importStar(require(\"./http/http-interceptor-options.service\"));\nvar i7 = __importStar(require(\"@ngx-translate/core\"));\nvar ActivityService = /** @class */ (function () {\n function ActivityService(activityHistoriesClientService, activityClientService, entityClientService, emailConversationClientService, httpClient, httpInterceptorOptionsService, tService) {\n this.activityHistoriesClientService = activityHistoriesClientService;\n this.activityClientService = activityClientService;\n this.entityClientService = entityClientService;\n this.emailConversationClientService = emailConversationClientService;\n this.httpClient = httpClient;\n this.httpInterceptorOptionsService = httpInterceptorOptionsService;\n this.tService = tService;\n this.printedTemplatesPath = '/AlertDesk/DealSheet/ArchivedPdf?filePath=';\n this.emailTemplatePath = '/email/';\n this.emailTemplateSentPreviewParam = '&prev=1';\n this.apiActivityTypes = constants_1.ApiActivityTypes;\n this.activityTypes = constants_1.ActivityTypes;\n this.apiActivityStatuses = constants_1.ApiActivityStatuses;\n this.apiActivityActions = constants_1.ApiActivityActions;\n this.apiCrmActivityTypes = constants_1.ApiCrmActivityTypes;\n this.customerActivityTypes = constants_1.CustomerActivityTypes;\n this.settings = constants_1.Settings;\n this.emailFromTypes = constants_1.EmailFromTypes;\n this.customerProcessStatuses = constants_1.CustomerProcessStatuses;\n this.exportCampaignTypes = constants_1.ExportCampaignTypes;\n }\n ActivityService.prototype.runActivityRule = function (entityId, activityRules) {\n return this.activityClientService.RunActivityRulePOST({ entityId: entityId, activityRules: activityRules }).toPromise();\n };\n ActivityService.prototype.getActivities = function (opportunityId, dealerId, customerId) {\n var _this = this;\n var params = {\n opportunityId: opportunityId,\n dealerId: dealerId,\n customerId: customerId\n };\n return this.activityHistoriesClientService.GetCombinedActivityHistoryGET(params)\n .pipe(operators_1.map(function (response) { return _this.resolveActivities(response); })).toPromise();\n };\n ActivityService.prototype.resolveActivities = function (response) {\n var _this = this;\n var activityHistories = response.activityHistories || [];\n var templateOutputs = response.templateOutputs || [];\n var printOffers = response.printOffers || [];\n var oneToOneActivities = response.oneToOneActivities || [];\n var externalCrmData = response.externalCrmData || [];\n var emailConversations = response.emailConversations || [];\n var customerEngagements = response.customerEngagements || [];\n var customerActivities = response.customerActivities || [];\n var customerProcesses = response.customerProcesses || [];\n var exportHistories = response.exportHistories || [];\n var appraisalHistories = response.appraisalHistories || [];\n var dmsPushHistories = response.dmsPushHistories || [];\n var textMessages = response.textMessages;\n var activities = [];\n var getFileUrlFromActivity = function (activity) {\n if (activity.templateOutboundEmailID) {\n return _this.settings.oidc.opportunitiesOrigin\n + _this.emailTemplatePath\n + activity.templateOutboundEmailID\n + '?code='\n + activity.accessCode\n + _this.emailTemplateSentPreviewParam;\n }\n };\n /**\n * Adds /i to the end of a O2O URL so the tracking\n * counters don't count it as an open when we display it.\n */\n var ensureNonTrackingO2OUrl = function (url) {\n if (!url) // validate url is not empty/null or undefined\n return null;\n if (typeof url === 'string' && !url.endsWith('/i')) {\n return url + '/i';\n }\n return url;\n };\n for (var i = 0; i < exportHistories.length; i++) {\n var activity = exportHistories[i];\n var campaignTypeName = (lodash_2.default.invert(this.exportCampaignTypes))[activity.exportCampaignTypeID];\n var exportCampaignType = this.tService.instant('exportCampaignType_' + campaignTypeName);\n activities.push({\n type: this.activityTypes.export,\n submittedDateTime: new Date(activity.exportDate),\n submittedByUserFullName: activity.fullName,\n exportCampaignType: exportCampaignType,\n exportProvider: activity.providerName,\n });\n }\n for (var i = 0; i < activityHistories.length; i++) {\n var activity = activityHistories[i];\n if (activity.activityTypeID === this.apiActivityTypes.note ||\n activity.activityTypeID === this.apiActivityTypes.phoneCall ||\n activity.activityTypeID === this.apiActivityTypes.appointment ||\n activity.activityTypeID === this.apiActivityTypes.crm ||\n activity.activityTypeID === this.apiActivityTypes.email) {\n activities.push({\n activityId: activity.activityID,\n type: this.getActivityType(activity),\n submittedByUserFullName: activity.insertUserFullName,\n submittedDateTime: new Date(activity.insertDate),\n notes: activity.notes,\n result: activity.activityResultID,\n scheduledDateTime: activity.dueDate && datetime_1.dateFromLocalString(activity.dueDate),\n assignedUserFullName: activity.responsibleUserFullName,\n assignedUserID: activity.responsibleUserID,\n activityActionId: activity.activityActionID,\n sendReminder: activity.sendReminder,\n // --email template data\n emailSubject: activity.emailSubject,\n firstOpenDate: activity.firstOpenDate,\n lastOpenDate: activity.lastOpenDate,\n totalCount: activity.openCount,\n recordingUrl: activity.recordingUrl || '',\n fileUrl: getFileUrlFromActivity(activity),\n activityHistoryStatusId: activity.activityStatusID,\n activityStatusId: activity.activityActivityStatusID,\n activityActionSubTypeID: activity.activityActionSubTypeID,\n templateEmailId: activity.templateOutboundEmailID,\n accessCode: activity.accessCode,\n upgradeProposalIsAvailable: activity.upgradeProposalIsAvailable,\n });\n }\n if (activity.activityTypeID === this.apiActivityTypes.pandoProcess) {\n activities.push({\n type: this.getActivityType(activity),\n submittedDateTime: new Date(activity.insertDate),\n notes: activity.notes,\n assignedUserFullName: activity.responsibleUserFullName,\n assignedUserID: activity.responsibleUserID,\n activityId: activity.activityID,\n activityActionId: activity.activityActionID,\n activityHistoryStatusId: activity.activityStatusID,\n activityStatusId: activity.activityActivityStatusID,\n activityActionSubTypeID: activity.activityActionSubTypeID\n });\n }\n }\n for (var j = 0; j < templateOutputs.length; j++) {\n var template = templateOutputs[j];\n activities.push({\n type: this.activityTypes.printTemplate,\n submittedByUserFullName: template.fullName,\n submittedDateTime: new Date(template.generateDate),\n templateName: template.templateName,\n templateOutputId: template.templateOutputID,\n usesNewStorage: template.usesNewStorage,\n fileUrl: this.settings.legacy.iframeUrl + this.printedTemplatesPath + template.filePath\n });\n }\n for (var k = 0; k < printOffers.length; k++) {\n var printOffer = printOffers[k];\n activities.push({\n type: this.activityTypes.printOfferLetter,\n submittedByUserFullName: printOffer.generatedByUserFullName,\n submittedDateTime: new Date(printOffer.generateDate),\n fileUrl: printOffer.printUrl\n });\n }\n for (var l = 0; l < oneToOneActivities.length; l++) {\n var oneToOneActivity = oneToOneActivities[l];\n var oneToOneType = void 0;\n if (oneToOneActivity.sourceID == entity_mail_history_source_1.EntityMailHistorySource.NVQ\n || oneToOneActivity.sourceID == entity_mail_history_source_1.EntityMailHistorySource.One2One\n || oneToOneActivity.sourceID == entity_mail_history_source_1.EntityMailHistorySource.SKG) {\n // Filter One 2 One SourceID 1,2,3\n if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Mail) {\n oneToOneType = this.activityTypes.sendOneToOneMail;\n }\n else if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Email) {\n oneToOneType = this.activityTypes.sendOneToOneEmail;\n }\n }\n else if (oneToOneActivity.sourceID === entity_mail_history_source_1.EntityMailHistorySource.IntelligentMarketing) {\n // Filter Intelligent Marketing SourceID 4 is only IM\n if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Mail) {\n oneToOneType = this.activityTypes.sendIntelMrktMail;\n }\n else if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Email) {\n oneToOneType = this.activityTypes.sendIntelMrktEmail;\n }\n }\n else if ((oneToOneActivity.sourceID === entity_mail_history_source_1.EntityMailHistorySource.FordCreditMailers)) {\n // Filter SourceID 5 is Ford Credit Mailers => mail sent on a by-law rule to non O2O dealers (WEBUI-8901 & WEBUI-8902)\n oneToOneType = this.activityTypes.sendFordCreditMailers;\n }\n else if (oneToOneActivity.sourceID === entity_mail_history_source_1.EntityMailHistorySource.ServiceMarketing) {\n if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Mail) {\n oneToOneType = this.activityTypes.sendServiceMarketingMail;\n }\n else if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Email) {\n oneToOneType = this.activityTypes.sendServiceMarketingEmail;\n }\n oneToOneActivity.pUrl = null; // WEBUI-9831 SM should not display a pUrl link\n }\n else if (oneToOneActivity.sourceID === entity_mail_history_source_1.EntityMailHistorySource.SLM) {\n if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Mail) {\n continue;\n }\n else if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Email) {\n oneToOneType = this.activityTypes.sentSLMEmailOffer;\n }\n }\n else if (oneToOneActivity.sourceID === entity_mail_history_source_1.EntityMailHistorySource.PartnerExport) {\n if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Email) {\n continue;\n }\n else if (oneToOneActivity.mailFormatID === mail_format_1.MailFormat.Mail) {\n oneToOneType = this.activityTypes.sendPartnerExportMail;\n // For now we are stuffing Parter Export only data into the pUrl field\n if (oneToOneActivity.pUrl != null) {\n var strArray = oneToOneActivity.pUrl.split(\"|\");\n if (strArray.length == 2) {\n oneToOneActivity.preferredPartner = strArray[0];\n oneToOneActivity.messageCreativeType = strArray[1];\n }\n }\n oneToOneActivity.pUrl = null; // WEBUI-10324 Partner Export does not display a pUrl link\n }\n }\n activities.push({\n type: oneToOneType,\n submittedDateTime: oneToOneActivity.utcDateSent ? new Date(oneToOneActivity.utcDateSent) : null,\n oneToOneKey: oneToOneActivity.mailServiceProviderID + '_' + oneToOneActivity.mailFormatID + '_' + oneToOneActivity.mailCode,\n pUrl: oneToOneType == this.activityTypes.sendPartnerExportMail ? oneToOneActivity.pUrl : ensureNonTrackingO2OUrl(oneToOneActivity.pUrl),\n preferredPartner: oneToOneActivity.preferredPartner,\n additionalData: oneToOneActivity.messageCreativeType ? this.tService.instant(\"partnerExportMessage\", { messageCreativeType: oneToOneActivity.messageCreativeType }) : null\n });\n }\n for (var p = 0; p < customerProcesses.length; p++) {\n var customerProcess = customerProcesses[p];\n var processStatusCodeName = (lodash_2.default.invert(this.customerProcessStatuses))[customerProcess.status];\n var status_1 = this.tService.instant('customerProcessStatus_' + processStatusCodeName);\n activities.push({\n type: this.activityTypes.customerPandoProcess,\n submittedDateTime: customerProcess.startDateUtc ? new Date(customerProcess.startDateUtc) : null,\n templateName: customerProcess.processTemplateName,\n processTitle: customerProcess.processTitle,\n submittedByUserFullName: customerProcess.requestorFirstLast,\n assignedUserFullName: customerProcess.lastAssignedToFirstLast,\n requestorAvatarUrl: customerProcess.requestorAvatarUrl,\n lastAssignedToAvatarUrl: customerProcess.lastAssignedToAvatarUrl,\n customerProcessStatus: status_1,\n customerProcessStatusCode: customerProcess.status,\n elapsedSeconds: customerProcess.elapsedSeconds,\n lastActivityDateTime: customerProcess.lastActivityDateUtc\n });\n }\n // customer activities (handle autoAssistCustomerReplied events separately)\n customerActivities.forEach(function (custActivity) {\n var typeId = -1;\n switch (custActivity.customerActivityEventID) {\n case _this.customerActivityTypes.autoAssistCommSent:\n typeId = _this.activityTypes.autoAssistCommSent;\n break;\n case _this.customerActivityTypes.autoAssistNewHotLead:\n typeId = _this.activityTypes.autoAssistNewHotLead;\n break;\n case _this.customerActivityTypes.geoAlertActive:\n typeId = _this.activityTypes.geoAlertActive;\n break;\n case _this.customerActivityTypes.geoAlertCampaign:\n typeId = _this.activityTypes.geoAlertCampaign;\n break;\n case _this.customerActivityTypes.geoAlertAd:\n typeId = _this.activityTypes.geoAlertAd;\n break;\n case _this.customerActivityTypes.facebookAdded:\n typeId = _this.activityTypes.facebookAdded;\n break;\n case _this.customerActivityTypes.facebookVerified:\n typeId = _this.activityTypes.facebookVerified;\n break;\n case _this.customerActivityTypes.autofiDigitalRetailing:\n typeId = _this.activityTypes.autofiDigitalRetailing;\n break;\n case _this.customerActivityTypes.autofiDigitalRetailingCreditApp:\n typeId = _this.activityTypes.autofiDigitalRetailingCreditApp;\n break;\n case _this.customerActivityTypes.autofiDigitalRetailingApptSched:\n typeId = _this.activityTypes.autofiDigitalRetailingApptSched;\n break;\n }\n if (typeId !== -1) {\n activities.push({\n type: typeId,\n submittedDateTime: new Date(custActivity.activityDateUTC),\n messageText: custActivity.eventDetails,\n });\n }\n });\n // AutoAssist autoAssistCustomerReplied activities\n var autoAssistActivities = customerActivities\n .filter(function (custActivity) { return custActivity.customerActivityEventID === _this.customerActivityTypes.autoAssistCustomerReplied; })\n .map(function (custActivity) { return ({\n activityDateUTC: custActivity.activityDateUTC,\n campaignId: custActivity.campaignID,\n eventDetails: custActivity.eventDetails\n }); });\n var activitiesByCampaign = lodash_1.groupBy(autoAssistActivities, function (act) {\n return act.campaignId;\n });\n for (var _i = 0, _a = Object.entries(activitiesByCampaign); _i < _a.length; _i++) {\n var _b = _a[_i], campaignId = _b[0], activitesPerCampaign = _b[1];\n activitesPerCampaign.sort(function (activity1, activity2) {\n var time1 = moment_1.default.utc(activity1.activityDateUTC, 'YYYY-MM-DD[T]HH:mm[Z]');\n var time2 = moment_1.default.utc(activity2.activityDateUTC, 'YYYY-MM-DD[T]HH:mm[Z]');\n var isAfter = time2.isAfter(time1);\n return isAfter ? 1 : -1;\n });\n activities.push({\n type: this.activityTypes.autoAssistCustomerReplied,\n // Take the most recent event\n submittedDateTime: new Date(activitesPerCampaign[0].activityDateUTC),\n messageText: activitesPerCampaign[0].eventDetails\n });\n }\n var ungroupedctivities = customerEngagements\n .map(function (engagement) {\n switch (engagement.engagementEventTypeID) {\n case engagement_event_types_constant_1.EngagementEventTypes.purlView:\n return {\n type: _this.activityTypes.purlView,\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\n pUrl: ensureNonTrackingO2OUrl(engagement.purl),\n };\n case engagement_event_types_constant_1.EngagementEventTypes.purlViewIM:\n return {\n type: _this.activityTypes.purlViewIntelMrkt,\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\n pUrl: ensureNonTrackingO2OUrl(engagement.purl),\n };\n case engagement_event_types_constant_1.EngagementEventTypes.purlLeadSubmission:\n return {\n type: _this.activityTypes.purlSubmit,\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\n pUrl: ensureNonTrackingO2OUrl(engagement.purl),\n };\n case engagement_event_types_constant_1.EngagementEventTypes.purlLeadSubmissionIM:\n return {\n type: _this.activityTypes.purlSubmitIntelMrkt,\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\n pUrl: ensureNonTrackingO2OUrl(engagement.purl),\n };\n case engagement_event_types_constant_1.EngagementEventTypes.onlineServiceReview:\n return {\n type: _this.activityTypes.reviewProServiceRating,\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\n pUrl: engagement.purl,\n reviewRating: engagement.reviewRating\n };\n case engagement_event_types_constant_1.EngagementEventTypes.onlineSalesReview:\n return {\n type: _this.activityTypes.reviewProSalesRating,\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\n pUrl: engagement.purl,\n reviewRating: engagement.reviewRating\n };\n }\n })\n .filter(function (item) { return item !== undefined; });\n activities.push.apply(activities, ungroupedctivities);\n // websiteEngaged\n var webEngagementActivities = (function () {\n var viewDates = customerEngagements\n .filter(function (engagement) { return engagement.engagementEventTypeID === engagement_event_types_constant_1.EngagementEventTypes.websiteEngaged; })\n .map(function (engagement) { return ({\n eventDateUTC: engagement.eventDateUTC ? datetime_1.dateFromUtcString(engagement.eventDateUTC) : null,\n notes: engagement.notes,\n purl: engagement.purl\n }); });\n // Group the website engagements by day, then return the\n // total number of views\n var grouped = lodash_1.groupBy(viewDates, function (date) { return date.eventDateUTC ? date.eventDateUTC.toDateString() : null; });\n return Object.entries(grouped)\n .map(function (_a) {\n var day = _a[0], dates = _a[1];\n var datesArray = dates.map(function (d) {\n return d.eventDateUTC;\n });\n var firstViewedDate = datesArray.reduce(function (acc, d) { return acc < d ? acc : d; });\n var lastViewedDate = datesArray.reduce(function (acc, d) { return acc > d ? acc : d; });\n return {\n type: _this.activityTypes.websiteEngaged,\n submittedDateTime: lastViewedDate,\n firstViewedDate: firstViewedDate,\n lastViewedDate: lastViewedDate,\n viewCount: dates.length,\n items: dates\n };\n });\n })();\n activities.push.apply(activities, webEngagementActivities);\n // website lead submission\n var webLeadSubmissionActivities = customerEngagements\n .filter(function (engagement) { return engagement.engagementEventTypeID === engagement_event_types_constant_1.EngagementEventTypes.websiteLeadSubmission; })\n .map(function (engagement) { return ({\n type: _this.activityTypes.websiteLeadSubmission,\n submittedDateTime: engagement.eventDateUTC ? datetime_1.dateFromUtcString(engagement.eventDateUTC) : null,\n }); });\n activities.push.apply(activities, webLeadSubmissionActivities);\n if (externalCrmData) {\n for (var n = 0; n < externalCrmData.length; n++) {\n var template = externalCrmData[n];\n activities.push({\n type: this.getExternalActivityType(template.activityType + ''),\n submittedByUserFullName: template.performedByFullName,\n submittedDateTime: template.activityDate ? new Date(template.activityDate) : null,\n emailSubject: template.subject,\n emailTo: template.toEmailAddress,\n emailFrom: template.fromEmailAddress,\n notes: template.notes,\n contactPhone: template.contactedPhone,\n });\n }\n }\n for (var p = 0; p < emailConversations.length; p++) {\n var emailConversation = emailConversations[p];\n var emailConversationType = void 0;\n var emailConversationSubmittedBy = void 0;\n if (emailConversation.emailFrom === this.emailFromTypes.None) {\n emailConversationType = this.activityTypes.emailReply;\n emailConversationSubmittedBy = emailConversation.fromName;\n }\n else if (emailConversation.emailFrom === this.emailFromTypes.Customer) {\n emailConversationType = this.activityTypes.emailReplyCustomer;\n emailConversationSubmittedBy = emailConversation.customerName;\n }\n else if (emailConversation.emailFrom === this.emailFromTypes.User) {\n emailConversationType = this.activityTypes.emailReplyDealer;\n emailConversationSubmittedBy = emailConversation.userFullName;\n }\n activities.push({\n type: emailConversationType,\n emailConversationItemId: emailConversation.emailConversationItemId,\n submittedByUserFullName: emailConversationSubmittedBy,\n emailConversationSubject: emailConversation.subject,\n submittedDateTime: new Date(emailConversation.sentDateTime),\n firstOpenDate: emailConversation.emailFirstOpenedDateTime,\n lastOpenDate: emailConversation.emailLastOpenedDateTime,\n totalCount: emailConversation.emailOpenCount\n });\n }\n // Appraisals\n for (var r = 0; r < appraisalHistories.length; r++) {\n var appraisalHistory = appraisalHistories[r];\n activities.push({\n type: this.activityTypes.appraisal,\n appraisalId: appraisalHistory.appraisalID,\n appraisalUrl: appraisalHistory.appraisalLink,\n appraisalHistoryTypeId: appraisalHistory.appraisalHistoryTypeID,\n submittedByUserFullName: appraisalHistory.fullName,\n submittedDateTime: new Date(appraisalHistory.insertDateUTC),\n });\n }\n // Dms push activites\n for (var r = 0; r < dmsPushHistories.length; r++) {\n var dmsPushHistory = dmsPushHistories[r];\n activities.push({\n type: this.activityTypes.dmsPush,\n dmsCustomerId: dmsPushHistory.dmsCustomerId,\n dmsDealId: dmsPushHistory.dmsDealId,\n submittedByUserFullName: dmsPushHistory.fullName,\n submittedDateTime: new Date(dmsPushHistory.createDateUtc),\n dmsRequestTypeId: dmsPushHistory.requestTypeId\n });\n }\n // Text messages\n var textMessagesByDay = lodash_1.groupBy(textMessages, function (tm) {\n return moment_1.default(tm.sentDateTime).startOf('day') + \"|{\" + tm.dealerPhoneAccessRightID;\n });\n for (var _c = 0, _d = Object.entries(textMessagesByDay); _c < _d.length; _c++) {\n var _e = _d[_c], groupKey = _e[0], textMessagesPerDay = _e[1];\n textMessagesPerDay = textMessagesPerDay.sort(function (textMessage1, textMessage2) {\n var isAfter = moment_1.default(textMessage2.sentDateTime).isAfter(textMessage1.sentDateTime);\n return isAfter ? -1 : 1;\n });\n activities.push({\n activityId: textMessagesPerDay[0].messageId,\n type: this.activityTypes.textMessage,\n // We take the latest text message so that the activity will show up in the right place in the activity list\n submittedDateTime: new Date(textMessagesPerDay[0].sentDateTime),\n textMessages: textMessagesPerDay\n });\n }\n var bySubmittedDateTime = function (activity1, activity2) {\n var time2 = new Date(activity2.submittedDateTime || activity2.submittedDate).getTime();\n var time1 = new Date(activity1.submittedDateTime || activity1.submittedDate).getTime();\n return time2 - time1;\n };\n activities.sort(bySubmittedDateTime);\n return activities;\n };\n ActivityService.prototype.getLastActivityDetails = function (opportunityId) {\n return this.activityHistoriesClientService.GetLastActivityByEntityIdByEntityidGET(opportunityId).toPromise();\n };\n ActivityService.prototype.getAgendaItems = function (selectedDealerId, take, flushCache) {\n var params = {};\n params.flushCache = flushCache;\n params.take = take;\n if (selectedDealerId !== null && selectedDealerId !== undefined) {\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId]);\n }\n return this.activityClientService.GetAgendaItemsGET(params).toPromise();\n };\n ActivityService.prototype.getAgendaItemsWithEntityData = function (params) {\n return this.activityClientService.GetAgendaItemsWithEntityDataGET(params).toPromise();\n };\n ActivityService.prototype.postActivitySubmitAction = function (activity) {\n return this.activityClientService.SubmitActionPOST(activity).toPromise();\n };\n ActivityService.prototype.updateWarrantyStatus = function (opportunityId) {\n return this.entityClientService.HasWarrantyByEntityidPOST(opportunityId).toPromise();\n };\n ActivityService.prototype.updateSoldWarranty = function (opportunityId) {\n return this.entityClientService.SoldWarrantyByEntityidPOST(opportunityId).toPromise();\n };\n ActivityService.prototype.updateCustomerDoesNotOwnVehicle = function (opportunityId) {\n return this.entityClientService.CustomerDoesNotOwnVehicleByEntityidPOST(opportunityId).toPromise();\n };\n ActivityService.prototype.updateVehiclePaidOff = function (opportunityId) {\n return this.entityClientService.VehiclePaidOffByEntityidPOST(opportunityId).toPromise();\n };\n ActivityService.prototype.updateVehiclePurchasedByDealer = function (opportunityId) {\n return this.entityClientService.VehiclePurchasedByDealerByEntityidPOST(opportunityId).toPromise();\n };\n ActivityService.prototype.getEmailConversation = function (emailConversationItemId) {\n return this.emailConversationClientService.GetEmailBodyByIdGET(emailConversationItemId).toPromise();\n };\n ActivityService.prototype.getActivityType = function (activity) {\n if (activity.activityTypeID === constants_1.ApiActivityTypes.phoneCall) {\n var type = this.activityTypes.logPhoneCall;\n switch (activity.activityStatusID) {\n case this.apiActivityStatuses.scheduled:\n type = this.activityTypes.schedulePhoneCall;\n break;\n case this.apiActivityStatuses.completed:\n type = activity.dueDate ? this.activityTypes.completePhoneCall : this.activityTypes.logPhoneCall;\n break;\n case this.apiActivityStatuses.uncompleted:\n type = this.activityTypes.expirePhoneCall;\n break;\n }\n switch (activity.activityActionID) {\n case this.apiActivityActions.reschedulePhoneCall:\n type = this.activityTypes.reschedulePhoneCall;\n break;\n case this.apiActivityActions.reassignPhoneCall:\n type = this.activityTypes.reassignPhoneCall;\n break;\n case this.apiActivityActions.cancelPhoneCall:\n type = this.activityTypes.cancelPhoneCall;\n break;\n }\n return type;\n }\n if (activity.activityTypeID === constants_1.ApiActivityTypes.appointment) {\n var type = this.activityTypes.scheduleAppointment;\n switch (activity.activityStatusID) {\n case this.apiActivityStatuses.completed:\n type = this.activityTypes.completeAppointment;\n break;\n case this.apiActivityStatuses.uncompleted:\n type = this.activityTypes.expireAppointment;\n break;\n }\n switch (activity.activityActionID) {\n case this.apiActivityActions.rescheduleAppointment:\n type = this.activityTypes.rescheduleAppointment;\n break;\n case this.apiActivityActions.reassignAppointment:\n type = this.activityTypes.reassignAppointment;\n break;\n case this.apiActivityActions.cancelAppointment:\n type = this.activityTypes.cancelAppointment;\n break;\n }\n return type;\n }\n if (activity.activityTypeID === constants_1.ApiActivityTypes.crm) {\n return this.activityTypes.pushToCrm;\n }\n if (activity.activityTypeID === constants_1.ApiActivityTypes.email) {\n var type = void 0;\n switch (activity.activityActionID) {\n case this.apiActivityActions.sendEmailTemplate:\n type = this.activityTypes.sendEmailTemplate;\n break;\n case this.apiActivityActions.sendEmail:\n type = this.activityTypes.sendEmail;\n break;\n }\n return type;\n }\n if (activity.activityTypeID === constants_1.ApiActivityTypes.pandoProcess) {\n return this.activityTypes.pandoProcess;\n }\n return activity.activityTypeID;\n };\n ActivityService.prototype.getExternalActivityType = function (key) {\n key = key.toLowerCase();\n var resultType = -1;\n switch (key) {\n case this.apiCrmActivityTypes.beBack:\n resultType = this.activityTypes.logCrmCustomerWillBeBack;\n break;\n case this.apiCrmActivityTypes.inboundCall:\n resultType = this.activityTypes.logCrmInboundCall;\n break;\n case this.apiCrmActivityTypes.inboundEmail:\n resultType = this.activityTypes.logCrmInboundEmail;\n break;\n case this.apiCrmActivityTypes.letter:\n resultType = this.activityTypes.sendCrmLetter;\n break;\n case this.apiCrmActivityTypes.outboundCall:\n resultType = this.activityTypes.logCrmOutboundCall;\n break;\n case this.apiCrmActivityTypes.outboundEmail:\n resultType = this.activityTypes.logCrmOutboundEmail;\n break;\n case this.apiCrmActivityTypes.prospectAlert:\n resultType = this.activityTypes.logCrmProspectAlert;\n break;\n case this.apiCrmActivityTypes.prospectStatus:\n resultType = this.activityTypes.logCrmProspectStatus;\n break;\n case this.apiCrmActivityTypes.remark:\n resultType = this.activityTypes.logCrmRemark;\n break;\n case this.apiCrmActivityTypes.remarkShowroom:\n resultType = this.activityTypes.logCrmShowroomRemark;\n break;\n case this.apiCrmActivityTypes.reminder:\n resultType = this.activityTypes.sendCrmReminder;\n break;\n case this.apiCrmActivityTypes.textMessage:\n resultType = this.activityTypes.sendCrmTextMessage;\n break;\n case this.apiCrmActivityTypes.inboundTextMessage:\n resultType = this.activityTypes.crmInboundTextMessage;\n break;\n case this.apiCrmActivityTypes.outboundTextMessage:\n resultType = this.activityTypes.crmOutboundTextMessage;\n break;\n }\n return resultType;\n };\n ActivityService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ActivityService_Factory() { return new ActivityService(i0.ɵɵinject(i1.ActivityHistoryClientService), i0.ɵɵinject(i2.ActivityClientService), i0.ɵɵinject(i3.EntityClientService), i0.ɵɵinject(i4.EmailConversationClientService), i0.ɵɵinject(i5.HttpClient), i0.ɵɵinject(i6.HttpInterceptorOptionsService), i0.ɵɵinject(i7.TranslateService)); }, token: ActivityService, providedIn: \"root\" });\n return ActivityService;\n}());\nexports.ActivityService = ActivityService;\n","import { groupBy } from 'lodash';\r\nimport { map } from 'rxjs/operators';\r\nimport { dateFromLocalString, dateFromUtcString } from '../utilities/datetime';\r\nimport moment from 'moment';\r\nimport { Injectable, Inject } from '@angular/core';\r\nimport { EngagementEventTypes } from '../constants/engagement-event-types.constant';\r\nimport {\r\n ActivityTypes, ApiActivityTypes, ApiActivityStatuses, ApiActivityActions, ApiCrmActivityTypes,\r\n CustomerActivityTypes, Settings, EmailFromTypes, CustomerProcessStatuses, ExportCampaignTypes\r\n} from '../constants';\r\nimport { ActivityClientService, EntityClientService, ActivityHistoryClientService, EmailConversationClientService } from '../generated/services';\r\nimport { ActivityActionTargetEntityRequest } from '../generated/models/activity-action-target-entity-request';\r\nimport {\r\n LastActivityDetailsExtDto,\r\n //ActivityExtendedDto,\r\n ActivityExtendedWithVwSearchDto,\r\n ActivityWithEntityDto,\r\n ActivityActionSubmissionModel,\r\n ActivityActionResponseModel,\r\n ActivityHistoryCombinedDto,\r\n ActivityHistoryExtDto\r\n} from '../generated/models';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { Activity } from '../interfaces/activity.interface';\r\nimport { EntityMailHistorySource } from '../constants/entity-mail-history-source';\r\nimport { MailFormat } from '../constants/mail-format';\r\nimport { HttpInterceptorOptionsService } from './http/http-interceptor-options.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport _ from 'lodash';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ActivityService {\r\n private printedTemplatesPath = '/AlertDesk/DealSheet/ArchivedPdf?filePath=';\r\n private emailTemplatePath = '/email/';\r\n private emailTemplateSentPreviewParam = '&prev=1';\r\n private apiActivityTypes = ApiActivityTypes;\r\n private activityTypes = ActivityTypes;\r\n private apiActivityStatuses = ApiActivityStatuses;\r\n private apiActivityActions = ApiActivityActions;\r\n private apiCrmActivityTypes = ApiCrmActivityTypes;\r\n private customerActivityTypes = CustomerActivityTypes;\r\n private settings = Settings;\r\n private emailFromTypes = EmailFromTypes;\r\n private customerProcessStatuses = CustomerProcessStatuses;\r\n private exportCampaignTypes = ExportCampaignTypes;\r\n\r\n constructor(private activityHistoriesClientService: ActivityHistoryClientService,\r\n private activityClientService: ActivityClientService,\r\n private entityClientService: EntityClientService,\r\n private emailConversationClientService: EmailConversationClientService,\r\n private httpClient: HttpClient, \r\n private httpInterceptorOptionsService: HttpInterceptorOptionsService,\r\n private tService: TranslateService) { }\r\n\r\n public runActivityRule(entityId: string, activityRules: ActivityActionTargetEntityRequest['activityRules']): Promise {\r\n return this.activityClientService.RunActivityRulePOST({ entityId: entityId, activityRules: activityRules }).toPromise();\r\n }\r\n\r\n public getActivities(opportunityId: string, dealerId: number, customerId: number): Promise {\r\n const params = {\r\n opportunityId: opportunityId,\r\n dealerId: dealerId,\r\n customerId: customerId\r\n } as ActivityHistoryClientService.GetCombinedActivityHistoryGETParams;\r\n\r\n return this.activityHistoriesClientService.GetCombinedActivityHistoryGET(params)\r\n .pipe(\r\n map(response => this.resolveActivities(response))\r\n ).toPromise();\r\n }\r\n\r\n private resolveActivities(response: ActivityHistoryCombinedDto): Activity[] {\r\n\r\n const activityHistories = response.activityHistories || [];\r\n const templateOutputs = response.templateOutputs || [];\r\n const printOffers = response.printOffers || [];\r\n const oneToOneActivities = response.oneToOneActivities || [];\r\n const externalCrmData = response.externalCrmData || [];\r\n const emailConversations = response.emailConversations || [];\r\n const customerEngagements = response.customerEngagements || [];\r\n const customerActivities = response.customerActivities || [];\r\n const customerProcesses = response.customerProcesses || [];\r\n const exportHistories = response.exportHistories || [];\r\n const appraisalHistories = response.appraisalHistories || [];\r\n const dmsPushHistories = response.dmsPushHistories || [];\r\n\r\n const textMessages = response.textMessages;\r\n const activities: Activity[] = [];\r\n\r\n const getFileUrlFromActivity = (activity: ActivityHistoryExtDto) => {\r\n if (activity.templateOutboundEmailID) {\r\n return this.settings.oidc.opportunitiesOrigin\r\n + this.emailTemplatePath\r\n + activity.templateOutboundEmailID\r\n + '?code='\r\n + activity.accessCode\r\n + this.emailTemplateSentPreviewParam;\r\n }\r\n };\r\n\r\n /**\r\n * Adds /i to the end of a O2O URL so the tracking\r\n * counters don't count it as an open when we display it.\r\n */\r\n const ensureNonTrackingO2OUrl = (url: string) => {\r\n if (!url) // validate url is not empty/null or undefined\r\n return null;\r\n\r\n if (typeof url === 'string' && !url.endsWith('/i')) {\r\n return url + '/i';\r\n }\r\n\r\n return url;\r\n };\r\n\r\n for (let i = 0; i < exportHistories.length; i++) {\r\n const activity = exportHistories[i];\r\n\r\n let campaignTypeName = (_.invert(this.exportCampaignTypes))[activity.exportCampaignTypeID];\r\n let exportCampaignType = this.tService.instant('exportCampaignType_' + campaignTypeName);\r\n\r\n activities.push({\r\n type: this.activityTypes.export,\r\n submittedDateTime: new Date(activity.exportDate),\r\n submittedByUserFullName: activity.fullName,\r\n exportCampaignType: exportCampaignType,\r\n exportProvider: activity.providerName,\r\n } as Activity);\r\n }\r\n\r\n for (let i = 0; i < activityHistories.length; i++) {\r\n const activity = activityHistories[i];\r\n if (activity.activityTypeID === this.apiActivityTypes.note ||\r\n activity.activityTypeID === this.apiActivityTypes.phoneCall ||\r\n activity.activityTypeID === this.apiActivityTypes.appointment ||\r\n activity.activityTypeID === this.apiActivityTypes.crm ||\r\n activity.activityTypeID === this.apiActivityTypes.email) {\r\n activities.push({\r\n activityId: activity.activityID,\r\n type: this.getActivityType(activity),\r\n submittedByUserFullName: activity.insertUserFullName,\r\n submittedDateTime: new Date(activity.insertDate),\r\n notes: activity.notes,\r\n result: activity.activityResultID,\r\n scheduledDateTime: activity.dueDate && dateFromLocalString(activity.dueDate),\r\n assignedUserFullName: activity.responsibleUserFullName,\r\n assignedUserID: activity.responsibleUserID,\r\n activityActionId: activity.activityActionID,\r\n sendReminder: activity.sendReminder,\r\n // --email template data\r\n emailSubject: activity.emailSubject,\r\n firstOpenDate: activity.firstOpenDate,\r\n lastOpenDate: activity.lastOpenDate,\r\n totalCount: activity.openCount,\r\n recordingUrl: activity.recordingUrl || '',\r\n fileUrl: getFileUrlFromActivity(activity),\r\n activityHistoryStatusId: activity.activityStatusID,\r\n activityStatusId: activity.activityActivityStatusID,\r\n activityActionSubTypeID: activity.activityActionSubTypeID,\r\n templateEmailId: activity.templateOutboundEmailID,\r\n accessCode: activity.accessCode,\r\n upgradeProposalIsAvailable: activity.upgradeProposalIsAvailable,\r\n } as Activity);\r\n }\r\n\r\n if (activity.activityTypeID === this.apiActivityTypes.pandoProcess) {\r\n\r\n activities.push({\r\n type: this.getActivityType(activity),\r\n submittedDateTime: new Date(activity.insertDate),\r\n notes: activity.notes,\r\n assignedUserFullName: activity.responsibleUserFullName,\r\n assignedUserID: activity.responsibleUserID,\r\n activityId: activity.activityID,\r\n activityActionId: activity.activityActionID,\r\n\r\n activityHistoryStatusId: activity.activityStatusID,\r\n activityStatusId: activity.activityActivityStatusID,\r\n activityActionSubTypeID: activity.activityActionSubTypeID\r\n } as Activity);\r\n }\r\n }\r\n\r\n for (let j = 0; j < templateOutputs.length; j++) {\r\n const template = templateOutputs[j];\r\n\r\n activities.push({\r\n type: this.activityTypes.printTemplate,\r\n submittedByUserFullName: template.fullName,\r\n submittedDateTime: new Date(template.generateDate),\r\n templateName: template.templateName,\r\n templateOutputId: template.templateOutputID,\r\n usesNewStorage: template.usesNewStorage,\r\n fileUrl: this.settings.legacy.iframeUrl + this.printedTemplatesPath + template.filePath\r\n } as Activity);\r\n }\r\n\r\n for (let k = 0; k < printOffers.length; k++) {\r\n const printOffer = printOffers[k];\r\n\r\n activities.push({\r\n type: this.activityTypes.printOfferLetter,\r\n submittedByUserFullName: printOffer.generatedByUserFullName,\r\n submittedDateTime: new Date(printOffer.generateDate),\r\n fileUrl: printOffer.printUrl\r\n } as Activity);\r\n }\r\n\r\n\r\n\r\n for (let l = 0; l < oneToOneActivities.length; l++) {\r\n var oneToOneActivity = oneToOneActivities[l];\r\n\r\n let oneToOneType: number;\r\n\r\n if (oneToOneActivity.sourceID == EntityMailHistorySource.NVQ\r\n || oneToOneActivity.sourceID == EntityMailHistorySource.One2One\r\n || oneToOneActivity.sourceID == EntityMailHistorySource.SKG\r\n ) {\r\n // Filter One 2 One SourceID 1,2,3\r\n if (oneToOneActivity.mailFormatID === MailFormat.Mail) {\r\n oneToOneType = this.activityTypes.sendOneToOneMail;\r\n } else if (oneToOneActivity.mailFormatID === MailFormat.Email) {\r\n oneToOneType = this.activityTypes.sendOneToOneEmail;\r\n }\r\n }\r\n else if (oneToOneActivity.sourceID === EntityMailHistorySource.IntelligentMarketing) {\r\n // Filter Intelligent Marketing SourceID 4 is only IM\r\n if (oneToOneActivity.mailFormatID === MailFormat.Mail) {\r\n oneToOneType = this.activityTypes.sendIntelMrktMail;\r\n } else if (oneToOneActivity.mailFormatID === MailFormat.Email) {\r\n oneToOneType = this.activityTypes.sendIntelMrktEmail;\r\n }\r\n }\r\n else if ((oneToOneActivity.sourceID === EntityMailHistorySource.FordCreditMailers)) {\r\n // Filter SourceID 5 is Ford Credit Mailers => mail sent on a by-law rule to non O2O dealers (WEBUI-8901 & WEBUI-8902)\r\n oneToOneType = this.activityTypes.sendFordCreditMailers;\r\n }\r\n else if (oneToOneActivity.sourceID === EntityMailHistorySource.ServiceMarketing) {\r\n if (oneToOneActivity.mailFormatID === MailFormat.Mail) {\r\n oneToOneType = this.activityTypes.sendServiceMarketingMail;\r\n } else if (oneToOneActivity.mailFormatID === MailFormat.Email) {\r\n oneToOneType = this.activityTypes.sendServiceMarketingEmail;\r\n }\r\n oneToOneActivity.pUrl = null; // WEBUI-9831 SM should not display a pUrl link\r\n }\r\n else if (oneToOneActivity.sourceID === EntityMailHistorySource.SLM) {\r\n if (oneToOneActivity.mailFormatID === MailFormat.Mail) {\r\n continue;\r\n } else if (oneToOneActivity.mailFormatID === MailFormat.Email) {\r\n oneToOneType = this.activityTypes.sentSLMEmailOffer;\r\n }\r\n }\r\n else if (oneToOneActivity.sourceID === EntityMailHistorySource.PartnerExport) {\r\n if (oneToOneActivity.mailFormatID === MailFormat.Email) {\r\n continue;\r\n } else if (oneToOneActivity.mailFormatID === MailFormat.Mail) {\r\n oneToOneType = this.activityTypes.sendPartnerExportMail;\r\n\r\n // For now we are stuffing Parter Export only data into the pUrl field\r\n if (oneToOneActivity.pUrl != null) {\r\n var strArray = oneToOneActivity.pUrl.split(\"|\");\r\n if (strArray.length == 2) {\r\n oneToOneActivity.preferredPartner = strArray[0];\r\n oneToOneActivity.messageCreativeType = strArray[1];\r\n }\r\n }\r\n oneToOneActivity.pUrl = null; // WEBUI-10324 Partner Export does not display a pUrl link\r\n }\r\n }\r\n\r\n activities.push({\r\n type: oneToOneType,\r\n submittedDateTime: oneToOneActivity.utcDateSent ? new Date(oneToOneActivity.utcDateSent) : null,\r\n oneToOneKey: oneToOneActivity.mailServiceProviderID + '_' + oneToOneActivity.mailFormatID + '_' + oneToOneActivity.mailCode,\r\n pUrl: oneToOneType == this.activityTypes.sendPartnerExportMail ? oneToOneActivity.pUrl : ensureNonTrackingO2OUrl(oneToOneActivity.pUrl),\r\n preferredPartner: oneToOneActivity.preferredPartner,\r\n additionalData: oneToOneActivity.messageCreativeType ? this.tService.instant(\"partnerExportMessage\", { messageCreativeType: oneToOneActivity.messageCreativeType }) : null\r\n } as Activity);\r\n }\r\n\r\n for (let p = 0; p < customerProcesses.length; p++) {\r\n let customerProcess = customerProcesses[p];\r\n let processStatusCodeName = (_.invert(this.customerProcessStatuses))[customerProcess.status];\r\n let status = this.tService.instant('customerProcessStatus_' + processStatusCodeName);\r\n\r\n activities.push({\r\n type: this.activityTypes.customerPandoProcess,\r\n submittedDateTime: customerProcess.startDateUtc ? new Date(customerProcess.startDateUtc) : null,\r\n templateName: customerProcess.processTemplateName,\r\n processTitle: customerProcess.processTitle,\r\n submittedByUserFullName: customerProcess.requestorFirstLast,\r\n assignedUserFullName: customerProcess.lastAssignedToFirstLast,\r\n requestorAvatarUrl: customerProcess.requestorAvatarUrl,\r\n lastAssignedToAvatarUrl: customerProcess.lastAssignedToAvatarUrl,\r\n customerProcessStatus: status,\r\n customerProcessStatusCode: customerProcess.status,\r\n elapsedSeconds: customerProcess.elapsedSeconds,\r\n lastActivityDateTime: customerProcess.lastActivityDateUtc\r\n } as Activity);\r\n }\r\n\r\n // customer activities (handle autoAssistCustomerReplied events separately)\r\n customerActivities.forEach((custActivity) => {\r\n let typeId = -1;\r\n switch (custActivity.customerActivityEventID) {\r\n case this.customerActivityTypes.autoAssistCommSent:\r\n typeId = this.activityTypes.autoAssistCommSent;\r\n break;\r\n case this.customerActivityTypes.autoAssistNewHotLead:\r\n typeId = this.activityTypes.autoAssistNewHotLead;\r\n break;\r\n case this.customerActivityTypes.geoAlertActive:\r\n typeId = this.activityTypes.geoAlertActive;\r\n break;\r\n case this.customerActivityTypes.geoAlertCampaign:\r\n typeId = this.activityTypes.geoAlertCampaign;\r\n break;\r\n case this.customerActivityTypes.geoAlertAd:\r\n typeId = this.activityTypes.geoAlertAd;\r\n break;\r\n case this.customerActivityTypes.facebookAdded:\r\n typeId = this.activityTypes.facebookAdded;\r\n break;\r\n case this.customerActivityTypes.facebookVerified:\r\n typeId = this.activityTypes.facebookVerified;\r\n break;\r\n case this.customerActivityTypes.autofiDigitalRetailing:\r\n typeId = this.activityTypes.autofiDigitalRetailing;\r\n break;\r\n case this.customerActivityTypes.autofiDigitalRetailingCreditApp:\r\n typeId = this.activityTypes.autofiDigitalRetailingCreditApp;\r\n break;\r\n case this.customerActivityTypes.autofiDigitalRetailingApptSched:\r\n typeId = this.activityTypes.autofiDigitalRetailingApptSched;\r\n break;\r\n }\r\n if (typeId !== -1) {\r\n activities.push({\r\n type: typeId,\r\n submittedDateTime: new Date(custActivity.activityDateUTC),\r\n messageText: custActivity.eventDetails,\r\n } as Activity);\r\n }\r\n });\r\n\r\n // AutoAssist autoAssistCustomerReplied activities\r\n const autoAssistActivities = customerActivities\r\n .filter(custActivity => custActivity.customerActivityEventID === this.customerActivityTypes.autoAssistCustomerReplied)\r\n .map(custActivity => ({\r\n activityDateUTC: custActivity.activityDateUTC,\r\n campaignId: custActivity.campaignID,\r\n eventDetails: custActivity.eventDetails\r\n }));\r\n\r\n const activitiesByCampaign = groupBy(autoAssistActivities, (act) => {\r\n return act.campaignId;\r\n });\r\n\r\n for (const [campaignId, activitesPerCampaign] of Object.entries(activitiesByCampaign)) {\r\n activitesPerCampaign.sort((activity1: any, activity2: any) => {\r\n const time1 = moment.utc(activity1.activityDateUTC, 'YYYY-MM-DD[T]HH:mm[Z]');\r\n const time2 = moment.utc(activity2.activityDateUTC, 'YYYY-MM-DD[T]HH:mm[Z]');\r\n const isAfter = time2.isAfter(time1);\r\n return isAfter ? 1 : -1;\r\n });\r\n\r\n activities.push({\r\n type: this.activityTypes.autoAssistCustomerReplied,\r\n // Take the most recent event\r\n submittedDateTime: new Date(activitesPerCampaign[0].activityDateUTC),\r\n messageText: activitesPerCampaign[0].eventDetails\r\n } as Activity);\r\n }\r\n\r\n\r\n\r\n const ungroupedctivities = customerEngagements\r\n .map((engagement) => {\r\n switch (engagement.engagementEventTypeID) {\r\n case EngagementEventTypes.purlView:\r\n return {\r\n type: this.activityTypes.purlView,\r\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\r\n pUrl: ensureNonTrackingO2OUrl(engagement.purl),\r\n };\r\n case EngagementEventTypes.purlViewIM:\r\n return {\r\n type: this.activityTypes.purlViewIntelMrkt,\r\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\r\n pUrl: ensureNonTrackingO2OUrl(engagement.purl),\r\n };\r\n case EngagementEventTypes.purlLeadSubmission:\r\n return {\r\n type: this.activityTypes.purlSubmit,\r\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\r\n pUrl: ensureNonTrackingO2OUrl(engagement.purl),\r\n };\r\n case EngagementEventTypes.purlLeadSubmissionIM:\r\n return {\r\n type: this.activityTypes.purlSubmitIntelMrkt,\r\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\r\n pUrl: ensureNonTrackingO2OUrl(engagement.purl),\r\n };\r\n case EngagementEventTypes.onlineServiceReview:\r\n return {\r\n type: this.activityTypes.reviewProServiceRating,\r\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\r\n pUrl: engagement.purl,\r\n reviewRating: engagement.reviewRating\r\n };\r\n case EngagementEventTypes.onlineSalesReview:\r\n return {\r\n type: this.activityTypes.reviewProSalesRating,\r\n submittedDateTime: engagement.eventDateUTC ? new Date(engagement.eventDateUTC) : null,\r\n pUrl: engagement.purl,\r\n reviewRating: engagement.reviewRating\r\n };\r\n }\r\n })\r\n .filter(item => item !== undefined);\r\n\r\n activities.push.apply(activities, ungroupedctivities);\r\n\r\n // websiteEngaged\r\n const webEngagementActivities = (() => {\r\n\r\n interface EngagementHistoryWorkDto {\r\n eventDateUTC?: Date;\r\n purl?: string;\r\n notes?: string;\r\n }\r\n\r\n const viewDates = customerEngagements\r\n .filter(engagement => engagement.engagementEventTypeID === EngagementEventTypes.websiteEngaged)\r\n .map(engagement => ({\r\n eventDateUTC: engagement.eventDateUTC ? dateFromUtcString(engagement.eventDateUTC) : null,\r\n notes: engagement.notes,\r\n purl: engagement.purl\r\n }) as EngagementHistoryWorkDto);\r\n \r\n // Group the website engagements by day, then return the\r\n // total number of views\r\n const grouped = groupBy(viewDates, date => date.eventDateUTC ? date.eventDateUTC.toDateString() : null);\r\n \r\n return Object.entries(grouped)\r\n .map(([day, dates]) => {\r\n const datesArray = dates.map((d)=> {\r\n return d.eventDateUTC\r\n });\r\n const firstViewedDate = datesArray.reduce((acc, d) => acc < d ? acc : d);\r\n const lastViewedDate = datesArray.reduce((acc, d) => acc > d ? acc : d);\r\n return {\r\n type: this.activityTypes.websiteEngaged,\r\n submittedDateTime: lastViewedDate,\r\n firstViewedDate: firstViewedDate,\r\n lastViewedDate: lastViewedDate,\r\n viewCount: dates.length,\r\n items: dates\r\n };\r\n });\r\n })();\r\n\r\n activities.push.apply(activities, webEngagementActivities);\r\n\r\n // website lead submission\r\n const webLeadSubmissionActivities = customerEngagements\r\n .filter(engagement => engagement.engagementEventTypeID === EngagementEventTypes.websiteLeadSubmission)\r\n .map(engagement => ({\r\n type: this.activityTypes.websiteLeadSubmission,\r\n submittedDateTime: engagement.eventDateUTC ? dateFromUtcString(engagement.eventDateUTC) : null,\r\n }));\r\n\r\n activities.push.apply(activities, webLeadSubmissionActivities);\r\n\r\n if (externalCrmData) {\r\n for (let n = 0; n < externalCrmData.length; n++) {\r\n const template = externalCrmData[n];\r\n activities.push({\r\n type: this.getExternalActivityType(template.activityType + ''),\r\n submittedByUserFullName: template.performedByFullName,\r\n submittedDateTime: template.activityDate ? new Date(template.activityDate) : null,\r\n emailSubject: template.subject,\r\n emailTo: template.toEmailAddress,\r\n emailFrom: template.fromEmailAddress,\r\n notes: template.notes,\r\n contactPhone: template.contactedPhone,\r\n } as Activity);\r\n }\r\n }\r\n\r\n for (let p = 0; p < emailConversations.length; p++) {\r\n const emailConversation = emailConversations[p];\r\n\r\n let emailConversationType: number;\r\n let emailConversationSubmittedBy: string;\r\n if (emailConversation.emailFrom === this.emailFromTypes.None) {\r\n emailConversationType = this.activityTypes.emailReply;\r\n emailConversationSubmittedBy = emailConversation.fromName;\r\n } else if (emailConversation.emailFrom === this.emailFromTypes.Customer) {\r\n emailConversationType = this.activityTypes.emailReplyCustomer;\r\n emailConversationSubmittedBy = emailConversation.customerName;\r\n } else if (emailConversation.emailFrom === this.emailFromTypes.User) {\r\n emailConversationType = this.activityTypes.emailReplyDealer;\r\n emailConversationSubmittedBy = emailConversation.userFullName;\r\n }\r\n\r\n activities.push({\r\n type: emailConversationType,\r\n emailConversationItemId: emailConversation.emailConversationItemId,\r\n submittedByUserFullName: emailConversationSubmittedBy,\r\n emailConversationSubject: emailConversation.subject,\r\n submittedDateTime: new Date(emailConversation.sentDateTime),\r\n firstOpenDate: emailConversation.emailFirstOpenedDateTime,\r\n lastOpenDate: emailConversation.emailLastOpenedDateTime,\r\n totalCount: emailConversation.emailOpenCount\r\n } as Activity);\r\n }\r\n\r\n // Appraisals\r\n for (let r = 0; r < appraisalHistories.length; r++) {\r\n const appraisalHistory = appraisalHistories[r];\r\n\r\n activities.push({\r\n type: this.activityTypes.appraisal,\r\n appraisalId: appraisalHistory.appraisalID,\r\n appraisalUrl: appraisalHistory.appraisalLink,\r\n appraisalHistoryTypeId: appraisalHistory.appraisalHistoryTypeID,\r\n submittedByUserFullName: appraisalHistory.fullName,\r\n submittedDateTime: new Date(appraisalHistory.insertDateUTC),\r\n } as Activity);\r\n }\r\n\r\n // Dms push activites\r\n for (let r = 0; r < dmsPushHistories.length; r++) {\r\n const dmsPushHistory = dmsPushHistories[r];\r\n\r\n activities.push({\r\n type: this.activityTypes.dmsPush,\r\n dmsCustomerId: dmsPushHistory.dmsCustomerId,\r\n dmsDealId: dmsPushHistory.dmsDealId,\r\n submittedByUserFullName: dmsPushHistory.fullName,\r\n submittedDateTime: new Date(dmsPushHistory.createDateUtc),\r\n dmsRequestTypeId: dmsPushHistory.requestTypeId\r\n } as Activity);\r\n }\r\n\r\n\r\n // Text messages\r\n const textMessagesByDay = groupBy(textMessages, (tm) => {\r\n return `${moment(tm.sentDateTime).startOf('day')}|{${tm.dealerPhoneAccessRightID}`;\r\n });\r\n\r\n for (let [groupKey, textMessagesPerDay] of Object.entries(textMessagesByDay)) {\r\n textMessagesPerDay = textMessagesPerDay.sort((textMessage1, textMessage2) => {\r\n const isAfter = moment(textMessage2.sentDateTime).isAfter(textMessage1.sentDateTime);\r\n return isAfter ? -1 : 1;\r\n });\r\n\r\n activities.push({\r\n activityId: textMessagesPerDay[0].messageId,\r\n type: this.activityTypes.textMessage,\r\n // We take the latest text message so that the activity will show up in the right place in the activity list\r\n submittedDateTime: new Date(textMessagesPerDay[0].sentDateTime),\r\n textMessages: textMessagesPerDay\r\n } as Activity);\r\n }\r\n\r\n const bySubmittedDateTime = (activity1, activity2) => {\r\n const time2 = new Date(activity2.submittedDateTime || activity2.submittedDate).getTime();\r\n const time1 = new Date(activity1.submittedDateTime || activity1.submittedDate).getTime();\r\n return time2 - time1;\r\n };\r\n\r\n activities.sort(bySubmittedDateTime);\r\n\r\n return activities;\r\n }\r\n\r\n getLastActivityDetails(opportunityId: string): Promise {\r\n return this.activityHistoriesClientService.GetLastActivityByEntityIdByEntityidGET(opportunityId).toPromise();\r\n }\r\n\r\n getAgendaItems(selectedDealerId: number, take?: number, flushCache?: boolean): Promise {\r\n let params: ActivityClientService.GetAgendaItemsGETParams = {};\r\n\r\n params.flushCache = flushCache;\r\n params.take = take;\r\n \r\n if (selectedDealerId !== null && selectedDealerId !== undefined) {\r\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId])\r\n }\r\n\r\n return this.activityClientService.GetAgendaItemsGET(params).toPromise();\r\n }\r\n\r\n getAgendaItemsWithEntityData(params: ActivityClientService.GetAgendaItemsWithEntityDataGETParams): Promise {\r\n return this.activityClientService.GetAgendaItemsWithEntityDataGET(params).toPromise();\r\n }\r\n\r\n postActivitySubmitAction(activity: ActivityActionSubmissionModel): Promise {\r\n return this.activityClientService.SubmitActionPOST(activity).toPromise();\r\n }\r\n\r\n updateWarrantyStatus(opportunityId: string): Promise {\r\n return this.entityClientService.HasWarrantyByEntityidPOST(opportunityId).toPromise();\r\n }\r\n\r\n updateSoldWarranty(opportunityId: string): Promise {\r\n return this.entityClientService.SoldWarrantyByEntityidPOST(opportunityId).toPromise();\r\n }\r\n\r\n updateCustomerDoesNotOwnVehicle(opportunityId: string): Promise {\r\n return this.entityClientService.CustomerDoesNotOwnVehicleByEntityidPOST(opportunityId).toPromise();\r\n }\r\n\r\n updateVehiclePaidOff(opportunityId: string): Promise {\r\n return this.entityClientService.VehiclePaidOffByEntityidPOST(opportunityId).toPromise();\r\n }\r\n\r\n updateVehiclePurchasedByDealer(opportunityId: string): Promise {\r\n return this.entityClientService.VehiclePurchasedByDealerByEntityidPOST(opportunityId).toPromise();\r\n }\r\n\r\n getEmailConversation(emailConversationItemId: number): Promise {\r\n return this.emailConversationClientService.GetEmailBodyByIdGET(emailConversationItemId).toPromise();\r\n }\r\n\r\n getActivityType(activity) {\r\n if (activity.activityTypeID === ApiActivityTypes.phoneCall) {\r\n let type = this.activityTypes.logPhoneCall;\r\n\r\n switch (activity.activityStatusID) {\r\n case this.apiActivityStatuses.scheduled:\r\n type = this.activityTypes.schedulePhoneCall;\r\n break;\r\n case this.apiActivityStatuses.completed:\r\n type = activity.dueDate ? this.activityTypes.completePhoneCall : this.activityTypes.logPhoneCall;\r\n break;\r\n case this.apiActivityStatuses.uncompleted:\r\n type = this.activityTypes.expirePhoneCall;\r\n break;\r\n }\r\n\r\n switch (activity.activityActionID) {\r\n case this.apiActivityActions.reschedulePhoneCall:\r\n type = this.activityTypes.reschedulePhoneCall;\r\n break;\r\n case this.apiActivityActions.reassignPhoneCall:\r\n type = this.activityTypes.reassignPhoneCall;\r\n break;\r\n case this.apiActivityActions.cancelPhoneCall:\r\n type = this.activityTypes.cancelPhoneCall;\r\n break;\r\n }\r\n\r\n return type;\r\n }\r\n\r\n if (activity.activityTypeID === ApiActivityTypes.appointment) {\r\n let type = this.activityTypes.scheduleAppointment;\r\n\r\n switch (activity.activityStatusID) {\r\n case this.apiActivityStatuses.completed:\r\n type = this.activityTypes.completeAppointment;\r\n break;\r\n case this.apiActivityStatuses.uncompleted:\r\n type = this.activityTypes.expireAppointment;\r\n break;\r\n }\r\n\r\n switch (activity.activityActionID) {\r\n case this.apiActivityActions.rescheduleAppointment:\r\n type = this.activityTypes.rescheduleAppointment;\r\n break;\r\n case this.apiActivityActions.reassignAppointment:\r\n type = this.activityTypes.reassignAppointment;\r\n break;\r\n case this.apiActivityActions.cancelAppointment:\r\n type = this.activityTypes.cancelAppointment;\r\n break;\r\n }\r\n\r\n return type;\r\n }\r\n\r\n if (activity.activityTypeID === ApiActivityTypes.crm) {\r\n return this.activityTypes.pushToCrm;\r\n }\r\n\r\n if (activity.activityTypeID === ApiActivityTypes.email) {\r\n let type;\r\n switch (activity.activityActionID) {\r\n case this.apiActivityActions.sendEmailTemplate:\r\n type = this.activityTypes.sendEmailTemplate;\r\n break;\r\n case this.apiActivityActions.sendEmail:\r\n type = this.activityTypes.sendEmail;\r\n break;\r\n }\r\n return type;\r\n }\r\n\r\n if (activity.activityTypeID === ApiActivityTypes.pandoProcess) {\r\n return this.activityTypes.pandoProcess;\r\n }\r\n\r\n return activity.activityTypeID;\r\n }\r\n\r\n getExternalActivityType(key: string) {\r\n key = key.toLowerCase();\r\n let resultType = -1;\r\n switch (key) {\r\n case this.apiCrmActivityTypes.beBack:\r\n resultType = this.activityTypes.logCrmCustomerWillBeBack;\r\n break;\r\n case this.apiCrmActivityTypes.inboundCall:\r\n resultType = this.activityTypes.logCrmInboundCall;\r\n break;\r\n case this.apiCrmActivityTypes.inboundEmail:\r\n resultType = this.activityTypes.logCrmInboundEmail;\r\n break;\r\n case this.apiCrmActivityTypes.letter:\r\n resultType = this.activityTypes.sendCrmLetter;\r\n break;\r\n case this.apiCrmActivityTypes.outboundCall:\r\n resultType = this.activityTypes.logCrmOutboundCall;\r\n break;\r\n case this.apiCrmActivityTypes.outboundEmail:\r\n resultType = this.activityTypes.logCrmOutboundEmail;\r\n break;\r\n case this.apiCrmActivityTypes.prospectAlert:\r\n resultType = this.activityTypes.logCrmProspectAlert;\r\n break;\r\n case this.apiCrmActivityTypes.prospectStatus:\r\n resultType = this.activityTypes.logCrmProspectStatus;\r\n break;\r\n case this.apiCrmActivityTypes.remark:\r\n resultType = this.activityTypes.logCrmRemark;\r\n break;\r\n case this.apiCrmActivityTypes.remarkShowroom:\r\n resultType = this.activityTypes.logCrmShowroomRemark;\r\n break;\r\n case this.apiCrmActivityTypes.reminder:\r\n resultType = this.activityTypes.sendCrmReminder;\r\n break;\r\n case this.apiCrmActivityTypes.textMessage:\r\n resultType = this.activityTypes.sendCrmTextMessage;\r\n break;\r\n case this.apiCrmActivityTypes.inboundTextMessage:\r\n resultType = this.activityTypes.crmInboundTextMessage;\r\n break;\r\n case this.apiCrmActivityTypes.outboundTextMessage:\r\n resultType = this.activityTypes.crmOutboundTextMessage;\r\n break;\r\n }\r\n return resultType;\r\n }\r\n}\r\n","// 19.1.2.7 Object.getOwnPropertyNames(O)\nrequire('./_object-sap')('getOwnPropertyNames', function () {\n return require('./_object-gopn-ext').f;\n});\n","var path = '/app/components/deal-sheet/customer-edit-action.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar moment_timezone_1 = __importDefault(require(\"moment-timezone\"));\n/**\n * The time zones supported by the application, keyed by strings like\n * \"pacificStandardTime\".\n */\nexports.TimeZones = {\n hawaiianStandardTime: {\n id: 1,\n tzdbName: 'Pacific/Honolulu',\n bclName: 'Hawaiian Standard Time',\n standard: '-1000',\n daylight: '-1000',\n },\n alaskanStandardTime: {\n id: 2,\n tzdbName: 'America/Anchorage',\n bclName: 'Alaskan Standard Time',\n standard: '-0900',\n daylight: '-0800',\n },\n pacificStandardTime: {\n id: 3,\n tzdbName: 'America/Los_Angeles',\n bclName: 'Pacific Standard Time',\n standard: '-0800',\n daylight: '-0700',\n },\n mountainStandardTime: {\n id: 4,\n tzdbName: 'America/Denver',\n bclName: 'Mountain Standard Time',\n standard: '-0700',\n daylight: '-0600',\n },\n centralStandardTime: {\n id: 5,\n tzdbName: 'America/Chicago',\n bclName: 'Central Standard Time',\n standard: '-0600',\n daylight: '-0500',\n },\n easternStandardTime: {\n id: 6,\n tzdbName: 'America/New_York',\n bclName: 'Eastern Standard Time',\n standard: '-0500',\n daylight: '-0400',\n },\n atlanticStandardTime: {\n id: 7,\n tzdbName: 'America/Halifax',\n bclName: 'Atlantic Standard Time',\n standard: '-0400',\n daylight: '-0300',\n },\n westPacificStandardTime: {\n id: 8,\n tzdbName: 'Pacific/Port_Moresby',\n bclName: 'West Pacific Standard Time',\n standard: '+1000',\n daylight: '+1000',\n },\n utcMinus11: {\n id: 9,\n tzdbName: 'Etc/GMT+11',\n bclName: 'UTC-11',\n standard: '-1100',\n daylight: '-1100',\n },\n usMountainStandardTime: {\n id: 10,\n tzdbName: 'America/Phoenix',\n bclName: 'US Mountain Standard Time',\n standard: '-0700',\n daylight: '-0700',\n },\n newfoundlandStandardTime: {\n id: 11,\n tzdbName: 'America/St_Johns',\n bclName: 'Newfoundland Standard Time',\n standard: '-0330',\n daylight: '-0230',\n },\n utcPlus12: {\n id: 12,\n tzdbName: 'Etc/GMT-12',\n bclName: 'UTC+12',\n standard: '+1200',\n daylight: '+1200',\n },\n gmtStandardTime: {\n id: 13,\n tzdbName: 'Europe/London',\n bclName: 'GMT Standard Time',\n standard: '+0000',\n daylight: '+0000',\n },\n romanceStandardTime: {\n id: 15,\n tzdbName: 'Europe/Paris',\n bclName: 'Romance Standard Time',\n standard: '+0100',\n daylight: '+0100',\n },\n};\n/**\n * The time zones supported by the application, keyed by database ID.\n */\nexports.TimeZonesById = new Map();\n/**\n * The time zones supported by the application keyed by Tzdb name, such as\n * \"America/Los_Angeles\".\n */\nexports.TimeZonesByTzdbName = new Map();\nfor (var _i = 0, _a = Object.values(exports.TimeZones); _i < _a.length; _i++) {\n var timeZone = _a[_i];\n exports.TimeZonesById.set(timeZone.id, timeZone);\n exports.TimeZonesByTzdbName.set(timeZone.tzdbName, timeZone);\n}\n// Guesses the browser's current time zone.\nfunction guessBrowserTimeZone() {\n var tzdbName = moment_timezone_1.default.tz.guess();\n var timeZone = exports.TimeZonesByTzdbName[tzdbName];\n return timeZone || exports.TimeZones.pacificStandardTime;\n}\nexports.guessBrowserTimeZone = guessBrowserTimeZone;\n","import moment from 'moment-timezone';\r\n\r\ninterface TimeZone {\r\n /** The ID of this time zone in the AutoAlert database. */\r\n id: number;\r\n /** The Tzdb identifier for this time zone. */\r\n tzdbName: string;\r\n /** The BCL identifier for this time zone. */\r\n bclName: string;\r\n /** The offset when this zone is in standard time (in `-HHMM` format). */\r\n standard: string;\r\n /** The offset when this zone is in daylight saving time (in `-HHMM` format). */\r\n daylight: string;\r\n}\r\n\r\n/**\r\n * The time zones supported by the application, keyed by strings like\r\n * \"pacificStandardTime\".\r\n */\r\nexport const TimeZones = {\r\n hawaiianStandardTime: {\r\n id: 1,\r\n tzdbName: 'Pacific/Honolulu',\r\n bclName: 'Hawaiian Standard Time',\r\n standard: '-1000',\r\n daylight: '-1000',\r\n },\r\n alaskanStandardTime: {\r\n id: 2,\r\n tzdbName: 'America/Anchorage',\r\n bclName: 'Alaskan Standard Time',\r\n standard: '-0900',\r\n daylight: '-0800',\r\n },\r\n pacificStandardTime: {\r\n id: 3,\r\n tzdbName: 'America/Los_Angeles',\r\n bclName: 'Pacific Standard Time',\r\n standard: '-0800',\r\n daylight: '-0700',\r\n },\r\n mountainStandardTime: {\r\n id: 4,\r\n tzdbName: 'America/Denver',\r\n bclName: 'Mountain Standard Time',\r\n standard: '-0700',\r\n daylight: '-0600',\r\n },\r\n centralStandardTime: {\r\n id: 5,\r\n tzdbName: 'America/Chicago',\r\n bclName: 'Central Standard Time',\r\n standard: '-0600',\r\n daylight: '-0500',\r\n },\r\n easternStandardTime: {\r\n id: 6,\r\n tzdbName: 'America/New_York',\r\n bclName: 'Eastern Standard Time',\r\n standard: '-0500',\r\n daylight: '-0400',\r\n },\r\n atlanticStandardTime: {\r\n id: 7,\r\n tzdbName: 'America/Halifax',\r\n bclName: 'Atlantic Standard Time',\r\n standard: '-0400',\r\n daylight: '-0300',\r\n },\r\n westPacificStandardTime: {\r\n id: 8,\r\n tzdbName: 'Pacific/Port_Moresby',\r\n bclName: 'West Pacific Standard Time',\r\n standard: '+1000',\r\n daylight: '+1000',\r\n },\r\n utcMinus11: {\r\n id: 9,\r\n tzdbName: 'Etc/GMT+11', // The positive sign is correct\r\n bclName: 'UTC-11',\r\n standard: '-1100',\r\n daylight: '-1100',\r\n },\r\n usMountainStandardTime: {\r\n id: 10,\r\n tzdbName: 'America/Phoenix',\r\n bclName: 'US Mountain Standard Time',\r\n standard: '-0700',\r\n daylight: '-0700',\r\n },\r\n newfoundlandStandardTime: {\r\n id: 11,\r\n tzdbName: 'America/St_Johns',\r\n bclName: 'Newfoundland Standard Time',\r\n standard: '-0330',\r\n daylight: '-0230',\r\n },\r\n utcPlus12: {\r\n id: 12,\r\n tzdbName: 'Etc/GMT-12', // The negative sign is correct\r\n bclName: 'UTC+12',\r\n standard: '+1200',\r\n daylight: '+1200',\r\n },\r\n gmtStandardTime: {\r\n id: 13,\r\n tzdbName: 'Europe/London',\r\n bclName: 'GMT Standard Time',\r\n standard: '+0000',\r\n daylight: '+0000',\r\n },\r\n romanceStandardTime: {\r\n id: 15,\r\n tzdbName: 'Europe/Paris',\r\n bclName: 'Romance Standard Time',\r\n standard: '+0100',\r\n daylight: '+0100',\r\n },\r\n};\r\n\r\n/**\r\n * The time zones supported by the application, keyed by database ID.\r\n */\r\nexport const TimeZonesById = new Map();\r\n\r\n/**\r\n * The time zones supported by the application keyed by Tzdb name, such as\r\n * \"America/Los_Angeles\".\r\n */\r\nexport const TimeZonesByTzdbName = new Map();\r\n\r\nfor (const timeZone of Object.values(TimeZones)) {\r\n TimeZonesById.set(timeZone.id, timeZone);\r\n TimeZonesByTzdbName.set(timeZone.tzdbName, timeZone);\r\n}\r\n\r\n// Guesses the browser's current time zone.\r\nexport function guessBrowserTimeZone() {\r\n const tzdbName = moment.tz.guess();\r\n const timeZone = TimeZonesByTzdbName[tzdbName];\r\n return timeZone || TimeZones.pacificStandardTime;\r\n}\r\n","// 20.2.2.30 Math.sinh(x)\nvar $export = require('./_export');\nvar expm1 = require('./_math-expm1');\nvar exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * require('./_fails')(function () {\n return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n sinh: function sinh(x) {\n return Math.abs(x = +x) < 1\n ? (expm1(x) - expm1(-x)) / 2\n : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n }\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar services_1 = require(\"../generated/services\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../generated/services/deal-sheet-client.service\"));\nvar RecentDealSheetService = /** @class */ (function () {\n function RecentDealSheetService(dealSheetClientService) {\n this.dealSheetClientService = dealSheetClientService;\n }\n RecentDealSheetService.prototype.getRecentDealSheets = function () {\n return this.dealSheetClientService.UserDealSheetHistoryGET().toPromise();\n };\n RecentDealSheetService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function RecentDealSheetService_Factory() { return new RecentDealSheetService(i0.ɵɵinject(i1.DealSheetClientService)); }, token: RecentDealSheetService, providedIn: \"root\" });\n return RecentDealSheetService;\n}());\nexports.RecentDealSheetService = RecentDealSheetService;\n","import { Injectable } from '@angular/core';\r\nimport { DealSheetClientService } from '../generated/services';\r\nimport { DealSheetHistoryDto } from '../generated/models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RecentDealSheetService {\r\n\r\n constructor(\r\n private dealSheetClientService: DealSheetClientService) {\r\n }\r\n\r\n getRecentDealSheets(): Promise {\r\n return this.dealSheetClientService.UserDealSheetHistoryGET().toPromise();\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar storage_service_1 = require(\"../storage/storage.service\");\nvar constants_1 = require(\"../../constants\");\nvar TokenService = /** @class */ (function () {\n function TokenService(storageService) {\n this.storageService = storageService;\n this.ACCESS_TOKEN_TYPE = 'access';\n this.ID_TOKEN_TYPE = 'id';\n this.window = window;\n }\n TokenService.prototype.padBase64 = function (base64data) {\n while (base64data.length % 4 !== 0) {\n base64data += '=';\n }\n return base64data;\n };\n TokenService.prototype.getPayloadFromRawToken = function (raw) {\n if (typeof raw === 'string') {\n var tokenParts = raw.split('.');\n if (tokenParts.length >= 2) {\n return tokenParts[1];\n }\n }\n };\n TokenService.prototype.getImpersonatingUsername = function () {\n if (!this.hasToken()) {\n return null;\n }\n var claims = this.getClaimsByTokenType(this.ACCESS_TOKEN_TYPE);\n return claims.impersonating_aa_username;\n };\n TokenService.prototype.deserializeClaims = function (raw) {\n var claimsBase64 = this.padBase64(raw);\n var claimsJson = this.window.atob(claimsBase64);\n var claims = JSON.parse(claimsJson);\n return claims;\n };\n TokenService.prototype.convertToClaims = function (token) {\n try {\n var payload = this.getPayloadFromRawToken(token);\n var claims = this.deserializeClaims(payload);\n return claims;\n }\n catch (e) {\n return {};\n }\n };\n TokenService.prototype.saveToken = function (tokenType, token, isExternalToken) {\n this.storageService.setItem(tokenType + 'Token', token);\n this.storageService.setItem(constants_1.StorageKeys.IsExternalToken, !!isExternalToken);\n var claims = this.convertToClaims(token);\n this.storageService.setItem('cached-' + tokenType + '-claims', claims);\n };\n TokenService.prototype.hasExternalToken = function () {\n if (this.hasToken()) {\n if (this.storageService.getItem(constants_1.StorageKeys.IsExternalToken) == true) {\n return true;\n }\n }\n return false;\n };\n TokenService.prototype.hasToken = function () {\n if (!this.getTokenByType(this.ACCESS_TOKEN_TYPE)) {\n return false;\n }\n var claims = this.getClaimsByTokenType(this.ACCESS_TOKEN_TYPE);\n if (!(claims && claims.hasOwnProperty('nbf') && claims.hasOwnProperty('exp'))) {\n return false;\n }\n return true;\n };\n TokenService.prototype.hasValidToken = function (validAtTimestamp) {\n if (!this.hasToken()) {\n return false;\n }\n var claims = this.getClaimsByTokenType(this.ACCESS_TOKEN_TYPE);\n var now = validAtTimestamp || Date.now();\n var notBeforeMSec = claims.nbf * 1000;\n var expiresAtMSec = claims.exp * 1000;\n var marginMSec = 1000 * 60 * 10; // 10 Minutes\n // Substract margin, because browser time could be a bit in the past\n if (notBeforeMSec - marginMSec > now) {\n return false;\n }\n if (expiresAtMSec < now) {\n return false;\n }\n return true;\n };\n TokenService.prototype.getClaimsByTokenType = function (tokenType) {\n var cachedClaims = this.storageService.getItem('cached-' + tokenType + '-claims');\n if (!cachedClaims) {\n var token = this.getTokenByType(tokenType);\n if (token) {\n var claims = this.convertToClaims(token);\n this.storageService.setItem('cached-' + tokenType + '-claims', claims);\n return claims;\n }\n else {\n // todo: exception catcher\n }\n }\n return cachedClaims;\n };\n TokenService.prototype.getTokenByType = function (tokenType) {\n return this.storageService.getItem(tokenType + 'Token');\n };\n TokenService.prototype.clearTokens = function () {\n this.storageService.removeItem('cached-id-claims');\n this.storageService.removeItem('cached-access-claims');\n this.storageService.removeItem('idToken');\n this.storageService.removeItem('accessToken');\n };\n TokenService.prototype.isAutoAlertUser = function () {\n var currentClaims = this.getClaimsByTokenType(this.ID_TOKEN_TYPE);\n // If we don't have an id token try to find the user name in the access token\n if (!currentClaims) {\n currentClaims = this.getClaimsByTokenType(this.ACCESS_TOKEN_TYPE);\n }\n if (currentClaims) {\n return currentClaims.hasOwnProperty('AA_UserName');\n }\n else {\n return false;\n }\n };\n TokenService.prototype.isMotoFuzeUser = function () {\n var currentClaims = this.getClaimsByTokenType(this.ID_TOKEN_TYPE);\n if (currentClaims) {\n return currentClaims.hasOwnProperty('MF_UserName');\n }\n else {\n return false;\n }\n };\n return TokenService;\n}());\nexports.TokenService = TokenService;\n","import { Injectable } from '@angular/core';\r\nimport { StorageService } from '../storage/storage.service';\r\nimport { StorageKeys } from '../../constants';\r\n\r\ntype TokenType = 'access' | 'id';\r\n@Injectable()\r\nexport class TokenService {\r\n private window: Window;\r\n \r\n private readonly ACCESS_TOKEN_TYPE = 'access';\r\n private readonly ID_TOKEN_TYPE = 'id';\r\n \r\n constructor(private storageService: StorageService) {\r\n this.window = window;\r\n }\r\n\r\n private padBase64(base64data: string) {\r\n while (base64data.length % 4 !== 0) {\r\n base64data += '=';\r\n }\r\n return base64data;\r\n }\r\n\r\n getPayloadFromRawToken(raw: string) {\r\n if (typeof raw === 'string') {\r\n const tokenParts = raw.split('.');\r\n if (tokenParts.length >= 2) {\r\n return tokenParts[1];\r\n }\r\n }\r\n }\r\n\r\n getImpersonatingUsername(): string {\r\n if (!this.hasToken()) { return null; }\r\n\r\n const claims = this.getClaimsByTokenType(this.ACCESS_TOKEN_TYPE);\r\n return claims.impersonating_aa_username;\r\n }\r\n\r\n deserializeClaims(raw: string): Object {\r\n const claimsBase64 = this.padBase64(raw);\r\n const claimsJson = this.window.atob(claimsBase64);\r\n\r\n const claims = JSON.parse(claimsJson);\r\n\r\n return claims;\r\n }\r\n\r\n convertToClaims(token) {\r\n try {\r\n const payload = this.getPayloadFromRawToken(token);\r\n const claims = this.deserializeClaims(payload);\r\n return claims;\r\n } catch (e) {\r\n return {};\r\n }\r\n }\r\n\r\n saveToken(tokenType: TokenType, token: string, isExternalToken: boolean) {\r\n this.storageService.setItem(tokenType + 'Token', token);\r\n this.storageService.setItem(StorageKeys.IsExternalToken, !!isExternalToken)\r\n\r\n const claims = this.convertToClaims(token);\r\n this.storageService.setItem('cached-' + tokenType + '-claims', claims);\r\n }\r\n\r\n hasExternalToken(): boolean {\r\n if (this.hasToken()) {\r\n if (this.storageService.getItem(StorageKeys.IsExternalToken) == true) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n hasToken(): boolean {\r\n\r\n if (!this.getTokenByType(this.ACCESS_TOKEN_TYPE)) {\r\n return false;\r\n }\r\n\r\n const claims = this.getClaimsByTokenType(this.ACCESS_TOKEN_TYPE);\r\n\r\n if (!(claims && claims.hasOwnProperty('nbf') && claims.hasOwnProperty('exp'))) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n hasValidToken(validAtTimestamp?: Date): boolean {\r\n if (!this.hasToken()) { return false; }\r\n\r\n const claims = this.getClaimsByTokenType(this.ACCESS_TOKEN_TYPE);\r\n\r\n const now = validAtTimestamp || Date.now();\r\n const notBeforeMSec = claims.nbf * 1000;\r\n const expiresAtMSec = claims.exp * 1000;\r\n\r\n const marginMSec = 1000 * 60 * 10; // 10 Minutes\r\n\r\n // Substract margin, because browser time could be a bit in the past\r\n if (notBeforeMSec - marginMSec > now) {\r\n return false;\r\n }\r\n\r\n if (expiresAtMSec < now) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n getClaimsByTokenType(tokenType: TokenType) {\r\n const cachedClaims = this.storageService.getItem('cached-' + tokenType + '-claims');\r\n\r\n if (!cachedClaims) {\r\n const token = this.getTokenByType(tokenType);\r\n\r\n if (token) {\r\n const claims = this.convertToClaims(token);\r\n this.storageService.setItem('cached-' + tokenType + '-claims', claims);\r\n\r\n return claims;\r\n } else {\r\n // todo: exception catcher\r\n }\r\n }\r\n return cachedClaims;\r\n }\r\n\r\n getTokenByType(tokenType) {\r\n return this.storageService.getItem(tokenType + 'Token');\r\n }\r\n\r\n clearTokens(): void {\r\n this.storageService.removeItem('cached-id-claims');\r\n this.storageService.removeItem('cached-access-claims');\r\n this.storageService.removeItem('idToken');\r\n this.storageService.removeItem('accessToken');\r\n }\r\n\r\n isAutoAlertUser(): boolean {\r\n let currentClaims = this.getClaimsByTokenType(this.ID_TOKEN_TYPE);\r\n\r\n // If we don't have an id token try to find the user name in the access token\r\n if (!currentClaims) {\r\n currentClaims = this.getClaimsByTokenType(this.ACCESS_TOKEN_TYPE);\r\n }\r\n\r\n if (currentClaims) {\r\n return currentClaims.hasOwnProperty('AA_UserName');\r\n } \r\n else {\r\n return false;\r\n }\r\n }\r\n\r\n isMotoFuzeUser(): boolean {\r\n const currentClaims = this.getClaimsByTokenType(this.ID_TOKEN_TYPE);\r\n\r\n if (currentClaims) {\r\n return currentClaims.hasOwnProperty('MF_UserName');\r\n } else {\r\n return false;\r\n }\r\n }\r\n}\r\n\r\n","var path = '/app/components/deal-sheet/modals/credit-soft-pull-result-modal.component.html';\nvar html = \"

()
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/vehicle/trim-select.component.html';\nvar html = \"
*


{{ 'makeModelYearWarning' | translate}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/vehicle/fuel-difference.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/data-entry/replacement/edit-upgrade-downgrade-multi-items-modal.component.html';\nvar html = \"

:{{$ctrl.row.baseYearID}}, {{$ctrl.row.baseTrimName}}

:
:

{{trim.existingYearID}}, {{trim.existingTrimName}}
{{$ctrl.defaults.yearID}}, {{$ctrl.defaults.trimName}}

{{item.existingYearID}}, {{item.existingTrimName}}
{{item.existingYearID}}, {{item.existingTrimName}}*
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar toMetaKey = metadata.key;\nvar ordinaryDefineOwnMetadata = metadata.set;\n\nmetadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) {\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));\n} });\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n }\n});\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar common_1 = require(\"@angular/common\");\nvar time_zones_1 = require(\"../constants/time-zones\");\nvar moment_timezone_1 = __importDefault(require(\"moment-timezone\"));\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar LocaleTimePipe = /** @class */ (function (_super) {\n __extends(LocaleTimePipe, _super);\n function LocaleTimePipe(storageService) {\n var _this = _super.call(this, 'en-US') || this;\n _this.storageService = storageService;\n return _this;\n }\n LocaleTimePipe.prototype.transform = function (date, args) {\n var timeZoneId = this.storageService.getItem('timezoneId') || time_zones_1.TimeZones.pacificStandardTime.id;\n var utcOffsetString;\n // If `date` is a Date, it has already been converted to local time\n // If `date` is a string, a trailing Z indicates a UTC timestamp\n var isUTCFormat = !(date instanceof Date) && date.toString().endsWith('Z');\n if (isUTCFormat) {\n var timeZone = time_zones_1.TimeZonesById.get(timeZoneId);\n if (timeZone) {\n // moment-timezone does the hard work of deciding whether DST was\n // in effect at the given DateTime.\n var isDSTAtGivenTime = moment_timezone_1.default(date).tz(timeZone.tzdbName).isDST();\n if (isDSTAtGivenTime) {\n utcOffsetString = timeZone.daylight;\n }\n else {\n utcOffsetString = timeZone.standard;\n }\n }\n }\n var cultureName = this.storageService.getItem('cultureName') || 'en-us';\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n return _super.prototype.transform.call(this, date, 'hh:mm a', utcOffsetString);\n case 'en-ca':\n return _super.prototype.transform.call(this, date, 'h:mm a', utcOffsetString);\n case 'fr-ca':\n return _super.prototype.transform.call(this, date, 'hh:mm a', utcOffsetString);\n case 'fr-fr':\n return _super.prototype.transform.call(this, date, 'H:mm', utcOffsetString);\n case 'en-us':\n default:\n return _super.prototype.transform.call(this, date, 'h:mm a', utcOffsetString);\n }\n };\n return LocaleTimePipe;\n}(common_1.DatePipe));\nexports.LocaleTimePipe = LocaleTimePipe;\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DatePipe } from '@angular/common';\r\nimport { TimeZones, TimeZonesById } from '../constants/time-zones';\r\nimport moment from 'moment-timezone';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\n\r\n@Pipe({\r\n name: 'localeTime'\r\n})\r\nexport class LocaleTimePipe extends DatePipe implements PipeTransform {\r\n\r\n constructor(private storageService: StorageService) {\r\n super('en-US');\r\n }\r\n\r\n transform(date: any, args?: any): any {\r\n\r\n const timeZoneId = this.storageService.getItem('timezoneId') || TimeZones.pacificStandardTime.id;\r\n\r\n let utcOffsetString;\r\n\r\n\r\n // If `date` is a Date, it has already been converted to local time\r\n // If `date` is a string, a trailing Z indicates a UTC timestamp\r\n const isUTCFormat = !(date instanceof Date) && date.toString().endsWith('Z');\r\n\r\n if (isUTCFormat) {\r\n const timeZone = TimeZonesById.get(timeZoneId);\r\n\r\n if (timeZone) {\r\n // moment-timezone does the hard work of deciding whether DST was\r\n // in effect at the given DateTime.\r\n const isDSTAtGivenTime = moment(date).tz(timeZone.tzdbName).isDST();\r\n\r\n if (isDSTAtGivenTime) {\r\n utcOffsetString = timeZone.daylight;\r\n } else {\r\n utcOffsetString = timeZone.standard;\r\n }\r\n }\r\n }\r\n\r\n const cultureName = this.storageService.getItem('cultureName') || 'en-us';\r\n\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return super.transform(date, 'hh:mm a', utcOffsetString);\r\n case 'en-ca':\r\n return super.transform(date, 'h:mm a', utcOffsetString);\r\n case 'fr-ca':\r\n return super.transform(date, 'hh:mm a', utcOffsetString);\r\n case 'fr-fr':\r\n return super.transform(date, 'H:mm', utcOffsetString);\r\n case 'en-us':\r\n default:\r\n return super.transform(date, 'h:mm a', utcOffsetString);\r\n }\r\n }\r\n\r\n\r\n}\r\n","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar toPrimitive = require('./_to-primitive');\nvar getPrototypeOf = require('./_object-gpo');\nvar getOwnPropertyDescriptor = require('./_object-gopd').f;\n\n// B.2.2.4 Object.prototype.__lookupGetter__(P)\nrequire('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', {\n __lookupGetter__: function __lookupGetter__(P) {\n var O = toObject(this);\n var K = toPrimitive(P, true);\n var D;\n do {\n if (D = getOwnPropertyDescriptor(O, K)) return D.get;\n } while (O = getPrototypeOf(O));\n }\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./type-of-call.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/forms\"));\nvar i4 = __importStar(require(\"./type-of-call.component\"));\nvar styles_TypeOfCallComponent = [i0.styles];\nvar RenderType_TypeOfCallComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TypeOfCallComponent, data: {} });\nexports.RenderType_TypeOfCallComponent = RenderType_TypeOfCallComponent;\nfunction View_TypeOfCallComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 26, \"div\", [[\"class\", \"row type-of-call\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-4\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"class\", \"aa-padding-right label-top-buffer\"], [\"translate\", \"typeOfCall\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 22, \"div\", [[\"class\", \"col-sm-8\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 10, \"div\", [[\"class\", \"comm-tools\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 6, \"input\", [[\"class\", \"label-top-buffer qa-type-of-call-input-outbound\"], [\"id\", \"outbound\"], [\"type\", \"radio\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"blur\"], [null, \"ngModelChange\"], [null, \"input\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 7)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 7)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 7)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 8).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"change\" === en)) {\n var pd_6 = (_co.onSelectionChange(_co.selectedCallType) !== false);\n ad = (pd_6 && ad);\n } if ((\"blur\" === en)) {\n var pd_7 = (_co.onBlur.emit() !== false);\n ad = (pd_7 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_8 = ((_co.selectedCallType = $event) !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i1.ɵdid(7, 16384, null, 0, i3.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i3.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(8, 212992, null, 0, i3.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i3.ɵangular_packages_forms_forms_o, i1.Injector], { value: [0, \"value\"] }, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i3.DefaultValueAccessor, i3.RadioControlValueAccessor]), i1.ɵdid(10, 671744, null, 0, i3.NgModel, [[8, null], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(12, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\" \"])), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"label\", [[\"class\", \"aa-padding-right\"], [\"for\", \"outbound\"], [\"translate\", \"outbound\"]], null, null, null, null, null)), i1.ɵdid(15, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 10, \"div\", [[\"class\", \"comm-tools\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 6, \"input\", [[\"class\", \"label-top-buffer qa-type-of-call-input-inbound\"], [\"id\", \"inbound\"], [\"type\", \"radio\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"blur\"], [null, \"ngModelChange\"], [null, \"input\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 18)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 18).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 18)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 18)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 19).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 19).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"change\" === en)) {\n var pd_6 = (_co.onSelectionChange(_co.selectedCallType) !== false);\n ad = (pd_6 && ad);\n } if ((\"blur\" === en)) {\n var pd_7 = (_co.onBlur.emit() !== false);\n ad = (pd_7 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_8 = ((_co.selectedCallType = $event) !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i1.ɵdid(18, 16384, null, 0, i3.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i3.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(19, 212992, null, 0, i3.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i3.ɵangular_packages_forms_forms_o, i1.Injector], { value: [0, \"value\"] }, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i3.DefaultValueAccessor, i3.RadioControlValueAccessor]), i1.ɵdid(21, 671744, null, 0, i3.NgModel, [[8, null], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(23, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\" \"])), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"label\", [[\"class\", \"aa-padding-right\"], [\"for\", \"inbound\"], [\"translate\", \"inbound\"]], null, null, null, null, null)), i1.ɵdid(26, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"typeOfCall\"; _ck(_v, 3, 0, currVal_0); var currVal_8 = i1.ɵinlineInterpolate(1, \"\", _co.activitySubTypes.outBoundCall, \"\"); _ck(_v, 8, 0, currVal_8); var currVal_9 = _co.selectedCallType; _ck(_v, 10, 0, currVal_9); var currVal_10 = \"outbound\"; _ck(_v, 15, 0, currVal_10); var currVal_18 = i1.ɵinlineInterpolate(1, \"\", _co.activitySubTypes.inBoundCall, \"\"); _ck(_v, 19, 0, currVal_18); var currVal_19 = _co.selectedCallType; _ck(_v, 21, 0, currVal_19); var currVal_20 = \"inbound\"; _ck(_v, 26, 0, currVal_20); }, function (_ck, _v) { var currVal_1 = i1.ɵnov(_v, 12).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 12).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 12).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 12).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 12).ngClassValid; var currVal_6 = i1.ɵnov(_v, 12).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 12).ngClassPending; _ck(_v, 6, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_11 = i1.ɵnov(_v, 23).ngClassUntouched; var currVal_12 = i1.ɵnov(_v, 23).ngClassTouched; var currVal_13 = i1.ɵnov(_v, 23).ngClassPristine; var currVal_14 = i1.ɵnov(_v, 23).ngClassDirty; var currVal_15 = i1.ɵnov(_v, 23).ngClassValid; var currVal_16 = i1.ɵnov(_v, 23).ngClassInvalid; var currVal_17 = i1.ɵnov(_v, 23).ngClassPending; _ck(_v, 17, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17); }); }\nexports.View_TypeOfCallComponent_0 = View_TypeOfCallComponent_0;\nfunction View_TypeOfCallComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"type-of-call\", [], null, null, null, View_TypeOfCallComponent_0, RenderType_TypeOfCallComponent)), i1.ɵdid(1, 114688, null, 0, i4.TypeOfCallComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_TypeOfCallComponent_Host_0 = View_TypeOfCallComponent_Host_0;\nvar TypeOfCallComponentNgFactory = i1.ɵccf(\"type-of-call\", i4.TypeOfCallComponent, View_TypeOfCallComponent_Host_0, {}, { onBlur: \"onBlur\", onTypeSelect: \"onTypeSelect\" }, []);\nexports.TypeOfCallComponentNgFactory = TypeOfCallComponentNgFactory;\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n &ngsp;\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n &ngsp;\r\n \r\n \r\n
\r\n
\r\n
","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar constants_1 = require(\"../../../constants\");\nvar AlertComponent = /** @class */ (function () {\n function AlertComponent() {\n }\n Object.defineProperty(AlertComponent.prototype, \"typeDescriptor\", {\n get: function () {\n var _this = this;\n if (this.alertTypeId == null)\n return;\n return constants_1.AlertTypeDescriptors.find(function (item) { return item.id === _this.alertTypeId.toString(); });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AlertComponent.prototype, \"typeDescriptorTranslateKey\", {\n get: function () {\n return this.typeDescriptor && this.typeDescriptor.translateKey || \"\";\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AlertComponent.prototype, \"characterClassNames\", {\n get: function () {\n switch (this.size) {\n case \"small\":\n return \"fa alerts-letterblock-sm\";\n default:\n return \"fa alerts-letterblock\";\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AlertComponent.prototype, \"alertClassNames\", {\n get: function () {\n if (!this.typeDescriptor)\n return;\n switch (this.size) {\n case \"small\":\n return \"fa \" + this.typeDescriptor.cssClass + \" \" + this.typeDescriptor.cssClass + \"-sm\";\n default:\n return \"fa \" + this.typeDescriptor.cssClass;\n }\n },\n enumerable: true,\n configurable: true\n });\n return AlertComponent;\n}());\nexports.AlertComponent = AlertComponent;\n","import { Component, Input } from '@angular/core';\r\nimport { AlertTypeDescriptors } from '../../../constants';\r\n\r\n@Component({\r\n selector: 'alert',\r\n templateUrl: './alert.component-ng.html',\r\n styleUrls: ['./alert.component.scss']\r\n})\r\nexport class AlertComponent {\r\n\r\n @Input() alertTypeId: string;\r\n @Input() size: string;\r\n\r\n private get typeDescriptor() {\r\n if (this.alertTypeId == null) return;\r\n\r\n return AlertTypeDescriptors.find(item => item.id === this.alertTypeId.toString());\r\n }\r\n\r\n get typeDescriptorTranslateKey() {\r\n return this.typeDescriptor && this.typeDescriptor.translateKey || \"\";\r\n }\r\n\r\n get characterClassNames() {\r\n switch (this.size) {\r\n case \"small\":\r\n return \"fa alerts-letterblock-sm\";\r\n default:\r\n return \"fa alerts-letterblock\";\r\n }\r\n }\r\n\r\n get alertClassNames() {\r\n if (!this.typeDescriptor) return;\r\n\r\n switch (this.size) {\r\n case \"small\":\r\n return `fa ${this.typeDescriptor.cssClass} ${this.typeDescriptor.cssClass}-sm`;\r\n default:\r\n return `fa ${this.typeDescriptor.cssClass}`;\r\n }\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar user_service_1 = require(\"./../../services/user.service\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar AdminSettingsProgramsComponent = /** @class */ (function () {\n function AdminSettingsProgramsComponent(modalService, tService, userService, logger, changeDetectorRef) {\n this.modalService = modalService;\n this.tService = tService;\n this.userService = userService;\n this.logger = logger;\n this.changeDetectorRef = changeDetectorRef;\n this.dsa = {};\n this.onSaveChanges = new core_1.EventEmitter();\n }\n AdminSettingsProgramsComponent.prototype.ngOnInit = function () {\n this.perUnitLabelKey = this.tService.instant((this.dsa.isMetric) ? 'PerLiterLabel' : 'PerGallonLabel');\n };\n AdminSettingsProgramsComponent.prototype.handleLeasePenaltyFeeChanged = function (item) {\n if (item.leasePenaltyFee < 0) {\n item.leasePenaltyFee = 0;\n return;\n }\n if (item.leasePenaltyFee > 5) {\n item.leasePenaltyFee = 5;\n return;\n }\n };\n AdminSettingsProgramsComponent.prototype.getResidualMileageOptions = function (bankID) {\n var rmo = this.dsa.residualMileageOptions.find(function (r) { return r.bankID === bankID; });\n var options = [];\n if (rmo != null) {\n options.push({\n value: rmo.residualMileage10kLabel, text: this.formatNumber(rmo.residualMileage10kLabel)\n });\n options.push({\n value: rmo.residualMileage12kLabel, text: this.formatNumber(rmo.residualMileage12kLabel)\n });\n options.push({\n value: rmo.residualMileage15kLabel, text: this.formatNumber(rmo.residualMileage15kLabel)\n });\n }\n return options;\n };\n AdminSettingsProgramsComponent.prototype.formatNumber = function (num) {\n return num.toString().replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, '$1,');\n };\n return AdminSettingsProgramsComponent;\n}());\nexports.AdminSettingsProgramsComponent = AdminSettingsProgramsComponent;\n","import { Component, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter, ChangeDetectorRef } from '@angular/core';\r\nimport { UserService } from './../../services/user.service';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerSettingResponseDto, DealerBankRateTierDto } from '../../generated/models';\r\n\r\n@Component({\r\n selector: 'admin-settings-programs',\r\n templateUrl: './admin-settings-programs.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsProgramsComponent {\r\n\r\n bsModalRef: BsModalRef;\r\n @Input() dsa: DealerSettingResponseDto = {};\r\n @Output() onSaveChanges = new EventEmitter();\r\n\r\n public perUnitLabelKey: String;\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public userService: UserService,\r\n public logger: ToasterLoggerService,\r\n private changeDetectorRef: ChangeDetectorRef\r\n ) {\r\n }\r\n\r\n public ngOnInit() {\r\n this.perUnitLabelKey = this.tService.instant((this.dsa.isMetric) ? 'PerLiterLabel' : 'PerGallonLabel');\r\n }\r\n\r\n handleLeasePenaltyFeeChanged(item: DealerBankRateTierDto): void {\r\n\r\n if (item.leasePenaltyFee < 0) {\r\n item.leasePenaltyFee = 0;\r\n return;\r\n }\r\n\r\n if (item.leasePenaltyFee > 5) {\r\n item.leasePenaltyFee = 5;\r\n return;\r\n }\r\n }\r\n\r\n public getResidualMileageOptions(bankID: Number) {\r\n const rmo = this.dsa.residualMileageOptions.find(r => r.bankID === bankID);\r\n\r\n const options = [];\r\n\r\n if (rmo != null) {\r\n\r\n options.push({\r\n value: rmo.residualMileage10kLabel, text: this.formatNumber(rmo.residualMileage10kLabel)\r\n });\r\n\r\n options.push({\r\n value: rmo.residualMileage12kLabel, text: this.formatNumber(rmo.residualMileage12kLabel)\r\n });\r\n\r\n options.push({\r\n value: rmo.residualMileage15kLabel, text: this.formatNumber(rmo.residualMileage15kLabel)\r\n });\r\n }\r\n\r\n return options;\r\n }\r\n\r\n private formatNumber(num: Number) {\r\n return num.toString().replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, '$1,');\r\n }\r\n}\r\n","var path = '/app/components/deal-sheet/financial-edit-action.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/vehicle/stock-vehicle.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./residual.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./residual.component\"));\nvar styles_ResidualComponent = [i0.styles];\nvar RenderType_ResidualComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ResidualComponent, data: {} });\nexports.RenderType_ResidualComponent = RenderType_ResidualComponent;\nfunction View_ResidualComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"residual\"], [\"translate\", \"residualLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"field-data qa-residual-value\"], [\"id\", \"residual\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵppd(5, 1)], function (_ck, _v) { var currVal_0 = \"residualLabel\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, _ck(_v, 5, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_ResidualComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleCurrencyPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ResidualComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_ResidualComponent_0 = View_ResidualComponent_0;\nfunction View_ResidualComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"residual\", [], null, null, null, View_ResidualComponent_0, RenderType_ResidualComponent)), i1.ɵdid(1, 114688, null, 0, i6.ResidualComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ResidualComponent_Host_0 = View_ResidualComponent_Host_0;\nvar ResidualComponentNgFactory = i1.ɵccf(\"residual\", i6.ResidualComponent, View_ResidualComponent_Host_0, { value: \"value\" }, {}, []);\nexports.ResidualComponentNgFactory = ResidualComponentNgFactory;\n","
\r\n \r\n {{value | localeCurrency}}\r\n
\r\n\r\n","'use strict';\n// B.2.3.14 String.prototype.sup()\nrequire('./_string-html')('sup', function (createHTML) {\n return function sup() {\n return createHTML(this, 'sup', '', '');\n };\n});\n","module.exports = __webpack_public_path__ + \"Blue_Advantage_Blue_Certified.1efce020380a30c37a3c.png\";","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mobile-customer-connect.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"ng-busy\"));\nvar i3 = __importStar(require(\"../../customer-connect/customer-connect.component.ngfactory\"));\nvar i4 = __importStar(require(\"../../customer-connect/customer-connect.component\"));\nvar i5 = __importStar(require(\"./mobile-customer-connect.component\"));\nvar i6 = __importStar(require(\"../../../../services/activity.service\"));\nvar i7 = __importStar(require(\"../../../../core/toaster-logger.service\"));\nvar i8 = __importStar(require(\"../../../../services/customer.service\"));\nvar i9 = __importStar(require(\"../../../../services/mobile-deal-sheet-data-caching.service\"));\nvar i10 = __importStar(require(\"@uirouter/core\"));\nvar styles_MobileCustomerConnectComponent = [i0.styles];\nvar RenderType_MobileCustomerConnectComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MobileCustomerConnectComponent, data: {} });\nexports.RenderType_MobileCustomerConnectComponent = RenderType_MobileCustomerConnectComponent;\nfunction View_MobileCustomerConnectComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 16777216, null, null, 5, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i2.InstanceConfigHolderService, i2.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i2.ɵa, i2.ɵa, []), i1.ɵdid(3, 409600, null, 0, i2.NgBusyDirective, [i2.ɵb, i2.InstanceConfigHolderService, i1.ComponentFactoryResolver, i2.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"customer-connect\", [], null, [[null, \"onLogScheduleSubmit\"], [null, \"onCustomerEdit\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onLogScheduleSubmit\" === en)) {\n var pd_0 = (_co.onLogScheduleSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"onCustomerEdit\" === en)) {\n var pd_1 = (_co.updateCustomer($event.$value) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i3.View_CustomerConnectComponent_0, i3.RenderType_CustomerConnectComponent)), i1.ɵdid(5, 638976, null, 0, i4.CustomerConnectComponent, [i1.ChangeDetectorRef], { isCustomerConnectOpen: [0, \"isCustomerConnectOpen\"], opportunity: [1, \"opportunity\"], customer: [2, \"customer\"], users: [3, \"users\"], maxScheduleFutureDays: [4, \"maxScheduleFutureDays\"], permissions: [5, \"permissions\"], defaultCustomerConnectAction: [6, \"defaultCustomerConnectAction\"], isEuroLite: [7, \"isEuroLite\"], isTextingEnabled: [8, \"isTextingEnabled\"], mobileView: [9, \"mobileView\"] }, { onLogScheduleSubmit: \"onLogScheduleSubmit\", onCustomerEdit: \"onCustomerEdit\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.busy; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.isCustomerConnectOpen; var currVal_2 = _co.opportunity; var currVal_3 = ((_co.opportunity == null) ? null : _co.opportunity.customer); var currVal_4 = _co.users; var currVal_5 = ((_co.opportunity == null) ? null : ((_co.opportunity.dealerSettings == null) ? null : _co.opportunity.dealerSettings.maxScheduleFutureDays)); var currVal_6 = _co.permissions; var currVal_7 = _co.defaultCustomerConnectAction; var currVal_8 = false; var currVal_9 = false; var currVal_10 = true; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); }, null); }\nexports.View_MobileCustomerConnectComponent_0 = View_MobileCustomerConnectComponent_0;\nfunction View_MobileCustomerConnectComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mobile-customer-connect\", [], null, null, null, View_MobileCustomerConnectComponent_0, RenderType_MobileCustomerConnectComponent)), i1.ɵdid(1, 245760, null, 0, i5.MobileCustomerConnectComponent, [i6.ActivityService, i7.ToasterLoggerService, i8.CustomerService, i9.MobileDealSheetDataCachingService, i10.Transition, i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MobileCustomerConnectComponent_Host_0 = View_MobileCustomerConnectComponent_Host_0;\nvar MobileCustomerConnectComponentNgFactory = i1.ɵccf(\"mobile-customer-connect\", i5.MobileCustomerConnectComponent, View_MobileCustomerConnectComponent_Host_0, {}, {}, []);\nexports.MobileCustomerConnectComponentNgFactory = MobileCustomerConnectComponentNgFactory;\n","
\r\n \r\n \r\n
","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var path = '/app/components/reports/report-subscription-list.component.html';\nvar html = \"
/
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \".search-export-epsilon-modal .modal-dialog {\\n width: 1000px;\\n}\\n.search-export-epsilon-modal .modal-dialog .input-row {\\n height: 25px;\\n}\\n.search-export-epsilon-modal .modal-dialog input {\\n width: 200px;\\n vertical-align: top;\\n font-size: small;\\n}\\n.search-export-epsilon-modal .row .tablescroll {\\n max-height: 300px;\\n overflow-y: auto;\\n}\\n.search-export-epsilon-modal .row .toppad {\\n padding-top: 20px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1leHBvcnQtZXBzaWxvbi1tb2RhbC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLWV4cG9ydC1lcHNpbG9uLW1vZGFsLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VBQ0ksY0FBQTtDQ0RIO0FERUc7RUFDSSxhQUFBO0NDQVA7QURFRztFQUNJLGFBQUE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bG9uLW1vZGFsIC5tb2RhbC1kaWFsb2cgaW5wdXQge1xuICB3aWR0aDogMjAwcHg7XG4gIHZlcnRpY2FsLWFsaWduOiB0b3A7XG4gIGZvbnQtc2l6ZTogc21hbGw7XG59XG5cbi5zZWFyY2gtZXhwb3J0LWVwc2lsb24tbW9kYWwgLnJvdyAudGFibGVzY3JvbGwge1xuICBtYXgtaGVpZ2h0OiAzMDBweDtcbiAgb3ZlcmZsb3cteTogYXV0bztcbn1cblxuLnNlYXJjaC1leHBvcnQtZXBzaWxvbi1tb2RhbCAucm93IC50b3BwYWQge1xuICBwYWRkaW5nLXRvcDogMjBweDtcbn0iXX0= */\"","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar UserModuleAccessClientService = /** @class */ (function (_super) {\n __extends(UserModuleAccessClientService, _super);\n function UserModuleAccessClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @return Success\n */\n UserModuleAccessClientService.prototype.GETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/UserModuleAccess\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n UserModuleAccessClientService.prototype.GET = function () {\n return this.GETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param moduleId undefined\n * @return Success\n */\n UserModuleAccessClientService.prototype.GetModuleAccessByModuleidGETResponse = function (moduleId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/UserModuleAccess/GetModuleAccess/\" + moduleId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param moduleId undefined\n * @return Success\n */\n UserModuleAccessClientService.prototype.GetModuleAccessByModuleidGET = function (moduleId) {\n return this.GetModuleAccessByModuleidGETResponse(moduleId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n UserModuleAccessClientService.GETPath = '/api/UserModuleAccess';\n UserModuleAccessClientService.GetModuleAccessByModuleidGETPath = '/api/UserModuleAccess/GetModuleAccess/{moduleId}';\n UserModuleAccessClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function UserModuleAccessClientService_Factory() { return new UserModuleAccessClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: UserModuleAccessClientService, providedIn: \"root\" });\n return UserModuleAccessClientService;\n}(base_service_1.BaseService));\nexports.UserModuleAccessClientService = UserModuleAccessClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { UserModuleAccessDto } from '../models/user-module-access-dto';\r\nimport { UserModuleDealerDto } from '../models/user-module-dealer-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass UserModuleAccessClientService extends __BaseService {\r\n static readonly GETPath = '/api/UserModuleAccess';\r\n static readonly GetModuleAccessByModuleidGETPath = '/api/UserModuleAccess/GetModuleAccess/{moduleId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserModuleAccess`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GET(): __Observable {\r\n return this.GETResponse().pipe(\r\n __map(_r => _r.body as UserModuleAccessDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param moduleId undefined\r\n * @return Success\r\n */\r\n GetModuleAccessByModuleidGETResponse(moduleId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserModuleAccess/GetModuleAccess/${moduleId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param moduleId undefined\r\n * @return Success\r\n */\r\n GetModuleAccessByModuleidGET(moduleId: number): __Observable {\r\n return this.GetModuleAccessByModuleidGETResponse(moduleId).pipe(\r\n __map(_r => _r.body as UserModuleDealerDto)\r\n );\r\n }\r\n}\r\n\r\nmodule UserModuleAccessClientService {\r\n}\r\n\r\nexport { UserModuleAccessClientService }\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar LogClientService = /** @class */ (function (_super) {\n __extends(LogClientService, _super);\n function LogClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param message undefined\n */\n LogClientService.prototype.LogWarningPOSTResponse = function (message) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = message;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Log/Log\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param message undefined\n */\n LogClientService.prototype.LogWarningPOST = function (message) {\n return this.LogWarningPOSTResponse(message).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n LogClientService.LogWarningPOSTPath = '/api/Log/Log';\n LogClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LogClientService_Factory() { return new LogClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: LogClientService, providedIn: \"root\" });\n return LogClientService;\n}(base_service_1.BaseService));\nexports.LogClientService = LogClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass LogClientService extends __BaseService {\r\n static readonly LogWarningPOSTPath = '/api/Log/Log';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param message undefined\r\n */\r\n LogWarningPOSTResponse(message?: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = message;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Log/Log`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param message undefined\r\n */\r\n LogWarningPOST(message?: string): __Observable {\r\n return this.LogWarningPOSTResponse(message).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule LogClientService {\r\n}\r\n\r\nexport { LogClientService }\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./customer-connect.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"ngx-bootstrap/collapse\"));\nvar i3 = __importStar(require(\"@angular/animations\"));\nvar i4 = __importStar(require(\"@ngx-translate/core\"));\nvar i5 = __importStar(require(\"./customer-connect-actions/customer-connect-actions.component.ngfactory\"));\nvar i6 = __importStar(require(\"./customer-connect-actions/customer-connect-actions.component\"));\nvar i7 = __importStar(require(\"../../../services/log-action-shortcut.service\"));\nvar i8 = __importStar(require(\"./customer-connect-detail/customer-connect-detail.component.ngfactory\"));\nvar i9 = __importStar(require(\"./customer-connect-detail/customer-connect-detail.component\"));\nvar i10 = __importStar(require(\"./customer-connect.component\"));\nvar styles_CustomerConnectComponent = [i0.styles];\nvar RenderType_CustomerConnectComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CustomerConnectComponent, data: {} });\nexports.RenderType_CustomerConnectComponent = RenderType_CustomerConnectComponent;\nfunction View_CustomerConnectComponent_0(_l) { return i1.ɵvid(2, [i1.ɵqud(402653184, 1, { collapse: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [], [[2, \"collapse\", null], [2, \"in\", null], [2, \"show\", null], [1, \"aria-expanded\", 0], [1, \"aria-hidden\", 0], [2, \"collapsing\", null]], null, null, null, null)), i1.ɵdid(2, 8404992, [[1, 4], [\"collapse\", 4]], 0, i2.CollapseDirective, [i1.ElementRef, i1.Renderer2, i3.AnimationBuilder], { isAnimated: [0, \"isAnimated\"], collapse: [1, \"collapse\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"div\", [[\"class\", \"text-center action-bar\"], [\"translate\", \"customerConnectTab\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"customer-connect-actions\", [], null, [[null, \"onAction\"], [null, \"onCustomerEdit\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onAction\" === en)) {\n var pd_0 = (_co.onActionSelect($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"onCustomerEdit\" === en)) {\n var pd_1 = (_co.onCustomerEdit.emit($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i5.View_CustomerConnectActionsComponent_0, i5.RenderType_CustomerConnectActionsComponent)), i1.ɵdid(6, 638976, null, 0, i6.CustomerConnectActionsComponent, [i7.LogActionShortcutService, i1.ChangeDetectorRef], { opportunity: [0, \"opportunity\"], customer: [1, \"customer\"], permissions: [2, \"permissions\"], isCustomerConnectOpen: [3, \"isCustomerConnectOpen\"], defaultCustomerConnectAction: [4, \"defaultCustomerConnectAction\"], isEuroLite: [5, \"isEuroLite\"], isTextingEnabled: [6, \"isTextingEnabled\"], mobileView: [7, \"mobileView\"] }, { onAction: \"onAction\", onCustomerEdit: \"onCustomerEdit\" }), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"customer-connect-detail\", [], null, [[null, \"onLogScheduleSubmit\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onLogScheduleSubmit\" === en)) {\n var pd_0 = (_co.onLogScheduleSubmit.emit($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i8.View_CustomerConnectDetailComponent_0, i8.RenderType_CustomerConnectDetailComponent)), i1.ɵdid(8, 638976, null, 0, i9.CustomerConnectDetailComponent, [], { permissions: [0, \"permissions\"], isCustomerConnectOpen: [1, \"isCustomerConnectOpen\"], action: [2, \"action\"], dialogParams: [3, \"dialogParams\"], actionTime: [4, \"actionTime\"], isEuroLite: [5, \"isEuroLite\"] }, { onLogScheduleSubmit: \"onLogScheduleSubmit\" })], function (_ck, _v) { var _co = _v.component; var currVal_6 = !_co.mobileView; var currVal_7 = !_co.isCustomerConnectOpen; _ck(_v, 2, 0, currVal_6, currVal_7); var currVal_8 = \"customerConnectTab\"; _ck(_v, 4, 0, currVal_8); var currVal_9 = _co.opportunity; var currVal_10 = _co.customer; var currVal_11 = _co.permissions; var currVal_12 = _co.isCustomerConnectOpen; var currVal_13 = _co.defaultCustomerConnectAction; var currVal_14 = _co.isEuroLite; var currVal_15 = _co.isTextingEnabled; var currVal_16 = _co.mobileView; _ck(_v, 6, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); var currVal_17 = _co.permissions; var currVal_18 = _co.isCustomerConnectOpen; var currVal_19 = _co.action; var currVal_20 = _co.scheduleModalParamObject; var currVal_21 = _co.actionTime; var currVal_22 = _co.isEuroLite; _ck(_v, 8, 0, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 2).isCollapse; var currVal_1 = i1.ɵnov(_v, 2).isExpanded; var currVal_2 = i1.ɵnov(_v, 2).isExpanded; var currVal_3 = i1.ɵnov(_v, 2).isExpanded; var currVal_4 = i1.ɵnov(_v, 2).isCollapsed; var currVal_5 = i1.ɵnov(_v, 2).isCollapsing; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5); }); }\nexports.View_CustomerConnectComponent_0 = View_CustomerConnectComponent_0;\nfunction View_CustomerConnectComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect\", [], null, null, null, View_CustomerConnectComponent_0, RenderType_CustomerConnectComponent)), i1.ɵdid(1, 638976, null, 0, i10.CustomerConnectComponent, [i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CustomerConnectComponent_Host_0 = View_CustomerConnectComponent_Host_0;\nvar CustomerConnectComponentNgFactory = i1.ɵccf(\"customer-connect\", i10.CustomerConnectComponent, View_CustomerConnectComponent_Host_0, { isCustomerConnectOpen: \"isCustomerConnectOpen\", opportunity: \"opportunity\", customer: \"customer\", users: \"users\", maxScheduleFutureDays: \"maxScheduleFutureDays\", permissions: \"permissions\", defaultCustomerConnectAction: \"defaultCustomerConnectAction\", isEuroLite: \"isEuroLite\", isTextingEnabled: \"isTextingEnabled\", mobileView: \"mobileView\" }, { onLogScheduleSubmit: \"onLogScheduleSubmit\", onCustomerEdit: \"onCustomerEdit\" }, []);\nexports.CustomerConnectComponentNgFactory = CustomerConnectComponentNgFactory;\n","
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./replacement-vehicle-offers.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/common\"));\nvar i3 = __importStar(require(\"@ngx-translate/core\"));\nvar i4 = __importStar(require(\"./replacement-vehicle-offers.component\"));\nvar styles_ReplacementVehicleOffersComponent = [i0.styles];\nvar RenderType_ReplacementVehicleOffersComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ReplacementVehicleOffersComponent, data: {} });\nexports.RenderType_ReplacementVehicleOffersComponent = RenderType_ReplacementVehicleOffersComponent;\nfunction View_ReplacementVehicleOffersComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.UpperCasePipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"replacement-vehicle-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 3, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵppd(5, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, _ck(_v, 5, 0, i1.ɵnov(_v, 0), i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.label)))); _ck(_v, 3, 0, currVal_0); }); }\nexports.View_ReplacementVehicleOffersComponent_0 = View_ReplacementVehicleOffersComponent_0;\nfunction View_ReplacementVehicleOffersComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"replacement-vehicle-offers\", [], null, null, null, View_ReplacementVehicleOffersComponent_0, RenderType_ReplacementVehicleOffersComponent)), i1.ɵdid(1, 638976, null, 0, i4.ReplacementVehicleOffersComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ReplacementVehicleOffersComponent_Host_0 = View_ReplacementVehicleOffersComponent_Host_0;\nvar ReplacementVehicleOffersComponentNgFactory = i1.ɵccf(\"replacement-vehicle-offers\", i4.ReplacementVehicleOffersComponent, View_ReplacementVehicleOffersComponent_Host_0, { currentVehicle: \"currentVehicle\", replacementVehicles: \"replacementVehicles\" }, {}, []);\nexports.ReplacementVehicleOffersComponentNgFactory = ReplacementVehicleOffersComponentNgFactory;\n","
\r\n {{label | translate | uppercase}}\r\n
","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar user_service_1 = require(\"./../../services/user.service\");\nvar customer_service_1 = require(\"./../../services/customer.service\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar models_1 = require(\"../../generated/models\");\nvar storage_service_1 = require(\"../../modules/storage/storage.service\");\nvar AdminSettingsDealerInfoComponent = /** @class */ (function () {\n function AdminSettingsDealerInfoComponent(modalService, tService, userService, logger, customerService, storageService) {\n this.modalService = modalService;\n this.tService = tService;\n this.userService = userService;\n this.logger = logger;\n this.customerService = customerService;\n this.storageService = storageService;\n this.dsa = {};\n this.selectedMakeId = 0;\n this.customerCulturesDifferent = true;\n this.isReadOnly = false;\n this.isEmployee = false;\n var userProfile = storageService.getItem('userProfile');\n if (userProfile) {\n this.isEmployee = userProfile.employeeUser;\n }\n }\n AdminSettingsDealerInfoComponent.prototype.selectedMake = function () {\n var _this = this;\n return this.dsa.dealerMakeFranchiseInfo.find(function (s) { return s.makeID == _this.selectedMakeId; });\n };\n AdminSettingsDealerInfoComponent.prototype.ngOnInit = function () {\n this.defaultPreferredLanguage = this.customerService.getCustomerCultureByCode(this.dsa.dealerSetting.defaultCultureName);\n this.secondaryPreferredLanguage = this.customerService.getCustomerCultureByCode(this.dsa.dealerSetting.secondaryCultureName);\n this.isReadOnly = false; // set to true if non-default Make selected\n };\n AdminSettingsDealerInfoComponent.prototype.ngOnChanges = function (changes) {\n if (changes.dsa) {\n this.customerCulturesDifferent = (this.dsa.dealerSetting.defaultCultureName !== this.dsa.dealerSetting.secondaryCultureName);\n }\n if (changes.dsa && !changes.dsa.isFirstChange()) {\n if (changes.dsa.currentValue.dealer && changes.dsa.previousValue.dealer\n && changes.dsa.currentValue.dealer.dealerID != changes.dsa.previousValue.dealer.dealerID) {\n this.defaultPreferredLanguage = this.customerService.getCustomerCultureByCode(this.dsa.dealerSetting.defaultCultureName);\n this.secondaryPreferredLanguage = this.customerService.getCustomerCultureByCode(this.dsa.dealerSetting.secondaryCultureName);\n }\n }\n };\n AdminSettingsDealerInfoComponent.prototype.cultureChange = function () {\n this.customerCulturesDifferent = true;\n if (this.dsa.dealerSetting.defaultCultureName == this.dsa.dealerSetting.secondaryCultureName) {\n this.customerCulturesDifferent = false;\n }\n };\n AdminSettingsDealerInfoComponent.prototype.updateImage = function (logoImageBinary, fileExtension) {\n if (fileExtension != null)\n this.dealerImageSrc = 'data:image/' + fileExtension.toLowerCase().substring(1) + ';base64,' + logoImageBinary;\n else\n this.dealerImageSrc = null;\n };\n AdminSettingsDealerInfoComponent.prototype.uploadFile = function (event) {\n var _this = this;\n if (event.target.files && event.target.files[0]) {\n var file = event.target.files[0];\n var fileExtension = file.name.substr(file.name.lastIndexOf('.'));\n var reader = new FileReader();\n reader.readAsDataURL(file); // read file as data url\n reader.onload = function (event) {\n _this.dealerImageSrc = reader.result;\n _this.dsa.dealerLogoImage.logoImageBinary = _this.dealerImageSrc.split('base64,')[1];\n _this.dsa.dealerLogoImage.fileExtension = fileExtension.toUpperCase();\n };\n this.dsa.isDealerLogoUpdate = true;\n this.fileInput.nativeElement.value = ''; // to allow another upload if necessary\n }\n };\n AdminSettingsDealerInfoComponent.prototype.deleteFile = function () {\n this.dsa.dealerLogoImage.logoImageBinary = null;\n this.dsa.dealerLogoImage.fileExtension = null;\n this.dealerImageSrc = null;\n this.dsa.isDealerLogoUpdate = true;\n this.fileInput.nativeElement.value = ''; // to allow another upload if necessary\n };\n AdminSettingsDealerInfoComponent.prototype.makeChanged = function () {\n var _this = this;\n if (this.selectedMakeId == 0) {\n this.address1 = null;\n this.address2 = this.dsa.dealerMakeFranchiseAddress.find(function (d) { return d.makeID == _this.selectedMakeId; });\n this.isReadOnly = false;\n }\n else {\n this.address1 = this.dsa.dealerMakeFranchiseAddress.find(function (d) { return d.makeID == _this.selectedMakeId && d.displayOrder == 1; });\n this.address2 = this.dsa.dealerMakeFranchiseAddress.find(function (d) { return d.makeID == _this.selectedMakeId && d.displayOrder == 2; });\n this.isReadOnly = true;\n }\n if (this.selectedMake())\n this.updateImage(this.selectedMake().logoImageBinary, this.selectedMake().logoFileExtension);\n else if (this.dsa.dealerLogoImage)\n this.updateImage(this.dsa.dealerLogoImage.logoImageBinary, this.dsa.dealerLogoImage.fileExtension);\n };\n return AdminSettingsDealerInfoComponent;\n}());\nexports.AdminSettingsDealerInfoComponent = AdminSettingsDealerInfoComponent;\n","import { Component, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter, ViewChild } from '@angular/core';\r\nimport { UserService } from './../../services/user.service';\r\nimport { CustomerService } from './../../services/customer.service';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerMakeLeaseMileageDto, DealerSettingDto, DealerTwilioPhoneNumberDto, DealerSettingResponseDto, DealerMakeFranchiseAddressDto, DealerMakeFranchiseInfoExtDto } from '../../generated/models';\r\nimport { toDataURL } from '@progress/kendo-angular-excel-export';\r\nimport { StorageService } from '../../modules/storage/storage.service';\r\n\r\n@Component({\r\n selector: 'admin-settings-dealerinfo',\r\n templateUrl: './admin-settings-dealerinfo.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsDealerInfoComponent implements OnInit, OnChanges {\r\n @ViewChild('fileInput', {static: false}) fileInput: any;\r\n bsModalRef: BsModalRef;\r\n @Input() dsa: DealerSettingResponseDto = {};\r\n\r\n public selectedMakeId: number = 0;\r\n\r\n public dealerImageSrc: any;\r\n public address1: DealerMakeFranchiseAddressDto;\r\n public address2: DealerMakeFranchiseAddressDto;\r\n public defaultPreferredLanguage: string;\r\n public secondaryPreferredLanguage: string;\r\n public customerCulturesDifferent: Boolean = true;\r\n public isReadOnly: Boolean = false;\r\n public isEmployee: boolean = false;\r\n\r\n public selectedMake(): DealerMakeFranchiseInfoExtDto {\r\n return this.dsa.dealerMakeFranchiseInfo.find(s => s.makeID == this.selectedMakeId);\r\n }\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public userService: UserService,\r\n public logger: ToasterLoggerService,\r\n public customerService: CustomerService,\r\n private storageService: StorageService\r\n ) {\r\n const userProfile = storageService.getItem('userProfile');\r\n if (userProfile) {\r\n this.isEmployee = userProfile.employeeUser;\r\n }\r\n }\r\n\r\n public ngOnInit() {\r\n this.defaultPreferredLanguage = this.customerService.getCustomerCultureByCode(this.dsa.dealerSetting.defaultCultureName);\r\n this.secondaryPreferredLanguage = this.customerService.getCustomerCultureByCode(this.dsa.dealerSetting.secondaryCultureName);\r\n this.isReadOnly = false; // set to true if non-default Make selected\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.dsa) {\r\n this.customerCulturesDifferent = (this.dsa.dealerSetting.defaultCultureName !== this.dsa.dealerSetting.secondaryCultureName);\r\n }\r\n if (changes.dsa && !changes.dsa.isFirstChange()) {\r\n if (changes.dsa.currentValue.dealer && changes.dsa.previousValue.dealer\r\n && changes.dsa.currentValue.dealer.dealerID != changes.dsa.previousValue.dealer.dealerID) {\r\n this.defaultPreferredLanguage = this.customerService.getCustomerCultureByCode(this.dsa.dealerSetting.defaultCultureName);\r\n this.secondaryPreferredLanguage = this.customerService.getCustomerCultureByCode(this.dsa.dealerSetting.secondaryCultureName);\r\n }\r\n }\r\n }\r\n\r\n public cultureChange() {\r\n this.customerCulturesDifferent = true;\r\n if (this.dsa.dealerSetting.defaultCultureName == this.dsa.dealerSetting.secondaryCultureName) {\r\n this.customerCulturesDifferent = false;\r\n }\r\n }\r\n\r\n private updateImage(logoImageBinary: string, fileExtension: string) {\r\n if (fileExtension != null)\r\n this.dealerImageSrc = 'data:image/' + fileExtension.toLowerCase().substring(1) + ';base64,' + logoImageBinary;\r\n else\r\n this.dealerImageSrc = null;\r\n }\r\n\r\n public uploadFile(event: any) {\r\n if (event.target.files && event.target.files[0]) {\r\n var file = event.target.files[0];\r\n var fileExtension = file.name.substr(file.name.lastIndexOf('.'));\r\n var reader = new FileReader();\r\n reader.readAsDataURL(file); // read file as data url\r\n reader.onload = (event) => { // called once readAsDataURL is completed\r\n this.dealerImageSrc = reader.result;\r\n this.dsa.dealerLogoImage.logoImageBinary = this.dealerImageSrc.split('base64,')[1];\r\n this.dsa.dealerLogoImage.fileExtension = fileExtension.toUpperCase();\r\n }\r\n\r\n this.dsa.isDealerLogoUpdate = true;\r\n this.fileInput.nativeElement.value = ''; // to allow another upload if necessary\r\n }\r\n }\r\n\r\n public deleteFile() {\r\n this.dsa.dealerLogoImage.logoImageBinary = null;\r\n this.dsa.dealerLogoImage.fileExtension = null;\r\n this.dealerImageSrc = null;\r\n this.dsa.isDealerLogoUpdate = true;\r\n this.fileInput.nativeElement.value = ''; // to allow another upload if necessary\r\n }\r\n\r\n public makeChanged() {\r\n if (this.selectedMakeId == 0) {\r\n this.address1 = null;\r\n this.address2 = this.dsa.dealerMakeFranchiseAddress.find(d => d.makeID == this.selectedMakeId);\r\n this.isReadOnly = false;\r\n }\r\n else {\r\n this.address1 = this.dsa.dealerMakeFranchiseAddress.find(d => d.makeID == this.selectedMakeId && d.displayOrder == 1);\r\n this.address2 = this.dsa.dealerMakeFranchiseAddress.find(d => d.makeID == this.selectedMakeId && d.displayOrder == 2);\r\n this.isReadOnly = true;\r\n }\r\n\r\n if (this.selectedMake())\r\n this.updateImage(this.selectedMake().logoImageBinary, this.selectedMake().logoFileExtension);\r\n else if (this.dsa.dealerLogoImage)\r\n this.updateImage(this.dsa.dealerLogoImage.logoImageBinary, this.dsa.dealerLogoImage.fileExtension);\r\n }\r\n}","var path = '/app/components/deal-sheet/vehicle/inventory-search-action.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","module.exports = __webpack_public_path__ + \"icon-alertminer-warranty.320c61d950849d1a2cc7.png\";","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\n// Temporary holding bucket for angularjs services that are needed in angular. We should upgrade these for real asap.\n// CoreApiService\nexports.CoreApiService = new core_1.InjectionToken('CoreApiService');\nfunction coreApiServiceFactory(i) {\n return i.get('coreApi');\n}\nexports.coreApiServiceFactory = coreApiServiceFactory;\nexports.coreApiServiceProvider = {\n provide: exports.CoreApiService,\n useFactory: coreApiServiceFactory,\n deps: ['$injector']\n};\n// LegacyService\nexports.LegacyService = new core_1.InjectionToken('LegacyService');\nfunction legacyServiceFactory(i) {\n return i.get('legacyService');\n}\nexports.legacyServiceFactory = legacyServiceFactory;\nexports.legacyServiceProvider = {\n provide: exports.LegacyService,\n useFactory: legacyServiceFactory,\n deps: ['$injector']\n};\n// Auth\nexports.AuthService = new core_1.InjectionToken('AuthService');\nfunction authServiceFactory(i) {\n return i.get('$auth');\n}\nexports.authServiceFactory = authServiceFactory;\nexports.authServiceProvider = {\n provide: exports.AuthService,\n useFactory: authServiceFactory,\n deps: ['$injector']\n};\n// OpportunityService\nexports.OpportunityService = new core_1.InjectionToken('OpportunityService');\nfunction opportunityServiceFactory(i) {\n return i.get('opportunityService');\n}\nexports.opportunityServiceFactory = opportunityServiceFactory;\nexports.opportunityServiceProvider = {\n provide: exports.OpportunityService,\n useFactory: opportunityServiceFactory,\n deps: ['$injector']\n};\n// DealSheetService\nexports.DealSheetService = new core_1.InjectionToken('DealSheetService');\nfunction dealSheetServiceFactory(i) {\n return i.get('dealSheetService');\n}\nexports.dealSheetServiceFactory = dealSheetServiceFactory;\nexports.dealSheetServiceProvider = {\n provide: exports.DealSheetService,\n useFactory: dealSheetServiceFactory,\n deps: ['$injector']\n};\n// RecentDealSheetService\nexports.RecentDealSheetService = new core_1.InjectionToken('RecentDealSheetService');\nfunction recentDealSheetServiceFactory(i) {\n return i.get('recentDealSheetService');\n}\nexports.recentDealSheetServiceFactory = recentDealSheetServiceFactory;\nexports.recentDealSheetServiceProvider = {\n provide: exports.RecentDealSheetService,\n useFactory: recentDealSheetServiceFactory,\n deps: ['$injector']\n};\n// TemplateService\nexports.TemplateService = new core_1.InjectionToken('TemplateService');\nfunction templateServiceFactory(i) {\n return i.get('templateService');\n}\nexports.templateServiceFactory = templateServiceFactory;\nexports.templateServiceProvider = {\n provide: exports.TemplateService,\n useFactory: templateServiceFactory,\n deps: ['$injector']\n};\n//$rootScope\nexports.$rootScope = new core_1.InjectionToken('$rootScope');\nfunction rootScopeFactory(i) {\n return i.get('$rootScope');\n}\nexports.rootScopeFactory = rootScopeFactory;\nexports.rootScopeProvider = {\n provide: exports.$rootScope,\n useFactory: rootScopeFactory,\n deps: ['$injector']\n};\n// EulaService\nexports.EulaModalService = new core_1.InjectionToken('EulaModalService');\nfunction eulaModalServiceFactory(i) {\n return i.get('eulaModalService');\n}\nexports.eulaModalServiceFactory = eulaModalServiceFactory;\nexports.eulaModalServiceProvider = {\n provide: exports.EulaModalService,\n useFactory: eulaModalServiceFactory,\n deps: ['$injector']\n};\n// VehicleService\nexports.VehicleService = new core_1.InjectionToken('VehicleService');\nfunction vehicleServiceFactory(i) {\n return i.get('vehicleService');\n}\nexports.vehicleServiceFactory = vehicleServiceFactory;\nexports.vehicleServiceProvider = {\n provide: exports.VehicleService,\n useFactory: vehicleServiceFactory,\n deps: ['$injector']\n};\n// ContractService\nexports.ContractService = new core_1.InjectionToken('ContractService');\nfunction contractServiceFactory(i) {\n return i.get('contractService');\n}\nexports.contractServiceFactory = contractServiceFactory;\nexports.contractServiceProvider = {\n provide: exports.ContractService,\n useFactory: contractServiceFactory,\n deps: ['$injector']\n};\n// MapUtilService\nexports.MapUtilsService = new core_1.InjectionToken('MapUtilsService');\nfunction mapUtilsServiceFactory(i) {\n return i.get('mapUtils');\n}\nexports.mapUtilsServiceFactory = mapUtilsServiceFactory;\nexports.mapUtilsServiceProvider = {\n provide: exports.MapUtilsService,\n useFactory: mapUtilsServiceFactory,\n deps: ['$injector']\n};\n// MapUtilService\nexports.TmhDynamicLocale = new core_1.InjectionToken('TmhDynamicLocale');\nfunction tmhDynamicLocaleFactory(i) {\n return i.get('tmhDynamicLocale');\n}\nexports.tmhDynamicLocaleFactory = tmhDynamicLocaleFactory;\nexports.tmhDynamicLocaleProvider = {\n provide: exports.TmhDynamicLocale,\n useFactory: tmhDynamicLocaleFactory,\n deps: ['$injector']\n};\n","import { InjectionToken } from '@angular/core';\r\n\r\n// Temporary holding bucket for angularjs services that are needed in angular. We should upgrade these for real asap.\r\n\r\n// CoreApiService\r\nexport const CoreApiService = new InjectionToken('CoreApiService');\r\n\r\nexport function coreApiServiceFactory(i: any) {\r\n return i.get('coreApi');\r\n}\r\n\r\nexport const coreApiServiceProvider = {\r\n provide: CoreApiService,\r\n useFactory: coreApiServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n// LegacyService\r\nexport const LegacyService = new InjectionToken('LegacyService');\r\n\r\nexport function legacyServiceFactory(i: any) {\r\n return i.get('legacyService');\r\n}\r\n\r\nexport const legacyServiceProvider = {\r\n provide: LegacyService,\r\n useFactory: legacyServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n// Auth\r\nexport const AuthService = new InjectionToken('AuthService');\r\n\r\nexport function authServiceFactory(i: any) {\r\n return i.get('$auth');\r\n}\r\n\r\nexport const authServiceProvider = {\r\n provide: AuthService,\r\n useFactory: authServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n// OpportunityService\r\nexport const OpportunityService = new InjectionToken('OpportunityService');\r\n\r\nexport function opportunityServiceFactory(i: any) {\r\n return i.get('opportunityService');\r\n}\r\n\r\nexport const opportunityServiceProvider = {\r\n provide: OpportunityService,\r\n useFactory: opportunityServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n// DealSheetService\r\nexport const DealSheetService = new InjectionToken('DealSheetService');\r\n\r\nexport function dealSheetServiceFactory(i: any) {\r\n return i.get('dealSheetService');\r\n}\r\n\r\nexport const dealSheetServiceProvider = {\r\n provide: DealSheetService,\r\n useFactory: dealSheetServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n\r\n// RecentDealSheetService\r\nexport const RecentDealSheetService = new InjectionToken('RecentDealSheetService');\r\n\r\nexport function recentDealSheetServiceFactory(i: any) {\r\n return i.get('recentDealSheetService');\r\n}\r\n\r\nexport const recentDealSheetServiceProvider = {\r\n provide: RecentDealSheetService,\r\n useFactory: recentDealSheetServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n// TemplateService\r\nexport const TemplateService = new InjectionToken('TemplateService');\r\n\r\nexport function templateServiceFactory(i: any) {\r\n return i.get('templateService');\r\n}\r\n\r\nexport const templateServiceProvider = {\r\n provide: TemplateService,\r\n useFactory: templateServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n\r\n//$rootScope\r\nexport const $rootScope = new InjectionToken('$rootScope');\r\n\r\nexport function rootScopeFactory(i: any) {\r\n return i.get('$rootScope');\r\n}\r\n\r\nexport const rootScopeProvider = {\r\n provide: $rootScope,\r\n useFactory: rootScopeFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n// EulaService\r\nexport const EulaModalService = new InjectionToken('EulaModalService');\r\n\r\nexport function eulaModalServiceFactory(i: any) {\r\n return i.get('eulaModalService');\r\n}\r\n\r\nexport const eulaModalServiceProvider = {\r\n provide: EulaModalService,\r\n useFactory: eulaModalServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n\r\n// VehicleService\r\nexport const VehicleService = new InjectionToken('VehicleService');\r\n\r\nexport function vehicleServiceFactory(i: any) {\r\n return i.get('vehicleService');\r\n}\r\n\r\nexport const vehicleServiceProvider = {\r\n provide: VehicleService,\r\n useFactory: vehicleServiceFactory,\r\n deps: ['$injector']\r\n\r\n};\r\n\r\n\r\n// ContractService\r\nexport const ContractService = new InjectionToken('ContractService');\r\n\r\nexport function contractServiceFactory(i: any) {\r\n return i.get('contractService');\r\n}\r\n\r\nexport const contractServiceProvider = {\r\n provide: ContractService,\r\n useFactory: contractServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n\r\n// MapUtilService\r\nexport const MapUtilsService = new InjectionToken('MapUtilsService');\r\n\r\nexport function mapUtilsServiceFactory(i: any) {\r\n return i.get('mapUtils');\r\n}\r\n\r\nexport const mapUtilsServiceProvider = {\r\n provide: MapUtilsService,\r\n useFactory: mapUtilsServiceFactory,\r\n deps: ['$injector']\r\n};\r\n\r\n// MapUtilService\r\nexport const TmhDynamicLocale = new InjectionToken('TmhDynamicLocale');\r\n\r\nexport function tmhDynamicLocaleFactory(i: any) {\r\n return i.get('tmhDynamicLocale');\r\n}\r\n\r\nexport const tmhDynamicLocaleProvider = {\r\n provide: TmhDynamicLocale,\r\n useFactory: tmhDynamicLocaleFactory,\r\n deps: ['$injector']\r\n};\r\n","module.exports = \"\"","module.exports = \"deal-sheet-vci .header.row {\\n padding-top: 10px;\\n padding-bottom: 10px;\\n}\\ndeal-sheet-vci hr.header {\\n border-top: 1px solid #444a50;\\n margin-bottom: 5px;\\n}\\ndeal-sheet-vci .data-block {\\n margin-bottom: 10px;\\n}\\ndeal-sheet-vci .data-section {\\n padding-bottom: 20px;\\n}\\ndeal-sheet-vci .boxed-section-container {\\n padding-top: 10px;\\n}\\ndeal-sheet-vci .boxed-section {\\n border: 1px solid #e7e7e7;\\n}\\ndeal-sheet-vci .section-title {\\n color: #1f8bd5;\\n font-size: 18px;\\n font-weight: bold;\\n}\\ndeal-sheet-vci .cursor-pointer {\\n cursor: pointer;\\n}\\ndeal-sheet-vci .section-title-block {\\n padding-bottom: 5px;\\n}\\ndeal-sheet-vci .separatorLine {\\n border-top: 1px solid #ccc;\\n margin-bottom: 5px;\\n}\\ndeal-sheet-vci .collapseWidget {\\n color: #1f8bd5;\\n}\\ndeal-sheet-vci .data-item {\\n padding-bottom: 5px;\\n}\\ndeal-sheet-vci .vci-data-section {\\n min-height: 100px;\\n}\\ndeal-sheet-vci .pad-left {\\n padding-left: 20px;\\n}\\ndeal-sheet-vci-eula-modal .vci-eula embed {\\n height: 70vh;\\n width: 100%;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9kZWFsLXNoZWV0L0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcY29tcG9uZW50c1xcZGVhbC1zaGVldFxcZGVhbC1zaGVldC12Y2kuY29tcG9uZW50LnNjc3MiLCJzcmMvYXB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5oZWFkZXIucm93IHtcclxuICAgICAgICBwYWRkaW5nLXRvcDogMTBweDtcclxuICAgICAgICBwYWRkaW5nLWJvdHRvbTogMTBweDtcclxuICAgIH1cclxuICAgIGhyLmhlYWRlciB7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogMXB4IHNvbGlkICRib2R5LWJhc2UtY29sb3I7XHJcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogNXB4O1xyXG4gICAgfVxyXG4gICAgLmRhdGEtYmxvY2sge1xyXG4gICAgICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XHJcbiAgICB9XHJcbiAgICAuZGF0YS1zZWN0aW9uIHtcclxuICAgICAgICBwYWRkaW5nLWJvdHRvbTogMjBweDtcclxuICAgIH1cclxuICAgIC5ib3hlZC1zZWN0aW9uLWNvbnRhaW5lciB7XHJcbiAgICAgICAgcGFkZGluZy10b3A6IDEwcHg7XHJcbiAgICB9XHJcbiAgICAuYm94ZWQtc2VjdGlvbiB7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgJGFsZXJ0LWluZm8tYmFja2dyb3VuZC1jb2xvcjtcclxuICAgIH1cclxuICAgIC5zZWN0aW9uLXRpdGxlIHtcclxuICAgICAgICBjb2xvcjogJGJyaWdodEJsdWU7XHJcbiAgICAgICAgZm9udC1zaXplOiAxOHB4O1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG4gICAgfVxyXG4gICAgLmN1cnNvci1wb2ludGVyIHtcclxuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICB9XHJcbiAgICAuc2VjdGlvbi10aXRsZS1ibG9jayB7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDVweDtcclxuICAgIH1cclxuICAgIC5zZXBhcmF0b3JMaW5lIHtcclxuICAgICAgICBib3JkZXItdG9wOiAxcHggc29saWQgJFNlY3Rpb25Cb3JkZXI7XHJcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogNXB4O1xyXG4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VTdHJva2U6ICNhNmM5ZTI7XHJcbiRTZWN0aW9uTGFiZWw6ICMzMzM7XHJcbiRTZWN0aW9uVmFsdWU6ICM1NTU7XHJcbiRTZWN0aW9uQm9yZGVyOiAjY2NjO1xyXG4kU2VjdGlvbklucHV0SW52YWxpZDogI2Y1MzE0MjtcclxuJFNlY3Rpb25Cb3JkZXJJbnZhbGlkRm9jdXM6IHJnYmEoMjQ1LCA0OSwgNjYsIDAuOCk7XHJcbiRTZWN0aW9uQm9yZGVyRm9jdXM6IHJnYmEoODIsIDE2OCwgMjM2LCAwLjgpO1xyXG4kU2VjdGlvbkJvcmRlckJveFNoYWRvdzogcmdiYSg4MiwgMTY4LCAyMzYsIDAuNik7XHJcbiRTZWN0aW9uQm9yZGVySW52YWxpZFNoYWRvdzogcmdiYSgyNDUsIDQ5LCA2NiwgMC42KTtcclxuJFNlY3Rpb25CYWNrZ3JvdW5kOiAjZmZmO1xyXG5cclxuJGFjdGl2ZU1lbnVJdGVtczogI2MxYzJjNDtcclxuJHJlcG9ydHNCYWNrZ3JvdW5kOiAjRTdFN0U3O1xyXG4iXX0= */\"","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","var path = '/app/components/opportunities/euroliteopportunities.component.html';\nvar html = \"
   
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/service-drive/modals/service-drive-offers-print.modal.component.html';\nvar html = \"
Print Offer
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \".wish-list-matches-modal {\\n /* .faalert:before {\\n content: \\\"A\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n }\\n */\\n /* .faservice:before {\\n content: \\\"S\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n }\\n */\\n /* .facontractend:before {\\n content: \\\"C\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n }\\n */\\n /* .famileage:before {\\n content: \\\"M\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n }\\n */\\n /* .fawarranty:before {\\n content: \\\"W\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n }*/\\n /* .faflexalert:before {\\n content: \\\"F\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n }*/\\n /* .faappointment:before {\\n content: \\\"P\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n }*/\\n /* .fainmarket:before {\\n content: \\\"I\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n }*/\\n /* .fainmarketengaged:before {\\n content: \\\"E\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n }*/\\n}\\n.wish-list-matches-modal .k-grid {\\n font-size: 12px;\\n}\\n.wish-list-matches-modal .grid-alert {\\n float: left;\\n margin-right: 5px;\\n margin-top: 2px;\\n margin-bottom: -4px;\\n}\\n.wish-list-matches-modal .wish-list-matches-padding {\\n padding: 0 30px 0px 30px;\\n}\\n.wish-list-matches-modal .wish-list-matches-wrapper {\\n padding-left: 15px;\\n padding-right: 15px;\\n width: 100%;\\n /* background-color: $frame-background-color;*/\\n}\\n.wish-list-matches-modal .bold {\\n font-weight: bold;\\n}\\n.wish-list-matches-modal .svg-icon.xsm {\\n width: 16px;\\n height: 16px;\\n padding: 1px;\\n margin-bottom: 1px;\\n margin-top: 1px;\\n}\\n.wish-list-matches-modal .deal-sheet-link {\\n text-decoration: underline;\\n font-weight: bold;\\n}\\n.wish-list-matches-modal .faalert {\\n border-radius: 3px;\\n background: #f53142;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.wish-list-matches-modal .faservice {\\n border-radius: 3px;\\n background: #42b93f;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.wish-list-matches-modal .facontractend {\\n border-radius: 3px;\\n background: #226be6;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.wish-list-matches-modal .famileage {\\n border-radius: 3px;\\n background: #fe6e1a;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.wish-list-matches-modal .fawarranty {\\n border-radius: 3px;\\n background: #7a5ec8;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.wish-list-matches-modal .fafflexalert {\\n border-radius: 3px;\\n background: #824119;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.wish-list-matches-modal .faappointment {\\n border-radius: 3px;\\n background: #257F31;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.wish-list-matches-modal .fainmarket {\\n border-radius: 3px;\\n background: #CC8800;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.wish-list-matches-modal .fainmarketengaged {\\n border-radius: 3px;\\n background: #FCAF26;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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JcbiAgICAgICAgJi54c20ge1xyXG4gICAgICAgICAgICB3aWR0aDogMTZweDtcclxuICAgICAgICAgICAgaGVpZ2h0OiAxNnB4O1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAxcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDFweDtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogMXB4O1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuZGVhbC1zaGVldC1saW5rIHtcclxuICAgICAgICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcclxuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgIH1cclxuXHJcbiAgICAuZmFhbGVydCB7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xyXG4gICAgICAgIGJhY2tncm91bmQ6ICNmNTMxNDI7XHJcbiAgICAgICAgd2lkdGg6IDE4cHg7XHJcbiAgICAgICAgaGVpZ2h0OiAxOHB4O1xyXG4gICAgICAgIGxpbmUtaGVpZ2h0OiAxOHB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgIG1hcmdpbi10b3A6IDBweDtcclxuICAgIH1cclxuXHJcbi8qICAgIC5mYWFsZXJ0OmJlZm9yZSB7XHJcbiAgICAgICAgY29udGVudDogXCJBXCI7XHJcbiAgICAgICAgY29sb3I6ICNmZmY7XHJcbiAgICAgICAgZm9udC1mYW1pbHk6IHZlcmRhbmEsIGFyaWFsLCBzYW5zLXNlcmlmO1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiBub3JtYWw7XHJcbiAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgICAgIGxpbmUtaGVpZ2h0OiAxOHB4O1xyXG4gICAgfVxyXG4qL1xyXG4gICAgLmZhc2VydmljZSB7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xyXG4gICAgICAgIGJhY2t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AgICAgICAgICBmb250LWZhbWlseTogdmVyZGFuYSwgYXJpYWwsIHNhbnMtc2VyaWY7XG4gICAgICAgICAgZm9udC13ZWlnaHQ6IG5vcm1hbDtcbiAgICAgICAgICBmb250LXNpemU6IDE0cHg7XG4gICAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XG4gICAgICB9XG4gICovXG4gIC8qICAgIC5mYWNvbnRyYWN0ZW5kOmJlZm9yZSB7XG4gICAgICAgICAgY29udGVudDogXCJDXCI7XG4gICAgICAgICAgY29sb3I6ICNmZmY7XG4gICAgICAgICAgZm9udC1mYW1pbHk6IHZlcmRhbmEsIGFyaWFsLCBzYW5zLXNlcmlmO1xuICAgICAgICAgIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG4gICAgICAgICAgZm9udC1zaXplOiAxNHB4O1xuICAgICAgICAgIGxpbmUtaGVpZ2h0OiAxOHB4O1xuICAgICAgfVxuICAqL1xuICAvKiAgICAuZmFtaWxlYWdlOmJlZm9yZSB7XG4gICAgICAgICAgY29udGVudDogXCJNXCI7XG4gICAgICAgICAgY29sb3I6ICNmZmY7XG4gICAgICAgICAgZm9udC1mYW1pbHk6IHZlcmRhbmEsIGFyaWFsLCBzYW5zLXNlcmlmO1xuICAgICAgICAgIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG4gICAgICAgICAgZm9udC1zaXplOiAxNHB4O1xuICAgICAgICAgIGxpbmUtaGVpZ2h0OiAxOHB4O1xuICAgICAgfVxuICAqL1xuICAvKiAgICAuZmF3YXJyYW50eTpiZWZvcmUge1xuICAgICAgICAgIGNvbnRlbnQ6IFwiV1wiO1xuICAgICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICAgIGZvbnQtZmFtaWx5OiB2ZXJkYW5hLCBhcmlhbCwgc2Fucy1zZXJpZjtcbiAgICAgICAgICBmb250LXdlaWdodDogbm9ybWFsO1xuICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgICAgICAgICBsaW5lLWhlaWdodDogMThweDtcbiAgICAgIH0qL1xuICAvKiAgICAuZmFmbGV4YWxlcnQ6YmVmb3JlIHtcbiAgICAgICAgICBjb250ZW50OiBcIkZcIjtcbiAgICAgICAgICBjb2xvcjogI2ZmZjtcbiAgICAgICAgICBmb250LWZhbWlseTogdmVyZGFuYSwgYXJpYWwsIHNhbnMtc2VyaWY7XG4gICAgICAgICAgZm9udC13ZWlnaHQ6IG5vcm1hbDtcbiAgICAgICAgICBmb250LXNpemU6IDE0cHg7XG4gICAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XG4gICAgICB9Ki9cbiAgLyogICAgLmZhYXBwb2ludG1lbnQ6YmVmb3JlIHtcbiAgICAgICAgICBjb250ZW50OiBcIlBcIjtcbiAgICAgICAgICBjb2xvcjogI2ZmZjtcbiAgICAgICAgICBmb250LWZhbWlseTogdmVyZGFuYSwgYXJpYWwsIHNhbnMtc2VyaWY7XG4gICAgICAgICAgZm9udC13ZWlnaHQ6IG5vcm1hbDtcbiAgICAgICAgICBmb250LXNpemU6IDE0cHg7XG4gICAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XG4gICAgICB9Ki9cbiAgLyogICAgLmZhaW5tYXJrZXQ6YmVmb3JlIHtcbiAgICAgICAgICBjb250ZW50O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xuICBiYWNrZ3JvdW5kOiAjMjU3RjMxO1xuICB3aWR0aDogMThweDtcbiAgaGVpZ2h0OiAxOHB4O1xuICBsaW5lLWhlaWdodDogMThweCAhaW1wb3J0YW50O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIG1hcmdpbi10b3A6IDBweDtcbn1cbi53aXNoLWxpc3QtbWF0Y2hlcy1tb2RhbCAuZmFpbm1hcmtldCB7XG4gIGJvcmRlci1yYWRpdXM6IDNweDtcbiAgYmFja2dyb3VuZDogI0NDODgwMDtcbiAgd2lkdGg6IDE4cHg7XG4gIGhlaWdodDogMThweDtcbiAgbGluZS1oZWlnaHQ6IDE4cHggIWltcG9ydGFudDtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBtYXJnaW4tdG9wOiAwcHg7XG59XG4ud2lzaC1saXN0LW1hdGNoZXMtbW9kYWwgLmZhaW5tYXJrZXRlbmdhZ2VkIHtcbiAgYm9yZGVyLXJhZGl1czogM3B4O1xuICBiYWNrZ3JvdW5kOiAjRkNBRjI2O1xuICB3aWR0aDogMThweDtcbiAgaGVpZ2h0OiAxOHB4O1xuICBsaW5lLWhlaWdodDogMThweCAhaW1wb3J0YW50O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIG1hcmdpbi10b3A6IDBweDtcbn0iXX0= */\"","var path = '/app/components/deal-sheet/modals/show-full-conversation-modal.component.html';\nvar html = \"
0\\\">
{{message.name}} ({{message.date | localeDateTime}}): {{message.body}}
{{'autoAssistantNoData' | translate}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/reopen.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TrimPricePlanSource = {\n autoAlertPrice: 0,\n dealerPrice: 1,\n aZPlan: 2,\n xPlan: 3,\n employeePricing: 4\n};\nexports.default = exports.TrimPricePlanSource;\n","export const TrimPricePlanSource = {\r\n autoAlertPrice: 0,\r\n dealerPrice: 1,\r\n aZPlan: 2,\r\n xPlan: 3,\r\n employeePricing: 4\r\n}\r\n\r\nexport default TrimPricePlanSource;","var path = '/app/components/possible-nlo/possible-nlo.component.html';\nvar html = \"
1\\\">
{{$ctrl.translations.dealerships}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var $export = require('./_export');\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lodash_1 = require(\"lodash\");\nvar core_1 = require(\"@angular/core\");\nvar locale_date_pipe_1 = require(\"../../../filters/locale-date.pipe\");\nvar constants_1 = require(\"../../../constants\");\nvar TagsComponent = /** @class */ (function () {\n function TagsComponent(localeDate, vehicleService) {\n this.localeDate = localeDate;\n this.vehicleService = vehicleService;\n this.hasRecallNotice = false;\n this.hasMultipleRecalls = false;\n this.recallNotificationList = [];\n }\n TagsComponent.prototype.ngOnInit = function () {\n };\n TagsComponent.prototype.ngOnChanges = function (changes) {\n var _this = this;\n if (changes.values && changes.values.currentValue) {\n this.values = this.values.sort(function (tag1, tag2) {\n if (!tag1.expirationDate && tag2.expirationDate) {\n return 1;\n }\n else if (tag1.expirationDate && !tag2.expirationDate) {\n -1;\n }\n else if (!tag1.expirationDate && !tag2.expirationDate) {\n return 0;\n }\n else {\n return _this.compareTagsByExpirationDateAndName(tag1, tag2);\n }\n });\n this.hasRecallNotice = false; // reset to false to handle empty tag results when switching deal sheet\n this.setLocalizedExpirationDate();\n this.values = this.values.filter(function (item) {\n if (item.tagID == 2404 || item.tagID == 10005) {\n _this.hasRecallNotice = true;\n _this.getRecallInformation();\n return false;\n }\n if (item.text == \"Ford Credit Pre-Approved\")\n return false;\n if (item.text == \"Ford Credit Pre-Qualified\")\n return false;\n return true;\n });\n }\n };\n TagsComponent.prototype.getRecallInformation = function () {\n var _this = this;\n this.vehicleService.getVinRecall(this.dealerId, this.vehicleId)\n .then(function (data) {\n if (data.length > 0) {\n // remove duplicates\n var dedupedRecalls = lodash_1.uniqBy(data, function (recall) {\n return recall.vin + '_' + recall.recallNumber_Nhtsa + '_' + recall.recallNumber_mfr;\n });\n _this.recallNotificationList = dedupedRecalls.map(function (data) { return ({\n recallDate: data.recallDate,\n description: data.recallDescription,\n safetyRisk: data.safetyRiskDescription,\n remedy: data.remedyDescription,\n recallNumber_mfr: data.recallNumber_mfr,\n recallNumber_Nhtsa: data.recallNumber_Nhtsa,\n isRemedyAvailable: data.isRemedyAvailable,\n vinRecallDate: data.vinRecallDate,\n vin: data.vin\n }); }).sort(function (a, b) {\n return new Date(b.recallDate).getTime() - new Date(a.recallDate).getTime();\n });\n _this.hasMultipleRecalls = _this.recallNotificationList.length > 1;\n }\n });\n };\n TagsComponent.prototype.setLocalizedExpirationDate = function () {\n for (var i = 0; i < this.values.length; i++) {\n var tag = this.values[i];\n if (tag.expirationDate) {\n tag.localizedExpirationDate = this.localeDate.transform(tag.expirationDate);\n }\n }\n };\n TagsComponent.prototype.compareTagsByExpirationDateAndName = function (tag1, tag2) {\n if (tag1.expirationDate > tag2.expirationDate) {\n return 1;\n }\n else if (tag1.expirationDate < tag2.expirationDate) {\n return -1;\n }\n else {\n return this.compareTagsByName(tag1, tag2);\n }\n };\n TagsComponent.prototype.compareTagsByName = function (tag1, tag2) {\n if (tag1.name > tag2.name) {\n return 1;\n }\n else if (tag1.name < tag2.name) {\n return -1;\n }\n else {\n return 0;\n }\n };\n TagsComponent.prototype.openOasisLink = function () {\n if (this.recallNotificationList.length > 0) {\n var oasisUrl = constants_1.Settings.environmentVariables.fordOASISUrl;\n oasisUrl = oasisUrl.replace(\"{0}\", this.recallNotificationList[0].vin);\n window.open(oasisUrl, '_blank');\n }\n };\n return TagsComponent;\n}());\nexports.TagsComponent = TagsComponent;\n","import { uniqBy } from 'lodash';\r\nimport { Component, OnInit, Input, OnChanges, SimpleChanges, Inject } from '@angular/core';\r\nimport { LocaleDatePipe } from '../../../filters/locale-date.pipe';\r\nimport { VehicleService } from '../../../ajs-upgraded-providers';\r\nimport { RecallNotice } from \"../../../interfaces/recall-notice.interface\";\r\nimport { Settings } from \"../../../constants\";\r\n\r\n@Component({\r\n selector: 'tags',\r\n templateUrl: './tags.component-ng.html',\r\n styleUrls: ['./tags.component.scss']\r\n})\r\nexport class TagsComponent implements OnInit, OnChanges {\r\n @Input() values: any;\r\n @Input() vehicleId: number;\r\n @Input() makeName: string;\r\n @Input() dealerId: number;\r\n @Input() isFordAlert: boolean;\r\n public hasRecallNotice: boolean = false;\r\n public hasMultipleRecalls: boolean = false;\r\n public tagExpirationKey: string;\r\n public recallNotificationList: RecallNotice[] = [];\r\n\r\n constructor(private localeDate: LocaleDatePipe, @Inject(VehicleService) private vehicleService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.values && changes.values.currentValue) {\r\n this.values = this.values.sort((tag1, tag2) => {\r\n if (!tag1.expirationDate && tag2.expirationDate) {\r\n return 1;\r\n } else if (tag1.expirationDate && !tag2.expirationDate) {\r\n -1\r\n } else if (!tag1.expirationDate && !tag2.expirationDate) {\r\n return 0;\r\n } else {\r\n return this.compareTagsByExpirationDateAndName(tag1, tag2);\r\n }\r\n });\r\n\r\n this.hasRecallNotice = false; // reset to false to handle empty tag results when switching deal sheet\r\n this.setLocalizedExpirationDate();\r\n this.values = this.values.filter(item => {\r\n if (item.tagID == 2404 || item.tagID == 10005) {\r\n this.hasRecallNotice = true;\r\n this.getRecallInformation();\r\n return false;\r\n }\r\n if (item.text == \"Ford Credit Pre-Approved\") return false;\r\n if (item.text == \"Ford Credit Pre-Qualified\") return false;\r\n return true;\r\n });\r\n }\r\n }\r\n\r\n getRecallInformation() {\r\n this.vehicleService.getVinRecall(this.dealerId, this.vehicleId)\r\n .then((data: any[]) => {\r\n if (data.length > 0) {\r\n\r\n // remove duplicates\r\n let dedupedRecalls = uniqBy(data, (recall: any) => {\r\n return recall.vin + '_' + recall.recallNumber_Nhtsa + '_' + recall.recallNumber_mfr;\r\n });\r\n\r\n this.recallNotificationList = dedupedRecalls.map(data => ({\r\n recallDate: data.recallDate,\r\n description: data.recallDescription,\r\n safetyRisk: data.safetyRiskDescription,\r\n remedy: data.remedyDescription,\r\n recallNumber_mfr: data.recallNumber_mfr,\r\n recallNumber_Nhtsa: data.recallNumber_Nhtsa,\r\n isRemedyAvailable: data.isRemedyAvailable,\r\n vinRecallDate: data.vinRecallDate,\r\n vin: data.vin\r\n })).sort(function (a, b) { // sort by descending recall date:\r\n return new Date(b.recallDate).getTime() - new Date(a.recallDate).getTime();\r\n });\r\n\r\n this.hasMultipleRecalls = this.recallNotificationList.length > 1;\r\n }\r\n });\r\n }\r\n\r\n\r\n setLocalizedExpirationDate() {\r\n for (var i = 0; i < this.values.length; i++) {\r\n var tag = this.values[i];\r\n if (tag.expirationDate) {\r\n tag.localizedExpirationDate = this.localeDate.transform(tag.expirationDate);\r\n }\r\n }\r\n }\r\n\r\n compareTagsByExpirationDateAndName(tag1, tag2) {\r\n if (tag1.expirationDate > tag2.expirationDate) {\r\n return 1;\r\n } else if (tag1.expirationDate < tag2.expirationDate) {\r\n return -1;\r\n } else {\r\n return this.compareTagsByName(tag1, tag2);\r\n }\r\n }\r\n\r\n compareTagsByName(tag1, tag2) {\r\n if (tag1.name > tag2.name) {\r\n return 1;\r\n } else if (tag1.name < tag2.name) {\r\n return -1;\r\n } else {\r\n return 0;\r\n }\r\n }\r\n\r\n openOasisLink() {\r\n if (this.recallNotificationList.length > 0) {\r\n var oasisUrl = Settings.environmentVariables.fordOASISUrl;\r\n\r\n oasisUrl = oasisUrl.replace(\"{0}\", this.recallNotificationList[0].vin);\r\n window.open(oasisUrl, '_blank');\r\n }\r\n }\r\n}\r\n","require('../modules/es7.reflect.define-metadata');\nrequire('../modules/es7.reflect.delete-metadata');\nrequire('../modules/es7.reflect.get-metadata');\nrequire('../modules/es7.reflect.get-metadata-keys');\nrequire('../modules/es7.reflect.get-own-metadata');\nrequire('../modules/es7.reflect.get-own-metadata-keys');\nrequire('../modules/es7.reflect.has-metadata');\nrequire('../modules/es7.reflect.has-own-metadata');\nrequire('../modules/es7.reflect.metadata');\nmodule.exports = require('../modules/_core').Reflect;\n","// 20.2.2.16 Math.fround(x)\nvar sign = require('./_math-sign');\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\nmodule.exports = Math.fround || function fround(x) {\n var $abs = Math.abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};\n","var path = '/app/components/deal-sheet/service-history.component.html';\nvar html = \"


* {{'customerNotOwnedMessage' | translate}}
*
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SaleTypes = {\n unknown: 0,\n lease: 1,\n retail: 2,\n balloon: 3,\n cash: 4,\n notused5: 5,\n onePayLease: 6,\n wholesale: 7,\n incomplete: 8\n};\n","export const SaleTypes = {\r\n unknown: 0,\r\n lease: 1,\r\n retail: 2,\r\n balloon: 3,\r\n cash: 4,\r\n notused5: 5,\r\n onePayLease: 6,\r\n wholesale: 7,\r\n incomplete: 8\r\n};\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"./open-process-modal.component\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../services/ngx-modal-wrapper.service\"));\nvar i4 = __importStar(require(\"../../../core/toaster-logger.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar styles_OpenProcessModalComponent = [];\nvar RenderType_OpenProcessModalComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_OpenProcessModalComponent, data: {} });\nexports.RenderType_OpenProcessModalComponent = RenderType_OpenProcessModalComponent;\nfunction View_OpenProcessModalComponent_0(_l) { return i0.ɵvid(2, [], null, null); }\nexports.View_OpenProcessModalComponent_0 = View_OpenProcessModalComponent_0;\nfunction View_OpenProcessModalComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"open-process-modal\", [], null, null, null, View_OpenProcessModalComponent_0, RenderType_OpenProcessModalComponent)), i0.ɵdid(1, 573440, null, 0, i1.OpenProcessModalComponent, [i2.TranslateService, i3.NgxModalWrapperService, i4.ToasterLoggerService, i5.DOCUMENT], null, null)], null, null); }\nexports.View_OpenProcessModalComponent_Host_0 = View_OpenProcessModalComponent_Host_0;\nvar OpenProcessModalComponentNgFactory = i0.ɵccf(\"open-process-modal\", i1.OpenProcessModalComponent, View_OpenProcessModalComponent_Host_0, { openModal: \"openModal\", entityId: \"entityId\" }, { openModalChanged: \"openModalChanged\" }, []);\nexports.OpenProcessModalComponentNgFactory = OpenProcessModalComponentNgFactory;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar PaymentDifferenceComponent = /** @class */ (function () {\n function PaymentDifferenceComponent() {\n this.Math = Math;\n this.hasPaymentsPermission = false;\n }\n PaymentDifferenceComponent.prototype.ngOnInit = function () {\n this.paymentDifference = this.vehicle.payment - this.vehicle.existingPayment;\n };\n PaymentDifferenceComponent.prototype.getPaymentClass = function () {\n if (!this.hasPaymentsPermission) {\n return 'hidden';\n }\n var style = (this.paymentDifference < 0) ? 'payment-less' : 'payment-more';\n style += ' pull-right';\n return style;\n };\n PaymentDifferenceComponent.prototype.getPaymentDifferenceLabel = function () {\n return this.paymentDifference < 0 ? 'less' : 'more';\n };\n return PaymentDifferenceComponent;\n}());\nexports.PaymentDifferenceComponent = PaymentDifferenceComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { ReplacementVehicle } from '../../../../../interfaces/replacement-vehicle.interface';\r\n\r\n@Component({\r\n selector: 'payment-difference',\r\n templateUrl: './payment-difference.component-ng.html',\r\n styleUrls: ['./payment-difference.component.scss']\r\n})\r\nexport class PaymentDifferenceComponent implements OnInit {\r\n public paymentDifference: number;\r\n public Math = Math;\r\n\r\n @Input() vehicle: ReplacementVehicle;\r\n @Input() hasPaymentsPermission = false;\r\n\r\n ngOnInit() {\r\n this.paymentDifference = this.vehicle.payment - this.vehicle.existingPayment;\r\n }\r\n\r\n getPaymentClass() {\r\n if (!this.hasPaymentsPermission) { return 'hidden'; }\r\n\r\n let style = (this.paymentDifference < 0) ? 'payment-less' : 'payment-more';\r\n style += ' pull-right';\r\n return style;\r\n }\r\n\r\n getPaymentDifferenceLabel(): string {\r\n return this.paymentDifference < 0 ? 'less' : 'more';\r\n }\r\n}\r\n","module.exports = __webpack_public_path__ + \"logo-pando.e1587a557dd32040a9e1.svg\";","var path = '/app/components/search/search-preset-settings-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar CreditSoftPullResultEntityDelClientService = /** @class */ (function (_super) {\n __extends(CreditSoftPullResultEntityDelClientService, _super);\n function CreditSoftPullResultEntityDelClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n */\n CreditSoftPullResultEntityDelClientService.prototype.GetCreditSoftPullResultEntityDelByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/CreditSoftPullResultEntityDel/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n CreditSoftPullResultEntityDelClientService.prototype.GetCreditSoftPullResultEntityDelByEntityidGET = function (entityId) {\n return this.GetCreditSoftPullResultEntityDelByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n CreditSoftPullResultEntityDelClientService.GetCreditSoftPullResultEntityDelByEntityidGETPath = '/api/CreditSoftPullResultEntityDel/{entityId}';\n CreditSoftPullResultEntityDelClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function CreditSoftPullResultEntityDelClientService_Factory() { return new CreditSoftPullResultEntityDelClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: CreditSoftPullResultEntityDelClientService, providedIn: \"root\" });\n return CreditSoftPullResultEntityDelClientService;\n}(base_service_1.BaseService));\nexports.CreditSoftPullResultEntityDelClientService = CreditSoftPullResultEntityDelClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass CreditSoftPullResultEntityDelClientService extends __BaseService {\r\n static readonly GetCreditSoftPullResultEntityDelByEntityidGETPath = '/api/CreditSoftPullResultEntityDel/{entityId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetCreditSoftPullResultEntityDelByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/CreditSoftPullResultEntityDel/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetCreditSoftPullResultEntityDelByEntityidGET(entityId: string): __Observable {\r\n return this.GetCreditSoftPullResultEntityDelByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule CreditSoftPullResultEntityDelClientService {\r\n}\r\n\r\nexport { CreditSoftPullResultEntityDelClientService }\r\n","'use strict';\nvar $export = require('./_export');\nvar createProperty = require('./_create-property');\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * require('./_fails')(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n // 22.1.2.3 Array.of( ...items)\n of: function of(/* ...args */) {\n var index = 0;\n var aLen = arguments.length;\n var result = new (typeof this == 'function' ? this : Array)(aLen);\n while (aLen > index) createProperty(result, index, arguments[index++]);\n result.length = aLen;\n return result;\n }\n});\n","var path = '/app/components/header/customer-engagement-widget.component.html';\nvar html = \"
0\\\"> {{ $ctrl.newEngagementsCount | localeNumber }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export');\nvar context = require('./_string-context');\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var path = '/app/components/wish-list/wish-list-trim-list.component.html';\nvar html = \"
{{trimName}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./impersonation-status.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i3 = __importStar(require(\"../../icon/icon.component\"));\nvar i4 = __importStar(require(\"@angular/platform-browser\"));\nvar i5 = __importStar(require(\"@ngx-translate/core\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./impersonation-status.component\"));\nvar i8 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar i9 = __importStar(require(\"../../../services/user.service\"));\nvar i10 = __importStar(require(\"../../../modules/oidc-auth/token.service\"));\nvar styles_ImpersonationStatusComponent = [i0.styles];\nvar RenderType_ImpersonationStatusComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ImpersonationStatusComponent, data: {} });\nexports.RenderType_ImpersonationStatusComponent = RenderType_ImpersonationStatusComponent;\nfunction View_ImpersonationStatusComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"impersonation-status\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"icon\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon lg aa-icon-view-as-icon\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"span\", [], [[8, \"innerHTML\", 1]], null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"span\", [[\"class\", \"separator\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"|\"])), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"a\", [[\"href\", \"#\"], [\"translate\", \"dismissViewAs\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.logOut() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(8, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { _ck(_v, 3, 0); var currVal_1 = \"dismissViewAs\"; _ck(_v, 8, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.impersonationStatus; _ck(_v, 4, 0, currVal_0); }); }\nfunction View_ImpersonationStatusComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ImpersonationStatusComponent_1)), i1.ɵdid(1, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.userFullName && _co.impersonatingUserFullName); _ck(_v, 1, 0, currVal_0); }, null); }\nexports.View_ImpersonationStatusComponent_0 = View_ImpersonationStatusComponent_0;\nfunction View_ImpersonationStatusComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"impersonation-status\", [], null, null, null, View_ImpersonationStatusComponent_0, RenderType_ImpersonationStatusComponent)), i1.ɵdid(1, 638976, null, 0, i7.ImpersonationStatusComponent, [i8.AuthService, i9.UserService, i10.TokenService, i5.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ImpersonationStatusComponent_Host_0 = View_ImpersonationStatusComponent_Host_0;\nvar ImpersonationStatusComponentNgFactory = i1.ɵccf(\"impersonation-status\", i7.ImpersonationStatusComponent, View_ImpersonationStatusComponent_Host_0, { userFullName: \"userFullName\" }, {}, []);\nexports.ImpersonationStatusComponentNgFactory = ImpersonationStatusComponentNgFactory;\n","
\r\n \r\n \r\n \r\n \r\n |\r\n \r\n
","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".admin-templates-edit-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%]{background:-webkit-gradient(linear,left top,right top,from(#172751),to(#1f8bd5)) fixed;background:linear-gradient(to right,#172751,#1f8bd5) fixed;color:#fff;border-radius:5px 5px 0 0;text-align:left;margin:0;display:block;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:10px}.admin-templates-edit-modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{color:#fff;opacity:1}\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./customer-connect-sub-actions.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i4 = __importStar(require(\"../../../icon/icon.component\"));\nvar i5 = __importStar(require(\"@angular/platform-browser\"));\nvar i6 = __importStar(require(\"@ngx-translate/core\"));\nvar i7 = __importStar(require(\"@angular/common\"));\nvar i8 = __importStar(require(\"./customer-connect-sub-actions.component\"));\nvar i9 = __importStar(require(\"../../../../services/log-action-shortcut.service\"));\nvar styles_CustomerConnectSubActionsComponent = [i0.styles];\nvar RenderType_CustomerConnectSubActionsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CustomerConnectSubActionsComponent, data: {} });\nexports.RenderType_CustomerConnectSubActionsComponent = RenderType_CustomerConnectSubActionsComponent;\nfunction View_CustomerConnectSubActionsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"comm-tools\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"label-top-buffer\"], [\"id\", \"logCallActivity\"], [\"name\", \"logCallLogNote\"], [\"type\", \"radio\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 3).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 3).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"change\" === en)) {\n var pd_6 = (_co.onAction.emit({ action: _co.activityActionEnum.Log_Call }) !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.selectedLogAction = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(3, 212992, null, 0, i2.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i2.ɵangular_packages_forms_forms_o, i1.Injector], { name: [0, \"name\"], value: [1, \"value\"] }, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.RadioControlValueAccessor]), i1.ɵdid(5, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(7, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"icon\", [[\"class\", \"icon lg aa-icon-core-phone-icon-000000\"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(10, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"label\", [[\"class\", \"aa-padding-right\"], [\"for\", \"logCallActivity\"], [\"translate\", \"logCallActivity\"]], null, null, null, null, null)), i1.ɵdid(13, 8536064, null, 0, i6.TranslateDirective, [i6.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = \"logCallLogNote\"; var currVal_8 = _co.activityActionEnum.Log_Call; _ck(_v, 3, 0, currVal_7, currVal_8); var currVal_9 = \"logCallLogNote\"; var currVal_10 = _co.selectedLogAction; _ck(_v, 5, 0, currVal_9, currVal_10); _ck(_v, 10, 0); var currVal_11 = \"logCallActivity\"; _ck(_v, 13, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 7).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 7).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 7).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 7).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 7).ngClassValid; var currVal_5 = i1.ɵnov(_v, 7).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 7).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nfunction View_CustomerConnectSubActionsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"comm-tools wide-tools\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"label-top-buffer\"], [\"id\", \"logNoteActivity\"], [\"name\", \"logCallLogNote\"], [\"type\", \"radio\"]], [[8, \"checked\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 3).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 3).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"change\" === en)) {\n var pd_6 = (_co.onAction.emit({ action: _co.activityActionEnum.Post_Note }) !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.selectedLogAction = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(3, 212992, null, 0, i2.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i2.ɵangular_packages_forms_forms_o, i1.Injector], { name: [0, \"name\"], value: [1, \"value\"] }, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.RadioControlValueAccessor]), i1.ɵdid(5, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(7, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"icon\", [[\"class\", \"icon lg aa-icon-core-takenote-icon-000000\"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(10, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"label\", [[\"class\", \"aa-padding-right\"], [\"for\", \"logNoteActivity\"], [\"translate\", \"logNoteActivity\"]], null, null, null, null, null)), i1.ɵdid(13, 8536064, null, 0, i6.TranslateDirective, [i6.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_8 = \"logCallLogNote\"; var currVal_9 = _co.activityActionEnum.Post_Note; _ck(_v, 3, 0, currVal_8, currVal_9); var currVal_10 = \"logCallLogNote\"; var currVal_11 = _co.selectedLogAction; _ck(_v, 5, 0, currVal_10, currVal_11); _ck(_v, 10, 0); var currVal_12 = \"logNoteActivity\"; _ck(_v, 13, 0, currVal_12); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.subAction === _co.activityActionEnum.Post_Note); var currVal_1 = i1.ɵnov(_v, 7).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 7).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 7).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 7).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 7).ngClassValid; var currVal_6 = i1.ɵnov(_v, 7).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 7).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_CustomerConnectSubActionsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"action-menu\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectSubActionsComponent_2)), i1.ɵdid(3, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectSubActionsComponent_3)), i1.ɵdid(5, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.shortCutActivityActionEnum === null) || (_co.shortCutActivityActionEnum === _co.activityActionEnum.Log_Call)); _ck(_v, 3, 0, currVal_0); var currVal_1 = ((_co.shortCutActivityActionEnum === null) || (_co.shortCutActivityActionEnum === _co.activityActionEnum.Post_Note)); _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_CustomerConnectSubActionsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 29, \"div\", [[\"class\", \"action-menu\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 28, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 13, \"div\", [[\"class\", \"comm-tools\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"input\", [[\"class\", \"label-top-buffer\"], [\"id\", \"scheduleAppointmentActivity\"], [\"type\", \"radio\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 5).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"change\" === en)) {\n var pd_6 = (_co.onAction.emit({ action: _co.activityActionEnum.Schedule_Appt }) !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.selectedScheduleAction = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(5, 212992, null, 0, i2.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i2.ɵangular_packages_forms_forms_o, i1.Injector], { value: [0, \"value\"] }, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.RadioControlValueAccessor]), i1.ɵdid(7, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(9, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"icon\", [[\"class\", \"icon lg aa-icon-core-calendar-icon-000000\"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(12, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"label\", [[\"class\", \"aa-padding-right\"], [\"for\", \"scheduleAppointmentActivity\"], [\"translate\", \"scheduleAppointmentActivity\"]], null, null, null, null, null)), i1.ɵdid(15, 8536064, null, 0, i6.TranslateDirective, [i6.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 13, \"div\", [[\"class\", \"comm-tools\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 6, \"input\", [[\"class\", \"label-top-buffer\"], [\"id\", \"scheduleCallActivity\"], [\"type\", \"radio\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 18)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 18).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 18)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 18)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 19).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 19).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"change\" === en)) {\n var pd_6 = (_co.onAction.emit({ action: _co.activityActionEnum.Schedule_Call }) !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.selectedScheduleAction = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i1.ɵdid(18, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(19, 212992, null, 0, i2.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i2.ɵangular_packages_forms_forms_o, i1.Injector], { value: [0, \"value\"] }, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.RadioControlValueAccessor]), i1.ɵdid(21, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(23, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"icon\", [[\"class\", \"icon lg aa-icon-core-schedule-phone-call-000002\"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(26, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(28, 0, null, null, 1, \"label\", [[\"class\", \"aa-padding-right\"], [\"for\", \"scheduleCallActivity\"], [\"translate\", \"scheduleCallActivity\"]], null, null, null, null, null)), i1.ɵdid(29, 8536064, null, 0, i6.TranslateDirective, [i6.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.activityActionEnum.Schedule_Appt; _ck(_v, 5, 0, currVal_7); var currVal_8 = _co.selectedScheduleAction; _ck(_v, 7, 0, currVal_8); _ck(_v, 12, 0); var currVal_9 = \"scheduleAppointmentActivity\"; _ck(_v, 15, 0, currVal_9); var currVal_17 = _co.activityActionEnum.Schedule_Call; _ck(_v, 19, 0, currVal_17); var currVal_18 = _co.selectedScheduleAction; _ck(_v, 21, 0, currVal_18); _ck(_v, 26, 0); var currVal_19 = \"scheduleCallActivity\"; _ck(_v, 29, 0, currVal_19); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 9).ngClassValid; var currVal_5 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_10 = i1.ɵnov(_v, 23).ngClassUntouched; var currVal_11 = i1.ɵnov(_v, 23).ngClassTouched; var currVal_12 = i1.ɵnov(_v, 23).ngClassPristine; var currVal_13 = i1.ɵnov(_v, 23).ngClassDirty; var currVal_14 = i1.ɵnov(_v, 23).ngClassValid; var currVal_15 = i1.ɵnov(_v, 23).ngClassInvalid; var currVal_16 = i1.ɵnov(_v, 23).ngClassPending; _ck(_v, 17, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); }); }\nfunction View_CustomerConnectSubActionsComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectSubActionsComponent_1)), i1.ɵdid(1, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectSubActionsComponent_4)), i1.ɵdid(3, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.subAction === _co.activityActionEnum.Log_Call) || (_co.subAction === _co.activityActionEnum.Post_Note)); _ck(_v, 1, 0, currVal_0); var currVal_1 = ((_co.subAction === _co.activityActionEnum.Schedule_Appt) || (_co.subAction === _co.activityActionEnum.Schedule_Call)); _ck(_v, 3, 0, currVal_1); }, null); }\nexports.View_CustomerConnectSubActionsComponent_0 = View_CustomerConnectSubActionsComponent_0;\nfunction View_CustomerConnectSubActionsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect-sub-actions\", [], null, null, null, View_CustomerConnectSubActionsComponent_0, RenderType_CustomerConnectSubActionsComponent)), i1.ɵdid(1, 770048, null, 0, i8.CustomerConnectSubActionsComponent, [i9.LogActionShortcutService, i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CustomerConnectSubActionsComponent_Host_0 = View_CustomerConnectSubActionsComponent_Host_0;\nvar CustomerConnectSubActionsComponentNgFactory = i1.ɵccf(\"customer-connect-sub-actions\", i8.CustomerConnectSubActionsComponent, View_CustomerConnectSubActionsComponent_Host_0, { permissions: \"permissions\", subAction: \"subAction\", subActionTime: \"subActionTime\" }, { onAction: \"onAction\" }, []);\nexports.CustomerConnectSubActionsComponentNgFactory = CustomerConnectSubActionsComponentNgFactory;\n","
\r\n
\r\n
\r\n  \r\n  \r\n \r\n
\r\n
\r\n  \r\n  \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n  \r\n  \r\n \r\n
\r\n
\r\n  \r\n  \r\n \r\n
\r\n
\r\n
","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export');\nvar gOPD = require('./_object-gopd').f;\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar PandoPassthroughClientService = /** @class */ (function (_super) {\n __extends(PandoPassthroughClientService, _super);\n function PandoPassthroughClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param request undefined\n * @return Success\n */\n PandoPassthroughClientService.prototype.GetStringPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/PandoPassthrough/GetString\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n PandoPassthroughClientService.prototype.GetStringPOST = function (request) {\n return this.GetStringPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n PandoPassthroughClientService.prototype.GetWorkflowTemplatesByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/PandoPassthrough/GetWorkflowTemplates/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n PandoPassthroughClientService.prototype.GetWorkflowTemplatesByDealeridGET = function (dealerId) {\n return this.GetWorkflowTemplatesByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n PandoPassthroughClientService.prototype.GetPandoCustomStoreGroupsByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/PandoPassthrough/GetPandoCustomStoreGroups/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n PandoPassthroughClientService.prototype.GetPandoCustomStoreGroupsByDealeridGET = function (dealerId) {\n return this.GetPandoCustomStoreGroupsByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `PandoPassthroughClientService.AutoAssistFullViewByDealeridByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n PandoPassthroughClientService.prototype.AutoAssistFullViewByDealeridByEntityidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/PandoPassthrough/AutoAssistFullView/\" + params.dealerId + \"/\" + params.entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `PandoPassthroughClientService.GetConversicaConversationStatusesByDealeridByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `dealerId`:\n *\n * @return Success List of status objects\n */\n PandoPassthroughClientService.prototype.GetConversicaConversationStatusesByDealeridByEntityidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/PandoPassthrough/GetConversicaConversationStatuses/\" + params.dealerId + \"/\" + params.entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `PandoPassthroughClientService.AutoAssistFullViewByDealeridByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n PandoPassthroughClientService.prototype.AutoAssistFullViewByDealeridByEntityidGET = function (params) {\n return this.AutoAssistFullViewByDealeridByEntityidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `PandoPassthroughClientService.GetConversicaConversationStatusesByDealeridByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `dealerId`:\n *\n * @return Success as a list of status objects\n */\n PandoPassthroughClientService.prototype.GetConversicaConversationStatusesByDealeridByEntityidGET = function (params) {\n return this.GetConversicaConversationStatusesByDealeridByEntityidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n PandoPassthroughClientService.GetStringPOSTPath = '/api/PandoPassthrough/GetString';\n PandoPassthroughClientService.GetWorkflowTemplatesByDealeridGETPath = '/api/PandoPassthrough/GetWorkflowTemplates/{dealerId}';\n PandoPassthroughClientService.GetPandoCustomStoreGroupsByDealeridGETPath = '/api/PandoPassthrough/GetPandoCustomStoreGroups/{dealerId}';\n PandoPassthroughClientService.AutoAssistFullViewByDealeridByEntityidGETPath = '/api/PandoPassthrough/AutoAssistFullView/{dealerId}/{entityId}';\n PandoPassthroughClientService.GetConversicaConversationStatusesByDealeridByEntityidGETPath = '/api/PandoPassthrough/GetConversicaConversationStatuses/{dealerId}/{entityId}';\n PandoPassthroughClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PandoPassthroughClientService_Factory() { return new PandoPassthroughClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: PandoPassthroughClientService, providedIn: \"root\" });\n return PandoPassthroughClientService;\n}(base_service_1.BaseService));\nexports.PandoPassthroughClientService = PandoPassthroughClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { GetStringAsyncRequest } from '../models/get-string-async-request';\r\nimport { KeyValuePairStringString } from '../models/key-value-pair-string-string';\r\nimport { PandoGroupDto } from '../models/pando-group-dto';\r\nimport { GetFullConversicaConversationResponseDto } from '../models/get-full-conversica-conversation-response-dto';\r\nimport { ConversicaConversationStatus } from '../models/conversica-conversation-status';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass PandoPassthroughClientService extends __BaseService {\r\n static readonly GetStringPOSTPath = '/api/PandoPassthrough/GetString';\r\n static readonly GetWorkflowTemplatesByDealeridGETPath = '/api/PandoPassthrough/GetWorkflowTemplates/{dealerId}';\r\n static readonly GetPandoCustomStoreGroupsByDealeridGETPath = '/api/PandoPassthrough/GetPandoCustomStoreGroups/{dealerId}';\r\n static readonly AutoAssistFullViewByDealeridByEntityidGETPath = '/api/PandoPassthrough/AutoAssistFullView/{dealerId}/{entityId}';\r\n static readonly GetConversicaConversationStatusesByDealeridByEntityidGETPath = '/api/PandoPassthrough/GetConversicaConversationStatuses/{dealerId}/{entityId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n GetStringPOSTResponse(request?: GetStringAsyncRequest): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/PandoPassthrough/GetString`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n GetStringPOST(request?: GetStringAsyncRequest): __Observable {\r\n return this.GetStringPOSTResponse(request).pipe(\r\n __map(_r => _r.body as string)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetWorkflowTemplatesByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/PandoPassthrough/GetWorkflowTemplates/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetWorkflowTemplatesByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetWorkflowTemplatesByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetPandoCustomStoreGroupsByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/PandoPassthrough/GetPandoCustomStoreGroups/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetPandoCustomStoreGroupsByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetPandoCustomStoreGroupsByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `PandoPassthroughClientService.AutoAssistFullViewByDealeridByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n AutoAssistFullViewByDealeridByEntityidGETResponse(params: PandoPassthroughClientService.AutoAssistFullViewByDealeridByEntityidGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/PandoPassthrough/AutoAssistFullView/${params.dealerId}/${params.entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `PandoPassthroughClientService.GetConversicaConversationStatusesByDealeridByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success List of status objects\r\n */\r\n GetConversicaConversationStatusesByDealeridByEntityidGETResponse(params: PandoPassthroughClientService.GetConversicaConversationStatusesByDealeridByEntityidGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/PandoPassthrough/GetConversicaConversationStatuses/${params.dealerId}/${params.entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `PandoPassthroughClientService.AutoAssistFullViewByDealeridByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n AutoAssistFullViewByDealeridByEntityidGET(params: PandoPassthroughClientService.AutoAssistFullViewByDealeridByEntityidGETParams): __Observable {\r\n return this.AutoAssistFullViewByDealeridByEntityidGETResponse(params).pipe(\r\n __map(_r => _r.body as GetFullConversicaConversationResponseDto)\r\n );\r\n }\r\n /**\r\n * @param params The `PandoPassthroughClientService.GetConversicaConversationStatusesByDealeridByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success as a list of status objects\r\n */\r\n GetConversicaConversationStatusesByDealeridByEntityidGET(params: PandoPassthroughClientService.GetConversicaConversationStatusesByDealeridByEntityidGETParams): __Observable> {\r\n return this.GetConversicaConversationStatusesByDealeridByEntityidGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n}\r\n\r\nmodule PandoPassthroughClientService {\r\n\r\n /**\r\n * Parameters for AutoAssistFullViewByDealeridByEntityidGET\r\n */\r\n export interface AutoAssistFullViewByDealeridByEntityidGETParams {\r\n entityId: string;\r\n dealerId: number;\r\n }\r\n export interface GetConversicaConversationStatusesByDealeridByEntityidGETParams {\r\n entityId: string;\r\n dealerId: number;\r\n }\r\n}\r\n\r\nexport { PandoPassthroughClientService }\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar user_service_1 = require(\"../services/user.service\");\nvar dealer_service_1 = require(\"../services/dealer.service\");\nvar menu_service_1 = require(\"../services/menu.service\");\nvar angular_1 = require(\"@uirouter/angular\");\nvar toaster_logger_service_1 = require(\"./toaster-logger.service\");\nvar translation_1 = require(\"./translation\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../services/user.service\"));\nvar i2 = __importStar(require(\"../services/dealer.service\"));\nvar i3 = __importStar(require(\"../services/menu.service\"));\nvar i4 = __importStar(require(\"../ajs-upgraded-providers\"));\nvar i5 = __importStar(require(\"@uirouter/angular\"));\nvar i6 = __importStar(require(\"./toaster-logger.service\"));\nvar LoggedInDataInitializationService = /** @class */ (function () {\n function LoggedInDataInitializationService(userService, dealerService, menuService, tmhDynamicLocale, stateService, loggerService) {\n this.userService = userService;\n this.dealerService = dealerService;\n this.menuService = menuService;\n this.tmhDynamicLocale = tmhDynamicLocale;\n this.stateService = stateService;\n this.loggerService = loggerService;\n }\n LoggedInDataInitializationService.prototype.initializeData = function () {\n var _this = this;\n return this.userService.getUserProfile()\n .then(function (userProfile) { return _this.getUserProfileComplete(userProfile); }, function () { return _this.getUserProfileFailed; });\n };\n LoggedInDataInitializationService.prototype.getUserProfileComplete = function (userProfile) {\n var _this = this;\n var countryCode = userProfile.cultureName.substr(0, 2);\n this.tmhDynamicLocale.set(countryCode);\n return this.setSelectedDealers(userProfile)\n .then(function () {\n return _this.dealerService\n .getDealersOneToOneStatus()\n .catch(function (e) { return _this.loggerService.debug(e); })\n .then(function () {\n translation_1.currentUserCulture$.next(userProfile.cultureName);\n // Do not use userProfile.dealerIds here, because we might\n // be an employee user who has changed their dealer\n // context.\n var dealerIds = _this.dealerService.getSelectedDealerIds();\n if (dealerIds) {\n return _this.menuService.getSiteMap(dealerIds);\n }\n });\n });\n };\n LoggedInDataInitializationService.prototype.setSelectedDealers = function (userProfile) {\n var _this = this;\n // Employee users should retain their selected dealers between login sessions.\n // (Assuming different employee users aren't using the same browser).\n // All other users must reset to their profile's list of dealers.\n var isDealerUser = !userProfile.employeeUser;\n if (isDealerUser || (!this.dealerService.getSelectedDealers() && !this.dealerService.getCXMViewSelectedStores())) {\n if (userProfile.dealerIds.length == 1) {\n this.dealerService.updateSelectedDealers([\n {\n id: userProfile.dealerIds[0],\n name: userProfile.dealerDisplayText\n }\n ], userProfile.dealerGroupId, userProfile.dealerDisplayText);\n return Promise.resolve();\n }\n else {\n return this.dealerService.getDealers()\n .then(function (dealers) {\n var selectedDealers = dealers.map(function (o) {\n return {\n id: o.dealerID,\n name: o.displayText\n };\n });\n return _this.dealerService.updateSelectedDealers(selectedDealers, userProfile.dealerGroupId, userProfile.dealerDisplayText);\n });\n }\n }\n return Promise.resolve();\n };\n LoggedInDataInitializationService.prototype.getUserProfileFailed = function () {\n this.stateService.go('errorUnauthorized', { errorState: 'noUserProfile' });\n };\n LoggedInDataInitializationService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LoggedInDataInitializationService_Factory() { return new LoggedInDataInitializationService(i0.ɵɵinject(i1.UserService), i0.ɵɵinject(i2.DealerService), i0.ɵɵinject(i3.MenuService), i0.ɵɵinject(i4.TmhDynamicLocale), i0.ɵɵinject(i5.StateService), i0.ɵɵinject(i6.ToasterLoggerService)); }, token: LoggedInDataInitializationService, providedIn: \"root\" });\n return LoggedInDataInitializationService;\n}());\nexports.LoggedInDataInitializationService = LoggedInDataInitializationService;\n","import { Injectable, Inject } from \"@angular/core\";\r\nimport { UserService } from \"../services/user.service\";\r\nimport { UserProfileDto } from \"../generated/models\";\r\nimport { DealerService } from \"../services/dealer.service\";\r\nimport { MenuService } from \"../services/menu.service\";\r\nimport { TmhDynamicLocale } from \"../ajs-upgraded-providers\";\r\nimport { StateService } from \"@uirouter/angular\";\r\nimport { ToasterLoggerService } from \"./toaster-logger.service\";\r\nimport { currentUserCulture$ } from './translation';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LoggedInDataInitializationService {\r\n constructor(private userService: UserService,\r\n private dealerService: DealerService,\r\n private menuService: MenuService,\r\n @Inject(TmhDynamicLocale) private tmhDynamicLocale,\r\n private stateService: StateService,\r\n private loggerService: ToasterLoggerService) { }\r\n\r\n public initializeData(): Promise {\r\n return this.userService.getUserProfile()\r\n .then(\r\n (userProfile) => this.getUserProfileComplete(userProfile),\r\n () => this.getUserProfileFailed\r\n );\r\n }\r\n\r\n private getUserProfileComplete(userProfile: UserProfileDto): Promise {\r\n\r\n const countryCode = userProfile.cultureName.substr(0, 2);\r\n this.tmhDynamicLocale.set(countryCode);\r\n\r\n return this.setSelectedDealers(userProfile)\r\n .then(() => {\r\n return this.dealerService\r\n .getDealersOneToOneStatus()\r\n .catch((e) => this.loggerService.debug(e))\r\n .then(() => {\r\n currentUserCulture$.next(userProfile.cultureName);\r\n\r\n // Do not use userProfile.dealerIds here, because we might\r\n // be an employee user who has changed their dealer\r\n // context.\r\n const dealerIds = this.dealerService.getSelectedDealerIds();\r\n if (dealerIds) {\r\n return this.menuService.getSiteMap(dealerIds);\r\n }\r\n })\r\n });\r\n }\r\n\r\n private setSelectedDealers(userProfile): Promise {\r\n\r\n // Employee users should retain their selected dealers between login sessions.\r\n // (Assuming different employee users aren't using the same browser).\r\n // All other users must reset to their profile's list of dealers.\r\n let isDealerUser = !userProfile.employeeUser;\r\n\r\n if (isDealerUser || (!this.dealerService.getSelectedDealers() && !this.dealerService.getCXMViewSelectedStores())) {\r\n if (userProfile.dealerIds.length == 1) {\r\n this.dealerService.updateSelectedDealers([\r\n {\r\n id: userProfile.dealerIds[0],\r\n name: userProfile.dealerDisplayText\r\n }\r\n ], userProfile.dealerGroupId, userProfile.dealerDisplayText);\r\n return Promise.resolve();\r\n } else {\r\n return this.dealerService.getDealers()\r\n .then((dealers) => {\r\n let selectedDealers = dealers.map(function (o) {\r\n return {\r\n id: o.dealerID,\r\n name: o.displayText\r\n };\r\n });\r\n return this.dealerService.updateSelectedDealers(\r\n selectedDealers,\r\n userProfile.dealerGroupId,\r\n userProfile.dealerDisplayText);\r\n });\r\n }\r\n }\r\n\r\n return Promise.resolve();\r\n }\r\n\r\n private getUserProfileFailed() {\r\n this.stateService.go('errorUnauthorized', { errorState: 'noUserProfile' });\r\n }\r\n}","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar AdminSettingsProductComponent = /** @class */ (function () {\n function AdminSettingsProductComponent(modalService, tService, logger) {\n this.modalService = modalService;\n this.tService = tService;\n this.logger = logger;\n this.dsa = {};\n this.onSaveChanges = new core_1.EventEmitter();\n }\n return AdminSettingsProductComponent;\n}());\nexports.AdminSettingsProductComponent = AdminSettingsProductComponent;\n","import { Component, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter } from '@angular/core';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerSettingResponseDto } from '../../generated/models';\r\n\r\n@Component({\r\n selector: 'admin-settings-product',\r\n templateUrl: './admin-settings-product.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsProductComponent {\r\n bsModalRef: BsModalRef;\r\n @Input() dsa: DealerSettingResponseDto = {};\r\n @Output() onSaveChanges = new EventEmitter();\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public logger: ToasterLoggerService,\r\n ) {\r\n }\r\n}","var path = '/app/components/reports/modals/lms-transcript-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"Tag-based Searches\"","var path = '/app/components/data-entry/data-entry-alerts.component.html';\nvar html = \"
1\\\">



\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/dashboard/opportunity-block.component.html';\nvar html = \"
0\\\" style=\\\"overflow:hidden\\\">
{{$ctrl.translateKey | translate}}
{{$ctrl.alertName + 'Name' | translate}} {{$ctrl.alertName + 'NameShort' | translate}}
{{$ctrl.alertCount}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./factory-rebate.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./factory-rebate.component\"));\nvar styles_FactoryRebateComponent = [i0.styles];\nvar RenderType_FactoryRebateComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FactoryRebateComponent, data: {} });\nexports.RenderType_FactoryRebateComponent = RenderType_FactoryRebateComponent;\nfunction View_FactoryRebateComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"factory-rebate\"], [\"translate\", \"factoryRebateLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"field-data\"], [\"id\", \"factory-rebate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵppd(5, 1)], function (_ck, _v) { var currVal_0 = \"factoryRebateLabel\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, _ck(_v, 5, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FactoryRebateComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleCurrencyPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FactoryRebateComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.value != null) && (_co.programSourceId === _co.programSourceTypes.default)); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_FactoryRebateComponent_0 = View_FactoryRebateComponent_0;\nfunction View_FactoryRebateComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"factory-rebate\", [], null, null, null, View_FactoryRebateComponent_0, RenderType_FactoryRebateComponent)), i1.ɵdid(1, 114688, null, 0, i6.FactoryRebateComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_FactoryRebateComponent_Host_0 = View_FactoryRebateComponent_Host_0;\nvar FactoryRebateComponentNgFactory = i1.ɵccf(\"factory-rebate\", i6.FactoryRebateComponent, View_FactoryRebateComponent_Host_0, { value: \"value\", programSourceId: \"programSourceId\" }, {}, []);\nexports.FactoryRebateComponentNgFactory = FactoryRebateComponentNgFactory;\n","
\r\n \r\n {{value | localeCurrency}}\r\n
","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar log_action_shortcut_service_1 = require(\"../../../services/log-action-shortcut.service\");\nvar LogActionShortcutsComponent = /** @class */ (function () {\n function LogActionShortcutsComponent(logActionShortcutService) {\n this.logActionShortcutService = logActionShortcutService;\n this.logShortcut = new core_1.EventEmitter();\n }\n LogActionShortcutsComponent.prototype.ngOnInit = function () {\n };\n LogActionShortcutsComponent.prototype.logCall = function () {\n this.logShortcut.emit();\n this.logActionShortcutService.logCall();\n };\n LogActionShortcutsComponent.prototype.logNote = function () {\n this.logShortcut.emit();\n this.logActionShortcutService.logNote();\n };\n LogActionShortcutsComponent.prototype.scheduleAppt = function () {\n this.logShortcut.emit();\n this.logActionShortcutService.scheduleAppt();\n };\n return LogActionShortcutsComponent;\n}());\nexports.LogActionShortcutsComponent = LogActionShortcutsComponent;\n","import { Component, EventEmitter, Input, OnInit, Output, ChangeDetectionStrategy } from '@angular/core';\r\nimport { DealSheetOpportunity } from '../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { LogActionShortcutService } from '../../../services/log-action-shortcut.service';\r\n\r\n@Component({\r\n selector: 'log-action-shortcuts',\r\n templateUrl: './log-action-shortcuts.component-ng.html',\r\n styleUrls: ['./log-action-shortcuts.component.scss']\r\n})\r\nexport class LogActionShortcutsComponent implements OnInit {\r\n\r\n constructor(private logActionShortcutService: LogActionShortcutService) { }\r\n\r\n @Output() logShortcut = new EventEmitter();\r\n @Input() isTextingEnabled: boolean;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() opportunity: DealSheetOpportunity;\r\n\r\n ngOnInit() {\r\n }\r\n\r\n public logCall() {\r\n this.logShortcut.emit();\r\n this.logActionShortcutService.logCall();\r\n }\r\n\r\n public logNote() {\r\n this.logShortcut.emit();\r\n this.logActionShortcutService.logNote();\r\n }\r\n\r\n public scheduleAppt() {\r\n this.logShortcut.emit();\r\n this.logActionShortcutService.scheduleAppt();\r\n }\r\n\r\n}\r\n","\"use strict\";\n// import { Component, OnInit } from '@angular/core';\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// @Component({\n// selector: 'pull-forward',\n// templateUrl: './pull-forward.component.html',\n// styleUrls: ['./pull-forward.component.scss']\n// })\n// export class PullForwardComponent implements OnInit {\n// constructor() { }\n// ngOnInit() {\n// }\n// }\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar PullForwardComponent = /** @class */ (function (_super) {\n __extends(PullForwardComponent, _super);\n function PullForwardComponent(elementRef, injector) {\n return _super.call(this, 'pullForward', elementRef, injector) || this;\n }\n return PullForwardComponent;\n}(static_1.UpgradeComponent));\nexports.PullForwardComponent = PullForwardComponent;\n","// import { Component, OnInit } from '@angular/core';\r\n\r\n// @Component({\r\n// selector: 'pull-forward',\r\n// templateUrl: './pull-forward.component.html',\r\n// styleUrls: ['./pull-forward.component.scss']\r\n// })\r\n// export class PullForwardComponent implements OnInit {\r\n\r\n// constructor() { }\r\n\r\n// ngOnInit() {\r\n// }\r\n\r\n// }\r\n\r\nimport { Directive, ElementRef, Injector, Input } from '@angular/core';\r\nimport { UpgradeComponent } from '@angular/upgrade/static';\r\n\r\n@Directive({\r\n selector: 'pull-forward'\r\n})\r\nexport class PullForwardComponent extends UpgradeComponent {\r\n @Input() value: number;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('pullForward', elementRef, injector);\r\n }\r\n}","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar user_service_1 = require(\"./user.service\");\nvar constants_1 = require(\"../constants\");\nvar lodash_1 = __importDefault(require(\"lodash\"));\nvar services_1 = require(\"../generated/services\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../modules/storage/storage.service\"));\nvar i2 = __importStar(require(\"./user.service\"));\nvar i3 = __importStar(require(\"../generated/services/user-module-access-client.service\"));\nvar AuthorizationService = /** @class */ (function () {\n function AuthorizationService(storageService, userService, userModuleAccessClient) {\n this.storageService = storageService;\n this.userService = userService;\n this.userModuleAccessClient = userModuleAccessClient;\n }\n /**\n * Gets an array of access right IDs for the current user.\n * from the server.\n */\n AuthorizationService.prototype.getModuleIds = function (dealerIds) {\n var _this = this;\n return this.getAccessRightsAndModules()\n .then(function (result) {\n var moduleIds = _this.convertToModuleIds(result.modules, dealerIds);\n _this.storageService.setItem('moduleIds', moduleIds);\n return moduleIds;\n });\n };\n AuthorizationService.prototype.getModuleIdsFromCache = function (dealerIds) {\n var moduleIds = this.storageService.getItem(constants_1.StorageKeys.ModuleIds);\n if (moduleIds && moduleIds.length > 0) {\n return Promise.resolve(moduleIds);\n }\n return this.getModuleIds(dealerIds);\n };\n AuthorizationService.prototype.getAccessRightIdsFromCache = function (dealerIds) {\n var accessRightIds = this.storageService.getItem(constants_1.StorageKeys.AccessRightIds);\n if (accessRightIds && accessRightIds.length > 0) {\n return Promise.resolve(accessRightIds);\n }\n return this.getAccessRightIds(dealerIds);\n };\n /**\n * Gets an array of access right IDs for the current user.\n * from the server.\n */\n AuthorizationService.prototype.getAccessRightIds = function (dealerIds) {\n var _this = this;\n return this.getAccessRightsAndModules()\n .then(function (result) {\n var accessRightIds = _this.convertToAccessRightIds(result.accessRights, dealerIds);\n _this.storageService.setItem('accessRightIds', accessRightIds);\n return accessRightIds;\n });\n };\n AuthorizationService.prototype.getAccessRightsAndModules = function () {\n var _this = this;\n if (!this.userModuleAccessPromise) {\n this.userModuleAccessPromise = this.userModuleAccessClient.GET().toPromise()\n .then(function (response) {\n _this.userModuleAccessPromise = null;\n return response;\n });\n }\n return this.userModuleAccessPromise;\n };\n AuthorizationService.prototype.getDealerModules = function () {\n return __awaiter(this, void 0, void 0, function () {\n var userProfile;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.userService.getUserProfile()];\n case 1:\n userProfile = _a.sent();\n return [2 /*return*/, userProfile.dealerModules];\n }\n });\n });\n };\n AuthorizationService.prototype.isAuthorized = function (permissionValue) {\n var accessRightIds = this.storageService.getItem('accessRightIds');\n if (accessRightIds) {\n return accessRightIds.indexOf(permissionValue) > -1;\n }\n else {\n return false;\n }\n };\n AuthorizationService.prototype.getUserCountryID = function () {\n var savedCultureName = this.storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n cultureName = cultureName.toLowerCase();\n switch (cultureName) {\n case 'en-gb':\n return 3;\n case 'en-ca':\n return 2;\n case 'fr-ca':\n return 2;\n case 'en-us':\n return 1;\n default:\n return 0;\n }\n };\n AuthorizationService.prototype.getUserCultureName = function () {\n var savedCultureName = this.storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n cultureName = cultureName.toLowerCase();\n return cultureName;\n };\n AuthorizationService.prototype.getDealSheetPermissions = function (accessRightIds) {\n if (accessRightIds && accessRightIds.length > 0) {\n this.storageService.setItem(constants_1.StorageKeys.AccessRightIds, accessRightIds);\n }\n var permissions = {\n serviceHistory: this.isAuthorized(constants_1.AuthorizationKeys.ServiceHistory),\n viewCustomer: this.isAuthorized(constants_1.AuthorizationKeys.ViewCustomer),\n viewVehicle: this.isAuthorized(constants_1.AuthorizationKeys.VehicleDetails),\n viewContract: this.isAuthorized(constants_1.AuthorizationKeys.SaleDetails),\n viewChangeLog: this.isAuthorized(constants_1.AuthorizationKeys.ChangeLog),\n viewInventory: this.isAuthorized(constants_1.AuthorizationKeys.Inventory),\n viewTradeValue: this.isAuthorized(constants_1.AuthorizationKeys.TradeValue),\n editMileage: this.isAuthorized(constants_1.AuthorizationKeys.Odometer),\n editContract: this.isAuthorized(constants_1.AuthorizationKeys.Sale),\n editConquestContract: this.isAuthorized(constants_1.AuthorizationKeys.ConvertService),\n editPrice: this.isAuthorized(constants_1.AuthorizationKeys.Price),\n editCustomer: this.isAuthorized(constants_1.AuthorizationKeys.EditCustomer),\n editAssignedUser: this.isAuthorized(constants_1.AuthorizationKeys.Reassign),\n editActivity: this.isAuthorized(constants_1.AuthorizationKeys.PostActivity),\n editPayoffAmount: this.isAuthorized(constants_1.AuthorizationKeys.Payoff),\n editMarkAsNotOwn: this.isAuthorized(constants_1.AuthorizationKeys.MarkAsNotOwn),\n editMarkAsSold: this.isAuthorized(constants_1.AuthorizationKeys.MarkAsSold),\n editMarkAsPaidOff: this.isAuthorized(constants_1.AuthorizationKeys.MarkAsPaidOff),\n editMarkAsWarranty: this.isAuthorized(constants_1.AuthorizationKeys.MarkAsWarranty),\n editMarkAsWatch: this.isAuthorized(constants_1.AuthorizationKeys.MarkAsWatch),\n warranty: this.isAuthorized(constants_1.AuthorizationKeys.Warranty),\n activitiesLog: this.isAuthorized(constants_1.AuthorizationKeys.ActivitiesLog),\n postActivity: this.isAuthorized(constants_1.AuthorizationKeys.PostActivity),\n print: this.isAuthorized(constants_1.AuthorizationKeys.Print),\n printTemplate: this.isAuthorized(constants_1.AuthorizationKeys.PrintTemplate),\n requestCreditPrescreen: this.isAuthorized(constants_1.AuthorizationKeys.CreditConvertSoftPullManual),\n emailTemplate: this.isAuthorized(constants_1.AuthorizationKeys.EmailTemplate),\n vehicleHistoryReports: this.isAuthorized(constants_1.AuthorizationKeys.VehicleHistoryReports),\n payments: this.isAuthorized(constants_1.AuthorizationKeys.Payments),\n paymentDetails: this.isAuthorized(constants_1.AuthorizationKeys.PaymentDetails),\n editDoNotContact: this.isAuthorized(constants_1.AuthorizationKeys.DoNotContact),\n viewAlertScripts: this.isAuthorized(constants_1.AuthorizationKeys.Script),\n manageSearches: this.isAuthorized(constants_1.AuthorizationKeys.ManageSearches),\n sendTextSales: this.isAuthorized(constants_1.AuthorizationKeys.SendTextSales),\n sendTextService: this.isAuthorized(constants_1.AuthorizationKeys.SendTextService),\n crossBrandMVO: this.isAuthorized(constants_1.AuthorizationKeys.CrossBrandMVO)\n };\n return Promise.resolve(permissions);\n };\n AuthorizationService.prototype.convertToModuleIds = function (modules, dealerIds) {\n return modules\n // Only include modules linked to our current dealers\n .filter(function (module) {\n return lodash_1.default.some(lodash_1.default.intersection(module.moduleDealerIds, dealerIds));\n })\n .map(function (module) { return module.moduleId; });\n };\n AuthorizationService.prototype.convertToAccessRightIds = function (accessRights, dealerIds) {\n return lodash_1.default.uniq(accessRights\n // Only include access rights for our current dealers\n .filter(function (accessRight) {\n return lodash_1.default.some(lodash_1.default.intersection(accessRight.accessRightDealerIds, dealerIds));\n })\n .map(function (accessRight) { return accessRight.accessRightId; }));\n };\n AuthorizationService.prototype.isEuroLite = function () {\n var userProfile = this.storageService.getItem('userProfile');\n if (userProfile) {\n return userProfile.isLiteUser;\n }\n return false;\n };\n AuthorizationService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AuthorizationService_Factory() { return new AuthorizationService(i0.ɵɵinject(i1.StorageService), i0.ɵɵinject(i2.UserService), i0.ɵɵinject(i3.UserModuleAccessClientService)); }, token: AuthorizationService, providedIn: \"root\" });\n return AuthorizationService;\n}());\nexports.AuthorizationService = AuthorizationService;\n","import { Injectable } from '@angular/core';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\nimport { UserService } from './user.service';\r\nimport { AuthorizationKeys, Modules, StorageKeys } from '../constants';\r\nimport _ from 'lodash';\r\nimport { UserModuleAccessClientService } from '../generated/services';\r\nimport { UserModuleAccessDto, UserAccessRightDealerDto, ModuleAccessDto, UserModuleDealerDto } from '../generated/models';\r\nimport { DealSheetPermissions } from '../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthorizationService {\r\n\r\n constructor(private storageService: StorageService,\r\n private userService: UserService,\r\n private userModuleAccessClient: UserModuleAccessClientService) { }\r\n\r\n // Storing this promise causes subsequent calls to share a single\r\n // request, rather than making separate requests for no reason.. Once\r\n // the request completes, we set it back to null so the next call will\r\n // fetch data from the server again.\r\n private userModuleAccessPromise: Promise;\r\n\r\n /**\r\n * Gets an array of access right IDs for the current user.\r\n * from the server.\r\n */\r\n public getModuleIds(dealerIds: number[]): Promise {\r\n return this.getAccessRightsAndModules()\r\n .then((result) => {\r\n const moduleIds = this.convertToModuleIds(result.modules, dealerIds);\r\n this.storageService.setItem('moduleIds', moduleIds);\r\n return moduleIds;\r\n });\r\n }\r\n\r\n public getModuleIdsFromCache(dealerIds: number[]): Promise {\r\n const moduleIds = this.storageService.getItem(StorageKeys.ModuleIds);\r\n\r\n if (moduleIds && moduleIds.length > 0) {\r\n return Promise.resolve(moduleIds);\r\n }\r\n\r\n return this.getModuleIds(dealerIds);\r\n }\r\n\r\n public getAccessRightIdsFromCache(dealerIds: number[]): Promise {\r\n const accessRightIds = this.storageService.getItem(StorageKeys.AccessRightIds);\r\n\r\n if (accessRightIds && accessRightIds.length > 0) {\r\n return Promise.resolve(accessRightIds);\r\n }\r\n\r\n return this.getAccessRightIds(dealerIds);\r\n }\r\n\r\n /**\r\n * Gets an array of access right IDs for the current user.\r\n * from the server.\r\n */\r\n public getAccessRightIds(dealerIds: number[]): Promise {\r\n return this.getAccessRightsAndModules()\r\n .then((result) => {\r\n const accessRightIds = this.convertToAccessRightIds(result.accessRights, dealerIds);\r\n this.storageService.setItem('accessRightIds', accessRightIds);\r\n return accessRightIds;\r\n });\r\n }\r\n private getAccessRightsAndModules(): Promise {\r\n if (!this.userModuleAccessPromise) {\r\n this.userModuleAccessPromise = this.userModuleAccessClient.GET().toPromise()\r\n .then((response) => {\r\n this.userModuleAccessPromise = null;\r\n return response;\r\n });\r\n }\r\n\r\n return this.userModuleAccessPromise;\r\n }\r\n\r\n public async getDealerModules(): Promise {\r\n const userProfile = await this.userService.getUserProfile();\r\n return userProfile.dealerModules;\r\n }\r\n\r\n public isAuthorized(permissionValue): boolean {\r\n const accessRightIds = this.storageService.getItem('accessRightIds');\r\n if (accessRightIds) {\r\n return accessRightIds.indexOf(permissionValue) > -1;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n public getUserCountryID(): number {\r\n const savedCultureName = this.storageService.getItem('cultureName');\r\n let cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n cultureName = cultureName.toLowerCase();\r\n\r\n switch (cultureName) {\r\n case 'en-gb':\r\n return 3;\r\n case 'en-ca':\r\n return 2;\r\n case 'fr-ca':\r\n return 2;\r\n case 'en-us':\r\n return 1;\r\n default:\r\n return 0;\r\n }\r\n }\r\n\r\n public getUserCultureName(): string {\r\n const savedCultureName = this.storageService.getItem('cultureName');\r\n let cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n cultureName = cultureName.toLowerCase();\r\n\r\n return cultureName;\r\n }\r\n\r\n public getDealSheetPermissions(accessRightIds?: number[]): Promise {\r\n if (accessRightIds && accessRightIds.length > 0) {\r\n this.storageService.setItem(StorageKeys.AccessRightIds, accessRightIds);\r\n }\r\n\r\n const permissions = {\r\n serviceHistory: this.isAuthorized(AuthorizationKeys.ServiceHistory),\r\n viewCustomer: this.isAuthorized(AuthorizationKeys.ViewCustomer),\r\n viewVehicle: this.isAuthorized(AuthorizationKeys.VehicleDetails),\r\n viewContract: this.isAuthorized(AuthorizationKeys.SaleDetails),\r\n viewChangeLog: this.isAuthorized(AuthorizationKeys.ChangeLog),\r\n viewInventory: this.isAuthorized(AuthorizationKeys.Inventory),\r\n viewTradeValue: this.isAuthorized(AuthorizationKeys.TradeValue),\r\n editMileage: this.isAuthorized(AuthorizationKeys.Odometer),\r\n editContract: this.isAuthorized(AuthorizationKeys.Sale),\r\n editConquestContract: this.isAuthorized(AuthorizationKeys.ConvertService),\r\n editPrice: this.isAuthorized(AuthorizationKeys.Price),\r\n editCustomer: this.isAuthorized(AuthorizationKeys.EditCustomer),\r\n editAssignedUser: this.isAuthorized(AuthorizationKeys.Reassign),\r\n editActivity: this.isAuthorized(AuthorizationKeys.PostActivity),\r\n editPayoffAmount: this.isAuthorized(AuthorizationKeys.Payoff),\r\n editMarkAsNotOwn: this.isAuthorized(AuthorizationKeys.MarkAsNotOwn),\r\n editMarkAsSold: this.isAuthorized(AuthorizationKeys.MarkAsSold),\r\n editMarkAsPaidOff: this.isAuthorized(AuthorizationKeys.MarkAsPaidOff),\r\n editMarkAsWarranty: this.isAuthorized(AuthorizationKeys.MarkAsWarranty),\r\n editMarkAsWatch: this.isAuthorized(AuthorizationKeys.MarkAsWatch),\r\n warranty: this.isAuthorized(AuthorizationKeys.Warranty),\r\n activitiesLog: this.isAuthorized(AuthorizationKeys.ActivitiesLog),\r\n postActivity: this.isAuthorized(AuthorizationKeys.PostActivity),\r\n print: this.isAuthorized(AuthorizationKeys.Print),\r\n printTemplate: this.isAuthorized(AuthorizationKeys.PrintTemplate),\r\n requestCreditPrescreen: this.isAuthorized(AuthorizationKeys.CreditConvertSoftPullManual),\r\n emailTemplate: this.isAuthorized(AuthorizationKeys.EmailTemplate),\r\n vehicleHistoryReports: this.isAuthorized(AuthorizationKeys.VehicleHistoryReports),\r\n payments: this.isAuthorized(AuthorizationKeys.Payments),\r\n paymentDetails: this.isAuthorized(AuthorizationKeys.PaymentDetails),\r\n editDoNotContact: this.isAuthorized(AuthorizationKeys.DoNotContact),\r\n viewAlertScripts: this.isAuthorized(AuthorizationKeys.Script),\r\n manageSearches: this.isAuthorized(AuthorizationKeys.ManageSearches),\r\n sendTextSales: this.isAuthorized(AuthorizationKeys.SendTextSales),\r\n sendTextService: this.isAuthorized(AuthorizationKeys.SendTextService),\r\n crossBrandMVO: this.isAuthorized(AuthorizationKeys.CrossBrandMVO)\r\n } as DealSheetPermissions;\r\n\r\n return Promise.resolve(permissions);\r\n }\r\n\r\n private convertToModuleIds(modules: UserModuleDealerDto[], dealerIds: number[]) {\r\n return modules\r\n // Only include modules linked to our current dealers\r\n .filter((module) => {\r\n return _.some(_.intersection(module.moduleDealerIds, dealerIds));\r\n })\r\n .map((module) => module.moduleId);\r\n }\r\n\r\n private convertToAccessRightIds(accessRights: UserAccessRightDealerDto[], dealerIds: number[]) {\r\n return _.uniq(\r\n accessRights\r\n // Only include access rights for our current dealers\r\n .filter(function (accessRight) {\r\n return _.some(_.intersection(accessRight.accessRightDealerIds, dealerIds));\r\n })\r\n .map(function (accessRight) { return accessRight.accessRightId; }));\r\n }\r\n\r\n public isEuroLite(): boolean {\r\n const userProfile = this.storageService.getItem('userProfile');\r\n if (userProfile) {\r\n return userProfile.isLiteUser;\r\n }\r\n return false;\r\n }\r\n\r\n}\r\n","module.exports = \"\"","var path = '/app/components/modals/bulk-template-wizard-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"\"","'use strict';\nvar $export = require('./_export');\nvar $forEach = require('./_array-methods')(0);\nvar STRICT = require('./_strict-method')([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n forEach: function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments[1]);\n }\n});\n","var path = '/app/components/reports/lms-transcript.component.html';\nvar html = \"
{{ $ctrl.transcript.fullName }} - {{ $ctrl.today | localeDateTime }}

{{ 'certification' | translate }}
{{ 'certificate' | translate }}
{{ 'issuedDate' | translate }}
{{ 'expirationDate' | translate }}

0\\\" ng-repeat=\\\"certificate in $ctrl.transcript.certificates\\\">
{{ certificate.code }}: {{ certificate.name }}
{{ certificate.issuedDateUtc | localeDate }}
{{ certificate.expiresDateUtc ? (certificate.expiresDateUtc | localeDate) : ('never' | translate) }}
{{ 'noRecordsAvailable' | translate }}

{{ 'testingAndAssessmentResults' | translate }}
{{ 'test' | translate }}
{{ 'date' | translate }}
{{ 'score' | translate }}
{{ 'count' | translate }}
{{ 'result' | translate }}

0\\\" ng-repeat=\\\"testResult in $ctrl.transcript.testResults\\\">
{{ testResult.name }}
{{ testResult.endDateUtc | localeDate }}
{{ testResult.score }} / {{ testResult.maxScore }}
{{ testResult.totalAttempts }}
{{ 'noRecordsAvailable' | translate }}

{{ 'webinarAttendance' | translate }}
{{ 'unit' | translate }}
{{ 'count' | translate }}
{{ 'lastAttended' | translate }}

0\\\" ng-repeat=\\\"attendance in $ctrl.transcript.attendances\\\">
{{ attendance.unitName }}
{{ attendance.count }}
{{ attendance.lastAttendedUtc | localeDate }}
{{ 'noRecordsAvailable' | translate }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = require('./_export');\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n","module.exports = __webpack_public_path__ + \"icon-alertminer-flex.9e2a445fc8ed054816b9.png\";","var path = '/app/components/deal-sheet/other-vehicles-owned.component.html';\nvar html = \"

0\\\" class=\\\"table table-hover\\\">
{{data.currentVehicle.vin}} {{data.currentVehicle.yearID}} {{data.currentVehicle.makeName}} {{data.currentVehicle.modelName}} {{data.currentVehicle.trimName}} {{data.stillOwned ? 'Yes' : 'No'}} {{data.currentContract.startDate | localeDate}} {{data.currentVehicle.lastServiceDate | localeDate}} {{data.currentVehicle.type == 0 ? 'new' : 'used' | translate }} {{data.currentContract.soldByFullName}} {{data.assignedUserFullName}} {{data.dealerName}}
99\\\" translate=\\\"moreVehiclesFound\\\"> \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var TO_PRIMITIVE = require('./_wks')('toPrimitive');\nvar proto = Date.prototype;\n\nif (!(TO_PRIMITIVE in proto)) require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../ajs-upgraded-providers\"));\nvar AdminTemplatesService = /** @class */ (function () {\n function AdminTemplatesService(legacyService) {\n this.legacyService = legacyService;\n }\n AdminTemplatesService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AdminTemplatesService_Factory() { return new AdminTemplatesService(i0.ɵɵinject(i1.LegacyService)); }, token: AdminTemplatesService, providedIn: \"root\" });\n return AdminTemplatesService;\n}());\nexports.AdminTemplatesService = AdminTemplatesService;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { from, Observable, throwError } from 'rxjs';\r\nimport { catchError, flatMap, map, take } from 'rxjs/operators';\r\nimport { LegacyService } from '../ajs-upgraded-providers';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\n\r\nexport class AdminTemplatesService {\r\n constructor(@Inject(LegacyService) private legacyService\r\n ) {\r\n }\r\n\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../tooltip.component.ngfactory\"));\nvar i5 = __importStar(require(\"../tooltip.component\"));\nvar i6 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i7 = __importStar(require(\"../general/customer-culture-select/customer-culture-select.component.ngfactory\"));\nvar i8 = __importStar(require(\"../general/customer-culture-select/customer-culture-select.component\"));\nvar i9 = __importStar(require(\"./admin-settings-dealerinfo.component\"));\nvar i10 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i11 = __importStar(require(\"../../services/user.service\"));\nvar i12 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar i13 = __importStar(require(\"../../services/customer.service\"));\nvar i14 = __importStar(require(\"../../modules/storage/storage.service\"));\nvar styles_AdminSettingsDealerInfoComponent = [];\nvar RenderType_AdminSettingsDealerInfoComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsDealerInfoComponent, data: {} });\nexports.RenderType_AdminSettingsDealerInfoComponent = RenderType_AdminSettingsDealerInfoComponent;\nfunction View_AdminSettingsDealerInfoComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [[\"translate\", \"dsAdmin_byMake\"]], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dsAdmin_byMake\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminSettingsDealerInfoComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.makeID, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.makeID, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.makeName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsDealerInfoComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 12, \"div\", [[\"style\", \"float:left;margin-left:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 11, \"select\", [[\"class\", \"form-control\"], [\"name\", \"dealershipInfo_DealerMake\"], [\"style\", \"width:200px\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedMakeId = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.makeChanged() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i2.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i0.ɵdid(4, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(6, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵeld(7, 0, null, null, 3, \"option\", [[\"selected\", \"\"], [\"value\", \"0\"]], null, null, null, null, null)), i0.ɵdid(8, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(9, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"Default\"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_3)), i0.ɵdid(12, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = \"dealershipInfo_DealerMake\"; var currVal_8 = _co.selectedMakeId; _ck(_v, 4, 0, currVal_7, currVal_8); var currVal_9 = \"0\"; _ck(_v, 8, 0, currVal_9); var currVal_10 = \"0\"; _ck(_v, 9, 0, currVal_10); var currVal_11 = _co.dsa.dealerMakeFranchiseInfo; _ck(_v, 12, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 6).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 6).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 6).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 6).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 6).ngClassValid; var currVal_5 = i0.ɵnov(_v, 6).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nfunction View_AdminSettingsDealerInfoComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(1, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null)], function (_ck, _v) { var currVal_0 = \"dsAdmin_dealershipInfo\"; var currVal_1 = \"dsAdmin_dealershipInfoTooltip\"; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_AdminSettingsDealerInfoComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(1, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null)], function (_ck, _v) { var currVal_0 = \"dsAdmin_dealershipInfoByMake\"; var currVal_1 = \"dsAdmin_dealershipInfoByMakeTooltip\"; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_AdminSettingsDealerInfoComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"row settingItem\"], [\"style\", \"padding-top:20px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"translate\", \"dsAdmin_dealershipName\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵted(4, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = \"dsAdmin_dealershipName\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.selectedMake().dealerName; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_AdminSettingsDealerInfoComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.timeZoneId, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.timeZoneId, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.timeZoneInfo.DisplayName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsDealerInfoComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"-\", \"\"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.stateAbbr, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.stateAbbr, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.stateAbbr; var currVal_3 = _v.context.$implicit.stateName; _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_AdminSettingsDealerInfoComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 81, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 14, \"div\", [[\"class\", \"row settingItem\"], [\"style\", \"padding-top:10px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_dealerTimeZone\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 11, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 10, \"select\", [[\"class\", \"form-control\"], [\"name\", \"DealerContactInfo.TimeZoneID\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerContactInfo.timeZoneID = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(6, 16384, null, 0, i2.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i0.ɵdid(8, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(10, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵeld(11, 0, null, null, 2, \"option\", [[\"value\", \"\"]], null, null, null, null, null)), i0.ɵdid(12, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(13, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_8)), i0.ɵdid(15, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(16, 0, null, null, 9, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_dealerAddress\"]], null, null, null, null, null)), i0.ɵdid(18, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 6, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 5, \"input\", [[\"class\", \"input-sm textbox\"], [\"name\", \"DealerContactInfo.DealerAddress\"], [\"style\", \"width:200px\"], [\"type\", \"text\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 21)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 21).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 21)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 21)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerContactInfo.dealerAddress = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(21, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i0.ɵdid(23, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(25, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵeld(26, 0, null, null, 9, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(27, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_dealerAddressLine2\"]], null, null, null, null, null)), i0.ɵdid(28, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(29, 0, null, null, 6, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(30, 0, null, null, 5, \"input\", [[\"class\", \"input-sm textbox\"], [\"name\", \"DealerContactInfo.DealerAddress2\"], [\"style\", \"width:200px\"], [\"type\", \"text\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 31)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 31).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 31)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 31)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerContactInfo.dealerAddress2 = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(31, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i0.ɵdid(33, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(35, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵeld(36, 0, null, null, 9, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(37, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_dealerCity\"]], null, null, null, null, null)), i0.ɵdid(38, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(39, 0, null, null, 6, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(40, 0, null, null, 5, \"input\", [[\"class\", \"input-sm textbox\"], [\"name\", \"DealerContactInfo.DealerCity\"], [\"style\", \"width:200px\"], [\"type\", \"text\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 41)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 41).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 41)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 41)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerContactInfo.dealerCity = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(41, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i0.ɵdid(43, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(45, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵeld(46, 0, null, null, 15, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(47, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_dealerState\"]], null, null, null, null, null)), i0.ɵdid(48, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(49, 0, null, null, 12, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(50, 0, null, null, 11, \"select\", [[\"class\", \"form-control\"], [\"name\", \"DealerContactInfo.DealerState\"], [\"style\", \"width:200px\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 51).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 51).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerContactInfo.dealerState = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(51, 16384, null, 0, i2.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i0.ɵdid(53, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(55, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵeld(56, 0, null, null, 3, \"option\", [[\"translate\", \"selectStateOption\"], [\"value\", \"\"]], null, null, null, null, null)), i0.ɵdid(57, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(58, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), i0.ɵdid(59, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_9)), i0.ɵdid(61, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(62, 0, null, null, 9, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(63, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_dealerZipCode\"]], null, null, null, null, null)), i0.ɵdid(64, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(65, 0, null, null, 6, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(66, 0, null, null, 5, \"input\", [[\"class\", \"input-sm textbox\"], [\"name\", \"DealerContactInfo.DealerZipCode\"], [\"type\", \"text\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 67)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 67).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 67)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 67)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerContactInfo.dealerZipCode = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(67, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i0.ɵdid(69, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(71, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵeld(72, 0, null, null, 9, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(73, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_dealerWebSiteURL\"]], null, null, null, null, null)), i0.ɵdid(74, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(75, 0, null, null, 6, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(76, 0, null, null, 5, \"input\", [[\"class\", \"input-sm textbox\"], [\"name\", \"DealerContactInfo.DealerURL\"], [\"style\", \"width:200px\"], [\"type\", \"text\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 77)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 77).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 77)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 77)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerContactInfo.dealerURL = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(77, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i0.ɵdid(79, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(81, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_dealerTimeZone\"; _ck(_v, 3, 0, currVal_0); var currVal_8 = \"DealerContactInfo.TimeZoneID\"; var currVal_9 = _co.dsa.dealerContactInfo.timeZoneID; _ck(_v, 8, 0, currVal_8, currVal_9); var currVal_10 = \"\"; _ck(_v, 12, 0, currVal_10); var currVal_11 = \"\"; _ck(_v, 13, 0, currVal_11); var currVal_12 = _co.dsa.timeZone; _ck(_v, 15, 0, currVal_12); var currVal_13 = \"dsAdmin_dealerAddress\"; _ck(_v, 18, 0, currVal_13); var currVal_21 = \"DealerContactInfo.DealerAddress\"; var currVal_22 = _co.dsa.dealerContactInfo.dealerAddress; _ck(_v, 23, 0, currVal_21, currVal_22); var currVal_23 = \"dsAdmin_dealerAddressLine2\"; _ck(_v, 28, 0, currVal_23); var currVal_31 = \"DealerContactInfo.DealerAddress2\"; var currVal_32 = _co.dsa.dealerContactInfo.dealerAddress2; _ck(_v, 33, 0, currVal_31, currVal_32); var currVal_33 = \"dsAdmin_dealerCity\"; _ck(_v, 38, 0, currVal_33); var currVal_41 = \"DealerContactInfo.DealerCity\"; var currVal_42 = _co.dsa.dealerContactInfo.dealerCity; _ck(_v, 43, 0, currVal_41, currVal_42); var currVal_43 = \"dsAdmin_dealerState\"; _ck(_v, 48, 0, currVal_43); var currVal_51 = \"DealerContactInfo.DealerState\"; var currVal_52 = _co.dsa.dealerContactInfo.dealerState; _ck(_v, 53, 0, currVal_51, currVal_52); var currVal_53 = \"\"; _ck(_v, 57, 0, currVal_53); var currVal_54 = \"\"; _ck(_v, 58, 0, currVal_54); var currVal_55 = \"selectStateOption\"; _ck(_v, 59, 0, currVal_55); var currVal_56 = _co.dsa.state; _ck(_v, 61, 0, currVal_56); var currVal_57 = \"dsAdmin_dealerZipCode\"; _ck(_v, 64, 0, currVal_57); var currVal_65 = \"DealerContactInfo.DealerZipCode\"; var currVal_66 = _co.dsa.dealerContactInfo.dealerZipCode; _ck(_v, 69, 0, currVal_65, currVal_66); var currVal_67 = \"dsAdmin_dealerWebSiteURL\"; _ck(_v, 74, 0, currVal_67); var currVal_75 = \"DealerContactInfo.DealerURL\"; var currVal_76 = _co.dsa.dealerContactInfo.dealerURL; _ck(_v, 79, 0, currVal_75, currVal_76); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 10).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 10).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 10).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 10).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 10).ngClassValid; var currVal_6 = i0.ɵnov(_v, 10).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 10).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_14 = i0.ɵnov(_v, 25).ngClassUntouched; var currVal_15 = i0.ɵnov(_v, 25).ngClassTouched; var currVal_16 = i0.ɵnov(_v, 25).ngClassPristine; var currVal_17 = i0.ɵnov(_v, 25).ngClassDirty; var currVal_18 = i0.ɵnov(_v, 25).ngClassValid; var currVal_19 = i0.ɵnov(_v, 25).ngClassInvalid; var currVal_20 = i0.ɵnov(_v, 25).ngClassPending; _ck(_v, 20, 0, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20); var currVal_24 = i0.ɵnov(_v, 35).ngClassUntouched; var currVal_25 = i0.ɵnov(_v, 35).ngClassTouched; var currVal_26 = i0.ɵnov(_v, 35).ngClassPristine; var currVal_27 = i0.ɵnov(_v, 35).ngClassDirty; var currVal_28 = i0.ɵnov(_v, 35).ngClassValid; var currVal_29 = i0.ɵnov(_v, 35).ngClassInvalid; var currVal_30 = i0.ɵnov(_v, 35).ngClassPending; _ck(_v, 30, 0, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30); var currVal_34 = i0.ɵnov(_v, 45).ngClassUntouched; var currVal_35 = i0.ɵnov(_v, 45).ngClassTouched; var currVal_36 = i0.ɵnov(_v, 45).ngClassPristine; var currVal_37 = i0.ɵnov(_v, 45).ngClassDirty; var currVal_38 = i0.ɵnov(_v, 45).ngClassValid; var currVal_39 = i0.ɵnov(_v, 45).ngClassInvalid; var currVal_40 = i0.ɵnov(_v, 45).ngClassPending; _ck(_v, 40, 0, currVal_34, currVal_35, currVal_36, currVal_37, currVal_38, currVal_39, currVal_40); var currVal_44 = i0.ɵnov(_v, 55).ngClassUntouched; var currVal_45 = i0.ɵnov(_v, 55).ngClassTouched; var currVal_46 = i0.ɵnov(_v, 55).ngClassPristine; var currVal_47 = i0.ɵnov(_v, 55).ngClassDirty; var currVal_48 = i0.ɵnov(_v, 55).ngClassValid; var currVal_49 = i0.ɵnov(_v, 55).ngClassInvalid; var currVal_50 = i0.ɵnov(_v, 55).ngClassPending; _ck(_v, 50, 0, currVal_44, currVal_45, currVal_46, currVal_47, currVal_48, currVal_49, currVal_50); var currVal_58 = i0.ɵnov(_v, 71).ngClassUntouched; var currVal_59 = i0.ɵnov(_v, 71).ngClassTouched; var currVal_60 = i0.ɵnov(_v, 71).ngClassPristine; var currVal_61 = i0.ɵnov(_v, 71).ngClassDirty; var currVal_62 = i0.ɵnov(_v, 71).ngClassValid; var currVal_63 = i0.ɵnov(_v, 71).ngClassInvalid; var currVal_64 = i0.ɵnov(_v, 71).ngClassPending; _ck(_v, 66, 0, currVal_58, currVal_59, currVal_60, currVal_61, currVal_62, currVal_63, currVal_64); var currVal_68 = i0.ɵnov(_v, 81).ngClassUntouched; var currVal_69 = i0.ɵnov(_v, 81).ngClassTouched; var currVal_70 = i0.ɵnov(_v, 81).ngClassPristine; var currVal_71 = i0.ɵnov(_v, 81).ngClassDirty; var currVal_72 = i0.ɵnov(_v, 81).ngClassValid; var currVal_73 = i0.ɵnov(_v, 81).ngClassInvalid; var currVal_74 = i0.ɵnov(_v, 81).ngClassPending; _ck(_v, 76, 0, currVal_68, currVal_69, currVal_70, currVal_71, currVal_72, currVal_73, currVal_74); }); }\nfunction View_AdminSettingsDealerInfoComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_primaryAddress\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 8, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(5, null, [\"\", \"\"])), (_l()(), i0.ɵeld(6, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, [\"\", \"\"])), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(9, null, [\"\", \", \", \" \", \"\"])), (_l()(), i0.ɵeld(10, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(11, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"dsAdmin_primaryAddress\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.address1.address1; _ck(_v, 5, 0, currVal_1); var currVal_2 = _co.address1.address2; _ck(_v, 7, 0, currVal_2); var currVal_3 = _co.address1.city; var currVal_4 = _co.address1.state; var currVal_5 = _co.address1.zipCode; _ck(_v, 9, 0, currVal_3, currVal_4, currVal_5); var currVal_6 = _co.address1.brandUrl; _ck(_v, 11, 0, currVal_6); }); }\nfunction View_AdminSettingsDealerInfoComponent_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_address2\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 8, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(5, null, [\"\", \"\"])), (_l()(), i0.ɵeld(6, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, [\"\", \"\"])), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(9, null, [\"\", \", \", \" \", \"\"])), (_l()(), i0.ɵeld(10, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵted(11, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"dsAdmin_address2\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.address2.address1; _ck(_v, 5, 0, currVal_1); var currVal_2 = _co.address2.address2; _ck(_v, 7, 0, currVal_2); var currVal_3 = _co.address2.city; var currVal_4 = _co.address2.state; var currVal_5 = _co.address2.zipCode; _ck(_v, 9, 0, currVal_3, currVal_4, currVal_5); var currVal_6 = _co.address2.brandUrl; _ck(_v, 11, 0, currVal_6); }); }\nfunction View_AdminSettingsDealerInfoComponent_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_primaryLanguage\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"customer-culture-select\", [], null, [[null, \"preferredCultureNameChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"preferredCultureNameChange\" === en)) {\n var pd_0 = ((_co.dsa.dealerSetting.defaultCultureName = $event) !== false);\n ad = (pd_0 && ad);\n } if ((\"preferredCultureNameChange\" === en)) {\n var pd_1 = (_co.cultureChange($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i7.View_CustomerCultureSelectComponent_0, i7.RenderType_CustomerCultureSelectComponent)), i0.ɵdid(5, 638976, [[\"preferredCultureComponent\", 4]], 0, i8.CustomerCultureSelectComponent, [i1.TranslateService], { preferredCultureName: [0, \"preferredCultureName\"], includeEmptyEntry: [1, \"includeEmptyEntry\"], selectedDealerId: [2, \"selectedDealerId\"], isDisabled: [3, \"isDisabled\"] }, { preferredCultureNameChange: \"preferredCultureNameChange\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_primaryLanguage\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.dsa.dealerSetting.defaultCultureName; var currVal_2 = false; var currVal_3 = _co.dsa.dealerSetting.dealerID; var currVal_4 = (_co.dsa.isFordAlert && !_co.isEmployee); _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4); }, null); }\nfunction View_AdminSettingsDealerInfoComponent_14(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"error\"], [\"translate\", \"customerPreferredLanguageError\"]], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"customerPreferredLanguageError\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminSettingsDealerInfoComponent_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_secondaryLanguage\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"customer-culture-select\", [], null, [[null, \"preferredCultureNameChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"preferredCultureNameChange\" === en)) {\n var pd_0 = ((_co.dsa.dealerSetting.secondaryCultureName = $event) !== false);\n ad = (pd_0 && ad);\n } if ((\"preferredCultureNameChange\" === en)) {\n var pd_1 = (_co.cultureChange($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i7.View_CustomerCultureSelectComponent_0, i7.RenderType_CustomerCultureSelectComponent)), i0.ɵdid(5, 638976, [[\"secondaryCultureComponent\", 4]], 0, i8.CustomerCultureSelectComponent, [i1.TranslateService], { preferredCultureName: [0, \"preferredCultureName\"], includeEmptyEntry: [1, \"includeEmptyEntry\"], selectedDealerId: [2, \"selectedDealerId\"], isDisabled: [3, \"isDisabled\"] }, { preferredCultureNameChange: \"preferredCultureNameChange\" }), (_l()(), i0.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"col-md-6\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_14)), i0.ɵdid(8, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_secondaryLanguage\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.dsa.dealerSetting.secondaryCultureName; var currVal_2 = true; var currVal_3 = _co.dsa.dealerSetting.dealerID; var currVal_4 = (_co.dsa.isFordAlert && !_co.isEmployee); _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4); var currVal_5 = (!(_co.dsa.isFordAlert && !_co.isEmployee) && !_co.customerCulturesDifferent); _ck(_v, 8, 0, currVal_5); }, null); }\nfunction View_AdminSettingsDealerInfoComponent_15(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"img\", [[\"style\", \"width:400px;height:auto\"]], [[8, \"src\", 4]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.dealerImageSrc; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AdminSettingsDealerInfoComponent_16(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [[\"translate\", \"dsAdmin_noImageAvailable\"]], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dsAdmin_noImageAvailable\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminSettingsDealerInfoComponent_17(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary saveButton\"], [\"translate\", \"upload\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i0.ɵnov(_v.parent, 43).click() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"upload\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminSettingsDealerInfoComponent_18(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary saveButton\"], [\"style\", \"margin-left:10px\"], [\"translate\", \"delete\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteFile() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"delete\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminSettingsDealerInfoComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { fileInput: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 46, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 45, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 7, \"div\", [[\"class\", \"settingTitle\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 4, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵted(5, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_1)), i0.ɵdid(8, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_2)), i0.ɵdid(10, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_4)), i0.ɵdid(12, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_5)), i0.ɵdid(14, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_6)), i0.ɵdid(16, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_7)), i0.ɵdid(18, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_10)), i0.ɵdid(20, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_11)), i0.ɵdid(22, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(23, 0, null, null, 5, \"div\", [], [[8, \"title\", 0]], null, null, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_12)), i0.ɵdid(26, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_13)), i0.ɵdid(28, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(29, 0, null, null, 10, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(30, 0, null, null, 4, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(31, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin-top:10px\"], [\"translate\", \"dsAdmin_dealershipLogo\"]], null, null, null, null, null)), i0.ɵdid(32, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(33, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(34, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(35, 0, null, null, 4, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_15)), i0.ɵdid(37, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_16)), i0.ɵdid(39, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(40, 0, null, null, 7, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(41, 0, null, null, 0, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(42, 0, null, null, 5, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(43, 0, [[1, 0], [\"fileInput\", 1]], null, 0, \"input\", [[\"style\", \"display: none\"], [\"type\", \"file\"]], null, [[null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (_co.uploadFile($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_17)), i0.ɵdid(45, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsDealerInfoComponent_18)), i0.ɵdid(47, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.dsa.dealerMakeFranchiseInfo.length > 0); _ck(_v, 8, 0, currVal_1); var currVal_2 = (_co.dsa.dealerMakeFranchiseInfo.length > 0); _ck(_v, 10, 0, currVal_2); var currVal_3 = (_co.dsa.dealerMakeFranchiseInfo.length == 0); _ck(_v, 12, 0, currVal_3); var currVal_4 = (_co.dsa.dealerMakeFranchiseInfo.length > 0); _ck(_v, 14, 0, currVal_4); var currVal_5 = (_co.selectedMake() != null); _ck(_v, 16, 0, currVal_5); var currVal_6 = (_co.selectedMakeId == 0); _ck(_v, 18, 0, currVal_6); var currVal_7 = _co.address1; _ck(_v, 20, 0, currVal_7); var currVal_8 = _co.address2; _ck(_v, 22, 0, currVal_8); var currVal_10 = (_co.selectedMakeId == 0); _ck(_v, 26, 0, currVal_10); var currVal_11 = (_co.selectedMakeId == 0); _ck(_v, 28, 0, currVal_11); var currVal_12 = \"dsAdmin_dealershipLogo\"; _ck(_v, 32, 0, currVal_12); var currVal_13 = \"dsAdmin_dealershipLogo\"; var currVal_14 = \"dsAdmin_dealershipLogoTooltip\"; _ck(_v, 34, 0, currVal_13, currVal_14); var currVal_15 = _co.dealerImageSrc; _ck(_v, 37, 0, currVal_15); var currVal_16 = !_co.dealerImageSrc; _ck(_v, 39, 0, currVal_16); var currVal_17 = (_co.selectedMakeId == 0); _ck(_v, 45, 0, currVal_17); var currVal_18 = ((_co.selectedMakeId == 0) && _co.dealerImageSrc); _ck(_v, 47, 0, currVal_18); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 5, 0, i0.ɵnov(_v, 6).transform(\"dsAdmin_dealershipInfo\")); _ck(_v, 5, 0, currVal_0); var currVal_9 = (_co.dsa.isFordAlert ? i0.ɵunv(_v, 23, 0, i0.ɵnov(_v, 24).transform(\"dsAdmin_valueSetByFormProgram\")) : \"\"); _ck(_v, 23, 0, currVal_9); }); }\nexports.View_AdminSettingsDealerInfoComponent_0 = View_AdminSettingsDealerInfoComponent_0;\nfunction View_AdminSettingsDealerInfoComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-dealerinfo\", [], null, null, null, View_AdminSettingsDealerInfoComponent_0, RenderType_AdminSettingsDealerInfoComponent)), i0.ɵdid(1, 638976, null, 0, i9.AdminSettingsDealerInfoComponent, [i10.BsModalService, i1.TranslateService, i11.UserService, i12.ToasterLoggerService, i13.CustomerService, i14.StorageService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminSettingsDealerInfoComponent_Host_0 = View_AdminSettingsDealerInfoComponent_Host_0;\nvar AdminSettingsDealerInfoComponentNgFactory = i0.ɵccf(\"admin-settings-dealerinfo\", i9.AdminSettingsDealerInfoComponent, View_AdminSettingsDealerInfoComponent_Host_0, { dsa: \"dsa\" }, {}, []);\nexports.AdminSettingsDealerInfoComponentNgFactory = AdminSettingsDealerInfoComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n {{ 'dsAdmin_dealershipInfo' | translate }}\r\n 0\" translate=\"dsAdmin_byMake\">\r\n \r\n
\r\n
0\">\r\n \r\n
\r\n
\r\n \r\n 0\" [titleKey]=\"'dsAdmin_dealershipInfoByMake'\" [contentKey]=\"'dsAdmin_dealershipInfoByMakeTooltip'\">\r\n
\r\n
\r\n
\r\n
\r\n {{ selectedMake().dealerName }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ address1.address1 }}
\r\n
{{ address1.address2 }}
\r\n
{{ address1.city }}, {{ address1.state }} {{ address1.zipCode }}
\r\n
{{ address1.brandUrl }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ address2.address1 }}
\r\n
{{ address2.address2 }}
\r\n
{{ address2.city }}, {{ address2.state }} {{ address2.zipCode }}
\r\n
{{ address2.brandUrl }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar forms_1 = require(\"@angular/forms\");\nvar MaxDirective = /** @class */ (function () {\n function MaxDirective() {\n }\n MaxDirective.prototype.validate = function (control) {\n return forms_1.Validators.max(this.max)(control);\n };\n return MaxDirective;\n}());\nexports.MaxDirective = MaxDirective;\n","import { Directive, Input } from '@angular/core'\r\nimport { NG_VALIDATORS, Validator, AbstractControl, Validators } from '@angular/forms'\r\n\r\n@Directive({\r\n selector: '[max]',\r\n providers: [{ provide: NG_VALIDATORS, useExisting: MaxDirective, multi: true }]\r\n})\r\nexport class MaxDirective implements Validator {\r\n\r\n @Input() max: number;\r\n\r\n validate(control: AbstractControl): { [key: string]: any } { \r\n return Validators.max(this.max)(control) \r\n }\r\n}\r\n","var path = '/app/components/deal-sheet/contract/preferred-equity.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"dashboard-body {\\n display: block;\\n margin-top: 10px;\\n}\\n\\ntagged-customers {\\n width: 100%;\\n}\\n\\ndashboard {\\n /*.panel {\\n margin-bottom: 10px;\\n padding-bottom: 0;\\n }\\n\\n .panel-body {\\n padding: 4px 15px;\\n }*/\\n}\\n\\ndashboard .panel-default > .panel-heading {\\n background: #172751;\\n}\\n\\ndashboard .panel-default > .panel-heading.collapsedPanel-heading {\\n border-bottom-right-radius: 9px;\\n border-bottom-left-radius: 9px;\\n border-bottom: 0;\\n}\\n\\ndashboard .panel {\\n padding-bottom: 10px;\\n}\\n\\ndashboard .panel.darksolid {\\n background: #172751;\\n}\\n\\ndashboard .panel-body {\\n padding: 4px 15px;\\n}\\n\\ndashboard hr {\\n border: 0;\\n border-top: 1px solid #000;\\n margin-left: -15px;\\n margin-right: -15px;\\n}\\n\\ndashboard .form-control {\\n height: 32px;\\n}\\n\\ndashboard .dashboardtabnames {\\n margin: 10px 0;\\n padding: 0;\\n list-style: none;\\n}\\n\\ndashboard .dashboardtabnames > .dashboardtab {\\n display: inline-block;\\n margin-left: 20px;\\n padding: 6px 10px 4px;\\n}\\n\\ndashboard .dashboardtabnames > .dashboardtab:first-child {\\n margin-left: 0;\\n padding-left: 0;\\n}\\n\\ndashboard .dashboardtabnames > .dashboardtab.active {\\n border-bottom: solid 3px #1f8bd5;\\n}\\n\\ndashboard .dashboardtabnames > .dashboardtab > .dashboardtablink {\\n font-size: 18px;\\n font-weight: 500;\\n color: white;\\n text-decoration: none;\\n}\\n\\ndashboard .cg-busy-widget-container {\\n overflow: hidden;\\n position: absolute;\\n top: 0;\\n left: 0;\\n right: 0;\\n bottom: 0;\\n}\\n\\ndashboard .dealersSelectorContainer {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: row;\\n flex-direction: row;\\n -webkit-box-pack: end;\\n -ms-flex-pack: end;\\n justify-content: flex-end;\\n padding-bottom: 10px;\\n}\\n\\ndashboard .dealersSelect {\\n margin-top: 10px;\\n width: 235px;\\n}\\n\\ndashboard .dealersLabel {\\n margin: 18px 10px 0 0;\\n}\\n\\ndashboard .quick-links {\\n background: -webkit-gradient(linear, left bottom, left top, from(#172751), to(#2d89c9));\\n background: linear-gradient(to top, #172751, #2d89c9);\\n /* Standard syntax */\\n}\\n\\ndashboard .quick-links .quick-links-header {\\n color: white;\\n padding: 10px;\\n}\\n\\ndashboard .quick-links .quick-link-row {\\n white-space: nowrap;\\n cursor: pointer;\\n padding-top: 3px;\\n padding-bottom: 3px;\\n border-bottom: transparent 5px solid;\\n}\\n\\ndashboard .quick-links .quick-link-row:focus {\\n color: #c1c2c4 !important;\\n background: -webkit-gradient(linear, left top, left bottom, from(#192c54), to(#192c54));\\n background: linear-gradient(to bottom, #192c54 0%, #192c54 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#192c54), to(#00548f));\\n background: linear-gradient(#192c54, #00548f);\\n border-bottom: #2d89c9 5px solid;\\n}\\n\\ndashboard .quick-links .quick-link-row:hover {\\n color: #c1c2c4 !important;\\n background: -webkit-gradient(linear, left top, left bottom, from(#192c54), to(#192c54));\\n background: linear-gradient(to bottom, #192c54 0%, #192c54 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#192c54), to(#00548f));\\n background: linear-gradient(#192c54, #00548f);\\n border-bottom: #2d89c9 5px solid;\\n}\\n\\ndashboard .quick-links .quick-link-row.disabled {\\n cursor: default;\\n}\\n\\ndashboard .quick-links .quick-link-row.disabled label, dashboard .quick-links .quick-link-row.disabled icon {\\n cursor: default;\\n opacity: 0.4;\\n}\\n\\ndashboard .quick-links .quick-link-row.disabled:hover {\\n background: none;\\n border-bottom: transparent 5px solid;\\n}\\n\\ndashboard .quick-links .quick-link-description {\\n color: white;\\n font-size: 14px;\\n position: relative;\\n bottom: 6px;\\n cursor: pointer;\\n}\\n\\ndashboard .quick-links icon {\\n color: white;\\n font-size: 35px;\\n}\\n\\ndashboard container {\\n display: table;\\n height: 100%;\\n width: 100%;\\n}\\n\\ndashboard container > .row {\\n height: 100%;\\n display: table-row;\\n}\\n\\ndashboard container > .row .no-float {\\n display: table-cell;\\n float: none;\\n vertical-align: top;\\n}\\n\\ndashboard .opp-block {\\n display: inline-block;\\n vertical-align: top;\\n}\\n\\ndashboard h5.opp-block-count {\\n font-family: \\\"Roboto\\\", verdana, arial, sans-serif;\\n margin: 0;\\n color: white;\\n line-height: 12px;\\n font-size: 15px;\\n}\\n\\ndashboard .opp-block-description {\\n color: white;\\n padding: 4px 8px 4px 0px;\\n width: 88px;\\n}\\n\\ndashboard dashboard-agenda .table > tbody > tr > td {\\n vertical-align: middle;\\n padding: 6px;\\n}\\n\\ndashboard-manager > .datacontrols {\\n margin: 0 20px;\\n}\\n\\ndashboard-manager > .datacontrols:before, dashboard-manager > .datacontrols:after {\\n content: \\\" \\\";\\n display: table;\\n}\\n\\ndashboard-manager > .datacontrols:after {\\n clear: both;\\n}\\n\\ndashboard-manager > .datacontrols > .datacontrol {\\n float: right;\\n}\\n\\ndashboard-manager > .datacontrols > .datacontrol, dashboard-manager > .datacontrols > .datacontrol label {\\n color: #ffffff;\\n font-size: 16px;\\n}\\n\\ndashboard-widget .widgetheadericon {\\n display: inline-block;\\n}\\n\\ndashboard-widget .widgetheadericon:not(:empty) {\\n padding-right: 4px;\\n}\\n\\ndashboard-widget .dashboard-widget-header-item {\\n padding-left: 10px;\\n}\\n\\ndashboard-widget .widgetbody {\\n padding: 13px;\\n min-height: 75px;\\n max-height: 306px;\\n overflow-x: auto;\\n}\\n\\ndashboard-widget .widgetbody.search-preset-panel {\\n max-height: 450px;\\n padding-bottom: 2px;\\n}\\n\\ndashboard-widget .widgetbody.search-preset-panel .table {\\n margin-bottom: 15px;\\n}\\n\\ndashboard-widget .widgetbody > .widgetpreamble {\\n display: block;\\n color: #737d87;\\n font-size: 12px;\\n}\\n\\ndashboard-widget .icon {\\n color: #fff;\\n}\\n\\ndashboard-widget .icon.schedule {\\n color: #1f8bd6;\\n font-size: 30px;\\n}\\n\\ndashboard-widget .collapseMode {\\n padding-bottom: 0;\\n}\\n\\ndashboard-opportunities-table .entityscore {\\n font-weight: 900;\\n}\\n\\ndashboard-opportunities-table .engagementcount {\\n color: #737d87;\\n font-size: 12px;\\n white-space: nowrap;\\n}\\n\\n.opportunity-total {\\n display: inline-block;\\n color: white;\\n margin-top: 5px;\\n}\\n\\n.opportunity-total div.opportunity-total-count {\\n height: 75px;\\n}\\n\\n.opportunity-total span.opportunity-total-count {\\n display: block;\\n text-align: left;\\n padding: 0px 0;\\n font-size: 15px;\\n}\\n\\n.opportunity-total .opp-block-description {\\n width: 130px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9kYXNoYm9hcmQvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxkYXNoYm9hcmRcXGRhc2hib2FyZC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2Rhc2hib2FyZC9kYXNoYm9hcmQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9kYXNoYm9hcmQvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBv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LmNvbGxhcHNlZFBhbmVsLWhlYWRpbmcge1xyXG4gICAgICAgICAgICBib3JkZXItYm90dG9tLXJpZ2h0LXJhZGl1czogOXB4O1xyXG4gICAgICAgICAgICBib3JkZXItYm90dG9tLWxlZnQtcmFkaXVzOiA5cHg7XHJcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDA7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5wYW5lbCB7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDEwcHg7XHJcblxyXG4gICAgICAgICYuZGFya3NvbGlkIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZDogIzE3Mjc1MTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLnBhbmVsLWJvZHkge1xyXG4gICAgICAgIHBhZGRpbmc6IDRweCAxNXB4O1xyXG4gICAgfVxyXG5cclxuICAgIGhyIHtcclxuICAgICAgICBib3JkZXI6IDA7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogMXB4IHNvbGlkICMwMDA7XHJcbiAgICAgICAgbWFyZ2luLWxlZnQ6IC0xNXB4O1xyXG4gICAgICAgIG1hcmdpbi1yaWdodDogLTE1cHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmZvcm0tY29udHJvbCB7XHJcbiAgICAgICAgaGVpZ2h0OiAzMnB4XHJcbiAgICB9XHJcblxyXG4gICAgLmRhc2hib2FyZHRhYm5hbWVzIHtcclxuICAgICAgICBtYXJnaW46IDEwcHggMDtcclxuICAgICAgICBwYWRkaW5nOiAwO1xyXG4gICAgICAgIGxpc3Qtc3R5bGU6IG5vbmU7XHJcblxyXG4gICAgICAgID4gLmRhc2hib2FyZHRhYiB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgICAgICAgICAgLy8gU3BhY2luZyBiZXR3ZWVuIHRhYnNcclxuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDIwcHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDZweCAxMHB4IDRweDtcclxuXHJcbiAgICAgICAgICAgICY6Zmlyc3QtY2hpbGQge1xyXG4gICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDA7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICYuYWN0aXZlIHtcclxuICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IHNvbGlkIDNweCAkYnJpZ2h0Qmx1ZTtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgPiAuZGFzaGJvYXJkdGFibGluayB7XHJcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDE4cHg7XHJcbiAgICAgICAgICAgICAgICBmb250LXdlaWdodDogJGJvbGQtZm9udC13ZWlnaHQ7XHJcbiAgICAgICAgICAgICAgICBjb2xvcjogd2hpdGU7XHJcbiAgICAgICAgICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLmNnLWJ1c3ktd2lkZ2V0LWNvbnRhaW5lciB7XHJcbiAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgdG9wOiAwO1xyXG4gICAgICAgIGxlZnQ6IDA7XHJcbiAgICAgICAgcmlnaHQ6IDA7XHJcbiAgICAgICAgYm90dG9tOiAwO1xyXG4gICAgfVxyXG5cclxuICAgIC5kZWFsZXJzU2VsZWN0b3JDb250YWluZXIge1xyXG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdztcclxuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xyXG4gICAgICAgIHBhZGRpbmctYm90dG9tOiAxMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5kZWFsZXJzU2VsZWN0IHtcclxuICAgICAgICBtYXJnaW4tdG9wOiAxMHB4O1xyXG4gICAgICAgIHdpZHRoOiAyMzVweFxyXG4gICAgfVxyXG5cclxuICAgIC5kZWFsZXJzTGFiZWwge1xyXG4gICAgICAgIG1hcmdpbjogMThweCAxMHB4IDAgMFxyXG4gICAgfVxyXG5cclxuICAgIC5xdWljay1saW5rcyB7XHJcbiAgICAgICAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIHRvcCwgIzE3Mjc1MSwgIzJkODljOSk7IC8qIFN0YW5kYXJkIHN5bnRheCAqL1xyXG4gICAgICAgIC5xdWljay1saW5rcy1oZWFkZXIge1xyXG4gICAgICAgICAgICBjb2xvcjogd2hpdGU7XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDEwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAucXVpY2stbGluay1yb3cge1xyXG4gICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgICAgIHBhZGRpbmctdG9wOiAzcHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmctYm90dG9tOiAzcHg7XHJcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b206IHRyYW5zcGFyZW50IDVweCBzb2xpZDtcclxuXHJcbiAgICAgICAgICAgICY6Zm9jdXMge1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICNjMWMyYzQgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgIzE5MmM1NCAwJSwjMDA1NDhmIDEwMCUpO1xyXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgIzE5MmM1NCAwJSwjMTkyYzU0IDEwMCUpO1xyXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KCMxOTJjNTQsICMwMDU0OGYpO1xyXG4gICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogIzJkODljOSA1cHggc29saWQ7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICY6aG92ZXIge1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICNjMWMyYzQgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgIzE5MmM1NCAwJSwjMDA1NDhmIDEwMCUpO1xyXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgIzE5MmM1NCAwJSwjMTkyYzU0IDEwMCUpO1xyXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KCMxOTJjNTQsICMwMDU0OGYpO1xyXG4gICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogIzJkODljOSA1cHggc29saWQ7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICYuZGlzYWJsZWQge1xyXG4gICAgICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG5cclxuICAgICAgICAgICAgICAgIGxhYmVsLCBpY29uIHtcclxuICAgICAgICAgICAgICAgICAgICBjdXJzb3I6IGRlZmF1bHQ7XHJcbiAgICAgICAgICAgICAgICAgICAgb3BhY2l0eTogMC40O1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgICY6aG92ZXIge1xyXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogdHJhbnNwYXJlbnQgNXB4IHNvbGlkO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAucXVpY2stbGluay1kZXNjcmlwdGlvbiB7XHJcbiAgICAgICAgICAgIGNvbG9yOiB3aGl0ZTtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICAgICAgICAgIGJvdHRvbTogNnB4O1xyXG4gICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBpY29uIHtcclxuICAgICAgICAgICAgY29sb3I6IHdoaXRlO1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDM1cHg7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIGNvbnRhaW5lciB7XHJcbiAgICAgICAgZGlzcGxheTogdGFibGU7XHJcbiAgICAgICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgICAgIC8vbWFyZ2luLXRvcDogLTUwcHg7XHJcbiAgICAgICAgLy8gICBwYWRkaW5nOiA1MHB4IDAgMCAwOyAvKnNldCBsZWZ0L3JpZ2h0IHBhZGRpbmcgYWNjb3JkaW5nIHRvIG5lZWRzKi9cclxuICAgICAgICAvLyAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xyXG4gICAgICAgID4gLnJvdyB7XHJcbiAgICAgICAgICAgIGhlaWdodDogMTAwJTtcclxuICAgICAgICAgICAgZGlzcGxheTogdGFibGUtcm93O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgPiAucm93IC5uby1mbG9hdCB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IHRhYmxlLWNlbGw7XHJcbiAgICAgICAgICAgIGZsb2F0OiBub25lO1xyXG4gICAgICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogdG9wO1xyXG4gICAgICAgIH1cclxuIC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AgICAgICAgZm9udC1zaXplOiAkZm9udC1zaXplLWJhc2U7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcblxyXG5kYXNoYm9hcmQtd2lkZ2V0IHtcclxuXHJcbiAgICAud2lkZ2V0aGVhZGVyaWNvbiB7XHJcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICY6bm90KDplbXB0eSkge1xyXG4gICAgICAgICAgICBwYWRkaW5nLXJpZ2h0OiA0cHg7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5kYXNoYm9hcmQtd2lkZ2V0LWhlYWRlci1pdGVtIHtcclxuICAgICAgICBwYWRkaW5nLWxlZnQ6IDEwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLndpZGdldGJvZHkge1xyXG4gICAgICAgIHBhZGRpbmc6IDEzcHg7XHJcbiAgICAgICAgbWluLWhlaWdodDogNzVweDtcclxuICAgICAgICBtYXgtaGVpZ2h0OiAzMDZweDtcclxuICAgICAgICBvdmVyZmxvdy14OiBhdXRvO1xyXG5cclxuICAgICAgICAmLnNlYXJjaC1wcmVzZXQtcGFuZWwge1xyXG4gICAgICAgICAgICBtYXgtaGVpZ2h0OiA0NTBweDtcclxuICAgICAgICAgICAgLnRhYmxlIHtcclxuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDE1cHg7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIHBhZGRpbmctYm90dG9tOiAycHg7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC53aWRnZXRib2R5ID4gLndpZGdldHByZWFtYmxlIHtcclxuICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICBjb2xvcjogJHN1YnRsZS10ZXh0LWNvbG9yO1xyXG4gICAgICAgIGZvbnQtc2l6ZTogJHN1YnRsZS10ZXh0LXNpemU7XHJcbiAgICB9XHJcblxyXG4gICAgLmljb24ge1xyXG4gICAgICAgIGNvbG9yOiAjZmZmO1xyXG4gICAgICAgICYuc2NoZWR1bGUge1xyXG4gICAgICAgICAgICBjb2xvcjogIzFmOGJkNjtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAzMHB4O1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuY29sbGFwc2VNb2RlIHtcclxuICAgICAgICBwYWRkaW5nLWJvdHRvbTowO1xyXG4gICAgfVxyXG59XHJcblxyXG5kYXNoYm9hcmQtb3Bwb3J0dW5pdGllcy10YWJsZSB7XHJcbiAgICAuZW50aXR5c2NvcmUge1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiAkZG91YmxlLWJvbGQtZm9udC13ZWlnaHQ7XHJcbiAgICB9XHJcbiAgICAuZW5nYWdlbWVudGNvdW50IHtcclxuICAgICAgICBjb2xvcjogJHN1YnRsZS10ZXh0LWNvbG9yO1xyXG4gICAgICAgIGZvbnQtc2l6ZTogJHN1YnRsZS10ZXh0LXNpemU7XHJcbiAgICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcclxuICAgIH1cclxufVxyXG5cclxuLm9wcG9ydHVuaXR5LXRvdGFsIHtcclxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgIGNvbG9yOiB3aGl0ZTtcclxuICAgIG1hcmdpbi10b3A6IDVweDtcclxuICAgIGRpdi5vcHBvcnR1bml0eS10b3RhbC1jb3VudCB7XHJcbiAgICAgICAgaGVpZ2h0OiA3NXB4O1xyXG4gICAgfVxyXG4gICAgc3Bhbi5vcHBvcnR1bml0eS10b3RhbC1jb3VudCB7XHJcbiAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogbGVmdDtcclxuICAgICAgICBwYWRkaW5nOiAwcHggMDtcclxuICAgICAgICBmb250LXNpemU6IDE1cHg7XHJcbiAgICB9XHJcbiAgICAub3BwLWJsb2NrLWRlc2NyaXB0aW9uIHtcclxuICAgICAgICB3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bnl3aGVyZSBlbHNlIGluIHRoZSBkb2N1bWVudC5cbi8vICAgIE90aGVyd2lzZSBpdCBjYXVzZXMgc3BhY2UgdG8gYXBwZWFyIGF0IHRoZSB0b3AgYW5kIGJvdHRvbSBvZiBlbGVtZW50c1xuLy8gICAgdGhhdCBhcmUgY2xlYXJmaXhlZC5cbi8vIDIuIFRoZSB1c2Ugb2YgYHRhYmxlYCByYXRoZXIgdGhhbiBgYmxvY2tgIGlzIG9ubHkgbmVjZXNzYXJ5IGlmIHVzaW5nXG4vLyAgICBgOmJlZm9yZWAgdG8gY29udGFpbiB0aGUgdG9wLW1hcmdpbnMgb2YgY2hpbGQgZWxlbWVudHMuXG4vL1xuLy8gU291cmNlOiBodHRwOi8vbmljb2xhc2dhbGxhZ2hlci5jb20vbWljcm8tY2xlYXJmaXgtaGFjay9cblxuQG1peGluIGNsZWFyZml4KCkge1xuICAmOmJlZm9yZSxcbiAgJjphZnRlciB7XG4gICAgY29udGVudDogXCIgXCI7IC8vIDFcbiAgICBkaXNwbGF5OiB0YWJsZTsgLy8gMlxuICB9XG4gICY6YWZ0ZXIge1xuICAgIGNsZWFyOiBib3RoO1xuICB9XG59XG4iXX0= */\"","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar ordinaryOwnMetadataKeys = metadata.keys;\nvar toMetaKey = metadata.key;\n\nmetadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {\n return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n} });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SearchPresetTypes = {\n dealer: 1,\n common: 2,\n user: 3,\n tag: 4\n};\n","export const SearchPresetTypes = {\r\n dealer: 1,\r\n common: 2,\r\n user: 3,\r\n tag: 4\r\n};\r\n","module.exports = __webpack_public_path__ + \"Ford-Pricing-logo2x.afe08b687d2165659b95.png\";","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","\"use strict\";\n// import { Component, OnInit } from '@angular/core';\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// @Component({\n// selector: 'mileage',\n// templateUrl: './mileage.component.html',\n// styleUrls: ['./mileage.component.scss']\n// })\n// export class MileageComponent implements OnInit {\n// constructor() { }\n// ngOnInit() {\n// }\n// }\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar MileageComponent = /** @class */ (function (_super) {\n __extends(MileageComponent, _super);\n function MileageComponent(elementRef, injector) {\n return _super.call(this, 'mileage', elementRef, injector) || this;\n }\n return MileageComponent;\n}(static_1.UpgradeComponent));\nexports.MileageComponent = MileageComponent;\n","// import { Component, OnInit } from '@angular/core';\r\n\r\n// @Component({\r\n// selector: 'mileage',\r\n// templateUrl: './mileage.component.html',\r\n// styleUrls: ['./mileage.component.scss']\r\n// })\r\n// export class MileageComponent implements OnInit {\r\n\r\n// constructor() { }\r\n\r\n// ngOnInit() {\r\n// }\r\n\r\n// }\r\n\r\n\r\nimport { Directive, ElementRef, Injector, Input } from '@angular/core';\r\nimport { UpgradeComponent } from '@angular/upgrade/static';\r\n\r\n@Directive({\r\n selector: 'mileage'\r\n})\r\nexport class MileageComponent extends UpgradeComponent {\r\n @Input() value: number;\r\n @Input() vehicleType: any;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('mileage', elementRef, injector);\r\n }\r\n}","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar angular_1 = __importDefault(require(\"angular\"));\nvar storage_1 = __importDefault(require(\"../storage\"));\nvar moduleName = \"oidc-auth\";\nexports.default = moduleName;\nangular_1.default.module(moduleName, [storage_1.default]);\n","import angular from \"angular\";\r\nimport storageModule from \"../storage\";\r\n\r\nconst moduleName = \"oidc-auth\";\r\nexport default moduleName;\r\n\r\nangular.module(moduleName, [storageModule])\r\n","var path = '/app/components/dashboard/dashboard-manager.component.html';\nvar html = \"
0\\\"> {{'reply' | translate }}\\\">
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mileage-edit-action.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i4 = __importStar(require(\"../../../icon/icon.component\"));\nvar i5 = __importStar(require(\"@angular/platform-browser\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"../../../../filters/locale-number.pipe\"));\nvar i8 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i9 = __importStar(require(\"../../../../filters/locale-date.pipe\"));\nvar i10 = __importStar(require(\"./mileage-edit-action.component\"));\nvar i11 = __importStar(require(\"../../../../services/ngx-modal-wrapper.service\"));\nvar i12 = __importStar(require(\"../../../../core/toaster-logger.service\"));\nvar i13 = __importStar(require(\"../../../../ajs-upgraded-providers\"));\nvar styles_MileageEditActionComponent = [i0.styles];\nvar RenderType_MileageEditActionComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MileageEditActionComponent, data: {} });\nexports.RenderType_MileageEditActionComponent = RenderType_MileageEditActionComponent;\nfunction View_MileageEditActionComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"a\", [[\"class\", \"edit-icon qa-mileage-edit-action-link\"], [\"href\", \"#\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.editMileageModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-core-edit-icon-000000\"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 3, 0); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"editMileageToolTip\")), \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_MileageEditActionComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"mileage\"], [\"translate\", \"mileageLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 8, \"span\", [[\"class\", \"field-data\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"span\", [[\"class\", \"qa-vehicle-mileage\"], [\"id\", \"mileage\"], [\"translate\", \"mileageSummary\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(6, 1), i1.ɵppd(7, 1), i1.ɵppd(8, 1), i1.ɵpod(9, { estimate: 0, actual: 1, recordedDate: 2 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MileageEditActionComponent_2)), i1.ɵdid(11, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"mileageLabel\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"mileageSummary\"; var currVal_2 = _ck(_v, 9, 0, (i1.ɵunv(_v, 5, 1, _ck(_v, 6, 0, i1.ɵnov(_v.parent, 0), _co.estimatedMileage)) || \"\"), i1.ɵunv(_v, 5, 1, _ck(_v, 7, 0, i1.ɵnov(_v.parent, 0), _co.recordedMileage)), i1.ɵunv(_v, 5, 1, _ck(_v, 8, 0, i1.ɵnov(_v.parent, 1), _co.recordedDate))); _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = _co.permissions.editMileage; _ck(_v, 11, 0, currVal_3); }, null); }\nfunction View_MileageEditActionComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i7.LocaleNumberPipe, [i8.StorageService]), i1.ɵpid(0, i9.LocaleDatePipe, [i8.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MileageEditActionComponent_1)), i1.ɵdid(3, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.recordedMileage != null); _ck(_v, 3, 0, currVal_0); }, null); }\nexports.View_MileageEditActionComponent_0 = View_MileageEditActionComponent_0;\nfunction View_MileageEditActionComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mileage-edit-action\", [], null, null, null, View_MileageEditActionComponent_0, RenderType_MileageEditActionComponent)), i1.ɵdid(1, 49152, null, 0, i10.MileageEditActionComponent, [i11.NgxModalWrapperService, i2.TranslateService, i12.ToasterLoggerService, i13.VehicleService], null, null)], null, null); }\nexports.View_MileageEditActionComponent_Host_0 = View_MileageEditActionComponent_Host_0;\nvar MileageEditActionComponentNgFactory = i1.ɵccf(\"mileage-edit-action\", i10.MileageEditActionComponent, View_MileageEditActionComponent_Host_0, { recordedMileage: \"recordedMileage\", recordedDate: \"recordedDate\", estimatedMileage: \"estimatedMileage\", permissions: \"permissions\", opportunityId: \"opportunityId\" }, { onMileageValueChange: \"onMileageValueChange\", startWorkingState: \"startWorkingState\" }, []);\nexports.MileageEditActionComponentNgFactory = MileageEditActionComponentNgFactory;\n","
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","module.exports = \".search-save-layout-modal .modal-dialog {\\n width: 700px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1zYXZlLWxheW91dC1tb2RhbC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLXNhdmUtbGF5b3V0LW1vZGFsLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VBQ0ksYUFBQTtDQ0RIIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLXNhdmUtbGF5b3V0LW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCBcIi4uLy4uL3N0eWxlcy9hYS12YXJpYWJsZXNcIjtcclxuXHJcbi5zZWFyY2gtc2F2ZS1sYXlvdXQtbW9kYWwgLm1vZGFsLWRpYWxvZyB7XHJcbiAgICB3aWR0aDogNzAwcHg7XHJcbn1cclxuXHJcbiIsIi5zZWFyY2gtc2F2ZS1sYXlvdXQtbW9kYWwgLm1vZGFsLWRpYWxvZyB7XG4gIHdpZHRoOiA3MDBweDtcbn0iXX0= */\"","var path = '/app/components/deal-sheet/modals/post-notes.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar toLength = require('./_to-length');\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IObject(O);\n var length = toLength(O.length);\n var index = isRight ? length - 1 : 0;\n var i = isRight ? -1 : 1;\n if (aLen < 2) for (;;) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (isRight ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n};\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./dms-push-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"@angular/forms\"));\nvar i5 = __importStar(require(\"../../../filters/locale-phone.pipe\"));\nvar i6 = __importStar(require(\"../../../modules/storage/storage.service\"));\nvar i7 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar i8 = __importStar(require(\"../../../filters/locale-currency.pipe\"));\nvar i9 = __importStar(require(\"../../../filters/locale-number.pipe\"));\nvar i10 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i11 = __importStar(require(\"../../icon/icon.component\"));\nvar i12 = __importStar(require(\"@angular/platform-browser\"));\nvar i13 = __importStar(require(\"ng-busy\"));\nvar i14 = __importStar(require(\"./dms-push-modal.component\"));\nvar i15 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i16 = __importStar(require(\"../../../services/ngx-modal-wrapper.service\"));\nvar i17 = __importStar(require(\"../../../core/toaster-logger.service\"));\nvar i18 = __importStar(require(\"../../../services/notification.service\"));\nvar i19 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar styles_DmsPushModalComponent = [i0.styles];\nvar RenderType_DmsPushModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DmsPushModalComponent, data: {} });\nexports.RenderType_DmsPushModalComponent = RenderType_DmsPushModalComponent;\nfunction View_DmsPushModalComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"p\", [[\"translate\", \"dmsPushDialogInitialHeader2\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dmsPushDialogInitialHeader2\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DmsPushModalComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"br\", [], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.address2; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DmsPushModalComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"translate\", \"dmsCustomerIdLabel\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(4, null, [\": \", \"\"]))], function (_ck, _v) { var currVal_0 = \"dmsCustomerIdLabel\"; _ck(_v, 3, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.latestDmsCustomerId; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_DmsPushModalComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"translate\", \"dmsDealIdLabel\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(4, null, [\": \", \"\"]))], function (_ck, _v) { var currVal_0 = \"dmsDealIdLabel\"; _ck(_v, 3, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.latestDmsDealId; _ck(_v, 4, 0, currVal_1); }); }\nfunction View_DmsPushModalComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"row\"], [\"style\", \"margin-top:25px;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-12 sectionHeader\"], [\"translate\", \"dmsLatestPush\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 14, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 13, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [[\"style\", \"font-weight:bold;\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \"\"])), i1.ɵppd(8, 1), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(10, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \" \"])), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"span\", [[\"translate\", \"dmsPushBy\"]], null, null, null, null, null)), i1.ɵdid(13, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(14, null, [\" \", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_5)), i1.ɵdid(16, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_6)), i1.ɵdid(18, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dmsLatestPush\"; _ck(_v, 3, 0, currVal_0); var currVal_3 = \"dmsPushBy\"; _ck(_v, 13, 0, currVal_3); var currVal_5 = _co.latestDmsCustomerId; _ck(_v, 16, 0, currVal_5); var currVal_6 = _co.latestDmsDealId; _ck(_v, 18, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 7, 0, _ck(_v, 8, 0, i1.ɵnov(_v.parent.parent, 1), _co.latestCreateDateUtc)); _ck(_v, 7, 0, currVal_1); var currVal_2 = _co.latestRequestType; _ck(_v, 11, 0, currVal_2); var currVal_4 = _co.latestFullName; _ck(_v, 14, 0, currVal_4); }); }\nfunction View_DmsPushModalComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 95, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"row intro\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"p\", [[\"translate\", \"dmsPushDialogInitialHeader1\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_2)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 88, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 35, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-12 sectionHeader\"], [\"translate\", \"dmsCustomerLabel\"]], null, null, null, null, null)), i1.ɵdid(11, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 5, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-4\"], [\"translate\", \"dmsNameLabel\"]], null, null, null, null, null)), i1.ɵdid(14, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-8 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), (_l()(), i1.ɵeld(18, 0, null, null, 10, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-4\"], [\"translate\", \"dmsAddressLabel\"]], null, null, null, null, null)), i1.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(21, 0, null, null, 7, \"div\", [[\"class\", \"col-sm-8 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(23, null, [\"\", \"\"])), (_l()(), i1.ɵeld(24, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_3)), i1.ɵdid(26, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(27, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(28, null, [\"\", \"\"])), (_l()(), i1.ɵeld(29, 0, null, null, 6, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(30, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-4\"], [\"translate\", \"dmsPrimaryPhoneLabel\"]], null, null, null, null, null)), i1.ɵdid(31, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(32, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-8 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(34, null, [\"\", \"\"])), i1.ɵppd(35, 1), (_l()(), i1.ɵeld(36, 0, null, null, 5, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(37, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-4\"], [\"translate\", \"dmsEmailAddressLabel\"]], null, null, null, null, null)), i1.ɵdid(38, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(39, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-8 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(40, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(41, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_4)), i1.ɵdid(43, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(44, 0, null, null, 51, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(45, 0, null, null, 14, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(47, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(48, { \"disabled-deal\": 0 }), (_l()(), i1.ɵeld(49, 0, null, null, 10, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(50, 0, null, null, 9, \"label\", [[\"class\", \"bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(51, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 52).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 52).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.includeDeal = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(52, 16384, null, 0, i4.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.CheckboxControlValueAccessor]), i1.ɵdid(54, 671744, null, 0, i4.NgModel, [[8, null], [8, null], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(56, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\\u00A0\"])), (_l()(), i1.ɵeld(58, 0, null, null, 1, \"span\", [[\"translate\", \"dmsIncludeDealLabel\"]], null, null, null, null, null)), i1.ɵdid(59, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(60, 0, null, null, 35, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(62, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(63, { \"disabled-deal\": 0 }), (_l()(), i1.ɵeld(64, 0, null, null, 2, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(65, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-12 sectionHeader\"], [\"translate\", \"dmsVOILabel\"]], null, null, null, null, null)), i1.ɵdid(66, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(67, 0, null, null, 5, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(68, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-4\"], [\"translate\", \"dmsVinLabel\"]], null, null, null, null, null)), i1.ɵdid(69, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(70, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-8 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(71, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(72, null, [\"\", \"\"])), (_l()(), i1.ɵeld(73, 0, null, null, 6, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(74, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-4\"], [\"translate\", \"dmsSellingPriceLabel\"]], null, null, null, null, null)), i1.ɵdid(75, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(76, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-8 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(77, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(78, null, [\"\", \"\"])), i1.ɵppd(79, 1), (_l()(), i1.ɵeld(80, 0, null, null, 2, \"div\", [[\"class\", \"row\"], [\"style\", \"margin-top:25px;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(81, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-12 sectionHeader\"], [\"translate\", \"dmsTradeVehicleLabel\"]], null, null, null, null, null)), i1.ɵdid(82, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(83, 0, null, null, 5, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(84, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-4\"], [\"translate\", \"dmsVinLabel\"]], null, null, null, null, null)), i1.ɵdid(85, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(86, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-8 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(87, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(88, null, [\"\", \"\"])), (_l()(), i1.ɵeld(89, 0, null, null, 6, \"div\", [[\"class\", \"row dms-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(90, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-4\"], [\"translate\", \"dmsValueLabel\"]], null, null, null, null, null)), i1.ɵdid(91, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(92, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-8 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(93, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(94, null, [\"\", \"\"])), i1.ɵppd(95, 1)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dmsPushDialogInitialHeader1\"; _ck(_v, 4, 0, currVal_0); var currVal_1 = !_co.replacementVin; _ck(_v, 6, 0, currVal_1); var currVal_2 = \"dmsCustomerLabel\"; _ck(_v, 11, 0, currVal_2); var currVal_3 = \"dmsNameLabel\"; _ck(_v, 14, 0, currVal_3); var currVal_5 = \"dmsAddressLabel\"; _ck(_v, 20, 0, currVal_5); var currVal_7 = _co.address2; _ck(_v, 26, 0, currVal_7); var currVal_9 = \"dmsPrimaryPhoneLabel\"; _ck(_v, 31, 0, currVal_9); var currVal_11 = \"dmsEmailAddressLabel\"; _ck(_v, 38, 0, currVal_11); var currVal_13 = _co.latestCreateDateUtc; _ck(_v, 43, 0, currVal_13); var currVal_14 = \"row dms-row\"; var currVal_15 = _ck(_v, 48, 0, !_co.replacementVin); _ck(_v, 47, 0, currVal_14, currVal_15); var currVal_23 = !_co.replacementVin; var currVal_24 = _co.includeDeal; _ck(_v, 54, 0, currVal_23, currVal_24); var currVal_25 = \"dmsIncludeDealLabel\"; _ck(_v, 59, 0, currVal_25); var currVal_26 = _ck(_v, 63, 0, ((_co.includeDeal === false) || !_co.replacementVin)); _ck(_v, 62, 0, currVal_26); var currVal_27 = \"dmsVOILabel\"; _ck(_v, 66, 0, currVal_27); var currVal_28 = \"dmsVinLabel\"; _ck(_v, 69, 0, currVal_28); var currVal_30 = \"dmsSellingPriceLabel\"; _ck(_v, 75, 0, currVal_30); var currVal_32 = \"dmsTradeVehicleLabel\"; _ck(_v, 82, 0, currVal_32); var currVal_33 = \"dmsVinLabel\"; _ck(_v, 85, 0, currVal_33); var currVal_35 = \"dmsValueLabel\"; _ck(_v, 91, 0, currVal_35); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = _co.customer.fullName; _ck(_v, 17, 0, currVal_4); var currVal_6 = _co.address1; _ck(_v, 23, 0, currVal_6); var currVal_8 = _co.cityStZip; _ck(_v, 28, 0, currVal_8); var currVal_10 = i1.ɵunv(_v, 34, 0, _ck(_v, 35, 0, i1.ɵnov(_v.parent, 0), _co.primaryPhone)); _ck(_v, 34, 0, currVal_10); var currVal_12 = ((_co.customer.emailAddress == null) ? null : _co.customer.emailAddress.value); _ck(_v, 41, 0, currVal_12); var currVal_16 = i1.ɵnov(_v, 56).ngClassUntouched; var currVal_17 = i1.ɵnov(_v, 56).ngClassTouched; var currVal_18 = i1.ɵnov(_v, 56).ngClassPristine; var currVal_19 = i1.ɵnov(_v, 56).ngClassDirty; var currVal_20 = i1.ɵnov(_v, 56).ngClassValid; var currVal_21 = i1.ɵnov(_v, 56).ngClassInvalid; var currVal_22 = i1.ɵnov(_v, 56).ngClassPending; _ck(_v, 51, 0, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22); var currVal_29 = ((_co.replacementVin == null) ? \"N/A\" : _co.replacementVin); _ck(_v, 72, 0, currVal_29); var currVal_31 = i1.ɵunv(_v, 78, 0, _ck(_v, 79, 0, i1.ɵnov(_v.parent, 2), _co.replacementPrice)); _ck(_v, 78, 0, currVal_31); var currVal_34 = _co.currentVin; _ck(_v, 88, 0, currVal_34); var currVal_36 = i1.ɵunv(_v, 94, 0, _ck(_v, 95, 0, i1.ɵnov(_v.parent, 2), _co.currentTradeValue)); _ck(_v, 94, 0, currVal_36); }); }\nfunction View_DmsPushModalComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [[\"translate\", \"dmsCustomerMatchTextMulti\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(3, 1), i1.ɵpod(4, { customerMatchesCount: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dmsCustomerMatchTextMulti\"; var currVal_1 = _ck(_v, 4, 0, i1.ɵunv(_v, 2, 1, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent, 3), _co.customerMatches.length))); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_DmsPushModalComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"translate\", \"dmsCustomerMatchTextOne\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dmsCustomerMatchTextOne\"; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_DmsPushModalComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"translate\", \"dmsSelectButtonText\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.processSelectedCustomer(_v.parent.context.$implicit.dmsCustomerId) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dmsSelectButtonText\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DmsPushModalComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"tr\", [], [[2, \"highlighted\", null]], null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"td\", [[\"class\", \"highlight\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \" \", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 1), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(9, null, [\"\", \"\"])), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"td\", [[\"class\", \"text-center\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_11)), i1.ɵdid(14, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = (_co.currentView == _co.DisplayView.customerSelectView); _ck(_v, 14, 0, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_v.context.$implicit.dmsCustomerId === _co.customerSelection); _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.context.$implicit.firstName; var currVal_2 = _v.context.$implicit.lastName; _ck(_v, 2, 0, currVal_1, currVal_2); var currVal_3 = _v.context.$implicit.dmsCustomerId; _ck(_v, 4, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent.parent, 0), ((_v.context.$implicit.phoneNumber1 == null) ? _v.context.$implicit.phoneNumber2 : _v.context.$implicit.phoneNumber1))); _ck(_v, 6, 0, currVal_4); var currVal_5 = _v.context.$implicit.email1; _ck(_v, 9, 0, currVal_5); var currVal_6 = _co.showFullAddress(_v.context.$implicit); _ck(_v, 11, 0, currVal_6); }); }\nfunction View_DmsPushModalComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 28, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"div\", [[\"class\", \"row intro\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-9\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_8)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_9)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-3 text-right\"], [\"style\", \"padding-right: 60px;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"dmsAddNewButtonText\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.processNewCustomer() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(9, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 18, \"div\", [[\"class\", \"row dms-customer-list\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 17, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 16, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 12, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 11, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"th\", [[\"translate\", \"dmsNameLabel\"]], null, null, null, null, null)), i1.ɵdid(16, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 1, \"th\", [[\"translate\", \"dmsIdLabel\"]], null, null, null, null, null)), i1.ɵdid(18, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"th\", [[\"translate\", \"dmsPhoneLabel\"]], null, null, null, null, null)), i1.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(21, 0, null, null, 1, \"th\", [[\"translate\", \"dmsEmailLabel\"]], null, null, null, null, null)), i1.ɵdid(22, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(23, 0, null, null, 1, \"th\", [[\"translate\", \"dmsAddressLabel\"]], null, null, null, null, null)), i1.ɵdid(24, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(25, 0, null, null, 0, \"th\", [[\"class\", \"text-center\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_10)), i1.ɵdid(28, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.customerMatches.length > 1); _ck(_v, 4, 0, currVal_0); var currVal_1 = (_co.customerMatches.length == 1); _ck(_v, 6, 0, currVal_1); var currVal_2 = \"dmsAddNewButtonText\"; _ck(_v, 9, 0, currVal_2); var currVal_3 = \"dmsNameLabel\"; _ck(_v, 16, 0, currVal_3); var currVal_4 = \"dmsIdLabel\"; _ck(_v, 18, 0, currVal_4); var currVal_5 = \"dmsPhoneLabel\"; _ck(_v, 20, 0, currVal_5); var currVal_6 = \"dmsEmailLabel\"; _ck(_v, 22, 0, currVal_6); var currVal_7 = \"dmsAddressLabel\"; _ck(_v, 24, 0, currVal_7); var currVal_8 = _co.customerMatches; _ck(_v, 28, 0, currVal_8); }, null); }\nfunction View_DmsPushModalComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"row intro\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"translate\", \"dmsCustomerAddedText\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"label\", [[\"class\", \"dms-colon-suffix dms-id-label\"], [\"translate\", \"dmsCustomerIdLabel\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"dmsCustomerAddedText\"; _ck(_v, 4, 0, currVal_0); var currVal_1 = \"dmsCustomerIdLabel\"; _ck(_v, 8, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.newOrUpdatedDMSCustomerID; _ck(_v, 10, 0, currVal_2); }); }\nfunction View_DmsPushModalComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"row intro\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"translate\", \"dmsDealAddedText\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"label\", [[\"class\", \"dms-colon-suffix dms-id-label\"], [\"translate\", \"dmsDeal_IdLabel\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"dmsDealAddedText\"; _ck(_v, 4, 0, currVal_0); var currVal_1 = \"dmsDeal_IdLabel\"; _ck(_v, 8, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.newOrUpdatedDMSDealID; _ck(_v, 10, 0, currVal_2); }); }\nfunction View_DmsPushModalComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"row intro\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"translate\", \"dmsErrorMessageText\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = \"dmsErrorMessageText\"; _ck(_v, 4, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.dmsErrorMsg; _ck(_v, 7, 0, currVal_1); }); }\nfunction View_DmsPushModalComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"row intro\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"translate\", \"dmsPleaseWaitText\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dmsPleaseWaitText\"; _ck(_v, 4, 0, currVal_0); }, null); }\nfunction View_DmsPushModalComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"cancel\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DmsPushModalComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"close\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DmsPushModalComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"dmsPushButtonText\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.pushToDms() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dmsPushButtonText\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DmsPushModalComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i5.LocalePhonePipe, [i6.StorageService]), i1.ɵpid(0, i7.LocaleDateTimePipe, [i6.StorageService]), i1.ɵpid(0, i8.LocaleCurrencyPipe, [i6.StorageService]), i1.ɵpid(0, i9.LocaleNumberPipe, [i6.StorageService]), (_l()(), i1.ɵeld(4, 0, null, null, 33, \"div\", [[\"class\", \"modal-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 32, \"div\", [[\"class\", \"alert-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"h5\", [[\"class\", \"modal-title\"], [\"translate\", \"dmsPushDialogTitle\"]], null, null, null, null, null)), i1.ɵdid(9, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i10.View_IconComponent_0, i10.RenderType_IconComponent)), i1.ɵdid(13, 638976, null, 0, i11.IconComponent, [i12.DomSanitizer], null, null), (_l()(), i1.ɵeld(14, 16777216, null, null, 16, \"div\", [[\"class\", \"modal-body form-horizontal\"]], null, null, null, null, null)), i1.ɵprd(512, null, i13.InstanceConfigHolderService, i13.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i13.ɵa, i13.ɵa, []), i1.ɵdid(17, 409600, null, 0, i13.NgBusyDirective, [i13.ɵb, i13.InstanceConfigHolderService, i1.ComponentFactoryResolver, i13.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(18, { busy: 0, delay: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_1)), i1.ɵdid(20, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_7)), i1.ɵdid(22, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_12)), i1.ɵdid(24, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_13)), i1.ɵdid(26, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_14)), i1.ɵdid(28, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_15)), i1.ɵdid(30, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(31, 0, null, null, 6, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_16)), i1.ɵdid(33, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_17)), i1.ɵdid(35, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DmsPushModalComponent_18)), i1.ɵdid(37, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dmsPushDialogTitle\"; _ck(_v, 9, 0, currVal_0); _ck(_v, 13, 0); var currVal_1 = _ck(_v, 18, 0, _co.busy, 200); _ck(_v, 17, 0, currVal_1); var currVal_2 = (_co.currentView == _co.DisplayView.initialView); _ck(_v, 20, 0, currVal_2); var currVal_3 = (_co.currentView == _co.DisplayView.customerSelectView); _ck(_v, 22, 0, currVal_3); var currVal_4 = (_co.currentView == _co.DisplayView.customerPushedView); _ck(_v, 24, 0, currVal_4); var currVal_5 = (_co.currentView == _co.DisplayView.dealPushedView); _ck(_v, 26, 0, currVal_5); var currVal_6 = (_co.currentView == _co.DisplayView.errorView); _ck(_v, 28, 0, currVal_6); var currVal_7 = (_co.currentView == _co.DisplayView.waitingView); _ck(_v, 30, 0, currVal_7); var currVal_8 = !_co.showCloseButton; _ck(_v, 33, 0, currVal_8); var currVal_9 = _co.showCloseButton; _ck(_v, 35, 0, currVal_9); var currVal_10 = (_co.currentView == _co.DisplayView.initialView); _ck(_v, 37, 0, currVal_10); }, null); }\nexports.View_DmsPushModalComponent_0 = View_DmsPushModalComponent_0;\nfunction View_DmsPushModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"dms-push-modal\", [], null, null, null, View_DmsPushModalComponent_0, RenderType_DmsPushModalComponent)), i1.ɵdid(1, 4440064, null, 0, i14.DmsPushModalComponent, [i12.DomSanitizer, i15.BsModalRef, i16.NgxModalWrapperService, i2.TranslateService, i17.ToasterLoggerService, i18.NotificationService, i19.DealSheetService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DmsPushModalComponent_Host_0 = View_DmsPushModalComponent_Host_0;\nvar DmsPushModalComponentNgFactory = i1.ɵccf(\"dms-push-modal\", i14.DmsPushModalComponent, View_DmsPushModalComponent_Host_0, {}, { onSaveChanges: \"onSaveChanges\" }, []);\nexports.DmsPushModalComponentNgFactory = DmsPushModalComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n

\r\n

\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {{customer.fullName}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{address1}}
\r\n {{address2}}
\r\n {{cityStZip}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{primaryPhone | localePhone}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{customer.emailAddress?.value}}\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n {{latestCreateDateUtc | localeDateTime }} \r\n {{latestRequestType}} {{latestFullName}}\r\n
: {{latestDmsCustomerId}}
\r\n
: {{latestDmsDealId}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {{replacementVin == null ? 'N/A' : replacementVin}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{replacementPrice | localeCurrency}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {{currentVin}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{currentTradeValue | localeCurrency}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n

1\">

\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
{{row.firstName}} {{row.lastName}}{{row.dmsCustomerId}}{{((row.phoneNumber1 == null) ? row.phoneNumber2 : row.phoneNumber1) | localePhone}}{{row.email1}}{{showFullAddress(row)}}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{newOrUpdatedDMSCustomerID}}\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{newOrUpdatedDMSDealID}}\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{dmsErrorMsg}}\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
","var path = '/app/components/deal-sheet/activity-actions.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar locale_number_pipe_1 = require(\"../../../../filters/locale-number.pipe\");\nvar AnnualPercentageRateComponent = /** @class */ (function () {\n function AnnualPercentageRateComponent(elementRef, injector, localeNumber) {\n this.localeNumber = localeNumber;\n }\n return AnnualPercentageRateComponent;\n}());\nexports.AnnualPercentageRateComponent = AnnualPercentageRateComponent;\n","import { Component, ElementRef, Injector, Input } from '@angular/core';\r\nimport { LocaleNumberPipe } from '../../../../filters/locale-number.pipe';\r\n\r\n@Component({\r\n selector: 'annual-percentage-rate',\r\n templateUrl: './annual-percentage-rate.component-ng.html',\r\n styleUrls: ['./annual-percentage-rate.component.scss']\r\n})\r\nexport class AnnualPercentageRateComponent {\r\n @Input() value: any;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector, public localeNumber: LocaleNumberPipe) {\r\n }\r\n}","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerTradeinClientService = /** @class */ (function (_super) {\n __extends(DealerTradeinClientService, _super);\n function DealerTradeinClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param params The `DealerTradeinClientService.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETParams` containing the following parameters:\n *\n * - `yearId`:\n *\n * - `trimId`:\n *\n * - `modelId`:\n *\n * - `makeId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerTradeinClientService.prototype.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerTradein/GetDealerTradeins/\" + params.dealerId + \"/\" + params.makeId + \"/\" + params.yearId + \"/\" + params.modelId + \"/\" + params.trimId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `DealerTradeinClientService.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETParams` containing the following parameters:\n *\n * - `yearId`:\n *\n * - `trimId`:\n *\n * - `modelId`:\n *\n * - `makeId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerTradeinClientService.prototype.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGET = function (params) {\n return this.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param tradeins undefined\n * @return Success\n */\n DealerTradeinClientService.prototype.UpdateDealerTradeinsPATCHResponse = function (tradeins) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = tradeins;\n var req = new http_1.HttpRequest('PATCH', this.rootUrl + \"/api/DealerTradein\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param tradeins undefined\n * @return Success\n */\n DealerTradeinClientService.prototype.UpdateDealerTradeinsPATCH = function (tradeins) {\n return this.UpdateDealerTradeinsPATCHResponse(tradeins).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerTradeinClientService.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETPath = '/api/DealerTradein/GetDealerTradeins/{dealerId}/{makeId}/{yearId}/{modelId}/{trimId}';\n DealerTradeinClientService.UpdateDealerTradeinsPATCHPath = '/api/DealerTradein';\n DealerTradeinClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerTradeinClientService_Factory() { return new DealerTradeinClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerTradeinClientService, providedIn: \"root\" });\n return DealerTradeinClientService;\n}(base_service_1.BaseService));\nexports.DealerTradeinClientService = DealerTradeinClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerTradeinExtDto } from '../models/dealer-tradein-ext-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerTradeinClientService extends __BaseService {\r\n static readonly GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETPath = '/api/DealerTradein/GetDealerTradeins/{dealerId}/{makeId}/{yearId}/{modelId}/{trimId}';\r\n static readonly UpdateDealerTradeinsPATCHPath = '/api/DealerTradein';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param params The `DealerTradeinClientService.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `yearId`:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `modelId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETResponse(params: DealerTradeinClientService.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerTradein/GetDealerTradeins/${params.dealerId}/${params.makeId}/${params.yearId}/${params.modelId}/${params.trimId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerTradeinClientService.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `yearId`:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `modelId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGET(params: DealerTradeinClientService.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETParams): __Observable> {\r\n return this.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param tradeins undefined\r\n * @return Success\r\n */\r\n UpdateDealerTradeinsPATCHResponse(tradeins?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = tradeins;\r\n let req = new HttpRequest(\r\n 'PATCH',\r\n this.rootUrl + `/api/DealerTradein`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param tradeins undefined\r\n * @return Success\r\n */\r\n UpdateDealerTradeinsPATCH(tradeins?: Array): __Observable> {\r\n return this.UpdateDealerTradeinsPATCHResponse(tradeins).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerTradeinClientService {\r\n\r\n /**\r\n * Parameters for GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGET\r\n */\r\n export interface GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGETParams {\r\n yearId: number;\r\n trimId: number;\r\n modelId: number;\r\n makeId: number;\r\n dealerId: number;\r\n }\r\n}\r\n\r\nexport { DealerTradeinClientService }\r\n","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\n\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var desc, proto;\n if (anObject(target) === receiver) return target[propertyKey];\n if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n","var path = '/app/components/header/header.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// @@match logic\nrequire('./_fix-re-wks')('match', 1, function (defined, MATCH, $match) {\n // 21.1.3.11 String.prototype.match(regexp)\n return [function match(regexp) {\n 'use strict';\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n }, $match];\n});\n","'use strict';\nvar $export = require('./_export');\nvar $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mobile-customer-phone.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"../customer-info/customer-info.component.scss.shim.ngstyle\"));\nvar i2 = __importStar(require(\"@angular/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../../../filters/locale-phone.pipe\"));\nvar i5 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i6 = __importStar(require(\"@ngx-translate/core\"));\nvar i7 = __importStar(require(\"./mobile-customer-phone.component\"));\nvar styles_MobileCustomerPhoneComponent = [i0.styles, i1.styles];\nvar RenderType_MobileCustomerPhoneComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_MobileCustomerPhoneComponent, data: {} });\nexports.RenderType_MobileCustomerPhoneComponent = RenderType_MobileCustomerPhoneComponent;\nfunction View_MobileCustomerPhoneComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"a\", [], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"])), i2.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵinlineInterpolate(1, \"\", (\"tel:\" + ((_co.phone == null) ? null : _co.phone.value)), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = i2.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i2.ɵnov(_v.parent.parent, 0), ((_co.phone == null) ? null : _co.phone.value))); _ck(_v, 1, 0, currVal_1); }); }\nfunction View_MobileCustomerPhoneComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"strike-out\"]], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"])), i2.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i2.ɵnov(_v.parent.parent, 0), ((_co.phone == null) ? null : _co.phone.value))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MobileCustomerPhoneComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"strike-out\"], [\"style\", \"color:red\"]], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"])), i2.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i2.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i2.ɵnov(_v.parent.parent, 0), ((_co.phone == null) ? null : _co.phone.value))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MobileCustomerPhoneComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_MobileCustomerPhoneComponent_2)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_MobileCustomerPhoneComponent_3)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_MobileCustomerPhoneComponent_4)), i2.ɵdid(6, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (!((_co.phone == null) ? null : _co.phone.isBad) && !_co.doNotCall); _ck(_v, 2, 0, currVal_0); var currVal_1 = (((_co.phone == null) ? null : _co.phone.isBad) && !_co.doNotCall); _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.doNotCall; _ck(_v, 6, 0, currVal_2); }, null); }\nfunction View_MobileCustomerPhoneComponent_0(_l) { return i2.ɵvid(2, [i2.ɵpid(0, i4.LocalePhonePipe, [i5.StorageService]), (_l()(), i2.ɵeld(1, 0, null, null, 8, \"div\", [[\"class\", \"row contact-info\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"col-xs-2\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 0, \"span\", [[\"class\", \"icon-class icon -size-24 phone-icon\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"col-xs-10\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_MobileCustomerPhoneComponent_1)), i2.ɵdid(6, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(8, 0, null, null, 1, \"span\", [], null, null, null, null, null)), i2.ɵdid(9, 8536064, null, 0, i6.TranslateDirective, [i6.TranslateService, i2.ElementRef, i2.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.phone == null) ? null : _co.phone.value); _ck(_v, 6, 0, currVal_0); var currVal_1 = i2.ɵinlineInterpolate(1, \"\", _co.type, \"\"); _ck(_v, 9, 0, currVal_1); }, null); }\nexports.View_MobileCustomerPhoneComponent_0 = View_MobileCustomerPhoneComponent_0;\nfunction View_MobileCustomerPhoneComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"mobile-customer-phone\", [], null, null, null, View_MobileCustomerPhoneComponent_0, RenderType_MobileCustomerPhoneComponent)), i2.ɵdid(1, 114688, null, 0, i7.MobileCustomerPhoneComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MobileCustomerPhoneComponent_Host_0 = View_MobileCustomerPhoneComponent_Host_0;\nvar MobileCustomerPhoneComponentNgFactory = i2.ɵccf(\"mobile-customer-phone\", i7.MobileCustomerPhoneComponent, View_MobileCustomerPhoneComponent_Host_0, { doNotCall: \"doNotCall\", phone: \"phone\", type: \"type\" }, {}, []);\nexports.MobileCustomerPhoneComponentNgFactory = MobileCustomerPhoneComponentNgFactory;\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{phone?.value | localePhone}}\r\n {{phone?.value | localePhone}}\r\n {{phone?.value | localePhone}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CustomerProcessStatuses = {\n notSet: 0,\n waiting: 10,\n new: 50,\n inProgress: 100,\n inProgressExternal: 101,\n overdue: 150,\n cancelled: 900,\n autoCancelled: 901,\n success: 1000,\n};\n","\r\nexport const CustomerProcessStatuses = {\r\n notSet: 0,\r\n waiting: 10,\r\n new: 50,\r\n inProgress: 100,\r\n inProgressExternal: 101,\r\n overdue: 150,\r\n cancelled: 900,\r\n autoCancelled: 901,\r\n success: 1000,\r\n};\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@uirouter/core\");\nvar mobile_deal_sheet_data_caching_service_1 = require(\"../../../../services/mobile-deal-sheet-data-caching.service\");\nvar CustomerInfoComponent = /** @class */ (function () {\n function CustomerInfoComponent(mobileDealSheetDataCachingService, transition, changeDetectorRef) {\n this.mobileDealSheetDataCachingService = mobileDealSheetDataCachingService;\n this.transition = transition;\n this.changeDetectorRef = changeDetectorRef;\n this.opportunityId = this.transition.params().opportunityId;\n }\n CustomerInfoComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(function (dealSheetData) {\n _this.opportunity = dealSheetData.opportunity;\n _this.permissions = dealSheetData.permissions;\n _this.changeDetectorRef.detectChanges();\n });\n this.busy = this.opportunitySubscription;\n };\n CustomerInfoComponent.prototype.ngOnDestroy = function () {\n this.opportunitySubscription.unsubscribe();\n };\n return CustomerInfoComponent;\n}());\nexports.CustomerInfoComponent = CustomerInfoComponent;\n","import { Component, OnInit, OnDestroy, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\r\nimport { DealSheetOpportunity } from '../../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { Transition } from '@uirouter/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { MobileDealSheetDataCachingService } from '../../../../services/mobile-deal-sheet-data-caching.service';\r\n\r\n@Component({\r\n selector: 'customer-info',\r\n templateUrl: './customer-info.component-ng.html',\r\n styleUrls: ['./customer-info.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CustomerInfoComponent implements OnInit, OnDestroy {\r\n opportunitySubscription: Subscription;\r\n opportunity: DealSheetOpportunity;\r\n permissions: DealSheetPermissions;\r\n private opportunityId: string;\r\n\r\n public busy: Subscription;\r\n\r\n constructor(private mobileDealSheetDataCachingService: MobileDealSheetDataCachingService,\r\n private transition: Transition,\r\n private changeDetectorRef: ChangeDetectorRef) {\r\n this.opportunityId = this.transition.params().opportunityId;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(dealSheetData => {\r\n this.opportunity = dealSheetData.opportunity;\r\n this.permissions = dealSheetData.permissions;\r\n\r\n this.changeDetectorRef.detectChanges();\r\n });\r\n\r\n this.busy = this.opportunitySubscription;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.opportunitySubscription.unsubscribe();\r\n }\r\n}\r\n","var path = '/app/components/header/main-menu.component.html';\nvar html = \"
{{item.name| translate | uppercase}}
{{item.name| translate | uppercase}}
{{item.name| translate | uppercase}}
{{item.name| translate | uppercase}}
{{item.name| translate | uppercase}}
{{item.name| translate | uppercase}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar CacheManagementClientService = /** @class */ (function (_super) {\n __extends(CacheManagementClientService, _super);\n function CacheManagementClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n CacheManagementClientService.prototype.FlushUserRelatedCacheGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/CacheManagement/FlushUserRelatedCache\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n CacheManagementClientService.prototype.FlushUserRelatedCacheGET = function () {\n return this.FlushUserRelatedCacheGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n CacheManagementClientService.FlushUserRelatedCacheGETPath = '/api/CacheManagement/FlushUserRelatedCache';\n CacheManagementClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function CacheManagementClientService_Factory() { return new CacheManagementClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: CacheManagementClientService, providedIn: \"root\" });\n return CacheManagementClientService;\n}(base_service_1.BaseService));\nexports.CacheManagementClientService = CacheManagementClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass CacheManagementClientService extends __BaseService {\r\n static readonly FlushUserRelatedCacheGETPath = '/api/CacheManagement/FlushUserRelatedCache';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n FlushUserRelatedCacheGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/CacheManagement/FlushUserRelatedCache`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n } FlushUserRelatedCacheGET(): __Observable {\r\n return this.FlushUserRelatedCacheGETResponse().pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule CacheManagementClientService {\r\n}\r\n\r\nexport { CacheManagementClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../constants\");\nvar collapse_1 = require(\"ngx-bootstrap/collapse\");\nvar CustomerConnectComponent = /** @class */ (function () {\n function CustomerConnectComponent(changeDetectorRef) {\n this.changeDetectorRef = changeDetectorRef;\n this.onLogScheduleSubmit = new core_1.EventEmitter();\n this.onCustomerEdit = new core_1.EventEmitter();\n this.ActivityActionEnum = constants_1.ActivityActionEnum;\n }\n CustomerConnectComponent.prototype.ngOnInit = function () {\n // init defaults\n this.scheduleModalParamObject = {\n modalType: null,\n opportunityId: this.opportunity && this.opportunity.id ? this.opportunity.id : null,\n dealerId: this.opportunity && this.opportunity.customer ? this.opportunity.customer.dealerID : null,\n dealSheetOwnerId: this.opportunity && this.opportunity.assignedUserId ? this.opportunity.assignedUserId : null,\n maxScheduleFutureDays: this.maxScheduleFutureDays,\n usersObject: this.users,\n activityObject: null,\n ownerUserInfoObject: this.opportunity && this.opportunity.ownerUserInfo ? this.opportunity.ownerUserInfo : null,\n expirationDate: this.opportunity && this.opportunity.expirationDate ? this.opportunity.expirationDate : null,\n uid: this.opportunity && this.opportunity.uid ? this.opportunity.uid : null\n };\n };\n CustomerConnectComponent.prototype.ngOnChanges = function (changes) {\n if ((changes.opportunity && changes.opportunity.currentValue\n || changes.users && changes.users.currentValue\n || changes.maxScheduleFutureDays && changes.maxScheduleFutureDays.currentValue\n || changes.opportunity && changes.opportunity.currentValue && changes.opportunity.currentValue.assignedUserId)\n && (this.opportunity && this.users && this.maxScheduleFutureDays)) {\n this.scheduleModalParamObject = {\n modalType: null,\n opportunityId: this.opportunity && this.opportunity.id ? this.opportunity.id : null,\n dealerId: this.opportunity && this.opportunity.customer ? this.opportunity.customer.dealerID : null,\n dealSheetOwnerId: this.opportunity && this.opportunity.assignedUserId ? this.opportunity.assignedUserId : null,\n maxScheduleFutureDays: this.maxScheduleFutureDays,\n usersObject: this.users,\n activityObject: null,\n ownerUserInfoObject: this.opportunity && this.opportunity.ownerUserInfo ? this.opportunity.ownerUserInfo : null,\n expirationDate: this.opportunity && this.opportunity.expirationDate ? this.opportunity.expirationDate : null,\n uid: this.opportunity && this.opportunity.uid ? this.opportunity.uid : null\n };\n }\n if (changes.isCustomerConnectOpen && changes.isCustomerConnectOpen.currentValue) {\n // always default to Log Call when opening Customer Connect\n if (!this.action) {\n this.onActionSelect(this.defaultCustomerConnectAction);\n }\n this.collapse.show();\n }\n };\n CustomerConnectComponent.prototype.onActionSelect = function (actionSelected) {\n this.actionTime = new Date().getTime();\n this.action = actionSelected;\n this.changeDetectorRef.detectChanges();\n };\n return CustomerConnectComponent;\n}());\nexports.CustomerConnectComponent = CustomerConnectComponent;\n","import { Component, EventEmitter, Input, OnInit, Output, OnChanges, SimpleChanges, ViewChild, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\r\nimport { Customer } from '../../../interfaces/customer.interface';\r\nimport { DealSheetOpportunity } from '../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { ActivityActionEnum } from '../../../constants';\r\nimport { ScheduleModalParam } from './ScheduleModalParam.interface';\r\nimport { CollapseDirective } from 'ngx-bootstrap/collapse';\r\n\r\n@Component({\r\n selector: 'customer-connect',\r\n templateUrl: './customer-connect.component-ng.html',\r\n styleUrls: ['./customer-connect.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CustomerConnectComponent implements OnInit, OnChanges {\r\n\r\n @Input() isCustomerConnectOpen: boolean;\r\n @Input() opportunity: DealSheetOpportunity;\r\n @Input() customer: Customer;\r\n @Input() users: any[];\r\n @Input() maxScheduleFutureDays: number;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() defaultCustomerConnectAction: any;\r\n @Output() onLogScheduleSubmit = new EventEmitter();\r\n @Output() onCustomerEdit = new EventEmitter();\r\n @Input() isEuroLite: boolean;\r\n @Input() isTextingEnabled: boolean;\r\n @Input() mobileView: boolean;\r\n\r\n @ViewChild('collapse', { static: true }) collapse: CollapseDirective;\r\n\r\n public ActivityActionEnum = ActivityActionEnum;\r\n public scheduleModalParamObject: ScheduleModalParam;\r\n public action: any;\r\n public actionTime: number;\r\n\r\n constructor(private changeDetectorRef: ChangeDetectorRef) { }\r\n\r\n ngOnInit() {\r\n // init defaults\r\n this.scheduleModalParamObject = {\r\n modalType: null,\r\n opportunityId: this.opportunity && this.opportunity.id ? this.opportunity.id : null,\r\n dealerId: this.opportunity && this.opportunity.customer ? this.opportunity.customer.dealerID : null,\r\n dealSheetOwnerId: this.opportunity && this.opportunity.assignedUserId ? this.opportunity.assignedUserId : null,\r\n maxScheduleFutureDays: this.maxScheduleFutureDays,\r\n usersObject: this.users,\r\n activityObject: null,\r\n ownerUserInfoObject: this.opportunity && this.opportunity.ownerUserInfo ? this.opportunity.ownerUserInfo : null,\r\n expirationDate: this.opportunity && this.opportunity.expirationDate ? this.opportunity.expirationDate : null,\r\n uid: this.opportunity && this.opportunity.uid ? this.opportunity.uid : null\r\n };\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if ((changes.opportunity && changes.opportunity.currentValue\r\n || changes.users && changes.users.currentValue\r\n || changes.maxScheduleFutureDays && changes.maxScheduleFutureDays.currentValue\r\n || changes.opportunity && changes.opportunity.currentValue && changes.opportunity.currentValue.assignedUserId)\r\n && (this.opportunity && this.users && this.maxScheduleFutureDays)) {\r\n\r\n this.scheduleModalParamObject = {\r\n modalType: null,\r\n opportunityId: this.opportunity && this.opportunity.id ? this.opportunity.id : null,\r\n dealerId: this.opportunity && this.opportunity.customer ? this.opportunity.customer.dealerID : null,\r\n dealSheetOwnerId: this.opportunity && this.opportunity.assignedUserId ? this.opportunity.assignedUserId : null,\r\n maxScheduleFutureDays: this.maxScheduleFutureDays,\r\n usersObject: this.users,\r\n activityObject: null,\r\n ownerUserInfoObject: this.opportunity && this.opportunity.ownerUserInfo ? this.opportunity.ownerUserInfo : null,\r\n expirationDate: this.opportunity && this.opportunity.expirationDate ? this.opportunity.expirationDate : null,\r\n uid: this.opportunity && this.opportunity.uid ? this.opportunity.uid : null\r\n };\r\n }\r\n\r\n if (changes.isCustomerConnectOpen && changes.isCustomerConnectOpen.currentValue) {\r\n // always default to Log Call when opening Customer Connect\r\n if (!this.action) {\r\n this.onActionSelect(this.defaultCustomerConnectAction);\r\n }\r\n\r\n this.collapse.show();\r\n }\r\n }\r\n\r\n onActionSelect(actionSelected) {\r\n this.actionTime = new Date().getTime();\r\n this.action = actionSelected;\r\n this.changeDetectorRef.detectChanges();\r\n }\r\n}\r\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var path = '/app/components/third-party-report.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".customer-culture-wrapper[_ngcontent-%COMP%]{display:inline-block;width:100%}.customer-culture-wrapper[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:disabled{background-color:#ebebe4}\"];\nexports.styles = styles;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar TagClientService = /** @class */ (function (_super) {\n __extends(TagClientService, _super);\n function TagClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n * @return Success\n */\n TagClientService.prototype.GetTagsForEntityByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Tag/GetTagsForEntity/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n TagClientService.prototype.GetTagsForEntityByEntityidGET = function (entityId) {\n return this.GetTagsForEntityByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param flushCache undefined\n * @return Success\n */\n TagClientService.prototype.GetTagsPivotForDealersGETResponse = function (flushCache) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (flushCache != null)\n __params = __params.set('flushCache', flushCache.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Tag/GetTagsPivotForDealers\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param flushCache undefined\n * @return Success\n */\n TagClientService.prototype.GetTagsPivotForDealersGET = function (flushCache) {\n return this.GetTagsPivotForDealersGETResponse(flushCache).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TagClientService.IsTagActivePast6MonthsByDealeridByTagtextGETParams` containing the following parameters:\n *\n * - `tagText`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n TagClientService.prototype.IsTagActivePast6MonthsByDealeridByTagtextGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Tag/IsTagActivePast6Months/\" + params.dealerId + \"/\" + params.tagText), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: _r.body === 'true' });\n }));\n };\n /**\n * @param params The `TagClientService.IsTagActivePast6MonthsByDealeridByTagtextGETParams` containing the following parameters:\n *\n * - `tagText`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n TagClientService.prototype.IsTagActivePast6MonthsByDealeridByTagtextGET = function (params) {\n return this.IsTagActivePast6MonthsByDealeridByTagtextGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n TagClientService.prototype.GetTagsForDealersByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Tag/GetTagsForDealers/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n TagClientService.prototype.GetTagsForDealersByDealeridGET = function (dealerId) {\n return this.GetTagsForDealersByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n TagClientService.prototype.GetActiveTagsInDateRangePOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Tag/GetActiveTagsInDateRange\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n TagClientService.prototype.GetActiveTagsInDateRangePOST = function (request) {\n return this.GetActiveTagsInDateRangePOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TagClientService.GetActiveTagsInDateRangeForDealerByDealeridPOSTParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `request`:\n */\n TagClientService.prototype.GetActiveTagsInDateRangeForDealerByDealeridPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Tag/GetActiveTagsInDateRangeForDealer/\" + params.dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TagClientService.GetActiveTagsInDateRangeForDealerByDealeridPOSTParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `request`:\n */\n TagClientService.prototype.GetActiveTagsInDateRangeForDealerByDealeridPOST = function (params) {\n return this.GetActiveTagsInDateRangeForDealerByDealeridPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n TagClientService.GetTagsForEntityByEntityidGETPath = '/api/Tag/GetTagsForEntity/{entityId}';\n TagClientService.GetTagsPivotForDealersGETPath = '/api/Tag/GetTagsPivotForDealers';\n TagClientService.IsTagActivePast6MonthsByDealeridByTagtextGETPath = '/api/Tag/IsTagActivePast6Months/{dealerId}/{tagText}';\n TagClientService.GetTagsForDealersByDealeridGETPath = '/api/Tag/GetTagsForDealers/{dealerId}';\n TagClientService.GetActiveTagsInDateRangePOSTPath = '/api/Tag/GetActiveTagsInDateRange';\n TagClientService.GetActiveTagsInDateRangeForDealerByDealeridPOSTPath = '/api/Tag/GetActiveTagsInDateRangeForDealer/{dealerId}';\n TagClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TagClientService_Factory() { return new TagClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: TagClientService, providedIn: \"root\" });\n return TagClientService;\n}(base_service_1.BaseService));\nexports.TagClientService = TagClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { TagExtDto } from '../models/tag-ext-dto';\r\nimport { TagPivotItemDto } from '../models/tag-pivot-item-dto';\r\nimport { TagDto } from '../models/tag-dto';\r\nimport { ActiveTagsRequestDto } from '../models/active-tags-request-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass TagClientService extends __BaseService {\r\n static readonly GetTagsForEntityByEntityidGETPath = '/api/Tag/GetTagsForEntity/{entityId}';\r\n static readonly GetTagsPivotForDealersGETPath = '/api/Tag/GetTagsPivotForDealers';\r\n static readonly IsTagActivePast6MonthsByDealeridByTagtextGETPath = '/api/Tag/IsTagActivePast6Months/{dealerId}/{tagText}';\r\n static readonly GetTagsForDealersByDealeridGETPath = '/api/Tag/GetTagsForDealers/{dealerId}';\r\n static readonly GetActiveTagsInDateRangePOSTPath = '/api/Tag/GetActiveTagsInDateRange';\r\n static readonly GetActiveTagsInDateRangeForDealerByDealeridPOSTPath = '/api/Tag/GetActiveTagsInDateRangeForDealer/{dealerId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetTagsForEntityByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Tag/GetTagsForEntity/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetTagsForEntityByEntityidGET(entityId: string): __Observable> {\r\n return this.GetTagsForEntityByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param flushCache undefined\r\n * @return Success\r\n */\r\n GetTagsPivotForDealersGETResponse(flushCache?: boolean): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (flushCache != null) __params = __params.set('flushCache', flushCache.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Tag/GetTagsPivotForDealers`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param flushCache undefined\r\n * @return Success\r\n */\r\n GetTagsPivotForDealersGET(flushCache?: boolean): __Observable> {\r\n return this.GetTagsPivotForDealersGETResponse(flushCache).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TagClientService.IsTagActivePast6MonthsByDealeridByTagtextGETParams` containing the following parameters:\r\n *\r\n * - `tagText`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n IsTagActivePast6MonthsByDealeridByTagtextGETResponse(params: TagClientService.IsTagActivePast6MonthsByDealeridByTagtextGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Tag/IsTagActivePast6Months/${params.dealerId}/${params.tagText}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: (_r as HttpResponse).body === 'true' }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TagClientService.IsTagActivePast6MonthsByDealeridByTagtextGETParams` containing the following parameters:\r\n *\r\n * - `tagText`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n IsTagActivePast6MonthsByDealeridByTagtextGET(params: TagClientService.IsTagActivePast6MonthsByDealeridByTagtextGETParams): __Observable {\r\n return this.IsTagActivePast6MonthsByDealeridByTagtextGETResponse(params).pipe(\r\n __map(_r => _r.body as boolean)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetTagsForDealersByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Tag/GetTagsForDealers/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetTagsForDealersByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetTagsForDealersByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n GetActiveTagsInDateRangePOSTResponse(request?: ActiveTagsRequestDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Tag/GetActiveTagsInDateRange`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n GetActiveTagsInDateRangePOST(request?: ActiveTagsRequestDto): __Observable {\r\n return this.GetActiveTagsInDateRangePOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TagClientService.GetActiveTagsInDateRangeForDealerByDealeridPOSTParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `request`:\r\n */\r\n GetActiveTagsInDateRangeForDealerByDealeridPOSTResponse(params: TagClientService.GetActiveTagsInDateRangeForDealerByDealeridPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n __body = params.request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Tag/GetActiveTagsInDateRangeForDealer/${params.dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TagClientService.GetActiveTagsInDateRangeForDealerByDealeridPOSTParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `request`:\r\n */\r\n GetActiveTagsInDateRangeForDealerByDealeridPOST(params: TagClientService.GetActiveTagsInDateRangeForDealerByDealeridPOSTParams): __Observable {\r\n return this.GetActiveTagsInDateRangeForDealerByDealeridPOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule TagClientService {\r\n\r\n /**\r\n * Parameters for IsTagActivePast6MonthsByDealeridByTagtextGET\r\n */\r\n export interface IsTagActivePast6MonthsByDealeridByTagtextGETParams {\r\n tagText: string;\r\n dealerId: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetActiveTagsInDateRangeForDealerByDealeridPOST\r\n */\r\n export interface GetActiveTagsInDateRangeForDealerByDealeridPOSTParams {\r\n dealerId: number;\r\n request?: ActiveTagsRequestDto;\r\n }\r\n}\r\n\r\nexport { TagClientService }\r\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function';\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n require('./_object-gops').f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar toPrimitive = require('./_to-primitive');\n\n$export($export.P + $export.F * require('./_fails')(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n}), 'Date', {\n // eslint-disable-next-line no-unused-vars\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","// 20.2.2.22 Math.log2(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log2: function log2(x) {\n return Math.log(x) / Math.LN2;\n }\n});\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar ChangeLogClientService = /** @class */ (function (_super) {\n __extends(ChangeLogClientService, _super);\n function ChangeLogClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n */\n ChangeLogClientService.prototype.ByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ChangeLog/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n ChangeLogClientService.prototype.ByEntityidGET = function (entityId) {\n return this.ByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ChangeLogClientService.AddTermChangeLogByVehicleidByTermPOSTParams` containing the following parameters:\n *\n * - `vehicleId`:\n *\n * - `term`:\n */\n ChangeLogClientService.prototype.AddTermChangeLogByVehicleidByTermPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/ChangeLog/Term/\" + params.vehicleId + \"/\" + params.term), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ChangeLogClientService.AddTermChangeLogByVehicleidByTermPOSTParams` containing the following parameters:\n *\n * - `vehicleId`:\n *\n * - `term`:\n */\n ChangeLogClientService.prototype.AddTermChangeLogByVehicleidByTermPOST = function (params) {\n return this.AddTermChangeLogByVehicleidByTermPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ChangeLogClientService.AddPriceChangeLogByVehicleidByPricePOSTParams` containing the following parameters:\n *\n * - `vehicleId`:\n *\n * - `price`:\n */\n ChangeLogClientService.prototype.AddPriceChangeLogByVehicleidByPricePOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/ChangeLog/Price/\" + params.vehicleId + \"/\" + params.price), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ChangeLogClientService.AddPriceChangeLogByVehicleidByPricePOSTParams` containing the following parameters:\n *\n * - `vehicleId`:\n *\n * - `price`:\n */\n ChangeLogClientService.prototype.AddPriceChangeLogByVehicleidByPricePOST = function (params) {\n return this.AddPriceChangeLogByVehicleidByPricePOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n ChangeLogClientService.ByEntityidGETPath = '/api/ChangeLog/{entityId}';\n ChangeLogClientService.AddTermChangeLogByVehicleidByTermPOSTPath = '/api/ChangeLog/Term/{vehicleId}/{term}';\n ChangeLogClientService.AddPriceChangeLogByVehicleidByPricePOSTPath = '/api/ChangeLog/Price/{vehicleId}/{price}';\n ChangeLogClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ChangeLogClientService_Factory() { return new ChangeLogClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: ChangeLogClientService, providedIn: \"root\" });\n return ChangeLogClientService;\n}(base_service_1.BaseService));\nexports.ChangeLogClientService = ChangeLogClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass ChangeLogClientService extends __BaseService {\r\n static readonly ByEntityidGETPath = '/api/ChangeLog/{entityId}';\r\n static readonly AddTermChangeLogByVehicleidByTermPOSTPath = '/api/ChangeLog/Term/{vehicleId}/{term}';\r\n static readonly AddPriceChangeLogByVehicleidByPricePOSTPath = '/api/ChangeLog/Price/{vehicleId}/{price}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n ByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ChangeLog/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n ByEntityidGET(entityId: string): __Observable {\r\n return this.ByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ChangeLogClientService.AddTermChangeLogByVehicleidByTermPOSTParams` containing the following parameters:\r\n *\r\n * - `vehicleId`:\r\n *\r\n * - `term`:\r\n */\r\n AddTermChangeLogByVehicleidByTermPOSTResponse(params: ChangeLogClientService.AddTermChangeLogByVehicleidByTermPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/ChangeLog/Term/${params.vehicleId}/${params.term}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ChangeLogClientService.AddTermChangeLogByVehicleidByTermPOSTParams` containing the following parameters:\r\n *\r\n * - `vehicleId`:\r\n *\r\n * - `term`:\r\n */\r\n AddTermChangeLogByVehicleidByTermPOST(params: ChangeLogClientService.AddTermChangeLogByVehicleidByTermPOSTParams): __Observable {\r\n return this.AddTermChangeLogByVehicleidByTermPOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ChangeLogClientService.AddPriceChangeLogByVehicleidByPricePOSTParams` containing the following parameters:\r\n *\r\n * - `vehicleId`:\r\n *\r\n * - `price`:\r\n */\r\n AddPriceChangeLogByVehicleidByPricePOSTResponse(params: ChangeLogClientService.AddPriceChangeLogByVehicleidByPricePOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/ChangeLog/Price/${params.vehicleId}/${params.price}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ChangeLogClientService.AddPriceChangeLogByVehicleidByPricePOSTParams` containing the following parameters:\r\n *\r\n * - `vehicleId`:\r\n *\r\n * - `price`:\r\n */\r\n AddPriceChangeLogByVehicleidByPricePOST(params: ChangeLogClientService.AddPriceChangeLogByVehicleidByPricePOSTParams): __Observable {\r\n return this.AddPriceChangeLogByVehicleidByPricePOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule ChangeLogClientService {\r\n\r\n /**\r\n * Parameters for AddTermChangeLogByVehicleidByTermPOST\r\n */\r\n export interface AddTermChangeLogByVehicleidByTermPOSTParams {\r\n vehicleId: number;\r\n term: string;\r\n }\r\n\r\n /**\r\n * Parameters for AddPriceChangeLogByVehicleidByPricePOST\r\n */\r\n export interface AddPriceChangeLogByVehicleidByPricePOSTParams {\r\n vehicleId: number;\r\n price: number;\r\n }\r\n}\r\n\r\nexport { ChangeLogClientService }\r\n","var path = '/app/components/deal-sheet/template-email-preview.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, searchString, NAME) {\n if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n","var path = '/app/components/search/search-preset-selector-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar rApply = (require('./_global').Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !require('./_fails')(function () {\n rApply(function () { /* empty */ });\n}), 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList) {\n var T = aFunction(target);\n var L = anObject(argumentsList);\n return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n }\n});\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../../core/toaster-logger.service\");\nvar dms_push_modal_component_1 = require(\"../dms-push-modal/dms-push-modal.component\");\nvar ngx_modal_wrapper_service_1 = require(\"../../../services/ngx-modal-wrapper.service\");\nvar DmsPushComponent = /** @class */ (function () {\n function DmsPushComponent(modalService, tService, logger) {\n this.modalService = modalService;\n this.tService = tService;\n this.logger = logger;\n }\n DmsPushComponent.prototype.ngOnInit = function () {\n };\n DmsPushComponent.prototype.ngOnChanges = function (changes) {\n };\n DmsPushComponent.prototype.dmsPushModal = function () {\n var initialState = {\n dealerId: this.dealerId,\n customer: this.customer,\n states: this.states,\n currentVin: this.currentVin,\n currentTradeValue: this.currentTradeValue,\n replacementVin: this.replacementVin,\n replacementPrice: this.replacementPrice,\n replacementSaleType: this.replacementSaleType,\n currentYear: this.currentYear,\n currentMake: this.currentMake,\n currentModel: this.currentModel,\n currentMileage: this.currentMileage,\n };\n this.bsModalRef = this.modalService.show(dms_push_modal_component_1.DmsPushModalComponent, { initialState: initialState, class: 'dms-push-modal' });\n this.bsModalRef.content.onSaveChanges.subscribe(function (result) {\n });\n };\n return DmsPushComponent;\n}());\nexports.DmsPushComponent = DmsPushComponent;\n","import { Component, OnInit, Input, OnChanges, Inject, SimpleChanges } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToasterLoggerService } from '../../../core/toaster-logger.service';\r\nimport { DmsPushModalComponent } from '../dms-push-modal/dms-push-modal.component';\r\nimport { NgxModalWrapperService } from '../../../services/ngx-modal-wrapper.service';\r\n\r\n@Component({\r\n selector: 'dmsPush',\r\n templateUrl: './dms-push.component-ng.html',\r\n styleUrls: ['./dms-push.component.scss']\r\n})\r\nexport class DmsPushComponent {\r\n @Input() dealerId: number;\r\n @Input() customer: any;\r\n @Input() states: any;\r\n @Input() currentVin: string;\r\n @Input() currentTradeValue: number;\r\n @Input() currentYear: string;\r\n @Input() currentMake: string;\r\n @Input() currentModel: string;\r\n @Input() currentMileage: number;\r\n @Input() replacementVin: string;\r\n @Input() replacementPrice: number;\r\n @Input() replacementSaleType: number;\r\n bsModalRef: BsModalRef;\r\n\r\n constructor(\r\n public modalService: NgxModalWrapperService,\r\n public tService: TranslateService,\r\n public logger: ToasterLoggerService) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n }\r\n\r\n public dmsPushModal() {\r\n\r\n const initialState = {\r\n dealerId: this.dealerId,\r\n customer: this.customer,\r\n states: this.states,\r\n currentVin: this.currentVin,\r\n currentTradeValue: this.currentTradeValue,\r\n replacementVin: this.replacementVin,\r\n replacementPrice: this.replacementPrice,\r\n replacementSaleType: this.replacementSaleType,\r\n currentYear: this.currentYear,\r\n currentMake: this.currentMake,\r\n currentModel: this.currentModel,\r\n currentMileage: this.currentMileage,\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(DmsPushModalComponent, { initialState, class: 'dms-push-modal' });\r\n\r\n this.bsModalRef.content.onSaveChanges.subscribe((result: any) => {\r\n\r\n });\r\n }\r\n\r\n}\r\n","// 20.2.2.21 Math.log10(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log10: function log10(x) {\n return Math.log(x) * Math.LOG10E;\n }\n});\n","module.exports = \"Dealer Shared Searches\"","var path = '/app/components/deal-sheet/email-info-edit.component.html';\nvar html = \"
i
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = context(this, searchString, ENDS_WITH);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n var search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","var path = '/app/components/search/search-add-access-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar services_1 = require(\"../generated/services\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../generated/services/pando-passthrough-client.service\"));\nvar i2 = __importStar(require(\"../generated/services/ext-customer-activity-client.service\"));\nvar AutoAssistantService = /** @class */ (function () {\n function AutoAssistantService(pandoPassthroughClientService, extCustomerActivityClientService) {\n this.pandoPassthroughClientService = pandoPassthroughClientService;\n this.extCustomerActivityClientService = extCustomerActivityClientService;\n }\n AutoAssistantService.prototype.endCommunication = function (entityId) {\n return this.extCustomerActivityClientService.AddEndConversationEventRecordByEntityidGET(entityId).toPromise();\n };\n AutoAssistantService.prototype.isAutoAssistantConversationOpen = function (entityId) {\n return this.extCustomerActivityClientService.IsAutoAssistantConversationOpenByEntityidGET(entityId).toPromise();\n };\n AutoAssistantService.prototype.getAutoAssistFullView = function (dealerId, entityId) {\n return this.pandoPassthroughClientService.AutoAssistFullViewByDealeridByEntityidGET({ dealerId: dealerId, entityId: entityId }).toPromise();\n };\n AutoAssistantService.prototype.getConversicaConversationStatuses = function (dealerId, entityId) {\n return this.pandoPassthroughClientService.GetConversicaConversationStatusesByDealeridByEntityidGET({ dealerId: dealerId, entityId: entityId }).toPromise();\n };\n AutoAssistantService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AutoAssistantService_Factory() { return new AutoAssistantService(i0.ɵɵinject(i1.PandoPassthroughClientService), i0.ɵɵinject(i2.ExtCustomerActivityClientService)); }, token: AutoAssistantService, providedIn: \"root\" });\n return AutoAssistantService;\n}());\nexports.AutoAssistantService = AutoAssistantService;\n","import { Injectable } from \"@angular/core\";\r\nimport { PandoPassthroughClientService, ExtCustomerActivityClientService } from \"../generated/services\";\r\nimport { GetFullConversicaConversationResponseDto } from \"../generated/models\";\r\nimport { ConversicaConversationStatus } from \"../generated/models/conversica-conversation-status\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AutoAssistantService {\r\n\r\n constructor(\r\n private pandoPassthroughClientService: PandoPassthroughClientService,\r\n private extCustomerActivityClientService: ExtCustomerActivityClientService) {\r\n\r\n }\r\n\r\n endCommunication(entityId: string): Promise {\r\n return this.extCustomerActivityClientService.AddEndConversationEventRecordByEntityidGET(entityId).toPromise();\r\n }\r\n\r\n isAutoAssistantConversationOpen(entityId: string): Promise {\r\n return this.extCustomerActivityClientService.IsAutoAssistantConversationOpenByEntityidGET(entityId).toPromise();\r\n }\r\n\r\n getAutoAssistFullView(dealerId: number, entityId: string): Promise {\r\n return this.pandoPassthroughClientService.AutoAssistFullViewByDealeridByEntityidGET({ dealerId, entityId }).toPromise();\r\n }\r\n\r\n getConversicaConversationStatuses(dealerId: number, entityId: string): Promise> {\r\n return this.pandoPassthroughClientService.GetConversicaConversationStatusesByDealeridByEntityidGET({ dealerId, entityId }).toPromise();\r\n }\r\n}\r\n","'use strict';\n// B.2.3.6 String.prototype.fixed()\nrequire('./_string-html')('fixed', function (createHTML) {\n return function fixed() {\n return createHTML(this, 'tt', '', '');\n };\n});\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./score-info.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i6 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i7 = __importStar(require(\"../../icon/icon.component\"));\nvar i8 = __importStar(require(\"@angular/platform-browser\"));\nvar i9 = __importStar(require(\"./score-info.component\"));\nvar i10 = __importStar(require(\"../../../services/ngx-modal-wrapper.service\"));\nvar styles_ScoreInfoComponent = [i0.styles];\nvar RenderType_ScoreInfoComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ScoreInfoComponent, data: {} });\nexports.RenderType_ScoreInfoComponent = RenderType_ScoreInfoComponent;\nfunction View_ScoreInfoComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"translate\", \"scoreInfoTooltip\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"scoreInfoTooltip\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ScoreInfoComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 3, \"a\", [[\"container\", \"body\"], [\"href\", \"javascript:void(0)\"], [\"placement\", \"bottom\"], [\"triggers\", \"mouseenter:mouseleave\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.scoreInfoModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 212992, null, 0, i3.PopoverDirective, [i3.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i4.ComponentLoaderFactory, i5.PositioningService], { popover: [0, \"popover\"], placement: [1, \"placement\"], triggers: [2, \"triggers\"], container: [3, \"container\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"icon\", \"'info-i'\"]], null, null, null, i6.View_IconComponent_0, i6.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i7.IconComponent, [i8.DomSanitizer], { icon: [0, \"icon\"] }, null), (_l()(), i1.ɵand(0, [[\"popScoreInfoTemplate\", 2]], null, 0, null, View_ScoreInfoComponent_1))], function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 4); var currVal_1 = \"bottom\"; var currVal_2 = \"mouseenter:mouseleave\"; var currVal_3 = \"body\"; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_4 = \"'info-i'\"; _ck(_v, 3, 0, currVal_4); }, null); }\nexports.View_ScoreInfoComponent_0 = View_ScoreInfoComponent_0;\nfunction View_ScoreInfoComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"score-info\", [], null, null, null, View_ScoreInfoComponent_0, RenderType_ScoreInfoComponent)), i1.ɵdid(1, 114688, null, 0, i9.ScoreInfoComponent, [i10.NgxModalWrapperService, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ScoreInfoComponent_Host_0 = View_ScoreInfoComponent_Host_0;\nvar ScoreInfoComponentNgFactory = i1.ɵccf(\"score-info\", i9.ScoreInfoComponent, View_ScoreInfoComponent_Host_0, { entityId: \"entityId\" }, {}, []);\nexports.ScoreInfoComponentNgFactory = ScoreInfoComponentNgFactory;\n","\r\n \r\n\r\n\r\n \r\n\r\n","module.exports = \"x-data-entry-trade-ins {\\n font-size: 11pt;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper {\\n padding-left: 15px;\\n padding-right: 15px;\\n width: 100%;\\n /*a {\\n color: #1F8BD5;\\n }*/\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper label, x-data-entry-trade-ins .trade-ins-wrapper .form-control {\\n font-size: 11pt;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper > .-formcontainer {\\n background-color: #E7E7E7;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .table > thead > tr > th,\\nx-data-entry-trade-ins .trade-ins-wrapper .table > tbody > tr > th {\\n text-align: center;\\n font-weight: bold;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .table > thead > tr > th.th-group,\\nx-data-entry-trade-ins .trade-ins-wrapper .table > tbody > tr > th.th-group {\\n border-bottom: solid 1px #1f8bd5;\\n color: #1f8bd5;\\n vertical-align: bottom;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .table > tbody > tr > th,\\nx-data-entry-trade-ins .trade-ins-wrapper .table > tbody > tr > td {\\n text-align: center;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .table > tbody > tr > th.align-left,\\nx-data-entry-trade-ins .trade-ins-wrapper .table > tbody > tr > td.align-left {\\n text-align: left;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .table > tbody > tr > th.align-right,\\nx-data-entry-trade-ins .trade-ins-wrapper .table > tbody > tr > td.align-right {\\n text-align: right;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper td {\\n padding-bottom: 5px;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .float-right {\\n float: right;\\n padding-right: 15px;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .padding-left {\\n padding-left: 20px;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .margin-left {\\n margin-left: 10px;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .page-title {\\n padding: 10px 0 0 10px;\\n float: left;\\n font-size: 18pt;\\n color: #444B4F;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .title-dealer {\\n color: black;\\n margin-top: 18px;\\n float: left;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .dealer-select {\\n padding: 10px 0 0 10px;\\n float: left;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper hr {\\n border-top: 1px solid #1F8BD5;\\n margin-bottom: 10px;\\n margin-top: 10px !important;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper hr:not(.margin-top) {\\n margin-top: 10;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .expire-date {\\n color: red;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .bold {\\n font-weight: bold;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .padding-bottom {\\n padding-bottom: 10px;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .error {\\n color: Red !important;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .edit-box {\\n border: 1px solid #ccc;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n -webkit-appearance: none;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .edit-box-error {\\n border: 1px solid red;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n -webkit-appearance: none;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .k-grid td {\\n font-size: 12pt;\\n font-family: Arial;\\n padding-top: 2px;\\n padding-bottom: 2px;\\n padding-right: 5px;\\n padding-left: 5px;\\n}\\nx-data-entry-trade-ins .trade-ins-wrapper .k-grid-header th.k-header {\\n font-size: 12pt;\\n font-weight: 500;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9kYXRhLWVudHJ5L0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcY29tcG9uZW50c1xcZGF0YS1lbnRyeVxcZGF0YS1lbnRyeS10cmFkZS1pbnMuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvZGF0YS1lbnRyeS9kYXRhLWVudHJ5LXRyYWRlLWlucy5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9kYXRhLWVudHJ5L0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV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gT3ZlcnJpZGVzIGZvciBmb250LXNpemVzIHdlJ3ZlIHB1dCBlbHNld2hlcmVcclxuICAgIGxhYmVsLCAuZm9ybS1jb250cm9sIHtcclxuICAgICAgICBmb250LXNpemU6ICRmb250LXNpemU7XHJcbiAgICB9XHJcblxyXG4gICAgPiAuLWZvcm1jb250YWluZXIge1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICRmcmFtZS1iYWNrZ3JvdW5kLWNvbG9yO1xyXG4gICAgfVxyXG5cclxuICAgIC50YWJsZSA+IHRoZWFkID4gdHIgPiB0aCxcclxuICAgIC50YWJsZSA+IHRib2R5ID4gdHIgPiB0aCB7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG5cclxuICAgICAgICAmLnRoLWdyb3VwIHtcclxuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogc29saWQgMXB4ICRncmFkaWVudC1saWdodC1jb2xvcjtcclxuICAgICAgICAgICAgY29sb3I6ICRncmFkaWVudC1saWdodC1jb2xvcjtcclxuICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IGJvdHRvbTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLnRhYmxlID4gdGJvZHkgPiB0ciA+IHRoLFxyXG4gICAgLnRhYmxlID4gdGJvZHkgPiB0ciA+IHRkIHtcclxuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICAgICAgJi5hbGlnbi1sZWZ0IHtcclxuICAgICAgICAgICAgdGV4dC1hbGlnbjogbGVmdDtcclxuICAgICAgICB9XHJcbiAgICAgICAgJi5hbGlnbi1yaWdodCB7XHJcbiAgICAgICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICB0ZCB7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDVweDtcclxuICAgIH1cclxuX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AgICAgIG1hcmdpbi10b3A6IDEwO1xyXG4gICAgfVxyXG5cclxuICAgIC5leHBpcmUtZGF0ZSB7XHJcbiAgICAgICAgY29sb3I6IHJlZDtcclxuICAgICB9XHJcblxyXG4gICAgIC5ib2xkIHtcclxuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgICB9XHJcblxyXG4gICAgLnBhZGRpbmctYm90dG9tIHtcclxuICAgICAgICBwYWRkaW5nLWJvdHRvbTogMTBweDtcclxuICAgIH1cclxuXHJcbiAgICAuZXJyb3Ige1xyXG4gICAgICAgIGNvbG9yOiBSZWQhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIC5lZGl0LWJveCB7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2NjYztcclxuICAgICAgICAtbW96LWJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgLXdlYmtpdC1ib3JkZXItcmFkaXVzOiAxMHB4O1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgaGVpZ2h0OiAyMHB4O1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTJwdDtcclxuICAgICAgICBwYWRkaW5nOiAycHggOHB4O1xyXG4gICAgICAgIG91dGxpbmU6IDA7XHJcbiAgICAgICAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lO1xyXG4gICAgfVxyXG5cclxuICAgIC5lZGl0LWJveC1lcnJvciB7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgcmVkO1xyXG4gICAgICAgIC1tb3otYm9yZGVyLXJhZGl1czogMTBweDtcclxuICAgICAgICAtd2Via2l0LWJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMTBweDtcclxuICAgICAgICBoZWlnaHQ6IDIwcHg7XHJcbiAgICAgICAgZm9udC1zaXplOiAxMnB0O1xyXG4gICAgICAgIHBhZGRpbmc6IDJweCA4cHg7XH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JkZXI6ICNjY2M7XHJcbiRTZWN0aW9uSW5wdXRJbnZhbGlkOiAjZjUzMTQyO1xyXG4kU2VjdGlvbkJvcmRlckludmFsaWRGb2N1czogcmdiYSgyNDUsIDQ5LCA2NiwgMC44KTtcclxuJFNlY3Rpb25Cb3JkZXJGb2N1czogcmdiYSg4MiwgMTY4LCAyMzYsIDAuOCk7XHJcbiRTZWN0aW9uQm9yZGVyQm94U2hhZG93OiByZ2JhKDgyLCAxNjgsIDIzNiwgMC42KTtcclxuJFNlY3Rpb25Cb3JkZXJJbnZhbGlkU2hhZG93OiByZ2JhKDI0NSwgNDksIDY2LCAwLjYpO1xyXG4kU2VjdGlvbkJhY2tncm91bmQ6ICNmZmY7XHJcblxyXG4ka2VuZG9HcmlkRm9udEZhbWlseTogXCJSb2JvdG9cIjtcclxuIl19 */\"","var path = '/app/components/search/search-directalert.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar ReplacementVehicleOffersComponent = /** @class */ (function () {\n function ReplacementVehicleOffersComponent() {\n this.label = 'replacementVehicle';\n }\n ReplacementVehicleOffersComponent.prototype.ngOnInit = function () {\n };\n ReplacementVehicleOffersComponent.prototype.ngOnChanges = function (changes) {\n if (changes.currentVehicle && this.replacementVehicles) {\n switch (this.currentVehicle) {\n case this.replacementVehicles.standardVehicle:\n this.label = 'replacementVehicle';\n break;\n case this.replacementVehicles.upgradeVehicle:\n this.label = 'upgrade';\n break;\n case this.replacementVehicles.downgradeVehicle:\n this.label = 'downgrade';\n break;\n default:\n this.label = 'alternate';\n break;\n }\n }\n };\n return ReplacementVehicleOffersComponent;\n}());\nexports.ReplacementVehicleOffersComponent = ReplacementVehicleOffersComponent;\n","import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'replacement-vehicle-offers',\r\n templateUrl: './replacement-vehicle-offers.component-ng.html',\r\n styleUrls: ['./replacement-vehicle-offers.component.scss']\r\n})\r\nexport class ReplacementVehicleOffersComponent implements OnInit {\r\n @Input() currentVehicle: any;\r\n @Input() replacementVehicles: any;\r\n public label: string = 'replacementVehicle';\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.currentVehicle && this.replacementVehicles) {\r\n switch (this.currentVehicle) {\r\n case this.replacementVehicles.standardVehicle:\r\n this.label = 'replacementVehicle';\r\n break;\r\n case this.replacementVehicles.upgradeVehicle:\r\n this.label = 'upgrade';\r\n break;\r\n case this.replacementVehicles.downgradeVehicle:\r\n this.label = 'downgrade';\r\n break;\r\n default:\r\n this.label = 'alternate';\r\n break;\r\n }\r\n }\r\n }\r\n\r\n}\r\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".dmsPushTooltip[_ngcontent-%COMP%]{font-size:12px}\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./customer-connect-log-action.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../type-of-call/type-of-call.component.ngfactory\"));\nvar i3 = __importStar(require(\"../../type-of-call/type-of-call.component\"));\nvar i4 = __importStar(require(\"@ngx-translate/core\"));\nvar i5 = __importStar(require(\"@angular/forms\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./customer-connect-log-action.component\"));\nvar i8 = __importStar(require(\"../../../../services/log-action-shortcut.service\"));\nvar i9 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar styles_CustomerConnectLogActionComponent = [i0.styles];\nvar RenderType_CustomerConnectLogActionComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CustomerConnectLogActionComponent, data: {} });\nexports.RenderType_CustomerConnectLogActionComponent = RenderType_CustomerConnectLogActionComponent;\nfunction View_CustomerConnectLogActionComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"type-of-call\", [], null, [[null, \"onTypeSelect\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onTypeSelect\" === en)) {\n var pd_0 = (_co.onTypeOfCallSelect($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i2.View_TypeOfCallComponent_0, i2.RenderType_TypeOfCallComponent)), i1.ɵdid(3, 114688, null, 0, i3.TypeOfCallComponent, [], null, { onTypeSelect: \"onTypeSelect\" })], function (_ck, _v) { _ck(_v, 3, 0); }, null); }\nfunction View_CustomerConnectLogActionComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.currentNoteType == null) ? null : _co.currentNoteType.resultLabelKey); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_CustomerConnectLogActionComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"label-top-buffer\"], [\"name\", \"activityResults\"], [\"type\", \"radio\"]], [[8, \"id\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"click\"], [null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 3).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 3).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"click\" === en)) {\n var pd_6 = ((_co.errorMessage = \"\") !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.model.resultID = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i5.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(3, 212992, null, 0, i5.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i5.ɵangular_packages_forms_forms_o, i1.Injector], { name: [0, \"name\"], value: [1, \"value\"] }, null), i1.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.RadioControlValueAccessor]), i1.ɵdid(5, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i1.ɵdid(7, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"label\", [[\"class\", \"aa-padding-right\"]], [[8, \"htmlFor\", 0]], null, null, null, null)), i1.ɵdid(10, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_8 = \"activityResults\"; var currVal_9 = _v.context.$implicit.activityResultID; _ck(_v, 3, 0, currVal_8, currVal_9); var currVal_10 = \"activityResults\"; var currVal_11 = _co.model.resultID; _ck(_v, 5, 0, currVal_10, currVal_11); var currVal_13 = _v.context.$implicit.translateKey; _ck(_v, 10, 0, currVal_13); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"note\", _v.context.$implicit.activityResultID, \"\"); var currVal_1 = i1.ɵnov(_v, 7).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 7).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 7).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 7).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 7).ngClassValid; var currVal_6 = i1.ɵnov(_v, 7).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 7).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_12 = i1.ɵinlineInterpolate(1, \"note\", _v.context.$implicit.activityResultID, \"\"); _ck(_v, 9, 0, currVal_12); }); }\nfunction View_CustomerConnectLogActionComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"input\", [[\"class\", \"label-top-buffer\"], [\"name\", \"activityResults\"], [\"type\", \"radio\"]], [[8, \"id\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"click\"], [null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 3).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 3).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"click\" === en)) {\n var pd_6 = ((_co.errorMessage = \"\") !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.model.resultID = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i5.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(3, 212992, null, 0, i5.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i5.ɵangular_packages_forms_forms_o, i1.Injector], { name: [0, \"name\"], value: [1, \"value\"] }, null), i1.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.RadioControlValueAccessor]), i1.ɵdid(5, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i1.ɵdid(7, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"label\", [[\"class\", \"aa-padding-right\"]], [[8, \"htmlFor\", 0]], null, null, null, null)), i1.ɵdid(10, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_8 = \"activityResults\"; var currVal_9 = _v.context.$implicit.activityResultID; _ck(_v, 3, 0, currVal_8, currVal_9); var currVal_10 = \"activityResults\"; var currVal_11 = _co.model.resultID; _ck(_v, 5, 0, currVal_10, currVal_11); var currVal_13 = _v.context.$implicit.translateKey; _ck(_v, 10, 0, currVal_13); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"note\", _v.context.$implicit.activityResultID, \"\"); var currVal_1 = i1.ɵnov(_v, 7).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 7).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 7).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 7).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 7).ngClassValid; var currVal_6 = i1.ɵnov(_v, 7).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 7).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_12 = i1.ɵinlineInterpolate(1, \"note\", _v.context.$implicit.activityResultID, \"\"); _ck(_v, 9, 0, currVal_12); }); }\nfunction View_CustomerConnectLogActionComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [[\"class\", \"form-group log-email\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectLogActionComponent_3)), i1.ɵdid(4, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 6, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-6 \"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectLogActionComponent_4)), i1.ɵdid(8, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectLogActionComponent_5)), i1.ɵdid(11, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 3, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"span\", [[\"class\", \"error ng-binding label-top-buffer pull-left\"]], null, null, null, null, null)), i1.ɵdid(15, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isLogEmail; _ck(_v, 4, 0, currVal_0); var currVal_1 = _co.activityResultsListColumn1; _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.activityResultsListColumn2; _ck(_v, 11, 0, currVal_2); var currVal_3 = _co.errorMessage; _ck(_v, 15, 0, currVal_3); }, null); }\nfunction View_CustomerConnectLogActionComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 0, null, null, 38, \"div\", [[\"class\", \"form-horizontal row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-12 col-md-4 modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectLogActionComponent_1)), i1.ɵdid(3, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectLogActionComponent_2)), i1.ɵdid(5, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 32, \"div\", [[\"class\", \"col-sm-12 col-md-8 modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 31, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 9, \"div\", [[\"class\", \"col-sm-12 col-md-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 8, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"span\", [[\"class\", \"label-top-buffer\"], [\"translate\", \"notes\"]], null, null, null, null, null)), i1.ɵdid(11, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 5, \"textarea\", [[\"class\", \"form-control\"], [\"rows\", \"8\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 13)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 13)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 13)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.model.notes = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(13, 16384, null, 0, i5.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.DefaultValueAccessor]), i1.ɵdid(15, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i1.ɵdid(17, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i1.ɵeld(18, 0, null, null, 20, \"div\", [[\"class\", \"col-sm-12 col-md-6 modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 19, \"div\", [[\"class\", \"bottom-column\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 9, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 5, \"input\", [[\"class\", \"label-top-buffer\"], [\"id\", \"scheduleAppointmentActivity\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 22).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 22).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.model.setScheduleAppt = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(22, 16384, null, 0, i5.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i1.ɵdid(24, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i1.ɵdid(26, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(28, 0, null, null, 1, \"label\", [[\"for\", \"scheduleAppointmentActivity\"], [\"translate\", \"scheduleCallorAppointmentActivity\"]], null, null, null, null, null)), i1.ɵdid(29, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(30, 0, null, null, 8, \"div\", [[\"class\", \"customer-connect-log-button\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 3, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 2, \"a\", [[\"class\", \"btn btn-primary ng-scope qa-customer-connect-log-submit-btn\"], [\"translate\", \"submit\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSubmit() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(33, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"Submit\"])), (_l()(), i1.ɵeld(35, 0, null, null, 3, \"div\", [[\"class\", \"form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(36, 0, null, null, 2, \"a\", [[\"class\", \"btn btn-primary ng-scope qa-customer-connect-log-cancel-btn\"], [\"translate\", \"cancel\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(37, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"Cancel\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.currentNoteType == null) ? null : _co.currentNoteType.isCallBoundTypeVisible); _ck(_v, 3, 0, currVal_0); var currVal_1 = !_co.isLogEmail; _ck(_v, 5, 0, currVal_1); var currVal_2 = \"notes\"; _ck(_v, 11, 0, currVal_2); var currVal_10 = _co.model.notes; _ck(_v, 15, 0, currVal_10); var currVal_18 = _co.model.setScheduleAppt; _ck(_v, 24, 0, currVal_18); var currVal_19 = \"scheduleCallorAppointmentActivity\"; _ck(_v, 29, 0, currVal_19); var currVal_20 = \"submit\"; _ck(_v, 33, 0, currVal_20); var currVal_21 = \"cancel\"; _ck(_v, 37, 0, currVal_21); }, function (_ck, _v) { var currVal_3 = i1.ɵnov(_v, 17).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 17).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 17).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 17).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 17).ngClassValid; var currVal_8 = i1.ɵnov(_v, 17).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 17).ngClassPending; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i1.ɵnov(_v, 26).ngClassUntouched; var currVal_12 = i1.ɵnov(_v, 26).ngClassTouched; var currVal_13 = i1.ɵnov(_v, 26).ngClassPristine; var currVal_14 = i1.ɵnov(_v, 26).ngClassDirty; var currVal_15 = i1.ɵnov(_v, 26).ngClassValid; var currVal_16 = i1.ɵnov(_v, 26).ngClassInvalid; var currVal_17 = i1.ɵnov(_v, 26).ngClassPending; _ck(_v, 21, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17); }); }\nexports.View_CustomerConnectLogActionComponent_0 = View_CustomerConnectLogActionComponent_0;\nfunction View_CustomerConnectLogActionComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect-log-action\", [], null, null, null, View_CustomerConnectLogActionComponent_0, RenderType_CustomerConnectLogActionComponent)), i1.ɵdid(1, 638976, null, 0, i7.CustomerConnectLogActionComponent, [i8.LogActionShortcutService, i9.BsModalService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CustomerConnectLogActionComponent_Host_0 = View_CustomerConnectLogActionComponent_Host_0;\nvar CustomerConnectLogActionComponentNgFactory = i1.ɵccf(\"customer-connect-log-action\", i7.CustomerConnectLogActionComponent, View_CustomerConnectLogActionComponent_Host_0, { subAction: \"subAction\", permissions: \"permissions\", dialogParams: \"dialogParams\", isReset: \"isReset\", isError: \"isError\", isEuroLite: \"isEuroLite\" }, { onLogScheduleSubmit: \"onLogScheduleSubmit\" }, []);\nexports.CustomerConnectLogActionComponentNgFactory = CustomerConnectLogActionComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n  \r\n \r\n
\r\n
\r\n
\r\n
\r\n  \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n  \r\n \r\n
\r\n
\r\n
\r\n Submit\r\n
\r\n
\r\n Cancel\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./nlo-info.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i6 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i7 = __importStar(require(\"../../icon/icon.component\"));\nvar i8 = __importStar(require(\"@angular/platform-browser\"));\nvar i9 = __importStar(require(\"./nlo-info.component\"));\nvar i10 = __importStar(require(\"../../../services/ngx-modal-wrapper.service\"));\nvar styles_NloInfoComponent = [i0.styles];\nvar RenderType_NloInfoComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_NloInfoComponent, data: {} });\nexports.RenderType_NloInfoComponent = RenderType_NloInfoComponent;\nfunction View_NloInfoComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"translate\", \"nloInfoTooltip\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"nloInfoTooltip\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_NloInfoComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 3, \"a\", [[\"container\", \"body\"], [\"href\", \"javascript:void(0)\"], [\"placement\", \"bottom\"], [\"triggers\", \"mouseenter:mouseleave\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.nloInfoModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 212992, null, 0, i3.PopoverDirective, [i3.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i4.ComponentLoaderFactory, i5.PositioningService], { popover: [0, \"popover\"], placement: [1, \"placement\"], triggers: [2, \"triggers\"], container: [3, \"container\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"icon\", \"'info-warn'\"]], null, null, null, i6.View_IconComponent_0, i6.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i7.IconComponent, [i8.DomSanitizer], { icon: [0, \"icon\"] }, null), (_l()(), i1.ɵand(0, [[\"popNloInfoTemplate\", 2]], null, 0, null, View_NloInfoComponent_1))], function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 4); var currVal_1 = \"bottom\"; var currVal_2 = \"mouseenter:mouseleave\"; var currVal_3 = \"body\"; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_4 = \"'info-warn'\"; _ck(_v, 3, 0, currVal_4); }, null); }\nexports.View_NloInfoComponent_0 = View_NloInfoComponent_0;\nfunction View_NloInfoComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"nlo-info\", [], null, null, null, View_NloInfoComponent_0, RenderType_NloInfoComponent)), i1.ɵdid(1, 114688, null, 0, i9.NloInfoComponent, [i10.NgxModalWrapperService, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_NloInfoComponent_Host_0 = View_NloInfoComponent_Host_0;\nvar NloInfoComponentNgFactory = i1.ɵccf(\"nlo-info\", i9.NloInfoComponent, View_NloInfoComponent_Host_0, { entityId: \"entityId\", nloData: \"nloData\" }, { onMarkNlo: \"onMarkNlo\" }, []);\nexports.NloInfoComponentNgFactory = NloInfoComponentNgFactory;\n","\r\n \r\n\r\n\r\n \r\n\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".avilabilityBottomPadding[_ngcontent-%COMP%]{margin-bottom:8px}.availabilityIcon[_ngcontent-%COMP%]{width:20px;height:20px}label[_ngcontent-%COMP%]{margin-left:5px;vertical-align:top}textarea[_ngcontent-%COMP%]{width:100%}#availabilityPanelNgx[_ngcontent-%COMP%]{border-radius:8px!important;overflow:hidden;padding-top:0;padding-bottom:0;color:#555}#availabilityPanel[_ngcontent-%COMP%]{width:300px;height:auto;padding:15px 15px 0}#busynumber[_ngcontent-%COMP%]{width:65px}.busyFor[_ngcontent-%COMP%]{margin-right:5px}\"];\nexports.styles = styles;\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","var path = '/app/components/deal-sheet/contract/contract-dates.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = __webpack_public_path__ + \"autoalert-logo.ee44a6f4770cf0a1851d.png\";","module.exports = \"x-data-entry-rebates .dealer-rebate-wrapper {\\n padding-left: 15px;\\n padding-right: 15px;\\n width: 100%;\\n}\\nx-data-entry-rebates input.ng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BhZGRpbmctbGVmdDogMTVweDtcbiAgcGFkZGluZy1yaWdodDogMTVweDtcbiAgd2lkdGg6IDEwMCU7XG59XG54LWRhdGEtZW50cnktcmViYXRlcyBpbnB1dC5uZy1pbnZhbGlkLm5nLWRpcnR5IHtcbiAgYm9yZGVyLWNvbG9yOiAjY2NjY2NjO1xufSJdfQ== */\"","'use strict';\nvar $defineProperty = require('./_object-dp');\nvar createDesc = require('./_property-desc');\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar EulaClientService = /** @class */ (function (_super) {\n __extends(EulaClientService, _super);\n function EulaClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param id undefined\n * @return Success\n */\n EulaClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Eula/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n EulaClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n EulaClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Eula/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n EulaClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n EulaClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Eula/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n EulaClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n EulaClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Eula\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n EulaClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n EulaClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Eula\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n EulaClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n EulaClientService.ByIdGETPath = '/api/Eula/{id}';\n EulaClientService.ByIdDELETEPath = '/api/Eula/{id}';\n EulaClientService.GetManyGETPath = '/api/Eula/GetMany';\n EulaClientService.PUTPath = '/api/Eula';\n EulaClientService.POSTPath = '/api/Eula';\n EulaClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function EulaClientService_Factory() { return new EulaClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: EulaClientService, providedIn: \"root\" });\n return EulaClientService;\n}(base_service_1.BaseService));\nexports.EulaClientService = EulaClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { EulaDto } from '../models/eula-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass EulaClientService extends __BaseService {\r\n static readonly ByIdGETPath = '/api/Eula/{id}';\r\n static readonly ByIdDELETEPath = '/api/Eula/{id}';\r\n static readonly GetManyGETPath = '/api/Eula/GetMany';\r\n static readonly PUTPath = '/api/Eula';\r\n static readonly POSTPath = '/api/Eula';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Eula/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as EulaDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Eula/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Eula/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: EulaDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Eula`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: EulaDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: EulaDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Eula`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: EulaDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as EulaDto)\r\n );\r\n }\r\n}\r\n\r\nmodule EulaClientService {\r\n}\r\n\r\nexport { EulaClientService }\r\n","var path = '/app/components/deal-sheet/pricing-plan-client.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x) {\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar platform_browser_1 = require(\"@angular/platform-browser\");\nvar core_1 = require(\"@angular/core\");\nvar SafePipe = /** @class */ (function () {\n function SafePipe(dom) {\n this.dom = dom;\n }\n SafePipe.prototype.transform = function (url) {\n return this.dom.bypassSecurityTrustResourceUrl(url);\n };\n return SafePipe;\n}());\nexports.SafePipe = SafePipe;\n","import { DomSanitizer, SafeResourceUrl, SafeUrl } from '@angular/platform-browser';\r\nimport { PipeTransform, Pipe } from '@angular/core';\r\n\r\n@Pipe({ name: 'safe' })\r\nexport class SafePipe implements PipeTransform {\r\n\r\n constructor(private dom: DomSanitizer) {\r\n\r\n }\r\n\r\n transform(url: string) {\r\n return this.dom.bypassSecurityTrustResourceUrl(url);\r\n }\r\n\r\n}\r\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 20.2.2.14 Math.expm1(x)\nvar $export = require('./_export');\nvar $expm1 = require('./_math-expm1');\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });\n","var path = '/app/components/deal-sheet/facebook-profile-action.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/data-entry/data-entry-rebates.component.html';\nvar html = \"
1\\\">



\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar services_1 = require(\"../generated/services\");\nvar DealerSettingsService = /** @class */ (function () {\n function DealerSettingsService(legacyService, dsClientService, modelClientService, trimClientService) {\n this.legacyService = legacyService;\n this.dsClientService = dsClientService;\n this.modelClientService = modelClientService;\n this.trimClientService = trimClientService;\n }\n DealerSettingsService.prototype.GetDealerSettingAll = function (dealerId) {\n var result = this.dsClientService.GetDealerSettingAllByDealeridGET(dealerId).toPromise();\n return result;\n };\n DealerSettingsService.prototype.UpdateDealerSettingAll = function (dsa) {\n var result = this.dsClientService.UpdateDealerSettingAllPOST(dsa).toPromise();\n return result;\n };\n DealerSettingsService.prototype.GetTrim = function (trimId) {\n return this.trimClientService.ByIdGET(trimId).toPromise();\n };\n DealerSettingsService.prototype.GetTrims = function (modelId) {\n return this.trimClientService.GetTrimsByModelsPOST([modelId]).toPromise();\n };\n DealerSettingsService.prototype.GetModel = function (modelId) {\n return this.modelClientService.ByIdGET(modelId).toPromise();\n };\n DealerSettingsService.prototype.GetModels = function (makeId) {\n return this.modelClientService.GetModelsByMakeByMakeidGET(makeId).toPromise();\n };\n DealerSettingsService.prototype.GetModelsByMakeYear = function (makeId, year) {\n return this.modelClientService.GetModelsByMakesYearsPOST({ makeIDs: [makeId], years: [year] }).toPromise();\n };\n DealerSettingsService.prototype.SendTestAdfEmail = function (request) {\n return this.dsClientService.SendTestAdfEmailPOST(request).toPromise();\n };\n DealerSettingsService.prototype.GetTextNumbers = function (dealerId, overrideStateCode, areaCode) {\n var params = {\n dealerId: dealerId,\n stateCode: overrideStateCode,\n areaCode: overrideStateCode != null ? null : areaCode\n };\n return this.dsClientService.GetTextNumbersByDealeridGET(params).toPromise();\n };\n DealerSettingsService.prototype.UseLegacyDealerSettingsPage = function () {\n return this.dsClientService.UseLegacyDealerSettingsPageGET().toPromise();\n };\n return DealerSettingsService;\n}());\nexports.DealerSettingsService = DealerSettingsService;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { DealerSettingClientService, ModelClientService, TrimClientService } from '../generated/services';\r\nimport { DealerSettingRequestDto, DealerSettingSendTestAdfRequest, ModelDto, TrimDto, DealerSettingResponseDto } from '../generated/models';\r\nimport { LegacyService } from '../ajs-upgraded-providers';\r\n \r\n@Injectable()\r\nexport class DealerSettingsService {\r\n constructor(@Inject(LegacyService) private legacyService,\r\n private dsClientService: DealerSettingClientService,\r\n private modelClientService: ModelClientService,\r\n private trimClientService: TrimClientService) {\r\n }\r\n\r\n GetDealerSettingAll(dealerId: number): Promise {\r\n var result = this.dsClientService.GetDealerSettingAllByDealeridGET(dealerId).toPromise();\r\n return result;\r\n }\r\n\r\n UpdateDealerSettingAll(dsa: DealerSettingRequestDto): Promise {\r\n var result = this.dsClientService.UpdateDealerSettingAllPOST(dsa).toPromise();\r\n return result;\r\n }\r\n\r\n GetTrim(trimId: number): Promise {\r\n return this.trimClientService.ByIdGET(trimId).toPromise();\r\n }\r\n\r\n GetTrims(modelId: number): Promise {\r\n return this.trimClientService.GetTrimsByModelsPOST([modelId]).toPromise();\r\n }\r\n\r\n GetModel(modelId: number): Promise {\r\n return this.modelClientService.ByIdGET(modelId).toPromise();\r\n }\r\n\r\n GetModels(makeId: number): Promise {\r\n return this.modelClientService.GetModelsByMakeByMakeidGET(makeId).toPromise();\r\n }\r\n\r\n GetModelsByMakeYear(makeId: number, year: number): Promise {\r\n return this.modelClientService.GetModelsByMakesYearsPOST({ makeIDs: [makeId], years: [year] }).toPromise();\r\n }\r\n\r\n SendTestAdfEmail(request: DealerSettingSendTestAdfRequest): Promise {\r\n return this.dsClientService.SendTestAdfEmailPOST(request).toPromise();\r\n }\r\n\r\n GetTextNumbers(dealerId: number, overrideStateCode: string, areaCode: number): Promise {\r\n const params: DealerSettingClientService.GetTextNumbersByDealeridGETParams = {\r\n dealerId: dealerId,\r\n stateCode: overrideStateCode,\r\n areaCode: overrideStateCode != null ? null : areaCode\r\n };\r\n return this.dsClientService.GetTextNumbersByDealeridGET(params).toPromise();\r\n }\r\n\r\n UseLegacyDealerSettingsPage() {\r\n return this.dsClientService.UseLegacyDealerSettingsPageGET().toPromise();\r\n }\r\n}\r\n","require('../modules/es6.number.constructor');\nrequire('../modules/es6.number.to-fixed');\nrequire('../modules/es6.number.to-precision');\nrequire('../modules/es6.number.epsilon');\nrequire('../modules/es6.number.is-finite');\nrequire('../modules/es6.number.is-integer');\nrequire('../modules/es6.number.is-nan');\nrequire('../modules/es6.number.is-safe-integer');\nrequire('../modules/es6.number.max-safe-integer');\nrequire('../modules/es6.number.min-safe-integer');\nrequire('../modules/es6.number.parse-float');\nrequire('../modules/es6.number.parse-int');\nmodule.exports = require('../modules/_core').Number;\n","require('../modules/es6.parse-float');\nmodule.exports = require('../modules/_core').parseFloat;\n","var map = {\n\t\"./af\": \"ggbP\",\n\t\"./af.js\": \"ggbP\",\n\t\"./ar\": \"zaxx\",\n\t\"./ar-dz\": \"fyYX\",\n\t\"./ar-dz.js\": \"fyYX\",\n\t\"./ar-kw\": \"jogf\",\n\t\"./ar-kw.js\": \"jogf\",\n\t\"./ar-ly\": \"zWXE\",\n\t\"./ar-ly.js\": \"zWXE\",\n\t\"./ar-ma\": \"6Nbo\",\n\t\"./ar-ma.js\": \"6Nbo\",\n\t\"./ar-sa\": \"ooRU\",\n\t\"./ar-sa.js\": \"ooRU\",\n\t\"./ar-tn\": \"ZPeb\",\n\t\"./ar-tn.js\": \"ZPeb\",\n\t\"./ar.js\": \"zaxx\",\n\t\"./az\": \"sTnJ\",\n\t\"./az.js\": \"sTnJ\",\n\t\"./be\": \"mOKi\",\n\t\"./be.js\": \"mOKi\",\n\t\"./bg\": \"oaWn\",\n\t\"./bg.js\": \"oaWn\",\n\t\"./bm\": \"TQ38\",\n\t\"./bm.js\": \"TQ38\",\n\t\"./bn\": \"6K5y\",\n\t\"./bn.js\": \"6K5y\",\n\t\"./bo\": \"vPIy\",\n\t\"./bo.js\": \"vPIy\",\n\t\"./br\": \"afE2\",\n\t\"./br.js\": \"afE2\",\n\t\"./bs\": \"JNFb\",\n\t\"./bs.js\": \"JNFb\",\n\t\"./ca\": \"NQcR\",\n\t\"./ca.js\": \"NQcR\",\n\t\"./cs\": \"0V88\",\n\t\"./cs.js\": \"0V88\",\n\t\"./cv\": \"e/5r\",\n\t\"./cv.js\": \"e/5r\",\n\t\"./cy\": \"HTX9\",\n\t\"./cy.js\": \"HTX9\",\n\t\"./da\": \"oBlQ\",\n\t\"./da.js\": \"oBlQ\",\n\t\"./de\": \"DPpk\",\n\t\"./de-at\": \"7epm\",\n\t\"./de-at.js\": \"7epm\",\n\t\"./de-ch\": \"mq6o\",\n\t\"./de-ch.js\": \"mq6o\",\n\t\"./de.js\": \"DPpk\",\n\t\"./dv\": \"FyKI\",\n\t\"./dv.js\": \"FyKI\",\n\t\"./el\": \"U5Cp\",\n\t\"./el.js\": \"U5Cp\",\n\t\"./en-au\": \"2tm8\",\n\t\"./en-au.js\": \"2tm8\",\n\t\"./en-ca\": \"bxNt\",\n\t\"./en-ca.js\": \"bxNt\",\n\t\"./en-gb\": \"YmdP\",\n\t\"./en-gb.js\": \"YmdP\",\n\t\"./en-ie\": \"gLHG\",\n\t\"./en-ie.js\": \"gLHG\",\n\t\"./en-il\": \"rTiS\",\n\t\"./en-il.js\": \"rTiS\",\n\t\"./en-nz\": \"Odsn\",\n\t\"./en-nz.js\": \"Odsn\",\n\t\"./eo\": \"GjBA\",\n\t\"./eo.js\": \"GjBA\",\n\t\"./es\": \"SKOl\",\n\t\"./es-do\": \"8wa+\",\n\t\"./es-do.js\": \"8wa+\",\n\t\"./es-us\": \"YL9C\",\n\t\"./es-us.js\": \"YL9C\",\n\t\"./es.js\": \"SKOl\",\n\t\"./et\": \"+JHh\",\n\t\"./et.js\": \"+JHh\",\n\t\"./eu\": \"pAPS\",\n\t\"./eu.js\": \"pAPS\",\n\t\"./fa\": \"zhSd\",\n\t\"./fa.js\": \"zhSd\",\n\t\"./fi\": \"/BTK\",\n\t\"./fi.js\": \"/BTK\",\n\t\"./fo\": \"K/JZ\",\n\t\"./fo.js\": \"K/JZ\",\n\t\"./fr\": \"wehu\",\n\t\"./fr-ca\": \"UKIa\",\n\t\"./fr-ca.js\": \"UKIa\",\n\t\"./fr-ch\": \"sIcz\",\n\t\"./fr-ch.js\": \"sIcz\",\n\t\"./fr.js\": \"wehu\",\n\t\"./fy\": \"RmWi\",\n\t\"./fy.js\": \"RmWi\",\n\t\"./gd\": \"BWwv\",\n\t\"./gd.js\": \"BWwv\",\n\t\"./gl\": \"794S\",\n\t\"./gl.js\": \"794S\",\n\t\"./gom-latn\": \"jixF\",\n\t\"./gom-latn.js\": \"jixF\",\n\t\"./gu\": \"Uz2K\",\n\t\"./gu.js\": \"Uz2K\",\n\t\"./he\": \"dSB2\",\n\t\"./he.js\": \"dSB2\",\n\t\"./hi\": \"0vPu\",\n\t\"./hi.js\": \"0vPu\",\n\t\"./hr\": \"fnly\",\n\t\"./hr.js\": \"fnly\",\n\t\"./hu\": \"FI+y\",\n\t\"./hu.js\": \"FI+y\",\n\t\"./hy-am\": \"ZxHn\",\n\t\"./hy-am.js\": \"ZxHn\",\n\t\"./id\": \"KxDR\",\n\t\"./id.js\": \"KxDR\",\n\t\"./is\": \"H+sD\",\n\t\"./is.js\": \"H+sD\",\n\t\"./it\": \"GyEJ\",\n\t\"./it.js\": \"GyEJ\",\n\t\"./ja\": \"km6H\",\n\t\"./ja.js\": \"km6H\",\n\t\"./jv\": \"WnjQ\",\n\t\"./jv.js\": \"WnjQ\",\n\t\"./ka\": \"WXVf\",\n\t\"./ka.js\": \"WXVf\",\n\t\"./kk\": \"zJNk\",\n\t\"./kk.js\": \"zJNk\",\n\t\"./km\": \"ZuGE\",\n\t\"./km.js\": \"ZuGE\",\n\t\"./kn\": \"VCFo\",\n\t\"./kn.js\": \"VCFo\",\n\t\"./ko\": \"EpfC\",\n\t\"./ko.js\": \"EpfC\",\n\t\"./ky\": \"Pfmo\",\n\t\"./ky.js\": \"Pfmo\",\n\t\"./lb\": \"wSTE\",\n\t\"./lb.js\": \"wSTE\",\n\t\"./lo\": \"IKWk\",\n\t\"./lo.js\": \"IKWk\",\n\t\"./lt\": \"wUrv\",\n\t\"./lt.js\": \"wUrv\",\n\t\"./lv\": \"xVOH\",\n\t\"./lv.js\": \"xVOH\",\n\t\"./me\": \"riUx\",\n\t\"./me.js\": \"riUx\",\n\t\"./mi\": \"b1YN\",\n\t\"./mi.js\": \"b1YN\",\n\t\"./mk\": \"yPwC\",\n\t\"./mk.js\": \"yPwC\",\n\t\"./ml\": \"dS3T\",\n\t\"./ml.js\": \"dS3T\",\n\t\"./mn\": \"8J7P\",\n\t\"./mn.js\": \"8J7P\",\n\t\"./mr\": \"Cla+\",\n\t\"./mr.js\": \"Cla+\",\n\t\"./ms\": \"Vbbc\",\n\t\"./ms-my\": \"qelJ\",\n\t\"./ms-my.js\": \"qelJ\",\n\t\"./ms.js\": \"Vbbc\",\n\t\"./mt\": \"YkvB\",\n\t\"./mt.js\": \"YkvB\",\n\t\"./my\": \"4lZK\",\n\t\"./my.js\": \"4lZK\",\n\t\"./nb\": \"4dXb\",\n\t\"./nb.js\": \"4dXb\",\n\t\"./ne\": \"dhqa\",\n\t\"./ne.js\": \"dhqa\",\n\t\"./nl\": \"oPI1\",\n\t\"./nl-be\": \"XLIu\",\n\t\"./nl-be.js\": \"XLIu\",\n\t\"./nl.js\": \"oPI1\",\n\t\"./nn\": \"T9ox\",\n\t\"./nn.js\": \"T9ox\",\n\t\"./pa-in\": \"Ly9c\",\n\t\"./pa-in.js\": \"Ly9c\",\n\t\"./pl\": \"MX9p\",\n\t\"./pl.js\": \"MX9p\",\n\t\"./pt\": \"VVP3\",\n\t\"./pt-br\": \"qatJ\",\n\t\"./pt-br.js\": \"qatJ\",\n\t\"./pt.js\": \"VVP3\",\n\t\"./ro\": \"2xJO\",\n\t\"./ro.js\": \"2xJO\",\n\t\"./ru\": \"eqS4\",\n\t\"./ru.js\": \"eqS4\",\n\t\"./sd\": \"6Huv\",\n\t\"./sd.js\": \"6Huv\",\n\t\"./se\": \"opZB\",\n\t\"./se.js\": \"opZB\",\n\t\"./si\": \"Ueyn\",\n\t\"./si.js\": \"Ueyn\",\n\t\"./sk\": \"YIvA\",\n\t\"./sk.js\": \"YIvA\",\n\t\"./sl\": \"s2ex\",\n\t\"./sl.js\": \"s2ex\",\n\t\"./sq\": \"9o/V\",\n\t\"./sq.js\": \"9o/V\",\n\t\"./sr\": \"CZE8\",\n\t\"./sr-cyrl\": \"xXeP\",\n\t\"./sr-cyrl.js\": \"xXeP\",\n\t\"./sr.js\": \"CZE8\",\n\t\"./ss\": \"z3ad\",\n\t\"./ss.js\": \"z3ad\",\n\t\"./sv\": \"AVN5\",\n\t\"./sv.js\": \"AVN5\",\n\t\"./sw\": \"y2+C\",\n\t\"./sw.js\": \"y2+C\",\n\t\"./ta\": \"i/qy\",\n\t\"./ta.js\": \"i/qy\",\n\t\"./te\": \"Zov1\",\n\t\"./te.js\": \"Zov1\",\n\t\"./tet\": \"6ucV\",\n\t\"./tet.js\": \"6ucV\",\n\t\"./tg\": \"cLEX\",\n\t\"./tg.js\": \"cLEX\",\n\t\"./th\": \"cYD4\",\n\t\"./th.js\": \"cYD4\",\n\t\"./tl-ph\": \"+Ls2\",\n\t\"./tl-ph.js\": \"+Ls2\",\n\t\"./tlh\": \"sCZo\",\n\t\"./tlh.js\": \"sCZo\",\n\t\"./tr\": \"Nx06\",\n\t\"./tr.js\": \"Nx06\",\n\t\"./tzl\": \"x0TR\",\n\t\"./tzl.js\": \"x0TR\",\n\t\"./tzm\": \"eHpI\",\n\t\"./tzm-latn\": \"ceDr\",\n\t\"./tzm-latn.js\": \"ceDr\",\n\t\"./tzm.js\": \"eHpI\",\n\t\"./ug-cn\": \"a1x9\",\n\t\"./ug-cn.js\": \"a1x9\",\n\t\"./uk\": \"jAw7\",\n\t\"./uk.js\": \"jAw7\",\n\t\"./ur\": \"UZ6Q\",\n\t\"./ur.js\": \"UZ6Q\",\n\t\"./uz\": \"eYI/\",\n\t\"./uz-latn\": \"MTcW\",\n\t\"./uz-latn.js\": \"MTcW\",\n\t\"./uz.js\": \"eYI/\",\n\t\"./vi\": \"riLI\",\n\t\"./vi.js\": \"riLI\",\n\t\"./x-pseudo\": \"ESkz\",\n\t\"./x-pseudo.js\": \"ESkz\",\n\t\"./yo\": \"tL86\",\n\t\"./yo.js\": \"tL86\",\n\t\"./zh-cn\": \"/cTU\",\n\t\"./zh-cn.js\": \"/cTU\",\n\t\"./zh-hk\": \"dH0k\",\n\t\"./zh-hk.js\": \"dH0k\",\n\t\"./zh-tw\": \"0+Cr\",\n\t\"./zh-tw.js\": \"0+Cr\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"D9WN\";","var path = '/app/components/dashboard/dashboard-opportunities.component.html';\nvar html = \"
0\\\" uib-popover=\\\"{{'opportunityTotalDescription' | translate}}\\\" popover-placement=\\\"bottom\\\" popover-trigger=\\\"'mouseenter'\\\">
{{$ctrl.opportunityCounts.totalCount}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = __webpack_public_path__ + \"autoalert-logo-lincoln.5507be40c620784f092c.png\";","module.exports = \"\"","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./alert.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"./alert.component-ng\"));\nvar styles_AlertComponent = [i0.styles];\nvar RenderType_AlertComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AlertComponent, data: {} });\nexports.RenderType_AlertComponent = RenderType_AlertComponent;\nfunction View_AlertComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.alertClassNames; _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.characterClassNames; _ck(_v, 1, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.typeDescriptorTranslateKey)); _ck(_v, 2, 0, currVal_2); }); }\nexports.View_AlertComponent_0 = View_AlertComponent_0;\nfunction View_AlertComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"alert\", [], null, null, null, View_AlertComponent_0, RenderType_AlertComponent)), i1.ɵdid(1, 49152, null, 0, i3.AlertComponent, [], null, null)], null, null); }\nexports.View_AlertComponent_Host_0 = View_AlertComponent_Host_0;\nvar AlertComponentNgFactory = i1.ɵccf(\"alert\", i3.AlertComponent, View_AlertComponent_Host_0, { alertTypeId: \"alertTypeId\", size: \"size\" }, {}, []);\nexports.AlertComponentNgFactory = AlertComponentNgFactory;\n","\r\n\r\n {{typeDescriptorTranslateKey | translate}}\r\n\r\n","module.exports = __webpack_public_path__ + \"logo-alertminer.7d7cfb4cf28cc7c6c86c.png\";","var path = '/app/components/header/live-support.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/search/search-reassign-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 20.2.2.28 Math.sign(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { sign: require('./_math-sign') });\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@angular/forms\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../../../../node_modules/ngx-bootstrap/tabs/ngx-bootstrap-tabs.ngfactory\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/tabs\"));\nvar i6 = __importStar(require(\"./admin-settings-general.component.ngfactory\"));\nvar i7 = __importStar(require(\"./admin-settings-general.component\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i9 = __importStar(require(\"../../services/dealer.service\"));\nvar i10 = __importStar(require(\"../../services/dealer-settings.service\"));\nvar i11 = __importStar(require(\"./admin-settings-programs.component.ngfactory\"));\nvar i12 = __importStar(require(\"./admin-settings-programs.component\"));\nvar i13 = __importStar(require(\"../../services/user.service\"));\nvar i14 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar i15 = __importStar(require(\"./admin-settings-opportunity.component.ngfactory\"));\nvar i16 = __importStar(require(\"./admin-settings-opportunity.component\"));\nvar i17 = __importStar(require(\"./admin-settings-inventory.component.ngfactory\"));\nvar i18 = __importStar(require(\"./admin-settings-inventory.component\"));\nvar i19 = __importStar(require(\"./admin-settings-dealerinfo.component.ngfactory\"));\nvar i20 = __importStar(require(\"./admin-settings-dealerinfo.component\"));\nvar i21 = __importStar(require(\"../../services/customer.service\"));\nvar i22 = __importStar(require(\"../../modules/storage/storage.service\"));\nvar i23 = __importStar(require(\"./admin-settings-advanced.component.ngfactory\"));\nvar i24 = __importStar(require(\"./admin-settings-advanced.component\"));\nvar i25 = __importStar(require(\"./admin-settings-creditconvert.component.ngfactory\"));\nvar i26 = __importStar(require(\"./admin-settings-creditconvert.component\"));\nvar i27 = __importStar(require(\"./admin-settings-product.component.ngfactory\"));\nvar i28 = __importStar(require(\"./admin-settings-product.component\"));\nvar i29 = __importStar(require(\"./admin-settings-crmleadsdelivery.component.ngfactory\"));\nvar i30 = __importStar(require(\"./admin-settings-crmleadsdelivery.component\"));\nvar i31 = __importStar(require(\"ng-busy\"));\nvar i32 = __importStar(require(\"./admin-settings.component\"));\nvar styles_AdminSettingsComponent = [];\nvar RenderType_AdminSettingsComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsComponent, data: {} });\nexports.RenderType_AdminSettingsComponent = RenderType_AdminSettingsComponent;\nfunction View_AdminSettingsComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.id, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.id, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.name; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 11, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin-top:5px\"], [\"translate\", \"dealerships\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 8, \"div\", [[\"style\", \"float:left;margin-left:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 7, \"select\", [[\"class\", \"dealer-dropdown-style form-control\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedDealerId = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.dealerChanged() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(6, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(8, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(10, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsComponent_2)), i0.ɵdid(12, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dealerships\"; _ck(_v, 3, 0, currVal_0); var currVal_8 = _co.selectedDealerId; _ck(_v, 8, 0, currVal_8); var currVal_9 = _co.dealers; _ck(_v, 12, 0, currVal_9); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 10).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 10).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 10).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 10).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 10).ngClassValid; var currVal_6 = i0.ɵnov(_v, 10).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 10).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_AdminSettingsComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"adminRoleTabContainer\"], [\"style\", \"height:500px\"]], null, null, null, null, null))], null, null); }\nfunction View_AdminSettingsComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 55, \"div\", [[\"class\", \"adminRoleTabContainer\"]], null, [[null, \"keyup\"], [null, \"click\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"keyup\" === en)) {\n var pd_0 = (_co.onValidateDuringEntry($event.target) !== false);\n ad = (pd_0 && ad);\n } if ((\"click\" === en)) {\n var pd_1 = (_co.onValidateDuringEntry($event.target) !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.onValidateAfterEntry($event.target) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 46, \"tabset\", [], [[2, \"tab-container\", null]], null, null, i4.View_TabsetComponent_0, i4.RenderType_TabsetComponent)), i0.ɵdid(2, 180224, null, 0, i5.TabsetComponent, [i5.TabsetConfig, i0.Renderer2, i0.ElementRef], null, null), (_l()(), i0.ɵeld(3, 0, null, 0, 4, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = (_co.onTabChanged(_co.tabs.General) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(4, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\" }), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(6, 0, null, null, 1, \"admin-settings-general\", [], null, null, null, i6.View_AdminSettingsGeneralComponent_0, i6.RenderType_AdminSettingsGeneralComponent)), i0.ɵdid(7, 114688, [[4, 4], [\"generalComponent\", 4]], 0, i7.AdminSettingsGeneralComponent, [i8.BsModalService, i2.TranslateService, i9.DealerService, i10.DealerSettingsService], { dsa: [0, \"dsa\"] }, null), (_l()(), i0.ɵeld(8, 0, null, 0, 4, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = (_co.onTabChanged(_co.tabs.Programs) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(9, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\" }), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"admin-settings-programs\", [], null, null, null, i11.View_AdminSettingsProgramsComponent_0, i11.RenderType_AdminSettingsProgramsComponent)), i0.ɵdid(12, 114688, null, 0, i12.AdminSettingsProgramsComponent, [i8.BsModalService, i2.TranslateService, i13.UserService, i14.ToasterLoggerService, i0.ChangeDetectorRef], { dsa: [0, \"dsa\"] }, null), (_l()(), i0.ɵeld(13, 0, null, 0, 4, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = (_co.onTabChanged(_co.tabs.Opportunity) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(14, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\" }), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 1, \"admin-settings-opportunity\", [], null, null, null, i15.View_AdminSettingsOpportunityComponent_0, i15.RenderType_AdminSettingsOpportunityComponent)), i0.ɵdid(17, 114688, [[5, 4], [\"opportunityComponent\", 4]], 0, i16.AdminSettingsOpportunityComponent, [i8.BsModalService, i2.TranslateService, i13.UserService, i14.ToasterLoggerService, i3.DOCUMENT], { dsa: [0, \"dsa\"] }, null), (_l()(), i0.ɵeld(18, 0, null, 0, 4, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = (_co.onTabChanged(_co.tabs.Inventory) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(19, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\" }), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(21, 0, null, null, 1, \"admin-settings-inventory\", [], null, null, null, i17.View_AdminSettingsInventoryComponent_0, i17.RenderType_AdminSettingsInventoryComponent)), i0.ɵdid(22, 49152, null, 0, i18.AdminSettingsInventoryComponent, [i8.BsModalService, i2.TranslateService, i13.UserService, i14.ToasterLoggerService], { dsa: [0, \"dsa\"] }, null), (_l()(), i0.ɵeld(23, 0, null, 0, 4, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = (_co.onTabChanged(_co.tabs.DealerInfo) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(24, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\" }), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(26, 0, null, null, 1, \"admin-settings-dealerinfo\", [], null, null, null, i19.View_AdminSettingsDealerInfoComponent_0, i19.RenderType_AdminSettingsDealerInfoComponent)), i0.ɵdid(27, 638976, [[1, 4], [\"dealerInfoComponent\", 4]], 0, i20.AdminSettingsDealerInfoComponent, [i8.BsModalService, i2.TranslateService, i13.UserService, i14.ToasterLoggerService, i21.CustomerService, i22.StorageService], { dsa: [0, \"dsa\"] }, null), (_l()(), i0.ɵeld(28, 0, null, 0, 4, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = (_co.onTabChanged(_co.tabs.Advanced) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(29, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\" }), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(31, 0, null, null, 1, \"admin-settings-advanced\", [], null, null, null, i23.View_AdminSettingsAdvancedComponent_0, i23.RenderType_AdminSettingsAdvancedComponent)), i0.ɵdid(32, 114688, [[3, 4], [\"advancedComponent\", 4]], 0, i24.AdminSettingsAdvancedComponent, [i8.BsModalService, i2.TranslateService, i14.ToasterLoggerService, i10.DealerSettingsService], { dsa: [0, \"dsa\"] }, null), (_l()(), i0.ɵeld(33, 0, null, 0, 4, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = (_co.onTabChanged(_co.tabs.CreditConvert) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(34, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"], customClass: [1, \"customClass\"], active: [2, \"active\"] }, { selectTab: \"selectTab\" }), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(36, 0, null, null, 1, \"admin-settings-creditconvert\", [], null, null, null, i25.View_AdminSettingsCreditConvertComponent_0, i25.RenderType_AdminSettingsCreditConvertComponent)), i0.ɵdid(37, 114688, [[2, 4], [\"creditConvertComponent\", 4]], 0, i26.AdminSettingsCreditConvertComponent, [i8.BsModalService, i2.TranslateService, i14.ToasterLoggerService, i10.DealerSettingsService], { dsa: [0, \"dsa\"] }, null), (_l()(), i0.ɵeld(38, 0, null, 0, 4, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = (_co.onTabChanged(_co.tabs.Product) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(39, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"], customClass: [1, \"customClass\"], active: [2, \"active\"] }, { selectTab: \"selectTab\" }), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(41, 0, null, null, 1, \"admin-settings-product\", [], null, null, null, i27.View_AdminSettingsProductComponent_0, i27.RenderType_AdminSettingsProductComponent)), i0.ɵdid(42, 49152, null, 0, i28.AdminSettingsProductComponent, [i8.BsModalService, i2.TranslateService, i14.ToasterLoggerService], { dsa: [0, \"dsa\"] }, null), (_l()(), i0.ɵeld(43, 0, null, 0, 4, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = (_co.onTabChanged(_co.tabs.CRMLeadsDelivery) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(44, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\" }), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(46, 0, null, null, 1, \"admin-settings-crmleadsdelivery\", [], null, null, null, i29.View_AdminSettingsCrmLeadsDeliveryComponent_0, i29.RenderType_AdminSettingsCrmLeadsDeliveryComponent)), i0.ɵdid(47, 114688, null, 0, i30.AdminSettingsCrmLeadsDeliveryComponent, [i8.BsModalService, i2.TranslateService, i14.ToasterLoggerService, i10.DealerSettingsService, i22.StorageService], { dsa: [0, \"dsa\"] }, null), (_l()(), i0.ɵeld(48, 0, null, null, 7, \"div\", [[\"class\", \"actionButtonContainer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(49, 0, null, null, 6, \"div\", [[\"style\", \"float:right;margin-top:10px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(50, 0, null, null, 2, \"div\", [[\"style\", \"float:left;margin-right:10px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(51, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary saveButton\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], [[8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(52, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(53, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(54, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary saveButton\"], [\"translate\", \"saveChanges\"], [\"type\", \"button\"]], [[8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSave() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(55, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 4, 0, i0.ɵnov(_v, 5).transform(\"generalTabTitle\")), \"\"); var currVal_5 = (_co.tabIndex == _co.tabs.General); _ck(_v, 4, 0, currVal_4, currVal_5); var currVal_6 = _co.dsa; _ck(_v, 7, 0, currVal_6); var currVal_10 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 9, 0, i0.ɵnov(_v, 10).transform(\"programsTabTitle\")), \"\"); var currVal_11 = (_co.tabIndex == _co.tabs.Programs); _ck(_v, 9, 0, currVal_10, currVal_11); var currVal_12 = _co.dsa; _ck(_v, 12, 0, currVal_12); var currVal_16 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"opportunityTabTitle\")), \"\"); var currVal_17 = (_co.tabIndex == _co.tabs.Opportunity); _ck(_v, 14, 0, currVal_16, currVal_17); var currVal_18 = _co.dsa; _ck(_v, 17, 0, currVal_18); var currVal_22 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 19, 0, i0.ɵnov(_v, 20).transform(\"inventoryTabTitle\")), \"\"); var currVal_23 = (_co.tabIndex == _co.tabs.Inventory); _ck(_v, 19, 0, currVal_22, currVal_23); var currVal_24 = _co.dsa; _ck(_v, 22, 0, currVal_24); var currVal_28 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 24, 0, i0.ɵnov(_v, 25).transform(\"dealerInfoTabTitle\")), \"\"); var currVal_29 = (_co.tabIndex == _co.tabs.DealerInfo); _ck(_v, 24, 0, currVal_28, currVal_29); var currVal_30 = _co.dsa; _ck(_v, 27, 0, currVal_30); var currVal_34 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 29, 0, i0.ɵnov(_v, 30).transform(\"advancedTabTitle\")), \"\"); var currVal_35 = (_co.tabIndex == _co.tabs.Advanced); _ck(_v, 29, 0, currVal_34, currVal_35); var currVal_36 = _co.dsa; _ck(_v, 32, 0, currVal_36); var currVal_40 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 34, 0, i0.ɵnov(_v, 35).transform(\"creditConvertTabTitle\")), \"\"); var currVal_41 = _co.tabCreditConvertCssClass; var currVal_42 = (_co.tabIndex == _co.tabs.CreditConvert); _ck(_v, 34, 0, currVal_40, currVal_41, currVal_42); var currVal_43 = _co.dsa; _ck(_v, 37, 0, currVal_43); var currVal_47 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 39, 0, i0.ɵnov(_v, 40).transform(\"productTabTitle\")), \"\"); var currVal_48 = _co.tabProductCssClass; var currVal_49 = (_co.tabIndex == _co.tabs.Product); _ck(_v, 39, 0, currVal_47, currVal_48, currVal_49); var currVal_50 = _co.dsa; _ck(_v, 42, 0, currVal_50); var currVal_54 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 44, 0, i0.ɵnov(_v, 45).transform(\"crmLeadsDeliveryTabTitle\")), \"\"); var currVal_55 = (_co.tabIndex == _co.tabs.CRMLeadsDelivery); _ck(_v, 44, 0, currVal_54, currVal_55); var currVal_56 = _co.dsa; _ck(_v, 47, 0, currVal_56); var currVal_58 = \"cancel\"; _ck(_v, 52, 0, currVal_58); var currVal_60 = \"saveChanges\"; _ck(_v, 55, 0, currVal_60); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 2).clazz; _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵnov(_v, 4).id; var currVal_2 = i0.ɵnov(_v, 4).active; var currVal_3 = i0.ɵnov(_v, 4).addClass; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3); var currVal_7 = i0.ɵnov(_v, 9).id; var currVal_8 = i0.ɵnov(_v, 9).active; var currVal_9 = i0.ɵnov(_v, 9).addClass; _ck(_v, 8, 0, currVal_7, currVal_8, currVal_9); var currVal_13 = i0.ɵnov(_v, 14).id; var currVal_14 = i0.ɵnov(_v, 14).active; var currVal_15 = i0.ɵnov(_v, 14).addClass; _ck(_v, 13, 0, currVal_13, currVal_14, currVal_15); var currVal_19 = i0.ɵnov(_v, 19).id; var currVal_20 = i0.ɵnov(_v, 19).active; var currVal_21 = i0.ɵnov(_v, 19).addClass; _ck(_v, 18, 0, currVal_19, currVal_20, currVal_21); var currVal_25 = i0.ɵnov(_v, 24).id; var currVal_26 = i0.ɵnov(_v, 24).active; var currVal_27 = i0.ɵnov(_v, 24).addClass; _ck(_v, 23, 0, currVal_25, currVal_26, currVal_27); var currVal_31 = i0.ɵnov(_v, 29).id; var currVal_32 = i0.ɵnov(_v, 29).active; var currVal_33 = i0.ɵnov(_v, 29).addClass; _ck(_v, 28, 0, currVal_31, currVal_32, currVal_33); var currVal_37 = i0.ɵnov(_v, 34).id; var currVal_38 = i0.ɵnov(_v, 34).active; var currVal_39 = i0.ɵnov(_v, 34).addClass; _ck(_v, 33, 0, currVal_37, currVal_38, currVal_39); var currVal_44 = i0.ɵnov(_v, 39).id; var currVal_45 = i0.ɵnov(_v, 39).active; var currVal_46 = i0.ɵnov(_v, 39).addClass; _ck(_v, 38, 0, currVal_44, currVal_45, currVal_46); var currVal_51 = i0.ɵnov(_v, 44).id; var currVal_52 = i0.ɵnov(_v, 44).active; var currVal_53 = i0.ɵnov(_v, 44).addClass; _ck(_v, 43, 0, currVal_51, currVal_52, currVal_53); var currVal_57 = _co.disableSaveCancel; _ck(_v, 51, 0, currVal_57); var currVal_59 = _co.disableSaveCancel; _ck(_v, 54, 0, currVal_59); }); }\nfunction View_AdminSettingsComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { asDealerInfoComponent: 0 }), i0.ɵqud(671088640, 2, { asCreditConvertComponent: 0 }), i0.ɵqud(671088640, 3, { asAdvancedComponent: 0 }), i0.ɵqud(671088640, 4, { asGeneralComponent: 0 }), i0.ɵqud(671088640, 5, { asOpportunityComponent: 0 }), (_l()(), i0.ɵeld(5, 16777216, null, null, 16, \"div\", [], null, null, null, null, null)), i0.ɵprd(512, null, i31.InstanceConfigHolderService, i31.InstanceConfigHolderService, []), i0.ɵprd(131584, null, i31.ɵa, i31.ɵa, []), i0.ɵdid(8, 409600, null, 0, i31.NgBusyDirective, [i31.ɵb, i31.InstanceConfigHolderService, i0.ComponentFactoryResolver, i31.ɵa, i0.ApplicationRef, i0.ViewContainerRef, i0.ElementRef, i0.Renderer2, i0.Injector], { options: [0, \"options\"] }, null), i0.ɵpod(9, { busy: 0, delay: 1 }), (_l()(), i0.ɵeld(10, 0, null, null, 11, \"div\", [[\"class\", \"admin-settings-wrapper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"col-md-9\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"div\", [[\"class\", \"page-title\"], [\"translate\", \"dsAdmin_dealershipSettings\"]], null, null, null, null, null)), i0.ɵdid(14, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsComponent_1)), i0.ɵdid(16, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(17, 0, null, null, 0, \"div\", [[\"class\", \"divider\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsComponent_3)), i0.ɵdid(19, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsComponent_4)), i0.ɵdid(21, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 9, 0, _co.busy, 200); _ck(_v, 8, 0, currVal_0); var currVal_1 = \"dsAdmin_dealershipSettings\"; _ck(_v, 14, 0, currVal_1); var currVal_2 = (_co.dealers && (_co.dealers.length > 1)); _ck(_v, 16, 0, currVal_2); var currVal_3 = !_co.formLoaded; _ck(_v, 19, 0, currVal_3); var currVal_4 = _co.formLoaded; _ck(_v, 21, 0, currVal_4); }, null); }\nexports.View_AdminSettingsComponent_0 = View_AdminSettingsComponent_0;\nfunction View_AdminSettingsComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings\", [], null, null, null, View_AdminSettingsComponent_0, RenderType_AdminSettingsComponent)), i0.ɵdid(1, 4308992, null, 0, i32.AdminSettingsComponent, [i0.ChangeDetectorRef, i9.DealerService, i8.BsModalService, i2.TranslateService, i10.DealerSettingsService, i14.ToasterLoggerService, i3.DOCUMENT], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminSettingsComponent_Host_0 = View_AdminSettingsComponent_Host_0;\nvar AdminSettingsComponentNgFactory = i0.ɵccf(\"admin-settings\", i32.AdminSettingsComponent, View_AdminSettingsComponent_Host_0, {}, {}, []);\nexports.AdminSettingsComponentNgFactory = AdminSettingsComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
1\" class=\"col-md-3\">\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","var path = '/app/components/search/ui-dropdownlist.component.html';\nvar html = \"
{{ $ctrl.displayNameKey | translate }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/data-entry/data-entry-frame.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./money-factor.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-money-factor.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./money-factor.component\"));\nvar styles_MoneyFactorComponent = [i0.styles];\nvar RenderType_MoneyFactorComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MoneyFactorComponent, data: {} });\nexports.RenderType_MoneyFactorComponent = RenderType_MoneyFactorComponent;\nfunction View_MoneyFactorComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"field\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [[\"class\", \"value\"], [\"id\", \"money-factor\"], [\"translate\", \"moneyFactor\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(3, 1), i1.ɵpod(4, { moneyFactor: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"moneyFactor\"; var currVal_1 = _ck(_v, 4, 0, i1.ɵunv(_v, 2, 1, _ck(_v, 3, 0, i1.ɵnov(_v.parent, 0), _co.value))); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_MoneyFactorComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleMoneyFactorPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MoneyFactorComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_MoneyFactorComponent_0 = View_MoneyFactorComponent_0;\nfunction View_MoneyFactorComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"money-factor\", [], null, null, null, View_MoneyFactorComponent_0, RenderType_MoneyFactorComponent)), i1.ɵdid(1, 114688, null, 0, i6.MoneyFactorComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MoneyFactorComponent_Host_0 = View_MoneyFactorComponent_Host_0;\nvar MoneyFactorComponentNgFactory = i1.ɵccf(\"money-factor\", i6.MoneyFactorComponent, View_MoneyFactorComponent_Host_0, { value: \"value\" }, {}, []);\nexports.MoneyFactorComponentNgFactory = MoneyFactorComponentNgFactory;\n","
\r\n \r\n
\r\n\r\n","var path = '/app/components/deal-sheet/contract/msrp-type-select.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MobileRoutes = {\n vehicle: 'mobileDealSheet.vehicle',\n activity: 'mobileDealSheet.activities',\n contact: 'mobileDealSheet.contact',\n replacementDetails: 'mobileDealSheet.replacement-details',\n customerConnect: 'mobileDealSheet.customer-connect'\n};\n","export const MobileRoutes = {\r\n vehicle: 'mobileDealSheet.vehicle',\r\n activity: 'mobileDealSheet.activities',\r\n contact: 'mobileDealSheet.contact',\r\n replacementDetails: 'mobileDealSheet.replacement-details',\r\n customerConnect: 'mobileDealSheet.customer-connect'\r\n};\r\n","module.exports = \"modal.presetSelector .modal-body {\\n padding-top: 0 !important;\\n}\\n\\n.preset-select .modal-dialog {\\n width: 500px;\\n}\\n\\nsearch-manage-presets {\\n font-size: 14px;\\n}\\n\\nsearch-manage-presets .panel-heading {\\n font-size: 16px;\\n}\\n\\nsearch-manage-presets .panel {\\n margin-bottom: 5px;\\n}\\n\\nsearch-manage-presets .row .dealerCol {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n}\\n\\nsearch-manage-presets .row .dealerCol .dealerLabel {\\n padding-right: 10px;\\n margin-top: 4px;\\n vertical-align: middle;\\n}\\n\\nsearch-manage-presets .row .dealerCol .dealerSelect .form-control {\\n width: 300px;\\n font-size: 14px;\\n padding: 2px 12px;\\n height: 26px;\\n}\\n\\nsearch-manage-presets .row .expired {\\n color: red;\\n}\\n\\nsearch-manage-presets .data-grid {\\n font-family: \\\"Roboto\\\";\\n font-size: 12px;\\n}\\n\\nsearch-manage-presets .margin-left {\\n margin-left: 10px;\\n}\\n\\n.preset-grid-container {\\n font-size: 12px;\\n font-family: \\\"Roboto\\\";\\n}\\n\\n.preset-grid-container .k-chart {\\n height: 280px;\\n}\\n\\n.preset-grid-container .k-grid td {\\n white-space: nowrap;\\n}\\n\\n.preset-grid-container tbody .k-button {\\n min-width: 32px;\\n}\\n\\n.preset-grid-container .k-grid th.k-header {\\n font-weight: bold;\\n vertical-align: middle;\\n}\\n\\n.preset-grid-container .k-grid-update .k-icon:before {\\n content: \\\"\\\";\\n}\\n\\n.preset-grid-container .k-grid-cancel .k-icon:before {\\n content: \\\"\\\";\\n}\\n\\n.preset-grid-container .k-primary, .preset-grid-container .k-primary:hover {\\n background-color: #337ab7;\\n background-image: none;\\n}\\n\\n.preset-grid-container #grid-toolbar {\\n height: 30px;\\n}\\n\\n.preset-grid-container .info {\\n padding-left: 4px !important;\\n vertical-align: middle !important;\\n font-size: 10px !important;\\n}\\n\\n.preset-grid-container .svg-icon {\\n width: 32px;\\n height: 32px;\\n padding: 2px;\\n margin-bottom: 1px;\\n margin-top: 1px;\\n}\\n\\n.preset-grid-container .svg-icon.sm {\\n width: 22px;\\n height: 22px;\\n padding: 1px;\\n margin-bottom: 1px;\\n margin-top: 1px;\\n}\\n\\n.preset-grid-container .svg-icon.md {\\n width: 36px;\\n height: 36px;\\n padding: 1px;\\n margin-bottom: 1px;\\n margin-top: 1px;\\n}\\n\\n.preset-grid-container .svg-icon.xsm {\\n width: 16px;\\n height: 16px;\\n padding: 1px;\\n margin-bottom: 1px;\\n margin-top: 1px;\\n}\\n\\n.preset-grid-container span.k-icon.k-i-seek-e, .preset-grid-container span.k-icon.k-i-arrow-e, .preset-grid-container span.k-icon.k-i-arrow-w, .preset-grid-container span.k-icon.k-i-seek-w {\\n height: 1.5em;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1tYW5hZ2UtcHJlc2V0cy5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLW1hbmFnZS1wcmVzZXRzLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3NlYXJjaC9DOlxcQXV0b0FsZXJ0XFx3b3Jrc3BhY2VcXEFsZXJ0TWluZXItUG9ydGFsX3J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Qtc2l6ZTogMTZweDtcclxuICAgIH1cclxuXHJcbiAgICAucGFuZWwge1xyXG4gICAgICAgIG1hcmdpbi1ib3R0b206IDVweDtcclxuICAgIH1cclxuXHJcbiAgICAucm93IHtcclxuXHJcbiAgICAgICAgLmRlYWxlckNvbCB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XHJcblxyXG4gICAgICAgICAgICAuZGVhbGVyTGFiZWwge1xyXG4gICAgICAgICAgICAgICAgcGFkZGluZy1yaWdodDogMTBweDtcclxuICAgICAgICAgICAgICAgIG1hcmdpbi10b3A6IDRweDtcclxuICAgICAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5kZWFsZXJTZWxlY3Qge1xyXG5cclxuICAgICAgICAgICAgICAgIC5mb3JtLWNvbnRyb2wge1xyXG4gICAgICAgICAgICAgICAgICAgIHdpZHRoOiAzMDBweDtcclxuICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogMnB4IDEycHg7XHJcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAyNnB4O1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuZXhwaXJlZCB7XHJcbiAgICAgICAgICAgIGNvbG9yOiByZWQ7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5kYXRhLWdyaWQge1xyXG4gICAgICAgIC8vbWFyZ2luOiAxNXB4O1xyXG4gICAgICAgIGZvbnQtZmFtaWx5OiAka2VuZG9HcmlkRm9udEZhbWlseTtcclxuICAgICAgICBmb250LXNpemU6IDEycHg7XHJcbiAgICB9XHJcblxyXG4gICAgLm1hcmdpbi1sZWZ0IHtcclxuICAgICAgICBtYXJnaW4tbGVmdDogMTBweDtcclxuICAgIH1cclxufVxyXG5cclxuLnByZXNldC1ncmlkLWNvbnRhaW5lciB7XHJcbiAgICBmb250LXNpemU6IDEycHg7XHJcbiAgICBmb250LWZhbWlseTogJGtlbmRvR3JpZEZvbnRGYW1pbHk7XHJcblxyXG4gICAgLmstY2hhcnQge1xyXG4gICAgICAgIGhlaWdodDogMjgwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmstZ3JpZCB0ZCB7XHJcbiAgICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcclxuICAgIH1cclxuXHJcbiAgICB0Ym9keSAuay1idXR0b24ge1xyXG4gICAgICAgIG1pbi13aWR0aDogMzJweDtcclxuICAgIH1cclxuXHJcbiAgICAuay1ncmlkIHRoLmstaGVhZGVyIHtcclxuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG4gICAgfVxyXG5cclxuICAgIC5rLWdyaWQtdXBkYXRlIC5rLWljb246YmVmb3JlIHtcclxuICAgICAgICBjb250ZW50OiBcIlwiO1xyXG4gICAgfVxyXG5cclxuICAgIC5rLWdyaWQtY2FuY2VsIC5rLWljb246YmVmb3JlIHtcclxuICAgICAgICBjb250ZW50OiBcIlwiO1xyXG4gICAgfVxyXG5cclxuICAgIC5rLXByaW1hcnksIC5rLXByaW1hcnk6aG92ZXIge1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICMzMzdhYjc7XHJcbiAgICAgICAgYmFja2dyb3VuZC1pbWFnZTogbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICAjZ3JpZC10b29sYmFyIHtcclxuICAgICAgICBoZWlnaHQ6IDMwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmluZm8ge1xyXG4gICAgICAgIHBhZGRpbmctbGVmdDogNHB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZSAhaW1wb3J0YW50O1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTBweCAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIC5zdmctaWNvbiB7XHJcbiAgICAgICAgd2lkdGg6IDMycHg7XHJcbiAgICAgICAgaGVpZ2h0OiAzMnB4O1xyXG4gICAgICAgIHBhZGRpbmc6IDJweDtcclxuICAgICAgICBtYXJnaW4tYm90dG9tOiAxcHg7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMXB4O1xyXG5cclxuICAgICAgICAmLnNtIHtcclxuICAgICAgICAgICAgd2lkdGg6IDIycHg7XHJcbiAgICAgICAgICAgIGhlaWdodDogMjJweDtcclxuICAgICAgICAgICAgcGFkZGluZzogMXB4O1xyXG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAxcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDFweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgICYubWQge1xyXG4gICAgICAgICAgICB3aWR0aDogMzZweDtcclxuICAgICAgICAgICAgaGVpZ2h0OiAzNnB4O1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAxcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDFweDtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogMXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgJi54c20ge1xyXG4gICAgICAgICAgICB3aWR0aDogMTZweDtcclxuICAgICAgICAgICAgaGVpZ2h0OiAxNnB4O1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAxcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDFweDtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogMXB4O1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBzcGFuLmstaWNvbi5rLWktc2Vlay1lLCBzcGFuLmstaWNvbi5rLWktYXJyb3ctZSwgc3Bhbi5rLWljb24uay1pLWFycm93LXcsIHNwYW4uay1pY29uLmstaS1zZWVr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IDMwMDtcclxuJGJvbGQtZm9udC13ZWlnaHQ6IDUwMDtcclxuJGRvdWJsZS1ib2xkLWZvbnQtd2VpZ2h0OiA5MDA7XHJcblxyXG4kU2VjdGlvblRpdGxlQmx1ZTogIzMzNjY5OTtcclxuJFNlY3Rpb25UaXRsZVN0cm9rZTogI2E2YzllMjtcclxuJFNlY3Rpb25MYWJlbDogIzMzMztcclxuJFNlY3Rpb25WYWx1ZTogIzU1NTtcclxuJFNlY3Rpb25Cb3JkZXI6ICNjY2M7XHJcbiRTZWN0aW9uSW5wdXRJbnZhbGlkOiAjZjUzMTQyO1xyXG4kU2VjdGlvbkJvcmRlckludmFsaWRGb2N1czogcmdiYSgyNDUsIDQ5LCA2NiwgMC44KTtcclxuJFNlY3Rpb25Cb3JkZXJGb2N1czogcmdiYSg4MiwgMTY4LCAyMzYsIDAuOCk7XHJcbiRTZWN0aW9uQm9yZGVyQm94U2hhZG93OiByZ2JhKDgyLCAxNjgsIDIzNiwgMC42KTtcclxuJFNlY3Rpb25Cb3JkZXJJbnZhbGlkU2hhZG93OiByZ2JhKDI0NSwgNDksIDY2LCAwLjYpO1xyXG4kU2VjdGlvbkJhY2tncm91bmQ6ICNmZmY7XHJcblxyXG4ka2VuZG9HcmlkRm9udEZhbWlseTogXCJSb2JvdG9cIjtcclxuIl19 */\"","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });\n","module.exports = \"\"","module.exports = \"\"","var path = '/app/components/search/search-save-response-modal.component.html';\nvar html = \"

0\\\">

  • {{ $ctrl.getDealerNameById(dealerId) }}
0\\\">

  • {{ $ctrl.getDealerNameById(dealerId) }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./dashboard-opportunities-table.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../deal-sheet/alerts/alerts.component-ng.ngfactory\"));\nvar i5 = __importStar(require(\"../../deal-sheet/alerts/alerts.component-ng\"));\nvar i6 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar i7 = __importStar(require(\"../../../filters/locale-date.pipe\"));\nvar i8 = __importStar(require(\"../../../filters/locale-currency.pipe\"));\nvar i9 = __importStar(require(\"../../../filters/locale-number.pipe\"));\nvar i10 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i11 = __importStar(require(\"../../icon/icon.component\"));\nvar i12 = __importStar(require(\"@angular/platform-browser\"));\nvar i13 = __importStar(require(\"../../../modules/storage/storage.service\"));\nvar i14 = __importStar(require(\"../../../filters/locale-time.pipe\"));\nvar i15 = __importStar(require(\"../../../filters/locale-phone.pipe\"));\nvar i16 = __importStar(require(\"./dashboard-opportunities-table.component-ng\"));\nvar i17 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar styles_DashboardOpportunitiesTableComponent = [i0.styles];\nvar RenderType_DashboardOpportunitiesTableComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DashboardOpportunitiesTableComponent, data: {} });\nexports.RenderType_DashboardOpportunitiesTableComponent = RenderType_DashboardOpportunitiesTableComponent;\nfunction View_DashboardOpportunitiesTableComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"translate\", \"noInformationAvailable\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"noInformationAvailable\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 26, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"th\", [[\"translate\", \"score\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"th\", [[\"translate\", \"clientName\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"th\", [[\"translate\", \"assignedTo\"]], null, null, null, null, null)), i1.ɵdid(6, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"th\", [[\"translate\", \"lblDateChanged\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"th\", [[\"translate\", \"opportunities\"]], null, null, null, null, null)), i1.ɵdid(10, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"th\", [[\"translate\", \"lblLastMarketedDate\"]], null, null, null, null, null)), i1.ɵdid(12, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"th\", [[\"translate\", \"lblLastContactDate\"]], null, null, null, null, null)), i1.ɵdid(14, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"th\", [[\"translate\", \"lblLastRO\"]], null, null, null, null, null)), i1.ɵdid(16, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 1, \"th\", [[\"translate\", \"lblCurrentYear\"]], null, null, null, null, null)), i1.ɵdid(18, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"th\", [[\"translate\", \"lblCurrentModel\"]], null, null, null, null, null)), i1.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(21, 0, null, null, 1, \"th\", [[\"translate\", \"lblPaymentDifference\"]], null, null, null, null, null)), i1.ɵdid(22, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(23, 0, null, null, 1, \"th\", [[\"translate\", \"lblCurrentPayment\"]], null, null, null, null, null)), i1.ɵdid(24, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"th\", [[\"translate\", \"customerZipCode\"]], null, null, null, null, null)), i1.ɵdid(26, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"score\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"clientName\"; _ck(_v, 4, 0, currVal_1); var currVal_2 = \"assignedTo\"; _ck(_v, 6, 0, currVal_2); var currVal_3 = \"lblDateChanged\"; _ck(_v, 8, 0, currVal_3); var currVal_4 = \"opportunities\"; _ck(_v, 10, 0, currVal_4); var currVal_5 = \"lblLastMarketedDate\"; _ck(_v, 12, 0, currVal_5); var currVal_6 = \"lblLastContactDate\"; _ck(_v, 14, 0, currVal_6); var currVal_7 = \"lblLastRO\"; _ck(_v, 16, 0, currVal_7); var currVal_8 = \"lblCurrentYear\"; _ck(_v, 18, 0, currVal_8); var currVal_9 = \"lblCurrentModel\"; _ck(_v, 20, 0, currVal_9); var currVal_10 = \"lblPaymentDifference\"; _ck(_v, 22, 0, currVal_10); var currVal_11 = \"lblCurrentPayment\"; _ck(_v, 24, 0, currVal_11); var currVal_12 = \"customerZipCode\"; _ck(_v, 26, 0, currVal_12); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"hot\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"hot\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"score\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"score\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblTransactionType\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblTransactionType\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"type\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"type\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"reviewRating\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"reviewRating\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"reviewType\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"reviewType\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"date\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"date\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"time\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"time\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblLastRO\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblLastRO\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblPurchaseDate\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblPurchaseDate\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblLastMarketedDate\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblLastMarketedDate\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"owner\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"owner\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"advisorLable\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"advisorLable\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"clientName\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"clientName\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lastRO\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lastRO\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_20(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"assignedTo\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"assignedTo\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_21(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"assignedOnDate\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"assignedOnDate\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_22(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"opportunities\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"opportunities\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_23(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblTransactionType\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblTransactionType\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_24(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblPaymentsRemaining\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblPaymentsRemaining\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_25(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblLastMarketedDate\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblLastMarketedDate\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_26(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"owner\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"owner\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_27(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"advisorLable\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"advisorLable\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_28(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblCurrentYear\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblCurrentYear\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_29(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblCurrentModel\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblCurrentModel\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_30(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblReplacementYear\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblReplacementYear\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_31(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblReplacementModel\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblReplacementModel\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_32(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"mileageLabel\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"mileageLabel\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_33(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"customerZipCode\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"customerZipCode\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_34(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"mileageLabel\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"mileageLabel\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_35(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblTransactionType\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblTransactionType\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_36(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblCurrentPayment\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblCurrentPayment\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_37(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblReplacementPayment\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblReplacementPayment\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_38(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblLastRO\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblLastRO\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_39(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblPaymentDifference\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblPaymentDifference\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_40(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"customerEmail\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"customerEmail\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_41(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"phoneGroup\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"phoneGroup\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_42(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"customerZipCode\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"customerZipCode\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_43(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"th\", [[\"translate\", \"lblAssignedBy\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"lblAssignedBy\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 78, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_5)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_6)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_7)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_8)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_9)), i1.ɵdid(10, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_10)), i1.ɵdid(12, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_11)), i1.ɵdid(14, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_12)), i1.ɵdid(16, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_13)), i1.ɵdid(18, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_14)), i1.ɵdid(20, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_15)), i1.ɵdid(22, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_16)), i1.ɵdid(24, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_17)), i1.ɵdid(26, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_18)), i1.ɵdid(28, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_19)), i1.ɵdid(30, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_20)), i1.ɵdid(32, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_21)), i1.ɵdid(34, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_22)), i1.ɵdid(36, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_23)), i1.ɵdid(38, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_24)), i1.ɵdid(40, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_25)), i1.ɵdid(42, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_26)), i1.ɵdid(44, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_27)), i1.ɵdid(46, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_28)), i1.ɵdid(48, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_29)), i1.ɵdid(50, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_30)), i1.ɵdid(52, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_31)), i1.ɵdid(54, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_32)), i1.ɵdid(56, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_33)), i1.ɵdid(58, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_34)), i1.ɵdid(60, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_35)), i1.ɵdid(62, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_36)), i1.ɵdid(64, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_37)), i1.ɵdid(66, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_38)), i1.ɵdid(68, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_39)), i1.ɵdid(70, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_40)), i1.ɵdid(72, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_41)), i1.ɵdid(74, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_42)), i1.ɵdid(76, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_43)), i1.ɵdid(78, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.columnTypes.includes(\"customerEngagement\") && !_co.columnTypes.includes(\"reviewRating\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_co.columnTypes.includes(\"opportunity\") && !_co.columnTypes.includes(\"reviewRating\")) && !_co.columnTypes.includes(\"geoAlert\")); _ck(_v, 4, 0, currVal_1); var currVal_2 = (_co.columnTypes.includes(\"geoAlert\") || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 6, 0, currVal_2); var currVal_3 = _co.columnTypes.includes(\"groupEngagement\"); _ck(_v, 8, 0, currVal_3); var currVal_4 = _co.columnTypes.includes(\"reviewRating\"); _ck(_v, 10, 0, currVal_4); var currVal_5 = _co.columnTypes.includes(\"reviewRating\"); _ck(_v, 12, 0, currVal_5); var currVal_6 = _co.columnTypes.includes(\"customerEngagement\"); _ck(_v, 14, 0, currVal_6); var currVal_7 = _co.columnTypes.includes(\"upcoming\"); _ck(_v, 16, 0, currVal_7); var currVal_8 = (_co.columnTypes.includes(\"geoAlert\") || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 18, 0, currVal_8); var currVal_9 = (_co.columnTypes.includes(\"reviewRating\") || _co.columnTypes.includes(\"geoAlert\")); _ck(_v, 20, 0, currVal_9); var currVal_10 = ((_co.columnTypes.includes(\"geoAlert\") || _co.columnTypes.includes(\"assignedDate\")) || (_co.widgetTitleKey == \"oneToOne\")); _ck(_v, 22, 0, currVal_10); var currVal_11 = _co.columnTypes.includes(\"customerEngagement\"); _ck(_v, 24, 0, currVal_11); var currVal_12 = (_co.columnTypes.includes(\"reviewRating\") || _co.columnTypes.includes(\"geoAlert\")); _ck(_v, 26, 0, currVal_12); var currVal_13 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 28, 0, currVal_13); var currVal_14 = _co.columnTypes.includes(\"apptOrRoDate\"); _ck(_v, 30, 0, currVal_14); var currVal_15 = _co.columnTypes.includes(\"responsibleUserFullName\"); _ck(_v, 32, 0, currVal_15); var currVal_16 = _co.columnTypes.includes(\"assignedDate\"); _ck(_v, 34, 0, currVal_16); var currVal_17 = (_co.columnTypes.includes(\"alertBlocks\") && (_co.widgetTitleKey != \"upcomingAppointments\")); _ck(_v, 36, 0, currVal_17); var currVal_18 = _co.columnTypes.includes(\"retail\"); _ck(_v, 38, 0, currVal_18); var currVal_19 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 40, 0, currVal_19); var currVal_20 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 42, 0, currVal_20); var currVal_21 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 44, 0, currVal_21); var currVal_22 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 46, 0, currVal_22); var currVal_23 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 48, 0, currVal_23); var currVal_24 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 50, 0, currVal_24); var currVal_25 = (_co.columnTypes.includes(\"web\") || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 52, 0, currVal_25); var currVal_26 = (_co.columnTypes.includes(\"web\") || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 54, 0, currVal_26); var currVal_27 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 56, 0, currVal_27); var currVal_28 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 58, 0, currVal_28); var currVal_29 = ((((_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")) || _co.columnTypes.includes(\"reviewRating\")) || _co.columnTypes.includes(\"geoAlert\")) || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 60, 0, currVal_29); var currVal_30 = (((_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")) || _co.columnTypes.includes(\"web\")) || _co.columnTypes.includes(\"web\")); _ck(_v, 62, 0, currVal_30); var currVal_31 = (_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")); _ck(_v, 64, 0, currVal_31); var currVal_32 = (_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")); _ck(_v, 66, 0, currVal_32); var currVal_33 = ((_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")) || _co.columnTypes.includes(\"reviewRating\")); _ck(_v, 68, 0, currVal_33); var currVal_34 = _co.columnTypes.includes(\"web\"); _ck(_v, 70, 0, currVal_34); var currVal_35 = _co.columnTypes.includes(\"reviewRating\"); _ck(_v, 72, 0, currVal_35); var currVal_36 = _co.columnTypes.includes(\"reviewRating\"); _ck(_v, 74, 0, currVal_36); var currVal_37 = (_co.columnTypes.includes(\"reviewRating\") || _co.columnTypes.includes(\"geoAlert\")); _ck(_v, 76, 0, currVal_37); var currVal_38 = _co.columnTypes.includes(\"assignedDate\"); _ck(_v, 78, 0, currVal_38); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_47(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.parent.context.$implicit.opportunityRank; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_48(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.parent.context.$implicit.entityScore; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_46(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"td\", [[\"class\", \"entityscore\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_47)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_48)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = (_v.parent.context.$implicit.opportunityRank !== undefined); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_v.parent.context.$implicit.entityScore !== undefined); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_50(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"engagementcount\"], [\"translate\", \"engagementCount\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵpod(2, { totalCount: 0 })], function (_ck, _v) { var currVal_0 = \"engagementCount\"; var currVal_1 = _ck(_v, 2, 0, _v.parent.parent.context.$implicit.totalCount); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_49(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\\u00A0 \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_50)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_1 = (_v.parent.context.$implicit.totalCount > 1); _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.customerFullName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_51(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.responsibleUserFullName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_52(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 0), _v.parent.context.$implicit.dateChanged)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_53(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"alerts\", [], null, null, null, i4.View_AlertsComponent_0, i4.RenderType_AlertsComponent)), i1.ɵdid(2, 638976, null, 0, i5.AlertsComponent, [i6.LocaleDateTimePipe, i7.LocaleDatePipe, i8.LocaleCurrencyPipe, i9.LocaleNumberPipe, i2.TranslateService], { values: [0, \"values\"], showRelavantInfo: [1, \"showRelavantInfo\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.detailedAlerts; var currVal_1 = false; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_54(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.yearID; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_55(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.modelName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_56(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = ((_v.parent.context.$implicit.paymentDifference == null) ? \"\" : i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 1), _v.parent.context.$implicit.paymentDifference))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_57(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = (((_v.parent.context.$implicit.currentPayment == 0) || (_v.parent.context.$implicit.currentPayment == null)) ? \"\" : i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 1), _v.parent.context.$implicit.currentPayment))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_45(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 32, \"tr\", [[\"class\", \"cursor\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openDealSheet((_v.context.$implicit.entityID || _v.context.$implicit.opportunityId)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"light\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_46)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_49)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_51)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_52)), i1.ɵdid(11, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_53)), i1.ɵdid(13, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"\", \"\"])), i1.ɵppd(16, 1), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵppd(19, 1), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), i1.ɵppd(22, 1), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_54)), i1.ɵdid(24, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_55)), i1.ɵdid(26, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_56)), i1.ɵdid(28, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_57)), i1.ɵdid(30, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(31, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(32, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"cursor\"; var currVal_1 = _ck(_v, 3, 0, (_v.context.$implicit.worked === true)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 5, 0, currVal_2); var currVal_3 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 7, 0, currVal_3); var currVal_4 = _co.columnTypes.includes(\"responsibleUserFullName\"); _ck(_v, 9, 0, currVal_4); var currVal_5 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 11, 0, currVal_5); var currVal_6 = _co.columnTypes.includes(\"alertBlocks\"); _ck(_v, 13, 0, currVal_6); var currVal_10 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 24, 0, currVal_10); var currVal_11 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 26, 0, currVal_11); var currVal_12 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 28, 0, currVal_12); var currVal_13 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 30, 0, currVal_13); }, function (_ck, _v) { var currVal_7 = i1.ɵunv(_v, 15, 0, _ck(_v, 16, 0, i1.ɵnov(_v.parent.parent.parent, 0), _v.context.$implicit.lastMarketedDate)); _ck(_v, 15, 0, currVal_7); var currVal_8 = i1.ɵunv(_v, 18, 0, _ck(_v, 19, 0, i1.ɵnov(_v.parent.parent.parent, 0), _v.context.$implicit.performedOn)); _ck(_v, 18, 0, currVal_8); var currVal_9 = i1.ɵunv(_v, 21, 0, _ck(_v, 22, 0, i1.ɵnov(_v.parent.parent.parent, 0), _v.context.$implicit.openDate)); _ck(_v, 21, 0, currVal_9); var currVal_14 = _v.context.$implicit.zipCode; _ck(_v, 32, 0, currVal_14); }); }\nfunction View_DashboardOpportunitiesTableComponent_44(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_45)), i1.ɵdid(2, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortedWidgetData; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_61(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [[\"class\", \"-size-18-svg -brightblue\"], [\"icon\", \"hot-flame\"]], null, null, null, i10.View_IconComponent_0, i10.RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i11.IconComponent, [i12.DomSanitizer], { icon: [0, \"icon\"] }, null)], function (_ck, _v) { var currVal_0 = \"hot-flame\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_60(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_61)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.highEngagement; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_63(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.parent.context.$implicit.opportunityRank; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_64(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.parent.context.$implicit.entityScore; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_62(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"td\", [[\"class\", \"entityscore\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_63)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_64)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = (_v.parent.context.$implicit.opportunityRank !== undefined); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_v.parent.context.$implicit.entityScore !== undefined); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_65(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.new_Used; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_67(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-core-email-icon-000000 -size-18 -brightblue\"]], null, null, null, i10.View_IconComponent_0, i10.RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i11.IconComponent, [i12.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_68(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [[\"class\", \"-size-18-svg -brightblue\"], [\"icon\", \"sms\"]], null, null, null, i10.View_IconComponent_0, i10.RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i11.IconComponent, [i12.DomSanitizer], { icon: [0, \"icon\"] }, null)], function (_ck, _v) { var currVal_0 = \"sms\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_69(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [[\"class\", \"-size-18-svg -brightblue\"], [\"icon\", \"auto-assistant\"]], null, null, null, i10.View_IconComponent_0, i10.RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i11.IconComponent, [i12.DomSanitizer], { icon: [0, \"icon\"] }, null)], function (_ck, _v) { var currVal_0 = \"auto-assistant\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_70(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [[\"class\", \"-size-18-svg -brightblue\"], [\"icon\", \"o2o-offer\"]], null, null, null, i10.View_IconComponent_0, i10.RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i11.IconComponent, [i12.DomSanitizer], { icon: [0, \"icon\"] }, null)], function (_ck, _v) { var currVal_0 = \"o2o-offer\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_71(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [[\"class\", \"im-offer-arrow-icon-blue -brightblue\"]], null, null, null, i10.View_IconComponent_0, i10.RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i11.IconComponent, [i12.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_66(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_67)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_68)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_69)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_70)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_71)), i1.ɵdid(10, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_v.parent.context.$implicit.engagementEventGroupID == _co.engagementEventGroups.email); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_v.parent.context.$implicit.engagementEventGroupID == _co.engagementEventGroups.text); _ck(_v, 4, 0, currVal_1); var currVal_2 = (_v.parent.context.$implicit.engagementEventGroupID == _co.engagementEventGroups.autoAssistant); _ck(_v, 6, 0, currVal_2); var currVal_3 = (_v.parent.context.$implicit.engagementEventGroupID == _co.engagementEventGroups.one2one); _ck(_v, 8, 0, currVal_3); var currVal_4 = (_v.parent.context.$implicit.engagementEventGroupID == _co.engagementEventGroups.intelligentMarketing); _ck(_v, 10, 0, currVal_4); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_72(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"icon\", [[\"class\", \"-brightblue -size-rating40-svg\"]], [[8, \"title\", 0]], null, null, i10.View_IconComponent_0, i10.RenderType_IconComponent)), i1.ɵdid(2, 638976, null, 0, i11.IconComponent, [i12.DomSanitizer], { icon: [0, \"icon\"] }, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.ratingIcon; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 3).transform(_v.parent.context.$implicit.ratingTitle)), \"\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_74(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"serviceReview\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_75(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"salesReview\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_73(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_74)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_75)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_v.parent.context.$implicit.engagementEventTypeID === _co.engagementEventTypes.onlineServiceReview); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_v.parent.context.$implicit.engagementEventTypeID === _co.engagementEventTypes.onlineSalesReview); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_77(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 0), _v.parent.parent.context.$implicit.eventDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_78(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 0), _v.parent.parent.context.$implicit.appointmentDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_79(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 0), _v.parent.parent.context.$implicit.dueDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_76(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_77)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_78)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_79)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.eventDate; _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.appointmentDate; _ck(_v, 4, 0, currVal_1); var currVal_2 = _v.parent.context.$implicit.dueDate; _ck(_v, 6, 0, currVal_2); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_81(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 2), _v.parent.parent.context.$implicit.eventDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_82(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 2), _v.parent.parent.context.$implicit.appointmentDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_83(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 2), _v.parent.parent.context.$implicit.dueDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_80(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_81)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_82)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_83)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.eventDate; _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.appointmentDate; _ck(_v, 4, 0, currVal_1); var currVal_2 = _v.parent.context.$implicit.dueDate; _ck(_v, 6, 0, currVal_2); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_84(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 0), _v.parent.context.$implicit.openDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_85(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 0), _v.parent.context.$implicit.deal_Date)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_86(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 0), _v.parent.context.$implicit.lastMarketedDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_87(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.ownerFullName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_88(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.serviceAdvisorName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_90(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"engagementcount\"], [\"translate\", \"engagementCount\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵpod(2, { totalCount: 0 })], function (_ck, _v) { var currVal_0 = \"engagementCount\"; var currVal_1 = _ck(_v, 2, 0, _v.parent.parent.context.$implicit.totalCount); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_89(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\\u00A0 \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_90)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_1 = (_v.parent.context.$implicit.totalCount > 1); _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.customerFullName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_92(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"value\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 0), _v.parent.parent.context.$implicit.roAppointmentDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_93(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"value\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 0), _v.parent.parent.context.$implicit.roDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_91(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_92)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_93)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = (_v.parent.context.$implicit.isAppointment && !_v.parent.context.$implicit.isService); _ck(_v, 2, 0, currVal_0); var currVal_1 = !(_v.parent.context.$implicit.isAppointment && !_v.parent.context.$implicit.isService); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_94(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.responsibleUserFullName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_95(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 3), _v.parent.context.$implicit.assignedDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_96(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"alerts\", [], null, null, null, i4.View_AlertsComponent_0, i4.RenderType_AlertsComponent)), i1.ɵdid(2, 638976, null, 0, i5.AlertsComponent, [i6.LocaleDateTimePipe, i7.LocaleDatePipe, i8.LocaleCurrencyPipe, i9.LocaleNumberPipe, i2.TranslateService], { values: [0, \"values\"], showRelavantInfo: [1, \"showRelavantInfo\"] }, null)], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.detailedAlerts; var currVal_1 = false; _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_97(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.newUsed; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_98(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 4), _v.parent.context.$implicit.paymentRemaining)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_99(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 0), _v.parent.context.$implicit.lastMarketedDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_100(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.responsibleUserFullName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_101(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.serviceAdvisorName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_102(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.yearID; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_103(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.modelName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_104(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.replacement_Model_Year; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_105(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.replacement_Model_Name; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_106(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 4), _v.parent.context.$implicit.estimatedCurrentMileage)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_107(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.zipCode; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_108(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 4), _v.parent.context.$implicit.estimated_Current_Mileage)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_109(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.new_Used; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_110(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = (((_v.parent.context.$implicit.current_Payment == 0) || (_v.parent.context.$implicit.current_Payment == null)) ? \"\" : i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 1), _v.parent.context.$implicit.current_Payment))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_111(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = (((_v.parent.context.$implicit.replacement_Payment == 0) || (_v.parent.context.$implicit.replacement_Payment == null)) ? \"\" : i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 1), _v.parent.context.$implicit.replacement_Payment))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_112(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 0), _v.parent.context.$implicit.openDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_113(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = ((_v.parent.context.$implicit.payment_Difference == null) ? \"\" : i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 1), _v.parent.context.$implicit.payment_Difference))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_114(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.email, \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.email; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_DashboardOpportunitiesTableComponent_115(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent.parent, 5), _v.parent.context.$implicit.home_Phone)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_116(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.zip_Code; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_117(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.assignedBy; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DashboardOpportunitiesTableComponent_59(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 81, \"tr\", [[\"class\", \"cursor\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openDealSheet((_v.context.$implicit.entityID || _v.context.$implicit.opportunityId)) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"light\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_60)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_62)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_65)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_66)), i1.ɵdid(11, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_72)), i1.ɵdid(13, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_73)), i1.ɵdid(15, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_76)), i1.ɵdid(17, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_80)), i1.ɵdid(19, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_84)), i1.ɵdid(21, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_85)), i1.ɵdid(23, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_86)), i1.ɵdid(25, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_87)), i1.ɵdid(27, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_88)), i1.ɵdid(29, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_89)), i1.ɵdid(31, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_91)), i1.ɵdid(33, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_94)), i1.ɵdid(35, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_95)), i1.ɵdid(37, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_96)), i1.ɵdid(39, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_97)), i1.ɵdid(41, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_98)), i1.ɵdid(43, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_99)), i1.ɵdid(45, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_100)), i1.ɵdid(47, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_101)), i1.ɵdid(49, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_102)), i1.ɵdid(51, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_103)), i1.ɵdid(53, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_104)), i1.ɵdid(55, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_105)), i1.ɵdid(57, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_106)), i1.ɵdid(59, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_107)), i1.ɵdid(61, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_108)), i1.ɵdid(63, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_109)), i1.ɵdid(65, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_110)), i1.ɵdid(67, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_111)), i1.ɵdid(69, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_112)), i1.ɵdid(71, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_113)), i1.ɵdid(73, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_114)), i1.ɵdid(75, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_115)), i1.ɵdid(77, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_116)), i1.ɵdid(79, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_117)), i1.ɵdid(81, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"cursor\"; var currVal_1 = _ck(_v, 3, 0, (_v.context.$implicit.worked === true)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = (_co.columnTypes.includes(\"customerEngagement\") && !_co.columnTypes.includes(\"reviewRating\")); _ck(_v, 5, 0, currVal_2); var currVal_3 = ((_co.columnTypes.includes(\"opportunity\") && !_co.columnTypes.includes(\"reviewRating\")) && !_co.columnTypes.includes(\"geoAlert\")); _ck(_v, 7, 0, currVal_3); var currVal_4 = (_co.columnTypes.includes(\"geoAlert\") || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 9, 0, currVal_4); var currVal_5 = _co.columnTypes.includes(\"groupEngagement\"); _ck(_v, 11, 0, currVal_5); var currVal_6 = _co.columnTypes.includes(\"reviewRating\"); _ck(_v, 13, 0, currVal_6); var currVal_7 = _co.columnTypes.includes(\"reviewRating\"); _ck(_v, 15, 0, currVal_7); var currVal_8 = _co.columnTypes.includes(\"customerEngagement\"); _ck(_v, 17, 0, currVal_8); var currVal_9 = _co.columnTypes.includes(\"upcoming\"); _ck(_v, 19, 0, currVal_9); var currVal_10 = (_co.columnTypes.includes(\"geoAlert\") || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 21, 0, currVal_10); var currVal_11 = (_co.columnTypes.includes(\"reviewRating\") || _co.columnTypes.includes(\"geoAlert\")); _ck(_v, 23, 0, currVal_11); var currVal_12 = ((_co.columnTypes.includes(\"geoAlert\") || _co.columnTypes.includes(\"assignedDate\")) || (_co.widgetTitleKey == \"oneToOne\")); _ck(_v, 25, 0, currVal_12); var currVal_13 = _co.columnTypes.includes(\"customerEngagement\"); _ck(_v, 27, 0, currVal_13); var currVal_14 = (_co.columnTypes.includes(\"reviewRating\") || _co.columnTypes.includes(\"geoAlert\")); _ck(_v, 29, 0, currVal_14); var currVal_15 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 31, 0, currVal_15); var currVal_16 = _co.columnTypes.includes(\"apptOrRoDate\"); _ck(_v, 33, 0, currVal_16); var currVal_17 = _co.columnTypes.includes(\"responsibleUserFullName\"); _ck(_v, 35, 0, currVal_17); var currVal_18 = _co.columnTypes.includes(\"assignedDate\"); _ck(_v, 37, 0, currVal_18); var currVal_19 = (_co.columnTypes.includes(\"alertBlocks\") && (_co.widgetTitleKey != \"upcomingAppointments\")); _ck(_v, 39, 0, currVal_19); var currVal_20 = _co.columnTypes.includes(\"retail\"); _ck(_v, 41, 0, currVal_20); var currVal_21 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 43, 0, currVal_21); var currVal_22 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 45, 0, currVal_22); var currVal_23 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 47, 0, currVal_23); var currVal_24 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 49, 0, currVal_24); var currVal_25 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 51, 0, currVal_25); var currVal_26 = _co.columnTypes.includes(\"opportunity\"); _ck(_v, 53, 0, currVal_26); var currVal_27 = (_co.columnTypes.includes(\"web\") || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 55, 0, currVal_27); var currVal_28 = (_co.columnTypes.includes(\"web\") || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 57, 0, currVal_28); var currVal_29 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 59, 0, currVal_29); var currVal_30 = (_co.columnTypes.includes(\"retail\") || _co.columnTypes.includes(\"lease\")); _ck(_v, 61, 0, currVal_30); var currVal_31 = ((((_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")) || _co.columnTypes.includes(\"reviewRating\")) || _co.columnTypes.includes(\"geoAlert\")) || _co.columnTypes.includes(\"assignedDate\")); _ck(_v, 63, 0, currVal_31); var currVal_32 = ((_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")) || _co.columnTypes.includes(\"web\")); _ck(_v, 65, 0, currVal_32); var currVal_33 = (_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")); _ck(_v, 67, 0, currVal_33); var currVal_34 = (_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")); _ck(_v, 69, 0, currVal_34); var currVal_35 = ((_co.columnTypes.includes(\"service\") || _co.columnTypes.includes(\"emailtext\")) || _co.columnTypes.includes(\"reviewRating\")); _ck(_v, 71, 0, currVal_35); var currVal_36 = _co.columnTypes.includes(\"web\"); _ck(_v, 73, 0, currVal_36); var currVal_37 = _co.columnTypes.includes(\"reviewRating\"); _ck(_v, 75, 0, currVal_37); var currVal_38 = _co.columnTypes.includes(\"reviewRating\"); _ck(_v, 77, 0, currVal_38); var currVal_39 = (_co.columnTypes.includes(\"reviewRating\") || _co.columnTypes.includes(\"geoAlert\")); _ck(_v, 79, 0, currVal_39); var currVal_40 = _co.columnTypes.includes(\"assignedDate\"); _ck(_v, 81, 0, currVal_40); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_58(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_59)), i1.ɵdid(2, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.sortedWidgetData; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"table\", [[\"class\", \"table table-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_3)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_4)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 4, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_44)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_58)), i1.ɵdid(10, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.widgetTitleKey == \"newOpportunityChangesWidgetTitle\"); _ck(_v, 3, 0, currVal_0); var currVal_1 = (_co.widgetTitleKey != \"newOpportunityChangesWidgetTitle\"); _ck(_v, 5, 0, currVal_1); var currVal_2 = (_co.widgetTitleKey == \"newOpportunityChangesWidgetTitle\"); _ck(_v, 8, 0, currVal_2); var currVal_3 = (_co.widgetTitleKey != \"newOpportunityChangesWidgetTitle\"); _ck(_v, 10, 0, currVal_3); }, null); }\nfunction View_DashboardOpportunitiesTableComponent_0(_l) { return i1.ɵvid(2, [i1.ɵpid(0, i7.LocaleDatePipe, [i13.StorageService]), i1.ɵpid(0, i8.LocaleCurrencyPipe, [i13.StorageService]), i1.ɵpid(0, i14.LocaleTimePipe, [i13.StorageService]), i1.ɵpid(0, i6.LocaleDateTimePipe, [i13.StorageService]), i1.ɵpid(0, i9.LocaleNumberPipe, [i13.StorageService]), i1.ɵpid(0, i15.LocalePhonePipe, [i13.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_1)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardOpportunitiesTableComponent_2)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.widgetData && (_co.widgetData.length == 0)); _ck(_v, 7, 0, currVal_0); var currVal_1 = (_co.widgetData && (_co.widgetData.length > 0)); _ck(_v, 9, 0, currVal_1); }, null); }\nexports.View_DashboardOpportunitiesTableComponent_0 = View_DashboardOpportunitiesTableComponent_0;\nfunction View_DashboardOpportunitiesTableComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"dashboard-opportunities-table\", [], null, null, null, View_DashboardOpportunitiesTableComponent_0, RenderType_DashboardOpportunitiesTableComponent)), i1.ɵdid(1, 638976, null, 0, i16.DashboardOpportunitiesTableComponent, [i17.DealSheetService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DashboardOpportunitiesTableComponent_Host_0 = View_DashboardOpportunitiesTableComponent_Host_0;\nvar DashboardOpportunitiesTableComponentNgFactory = i1.ɵccf(\"dashboard-opportunities-table\", i16.DashboardOpportunitiesTableComponent, View_DashboardOpportunitiesTableComponent_Host_0, { widgetData: \"widgetData\", widgetTitleKey: \"widgetTitleKey\", columnTypes: \"columnTypes\", isEuroLite: \"isEuroLite\" }, { onCloseCallback: \"onCloseCallback\" }, []);\nexports.DashboardOpportunitiesTableComponentNgFactory = DashboardOpportunitiesTableComponentNgFactory;\n","\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{opportunity.opportunityRank}}\r\n {{opportunity.entityScore}}\r\n \r\n {{opportunity.customerFullName}} \r\n 1\" class=\"engagementcount\"\r\n [translateParams]=\"{totalCount: opportunity.totalCount}\" translate=\"engagementCount\">\r\n {{opportunity.responsibleUserFullName}}{{opportunity.dateChanged | localeDate}}\r\n \r\n {{opportunity.lastMarketedDate | localeDate}}{{opportunity.performedOn | localeDate}}{{opportunity.openDate | localeDate}}{{opportunity.yearID}}{{opportunity.modelName}}{{opportunity.paymentDifference == null ? \"\" : opportunity.paymentDifference | localeCurrency}}{{opportunity.currentPayment == 0 || opportunity.currentPayment == null ? \"\" : opportunity.currentPayment | localeCurrency}}{{opportunity.zipCode}}
\r\n \r\n \r\n {{opportunity.opportunityRank}}\r\n {{opportunity.entityScore}}\r\n {{opportunity.new_Used}}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'serviceReview' | translate}}\r\n {{'salesReview' | translate}}\r\n \r\n {{opportunity.eventDate | localeDate}}\r\n {{opportunity.appointmentDate | localeDate}}\r\n {{opportunity.dueDate | localeDate}}\r\n \r\n {{opportunity.eventDate | localeTime}}\r\n {{opportunity.appointmentDate | localeTime}}\r\n {{opportunity.dueDate | localeTime}}\r\n {{opportunity.openDate | localeDate}}{{opportunity.deal_Date | localeDate}}{{opportunity.lastMarketedDate | localeDate}}{{opportunity.ownerFullName}}{{opportunity.serviceAdvisorName}}\r\n {{opportunity.customerFullName}} \r\n 1\" class=\"engagementcount\"\r\n [translateParams]=\"{totalCount: opportunity.totalCount}\" translate=\"engagementCount\">\r\n \r\n {{opportunity.roAppointmentDate | localeDate}}\r\n {{opportunity.roDate | localeDate}}\r\n {{opportunity.responsibleUserFullName}}{{opportunity.assignedDate | localeDateTime}}\r\n \r\n {{opportunity.newUsed}}{{opportunity.paymentRemaining | localeNumber}}{{opportunity.lastMarketedDate | localeDate}}{{opportunity.responsibleUserFullName}}{{opportunity.serviceAdvisorName}}{{opportunity.yearID}}{{opportunity.modelName}}{{opportunity.replacement_Model_Year}}{{opportunity.replacement_Model_Name}}{{opportunity.estimatedCurrentMileage | localeNumber}}{{opportunity.zipCode}}{{opportunity.estimated_Current_Mileage | localeNumber}}{{opportunity.new_Used}}{{opportunity.current_Payment == 0 || opportunity.current_Payment == null ? \"\" : opportunity.current_Payment | localeCurrency}}{{opportunity.replacement_Payment == 0 || opportunity.replacement_Payment == null ? \"\" : opportunity.replacement_Payment | localeCurrency}}{{opportunity.openDate | localeDate}}{{opportunity.payment_Difference == null ? \"\" : opportunity.payment_Difference | localeCurrency}}{{opportunity.email}}{{opportunity.home_Phone | localePhone}}{{opportunity.zip_Code}}{{opportunity.assignedBy}}
","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApiCrmActivityTypes = {\n beBack: 'be-back',\n inboundCall: 'inbound call',\n inboundEmail: 'inbound email',\n letter: 'letter',\n outboundCall: 'outbound call',\n outboundEmail: 'outbound email',\n prospectAlert: 'prospect alert',\n prospectStatus: 'prospect status',\n remark: 'remark',\n remarkShowroom: 'remarkshowroom',\n reminder: 'reminder',\n textMessage: 'text message (sms)',\n inboundTextMessage: 'inbound text message',\n outboundTextMessage: 'outbound text message'\n};\n","export const ApiCrmActivityTypes = {\r\n beBack: 'be-back',\r\n inboundCall: 'inbound call',\r\n inboundEmail: 'inbound email',\r\n letter: 'letter',\r\n outboundCall: 'outbound call',\r\n outboundEmail: 'outbound email',\r\n prospectAlert: 'prospect alert',\r\n prospectStatus: 'prospect status',\r\n remark: 'remark',\r\n remarkShowroom: 'remarkshowroom',\r\n reminder: 'reminder',\r\n textMessage: 'text message (sms)',\r\n inboundTextMessage: 'inbound text message',\r\n outboundTextMessage: 'outbound text message'\r\n};\r\n","var path = '/app/components/data-entry/replacement/edit-upgrade-downgrade-modal.component.html';\nvar html = \"






\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerClientService = /** @class */ (function (_super) {\n __extends(DealerClientService, _super);\n function DealerClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param dealerId undefined\n */\n DealerClientService.prototype.GetDealerVendorFlagsByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Dealer/GetDealerVendorFlags/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n */\n DealerClientService.prototype.GetDealerVendorFlagsByDealeridGET = function (dealerId) {\n return this.GetDealerVendorFlagsByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n */\n DealerClientService.prototype.GetDealerFordPilotDtoByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Dealer/GetDealerFordPilotDto/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n */\n DealerClientService.prototype.GetDealerFordPilotDtoByDealeridGET = function (dealerId) {\n return this.GetDealerFordPilotDtoByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerClientService.prototype.GetDealerFordInfoGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (dealerId != null)\n __params = __params.set('dealerId', dealerId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Dealer/GetDealerFordInfo\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerClientService.prototype.GetDealerFordInfoGET = function (dealerId) {\n return this.GetDealerFordInfoGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param lookbackDays undefined\n */\n DealerClientService.prototype.GetPandoErrorDealersByLookbackdaysGETResponse = function (lookbackDays) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Dealer/GetPandoErrorDealers/\" + lookbackDays), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param lookbackDays undefined\n */\n DealerClientService.prototype.GetPandoErrorDealersByLookbackdaysGET = function (lookbackDays) {\n return this.GetPandoErrorDealersByLookbackdaysGETResponse(lookbackDays).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `DealerClientService.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\n *\n * - `year`:\n *\n * - `trimId`:\n *\n * - `modelId`:\n *\n * - `makeId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerClientService.prototype.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Dealer/GetDealerAlertTolerances/\" + params.dealerId + \"/\" + params.makeId + \"/\" + params.year + \"/\" + params.modelId + \"/\" + params.trimId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `DealerClientService.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\n *\n * - `year`:\n *\n * - `trimId`:\n *\n * - `modelId`:\n *\n * - `makeId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerClientService.prototype.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGET = function (params) {\n return this.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `DealerClientService.UpdateDealerAlertTolerancesByDealeridPOSTParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `alertTolerances`:\n */\n DealerClientService.prototype.UpdateDealerAlertTolerancesByDealeridPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.alertTolerances;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Dealer/UpdateDealerAlertTolerances/\" + params.dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `DealerClientService.UpdateDealerAlertTolerancesByDealeridPOSTParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `alertTolerances`:\n */\n DealerClientService.prototype.UpdateDealerAlertTolerancesByDealeridPOST = function (params) {\n return this.UpdateDealerAlertTolerancesByDealeridPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerClientService.prototype.GetDealerWishListsByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Dealer/GetDealerWishLists/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerClientService.prototype.GetDealerWishListsByDealeridGET = function (dealerId) {\n return this.GetDealerWishListsByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n */\n DealerClientService.prototype.FlushDealerWishListsCacheByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Dealer/FlushDealerWishListsCache/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n */\n DealerClientService.prototype.FlushDealerWishListsCacheByDealeridGET = function (dealerId) {\n return this.FlushDealerWishListsCacheByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerWishList undefined\n * @return Success\n */\n DealerClientService.prototype.SaveDealerWishListPOSTResponse = function (dealerWishList) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = dealerWishList;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Dealer/SaveDealerWishList\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerWishList undefined\n * @return Success\n */\n DealerClientService.prototype.SaveDealerWishListPOST = function (dealerWishList) {\n return this.SaveDealerWishListPOSTResponse(dealerWishList).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `DealerClientService.GetDealerWishListLogsByDealeridByDealerwishlistidGETParams` containing the following parameters:\n *\n * - `dealerWishListID`:\n *\n * - `dealerId`:\n *\n * - `take`:\n *\n * @return Success\n */\n DealerClientService.prototype.GetDealerWishListLogsByDealeridByDealerwishlistidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Dealer/GetDealerWishListLogs/\" + params.dealerId + \"/\" + params.dealerWishListID + \"/\" + params.take), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `DealerClientService.GetDealerWishListLogsByDealeridByDealerwishlistidGETParams` containing the following parameters:\n *\n * - `dealerWishListID`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerClientService.prototype.GetDealerWishListLogsByDealeridByDealerwishlistidGET = function (params) {\n return this.GetDealerWishListLogsByDealeridByDealerwishlistidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n DealerClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Dealer/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n DealerClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n DealerClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Dealer/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n DealerClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n DealerClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Dealer/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n DealerClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n DealerClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Dealer\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n DealerClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n DealerClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Dealer\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n DealerClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerClientService.GetDealerVendorFlagsByDealeridGETPath = '/api/Dealer/GetDealerVendorFlags/{dealerId}';\n DealerClientService.GetDealerFordPilotDtoByDealeridGETPath = '/api/Dealer/GetDealerFordPilotDto/{dealerId}';\n DealerClientService.GetDealerFordInfoGETPath = '/api/Dealer/GetDealerFordInfo';\n DealerClientService.GetPandoErrorDealersByLookbackdaysGETPath = '/api/Dealer/GetPandoErrorDealers/{lookbackDays}';\n DealerClientService.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETPath = '/api/Dealer/GetDealerAlertTolerances/{dealerId}/{makeId}/{year}/{modelId}/{trimId}';\n DealerClientService.UpdateDealerAlertTolerancesByDealeridPOSTPath = '/api/Dealer/UpdateDealerAlertTolerances/{dealerId}';\n DealerClientService.GetDealerWishListsByDealeridGETPath = '/api/Dealer/GetDealerWishLists/{dealerId}';\n DealerClientService.FlushDealerWishListsCacheByDealeridGETPath = '/api/Dealer/FlushDealerWishListsCache/{dealerId}';\n DealerClientService.SaveDealerWishListAsyncPOSTPath = '/api/Dealer/SaveDealerWishList';\n DealerClientService.GetDealerWishListLogsByDealeridByDealerwishlistidGETPath = '/api/Dealer/GetDealerWishListLogs/{dealerId}/{dealerWishListID}';\n DealerClientService.ByIdGETPath = '/api/Dealer/{id}';\n DealerClientService.ByIdDELETEPath = '/api/Dealer/{id}';\n DealerClientService.GetManyGETPath = '/api/Dealer/GetMany';\n DealerClientService.PUTPath = '/api/Dealer';\n DealerClientService.POSTPath = '/api/Dealer';\n DealerClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerClientService_Factory() { return new DealerClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerClientService, providedIn: \"root\" });\n return DealerClientService;\n}(base_service_1.BaseService));\nexports.DealerClientService = DealerClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerFordInfoDto } from '../models/dealer-ford-info-dto';\r\nimport { DealerAlertToleranceExtDto } from '../models/dealer-alert-tolerance-ext-dto';\r\nimport { DealerAlertToleranceUpdateExtDto } from '../models/dealer-alert-tolerance-update-ext-dto';\r\nimport { DealerWishListExtDto } from '../models/dealer-wish-list-ext-dto';\r\nimport { DealerWishListLogExtDto } from '../models/dealer-wish-list-log-ext-dto';\r\nimport { DealerDto } from '../models/dealer-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerClientService extends __BaseService {\r\n static readonly GetDealerVendorFlagsByDealeridGETPath = '/api/Dealer/GetDealerVendorFlags/{dealerId}';\r\n static readonly GetDealerFordPilotDtoByDealeridGETPath = '/api/Dealer/GetDealerFordPilotDto/{dealerId}';\r\n static readonly GetDealerFordInfoGETPath = '/api/Dealer/GetDealerFordInfo';\r\n static readonly GetPandoErrorDealersByLookbackdaysGETPath = '/api/Dealer/GetPandoErrorDealers/{lookbackDays}';\r\n static readonly GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETPath = '/api/Dealer/GetDealerAlertTolerances/{dealerId}/{makeId}/{year}/{modelId}/{trimId}';\r\n static readonly UpdateDealerAlertTolerancesByDealeridPOSTPath = '/api/Dealer/UpdateDealerAlertTolerances/{dealerId}';\r\n static readonly GetDealerWishListsByDealeridGETPath = '/api/Dealer/GetDealerWishLists/{dealerId}';\r\n static readonly FlushDealerWishListsCacheByDealeridGETPath = '/api/Dealer/FlushDealerWishListsCache/{dealerId}';\r\n static readonly SaveDealerWishListAsyncPOSTPath = '/api/Dealer/SaveDealerWishList';\r\n static readonly GetDealerWishListLogsByDealeridByDealerwishlistidGETPath = '/api/Dealer/GetDealerWishListLogs/{dealerId}/{dealerWishListID}';\r\n static readonly ByIdGETPath = '/api/Dealer/{id}';\r\n static readonly ByIdDELETEPath = '/api/Dealer/{id}';\r\n static readonly GetManyGETPath = '/api/Dealer/GetMany';\r\n static readonly PUTPath = '/api/Dealer';\r\n static readonly POSTPath = '/api/Dealer';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n */\r\n GetDealerVendorFlagsByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/GetDealerVendorFlags/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n */\r\n GetDealerVendorFlagsByDealeridGET(dealerId: number): __Observable {\r\n return this.GetDealerVendorFlagsByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n */\r\n GetDealerFordPilotDtoByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/GetDealerFordPilotDto/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n */\r\n GetDealerFordPilotDtoByDealeridGET(dealerId: number): __Observable {\r\n return this.GetDealerFordPilotDtoByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerFordInfoGETResponse(dealerId?: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (dealerId != null) __params = __params.set('dealerId', dealerId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/GetDealerFordInfo`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerFordInfoGET(dealerId?: number): __Observable> {\r\n return this.GetDealerFordInfoGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param lookbackDays undefined\r\n */\r\n GetPandoErrorDealersByLookbackdaysGETResponse(lookbackDays: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/GetPandoErrorDealers/${lookbackDays}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param lookbackDays undefined\r\n */\r\n GetPandoErrorDealersByLookbackdaysGET(lookbackDays: number): __Observable {\r\n return this.GetPandoErrorDealersByLookbackdaysGETResponse(lookbackDays).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `DealerClientService.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `year`:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `modelId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETResponse(params: DealerClientService.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/GetDealerAlertTolerances/${params.dealerId}/${params.makeId}/${params.year}/${params.modelId}/${params.trimId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerClientService.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `year`:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `modelId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGET(params: DealerClientService.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETParams): __Observable> {\r\n return this.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `DealerClientService.UpdateDealerAlertTolerancesByDealeridPOSTParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `alertTolerances`:\r\n */\r\n UpdateDealerAlertTolerancesByDealeridPOSTResponse(params: DealerClientService.UpdateDealerAlertTolerancesByDealeridPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n __body = params.alertTolerances;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Dealer/UpdateDealerAlertTolerances/${params.dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerClientService.UpdateDealerAlertTolerancesByDealeridPOSTParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `alertTolerances`:\r\n */\r\n UpdateDealerAlertTolerancesByDealeridPOST(params: DealerClientService.UpdateDealerAlertTolerancesByDealeridPOSTParams): __Observable {\r\n return this.UpdateDealerAlertTolerancesByDealeridPOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerWishListsByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/GetDealerWishLists/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerWishListsByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetDealerWishListsByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n */\r\n FlushDealerWishListsCacheByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/FlushDealerWishListsCache/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n */\r\n FlushDealerWishListsCacheByDealeridGET(dealerId: number): __Observable {\r\n return this.FlushDealerWishListsCacheByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerWishList undefined\r\n * @return Success\r\n */\r\n SaveDealerWishListPOSTResponse(dealerWishList?: DealerWishListExtDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = dealerWishList;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Dealer/SaveDealerWishList`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerWishList undefined\r\n * @return Success\r\n */\r\n SaveDealerWishListPOST(dealerWishList?: DealerWishListExtDto): __Observable {\r\n return this.SaveDealerWishListPOSTResponse(dealerWishList).pipe(\r\n __map(_r => _r.body as DealerWishListExtDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `DealerClientService.GetDealerWishListLogsByDealeridByDealerwishlistidGETParams` containing the following parameters:\r\n *\r\n * - `dealerWishListID`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `take`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerWishListLogsByDealeridByDealerwishlistidGETResponse(params: DealerClientService.GetDealerWishListLogsByDealeridByDealerwishlistidGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/GetDealerWishListLogs/${params.dealerId}/${params.dealerWishListID}/${params.take}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerClientService.GetDealerWishListLogsByDealeridByDealerwishlistidGETParams` containing the following parameters:\r\n *\r\n * - `dealerWishListID`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerWishListLogsByDealeridByDealerwishlistidGET(params: DealerClientService.GetDealerWishListLogsByDealeridByDealerwishlistidGETParams): __Observable> {\r\n return this.GetDealerWishListLogsByDealeridByDealerwishlistidGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as DealerDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Dealer/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => { if (val != null) __params = __params.append('ids', val.toString()) });\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Dealer/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: DealerDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Dealer`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: DealerDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: DealerDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Dealer`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: DealerDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as DealerDto)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerClientService {\r\n\r\n /**\r\n * Parameters for GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGET\r\n */\r\n export interface GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETParams {\r\n year: number;\r\n trimId: number;\r\n modelId: number;\r\n makeId: number;\r\n dealerId: number;\r\n }\r\n\r\n /**\r\n * Parameters for UpdateDealerAlertTolerancesByDealeridPOST\r\n */\r\n export interface UpdateDealerAlertTolerancesByDealeridPOSTParams {\r\n dealerId: number;\r\n alertTolerances?: Array;\r\n }\r\n\r\n /**\r\n * Parameters for GetDealerWishListLogsByDealeridByDealerwishlistidGET\r\n */\r\n export interface GetDealerWishListLogsByDealeridByDealerwishlistidGETParams {\r\n dealerWishListID: number;\r\n dealerId: number;\r\n take: number;\r\n }\r\n}\r\n\r\nexport { DealerClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar app_settings_1 = require(\"../../../constants/app-settings\");\nvar AdminTemplatesEditModalComponent = /** @class */ (function () {\n function AdminTemplatesEditModalComponent(_bsModalRef) {\n this._bsModalRef = _bsModalRef;\n this.saveChanges = new core_1.EventEmitter();\n this.url = \"\";\n }\n AdminTemplatesEditModalComponent.prototype.ngOnInit = function () {\n this.url = app_settings_1.Settings.legacy.iframeUrl + \"/Settings/OutreachTemplates/EditModal/?\" + \"id=\" + this.id + \"&dealerID=\" + this.dealerId;\n this._bsModalRef.hide();\n };\n AdminTemplatesEditModalComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n AdminTemplatesEditModalComponent.prototype.onCancel = function () {\n this.saveChanges.emit();\n this._bsModalRef.hide();\n };\n return AdminTemplatesEditModalComponent;\n}());\nexports.AdminTemplatesEditModalComponent = AdminTemplatesEditModalComponent;\n","import { Component, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter, Pipe, PipeTransform, AfterViewInit } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { Settings } from '../../../constants/app-settings';\r\n\r\n@Component({\r\n selector: 'admin-templates-edit-modal',\r\n templateUrl: './admin-templates-edit-modal.component-ng.html',\r\n styleUrls: ['./admin-templates-edit-modal.component.scss']\r\n})\r\nexport class AdminTemplatesEditModalComponent implements OnInit, AfterViewInit {\r\n @Input() id: number;\r\n @Input() dealerId: number;\r\n @Output() saveChanges = new EventEmitter();\r\n \r\n public url: string = \"\";\r\n\r\n constructor(public _bsModalRef: BsModalRef) {\r\n }\r\n\r\n ngOnInit(): void {\r\n this.url = Settings.legacy.iframeUrl + \"/Settings/OutreachTemplates/EditModal/?\" + \"id=\" + this.id + \"&dealerID=\" + this.dealerId; \r\n\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public onCancel(): void {\r\n this.saveChanges.emit();\r\n this._bsModalRef.hide();\r\n }\r\n\r\n}","module.exports = \"x-data-entry-alerts .alerts-wrapper {\\n padding-left: 15px;\\n padding-right: 15px;\\n width: 100%;\\n}\\nx-data-entry-alerts input.ng-invalid.ng-dirty {\\n border-color: #cccccc;\\n}\\nx-data-entry-alerts .override {\\n font-weight: bold;\\n}\\nx-data-entry-alerts #gridDataEntryAlerts th.k-header.align-center {\\n text-align: center;\\n}\\nx-data-entry-alerts #gridDataEntryAlerts th.k-grid-content.align-center {\\n text-align: center;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9kYXRhLWVudHJ5L0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcY29tcG9uZW50c1xcZGF0YS1lbnRyeVxcZGF0YS1lbnRyeS1hbGVydHMuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvZGF0YS1lbnRyeS9kYXRhLWV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dDogMTVweDtcbiAgcGFkZGluZy1yaWdodDogMTVweDtcbiAgd2lkdGg6IDEwMCU7XG59XG54LWRhdGEtZW50cnktYWxlcnRzIGlucHV0Lm5nLWludmFsaWQubmctZGlydHkge1xuICBib3JkZXItY29sb3I6ICNjY2NjY2M7XG59XG54LWRhdGEtZW50cnktYWxlcnRzIC5vdmVycmlkZSB7XG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xufVxueC1kYXRhLWVudHJ5LWFsZXJ0cyAjZ3JpZERhdGFFbnRyeUFsZXJ0cyB0aC5rLWhlYWRlci5hbGlnbi1jZW50ZXIge1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG59XG54LWRhdGEtZW50cnktYWxlcnRzICNncmlkRGF0YUVudHJ5QWxlcnRzIHRoLmstZ3JpZC1jb250ZW50LmFsaWduLWNlbnRlciB7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn0iXX0= */\"","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","var path = '/app/components/deal-sheet/contract/feature-comparison-fuel.component.html';\nvar html = \"
{{ ($ctrl.fuelEconomy.combinedEquivalent ? $ctrl.fuelEconomy.combinedEquivalent : $ctrl.fuelEconomy.combined) | localeNumber }}
{{ $ctrl.fuelEconomy.city | localeNumber }}
{{ $ctrl.fuelEconomy.highway | localeNumber }}
{{ $ctrl.fuelEconomy.combined | localeNumber }}
{{ $ctrl.fuelEconomy.city | localeNumber }}
{{ $ctrl.fuelEconomy.highway | localeNumber }}
{{ $ctrl.fuelEconomy.combined | localeNumber }}
{{ $ctrl.fuelEconomy.city | localeNumber }}
{{ $ctrl.fuelEconomy.highway | localeNumber }}
N/A
{{ $ctrl.fuelEconomy.combinedEquivalent | localeNumber }}
N/A
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar $export = require('./_export');\nvar $fails = require('./_fails');\nvar aNumberValue = require('./_a-number-value');\nvar $toPrecision = 1.0.toPrecision;\n\n$export($export.P + $export.F * ($fails(function () {\n // IE7-\n return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function () {\n // V8 ~ Android 4.3-\n $toPrecision.call({});\n})), 'Number', {\n toPrecision: function toPrecision(precision) {\n var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);\n }\n});\n","var path = '/app/components/deal-sheet/mark-as-sold.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/modals/hot-trade-details-modal.component.html';\nvar html = \"
{{$ctrl.hotTrade.averageDaysOnMarket | localeNumber}}
Average Days on market
{{$ctrl.hotTrade.totalAverageGross | localeCurrency}}
Average Gross
* The Days in Market / Average Gross based last 1 year of sales data
Week Sold Units Average Gross
{{item.weekDate | localeDate}} {{item.soldUnits | localeNumber}} {{item.averageGross | localeCurrency}}
* Weekly Sold Units / Gross based last 8 weeks of data
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n if ($preventExtensions) $preventExtensions(target);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"label[_ngcontent-%COMP%]{color:#444a50}.categoriesContainer[_ngcontent-%COMP%]{margin-top:5px;float:left;width:225px;margin-left:20px}.accessRightContainer[_ngcontent-%COMP%]{margin-top:5px;margin-left:15px}.accessRight[_ngcontent-%COMP%]{margin-top:5px}.actionButtonContainer[_ngcontent-%COMP%]{clear:both;height:35px}.saveButton[_ngcontent-%COMP%]{margin-left:10px}.categoryImage[_ngcontent-%COMP%]{width:20px;height:20px}.close[_ngcontent-%COMP%]{color:#fff}\"];\nexports.styles = styles;\n","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\nvar Enumerate = function (iterated) {\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = []; // keys\n var key;\n for (key in iterated) keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function () {\n var that = this;\n var keys = that._k;\n var key;\n do {\n if (that._i >= keys.length) return { value: undefined, done: true };\n } while (!((key = keys[that._i++]) in that._t));\n return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target) {\n return new Enumerate(target);\n }\n});\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar ExtCustomerActivityClientService = /** @class */ (function (_super) {\n __extends(ExtCustomerActivityClientService, _super);\n function ExtCustomerActivityClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n * @return Success\n */\n ExtCustomerActivityClientService.prototype.AddEndConversationEventRecordByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ExtCustomerActivity/AddEndConversationEventRecord/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n ExtCustomerActivityClientService.prototype.AddEndConversationEventRecordByEntityidGET = function (entityId) {\n return this.AddEndConversationEventRecordByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n ExtCustomerActivityClientService.prototype.IsAutoAssistantConversationOpenByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/ExtCustomerActivity/IsAutoAssistantConversationOpen/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: _r.body === 'true' });\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n ExtCustomerActivityClientService.prototype.IsAutoAssistantConversationOpenByEntityidGET = function (entityId) {\n return this.IsAutoAssistantConversationOpenByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n ExtCustomerActivityClientService.AddEndConversationEventRecordByEntityidGETPath = '/api/ExtCustomerActivity/AddEndConversationEventRecord/{entityId}';\n ExtCustomerActivityClientService.IsAutoAssistantConversationOpenByEntityidGETPath = '/api/ExtCustomerActivity/IsAutoAssistantConversationOpen/{entityId}';\n ExtCustomerActivityClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ExtCustomerActivityClientService_Factory() { return new ExtCustomerActivityClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: ExtCustomerActivityClientService, providedIn: \"root\" });\n return ExtCustomerActivityClientService;\n}(base_service_1.BaseService));\nexports.ExtCustomerActivityClientService = ExtCustomerActivityClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass ExtCustomerActivityClientService extends __BaseService {\r\n static readonly AddEndConversationEventRecordByEntityidGETPath = '/api/ExtCustomerActivity/AddEndConversationEventRecord/{entityId}';\r\n static readonly IsAutoAssistantConversationOpenByEntityidGETPath = '/api/ExtCustomerActivity/IsAutoAssistantConversationOpen/{entityId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n AddEndConversationEventRecordByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ExtCustomerActivity/AddEndConversationEventRecord/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n AddEndConversationEventRecordByEntityidGET(entityId: string): __Observable {\r\n return this.AddEndConversationEventRecordByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n IsAutoAssistantConversationOpenByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/ExtCustomerActivity/IsAutoAssistantConversationOpen/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: (_r as HttpResponse).body === 'true' }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n IsAutoAssistantConversationOpenByEntityidGET(entityId: string): __Observable {\r\n return this.IsAutoAssistantConversationOpenByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as boolean)\r\n );\r\n }\r\n}\r\n\r\nmodule ExtCustomerActivityClientService {\r\n}\r\n\r\nexport { ExtCustomerActivityClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar CapitalCostComponent = /** @class */ (function () {\n function CapitalCostComponent() {\n }\n CapitalCostComponent.prototype.ngOnInit = function () {\n };\n return CapitalCostComponent;\n}());\nexports.CapitalCostComponent = CapitalCostComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'capital-cost',\r\n templateUrl: './capital-cost.component-ng.html',\r\n styleUrls: ['./capital-cost.component.scss']\r\n})\r\nexport class CapitalCostComponent implements OnInit {\r\n\r\n @Input() value: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = context(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","var path = '/app/components/deal-sheet/customer-contact.component.html';\nvar html = \"
0\\\">| 0\\\">|
| |
{{$ctrl.cultureDisplayName}}
, {{ $ctrl.customer.address.city }},  {{ $ctrl.customer.address.stateName }} , {{ $ctrl.customer.address.zipCode }} {{$ctrl.customerAddress}},  {{ $ctrl.customer.address.zipCode }} {{ $ctrl.customer.address.city }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerAssetClientService = /** @class */ (function (_super) {\n __extends(DealerAssetClientService, _super);\n function DealerAssetClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @return Success\n */\n DealerAssetClientService.prototype.GetDealerAssetsGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealerAsset/GetDealerAssets\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n DealerAssetClientService.prototype.GetDealerAssetsGET = function () {\n return this.GetDealerAssetsGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerAssetClientService.prototype.GetByDealerByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerAsset/GetByDealer/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerAssetClientService.prototype.GetByDealerByDealeridGET = function (dealerId) {\n return this.GetByDealerByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n DealerAssetClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerAsset/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n DealerAssetClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n DealerAssetClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/DealerAsset/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n DealerAssetClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n DealerAssetClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealerAsset/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n DealerAssetClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n DealerAssetClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/DealerAsset\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n DealerAssetClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n DealerAssetClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerAsset\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n DealerAssetClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerAssetClientService.GetDealerAssetsGETPath = '/api/DealerAsset/GetDealerAssets';\n DealerAssetClientService.GetByDealerByDealeridGETPath = '/api/DealerAsset/GetByDealer/{dealerId}';\n DealerAssetClientService.ByIdGETPath = '/api/DealerAsset/{id}';\n DealerAssetClientService.ByIdDELETEPath = '/api/DealerAsset/{id}';\n DealerAssetClientService.GetManyGETPath = '/api/DealerAsset/GetMany';\n DealerAssetClientService.PUTPath = '/api/DealerAsset';\n DealerAssetClientService.POSTPath = '/api/DealerAsset';\n DealerAssetClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerAssetClientService_Factory() { return new DealerAssetClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerAssetClientService, providedIn: \"root\" });\n return DealerAssetClientService;\n}(base_service_1.BaseService));\nexports.DealerAssetClientService = DealerAssetClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerAssetDto } from '../models/dealer-asset-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerAssetClientService extends __BaseService {\r\n static readonly GetDealerAssetsGETPath = '/api/DealerAsset/GetDealerAssets';\r\n static readonly GetByDealerByDealeridGETPath = '/api/DealerAsset/GetByDealer/{dealerId}';\r\n static readonly ByIdGETPath = '/api/DealerAsset/{id}';\r\n static readonly ByIdDELETEPath = '/api/DealerAsset/{id}';\r\n static readonly GetManyGETPath = '/api/DealerAsset/GetMany';\r\n static readonly PUTPath = '/api/DealerAsset';\r\n static readonly POSTPath = '/api/DealerAsset';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetDealerAssetsGETResponse(): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerAsset/GetDealerAssets`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetDealerAssetsGET(): __Observable> {\r\n return this.GetDealerAssetsGETResponse().pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetByDealerByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerAsset/GetByDealer/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetByDealerByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetByDealerByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerAsset/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as DealerAssetDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/DealerAsset/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerAsset/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: DealerAssetDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/DealerAsset`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: DealerAssetDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: DealerAssetDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerAsset`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: DealerAssetDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as DealerAssetDto)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerAssetClientService {\r\n}\r\n\r\nexport { DealerAssetClientService }\r\n","var path = '/app/components/deal-sheet/opportunity-select.component.html';\nvar html = \"
0\\\" close=\\\"$ctrl.visible = false\\\">
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ConquestTypes = {\n notConverted: 1,\n converted: 2,\n creditConvert: 3\n};\n","export const ConquestTypes = {\r\n notConverted: 1,\r\n converted: 2,\r\n creditConvert: 3\r\n}","\"use strict\";\n// import { Component, OnInit } from '@angular/core';\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// @Component({\n// selector: 'fuel-difference',\n// templateUrl: './fuel-difference.component.html',\n// styleUrls: ['./fuel-difference.component.scss']\n// })\n// export class FuelDifferenceComponent implements OnInit {\n// constructor() { }\n// ngOnInit() {\n// }\n// }\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar FuelDifferenceComponent = /** @class */ (function (_super) {\n __extends(FuelDifferenceComponent, _super);\n function FuelDifferenceComponent(elementRef, injector) {\n var _this = _super.call(this, 'fuelDifference', elementRef, injector) || this;\n _this.onClick = new core_1.EventEmitter();\n return _this;\n }\n return FuelDifferenceComponent;\n}(static_1.UpgradeComponent));\nexports.FuelDifferenceComponent = FuelDifferenceComponent;\n","// import { Component, OnInit } from '@angular/core';\r\n\r\n// @Component({\r\n// selector: 'fuel-difference',\r\n// templateUrl: './fuel-difference.component.html',\r\n// styleUrls: ['./fuel-difference.component.scss']\r\n// })\r\n// export class FuelDifferenceComponent implements OnInit {\r\n\r\n// constructor() { }\r\n\r\n// ngOnInit() {\r\n// }\r\n\r\n// }\r\n\r\n\r\nimport { Directive, ElementRef, Injector, Input, Output, EventEmitter } from '@angular/core';\r\nimport { UpgradeComponent } from '@angular/upgrade/static';\r\n\r\n@Directive({\r\n selector: 'fuel-difference'\r\n})\r\nexport class FuelDifferenceComponent extends UpgradeComponent {\r\n @Input() fuelEconomyComparison: any;\r\n @Output() onClick = new EventEmitter();\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('fuelDifference', elementRef, injector);\r\n }\r\n}","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","// 20.2.2.5 Math.asinh(x)\nvar $export = require('./_export');\nvar $asinh = Math.asinh;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0\n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });\n","var path = '/app/components/email-unsubscribe.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var MATCH = require('./_wks')('match');\nmodule.exports = function (KEY) {\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch (e) {\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch (f) { /* empty */ }\n } return true;\n};\n","\"use strict\";\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EngagementEventGroups = {\n one2one: 1,\n email: 2,\n web: 3,\n service: 4,\n reviews: 5,\n text: 6,\n autoAssistant: 7,\n intelligentMarketing: 8,\n geoAlert: 9\n};\nexports.EngagementEventTypes = {\n newServiceAppointment: 1,\n inService: 2,\n emailOpened: 3,\n emailReplied: 4,\n purlView: 5,\n purlLeadSubmission: 6,\n websiteEngaged: 7,\n websiteLeadSubmission: 8,\n onlineServiceReview: 9,\n onlineSalesReview: 10,\n textMessageReplied: 11,\n customerRequestedContact: 12,\n purlViewIM: 13,\n purlLeadSubmissionIM: 14,\n activeGeoAlert: 15\n};\nexports.EngagementEventGroupsByType = (_a = {},\n _a[exports.EngagementEventTypes.newServiceAppointment] = exports.EngagementEventGroups.service,\n _a[exports.EngagementEventTypes.inService] = exports.EngagementEventGroups.service,\n _a[exports.EngagementEventTypes.emailOpened] = exports.EngagementEventGroups.email,\n _a[exports.EngagementEventTypes.emailReplied] = exports.EngagementEventGroups.email,\n _a[exports.EngagementEventTypes.purlView] = exports.EngagementEventGroups.one2one,\n _a[exports.EngagementEventTypes.purlLeadSubmission] = exports.EngagementEventGroups.one2one,\n _a[exports.EngagementEventTypes.websiteEngaged] = exports.EngagementEventGroups.web,\n _a[exports.EngagementEventTypes.websiteLeadSubmission] = exports.EngagementEventGroups.web,\n _a[exports.EngagementEventTypes.onlineServiceReview] = exports.EngagementEventGroups.reviews,\n _a[exports.EngagementEventTypes.onlineSalesReview] = exports.EngagementEventGroups.reviews,\n _a[exports.EngagementEventTypes.textMessageReplied] = exports.EngagementEventGroups.text,\n _a[exports.EngagementEventTypes.customerRequestedContact] = exports.EngagementEventGroups.autoAssistant,\n _a[exports.EngagementEventTypes.purlViewIM] = exports.EngagementEventGroups.intelligentMarketing,\n _a[exports.EngagementEventTypes.purlLeadSubmissionIM] = exports.EngagementEventGroups.intelligentMarketing,\n _a[exports.EngagementEventTypes.activeGeoAlert] = exports.EngagementEventGroups.geoAlert,\n _a);\n","export const EngagementEventGroups = {\r\n one2one: 1,\r\n email: 2,\r\n web: 3,\r\n service: 4,\r\n reviews: 5,\r\n text: 6,\r\n autoAssistant: 7,\r\n intelligentMarketing: 8,\r\n geoAlert: 9\r\n};\r\n\r\nexport const EngagementEventTypes = {\r\n newServiceAppointment: 1,\r\n inService: 2,\r\n emailOpened: 3,\r\n emailReplied: 4,\r\n purlView: 5,\r\n purlLeadSubmission: 6,\r\n websiteEngaged: 7,\r\n websiteLeadSubmission: 8,\r\n onlineServiceReview: 9,\r\n onlineSalesReview: 10,\r\n textMessageReplied: 11,\r\n customerRequestedContact:12,\r\n purlViewIM: 13,\r\n purlLeadSubmissionIM: 14,\r\n activeGeoAlert: 15\r\n}\r\n\r\nexport const EngagementEventGroupsByType = {\r\n [EngagementEventTypes.newServiceAppointment]: EngagementEventGroups.service,\r\n [EngagementEventTypes.inService]: EngagementEventGroups.service,\r\n [EngagementEventTypes.emailOpened]: EngagementEventGroups.email,\r\n [EngagementEventTypes.emailReplied]: EngagementEventGroups.email,\r\n [EngagementEventTypes.purlView]: EngagementEventGroups.one2one,\r\n [EngagementEventTypes.purlLeadSubmission]: EngagementEventGroups.one2one,\r\n [EngagementEventTypes.websiteEngaged]: EngagementEventGroups.web,\r\n [EngagementEventTypes.websiteLeadSubmission]: EngagementEventGroups.web,\r\n [EngagementEventTypes.onlineServiceReview]: EngagementEventGroups.reviews,\r\n [EngagementEventTypes.onlineSalesReview]: EngagementEventGroups.reviews,\r\n [EngagementEventTypes.textMessageReplied]: EngagementEventGroups.text,\r\n [EngagementEventTypes.customerRequestedContact]: EngagementEventGroups.autoAssistant,\r\n [EngagementEventTypes.purlViewIM]: EngagementEventGroups.intelligentMarketing,\r\n [EngagementEventTypes.purlLeadSubmissionIM]: EngagementEventGroups.intelligentMarketing,\r\n [EngagementEventTypes.activeGeoAlert]: EngagementEventGroups.geoAlert\r\n};\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EmailFromTypes = {\n None: 0,\n Customer: 1,\n User: 2\n};\n","export const EmailFromTypes = {\r\n None: 0,\r\n Customer: 1,\r\n User: 2\r\n};\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./vauto.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"./vauto.component\"));\nvar i4 = __importStar(require(\"../../../../services/ngx-modal-wrapper.service\"));\nvar i5 = __importStar(require(\"../../../../core/toaster-logger.service\"));\nvar i6 = __importStar(require(\"../../../../ajs-upgraded-providers\"));\nvar styles_VautoComponent = [i0.styles];\nvar RenderType_VautoComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_VautoComponent, data: {} });\nexports.RenderType_VautoComponent = RenderType_VautoComponent;\nfunction View_VautoComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"a\", [[\"class\", \"btn qa-vAuto-btn\"], [\"href\", \"#\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.vautoModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"img\", [[\"src\", \"../../../../images/asset-vauto.png\"], [\"style\", \"height:32px;width:auto;\"]], null, null, null, null, null))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"vAutoCreateAppraisalButtonText\")), \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexports.View_VautoComponent_0 = View_VautoComponent_0;\nfunction View_VautoComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"vauto\", [], null, null, null, View_VautoComponent_0, RenderType_VautoComponent)), i1.ɵdid(1, 638976, null, 0, i3.VautoComponent, [i4.NgxModalWrapperService, i2.TranslateService, i5.ToasterLoggerService, i6.VehicleService, i6.DealSheetService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_VautoComponent_Host_0 = View_VautoComponent_Host_0;\nvar VautoComponentNgFactory = i1.ɵccf(\"vauto\", i3.VautoComponent, View_VautoComponent_Host_0, { dealerId: \"dealerId\", customer: \"customer\", vehicle: \"vehicle\", owner: \"owner\" }, {}, []);\nexports.VautoComponentNgFactory = VautoComponentNgFactory;\n","
\r\n \r\n \r\n \r\n
\r\n","var path = '/app/components/reports/report-subscriptions.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export');\nvar getProto = require('./_object-gpo');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target) {\n return getProto(anObject(target));\n }\n});\n","var path = '/app/components/deal-sheet/financial/financials-retail-sale.component.html';\nvar html = \"
{{('validationMax' | translate) + ' 199'}} {{('validationMin' | translate) + ' 0'}}
{{('validationMax' | translate) + ' 20000'}} {{('validationMin' | translate) + ' 100'}}
{{('validationMax' | translate) + ' 30'}} {{('validationMin' | translate) + ' 0'}}
{{('validationMax' | translate) + ' 500000'}} {{('validationMin' | translate) + ' 1000'}}
{{('validationMax' | translate) + ' 100000'}} {{('validationMin' | translate) + ' 0'}}
{{('validationMax' | translate) + ' 300000'}} {{('validationMin' | translate) + ' 0'}}
{{('validationMinHidden' | translate)}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".circle-plus[_ngcontent-%COMP%]{background:url(https://assets.autoalert.com/img/autoalert-icons/icon-plus-vanilla.svg) no-repeat;width:1em;height:1em;display:inline-block;line-height:1;margin-left:20px}.start-processes-icon[_ngcontent-%COMP%]{background:url(https://assets.autoalert.com/img/autoalert-icons/icon-start-processes-vanilla.svg) no-repeat;width:1em;height:1em;display:inline-block;line-height:1}.modal-title[_ngcontent-%COMP%]{margin-left:15px}.dealSheetTopProcessesText[_ngcontent-%COMP%]{font-weight:700;margin-bottom:10px}.pillContainer[_ngcontent-%COMP%]{float:left;margin:0 10px 10px 0}.pill[_ngcontent-%COMP%]{font-size:12px}.dividerLine[_ngcontent-%COMP%]{clear:both;border-bottom:1px solid #e5e5e5;width:100%}.chooseAProcessText[_ngcontent-%COMP%]{font-weight:700;margin-top:10px}.processSelectContainer[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:15px}.modal-header[_ngcontent-%COMP%]{background:-webkit-gradient(linear,left top,right top,from(#172751),to(#1f8bd5)) fixed;background:linear-gradient(to right,#172751,#1f8bd5) fixed;color:#fff;border-radius:5px 5px 0 0;text-align:left;margin:0;display:block;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:10px}.invalidField[_ngcontent-%COMP%]{color:Red;margin-left:5px}.roleSelectContainer[_ngcontent-%COMP%]{margin:10px 0}.startWithDefaultLabel[_ngcontent-%COMP%]{margin-left:6px}.startWithParentContainer[_ngcontent-%COMP%]{margin-top:10px}.fieldInvalid[_ngcontent-%COMP%]{border-color:red}.close[_ngcontent-%COMP%]{color:#fff;opacity:1}.popoverHeader[_ngcontent-%COMP%]{font-weight:700}.tooltipContainer[_ngcontent-%COMP%]{float:left;margin-left:5px;font-size:14px}.txtRoleName[_ngcontent-%COMP%]{width:200px}.roleSelect[_ngcontent-%COMP%]{width:200px;height:32px}label[_ngcontent-%COMP%]{color:#444a50}.process-form-wrapper[_ngcontent-%COMP%]{overflow-y:scroll;height:350px;margin-top:15px;margin-bottom:15px;padding:0 15px 10px;border:1px solid #e7e7e7;border-radius:10px;font-size:14px}.process-form-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .process-form-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}.process-form-section[_ngcontent-%COMP%], .process-form-title-container[_ngcontent-%COMP%]{font-weight:700;border-bottom:2px solid #d5d5d5;padding-bottom:5px;font-size:16px}.process-form-title[_ngcontent-%COMP%]{clear:both;margin-right:5px;margin-top:8px;float:left}.form-field[_ngcontent-%COMP%]{margin-top:15px}.form-control[_ngcontent-%COMP%]{font-size:14px;padding:2px 12px;cursor:pointer}.otherRow[_ngcontent-%COMP%]{margin-top:8px;margin-left:20px}.otherRow[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:60%}.input-sm[_ngcontent-%COMP%]{border:1px solid #ccc}.input-sm.textbox[_ngcontent-%COMP%]{font-size:12px}.input-md[_ngcontent-%COMP%]{border:1px solid #ccc}.input-md.textbox[_ngcontent-%COMP%]{font-size:14px}.separatorLine[_ngcontent-%COMP%]{border-top:1px solid #ccc;margin-bottom:5px}.slidecontainer[_ngcontent-%COMP%]{width:100%}.slider[_ngcontent-%COMP%]{-webkit-appearance:none;width:100%;height:25px;background:#d3d3d3;outline:0;opacity:.7;-webkit-transition:opacity .2s;transition:opacity .2s}.slider[_ngcontent-%COMP%]:hover{opacity:1}.slider[_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:25px;height:25px;background:#4caf50;cursor:pointer}.slider[_ngcontent-%COMP%]::-moz-range-thumb{width:25px;height:25px;background:#4caf50;cursor:pointer}.single-select-radio-group[_ngcontent-%COMP%]{margin-left:4px}.single-select-radio-group[_ngcontent-%COMP%] .radio-control[_ngcontent-%COMP%]{padding:0 15px}.single-select-radio-group[_ngcontent-%COMP%] .radio-control[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{padding-left:10px;font-size:12px}\"];\nexports.styles = styles;\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","require('../modules/es6.function.bind');\nrequire('../modules/es6.function.name');\nrequire('../modules/es6.function.has-instance');\nmodule.exports = require('../modules/_core').Function;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar toaster_logger_service_1 = require(\"../../../core/toaster-logger.service\");\nvar rxjs_1 = require(\"rxjs\");\nvar constants_1 = require(\"../../../constants\");\nvar DeskitComponent = /** @class */ (function () {\n function DeskitComponent(dealSheetService, logger) {\n this.dealSheetService = dealSheetService;\n this.logger = logger;\n this.subscriptionAggregator = new rxjs_1.Subscription();\n this.showDeskitLink = false;\n this.saleTypes = constants_1.SaleTypes;\n this.vehicleTypes = constants_1.VehicleTypes;\n this.deskitImagePath = require('../../../images/icon-desking-lake.svg');\n }\n DeskitComponent.prototype.ngOnInit = function () {\n };\n DeskitComponent.prototype.ngOnDestroy = function () {\n this.subscriptionAggregator.unsubscribe();\n };\n DeskitComponent.prototype.ngOnChanges = function (changes) {\n if (!this.dealerSettings || !this.dealerId || !this.entityId || !this.customer || !this.currentVehicle) {\n return;\n }\n this.showDeskitLink = this.dealerSettings.deskitPushEnabled;\n };\n DeskitComponent.prototype.deskitPush = function () {\n var _this = this;\n var trade = {\n vin: this.currentVehicle.vin,\n year: this.currentVehicle.yearID,\n make: this.currentVehicle.makeName,\n model: this.currentVehicle.modelName,\n modelTrim: this.currentVehicle.trimFullName,\n mileage: this.currentVehicle.estimatedCurrentMileage\n };\n var soldVehicle = {\n stockNumber: this.replacementVehicle.stockNo,\n inventoryType: this.replacementVehicle.type == this.vehicleTypes.new ? 'N' : 'U',\n vin: this.replacementVehicle.vin,\n make: this.replacementVehicle.makeName,\n model: this.replacementVehicle.modelName,\n year: this.replacementVehicle.yearID,\n modelTrim: this.replacementVehicle.trimFullName\n };\n var request = {\n dealerID: this.dealerId,\n entityID: this.entityId,\n customerID: String(this.customer.id),\n dealType: (this.saleType === this.saleTypes.lease || this.saleType === this.saleTypes.onePayLease) ? \"Lease\" : \"Finance\",\n firstName: this.customer.firstName,\n middleName: this.customer.middleName,\n lastName: this.customer.lastName,\n companyName: this.customer.companyName,\n addressLines: [this.customer.address.streetAddress, this.customer.address.streetAddress2].filter(function (value) { return value !== null && value !== undefined && value !== \"\"; }),\n city: this.customer.address.city,\n county: this.customer.county,\n state: this.customer.address.stateName,\n zipCode: this.customer.address.zipCode,\n homePhone: this.customer.homePhoneNumber && this.customer.homePhoneNumber.value !== undefined ? this.customer.homePhoneNumber.value : null,\n cellPhone: this.customer.cellPhoneNumber && this.customer.cellPhoneNumber.value !== undefined ? this.customer.cellPhoneNumber.value : null,\n workPhone: this.customer.workPhoneNumber && this.customer.workPhoneNumber.value !== undefined ? this.customer.workPhoneNumber.value : null,\n email: this.customer.emailAddress && this.customer.emailAddress.value !== undefined ? this.customer.emailAddress.value : null,\n tradeVehicles: [trade],\n soldVehicle: soldVehicle\n };\n return rxjs_1.from(this.dealSheetService.pushToDeskit(request))\n .subscribe(function (result) {\n if (result != null) {\n if (result.message.status == 1) {\n _this.logger.success(\"Data successfully pushed to Deskit.\", \"Deskit DealID: \" + result.dealID, \"Push to Deskit\");\n }\n else {\n _this.logger.error(\"There was an error attempting to push data to Deskit.\", result.message.errorMessage, \"Push to Deskit\");\n }\n }\n });\n };\n DeskitComponent.prototype.pushToDeskit = function () {\n this.busy = this.deskitPush();\n this.subscriptionAggregator.add(this.busy);\n };\n return DeskitComponent;\n}());\nexports.DeskitComponent = DeskitComponent;\n","import { Component, OnInit, Input, OnChanges, Inject, SimpleChanges } from '@angular/core';\r\nimport { ToasterLoggerService } from '../../../core/toaster-logger.service';\r\nimport { DealSheetService } from '../../../ajs-upgraded-providers';\r\nimport { DeskitQuotingPushResponseDto, DeskitQuotingPushDto, DeskitQuotingPushSoldVehicle, DeskitQuotingPushTradeVehicle } from '../../../generated/models';\r\nimport { Subscription, from } from 'rxjs';\r\nimport { SaleTypes, VehicleTypes } from '../../../constants';\r\n\r\n@Component({\r\n selector: 'deskit',\r\n templateUrl: './deskit.component-ng.html',\r\n styleUrls: ['./deskit.component.scss']\r\n})\r\nexport class DeskitComponent implements OnInit, OnChanges {\r\n @Input() dealerId: number;\r\n @Input() dealerSettings: any;\r\n @Input() entityId: string;\r\n @Input() customer: any;\r\n @Input() currentVehicle: any;\r\n @Input() replacementVehicle: any;\r\n @Input() saleType: number;\r\n private subscriptionAggregator = new Subscription();\r\n public showDeskitLink = false;\r\n public busy: Subscription;\r\n public saleTypes = SaleTypes;\r\n public vehicleTypes = VehicleTypes;\r\n public deskitImagePath = require('../../../images/icon-desking-lake.svg');\r\n\r\n constructor(@Inject(DealSheetService) private dealSheetService,\r\n public logger: ToasterLoggerService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionAggregator.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (!this.dealerSettings || !this.dealerId || !this.entityId || !this.customer || !this.currentVehicle) {\r\n return;\r\n }\r\n this.showDeskitLink = this.dealerSettings.deskitPushEnabled;\r\n\r\n }\r\n\r\n deskitPush(): Subscription {\r\n\r\n const trade: DeskitQuotingPushTradeVehicle = {\r\n vin: this.currentVehicle.vin,\r\n year: this.currentVehicle.yearID,\r\n make: this.currentVehicle.makeName,\r\n model: this.currentVehicle.modelName,\r\n modelTrim: this.currentVehicle.trimFullName,\r\n mileage: this.currentVehicle.estimatedCurrentMileage\r\n };\r\n\r\n const soldVehicle: DeskitQuotingPushSoldVehicle = {\r\n stockNumber: this.replacementVehicle.stockNo,\r\n inventoryType: this.replacementVehicle.type == this.vehicleTypes.new ? 'N' : 'U',\r\n vin: this.replacementVehicle.vin, \r\n make: this.replacementVehicle.makeName,\r\n model: this.replacementVehicle.modelName,\r\n year: this.replacementVehicle.yearID,\r\n modelTrim: this.replacementVehicle.trimFullName\r\n }\r\n\r\n const request: DeskitQuotingPushDto = {\r\n dealerID: this.dealerId,\r\n entityID: this.entityId,\r\n customerID: String(this.customer.id),\r\n dealType: (this.saleType === this.saleTypes.lease || this.saleType === this.saleTypes.onePayLease) ? \"Lease\" : \"Finance\",\r\n firstName: this.customer.firstName,\r\n middleName: this.customer.middleName,\r\n lastName: this.customer.lastName,\r\n companyName: this.customer.companyName,\r\n addressLines: [this.customer.address.streetAddress, this.customer.address.streetAddress2].filter((value) => value !== null && value !== undefined && value !== \"\"),\r\n city: this.customer.address.city,\r\n county: this.customer.county,\r\n state: this.customer.address.stateName,\r\n zipCode: this.customer.address.zipCode,\r\n homePhone: this.customer.homePhoneNumber && this.customer.homePhoneNumber.value !== undefined ? this.customer.homePhoneNumber.value : null,\r\n cellPhone: this.customer.cellPhoneNumber && this.customer.cellPhoneNumber.value !== undefined ? this.customer.cellPhoneNumber.value : null,\r\n workPhone: this.customer.workPhoneNumber && this.customer.workPhoneNumber.value !== undefined ? this.customer.workPhoneNumber.value : null,\r\n email: this.customer.emailAddress && this.customer.emailAddress.value !== undefined ? this.customer.emailAddress.value : null,\r\n tradeVehicles: [trade],\r\n soldVehicle: soldVehicle\r\n };\r\n\r\n return from(this.dealSheetService.pushToDeskit(request))\r\n .subscribe((result: DeskitQuotingPushResponseDto | null) => {\r\n if (result != null) {\r\n if (result.message.status == 1) {\r\n this.logger.success(\"Data successfully pushed to Deskit.\", \"Deskit DealID: \" + result.dealID, \"Push to Deskit\");\r\n }\r\n else {\r\n this.logger.error(\"There was an error attempting to push data to Deskit.\", result.message.errorMessage, \"Push to Deskit\")\r\n }\r\n }\r\n });\r\n }\r\n\r\n public pushToDeskit() {\r\n this.busy = this.deskitPush();\r\n this.subscriptionAggregator.add(this.busy);\r\n }\r\n}\r\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProductTypes = {\n full: 1,\n serviceDriveOnly: 2,\n fca_Express: 3,\n fca_Full: 4,\n euroLite: 5\n};\n","export const ProductTypes = {\r\n full: 1,\r\n serviceDriveOnly: 2,\r\n fca_Express: 3,\r\n fca_Full: 4,\r\n euroLite: 5\r\n};\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./vincue-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-phone.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"../../../../filters/locale-number.pipe\"));\nvar i6 = __importStar(require(\"../../../../filters/locale-date.pipe\"));\nvar i7 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i8 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i9 = __importStar(require(\"../../../icon/icon.component\"));\nvar i10 = __importStar(require(\"@angular/platform-browser\"));\nvar i11 = __importStar(require(\"@angular/common\"));\nvar i12 = __importStar(require(\"./vincue-modal.component\"));\nvar i13 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i14 = __importStar(require(\"../../../../core/toaster-logger.service\"));\nvar i15 = __importStar(require(\"../../../../ajs-upgraded-providers\"));\nvar styles_VinCueModalComponent = [i0.styles];\nvar RenderType_VinCueModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_VinCueModalComponent, data: {} });\nexports.RenderType_VinCueModalComponent = RenderType_VinCueModalComponent;\nfunction View_VinCueModalComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \" \", \"\"])), i1.ɵppd(2, 1), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent, 1), _co.estimatedMileage)); var currVal_1 = i1.ɵunv(_v, 1, 1, i1.ɵnov(_v, 3).transform(\"vAutoMileageLabel\")); _ck(_v, 1, 0, currVal_0, currVal_1); }); }\nfunction View_VinCueModalComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 27, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-12 sectionHeader\"], [\"translate\", \"vAutoLatestAppraisalLabel\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 23, \"table\", [[\"class\", \"table\"], [\"style\", \"margin-top: 4px;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 9, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 8, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoDateCreatedLabel\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoAppraisalIdLabel\"]], null, null, null, null, null)), i1.ɵdid(10, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoViewAppraisalLabel\"]], null, null, null, null, null)), i1.ɵdid(12, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"th\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"ACV\"])), (_l()(), i1.ɵeld(15, 0, null, null, 12, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 11, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵppd(19, 1), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵeld(22, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 1, \"a\", [[\"class\", \"qa-appraisal-link\"], [\"target\", \"_blank\"], [\"translate\", \"vinCueAppraisalLink\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(24, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(26, null, [\"\", \"\"])), i1.ɵppd(27, 1)], function (_ck, _v) { var currVal_0 = \"vAutoLatestAppraisalLabel\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"vAutoDateCreatedLabel\"; _ck(_v, 8, 0, currVal_1); var currVal_2 = \"vAutoAppraisalIdLabel\"; _ck(_v, 10, 0, currVal_2); var currVal_3 = \"vAutoViewAppraisalLabel\"; _ck(_v, 12, 0, currVal_3); var currVal_7 = \"vinCueAppraisalLink\"; _ck(_v, 24, 0, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = i1.ɵunv(_v, 18, 0, _ck(_v, 19, 0, i1.ɵnov(_v.parent, 2), _co.createDate)); _ck(_v, 18, 0, currVal_4); var currVal_5 = _co.appraisalId; _ck(_v, 21, 0, currVal_5); var currVal_6 = i1.ɵinlineInterpolate(1, \"\", _co.deepLink, \"\"); _ck(_v, 23, 0, currVal_6); var currVal_8 = i1.ɵunv(_v, 26, 0, _ck(_v, 27, 0, i1.ɵnov(_v.parent, 3), _co.acv)); _ck(_v, 26, 0, currVal_8); }); }\nfunction View_VinCueModalComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocalePhonePipe, [i4.StorageService]), i1.ɵpid(0, i5.LocaleNumberPipe, [i4.StorageService]), i1.ɵpid(0, i6.LocaleDatePipe, [i4.StorageService]), i1.ɵpid(0, i7.LocaleCurrencyPipe, [i4.StorageService]), (_l()(), i1.ɵeld(4, 0, null, null, 58, \"div\", [[\"class\", \"modal-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 57, \"div\", [[\"class\", \"alert-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"h5\", [[\"class\", \"modal-title\"], [\"translate\", \"vinCueDialogTitle\"]], null, null, null, null, null)), i1.ɵdid(9, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i8.View_IconComponent_0, i8.RenderType_IconComponent)), i1.ɵdid(13, 638976, null, 0, i9.IconComponent, [i10.DomSanitizer], null, null), (_l()(), i1.ɵeld(14, 0, null, null, 43, \"div\", [[\"class\", \"modal-body form-horizontal\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 42, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-12 sectionHeader\"]], null, null, null, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), (_l()(), i1.ɵeld(19, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-3\"], [\"translate\", \"vAutoAddressLabel\"]], null, null, null, null, null)), i1.ɵdid(21, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(22, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-9 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(24, null, [\"\", \"\"])), (_l()(), i1.ɵeld(25, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(26, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-3\"], [\"translate\", \"vAutoEmailLabel\"]], null, null, null, null, null)), i1.ɵdid(27, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-9 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(30, null, [\"\", \"\"])), (_l()(), i1.ɵeld(31, 0, null, null, 6, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-3\"], [\"translate\", \"vAutoPhoneLabel\"]], null, null, null, null, null)), i1.ɵdid(33, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(34, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-9 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(35, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(36, null, [\"\", \"\"])), i1.ɵppd(37, 1), (_l()(), i1.ɵeld(38, 0, null, null, 17, \"table\", [[\"class\", \"table\"], [\"style\", \"margin-top: 8px;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(39, 0, null, null, 7, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(40, 0, null, null, 6, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(41, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoVinLabel\"]], null, null, null, null, null)), i1.ɵdid(42, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(43, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoTrimLabel\"]], null, null, null, null, null)), i1.ɵdid(44, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(45, 0, null, null, 1, \"th\", [[\"class\", \"right\"], [\"translate\", \"vAutoTradeOdometerLabel\"]], null, null, null, null, null)), i1.ɵdid(46, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(47, 0, null, null, 8, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(48, 0, null, null, 7, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(49, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(50, null, [\"\", \"\"])), (_l()(), i1.ɵeld(51, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(52, null, [\"\", \"\"])), (_l()(), i1.ɵeld(53, 0, null, null, 2, \"td\", [[\"class\", \"right\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VinCueModalComponent_1)), i1.ɵdid(55, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VinCueModalComponent_2)), i1.ɵdid(57, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(58, 0, null, null, 4, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(59, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(60, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(61, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"vAutoSendAppraisalButtonText\"], [\"type\", \"submit\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.sendAppraisal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(62, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"vinCueDialogTitle\"; _ck(_v, 9, 0, currVal_0); _ck(_v, 13, 0); var currVal_2 = \"vAutoAddressLabel\"; _ck(_v, 21, 0, currVal_2); var currVal_4 = \"vAutoEmailLabel\"; _ck(_v, 27, 0, currVal_4); var currVal_6 = \"vAutoPhoneLabel\"; _ck(_v, 33, 0, currVal_6); var currVal_8 = \"vAutoVinLabel\"; _ck(_v, 42, 0, currVal_8); var currVal_9 = \"vAutoTrimLabel\"; _ck(_v, 44, 0, currVal_9); var currVal_10 = \"vAutoTradeOdometerLabel\"; _ck(_v, 46, 0, currVal_10); var currVal_13 = _co.estimatedMileage; _ck(_v, 55, 0, currVal_13); var currVal_14 = _co.hasLatestAppraisal; _ck(_v, 57, 0, currVal_14); var currVal_15 = \"cancel\"; _ck(_v, 60, 0, currVal_15); var currVal_16 = \"vAutoSendAppraisalButtonText\"; _ck(_v, 62, 0, currVal_16); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.customer.fullName; _ck(_v, 18, 0, currVal_1); var currVal_3 = _co.fullAddress; _ck(_v, 24, 0, currVal_3); var currVal_5 = ((_co.customer.emailAddress == null) ? null : _co.customer.emailAddress.value); _ck(_v, 30, 0, currVal_5); var currVal_7 = i1.ɵunv(_v, 36, 0, _ck(_v, 37, 0, i1.ɵnov(_v, 0), _co.primaryPhone)); _ck(_v, 36, 0, currVal_7); var currVal_11 = _co.vehicle.vin; _ck(_v, 50, 0, currVal_11); var currVal_12 = _co.fullTrim; _ck(_v, 52, 0, currVal_12); }); }\nexports.View_VinCueModalComponent_0 = View_VinCueModalComponent_0;\nfunction View_VinCueModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"vincue-modal\", [], null, null, null, View_VinCueModalComponent_0, RenderType_VinCueModalComponent)), i1.ɵdid(1, 4308992, null, 0, i12.VinCueModalComponent, [i13.BsModalRef, i2.TranslateService, i14.ToasterLoggerService, i15.DealSheetService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_VinCueModalComponent_Host_0 = View_VinCueModalComponent_Host_0;\nvar VinCueModalComponentNgFactory = i1.ɵccf(\"vincue-modal\", i12.VinCueModalComponent, View_VinCueModalComponent_Host_0, {}, { onSaveChanges: \"onSaveChanges\" }, []);\nexports.VinCueModalComponentNgFactory = VinCueModalComponentNgFactory;\n","
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {{fullAddress}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{customer.emailAddress?.value}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{primaryPhone | localePhone}}\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
{{vehicle.vin}}{{fullTrim}}\r\n {{estimatedMileage | localeNumber}} {{ 'vAutoMileageLabel' | translate }}\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
ACV
{{createDate | localeDate}}{{appraisalId}}{{acv | localeCurrency}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
","module.exports = \"edit-upgrade-downgrade-modal {\\n /*input[type=number] {\\n -moz-appearance: initial !important;\\n }\\n\\n input[type=number]:not(.show-spinner)::-webkit-inner-spin-button,\\n input[type=number]:not(.show-spinner)::-webkit-outer-spin-button {\\n -webkit-appearance: initial !important;\\n margin: auto;\\n }*/\\n}\\nedit-upgrade-downgrade-modal trim-select {\\n max-width: 800px;\\n}\\nedit-upgrade-downgrade-modal .form-control {\\n display: inline;\\n width: auto;\\n}\\nedit-upgrade-downgrade-modal .toleranceRow {\\n margin-left: 20px;\\n margin-top: -5px;\\n margin-bottom: 10px;\\n}\\nedit-upgrade-downgrade-modal .toleranceField {\\n display: inline-block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cik6Oi13ZWJraXQtb3V0ZXItc3Bpbi1idXR0b24ge1xuICAgICAgLXdlYmtpdC1hcHBlYXJhbmNlOiBpbml0aWFsICFpbXBvcnRhbnQ7XG4gICAgICBtYXJnaW46IGF1dG87XG4gIH0qL1xufVxuZWRpdC11cGdyYWRlLWRvd25ncmFkZS1tb2RhbCB0cmltLXNlbGVjdCB7XG4gIG1heC13aWR0aDogODAwcHg7XG59XG5lZGl0LXVwZ3JhZGUtZG93bmdyYWRlLW1vZGFsIC5mb3JtLWNvbnRyb2wge1xuICBkaXNwbGF5OiBpbmxpbmU7XG4gIHdpZHRoOiBhdXRvO1xufVxuZWRpdC11cGdyYWRlLWRvd25ncmFkZS1tb2RhbCAudG9sZXJhbmNlUm93IHtcbiAgbWFyZ2luLWxlZnQ6IDIwcHg7XG4gIG1hcmdpbi10b3A6IC01cHg7XG4gIG1hcmdpbi1ib3R0b206IDEwcHg7XG59XG5lZGl0LXVwZ3JhZGUtZG93bmdyYWRlLW1vZGFsIC50b2xlcmFuY2VGaWVsZCB7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgbWFyZ2luLWxlZnQ6IDIwcHg7XG59Il19 */\"","var path = '/app/components/deal-sheet/view-email-conversation-action.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar VehicleFinalTradeValueTempChangeClientService = /** @class */ (function (_super) {\n __extends(VehicleFinalTradeValueTempChangeClientService, _super);\n function VehicleFinalTradeValueTempChangeClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param request undefined\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.LogTradeValueChangePOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/VehicleFinalTradeValueTempChange/LogTradeValueChange\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.LogTradeValueChangePOST = function (request) {\n return this.LogTradeValueChangePOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/VehicleFinalTradeValueTempChange/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/VehicleFinalTradeValueTempChange/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/VehicleFinalTradeValueTempChange/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/VehicleFinalTradeValueTempChange\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/VehicleFinalTradeValueTempChange\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n VehicleFinalTradeValueTempChangeClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n VehicleFinalTradeValueTempChangeClientService.LogTradeValueChangePOSTPath = '/api/VehicleFinalTradeValueTempChange/LogTradeValueChange';\n VehicleFinalTradeValueTempChangeClientService.ByIdGETPath = '/api/VehicleFinalTradeValueTempChange/{id}';\n VehicleFinalTradeValueTempChangeClientService.ByIdDELETEPath = '/api/VehicleFinalTradeValueTempChange/{id}';\n VehicleFinalTradeValueTempChangeClientService.GetManyGETPath = '/api/VehicleFinalTradeValueTempChange/GetMany';\n VehicleFinalTradeValueTempChangeClientService.PUTPath = '/api/VehicleFinalTradeValueTempChange';\n VehicleFinalTradeValueTempChangeClientService.POSTPath = '/api/VehicleFinalTradeValueTempChange';\n VehicleFinalTradeValueTempChangeClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function VehicleFinalTradeValueTempChangeClientService_Factory() { return new VehicleFinalTradeValueTempChangeClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: VehicleFinalTradeValueTempChangeClientService, providedIn: \"root\" });\n return VehicleFinalTradeValueTempChangeClientService;\n}(base_service_1.BaseService));\nexports.VehicleFinalTradeValueTempChangeClientService = VehicleFinalTradeValueTempChangeClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { LogTradeValueChangeRequest } from '../models/log-trade-value-change-request';\r\nimport { VehicleFinalTradeValueTempChangeDto } from '../models/vehicle-final-trade-value-temp-change-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass VehicleFinalTradeValueTempChangeClientService extends __BaseService {\r\n static readonly LogTradeValueChangePOSTPath = '/api/VehicleFinalTradeValueTempChange/LogTradeValueChange';\r\n static readonly ByIdGETPath = '/api/VehicleFinalTradeValueTempChange/{id}';\r\n static readonly ByIdDELETEPath = '/api/VehicleFinalTradeValueTempChange/{id}';\r\n static readonly GetManyGETPath = '/api/VehicleFinalTradeValueTempChange/GetMany';\r\n static readonly PUTPath = '/api/VehicleFinalTradeValueTempChange';\r\n static readonly POSTPath = '/api/VehicleFinalTradeValueTempChange';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n LogTradeValueChangePOSTResponse(request?: LogTradeValueChangeRequest): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/VehicleFinalTradeValueTempChange/LogTradeValueChange`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n LogTradeValueChangePOST(request?: LogTradeValueChangeRequest): __Observable {\r\n return this.LogTradeValueChangePOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/VehicleFinalTradeValueTempChange/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as VehicleFinalTradeValueTempChangeDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/VehicleFinalTradeValueTempChange/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/VehicleFinalTradeValueTempChange/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: VehicleFinalTradeValueTempChangeDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/VehicleFinalTradeValueTempChange`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: VehicleFinalTradeValueTempChangeDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: VehicleFinalTradeValueTempChangeDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/VehicleFinalTradeValueTempChange`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: VehicleFinalTradeValueTempChangeDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as VehicleFinalTradeValueTempChangeDto)\r\n );\r\n }\r\n}\r\n\r\nmodule VehicleFinalTradeValueTempChangeClientService {\r\n}\r\n\r\nexport { VehicleFinalTradeValueTempChangeClientService }\r\n","var path = '/app/components/deal-sheet/alert-script-type-select.component.html';\nvar html = \"
{{'privateOffer' | translate}}
{{'privateOffer' | translate}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/user-select-action.component.html';\nvar html = \" : \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = require(\"rxjs\");\nvar core_1 = require(\"@ngx-translate/core\");\nvar core_2 = require(\"@uirouter/core\");\nvar lodash_1 = __importDefault(require(\"lodash\"));\nvar toaster_logger_service_1 = require(\"../core/toaster-logger.service\");\nvar constants_1 = require(\"../constants\");\nvar constants_2 = require(\"../core/constants\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar user_service_1 = require(\"./user.service\");\nvar dealer_service_1 = require(\"./dealer.service\");\nvar authorization_service_1 = require(\"./authorization.service\");\nvar dealer_settings_service_1 = require(\"./dealer-settings.service\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"@uirouter/core\"));\nvar i3 = __importStar(require(\"../modules/storage/storage.service\"));\nvar i4 = __importStar(require(\"./authorization.service\"));\nvar i5 = __importStar(require(\"../core/toaster-logger.service\"));\nvar i6 = __importStar(require(\"./user.service\"));\nvar i7 = __importStar(require(\"./dealer.service\"));\nvar i8 = __importStar(require(\"./dealer-settings.service\"));\nvar MenuService = /** @class */ (function () {\n function MenuService(translateService, stateService, storageService, authorizationService, logger, userService, dealerService, dealerSettingsService) {\n this.translateService = translateService;\n this.stateService = stateService;\n this.storageService = storageService;\n this.authorizationService = authorizationService;\n this.logger = logger;\n this.userService = userService;\n this.dealerService = dealerService;\n this.dealerSettingsService = dealerSettingsService;\n this._moduleIds = [];\n this.siteMapReadySubject = new rxjs_1.ReplaySubject(1); // could also use BehaviorSubject but that requires initial value which we are not using here\n this.siteMapReady = this.siteMapReadySubject.asObservable();\n }\n Object.defineProperty(MenuService.prototype, \"siteMap\", {\n get: function () { return this._siteMap; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MenuService.prototype, \"moduleIds\", {\n get: function () { return this._moduleIds; },\n enumerable: true,\n configurable: true\n });\n MenuService.prototype.getModulePermissions = function (moduleIds) {\n return {\n opportunities: moduleIds.indexOf(constants_1.Modules.opportunities) > -1,\n activities: moduleIds.indexOf(constants_1.Modules.activities) > -1,\n search: moduleIds.indexOf(constants_1.Modules.search) > -1,\n financeInsuranceManager: moduleIds.indexOf(constants_1.Modules.financeInsuranceManager) > -1,\n preOwnedManager: moduleIds.indexOf(constants_1.Modules.preOwnedManager) > -1,\n serviceManager: moduleIds.indexOf(constants_1.Modules.serviceManager) > -1,\n conquests: moduleIds.indexOf(constants_1.Modules.conquests) > -1,\n wishlist: moduleIds.indexOf(constants_1.Modules.wishlist) > -1\n };\n };\n MenuService.prototype.getSiteMap = function (dealerIds) {\n var _this = this;\n if (!dealerIds) {\n this.siteMapReadySubject.next();\n return Promise.resolve(null);\n }\n var currentSiteMap = this.siteMap;\n if (currentSiteMap) {\n this.siteMapReadySubject.next();\n return Promise.resolve(currentSiteMap);\n }\n else {\n // getAccessRights is not used here, its only called here in order to get the accessRights into sessionStorage\n // at app startup. Don't remove it.\n return Promise.all([this.authorizationService.getModuleIds(dealerIds),\n this.authorizationService.getAccessRightIds(dealerIds)])\n .then(function (result) { return _this.resolveSiteMap(result[0]); });\n }\n };\n MenuService.prototype.resolveSiteMap = function (moduleIds) {\n return __awaiter(this, void 0, void 0, function () {\n var siteMap;\n var _this = this;\n return __generator(this, function (_a) {\n siteMap = constants_1.SubMenu;\n return [2 /*return*/, this.loadMenu(siteMap, moduleIds)\n .then(function () {\n _this._siteMap = siteMap;\n _this._moduleIds = moduleIds;\n if (_this.stateService.current.name === 'loginLanding') {\n _this.stateService.go('login', {}, { reload: true });\n }\n else if (_this.stateService.current.name === 'home') {\n _this.stateService.go('home', {}, { reload: true });\n }\n _this.siteMapReadySubject.next();\n return siteMap;\n })];\n });\n });\n };\n MenuService.prototype.getHomeRoute = function () {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n if (this.siteMap) {\n return [2 /*return*/, this.userService.getUserProfile()\n .then(function (userProfile) {\n if (userProfile.isSltUser) {\n return 'opportunities';\n }\n else {\n return _this.siteMap[0].id;\n }\n })];\n }\n else {\n return [2 /*return*/, null];\n }\n return [2 /*return*/];\n });\n });\n };\n MenuService.prototype.redirectToUserHome = function () {\n var _this = this;\n if (this.stateService.current.name === 'login') {\n var localRedirect = this.storageService.getItem('localRedirectPath');\n if (localRedirect && localRedirect !== '/') {\n this.storageService.removeItem('localRedirectPath');\n var menuItem = this.findMenuItemByUrl(localRedirect.substr(1));\n if (menuItem) {\n this.stateService.go(menuItem.id);\n }\n else {\n // not authorized\n if (localRedirect.indexOf('deal-sheet') > -1 ||\n localRedirect.indexOf('reports') > -1 ||\n localRedirect.toLowerCase().indexOf('activities') > -1\n || localRedirect.indexOf('external/dealsheet') > -1 || localRedirect.indexOf('external/page') > -1\n || localRedirect.toLowerCase().indexOf('/security/user/notification') > -1\n || localRedirect.toLowerCase().indexOf('/alert-desk/dashboard/manager') > -1) {\n window.location.assign(localRedirect);\n }\n else {\n this.translateService.get([constants_1.TranslateErrorKeys.unauthorizedPageErrorKey, constants_2.WarningTitleKey])\n .subscribe(function (translations) {\n _this.logger.warning(translations[constants_1.TranslateErrorKeys.unauthorizedPageErrorKey], null, translations[constants_2.WarningTitleKey]);\n _this.stateService.go('home', {}, { reload: true });\n });\n }\n }\n }\n else {\n this.stateService.go('home', {}, { reload: true });\n }\n }\n };\n MenuService.prototype.findMenuItemByUrl = function (url) {\n var menuItem = lodash_1.default.find(this.siteMap, { 'url': url });\n if (!menuItem) {\n for (var i = 0; i < this.siteMap.length; i++) {\n menuItem = lodash_1.default.find(this.siteMap[i].subMenuItems, { 'url': url });\n if (menuItem) {\n return menuItem;\n }\n }\n }\n return menuItem;\n };\n MenuService.prototype.loadMenu = function (siteMap, moduleIds) {\n return __awaiter(this, void 0, void 0, function () {\n var dataEntry;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n this.removeInaccessibleTopMenuItemsSync(siteMap, moduleIds);\n this.removeInaccessibleSubMenuItemsSync(siteMap, moduleIds);\n this.removeServiceDriveOfferMenuIfDisabledSync(siteMap);\n this.setDealerSettingsLink(siteMap);\n return [4 /*yield*/, this.removeInaccessibleSltTopMenuItems(siteMap)];\n case 1:\n siteMap = _a.sent();\n return [4 /*yield*/, this.disableInaccessibleSltTopMenuItems(siteMap)];\n case 2:\n siteMap = _a.sent();\n return [4 /*yield*/, this.disableInaccessibleSltSubMenuItems(siteMap)];\n case 3:\n siteMap = _a.sent();\n dataEntry = lodash_1.default.find(siteMap, { 'id': 'dataEntry' });\n if (dataEntry) {\n dataEntry.disabled = true;\n }\n return [2 /*return*/, Promise.resolve(null)];\n }\n });\n });\n };\n MenuService.prototype.removeInaccessibleTopMenuItemsSync = function (siteMap, moduleIds) {\n var indicesToRemove = new Array();\n for (var i = 0; i < siteMap.length; i++) {\n var menuItem = siteMap[i];\n var accessible = menuItem.authorize ? false : true;\n if (!accessible) {\n for (var j = 0; j < moduleIds.length; j++) {\n var moduleId = moduleIds[j];\n if (menuItem.moduleIds.includes(moduleId)) {\n accessible = true;\n }\n }\n }\n if (!accessible || menuItem.disabled) {\n indicesToRemove.push(i);\n }\n }\n for (var k = indicesToRemove.length - 1; k >= 0; k--) {\n siteMap.splice(indicesToRemove[k], 1);\n }\n };\n MenuService.prototype.removeInaccessibleSubMenuItemsSync = function (siteMap, moduleIds) {\n var allIndicesToRemove = [[]];\n for (var i = 0; i < siteMap.length; i++) {\n var menuItem = siteMap[i];\n var indicesToRemove = new Array();\n if (menuItem.subMenuItems) {\n for (var j = 0; j < menuItem.subMenuItems.length; j++) {\n var subMenuItem = menuItem.subMenuItems[j];\n var accessible = subMenuItem.authorize ? false : true;\n if (!accessible) {\n for (var k = 0; k < moduleIds.length; k++) {\n var moduleId = moduleIds[k];\n if (subMenuItem.moduleIds.includes(moduleId)) {\n accessible = true;\n }\n }\n }\n if (!accessible || subMenuItem.disabled) {\n indicesToRemove.push(j);\n }\n }\n }\n allIndicesToRemove.push(indicesToRemove);\n }\n allIndicesToRemove.splice(0, 1);\n for (var l = 0; l < allIndicesToRemove.length; l++) {\n var subIndicesToRemove = allIndicesToRemove[l];\n if (subIndicesToRemove) {\n for (var m = subIndicesToRemove.length - 1; m >= 0; m--) {\n siteMap[l].subMenuItems.splice(subIndicesToRemove[m], 1);\n }\n }\n }\n };\n MenuService.prototype.removeServiceDriveOfferMenuIfDisabledSync = function (siteMap) {\n if (this.dealerService.getIsSomeDealerOneToOneEnabled()) {\n return;\n }\n this.removeSubMenuItemById(siteMap, 'serviceDriveOffers');\n };\n MenuService.prototype.setDealerSettingsLink = function (siteMap) {\n var _this = this;\n this.dealerSettingsService.UseLegacyDealerSettingsPage().then(function (useLegacyDealerSettings) {\n //Remove portal link\n if (useLegacyDealerSettings) {\n _this.removeSubMenuItemById(siteMap, 'newSettings');\n }\n else { //Remove legacy link\n _this.removeSubMenuItemById(siteMap, 'settings');\n }\n });\n };\n MenuService.prototype.removeSubMenuItemById = function (siteMap, id) {\n lodash_1.default.forEach(siteMap, function (subMenu) {\n var index = lodash_1.default.findIndex(subMenu.subMenuItems, { 'id': id });\n if (index > -1) {\n subMenu.subMenuItems.splice(index, 1);\n return false;\n }\n });\n };\n MenuService.prototype.removeInaccessibleSltTopMenuItems = function (siteMap) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.userService.getUserProfile()\n .then(function (userProfile) {\n if (userProfile.isSltUser) {\n var preOwnedIndex = lodash_1.default.findIndex(siteMap, { 'id': 'preOwned' });\n if (preOwnedIndex >= 0) {\n siteMap.splice(preOwnedIndex, 1);\n }\n }\n return siteMap;\n })];\n });\n });\n };\n MenuService.prototype.disableInaccessibleSltTopMenuItems = function (siteMap) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.userService.getUserProfile()\n .then(function (userProfile) {\n if (userProfile.isSltUser) {\n var alertDesk = lodash_1.default.find(siteMap, { 'id': 'alertDesk' });\n if (alertDesk) {\n alertDesk.disabled = true;\n }\n }\n return siteMap;\n })];\n });\n });\n };\n MenuService.prototype.disableInaccessibleSltSubMenuItems = function (siteMap) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.userService.getUserProfile()\n .then(function (userProfile) {\n if (userProfile.isSltUser) {\n var accessibleSubMenuItems = ['opportunities', 'activities', 'serviceDriveOffers', 'conquests'];\n var alertDeskMenu = lodash_1.default.find(siteMap, { 'id': 'alertDesk' });\n if (alertDeskMenu && alertDeskMenu.subMenuItems) {\n for (var i = 0; i < alertDeskMenu.subMenuItems.length; i++) {\n var subMenuItem = alertDeskMenu.subMenuItems[i];\n if (accessibleSubMenuItems.indexOf(subMenuItem.id) < 0) {\n subMenuItem.disabled = true;\n }\n }\n }\n }\n return siteMap;\n })];\n });\n });\n };\n MenuService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(i0.ɵɵinject(i1.TranslateService), i0.ɵɵinject(i2.StateService), i0.ɵɵinject(i3.StorageService), i0.ɵɵinject(i4.AuthorizationService), i0.ɵɵinject(i5.ToasterLoggerService), i0.ɵɵinject(i6.UserService), i0.ɵɵinject(i7.DealerService), i0.ɵɵinject(i8.DealerSettingsService)); }, token: MenuService, providedIn: \"root\" });\n return MenuService;\n}());\nexports.MenuService = MenuService;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { ReplaySubject, Observable } from 'rxjs';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { StateService } from '@uirouter/core';\r\nimport _ from 'lodash';\r\nimport { ToasterLoggerService } from '../core/toaster-logger.service';\r\nimport { Modules, SubMenu, TranslateErrorKeys } from '../constants';\r\nimport { WarningTitleKey } from '../core/constants';\r\nimport { MenuItem } from '../interfaces/menu-item.interface';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\nimport { UserService } from './user.service';\r\nimport { DealerService } from './dealer.service';\r\nimport { AuthorizationService } from './authorization.service';\r\nimport { DealerSettingsService } from './dealer-settings.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MenuService {\r\n private _siteMap: MenuItem[];\r\n private _moduleIds: number[] = [];\r\n private readonly siteMapReadySubject = new ReplaySubject(1); // could also use BehaviorSubject but that requires initial value which we are not using here\r\n public get siteMap() { return this._siteMap; }\r\n public get moduleIds() { return this._moduleIds; }\r\n public siteMapReady: Observable;\r\n\r\n constructor(private translateService: TranslateService,\r\n private stateService: StateService,\r\n private storageService: StorageService,\r\n private authorizationService: AuthorizationService,\r\n private logger: ToasterLoggerService,\r\n private userService: UserService,\r\n private dealerService: DealerService,\r\n private dealerSettingsService: DealerSettingsService) {\r\n this.siteMapReady = this.siteMapReadySubject.asObservable();\r\n }\r\n\r\n public getModulePermissions(moduleIds: number[]) {\r\n return {\r\n opportunities: moduleIds.indexOf(Modules.opportunities) > -1,\r\n activities: moduleIds.indexOf(Modules.activities) > -1,\r\n search: moduleIds.indexOf(Modules.search) > -1,\r\n financeInsuranceManager: moduleIds.indexOf(Modules.financeInsuranceManager) > -1,\r\n preOwnedManager: moduleIds.indexOf(Modules.preOwnedManager) > -1,\r\n serviceManager: moduleIds.indexOf(Modules.serviceManager) > -1,\r\n conquests: moduleIds.indexOf(Modules.conquests) > -1,\r\n wishlist: moduleIds.indexOf(Modules.wishlist) > -1\r\n };\r\n }\r\n\r\n public getSiteMap(dealerIds: number[]): Promise {\r\n if (!dealerIds) {\r\n this.siteMapReadySubject.next();\r\n return Promise.resolve(null);\r\n }\r\n\r\n const currentSiteMap = this.siteMap;\r\n if (currentSiteMap) {\r\n this.siteMapReadySubject.next();\r\n return Promise.resolve(currentSiteMap);\r\n } else {\r\n // getAccessRights is not used here, its only called here in order to get the accessRights into sessionStorage\r\n // at app startup. Don't remove it.\r\n return Promise.all([this.authorizationService.getModuleIds(dealerIds),\r\n this.authorizationService.getAccessRightIds(dealerIds)])\r\n .then(result => this.resolveSiteMap(result[0]));\r\n }\r\n }\r\n\r\n private async resolveSiteMap(moduleIds: number[]): Promise {\r\n const siteMap = SubMenu;\r\n\r\n return this.loadMenu(siteMap, moduleIds)\r\n .then(() => {\r\n this._siteMap = siteMap;\r\n this._moduleIds = moduleIds;\r\n\r\n if (this.stateService.current.name === 'loginLanding') {\r\n this.stateService.go('login', {}, { reload: true });\r\n } else if (this.stateService.current.name === 'home') {\r\n this.stateService.go('home', {}, { reload: true });\r\n }\r\n this.siteMapReadySubject.next();\r\n return siteMap;\r\n });\r\n }\r\n\r\n public async getHomeRoute(): Promise {\r\n if (this.siteMap) {\r\n return this.userService.getUserProfile()\r\n .then((userProfile: any) => {\r\n if (userProfile.isSltUser) {\r\n return 'opportunities';\r\n } else {\r\n return this.siteMap[0].id;\r\n }\r\n });\r\n } else {\r\n return null;\r\n }\r\n }\r\n\r\n public redirectToUserHome(): void {\r\n if (this.stateService.current.name === 'login') {\r\n const localRedirect = this.storageService.getItem('localRedirectPath');\r\n\r\n if (localRedirect && localRedirect !== '/') {\r\n this.storageService.removeItem('localRedirectPath');\r\n const menuItem = this.findMenuItemByUrl(localRedirect.substr(1));\r\n\r\n\r\n if (menuItem) {\r\n this.stateService.go(menuItem.id);\r\n } else {\r\n // not authorized\r\n if (localRedirect.indexOf('deal-sheet') > -1 ||\r\n localRedirect.indexOf('reports') > -1 ||\r\n localRedirect.toLowerCase().indexOf('activities') > -1\r\n || localRedirect.indexOf('external/dealsheet') > -1 || localRedirect.indexOf('external/page') > -1\r\n || localRedirect.toLowerCase().indexOf('/security/user/notification') > -1\r\n || localRedirect.toLowerCase().indexOf('/alert-desk/dashboard/manager') > -1) {\r\n window.location.assign(localRedirect);\r\n } else {\r\n this.translateService.get([TranslateErrorKeys.unauthorizedPageErrorKey, WarningTitleKey])\r\n .subscribe((translations) => {\r\n this.logger.warning(\r\n translations[TranslateErrorKeys.unauthorizedPageErrorKey],\r\n null,\r\n translations[WarningTitleKey]\r\n );\r\n this.stateService.go('home', {}, { reload: true });\r\n });\r\n }\r\n\r\n }\r\n } else {\r\n this.stateService.go('home', {}, { reload: true });\r\n }\r\n }\r\n }\r\n\r\n private findMenuItemByUrl(url: string): MenuItem {\r\n let menuItem = _.find(this.siteMap, { 'url': url }) as MenuItem;\r\n\r\n if (!menuItem) {\r\n for (let i = 0; i < this.siteMap.length; i++) {\r\n menuItem = _.find(this.siteMap[i].subMenuItems, { 'url': url }) as MenuItem;\r\n if (menuItem) { return menuItem; }\r\n }\r\n }\r\n\r\n return menuItem;\r\n }\r\n\r\n private async loadMenu(siteMap: MenuItem[], moduleIds: number[]): Promise {\r\n this.removeInaccessibleTopMenuItemsSync(siteMap, moduleIds);\r\n this.removeInaccessibleSubMenuItemsSync(siteMap, moduleIds);\r\n this.removeServiceDriveOfferMenuIfDisabledSync(siteMap);\r\n this.setDealerSettingsLink(siteMap);\r\n\r\n siteMap = await this.removeInaccessibleSltTopMenuItems(siteMap);\r\n siteMap = await this.disableInaccessibleSltTopMenuItems(siteMap);\r\n siteMap = await this.disableInaccessibleSltSubMenuItems(siteMap);\r\n\r\n const dataEntry = _.find(siteMap, { 'id': 'dataEntry' });\r\n if (dataEntry) {\r\n dataEntry.disabled = true;\r\n }\r\n\r\n return Promise.resolve(null);\r\n }\r\n\r\n private removeInaccessibleTopMenuItemsSync(siteMap: MenuItem[], moduleIds: number[]): void {\r\n const indicesToRemove = new Array();\r\n\r\n for (let i = 0; i < siteMap.length; i++) {\r\n const menuItem = siteMap[i];\r\n let accessible = menuItem.authorize ? false : true;\r\n\r\n if (!accessible) {\r\n for (let j = 0; j < moduleIds.length; j++) {\r\n const moduleId = moduleIds[j];\r\n\r\n if (menuItem.moduleIds.includes(moduleId)) {\r\n accessible = true;\r\n }\r\n }\r\n }\r\n\r\n if (!accessible || menuItem.disabled) {\r\n indicesToRemove.push(i);\r\n }\r\n }\r\n\r\n for (let k = indicesToRemove.length - 1; k >= 0; k--) {\r\n siteMap.splice(indicesToRemove[k], 1);\r\n }\r\n }\r\n\r\n private removeInaccessibleSubMenuItemsSync(siteMap: MenuItem[], moduleIds: number[]): void {\r\n const allIndicesToRemove = [[]];\r\n\r\n for (let i = 0; i < siteMap.length; i++) {\r\n const menuItem = siteMap[i];\r\n const indicesToRemove = new Array();\r\n\r\n if (menuItem.subMenuItems) {\r\n\r\n for (let j = 0; j < menuItem.subMenuItems.length; j++) {\r\n const subMenuItem = menuItem.subMenuItems[j];\r\n let accessible = subMenuItem.authorize ? false : true;\r\n\r\n if (!accessible) {\r\n for (let k = 0; k < moduleIds.length; k++) {\r\n const moduleId = moduleIds[k];\r\n\r\n if (subMenuItem.moduleIds.includes(moduleId)) {\r\n accessible = true;\r\n }\r\n }\r\n }\r\n\r\n if (!accessible || subMenuItem.disabled) {\r\n indicesToRemove.push(j);\r\n }\r\n }\r\n }\r\n\r\n allIndicesToRemove.push(indicesToRemove);\r\n }\r\n\r\n allIndicesToRemove.splice(0, 1);\r\n\r\n for (let l = 0; l < allIndicesToRemove.length; l++) {\r\n const subIndicesToRemove = allIndicesToRemove[l];\r\n\r\n if (subIndicesToRemove) {\r\n for (let m = subIndicesToRemove.length - 1; m >= 0; m--) {\r\n siteMap[l].subMenuItems.splice(subIndicesToRemove[m], 1);\r\n }\r\n }\r\n }\r\n }\r\n\r\n private removeServiceDriveOfferMenuIfDisabledSync(siteMap: MenuItem[]) {\r\n if (this.dealerService.getIsSomeDealerOneToOneEnabled()) {\r\n return;\r\n }\r\n this.removeSubMenuItemById(siteMap, 'serviceDriveOffers');\r\n }\r\n\r\n private setDealerSettingsLink(siteMap: MenuItem[]) {\r\n\r\n this.dealerSettingsService.UseLegacyDealerSettingsPage().then((useLegacyDealerSettings) => {\r\n\r\n //Remove portal link\r\n if (useLegacyDealerSettings) {\r\n this.removeSubMenuItemById(siteMap, 'newSettings');\r\n }\r\n else { //Remove legacy link\r\n this.removeSubMenuItemById(siteMap, 'settings');\r\n }\r\n });\r\n }\r\n\r\n private removeSubMenuItemById(siteMap: MenuItem[], id: string) {\r\n _.forEach(siteMap, (subMenu) => {\r\n const index = _.findIndex(subMenu.subMenuItems, { 'id': id });\r\n if (index > -1) {\r\n subMenu.subMenuItems.splice(index, 1);\r\n return false;\r\n }\r\n });\r\n }\r\n\r\n private async removeInaccessibleSltTopMenuItems(siteMap: MenuItem[]): Promise {\r\n return this.userService.getUserProfile()\r\n .then((userProfile: any) => {\r\n if (userProfile.isSltUser) {\r\n const preOwnedIndex = _.findIndex(siteMap, { 'id': 'preOwned' });\r\n\r\n if (preOwnedIndex >= 0) {\r\n siteMap.splice(preOwnedIndex, 1);\r\n }\r\n }\r\n\r\n return siteMap;\r\n });\r\n }\r\n\r\n private async disableInaccessibleSltTopMenuItems(siteMap: MenuItem[]): Promise {\r\n return this.userService.getUserProfile()\r\n .then((userProfile: any) => {\r\n if (userProfile.isSltUser) {\r\n const alertDesk = _.find(siteMap, { 'id': 'alertDesk' });\r\n\r\n if (alertDesk) {\r\n alertDesk.disabled = true;\r\n }\r\n }\r\n\r\n return siteMap;\r\n });\r\n }\r\n\r\n private async disableInaccessibleSltSubMenuItems(siteMap: MenuItem[]): Promise {\r\n return this.userService.getUserProfile()\r\n .then((userProfile: any) => {\r\n if (userProfile.isSltUser) {\r\n\r\n const accessibleSubMenuItems = ['opportunities', 'activities', 'serviceDriveOffers', 'conquests'];\r\n const alertDeskMenu = _.find(siteMap, { 'id': 'alertDesk' });\r\n\r\n if (alertDeskMenu && alertDeskMenu.subMenuItems) {\r\n for (let i = 0; i < alertDeskMenu.subMenuItems.length; i++) {\r\n const subMenuItem = alertDeskMenu.subMenuItems[i];\r\n\r\n if (accessibleSubMenuItems.indexOf(subMenuItem.id) < 0) {\r\n subMenuItem.disabled = true;\r\n }\r\n }\r\n }\r\n }\r\n\r\n return siteMap;\r\n });\r\n }\r\n}\r\n","// 20.1.2.2 Number.isFinite(number)\nvar $export = require('./_export');\nvar _isFinite = require('./_global').isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it) {\n return typeof it == 'number' && _isFinite(it);\n }\n});\n","module.exports = \"\"","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar platform_browser_1 = require(\"@angular/platform-browser\");\nvar ModalComponent = /** @class */ (function () {\n function ModalComponent(translateService, sanitizer) {\n this.translateService = translateService;\n this.sanitizer = sanitizer;\n this.onClose = new core_1.EventEmitter();\n this.onSubmit = new core_1.EventEmitter();\n }\n ModalComponent.prototype.ngOnInit = function () {\n if (this.closeButtonVisible === undefined) {\n this.closeButtonVisible = true;\n }\n if (this.includeTitleBar === undefined) {\n this.includeTitleBar = true;\n }\n };\n ModalComponent.prototype.ngOnChanges = function (changes) {\n if (changes.headerTitle && changes.headerTitle.currentValue) {\n var title = this.translateService.instant(changes.headerTitle.currentValue);\n this.translatedHeaderTitle = this.sanitizer.bypassSecurityTrustHtml(title);\n }\n if (changes.headerClass && changes.headerClass.firstChange) {\n if (changes.headerClass && changes.headerClass.currentValue) {\n this.headerTextClass = \"modal-header-text \" + this.headerTextClass;\n }\n }\n };\n return ModalComponent;\n}());\nexports.ModalComponent = ModalComponent;\n","import { Component, OnInit, Input, Output, EventEmitter, Renderer2, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\n\r\n@Component({\r\n selector: 'modal',\r\n templateUrl: './modal.component-ng.html',\r\n styleUrls: ['./modal.component.scss']\r\n})\r\nexport class ModalComponent implements OnInit, OnChanges {\r\n @Input() headerTitle: string;\r\n @Input() includeTitleBar: boolean;\r\n @Input() submitButtonVisible: boolean;\r\n @Input() submitButtonDisabled: boolean;\r\n @Input() submitButtonText: string;\r\n @Input() closeButtonText: string;\r\n @Input() closeButtonVisible: boolean;\r\n @Input() closeIconVisible: boolean;\r\n @Output() onClose = new EventEmitter();\r\n @Output() onSubmit = new EventEmitter();\r\n @Input() headerTextClass: string;\r\n\r\n public translatedHeaderTitle: SafeHtml;\r\n\r\n constructor(private translateService: TranslateService,\r\n private sanitizer: DomSanitizer) { }\r\n\r\n ngOnInit() {\r\n if (this.closeButtonVisible === undefined) {\r\n this.closeButtonVisible = true;\r\n }\r\n\r\n if (this.includeTitleBar === undefined) {\r\n this.includeTitleBar = true;\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.headerTitle && changes.headerTitle.currentValue) {\r\n const title = this.translateService.instant(changes.headerTitle.currentValue);\r\n this.translatedHeaderTitle = this.sanitizer.bypassSecurityTrustHtml(title);\r\n }\r\n\r\n if (changes.headerClass && changes.headerClass.firstChange) {\r\n\r\n if (changes.headerClass && changes.headerClass.currentValue) {\r\n this.headerTextClass = `modal-header-text ${this.headerTextClass}`;\r\n }\r\n }\r\n }\r\n\r\n}\r\n","var path = '/app/components/data-entry/replacement/edit-replacements-advanced-modal.component.html';\nvar html = \"

: {{$ctrl.row.existingYearID}}, {{$ctrl.row.existingTrimName}}

:
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".replacement-contracts-wrapper .row{margin-left:0;margin-right:0} .replacement-contracts-wrapper .field-label{display:block;margin-bottom:-5px;margin-top:2px}\"];\nexports.styles = styles;\n","// 20.1.2.3 Number.isInteger(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { isInteger: require('./_is-integer') });\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./customer-connect-sub-detail.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../customer-connect-log-action/customer-connect-log-action.component.ngfactory\"));\nvar i3 = __importStar(require(\"../customer-connect-log-action/customer-connect-log-action.component\"));\nvar i4 = __importStar(require(\"../../../../services/log-action-shortcut.service\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i6 = __importStar(require(\"../customer-connect-schedule-action/customer-connect-schedule-action.component.ngfactory\"));\nvar i7 = __importStar(require(\"../customer-connect-schedule-action/customer-connect-schedule-action.component\"));\nvar i8 = __importStar(require(\"../../../../services/date-format.service\"));\nvar i9 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i10 = __importStar(require(\"../../../../services/user.service\"));\nvar i11 = __importStar(require(\"@angular/common\"));\nvar i12 = __importStar(require(\"./customer-connect-sub-detail.component\"));\nvar styles_CustomerConnectSubDetailComponent = [i0.styles];\nvar RenderType_CustomerConnectSubDetailComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CustomerConnectSubDetailComponent, data: {} });\nexports.RenderType_CustomerConnectSubDetailComponent = RenderType_CustomerConnectSubDetailComponent;\nfunction View_CustomerConnectSubDetailComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect-log-action\", [], null, [[null, \"onLogScheduleSubmit\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onLogScheduleSubmit\" === en)) {\n var pd_0 = (_co.onLogScheduleSubmit.emit($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i2.View_CustomerConnectLogActionComponent_0, i2.RenderType_CustomerConnectLogActionComponent)), i1.ɵdid(1, 638976, null, 0, i3.CustomerConnectLogActionComponent, [i4.LogActionShortcutService, i5.BsModalService], { subAction: [0, \"subAction\"], permissions: [1, \"permissions\"], dialogParams: [2, \"dialogParams\"], isEuroLite: [3, \"isEuroLite\"] }, { onLogScheduleSubmit: \"onLogScheduleSubmit\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.subAction; var currVal_1 = _co.permissions; var currVal_2 = _co.dialogParams; var currVal_3 = _co.isEuroLite; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_CustomerConnectSubDetailComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect-schedule-action\", [], null, [[null, \"onLogScheduleSubmit\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onLogScheduleSubmit\" === en)) {\n var pd_0 = (_co.onLogScheduleSubmit.emit($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i6.View_CustomerConnectScheduleActionComponent_0, i6.RenderType_CustomerConnectScheduleActionComponent)), i1.ɵdid(1, 638976, null, 0, i7.CustomerConnectScheduleActionComponent, [i8.DateFormatService, i9.StorageService, i10.UserService], { subAction: [0, \"subAction\"], permissions: [1, \"permissions\"], dialogParams: [2, \"dialogParams\"] }, { onLogScheduleSubmit: \"onLogScheduleSubmit\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.subAction; var currVal_1 = _co.permissions; var currVal_2 = _co.dialogParams; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); }, null); }\nfunction View_CustomerConnectSubDetailComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectSubDetailComponent_1)), i1.ɵdid(1, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectSubDetailComponent_2)), i1.ɵdid(3, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.subAction === _co.ActivityActionEnum.Log_Call) || (_co.subAction === _co.ActivityActionEnum.Post_Note)); _ck(_v, 1, 0, currVal_0); var currVal_1 = ((_co.subAction === _co.ActivityActionEnum.Schedule_Appt) || (_co.subAction === _co.ActivityActionEnum.Schedule_Call)); _ck(_v, 3, 0, currVal_1); }, null); }\nexports.View_CustomerConnectSubDetailComponent_0 = View_CustomerConnectSubDetailComponent_0;\nfunction View_CustomerConnectSubDetailComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect-sub-detail\", [], null, null, null, View_CustomerConnectSubDetailComponent_0, RenderType_CustomerConnectSubDetailComponent)), i1.ɵdid(1, 114688, null, 0, i12.CustomerConnectSubDetailComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CustomerConnectSubDetailComponent_Host_0 = View_CustomerConnectSubDetailComponent_Host_0;\nvar CustomerConnectSubDetailComponentNgFactory = i1.ɵccf(\"customer-connect-sub-detail\", i12.CustomerConnectSubDetailComponent, View_CustomerConnectSubDetailComponent_Host_0, { permissions: \"permissions\", subAction: \"subAction\", dialogParams: \"dialogParams\", isEuroLite: \"isEuroLite\" }, { onAction: \"onAction\", onLogScheduleSubmit: \"onLogScheduleSubmit\" }, []);\nexports.CustomerConnectSubDetailComponentNgFactory = CustomerConnectSubDetailComponentNgFactory;\n","\r\n\r\n\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./service-appointment.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"./service-appointment.component\"));\nvar i5 = __importStar(require(\"../../../../filters/locale-date.pipe\"));\nvar i6 = __importStar(require(\"../../../../filters/locale-date-time.pipe\"));\nvar i7 = __importStar(require(\"../../../../filters/locale-time.pipe\"));\nvar styles_ServiceAppointmentComponent = [i0.styles];\nvar RenderType_ServiceAppointmentComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ServiceAppointmentComponent, data: {} });\nexports.RenderType_ServiceAppointmentComponent = RenderType_ServiceAppointmentComponent;\nfunction View_ServiceAppointmentComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"row field\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"translate\", \"serviceAppointmentLongLabel\"]], [[8, \"htmlFor\", 0]], null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"span\", [[\"class\", \"field-data qa-service-appt-date\"]], [[8, \"id\", 0]], null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(5, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(6, { appointment: 0 }), (_l()(), i1.ɵted(7, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"serviceAppointmentLongLabel\"; _ck(_v, 2, 0, currVal_1); var currVal_3 = \"field-data qa-service-appt-date\"; var currVal_4 = _ck(_v, 6, 0, _co.alertExists); _ck(_v, 5, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.idUnique, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", _co.idUnique, \"\"); _ck(_v, 3, 0, currVal_2); var currVal_5 = _co.serviceAppointment; _ck(_v, 7, 0, currVal_5); }); }\nfunction View_ServiceAppointmentComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ServiceAppointmentComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.date; _ck(_v, 1, 0, currVal_0); }, null); }\nexports.View_ServiceAppointmentComponent_0 = View_ServiceAppointmentComponent_0;\nfunction View_ServiceAppointmentComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"service-appointment\", [], null, null, null, View_ServiceAppointmentComponent_0, RenderType_ServiceAppointmentComponent)), i1.ɵdid(1, 638976, null, 0, i4.ServiceAppointmentComponent, [i5.LocaleDatePipe, i6.LocaleDateTimePipe, i7.LocaleTimePipe, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ServiceAppointmentComponent_Host_0 = View_ServiceAppointmentComponent_Host_0;\nvar ServiceAppointmentComponentNgFactory = i1.ɵccf(\"service-appointment\", i4.ServiceAppointmentComponent, View_ServiceAppointmentComponent_Host_0, { date: \"date\", alertExists: \"alertExists\", abbreviate: \"abbreviate\" }, {}, []);\nexports.ServiceAppointmentComponentNgFactory = ServiceAppointmentComponentNgFactory;\n","
\r\n \r\n {{serviceAppointment}}\r\n
\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar locale_currency_pipe_1 = require(\"../../../../filters/locale-currency.pipe\");\nvar CashPaidComponent = /** @class */ (function () {\n function CashPaidComponent(elementRef, injector, localeCurrency) {\n this.localeCurrency = localeCurrency;\n }\n return CashPaidComponent;\n}());\nexports.CashPaidComponent = CashPaidComponent;\n","import { Component, ElementRef, Injector, Input } from '@angular/core';\r\nimport { LocaleCurrencyPipe } from '../../../../filters/locale-currency.pipe';\r\n\r\n@Component({\r\n selector: 'cash-paid',\r\n templateUrl: './cash-paid.component-ng.html',\r\n styleUrls: ['./cash-paid.component.scss']\r\n})\r\nexport class CashPaidComponent {\r\n @Input() value: number;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector, public localeCurrency: LocaleCurrencyPipe) {\r\n }\r\n}","module.exports = __webpack_public_path__ + \"icon-pencil-lake.5dc6a0720decaf400916.svg\";","module.exports = __webpack_public_path__ + \"icon-alertminer-service.f4c7054c6a52320ca62b.png\";","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar angular2_toaster_1 = require(\"angular2-toaster\");\nvar NgxToaster = /** @class */ (function () {\n function NgxToaster(toasterService) {\n this.configToaster = new angular2_toaster_1.ToasterConfig({\n positionClass: 'toast-top-right',\n animation: 'fade',\n showCloseButton: true,\n timeout: 5000 // 5 seconds is the default for all toaster duration.\n });\n this.toasterService = toasterService;\n }\n // test button event handler\n NgxToaster.prototype.popToast = function () {\n var toastSuccess = { type: 'success', body: 'Success Toast Body', };\n var toastInfo = { type: 'info', body: 'Info Toast Body', };\n var toastError = { type: 'error', body: 'Error Toast Body', };\n var toastWarning = { type: 'warning', body: 'Warning Toast Body', };\n this.toasterService.pop(toastSuccess);\n this.toasterService.pop(toastInfo);\n this.toasterService.pop(toastError);\n this.toasterService.pop(toastWarning);\n };\n return NgxToaster;\n}());\nexports.NgxToaster = NgxToaster;\n","import { Component, NgModule } from '@angular/core';\r\nimport {BrowserModule} from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { ToasterModule, ToasterService, ToasterConfig, Toast } from 'angular2-toaster';\r\n\r\n\r\n@Component({\r\n selector: 'ngx-toaster',\r\n template: `
\r\n \r\n \r\n \r\n
\r\n `,\r\n})\r\n\r\nexport class NgxToaster {\r\n private toasterService: ToasterService;\r\n\r\n public configToaster: ToasterConfig = new ToasterConfig({\r\n positionClass: 'toast-top-right',\r\n animation: 'fade',\r\n showCloseButton: true,\r\n timeout:5000 // 5 seconds is the default for all toaster duration.\r\n });\r\n\r\n constructor(toasterService: ToasterService) {\r\n this.toasterService = toasterService;\r\n }\r\n\r\n // test button event handler\r\n popToast() {\r\n var toastSuccess: Toast = { type: 'success', body: 'Success Toast Body', };\r\n var toastInfo: Toast = { type: 'info', body: 'Info Toast Body', };\r\n var toastError: Toast = { type: 'error', body: 'Error Toast Body', };\r\n var toastWarning: Toast = { type: 'warning', body: 'Warning Toast Body', };\r\n\r\n this.toasterService.pop(toastSuccess);\r\n this.toasterService.pop(toastInfo);\r\n this.toasterService.pop(toastError);\r\n this.toasterService.pop(toastWarning);\r\n }\r\n}","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AssetTypes = {\n contentFuze: 1,\n connectPro: 2,\n showroomPro: 3,\n comparePro: 4,\n servicePro: 5,\n spanishContentFuze: 6,\n vDPTool: 7,\n autoWebSupport: 9,\n reputationPro: 10,\n curatorPro: 11,\n curatorProPlus: 12,\n reviewBuilderPro: 13,\n websiteContentPage: 14,\n fuzeCast: 15,\n managedServices: 16,\n profileFuze: 17,\n alertMiner: 18,\n oneToOne: 19,\n noLongerOwns: 20,\n inMarketAlert: 21,\n galvesTradeValues: 22,\n geoAlert: 23,\n autoAssistant: 24,\n pandoX: 25,\n intelMarketing: 26,\n textMessaging: 27,\n inventoryCalculations: 28,\n pandoDsButtonsOverride: 29,\n deskItPush: 30,\n toyotaVinRecall: 31,\n emailAppend: 32\n};\n","export const AssetTypes = {\r\n contentFuze: 1,\r\n connectPro: 2,\r\n showroomPro: 3,\r\n comparePro: 4,\r\n servicePro: 5,\r\n spanishContentFuze: 6,\r\n vDPTool: 7,\r\n autoWebSupport: 9,\r\n reputationPro: 10,\r\n curatorPro: 11,\r\n curatorProPlus: 12,\r\n reviewBuilderPro: 13,\r\n websiteContentPage: 14,\r\n fuzeCast: 15,\r\n managedServices: 16,\r\n profileFuze: 17,\r\n alertMiner: 18,\r\n oneToOne: 19,\r\n noLongerOwns: 20,\r\n inMarketAlert: 21,\r\n galvesTradeValues: 22,\r\n geoAlert: 23,\r\n autoAssistant: 24,\r\n pandoX: 25,\r\n intelMarketing: 26,\r\n textMessaging: 27,\r\n inventoryCalculations: 28,\r\n pandoDsButtonsOverride: 29,\r\n deskItPush: 30,\r\n toyotaVinRecall: 31,\r\n emailAppend: 32\r\n}; \r\n","var path = '/app/components/deal-sheet/vehicle/vin.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/vehicle/inventory-search.component.html';\nvar html = \"

{{$ctrl.termFilter.min | localeNumber}} - {{$ctrl.termFilter.max | localeNumber}}
{{$ctrl.paymentFilter.min | localeCurrency }} - {{$ctrl.paymentFilter.max | localeCurrency}}

0\\\" vehicles=\\\"$ctrl.vehicles\\\" display-columns=\\\"$ctrl.displayColumns\\\" pricing-plan-id=\\\"($ctrl.usePricingPlan ? $ctrl.opportunity.customer.pricingPlanId : null)\\\" on-select=\\\"$ctrl.onVehicleSelect({vehicle: vehicle})\\\">
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar DealerRebateComponent = /** @class */ (function () {\n function DealerRebateComponent() {\n }\n DealerRebateComponent.prototype.ngOnInit = function () {\n };\n return DealerRebateComponent;\n}());\nexports.DealerRebateComponent = DealerRebateComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'dealer-rebate',\r\n templateUrl: './dealer-rebate.component-ng.html',\r\n styleUrls: ['./dealer-rebate.component.scss']\r\n})\r\nexport class DealerRebateComponent implements OnInit {\r\n @Input() value: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// 19.1.2.17 Object.seal(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('seal', function ($seal) {\n return function seal(it) {\n return $seal && isObject(it) ? $seal(meta(it)) : it;\n };\n});\n","var path = '/app/components/deal-sheet/open-new-window.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".save-manual-trade-value[_ngcontent-%COMP%]{margin-left:4px;margin-bottom:4px;background:url(https://assets.autoalert.com/img/autoalert-icons/icon-save-oceandeep.svg) no-repeat;width:20px;height:20px;display:inline-block;line-height:1}\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/facebook-photo.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/wish-list/wish-list-distr-list.component.html';\nvar html = \"
{{user.fullName}} ({{user.emailAddress}})
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"\"","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar EmailConversationClientService = /** @class */ (function (_super) {\n __extends(EmailConversationClientService, _super);\n function EmailConversationClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param emailConversation undefined\n */\n EmailConversationClientService.prototype.RecordEmailConversationPOSTResponse = function (emailConversation) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = emailConversation;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/EmailConversation/RecordEmailConversation\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param emailConversation undefined\n */\n EmailConversationClientService.prototype.RecordEmailConversationPOST = function (emailConversation) {\n return this.RecordEmailConversationPOSTResponse(emailConversation).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param alertMinerMailOpened undefined\n */\n EmailConversationClientService.prototype.RecordEmailReadPOSTResponse = function (alertMinerMailOpened) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = alertMinerMailOpened;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/EmailConversation/RecordEmailRead\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param alertMinerMailOpened undefined\n */\n EmailConversationClientService.prototype.RecordEmailReadPOST = function (alertMinerMailOpened) {\n return this.RecordEmailReadPOSTResponse(alertMinerMailOpened).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n EmailConversationClientService.prototype.GetEmailBodyByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/EmailConversation/GetEmailBody/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n EmailConversationClientService.prototype.GetEmailBodyByIdGET = function (id) {\n return this.GetEmailBodyByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n EmailConversationClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/EmailConversation/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n EmailConversationClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n EmailConversationClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/EmailConversation/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n EmailConversationClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n EmailConversationClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/EmailConversation/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n EmailConversationClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n EmailConversationClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/EmailConversation\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n EmailConversationClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n EmailConversationClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/EmailConversation\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n EmailConversationClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n EmailConversationClientService.RecordEmailConversationPOSTPath = '/api/EmailConversation/RecordEmailConversation';\n EmailConversationClientService.RecordEmailReadPOSTPath = '/api/EmailConversation/RecordEmailRead';\n EmailConversationClientService.GetEmailBodyByIdGETPath = '/api/EmailConversation/GetEmailBody/{id}';\n EmailConversationClientService.ByIdGETPath = '/api/EmailConversation/{id}';\n EmailConversationClientService.ByIdDELETEPath = '/api/EmailConversation/{id}';\n EmailConversationClientService.GetManyGETPath = '/api/EmailConversation/GetMany';\n EmailConversationClientService.PUTPath = '/api/EmailConversation';\n EmailConversationClientService.POSTPath = '/api/EmailConversation';\n EmailConversationClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function EmailConversationClientService_Factory() { return new EmailConversationClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: EmailConversationClientService, providedIn: \"root\" });\n return EmailConversationClientService;\n}(base_service_1.BaseService));\nexports.EmailConversationClientService = EmailConversationClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { EmailConversationDetailDto } from '../models/email-conversation-detail-dto';\r\nimport { AlertMinerMailOpenedDto } from '../models/alert-miner-mail-opened-dto';\r\nimport { EmailConversationDto } from '../models/email-conversation-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass EmailConversationClientService extends __BaseService {\r\n static readonly RecordEmailConversationPOSTPath = '/api/EmailConversation/RecordEmailConversation';\r\n static readonly RecordEmailReadPOSTPath = '/api/EmailConversation/RecordEmailRead';\r\n static readonly GetEmailBodyByIdGETPath = '/api/EmailConversation/GetEmailBody/{id}';\r\n static readonly ByIdGETPath = '/api/EmailConversation/{id}';\r\n static readonly ByIdDELETEPath = '/api/EmailConversation/{id}';\r\n static readonly GetManyGETPath = '/api/EmailConversation/GetMany';\r\n static readonly PUTPath = '/api/EmailConversation';\r\n static readonly POSTPath = '/api/EmailConversation';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param emailConversation undefined\r\n */\r\n RecordEmailConversationPOSTResponse(emailConversation?: EmailConversationDetailDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = emailConversation;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/EmailConversation/RecordEmailConversation`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param emailConversation undefined\r\n */\r\n RecordEmailConversationPOST(emailConversation?: EmailConversationDetailDto): __Observable {\r\n return this.RecordEmailConversationPOSTResponse(emailConversation).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param alertMinerMailOpened undefined\r\n */\r\n RecordEmailReadPOSTResponse(alertMinerMailOpened?: AlertMinerMailOpenedDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = alertMinerMailOpened;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/EmailConversation/RecordEmailRead`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param alertMinerMailOpened undefined\r\n */\r\n RecordEmailReadPOST(alertMinerMailOpened?: AlertMinerMailOpenedDto): __Observable {\r\n return this.RecordEmailReadPOSTResponse(alertMinerMailOpened).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n GetEmailBodyByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/EmailConversation/GetEmailBody/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n GetEmailBodyByIdGET(id: number): __Observable {\r\n return this.GetEmailBodyByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as string)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/EmailConversation/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as EmailConversationDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/EmailConversation/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/EmailConversation/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: EmailConversationDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/EmailConversation`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: EmailConversationDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: EmailConversationDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/EmailConversation`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: EmailConversationDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as EmailConversationDto)\r\n );\r\n }\r\n}\r\n\r\nmodule EmailConversationClientService {\r\n}\r\n\r\nexport { EmailConversationClientService }\r\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","module.exports = \"\"","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TranslateErrorKeys = {\n generalErrorTitleKey: 'generalErrorTitleKey',\n generalErrorMessageKey: 'generalErrorMessageKey',\n unauthorizedAppErrorKey: 'unauthorizedAppErrorKey',\n unauthorizedPageErrorKey: 'unauthorizedPageErrorKey',\n unauthorizedAPIAccessKey: 'unauthorizedAPIAccessKey',\n unauthorizedDisabledUserKey: 'unauthorizedDisabledUserKey',\n unauthorizedLockedUserKey: 'unauthorizedLockedUserKey',\n unauthorizedNoUserProfileKey: 'unauthorizedNoUserProfileKey',\n underConstructionKey: 'underConstructionKey',\n maxEmailsExceeded: 'maxEmailsExceeded',\n invalidIPAddress: 'invalidIPAddressKey',\n generalErrorDncProcessKey: 'generalErrorDncProcessKey',\n generalErrorCreditSoftPullNoEditKey: 'generalErrorCreditSoftPullNoEditKey',\n popupBlockerEnabledErrorMessage: 'popupBlockerEnabledErrorMessage'\n};\n","export const TranslateErrorKeys = {\r\n generalErrorTitleKey: 'generalErrorTitleKey',\r\n generalErrorMessageKey: 'generalErrorMessageKey',\r\n unauthorizedAppErrorKey: 'unauthorizedAppErrorKey',\r\n unauthorizedPageErrorKey: 'unauthorizedPageErrorKey',\r\n unauthorizedAPIAccessKey: 'unauthorizedAPIAccessKey',\r\n unauthorizedDisabledUserKey: 'unauthorizedDisabledUserKey',\r\n unauthorizedLockedUserKey: 'unauthorizedLockedUserKey',\r\n unauthorizedNoUserProfileKey: 'unauthorizedNoUserProfileKey',\r\n underConstructionKey: 'underConstructionKey',\r\n maxEmailsExceeded: 'maxEmailsExceeded',\r\n invalidIPAddress: 'invalidIPAddressKey',\r\n generalErrorDncProcessKey: 'generalErrorDncProcessKey',\r\n generalErrorCreditSoftPullNoEditKey: 'generalErrorCreditSoftPullNoEditKey',\r\n popupBlockerEnabledErrorMessage: 'popupBlockerEnabledErrorMessage'\r\n};\r\n","module.exports = \"\"","module.exports = __webpack_public_path__ + \"icon-eye-lake.11db0d5e85c136062dfd.svg\";","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./contract-end.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../../../filters/locale-date.pipe\"));\nvar i5 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i6 = __importStar(require(\"./contract-end.component\"));\nvar styles_ContractEndComponent = [i0.styles];\nvar RenderType_ContractEndComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ContractEndComponent, data: {} });\nexports.RenderType_ContractEndComponent = RenderType_ContractEndComponent;\nfunction View_ContractEndComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"contract-end\"], [\"translate\", \"contractEndLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"span\", [[\"class\", \"field-data qa-contract-end-date-value\"], [\"id\", \"contract-end\"]], [[8, \"textContent\", 0]], null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(5, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(6, { \"contract-end\": 0 }), i1.ɵppd(7, 1)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"contractEndLabel\"; _ck(_v, 2, 0, currVal_0); var currVal_2 = \"field-data qa-contract-end-date-value\"; var currVal_3 = _ck(_v, 6, 0, _co.alertExists); _ck(_v, 5, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 3, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 3, 0, currVal_1); }); }\nfunction View_ContractEndComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i4.LocaleDatePipe, [i5.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ContractEndComponent_1)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.value; _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_ContractEndComponent_0 = View_ContractEndComponent_0;\nfunction View_ContractEndComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"contract-end\", [], null, null, null, View_ContractEndComponent_0, RenderType_ContractEndComponent)), i1.ɵdid(1, 114688, null, 0, i6.ContractEndComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ContractEndComponent_Host_0 = View_ContractEndComponent_Host_0;\nvar ContractEndComponentNgFactory = i1.ɵccf(\"contract-end\", i6.ContractEndComponent, View_ContractEndComponent_Host_0, { value: \"value\", alertExists: \"alertExists\" }, {}, []);\nexports.ContractEndComponentNgFactory = ContractEndComponentNgFactory;\n","
\r\n \r\n \r\n
\r\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { fill: require('./_array-fill') });\n\nrequire('./_add-to-unscopables')('fill');\n","var path = '/app/components/edit-contact.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/header/dealer-list.component.html';\nvar html = \"
{{$ctrl.dealerDisplayText}}
0 &&\\\"> No matches found.

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/vehicle/registration-number.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"x-data-entry-prices .prices-wrapper {\\n padding-left: 15px;\\n padding-right: 15px;\\n width: 100%;\\n}\\nx-data-entry-prices input.ng-invalid.ng-dirty {\\n border-color: #cccccc;\\n}\\nx-data-entry-prices #gridDataEntryPrices th.k-header.align-center {\\n text-align: center;\\n}\\nx-data-entry-prices #gridDataEntryPrices th.k-grid-content.align-center {\\n text-align: center;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9kYXRhLWVudHJ5L0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcY29tcG9uZW50c1xcZGF0YS1lbnRyeVxcZGF0YS1lbnRyeS1wcmljZXMuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvZGF0YS1lbnRyeS9kYXRhLWVudHJ5LXByaWNlcy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHSTtFQUNJLG1CQUFBO0VBQ0Esb0JBQUE7RUFDQSxZQUFBO0NDRlA7QURLRztFQUNJLHNCQUFBO0NDSFA7QURPRztFQUNJLG1CQUFBO0NDTFA7QURRRztFQUNJLG1CQUFBO0NDTlAiLCJmaWxlIjoic3JjL2FwcC9jb21wb25lbnRzL2RhdGEtZW50cnkvZGF0YS1lbnRyeS1wcmljZXMuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJcclxueC1kYXRhLWVudHJ5LXByaWNlcyB7XHJcblxyXG4gICAgLnByaWNlcy13cmFwcGVyIHtcclxuICAgICAgICBwYWRkaW5nLWxlZnQ6IDE1cHg7XHJcbiAgICAgICAgcGFkZGluZy1yaWdodDogMTVweDtcclxuICAgICAgICB3aWR0aDogMTAwJTtcclxuICAgIH1cclxuXHJcbiAgICBpbnB1dC5uZy1pbnZhbGlkLm5nLWRpcnR5IHtcclxuICAgICAgICBib3JkZXItY29sb3I6ICNjY2NjY2M7XHJcbiAgICB9XHJcblxyXG5cclxuICAgICNncmlkRGF0YUVudHJ5UHJpY2VzIHRoLmstaGVhZGVyLmFsaWduLWNlbnRlciB7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgfVxyXG5cclxuICAgICNncmlkRGF0YUVudHJ5UHJpY2VzIHRoLmstZ3JpZC1jb250ZW50LmFsaWduLWNlbnRlciB7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgfVxyXG59XHJcbiIsIngtZGF0YS1lbnRyeS1wcmljZXMgLnByaWNlcy13cmFwcGVyIHtcbiAgcGFkZGluZy1sZWZ0OiAxNXB4O1xuICBwYWRkaW5nLXJpZ2h0OiAxNXB4O1xuICB3aWR0aDogMTAwJTtcbn1cbngtZGF0YS1lbnRyeS1wcmljZXMgaW5wdXQubmctaW52YWxpZC5uZy1kaXJ0eSB7XG4gIGJvcmRlci1jb2xvcjogI2NjY2NjYztcbn1cbngtZGF0YS1lbnRyeS1wcmljZXMgI2dyaWREYXRhRW50cnlQcmljZXMgdGguay1oZWFkZXIuYWxpZ24tY2VudGVyIHtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xufVxueC1kYXRhLWVudHJ5LXByaWNlcyAjZ3JpZERhdGFFbnRyeVByaWNlcyB0aC5rLWdyaWQtY29udGVudC5hbGlnbi1jZW50ZXIge1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG59Il19 */\"","var path = '/app/components/reports/dealer-make-select.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = {};\n","/**\n* @license\n* Copyright Google Inc. All Rights Reserved.\n*\n* Use of this source code is governed by an MIT-style license that can be\n* found in the LICENSE file at https://angular.io/license\n*/\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(factory());\n}(this, (function () { 'use strict';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar Zone$1 = (function (global) {\n var performance = global['performance'];\n function mark(name) {\n performance && performance['mark'] && performance['mark'](name);\n }\n function performanceMeasure(name, label) {\n performance && performance['measure'] && performance['measure'](name, label);\n }\n mark('Zone');\n var checkDuplicate = global[('__zone_symbol__forceDuplicateZoneCheck')] === true;\n if (global['Zone']) {\n // if global['Zone'] already exists (maybe zone.js was already loaded or\n // some other lib also registered a global object named Zone), we may need\n // to throw an error, but sometimes user may not want this error.\n // For example,\n // we have two web pages, page1 includes zone.js, page2 doesn't.\n // and the 1st time user load page1 and page2, everything work fine,\n // but when user load page2 again, error occurs because global['Zone'] already exists.\n // so we add a flag to let user choose whether to throw this error or not.\n // By default, if existing Zone is from zone.js, we will not throw the error.\n if (checkDuplicate || typeof global['Zone'].__symbol__ !== 'function') {\n throw new Error('Zone already loaded.');\n }\n else {\n return global['Zone'];\n }\n }\n var Zone = /** @class */ (function () {\n function Zone(parent, zoneSpec) {\n this._parent = parent;\n this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n this._properties = zoneSpec && zoneSpec.properties || {};\n this._zoneDelegate =\n new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n }\n Zone.assertZonePatched = function () {\n if (global['Promise'] !== patches['ZoneAwarePromise']) {\n throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n 'has been overwritten.\\n' +\n 'Most likely cause is that a Promise polyfill has been loaded ' +\n 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n 'If you must load one, do so before loading zone.js.)');\n }\n };\n Object.defineProperty(Zone, \"root\", {\n get: function () {\n var zone = Zone.current;\n while (zone.parent) {\n zone = zone.parent;\n }\n return zone;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Zone, \"current\", {\n get: function () {\n return _currentZoneFrame.zone;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Zone, \"currentTask\", {\n get: function () {\n return _currentTask;\n },\n enumerable: true,\n configurable: true\n });\n Zone.__load_patch = function (name, fn) {\n if (patches.hasOwnProperty(name)) {\n if (checkDuplicate) {\n throw Error('Already loaded patch: ' + name);\n }\n }\n else if (!global['__Zone_disable_' + name]) {\n var perfName = 'Zone:' + name;\n mark(perfName);\n patches[name] = fn(global, Zone, _api);\n performanceMeasure(perfName, perfName);\n }\n };\n Object.defineProperty(Zone.prototype, \"parent\", {\n get: function () {\n return this._parent;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Zone.prototype, \"name\", {\n get: function () {\n return this._name;\n },\n enumerable: true,\n configurable: true\n });\n Zone.prototype.get = function (key) {\n var zone = this.getZoneWith(key);\n if (zone)\n return zone._properties[key];\n };\n Zone.prototype.getZoneWith = function (key) {\n var current = this;\n while (current) {\n if (current._properties.hasOwnProperty(key)) {\n return current;\n }\n current = current._parent;\n }\n return null;\n };\n Zone.prototype.fork = function (zoneSpec) {\n if (!zoneSpec)\n throw new Error('ZoneSpec required!');\n return this._zoneDelegate.fork(this, zoneSpec);\n };\n Zone.prototype.wrap = function (callback, source) {\n if (typeof callback !== 'function') {\n throw new Error('Expecting function got: ' + callback);\n }\n var _callback = this._zoneDelegate.intercept(this, callback, source);\n var zone = this;\n return function () {\n return zone.runGuarded(_callback, this, arguments, source);\n };\n };\n Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = null; }\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n if (task.zone != this) {\n throw new Error('A task can only be run in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n }\n // https://github.com/angular/zone.js/issues/778, sometimes eventTask\n // will run in notScheduled(canceled) state, we should not try to\n // run such kind of task but just return\n if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) {\n return;\n }\n var reEntryGuard = task.state != running;\n reEntryGuard && task._transitionTo(running, scheduled);\n task.runCount++;\n var previousTask = _currentTask;\n _currentTask = task;\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n if (task.type == macroTask && task.data && !task.data.isPeriodic) {\n task.cancelFn = undefined;\n }\n try {\n return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n // if the task's state is notScheduled or unknown, then it has already been cancelled\n // we should not reset the state to scheduled\n if (task.state !== notScheduled && task.state !== unknown) {\n if (task.type == eventTask || (task.data && task.data.isPeriodic)) {\n reEntryGuard && task._transitionTo(scheduled, running);\n }\n else {\n task.runCount = 0;\n this._updateTaskCount(task, -1);\n reEntryGuard &&\n task._transitionTo(notScheduled, running, notScheduled);\n }\n }\n _currentZoneFrame = _currentZoneFrame.parent;\n _currentTask = previousTask;\n }\n };\n Zone.prototype.scheduleTask = function (task) {\n if (task.zone && task.zone !== this) {\n // check if the task was rescheduled, the newZone\n // should not be the children of the original zone\n var newZone = this;\n while (newZone) {\n if (newZone === task.zone) {\n throw Error(\"can not reschedule task to \" + this.name + \" which is descendants of the original zone \" + task.zone.name);\n }\n newZone = newZone.parent;\n }\n }\n task._transitionTo(scheduling, notScheduled);\n var zoneDelegates = [];\n task._zoneDelegates = zoneDelegates;\n task._zone = this;\n try {\n task = this._zoneDelegate.scheduleTask(this, task);\n }\n catch (err) {\n // should set task's state to unknown when scheduleTask throw error\n // because the err may from reschedule, so the fromState maybe notScheduled\n task._transitionTo(unknown, scheduling, notScheduled);\n // TODO: @JiaLiPassion, should we check the result from handleError?\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n if (task._zoneDelegates === zoneDelegates) {\n // we have to check because internally the delegate can reschedule the task.\n this._updateTaskCount(task, 1);\n }\n if (task.state == scheduling) {\n task._transitionTo(scheduled, scheduling);\n }\n return task;\n };\n Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined));\n };\n Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.cancelTask = function (task) {\n if (task.zone != this)\n throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n task._transitionTo(canceling, scheduled, running);\n try {\n this._zoneDelegate.cancelTask(this, task);\n }\n catch (err) {\n // if error occurs when cancelTask, transit the state to unknown\n task._transitionTo(unknown, canceling);\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n this._updateTaskCount(task, -1);\n task._transitionTo(notScheduled, canceling);\n task.runCount = 0;\n return task;\n };\n Zone.prototype._updateTaskCount = function (task, count) {\n var zoneDelegates = task._zoneDelegates;\n if (count == -1) {\n task._zoneDelegates = null;\n }\n for (var i = 0; i < zoneDelegates.length; i++) {\n zoneDelegates[i]._updateTaskCount(task.type, count);\n }\n };\n Zone.__symbol__ = __symbol__;\n return Zone;\n }());\n var DELEGATE_ZS = {\n name: '',\n onHasTask: function (delegate, _, target, hasTaskState) { return delegate.hasTask(target, hasTaskState); },\n onScheduleTask: function (delegate, _, target, task) {\n return delegate.scheduleTask(target, task);\n },\n onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) {\n return delegate.invokeTask(target, task, applyThis, applyArgs);\n },\n onCancelTask: function (delegate, _, target, task) { return delegate.cancelTask(target, task); }\n };\n var ZoneDelegate = /** @class */ (function () {\n function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 };\n this.zone = zone;\n this._parentDelegate = parentDelegate;\n this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate.zone);\n this._interceptZS =\n zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n this._interceptDlgt =\n zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n this._interceptCurrZone =\n zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate.zone);\n this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n this._invokeDlgt =\n zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate.zone);\n this._handleErrorZS =\n zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n this._handleErrorDlgt =\n zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n this._handleErrorCurrZone =\n zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate.zone);\n this._scheduleTaskZS =\n zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n this._scheduleTaskDlgt = zoneSpec &&\n (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n this._scheduleTaskCurrZone =\n zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate.zone);\n this._invokeTaskZS =\n zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n this._invokeTaskDlgt =\n zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n this._invokeTaskCurrZone =\n zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate.zone);\n this._cancelTaskZS =\n zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n this._cancelTaskDlgt =\n zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n this._cancelTaskCurrZone =\n zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate.zone);\n this._hasTaskZS = null;\n this._hasTaskDlgt = null;\n this._hasTaskDlgtOwner = null;\n this._hasTaskCurrZone = null;\n var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;\n var parentHasTask = parentDelegate && parentDelegate._hasTaskZS;\n if (zoneSpecHasTask || parentHasTask) {\n // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such\n // a case all task related interceptors must go through this ZD. We can't short circuit it.\n this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;\n this._hasTaskDlgt = parentDelegate;\n this._hasTaskDlgtOwner = this;\n this._hasTaskCurrZone = zone;\n if (!zoneSpec.onScheduleTask) {\n this._scheduleTaskZS = DELEGATE_ZS;\n this._scheduleTaskDlgt = parentDelegate;\n this._scheduleTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onInvokeTask) {\n this._invokeTaskZS = DELEGATE_ZS;\n this._invokeTaskDlgt = parentDelegate;\n this._invokeTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onCancelTask) {\n this._cancelTaskZS = DELEGATE_ZS;\n this._cancelTaskDlgt = parentDelegate;\n this._cancelTaskCurrZone = this.zone;\n }\n }\n }\n ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n new Zone(targetZone, zoneSpec);\n };\n ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n return this._interceptZS ?\n this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) :\n callback;\n };\n ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n return this._invokeZS ? this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) :\n callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.handleError = function (targetZone, error) {\n return this._handleErrorZS ?\n this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) :\n true;\n };\n ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n var returnTask = task;\n if (this._scheduleTaskZS) {\n if (this._hasTaskZS) {\n returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);\n }\n returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);\n if (!returnTask)\n returnTask = task;\n }\n else {\n if (task.scheduleFn) {\n task.scheduleFn(task);\n }\n else if (task.type == microTask) {\n scheduleMicroTask(task);\n }\n else {\n throw new Error('Task is missing scheduleFn.');\n }\n }\n return returnTask;\n };\n ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n return this._invokeTaskZS ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :\n task.callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n var value;\n if (this._cancelTaskZS) {\n value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);\n }\n else {\n if (!task.cancelFn) {\n throw Error('Task is not cancelable');\n }\n value = task.cancelFn(task);\n }\n return value;\n };\n ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n // hasTask should not throw error so other ZoneDelegate\n // can still trigger hasTask callback\n try {\n this._hasTaskZS &&\n this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);\n }\n catch (err) {\n this.handleError(targetZone, err);\n }\n };\n ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n var counts = this._taskCounts;\n var prev = counts[type];\n var next = counts[type] = prev + count;\n if (next < 0) {\n throw new Error('More tasks executed then were scheduled.');\n }\n if (prev == 0 || next == 0) {\n var isEmpty = {\n microTask: counts['microTask'] > 0,\n macroTask: counts['macroTask'] > 0,\n eventTask: counts['eventTask'] > 0,\n change: type\n };\n this.hasTask(this.zone, isEmpty);\n }\n };\n return ZoneDelegate;\n }());\n var ZoneTask = /** @class */ (function () {\n function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) {\n this._zone = null;\n this.runCount = 0;\n this._zoneDelegates = null;\n this._state = 'notScheduled';\n this.type = type;\n this.source = source;\n this.data = options;\n this.scheduleFn = scheduleFn;\n this.cancelFn = cancelFn;\n this.callback = callback;\n var self = this;\n // TODO: @JiaLiPassion options should have interface\n if (type === eventTask && options && options.useG) {\n this.invoke = ZoneTask.invokeTask;\n }\n else {\n this.invoke = function () {\n return ZoneTask.invokeTask.call(global, self, this, arguments);\n };\n }\n }\n ZoneTask.invokeTask = function (task, target, args) {\n if (!task) {\n task = this;\n }\n _numberOfNestedTaskFrames++;\n try {\n task.runCount++;\n return task.zone.runTask(task, target, args);\n }\n finally {\n if (_numberOfNestedTaskFrames == 1) {\n drainMicroTaskQueue();\n }\n _numberOfNestedTaskFrames--;\n }\n };\n Object.defineProperty(ZoneTask.prototype, \"zone\", {\n get: function () {\n return this._zone;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ZoneTask.prototype, \"state\", {\n get: function () {\n return this._state;\n },\n enumerable: true,\n configurable: true\n });\n ZoneTask.prototype.cancelScheduleRequest = function () {\n this._transitionTo(notScheduled, scheduling);\n };\n ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) {\n if (this._state === fromState1 || this._state === fromState2) {\n this._state = toState;\n if (toState == notScheduled) {\n this._zoneDelegates = null;\n }\n }\n else {\n throw new Error(this.type + \" '\" + this.source + \"': can not transition to '\" + toState + \"', expecting state '\" + fromState1 + \"'\" + (fromState2 ? ' or \\'' + fromState2 + '\\'' : '') + \", was '\" + this._state + \"'.\");\n }\n };\n ZoneTask.prototype.toString = function () {\n if (this.data && typeof this.data.handleId !== 'undefined') {\n return this.data.handleId.toString();\n }\n else {\n return Object.prototype.toString.call(this);\n }\n };\n // add toJSON method to prevent cyclic error when\n // call JSON.stringify(zoneTask)\n ZoneTask.prototype.toJSON = function () {\n return {\n type: this.type,\n state: this.state,\n source: this.source,\n zone: this.zone.name,\n runCount: this.runCount\n };\n };\n return ZoneTask;\n }());\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// MICROTASK QUEUE\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var symbolSetTimeout = __symbol__('setTimeout');\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var _microTaskQueue = [];\n var _isDrainingMicrotaskQueue = false;\n var nativeMicroTaskQueuePromise;\n function scheduleMicroTask(task) {\n // if we are not running in any task, and there has not been anything scheduled\n // we must bootstrap the initial task creation by manually scheduling the drain\n if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {\n // We are not running in Task, so we need to kickstart the microtask queue.\n if (!nativeMicroTaskQueuePromise) {\n if (global[symbolPromise]) {\n nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);\n }\n }\n if (nativeMicroTaskQueuePromise) {\n var nativeThen = nativeMicroTaskQueuePromise[symbolThen];\n if (!nativeThen) {\n // native Promise is not patchable, we need to use `then` directly\n // issue 1078\n nativeThen = nativeMicroTaskQueuePromise['then'];\n }\n nativeThen.call(nativeMicroTaskQueuePromise, drainMicroTaskQueue);\n }\n else {\n global[symbolSetTimeout](drainMicroTaskQueue, 0);\n }\n }\n task && _microTaskQueue.push(task);\n }\n function drainMicroTaskQueue() {\n if (!_isDrainingMicrotaskQueue) {\n _isDrainingMicrotaskQueue = true;\n while (_microTaskQueue.length) {\n var queue = _microTaskQueue;\n _microTaskQueue = [];\n for (var i = 0; i < queue.length; i++) {\n var task = queue[i];\n try {\n task.zone.runTask(task, null, null);\n }\n catch (error) {\n _api.onUnhandledError(error);\n }\n }\n }\n _api.microtaskDrainDone();\n _isDrainingMicrotaskQueue = false;\n }\n }\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// BOOTSTRAP\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var NO_ZONE = { name: 'NO ZONE' };\n var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown';\n var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask';\n var patches = {};\n var _api = {\n symbol: __symbol__,\n currentZoneFrame: function () { return _currentZoneFrame; },\n onUnhandledError: noop,\n microtaskDrainDone: noop,\n scheduleMicroTask: scheduleMicroTask,\n showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; },\n patchEventTarget: function () { return []; },\n patchOnProperties: noop,\n patchMethod: function () { return noop; },\n bindArguments: function () { return []; },\n patchThen: function () { return noop; },\n patchMacroTask: function () { return noop; },\n setNativePromise: function (NativePromise) {\n // sometimes NativePromise.resolve static function\n // is not ready yet, (such as core-js/es6.promise)\n // so we need to check here.\n if (NativePromise && typeof NativePromise.resolve === 'function') {\n nativeMicroTaskQueuePromise = NativePromise.resolve(0);\n }\n },\n patchEventPrototype: function () { return noop; },\n isIEOrEdge: function () { return false; },\n getGlobalObjects: function () { return undefined; },\n ObjectDefineProperty: function () { return noop; },\n ObjectGetOwnPropertyDescriptor: function () { return undefined; },\n ObjectCreate: function () { return undefined; },\n ArraySlice: function () { return []; },\n patchClass: function () { return noop; },\n wrapWithCurrentZone: function () { return noop; },\n filterProperties: function () { return []; },\n attachOriginToPatched: function () { return noop; },\n _redefineProperty: function () { return noop; },\n patchCallbacks: function () { return noop; }\n };\n var _currentZoneFrame = { parent: null, zone: new Zone(null, null) };\n var _currentTask = null;\n var _numberOfNestedTaskFrames = 0;\n function noop() { }\n function __symbol__(name) {\n return '__zone_symbol__' + name;\n }\n performanceMeasure('Zone', 'Zone');\n return global['Zone'] = Zone;\n})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n\nvar __values = (undefined && undefined.__values) || function (o) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\n if (m) return m.call(o);\n return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n};\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nZone.__load_patch('ZoneAwarePromise', function (global, Zone, api) {\n var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n var ObjectDefineProperty = Object.defineProperty;\n function readableObjectToString(obj) {\n if (obj && obj.toString === Object.prototype.toString) {\n var className = obj.constructor && obj.constructor.name;\n return (className ? className : '') + ': ' + JSON.stringify(obj);\n }\n return obj ? obj.toString() : Object.prototype.toString.call(obj);\n }\n var __symbol__ = api.symbol;\n var _uncaughtPromiseErrors = [];\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var creationTrace = '__creationTrace__';\n api.onUnhandledError = function (e) {\n if (api.showUncaughtError()) {\n var rejection = e && e.rejection;\n if (rejection) {\n console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n }\n else {\n console.error(e);\n }\n }\n };\n api.microtaskDrainDone = function () {\n while (_uncaughtPromiseErrors.length) {\n var _loop_1 = function () {\n var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n try {\n uncaughtPromiseError.zone.runGuarded(function () {\n throw uncaughtPromiseError;\n });\n }\n catch (error) {\n handleUnhandledRejection(error);\n }\n };\n while (_uncaughtPromiseErrors.length) {\n _loop_1();\n }\n }\n };\n var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');\n function handleUnhandledRejection(e) {\n api.onUnhandledError(e);\n try {\n var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];\n if (handler && typeof handler === 'function') {\n handler.call(this, e);\n }\n }\n catch (err) {\n }\n }\n function isThenable(value) {\n return value && value.then;\n }\n function forwardResolution(value) {\n return value;\n }\n function forwardRejection(rejection) {\n return ZoneAwarePromise.reject(rejection);\n }\n var symbolState = __symbol__('state');\n var symbolValue = __symbol__('value');\n var symbolFinally = __symbol__('finally');\n var symbolParentPromiseValue = __symbol__('parentPromiseValue');\n var symbolParentPromiseState = __symbol__('parentPromiseState');\n var source = 'Promise.then';\n var UNRESOLVED = null;\n var RESOLVED = true;\n var REJECTED = false;\n var REJECTED_NO_CATCH = 0;\n function makeResolver(promise, state) {\n return function (v) {\n try {\n resolvePromise(promise, state, v);\n }\n catch (err) {\n resolvePromise(promise, false, err);\n }\n // Do not return value or you will break the Promise spec.\n };\n }\n var once = function () {\n var wasCalled = false;\n return function wrapper(wrappedFunction) {\n return function () {\n if (wasCalled) {\n return;\n }\n wasCalled = true;\n wrappedFunction.apply(null, arguments);\n };\n };\n };\n var TYPE_ERROR = 'Promise resolved with itself';\n var CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace');\n // Promise Resolution\n function resolvePromise(promise, state, value) {\n var onceWrapper = once();\n if (promise === value) {\n throw new TypeError(TYPE_ERROR);\n }\n if (promise[symbolState] === UNRESOLVED) {\n // should only get value.then once based on promise spec.\n var then = null;\n try {\n if (typeof value === 'object' || typeof value === 'function') {\n then = value && value.then;\n }\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n return promise;\n }\n // if (value instanceof ZoneAwarePromise) {\n if (state !== REJECTED && value instanceof ZoneAwarePromise &&\n value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) &&\n value[symbolState] !== UNRESOLVED) {\n clearRejectedNoCatch(value);\n resolvePromise(promise, value[symbolState], value[symbolValue]);\n }\n else if (state !== REJECTED && typeof then === 'function') {\n try {\n then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)));\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n }\n }\n else {\n promise[symbolState] = state;\n var queue = promise[symbolValue];\n promise[symbolValue] = value;\n if (promise[symbolFinally] === symbolFinally) {\n // the promise is generated by Promise.prototype.finally\n if (state === RESOLVED) {\n // the state is resolved, should ignore the value\n // and use parent promise value\n promise[symbolState] = promise[symbolParentPromiseState];\n promise[symbolValue] = promise[symbolParentPromiseValue];\n }\n }\n // record task information in value when error occurs, so we can\n // do some additional work such as render longStackTrace\n if (state === REJECTED && value instanceof Error) {\n // check if longStackTraceZone is here\n var trace = Zone.currentTask && Zone.currentTask.data &&\n Zone.currentTask.data[creationTrace];\n if (trace) {\n // only keep the long stack trace into error when in longStackTraceZone\n ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, { configurable: true, enumerable: false, writable: true, value: trace });\n }\n }\n for (var i = 0; i < queue.length;) {\n scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n }\n if (queue.length == 0 && state == REJECTED) {\n promise[symbolState] = REJECTED_NO_CATCH;\n try {\n // try to print more readable error log\n throw new Error('Uncaught (in promise): ' + readableObjectToString(value) +\n (value && value.stack ? '\\n' + value.stack : ''));\n }\n catch (err) {\n var error_1 = err;\n error_1.rejection = value;\n error_1.promise = promise;\n error_1.zone = Zone.current;\n error_1.task = Zone.currentTask;\n _uncaughtPromiseErrors.push(error_1);\n api.scheduleMicroTask(); // to make sure that it is running\n }\n }\n }\n }\n // Resolving an already resolved promise is a noop.\n return promise;\n }\n var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');\n function clearRejectedNoCatch(promise) {\n if (promise[symbolState] === REJECTED_NO_CATCH) {\n // if the promise is rejected no catch status\n // and queue.length > 0, means there is a error handler\n // here to handle the rejected promise, we should trigger\n // windows.rejectionhandled eventHandler or nodejs rejectionHandled\n // eventHandler\n try {\n var handler = Zone[REJECTION_HANDLED_HANDLER];\n if (handler && typeof handler === 'function') {\n handler.call(this, { rejection: promise[symbolValue], promise: promise });\n }\n }\n catch (err) {\n }\n promise[symbolState] = REJECTED;\n for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n if (promise === _uncaughtPromiseErrors[i].promise) {\n _uncaughtPromiseErrors.splice(i, 1);\n }\n }\n }\n }\n function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n clearRejectedNoCatch(promise);\n var promiseState = promise[symbolState];\n var delegate = promiseState ?\n (typeof onFulfilled === 'function') ? onFulfilled : forwardResolution :\n (typeof onRejected === 'function') ? onRejected : forwardRejection;\n zone.scheduleMicroTask(source, function () {\n try {\n var parentPromiseValue = promise[symbolValue];\n var isFinallyPromise = chainPromise && symbolFinally === chainPromise[symbolFinally];\n if (isFinallyPromise) {\n // if the promise is generated from finally call, keep parent promise's state and value\n chainPromise[symbolParentPromiseValue] = parentPromiseValue;\n chainPromise[symbolParentPromiseState] = promiseState;\n }\n // should not pass value to finally callback\n var value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ?\n [] :\n [parentPromiseValue]);\n resolvePromise(chainPromise, true, value);\n }\n catch (error) {\n // if error occurs, should always return this error\n resolvePromise(chainPromise, false, error);\n }\n }, chainPromise);\n }\n var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';\n var ZoneAwarePromise = /** @class */ (function () {\n function ZoneAwarePromise(executor) {\n var promise = this;\n if (!(promise instanceof ZoneAwarePromise)) {\n throw new Error('Must be an instanceof Promise.');\n }\n promise[symbolState] = UNRESOLVED;\n promise[symbolValue] = []; // queue;\n try {\n executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n }\n catch (error) {\n resolvePromise(promise, false, error);\n }\n }\n ZoneAwarePromise.toString = function () {\n return ZONE_AWARE_PROMISE_TO_STRING;\n };\n ZoneAwarePromise.resolve = function (value) {\n return resolvePromise(new this(null), RESOLVED, value);\n };\n ZoneAwarePromise.reject = function (error) {\n return resolvePromise(new this(null), REJECTED, error);\n };\n ZoneAwarePromise.race = function (values) {\n var e_1, _a;\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n function onResolve(value) {\n resolve(value);\n }\n function onReject(error) {\n reject(error);\n }\n try {\n for (var values_1 = __values(values), values_1_1 = values_1.next(); !values_1_1.done; values_1_1 = values_1.next()) {\n var value = values_1_1.value;\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then(onResolve, onReject);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (values_1_1 && !values_1_1.done && (_a = values_1.return)) _a.call(values_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return promise;\n };\n ZoneAwarePromise.all = function (values) {\n var e_2, _a;\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n // Start at 2 to prevent prematurely resolving if .then is called immediately.\n var unresolvedCount = 2;\n var valueIndex = 0;\n var resolvedValues = [];\n var _loop_2 = function (value) {\n if (!isThenable(value)) {\n value = this_1.resolve(value);\n }\n var curValueIndex = valueIndex;\n value.then(function (value) {\n resolvedValues[curValueIndex] = value;\n unresolvedCount--;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n }, reject);\n unresolvedCount++;\n valueIndex++;\n };\n var this_1 = this;\n try {\n for (var values_2 = __values(values), values_2_1 = values_2.next(); !values_2_1.done; values_2_1 = values_2.next()) {\n var value = values_2_1.value;\n _loop_2(value);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (values_2_1 && !values_2_1.done && (_a = values_2.return)) _a.call(values_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n // Make the unresolvedCount zero-based again.\n unresolvedCount -= 2;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n return promise;\n };\n Object.defineProperty(ZoneAwarePromise.prototype, Symbol.toStringTag, {\n get: function () {\n return 'Promise';\n },\n enumerable: true,\n configurable: true\n });\n ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n var chainPromise = new this.constructor(null);\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n }\n return chainPromise;\n };\n ZoneAwarePromise.prototype.catch = function (onRejected) {\n return this.then(null, onRejected);\n };\n ZoneAwarePromise.prototype.finally = function (onFinally) {\n var chainPromise = new this.constructor(null);\n chainPromise[symbolFinally] = symbolFinally;\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFinally, onFinally);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally);\n }\n return chainPromise;\n };\n return ZoneAwarePromise;\n }());\n // Protect against aggressive optimizers dropping seemingly unused properties.\n // E.g. Closure Compiler in advanced mode.\n ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n var NativePromise = global[symbolPromise] = global['Promise'];\n var ZONE_AWARE_PROMISE = Zone.__symbol__('ZoneAwarePromise');\n var desc = ObjectGetOwnPropertyDescriptor(global, 'Promise');\n if (!desc || desc.configurable) {\n desc && delete desc.writable;\n desc && delete desc.value;\n if (!desc) {\n desc = { configurable: true, enumerable: true };\n }\n desc.get = function () {\n // if we already set ZoneAwarePromise, use patched one\n // otherwise return native one.\n return global[ZONE_AWARE_PROMISE] ? global[ZONE_AWARE_PROMISE] : global[symbolPromise];\n };\n desc.set = function (NewNativePromise) {\n if (NewNativePromise === ZoneAwarePromise) {\n // if the NewNativePromise is ZoneAwarePromise\n // save to global\n global[ZONE_AWARE_PROMISE] = NewNativePromise;\n }\n else {\n // if the NewNativePromise is not ZoneAwarePromise\n // for example: after load zone.js, some library just\n // set es6-promise to global, if we set it to global\n // directly, assertZonePatched will fail and angular\n // will not loaded, so we just set the NewNativePromise\n // to global[symbolPromise], so the result is just like\n // we load ES6 Promise before zone.js\n global[symbolPromise] = NewNativePromise;\n if (!NewNativePromise.prototype[symbolThen]) {\n patchThen(NewNativePromise);\n }\n api.setNativePromise(NewNativePromise);\n }\n };\n ObjectDefineProperty(global, 'Promise', desc);\n }\n global['Promise'] = ZoneAwarePromise;\n var symbolThenPatched = __symbol__('thenPatched');\n function patchThen(Ctor) {\n var proto = Ctor.prototype;\n var prop = ObjectGetOwnPropertyDescriptor(proto, 'then');\n if (prop && (prop.writable === false || !prop.configurable)) {\n // check Ctor.prototype.then propertyDescriptor is writable or not\n // in meteor env, writable is false, we should ignore such case\n return;\n }\n var originalThen = proto.then;\n // Keep a reference to the original method.\n proto[symbolThen] = originalThen;\n Ctor.prototype.then = function (onResolve, onReject) {\n var _this = this;\n var wrapped = new ZoneAwarePromise(function (resolve, reject) {\n originalThen.call(_this, resolve, reject);\n });\n return wrapped.then(onResolve, onReject);\n };\n Ctor[symbolThenPatched] = true;\n }\n api.patchThen = patchThen;\n function zoneify(fn) {\n return function () {\n var resultPromise = fn.apply(this, arguments);\n if (resultPromise instanceof ZoneAwarePromise) {\n return resultPromise;\n }\n var ctor = resultPromise.constructor;\n if (!ctor[symbolThenPatched]) {\n patchThen(ctor);\n }\n return resultPromise;\n };\n }\n if (NativePromise) {\n patchThen(NativePromise);\n var fetch_1 = global['fetch'];\n if (typeof fetch_1 == 'function') {\n global[api.symbol('fetch')] = fetch_1;\n global['fetch'] = zoneify(fetch_1);\n }\n }\n // This is not part of public API, but it is useful for tests, so we expose it.\n Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n return ZoneAwarePromise;\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Suppress closure compiler errors about unknown 'Zone' variable\n * @fileoverview\n * @suppress {undefinedVars,globalThis,missingRequire}\n */\n// issue #989, to reduce bundle size, use short name\n/** Object.getOwnPropertyDescriptor */\nvar ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n/** Object.defineProperty */\nvar ObjectDefineProperty = Object.defineProperty;\n/** Object.getPrototypeOf */\nvar ObjectGetPrototypeOf = Object.getPrototypeOf;\n/** Object.create */\nvar ObjectCreate = Object.create;\n/** Array.prototype.slice */\nvar ArraySlice = Array.prototype.slice;\n/** addEventListener string const */\nvar ADD_EVENT_LISTENER_STR = 'addEventListener';\n/** removeEventListener string const */\nvar REMOVE_EVENT_LISTENER_STR = 'removeEventListener';\n/** zoneSymbol addEventListener */\nvar ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR);\n/** zoneSymbol removeEventListener */\nvar ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR);\n/** true string const */\nvar TRUE_STR = 'true';\n/** false string const */\nvar FALSE_STR = 'false';\n/** __zone_symbol__ string const */\nvar ZONE_SYMBOL_PREFIX = '__zone_symbol__';\nfunction wrapWithCurrentZone(callback, source) {\n return Zone.current.wrap(callback, source);\n}\nfunction scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) {\n return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel);\n}\nvar zoneSymbol = Zone.__symbol__;\nvar isWindowExists = typeof window !== 'undefined';\nvar internalWindow = isWindowExists ? window : undefined;\nvar _global = isWindowExists && internalWindow || typeof self === 'object' && self || global;\nvar REMOVE_ATTRIBUTE = 'removeAttribute';\nvar NULL_ON_PROP_VALUE = [null];\nfunction bindArguments(args, source) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (typeof args[i] === 'function') {\n args[i] = wrapWithCurrentZone(args[i], source + '_' + i);\n }\n }\n return args;\n}\nfunction patchPrototype(prototype, fnNames) {\n var source = prototype.constructor['name'];\n var _loop_1 = function (i) {\n var name_1 = fnNames[i];\n var delegate = prototype[name_1];\n if (delegate) {\n var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name_1);\n if (!isPropertyWritable(prototypeDesc)) {\n return \"continue\";\n }\n prototype[name_1] = (function (delegate) {\n var patched = function () {\n return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n };\n attachOriginToPatched(patched, delegate);\n return patched;\n })(delegate);\n }\n };\n for (var i = 0; i < fnNames.length; i++) {\n _loop_1(i);\n }\n}\nfunction isPropertyWritable(propertyDesc) {\n if (!propertyDesc) {\n return true;\n }\n if (propertyDesc.writable === false) {\n return false;\n }\n return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined');\n}\nvar isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n// Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n// this code.\nvar isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]');\nvar isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']);\n// we are in electron of nw, so we are both browser and nodejs\n// Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n// this code.\nvar isMix = typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]' && !isWebWorker &&\n !!(isWindowExists && internalWindow['HTMLElement']);\nvar zoneSymbolEventNames = {};\nvar wrapFn = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n var eventNameSymbol = zoneSymbolEventNames[event.type];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type);\n }\n var target = this || event.target || _global;\n var listener = target[eventNameSymbol];\n var result;\n if (isBrowser && target === internalWindow && event.type === 'error') {\n // window.onerror have different signiture\n // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror\n // and onerror callback will prevent default when callback return true\n var errorEvent = event;\n result = listener &&\n listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error);\n if (result === true) {\n event.preventDefault();\n }\n }\n else {\n result = listener && listener.apply(this, arguments);\n if (result != undefined && !result) {\n event.preventDefault();\n }\n }\n return result;\n};\nfunction patchProperty(obj, prop, prototype) {\n var desc = ObjectGetOwnPropertyDescriptor(obj, prop);\n if (!desc && prototype) {\n // when patch window object, use prototype to check prop exist or not\n var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop);\n if (prototypeDesc) {\n desc = { enumerable: true, configurable: true };\n }\n }\n // if the descriptor not exists or is not configurable\n // just return\n if (!desc || !desc.configurable) {\n return;\n }\n var onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched');\n if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) {\n return;\n }\n // A property descriptor cannot have getter/setter and be writable\n // deleting the writable and value properties avoids this error:\n //\n // TypeError: property descriptors must not specify a value or be writable when a\n // getter or setter has been specified\n delete desc.writable;\n delete desc.value;\n var originalDescGet = desc.get;\n var originalDescSet = desc.set;\n // substr(2) cuz 'onclick' -> 'click', etc\n var eventName = prop.substr(2);\n var eventNameSymbol = zoneSymbolEventNames[eventName];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName);\n }\n desc.set = function (newValue) {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return;\n }\n var previousValue = target[eventNameSymbol];\n if (previousValue) {\n target.removeEventListener(eventName, wrapFn);\n }\n // issue #978, when onload handler was added before loading zone.js\n // we should remove it with originalDescSet\n if (originalDescSet) {\n originalDescSet.apply(target, NULL_ON_PROP_VALUE);\n }\n if (typeof newValue === 'function') {\n target[eventNameSymbol] = newValue;\n target.addEventListener(eventName, wrapFn, false);\n }\n else {\n target[eventNameSymbol] = null;\n }\n };\n // The getter would return undefined for unassigned properties but the default value of an\n // unassigned property is null\n desc.get = function () {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return null;\n }\n var listener = target[eventNameSymbol];\n if (listener) {\n return listener;\n }\n else if (originalDescGet) {\n // result will be null when use inline event attribute,\n // such as \n // because the onclick function is internal raw uncompiled handler\n // the onclick will be evaluated when first time event was triggered or\n // the property is accessed, https://github.com/angular/zone.js/issues/525\n // so we should use original native get to retrieve the handler\n var value = originalDescGet && originalDescGet.call(this);\n if (value) {\n desc.set.call(this, value);\n if (typeof target[REMOVE_ATTRIBUTE] === 'function') {\n target.removeAttribute(prop);\n }\n return value;\n }\n }\n return null;\n };\n ObjectDefineProperty(obj, prop, desc);\n obj[onPropPatchedSymbol] = true;\n}\nfunction patchOnProperties(obj, properties, prototype) {\n if (properties) {\n for (var i = 0; i < properties.length; i++) {\n patchProperty(obj, 'on' + properties[i], prototype);\n }\n }\n else {\n var onProperties = [];\n for (var prop in obj) {\n if (prop.substr(0, 2) == 'on') {\n onProperties.push(prop);\n }\n }\n for (var j = 0; j < onProperties.length; j++) {\n patchProperty(obj, onProperties[j], prototype);\n }\n }\n}\nvar originalInstanceKey = zoneSymbol('originalInstance');\n// wrap some native API on `window`\nfunction patchClass(className) {\n var OriginalClass = _global[className];\n if (!OriginalClass)\n return;\n // keep original class in global\n _global[zoneSymbol(className)] = OriginalClass;\n _global[className] = function () {\n var a = bindArguments(arguments, className);\n switch (a.length) {\n case 0:\n this[originalInstanceKey] = new OriginalClass();\n break;\n case 1:\n this[originalInstanceKey] = new OriginalClass(a[0]);\n break;\n case 2:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n break;\n case 3:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n break;\n case 4:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n break;\n default:\n throw new Error('Arg list too long.');\n }\n };\n // attach original delegate to patched function\n attachOriginToPatched(_global[className], OriginalClass);\n var instance = new OriginalClass(function () { });\n var prop;\n for (prop in instance) {\n // https://bugs.webkit.org/show_bug.cgi?id=44721\n if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n continue;\n (function (prop) {\n if (typeof instance[prop] === 'function') {\n _global[className].prototype[prop] = function () {\n return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n };\n }\n else {\n ObjectDefineProperty(_global[className].prototype, prop, {\n set: function (fn) {\n if (typeof fn === 'function') {\n this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop);\n // keep callback in wrapped function so we can\n // use it in Function.prototype.toString to return\n // the native one.\n attachOriginToPatched(this[originalInstanceKey][prop], fn);\n }\n else {\n this[originalInstanceKey][prop] = fn;\n }\n },\n get: function () {\n return this[originalInstanceKey][prop];\n }\n });\n }\n }(prop));\n }\n for (prop in OriginalClass) {\n if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n _global[className][prop] = OriginalClass[prop];\n }\n }\n}\nfunction copySymbolProperties(src, dest) {\n if (typeof Object.getOwnPropertySymbols !== 'function') {\n return;\n }\n var symbols = Object.getOwnPropertySymbols(src);\n symbols.forEach(function (symbol) {\n var desc = Object.getOwnPropertyDescriptor(src, symbol);\n Object.defineProperty(dest, symbol, {\n get: function () {\n return src[symbol];\n },\n set: function (value) {\n if (desc && (!desc.writable || typeof desc.set !== 'function')) {\n // if src[symbol] is not writable or not have a setter, just return\n return;\n }\n src[symbol] = value;\n },\n enumerable: desc ? desc.enumerable : true,\n configurable: desc ? desc.configurable : true\n });\n });\n}\nvar shouldCopySymbolProperties = false;\n\nfunction patchMethod(target, name, patchFn) {\n var proto = target;\n while (proto && !proto.hasOwnProperty(name)) {\n proto = ObjectGetPrototypeOf(proto);\n }\n if (!proto && target[name]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = target;\n }\n var delegateName = zoneSymbol(name);\n var delegate = null;\n if (proto && !(delegate = proto[delegateName])) {\n delegate = proto[delegateName] = proto[name];\n // check whether proto[name] is writable\n // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob\n var desc = proto && ObjectGetOwnPropertyDescriptor(proto, name);\n if (isPropertyWritable(desc)) {\n var patchDelegate_1 = patchFn(delegate, delegateName, name);\n proto[name] = function () {\n return patchDelegate_1(this, arguments);\n };\n attachOriginToPatched(proto[name], delegate);\n if (shouldCopySymbolProperties) {\n copySymbolProperties(delegate, proto[name]);\n }\n }\n }\n return delegate;\n}\n// TODO: @JiaLiPassion, support cancel task later if necessary\nfunction patchMacroTask(obj, funcName, metaCreator) {\n var setNative = null;\n function scheduleTask(task) {\n var data = task.data;\n data.args[data.cbIdx] = function () {\n task.invoke.apply(this, arguments);\n };\n setNative.apply(data.target, data.args);\n return task;\n }\n setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) {\n var meta = metaCreator(self, args);\n if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') {\n return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask);\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(self, args);\n }\n }; });\n}\n\nfunction attachOriginToPatched(patched, original) {\n patched[zoneSymbol('OriginalDelegate')] = original;\n}\nvar isDetectedIEOrEdge = false;\nvar ieOrEdge = false;\nfunction isIE() {\n try {\n var ua = internalWindow.navigator.userAgent;\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) {\n return true;\n }\n }\n catch (error) {\n }\n return false;\n}\nfunction isIEOrEdge() {\n if (isDetectedIEOrEdge) {\n return ieOrEdge;\n }\n isDetectedIEOrEdge = true;\n try {\n var ua = internalWindow.navigator.userAgent;\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {\n ieOrEdge = true;\n }\n }\n catch (error) {\n }\n return ieOrEdge;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// override Function.prototype.toString to make zone.js patched function\n// look like native function\nZone.__load_patch('toString', function (global) {\n // patch Func.prototype.toString to let them look like native\n var originalFunctionToString = Function.prototype.toString;\n var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');\n var PROMISE_SYMBOL = zoneSymbol('Promise');\n var ERROR_SYMBOL = zoneSymbol('Error');\n var newFunctionToString = function toString() {\n if (typeof this === 'function') {\n var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];\n if (originalDelegate) {\n if (typeof originalDelegate === 'function') {\n return originalFunctionToString.call(originalDelegate);\n }\n else {\n return Object.prototype.toString.call(originalDelegate);\n }\n }\n if (this === Promise) {\n var nativePromise = global[PROMISE_SYMBOL];\n if (nativePromise) {\n return originalFunctionToString.call(nativePromise);\n }\n }\n if (this === Error) {\n var nativeError = global[ERROR_SYMBOL];\n if (nativeError) {\n return originalFunctionToString.call(nativeError);\n }\n }\n }\n return originalFunctionToString.call(this);\n };\n newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString;\n Function.prototype.toString = newFunctionToString;\n // patch Object.prototype.toString to let them look like native\n var originalObjectToString = Object.prototype.toString;\n var PROMISE_OBJECT_TO_STRING = '[object Promise]';\n Object.prototype.toString = function () {\n if (this instanceof Promise) {\n return PROMISE_OBJECT_TO_STRING;\n }\n return originalObjectToString.call(this);\n };\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nvar passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n }\n });\n window.addEventListener('test', options, options);\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\n// an identifier to tell ZoneTask do not create a new invoke closure\nvar OPTIMIZED_ZONE_EVENT_TASK_DATA = {\n useG: true\n};\nvar zoneSymbolEventNames$1 = {};\nvar globalSources = {};\nvar EVENT_NAME_SYMBOL_REGX = /^__zone_symbol__(\\w+)(true|false)$/;\nvar IMMEDIATE_PROPAGATION_SYMBOL = ('__zone_symbol__propagationStopped');\nfunction patchEventTarget(_global, apis, patchOptions) {\n var ADD_EVENT_LISTENER = (patchOptions && patchOptions.add) || ADD_EVENT_LISTENER_STR;\n var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.rm) || REMOVE_EVENT_LISTENER_STR;\n var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listeners) || 'eventListeners';\n var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.rmAll) || 'removeAllListeners';\n var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);\n var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';\n var PREPEND_EVENT_LISTENER = 'prependListener';\n var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';\n var invokeTask = function (task, target, event) {\n // for better performance, check isRemoved which is set\n // by removeEventListener\n if (task.isRemoved) {\n return;\n }\n var delegate = task.callback;\n if (typeof delegate === 'object' && delegate.handleEvent) {\n // create the bind version of handleEvent when invoke\n task.callback = function (event) { return delegate.handleEvent(event); };\n task.originalDelegate = delegate;\n }\n // invoke static task.invoke\n task.invoke(task, target, [event]);\n var options = task.options;\n if (options && typeof options === 'object' && options.once) {\n // if options.once is true, after invoke once remove listener here\n // only browser need to do this, nodejs eventEmitter will cal removeListener\n // inside EventEmitter.once\n var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback;\n target[REMOVE_EVENT_LISTENER].call(target, event.type, delegate_1, options);\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = false\n var globalZoneAwareCallback = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n // event.target is needed for Samsung TV and SourceBuffer\n // || global is needed https://github.com/angular/zone.js/issues/190\n var target = this || event.target || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n break;\n }\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = true\n var globalZoneAwareCaptureCallback = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n // event.target is needed for Samsung TV and SourceBuffer\n // || global is needed https://github.com/angular/zone.js/issues/190\n var target = this || event.target || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n break;\n }\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n function patchEventTargetMethods(obj, patchOptions) {\n if (!obj) {\n return false;\n }\n var useGlobalCallback = true;\n if (patchOptions && patchOptions.useG !== undefined) {\n useGlobalCallback = patchOptions.useG;\n }\n var validateHandler = patchOptions && patchOptions.vh;\n var checkDuplicate = true;\n if (patchOptions && patchOptions.chkDup !== undefined) {\n checkDuplicate = patchOptions.chkDup;\n }\n var returnTarget = false;\n if (patchOptions && patchOptions.rt !== undefined) {\n returnTarget = patchOptions.rt;\n }\n var proto = obj;\n while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {\n proto = ObjectGetPrototypeOf(proto);\n }\n if (!proto && obj[ADD_EVENT_LISTENER]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = obj;\n }\n if (!proto) {\n return false;\n }\n if (proto[zoneSymbolAddEventListener]) {\n return false;\n }\n var eventNameToString = patchOptions && patchOptions.eventNameToString;\n // a shared global taskData to pass data for scheduleEventTask\n // so we do not need to create a new object just for pass some data\n var taskData = {};\n var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];\n var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] =\n proto[REMOVE_EVENT_LISTENER];\n var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] =\n proto[LISTENERS_EVENT_LISTENER];\n var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] =\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];\n var nativePrependEventListener;\n if (patchOptions && patchOptions.prepend) {\n nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] =\n proto[patchOptions.prepend];\n }\n function checkIsPassive(task) {\n if (!passiveSupported && typeof taskData.options !== 'boolean' &&\n typeof taskData.options !== 'undefined' && taskData.options !== null) {\n // options is a non-null non-undefined object\n // passive is not supported\n // don't pass options as object\n // just pass capture as a boolean\n task.options = !!taskData.options.capture;\n taskData.options = task.options;\n }\n }\n var customScheduleGlobal = function (task) {\n // if there is already a task for the eventName + capture,\n // just return, because we use the shared globalZoneAwareCallback here.\n if (taskData.isExisting) {\n return;\n }\n checkIsPassive(task);\n return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options);\n };\n var customCancelGlobal = function (task) {\n // if task is not marked as isRemoved, this call is directly\n // from Zone.prototype.cancelTask, we should remove the task\n // from tasksList of target first\n if (!task.isRemoved) {\n var symbolEventNames = zoneSymbolEventNames$1[task.eventName];\n var symbolEventName = void 0;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && task.target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n if (existingTask === task) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n task.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n task.allRemoved = true;\n task.target[symbolEventName] = null;\n }\n break;\n }\n }\n }\n }\n // if all tasks for the eventName + capture have gone,\n // we will really remove the global event callback,\n // if not, return\n if (!task.allRemoved) {\n return;\n }\n return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options);\n };\n var customScheduleNonGlobal = function (task) {\n checkIsPassive(task);\n return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n };\n var customSchedulePrepend = function (task) {\n return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n };\n var customCancelNonGlobal = function (task) {\n return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options);\n };\n var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;\n var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;\n var compareTaskCallbackVsDelegate = function (task, delegate) {\n var typeOfDelegate = typeof delegate;\n return (typeOfDelegate === 'function' && task.callback === delegate) ||\n (typeOfDelegate === 'object' && task.originalDelegate === delegate);\n };\n var compare = (patchOptions && patchOptions.diff) ? patchOptions.diff : compareTaskCallbackVsDelegate;\n var blackListedEvents = Zone[Zone.__symbol__('BLACK_LISTED_EVENTS')];\n var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) {\n if (returnTarget === void 0) { returnTarget = false; }\n if (prepend === void 0) { prepend = false; }\n return function () {\n var target = this || _global;\n var eventName = arguments[0];\n var delegate = arguments[1];\n if (!delegate) {\n return nativeListener.apply(this, arguments);\n }\n if (isNode && eventName === 'uncaughtException') {\n // don't patch uncaughtException of nodejs to prevent endless loop\n return nativeListener.apply(this, arguments);\n }\n // don't create the bind delegate function for handleEvent\n // case here to improve addEventListener performance\n // we will create the bind delegate when invoke\n var isHandleEvent = false;\n if (typeof delegate !== 'function') {\n if (!delegate.handleEvent) {\n return nativeListener.apply(this, arguments);\n }\n isHandleEvent = true;\n }\n if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {\n return;\n }\n var options = arguments[2];\n if (blackListedEvents) {\n // check black list\n for (var i = 0; i < blackListedEvents.length; i++) {\n if (eventName === blackListedEvents[i]) {\n return nativeListener.apply(this, arguments);\n }\n }\n }\n var capture;\n var once = false;\n if (options === undefined) {\n capture = false;\n }\n else if (options === true) {\n capture = true;\n }\n else if (options === false) {\n capture = false;\n }\n else {\n capture = options ? !!options.capture : false;\n once = options ? !!options.once : false;\n }\n var zone = Zone.current;\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n var symbolEventName;\n if (!symbolEventNames) {\n // the code is duplicate, but I just want to get some better performance\n var falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR;\n var trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames$1[eventName] = {};\n zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\n symbolEventName = capture ? symbolCapture : symbol;\n }\n else {\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = target[symbolEventName];\n var isExisting = false;\n if (existingTasks) {\n // already have task registered\n isExisting = true;\n if (checkDuplicate) {\n for (var i = 0; i < existingTasks.length; i++) {\n if (compare(existingTasks[i], delegate)) {\n // same callback, same capture, same event name, just return\n return;\n }\n }\n }\n }\n else {\n existingTasks = target[symbolEventName] = [];\n }\n var source;\n var constructorName = target.constructor['name'];\n var targetSource = globalSources[constructorName];\n if (targetSource) {\n source = targetSource[eventName];\n }\n if (!source) {\n source = constructorName + addSource +\n (eventNameToString ? eventNameToString(eventName) : eventName);\n }\n // do not create a new object as task.data to pass those things\n // just use the global shared one\n taskData.options = options;\n if (once) {\n // if addEventListener with once options, we don't pass it to\n // native addEventListener, instead we keep the once setting\n // and handle ourselves.\n taskData.options.once = false;\n }\n taskData.target = target;\n taskData.capture = capture;\n taskData.eventName = eventName;\n taskData.isExisting = isExisting;\n var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined;\n // keep taskData into data to allow onScheduleEventTask to access the task information\n if (data) {\n data.taskData = taskData;\n }\n var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn);\n // should clear taskData.target to avoid memory leak\n // issue, https://github.com/angular/angular/issues/20442\n taskData.target = null;\n // need to clear up taskData because it is a global object\n if (data) {\n data.taskData = null;\n }\n // have to save those information to task in case\n // application may call task.zone.cancelTask() directly\n if (once) {\n options.once = true;\n }\n if (!(!passiveSupported && typeof task.options === 'boolean')) {\n // if not support passive, and we pass an option object\n // to addEventListener, we should save the options to task\n task.options = options;\n }\n task.target = target;\n task.capture = capture;\n task.eventName = eventName;\n if (isHandleEvent) {\n // save original delegate for compare to check duplicate\n task.originalDelegate = delegate;\n }\n if (!prepend) {\n existingTasks.push(task);\n }\n else {\n existingTasks.unshift(task);\n }\n if (returnTarget) {\n return target;\n }\n };\n };\n proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);\n if (nativePrependEventListener) {\n proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);\n }\n proto[REMOVE_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n var options = arguments[2];\n var capture;\n if (options === undefined) {\n capture = false;\n }\n else if (options === true) {\n capture = true;\n }\n else if (options === false) {\n capture = false;\n }\n else {\n capture = options ? !!options.capture : false;\n }\n var delegate = arguments[1];\n if (!delegate) {\n return nativeRemoveEventListener.apply(this, arguments);\n }\n if (validateHandler &&\n !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {\n return;\n }\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n var symbolEventName;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n if (compare(existingTask, delegate)) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n existingTask.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n existingTask.allRemoved = true;\n target[symbolEventName] = null;\n }\n existingTask.zone.cancelTask(existingTask);\n if (returnTarget) {\n return target;\n }\n return;\n }\n }\n }\n // issue 930, didn't find the event name or callback\n // from zone kept existingTasks, the callback maybe\n // added outside of zone, we need to call native removeEventListener\n // to try to remove it.\n return nativeRemoveEventListener.apply(this, arguments);\n };\n proto[LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n var listeners = [];\n var tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName);\n for (var i = 0; i < tasks.length; i++) {\n var task = tasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n listeners.push(delegate);\n }\n return listeners;\n };\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (!eventName) {\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n var prop = keys[i];\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n // in nodejs EventEmitter, removeListener event is\n // used for monitoring the removeListener call,\n // so just keep removeListener eventListener until\n // all other eventListeners are removed\n if (evtName && evtName !== 'removeListener') {\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName);\n }\n }\n // remove removeListener listener finally\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener');\n }\n else {\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n if (symbolEventNames) {\n var symbolEventName = symbolEventNames[FALSE_STR];\n var symbolCaptureEventName = symbolEventNames[TRUE_STR];\n var tasks = target[symbolEventName];\n var captureTasks = target[symbolCaptureEventName];\n if (tasks) {\n var removeTasks = tasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n }\n }\n if (captureTasks) {\n var removeTasks = captureTasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n }\n }\n }\n }\n if (returnTarget) {\n return this;\n }\n };\n // for native toString patch\n attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);\n attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);\n if (nativeRemoveAllListeners) {\n attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);\n }\n if (nativeListeners) {\n attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);\n }\n return true;\n }\n var results = [];\n for (var i = 0; i < apis.length; i++) {\n results[i] = patchEventTargetMethods(apis[i], patchOptions);\n }\n return results;\n}\nfunction findEventTasks(target, eventName) {\n var foundTasks = [];\n for (var prop in target) {\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n if (evtName && (!eventName || evtName === eventName)) {\n var tasks = target[prop];\n if (tasks) {\n for (var i = 0; i < tasks.length; i++) {\n foundTasks.push(tasks[i]);\n }\n }\n }\n }\n return foundTasks;\n}\nfunction patchEventPrototype(global, api) {\n var Event = global['Event'];\n if (Event && Event.prototype) {\n api.patchMethod(Event.prototype, 'stopImmediatePropagation', function (delegate) { return function (self, args) {\n self[IMMEDIATE_PROPAGATION_SYMBOL] = true;\n // we need to call the native stopImmediatePropagation\n // in case in some hybrid application, some part of\n // application will be controlled by zone, some are not\n delegate && delegate.apply(self, args);\n }; });\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction patchCallbacks(api, target, targetName, method, callbacks) {\n var symbol = Zone.__symbol__(method);\n if (target[symbol]) {\n return;\n }\n var nativeDelegate = target[symbol] = target[method];\n target[method] = function (name, opts, options) {\n if (opts && opts.prototype) {\n callbacks.forEach(function (callback) {\n var source = targetName + \".\" + method + \"::\" + callback;\n var prototype = opts.prototype;\n if (prototype.hasOwnProperty(callback)) {\n var descriptor = api.ObjectGetOwnPropertyDescriptor(prototype, callback);\n if (descriptor && descriptor.value) {\n descriptor.value = api.wrapWithCurrentZone(descriptor.value, source);\n api._redefineProperty(opts.prototype, callback, descriptor);\n }\n else if (prototype[callback]) {\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n }\n }\n else if (prototype[callback]) {\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n }\n });\n }\n return nativeDelegate.call(target, name, opts, options);\n };\n api.attachOriginToPatched(target[method], nativeDelegate);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/*\n * This is necessary for Chrome and Chrome mobile, to enable\n * things like redefining `createdCallback` on an element.\n */\nvar zoneSymbol$1 = Zone.__symbol__;\nvar _defineProperty = Object[zoneSymbol$1('defineProperty')] = Object.defineProperty;\nvar _getOwnPropertyDescriptor = Object[zoneSymbol$1('getOwnPropertyDescriptor')] =\n Object.getOwnPropertyDescriptor;\nvar _create = Object.create;\nvar unconfigurablesKey = zoneSymbol$1('unconfigurables');\nfunction propertyPatch() {\n Object.defineProperty = function (obj, prop, desc) {\n if (isUnconfigurable(obj, prop)) {\n throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n }\n var originalConfigurableFlag = desc.configurable;\n if (prop !== 'prototype') {\n desc = rewriteDescriptor(obj, prop, desc);\n }\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n };\n Object.defineProperties = function (obj, props) {\n Object.keys(props).forEach(function (prop) {\n Object.defineProperty(obj, prop, props[prop]);\n });\n return obj;\n };\n Object.create = function (obj, proto) {\n if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n Object.keys(proto).forEach(function (prop) {\n proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n });\n }\n return _create(obj, proto);\n };\n Object.getOwnPropertyDescriptor = function (obj, prop) {\n var desc = _getOwnPropertyDescriptor(obj, prop);\n if (desc && isUnconfigurable(obj, prop)) {\n desc.configurable = false;\n }\n return desc;\n };\n}\nfunction _redefineProperty(obj, prop, desc) {\n var originalConfigurableFlag = desc.configurable;\n desc = rewriteDescriptor(obj, prop, desc);\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n}\nfunction isUnconfigurable(obj, prop) {\n return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n}\nfunction rewriteDescriptor(obj, prop, desc) {\n // issue-927, if the desc is frozen, don't try to change the desc\n if (!Object.isFrozen(desc)) {\n desc.configurable = true;\n }\n if (!desc.configurable) {\n // issue-927, if the obj is frozen, don't try to set the desc to obj\n if (!obj[unconfigurablesKey] && !Object.isFrozen(obj)) {\n _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n }\n if (obj[unconfigurablesKey]) {\n obj[unconfigurablesKey][prop] = true;\n }\n }\n return desc;\n}\nfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n if (desc.configurable) {\n // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n // retry with the original flag value\n if (typeof originalConfigurableFlag == 'undefined') {\n delete desc.configurable;\n }\n else {\n desc.configurable = originalConfigurableFlag;\n }\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n var descJson = null;\n try {\n descJson = JSON.stringify(desc);\n }\n catch (error) {\n descJson = desc.toString();\n }\n console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + error);\n }\n }\n else {\n throw error;\n }\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {globalThis}\n */\nvar globalEventHandlersEventNames = [\n 'abort',\n 'animationcancel',\n 'animationend',\n 'animationiteration',\n 'auxclick',\n 'beforeinput',\n 'blur',\n 'cancel',\n 'canplay',\n 'canplaythrough',\n 'change',\n 'compositionstart',\n 'compositionupdate',\n 'compositionend',\n 'cuechange',\n 'click',\n 'close',\n 'contextmenu',\n 'curechange',\n 'dblclick',\n 'drag',\n 'dragend',\n 'dragenter',\n 'dragexit',\n 'dragleave',\n 'dragover',\n 'drop',\n 'durationchange',\n 'emptied',\n 'ended',\n 'error',\n 'focus',\n 'focusin',\n 'focusout',\n 'gotpointercapture',\n 'input',\n 'invalid',\n 'keydown',\n 'keypress',\n 'keyup',\n 'load',\n 'loadstart',\n 'loadeddata',\n 'loadedmetadata',\n 'lostpointercapture',\n 'mousedown',\n 'mouseenter',\n 'mouseleave',\n 'mousemove',\n 'mouseout',\n 'mouseover',\n 'mouseup',\n 'mousewheel',\n 'orientationchange',\n 'pause',\n 'play',\n 'playing',\n 'pointercancel',\n 'pointerdown',\n 'pointerenter',\n 'pointerleave',\n 'pointerlockchange',\n 'mozpointerlockchange',\n 'webkitpointerlockerchange',\n 'pointerlockerror',\n 'mozpointerlockerror',\n 'webkitpointerlockerror',\n 'pointermove',\n 'pointout',\n 'pointerover',\n 'pointerup',\n 'progress',\n 'ratechange',\n 'reset',\n 'resize',\n 'scroll',\n 'seeked',\n 'seeking',\n 'select',\n 'selectionchange',\n 'selectstart',\n 'show',\n 'sort',\n 'stalled',\n 'submit',\n 'suspend',\n 'timeupdate',\n 'volumechange',\n 'touchcancel',\n 'touchmove',\n 'touchstart',\n 'touchend',\n 'transitioncancel',\n 'transitionend',\n 'waiting',\n 'wheel'\n];\nvar documentEventNames = [\n 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'freeze', 'fullscreenchange',\n 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror',\n 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange',\n 'visibilitychange', 'resume'\n];\nvar windowEventNames = [\n 'absolutedeviceorientation',\n 'afterinput',\n 'afterprint',\n 'appinstalled',\n 'beforeinstallprompt',\n 'beforeprint',\n 'beforeunload',\n 'devicelight',\n 'devicemotion',\n 'deviceorientation',\n 'deviceorientationabsolute',\n 'deviceproximity',\n 'hashchange',\n 'languagechange',\n 'message',\n 'mozbeforepaint',\n 'offline',\n 'online',\n 'paint',\n 'pageshow',\n 'pagehide',\n 'popstate',\n 'rejectionhandled',\n 'storage',\n 'unhandledrejection',\n 'unload',\n 'userproximity',\n 'vrdisplyconnected',\n 'vrdisplaydisconnected',\n 'vrdisplaypresentchange'\n];\nvar htmlElementEventNames = [\n 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend',\n 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend',\n 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend'\n];\nvar mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend'];\nvar ieElementEventNames = [\n 'activate',\n 'afterupdate',\n 'ariarequest',\n 'beforeactivate',\n 'beforedeactivate',\n 'beforeeditfocus',\n 'beforeupdate',\n 'cellchange',\n 'controlselect',\n 'dataavailable',\n 'datasetchanged',\n 'datasetcomplete',\n 'errorupdate',\n 'filterchange',\n 'layoutcomplete',\n 'losecapture',\n 'move',\n 'moveend',\n 'movestart',\n 'propertychange',\n 'resizeend',\n 'resizestart',\n 'rowenter',\n 'rowexit',\n 'rowsdelete',\n 'rowsinserted',\n 'command',\n 'compassneedscalibration',\n 'deactivate',\n 'help',\n 'mscontentzoom',\n 'msmanipulationstatechanged',\n 'msgesturechange',\n 'msgesturedoubletap',\n 'msgestureend',\n 'msgesturehold',\n 'msgesturestart',\n 'msgesturetap',\n 'msgotpointercapture',\n 'msinertiastart',\n 'mslostpointercapture',\n 'mspointercancel',\n 'mspointerdown',\n 'mspointerenter',\n 'mspointerhover',\n 'mspointerleave',\n 'mspointermove',\n 'mspointerout',\n 'mspointerover',\n 'mspointerup',\n 'pointerout',\n 'mssitemodejumplistitemremoved',\n 'msthumbnailclick',\n 'stop',\n 'storagecommit'\n];\nvar webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror'];\nvar formEventNames = ['autocomplete', 'autocompleteerror'];\nvar detailEventNames = ['toggle'];\nvar frameEventNames = ['load'];\nvar frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror'];\nvar marqueeEventNames = ['bounce', 'finish', 'start'];\nvar XMLHttpRequestEventNames = [\n 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend',\n 'readystatechange'\n];\nvar IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close'];\nvar websocketEventNames = ['close', 'error', 'open', 'message'];\nvar workerEventNames = ['error', 'message'];\nvar eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames);\nfunction filterProperties(target, onProperties, ignoreProperties) {\n if (!ignoreProperties || ignoreProperties.length === 0) {\n return onProperties;\n }\n var tip = ignoreProperties.filter(function (ip) { return ip.target === target; });\n if (!tip || tip.length === 0) {\n return onProperties;\n }\n var targetIgnoreProperties = tip[0].ignoreProperties;\n return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; });\n}\nfunction patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {\n // check whether target is available, sometimes target will be undefined\n // because different browser or some 3rd party plugin.\n if (!target) {\n return;\n }\n var filteredProperties = filterProperties(target, onProperties, ignoreProperties);\n patchOnProperties(target, filteredProperties, prototype);\n}\nfunction propertyDescriptorPatch(api, _global) {\n if (isNode && !isMix) {\n return;\n }\n if (Zone[api.symbol('patchEvents')]) {\n // events are already been patched by legacy patch.\n return;\n }\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n var ignoreProperties = _global['__Zone_ignore_on_properties'];\n // for browsers that we can patch the descriptor: Chrome & Firefox\n if (isBrowser) {\n var internalWindow = window;\n var ignoreErrorProperties = isIE ? [{ target: internalWindow, ignoreProperties: ['error'] }] : [];\n // in IE/Edge, onProp not exist in window object, but in WindowPrototype\n // so we need to pass WindowPrototype to check onProp exist or not\n patchFilteredProperties(internalWindow, eventNames.concat(['messageerror']), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(internalWindow));\n patchFilteredProperties(Document.prototype, eventNames, ignoreProperties);\n if (typeof internalWindow['SVGElement'] !== 'undefined') {\n patchFilteredProperties(internalWindow['SVGElement'].prototype, eventNames, ignoreProperties);\n }\n patchFilteredProperties(Element.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties);\n patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties);\n patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties);\n var HTMLMarqueeElement_1 = internalWindow['HTMLMarqueeElement'];\n if (HTMLMarqueeElement_1) {\n patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties);\n }\n var Worker_1 = internalWindow['Worker'];\n if (Worker_1) {\n patchFilteredProperties(Worker_1.prototype, workerEventNames, ignoreProperties);\n }\n }\n var XMLHttpRequest = _global['XMLHttpRequest'];\n if (XMLHttpRequest) {\n // XMLHttpRequest is not available in ServiceWorker, so we need to check here\n patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties);\n }\n var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget) {\n patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties);\n }\n if (typeof IDBIndex !== 'undefined') {\n patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties);\n }\n if (supportsWebSocket) {\n patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties);\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nZone.__load_patch('util', function (global, Zone, api) {\n api.patchOnProperties = patchOnProperties;\n api.patchMethod = patchMethod;\n api.bindArguments = bindArguments;\n api.patchMacroTask = patchMacroTask;\n // In earlier version of zone.js (<0.9.0), we use env name `__zone_symbol__BLACK_LISTED_EVENTS` to\n // define which events will not be patched by `Zone.js`.\n // In newer version (>=0.9.0), we change the env name to `__zone_symbol__UNPATCHED_EVENTS` to keep\n // the name consistent with angular repo.\n // The `__zone_symbol__BLACK_LISTED_EVENTS` is deprecated, but it is still be supported for\n // backwards compatibility.\n var SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS');\n var SYMBOL_UNPATCHED_EVENTS = Zone.__symbol__('UNPATCHED_EVENTS');\n if (global[SYMBOL_UNPATCHED_EVENTS]) {\n global[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_UNPATCHED_EVENTS];\n }\n if (global[SYMBOL_BLACK_LISTED_EVENTS]) {\n Zone[SYMBOL_BLACK_LISTED_EVENTS] = Zone[SYMBOL_UNPATCHED_EVENTS] =\n global[SYMBOL_BLACK_LISTED_EVENTS];\n }\n api.patchEventPrototype = patchEventPrototype;\n api.patchEventTarget = patchEventTarget;\n api.isIEOrEdge = isIEOrEdge;\n api.ObjectDefineProperty = ObjectDefineProperty;\n api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;\n api.ObjectCreate = ObjectCreate;\n api.ArraySlice = ArraySlice;\n api.patchClass = patchClass;\n api.wrapWithCurrentZone = wrapWithCurrentZone;\n api.filterProperties = filterProperties;\n api.attachOriginToPatched = attachOriginToPatched;\n api._redefineProperty = _redefineProperty;\n api.patchCallbacks = patchCallbacks;\n api.getGlobalObjects = function () { return ({\n globalSources: globalSources,\n zoneSymbolEventNames: zoneSymbolEventNames$1,\n eventNames: eventNames,\n isBrowser: isBrowser,\n isMix: isMix,\n isNode: isNode,\n TRUE_STR: TRUE_STR,\n FALSE_STR: FALSE_STR,\n ZONE_SYMBOL_PREFIX: ZONE_SYMBOL_PREFIX,\n ADD_EVENT_LISTENER_STR: ADD_EVENT_LISTENER_STR,\n REMOVE_EVENT_LISTENER_STR: REMOVE_EVENT_LISTENER_STR\n }); };\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction eventTargetLegacyPatch(_global, api) {\n var _a = api.getGlobalObjects(), eventNames = _a.eventNames, globalSources = _a.globalSources, zoneSymbolEventNames = _a.zoneSymbolEventNames, TRUE_STR = _a.TRUE_STR, FALSE_STR = _a.FALSE_STR, ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX;\n var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'\n .split(',');\n var EVENT_TARGET = 'EventTarget';\n var apis = [];\n var isWtf = _global['wtf'];\n var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(',');\n if (isWtf) {\n // Workaround for: https://github.com/google/tracing-framework/issues/555\n apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n }\n else if (_global[EVENT_TARGET]) {\n apis.push(EVENT_TARGET);\n }\n else {\n // Note: EventTarget is not available in all browsers,\n // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n apis = NO_EVENT_TARGET;\n }\n var isDisableIECheck = _global['__Zone_disable_IE_check'] || false;\n var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false;\n var ieOrEdge = api.isIEOrEdge();\n var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:';\n var FUNCTION_WRAPPER = '[object FunctionWrapper]';\n var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }';\n // predefine all __zone_symbol__ + eventName + true/false string\n for (var i = 0; i < eventNames.length; i++) {\n var eventName = eventNames[i];\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames[eventName] = {};\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n }\n // predefine all task.source string\n for (var i = 0; i < WTF_ISSUE_555.length; i++) {\n var target = WTF_ISSUE_555_ARRAY[i];\n var targets = globalSources[target] = {};\n for (var j = 0; j < eventNames.length; j++) {\n var eventName = eventNames[j];\n targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName;\n }\n }\n var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) {\n if (!isDisableIECheck && ieOrEdge) {\n if (isEnableCrossContextCheck) {\n try {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n else {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n }\n else if (isEnableCrossContextCheck) {\n try {\n delegate.toString();\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n return true;\n };\n var apiTypes = [];\n for (var i = 0; i < apis.length; i++) {\n var type = _global[apis[i]];\n apiTypes.push(type && type.prototype);\n }\n // vh is validateHandler to check event handler\n // is valid or not(for security check)\n api.patchEventTarget(_global, apiTypes, { vh: checkIEAndCrossContext });\n Zone[api.symbol('patchEventTarget')] = !!_global[EVENT_TARGET];\n return true;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// we have to patch the instance since the proto is non-configurable\nfunction apply(api, _global) {\n var _a = api.getGlobalObjects(), ADD_EVENT_LISTENER_STR = _a.ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR = _a.REMOVE_EVENT_LISTENER_STR;\n var WS = _global.WebSocket;\n // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n // On older Chrome, no need since EventTarget was already patched\n if (!_global.EventTarget) {\n api.patchEventTarget(_global, [WS.prototype]);\n }\n _global.WebSocket = function (x, y) {\n var socket = arguments.length > 1 ? new WS(x, y) : new WS(x);\n var proxySocket;\n var proxySocketProto;\n // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n var onmessageDesc = api.ObjectGetOwnPropertyDescriptor(socket, 'onmessage');\n if (onmessageDesc && onmessageDesc.configurable === false) {\n proxySocket = api.ObjectCreate(socket);\n // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror'\n // but proxySocket not, so we will keep socket as prototype and pass it to\n // patchOnProperties method\n proxySocketProto = socket;\n [ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR, 'send', 'close'].forEach(function (propName) {\n proxySocket[propName] = function () {\n var args = api.ArraySlice.call(arguments);\n if (propName === ADD_EVENT_LISTENER_STR || propName === REMOVE_EVENT_LISTENER_STR) {\n var eventName = args.length > 0 ? args[0] : undefined;\n if (eventName) {\n var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName);\n socket[propertySymbol] = proxySocket[propertySymbol];\n }\n }\n return socket[propName].apply(socket, args);\n };\n });\n }\n else {\n // we can patch the real socket\n proxySocket = socket;\n }\n api.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto);\n return proxySocket;\n };\n var globalWebSocket = _global['WebSocket'];\n for (var prop in WS) {\n globalWebSocket[prop] = WS[prop];\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {globalThis}\n */\nfunction propertyDescriptorLegacyPatch(api, _global) {\n var _a = api.getGlobalObjects(), isNode = _a.isNode, isMix = _a.isMix;\n if (isNode && !isMix) {\n return;\n }\n if (!canPatchViaPropertyDescriptor(api, _global)) {\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n // Safari, Android browsers (Jelly Bean)\n patchViaCapturingAllTheEvents(api);\n api.patchClass('XMLHttpRequest');\n if (supportsWebSocket) {\n apply(api, _global);\n }\n Zone[api.symbol('patchEvents')] = true;\n }\n}\nfunction canPatchViaPropertyDescriptor(api, _global) {\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\n if ((isBrowser || isMix) &&\n !api.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\n typeof Element !== 'undefined') {\n // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n // IDL interface attributes are not configurable\n var desc = api.ObjectGetOwnPropertyDescriptor(Element.prototype, 'onclick');\n if (desc && !desc.configurable)\n return false;\n // try to use onclick to detect whether we can patch via propertyDescriptor\n // because XMLHttpRequest is not available in service worker\n if (desc) {\n api.ObjectDefineProperty(Element.prototype, 'onclick', {\n enumerable: true,\n configurable: true,\n get: function () {\n return true;\n }\n });\n var div = document.createElement('div');\n var result = !!div.onclick;\n api.ObjectDefineProperty(Element.prototype, 'onclick', desc);\n return result;\n }\n }\n var XMLHttpRequest = _global['XMLHttpRequest'];\n if (!XMLHttpRequest) {\n // XMLHttpRequest is not available in service worker\n return false;\n }\n var ON_READY_STATE_CHANGE = 'onreadystatechange';\n var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n var xhrDesc = api.ObjectGetOwnPropertyDescriptor(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE);\n // add enumerable and configurable here because in opera\n // by default XMLHttpRequest.prototype.onreadystatechange is undefined\n // without adding enumerable and configurable will cause onreadystatechange\n // non-configurable\n // and if XMLHttpRequest.prototype.onreadystatechange is undefined,\n // we should set a real desc instead a fake one\n if (xhrDesc) {\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {\n enumerable: true,\n configurable: true,\n get: function () {\n return true;\n }\n });\n var req = new XMLHttpRequest();\n var result = !!req.onreadystatechange;\n // restore original desc\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, xhrDesc || {});\n return result;\n }\n else {\n var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = api.symbol('fake');\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {\n enumerable: true,\n configurable: true,\n get: function () {\n return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1];\n },\n set: function (value) {\n this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value;\n }\n });\n var req = new XMLHttpRequest();\n var detectFunc = function () { };\n req.onreadystatechange = detectFunc;\n var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc;\n req.onreadystatechange = null;\n return result;\n }\n}\n// Whenever any eventListener fires, we check the eventListener target and all parents\n// for `onwhatever` properties and replace them with zone-bound functions\n// - Chrome (for now)\nfunction patchViaCapturingAllTheEvents(api) {\n var eventNames = api.getGlobalObjects().eventNames;\n var unboundKey = api.symbol('unbound');\n var _loop_1 = function (i) {\n var property = eventNames[i];\n var onproperty = 'on' + property;\n self.addEventListener(property, function (event) {\n var elt = event.target, bound, source;\n if (elt) {\n source = elt.constructor['name'] + '.' + onproperty;\n }\n else {\n source = 'unknown.' + onproperty;\n }\n while (elt) {\n if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n bound = api.wrapWithCurrentZone(elt[onproperty], source);\n bound[unboundKey] = elt[onproperty];\n elt[onproperty] = bound;\n }\n elt = elt.parentElement;\n }\n }, true);\n };\n for (var i = 0; i < eventNames.length; i++) {\n _loop_1(i);\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction registerElementPatch(_global, api) {\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\n if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) {\n return;\n }\n var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n api.patchCallbacks(api, document, 'Document', 'registerElement', callbacks);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\n(function (_global) {\n _global['__zone_symbol__legacyPatch'] = function () {\n var Zone = _global['Zone'];\n Zone.__load_patch('registerElement', function (global, Zone, api) {\n registerElementPatch(global, api);\n });\n Zone.__load_patch('EventTargetLegacy', function (global, Zone, api) {\n eventTargetLegacyPatch(global, api);\n propertyDescriptorLegacyPatch(api, global);\n });\n };\n})(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nvar taskSymbol = zoneSymbol('zoneTask');\nfunction patchTimer(window, setName, cancelName, nameSuffix) {\n var setNative = null;\n var clearNative = null;\n setName += nameSuffix;\n cancelName += nameSuffix;\n var tasksByHandleId = {};\n function scheduleTask(task) {\n var data = task.data;\n function timer() {\n try {\n task.invoke.apply(this, arguments);\n }\n finally {\n // issue-934, task will be cancelled\n // even it is a periodic task such as\n // setInterval\n if (!(task.data && task.data.isPeriodic)) {\n if (typeof data.handleId === 'number') {\n // in non-nodejs env, we remove timerId\n // from local cache\n delete tasksByHandleId[data.handleId];\n }\n else if (data.handleId) {\n // Node returns complex objects as handleIds\n // we remove task reference from timer object\n data.handleId[taskSymbol] = null;\n }\n }\n }\n }\n data.args[0] = timer;\n data.handleId = setNative.apply(window, data.args);\n return task;\n }\n function clearTask(task) {\n return clearNative(task.data.handleId);\n }\n setNative =\n patchMethod(window, setName, function (delegate) { return function (self, args) {\n if (typeof args[0] === 'function') {\n var options = {\n isPeriodic: nameSuffix === 'Interval',\n delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 :\n undefined,\n args: args\n };\n var task = scheduleMacroTaskWithCurrentZone(setName, args[0], options, scheduleTask, clearTask);\n if (!task) {\n return task;\n }\n // Node.js must additionally support the ref and unref functions.\n var handle = task.data.handleId;\n if (typeof handle === 'number') {\n // for non nodejs env, we save handleId: task\n // mapping in local cache for clearTimeout\n tasksByHandleId[handle] = task;\n }\n else if (handle) {\n // for nodejs env, we save task\n // reference in timerId Object for clearTimeout\n handle[taskSymbol] = task;\n }\n // check whether handle is null, because some polyfill or browser\n // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame\n if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' &&\n typeof handle.unref === 'function') {\n task.ref = handle.ref.bind(handle);\n task.unref = handle.unref.bind(handle);\n }\n if (typeof handle === 'number' || handle) {\n return handle;\n }\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(window, args);\n }\n }; });\n clearNative =\n patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n var id = args[0];\n var task;\n if (typeof id === 'number') {\n // non nodejs env.\n task = tasksByHandleId[id];\n }\n else {\n // nodejs env.\n task = id && id[taskSymbol];\n // other environments.\n if (!task) {\n task = id;\n }\n }\n if (task && typeof task.type === 'string') {\n if (task.state !== 'notScheduled' &&\n (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {\n if (typeof id === 'number') {\n delete tasksByHandleId[id];\n }\n else if (id) {\n id[taskSymbol] = null;\n }\n // Do not cancel already canceled functions\n task.zone.cancelTask(task);\n }\n }\n else {\n // cause an error by calling it directly.\n delegate.apply(window, args);\n }\n }; });\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction patchCustomElements(_global, api) {\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\n if ((!isBrowser && !isMix) || !_global['customElements'] || !('customElements' in _global)) {\n return;\n }\n var callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback'];\n api.patchCallbacks(api, _global.customElements, 'customElements', 'define', callbacks);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction eventTargetPatch(_global, api) {\n if (Zone[api.symbol('patchEventTarget')]) {\n // EventTarget is already patched.\n return;\n }\n var _a = api.getGlobalObjects(), eventNames = _a.eventNames, zoneSymbolEventNames = _a.zoneSymbolEventNames, TRUE_STR = _a.TRUE_STR, FALSE_STR = _a.FALSE_STR, ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX;\n // predefine all __zone_symbol__ + eventName + true/false string\n for (var i = 0; i < eventNames.length; i++) {\n var eventName = eventNames[i];\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames[eventName] = {};\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n }\n var EVENT_TARGET = _global['EventTarget'];\n if (!EVENT_TARGET || !EVENT_TARGET.prototype) {\n return;\n }\n api.patchEventTarget(_global, [EVENT_TARGET && EVENT_TARGET.prototype]);\n return true;\n}\nfunction patchEvent$1(global, api) {\n api.patchEventPrototype(global, api);\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * @fileoverview\n * @suppress {missingRequire}\n */\nZone.__load_patch('legacy', function (global) {\n var legacyPatch = global[Zone.__symbol__('legacyPatch')];\n if (legacyPatch) {\n legacyPatch();\n }\n});\nZone.__load_patch('timers', function (global) {\n var set = 'set';\n var clear = 'clear';\n patchTimer(global, set, clear, 'Timeout');\n patchTimer(global, set, clear, 'Interval');\n patchTimer(global, set, clear, 'Immediate');\n});\nZone.__load_patch('requestAnimationFrame', function (global) {\n patchTimer(global, 'request', 'cancel', 'AnimationFrame');\n patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n});\nZone.__load_patch('blocking', function (global, Zone) {\n var blockingMethods = ['alert', 'prompt', 'confirm'];\n for (var i = 0; i < blockingMethods.length; i++) {\n var name_1 = blockingMethods[i];\n patchMethod(global, name_1, function (delegate, symbol, name) {\n return function (s, args) {\n return Zone.current.run(delegate, global, args, name);\n };\n });\n }\n});\nZone.__load_patch('EventTarget', function (global, Zone, api) {\n patchEvent$1(global, api);\n eventTargetPatch(global, api);\n // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener\n var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {\n api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]);\n }\n patchClass('MutationObserver');\n patchClass('WebKitMutationObserver');\n patchClass('IntersectionObserver');\n patchClass('FileReader');\n});\nZone.__load_patch('on_property', function (global, Zone, api) {\n propertyDescriptorPatch(api, global);\n propertyPatch();\n});\nZone.__load_patch('customElements', function (global, Zone, api) {\n patchCustomElements(global, api);\n});\nZone.__load_patch('XHR', function (global, Zone) {\n // Treat XMLHttpRequest as a macrotask.\n patchXHR(global);\n var XHR_TASK = zoneSymbol('xhrTask');\n var XHR_SYNC = zoneSymbol('xhrSync');\n var XHR_LISTENER = zoneSymbol('xhrListener');\n var XHR_SCHEDULED = zoneSymbol('xhrScheduled');\n var XHR_URL = zoneSymbol('xhrURL');\n var XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled');\n function patchXHR(window) {\n var XMLHttpRequest = window['XMLHttpRequest'];\n if (!XMLHttpRequest) {\n // XMLHttpRequest is not available in service worker\n return;\n }\n var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n function findPendingTask(target) {\n return target[XHR_TASK];\n }\n var oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n var oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n if (!oriAddListener) {\n var XMLHttpRequestEventTarget_1 = window['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget_1) {\n var XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget_1.prototype;\n oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n }\n }\n var READY_STATE_CHANGE = 'readystatechange';\n var SCHEDULED = 'scheduled';\n function scheduleTask(task) {\n var data = task.data;\n var target = data.target;\n target[XHR_SCHEDULED] = false;\n target[XHR_ERROR_BEFORE_SCHEDULED] = false;\n // remove existing event listener\n var listener = target[XHR_LISTENER];\n if (!oriAddListener) {\n oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n }\n if (listener) {\n oriRemoveListener.call(target, READY_STATE_CHANGE, listener);\n }\n var newListener = target[XHR_LISTENER] = function () {\n if (target.readyState === target.DONE) {\n // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with\n // readyState=4 multiple times, so we need to check task state here\n if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) {\n // check whether the xhr has registered onload listener\n // if that is the case, the task should invoke after all\n // onload listeners finish.\n var loadTasks = target['__zone_symbol__loadfalse'];\n if (loadTasks && loadTasks.length > 0) {\n var oriInvoke_1 = task.invoke;\n task.invoke = function () {\n // need to load the tasks again, because in other\n // load listener, they may remove themselves\n var loadTasks = target['__zone_symbol__loadfalse'];\n for (var i = 0; i < loadTasks.length; i++) {\n if (loadTasks[i] === task) {\n loadTasks.splice(i, 1);\n }\n }\n if (!data.aborted && task.state === SCHEDULED) {\n oriInvoke_1.call(task);\n }\n };\n loadTasks.push(task);\n }\n else {\n task.invoke();\n }\n }\n else if (!data.aborted && target[XHR_SCHEDULED] === false) {\n // error occurs when xhr.send()\n target[XHR_ERROR_BEFORE_SCHEDULED] = true;\n }\n }\n };\n oriAddListener.call(target, READY_STATE_CHANGE, newListener);\n var storedTask = target[XHR_TASK];\n if (!storedTask) {\n target[XHR_TASK] = task;\n }\n sendNative.apply(target, data.args);\n target[XHR_SCHEDULED] = true;\n return task;\n }\n function placeholderCallback() { }\n function clearTask(task) {\n var data = task.data;\n // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n // to prevent it from firing. So instead, we store info for the event listener.\n data.aborted = true;\n return abortNative.apply(data.target, data.args);\n }\n var openNative = patchMethod(XMLHttpRequestPrototype, 'open', function () { return function (self, args) {\n self[XHR_SYNC] = args[2] == false;\n self[XHR_URL] = args[1];\n return openNative.apply(self, args);\n }; });\n var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';\n var fetchTaskAborting = zoneSymbol('fetchTaskAborting');\n var fetchTaskScheduling = zoneSymbol('fetchTaskScheduling');\n var sendNative = patchMethod(XMLHttpRequestPrototype, 'send', function () { return function (self, args) {\n if (Zone.current[fetchTaskScheduling] === true) {\n // a fetch is scheduling, so we are using xhr to polyfill fetch\n // and because we already schedule macroTask for fetch, we should\n // not schedule a macroTask for xhr again\n return sendNative.apply(self, args);\n }\n if (self[XHR_SYNC]) {\n // if the XHR is sync there is no task to schedule, just execute the code.\n return sendNative.apply(self, args);\n }\n else {\n var options = { target: self, url: self[XHR_URL], isPeriodic: false, args: args, aborted: false };\n var task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask);\n if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !options.aborted &&\n task.state === SCHEDULED) {\n // xhr request throw error when send\n // we should invoke task instead of leaving a scheduled\n // pending macroTask\n task.invoke();\n }\n }\n }; });\n var abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', function () { return function (self, args) {\n var task = findPendingTask(self);\n if (task && typeof task.type == 'string') {\n // If the XHR has already completed, do nothing.\n // If the XHR has already been aborted, do nothing.\n // Fix #569, call abort multiple times before done will cause\n // macroTask task count be negative number\n if (task.cancelFn == null || (task.data && task.data.aborted)) {\n return;\n }\n task.zone.cancelTask(task);\n }\n else if (Zone.current[fetchTaskAborting] === true) {\n // the abort is called from fetch polyfill, we need to call native abort of XHR.\n return abortNative.apply(self, args);\n }\n // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no\n // task\n // to cancel. Do nothing.\n }; });\n }\n});\nZone.__load_patch('geolocation', function (global) {\n /// GEO_LOCATION\n if (global['navigator'] && global['navigator'].geolocation) {\n patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n }\n});\nZone.__load_patch('PromiseRejectionEvent', function (global, Zone) {\n // handle unhandled promise rejection\n function findPromiseRejectionHandler(evtName) {\n return function (e) {\n var eventTasks = findEventTasks(global, evtName);\n eventTasks.forEach(function (eventTask) {\n // windows has added unhandledrejection event listener\n // trigger the event listener\n var PromiseRejectionEvent = global['PromiseRejectionEvent'];\n if (PromiseRejectionEvent) {\n var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection });\n eventTask.invoke(evt);\n }\n });\n };\n }\n if (global['PromiseRejectionEvent']) {\n Zone[zoneSymbol('unhandledPromiseRejectionHandler')] =\n findPromiseRejectionHandler('unhandledrejection');\n Zone[zoneSymbol('rejectionHandledHandler')] =\n findPromiseRejectionHandler('rejectionhandled');\n }\n});\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n})));\n","exports.f = {}.propertyIsEnumerable;\n","var path = '/app/components/deal-sheet/contract/rate-type-select.component.html';\nvar html = \" CPO\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/opportunities/opportunity-block-horizontal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","import moment from 'moment-timezone';\r\n\r\n/**\r\n * @module datetime\r\n *\r\n * Provides helper functions for manipulating dates.\r\n *\r\n * It would be better to use moment.js than use these helpers. These helpers\r\n * are useful in areas we are forced to work with the native Date object.\r\n *\r\n * To avoid ambiguity, the nomenclature used here matches NodaTime's types:\r\n * http://nodatime.org/2.2.x/userguide/core-types\r\n *\r\n * Definitions:\r\n *\r\n * - Local time:\r\n * The date+time as a wall clock might display, but with no offset or time\r\n * zone information.\r\n * For example, \"Jan 9, 2007 at 9:41 AM\"\r\n *\r\n * - Offset:\r\n * The difference between UTC and local time, in hours+minutes. An offset\r\n * is a fixed duration.\r\n * For example, -07:00\r\n *\r\n * - Time zone:\r\n * A mapping of offsets for different times of the year.\r\n * For example, \"Pacific time\" has offsets of -08:00 in standard time and\r\n * -07:00 in daylight saving time\r\n*/\r\n\r\n/**\r\n * Returns a JavaScript {Date} object from a UTC date string.\r\n *\r\n * @example\r\n * let d = \"2017-03-20T15:00:00Z\";\r\n * fromUtcString(d); // Mon Mar 20 2017 08:00:00 GMT-0700 (Pacific Daylight Time)\r\n*/\r\nexport function dateFromUtcString(dateString) {\r\n return moment.utc(dateString).local().toDate();\r\n}\r\n\r\n/**\r\n * Returns a JavaScript {Date} object from a local date string.\r\n *\r\n * @example\r\n * let d = \"2017-03-20T15:00:00\";\r\n * dateFromLocalString(d); // Mon Mar 20 2017 15:00:00 GMT-0700 (Pacific Daylight Time)\r\n */\r\nexport function dateFromLocalString(dateString) {\r\n return moment(dateString).toDate();\r\n}\r\n\r\n\r\n/**\r\n * Calculates a Date representing the instant when UTC had the same local time as the given Date.\r\n * @example\r\n * var d = new Date(2015, 03, 20, 12, 00, 00); // 2015-03-20 12:00 -07:00\r\n * toSameLocalTimeInUTC(d); // 2015-03-20 05:00 -07:00 (2015-03-20 12:00 UTC)\r\n*/\r\nexport function toSameLocalTimeInUTC(date) {\r\n const utcLocalTimestamp = Date.UTC(\r\n date.getFullYear(),\r\n date.getMonth(),\r\n date.getDate(),\r\n date.getHours(),\r\n date.getMinutes(),\r\n date.getSeconds(),\r\n date.getMilliseconds());\r\n return new Date(utcLocalTimestamp);\r\n}\r\n\r\n/**\r\n * Calculates a Date when local time matched the UTC local time of the given Date.\r\n * @example\r\n * var d = new Date(\"2015-03-20T12:00:00Z\"); // 2015-03-20 05:00 -07:00\r\n * toSameLocalTimeInCurrentZone(d); // 2015-03-20 12:00 -07:00\r\n*/\r\nexport function toSameLocalTimeInCurrentZone(date) {\r\n return new Date(\r\n date.getUTCFullYear(),\r\n date.getUTCMonth(),\r\n date.getUTCDate(),\r\n date.getUTCHours(),\r\n date.getUTCMinutes(),\r\n date.getUTCSeconds(),\r\n date.getUTCMilliseconds());\r\n}\r\n\r\n/**\r\n * Returns a new Date object representing the same local date at midnight.\r\n*/\r\nexport function atMidnight(date) {\r\n return new Date(\r\n date.getFullYear(),\r\n date.getMonth(),\r\n date.getDate());\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./price.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/forms\"));\nvar i4 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i5 = __importStar(require(\"../../../icon/icon.component\"));\nvar i6 = __importStar(require(\"@angular/platform-browser\"));\nvar i7 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i8 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i9 = __importStar(require(\"@angular/common\"));\nvar i10 = __importStar(require(\"./price.component\"));\nvar styles_PriceComponent = [i0.styles];\nvar RenderType_PriceComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PriceComponent, data: {} });\nexports.RenderType_PriceComponent = RenderType_PriceComponent;\nfunction View_PriceComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"qa-price-value\"], [\"id\", \"price\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_PriceComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"translate\", \"currencySymbol\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"input\", [[\"class\", \"form-control input-sm editable qa-price-value\"], [\"type\", \"text\"]], [[8, \"id\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.value = $event) !== false);\n ad = (pd_4 && ad);\n } if ((\"change\" === en)) {\n var pd_5 = (_co.update(_co.value) !== false);\n ad = (pd_5 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i3.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i3.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.DefaultValueAccessor]), i1.ɵdid(6, 671744, null, 0, i3.NgModel, [[8, null], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(8, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(9, 0, null, null, 3, \"a\", [[\"alt\", \"recalculatedealsheet\"], [\"class\", \"edit-icon qa-price-recalc-link\"], [\"href\", \"#\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onValueChange(_co.value) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-refresh\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(12, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"currencySymbol\"; _ck(_v, 2, 0, currVal_0); var currVal_9 = _co.price; var currVal_10 = _co.value; _ck(_v, 6, 0, currVal_9, currVal_10); _ck(_v, 12, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.price; var currVal_2 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 8).ngClassValid; var currVal_7 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 9, 0, i1.ɵnov(_v, 10).transform(\"recalculatedealsheet\")), \"\"); _ck(_v, 9, 0, currVal_11); }); }\nfunction View_PriceComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i7.LocaleCurrencyPipe, [i8.StorageService]), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"price\"], [\"translate\", \"priceLabel\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 4, \"span\", [[\"class\", \"field-data\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PriceComponent_1)), i1.ɵdid(6, 16384, null, 0, i9.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PriceComponent_2)), i1.ɵdid(8, 16384, null, 0, i9.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"priceLabel\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = (!((_co.permissions == null) ? null : _co.permissions.editPrice) || _co.readonly); _ck(_v, 6, 0, currVal_1); var currVal_2 = (((_co.permissions == null) ? null : _co.permissions.editPrice) && !_co.readonly); _ck(_v, 8, 0, currVal_2); }, null); }\nexports.View_PriceComponent_0 = View_PriceComponent_0;\nfunction View_PriceComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"price\", [], null, null, null, View_PriceComponent_0, RenderType_PriceComponent)), i1.ɵdid(1, 638976, null, 0, i10.PriceComponent, [i1.ElementRef, i1.Injector], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_PriceComponent_Host_0 = View_PriceComponent_Host_0;\nvar PriceComponentNgFactory = i1.ɵccf(\"price\", i10.PriceComponent, View_PriceComponent_Host_0, { value: \"value\", permissions: \"permissions\", readonly: \"readonly\" }, { priceChange: \"priceChange\" }, []);\nexports.PriceComponentNgFactory = PriceComponentNgFactory;\n","
\r\n \r\n \r\n {{ value | localeCurrency }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar token_service_1 = require(\"../../../modules/oidc-auth/token.service\");\nvar user_service_1 = require(\"../../../services/user.service\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar ImpersonationStatusComponent = /** @class */ (function () {\n function ImpersonationStatusComponent(authService, userService, tokenService, tService) {\n this.authService = authService;\n this.userService = userService;\n this.tokenService = tokenService;\n this.tService = tService;\n }\n ImpersonationStatusComponent.prototype.ngOnInit = function () {\n var _this = this;\n var impersonatingUsername = this.tokenService.getImpersonatingUsername();\n if (impersonatingUsername) {\n this.userService.getUser(impersonatingUsername).then(function (response) {\n _this.impersonatingUserFullName = response.fullName;\n });\n }\n };\n ImpersonationStatusComponent.prototype.ngOnChanges = function (changes) {\n if (changes.userFullName && !changes.userFullName.isFirstChange()) {\n this.impersonationStatus = this.tService\n .instant('viewingAsUser', { impersonatingUser: this.impersonatingUserFullName, impersonatedUser: this.userFullName });\n }\n };\n ImpersonationStatusComponent.prototype.logOut = function () {\n this.authService.signOut();\n };\n return ImpersonationStatusComponent;\n}());\nexports.ImpersonationStatusComponent = ImpersonationStatusComponent;\n","import { Component, Input, OnInit, OnChanges, SimpleChanges, Inject } from '@angular/core';\r\nimport { AuthService } from '../../../ajs-upgraded-providers';\r\nimport { TokenService } from '../../../modules/oidc-auth/token.service';\r\nimport { UserService } from '../../../services/user.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'impersonation-status',\r\n templateUrl: './impersonation-status.component-ng.html',\r\n styleUrls: ['./impersonation-status.component.scss']\r\n})\r\nexport class ImpersonationStatusComponent implements OnInit, OnChanges {\r\n @Input() userFullName: string;\r\n impersonatingUserFullName: string;\r\n impersonationStatus: string;\r\n\r\n constructor(@Inject(AuthService) private authService,\r\n private userService: UserService,\r\n private tokenService: TokenService,\r\n public tService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n const impersonatingUsername: string = this.tokenService.getImpersonatingUsername();\r\n if (impersonatingUsername) {\r\n this.userService.getUser(impersonatingUsername).then(response => {\r\n this.impersonatingUserFullName = response.fullName;\r\n });\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.userFullName && !changes.userFullName.isFirstChange()) {\r\n this.impersonationStatus = this.tService\r\n .instant('viewingAsUser', { impersonatingUser: this.impersonatingUserFullName, impersonatedUser: this.userFullName });\r\n }\r\n }\r\n\r\n logOut() {\r\n this.authService.signOut();\r\n }\r\n}\r\n","var path = '/app/components/search/search-save-layout-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/iframe.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar communication_api_service_1 = require(\"../services/communication-api.service\");\nvar toaster_logger_service_1 = require(\"../core/toaster-logger.service\");\nvar PandoCommunicationService = /** @class */ (function () {\n function PandoCommunicationService(communicationApi, toaster) {\n this.communicationApi = communicationApi;\n this.toaster = toaster;\n }\n PandoCommunicationService.prototype.getPandoInboxConfig = function () {\n return this.communicationApi.getPandoInboxConfig();\n };\n PandoCommunicationService.prototype.getMotofuzeCurrentUser = function () {\n return this.communicationApi.getCurrentUser();\n };\n PandoCommunicationService.prototype.getGlobalFrameConfig = function () {\n return this.communicationApi.getGlobalFrameConfig();\n };\n PandoCommunicationService.prototype.notifyOnDealerChange = function (dealers) {\n var ids = dealers.map(function (dealer) { return dealer.id; });\n var request = {\n data: { \"SelectedAutoAlertDealerIDs\": ids }\n };\n return this.communicationApi.post('core/users/setviewselectedstores', request);\n };\n PandoCommunicationService.prototype.getCXMViewSelectedStores = function () {\n return this.communicationApi.get('users/currentuser', null)\n .then(function (response) {\n if (response && response.status == 200 &&\n response.body &&\n response.body.Data &&\n response.body.Data.hasOwnProperty('ViewSelectedStores')) {\n return {\n viewDealerGroupID: response.body.Data.ViewDealerGroupID,\n viewAccount: response.body.Data.ViewAccount,\n viewSelectedStores: response.body.Data.ViewSelectedStores\n };\n }\n return null;\n }, function (error) {\n return null;\n });\n };\n PandoCommunicationService.prototype.getUnreadMessageCount = function (isAutoAlertUser) {\n return this.communicationApi.get(\"users/appbundle\", null)\n .then(function (response) {\n if (response && response.status == 200 &&\n response.body &&\n response.body.Data &&\n response.body.Data.hasOwnProperty('TotalBadgeCount')) {\n var unreadmsgCount = response.body.Data.TotalBadgeCount;\n return { msgcount: unreadmsgCount };\n }\n return null;\n }, function (error) {\n return null;\n });\n };\n PandoCommunicationService.prototype.getMessageVendorInfo = function (isAutoAlertUser) {\n return this.communicationApi.get(\"message/vendor\", null)\n .then(function (response) {\n if (response && response.status == 200) {\n return response.body.Data;\n }\n return null;\n }, function (error) {\n return null;\n });\n };\n PandoCommunicationService.prototype.getChatStaff = function (isAutoAlertUser) {\n return this.communicationApi.get(\"chat/staff\", null)\n .then(function (response) {\n if (response && response.status == 200) {\n return response.body.Data;\n }\n return null;\n }, function (error) {\n return null;\n });\n };\n PandoCommunicationService.prototype.getAvailabilityReasons = function (isAutoAlertUser) {\n return this.communicationApi.get(\"users/availabilityreasons\", null)\n .then(function (response) {\n if (response && response.status == 200) {\n return response.body.Data;\n }\n return null;\n }, function (error) {\n return null;\n });\n };\n PandoCommunicationService.prototype.setAvailable = function (isAutoAlertUser) {\n return this.communicationApi.put(\"users/clockin\", null)\n .then(function (response) {\n if (response && response.status == 200) {\n return response.body.Data;\n }\n return null;\n }, function (error) {\n return null;\n });\n };\n PandoCommunicationService.prototype.setUnavailable = function (isAutoAlertUser, message, reasonId) {\n return this.communicationApi.put(\"users/clockout\", {\n data: {\n Notes: message,\n AvailabilityReasonId: reasonId,\n }\n })\n .then(function (response) {\n if (response && response.status == 200) {\n return response.body.Data;\n }\n return null;\n }, function (error) {\n return null;\n });\n };\n PandoCommunicationService.prototype.setBusy = function (isAutoAlertUser, minutes, message, reasonId) {\n return this.communicationApi.put(\"users/busy/\" + minutes, {\n data: {\n Notes: message,\n AvailabilityReasonId: reasonId,\n }\n })\n .then(function (response) {\n if (response && response.status == 200) {\n return response.body.Data;\n }\n return null;\n }, function (error) {\n return null;\n });\n };\n return PandoCommunicationService;\n}());\nexports.PandoCommunicationService = PandoCommunicationService;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { catchError, flatMap, map, take } from 'rxjs/operators';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { PandoGroupInfo } from '../interfaces/pando-group-info.interface';\r\nimport { CommunicationApiService } from '../services/communication-api.service';\r\nimport { ToasterLoggerService } from '../core/toaster-logger.service';\r\n\r\n\r\n\r\n@Injectable()\r\nexport class PandoCommunicationService {\r\n constructor(public communicationApi: CommunicationApiService, public toaster: ToasterLoggerService) {\r\n\r\n }\r\n\r\n public getPandoInboxConfig(): any {\r\n return this.communicationApi.getPandoInboxConfig();\r\n }\r\n\r\n public getMotofuzeCurrentUser(): any {\r\n return this.communicationApi.getCurrentUser();\r\n }\r\n\r\n public getGlobalFrameConfig(): any {\r\n return this.communicationApi.getGlobalFrameConfig();\r\n }\r\n\r\n public notifyOnDealerChange(dealers): any {\r\n const ids = dealers.map(function (dealer) { return dealer.id });\r\n let request = {\r\n data: { \"SelectedAutoAlertDealerIDs\": ids }\r\n };\r\n return this.communicationApi.post('core/users/setviewselectedstores', request);\r\n }\r\n\r\n public getCXMViewSelectedStores(): Promise {\r\n return this.communicationApi.get('users/currentuser', null)\r\n .then(response => {\r\n if (response && response.status == 200 &&\r\n response.body &&\r\n response.body.Data &&\r\n response.body.Data.hasOwnProperty('ViewSelectedStores')) {\r\n return {\r\n viewDealerGroupID: response.body.Data.ViewDealerGroupID,\r\n viewAccount: response.body.Data.ViewAccount,\r\n viewSelectedStores: response.body.Data.ViewSelectedStores\r\n };\r\n }\r\n return null;\r\n }, function (error) {\r\n return null;\r\n });\r\n }\r\n\r\n public getUnreadMessageCount(isAutoAlertUser:boolean): Promise {\r\n return this.communicationApi.get(\"users/appbundle\", null)\r\n .then(response => {\r\n if (response && response.status == 200 && \r\n response.body && \r\n response.body.Data &&\r\n response.body.Data.hasOwnProperty('TotalBadgeCount')) {\r\n var unreadmsgCount = response.body.Data.TotalBadgeCount;\r\n return { msgcount: unreadmsgCount };\r\n }\r\n return null;\r\n }, function (error) {\r\n return null;\r\n });\r\n }\r\n\r\n \r\n public getMessageVendorInfo(isAutoAlertUser:boolean): any {\r\n return this.communicationApi.get(\"message/vendor\", null)\r\n .then(response => {\r\n if (response && response.status == 200) {\r\n return response.body.Data;\r\n }\r\n return null;\r\n }\r\n , function (error) {\r\n return null;\r\n });\r\n }\r\n\r\n public getChatStaff(isAutoAlertUser: boolean): any {\r\n return this.communicationApi.get(\"chat/staff\", null)\r\n .then(response => {\r\n if (response && response.status == 200) {\r\n return response.body.Data;\r\n }\r\n return null;\r\n }, function (error) {\r\n return null;\r\n });\r\n }\r\n\r\n public getAvailabilityReasons(isAutoAlertUser: boolean): any {\r\n return this.communicationApi.get(\"users/availabilityreasons\", null)\r\n .then(response => {\r\n if (response && response.status == 200) {\r\n return response.body.Data;\r\n }\r\n return null;\r\n }, function (error) {\r\n return null;\r\n });\r\n }\r\n\r\n public setAvailable(isAutoAlertUser:boolean): any {\r\n return this.communicationApi.put(\"users/clockin\", null)\r\n .then(response => {\r\n if (response && response.status == 200) {\r\n return response.body.Data;\r\n }\r\n return null;\r\n }, function (error) {\r\n return null;\r\n });\r\n }\r\n\r\n public setUnavailable(isAutoAlertUser, message, reasonId) {\r\n return this.communicationApi.put(\"users/clockout\", {\r\n data: {\r\n Notes: message,\r\n AvailabilityReasonId: reasonId,\r\n }\r\n })\r\n .then(response => {\r\n if (response && response.status == 200) {\r\n return response.body.Data;\r\n }\r\n return null;\r\n }, function (error) {\r\n return null;\r\n });\r\n }\r\n\r\n public setBusy(isAutoAlertUser, minutes, message, reasonId) {\r\n return this.communicationApi.put(\"users/busy/\" + minutes, {\r\n data: {\r\n Notes: message,\r\n AvailabilityReasonId: reasonId,\r\n }\r\n })\r\n .then(response => {\r\n if (response && response.status == 200) {\r\n return response.body.Data;\r\n }\r\n return null;\r\n }, function (error) {\r\n return null;\r\n });\r\n }\r\n \r\n}","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CacheFetchOptions;\n(function (CacheFetchOptions) {\n CacheFetchOptions[CacheFetchOptions[\"forceFetch\"] = 0] = \"forceFetch\";\n})(CacheFetchOptions = exports.CacheFetchOptions || (exports.CacheFetchOptions = {}));\n/**\n * A simple helper to maintain an in memory cache of an object that is provided via a promise\n *\n * @example\n * // Store this object somewhere permanently\n * private cachedUser = new ObjectCache();\n *\n * @example\n * // Get the value, or fetch it from the source\n * this.cachedUser.getOrFetch(myDtoId, () => fetchUser(myDtoId)).then(user => DoSomething(user))\n *\n * @example\n * // If the fetchValue returns an Observable, the result is an observable\n * this.cachedUser.getOrFetch(myDtoId, () => fetchUser(myDtoId)).subscribe(user => DoSomething(user))\n *\n */\nvar ObjectCache = /** @class */ (function () {\n function ObjectCache(options) {\n this.cachedItems = new Map();\n this.cacheOptions = options;\n }\n ObjectCache.prototype.getOrFetch = function (key, callBack, cacheFetchOptions) {\n if (key == null || key == undefined) {\n throw new Error('Cache requires a non-null, non-undefined key. key = ' + key);\n }\n if (!this.cachedItems.has(key) || (cacheFetchOptions !== null && cacheFetchOptions !== undefined && cacheFetchOptions === CacheFetchOptions.forceFetch)) {\n return this.fetchAndCache(key, callBack);\n }\n var cachedItem = this.cachedItems.get(key);\n if (this.cacheOptions) {\n if (this.cacheOptions.cacheAgeLimitSeconds) {\n var secondsDifference = (new Date().getTime() - cachedItem.cacheTimestamp.getTime()) / 1000;\n if (secondsDifference >= this.cacheOptions.cacheAgeLimitSeconds) {\n return this.fetchAndCache(key, callBack);\n }\n }\n }\n return Promise.resolve(this.cachedItems.get(key).value);\n };\n ObjectCache.prototype.invalidateCacheForAllKeys = function () {\n this.cachedItems.clear();\n };\n ObjectCache.prototype.invalidateCacheForKey = function (key) {\n if (this.cachedItems.has(key)) {\n this.cachedItems.delete(key);\n }\n };\n ObjectCache.prototype.fetchAndCache = function (key, callBack) {\n var _this = this;\n var cacheItem = function (key, item) {\n var timeStamp = new Date();\n _this.cachedItems.set(key, { value: item, cacheTimestamp: timeStamp });\n };\n return callBack()\n .then(function (result) {\n cacheItem(key, result);\n return result;\n });\n };\n return ObjectCache;\n}());\nexports.ObjectCache = ObjectCache;\n","type FetchCallback = () => Promise;\r\n\r\nexport interface CacheOptions {\r\n cacheAgeLimitSeconds?: number\r\n}\r\n\r\nexport enum CacheFetchOptions {\r\n forceFetch\r\n}\r\n\r\ninterface CacheItem {\r\n value: T;\r\n cacheTimestamp?: Date;\r\n}\r\n\r\n/**\r\n * A simple helper to maintain an in memory cache of an object that is provided via a promise\r\n * \r\n * @example\r\n * // Store this object somewhere permanently\r\n * private cachedUser = new ObjectCache();\r\n * \r\n * @example\r\n * // Get the value, or fetch it from the source\r\n * this.cachedUser.getOrFetch(myDtoId, () => fetchUser(myDtoId)).then(user => DoSomething(user))\r\n * \r\n * @example\r\n * // If the fetchValue returns an Observable, the result is an observable\r\n * this.cachedUser.getOrFetch(myDtoId, () => fetchUser(myDtoId)).subscribe(user => DoSomething(user))\r\n * \r\n */\r\nexport class ObjectCache {\r\n constructor(options?: CacheOptions) {\r\n this.cacheOptions = options;\r\n }\r\n\r\n private cachedItems = new Map>();\r\n private cacheOptions: CacheOptions;\r\n\r\n getOrFetch(key: any, callBack: FetchCallback, cacheFetchOptions?: CacheFetchOptions): Promise {\r\n if (key == null || key == undefined) {\r\n throw new Error('Cache requires a non-null, non-undefined key. key = ' + key);\r\n }\r\n\r\n if (!this.cachedItems.has(key) || (cacheFetchOptions !== null && cacheFetchOptions !== undefined && cacheFetchOptions === CacheFetchOptions.forceFetch)) {\r\n return this.fetchAndCache(key, callBack);\r\n }\r\n\r\n const cachedItem = this.cachedItems.get(key);\r\n\r\n if (this.cacheOptions) {\r\n if (this.cacheOptions.cacheAgeLimitSeconds) {\r\n const secondsDifference = (new Date().getTime() - cachedItem.cacheTimestamp.getTime()) / 1000;\r\n \r\n if (secondsDifference >= this.cacheOptions.cacheAgeLimitSeconds) {\r\n return this.fetchAndCache(key, callBack);\r\n }\r\n }\r\n }\r\n\r\n return Promise.resolve(this.cachedItems.get(key).value);\r\n }\r\n\r\n invalidateCacheForAllKeys(): void {\r\n this.cachedItems.clear();\r\n }\r\n\r\n invalidateCacheForKey(key: any): void {\r\n if (this.cachedItems.has(key)) {\r\n this.cachedItems.delete(key);\r\n }\r\n }\r\n\r\n private fetchAndCache(key: any, callBack: FetchCallback): Promise {\r\n\r\n const cacheItem = (key: any, item: T): void => {\r\n const timeStamp = new Date();\r\n this.cachedItems.set(key, { value: item, cacheTimestamp: timeStamp });\r\n }\r\n\r\n return callBack()\r\n .then(result => {\r\n cacheItem(key, result);\r\n return result;\r\n });\r\n }\r\n}","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\n\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n","var path = '/app/components/deal-sheet/activity.component.html';\nvar html = \"
,
Campaign Type: {{$ctrl.activity.exportCampaignType}} Provider: {{$ctrl.activity.exportProvider}}
{{$ctrl.emailSubject}}
{{$ctrl.emailFrom}}
{{$ctrl.emailTo}}
{{$ctrl.emailSubject}}
{{$ctrl.contactPhone | localePhone}}
{{ $ctrl.notes }}
{{$ctrl.activity.emailConversationSubject}}
Vehicle appraised via {{$ctrl.activity.appraisalHistoryTypeId == 2 ? 'VinCue' : 'vAuto'}}
Appraisal ID: {{$ctrl.activity.appraisalId}}
Appraisal Link
DMS Request Type: {{$ctrl.activity.dmsRequestTypeId == 0 ? 'Customer' : 'Deal'}}
DMS Customer ID: {{$ctrl.activity.dmsCustomerId}}
DMS Deal ID: {{$ctrl.activity.dmsDealId}}
Customer has shown GeoAlert Activity
{{$ctrl.activity.messageText}}
Customer added to GeoAlert campaign
GeoAlert Ad Impressions: {{$ctrl.activity.messageText}}
AutoAssistant communication initiated {{$ctrl.activity.messageText}}
Customer requested contact from dealership
Customer's most recent reply to AutoAssistant
: {{$ctrl.activity.templateName}}
: {{$ctrl.activity.processTitle}}
:
5\\\" ng-style=\\\"{ 'background-image': 'url({{$ctrl.activity.requestorAvatarUrl}})'}\\\">
{{$ctrl.activity.submittedByUserFullName}}
:
5\\\" ng-style=\\\"{ 'background-image': 'url({{$ctrl.activity.lastAssignedToAvatarUrl}})'}\\\">
{{$ctrl.activity.assignedUserFullName}}
{{$ctrl.activity.customerProcessStatus}}
: {{ $ctrl.activity.elapsedSeconds | elapsedTime }}
:
: {{$ctrl.activity.lastActivityDateTime | localeDateTime}}
Customer added to Facebook Campaign
Customer submitted info on Facebook Verification Page
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar app_settings_1 = require(\"../../constants/app-settings\");\nvar storage_service_1 = require(\"../../modules/storage/storage.service\");\nvar cookie_storage_service_1 = require(\"../../modules/storage/cookie-storage.service\");\nvar http_interceptor_options_service_1 = require(\"./http-interceptor-options.service\");\n/** Pass untouched request through to the next request handler. */\nvar NgSelectedDealersInterceptor = /** @class */ (function () {\n function NgSelectedDealersInterceptor(storageService, httpInterceptorOptionsService, crossDomainStorageService) {\n this.storageService = storageService;\n this.httpInterceptorOptionsService = httpInterceptorOptionsService;\n this.crossDomainStorageService = crossDomainStorageService;\n this.URL_PREFIXES_TO_MODIFY = [];\n this.CONFIG = {\n employeeDefaultDealer: undefined\n };\n if (app_settings_1.Settings.environmentVariables.employeeDefaultDealer) {\n this.CONFIG.employeeDefaultDealer = app_settings_1.Settings.environmentVariables.employeeDefaultDealer;\n this.URL_PREFIXES_TO_MODIFY.push(app_settings_1.Settings.apiUrls.alertMiner);\n this.URL_PREFIXES_TO_MODIFY.push(app_settings_1.Settings.apiUrls.reportMiner);\n }\n }\n NgSelectedDealersInterceptor.prototype.intercept = function (req, next) {\n // Only continue if the request URL matches a configured prefix\n if (!this.URL_PREFIXES_TO_MODIFY.some(function (prefix) { return req.url.startsWith(prefix); })) {\n return next.handle(req);\n }\n var selectedDealers = this.getSelectedDealers();\n var selectedDealerGroupId = selectedDealers && selectedDealers.dealerGroupId ? selectedDealers.dealerGroupId : null;\n var selectedDealerIds = selectedDealers && selectedDealers.dealerIds ? selectedDealers.dealerIds : null;\n var overrideDealerIds = this.httpInterceptorOptionsService.overrideDealerIdsSetting;\n // Employee users default to MBDEMO\n // This block should only be hit for employees.\n if (!selectedDealerGroupId) {\n selectedDealerGroupId = this.CONFIG.employeeDefaultDealer.dealerGroupId;\n }\n if (!selectedDealerIds) {\n selectedDealerIds = [this.CONFIG.employeeDefaultDealer.dealerId];\n }\n var newHeaders = {};\n newHeaders['dealers'] = selectedDealerIds.join(',');\n newHeaders['dealergroupid'] = selectedDealerGroupId;\n if (overrideDealerIds && overrideDealerIds.length > 0) {\n newHeaders['dealerIdOverride'] = overrideDealerIds.join(',');\n }\n // Requests are immutable so we have to clone if we want to change them\n var newReq = req.clone({ setHeaders: newHeaders });\n return next.handle(newReq);\n };\n NgSelectedDealersInterceptor.prototype.getSelectedDealers = function () {\n var selectedDealers = this.storageService.getItem('impersonatingSelectedDealers');\n if (selectedDealers != null) {\n var userProfile = this.storageService.getItem('userProfile');\n if (userProfile && userProfile.employeeUser) {\n this.storageService.removeItem('impersonatingSelectedDealers');\n }\n }\n else {\n selectedDealers = this.crossDomainStorageService.getItem('selectedDealers');\n }\n if (selectedDealers && selectedDealers.dealers && selectedDealers.dealers.length > 0) {\n selectedDealers.dealerIds = selectedDealers.dealers.map(function (dealer) { return dealer.id; });\n }\n return selectedDealers;\n };\n return NgSelectedDealersInterceptor;\n}());\nexports.NgSelectedDealersInterceptor = NgSelectedDealersInterceptor;\n","\r\nimport { Injectable, Inject } from '@angular/core';\r\nimport {\r\n HttpEvent, HttpHandler, HttpRequest, HttpInterceptor\r\n} from '@angular/common/http';\r\nimport { Settings } from '../../constants/app-settings';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { StorageService } from '../../modules/storage/storage.service';\r\nimport { CookieStorage } from '../../modules/storage/cookie-storage.service';\r\nimport { CrossDomainStorageService } from '../../modules/storage/cross-domain-storage.service';\r\nimport { HttpInterceptorOptionsService } from './http-interceptor-options.service';\r\n\r\n/** Pass untouched request through to the next request handler. */\r\n@Injectable()\r\nexport class NgSelectedDealersInterceptor implements HttpInterceptor {\r\n\r\n readonly URL_PREFIXES_TO_MODIFY: string[] = [];\r\n readonly CONFIG = {\r\n employeeDefaultDealer: undefined\r\n };\r\n\r\n constructor(private storageService: StorageService,\r\n private httpInterceptorOptionsService: HttpInterceptorOptionsService, \r\n @Inject(CrossDomainStorageService) private crossDomainStorageService: CookieStorage) {\r\n if (Settings.environmentVariables.employeeDefaultDealer) {\r\n this.CONFIG.employeeDefaultDealer = Settings.environmentVariables.employeeDefaultDealer;\r\n\r\n this.URL_PREFIXES_TO_MODIFY.push(Settings.apiUrls.alertMiner);\r\n this.URL_PREFIXES_TO_MODIFY.push(Settings.apiUrls.reportMiner);\r\n }\r\n }\r\n\r\n intercept(req: HttpRequest, next: HttpHandler): Observable> {\r\n // Only continue if the request URL matches a configured prefix\r\n if (!this.URL_PREFIXES_TO_MODIFY.some(prefix => req.url.startsWith(prefix))) {\r\n return next.handle(req);\r\n }\r\n\r\n const selectedDealers = this.getSelectedDealers();\r\n\r\n let selectedDealerGroupId = selectedDealers && selectedDealers.dealerGroupId ? selectedDealers.dealerGroupId : null;\r\n let selectedDealerIds = selectedDealers && selectedDealers.dealerIds ? selectedDealers.dealerIds : null;\r\n\r\n let overrideDealerIds = this.httpInterceptorOptionsService.overrideDealerIdsSetting;\r\n \r\n // Employee users default to MBDEMO\r\n // This block should only be hit for employees.\r\n if (!selectedDealerGroupId) {\r\n selectedDealerGroupId = this.CONFIG.employeeDefaultDealer.dealerGroupId;\r\n }\r\n if (!selectedDealerIds) {\r\n selectedDealerIds = [this.CONFIG.employeeDefaultDealer.dealerId];\r\n }\r\n\r\n const newHeaders = {};\r\n\r\n newHeaders['dealers'] = selectedDealerIds.join(',');\r\n newHeaders['dealergroupid'] = selectedDealerGroupId;\r\n\r\n if (overrideDealerIds && overrideDealerIds.length > 0) {\r\n newHeaders['dealerIdOverride'] = overrideDealerIds.join(',');\r\n }\r\n\r\n // Requests are immutable so we have to clone if we want to change them\r\n const newReq = req.clone({setHeaders: newHeaders});\r\n\r\n return next.handle(newReq);\r\n }\r\n\r\n private getSelectedDealers() {\r\n let selectedDealers = this.storageService.getItem('impersonatingSelectedDealers');\r\n\r\n if (selectedDealers != null) {\r\n const userProfile = this.storageService.getItem('userProfile');\r\n\r\n if (userProfile && userProfile.employeeUser) {\r\n this.storageService.removeItem('impersonatingSelectedDealers');\r\n }\r\n } else {\r\n selectedDealers = this.crossDomainStorageService.getItem('selectedDealers');\r\n }\r\n\r\n if (selectedDealers && selectedDealers.dealers && selectedDealers.dealers.length > 0) {\r\n selectedDealers.dealerIds = selectedDealers.dealers.map(dealer => dealer.id);\r\n }\r\n\r\n return selectedDealers;\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar PriceComponent = /** @class */ (function () {\n function PriceComponent(elementRef, injector) {\n this.priceChange = new core_1.EventEmitter();\n }\n PriceComponent.prototype.ngOnInit = function () {\n };\n PriceComponent.prototype.ngOnChanges = function (changes) {\n if (changes.value) {\n this.value = Math.floor(this.value);\n }\n };\n PriceComponent.prototype.update = function (source) {\n this.validate(source);\n };\n // vlidate input to number only\n PriceComponent.prototype.validate = function (source) {\n if (source == '') {\n this.value = 0;\n return;\n }\n if (!source) {\n this.value = 0;\n return;\n }\n source = source + '';\n source = source.trim();\n source = source.replace(/[^0-9]/g, '');\n this.value = parseInt(source);\n };\n PriceComponent.prototype.onValueChange = function (value) {\n this.validate(value);\n this.priceChange.emit({ price: this.value });\n };\n return PriceComponent;\n}());\nexports.PriceComponent = PriceComponent;\n","import { Component, ElementRef, Injector, OnInit, Input, Output, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\n\r\n@Component({\r\n selector: 'price',\r\n templateUrl: './price.component-ng.html',\r\n styleUrls: ['./price.component.scss']\r\n})\r\nexport class PriceComponent implements OnInit, OnChanges {\r\n @Input() value: number;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() readonly: boolean;\r\n @Output() priceChange = new EventEmitter();\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.value) {\r\n this.value = Math.floor(this.value);\r\n }\r\n }\r\n\r\n public update(source) {\r\n this.validate(source);\r\n }\r\n\r\n // vlidate input to number only\r\n private validate(source) {\r\n if (source == '') { this.value = 0; return; }\r\n if (!source) { this.value = 0; return; }\r\n source = source + '';\r\n source = source.trim();\r\n source = source.replace(/[^0-9]/g, '');\r\n this.value = parseInt(source);\r\n }\r\n\r\n public onValueChange(value) {\r\n this.validate(value);\r\n this.priceChange.emit({ price: this.value });\r\n }\r\n\r\n}\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar common_1 = require(\"@angular/common\");\nvar core_1 = require(\"@angular/core\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar LocaleNumberPipe = /** @class */ (function (_super) {\n __extends(LocaleNumberPipe, _super);\n function LocaleNumberPipe(storageService) {\n var _this = _super.call(this, 'en-us') || this;\n _this.storageService = storageService;\n return _this;\n }\n LocaleNumberPipe.prototype.transform = function (number, fractionDigits) {\n if (this.isNumber(number)) {\n number = parseFloat(number);\n var savedCultureName = this.storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n if (fractionDigits != null) {\n return _super.prototype.transform.call(this, number, fractionDigits, cultureName);\n }\n else {\n return _super.prototype.transform.call(this, number);\n }\n }\n else {\n return number;\n }\n };\n LocaleNumberPipe.prototype.isNumber = function (obj) {\n return !isNaN(parseFloat(obj));\n };\n return LocaleNumberPipe;\n}(common_1.DecimalPipe));\nexports.LocaleNumberPipe = LocaleNumberPipe;\n","import { DecimalPipe } from '@angular/common';\r\nimport { PipeTransform, Pipe } from '@angular/core';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\n\r\n@Pipe({\r\n name: 'localeNumber'\r\n})\r\nexport class LocaleNumberPipe extends DecimalPipe implements PipeTransform {\r\n\r\n constructor(private storageService: StorageService) {\r\n super('en-us');\r\n }\r\n\r\n transform(number: any, fractionDigits?: string) {\r\n\r\n if (this.isNumber(number)) {\r\n number = parseFloat(number);\r\n\r\n const savedCultureName = this.storageService.getItem('cultureName');\r\n const cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n\r\n if (fractionDigits != null) {\r\n return super.transform(number, fractionDigits, cultureName);\r\n } else {\r\n return super.transform(number);\r\n }\r\n } else {\r\n return number;\r\n }\r\n }\r\n\r\n isNumber(obj: any) {\r\n return !isNaN(parseFloat(obj));\r\n }\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../../../core/toaster-logger.service\");\nvar VinCueModalComponent = /** @class */ (function () {\n function VinCueModalComponent(_bsModalRef, tService, logger, dealSheetService) {\n this._bsModalRef = _bsModalRef;\n this.tService = tService;\n this.logger = logger;\n this.dealSheetService = dealSheetService;\n this.hasLatestAppraisal = false;\n this.onSaveChanges = new core_1.EventEmitter();\n }\n VinCueModalComponent.prototype.ngOnInit = function () {\n this._bsModalRef.hide();\n this.getLatestAppraisal(this.dealerId, this.vehicle.vin);\n if (this.vehicle.estimatedCurrentMileage) {\n this.estimatedMileage = this.vehicle.estimatedCurrentMileage;\n }\n else {\n this.estimatedMileage = null;\n }\n if (this.customer.cellPhoneNumber) {\n this.primaryPhone = this.customer.cellPhoneNumber.value;\n }\n else if (this.customer.homePhoneNumber) {\n this.primaryPhone = this.customer.homePhoneNumber.value;\n }\n else {\n this.primaryPhone = null;\n }\n this.getCustomerAddress();\n this.getFullTrim();\n };\n VinCueModalComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n VinCueModalComponent.prototype.cancelModal = function () {\n this._bsModalRef.hide();\n };\n VinCueModalComponent.prototype.sendAppraisal = function () {\n this.onSaveChanges.emit();\n this._bsModalRef.hide();\n };\n VinCueModalComponent.prototype.getLatestAppraisal = function (dealerId, vin) {\n var _this = this;\n return this.dealSheetService.getLatestAppraisalVinCue(dealerId, vin)\n .then(function (data) {\n if (data && data.appraisal) {\n _this.hasLatestAppraisal = true;\n _this.appraisalId = data.appraisal.id;\n _this.deepLink = data.deepLink;\n _this.createDate = data.appraisal.created;\n _this.acv = data.appraisal.acv;\n }\n else {\n _this.hasLatestAppraisal = false;\n }\n });\n };\n VinCueModalComponent.prototype.getCustomerAddress = function () {\n var address1 = '';\n var address2 = '';\n if (this.customer) {\n if (this.customer.address.streetAddress)\n address1 = this.customer.address.streetAddress;\n else\n address1 = '';\n if (this.customer.address.streetAddress2)\n address2 = ' ' + this.customer.address.streetAddress2;\n else\n address2 = ' ';\n this.fullAddress = address1 + address2 + ', ' + this.customer.address.city + ', ' + this.customer.address.stateName + ', ' + this.customer.address.normalizedZipCode;\n }\n };\n VinCueModalComponent.prototype.getFullTrim = function () {\n this.fullTrim = this.vehicle.yearID + \" \" + this.vehicle.makeName + \" \" + this.vehicle.trimFullName;\n };\n return VinCueModalComponent;\n}());\nexports.VinCueModalComponent = VinCueModalComponent;\n","import { Component, OnInit, Input, Output, EventEmitter, Inject, AfterViewInit, ViewChild } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../../../core/toaster-logger.service';\r\nimport { DealSheetService } from '../../../../ajs-upgraded-providers';\r\n\r\n@Component({\r\n selector: 'vincue-modal',\r\n templateUrl: './vincue-modal.component-ng.html',\r\n styleUrls: ['./vincue-modal.component.scss']\r\n})\r\n\r\nexport class VinCueModalComponent implements OnInit, AfterViewInit {\r\n public dealerId: number;\r\n public estimatedMileage: number;\r\n public primaryPhone: string;\r\n public customer: any;\r\n public vehicle: any;\r\n public fullAddress: string;\r\n public fullTrim: string;\r\n public appraisalId: string;\r\n public createDate: any;\r\n public deepLink: string;\r\n public hasLatestAppraisal: boolean = false;\r\n public acv: number;\r\n @Output() onSaveChanges = new EventEmitter();\r\n\r\n constructor(\r\n public _bsModalRef: BsModalRef,\r\n public tService: TranslateService,\r\n private logger: ToasterLoggerService,\r\n @Inject(DealSheetService) private dealSheetService) {\r\n }\r\n\r\n public ngOnInit(): void {\r\n this._bsModalRef.hide();\r\n\r\n this.getLatestAppraisal(this.dealerId, this.vehicle.vin);\r\n\r\n if (this.vehicle.estimatedCurrentMileage) {\r\n this.estimatedMileage = this.vehicle.estimatedCurrentMileage;\r\n }\r\n else {\r\n this.estimatedMileage = null;\r\n }\r\n \r\n if (this.customer.cellPhoneNumber) {\r\n this.primaryPhone = this.customer.cellPhoneNumber.value;\r\n }\r\n else if (this.customer.homePhoneNumber) {\r\n this.primaryPhone = this.customer.homePhoneNumber.value;\r\n }\r\n else {\r\n this.primaryPhone = null;\r\n }\r\n\r\n this.getCustomerAddress();\r\n this.getFullTrim();\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public cancelModal(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public sendAppraisal(): void {\r\n this.onSaveChanges.emit();\r\n this._bsModalRef.hide();\r\n }\r\n\r\n private getLatestAppraisal(dealerId:number, vin:string) {\r\n return this.dealSheetService.getLatestAppraisalVinCue(dealerId, vin)\r\n .then(data => {\r\n if (data && data.appraisal) {\r\n this.hasLatestAppraisal = true;\r\n this.appraisalId = data.appraisal.id;\r\n this.deepLink = data.deepLink;\r\n this.createDate = data.appraisal.created;\r\n this.acv = data.appraisal.acv\r\n }\r\n else {\r\n this.hasLatestAppraisal = false;\r\n }\r\n });\r\n }\r\n\r\n private getCustomerAddress() {\r\n var address1 = '';\r\n var address2 = '';\r\n if (this.customer) {\r\n\r\n if (this.customer.address.streetAddress)\r\n address1 = this.customer.address.streetAddress\r\n else\r\n address1 = '';\r\n\r\n if (this.customer.address.streetAddress2)\r\n address2 = ' ' + this.customer.address.streetAddress2;\r\n else\r\n address2 = ' ';\r\n\r\n this.fullAddress = address1 + address2 + ', ' + this.customer.address.city + ', ' + this.customer.address.stateName + ', ' + this.customer.address.normalizedZipCode;\r\n }\r\n }\r\n\r\n private getFullTrim() {\r\n this.fullTrim = this.vehicle.yearID + \" \" + this.vehicle.makeName + \" \" + this.vehicle.trimFullName;\r\n }\r\n\r\n}\r\n\r\n\r\n\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar modules_1 = require(\"./modules\");\nexports.SubMenu = [\n {\n 'id': 'alertDesk',\n 'moduleIds': [1],\n 'displayName': 'alertDesk',\n 'authorize': true,\n 'imgUrl': '/Content/images/icons/16/Task Done 16 n p.png',\n 'baseUrl': 'alert-desk',\n 'url': 'alert-desk',\n 'subMenuItems': [\n {\n 'id': 'dashboard.opportunities',\n 'moduleIds': [modules_1.Modules.dashboard],\n 'displayName': 'dashboard',\n 'authorize': true,\n 'url': 'alert-desk/dashboard'\n },\n {\n 'id': 'euroliteopportunities',\n 'moduleIds': [84],\n 'displayName': 'euroliteopportunities',\n 'authorize': true,\n 'url': 'alert-desk/europe/opportunities'\n },\n {\n 'id': 'opportunities',\n 'moduleIds': [3],\n 'displayName': 'opportunities',\n 'authorize': true,\n 'url': 'alert-desk/opportunities'\n },\n {\n 'id': 'activities',\n 'moduleIds': [5],\n 'displayName': 'activities',\n 'authorize': true,\n 'url': 'alert-desk/activities'\n },\n {\n 'id': 'search.form',\n 'moduleIds': [4],\n 'displayName': 'search',\n 'authorize': true,\n 'url': 'alert-desk/search'\n },\n {\n 'id': 'conquests',\n 'moduleIds': [29],\n 'displayName': 'conquests',\n 'authorize': true,\n 'url': 'alert-desk/conquests'\n },\n {\n 'id': 'preOwnedManager',\n 'moduleIds': [32],\n 'displayName': 'preOwnedManager',\n 'authorize': true,\n 'url': 'alert-desk/pre-owned-manager'\n },\n {\n 'id': 'serviceManager',\n 'moduleIds': [33],\n 'displayName': 'serviceManager',\n 'authorize': true,\n 'url': 'alert-desk/service-manager'\n },\n {\n 'id': 'serviceDriveOffers',\n 'moduleIds': [33],\n 'displayName': 'serviceDriveOffers',\n 'authorize': true,\n 'url': 'alert-desk/service-drive/offers'\n },\n {\n 'id': 'financeInsuranceManager',\n 'moduleIds': [41],\n 'displayName': 'financeInsuranceManager',\n 'authorize': true,\n 'url': 'alert-desk/finance-insurance-manager'\n },\n {\n 'id': 'wishList',\n 'moduleIds': [95],\n 'displayName': 'inventoryWishlist',\n 'authorize': true,\n 'url': 'alert-desk/wish-list'\n },\n {\n 'id': 'potentialNLO',\n 'moduleIds': [95],\n 'displayName': 'nlo_MenuLabel',\n 'authorize': true,\n 'url': 'alert-desk/ai-manager'\n }\n ]\n },\n {\n 'id': 'inventoryDashboard',\n 'moduleIds': [51],\n 'displayName': 'inventory',\n 'authorize': true,\n 'imgUrl': '/Content/images/icons/16/Task Done 16 n p.png',\n 'baseUrl': 'inventory-dashboard',\n 'url': 'inventory-dashboard'\n },\n {\n 'id': 'dataEntry',\n 'moduleIds': [14],\n 'displayName': 'dataEntry',\n 'authorize': true,\n 'imgUrl': '/Content/images/icons/16/Add Database Record 16 n p.png',\n 'baseUrl': 'data-entry',\n 'url': '#',\n 'subMenuItems': [\n {\n 'id': 'dataEntry.prices',\n 'moduleIds': [15],\n 'displayName': 'prices',\n 'authorize': true,\n },\n {\n 'id': 'dataEntry.rates',\n 'moduleIds': [31],\n 'displayName': 'rates',\n 'authorize': true,\n },\n {\n 'id': 'dataEntry.rebates',\n 'moduleIds': [16],\n 'displayName': 'rebates',\n 'authorize': true,\n },\n {\n 'id': 'dataEntry.tradeIns',\n 'moduleIds': [17],\n 'displayName': 'tradeIns',\n 'authorize': true,\n },\n {\n 'id': 'dataEntry.alerts',\n 'moduleIds': [93],\n 'displayName': 'alertTolerances',\n 'authorize': true,\n },\n {\n 'id': 'dataEntry.replacements',\n 'moduleIds': [18],\n 'displayName': 'replacements',\n 'authorize': true\n }\n ]\n },\n {\n 'id': 'admin',\n 'moduleIds': [19],\n 'displayName': 'admin',\n 'authorize': true,\n 'imgUrl': '/Content/images/icons/16/Options 2 16 n p.png',\n 'baseUrl': 'admin',\n 'url': '#',\n 'subMenuItems': [\n {\n 'id': 'settings',\n 'moduleIds': [20],\n 'displayName': 'settings',\n 'authorize': true,\n 'url': 'admin/settings'\n },\n {\n 'id': 'newSettings',\n 'moduleIds': [20],\n 'displayName': 'settings',\n 'authorize': true,\n 'url': 'admin/dealer-settings'\n },\n {\n 'id': 'users',\n 'moduleIds': [21],\n 'displayName': 'users',\n 'authorize': true,\n 'url': 'admin/users'\n },\n {\n 'id': 'roles',\n 'moduleIds': [22],\n 'displayName': 'roles',\n 'authorize': true,\n 'url': 'admin/roles'\n },\n {\n 'id': 'notifications',\n 'moduleIds': [23],\n 'displayName': 'notifications',\n 'authorize': true,\n 'url': 'admin/notifications'\n },\n {\n 'id': 'adminReportSubscriptions',\n 'moduleIds': [23],\n 'displayName': 'reportSubscriptions',\n 'authorize': true,\n },\n {\n 'id': 'pandoIntegration',\n 'moduleIds': [73],\n 'displayName': 'pandoIntegration',\n 'authorize': true\n },\n {\n 'id': 'doNotCallEmailList',\n 'moduleIds': [70, 30],\n 'displayName': 'doNotEmailCallPageTitle',\n 'authorize': true,\n 'url': 'admin/do-not-call-email-list'\n },\n {\n 'id': 'outreachTemplates',\n 'moduleIds': [44],\n 'displayName': 'outreachTemplates',\n 'authorize': true,\n 'url': 'admin/outreach-templates'\n },\n {\n 'id': 'creditConvertEstimator',\n 'moduleIds': [46],\n 'displayName': 'creditConvertEstimator',\n 'authorize': true,\n 'url': 'admin/creditconvert'\n },\n {\n 'id': 'accessRights',\n 'moduleIds': [68],\n 'displayName': 'accessRights',\n 'authorize': true,\n 'url': 'admin/access-rights',\n '-roleId': '1'\n },\n {\n 'id': 'employees',\n 'moduleIds': [42],\n 'displayName': 'employees',\n 'authorize': true,\n 'url': 'admin/employees'\n }\n ]\n },\n {\n 'id': 'help',\n 'moduleIds': [24],\n 'displayName': 'help',\n 'authorize': false,\n 'imgUrl': '/Content/images/icons/16/Help Blue 16 n p.png',\n 'baseUrl': 'about',\n 'url': 'about/contact-us',\n 'subMenuItems': [\n {\n 'id': 'contactUs',\n 'moduleIds': [26],\n 'displayName': 'contactUs',\n 'authorize': false,\n 'url': 'about/contact-us'\n },\n {\n 'id': 'about',\n 'moduleIds': [25],\n 'displayName': 'about',\n 'authorize': false,\n 'url': 'about'\n }\n ]\n }\n];\n","import { Modules } from './modules';\r\nimport { MenuItem } from '../interfaces/menu-item.interface';\r\n\r\nexport const SubMenu: MenuItem[] = [\r\n {\r\n 'id': 'alertDesk',\r\n 'moduleIds': [1],\r\n 'displayName': 'alertDesk',\r\n 'authorize': true,\r\n 'imgUrl': '/Content/images/icons/16/Task Done 16 n p.png',\r\n 'baseUrl': 'alert-desk',\r\n 'url': 'alert-desk',\r\n 'subMenuItems': [\r\n {\r\n 'id': 'dashboard.opportunities',\r\n 'moduleIds': [Modules.dashboard],\r\n 'displayName': 'dashboard',\r\n 'authorize': true,\r\n 'url': 'alert-desk/dashboard'\r\n },\r\n {\r\n 'id': 'euroliteopportunities',\r\n 'moduleIds': [84],\r\n 'displayName': 'euroliteopportunities',\r\n 'authorize': true,\r\n 'url': 'alert-desk/europe/opportunities'\r\n },\r\n {\r\n 'id': 'opportunities',\r\n 'moduleIds': [3],\r\n 'displayName': 'opportunities',\r\n 'authorize': true,\r\n 'url': 'alert-desk/opportunities'\r\n },\r\n {\r\n 'id': 'activities',\r\n 'moduleIds': [5],\r\n 'displayName': 'activities',\r\n 'authorize': true,\r\n 'url': 'alert-desk/activities'\r\n },\r\n {\r\n 'id': 'search.form',\r\n 'moduleIds': [4],\r\n 'displayName': 'search',\r\n 'authorize': true,\r\n 'url': 'alert-desk/search'\r\n },\r\n {\r\n 'id': 'conquests',\r\n 'moduleIds': [29],\r\n 'displayName': 'conquests',\r\n 'authorize': true,\r\n 'url': 'alert-desk/conquests'\r\n },\r\n {\r\n 'id': 'preOwnedManager',\r\n 'moduleIds': [32],\r\n 'displayName': 'preOwnedManager',\r\n 'authorize': true,\r\n 'url': 'alert-desk/pre-owned-manager'\r\n },\r\n {\r\n 'id': 'serviceManager',\r\n 'moduleIds': [33],\r\n 'displayName': 'serviceManager',\r\n 'authorize': true,\r\n 'url': 'alert-desk/service-manager'\r\n },\r\n {\r\n 'id': 'serviceDriveOffers',\r\n 'moduleIds': [33],\r\n 'displayName': 'serviceDriveOffers',\r\n 'authorize': true,\r\n 'url': 'alert-desk/service-drive/offers'\r\n },\r\n {\r\n 'id': 'financeInsuranceManager',\r\n 'moduleIds': [41],\r\n 'displayName': 'financeInsuranceManager',\r\n 'authorize': true,\r\n 'url': 'alert-desk/finance-insurance-manager'\r\n },\r\n {\r\n 'id': 'wishList',\r\n 'moduleIds': [95],\r\n 'displayName': 'inventoryWishlist',\r\n 'authorize': true,\r\n 'url': 'alert-desk/wish-list'\r\n },\r\n {\r\n 'id': 'potentialNLO',\r\n 'moduleIds': [95],\r\n 'displayName': 'nlo_MenuLabel',\r\n 'authorize': true,\r\n 'url': 'alert-desk/ai-manager'\r\n }\r\n ]\r\n },\r\n {\r\n 'id': 'inventoryDashboard',\r\n 'moduleIds': [51],\r\n 'displayName': 'inventory',\r\n 'authorize': true,\r\n 'imgUrl': '/Content/images/icons/16/Task Done 16 n p.png',\r\n 'baseUrl': 'inventory-dashboard',\r\n 'url': 'inventory-dashboard'\r\n },\r\n {\r\n 'id': 'dataEntry',\r\n 'moduleIds': [14],\r\n 'displayName': 'dataEntry',\r\n 'authorize': true,\r\n 'imgUrl': '/Content/images/icons/16/Add Database Record 16 n p.png',\r\n 'baseUrl': 'data-entry',\r\n 'url': '#',\r\n 'subMenuItems': [\r\n {\r\n 'id': 'dataEntry.prices',\r\n 'moduleIds': [15],\r\n 'displayName': 'prices',\r\n 'authorize': true,\r\n },\r\n {\r\n 'id': 'dataEntry.rates',\r\n 'moduleIds': [31],\r\n 'displayName': 'rates',\r\n 'authorize': true,\r\n },\r\n {\r\n 'id': 'dataEntry.rebates',\r\n 'moduleIds': [16],\r\n 'displayName': 'rebates',\r\n 'authorize': true,\r\n },\r\n {\r\n 'id': 'dataEntry.tradeIns',\r\n 'moduleIds': [17],\r\n 'displayName': 'tradeIns',\r\n 'authorize': true,\r\n },\r\n {\r\n 'id': 'dataEntry.alerts',\r\n 'moduleIds': [93],\r\n 'displayName': 'alertTolerances',\r\n 'authorize': true,\r\n },\r\n {\r\n 'id': 'dataEntry.replacements',\r\n 'moduleIds': [18],\r\n 'displayName': 'replacements',\r\n 'authorize': true\r\n }\r\n ]\r\n },\r\n {\r\n 'id': 'admin',\r\n 'moduleIds': [19],\r\n 'displayName': 'admin',\r\n 'authorize': true,\r\n 'imgUrl': '/Content/images/icons/16/Options 2 16 n p.png',\r\n 'baseUrl': 'admin',\r\n 'url': '#',\r\n 'subMenuItems': [\r\n {\r\n 'id': 'settings',\r\n 'moduleIds': [20],\r\n 'displayName': 'settings',\r\n 'authorize': true,\r\n 'url': 'admin/settings'\r\n },\r\n {\r\n 'id': 'newSettings',\r\n 'moduleIds': [20],\r\n 'displayName': 'settings',\r\n 'authorize': true,\r\n 'url': 'admin/dealer-settings'\r\n }, \r\n {\r\n 'id': 'users',\r\n 'moduleIds': [21],\r\n 'displayName': 'users',\r\n 'authorize': true,\r\n 'url': 'admin/users'\r\n },\r\n {\r\n 'id': 'roles',\r\n 'moduleIds': [22],\r\n 'displayName': 'roles',\r\n 'authorize': true,\r\n 'url': 'admin/roles'\r\n },\r\n {\r\n 'id': 'notifications',\r\n 'moduleIds': [23],\r\n 'displayName': 'notifications',\r\n 'authorize': true,\r\n 'url': 'admin/notifications'\r\n },\r\n {\r\n 'id': 'adminReportSubscriptions',\r\n 'moduleIds': [23],\r\n 'displayName': 'reportSubscriptions',\r\n 'authorize': true,\r\n },\r\n {\r\n 'id': 'pandoIntegration',\r\n 'moduleIds': [73],\r\n 'displayName': 'pandoIntegration',\r\n 'authorize': true\r\n },\r\n {\r\n 'id': 'doNotCallEmailList',\r\n 'moduleIds': [70, 30],\r\n 'displayName': 'doNotEmailCallPageTitle',\r\n 'authorize': true,\r\n 'url': 'admin/do-not-call-email-list'\r\n },\r\n {\r\n 'id': 'outreachTemplates',\r\n 'moduleIds': [44],\r\n 'displayName': 'outreachTemplates',\r\n 'authorize': true,\r\n 'url': 'admin/outreach-templates'\r\n },\r\n {\r\n 'id': 'creditConvertEstimator',\r\n 'moduleIds': [46],\r\n 'displayName': 'creditConvertEstimator',\r\n 'authorize': true,\r\n 'url': 'admin/creditconvert'\r\n },\r\n {\r\n 'id': 'accessRights',\r\n 'moduleIds': [68],\r\n 'displayName': 'accessRights',\r\n 'authorize': true,\r\n 'url': 'admin/access-rights',\r\n '-roleId': '1'\r\n },\r\n {\r\n 'id': 'employees',\r\n 'moduleIds': [42],\r\n 'displayName': 'employees',\r\n 'authorize': true,\r\n 'url': 'admin/employees'\r\n }\r\n ]\r\n },\r\n {\r\n 'id': 'help',\r\n 'moduleIds': [24],\r\n 'displayName': 'help',\r\n 'authorize': false,\r\n 'imgUrl': '/Content/images/icons/16/Help Blue 16 n p.png',\r\n 'baseUrl': 'about',\r\n 'url': 'about/contact-us',\r\n 'subMenuItems': [\r\n {\r\n 'id': 'contactUs',\r\n 'moduleIds': [26],\r\n 'displayName': 'contactUs',\r\n 'authorize': false,\r\n 'url': 'about/contact-us'\r\n },\r\n {\r\n 'id': 'about',\r\n 'moduleIds': [25],\r\n 'displayName': 'about',\r\n 'authorize': false,\r\n 'url': 'about'\r\n }\r\n ]\r\n }\r\n];\r\n","var path = '/app/components/deal-sheet/modals/view-email-conversation-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@ngx-translate/core\");\nvar core_2 = require(\"@angular/core\");\nvar forms_1 = require(\"@angular/forms\");\nvar rxjs_1 = require(\"rxjs\");\nvar admin_templates_edit_modal_component_1 = require(\"./admin-templates-edit-modal.component\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar services_1 = require(\"../../../generated/services\");\nvar toaster_logger_service_1 = require(\"../../../core/toaster-logger.service\");\nvar settings_interface_1 = require(\"../../../interfaces/settings.interface\");\nvar display_modal_component_1 = require(\"../../modals/display-modal/display-modal.component\");\nvar kendo_data_query_1 = require(\"@progress/kendo-data-query\");\nvar dealer_service_1 = require(\"../../../services/dealer.service\");\nvar confirm_modal_component_1 = require(\"../../modals/confirm-modal.component\");\nvar storage_service_1 = require(\"../../../modules/storage/storage.service\");\nvar AdminTemplatesComponent = /** @class */ (function () {\n function AdminTemplatesComponent(modalService, formBuilder, translateService, dealerUpgradeProposalSettingClientService, dealerSmtpSettingClientService, logger, dealerService, storageService, templateService) {\n this.modalService = modalService;\n this.formBuilder = formBuilder;\n this.translateService = translateService;\n this.dealerUpgradeProposalSettingClientService = dealerUpgradeProposalSettingClientService;\n this.dealerSmtpSettingClientService = dealerSmtpSettingClientService;\n this.logger = logger;\n this.dealerService = dealerService;\n this.storageService = storageService;\n this.templateService = templateService;\n this.marketingMessageTextMaxLength = 255;\n this.marketingMessageTextValue = '';\n this.readOnly = false;\n this.addConfidentialCoverPage = false;\n this.submitted = false;\n this.success = false;\n this.subscriptionAggregator = new rxjs_1.Subscription();\n this.pageSize = 50;\n this.skip = 0;\n this.tab1 = true;\n this.tab2 = false;\n this.tab3 = false;\n this.tempDealerSmtpSettingCustomDto = {};\n this.sort = [{\n field: 'templateName',\n dir: 'asc'\n }];\n // Adding validators\n this.SMTPForm = this.formBuilder.group({\n SMTPHost: ['', forms_1.Validators.required],\n port: ['', [forms_1.Validators.required, forms_1.Validators.maxLength(5)]],\n useSSL: [''],\n username: ['', forms_1.Validators.required],\n password: [''],\n });\n }\n Object.defineProperty(AdminTemplatesComponent.prototype, \"getSMTPSettingEnum\", {\n get: function () { return settings_interface_1.SMTPSettingEnum; },\n enumerable: true,\n configurable: true\n });\n AdminTemplatesComponent.prototype.ngOnInit = function () {\n this.dealers = this.dealerService.getSelectedDealers();\n var dealerId = this.storageService.getItem('selectedDealerId');\n this.selectedDealerId = dealerId > 0 ? dealerId : this.dealers[0].id;\n this.defaultMarketingMessage = this.translateService.instant(\"goalMarketingMessage\");\n this.systemUserName = this.translateService.instant(\"globalAdmin\");\n this.loadData();\n };\n AdminTemplatesComponent.prototype.ngOnDestroy = function () {\n this.subscriptionAggregator.unsubscribe();\n };\n AdminTemplatesComponent.prototype.ngOnChanges = function (changes) {\n };\n AdminTemplatesComponent.prototype.pageChange = function (_a) {\n var skip = _a.skip, take = _a.take;\n this.skip = skip;\n this.pageSize = take;\n this.dealerTemplates = kendo_data_query_1.orderBy(this.dealerTemplates, this.sort);\n this.gridView = {\n data: this.dealerTemplates.slice(this.skip, this.skip + this.pageSize),\n total: this.dealerTemplates.length\n };\n };\n AdminTemplatesComponent.prototype.loadData = function () {\n this.busy = this.getTemplates();\n this.getMarketingMessage();\n this.getDealerSmtpSettings();\n this.subscriptionAggregator.add(this.busy);\n };\n AdminTemplatesComponent.prototype.calculateLength = function () {\n return this.marketingMessageTextMaxLength - ((this.marketingMessageTextValue) ? this.marketingMessageTextValue.length : 0);\n };\n AdminTemplatesComponent.prototype.getDealerSmtpSettings = function () {\n var _this = this;\n return this.dealerSmtpSettingClientService.GetDealerSmtpSettingsGET(this.selectedDealerId)\n .subscribe(function (data) {\n if (data != null) {\n _this.type = data.smtpMethod;\n _this.tempDealerSmtpSettingCustomDto.customHost = data.customHost;\n _this.tempDealerSmtpSettingCustomDto.customPort = data.customPort;\n _this.tempDealerSmtpSettingCustomDto.customUsername = data.customUsername;\n _this.tempDealerSmtpSettingCustomDto.customUseSsl = data.customUseSsl;\n _this.tempDealerSmtpSettingCustomDto.dealerID = data.dealerID;\n _this.tempDealerSmtpSettingCustomDto.smtpMethod = data.smtpMethod;\n if (data.smtpMethod == settings_interface_1.SMTPSettingEnum.custom) {\n _this.SMTPForm.patchValue({\n SMTPHost: _this.tempDealerSmtpSettingCustomDto.customHost,\n port: _this.tempDealerSmtpSettingCustomDto.customPort,\n username: _this.tempDealerSmtpSettingCustomDto.customUsername,\n useSSL: _this.tempDealerSmtpSettingCustomDto.customUseSsl\n });\n }\n }\n });\n };\n AdminTemplatesComponent.prototype.getMarketingMessage = function () {\n var _this = this;\n return this.dealerUpgradeProposalSettingClientService.GetDealerUpgradeProposalSettingByDealeridGET(this.selectedDealerId)\n .subscribe(function (data) {\n if (data != null) {\n _this.marketingMessageId = data.id;\n _this.marketingMessageTextValue = data.marketingMessage;\n _this.addConfidentialCoverPage = data.addConfidentialCoverPage;\n }\n else {\n _this.marketingMessageId = undefined;\n _this.marketingMessageTextValue = \"\";\n _this.addConfidentialCoverPage = false;\n }\n });\n };\n AdminTemplatesComponent.prototype.getTemplates = function () {\n var _this = this;\n return rxjs_1.from(this.templateService.getNonEmptyTemplatesForDealerId(this.selectedDealerId))\n .subscribe(function (templateData) {\n _this.dealerTemplates = templateData;\n _this.dealerTemplates.forEach(function (t) {\n if (t.isSystemTemplate) {\n t.createdByFullName = _this.systemUserName;\n }\n });\n _this.dealerTemplates = kendo_data_query_1.orderBy(_this.dealerTemplates, _this.sort);\n _this.gridView = {\n data: _this.dealerTemplates.slice(_this.skip, _this.skip + _this.pageSize),\n total: _this.dealerTemplates.length\n };\n _this.tab1 = true;\n _this.tab2 = false;\n _this.tab3 = false;\n });\n };\n AdminTemplatesComponent.prototype.sortChange = function (sort) {\n if (sort[0].field == this.sort[0].field) {\n sort[0].dir = (this.sort[0].dir == \"asc\") ? \"desc\" : \"asc\";\n }\n this.sort = sort;\n this.dealerTemplates = kendo_data_query_1.orderBy(this.dealerTemplates, this.sort);\n this.gridView = {\n data: this.dealerTemplates.slice(this.skip, this.skip + this.pageSize),\n total: this.dealerTemplates.length\n };\n };\n AdminTemplatesComponent.prototype.onSuccess = function () {\n this.logger.success(this.translateService.instant(\"changesSaved\"));\n };\n AdminTemplatesComponent.prototype.refreshTemplates = function (showSuccess) {\n this.busy = this.getTemplates();\n this.subscriptionAggregator.add(this.busy);\n if (showSuccess)\n this.onSuccess();\n };\n AdminTemplatesComponent.prototype.onDealerSelect = function () {\n this.storageService.setItem(\"selectedDealerId\", this.selectedDealerId);\n this.loadData();\n };\n AdminTemplatesComponent.prototype.onDeleteSuccess = function () {\n this.refreshTemplates(true);\n };\n AdminTemplatesComponent.prototype.deleteTemplate = function (id) {\n var _this = this;\n var initialState = {\n saveWarningMessage: false,\n messageKey: \"templateDeleteConfirmMessage\"\n };\n this.bsModalRef = this.modalService.show(confirm_modal_component_1.ConfirmModalComponent, { initialState: initialState });\n this.bsModalRef.content.onClosed.subscribe(function (result) {\n if (result.confirmed) {\n rxjs_1.from(_this.templateService.deleteTemplate(id))\n .subscribe(function () { return _this.onDeleteSuccess(); });\n }\n });\n };\n AdminTemplatesComponent.prototype.pdfPreviewTemplate = function (id) {\n this.busy = rxjs_1.from(this.templateService.getTemplatePdfPreview(id, this.selectedDealerId))\n .subscribe();\n this.subscriptionAggregator.add(this.busy);\n };\n AdminTemplatesComponent.prototype.emailPreviewTemplate = function (id) {\n var _this = this;\n this.busy = rxjs_1.from(this.templateService.getTemplateEmailPreview(id, this.selectedDealerId))\n .subscribe(function (templateData) {\n var initialState = { saveWarningMessage: false, htmlContent: templateData };\n _this.bsModalRef = _this.modalService.show(display_modal_component_1.DisplayModalComponent, { initialState: initialState, class: 'modal-lg' });\n _this.bsModalRef.content.onClosed.subscribe(function (result) {\n });\n });\n this.subscriptionAggregator.add(this.busy);\n };\n AdminTemplatesComponent.prototype.onCreateNewTemplate = function () {\n var _this = this;\n var initialState = { id: 0, dealerId: this.selectedDealerId };\n this.bsModalRef = this.modalService.show(admin_templates_edit_modal_component_1.AdminTemplatesEditModalComponent, { initialState: initialState, class: 'modal-lg' });\n this.bsModalRef.content.saveChanges.subscribe(function (result) {\n _this.refreshTemplates(false);\n });\n };\n AdminTemplatesComponent.prototype.editTemplate = function (id) {\n var _this = this;\n var initialState = { id: id, dealerId: this.selectedDealerId };\n this.bsModalRef = this.modalService.show(admin_templates_edit_modal_component_1.AdminTemplatesEditModalComponent, { initialState: initialState, class: 'modal-lg' });\n this.bsModalRef.content.saveChanges.subscribe(function (result) {\n _this.refreshTemplates(false);\n });\n };\n AdminTemplatesComponent.prototype.saveMarketingMessage = function (marketingMessage) {\n var _this = this;\n if (marketingMessage != null) {\n if (marketingMessage.replace(/\\s/g, '').length === 0)\n marketingMessage = this.defaultMarketingMessage;\n this.busy3 = this.dealerUpgradeProposalSettingClientService.SaveDealerUpgradeProposalSettingPOST({\n id: this.marketingMessageId,\n dealerId: this.selectedDealerId,\n marketingMessage: marketingMessage,\n addConfidentialCoverPage: this.addConfidentialCoverPage\n })\n .subscribe(function () { return _this.onSuccess(); });\n this.subscriptionAggregator.add(this.busy3);\n }\n };\n AdminTemplatesComponent.prototype.onSaveMarketingMessage = function (marketingMessage) {\n this.saveMarketingMessage(marketingMessage);\n };\n AdminTemplatesComponent.prototype.onSaveSMTPSettings = function () {\n var _this = this;\n this.submitted = true;\n if (this.type == settings_interface_1.SMTPSettingEnum.custom && this.SMTPForm.invalid) {\n return;\n }\n if (this.type == settings_interface_1.SMTPSettingEnum.none || this.type == settings_interface_1.SMTPSettingEnum.autoAlert) {\n this.tempDealerSmtpSettingCustomDto.smtpMethod = this.type;\n this.busy2 = this.dealerSmtpSettingClientService.SaveDealerSmtpSettingsPOST(this.tempDealerSmtpSettingCustomDto).subscribe(function () { return _this.onSuccess(); });\n this.subscriptionAggregator.add(this.busy2);\n }\n else {\n this.tempDealerSmtpSettingCustomDto.smtpMethod = this.type;\n this.tempDealerSmtpSettingCustomDto.customHost = this.SMTPForm.get('SMTPHost').value;\n this.tempDealerSmtpSettingCustomDto.customPort = this.SMTPForm.get('port').value;\n this.tempDealerSmtpSettingCustomDto.customUsername = this.SMTPForm.get('username').value;\n this.tempDealerSmtpSettingCustomDto.customUseSsl = this.SMTPForm.get('useSSL').value;\n this.tempDealerSmtpSettingCustomDto.customPassword = this.SMTPForm.get('password').value;\n this.busy2 = this.dealerSmtpSettingClientService.SaveDealerSmtpSettingsPOST(this.tempDealerSmtpSettingCustomDto).subscribe(function () { return _this.onSuccess(); });\n this.subscriptionAggregator.add(this.busy2);\n }\n this.success = true;\n };\n AdminTemplatesComponent.prototype.selectType = function (type) {\n this.type = type;\n };\n return AdminTemplatesComponent;\n}());\nexports.AdminTemplatesComponent = AdminTemplatesComponent;\n","import { TranslateService } from '@ngx-translate/core';\r\nimport { Component, OnInit, Inject, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { TemplateService } from '../../../ajs-upgraded-providers';\r\nimport { Subscription, from } from 'rxjs';\r\nimport { AdminTemplatesEditModalComponent } from './admin-templates-edit-modal.component';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { DealerUpgradeProposalSettingClientService, DealerSmtpSettingClientService } from '../../../generated/services'\r\nimport { DealerUpgradeProposalSettingDto, DealerSmtpSettingCustomDto } from '../../../generated/models';\r\nimport { ToasterLoggerService } from '../../../core/toaster-logger.service';\r\nimport { SMTPSettingEnum } from '../../../interfaces/settings.interface';\r\nimport { DisplayModalComponent } from '../../modals/display-modal/display-modal.component';\r\nimport { SortDescriptor, orderBy } from '@progress/kendo-data-query';\r\nimport { DealerService } from '../../../services/dealer.service';\r\nimport { GridDataResult, PageChangeEvent } from '@progress/kendo-angular-grid';\r\nimport { ConfirmModalComponent } from '../../modals/confirm-modal.component';\r\nimport { StorageService } from '../../../modules/storage/storage.service';\r\n\r\n@Component({\r\n selector: 'aa-admin-templates',\r\n templateUrl: './admin-templates.component-ng.html',\r\n styleUrls: ['./admin-templates.component.scss']\r\n})\r\n\r\nexport class AdminTemplatesComponent implements OnChanges, OnInit, OnDestroy {\r\n public marketingMessageTextMaxLength = 255;\r\n public marketingMessageTextValue = '';\r\n public readOnly = false;\r\n public addConfidentialCoverPage: boolean = false;\r\n public type: SMTPSettingEnum;\r\n \r\n public SMTPForm: FormGroup;\r\n public submitted: boolean = false;\r\n public success: boolean = false;\r\n public dealers: Array;\r\n public selectedDealerId: number;\r\n public marketingMessageId: number;\r\n private subscriptionAggregator = new Subscription();\r\n public busy: Subscription;\r\n public busy2: Subscription;\r\n public busy3: Subscription;\r\n public dealerTemplates: any;\r\n private bsModalRef: BsModalRef;\r\n private defaultMarketingMessage: string;\r\n private systemUserName: string;\r\n public pageSize = 50;\r\n public skip = 0;\r\n public tab1: boolean = true;\r\n public tab2: boolean = false;\r\n public tab3: boolean = false;\r\n public gridView: GridDataResult; \r\n private tempDealerSmtpSettingCustomDto = {} as DealerSmtpSettingCustomDto;\r\n\r\n get getSMTPSettingEnum() { return SMTPSettingEnum; }\r\n\r\n\r\n constructor(private modalService: BsModalService,\r\n private formBuilder: FormBuilder,\r\n private translateService: TranslateService,\r\n private dealerUpgradeProposalSettingClientService: DealerUpgradeProposalSettingClientService,\r\n private dealerSmtpSettingClientService: DealerSmtpSettingClientService,\r\n public logger: ToasterLoggerService,\r\n private dealerService: DealerService,\r\n private storageService: StorageService,\r\n @Inject(TemplateService) private templateService: any,\r\n ) {\r\n // Adding validators\r\n this.SMTPForm = this.formBuilder.group({\r\n SMTPHost: ['', Validators.required],\r\n port: ['', [Validators.required, Validators.maxLength(5)]],\r\n useSSL: [''],\r\n username: ['', Validators.required],\r\n password: [''],\r\n })\r\n }\r\n\r\n ngOnInit(): void {\r\n this.dealers = this.dealerService.getSelectedDealers();\r\n var dealerId = this.storageService.getItem('selectedDealerId');\r\n this.selectedDealerId = dealerId > 0 ? dealerId : this.dealers[0].id;\r\n this.defaultMarketingMessage = this.translateService.instant(\"goalMarketingMessage\");\r\n this.systemUserName = this.translateService.instant(\"globalAdmin\");\r\n this.loadData();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionAggregator.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n }\r\n\r\n public pageChange({ skip, take }: PageChangeEvent): void { \r\n this.skip = skip;\r\n this.pageSize = take;\r\n this.dealerTemplates = orderBy(this.dealerTemplates, this.sort);\r\n this.gridView = {\r\n data: this.dealerTemplates.slice(this.skip, this.skip + this.pageSize),\r\n total: this.dealerTemplates.length\r\n };\r\n }\r\n\r\n loadData(): void {\r\n this.busy = this.getTemplates();\r\n this.getMarketingMessage();\r\n this.getDealerSmtpSettings();\r\n this.subscriptionAggregator.add(this.busy);\r\n }\r\n\r\n calculateLength() {\r\n return this.marketingMessageTextMaxLength - ((this.marketingMessageTextValue) ? this.marketingMessageTextValue.length : 0)\r\n }\r\n\r\n getDealerSmtpSettings(): Subscription {\r\n return this.dealerSmtpSettingClientService.GetDealerSmtpSettingsGET(this.selectedDealerId)\r\n .subscribe((data: DealerSmtpSettingCustomDto | null) => { \r\n if (data != null) {\r\n this.type = data.smtpMethod;\r\n this.tempDealerSmtpSettingCustomDto.customHost = data.customHost;\r\n this.tempDealerSmtpSettingCustomDto.customPort = data.customPort;\r\n this.tempDealerSmtpSettingCustomDto.customUsername = data.customUsername;\r\n this.tempDealerSmtpSettingCustomDto.customUseSsl = data.customUseSsl;\r\n this.tempDealerSmtpSettingCustomDto.dealerID = data.dealerID;\r\n this.tempDealerSmtpSettingCustomDto.smtpMethod = data.smtpMethod;\r\n\r\n if (data.smtpMethod == SMTPSettingEnum.custom) {\r\n this.SMTPForm.patchValue({\r\n SMTPHost: this.tempDealerSmtpSettingCustomDto.customHost,\r\n port: this.tempDealerSmtpSettingCustomDto.customPort,\r\n username: this.tempDealerSmtpSettingCustomDto.customUsername,\r\n useSSL: this.tempDealerSmtpSettingCustomDto.customUseSsl\r\n });\r\n }\r\n\r\n }\r\n });\r\n\r\n }\r\n\r\n\r\n getMarketingMessage(): Subscription {\r\n return this.dealerUpgradeProposalSettingClientService.GetDealerUpgradeProposalSettingByDealeridGET(this.selectedDealerId)\r\n .subscribe((data: DealerUpgradeProposalSettingDto | null)=> { \r\n if (data != null) {\r\n this.marketingMessageId = data.id;\r\n this.marketingMessageTextValue = data.marketingMessage;\r\n this.addConfidentialCoverPage = data.addConfidentialCoverPage;\r\n }\r\n else {\r\n this.marketingMessageId = undefined;\r\n this.marketingMessageTextValue = \"\";\r\n this.addConfidentialCoverPage = false;\r\n }\r\n });\r\n }\r\n\r\n getTemplates(): Subscription {\r\n return from(this.templateService.getNonEmptyTemplatesForDealerId(this.selectedDealerId))\r\n .subscribe((templateData: Array) => {\r\n this.dealerTemplates = templateData;\r\n\r\n this.dealerTemplates.forEach(t => {\r\n if (t.isSystemTemplate) {\r\n t.createdByFullName = this.systemUserName;\r\n }\r\n });\r\n\r\n this.dealerTemplates = orderBy(this.dealerTemplates, this.sort);\r\n this.gridView = {\r\n data: this.dealerTemplates.slice(this.skip, this.skip + this.pageSize),\r\n total: this.dealerTemplates.length\r\n };\r\n this.tab1 = true;\r\n this.tab2 = false;\r\n this.tab3 = false;\r\n });\r\n }\r\n\r\n public sortChange(sort: SortDescriptor[]): void { \r\n if (sort[0].field == this.sort[0].field) {\r\n sort[0].dir = (this.sort[0].dir == \"asc\") ? \"desc\" : \"asc\";\r\n } \r\n this.sort = sort;\r\n this.dealerTemplates = orderBy(this.dealerTemplates, this.sort);\r\n this.gridView = {\r\n data: this.dealerTemplates.slice(this.skip, this.skip + this.pageSize),\r\n total: this.dealerTemplates.length\r\n };\r\n }\r\n\r\n public sort: SortDescriptor[] = [{\r\n field: 'templateName',\r\n dir: 'asc'\r\n }];\r\n\r\n\r\n onSuccess(): void {\r\n this.logger.success(this.translateService.instant(\"changesSaved\"));\r\n }\r\n\r\n refreshTemplates(showSuccess: boolean): void {\r\n this.busy = this.getTemplates();\r\n this.subscriptionAggregator.add(this.busy);\r\n if (showSuccess) this.onSuccess();\r\n }\r\n\r\n\r\n onDealerSelect(): void { \r\n this.storageService.setItem(\"selectedDealerId\", this.selectedDealerId);\r\n this.loadData();\r\n }\r\n\r\n onDeleteSuccess(): void {\r\n this.refreshTemplates(true);\r\n }\r\n\r\n deleteTemplate(id: number): void {\r\n const initialState = {\r\n saveWarningMessage: false,\r\n messageKey: \"templateDeleteConfirmMessage\"\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(ConfirmModalComponent, { initialState });\r\n\r\n this.bsModalRef.content.onClosed.subscribe((result: any) => {\r\n if (result.confirmed) {\r\n from(this.templateService.deleteTemplate(id))\r\n .subscribe(() => this.onDeleteSuccess());\r\n }\r\n });\r\n }\r\n\r\n \r\n pdfPreviewTemplate(id: number): void { \r\n this.busy = from(this.templateService.getTemplatePdfPreview(id, this.selectedDealerId))\r\n .subscribe();\r\n\r\n this.subscriptionAggregator.add(this.busy);\r\n }\r\n\r\n emailPreviewTemplate(id: number): void {\r\n this.busy = from(this.templateService.getTemplateEmailPreview(id, this.selectedDealerId))\r\n .subscribe(templateData => {\r\n \r\n const initialState = { saveWarningMessage: false, htmlContent: templateData };\r\n this.bsModalRef = this.modalService.show(DisplayModalComponent, { initialState: initialState, class: 'modal-lg' });\r\n this.bsModalRef.content.onClosed.subscribe((result: any) => {\r\n\r\n });\r\n\r\n });\r\n\r\n this.subscriptionAggregator.add(this.busy);\r\n }\r\n\r\n\r\n onCreateNewTemplate(): void {\r\n const initialState = { id: 0, dealerId: this.selectedDealerId };\r\n\r\n this.bsModalRef = this.modalService.show(AdminTemplatesEditModalComponent, { initialState: initialState, class: 'modal-lg' });\r\n\r\n this.bsModalRef.content.saveChanges.subscribe((result: any) => {\r\n this.refreshTemplates(false);\r\n });\r\n }\r\n\r\n\r\n editTemplate(id: number): void {\r\n const initialState = { id: id, dealerId: this.selectedDealerId }; \r\n\r\n this.bsModalRef = this.modalService.show(AdminTemplatesEditModalComponent, { initialState: initialState, class: 'modal-lg' });\r\n\r\n this.bsModalRef.content.saveChanges.subscribe((result: any) => {\r\n this.refreshTemplates(false);\r\n });\r\n }\r\n\r\n saveMarketingMessage(marketingMessage: string) {\r\n if (marketingMessage != null) {\r\n if (marketingMessage.replace(/\\s/g, '').length === 0) marketingMessage = this.defaultMarketingMessage; \r\n\r\n this.busy3 = this.dealerUpgradeProposalSettingClientService.SaveDealerUpgradeProposalSettingPOST({\r\n id: this.marketingMessageId,\r\n dealerId: this.selectedDealerId,\r\n marketingMessage: marketingMessage,\r\n addConfidentialCoverPage: this.addConfidentialCoverPage\r\n })\r\n .subscribe(() => this.onSuccess());\r\n\r\n this.subscriptionAggregator.add(this.busy3);\r\n }\r\n }\r\n\r\n onSaveMarketingMessage(marketingMessage: string) { \r\n this.saveMarketingMessage(marketingMessage);\r\n }\r\n\r\n onSaveSMTPSettings(): void {\r\n this.submitted = true;\r\n\r\n if (this.type == SMTPSettingEnum.custom && this.SMTPForm.invalid) { \r\n return;\r\n }\r\n \r\n if (this.type == SMTPSettingEnum.none || this.type == SMTPSettingEnum.autoAlert) { \r\n this.tempDealerSmtpSettingCustomDto.smtpMethod = this.type;\r\n this.busy2 = this.dealerSmtpSettingClientService.SaveDealerSmtpSettingsPOST(this.tempDealerSmtpSettingCustomDto).subscribe(() => this.onSuccess());\r\n this.subscriptionAggregator.add(this.busy2);\r\n }\r\n else {\r\n\r\n this.tempDealerSmtpSettingCustomDto.smtpMethod = this.type;\r\n this.tempDealerSmtpSettingCustomDto.customHost = this.SMTPForm.get('SMTPHost').value;\r\n this.tempDealerSmtpSettingCustomDto.customPort = this.SMTPForm.get('port').value;\r\n this.tempDealerSmtpSettingCustomDto.customUsername = this.SMTPForm.get('username').value;\r\n this.tempDealerSmtpSettingCustomDto.customUseSsl = this.SMTPForm.get('useSSL').value; \r\n this.tempDealerSmtpSettingCustomDto.customPassword = this.SMTPForm.get('password').value; \r\n\r\n this.busy2 = this.dealerSmtpSettingClientService.SaveDealerSmtpSettingsPOST(this.tempDealerSmtpSettingCustomDto).subscribe(() => this.onSuccess());\r\n this.subscriptionAggregator.add(this.busy2);\r\n }\r\n \r\n this.success = true;\r\n }\r\n\r\n selectType(type: SMTPSettingEnum.none | SMTPSettingEnum.autoAlert | SMTPSettingEnum.custom): void {\r\n this.type = type;\r\n }\r\n\r\n}","'use strict';\n// B.2.3.9 String.prototype.italics()\nrequire('./_string-html')('italics', function (createHTML) {\n return function italics() {\n return createHTML(this, 'i', '', '');\n };\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CustomerActivityTypes = {\n autoAssistCommSent: 1,\n autoAssistNewHotLead: 2,\n geoAlertCampaign: 4,\n geoAlertActive: 5,\n autoAssistCustomerReplied: 8,\n geoAlertAd: 9,\n facebookAdded: 13,\n facebookVerified: 14,\n autofiDigitalRetailing: 16,\n autofiDigitalRetailingCreditApp: 17,\n autofiDigitalRetailingApptSched: 18,\n};\n","export const CustomerActivityTypes = {\r\n autoAssistCommSent: 1,\r\n autoAssistNewHotLead: 2,\r\n geoAlertCampaign: 4,\r\n geoAlertActive: 5,\r\n autoAssistCustomerReplied: 8,\r\n geoAlertAd: 9,\r\n facebookAdded: 13,\r\n facebookVerified: 14,\r\n autofiDigitalRetailing: 16,\r\n autofiDigitalRetailingCreditApp: 17,\r\n autofiDigitalRetailingApptSched: 18,\r\n};\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DealerCountries = {\n usa: 1,\n canada: 2,\n unitedKingdom: 3,\n france: 4\n};\n","\r\nexport const DealerCountries = {\r\n usa: 1,\r\n canada: 2,\r\n unitedKingdom: 3,\r\n france: 4\r\n};\r\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","module.exports = __webpack_public_path__ + \"Blue_Advantage_Gold_Certified.4d1baffcb6e8fd3e6aea.png\";","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar tag_types_1 = require(\"../../../constants/tag-types\");\nvar core_2 = require(\"@uirouter/core\");\nvar opportunity2_service_1 = require(\"../../../services/opportunity2.service\");\nvar constants_1 = require(\"../../../constants\");\nvar core_3 = require(\"@ngx-translate/core\");\nvar TaggedCustomersComponent = /** @class */ (function () {\n function TaggedCustomersComponent(opportunityService, opportunity2Service, stateService, tsService) {\n this.opportunityService = opportunityService;\n this.opportunity2Service = opportunity2Service;\n this.stateService = stateService;\n this.tsService = tsService;\n this.tagData = [];\n this.tagDataType1 = [];\n this.tagDataType2 = [];\n this.tagTypes = tag_types_1.TagTypes;\n }\n TaggedCustomersComponent.prototype.ngOnInit = function () {\n this.getTagsPivotForDealers(false);\n this.opportunityService = constants_1.Settings.environmentVariables.opportunityServiceAng8Enabled ? this.opportunity2Service : this.opportunityService;\n };\n TaggedCustomersComponent.prototype.ngOnChanges = function (changes) {\n if (changes.selectedDealerId && !changes.selectedDealerId.isFirstChange()) {\n this.getTagsPivotForDealers(false);\n }\n };\n TaggedCustomersComponent.prototype.goToOppSearch = function (tagId) {\n this.stateService.go('search.form', { 'tagId': tagId, 'dealerId': this.selectedDealerId });\n };\n TaggedCustomersComponent.prototype.getTagsPivotForDealers = function (flushCache) {\n var _this = this;\n this.widgetDataPromise = this.opportunityService.getTagsPivotForDealers(this.selectedDealerId, flushCache).then(function (data) {\n _this.tagData = data;\n _this.tagDataType1 = [];\n _this.tagDataType2 = [];\n for (var i = 0; i < _this.tagData.length; i++) {\n var tag = _this.tagData[i];\n var translateKey = \"tagText\" + tag.tagID;\n var translatedText = _this.tsService.instant(translateKey);\n if (translatedText != translateKey)\n tag.tagText = translatedText;\n if (tag.tagTypeId == _this.tagTypes.dealership) {\n _this.tagDataType1.push(tag);\n }\n else {\n _this.tagDataType2.push(tag);\n }\n }\n });\n };\n TaggedCustomersComponent.prototype.refresh = function (clearCache) {\n if (clearCache) {\n this.getTagsPivotForDealers(true);\n }\n };\n return TaggedCustomersComponent;\n}());\nexports.TaggedCustomersComponent = TaggedCustomersComponent;\n","import { Component, OnInit, Inject, Input, OnChanges, SimpleChanges, ChangeDetectionStrategy } from '@angular/core';\r\nimport { TagTypes } from '../../../constants/tag-types';\r\nimport { OpportunityService } from '../../../ajs-upgraded-providers';\r\nimport { StateService } from '@uirouter/core';\r\nimport { Opportunity2Service } from '../../../services/opportunity2.service';\r\nimport { Settings } from \"../../../constants\";\r\nimport { TagDto } from '../../../generated/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'tagged-customers',\r\n templateUrl: './tagged-customers.component-ng.html',\r\n styleUrls: ['./tagged-customers.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.Default\r\n})\r\nexport class TaggedCustomersComponent implements OnInit, OnChanges {\r\n\r\n @Input() selectedDealerId: number;\r\n\r\n widgetDataPromise: object;\r\n tagData: TagDto[] = [];\r\n tagDataType1: TagDto[] = [];\r\n tagDataType2: TagDto[] = [];\r\n\r\n tagTypes = TagTypes;\r\n\r\n constructor(\r\n @Inject(OpportunityService) private opportunityService,\r\n private opportunity2Service: Opportunity2Service,\r\n private stateService: StateService,\r\n private tsService: TranslateService) {\r\n }\r\n\r\n ngOnInit() {\r\n this.getTagsPivotForDealers(false);\r\n\r\n this.opportunityService = Settings.environmentVariables.opportunityServiceAng8Enabled ? this.opportunity2Service : this.opportunityService;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.selectedDealerId && !changes.selectedDealerId.isFirstChange()) {\r\n this.getTagsPivotForDealers(false);\r\n }\r\n }\r\n\r\n goToOppSearch(tagId: number): void {\r\n this.stateService.go('search.form', { 'tagId': tagId, 'dealerId': this.selectedDealerId });\r\n }\r\n\r\n getTagsPivotForDealers(flushCache: boolean): void {\r\n this.widgetDataPromise = this.opportunityService.getTagsPivotForDealers(this.selectedDealerId, flushCache).then(data => {\r\n this.tagData = data;\r\n this.tagDataType1 = [];\r\n this.tagDataType2 = [];\r\n\r\n for (var i = 0; i < this.tagData.length; i++) {\r\n var tag: TagDto = this.tagData[i];\r\n\r\n var translateKey: string = \"tagText\" + tag.tagID;\r\n var translatedText: string = this.tsService.instant(translateKey);\r\n\r\n if (translatedText != translateKey)\r\n tag.tagText = translatedText;\r\n\r\n if (tag.tagTypeId == this.tagTypes.dealership) {\r\n this.tagDataType1.push(tag);\r\n }\r\n else {\r\n this.tagDataType2.push(tag);\r\n }\r\n }\r\n });\r\n }\r\n\r\n refresh(clearCache: boolean): void {\r\n if (clearCache) {\r\n this.getTagsPivotForDealers(true);\r\n }\r\n }\r\n}\r\n","var path = '/app/components/deal-sheet/action-checkbox.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n","var path = '/app/components/deal-sheet/deal-sheet-tab-select.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar toPrimitive = require('./_to-primitive');\nvar getPrototypeOf = require('./_object-gpo');\nvar getOwnPropertyDescriptor = require('./_object-gopd').f;\n\n// B.2.2.5 Object.prototype.__lookupSetter__(P)\nrequire('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', {\n __lookupSetter__: function __lookupSetter__(P) {\n var O = toObject(this);\n var K = toPrimitive(P, true);\n var D;\n do {\n if (D = getOwnPropertyDescriptor(O, K)) return D.set;\n } while (O = getPrototypeOf(O));\n }\n});\n","var path = '/app/components/modals/open-modal.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar constants_1 = require(\"../constants\");\nvar http_1 = require(\"@angular/common/http\");\nvar log_factory_service_1 = require(\"./log-factory.service\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"./log-factory.service\"));\nvar i2 = __importStar(require(\"../modules/storage/storage.service\"));\nvar i3 = __importStar(require(\"@angular/common/http\"));\nvar CONFIG = {\n enabled: constants_1.Settings.environmentVariables.pandoInboxEnabled,\n url: constants_1.Settings.apiUrls.motofuze,\n pandoInboxUrl: constants_1.Settings.apiUrls.pandoInboxUrl,\n motofuzeToken: null,\n tokenPromise: null\n};\nvar CommunicationApiService = /** @class */ (function () {\n function CommunicationApiService(logFactory, storageService, httpBackend) {\n this.storageService = storageService;\n this.log = logFactory.get(\"communicationApi\");\n this.httpClient = new http_1.HttpClient(httpBackend);\n }\n CommunicationApiService.prototype.getPandoInboxConfig = function () {\n return __assign({}, CONFIG);\n };\n CommunicationApiService.prototype.getCurrentUser = function () {\n return this.requestWithToken('users/currentuser')\n .then(function (response) {\n return response.body.Data;\n }, function (error) {\n //console.log(error);\n return null;\n });\n };\n CommunicationApiService.prototype.getGlobalFrameConfig = function () {\n return this.requestWithToken('users/globalframeconfig')\n .then(function (response) {\n return response.body.Data;\n }, function (error) {\n return null;\n });\n };\n CommunicationApiService.prototype.get = function (path, request) {\n return this.requestWithToken(path, __assign({}, request, { method: 'GET' }));\n };\n CommunicationApiService.prototype.put = function (path, request) {\n return this.requestWithToken(path, __assign({}, request, { method: 'PUT' }));\n };\n CommunicationApiService.prototype.post = function (path, request) {\n return this.requestWithToken(path, __assign({}, request, { method: 'POST' }));\n };\n CommunicationApiService.prototype.delete = function (path, request) {\n return this.requestWithToken(path, __assign({}, request, { method: 'DELETE' }));\n };\n CommunicationApiService.prototype.requestWithToken = function (path, request) {\n var _this = this;\n if (!CONFIG.url) {\n return Promise.reject(new Error('MotoFuze API has not been configured'));\n }\n var fetchTokenAndRequest = function (request) {\n var tokenPromise = CONFIG.tokenPromise;\n if (!tokenPromise) {\n tokenPromise = CONFIG.tokenPromise = tradeAccessTokenForMotofuzeToken()\n .then(function (token) {\n CONFIG.tokenPromise = null;\n return token;\n }, function (err) {\n CONFIG.tokenPromise = null;\n throw err;\n });\n }\n return tokenPromise.then(function (motofuzeToken) {\n CONFIG.motofuzeToken = motofuzeToken;\n return _this.httpClient.request(request.method, request.url, {\n withCredentials: false,\n headers: new http_1.HttpHeaders({ 'Authorization': \"Bearer \" + motofuzeToken }),\n responseType: 'json',\n observe: 'response',\n body: request.data\n }).toPromise();\n });\n };\n var tradeAccessTokenForMotofuzeToken = function () {\n var accessToken = _this.storageService.getItem('accessToken');\n if (!accessToken) {\n return Promise.reject(new Error(\"No AccessToken available\"));\n }\n if (!CONFIG.url) {\n return Promise.reject(new Error('MotoFuze API has not been configured'));\n }\n var url = CONFIG.url + 'account/ObtainLocalAccessToken';\n // Creating our own client with the standard http backend allows us to skip the interceptors\n // https://stackoverflow.com/questions/46469349/how-to-make-an-angular-module-to-ignore-http-interceptor-added-in-a-core-module\n // This request fails if we include our standard 'no-cache' headers\n return _this.httpClient.request('GET', url, {\n withCredentials: false,\n params: new http_1.HttpParams({\n fromObject: {\n 'provider': 'sso',\n 'externalAccessToken': accessToken,\n }\n }),\n responseType: 'json',\n observe: 'response'\n }).toPromise()\n .then(function (response) {\n if (response && response.body && response.body['access_token']) {\n return response.body['access_token'];\n }\n else {\n _this.log.warn(\"Unexpected response for ObtainLocalAccessToken\", JSON.stringify(response));\n throw new Error(\"Unable to get the MotoFuze access token.\");\n }\n }, function (error) {\n //console.log(error);\n return null;\n });\n };\n if (request == null) {\n request = { method: \"GET\", url: \"\", data: \"\" };\n }\n var url = CONFIG.url + path;\n request.url = url;\n var motofuzeToken = CONFIG.motofuzeToken;\n if (!motofuzeToken) {\n // If we don't have a saved token, fetch the token then make a\n // single request.\n return fetchTokenAndRequest(request);\n }\n else {\n // Make one request with the saved token, and if it fails\n // unauthorized, fetch a new token and re-request.\n return this.httpClient.request(request.method, url, {\n withCredentials: false,\n headers: new http_1.HttpHeaders({ 'Authorization': \"Bearer \" + motofuzeToken }),\n responseType: 'json',\n observe: 'response',\n body: request.data\n }).toPromise()\n .catch(function (response) {\n if (response.status == 401) {\n // If unauthorized, fetch a new token and retry once\n return fetchTokenAndRequest(request);\n }\n else {\n throw request;\n }\n });\n }\n };\n CommunicationApiService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function CommunicationApiService_Factory() { return new CommunicationApiService(i0.ɵɵinject(i1.LogFactory), i0.ɵɵinject(i2.StorageService), i0.ɵɵinject(i3.HttpBackend)); }, token: CommunicationApiService, providedIn: \"root\" });\n return CommunicationApiService;\n}());\nexports.CommunicationApiService = CommunicationApiService;\n","import { Settings } from \"../constants\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { HttpClient, HttpRequest, HttpHeaders, HttpParams, HttpBackend } from \"@angular/common/http\";\r\nimport { LogFactory, NamedLog } from \"./log-factory.service\";\r\nimport { StorageService } from \"../modules/storage/storage.service\";\r\n\r\nconst CONFIG = {\r\n enabled: Settings.environmentVariables.pandoInboxEnabled,\r\n url: Settings.apiUrls.motofuze,\r\n pandoInboxUrl: Settings.apiUrls.pandoInboxUrl,\r\n motofuzeToken: null,\r\n tokenPromise: null\r\n};\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CommunicationApiService {\r\n private log: NamedLog;\r\n private httpClient: HttpClient;\r\n\r\n constructor(logFactory: LogFactory, private storageService: StorageService, httpBackend: HttpBackend) {\r\n this.log = logFactory.get(\"communicationApi\");\r\n this.httpClient = new HttpClient(httpBackend);\r\n }\r\n\r\n public getPandoInboxConfig(): {} {\r\n return { ...CONFIG };\r\n }\r\n\r\n public getCurrentUser(): any {\r\n return this.requestWithToken('users/currentuser')\r\n .then(function (response) {\r\n return response.body.Data;\r\n }, function (error) {\r\n //console.log(error);\r\n return null;\r\n });\r\n }\r\n\r\n public getGlobalFrameConfig(): any {\r\n return this.requestWithToken('users/globalframeconfig')\r\n .then(function (response) {\r\n return response.body.Data;\r\n }, function (error) {\r\n return null;\r\n });\r\n }\r\n\r\n public get(path, request: any): Promise {\r\n return this.requestWithToken(path, { ...request, method: 'GET' });\r\n }\r\n\r\n public put(path, request): Promise {\r\n return this.requestWithToken(path, { ...request, method: 'PUT' });\r\n }\r\n\r\n public post(path, request): Promise {\r\n return this.requestWithToken(path, { ...request, method: 'POST' });\r\n }\r\n\r\n public delete(path, request): Promise {\r\n return this.requestWithToken(path, { ...request, method: 'DELETE' });\r\n }\r\n\r\n private requestWithToken(path, request?: any): Promise {\r\n if (!CONFIG.url) {\r\n return Promise.reject(new Error('MotoFuze API has not been configured'));\r\n }\r\n\r\n const fetchTokenAndRequest = (request: any) => {\r\n let tokenPromise = CONFIG.tokenPromise;\r\n if (!tokenPromise) {\r\n tokenPromise = CONFIG.tokenPromise = tradeAccessTokenForMotofuzeToken()\r\n .then(token => {\r\n CONFIG.tokenPromise = null;\r\n return token;\r\n }, err => {\r\n CONFIG.tokenPromise = null;\r\n throw err;\r\n });\r\n }\r\n\r\n return tokenPromise.then((motofuzeToken): Promise => {\r\n CONFIG.motofuzeToken = motofuzeToken;\r\n\r\n\r\n return this.httpClient.request(request.method, request.url, {\r\n withCredentials: false,\r\n headers: new HttpHeaders({ 'Authorization': \"Bearer \" + motofuzeToken }),\r\n responseType: 'json',\r\n observe: 'response',\r\n body: request.data\r\n }).toPromise();\r\n })\r\n }\r\n\r\n const tradeAccessTokenForMotofuzeToken = (): Promise => {\r\n const accessToken = this.storageService.getItem('accessToken');\r\n if (!accessToken) {\r\n return Promise.reject(new Error(\"No AccessToken available\"));\r\n }\r\n\r\n if (!CONFIG.url) {\r\n return Promise.reject(new Error('MotoFuze API has not been configured'));\r\n }\r\n\r\n const url = CONFIG.url + 'account/ObtainLocalAccessToken';\r\n\r\n // Creating our own client with the standard http backend allows us to skip the interceptors\r\n // https://stackoverflow.com/questions/46469349/how-to-make-an-angular-module-to-ignore-http-interceptor-added-in-a-core-module\r\n // This request fails if we include our standard 'no-cache' headers\r\n\r\n return this.httpClient.request('GET', url, {\r\n withCredentials: false,\r\n params: new HttpParams({\r\n fromObject: {\r\n 'provider': 'sso',\r\n 'externalAccessToken': accessToken,\r\n }\r\n }),\r\n responseType: 'json',\r\n observe: 'response'\r\n }).toPromise()\r\n .then(response => {\r\n if (response && response.body && response.body['access_token']) {\r\n return response.body['access_token'];\r\n } else {\r\n this.log.warn(\"Unexpected response for ObtainLocalAccessToken\", JSON.stringify(response));\r\n throw new Error(\"Unable to get the MotoFuze access token.\");\r\n }\r\n }, function (error) {\r\n //console.log(error);\r\n return null;\r\n });\r\n }\r\n\r\n if (request == null) {\r\n request = { method: \"GET\", url: \"\", data: \"\" };\r\n }\r\n\r\n const url = CONFIG.url + path;\r\n request.url = url;\r\n const motofuzeToken = CONFIG.motofuzeToken;\r\n if (!motofuzeToken) {\r\n // If we don't have a saved token, fetch the token then make a\r\n // single request.\r\n return fetchTokenAndRequest(request);\r\n\r\n } else {\r\n // Make one request with the saved token, and if it fails\r\n // unauthorized, fetch a new token and re-request.\r\n \r\n return this.httpClient.request(request.method, url, {\r\n withCredentials: false, \r\n headers: new HttpHeaders({ 'Authorization': \"Bearer \" + motofuzeToken }), \r\n responseType: 'json',\r\n observe: 'response', \r\n body: request.data\r\n }).toPromise()\r\n .catch(response => {\r\n if (response.status == 401) {\r\n // If unauthorized, fetch a new token and retry once\r\n return fetchTokenAndRequest(request);\r\n } else {\r\n throw request;\r\n }\r\n });\r\n }\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@angular/forms\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../../../../node_modules/ngx-bootstrap/tabs/ngx-bootstrap-tabs.ngfactory\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/tabs\"));\nvar i6 = __importStar(require(\"./admin-roles-selector.component.ngfactory\"));\nvar i7 = __importStar(require(\"./admin-roles-selector.component\"));\nvar i8 = __importStar(require(\"./admin-roles.component\"));\nvar i9 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i10 = __importStar(require(\"../../services/admin-role.service\"));\nvar i11 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar styles_AdminRolesComponent = [];\nvar RenderType_AdminRolesComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminRolesComponent, data: {} });\nexports.RenderType_AdminRolesComponent = RenderType_AdminRolesComponent;\nfunction View_AdminRolesComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i0.ɵted(3, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.roleNameForSelect; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminRolesComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"optgroup\", [], [[8, \"label\", 0]], null, null, null, null)), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminRolesComponent_2)), i0.ɵdid(3, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 0, 0, i0.ɵnov(_v, 1).transform(_v.context.$implicit[0].optionGroupNameKey)), \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AdminRolesComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"roleEditButton\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onEditRole() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"img\", [[\"src\", \"../../images/icon-pencil-lake.svg\"]], null, null, null, null, null))], null, null); }\nfunction View_AdminRolesComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"roleSelectNote\"]], [[8, \"innerHTML\", 1]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getRoleSelectNote(); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AdminRolesComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"roleSelectNotePleaseEdit\"], [\"translate\", \"adminRoles_pleaseEdit\"]], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"adminRoles_pleaseEdit\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminRolesComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 46, \"div\", [[\"class\", \"admin-roles-wrapper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 3, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"div\", [[\"class\", \"page-title\"], [\"translate\", \"rolesmanagement\"]], null, null, null, null, null)), i0.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"divider\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 23, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 22, \"div\", [[\"class\", \"roleSelectContainer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 17, \"div\", [[\"class\", \"col-md-10\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"div\", [[\"class\", \"roleLabel\"], [\"translate\", \"rolesAdmin_roleAndCustomPermissions\"]], null, null, null, null, null)), i0.ɵdid(10, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(11, 0, null, null, 8, \"div\", [[\"class\", \"roleSelect\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 7, \"select\", [[\"class\", \"form-control\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"ngModelChange\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 13).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"change\" === en)) {\n var pd_2 = (_co.onRoleChanged() !== false);\n ad = (pd_2 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_3 = ((_co.selectedRole = $event) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(13, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(15, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(17, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminRolesComponent_1)), i0.ɵdid(19, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminRolesComponent_3)), i0.ɵdid(21, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminRolesComponent_4)), i0.ɵdid(23, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminRolesComponent_5)), i0.ɵdid(25, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(26, 0, null, null, 3, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(27, 0, null, null, 2, \"div\", [[\"class\", \"roleAddNew\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(28, 0, null, null, 1, \"a\", [[\"href\", \"#\"], [\"translate\", \"addNewRole\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onAddRole() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(29, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(30, 0, null, null, 16, \"div\", [[\"class\", \"adminRoleTabContainer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(31, 0, null, null, 15, \"tabset\", [], [[2, \"tab-container\", null]], null, null, i4.View_TabsetComponent_0, i4.RenderType_TabsetComponent)), i0.ɵdid(32, 180224, null, 0, i5.TabsetComponent, [i5.TabsetConfig, i0.Renderer2, i0.ElementRef], null, null), (_l()(), i0.ɵeld(33, 0, null, 0, 6, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], null, null, null, null)), i0.ɵdid(34, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"] }, null), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(36, 0, null, null, 1, \"div\", [[\"class\", \"bold\"], [\"translate\", \"managemodulesaccess\"]], null, null, null, null, null)), i0.ɵdid(37, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(38, 0, null, null, 1, \"admin-roles-selector\", [], null, [[null, \"onSaveChanges\"], [null, \"onCancelChanges\"], [null, \"accessRightChanged\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onSaveChanges\" === en)) {\n var pd_0 = (_co.saveChanges() !== false);\n ad = (pd_0 && ad);\n } if ((\"onCancelChanges\" === en)) {\n var pd_1 = (_co.cancelChanges() !== false);\n ad = (pd_1 && ad);\n } if ((\"accessRightChanged\" === en)) {\n var pd_2 = ((_co.accessRightChanged = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i6.View_AdminRolesSelectorComponent_0, i6.RenderType_AdminRolesSelectorComponent)), i0.ɵdid(39, 49152, null, 0, i7.AdminRolesSelectorComponent, [], { accessList: [0, \"accessList\"], categories: [1, \"categories\"], readOnly: [2, \"readOnly\"] }, { onSaveChanges: \"onSaveChanges\", onCancelChanges: \"onCancelChanges\", accessRightChanged: \"accessRightChanged\" }), (_l()(), i0.ɵeld(40, 0, null, 0, 6, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], null, null, null, null)), i0.ɵdid(41, 212992, null, 0, i5.TabDirective, [i5.TabsetComponent, i0.ElementRef, i0.Renderer2], { heading: [0, \"heading\"] }, null), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(43, 0, null, null, 1, \"div\", [[\"class\", \"bold\"], [\"translate\", \"manageaccessrights\"]], null, null, null, null, null)), i0.ɵdid(44, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(45, 0, null, null, 1, \"admin-roles-selector\", [], null, [[null, \"onSaveChanges\"], [null, \"onCancelChanges\"], [null, \"accessRightChanged\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onSaveChanges\" === en)) {\n var pd_0 = (_co.saveChanges() !== false);\n ad = (pd_0 && ad);\n } if ((\"onCancelChanges\" === en)) {\n var pd_1 = (_co.cancelChanges() !== false);\n ad = (pd_1 && ad);\n } if ((\"accessRightChanged\" === en)) {\n var pd_2 = ((_co.accessRightChanged = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, i6.View_AdminRolesSelectorComponent_0, i6.RenderType_AdminRolesSelectorComponent)), i0.ɵdid(46, 49152, null, 0, i7.AdminRolesSelectorComponent, [], { accessList: [0, \"accessList\"], categories: [1, \"categories\"], hideCategoryCheckbox: [2, \"hideCategoryCheckbox\"], readOnly: [3, \"readOnly\"] }, { onSaveChanges: \"onSaveChanges\", onCancelChanges: \"onCancelChanges\", accessRightChanged: \"accessRightChanged\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"rolesmanagement\"; _ck(_v, 4, 0, currVal_0); var currVal_1 = \"rolesAdmin_roleAndCustomPermissions\"; _ck(_v, 10, 0, currVal_1); var currVal_9 = _co.selectedRole; _ck(_v, 15, 0, currVal_9); var currVal_10 = _co.roleOptions; _ck(_v, 19, 0, currVal_10); var currVal_11 = (_co.selectedRole && _co.selectedRole.isEditable); _ck(_v, 21, 0, currVal_11); var currVal_12 = ((_co.selectedRole && _co.selectedRole.isEditable) && _co.selectedRole.parentRoleID); _ck(_v, 23, 0, currVal_12); var currVal_13 = ((_co.selectedRole && _co.selectedRole.isEditable) && !_co.selectedRole.parentRoleID); _ck(_v, 25, 0, currVal_13); var currVal_14 = \"addNewRole\"; _ck(_v, 29, 0, currVal_14); var currVal_19 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 34, 0, i0.ɵnov(_v, 35).transform(\"moduleAccess\")), \"\"); _ck(_v, 34, 0, currVal_19); var currVal_20 = \"managemodulesaccess\"; _ck(_v, 37, 0, currVal_20); var currVal_21 = _co.moduleSettings; var currVal_22 = _co.moduleCategories; var currVal_23 = (_co.selectedRole && !_co.selectedRole.isEditable); _ck(_v, 39, 0, currVal_21, currVal_22, currVal_23); var currVal_27 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 41, 0, i0.ɵnov(_v, 42).transform(\"adminRoles_accessRights\")), \"\"); _ck(_v, 41, 0, currVal_27); var currVal_28 = \"manageaccessrights\"; _ck(_v, 44, 0, currVal_28); var currVal_29 = _co.rightSettings; var currVal_30 = _co.rightCategories; var currVal_31 = true; var currVal_32 = (_co.selectedRole && !_co.selectedRole.isEditable); _ck(_v, 46, 0, currVal_29, currVal_30, currVal_31, currVal_32); }, function (_ck, _v) { var currVal_2 = i0.ɵnov(_v, 17).ngClassUntouched; var currVal_3 = i0.ɵnov(_v, 17).ngClassTouched; var currVal_4 = i0.ɵnov(_v, 17).ngClassPristine; var currVal_5 = i0.ɵnov(_v, 17).ngClassDirty; var currVal_6 = i0.ɵnov(_v, 17).ngClassValid; var currVal_7 = i0.ɵnov(_v, 17).ngClassInvalid; var currVal_8 = i0.ɵnov(_v, 17).ngClassPending; _ck(_v, 12, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_15 = i0.ɵnov(_v, 32).clazz; _ck(_v, 31, 0, currVal_15); var currVal_16 = i0.ɵnov(_v, 34).id; var currVal_17 = i0.ɵnov(_v, 34).active; var currVal_18 = i0.ɵnov(_v, 34).addClass; _ck(_v, 33, 0, currVal_16, currVal_17, currVal_18); var currVal_24 = i0.ɵnov(_v, 41).id; var currVal_25 = i0.ɵnov(_v, 41).active; var currVal_26 = i0.ɵnov(_v, 41).addClass; _ck(_v, 40, 0, currVal_24, currVal_25, currVal_26); }); }\nexports.View_AdminRolesComponent_0 = View_AdminRolesComponent_0;\nfunction View_AdminRolesComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-roles\", [], null, null, null, View_AdminRolesComponent_0, RenderType_AdminRolesComponent)), i0.ɵdid(1, 114688, null, 0, i8.AdminRolesComponent, [i9.BsModalService, i10.AdminRoleService, i2.TranslateService, i11.ToasterLoggerService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminRolesComponent_Host_0 = View_AdminRolesComponent_Host_0;\nvar AdminRolesComponentNgFactory = i0.ɵccf(\"admin-roles\", i8.AdminRolesComponent, View_AdminRolesComponent_Host_0, {}, {}, []);\nexports.AdminRolesComponentNgFactory = AdminRolesComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EulaStatusTypes = {\n fullyAccepted: 0,\n notAccepted: 1,\n canadaAddendumNeeded: 2,\n canadaAddendumDeferred: 3\n};\n","\r\nexport const EulaStatusTypes = {\r\n fullyAccepted: 0,\r\n notAccepted: 1,\r\n canadaAddendumNeeded: 2,\r\n canadaAddendumDeferred: 3\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar AutoCheckComponent = /** @class */ (function () {\n function AutoCheckComponent() {\n this.showAutoCheckLink = false;\n }\n AutoCheckComponent.prototype.ngOnInit = function () {\n };\n AutoCheckComponent.prototype.ngOnChanges = function () {\n if (!this.permissions || !this.dealerSettings || !this.vin) {\n return;\n }\n this.showAutoCheckLink = this.permissions.vehicleHistoryReports && this.dealerSettings.enableAutoCheck;\n };\n return AutoCheckComponent;\n}());\nexports.AutoCheckComponent = AutoCheckComponent;\n","import { Component, OnInit, Input, OnChanges } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\n\r\n@Component({\r\n selector: 'auto-check',\r\n templateUrl: './auto-check.component-ng.html',\r\n styleUrls: ['./auto-check.component.scss']\r\n})\r\nexport class AutoCheckComponent implements OnInit, OnChanges {\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() dealerSettings: any;\r\n @Input() opportunityId: string;\r\n @Input() vin: string;\r\n @Input() readonly: boolean;\r\n public showAutoCheckLink = false;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges() {\r\n if (!this.permissions || !this.dealerSettings || !this.vin) {\r\n return;\r\n }\r\n\r\n this.showAutoCheckLink = this.permissions.vehicleHistoryReports && this.dealerSettings.enableAutoCheck;\r\n }\r\n\r\n}\r\n\r\n\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar common_1 = require(\"@angular/common\");\nvar time_zones_1 = require(\"../constants/time-zones\");\nvar moment_timezone_1 = __importDefault(require(\"moment-timezone\"));\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar LocaleDateTimePipe = /** @class */ (function (_super) {\n __extends(LocaleDateTimePipe, _super);\n function LocaleDateTimePipe(storageService) {\n var _this = _super.call(this, 'en-US') || this;\n _this.storageService = storageService;\n return _this;\n }\n LocaleDateTimePipe.prototype.transform = function (date, args) {\n var timeZoneId = this.storageService.getItem('timezoneId') || time_zones_1.TimeZones.pacificStandardTime.id;\n var utcOffsetString;\n // If `date` is a Date, it has already been converted to local time\n // If `date` is a string, a trailing Z indicates a UTC timestamp\n var isUTCFormat = !(date instanceof Date) && date.toString().endsWith('Z');\n if (isUTCFormat) {\n var timeZone = time_zones_1.TimeZonesById.get(timeZoneId);\n if (timeZone) {\n // moment-timezone does the hard work of deciding whether DST was\n // in effect at the given DateTime.\n var isDSTAtGivenTime = moment_timezone_1.default(date).tz(timeZone.tzdbName).isDST();\n if (isDSTAtGivenTime) {\n utcOffsetString = timeZone.daylight;\n }\n else {\n utcOffsetString = timeZone.standard;\n }\n }\n }\n var cultureName = this.storageService.getItem('cultureName') || 'en-us';\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n return _super.prototype.transform.call(this, date, 'dd/MM/yyyy hh:mm a', utcOffsetString);\n case 'en-ca':\n return _super.prototype.transform.call(this, date, 'dd/MM/yyyy h:mm a', utcOffsetString);\n case 'fr-ca':\n return _super.prototype.transform.call(this, date, 'yyyy-MM-dd hh:mm a', utcOffsetString);\n case 'fr-fr':\n return _super.prototype.transform.call(this, date, 'dd/MM/yyyy H:mm', utcOffsetString);\n case 'en-us':\n default:\n return _super.prototype.transform.call(this, date, 'MM/dd/yyyy h:mm a', utcOffsetString);\n }\n };\n return LocaleDateTimePipe;\n}(common_1.DatePipe));\nexports.LocaleDateTimePipe = LocaleDateTimePipe;\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DatePipe } from '@angular/common';\r\nimport { TimeZones, TimeZonesById } from '../constants/time-zones';\r\nimport moment from 'moment-timezone';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\n\r\n@Pipe({\r\n name: 'localeDateTime'\r\n})\r\nexport class LocaleDateTimePipe extends DatePipe implements PipeTransform {\r\n\r\n constructor(private storageService: StorageService) {\r\n super('en-US');\r\n }\r\n\r\n transform(date: any, args?: any): any {\r\n\r\n const timeZoneId = this.storageService.getItem('timezoneId') || TimeZones.pacificStandardTime.id;\r\n\r\n let utcOffsetString;\r\n\r\n\r\n // If `date` is a Date, it has already been converted to local time\r\n // If `date` is a string, a trailing Z indicates a UTC timestamp\r\n const isUTCFormat = !(date instanceof Date) && date.toString().endsWith('Z');\r\n\r\n if (isUTCFormat) {\r\n const timeZone = TimeZonesById.get(timeZoneId);\r\n\r\n if (timeZone) {\r\n // moment-timezone does the hard work of deciding whether DST was\r\n // in effect at the given DateTime.\r\n const isDSTAtGivenTime = moment(date).tz(timeZone.tzdbName).isDST();\r\n\r\n if (isDSTAtGivenTime) {\r\n utcOffsetString = timeZone.daylight;\r\n } else {\r\n utcOffsetString = timeZone.standard;\r\n }\r\n }\r\n }\r\n\r\n const cultureName = this.storageService.getItem('cultureName') || 'en-us';\r\n\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return super.transform(date, 'dd/MM/yyyy hh:mm a', utcOffsetString);\r\n case 'en-ca':\r\n return super.transform(date, 'dd/MM/yyyy h:mm a', utcOffsetString);\r\n case 'fr-ca':\r\n return super.transform(date, 'yyyy-MM-dd hh:mm a', utcOffsetString);\r\n case 'fr-fr':\r\n return super.transform(date, 'dd/MM/yyyy H:mm', utcOffsetString);\r\n case 'en-us':\r\n default:\r\n return super.transform(date, 'MM/dd/yyyy h:mm a', utcOffsetString);\r\n }\r\n }\r\n\r\n\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar AdminSettingTabs;\n(function (AdminSettingTabs) {\n AdminSettingTabs[AdminSettingTabs[\"General\"] = 1] = \"General\";\n AdminSettingTabs[AdminSettingTabs[\"Programs\"] = 2] = \"Programs\";\n AdminSettingTabs[AdminSettingTabs[\"Opportunity\"] = 3] = \"Opportunity\";\n AdminSettingTabs[AdminSettingTabs[\"Inventory\"] = 4] = \"Inventory\";\n AdminSettingTabs[AdminSettingTabs[\"DealerInfo\"] = 5] = \"DealerInfo\";\n AdminSettingTabs[AdminSettingTabs[\"Advanced\"] = 6] = \"Advanced\";\n AdminSettingTabs[AdminSettingTabs[\"CreditConvert\"] = 7] = \"CreditConvert\";\n AdminSettingTabs[AdminSettingTabs[\"Product\"] = 8] = \"Product\";\n AdminSettingTabs[AdminSettingTabs[\"CRMLeadsDelivery\"] = 9] = \"CRMLeadsDelivery\";\n})(AdminSettingTabs = exports.AdminSettingTabs || (exports.AdminSettingTabs = {}));\n","export enum AdminSettingTabs {\r\n General = 1,\r\n Programs = 2,\r\n Opportunity = 3,\r\n Inventory = 4,\r\n DealerInfo = 5,\r\n Advanced = 6,\r\n CreditConvert = 7,\r\n Product = 8,\r\n CRMLeadsDelivery = 9\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./admin-templates-edit-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../../filters/safe.pipe\"));\nvar i3 = __importStar(require(\"@angular/platform-browser\"));\nvar i4 = __importStar(require(\"@ngx-translate/core\"));\nvar i5 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i6 = __importStar(require(\"../../icon/icon.component\"));\nvar i7 = __importStar(require(\"./admin-templates-edit-modal.component\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar styles_AdminTemplatesEditModalComponent = [i0.styles];\nvar RenderType_AdminTemplatesEditModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AdminTemplatesEditModalComponent, data: {} });\nexports.RenderType_AdminTemplatesEditModalComponent = RenderType_AdminTemplatesEditModalComponent;\nfunction View_AdminTemplatesEditModalComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.SafePipe, [i3.DomSanitizer]), (_l()(), i1.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"admin-templates-edit-modal\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"h4\", [[\"class\", \"modal-title\"], [\"translate\", \"editTemplate\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵdid(9, 638976, null, 0, i6.IconComponent, [i3.DomSanitizer], null, null), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"iframe\", [[\"class\", \"ifrmContainer\"], [\"style\", \"border: none;width: 100%;height: 680px\"]], [[8, \"src\", 5]], null, null, null, null)), i1.ɵppd(13, 1), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(16, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"editTemplate\"; _ck(_v, 5, 0, currVal_0); _ck(_v, 9, 0); var currVal_2 = \"close\"; _ck(_v, 16, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 12, 0, _ck(_v, 13, 0, i1.ɵnov(_v, 0), _co.url)); _ck(_v, 12, 0, currVal_1); }); }\nexports.View_AdminTemplatesEditModalComponent_0 = View_AdminTemplatesEditModalComponent_0;\nfunction View_AdminTemplatesEditModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"admin-templates-edit-modal\", [], null, null, null, View_AdminTemplatesEditModalComponent_0, RenderType_AdminTemplatesEditModalComponent)), i1.ɵdid(1, 4308992, null, 0, i7.AdminTemplatesEditModalComponent, [i8.BsModalRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminTemplatesEditModalComponent_Host_0 = View_AdminTemplatesEditModalComponent_Host_0;\nvar AdminTemplatesEditModalComponentNgFactory = i1.ɵccf(\"admin-templates-edit-modal\", i7.AdminTemplatesEditModalComponent, View_AdminTemplatesEditModalComponent_Host_0, { id: \"id\", dealerId: \"dealerId\" }, { saveChanges: \"saveChanges\" }, []);\nexports.AdminTemplatesEditModalComponentNgFactory = AdminTemplatesEditModalComponentNgFactory;\n","
\r\n
\r\n
\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n","var path = '/app/components/deal-sheet/modals/push-to-crm.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar UserSettingsComponent = /** @class */ (function () {\n function UserSettingsComponent() {\n this.dropDownVisible = false;\n }\n UserSettingsComponent.prototype.ngOnInit = function () { };\n UserSettingsComponent.prototype.reloadPage = function () {\n window.location.reload();\n };\n return UserSettingsComponent;\n}());\nexports.UserSettingsComponent = UserSettingsComponent;\n","import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'user-settings',\r\n templateUrl: './user-settings.component-ng.html',\r\n styleUrls: ['./user-settings.component.scss']\r\n})\r\nexport class UserSettingsComponent implements OnInit {\r\n\r\n @Input() items: Array;\r\n @Input() userFullName: string;\r\n public dropDownVisible: boolean = false;\r\n public avatarUrl: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() { }\r\n\r\n reloadPage() {\r\n window.location.reload();\r\n }\r\n}","// 19.1.2.5 Object.freeze(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('freeze', function ($freeze) {\n return function freeze(it) {\n return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n };\n});\n","var path = '/app/components/deal-sheet/financial/financials-balloon-sale.component.html';\nvar html = \"
{{('validationMax' | translate) + ' 199'}} {{('validationMin' | translate) + ' 0'}}
{{('validationMax' | translate) + ' 20000'}} {{('validationMin' | translate) + ' 100'}}
{{('validationMax' | translate) + ' 30'}} {{('validationMin' | translate) + ' 0'}}
{{('validationMax' | translate) + ' 500000'}} {{('validationMin' | translate) + ' 5000'}}
{{('validationMax' | translate) + ' 200000'}} {{('validationMin' | translate) + ' 3000'}}
{{('validationMax' | translate) + ' 100000'}} {{('validationMin' | translate) + ' 0'}}
{{('validationMax' | translate) + ' 300000'}} {{('validationMin' | translate) + ' 0'}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./tagged-customers.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/common\"));\nvar i3 = __importStar(require(\"@ngx-translate/core\"));\nvar i4 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i5 = __importStar(require(\"../../icon/icon.component\"));\nvar i6 = __importStar(require(\"@angular/platform-browser\"));\nvar i7 = __importStar(require(\"./tagged-customers.component\"));\nvar i8 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar i9 = __importStar(require(\"../../../services/opportunity2.service\"));\nvar i10 = __importStar(require(\"@uirouter/core\"));\nvar styles_TaggedCustomersComponent = [i0.styles];\nvar RenderType_TaggedCustomersComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TaggedCustomersComponent, data: {} });\nexports.RenderType_TaggedCustomersComponent = RenderType_TaggedCustomersComponent;\nfunction View_TaggedCustomersComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"tag-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"tag-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"span\", [[\"translate\", \"programsAndIncentives\"]], null, null, null, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(5, { \"placeholder\": 0 }), i1.ɵdid(6, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 6, \"div\", [[\"class\", \"tag-container tagTypeTwo\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 5, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.goToOppSearch(_v.context.$implicit.tagID) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"div\", [[\"class\", \"tag-int\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"description-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"div\", [[\"class\", \"tag-description\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = _ck(_v, 5, 0, (_v.context.index != 0)); _ck(_v, 4, 0, currVal_0); var currVal_1 = \"programsAndIncentives\"; _ck(_v, 6, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.count; _ck(_v, 10, 0, currVal_2); var currVal_3 = _v.context.$implicit.tagText; _ck(_v, 13, 0, currVal_3); }); }\nfunction View_TaggedCustomersComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"tag-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"div\", [[\"class\", \"tag-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"span\", [[\"translate\", \"customTags\"]], null, null, null, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(4, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(5, { \"placeholder\": 0 }), i1.ɵdid(6, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 6, \"div\", [[\"class\", \"tag-container tagTypeOne\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 5, \"div\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.goToOppSearch(_v.context.$implicit.tagID) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"div\", [[\"class\", \"tag-int\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"description-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"div\", [[\"class\", \"tag-description\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = _ck(_v, 5, 0, (_v.context.index != 0)); _ck(_v, 4, 0, currVal_0); var currVal_1 = \"customTags\"; _ck(_v, 6, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.count; _ck(_v, 10, 0, currVal_2); var currVal_3 = _v.context.$implicit.tagText; _ck(_v, 13, 0, currVal_3); }); }\nfunction View_TaggedCustomersComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"panel panel-default dark\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"div\", [[\"class\", \"panel-heading\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"translate\", \"taggedOpportunities\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"span\", [[\"class\", \"cursor dashboard-widget-header-item pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"icon\", [[\"class\", \"icon aa-icon-refresh\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.refresh(true) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(6, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 6, \"div\", [[\"class\", \"panel-body\"], [\"style\", \"position:relative\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 0, \"div\", [[\"cg-busy\", \"{promise:widgetDataPromise,backdrop:false}\"], [\"class\", \"cg-busy-widget-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 4, \"div\", [[\"style\", \"position:relative\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TaggedCustomersComponent_1)), i1.ɵdid(12, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TaggedCustomersComponent_2)), i1.ɵdid(14, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"taggedOpportunities\"; _ck(_v, 3, 0, currVal_1); _ck(_v, 6, 0); var currVal_3 = _co.tagDataType2; _ck(_v, 12, 0, currVal_3); var currVal_4 = _co.tagDataType1; _ck(_v, 14, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (!_co.tagDataType1.length && !_co.tagDataType2.length); _ck(_v, 0, 0, currVal_0); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 7).transform(\"refreshContent\")), \"\"); _ck(_v, 5, 0, currVal_2); }); }\nexports.View_TaggedCustomersComponent_0 = View_TaggedCustomersComponent_0;\nfunction View_TaggedCustomersComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"tagged-customers\", [], null, null, null, View_TaggedCustomersComponent_0, RenderType_TaggedCustomersComponent)), i1.ɵdid(1, 638976, null, 0, i7.TaggedCustomersComponent, [i8.OpportunityService, i9.Opportunity2Service, i10.StateService, i3.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_TaggedCustomersComponent_Host_0 = View_TaggedCustomersComponent_Host_0;\nvar TaggedCustomersComponentNgFactory = i1.ɵccf(\"tagged-customers\", i7.TaggedCustomersComponent, View_TaggedCustomersComponent_Host_0, { selectedDealerId: \"selectedDealerId\" }, {}, []);\nexports.TaggedCustomersComponentNgFactory = TaggedCustomersComponentNgFactory;\n","
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{tag.count}}
\r\n
\r\n
{{tag.tagText}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{tag.count}}
\r\n
\r\n
{{tag.tagText}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar toMetaKey = metadata.key;\nvar getOrCreateMetadataMap = metadata.map;\nvar store = metadata.store;\n\nmetadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]);\n var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;\n if (metadataMap.size) return true;\n var targetMetadata = store.get(target);\n targetMetadata['delete'](targetKey);\n return !!targetMetadata.size || store['delete'](target);\n} });\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = require(\"rxjs\");\nvar user_service_1 = require(\"./user.service\");\nvar authorization_service_1 = require(\"./authorization.service\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar opportunity2_service_1 = require(\"./opportunity2.service\");\nvar dealer_service_1 = require(\"./dealer.service\");\nvar menu_service_1 = require(\"./menu.service\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"./user.service\"));\nvar i2 = __importStar(require(\"./authorization.service\"));\nvar i3 = __importStar(require(\"../modules/storage/storage.service\"));\nvar i4 = __importStar(require(\"./opportunity2.service\"));\nvar i5 = __importStar(require(\"./dealer.service\"));\nvar i6 = __importStar(require(\"./menu.service\"));\nvar i7 = __importStar(require(\"../ajs-upgraded-providers\"));\n// Refactor of methods that get an opportunity formatted for use in a dealsheet\nvar DealSheetDataService = /** @class */ (function () {\n function DealSheetDataService(userService, authorizationService, storageService, opportunityService, dealerService, menuService, vehicleService) {\n this.userService = userService;\n this.authorizationService = authorizationService;\n this.storageService = storageService;\n this.opportunityService = opportunityService;\n this.dealerService = dealerService;\n this.menuService = menuService;\n this.vehicleService = vehicleService;\n }\n // refactor of getDealSheet from deal-sheet.component\n DealSheetDataService.prototype.initDealsheetData = function (opportunityId, stockNo) {\n var _this = this;\n var userProfile;\n var selectedDealerIds;\n var dealSheetData = {};\n return rxjs_1.from(this.userService.getUserProfile()\n .then(function (userProfileResult) {\n userProfile = userProfileResult;\n selectedDealerIds = _this.dealerService.getSelectedDealerIds();\n return _this.authorizationService.getAccessRightIdsFromCache(selectedDealerIds);\n })\n .then(function (accessRightIds) {\n return Promise.all([\n _this.authorizationService.getDealSheetPermissions(accessRightIds),\n _this.authorizationService.getModuleIdsFromCache(selectedDealerIds)\n ]);\n })\n .then(function (results) {\n dealSheetData.permissions = results[0];\n dealSheetData.moduleIds = results[1];\n dealSheetData.permissions.featureComparison = true;\n dealSheetData.permissions.otherVehiclesOwned = true;\n dealSheetData.isSltUser = userProfile.isSltUser;\n dealSheetData.userProfile = userProfile;\n _this.opportunityService.hasReviewProDealer(opportunityId).then(function (hasReviewPro) {\n dealSheetData.hasReviewPro = hasReviewPro;\n });\n _this.opportunityService.hasGeoAlertDealer(opportunityId).then(function (hasGeoAlert) {\n dealSheetData.hasGeoAlert = hasGeoAlert;\n });\n // this appears to always be null in deal-sheet\n var calculationType = null;\n return _this.opportunityService.getOpportunity(opportunityId, stockNo, calculationType, dealSheetData.permissions, dealSheetData.moduleIds)\n .then(function (opportunity) {\n dealSheetData.opportunity = opportunity;\n _this.setAdditionalProperties(dealSheetData);\n return dealSheetData;\n })\n .then(function (dealSheetDataResult) { return _this.getFuelEconomyComparisonReplacementVehicleFuelCost(dealSheetDataResult.opportunity.replacementVehicle, dealSheetDataResult.opportunity.id); })\n .then(function (fuelEconomyComparison) {\n dealSheetData.fuelEconomyComparison = fuelEconomyComparison;\n return dealSheetData;\n });\n }));\n };\n /**\n * Refactored from opportunity.component setOpportunity.\n */\n DealSheetDataService.prototype.setAdditionalProperties = function (dealSheetData) {\n this.opportunityService.addAlertsAsProperties(dealSheetData, dealSheetData.opportunity.alerts);\n };\n DealSheetDataService.prototype.shouldDisplayPullForward = function (opportunity) {\n if (opportunity != null && opportunity.replacementContract != null && opportunity.replacementContract.pullForwardAmount > 0) {\n var tradeEquity = 0;\n if (opportunity.currentVehicle.tradeValue != null && opportunity.currentContract.payoffAmount != null) {\n tradeEquity = opportunity.currentVehicle.tradeValue - opportunity.currentContract.payoffAmount;\n }\n else {\n tradeEquity = opportunity.currentVehicle.tradeValue;\n }\n var btmEquity = -opportunity.currentContract.balanceToMaturity +\n opportunity.currentContract.dispositionFee +\n opportunity.replacementContract.pullForwardAmount;\n return btmEquity > tradeEquity;\n }\n return false;\n };\n DealSheetDataService.prototype.getFuelEconomyComparisonReplacementVehicleFuelCost = function (vehicle, opportunityId) {\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\n return this.vehicleService.getFuelEconomyComparison(vehicle.trimID, opportunityId)\n .catch(function () { return Promise.resolve(null); });\n }\n else {\n return Promise.resolve(null);\n }\n };\n DealSheetDataService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealSheetDataService_Factory() { return new DealSheetDataService(i0.ɵɵinject(i1.UserService), i0.ɵɵinject(i2.AuthorizationService), i0.ɵɵinject(i3.StorageService), i0.ɵɵinject(i4.Opportunity2Service), i0.ɵɵinject(i5.DealerService), i0.ɵɵinject(i6.MenuService), i0.ɵɵinject(i7.VehicleService)); }, token: DealSheetDataService, providedIn: \"root\" });\n return DealSheetDataService;\n}());\nexports.DealSheetDataService = DealSheetDataService;\n","import { Injectable, Inject } from '@angular/core';\r\nimport { Observable, from } from 'rxjs';\r\nimport { UserService } from './user.service';\r\nimport { AuthorizationService } from './authorization.service';\r\nimport { DealSheetData } from '../interfaces/deal-sheet/deal-sheet-data.interface';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\nimport { StorageKeys } from '../constants';\r\nimport { Opportunity2Service } from './opportunity2.service';\r\nimport { DealerService } from './dealer.service';\r\nimport { MenuService } from './menu.service';\r\nimport { DealSheetOpportunity } from '../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { ReplacementVehicle } from '../interfaces/replacement-vehicle.interface';\r\nimport { VehicleService } from '../ajs-upgraded-providers';\r\nimport { UserProfile } from '../interfaces/user-profile.interface';\r\nimport { DealSheetPermissions } from '../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\n\r\n// Refactor of methods that get an opportunity formatted for use in a dealsheet\r\n@Injectable({ providedIn: 'root' })\r\nexport class DealSheetDataService {\r\n constructor(private userService: UserService,\r\n private authorizationService: AuthorizationService,\r\n private storageService: StorageService,\r\n private opportunityService: Opportunity2Service,\r\n private dealerService: DealerService,\r\n private menuService: MenuService,\r\n @Inject(VehicleService) private vehicleService) { }\r\n\r\n // refactor of getDealSheet from deal-sheet.component\r\n public initDealsheetData(opportunityId: string, stockNo?: string): Observable {\r\n let userProfile: UserProfile;\r\n let selectedDealerIds: number[];\r\n const dealSheetData = {} as DealSheetData;\r\n\r\n return from(\r\n this.userService.getUserProfile()\r\n .then((userProfileResult) => {\r\n userProfile = userProfileResult;\r\n selectedDealerIds = this.dealerService.getSelectedDealerIds();\r\n return this.authorizationService.getAccessRightIdsFromCache(selectedDealerIds);\r\n })\r\n .then((accessRightIds) => {\r\n return Promise.all([\r\n this.authorizationService.getDealSheetPermissions(accessRightIds),\r\n this.authorizationService.getModuleIdsFromCache(selectedDealerIds)\r\n ]);\r\n })\r\n .then((results: Array) => {\r\n dealSheetData.permissions = results[0];\r\n dealSheetData.moduleIds = results[1];\r\n\r\n dealSheetData.permissions.featureComparison = true;\r\n dealSheetData.permissions.otherVehiclesOwned = true;\r\n dealSheetData.isSltUser = userProfile.isSltUser;\r\n dealSheetData.userProfile = userProfile;\r\n\r\n this.opportunityService.hasReviewProDealer(opportunityId).then((hasReviewPro) => {\r\n dealSheetData.hasReviewPro = hasReviewPro;\r\n });\r\n this.opportunityService.hasGeoAlertDealer(opportunityId).then((hasGeoAlert) => {\r\n dealSheetData.hasGeoAlert = hasGeoAlert;\r\n });\r\n\r\n // this appears to always be null in deal-sheet\r\n const calculationType = null;\r\n return this.opportunityService.getOpportunity(opportunityId, stockNo, calculationType, dealSheetData.permissions, dealSheetData.moduleIds)\r\n .then((opportunity) => {\r\n dealSheetData.opportunity = opportunity;\r\n\r\n this.setAdditionalProperties(dealSheetData);\r\n\r\n return dealSheetData;\r\n })\r\n .then(dealSheetDataResult => this.getFuelEconomyComparisonReplacementVehicleFuelCost(dealSheetDataResult.opportunity.replacementVehicle,\r\n dealSheetDataResult.opportunity.id))\r\n .then(fuelEconomyComparison => {\r\n dealSheetData.fuelEconomyComparison = fuelEconomyComparison;\r\n\r\n return dealSheetData;\r\n });\r\n }));\r\n }\r\n\r\n /**\r\n * Refactored from opportunity.component setOpportunity.\r\n */\r\n private setAdditionalProperties(dealSheetData: DealSheetData): void {\r\n this.opportunityService.addAlertsAsProperties(dealSheetData, dealSheetData.opportunity.alerts);\r\n }\r\n\r\n public shouldDisplayPullForward(opportunity: DealSheetOpportunity): boolean {\r\n if (opportunity != null && opportunity.replacementContract != null && opportunity.replacementContract.pullForwardAmount > 0) {\r\n let tradeEquity = 0;\r\n if (opportunity.currentVehicle.tradeValue != null && opportunity.currentContract.payoffAmount != null) {\r\n tradeEquity = opportunity.currentVehicle.tradeValue - opportunity.currentContract.payoffAmount;\r\n } else {\r\n tradeEquity = opportunity.currentVehicle.tradeValue;\r\n }\r\n\r\n const btmEquity = -opportunity.currentContract.balanceToMaturity +\r\n opportunity.currentContract.dispositionFee +\r\n opportunity.replacementContract.pullForwardAmount;\r\n\r\n return btmEquity > tradeEquity;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n private getFuelEconomyComparisonReplacementVehicleFuelCost(vehicle: ReplacementVehicle, opportunityId: string) {\r\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\r\n return this.vehicleService.getFuelEconomyComparison(vehicle.trimID, opportunityId)\r\n .catch(() => Promise.resolve(null));\r\n } else {\r\n return Promise.resolve(null);\r\n }\r\n }\r\n}\r\n","// 19.1.3.10 Object.is(value1, value2)\nvar $export = require('./_export');\n$export($export.S, 'Object', { is: require('./_same-value') });\n","module.exports = __webpack_public_path__ + \"icon-alertminer-mileage.d573ac4c77f8936bc987.png\";","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","import \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.string.ends-with\";\nimport \"core-js/modules/es6.function.name\";\nimport angular from 'angular';\nimport moduleName from './module';\nimport { unauthorized$, loggedIn$, loggedOut$, silentRefreshFailed$, silentRefreshSucceeded$, silentRefreshTokenUnchanged$, tokenExpiresSoon$, silentRefreshStarted$, silentRefreshTimeout$ } from './events'; // These event names are used when thunking an event from an iframe to the\n// parent window.\n\nvar eventPrefix = 'oidcauth:';\nvar unauthorizedEvent = eventPrefix + 'unauthorized';\nvar silentRefreshSuceededEvent = eventPrefix + 'silentRefreshSucceded';\nvar silentRefreshFailedEvent = eventPrefix + 'silentRefreshFailed';\nvar silentRefreshTokenUnchangedEvent = eventPrefix + 'silentRefreshTokenUnchanged';\n/**\r\n * thunk events are used when a page running in an iframe requires a message to\r\n * be posted to the parent window.\r\n */\n\nvar thunkEventName = eventPrefix + \"thunk\";\nangular.module(moduleName).provider(\"$auth\", function () {\n // Default configuration\n var config = {\n basePath: null,\n clientId: null,\n urls: [],\n responseType: 'id_token',\n scope: \"openid profile\",\n redirectUri: (window.location.origin || window.location.protocol + '//' + window.location.host) + window.location.pathname + '#/auth/callback/',\n logoutUri: (window.location.origin || window.location.protocol + '//' + window.location.host) + window.location.pathname + '#/auth/clear',\n state: \"\",\n authorizationEndpoint: 'connect/authorize',\n revocationEndpoint: 'connect/revocation',\n endSessionEndpoint: 'connect/endsession',\n advanceRefresh: 30 * 1000,\n //30 s * ms/sec // this is actually is set from appSettings.*.json default is 15 min that is 900000ms\n enableRequestChecks: true,\n stickToLastKnownIdp: false,\n isDotNetClientApp: false,\n isExternal: false\n };\n return {\n // Service configuration\n configure: function configure(params) {\n angular.extend(config, params);\n },\n // Service itself\n $get: [\"$logFactory\", \"$document\", \"storageService\", \"crossDomainStorageService\", \"$location\", \"$window\", \"tokenService\", function $get($logFactory, $document, storageService, crossDomainStorageService, $location, $window, tokenService) {\n \"ngInject\";\n\n var $log = $logFactory.get(\"oidc-angular\");\n $window.addEventListener('message', function (event) {\n var message = event.data[thunkEventName];\n\n if (message) {\n var name = message.name,\n args = message.args;\n\n switch (name) {\n case unauthorizedEvent:\n unauthorized$.next(args);\n break;\n\n case silentRefreshSuceededEvent:\n silentRefreshSucceeded$.next(args);\n break;\n\n case silentRefreshFailedEvent:\n silentRefreshFailed$.next(args);\n break;\n\n case silentRefreshTokenUnchangedEvent:\n silentRefreshTokenUnchanged$.next(args);\n break;\n }\n }\n });\n\n if (storageService.getItem('logoutActive')) {\n storageService.removeItem('logoutActive');\n tokenService.clearTokens();\n }\n\n var isProcessingAuthCallback = $location.path().indexOf('/auth/callback') > -1;\n\n if (!isProcessingAuthCallback && storageService.getItem('refreshRunning')) {\n storageService.removeItem('refreshRunning');\n }\n\n return {\n config: config,\n handleSignInCallback: function handleSignInCallback(data) {\n if (!data && window.location.hash.indexOf(\"#\") === 0) {\n data = window.location.hash.substr(16);\n }\n\n var fragments = {};\n\n if (data) {\n fragments = parseQueryString(data);\n } else {\n throw Error(\"Unable to process callback. No data given!\");\n }\n\n var err = parseErrorFromFragments(fragments);\n var id_token = fragments['id_token'];\n var access_token = fragments['access_token'];\n var state = fragments['state'];\n\n if (state === 'refresh') {\n handleSilentRefreshCallback(err, id_token, access_token);\n } else {\n handleImplicitFlowCallback(err, id_token, access_token);\n }\n\n function parseErrorFromFragments(fragments) {\n var error = fragments['error'];\n\n if (error) {\n // If fragments contains the property 'error', then\n // the whole object is an error object with error,\n // error_description, error_uri, and state.\n // See: http://openid.net/specs/openid-connect-core-1_0.html#AuthError\n return fragments;\n }\n }\n },\n handleSignOutCallback: function handleSignOutCallback() {\n storageService.removeItem('logoutActive');\n tokenService.clearTokens();\n window.location = '/';\n loggedOut$.next({});\n },\n validateExpirity: function validateExpirity() {\n if (!tokenService.hasToken()) return;\n if (storageService.getItem('refreshRunning')) return; // If the token will have expired X minutes from now, then\n // we need to do a silent refresh.\n\n var trialExpirationTime = Date.now() + config.advanceRefresh;\n var shouldRefreshToken = (!tokenService.hasValidToken() || !tokenService.hasValidToken(trialExpirationTime)) && !tokenService.hasExternalToken();\n\n if (shouldRefreshToken) {\n tokenExpiresSoon$.next({});\n trySilentRefresh(); // this refreshes the token.\n }\n },\n isAuthenticated: function isAuthenticated() {\n return tokenService.hasValidToken();\n },\n isAuthenticatedIn: function isAuthenticatedIn(milliseconds) {\n return tokenService.hasValidToken() && tokenIsValidAt(new Date().getTime() + milliseconds);\n },\n signIn: function signIn(localRedirectPath, crmToken) {\n startImplicitFlow(localRedirectPath, crmToken);\n },\n impersonate: function impersonate(localRedirectPath, impersonateUsername) {\n var selectedDealers = crossDomainStorageService.getItem('selectedDealers');\n storageService.clear();\n storageService.setItem('impersonatingSelectedDealers', selectedDealers);\n crossDomainStorageService.clear();\n startImplicitFlow(localRedirectPath, null, impersonateUsername);\n },\n signOut: function signOut() {\n startLogout();\n },\n silentRefresh: function silentRefresh() {\n trySilentRefresh();\n }\n };\n /**\r\n * Thunks a message from an iframe to the parent window.\r\n * When we're in the silent-refresh iframe, we can't just call\r\n * event$.next(args), because the parent window won't receive it.\r\n * Instead, we post it to our parent window.\r\n *\r\n * If the current window is the top-most window, the message will be\r\n * received by this window.\r\n */\n\n function broadcastToParent(name) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var msg = {};\n msg[thunkEventName] = {\n name: name,\n args: args\n };\n window.parent.postMessage(msg, '*');\n }\n\n function createLoginUrl(nonce, state, allowLoginForm, crmTokenValue, impersonateUsername, endImpersonation) {\n var hasPathDelimiter = config.basePath.endsWith('/');\n var appendChar = hasPathDelimiter ? '' : '/';\n var currentClaims = tokenService.getClaimsByTokenType('access');\n\n if (currentClaims) {\n var idpClaimValue = currentClaims[\"idp\"];\n }\n\n var baseUrl = config.basePath + appendChar;\n var url = baseUrl + config.authorizationEndpoint + \"?response_type=\" + encodeURIComponent(config.responseType) + \"&client_id=\" + encodeURIComponent(config.clientId) // + encodeURIComponent('resourceownerclient')\n + \"&state=\" + encodeURIComponent(state || config.state) + \"&scope=\" + encodeURIComponent(config.scope) + \"&nonce=\" + encodeURIComponent(nonce) + \"&redirect_uri=\" + encodeURIComponent(config.redirectUri);\n\n if (allowLoginForm === false) {\n url = url + \"&prompt=none\"; // See: http://openid.net/specs/openid-connect-core-1_0.html#AuthRequest\n\n var idToken = tokenService.getTokenByType('id');\n\n if (idToken) {\n url = url + \"&id_token_hint=\" + encodeURIComponent(idToken);\n }\n }\n\n if (impersonateUsername || endImpersonation) {\n url = url + \"&prompt=login\";\n }\n\n url = url + \"&acr_values=\";\n\n if (config.stickToLastKnownIdp && idpClaimValue) {\n url = url + encodeURIComponent(\"idp:\" + idpClaimValue + \" \");\n } // external changes\n\n\n if (crmTokenValue) {\n url = url + encodeURIComponent(\"crmToken:\" + crmTokenValue);\n }\n\n if (impersonateUsername) {\n url = url + encodeURIComponent(\"impersonate_aa_username:\" + impersonateUsername);\n }\n\n if (endImpersonation) {\n url = url + encodeURIComponent(\"endImpersonation:true\");\n }\n\n $log.debug(\"final url: \" + url);\n return url;\n }\n\n function createLogoutUrl(state) {\n var idToken = tokenService.getTokenByType('id');\n var hasPathDelimiter = config.basePath.endsWith('/');\n var appendChar = hasPathDelimiter ? '' : '/';\n var baseUrl = config.basePath + appendChar;\n var url = baseUrl + config.endSessionEndpoint + \"?id_token_hint=\" + encodeURIComponent(idToken) + \"&post_logout_redirect_uri=\" + encodeURIComponent(config.logoutUri) + \"&state=\" + encodeURIComponent(state || config.state) + \"&r=\" + Math.random();\n return url;\n }\n\n function startImplicitFlow(localRedirectPath, crmToken, impersonateUsername, endImpersonation) {\n //**************************\n // External param validation is complete.\n // Now create authorize url add external param: crmToken: acrValue is JWT token\n //************************\n storageService.setItem('referrerHost', $location.$$host);\n var redirectPathToSave = typeof localRedirectPath === 'undefined' ? $location.url() : localRedirectPath;\n storageService.setItem('localRedirectPath', redirectPathToSave);\n var nonce = generateNonce();\n storageService.setItem('loginNonce', nonce);\n var url = createLoginUrl(nonce, null, null, crmToken, impersonateUsername, endImpersonation);\n $window.location.href = url;\n }\n\n function startLogout() {\n var url;\n\n if (config.isDotNetClientApp) {\n url = \"/logout.aspx\"; //handleMvcSigout();\n } else {\n url = createLogoutUrl(); //use when standalone oidc client (i.e. JS Prototype)\n }\n\n var impersonating = tokenService.getImpersonatingUsername();\n var selectedDealers = storageService.getItem('impersonatingSelectedDealers');\n storageService.clear();\n\n if (selectedDealers) {\n storageService.setItem('impersonatingSelectedDealers', selectedDealers);\n }\n\n crossDomainStorageService.clear();\n\n if (impersonating) {\n startImplicitFlow('/alert-desk', null, null, true);\n } else {\n window.location.replace(url);\n }\n }\n\n function handleImplicitFlowCallback(err, idToken, accessToken) {\n if (err) {\n $log.debug('handleImplicitFlowCallback', err.error, err.error_description, err.error_uri);\n return;\n } else if (!idToken || !accessToken) {\n $log.debug('handleImplicitFlowCallback', 'no error message, but missing a token', idToken, accessToken);\n return;\n }\n\n var newIdTokenClaims = tokenService.convertToClaims(idToken);\n\n if (!nonceIsValid(newIdTokenClaims)) {\n silentRefreshFailed$;\n broadcastToParent(silentRefreshFailedEvent, {\n error_description: 'Token has unexpected nonce'\n });\n return;\n }\n\n tokenService.saveToken('id', idToken);\n tokenService.saveToken('access', accessToken);\n loggedIn$.next({});\n return true;\n }\n\n function nonceIsValid(idTokenClaims) {\n if (!idTokenClaims) return false;\n if (!idTokenClaims.nonce) return false; // Cannot validate the nonce until the issue commented in\n // generateNonce() is solved. See that comment for details.\n\n return true;\n }\n\n function handleSilentRefreshCallback(err, newIdToken, newAccessToken) {\n // This method executes inside an IFRAME, so we must use\n // broadcastToParent() instad of $rootScope.$broadcast()\n storageService.removeItem('refreshRunning'); // If silent refresh fails, trigger a full authentication cycle\n\n if (err) {\n silentRefreshFailed$;\n broadcastToParent(silentRefreshFailedEvent, err);\n return;\n } else if (!newIdToken || !newAccessToken) {\n broadcastToParent(silentRefreshFailedEvent, {\n error_description: 'Token missing from response'\n });\n return;\n }\n\n var newIdTokenClaims = tokenService.convertToClaims(newIdToken);\n\n if (!nonceIsValid(newIdTokenClaims)) {\n broadcastToParent(silentRefreshFailedEvent, {\n error_description: 'Token has unexpected nonce'\n });\n return;\n }\n\n var currentClaims = tokenService.getClaimsByTokenType('access');\n var newClaims = tokenService.convertToClaims(newAccessToken);\n\n if (currentClaims.exp && newClaims.exp && newClaims.exp > currentClaims.exp) {\n tokenService.saveToken('id', newIdToken);\n tokenService.saveToken('access', newAccessToken);\n var expiresAtMSec = newClaims.exp * 1000;\n broadcastToParent(silentRefreshSuceededEvent);\n } else {\n // If the token is still valid, ignore this result for now\n if (currentClaims.exp * 1000 > Date.now()) {\n broadcastToParent(silentRefreshTokenUnchangedEvent);\n } else {\n broadcastToParent(silentRefreshFailedEvent, {\n error_description: \"Unable to acquire a refreshed token\"\n });\n }\n }\n }\n\n function trySilentRefresh() {\n if (storageService.getItem('refreshRunning')) {\n return;\n }\n\n storageService.setItem('refreshRunning', true);\n\n try {\n silentRefreshStarted$.next();\n var nonce = generateNonce();\n storageService.setItem('loginNonce', nonce);\n var url = createLoginUrl(nonce, 'refresh', false);\n var html = \"\";\n var elem = angular.element(html);\n $document.find(\"body\").append(elem);\n setTimeout(function () {\n if (storageService.getItem('refreshRunning')) {\n silentRefreshTimeout$.next();\n storageService.removeItem('refreshRunning');\n }\n\n $document.find(\"#oauthFrame\").remove();\n }, 4000);\n } catch (err) {\n // If the computer went to sleep while displaying the\n // page, the call to body.append(iframe) was throwing\n // ERR_NETWORK_IO_SUSPENDED, and we never scheduled the\n // removal of the refreshRunning flag. That prevented\n // future requests from trying a silent refresh, even\n // after the network became available.\n storageService.removeItem('refreshRunning'); // I'm tempted to fire silentRefreshFailedEvent here,\n // but if we do, the failure will force a full\n // authentication cycle, which is what we're trying to\n // avoid in the first place.\n // If we add this, if any subscribers to that event\n // call $auth.signIn(), the full auth cycle will be\n // triggered.\n }\n }\n\n function handleMvcSigout() {\n tokenService.clearTokens();\n loggedOut$.next();\n }\n\n function tokenIsValidAt(date) {\n var claims = tokenService.getClaimsByTokenType('access');\n var expiresAtMSec = claims.exp * 1000;\n\n if (date <= expiresAtMSec) {\n return true;\n }\n\n return false;\n }\n /** Generates a nonce from the browser's CRNG */\n\n\n function generateNonce(bits) {\n // Production has two entry points:\n // * portal.autoalert.com\n // * opportunities.autoalert.com\n //\n // If the user visits portal.autoalert.com, the nonce will\n // get put into that domain's sessionStoarge. Then, when\n // SSO redirects them to communication.autoalert.com, the\n // expected nonce will not be available.\n // That must be solved before we can replace this with the\n // previous implementation.\n return \"dummynonce\";\n }\n }]\n };\n});\n/* Helpers & Polyfills */\n\nfunction parseQueryString(queryString) {\n var data = {},\n pairs,\n pair,\n separatorIndex,\n escapedKey,\n escapedValue,\n key,\n value;\n\n if (queryString === null) {\n return data;\n }\n\n pairs = queryString.split(\"&\");\n\n for (var i = 0; i < pairs.length; i++) {\n pair = pairs[i];\n separatorIndex = pair.indexOf(\"=\");\n\n if (separatorIndex === -1) {\n escapedKey = pair;\n escapedValue = null;\n } else {\n escapedKey = pair.substr(0, separatorIndex);\n escapedValue = pair.substr(separatorIndex + 1);\n }\n\n key = decodeURIComponent(escapedKey);\n value = decodeURIComponent(escapedValue);\n if (key.substr(0, 1) === '/') key = key.substr(1);\n data[key] = value;\n }\n\n return data;\n}","import angular from 'angular';\r\nimport moduleName from './module';\r\nimport {\r\n unauthorized$,\r\n loggedIn$,\r\n loggedOut$,\r\n silentRefreshFailed$,\r\n silentRefreshSucceeded$,\r\n silentRefreshTokenUnchanged$,\r\n tokenExpiresSoon$,\r\n silentRefreshStarted$,\r\n silentRefreshTimeout$,\r\n} from './events';\r\n\r\n// These event names are used when thunking an event from an iframe to the\r\n// parent window.\r\nconst eventPrefix = 'oidcauth:';\r\nconst unauthorizedEvent = eventPrefix + 'unauthorized';\r\nconst silentRefreshSuceededEvent = eventPrefix + 'silentRefreshSucceded';\r\nconst silentRefreshFailedEvent = eventPrefix + 'silentRefreshFailed';\r\nconst silentRefreshTokenUnchangedEvent = eventPrefix + 'silentRefreshTokenUnchanged';\r\n\r\n/**\r\n * thunk events are used when a page running in an iframe requires a message to\r\n * be posted to the parent window.\r\n */\r\nconst thunkEventName = eventPrefix + \"thunk\";\r\n\r\nangular.module(moduleName).provider(\"$auth\", function () {\r\n\r\n // Default configuration\r\n const config = {\r\n basePath: null,\r\n clientId: null,\r\n urls: [],\r\n responseType: 'id_token',\r\n scope: \"openid profile\",\r\n redirectUri: (window.location.origin || window.location.protocol + '//' + window.location.host) + window.location.pathname + '#/auth/callback/',\r\n logoutUri: (window.location.origin || window.location.protocol + '//' + window.location.host) + window.location.pathname + '#/auth/clear',\r\n state: \"\",\r\n authorizationEndpoint: 'connect/authorize',\r\n revocationEndpoint: 'connect/revocation',\r\n endSessionEndpoint: 'connect/endsession',\r\n advanceRefresh: 30 * 1000, //30 s * ms/sec // this is actually is set from appSettings.*.json default is 15 min that is 900000ms\r\n enableRequestChecks: true,\r\n stickToLastKnownIdp: false,\r\n isDotNetClientApp: false,\r\n isExternal: false\r\n };\r\n\r\n return {\r\n\r\n\r\n // Service configuration\r\n configure: function (params) {\r\n angular.extend(config, params);\r\n },\r\n\r\n // Service itself\r\n $get: function ($logFactory, $document, storageService, crossDomainStorageService, $location, $window, tokenService) {\r\n \"ngInject\";\r\n const $log = $logFactory.get(\"oidc-angular\");\r\n\r\n $window.addEventListener('message', function (event) {\r\n const message = event.data[thunkEventName];\r\n if (message) {\r\n const { name, args } = message;\r\n\r\n switch (name) {\r\n case unauthorizedEvent:\r\n unauthorized$.next(args);\r\n break;\r\n case silentRefreshSuceededEvent:\r\n silentRefreshSucceeded$.next(args);\r\n break;\r\n case silentRefreshFailedEvent:\r\n silentRefreshFailed$.next(args);\r\n break;\r\n case silentRefreshTokenUnchangedEvent:\r\n silentRefreshTokenUnchanged$.next(args);\r\n break;\r\n }\r\n }\r\n });\r\n\r\n if (storageService.getItem('logoutActive')) {\r\n storageService.removeItem('logoutActive');\r\n tokenService.clearTokens();\r\n }\r\n\r\n var isProcessingAuthCallback = $location.path().indexOf('/auth/callback') > -1;\r\n\r\n if (!isProcessingAuthCallback && storageService.getItem('refreshRunning')) {\r\n storageService.removeItem('refreshRunning');\r\n }\r\n\r\n return {\r\n config: config,\r\n\r\n handleSignInCallback(data) {\r\n if (!data && window.location.hash.indexOf(\"#\") === 0) {\r\n data = window.location.hash.substr(16)\r\n }\r\n\r\n var fragments = {}\r\n if (data) {\r\n fragments = parseQueryString(data);\r\n } else {\r\n throw Error(\"Unable to process callback. No data given!\");\r\n }\r\n\r\n var err = parseErrorFromFragments(fragments);\r\n var id_token = fragments['id_token'];\r\n var access_token = fragments['access_token'];\r\n var state = fragments['state'];\r\n\r\n if (state === 'refresh') {\r\n handleSilentRefreshCallback(err, id_token, access_token);\r\n } else {\r\n handleImplicitFlowCallback(err, id_token, access_token);\r\n }\r\n\r\n function parseErrorFromFragments(fragments) {\r\n var error = fragments['error'];\r\n if (error) {\r\n // If fragments contains the property 'error', then\r\n // the whole object is an error object with error,\r\n // error_description, error_uri, and state.\r\n // See: http://openid.net/specs/openid-connect-core-1_0.html#AuthError\r\n return fragments;\r\n }\r\n }\r\n },\r\n\r\n handleSignOutCallback() {\r\n storageService.removeItem('logoutActive');\r\n\r\n tokenService.clearTokens();\r\n window.location = '/';\r\n\r\n loggedOut$.next({});\r\n },\r\n\r\n validateExpirity() {\r\n if (!tokenService.hasToken()) return;\r\n if (storageService.getItem('refreshRunning')) return;\r\n\r\n // If the token will have expired X minutes from now, then\r\n // we need to do a silent refresh.\r\n var trialExpirationTime = Date.now() + config.advanceRefresh;\r\n var shouldRefreshToken =\r\n (!tokenService.hasValidToken() ||\r\n !tokenService.hasValidToken(trialExpirationTime)) &&\r\n !tokenService.hasExternalToken();\r\n\r\n if (shouldRefreshToken) {\r\n tokenExpiresSoon$.next({});\r\n trySilentRefresh(); // this refreshes the token.\r\n }\r\n },\r\n\r\n isAuthenticated() {\r\n return tokenService.hasValidToken();\r\n },\r\n\r\n isAuthenticatedIn(milliseconds) {\r\n return tokenService.hasValidToken() && tokenIsValidAt(new Date().getTime() + milliseconds);\r\n },\r\n\r\n signIn(localRedirectPath, crmToken) {\r\n \r\n startImplicitFlow(localRedirectPath, crmToken);\r\n },\r\n\r\n impersonate(localRedirectPath, impersonateUsername) {\r\n \r\n var selectedDealers = crossDomainStorageService.getItem('selectedDealers');\r\n storageService.clear();\r\n storageService.setItem('impersonatingSelectedDealers', selectedDealers);\r\n\r\n crossDomainStorageService.clear();\r\n\r\n startImplicitFlow(localRedirectPath, null, impersonateUsername);\r\n },\r\n\r\n signOut() {\r\n startLogout();\r\n },\r\n\r\n silentRefresh() {\r\n trySilentRefresh();\r\n }\r\n\r\n };\r\n\r\n /**\r\n * Thunks a message from an iframe to the parent window.\r\n * When we're in the silent-refresh iframe, we can't just call\r\n * event$.next(args), because the parent window won't receive it.\r\n * Instead, we post it to our parent window.\r\n *\r\n * If the current window is the top-most window, the message will be\r\n * received by this window.\r\n */\r\n function broadcastToParent(name, ...args) {\r\n var msg = {};\r\n msg[thunkEventName] = { name, args };\r\n window.parent.postMessage(msg, '*')\r\n }\r\n\r\n function createLoginUrl(nonce, state, allowLoginForm, crmTokenValue, impersonateUsername, endImpersonation) {\r\n\r\n var hasPathDelimiter = config.basePath.endsWith('/');\r\n var appendChar = (hasPathDelimiter) ? '' : '/';\r\n\r\n var currentClaims = tokenService.getClaimsByTokenType('access');\r\n if (currentClaims) {\r\n var idpClaimValue = currentClaims[\"idp\"];\r\n }\r\n var baseUrl = config.basePath + appendChar;\r\n\r\n var url = baseUrl + config.authorizationEndpoint\r\n + \"?response_type=\"\r\n + encodeURIComponent(config.responseType)\r\n + \"&client_id=\"\r\n + encodeURIComponent(config.clientId)\r\n // + encodeURIComponent('resourceownerclient')\r\n + \"&state=\"\r\n + encodeURIComponent(state || config.state)\r\n + \"&scope=\"\r\n + encodeURIComponent(config.scope)\r\n + \"&nonce=\"\r\n + encodeURIComponent(nonce)\r\n + \"&redirect_uri=\"\r\n + encodeURIComponent(config.redirectUri);\r\n\r\n if (allowLoginForm === false) {\r\n url = url + \"&prompt=none\";\r\n\r\n // See: http://openid.net/specs/openid-connect-core-1_0.html#AuthRequest\r\n var idToken = tokenService.getTokenByType('id');\r\n if (idToken) {\r\n url = url + \"&id_token_hint=\" + encodeURIComponent(idToken)\r\n }\r\n }\r\n\r\n if (impersonateUsername || endImpersonation) {\r\n url = url + \"&prompt=login\";\r\n }\r\n\r\n url = url + \"&acr_values=\";\r\n if (config.stickToLastKnownIdp && idpClaimValue) {\r\n url = url + encodeURIComponent(\"idp:\" + idpClaimValue + \" \") ;\r\n }\r\n\r\n // external changes\r\n if (crmTokenValue) {\r\n url = url + encodeURIComponent(\"crmToken:\" + crmTokenValue);\r\n }\r\n\r\n if (impersonateUsername) {\r\n url = url + encodeURIComponent(\"impersonate_aa_username:\" + impersonateUsername);\r\n }\r\n\r\n if (endImpersonation) {\r\n url = url + encodeURIComponent(\"endImpersonation:true\");\r\n }\r\n\r\n $log.debug(\"final url: \" + url);\r\n return url;\r\n }\r\n\r\n function createLogoutUrl(state) {\r\n var idToken = tokenService.getTokenByType('id');\r\n\r\n var hasPathDelimiter = config.basePath.endsWith('/');\r\n var appendChar = (hasPathDelimiter) ? '' : '/';\r\n\r\n var baseUrl = config.basePath + appendChar;\r\n var url = baseUrl + config.endSessionEndpoint\r\n + \"?id_token_hint=\"\r\n + encodeURIComponent(idToken)\r\n + \"&post_logout_redirect_uri=\"\r\n + encodeURIComponent(config.logoutUri)\r\n + \"&state=\"\r\n + encodeURIComponent(state || config.state)\r\n + \"&r=\" + Math.random();\r\n return url;\r\n }\r\n\r\n function startImplicitFlow(localRedirectPath, crmToken, impersonateUsername, endImpersonation) {\r\n //**************************\r\n // External param validation is complete.\r\n // Now create authorize url add external param: crmToken: acrValue is JWT token\r\n //************************\r\n storageService.setItem('referrerHost', $location.$$host);\r\n\r\n const redirectPathToSave = typeof localRedirectPath === 'undefined' ? $location.url() : localRedirectPath;\r\n storageService.setItem('localRedirectPath', redirectPathToSave);\r\n var nonce = generateNonce();\r\n storageService.setItem('loginNonce', nonce);\r\n var url = createLoginUrl(nonce, null, null, crmToken, impersonateUsername, endImpersonation);\r\n\r\n $window.location.href = url;\r\n }\r\n\r\n function startLogout() {\r\n\r\n var url;\r\n if (config.isDotNetClientApp) {\r\n url = \"/logout.aspx\";\r\n //handleMvcSigout();\r\n } else {\r\n url = createLogoutUrl(); //use when standalone oidc client (i.e. JS Prototype)\r\n }\r\n\r\n var impersonating = tokenService.getImpersonatingUsername();\r\n var selectedDealers = storageService.getItem('impersonatingSelectedDealers');\r\n storageService.clear();\r\n if (selectedDealers) {\r\n storageService.setItem('impersonatingSelectedDealers', selectedDealers);\r\n }\r\n\r\n crossDomainStorageService.clear();\r\n\r\n if (impersonating) {\r\n startImplicitFlow('/alert-desk', null, null, true);\r\n }\r\n else {\r\n window.location.replace(url);\r\n }\r\n }\r\n\r\n function handleImplicitFlowCallback(err, idToken, accessToken) {\r\n if (err) {\r\n $log.debug('handleImplicitFlowCallback', err.error, err.error_description, err.error_uri)\r\n return;\r\n } else if (!idToken || !accessToken) {\r\n $log.debug('handleImplicitFlowCallback', 'no error message, but missing a token', idToken, accessToken);\r\n return;\r\n }\r\n\r\n var newIdTokenClaims = tokenService.convertToClaims(idToken);\r\n if (!nonceIsValid(newIdTokenClaims)) {\r\n silentRefreshFailed$\r\n broadcastToParent(silentRefreshFailedEvent, { error_description: 'Token has unexpected nonce' });\r\n return;\r\n }\r\n\r\n tokenService.saveToken('id', idToken);\r\n tokenService.saveToken('access', accessToken);\r\n\r\n loggedIn$.next({});\r\n return true;\r\n }\r\n\r\n function nonceIsValid(idTokenClaims) {\r\n if (!idTokenClaims) return false;\r\n if (!idTokenClaims.nonce) return false;\r\n\r\n // Cannot validate the nonce until the issue commented in\r\n // generateNonce() is solved. See that comment for details.\r\n return true;\r\n }\r\n\r\n function handleSilentRefreshCallback(err, newIdToken, newAccessToken) {\r\n\r\n // This method executes inside an IFRAME, so we must use\r\n // broadcastToParent() instad of $rootScope.$broadcast()\r\n\r\n storageService.removeItem('refreshRunning');\r\n\r\n // If silent refresh fails, trigger a full authentication cycle\r\n if (err) {\r\n silentRefreshFailed$\r\n broadcastToParent(silentRefreshFailedEvent, err);\r\n return;\r\n } else if (!newIdToken || !newAccessToken) {\r\n broadcastToParent(silentRefreshFailedEvent, { error_description: 'Token missing from response' });\r\n return;\r\n }\r\n\r\n var newIdTokenClaims = tokenService.convertToClaims(newIdToken);\r\n if (!nonceIsValid(newIdTokenClaims)) {\r\n broadcastToParent(silentRefreshFailedEvent, { error_description: 'Token has unexpected nonce' });\r\n return;\r\n }\r\n\r\n var currentClaims = tokenService.getClaimsByTokenType('access');\r\n var newClaims = tokenService.convertToClaims(newAccessToken);\r\n\r\n if (currentClaims.exp && newClaims.exp && newClaims.exp > currentClaims.exp) {\r\n tokenService.saveToken('id', newIdToken);\r\n tokenService.saveToken('access', newAccessToken);\r\n\r\n var expiresAtMSec = newClaims.exp * 1000;\r\n\r\n broadcastToParent(silentRefreshSuceededEvent);\r\n } else {\r\n // If the token is still valid, ignore this result for now\r\n if (currentClaims.exp * 1000 > Date.now()) {\r\n broadcastToParent(silentRefreshTokenUnchangedEvent);\r\n } else {\r\n broadcastToParent(silentRefreshFailedEvent, { error_description: \"Unable to acquire a refreshed token\" });\r\n }\r\n }\r\n }\r\n\r\n function trySilentRefresh() {\r\n if (storageService.getItem('refreshRunning')) {\r\n return;\r\n }\r\n\r\n storageService.setItem('refreshRunning', true);\r\n try {\r\n silentRefreshStarted$.next();\r\n\r\n var nonce = generateNonce();\r\n storageService.setItem('loginNonce', nonce);\r\n var url = createLoginUrl(nonce, 'refresh', false);\r\n\r\n var html = \"\";\r\n var elem = angular.element(html);\r\n\r\n $document.find(\"body\").append(elem);\r\n\r\n setTimeout(function () {\r\n if (storageService.getItem('refreshRunning')) {\r\n silentRefreshTimeout$.next();\r\n storageService.removeItem('refreshRunning')\r\n }\r\n\r\n $document.find(\"#oauthFrame\").remove();\r\n }, 4000);\r\n } catch (err) {\r\n // If the computer went to sleep while displaying the\r\n // page, the call to body.append(iframe) was throwing\r\n // ERR_NETWORK_IO_SUSPENDED, and we never scheduled the\r\n // removal of the refreshRunning flag. That prevented\r\n // future requests from trying a silent refresh, even\r\n // after the network became available.\r\n\r\n storageService.removeItem('refreshRunning');\r\n\r\n // I'm tempted to fire silentRefreshFailedEvent here,\r\n // but if we do, the failure will force a full\r\n // authentication cycle, which is what we're trying to\r\n // avoid in the first place.\r\n // If we add this, if any subscribers to that event\r\n // call $auth.signIn(), the full auth cycle will be\r\n // triggered.\r\n }\r\n }\r\n\r\n function handleMvcSigout() {\r\n tokenService.clearTokens();\r\n loggedOut$.next();\r\n }\r\n\r\n function tokenIsValidAt(date) {\r\n var claims = tokenService.getClaimsByTokenType('access');\r\n\r\n var expiresAtMSec = claims.exp * 1000;\r\n\r\n if (date <= expiresAtMSec) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n /** Generates a nonce from the browser's CRNG */\r\n function generateNonce(bits) {\r\n // Production has two entry points:\r\n // * portal.autoalert.com\r\n // * opportunities.autoalert.com\r\n //\r\n // If the user visits portal.autoalert.com, the nonce will\r\n // get put into that domain's sessionStoarge. Then, when\r\n // SSO redirects them to communication.autoalert.com, the\r\n // expected nonce will not be available.\r\n // That must be solved before we can replace this with the\r\n // previous implementation.\r\n return \"dummynonce\";\r\n }\r\n }\r\n };\r\n});\r\n\r\n/* Helpers & Polyfills */\r\nfunction parseQueryString(queryString) {\r\n var data = {}, pairs, pair, separatorIndex, escapedKey, escapedValue, key, value;\r\n\r\n if (queryString === null) {\r\n return data;\r\n }\r\n\r\n pairs = queryString.split(\"&\");\r\n\r\n for (var i = 0; i < pairs.length; i++) {\r\n pair = pairs[i];\r\n separatorIndex = pair.indexOf(\"=\");\r\n\r\n if (separatorIndex === -1) {\r\n escapedKey = pair;\r\n escapedValue = null;\r\n } else {\r\n escapedKey = pair.substr(0, separatorIndex);\r\n escapedValue = pair.substr(separatorIndex + 1);\r\n }\r\n\r\n key = decodeURIComponent(escapedKey);\r\n value = decodeURIComponent(escapedValue);\r\n\r\n if (key.substr(0, 1) === '/')\r\n key = key.substr(1);\r\n\r\n data[key] = value;\r\n }\r\n\r\n return data;\r\n}\r\n","require('../modules/es6.math.acosh');\nrequire('../modules/es6.math.asinh');\nrequire('../modules/es6.math.atanh');\nrequire('../modules/es6.math.cbrt');\nrequire('../modules/es6.math.clz32');\nrequire('../modules/es6.math.cosh');\nrequire('../modules/es6.math.expm1');\nrequire('../modules/es6.math.fround');\nrequire('../modules/es6.math.hypot');\nrequire('../modules/es6.math.imul');\nrequire('../modules/es6.math.log10');\nrequire('../modules/es6.math.log1p');\nrequire('../modules/es6.math.log2');\nrequire('../modules/es6.math.sign');\nrequire('../modules/es6.math.sinh');\nrequire('../modules/es6.math.tanh');\nrequire('../modules/es6.math.trunc');\nmodule.exports = require('../modules/_core').Math;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar forms_1 = require(\"@angular/forms\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar PayoffInputModalComponent = /** @class */ (function () {\n function PayoffInputModalComponent(_bsModalRef, tService) {\n this._bsModalRef = _bsModalRef;\n this.tService = tService;\n this.showAmountMsg = false;\n this.minValidValue = 1;\n this.onSaveChanges = new core_1.EventEmitter();\n }\n PayoffInputModalComponent.prototype.ngOnInit = function () {\n this._bsModalRef.hide();\n var minDate = new Date();\n var maxDate = new Date();\n maxDate.setDate(maxDate.getDate() + PayoffInputModalComponent.payoffGoodThroughDays);\n this.dateOptions = {\n formatYear: 'yy',\n minDate: minDate,\n maxDate: maxDate,\n startingDay: 0,\n showWeeks: false\n };\n if (this.minPayoff && typeof this.minPayoff === 'number' && this.minPayoff > 0) {\n this.minValidValue = Math.ceil(this.minPayoff);\n }\n else {\n this.minValidValue = 1;\n }\n };\n PayoffInputModalComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n PayoffInputModalComponent.prototype.cancelModal = function () {\n this._bsModalRef.hide();\n };\n PayoffInputModalComponent.prototype.setGoodThroughDate = function (date, model) {\n this.goodThroughDateModel = model;\n this.goodThroughDate = date;\n };\n PayoffInputModalComponent.prototype.setShowAmountMsg = function () {\n this.showAmountMsg = !this.payoffForm.controls['payoffAmount'].pristine && !this.payoffForm.controls['payoffAmount'].valid;\n };\n PayoffInputModalComponent.prototype.savePayoff = function (payoffForm) {\n if (payoffForm.valid) {\n this.onSaveChanges.emit({ payoffAmount: this.payoffAmount, goodThroughDate: this.goodThroughDate });\n this._bsModalRef.hide();\n }\n };\n PayoffInputModalComponent.payoffGoodThroughDays = 15;\n return PayoffInputModalComponent;\n}());\nexports.PayoffInputModalComponent = PayoffInputModalComponent;\n","import { Component, OnInit, Input, Output, EventEmitter, AfterViewInit, ViewChild, SimpleChanges } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'payoff-input-modal',\r\n templateUrl: './payoff-input-modal.component-ng.html',\r\n styleUrls: ['./payoff-input-modal.component.scss']\r\n})\r\n\r\nexport class PayoffInputModalComponent implements OnInit, AfterViewInit {\r\n public payoffAmount: number;\r\n public dateOptions: any;\r\n public goodThroughDateModel: any;\r\n public goodThroughDate: Date;\r\n public showAmountMsg: boolean = false;\r\n public minValidValue: number = 1;\r\n @ViewChild('payoffForm', { static: false }) payoffForm: NgForm;\r\n @Input() minPayoff: number;\r\n @Output() onSaveChanges = new EventEmitter();\r\n\r\n private static readonly payoffGoodThroughDays: number = 15;\r\n\r\n constructor(\r\n public _bsModalRef: BsModalRef,\r\n public tService: TranslateService) {\r\n }\r\n\r\n public ngOnInit(): void {\r\n this._bsModalRef.hide();\r\n\r\n let minDate = new Date();\r\n let maxDate = new Date();\r\n maxDate.setDate(maxDate.getDate() + PayoffInputModalComponent.payoffGoodThroughDays);\r\n\r\n this.dateOptions = {\r\n formatYear: 'yy',\r\n minDate: minDate,\r\n maxDate: maxDate,\r\n startingDay: 0,\r\n showWeeks: false\r\n };\r\n\r\n if (this.minPayoff && typeof this.minPayoff === 'number' && this.minPayoff > 0) {\r\n this.minValidValue = Math.ceil(this.minPayoff);\r\n } else {\r\n this.minValidValue = 1;\r\n }\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public cancelModal(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public setGoodThroughDate(date, model) {\r\n this.goodThroughDateModel = model;\r\n this.goodThroughDate = date;\r\n }\r\n\r\n public setShowAmountMsg() {\r\n this.showAmountMsg = !this.payoffForm.controls['payoffAmount'].pristine && !this.payoffForm.controls['payoffAmount'].valid;\r\n }\r\n\r\n public savePayoff(payoffForm: NgForm): void {\r\n if (payoffForm.valid) {\r\n this.onSaveChanges.emit({ payoffAmount: this.payoffAmount, goodThroughDate: this.goodThroughDate });\r\n this._bsModalRef.hide();\r\n }\r\n }\r\n}\r\n\r\n","var path = '/app/components/html-textarea.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ActivityIconClasses = {\n 1: \"aa-icon-core-takenote-icon-000000\",\n 2: \"aa-icon-core-schedule-phone-call-000002\",\n 3: \"aa-icon-core-calendar-icon-000000\",\n 4: \"aa-icon-core-email-icon-000000\",\n 5: \"aa-icon-core-send-icon-000000\",\n 6: \"aa-icon-core-send-icon-000000\"\n};\n","export const ActivityIconClasses = {\r\n 1: \"aa-icon-core-takenote-icon-000000\",\r\n 2: \"aa-icon-core-schedule-phone-call-000002\",\r\n 3: \"aa-icon-core-calendar-icon-000000\",\r\n 4: \"aa-icon-core-email-icon-000000\",\r\n 5: \"aa-icon-core-send-icon-000000\",\r\n 6: \"aa-icon-core-send-icon-000000\"\r\n}\r\n\r\n","var path = '/app/components/data-entry/replacement/data-entry-replacement-popover-list.component.html';\nvar html = \"
{{item.existingYearID}}, {{item.existingTrimName}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \".col-sm-6.no-padding {\\n padding: 0;\\n}\\n\\ndeal-sheet .rounded-top-left {\\n border-top-left-radius: 10px;\\n}\\n\\ndeal-sheet .rounded-top-right {\\n border-top-right-radius: 10px;\\n}\\n\\ndeal-sheet .rounded-bottom-left {\\n border-bottom-left-radius: 10px;\\n}\\n\\ndeal-sheet .rounded-bottom-right {\\n border-bottom-right-radius: 10px;\\n}\\n\\ndeal-sheet facebook-profile-action {\\n display: inline-block;\\n vertical-align: top;\\n float: right;\\n margin-right: 125px;\\n}\\n\\n.user-avatar {\\n display: inline-block;\\n width: 24px;\\n height: 24px;\\n border-radius: 50%;\\n background-size: 24px 27px;\\n background-position: center center;\\n vertical-align: middle;\\n line-height: 24px;\\n -webkit-box-shadow: inset 0 0 1px #999, inset 0 0 10px rgba(0, 0, 0, 0.2);\\n box-shadow: inset 0 0 1px #999, inset 0 0 10px rgba(0, 0, 0, 0.2);\\n -ms-flex-item-align: end;\\n align-self: flex-end;\\n}\\n\\n.user-avatar.no-user-avatar {\\n background-image: url(\\\"/images/avatar.png\\\");\\n background-size: 24px 27px;\\n background-position: center center;\\n}\\n\\n.process-status {\\n font-weight: bold;\\n text-transform: uppercase;\\n}\\n\\n.process-status-new {\\n color: #1f8bd5;\\n}\\n\\n.process-status-in-progress {\\n color: #172751;\\n}\\n\\n.process-status-completed {\\n color: #3FAF49;\\n}\\n\\n.process-status-overdue {\\n color: #ED2124;\\n}\\n\\n.process-status-waiting {\\n color: #7a8084;\\n}\\n\\n.process-highlight {\\n color: #1f8bd5;\\n}\\n\\n.process-bold {\\n font-weight: bold;\\n}\\n\\n.alert-active {\\n background: #eee;\\n}\\n\\n.alert-active .aa-icon-arrowfilledin {\\n display: block !important;\\n}\\n\\n.alert-active .aa-icon-arrowoutline {\\n display: none;\\n}\\n\\n.alert-wrapper {\\n padding: 5px;\\n}\\n\\n.disclaimer {\\n color: red;\\n font-size: 10px;\\n margin-top: 5px;\\n}\\n\\n.header-modal {\\n z-index: 100000 !important;\\n}\\n\\nstrong {\\n font-weight: 700 !important;\\n}\\n\\n.dsowner {\\n background: rgba(91, 192, 222, 0.17);\\n display: inline-block;\\n width: 100%;\\n}\\n\\ncustomer, dealsheet, trim-select, stock-vehicle, sale-type-select, monthly-mileage {\\n display: block;\\n}\\n\\ndelivery-monthly-mileage monthly-mileage {\\n display: inline;\\n}\\n\\n.replacement-contract-details .text-uppercase {\\n display: block;\\n margin-bottom: 5px;\\n}\\n\\n.replacement-contract-details sale-type-select {\\n margin-bottom: 10px;\\n}\\n\\n.replacement-contract-details trim-select, .replacement-contract-details stock-vehicle {\\n margin: 10px 0;\\n}\\n\\n.replacement-contract-details msrp-type-select label, .replacement-contract-details sale-type-select label {\\n margin-right: 10px;\\n}\\n\\n.replacement-contract-details .field {\\n margin-right: 10px;\\n}\\n\\n.replacement-contract-details .msrp, .replacement-contract-details .payments {\\n margin-right: 20px;\\n}\\n\\nalerts, tags {\\n display: inline-block;\\n}\\n\\n/*alerts icon {\\n margin-right: 5px;\\n}*/\\n\\n.current-contract-summary-header money-factor {\\n margin-right: -3px;\\n}\\n\\n.current-contract-summary-header money-factor .field {\\n display: inline;\\n}\\n\\n/*current-contract-summary label::after {\\n content: \\\":\\\"\\n}*/\\n\\nspan.inline.right {\\n margin-right: 3px;\\n}\\n\\nspan.inline.left {\\n margin-left: 3px;\\n}\\n\\n.ds-tab-body {\\n min-height: 365px !important;\\n background-color: white;\\n}\\n\\n.inline .field {\\n display: inline-block;\\n}\\n\\n.current-contract-details label {\\n margin-bottom: 0;\\n}\\n\\n.base-fuel {\\n color: #444a50;\\n}\\n\\n.down-fuel {\\n color: #3FAF49;\\n}\\n\\n.down-fuel.h5 {\\n color: #3FAF49;\\n}\\n\\n.up-fuel {\\n color: #444a50;\\n}\\n\\n.alert:not(.over-allowance) {\\n color: red;\\n}\\n\\n.down-fuel span:hover,\\n.up-fuel span:hover,\\n.base-fuel span:hover {\\n text-decoration: underline;\\n}\\n\\n.service, .appointment {\\n color: #3FAF49;\\n}\\n\\n.mileage {\\n color: #fe6e1a;\\n}\\n\\n.flex:not(.over-allowance) {\\n color: #824119;\\n}\\n\\n.over-allowance {\\n background-color: #ccc;\\n}\\n\\n.warning-text {\\n color: red;\\n font-weight: bold;\\n}\\n\\n.contract-end {\\n color: #226be6;\\n}\\n\\n.warranty, .warranty {\\n color: #7a5ec8;\\n}\\n\\n.current-contract-details .edit-icon {\\n position: relative;\\n top: 1px;\\n}\\n\\n.current-contract-details span.adjustment {\\n font-weight: normal;\\n}\\n\\nannual-percentage-rate.inline .field label {\\n color: inherit;\\n text-align: left;\\n width: auto;\\n margin-right: 0;\\n text-transform: none;\\n margin-bottom: 0;\\n}\\n\\n.ds-header {\\n background: transparent;\\n}\\n\\n.ds-header icon.icon {\\n color: #1f8bd5;\\n}\\n\\n.ds-header .ds-user-name {\\n position: relative;\\n width: 100%;\\n overflow: hidden;\\n bottom: -1px;\\n}\\n\\n@media only screen and (min-width: 768px) {\\n .ds-header .ds-user-name {\\n display: table;\\n table-layout: fixed;\\n }\\n}\\n\\n@media only screen and (min-width: 768px) {\\n .ds-header .ds-user-name .ds-user-name-row {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n -ms-flex-flow: row wrap;\\n flex-flow: row wrap;\\n height: 100%;\\n }\\n}\\n\\n.ds-header .ds-user-name .ds-header-left {\\n width: 100%;\\n position: relative;\\n background: #fff;\\n background-color: #ffffff;\\n padding: 10px 7px 11px 22px;\\n isolation: isolate;\\n}\\n\\n@media only screen and (min-width: 768px) {\\n .ds-header .ds-user-name .ds-header-left {\\n vertical-align: top;\\n min-height: 80px;\\n width: 40%;\\n }\\n}\\n\\n@media only screen and (min-width: 992px) {\\n .ds-header .ds-user-name .ds-header-left {\\n width: 35%;\\n }\\n}\\n\\n@media only screen and (min-width: 1200px) {\\n .ds-header .ds-user-name .ds-header-left {\\n width: 30%;\\n }\\n}\\n\\n@media only screen and (min-width: 768px) {\\n .ds-header .ds-user-name .ds-header-left {\\n padding-bottom: 15px;\\n }\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .contents {\\n position: relative;\\n z-index: 2;\\n width: 67%;\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .angled-edge-container .angled-edge {\\n position: absolute;\\n right: 0;\\n top: 0;\\n bottom: -2px;\\n width: 100px;\\n -webkit-transform-origin: top;\\n transform-origin: top;\\n -webkit-transform: skewX(20deg);\\n transform: skewX(20deg);\\n}\\n\\n@media only screen and (min-width: 992px) {\\n .ds-header .ds-user-name .ds-header-left .angled-edge-container .angled-edge {\\n width: 128px;\\n }\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .angled-edge-container .score-label-placeholder {\\n width: 30px;\\n background-color: #182752;\\n height: 100%;\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .angled-edge-container .score-label {\\n display: inline-block;\\n -webkit-transform: rotate(69deg);\\n transform: rotate(69deg);\\n position: absolute;\\n top: 28px;\\n right: 48px;\\n color: white;\\n}\\n\\n@media only screen and (min-width: 992px) {\\n .ds-header .ds-user-name .ds-header-left .angled-edge-container .score-label {\\n right: 76px;\\n }\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .angled-edge-container .score-value-placeholder {\\n position: absolute;\\n left: 28px;\\n width: 80px;\\n background-color: #1f8bd5;\\n height: 100%;\\n}\\n\\n@media only screen and (min-width: 992px) {\\n .ds-header .ds-user-name .ds-header-left .angled-edge-container .score-value-placeholder {\\n width: 100px;\\n }\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .angled-edge-container .score-value-container {\\n width: 100px;\\n height: 100%;\\n display: inline-block;\\n text-align: center;\\n position: absolute;\\n top: 0;\\n right: -32px;\\n}\\n\\n@media only screen and (min-width: 992px) {\\n .ds-header .ds-user-name .ds-header-left .angled-edge-container .score-value-container {\\n right: -12px;\\n }\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .angled-edge-container .score-value {\\n color: white;\\n font-size: 44px;\\n font-weight: bold;\\n line-height: 80px;\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .customer-name {\\n color: #1f8bd5;\\n margin: 0;\\n white-space: nowrap;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n display: inline-block;\\n}\\n\\n@media only screen and (min-width: 768px) {\\n .ds-header .ds-user-name .ds-header-left .customer-name {\\n max-width: 125px;\\n }\\n}\\n\\n@media only screen and (min-width: 1024px) {\\n .ds-header .ds-user-name .ds-header-left .customer-name {\\n max-width: 105px;\\n }\\n}\\n\\n@media only screen and (min-width: 1224px) {\\n .ds-header .ds-user-name .ds-header-left .customer-name {\\n max-width: 155px;\\n }\\n}\\n\\n@media only screen and (min-width: 1424px) {\\n .ds-header .ds-user-name .ds-header-left .customer-name {\\n max-width: 205px;\\n }\\n}\\n\\n@media only screen and (min-width: 1624px) {\\n .ds-header .ds-user-name .ds-header-left .customer-name {\\n max-width: 255px;\\n }\\n}\\n\\n@media only screen and (min-width: 1824px) {\\n .ds-header .ds-user-name .ds-header-left .customer-name {\\n max-width: 305px;\\n }\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .customer-name:not(.suffix) {\\n padding-bottom: 2px;\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .customer-name-display {\\n display: inline-block;\\n}\\n\\n.ds-header .ds-user-name .ds-header-left .dealer-name {\\n color: #1f8bd5;\\n font-size: 12px;\\n font-weight: normal;\\n margin: 0;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right {\\n width: 100%;\\n margin-top: 12px;\\n padding-top: 3px;\\n padding-bottom: 3px;\\n background: -webkit-gradient(linear, left bottom, left top, from(#192c54), to(#192c54));\\n background: linear-gradient(to top, #192c54 0%, #192c54 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#00548f), to(#192c54));\\n background: linear-gradient(#00548f, #192c54);\\n color: #fff;\\n}\\n\\n@media only screen and (min-width: 768px) {\\n .ds-header .ds-user-name .ds-header-right {\\n vertical-align: top;\\n width: 60%;\\n }\\n}\\n\\n@media only screen and (min-width: 992px) {\\n .ds-header .ds-user-name .ds-header-right {\\n width: 65%;\\n }\\n}\\n\\n@media only screen and (min-width: 1200px) {\\n .ds-header .ds-user-name .ds-header-right {\\n width: 70%;\\n }\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .group-row {\\n padding: 2px;\\n padding-left: 27px;\\n margin: 5px 0 0 0;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner {\\n text-align: center;\\n position: relative;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .owner-name {\\n cursor: pointer;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .owner-name.read-only {\\n cursor: auto;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .header-modal-style {\\n position: absolute;\\n top: 17px;\\n left: 14px;\\n z-index: 2;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .active-users {\\n margin: 0;\\n list-style: none;\\n background: #fff;\\n padding: 5px;\\n overflow-y: scroll;\\n max-height: 235px;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .active-users li .currently-selected-owner {\\n background: #eee;\\n display: inline-block;\\n width: 100%;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .active-users li span {\\n color: #34699e;\\n cursor: pointer;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .active-users li span:hover {\\n background: #eee;\\n display: inline-block;\\n width: 100%;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .button-span {\\n text-align: right;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .process-claim-info {\\n font-size: 16px;\\n font-weight: normal;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .process-claim-info .item-gap {\\n margin-right: 30px;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .ds-owner .process-claim-info .item-gap-small {\\n margin-right: 7px;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .deal-sheet-status {\\n display: block;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .deal-sheet-status .ds-status {\\n text-transform: capitalize;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .deal-sheet-status a.send {\\n border-bottom-right-radius: 10px !important;\\n border-top-right-radius: 10px !important;\\n border-radius: 0;\\n padding: 3px 5px;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .deal-sheet-status .dropdown {\\n display: inline-block;\\n}\\n\\n.ds-header .ds-user-name .ds-header-right .deal-sheet-status .dropdown .dropdown-toggle {\\n border-bottom-left-radius: 10px;\\n border-top-left-radius: 10px;\\n color: #0099ff;\\n background: #fff;\\n border: none;\\n}\\n\\n.ds-header .ds-user-info {\\n background: #fff;\\n padding: 0px;\\n margin: 0;\\n color: #444a50;\\n}\\n\\n.ds-header .ds-user-info.row {\\n margin: 0;\\n}\\n\\n.ds-header .ds-user-info.accordian-tab-layout {\\n text-align: right;\\n height: 32px;\\n padding-right: 10px;\\n padding-bottom: 5px;\\n}\\n\\n.ds-header .ds-user-info div.panel-group {\\n padding: 0px;\\n background-color: red;\\n border: 0px;\\n margin: 0px;\\n}\\n\\n.ds-header .ds-user-info .panel {\\n padding-bottom: 0px;\\n}\\n\\n.ds-header .ds-user-info .panel-heading {\\n padding: 0px;\\n background-color: green;\\n border: 0px;\\n margin: 0px;\\n}\\n\\n.ds-header .ds-user-info ul.customer-dropdown {\\n margin: 0;\\n padding: 0;\\n list-style: none;\\n display: inline-block;\\n position: relative;\\n}\\n\\n.ds-header .ds-user-info ul.customer-dropdown .caret {\\n cursor: pointer;\\n}\\n\\n.ds-header .ds-user-info ul.customer-dropdown li {\\n background: #fff;\\n position: absolute;\\n right: 11px;\\n top: 15px;\\n padding: 2px;\\n z-index: 1;\\n border: 1px solid #eee;\\n -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);\\n box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);\\n}\\n\\n.ds-header .ds-user-info a {\\n color: #1f8bd5;\\n display: inline-block;\\n font-weight: 500;\\n}\\n\\n.ds-header .ds-user-info .work-phone {\\n color: red;\\n}\\n\\n.ds-header .ds-user-info .pipes {\\n padding: 0 4px;\\n}\\n\\n.ds-header .ds-user-info .tags {\\n margin-left: 10px;\\n}\\n\\n.ds-header .ds-user-info .customer-contact-group {\\n padding-top: 0px;\\n}\\n\\n.ds-header .ds-customer-connect {\\n background: #fff;\\n border-bottom: 0px #1f8bd5 solid;\\n border-top: 0px #1f8bd5 solid;\\n padding: 0px;\\n margin: 0;\\n color: #444a50;\\n z-index: 100000;\\n}\\n\\n.ds-header .ds-customer-connect span {\\n color: gray;\\n}\\n\\n.ds-header .ds-customer-connect span.error {\\n color: red;\\n}\\n\\n.ds-header .ds-customer-connect label {\\n color: #1f8bd5;\\n font-size: 16px;\\n}\\n\\n.ds-header .ds-customer-connect div.panel-group {\\n border-top: 10px red solid;\\n padding: 0px;\\n border: 0px;\\n margin: 0px;\\n}\\n\\n.ds-header .ds-customer-connect div.row {\\n margin: 0;\\n}\\n\\n.ds-header .ds-customer-connect .panel {\\n padding-bottom: 0px;\\n border: 0px;\\n}\\n\\n.ds-header .ds-customer-connect .panel-heading {\\n padding: 0px;\\n border: 0px;\\n margin: 0px;\\n}\\n\\n.ds-header .ds-customer-connect .panel-body {\\n padding: 5px;\\n border: 0px;\\n margin: 0px;\\n border-top: 2px #1f8bd5 solid;\\n}\\n\\n.ds-header .ds-customer-connect .action-bar {\\n background-color: #1f8bd5;\\n color: #ffffff;\\n font-weight: 500;\\n vertical-align: middle;\\n}\\n\\n.ds-header .ds-customer-connect .action-menu {\\n border-bottom: 1px #eeeeee solid;\\n padding: 10px;\\n padding-bottom: 0px;\\n}\\n\\n.ds-header .ds-customer-connect .selectedbar {\\n border-bottom: 4px solid #008be8;\\n}\\n\\n.ds-header .ds-customer-connect .timeTicker {\\n margin-top: 35px;\\n}\\n\\n.ds-header .ds-customer-connect .bottom-column {\\n margin-top: 50px;\\n /*vertical-align: bottom;*/\\n}\\n\\n.ds-header .ds-customer-connect .bottom-column-schedule {\\n margin-top: 100px;\\n /*vertical-align: bottom;*/\\n}\\n\\n.ds-header .ds-customer-connect .top-buffer {\\n padding-top: 6px;\\n}\\n\\n.ds-header .ds-customer-connect .comm-tools {\\n display: inline-block;\\n margin-left: 15px;\\n}\\n\\n.ds-header .ds-customer-connect .comm-tools icon.icon {\\n top: 0;\\n}\\n\\n.ds-header .ds-customer-connect .comm-tools:hover .caption {\\n text-decoration: none;\\n}\\n\\n.ds-header .ds-customer-connect .comm-tools .wide-tools {\\n padding-right: 0px;\\n color: #1f8bd5;\\n}\\n\\n.ds-header .ds-customer-connect .comm-tools .wide-tools input {\\n vertical-align: middle;\\n}\\n\\n.ds-header .ds-customer-connect .comm-tools .wide-tools label {\\n color: #1f8bd5;\\n font-size: 0.85em;\\n margin-bottom: 0px;\\n}\\n\\n.ds-header .ds-customer-connect .do-not-contact-options {\\n vertical-align: middle;\\n}\\n\\n.dealsheet-body {\\n background: #fff;\\n}\\n\\n.dealsheet-body .contract-header {\\n border-left-width: 30px;\\n border-left-style: solid;\\n border-left-color: #1f8bd5;\\n}\\n\\n@media only screen and (max-width: 1024px) {\\n .dealsheet-body .contract-header {\\n height: auto;\\n }\\n}\\n\\n.dealsheet-body .hot-trade-text {\\n vertical-align: text-top;\\n font-size: large;\\n}\\n\\n.dealsheet-body .contract {\\n -webkit-box-flex: 0;\\n -ms-flex: 0 1 auto;\\n flex: 0 1 auto;\\n}\\n\\n.dealsheet-body .contract a img {\\n width: auto;\\n height: 17px;\\n margin: 10px 10px 5px 0;\\n}\\n\\n.dealsheet-body .contract .car-fax-image img {\\n width: auto;\\n height: 17px;\\n margin: 10px 10px 5px 0;\\n}\\n\\n.dealsheet-body .contract img {\\n float: left;\\n width: 150px;\\n margin: 0 10px 13px 0;\\n}\\n\\n.dealsheet-body .contract .oasis img {\\n margin-bottom: 0;\\n}\\n\\n.dealsheet-body .contract .vehicle-info {\\n margin-bottom: 18px;\\n min-height: 92px;\\n}\\n\\n.dealsheet-body .contract .contract-info {\\n margin-bottom: 18px;\\n}\\n\\n.dealsheet-body .contract .vehicle-info .used {\\n color: #f26522;\\n}\\n\\n.dealsheet-body .contract .vehicle-info .cpo {\\n color: #f26522;\\n}\\n\\n.dealsheet-body .contract .type-label {\\n line-height: 18px;\\n}\\n\\n.dealsheet-body .contract .bold {\\n font-weight: bold;\\n}\\n\\n.dealsheet-body .contract .new {\\n color: #1f8bd5;\\n}\\n\\n.dealsheet-body .contract .used {\\n color: #f26522;\\n}\\n\\n.dealsheet-body .contract .conquest {\\n color: #3FAF49;\\n}\\n\\n.dealsheet-body .contract .alert {\\n padding: initial;\\n border: initial;\\n border-radius: initial;\\n color: red;\\n}\\n\\n.dealsheet-body .contract .alert.alert-inline-only {\\n padding: inherit;\\n margin: inherit;\\n}\\n\\n.dealsheet-body .contract .clickable {\\n cursor: pointer;\\n}\\n\\n.dealsheet-body .contract .edit-icon {\\n position: relative;\\n top: 1px;\\n}\\n\\n.dealsheet-body .carcomparison {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n -ms-flex-flow: row wrap;\\n flex-flow: row wrap;\\n border-top: 6px solid #1f8bd5;\\n border-bottom: 8px solid #1f8bd5;\\n}\\n\\n.dealsheet-body .carcomparison > .carcomparisonie11flexfix {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n width: 50%;\\n height: auto;\\n}\\n\\n@media only screen and (max-width: 1024px) {\\n .dealsheet-body .carcomparison > .carcomparisonie11flexfix {\\n width: 100%;\\n }\\n}\\n\\n.dealsheet-body .carcomparison .current-contract-summary, .dealsheet-body .carcomparison .replacement-contract-summary {\\n width: 100%;\\n -webkit-box-flex: 1;\\n -ms-flex: 1 0 auto;\\n flex: 1 0 auto;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-pack: justify;\\n -ms-flex-pack: justify;\\n justify-content: space-between;\\n -webkit-box-align: stretch;\\n -ms-flex-align: stretch;\\n align-items: stretch;\\n}\\n\\n.dealsheet-body .carcomparison.row {\\n margin: 0;\\n}\\n\\n.dealsheet-body .carcomparison .new-header {\\n border-left-color: #1f8bd5;\\n}\\n\\n.dealsheet-body .carcomparison .used-header, .dealsheet-body .carcomparison .cpo-header {\\n border-left-color: #f26522;\\n}\\n\\n.dealsheet-body .carcomparison .conquest-header {\\n border-left-color: #3FAF49;\\n}\\n\\n.dealsheet-body .ds-tab-area {\\n /*height: 400px;\\n overflow-y: scroll;*/\\n}\\n\\n.dealsheet-body .ds-tab-area.row {\\n margin: 0;\\n background-color: #002b49;\\n border-bottom-left-radius: inherit;\\n}\\n\\n.dealsheet-body .ds-tab-area .ds-tab-nav {\\n padding-left: 0;\\n padding-right: 0;\\n background: #172751;\\n}\\n\\n.dealsheet-body .ds-tab-area .ds-tab-nav li {\\n margin-top: 0;\\n}\\n\\n.dealsheet-body .ds-tab-area .ds-tab-nav .nav > li {\\n display: block;\\n}\\n\\n.dealsheet-body .ds-tab-area .ds-tab-nav a {\\n color: #fff;\\n border-bottom: transparent 5px solid;\\n font-size: 16px;\\n}\\n\\n.dealsheet-body .ds-tab-area .ds-tab-nav a:hover {\\n color: #c1c2c4 !important;\\n background: -webkit-gradient(linear, left top, left bottom, from(#192c54), to(#192c54));\\n background: linear-gradient(to bottom, #192c54 0%, #192c54 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#192c54), to(#00548f));\\n background: linear-gradient(#192c54, #00548f);\\n border-bottom: #2d89c9 5px solid;\\n}\\n\\n.dealsheet-body .ds-tab-area .ds-tab-nav a.tab-active {\\n background: #fff;\\n color: #0099ff;\\n}\\n\\n.larger-number {\\n font-size: 22px;\\n font-weight: bold;\\n color: #3FAF49;\\n}\\n\\n.dealsheet-toggle a {\\n color: #fff;\\n position: absolute;\\n top: 0;\\n right: 16px;\\n z-index: 0;\\n text-decoration: none;\\n}\\n\\n.dealsheet-toggle a:hover, .dealsheet-toggle a:visited, .dealsheet-toggle a:focus {\\n color: #fff;\\n}\\n\\n.do-no-call {\\n color: red;\\n text-decoration: line-through;\\n}\\n\\n.modal-tools {\\n text-align: right;\\n}\\n\\n.modal-tools icon.icon {\\n color: #fff;\\n top: 0;\\n font-size: 25px;\\n margin-left: 20px;\\n}\\n\\n.modal-tools icon.icon.aa-icon-core-print-icon-000000 {\\n font-size: 30px;\\n top: 1px;\\n}\\n\\n.comm-tools {\\n display: inline-block;\\n}\\n\\n.comm-tools icon.icon {\\n top: 0;\\n}\\n\\n.comm-tools:hover .caption {\\n text-decoration: underline;\\n}\\n\\n.comm-tools .wide-tools {\\n padding-left: 10px;\\n padding-right: 10px;\\n color: #1f8bd5;\\n}\\n\\n.comm-tools .wide-tools label {\\n color: #1f8bd5;\\n}\\n\\n.comm-tools .accordian-tabs {\\n height: 30px;\\n margin-left: 5px;\\n border-bottom-left-radius: 0px;\\n border-bottom-right-radius: 0px;\\n background-color: #1f8bd5;\\n /*#1f8bd5;*/\\n}\\n\\n.comm-tools .accordian-tabs.icon-only {\\n padding-left: 8px;\\n padding-right: 8px;\\n}\\n\\n.comm-tools .badge {\\n color: #ffffff;\\n}\\n\\n.comm-tools .unread-message-badge {\\n background-color: red;\\n margin-left: -8px;\\n margin-top: 6px;\\n font-size: 7pt;\\n}\\n\\n.comm-tools .svg-icon {\\n margin-bottom: 9px;\\n padding: 0px;\\n}\\n\\n.opportunities {\\n list-style: none;\\n padding-left: 5px;\\n max-width: 385px;\\n}\\n\\n.opportunities .opportunity {\\n display: inline-block;\\n}\\n\\n.opportunities .opportunity .row {\\n margin: 0;\\n}\\n\\n.opportunities .opportunity.stacked {\\n cursor: pointer;\\n display: block;\\n margin-bottom: 5px;\\n}\\n\\n.opportunities .aa-icon-arrowoutline {\\n color: #1f8bd5;\\n}\\n\\n.opportunities .aa-icon-arrowfilledin {\\n color: #1f8bd5;\\n display: none;\\n}\\n\\nul.credit-inquiries {\\n vertical-align: top;\\n list-style: none;\\n display: inline-block;\\n padding-left: 0;\\n}\\n\\nul.credit-inquiries li {\\n display: inline-block;\\n}\\n\\n.scripts-target {\\n cursor: pointer;\\n display: block;\\n margin-bottom: 10px;\\n padding: 5px;\\n}\\n\\n.scripts-target.row {\\n margin: 0;\\n}\\n\\n.tags {\\n padding: 0;\\n list-style: none;\\n}\\n\\n.tags .tag {\\n display: inline-block;\\n}\\n\\n.tags .tag span {\\n color: #000;\\n background-color: #F5F5DC;\\n margin: 0 5px 3px 0;\\n padding: 0 5px;\\n border-radius: 3px;\\n font-size: 13px;\\n line-height: 18px;\\n vertical-align: middle;\\n cursor: default;\\n border: #62A8EC 1px solid;\\n}\\n\\n.tags .popover {\\n max-width: 580px;\\n}\\n\\n.vinRecall {\\n padding: 0px 10px 10px 10px;\\n color: #444B4F;\\n outline-color: #7A8084;\\n}\\n\\n.vinRecall .title {\\n font-size: 16px;\\n font-weight: bold;\\n}\\n\\n.vinRecall .body {\\n font-size: 12px;\\n}\\n\\n.vinRecall div {\\n padding-top: 10px;\\n}\\n\\n.vinRecall div.header {\\n padding-top: 0;\\n}\\n\\n.vinRecall h3 {\\n margin-top: 10px;\\n}\\n\\n.ford.aa-icon-cc-badge {\\n background: url(\\\"/images/pre-approved.png\\\") 0 4px no-repeat;\\n background-size: 166px 18px;\\n border: none;\\n display: block;\\n width: 166px;\\n}\\n\\n.ford.aa-icon-cc-badge:before {\\n display: none;\\n}\\n\\n.ford.aa-icon-pq-badge {\\n background: url(\\\"/images/pre-qualified.png\\\") 0 4px no-repeat;\\n background-size: 166px 18px;\\n border: none;\\n display: block;\\n width: 166px;\\n}\\n\\n.ford.aa-icon-pq-badge:before {\\n display: none;\\n}\\n\\n.google-maps-icon {\\n background: url(\\\"/images/google-maps.png\\\") no-repeat;\\n background-size: 18px 18px;\\n border: none;\\n display: inline-block;\\n width: 18px;\\n height: 18px;\\n cursor: pointer;\\n margin-bottom: 4px;\\n margin-left: 10px;\\n}\\n\\n#ds-customer-edit {\\n width: 97%;\\n height: 97%;\\n z-index: 99900;\\n position: absolute;\\n top: 30px;\\n left: 0px;\\n padding-left: 50px;\\n padding-right: 100px;\\n}\\n\\ncustomer-edit .large-checkbox {\\n position: relative;\\n top: 4px;\\n -webkit-transform: scale(1.25);\\n transform: scale(1.25);\\n}\\n\\ncustomer-edit .plan-logo {\\n width: 150px;\\n}\\n\\n.top-buffer {\\n margin-top: 2px;\\n vertical-align: middle;\\n}\\n\\n.phone-dropdown-anchor {\\n display: inline-block;\\n margin-bottom: 0;\\n font-weight: normal;\\n text-align: center;\\n vertical-align: middle;\\n -ms-touch-action: manipulation;\\n touch-action: manipulation;\\n cursor: pointer;\\n background-image: none;\\n border: 1px solid transparent;\\n white-space: nowrap;\\n padding: 6px 4px;\\n font-size: 12px;\\n line-height: 1.42857;\\n border-radius: 10px;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none;\\n}\\n\\ncustomer-contact ul.dropdown-menu {\\n font-size: 12px;\\n}\\n\\n.label-top-buffer {\\n padding-top: 6px;\\n padding-bottom: 5px;\\n vertical-align: middle;\\n height: 30px;\\n}\\n\\n.current-vehicle-label {\\n display: inline-block;\\n -webkit-transform: rotate(-90deg);\\n -webkit-transform-origin: 53px 93px;\\n -moz-transform: rotate(-90deg);\\n -moz-transform-origin: 53px 93px;\\n -ms-transform: rotate(-90deg);\\n -ms-transform-origin: 53px 93px;\\n color: white;\\n}\\n\\n.current-vehicle-label span {\\n position: relative;\\n top: 13px;\\n left: -10px;\\n}\\n\\n.replacement-vehicle-label {\\n display: inline-block;\\n -webkit-transform: rotate(-90deg);\\n -webkit-transform-origin: 40px 80px;\\n -moz-transform: rotate(-90deg);\\n -moz-transform-origin: 40px 80px;\\n -ms-transform: rotate(-90deg);\\n -ms-transform-origin: 40px 80px;\\n color: white;\\n position: relative;\\n width: 118px;\\n}\\n\\n.replacement-vehicle-label span {\\n position: absolute;\\n top: 14px;\\n right: 0;\\n}\\n\\n.scripts-log-calls.row {\\n padding: inherit;\\n}\\n\\n.scripts-log-calls .bar-seperator {\\n padding-left: 10px;\\n padding-right: 10px;\\n}\\n\\n.scripts-log-calls .aa-icon-core-phone-icon-000000 {\\n position: relative;\\n top: 4px;\\n}\\n\\n.modal-aa-lg.modal-aa-lg-dealsheet .modal-content {\\n background: transparent !important;\\n padding-top: 15px;\\n min-height: 300px;\\n}\\n\\n.form-control.no-border,\\ninput.no-border {\\n border: none;\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n}\\n\\n.form-control[disabled].display-enabled,\\n.form-control[readonly].display-enabled,\\nfieldset[disabled].display-enabled .form-control.date-type {\\n background-color: white !important;\\n}\\n\\n.vehicle-vin {\\n font-size: 12px;\\n}\\n\\n@media print {\\n body * {\\n visibility: hidden;\\n }\\n\\n #aa-header {\\n display: none;\\n }\\n\\n a[href]:after {\\n content: none !important;\\n }\\n\\n label {\\n font-size: 12px !important;\\n }\\n\\n span:not(.no-style) {\\n font-size: 14px !important;\\n }\\n\\n input[type=text] {\\n font-size: 14px !important;\\n text-align: left;\\n margin-left: -5px;\\n height: 18px;\\n }\\n\\n .section-to-print, .section-to-print * {\\n visibility: visible;\\n }\\n\\n .section-to-print {\\n width: 100% !important;\\n position: absolute !important;\\n left: 0;\\n top: 0;\\n }\\n\\n .vehicle-vin {\\n font-size: 9px;\\n }\\n\\n .aa-feature-comparison .table td {\\n font-size: 11px;\\n }\\n .aa-feature-comparison .table .data-item span {\\n font-size: 11px !important;\\n }\\n .aa-feature-comparison .table td.row-label {\\n font-weight: 300 !important;\\n color: #7a8084 !important;\\n font-size: 12px !important;\\n }\\n\\n .aa-feature-comparison .combined-mileage {\\n font-size: 20px;\\n }\\n\\n .row {\\n margin-left: 0;\\n margin-right: 0;\\n }\\n\\n .dealsheet-body .car-comparison {\\n border-bottom: none;\\n }\\n\\n .field-label {\\n margin-bottom: 5px !important;\\n width: 30% !important;\\n }\\n\\n .edit-icon {\\n display: none;\\n }\\n\\n input {\\n border: none !important;\\n outline: none !important;\\n -webkit-box-shadow: none !important;\\n box-shadow: none !important;\\n }\\n\\n .ds-header-left {\\n display: inline-block;\\n }\\n\\n .ds-header-right {\\n display: inline-block;\\n top: 0px !important;\\n }\\n\\n .ds-tab-nav {\\n display: none;\\n }\\n\\n .ds-tab-body .opportunities {\\n display: none;\\n }\\n\\n .contract-info {\\n display: inline-block;\\n }\\n\\n .customer-name.suffix {\\n visibility: hidden !important;\\n }\\n\\n .deal-sheet-status a {\\n display: none;\\n }\\n\\n .replacement-contract-summary {\\n vertical-align: top;\\n }\\n\\n .current-contract-details.ng-isolate-scope.ng-hide,\\nservice-history.ng-isolate-scope.ng-hide,\\nactivity-list.ng-isolate-scope.ng-hide,\\n.replacement-contract-details.ng-isolate-scope.ng-hide {\\n display: block !important;\\n }\\n\\n service-history {\\n display: block !important;\\n }\\n\\n .activity:not(:nth-child(-n+25)) {\\n display: none;\\n }\\n\\n activity-list a {\\n display: none;\\n }\\n\\n msrp-type-select, sale-type-select {\\n display: none;\\n }\\n\\n .comm-tools-wrapper {\\n display: none;\\n }\\n\\n .current-vehicle-label {\\n display: inline-block;\\n -webkit-transform: rotate(0deg);\\n -webkit-transform-origin: 0 0;\\n -moz-transform: rotate(0deg);\\n -moz-transform-origin: 0 0;\\n -ms-transform: rotate(0deg);\\n -ms-transform-origin: 0 0;\\n }\\n .current-vehicle-label span {\\n position: relative !important;\\n color: black !important;\\n border-bottom: 1px solid !important;\\n top: 0;\\n left: 0;\\n }\\n\\n .replacement-vehicle-label {\\n display: inline-block;\\n -webkit-transform: rotate(0deg);\\n -webkit-transform-origin: 0 0;\\n -moz-transform: rotate(0deg);\\n -moz-transform-origin: 0 0;\\n -ms-transform: rotate(0deg);\\n -ms-transform-origin: 0 0;\\n }\\n .replacement-vehicle-label span {\\n position: relative !important;\\n color: black !important;\\n border-bottom: 1px solid !important;\\n top: 0;\\n left: 0;\\n }\\n\\n .contract-header {\\n border-left-color: transparent !important;\\n }\\n\\n button, .print-upgrade-proposal, .aa-icon-core-edit-icon-000000 {\\n display: none !important;\\n }\\n\\n #autoalertiframe {\\n display: none;\\n }\\n\\n .modal,\\n.modal * {\\n overflow: visible !important;\\n }\\n\\n .modal {\\n position: absolute !important;\\n left: 0 !important;\\n top: 0 !important;\\n }\\n\\n .modal-dialog {\\n width: 100% !important;\\n margin: 0;\\n }\\n\\n .modal-backdrop {\\n background-color: white;\\n opacity: 1 !important;\\n }\\n\\n .modal {\\n position: absolute;\\n left: 0;\\n top: 0;\\n margin: 0;\\n padding: 0;\\n min-height: 550px;\\n visibility: visible;\\n overflow: visible !important;\\n }\\n\\n .modal-dialog {\\n visibility: visible !important;\\n overflow: visible !important;\\n }\\n\\n .replacement-logo-svg {\\n display: none !important;\\n }\\n\\n .current-contract-summary, .replacement-contract-summary, .contract-header {\\n height: auto !important;\\n }\\n\\n .no-print {\\n display: none !important;\\n }\\n}\\n\\na.reopen {\\n color: white;\\n}\\n\\na.reopen:hover, a.reopen:focus, a.reopen:active, a.reopen:visited {\\n color: #eee;\\n}\\n\\n.prescreen-processing {\\n display: inline-block;\\n text-align: center;\\n vertical-align: middle;\\n padding: 6px 12px;\\n}\\n\\n.prescreen-processing span, .prescreen-processing icon.icon.lg {\\n color: #7a8084;\\n}\\n\\n.prescreen-spinner {\\n border: 7px solid transparent;\\n height: 35px;\\n}\\n\\n.prescreen-spinner .cg-busy {\\n left: 35%;\\n}\\n\\n.proposal-spinner .cg-busy .cg-busy-default-spinner {\\n left: 50px !important;\\n top: 5px !important;\\n}\\n\\n.related-opportunities-by-vin {\\n margin-top: 10px;\\n}\\n\\n.related-opportunities-by-vin ul {\\n margin-bottom: 0px;\\n}\\n\\n.related-opportunities-message {\\n color: #444a50;\\n}\\n\\n.form-group label {\\n padding-right: 5px;\\n}\\n\\n.report-discrepancy-header {\\n margin: 11px 0;\\n}\\n\\nreport-discrepancy ul.dropdown-menu-section {\\n list-style-type: none;\\n padding: 0;\\n}\\n\\n.aa-padding-right {\\n padding-right: 10px;\\n}\\n\\n.value-table {\\n overflow-x: auto;\\n}\\n\\n/*.current-contract-summary, .replacement-contract-summary {\\n display: flex;\\n flex-direction: column;\\n justify-content: space-between;\\n}*/\\n\\n.poweredby-blackbook label {\\n margin: 10px -30px 5px 30px;\\n font-size: 8pt;\\n}\\n\\n.poweredby-blackbook img {\\n height: 20px;\\n margin: 10px 10px 5px 10px;\\n}\\n\\n.poweredby-blackbook img.galves {\\n min-height: 20px;\\n max-height: 25px;\\n height: unset;\\n}\\n\\n.poweredby-blackbook img.black-book-canada {\\n min-height: 20px;\\n max-height: 30px;\\n height: unset;\\n}\\n\\n.vehicle-reports {\\n -webkit-box-flex: 0;\\n -ms-flex: 0 1 auto;\\n flex: 0 1 auto;\\n -ms-flex-item-align: end;\\n align-self: flex-end;\\n display: inline-block;\\n}\\n\\n.vehicle-reports img {\\n height: 17px;\\n margin: 10px 10px 5px 0;\\n}\\n\\n.replacement-bottom {\\n -webkit-box-flex: 0;\\n -ms-flex: 0 1 auto;\\n flex: 0 1 auto;\\n -ms-flex-item-align: end;\\n align-self: flex-end;\\n}\\n\\n.customer-edit-info {\\n margin-top: 10px;\\n}\\n\\n.replacement-vehicle-offers {\\n display: inline-block;\\n -webkit-transform: rotate(-90deg);\\n -webkit-transform-origin: 131px 161px;\\n -moz-transform: rotate(-90deg);\\n -moz-transform-origin: 131px 161px;\\n -ms-transform: rotate(-90deg);\\n -ms-transform-origin: 131px 161px;\\n}\\n\\n.replacement-vehicle-offers button {\\n width: 145px;\\n border: none;\\n padding-top: 5px;\\n}\\n\\n.replacement-vehicle-offers .selected-offer {\\n background-color: #e7e7e7;\\n color: #1f8bd5;\\n height: 30px;\\n outline: 0;\\n}\\n\\n.replacement-vehicle-offers .selected-offer .triangle {\\n width: 0;\\n height: 0;\\n border-left: 23px solid transparent;\\n border-right: 23px solid transparent;\\n border-top: 12px solid #e7e7e7;\\n margin: auto;\\n}\\n\\n.replacement-vehicle-offers button:not(.selected-offer) {\\n background-color: transparent;\\n color: white;\\n}\\n\\n.replacement-vehicle-offers button:not(.selected-offer) .triangle {\\n display: none;\\n}\\n\\nactivity-actions {\\n display: inline-block;\\n}\\n\\nfacebook-photo {\\n display: inline-block;\\n vertical-align: top;\\n border-radius: 5px;\\n margin-right: 5px;\\n}\\n\\n.tab-header {\\n display: inline-block;\\n margin-right: 15px;\\n}\\n\\n.activity-list-header {\\n display: inline-block;\\n margin-right: 15px;\\n font-size: 18px;\\n margin-top: 5px;\\n margin-bottom: 5px;\\n}\\n\\n.default-tab-indicator {\\n padding: 0;\\n}\\n\\n.default-tab-indicator span {\\n font-weight: 300;\\n color: #7a8084;\\n font-size: 14px;\\n}\\n\\n.default-tab-icon {\\n color: #1f8bd5;\\n}\\n\\n.modal-content input[type=number] {\\n -moz-appearance: textfield;\\n}\\n\\n.modal-content input[type=number]:not(.show-spinner)::-webkit-inner-spin-button,\\n.modal-content input[type=number]:not(.show-spinner)::-webkit-outer-spin-button {\\n -webkit-appearance: none;\\n margin: 0;\\n}\\n\\n#third-party-report-iframe {\\n width: 100vw;\\n height: 100vh;\\n border: none;\\n display: block;\\n}\\n\\n#dealsheetiframe {\\n height: calc(100vh - 60px) !important;\\n}\\n\\npricing-plan-client {\\n display: inline-block;\\n padding: 2px 10px 2px 80px;\\n}\\n\\npricing-plan-client > .logo {\\n display: inline-block;\\n}\\n\\npricing-plan-client > .logo > img {\\n width: 150px;\\n}\\n\\npricing-plan-client > .logo > customer-edit-action {\\n vertical-align: middle;\\n}\\n\\nvehicle-select .planLabel {\\n font-size: 10px;\\n color: #1f8bd5;\\n}\\n\\nvehicle-select .planLabelTransparent {\\n font-size: 10px;\\n color: transparent;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: row;\\n flex-direction: row;\\n font-size: 14px;\\n -webkit-box-align: stretch;\\n -ms-flex-align: stretch;\\n align-items: stretch;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offeritem.offertitle {\\n -webkit-box-flex: 0;\\n -ms-flex: 0 1 auto;\\n flex: 0 1 auto;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offeritem.offerlink.single > .offertext > .offertextleft {\\n -webkit-box-flex: 0;\\n -ms-flex: 0 1 auto;\\n flex: 0 1 auto;\\n padding-right: 5px;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offeritem.offerlink.single > .offertext > .offertextright {\\n -webkit-box-flex: 0;\\n -ms-flex: 0 1 auto;\\n flex: 0 1 auto;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offeritem {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n -webkit-box-align: stretch;\\n -ms-flex-align: stretch;\\n align-items: stretch;\\n padding: 6px 16px;\\n -webkit-box-flex: 1;\\n -ms-flex: 1 1 0%;\\n flex: 1 1 0%;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offeritem > .offertext {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n -webkit-box-orient: horizontal;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: row;\\n flex-direction: row;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offeritem > .offertext > .offertextleft {\\n -webkit-box-flex: 1;\\n -ms-flex: 1 1 0%;\\n flex: 1 1 0%;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offeritem > .offertext > .offertextright {\\n -webkit-box-flex: 1;\\n -ms-flex: 1 0 0%;\\n flex: 1 0 0%;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offeritem > .offertext > .offertextright > .offerimage {\\n width: auto;\\n height: 56px;\\n margin: 0 4px;\\n float: none;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offerlink:not(.ng-hide) + .offerlink {\\n border-left: 1px solid #757575;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offertitle {\\n background-color: #1f8bd5;\\n color: white;\\n font-weight: 500;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offerlink {\\n border-top: 1px solid #757575;\\n -webkit-box-flex: 1;\\n -ms-flex: 1 1 0%;\\n flex: 1 1 0%;\\n cursor: pointer;\\n}\\n\\nalternate-replacement-vehicle-offers > .offercontainer > .offerlink:hover {\\n background-color: whitesmoke;\\n}\\n\\n.process-wrapper .c-btn {\\n background: #fff;\\n border: 1px solid #ccc;\\n color: #333;\\n font-size: 12px;\\n}\\n\\n.process-wrapper .selected-list .c-list .c-token {\\n background: #337ab7;\\n}\\n\\n.process-wrapper .selected-list .c-list .c-token .c-label {\\n color: #fff;\\n}\\n\\n.process-wrapper .selected-list .c-list .c-token .c-remove svg {\\n fill: #fff;\\n}\\n\\n.process-wrapper .selected-list .c-angle-down svg, .process-wrapper .selected-list .c-angle-up svg {\\n fill: #333;\\n}\\n\\n.process-wrapper .dropdown-list ul li {\\n padding: 5px 0 0 10px;\\n}\\n\\n.process-wrapper .dropdown-list ul li:hover {\\n background: #f5f5f5;\\n}\\n\\n.process-wrapper .arrow-up, .process-wrapper .arrow-down {\\n border-bottom: 15px solid #fff;\\n}\\n\\n.process-wrapper .arrow-2 {\\n border-bottom: 15px solid #ccc;\\n}\\n\\n.process-wrapper .list-area {\\n border: 1px solid #ccc;\\n background: #fff;\\n -webkit-box-shadow: 0px 1px 5px #959595;\\n box-shadow: 0px 1px 5px #959595;\\n}\\n\\n.process-wrapper .select-all {\\n border-bottom: 1px solid #ccc;\\n}\\n\\n.process-wrapper .list-filter {\\n border-bottom: 1px solid #ccc;\\n}\\n\\n.process-wrapper .list-filter .c-search svg {\\n fill: #888;\\n}\\n\\n.process-wrapper .list-filter .c-clear svg {\\n fill: #888;\\n}\\n\\n.process-wrapper .pure-checkbox input[type=checkbox]:focus + label:before, .process-wrapper .pure-checkbox input[type=checkbox]:hover + label:before {\\n border-color: #337ab7;\\n background-color: #f2f2f2;\\n}\\n\\n.process-wrapper .pure-checkbox input[type=checkbox] + label {\\n color: #000;\\n}\\n\\n.process-wrapper .pure-checkbox input[type=checkbox] + label:before {\\n color: #337ab7;\\n border: 2px solid #337ab7;\\n}\\n\\n.process-wrapper .pure-checkbox input[type=checkbox] + label:after {\\n background-color: #337ab7;\\n}\\n\\n.process-wrapper .pure-checkbox input[type=checkbox]:disabled + label:before {\\n border-color: #cccccc;\\n}\\n\\n.process-wrapper .pure-checkbox input[type=checkbox]:disabled:checked + label:before {\\n background-color: #cccccc;\\n}\\n\\n.process-wrapper .pure-checkbox input[type=checkbox] + label:after {\\n border-color: #ffffff;\\n}\\n\\n.process-wrapper .pure-checkbox input[type=radio]:checked + label:before {\\n background-color: white;\\n}\\n\\n.process-wrapper .pure-checkbox input[type=checkbox]:checked + label:before {\\n background: #337ab7;\\n}\\n\\n.process-wrapper .selected-item {\\n background: #e9f4ff;\\n}\\n\\n.process-wrapper .c-btn {\\n border-radius: 20px;\\n display: inline-block;\\n overflow: hidden;\\n border: 1px solid #cccccc;\\n}\\n\\n.process-wrapper .selected-list .c-angle-down, .process-wrapper .selected-list .c-angle-up {\\n width: 10px;\\n height: 10px;\\n}\\n\\n.process-wrapper .bs-timepicker-field {\\n font-size: 14px;\\n}\\n\\n.process-wrapper timepicker .btn {\\n font-size: 14px;\\n}\\n\\n.process-wrapper .tooltipContainer p {\\n font-size: 12px;\\n float: left;\\n}\\n\\n.cln-after {\\n padding-right: 5px;\\n}\\n\\n.cln-after:after {\\n content: \\\":\\\";\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9kZWFsLXNoZWV0L0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcY29tcG9uZW50c1xcZGVhbC1zaGVldFxcZGVhbC1zaGVldC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2RlYWwtc2hlZXQvZGVhbC1zaGVldC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2RlYWwtc2hlZXQvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxzdHlsZXNcXF9hYS12YXJpYWJsZXMuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9kZWFsLXNoZWV0L0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy8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aXNwbGF5OiB0YWJsZTtcclxuICAgICAgICAgICAgdGFibGUtbGF5b3V0OiBmaXhlZDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5kcy11c2VyLW5hbWUtcm93IHtcclxuXHJcbiAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1pbi13aWR0aCA6ICRoZWFkZXItYnJlYWtwb2ludCkge1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogZmxleDtcclxuICAgICAgICAgICAgICAgIGZsZXgtZmxvdzogcm93IHdyYXA7XHJcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5kcy1oZWFkZXItbGVmdCB7XHJcbiAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1pbi13aWR0aCA6ICRzbS1icmVha3BvaW50KSB7XHJcbiAgICAgICAgICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogdG9wO1xyXG4gICAgICAgICAgICAgICAgbWluLWhlaWdodDogODBweDtcclxuICAgICAgICAgICAgICAgIHdpZHRoOiA0MCU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoIDogJG1kLWJyZWFrcG9pbnQpIHtcclxuICAgICAgICAgICAgICAgIHdpZHRoOiAzNSU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoIDogJGxnLWJyZWFrcG9pbnQpIHtcclxuICAgICAgICAgICAgICAgIHdpZHRoOiAzMCU7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQ6ICRib2R5LWJnO1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmO1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAxMHB4IDdweCAxMXB4IDIycHg7XHJcbiAgICAgICAgICAgIGlzb2xhdGlvbjogaXNvbGF0ZTtcclxuXHJcbiAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1pbi13aWR0aCA6ICRoZWFkZXItYnJlYWtwb2ludCkge1xyXG4gICAgICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDE1cHg7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5jb250ZW50cyB7XHJcbiAgICAgICAgICAgICAgICAvLyBUaGlzIGJsb2NrIGV4aXN0cyB0byBoYXZlIGEgei1pbmRleCBncmVhdGVyIHRoYW4gdGhhdFxyXG4gICAgICAgICAgICAgICAgLy8gb2YgLmFuZ2xlZC1lZGdlIHNvIHRoZSB0ZXh0IGRvZXNuJ3QgZ2V0IGNsaXBwZWQuXHJcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICAgICAgICAgICAgICB6LWluZGV4OiAyO1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDY3JTtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgLmFuZ2xlZC1lZGdlLWNvbnRhaW5lciB7XHJcbiAgICAgICAgICAgICAgICAuYW5nbGVkLWVkZ2Uge1xyXG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgICAgICAgICAgICAgICByaWdodDogMDtcclxuICAgICAgICAgICAgICAgICAgICB0b3A6IDA7XHJcbiAgICAgICAgICAgICAgICAgICAgYm90dG9tOiAtMnB4OyAvLyBEdWUgdG8gcm91bmRpbmcgZnJhY3Rpb25hbCBwaXhlbHMgKGVzcGVjaWFsbHkgaW4gSUUxMSkgdGhpcyBibG9jayB0ZW5kcyB0byByZW5kZXIgYSBmZXcgcGl4ZWxzIHRvbyBzaG9ydFxyXG4gICAgICAgICAgICAgICAgICAgIHdpZHRoOiAxMDBweDtcclxuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm0tb3JpZ2luOiB0b3A7XHJcbiAgICAgICAgICAgICAgICAgICAgdHJhbnNmb3JtOiBza2V3WCgyMGRlZyk7XHJcbiAgICAgICAgICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoIDogJG1kLWJyZWFrcG9pbnQpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEyOHB4O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC5zY29yZS1sYWJlbC1wbGFjZWhvbGRlciB7XHJcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDMwcHg7XHJcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJGRhcmstbGFiZWwtYmFja2dyb3VuZDtcclxuICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAuc2NvcmUtbGFiZWwge1xyXG4gICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgICAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSg2OWRlZyk7XHJcbiAgICAgICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgICAgICAgICAgICAgIHRvcDogMjhweDtcclxuICAgICAgICAgICAgICAgICAgICByaWdodDogNDhweDtcclxuICAgICAgICAgICAgICAgICAgICBjb2xvcjogd2hpdGU7XHJcbiAgICAgICAgICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoIDogJG1kLWJyZWFrcG9pbnQpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IDc2cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgLnNjb3JlLXZhbHVlLXBsYWNlaG9sZGVyIHtcclxuICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMjhweDtcclxuICAgICAgICAgICAgICAgICAgICB3aWR0aDogODBweDtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkYnJpZ2h0Qmx1ZTtcclxuICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoIDogJG1kLWJyZWFrcG9pbnQpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMHB4O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIC5zY29yZS12YWx1ZS1jb250YWluZXIge1xyXG4gICAgICAgICAgICAgICAgICAgIHdpZHRoOiAxMDBweDtcclxuICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgICAgICAgICAgICAgdG9wOiAwO1xyXG4gICAgICAgICAgICAgICAgICAgIHJpZ2h0OiAtMzJweDtcclxuICAgICAgICAgICAgICAgICAgICBAbWVkaWEgb25seSBzY3JlZW4gYW5kIChtaW4td2lkdGggOiAkbWQtYnJlYWtwb2ludCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICByaWdodDogLTEycHg7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgLnNjb3JlLXZhbHVlIHtcclxuICAgICAgICAgICAgICAgICAgICBjb2xvcjogd2hpdGU7XHJcbiAgICAgICAgICAgICAgICAgICAgZm9udC1zaXplOiA0NHB4O1xyXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG4gICAgICAgICAgICAgICAgICAgIGxpbmUtaGVpZ2h0OiA4MHB4O1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAuY3VzdG9tZXItbmFtZSB7XHJcbiAgICAgICAgICAgICAgICBjb2xvcjogJGJyaWdodEJsdWU7XHJcbiAgICAgICAgICAgICAgICBtYXJnaW46IDA7XHJcbiAgICAgICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgICAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgICAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG5cclxuICAgICAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1pbi13aWR0aCA6IDc2OHB4KSB7XHJcbiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiAxMjVweDtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICBAbWVkaWEgb25seSBzY3JlZW4gYW5kIChtaW4td2lkdGggOiAxMDI0cHgpIHtcclxuICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDEwNXB4O1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1pbi13aWR0aCA6IDEyMjRweCkge1xyXG4gICAgICAgICAgICAgICAgICAgIG1heC13aWR0aDogMTU1cHg7XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoIDogMTQyNHB4KSB7XHJcbiAgICAgICAgICAgICAgICAgICAgbWF4LXdpZHRoOiAyMDVweDtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICBAbWVkaWEgb25seSBzY3JlZW4gYW5kIChtaW4td2lkdGggOiAxNjI0cHgpIHtcclxuICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDI1NXB4O1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1pbi13aWR0aCA6IDE4MjRweCkge1xyXG4gICAgICAgICAgICAgICAgICAgIG1heC13aWR0aDogMzA1cHg7XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgJjpub3QoLnN1ZmZpeCkge1xyXG4gICAgICAgICAgICAgICAgICAgIHBhZGRpbmctYm90dG9tOiAycHg7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5jdXN0b21lci1uYW1lLWRpc3BsYXkge1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAuZGVhbGVyLW5hbWUge1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICRicmlnaHRCbHVlO1xyXG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAxMnB4O1xyXG4gICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IG5vcm1hbDtcclxuICAgICAgICAgICAgICAgIG1hcmdpbjogMDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmRzLWhlYWRlci1yaWdodCB7XHJcbiAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1pbi13aWR0aDogJHNtLWJyZWFrcG9pbnQpIHtcclxuICAgICAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiB0b3A7XHJcbiAgICAgICAgICAgICAgICB3aWR0aDogNjAlO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIEBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1pbi13aWR0aDogJG1kLWJyZWFrcG9pbnQpIHtcclxuICAgICAgICAgICAgICAgIHdpZHRoOiA2NSU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWluLXdpZHRoOiAkbGctYnJlYWtwb2ludCkge1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDcwJTtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDEycHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmctdG9wOiAzcHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmctYm90dG9tOiAzcHg7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KHRvIHRvcCwgIzE5MmM1NCAwJSwkbGlnaHQtYmx1ZSAxMDAlKTtcclxuICAgICAgICAgICAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIHRvcCwgIzE5MmM1NCAwJSwjMTkyYzU0IDEwMCUpO1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQoICRsaWdodC1ibHVlLCAjMTkyYzU0KTtcclxuICAgICAgICAgICAgY29sb3I6ICNmZmY7XHJcblxyXG4gICAgICAgICAgICAuZ3JvdXAtcm93IHtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmc6IDJweDtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMjdweDsgLy8gYXZvaWQgY2xpcHBpbmcgdGhlIHNsYW50ZWQgZWRnZVxyXG4gICAgICAgICAgICAgICAgbWFyZ2luOiA1cHggMCAwIDA7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5kcy1vd25lciB7XHJcbiAgICAgICAgICAgICAgICB0ZXh0LWFsaWduOmNlbnRlcjtcclxuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuXHJcbiAgICAgICAgICAgICAgICAub3duZXItbmFtZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIC5vd25lci1uYW1lLnJlYWQtb25seSB7XHJcbiAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiBhdXRvO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIC5oZWFkZXItbW9kYWwtc3R5bGUge1xyXG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgICAgICAgICAgICAgICB0b3A6IDE3cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMTRweDtcclxuICAgICAgICAgICAgICAgICAgICB6LWluZGV4OiAyO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIC5hY3RpdmUtdXNlcnMge1xyXG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbjogMDtcclxuICAgICAgICAgICAgICAgICAgICBsaXN0LXN0eWxlOiBub25lO1xyXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6ICNmZmY7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogNXB4O1xyXG4gICAgICAgICAgICAgICAgICAgIG92ZXJmbG93LXk6IHNjcm9sbDtcclxuICAgICAgICAgICAgICAgICAgICBtYXgtaGVpZ2h0OiAyMzVweDtcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgbGkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAuY3VycmVudGx5LXNlbGVjdGVkLW93bmVyIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6ICRsaWdodC1ncmV5O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHNwYW4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29sb3I6ICRhVGFnQ29sb3I7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJjpob3ZlciB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZDogJGxpZ2h0LWdyZXk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIC5idXR0b24tc3BhbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgdGV4dC1hbGlnbjogcmlnaHQ7XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgLnByb2Nlc3MtY2xhaW0taW5mbyB7XHJcbiAgICAgICAgICAgICAgICAgICAgXHJcbiAgICAgICAgICAgICAgICAgICAgZm9udC1zaXplOjE2cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6bm9ybWFsO1xyXG4gICAgICAgICAgICAgICAgICAgIC5pdGVtLWdhcCB7XHJcbiAgICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6MzBweDtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgXHJcbiAgICAgICAgICAgICAgICAgICAgLml0ZW0tZ2FwLXNtYWxsIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OjdweDtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcblxyXG5cclxuXHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG5cclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgLmRlYWwtc2hlZXQtc3RhdHVzIHtcclxuICAgICAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xyXG5cclxuICAgICAgICAgICAgICAgIC5kcy1zdGF0dXMge1xyXG4gICAgICAgICAgICAgICAgICAgIHRleHQtdHJhbnNmb3JtOiBjYXBpdGFsaXplO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIGEuc2VuZCB7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IDEwcHggIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItdG9wLXJpZ2h0LXJhZGl1czogMTBweCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDA7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogM3B4IDVweDtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICAuZHJvcGRvd24ge1xyXG4gICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgLmRyb3Bkb3duLXRvZ2dsZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlci10b3AtbGVmdC1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbG9yOiAjMDA5OWZmO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiAjZmZmO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBib3JkZXI6IG5vbmU7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuXHJcblxyXG4gICAgLmRzLXVzZXItaW5mbyB7XHJcbiAgICAgICAgYmFja2dyb3VuZDogJGJvZHktYmc7XHJcbiAgICAgICAgcGFkZGluZzogMHB4O1xyXG4gICAgICAgIG1hcmdpbjogMDtcclxuICAgICAgICBjb2xvcjogJGJvZHktYmFzZS1jb2xvcjtcclxuICAgICAgICBcclxuXHJcbiAgICAgICAgJi5yb3cge1xyXG4gICAgICAgICAgICBtYXJnaW46IDA7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAmLmFjY29yZGlhbi10YWItbGF5b3V0IHtcclxuICAgICAgICAgICAgdGV4dC1hbGlnbjpyaWdodDtcclxuICAgICAgICAgICAgaGVpZ2h0OjMycHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6MTBweDtcclxuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDVweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGRpdi5wYW5lbC1ncm91cCB7XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDBweDtcclxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogcmVkO1xyXG4gICAgICAgICAgICBib3JkZXI6IDBweDtcclxuICAgICAgICAgICAgbWFyZ2luOiAwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAucGFuZWwge1xyXG4gICAgICAgICAgICBwYWRkaW5nLWJvdHRvbTogMHB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnBhbmVsLWhlYWRpbmcge1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwcHg7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IGdyZWVuO1xyXG4gICAgICAgICAgICBib3JkZXI6IDBweDtcclxuICAgICAgICAgICAgbWFyZ2luOiAwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICB1bC5jdXN0b21lci1kcm9wZG93biB7XHJcbiAgICAgICAgICAgIG1hcmdpbjogMDtcclxuICAgICAgICAgICAgcGFkZGluZzogMDtcclxuICAgICAgICAgICAgbGlzdC1zdHlsZTogbm9uZTtcclxuICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcblxyXG4gICAgICAgICAgICAuY2FyZXQge1xyXG4gICAgICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICBsaSB7XHJcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiAjZmZmO1xyXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgICAgICAgICAgcmlnaHQ6IDExcHg7XHJcbiAgICAgICAgICAgICAgICB0b3A6IDE1cHg7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nOiAycHg7XHJcbiAgICAgICAgICAgICAgICB6LWluZGV4OiAxO1xyXG4gICAgICAgICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgJGxpZ2h0LWdyZXk7XHJcbiAgICAgICAgICAgICAgICBib3gtc2hhZG93OiAwIDAgN3B4IHJnYmEoMCwgMCwgMCwgMC41KTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgYSB7XHJcbiAgICAgICAgICAgIGNvbG9yOiAkYnJpZ2h0Qmx1ZTtcclxuICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICBmb250LXdlaWdodDogNTAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLndvcmstcGhvbmUge1xyXG4gICAgICAgICAgICBjb2xvcjogcmVkO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnBpcGVzIHtcclxuICAgICAgICAgICAgcGFkZGluZzogMCA0cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAudGFncyB7XHJcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxMHB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmN1c3RvbWVyLWNvbnRhY3QtZ3JvdXAge1xyXG4gICAgICAgICAgIHBhZGRpbmctdG9wOjBweDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG5cclxuXHJcbiAgICAuZHMtY3VzdG9tZXItY29ubmVjdCB7XHJcbiAgICAgICAgYmFja2dyb3VuZDogJGJvZHktYmc7XHJcbiAgICAgICAgYm9yZGVyLWJvdHRvbTogMHB4ICMxZjhiZDUgc29saWQ7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogMHB4ICMxZjhiZDUgc29saWQ7XHJcbiAgICAgICAgcGFkZGluZzogMHB4O1xyXG4gICAgICAgIG1hcmdpbjogMDtcclxuICAgICAgICBjb2xvcjogJGJvZHktYmFzZS1jb2xvcjtcclxuICAgICAgICB6LWluZGV4OiAxMDAwMDA7XHJcblxyXG5cclxuICAgICAgICBzcGFuIHtcclxuICAgICAgICAgICAgY29sb3I6IGdyYXk7XHJcblxyXG4gICAgICAgICAgICAmLmVycm9yIHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiByZWQ7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGxhYmVsIHtcclxuICAgICAgICAgICAgY29sb3I6ICRicmlnaHRCbHVlO1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDE2cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBkaXYucGFuZWwtYm9keSB7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBkaXYucGFuZWwtZ3JvdXAge1xyXG4gICAgICAgICAgICBib3JkZXItdG9wOiAxMHB4IHJlZCBzb2xpZDtcclxuICAgICAgICAgICAgcGFkZGluZzogMHB4O1xyXG4gICAgICAgICAgICBib3JkZXI6IDBweDtcclxuICAgICAgICAgICAgbWFyZ2luOiAwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBkaXYucm93IHtcclxuICAgICAgICAgICAgbWFyZ2luOiAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnBhbmVsIHtcclxuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDBweDtcclxuICAgICAgICAgICAgYm9yZGVyOiAwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAucGFuZWwtaGVhZGluZyB7XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDBweDtcclxuICAgICAgICAgICAgYm9yZGVyOiAwcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbjogMHB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnBhbmVsLWJvZHkge1xyXG4gICAgICAgICAgICBwYWRkaW5nOiA1cHg7XHJcbiAgICAgICAgICAgIGJvcmRlcjogMHB4O1xyXG4gICAgICAgICAgICBtYXJnaW46IDBweDtcclxuICAgICAgICAgICAgYm9yZGVyLXRvcDogMnB4ICRicmlnaHRCbHVlIHNvbGlkO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmFjdGlvbi1iYXIge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiMxZjhiZDU7XHJcbiAgICAgICAgICAgIGNvbG9yOiAjZmZmZmZmO1xyXG4gICAgICAgICAgICBmb250LXdlaWdodDogNTAwO1xyXG4gICAgICAgICAgICB2ZXJ0aWNhbC1hbGlnbjptaWRkbGU7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuYWN0aW9uLW1lbnUge1xyXG4gICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggJGdyYXktbGlnaHRlciBzb2xpZDtcclxuICAgICAgICAgICAgcGFkZGluZzogMTBweDtcclxuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5zZWxlY3RlZGJhciB7XHJcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDRweCBzb2xpZCAjMDA4YmU4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnRpbWVUaWNrZXIge1xyXG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAzNXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmJvdHRvbS1jb2x1bW5cclxuICAgICAgICB7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDUwcHg7XHJcbiAgICAgICAgICAgIC8qdmVydGljYWwtYWxpZ246IGJvdHRvbTsqL1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmJvdHRvbS1jb2x1bW4tc2NoZWR1bGVcclxuICAgICAgICB7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDEwMHB4O1xyXG4gICAgICAgICAgICAvKnZlcnRpY2FsLWFsaWduOiBib3R0b207Ki9cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC50b3AtYnVmZmVyIHtcclxuICAgICAgICAgICAgcGFkZGluZy10b3A6IDZweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5jb21tLXRvb2xzIHtcclxuICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgICAgICBtYXJnaW4tbGVmdDoxNXB4O1xyXG4gICAgICAgICAgICBpY29uLmljb24ge1xyXG4gICAgICAgICAgICAgICAgdG9wOiAwO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAmOmhvdmVyIHtcclxuICAgICAgICAgICAgICAgIC5jYXB0aW9uIHtcclxuICAgICAgICAgICAgICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC53aWRlLXRvb2xzIHtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDBweDtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiAkYnJpZ2h0Qmx1ZTtcclxuXHJcbiAgICAgICAgICAgICAgICBpbnB1dCB7XHJcbiAgICAgICAgICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICBsYWJlbCB7XHJcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6ICRicmlnaHRCbHVlO1xyXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogLjg1ZW07XHJcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMHB4O1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9ICAgICAgICAgICAgXHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuZG8tbm90LWNvbnRhY3Qtb3B0aW9ucyB7XHJcbiAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcblxyXG4uZGVhbHNoZWV0LWJvZHkge1xyXG4gICAgYmFja2dyb3VuZDogJGJvZHktYmc7XHJcbiAgICAvL2JvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDEwcHg7XHJcbiAgICAuY29udHJhY3QtaGVhZGVyIHtcclxuICAgICAgICBib3JkZXItbGVmdC13aWR0aDogMzBweDtcclxuICAgICAgICBib3JkZXItbGVmdC1zdHlsZTogc29saWQ7XHJcbiAgICAgICAgYm9yZGVyLWxlZnQtY29sb3I6ICRicmlnaHRCbHVlO1xyXG5cclxuICAgICAgICBAbWVkaWEgb25seSBzY3JlZW4gYW5kIChtYXgtd2lkdGggOiAxMDI0cHgpIHtcclxuICAgICAgICAgICAgaGVpZ2h0OiBhdXRvO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuaG90LXRyYWRlLXRleHQge1xyXG4gICAgICAgIHZlcnRpY2FsLWFsaWduOiB0ZXh0LXRvcDtcclxuICAgICAgICBmb250LXNpemU6IGxhcmdlO1xyXG4gICAgfVxyXG5cclxuICAgIC5jb250cmFjdCB7XHJcbiAgICAgICAgZmxleDogMCAxIGF1dG87XHJcbiAgICAgICAgLy9ib3JkZXI6IDFweCBzb2xpZCBwaW5rO1xyXG4gICAgICAgIC8vZm9udC1zaXplOiAxM3B4O1xyXG4gICAgICAgIGEge1xyXG4gICAgICAgICAgICBpbWcge1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IGF1dG87XHJcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDE3cHg7XHJcbiAgICAgICAgICAgICAgICBtYXJnaW46IDEwcHggMTBweCA1cHggMDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmNhci1mYXgtaW1hZ2Uge1xyXG4gICAgICAgICAgICBpbWcge1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IGF1dG87XHJcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDE3cHg7XHJcbiAgICAgICAgICAgICAgICBtYXJnaW46IDEwcHggMTBweCA1cHggMDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgaW1nIHtcclxuICAgICAgICAgICAgZmxvYXQ6IGxlZnQ7XHJcbiAgICAgICAgICAgIHdpZHRoOiAxNTBweDtcclxuICAgICAgICAgICAgbWFyZ2luOiAwIDEwcHggMTNweCAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLm9hc2lzIHtcclxuICAgICAgICAgICAgaW1nIHtcclxuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC52ZWhpY2xlLWluZm8ge1xyXG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAxOHB4O1xyXG4gICAgICAgICAgICBtaW4taGVpZ2h0OiA5MnB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmNvbnRyYWN0LWluZm8ge1xyXG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAxOHB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnZlaGljbGUtaW5mbyB7XHJcbiAgICAgICAgICAgIC51c2VkIHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiAkdXNlZE9yYW5nZTtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgLmNwbyB7XHJcbiAgICAgICAgICAgICAgICBjb2xvcjogJHVzZWRPcmFuZ2U7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC50eXBlLWxhYmVsIHtcclxuICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuYm9sZCB7XHJcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLm5ldyB7XHJcbiAgICAgICAgICAgIGNvbG9yOiAkYnJpZ2h0Qmx1ZTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC51c2VkIHtcclxuICAgICAgICAgICAgY29sb3I6ICR1c2VkT3JhbmdlO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmNvbnF1ZXN0IHtcclxuICAgICAgICAgICAgY29sb3I6ICRzZXJ2aWNlLWNvbG9yO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmFsZXJ0IHtcclxuICAgICAgICAgICAgcGFkZGluZzogaW5pdGlhbDtcclxuICAgICAgICAgICAgYm9yZGVyOiBpbml0aWFsO1xyXG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiBpbml0aWFsO1xyXG4gICAgICAgICAgICBjb2xvcjogcmVkO1xyXG5cclxuICAgICAgICAgICAgLy8gLmFsZXJ0IGlzIGEgY2xhc3MgZnJvbSBCb290c3RyYXAsIGJ1dCB3ZSBhcmVuJ3QgdHJ5aW5nIHRvIHVzZSBpdC5cclxuICAgICAgICAgICAgLy8gQWRkIHRoaXMgY2xhc3MgdG8gZGlzYWJsZSB0aGUgQm9vdHN0cmFwIHN0eWxlcy5cclxuICAgICAgICAgICAgJi5hbGVydC1pbmxpbmUtb25seSB7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nOiBpbmhlcml0O1xyXG4gICAgICAgICAgICAgICAgbWFyZ2luOiBpbmhlcml0O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuY2xpY2thYmxlIHtcclxuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmVkaXQtaWNvbiB7XHJcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgICAgICAgICAgdG9wOiAxcHg7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5jYXJjb21wYXJpc29uIHtcclxuICAgICAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgICAgIGZsZXgtZmxvdzogcm93IHdyYXA7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogNnB4IHNvbGlkICRicmlnaHRCbHVlO1xyXG4gICAgICAgIGJvcmRlci1ib3R0b206IDhweCBzb2xpZCAkYnJpZ2h0Qmx1ZTtcclxuXHJcbiAgICAgICAgPiAuY2FyY29tcGFyaXNvbmllMTFmbGV4Zml4IHtcclxuICAgICAgICAgICAgZGlzcGxheTogZmxleDtcclxuICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcclxuICAgICAgICAgICAgd2lkdGg6IDUwJTtcclxuICAgICAgICAgICAgaGVpZ2h0OiBhdXRvO1xyXG5cclxuICAgICAgICAgICAgQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWF4LXdpZHRoIDogMTAyNHB4KSB7XHJcbiAgICAgICAgICAgICAgICB3aWR0aDogMTAwJTtcclxuICAgICAgICAgICAgICAgIC8vIGhlaWdodDogYXV0bztcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmN1cnJlbnQtY29udHJhY3Qtc3VtbWFyeSwgLnJlcGxhY2VtZW50LWNvbnRyYWN0LXN1bW1hcnkge1xyXG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcclxuICAgICAgICAgICAgZmxleDogMSAwIGF1dG87XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XHJcbiAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcclxuICAgICAgICAgICAgYWxpZ24taXRlbXM6IHN0cmV0Y2g7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAmLnJvdyB7XHJcbiAgICAgICAgICAgIG1hcmdpbjogMDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5uZXctaGVhZGVyIHtcclxuICAgICAgICAgICAgYm9yZGVyLWxlZnQtY29sb3I6ICRicmlnaHRCbHVlO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnVzZWQtaGVhZGVyLCAuY3BvLWhlYWRlciB7XHJcbiAgICAgICAgICAgIGJvcmRlci1sZWZ0LWNvbG9yOiAkdXNlZE9yYW5nZTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5jb25xdWVzdC1oZWFkZXIge1xyXG4gICAgICAgICAgICBib3JkZXItbGVmdC1jb2xvcjogJHNlcnZpY2UtY29sb3I7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5kcy10YWItYXJlYSB7XHJcbiAgICAgICAgLy8gYm9yZGVyLXRvcDogMTBweCAkYnJpZ2h0Qmx1ZSBzb2xpZDtcclxuICAgICAgICAvKmhlaWdodDogNDAwcHg7XHJcbiAgICAgICAgb3ZlcmZsb3cteTogc2Nyb2xsOyovXHJcbiAgICAgICAgLy8gdGFsayBvdmVyIHdpdGggUm9iZXJ0XHJcbiAgICAgICAgJi5yb3cge1xyXG4gICAgICAgICAgICBtYXJnaW46IDA7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICMwMDJiNDk7XHJcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IGluaGVyaXQ7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuZHMtdGFiLW5hdiB7XHJcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcclxuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogMDtcclxuICAgICAgICAgICAgYmFja2dyb3VuZDogJG5hdnlCbHVlO1xyXG5cclxuICAgICAgICAgICAgbGkge1xyXG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogMDtcclxuICAgICAgICAgICAgICAgIC8vYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICRicmlnaHRCbHVlO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAubmF2ID4gbGkge1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGEge1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICNmZmY7XHJcbiAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiB0cmFuc3BhcmVudCA1cHggc29saWQ7XHJcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDE2cHg7XHJcblxyXG4gICAgICAgICAgICAgICAgJjpob3ZlciB7XHJcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6ICNjMWMyYzQgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCh0byBib3R0b20sICMxOTJjNTQgMCUsJGxpZ2h0LWJsdWUgMTAwJSk7XHJcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgIzE5MmM1NCAwJSwjMTkyYzU0IDEwMCUpO1xyXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgjMTkyYzU0LCAkbGlnaHQtYmx1ZSk7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogIzJkODljOSA1cHggc29saWQ7XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgJi50YWItYWN0aXZlIHtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiAjZmZmO1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiAjMDA5OWZmO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVx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ZXIge1xyXG4gICAgICAgIC5jYXB0aW9uIHtcclxuICAgICAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiB1bmRlcmxpbmU7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC53aWRlLXRvb2xzIHtcclxuICAgICAgICBwYWRkaW5nLWxlZnQ6IDEwcHg7XHJcbiAgICAgICAgcGFkZGluZy1yaWdodDogMTBweDtcclxuICAgICAgICBjb2xvcjogJGJyaWdodEJsdWU7XHJcblxyXG4gICAgICAgIGxhYmVsIHtcclxuICAgICAgICAgICAgY29sb3I6ICRicmlnaHRCbHVlO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuYWNjb3JkaWFuLXRhYnMge1xyXG4gICAgICAgIGhlaWdodDogMzBweDtcclxuICAgICAgICBtYXJnaW4tbGVmdDogNXB4O1xyXG4gICAgICAgIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDBweDtcclxuICAgICAgICBib3JkZXItYm90dG9tLXJpZ2h0LXJhZGl1czogMHB4O1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICMxZjhiZDU7IC8qIzFmOGJkNTsqL1xyXG4gICAgICAgICY6aG92ZXIge1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgJi5pY29uLW9ubHkge1xyXG4gICAgICAgICAgICBwYWRkaW5nLWxlZnQ6OHB4O1xyXG4gICAgICAgICAgICBwYWRkaW5nLXJpZ2h0OjhweDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLmJhZGdlIHtcclxuICAgICAgICBjb2xvcjojZmZmZmZmO1xyXG4gICAgfVxyXG5cclxuICAgIC51bnJlYWQtbWVzc2FnZS1iYWRnZSB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjpyZWQ7XHJcbiAgICAgICAgbWFyZ2luLWxlZnQ6LThweDtcclxuICAgICAgICBtYXJnaW4tdG9wOjZweDtcclxuICAgICAgICBmb250LXNpemU6N3B0O1xyXG4gICAgfVxyXG5cclxuICAgIC5zdmctaWNvbiB7XHJcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogOXB4O1xyXG4gICAgICAgIHBhZGRpbmc6MHB4O1xyXG5cclxuICAgIH1cclxufVxyXG5cclxuLm9wcG9ydHVuaXRpZXMge1xyXG4gICAgbGlzdC1zdHlsZTogbm9uZTtcclxuICAgIHBhZGRpbmctbGVmdDogNXB4O1xyXG4gICAgbWF4LXdpZHRoOiAzODVweDtcclxuXHJcbiAgICAub3Bwb3J0dW5pdHkge1xyXG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuXHJcbiAgICAgICAgLnJvdyB7XHJcbiAgICAgICAgICAgIG1hcmdpbjogMDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgICYuc3RhY2tlZCB7XHJcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDVweDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLmFhLWljb24tYXJyb3dvdXRsaW5lIHtcclxuICAgICAgICBjb2xvcjogJGJyaWdodEJsdWU7XHJcbiAgICB9XHJcblxyXG4gICAgLmFhLWljb24tYXJyb3dmaWxsZWRpbiB7XHJcbiAgICAgICAgY29sb3I6ICRicmlnaHRCbHVlO1xyXG4gICAgICAgIGRpc3BsYXk6IG5vbmU7XHJcbiAgICB9XHJcbn1cclxuXHJcbnVsLmNyZWRpdC1pbnF1aXJpZXMge1xyXG4gICAgdmVydGljYWwtYWxpZ246IHRvcDtcclxuICAgIGxpc3Qtc3R5bGU6IG5vbmU7XHJcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICBwYWRkaW5nLWxlZnQ6IDA7XHJcblxyXG4gICAgbGkge1xyXG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgIH1cclxufVxyXG5cclxuLnNjcmlwdHMtdGFyZ2V0IHtcclxuICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gICAgbWFyZ2luLWJvdHRvbTogMTBweDtcclxuICAgIHBhZGRpbmc6IDVweDtcclxuXHJcbiAgICAmLnJvdyB7XHJcbiAgICAgICAgbWFyZ2luOiAwO1xyXG4gICAgfVxyXG59XHJcblxyXG4udGFncyB7XHJcbiAgICBwYWRkaW5nOiAwO1xyXG4gICAgbGlzdC1zdHlsZTogbm9uZTtcclxuICAgIC50YWcge1xyXG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgICAgICBzcGFuIHtcclxuICAgICAgICAgICAgY29sb3I6ICMwMDA7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNGNUY1REM7XHJcbiAgICAgICAgICAgIG1hcmdpbjogMCA1cHggM3B4IDA7XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDAgNXB4O1xyXG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAzcHg7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTNweDtcclxuICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XHJcbiAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XHJcbiAgICAgICAgICAgIGN1cnNvcjogZGVmYXVsdDtcclxuICAgICAgICAgICAgYm9yZGVyOiAjNjJBOEVDIDFweCBzb2xpZDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbiAgICAucG9wb3ZlciB7XHJcbiAgICAgICAgbWF4LXdpZHRoOiA1ODBweDtcclxuICAgIH1cclxufVxyXG5cclxuLnZpblJlY2FsbCB7XHJcbiAgICBwYWRkaW5nOiAwcHggMTBweCAxMHB4IDEwcHg7XHJcbiAgICBjb2xvcjogIzQ0NEI0RjtcclxuICAgIG91dGxpbmUtY29sb3I6ICM3QT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Togbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICBhW2hyZWZdOmFmdGVyIHtcclxuICAgICAgICBjb250ZW50OiBub25lICFpbXBvcnRhbnQ7XHJcbiAgICB9XHJcblxyXG4gICAgbGFiZWwge1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTJweCAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIHNwYW46bm90KC5uby1zdHlsZSkge1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTRweCAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIGlucHV0W3R5cGU9XCJ0ZXh0XCJdIHtcclxuICAgICAgICBmb250LXNpemU6IDE0cHggIWltcG9ydGFudDtcclxuICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0O1xyXG4gICAgICAgIG1hcmdpbi1sZWZ0OiAtNXB4O1xyXG4gICAgICAgIGhlaWdodDogMThweDtcclxuICAgIH1cclxuXHJcbiAgICAuc2VjdGlvbi10by1wcmludCwgLnNlY3Rpb24tdG8tcHJpbnQgKiB7XHJcbiAgICAgICAgdmlzaWJpbGl0eTogdmlzaWJsZTtcclxuICAgIH1cclxuXHJcbiAgICAuc2VjdGlvbi10by1wcmludCB7XHJcbiAgICAgICAgd2lkdGg6IDEwMCUgIWltcG9ydGFudDtcclxuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGUgIWltcG9ydGFudDtcclxuICAgICAgICBsZWZ0OiAwO1xyXG4gICAgICAgIHRvcDogMDtcclxuICAgIH1cclxuXHJcbiAgICAudmVoaWNsZS12aW4ge1xyXG4gICAgICAgIGZvbnQtc2l6ZTogOXB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5hYS1mZWF0dXJlLWNvbXBhcmlzb24ge1xyXG5cclxuICAgICAgICAudGFibGUge1xyXG4gICAgICAgICAgICB0ZCB7XHJcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDExcHg7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5kYXRhLWl0ZW0gc3BhbiB7XHJcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDExcHggIWltcG9ydGFudDtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgdGQucm93LWxhYmVsIHtcclxuICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiAzMDAgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiAkbGFiZWxDb2xvciAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAxMnB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLmFhLWZlYXR1cmUtY29tcGFyaXNvbiAuY29tYmluZWQtbWlsZWFnZSB7XHJcbiAgICAgICAgZm9udC1zaXplOiAyMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5yb3cge1xyXG4gICAgICAgIG1hcmdpbi1sZWZ0OjA7XHJcbiAgICAgICAgbWFyZ2luLXJpZ2h0OjA7XHJcbiAgICB9XHJcblxyXG4gICAgLmRlYWxzaGVldC1ib2R5IC5jYXItY29tcGFyaXNvbiB7XHJcbiAgICAgICAgYm9yZGVyLWJvdHRvbTogbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICAuZmllbGQtbGFiZWwge1xyXG4gICAgICAgIG1hcmdpbi1ib3R0b206IDVweCAhaW1wb3J0YW50O1xyXG4gICAgICAgIHdpZHRoOiAzMCUgIWltcG9ydGFudDtcclxuICAgIH1cclxuXHJcbiAgICAuZWRpdC1pY29uIHtcclxuICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgfVxyXG5cclxuICAgIGlucHV0IHtcclxuICAgICAgICBib3JkZXI6IG5vbmUgIWltcG9ydGFudDtcclxuICAgICAgICBvdXRsaW5lOiBub25lICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgYm94LXNoYWRvdzogbm9uZSAhaW1wb3J0YW50O1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29udHJhY3QtZGV0YWlscy5uZy1pc29sYXRlLXNjb3BlLm5nLWhpZGUge1xyXG4gICAgICAgIGRpc3BsYXk6IGJsb2NrICFpbXBvcnRhbnQ7XHJcbiAgICB9XHJcblxyXG4gICAgc2VydmljZS1oaXN0b3J5IHtcclxuICAgICAgICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIC5hY3Rpdml0eTpub3QoOm50aC1jaGlsZCgtbisyNSkpIHtcclxuICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgfVxyXG5cclxuICAgIGFjdGl2aXR5LWxpc3QgYSB7XHJcbiAgICAgICAgZGlzcGxheTogbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICBtc3JwLXR5cGUtc2VsZWN0LCBzYWxlLXR5cGUtc2VsZWN0IHtcclxuICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgfVxyXG5cclxuICAgIC5jb21tLXRvb2xzLXdyYXBwZXIge1xyXG4gICAgICAgIGRpc3BsYXk6IG5vbmU7XHJcbiAgICB9XHJcblxyXG4gICAgLmN1cnJlbnQtdmVoaWNsZS1sYWJlbCB7XHJcbiAgICAgICAgQGluY2x1ZGUgcm90YXRlKDBkZWcsIDAsIDApO1xyXG5cclxuICAgICAgICBzcGFuIHtcclxuICAgICAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgIGNvbG9yOiBibGFjayAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgdG9wOiAwO1xyXG4gICAgICAgICAgICBsZWZ0OiAwO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAucmVwbGFjZW1lbnQtdmVoaWNsZS1sYWJlbCB7XHJcbiAgICAgICAgQGluY2x1ZGUgcm90YXRlKDBkZWcsIDAsIDApO1xyXG5cclxuICAgICAgICBzcGFuIHtcclxuICAgICAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgIGNvbG9yOiBibGFjayAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgdG9wOiAwO1xyXG4gICAgICAgICAgICBsZWZ0OiAwO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuY29udHJhY3QtaGVhZGVyIHtcclxuICAgICAgICBib3JkZXItbGVmdC1jb2xvcjogdHJhbnNwYXJlbnQgIWltcG9ydGFudDtcclxuICAgIH1cclxuXHJcbiAgICBidXR0b24sIC5wcmludC11cGdyYWRlLXByb3Bvc2FsLCAuYWEtaWNvbi1jb3JlLWVkaXQtaWNvbi0wMDAwMDAge1xyXG4gICAgICAgIGRpc3BsYXk6IG5vbmUgIWltcG9ydGFudDtcclxuICAgIH1cclxuXHJcbiAgICAjYXV0b2FsZXJ0aWZyYW1lIHtcclxuICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgfVxyXG5cclxuICAgIC5tb2RhbCxcclxuICAgIC5tb2RhbCAqIHtcclxuICAgICAgICBvdmVyZmxvdzogdmlzaWJsZSAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG4gICAgLm1vZGFsIHtcclxuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGUgIWltcG9ydGFudDtcclxuICAgICAgICBsZWZ0OiAwICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgdG9wOiAwICFpbXBvcnRhbnQ7XHJcbiAgICB9XHJcbiAgICAubW9kYWwtZGlhbG9nIHtcclxuICAgICAgICB3aWR0aDogMTAwJSAhaW1wb3J0YW50O1xyXG4gICAgICAgIG1hcmdpbjogMDtcclxuICAgIH1cclxuICAgIC5tb2RhbC1iYWNrZHJvcCB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1j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OiAyM3B4IHNvbGlkIHRyYW5zcGFyZW50O1xyXG4gICAgICAgICAgICBib3JkZXItcmlnaHQ6IDIzcHggc29saWQgdHJhbnNwYXJlbnQ7XHJcbiAgICAgICAgICAgIGJvcmRlci10b3A6IDEycHggc29saWQgI2U3ZTdlNztcclxuICAgICAgICAgICAgbWFyZ2luOiBhdXRvO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBidXR0b246bm90KC5zZWxlY3RlZC1vZmZlcikge1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xyXG4gICAgICAgIGNvbG9yOiB3aGl0ZTtcclxuICAgICAgICAudHJpYW5nbGUge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG5cclxuYWN0aXZpdHktYWN0aW9ucyB7XHJcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbn1cclxuXHJcbmZhY2Vib29rLXBob3RvIHtcclxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgIHZlcnRpY2FsLWFsaWduOiB0b3A7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1cHg7XHJcbiAgICBtYXJnaW4tcmlnaHQ6IDVweDtcclxufVxyXG5cclxuLnRhYi1oZWFkZXIge1xyXG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgbWFyZ2luLXJpZ2h0OiAxNXB4O1xyXG59XHJcblxyXG4uYWN0aXZpdHktbGlzdC1oZWFkZXIge1xyXG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgbWFyZ2luLXJpZ2h0OiAxNXB4O1xyXG4gICAgZm9udC1zaXplOiAxOHB4O1xyXG4gICAgbWFyZ2luLXRvcDo1cHg7XHJcbiAgICBtYXJnaW4tYm90dG9tOjVweDtcclxufVxyXG5cclxuLmRlZmF1bHQtdGFiLWluZGljYXRvciB7XH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gICAgICAgIGRpc3BsYXk6aW5saW5lLWJsb2NrO1xyXG4gICAgICAgID4gaW1nIHtcclxuICAgICAgICAgICAgd2lkdGg6IDE1MHB4O1xyXG4gICAgICAgIH1cclxuICAgICAgICA+IGN1c3RvbWVyLWVkaXQtYWN0aW9uIHtcclxuICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuXHJcbnZlaGljbGUtc2VsZWN0IHtcclxuICAgIC5wbGFuTGFiZWwge1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTBweDtcclxuICAgICAgICBjb2xvcjogJGJyaWdodEJsdWU7XHJcbiAgICB9XHJcblxyXG4gICAgIC5wbGFuTGFiZWxUcmFuc3BhcmVudCB7XHJcbiAgICAgICAgZm9udC1zaXplOiAxMHB4O1xyXG4gICAgICAgIGNvbG9yOiB0cmFuc3BhcmVudDtcclxuICAgIH1cclxuXHJcblxyXG59XHJcblxyXG5hbHRlcm5hdGUtcmVwbGFjZW1lbnQtdmVoaWNsZS1vZmZlcnMge1xyXG5cclxuICAgID4gLm9mZmVyY29udGFpbmVyIHtcclxuICAgICAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XHJcbiAgICAgICAgZm9udC1zaXplOiAxNHB4OyBcclxuICAgICAgICBhbGlnbi1pdGVtczogc3RyZXRjaDtcclxuXHJcbiAgICAgICAgPiAub2ZmZXJpdGVtLm9mZmVydGl0bGUge1xyXG4gICAgICAgICAgICBmbGV4OiAwIDEgYXV0bztcclxuICAgICAgICB9XHJcbiAgICAgICAgPiAub2ZmZXJpdGVtLm9mZmVybGluay5zaW5nbGUge1xyXG4gICAgICAgICAgICA+IC5vZmZlcnRleHQge1xyXG4gICAgICAgICAgICAgICAgPiAub2ZmZXJ0ZXh0bGVmdCB7XHJcbiAgICAgICAgICAgICAgICAgICAgZmxleDogMCAxIGF1dG87XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZy1yaWdodDogNXB4O1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgPiAub2ZmZXJ0ZXh0cmlnaHQge1xyXG4gICAgICAgICAgICAgICAgICAgIGZsZXg6IDAgMSBhdXRvO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgID4gLm9mZmVyaXRlbSB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XHJcbiAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xyXG4gICAgICAgICAgICBhbGlnbi1pdGVtczogc3RyZXRjaDtcclxuICAgICAgICAgICAgcGFkZGluZzogNnB4IDE2cHg7XHJcbiAgICAgICAgICAgIGZsZXg6IDEgMSAwJTtcclxuXHJcblxyXG4gICAgICAgICAgICA+IC5vZmZlcnRleHQge1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogZmxleDtcclxuICAgICAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XHJcbiAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xyXG5cclxuICAgICAgICAgICAgICAgID4gLm9mZmVydGV4dGxlZnQge1xyXG4gICAgICAgICAgICAgICAgICAgIGZsZXg6IDEgMSAwJTtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICA+IC5vZmZlcnRleHRyaWdodCB7XHJcbiAgICAgICAgICAgICAgICAgICAgZmxleDogMSAwIDAlO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICA+IC5vZmZlcmltYWdlIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGF1dG87XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodDogNTZweDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luOiAwIDRweDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgZmxvYXQ6IG5vbmU7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICA+IC5vZmZlcmxpbms6bm90KC5uZy1oaWRlKSArIC5vZmZlcmxpbmsgIHtcclxuICAgICAgICAgICAgYm9yZGVyLWxlZnQ6IDFweCBzb2xpZCAjNzU3NTc1O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgPiAub2ZmZXJ0aXRsZSB7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICRicmlnaHRCbHVlO1xyXG4gICAgICAgICAgICBjb2xvcjogd2hpdGU7XHJcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA1MDA7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICA+IC5vZmZlcmxpbmsge1xyXG4gICAgICAgICAgICBib3JkZXItdG9wOiAxcHggc29saWQgIzc1NzU3NTtcclxuXHJcbiAgICAgICAgICAgIGZsZXg6IDEgMSAwJTtcclxuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgPiAub2ZmZXJsaW5rOmhvdmVyIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGVzbW9rZTtcclxuICAgICAgICB9XHJcblxyXG4gICAgfVxyXG59XHJcblxyXG4ucHJvY2Vzcy13cmFwcGVyIHtcclxuXHJcbiAgICAuYy1idG4ge1xyXG4gICAgICAgIGJhY2tncm91bmQ6ICNmZmY7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2NjYztcclxuICAgICAgICBjb2xvcjogIzMzMztcclxuICAgICAgICBmb250LXNpemU6IDEycHg7XHJcbiAgICB9XHJcblxyXG4gICAgLnNlbGVjdGVkLW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cclxuICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2NjYztcclxuICAgIH1cclxuXHJcbiAgICAubGlzdC1maWx0ZXIge1xyXG4gICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCAjY2NjO1xyXG4gICAgfVxyXG5cclxuICAgIC5saXN0LWZpbHRlciAuYy1zZWFyY2ggc3ZnIHtcclxuICAgICAgICBmaWxsOiAjODg4O1xyXG4gICAgfVxyXG5cclxuICAgIC5saXN0LWZpbHRlciAuYy1jbGVhciBzdmcge1xyXG4gICAgICAgIGZpbGw6ICM4ODg7XHJcbiAgICB9XHJcblxyXG4gICAgLnB1cmUtY2hlY2tib3ggaW5wdXRbdHlwZT1cImNoZWNrYm94XCJdOmZvY3VzICsgbGFiZWw6YmVmb3JlLCAucHVyZS1jaGVja2JveCBpbnB1dFt0eXBlPVwiY2hlY2tib3hcIl06aG92ZXIgKyBsYWJlbDpiZWZvcmUge1xyXG4gICAgICAgIGJvcmRlci1jb2xvcjogIzMzN2FiNztcclxuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZjJmMmYyO1xyXG4gICAgfVxyXG5cclxuICAgIC5wdXJlLWNoZWNrYm94IGlucHV0W3R5cGU9XCJjaGVja2JveFwiXSArIGxhYmVsIHtcclxuICAgICAgICBjb2xvcjogIzAwMDtcclxuICAgIH1cclxuXHJcbiAgICAucHVyZS1jaGVja2JveCBpbnB1dFt0eXBlPVwiY2hlY2tib3hcIl0gKyBsYWJlbDpiZWZvcmUge1xyXG4gICAgICAgIGNvbG9yOiAjMzM3YWI3O1xyXG4gICAgICAgIGJvcmRlcjogMnB4IHNvbGlkICMzMzdhYjc7XHJcbiAgICB9XHJcblxyXG4gICAgLnB1cmUtY2hlY2tib3ggaW5wdXRbdHlwZT1cImNoZWNrYm94XCJdICsgbGFiZWw6YWZ0ZXIge1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICMzMzdhYjc7XHJcbiAgICB9XHJcblxyXG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vdGUgZm9udCBzaXplXG4kYmxvY2txdW90ZS1mb250LXNpemU6ICAgICAgICAoJGZvbnQtc2l6ZS1iYXNlICogMS4yNSkgIWRlZmF1bHQ7XG4vLyoqIEJsb2NrcXVvdGUgYm9yZGVyIGNvbG9yXG4kYmxvY2txdW90ZS1ib3JkZXItY29sb3I6ICAgICAkZ3JheS1saWdodGVyICFkZWZhdWx0O1xuLy8qKiBQYWdlIGhlYWRlciBib3JkZXIgY29sb3JcbiRwYWdlLWhlYWRlci1ib3JkZXItY29sb3I6ICAgICRncmF5LWxpZ2h0ZXIgIWRlZmF1bHQ7XG4vLyoqIFdpZHRoIG9mIGhvcml6b250YWwgZGVzY3JpcHRpb24gbGlzdCB0aXRsZXNcbiRkbC1ob3Jpem9udGFsLW9mZnNldDogICAgICAgICRjb21wb25lbnQtb2Zmc2V0LWhvcml6b250YWwgIWRlZmF1bHQ7XG4vLyoqIFBvaW50IGF0IHdoaWNoIC5kbC1ob3Jpem9udGFsIGJlY29tZXMgaG9yaXpvbnRhbFxuJGRsLWhvcml6b250YWwtYnJlYWtwb2ludDogICAgJGdyaWQtZmxvYXQtYnJlYWtwb2ludCAhZGVmYXVsdDtcbi8vKiogSG9yaXpvbnRhbCBsaW5lIGNvbG9yLlxuJGhyLWJvcmRlcjogICAgICAgICAgICAgICAgICAgJGdyYXktbGlnaHRlciAhZGVmYXVsdDtcbiJdfQ== */\"","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./auto-check.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@uirouter/angular/lib/directives/uiSref\"));\nvar i3 = __importStar(require(\"@uirouter/core\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"./auto-check.component\"));\nvar styles_AutoCheckComponent = [i0.styles];\nvar RenderType_AutoCheckComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AutoCheckComponent, data: {} });\nexports.RenderType_AutoCheckComponent = RenderType_AutoCheckComponent;\nfunction View_AutoCheckComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"height\", \"30\"], [\"src\", \"../../../images/AutoCheck.png\"]], null, null, null, null, null))], null, null); }\nfunction View_AutoCheckComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"a\", [[\"class\", \"qa-autocheck-link\"], [\"href\", \"javascript:void(0)\"], [\"target\", \"_blank\"], [\"uiSref\", \"autoCheckReport\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i2.AnchorUISref, [i1.ElementRef, i1.Renderer2], null, null), i1.ɵdid(2, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"], params: [1, \"params\"] }, null), i1.ɵpod(3, { opportunityId: 0, vin: 1 }), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"img\", [[\"height\", \"30\"], [\"src\", \"../../../images/AutoCheck.png\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"autoCheckReport\"; var currVal_1 = _ck(_v, 3, 0, _co.opportunityId, _co.vin); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_AutoCheckComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_AutoCheckComponent_1)), i1.ɵdid(1, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AutoCheckComponent_2)), i1.ɵdid(3, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.showAutoCheckLink && _co.readonly); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.showAutoCheckLink && !_co.readonly); _ck(_v, 3, 0, currVal_1); }, null); }\nexports.View_AutoCheckComponent_0 = View_AutoCheckComponent_0;\nfunction View_AutoCheckComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"auto-check\", [], null, null, null, View_AutoCheckComponent_0, RenderType_AutoCheckComponent)), i1.ɵdid(1, 638976, null, 0, i5.AutoCheckComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AutoCheckComponent_Host_0 = View_AutoCheckComponent_Host_0;\nvar AutoCheckComponentNgFactory = i1.ɵccf(\"auto-check\", i5.AutoCheckComponent, View_AutoCheckComponent_Host_0, { permissions: \"permissions\", dealerSettings: \"dealerSettings\", opportunityId: \"opportunityId\", vin: \"vin\", readonly: \"readonly\" }, {}, []);\nexports.AutoCheckComponentNgFactory = AutoCheckComponentNgFactory;\n","\r\n\r\n\r\n\r\n \r\n\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"./icon/icon.component.ngfactory\"));\nvar i3 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i6 = __importStar(require(\"./icon/icon.component\"));\nvar i7 = __importStar(require(\"@angular/platform-browser\"));\nvar i8 = __importStar(require(\"./tooltip.component\"));\nvar styles_TooltipComponent = [];\nvar RenderType_TooltipComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_TooltipComponent, data: {} });\nexports.RenderType_TooltipComponent = RenderType_TooltipComponent;\nfunction View_TooltipComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"h6\", [], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"p\", [], [[8, \"innerHTML\", 1]], null, null, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _co.titleKey, \"\"); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i0.ɵunv(_v, 2, 0, i0.ɵnov(_v, 3).transform(_co.contentKey)); _ck(_v, 2, 0, currVal_1); }); }\nfunction View_TooltipComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"tooltipContainer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 16777216, null, null, 2, \"icon\", [[\"icon\", \"'info'\"], [\"popover-placement\", \"right\"], [\"style\", \"padding-left:3px\"], [\"title\", \"\"], [\"triggers\", \"mouseenter:mouseleave\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i0.ɵdid(2, 212992, null, 0, i3.PopoverDirective, [i3.PopoverConfig, i0.ElementRef, i0.Renderer2, i0.ViewContainerRef, i4.ComponentLoaderFactory, i5.PositioningService], { popover: [0, \"popover\"], triggers: [1, \"triggers\"], containerClass: [2, \"containerClass\"] }, null), i0.ɵdid(3, 638976, null, 0, i6.IconComponent, [i7.DomSanitizer], { icon: [0, \"icon\"] }, null), (_l()(), i0.ɵand(0, [[\"popTemplate\", 2]], null, 0, null, View_TooltipComponent_1))], function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 4); var currVal_1 = \"mouseenter:mouseleave\"; var currVal_2 = \"popoverContainer\"; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = \"'info'\"; _ck(_v, 3, 0, currVal_3); }, null); }\nexports.View_TooltipComponent_0 = View_TooltipComponent_0;\nfunction View_TooltipComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"tooltip\", [], null, null, null, View_TooltipComponent_0, RenderType_TooltipComponent)), i0.ɵdid(1, 49152, null, 0, i8.TooltipComponent, [i3.PopoverModule], null, null)], null, null); }\nexports.View_TooltipComponent_Host_0 = View_TooltipComponent_Host_0;\nvar TooltipComponentNgFactory = i0.ɵccf(\"tooltip\", i8.TooltipComponent, View_TooltipComponent_Host_0, { titleKey: \"titleKey\", contentKey: \"contentKey\" }, {}, []);\nexports.TooltipComponentNgFactory = TooltipComponentNgFactory;\n","
\r\n \r\n \r\n
\r\n

\r\n
\r\n
","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./confirmation-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../../modals/modal/modal.component.ngfactory\"));\nvar i3 = __importStar(require(\"../../../modals/modal/modal.component\"));\nvar i4 = __importStar(require(\"@ngx-translate/core\"));\nvar i5 = __importStar(require(\"@angular/platform-browser\"));\nvar i6 = __importStar(require(\"./confirmation-modal.component\"));\nvar i7 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar styles_ConfirmationModalComponent = [i0.styles];\nvar RenderType_ConfirmationModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ConfirmationModalComponent, data: {} });\nexports.RenderType_ConfirmationModalComponent = RenderType_ConfirmationModalComponent;\nfunction View_ConfirmationModalComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"modal\", [], null, [[null, \"onClose\"], [null, \"onSubmit\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onClose\" === en)) {\n var pd_0 = (_co.close() !== false);\n ad = (pd_0 && ad);\n } if ((\"onSubmit\" === en)) {\n var pd_1 = (_co.submit() !== false);\n ad = (pd_1 && ad);\n } return ad; }, i2.View_ModalComponent_0, i2.RenderType_ModalComponent)), i1.ɵdid(1, 638976, null, 0, i3.ModalComponent, [i4.TranslateService, i5.DomSanitizer], { headerTitle: [0, \"headerTitle\"], submitButtonVisible: [1, \"submitButtonVisible\"], submitButtonDisabled: [2, \"submitButtonDisabled\"], submitButtonText: [3, \"submitButtonText\"], closeButtonText: [4, \"closeButtonText\"], headerTextClass: [5, \"headerTextClass\"] }, { onClose: \"onClose\", onSubmit: \"onSubmit\" }), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"p\", [], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.title; var currVal_1 = _co.submitButtonVisible; var currVal_2 = _co.submitButtonDisabled; var currVal_3 = _co.submitButtonText; var currVal_4 = _co.closeButtonText; var currVal_5 = _co.headerTextClass; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5); var currVal_6 = i1.ɵinlineInterpolate(1, \"\", _co.message, \"\"); _ck(_v, 4, 0, currVal_6); }, null); }\nexports.View_ConfirmationModalComponent_0 = View_ConfirmationModalComponent_0;\nfunction View_ConfirmationModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"confirmation-modal\", [], null, null, null, View_ConfirmationModalComponent_0, RenderType_ConfirmationModalComponent)), i1.ɵdid(1, 114688, null, 0, i6.ConfirmationModalComponent, [i7.BsModalRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ConfirmationModalComponent_Host_0 = View_ConfirmationModalComponent_Host_0;\nvar ConfirmationModalComponentNgFactory = i1.ɵccf(\"confirmation-modal\", i6.ConfirmationModalComponent, View_ConfirmationModalComponent_Host_0, {}, {}, []);\nexports.ConfirmationModalComponentNgFactory = ConfirmationModalComponentNgFactory;\n","\r\n
\r\n

\r\n
\r\n
","var Set = require('./es6.set');\nvar from = require('./_array-from-iterable');\nvar metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar ordinaryOwnMetadataKeys = metadata.keys;\nvar toMetaKey = metadata.key;\n\nvar ordinaryMetadataKeys = function (O, P) {\n var oKeys = ordinaryOwnMetadataKeys(O, P);\n var parent = getPrototypeOf(O);\n if (parent === null) return oKeys;\n var pKeys = ordinaryMetadataKeys(parent, P);\n return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n};\n\nmetadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {\n return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n} });\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".mobile-deal-sheet-wrapper[_ngcontent-eac-c1][_ngcontent-%COMP%] .navbar-fixed-bottom[_ngcontent-%COMP%]{padding-top:4px}.mobile-vehicles-wrapper[_ngcontent-%COMP%]{height:calc(100vh - 130px)}.vehicle-seperator[_ngcontent-%COMP%]{width:100%;background-color:#7a8084;height:5px;margin:0} .dealsheet-body .contract .contract-info{margin-bottom:0} .current-contract-summary-header money-factor{margin-right:0} .poweredby-blackbook label{margin:0} .poweredby-blackbook img{margin:0}\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./confirm-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"./confirm-modal.component\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar styles_ConfirmModalComponent = [i0.styles];\nvar RenderType_ConfirmModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ConfirmModalComponent, data: {} });\nexports.RenderType_ConfirmModalComponent = RenderType_ConfirmModalComponent;\nfunction View_ConfirmModalComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.messageKey, \"\"); _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ConfirmModalComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"modal-body\"]], [[8, \"innerHTML\", 1]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.message; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_ConfirmModalComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"alert-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"modal-header\"], [\"translate\", \"pleaseConfirm\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ConfirmModalComponent_1)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ConfirmModalComponent_2)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 4, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(9, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"continue\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onContinue() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(11, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"pleaseConfirm\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.messageKey; _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.message; _ck(_v, 6, 0, currVal_2); var currVal_3 = \"cancel\"; _ck(_v, 9, 0, currVal_3); var currVal_4 = \"continue\"; _ck(_v, 11, 0, currVal_4); }, null); }\nexports.View_ConfirmModalComponent_0 = View_ConfirmModalComponent_0;\nfunction View_ConfirmModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"confirm-modal\", [], null, null, null, View_ConfirmModalComponent_0, RenderType_ConfirmModalComponent)), i1.ɵdid(1, 114688, null, 0, i4.ConfirmModalComponent, [i5.BsModalRef, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ConfirmModalComponent_Host_0 = View_ConfirmModalComponent_Host_0;\nvar ConfirmModalComponentNgFactory = i1.ɵccf(\"confirm-modal\", i4.ConfirmModalComponent, View_ConfirmModalComponent_Host_0, { messageKey: \"messageKey\", message: \"message\" }, { onClosed: \"onClosed\" }, []);\nexports.ConfirmModalComponentNgFactory = ConfirmModalComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
","module.exports = \"\"","var DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n require('./_redefine')(DateProto, TO_STRING, function toString() {\n var value = getTime.call(this);\n // eslint-disable-next-line no-self-compare\n return value === value ? $toString.call(this) : INVALID_DATE;\n });\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Modules = {\n dashboard: 2,\n opportunities: 3,\n search: 4,\n activities: 5,\n conquests: 29,\n preOwnedManager: 32,\n serviceManager: 33,\n financeInsuranceManager: 41,\n creditConvert: 48,\n pandoIntegration: 73,\n fordAlert: 74,\n dealerPrincipalDashboard: 78,\n reports: 9,\n fordAXZPlanPricing: 80,\n pandoWorkflowIntegration: 82,\n managerDashboard: 83,\n euroliteOpportunities: 84,\n dataCleanse: 85,\n oneToOneSoldUnitsReport: 86,\n leadAssignOwnerAccess: 87,\n portalSearchPage: 88,\n textMessaging: 89,\n doNotEmail: 70,\n doNotCall: 30,\n intelligentMarketingSoldUnitsReport: 90,\n autoAssistantSoldUnitsReport: 92,\n geoAlertSoldUnitsReport: 91,\n wishlist: 95\n};\n","export const Modules = {\r\n dashboard: 2,\r\n opportunities: 3,\r\n search: 4,\r\n activities: 5,\r\n conquests: 29,\r\n preOwnedManager: 32,\r\n serviceManager: 33,\r\n financeInsuranceManager: 41,\r\n creditConvert: 48,\r\n pandoIntegration: 73,\r\n fordAlert: 74,\r\n dealerPrincipalDashboard: 78,\r\n reports: 9,\r\n fordAXZPlanPricing: 80,\r\n pandoWorkflowIntegration: 82,\r\n managerDashboard: 83,\r\n euroliteOpportunities: 84,\r\n dataCleanse: 85,\r\n oneToOneSoldUnitsReport: 86,\r\n leadAssignOwnerAccess: 87,\r\n portalSearchPage: 88,\r\n textMessaging: 89,\r\n doNotEmail: 70,\r\n doNotCall: 30,\r\n intelligentMarketingSoldUnitsReport: 90,\r\n autoAssistantSoldUnitsReport: 92,\r\n geoAlertSoldUnitsReport: 91,\r\n wishlist: 95\r\n\r\n};\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar AdminRolesModalAddEditComponent = /** @class */ (function () {\n function AdminRolesModalAddEditComponent(_bsModalRef, tService, logger) {\n this._bsModalRef = _bsModalRef;\n this.tService = tService;\n this.logger = logger;\n this.parentRoleInvalid = false;\n this.roleNameInvalid = false;\n this.onSaveChanges = new core_1.EventEmitter();\n }\n AdminRolesModalAddEditComponent.prototype.ngOnInit = function () {\n if (this.newRole) {\n this.selectedRole.roleID = 0;\n this.selectedRole.roleName = '';\n this.selectedRole.parentRoleID = null;\n this.selectedRole.startWithParentRole = true;\n }\n this._bsModalRef.hide();\n };\n AdminRolesModalAddEditComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n AdminRolesModalAddEditComponent.prototype.onConfirm = function () {\n var _this = this;\n var alreadyExists = false;\n this.roleNameInvalid = false;\n this.parentRoleInvalid = false;\n this.parentRoleInvalid = (this.selectedRole.parentRoleID == null);\n if (this.selectedRole.roleName == '') {\n this.roleNameInvalid = true;\n }\n var flatRoles = [].concat.apply([], this.roleOptions);\n if (this.newRole && flatRoles.some(function (r) { return _this.selectedRole.roleName == r.roleName; })) {\n this.logger.warning(this.tService.instant(\"rolesadmin_roleexists\"));\n alreadyExists = true;\n }\n if (!this.roleNameInvalid && !this.parentRoleInvalid && !alreadyExists) {\n this.onSaveChanges.emit({ selectedRole: this.selectedRole });\n this._bsModalRef.hide();\n }\n };\n AdminRolesModalAddEditComponent.prototype.onCancel = function () {\n this._bsModalRef.hide();\n };\n return AdminRolesModalAddEditComponent;\n}());\nexports.AdminRolesModalAddEditComponent = AdminRolesModalAddEditComponent;\n","import { Component, OnInit, Output, EventEmitter, AfterViewInit } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { RoleOptionDto } from '../../generated/models';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\n\r\n@Component({\r\n selector: 'admin-roles-modal-addedit',\r\n templateUrl: './admin-roles-modal-addedit.component-ng.html',\r\n styleUrls: ['./admin-roles-modal-addedit.component.scss']\r\n})\r\n\r\nexport class AdminRolesModalAddEditComponent implements OnInit, AfterViewInit {\r\n public selectedRole: RoleOptionDto;\r\n public selectedParentRole: RoleOptionDto;\r\n public roleOptions: any;\r\n public newRole: boolean;\r\n public parentRoleInvalid: boolean = false;\r\n public roleNameInvalid: boolean = false;\r\n\r\n @Output() onSaveChanges = new EventEmitter();\r\n\r\n constructor(\r\n public _bsModalRef: BsModalRef,\r\n public tService: TranslateService,\r\n private logger: ToasterLoggerService) {\r\n\r\n }\r\n\r\n public ngOnInit(): void {\r\n if (this.newRole) {\r\n this.selectedRole.roleID = 0;\r\n this.selectedRole.roleName = '';\r\n this.selectedRole.parentRoleID = null;\r\n this.selectedRole.startWithParentRole = true;\r\n }\r\n\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public onConfirm(): void {\r\n var alreadyExists = false;\r\n this.roleNameInvalid = false;\r\n this.parentRoleInvalid = false;\r\n\r\n this.parentRoleInvalid = (this.selectedRole.parentRoleID == null);\r\n\r\n if (this.selectedRole.roleName == '') {\r\n this.roleNameInvalid = true;\r\n }\r\n\r\n var flatRoles = [].concat.apply([], this.roleOptions);\r\n if (this.newRole && flatRoles.some((r: any) => this.selectedRole.roleName == r.roleName)) {\r\n this.logger.warning(this.tService.instant(\"rolesadmin_roleexists\"));\r\n alreadyExists = true;\r\n }\r\n\r\n if (!this.roleNameInvalid && !this.parentRoleInvalid && !alreadyExists) {\r\n this.onSaveChanges.emit({ selectedRole: this.selectedRole });\r\n this._bsModalRef.hide();\r\n }\r\n }\r\n\r\n public onCancel(): void {\r\n this._bsModalRef.hide();\r\n }\r\n}\r\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AlertTypeDescriptors = [\n {\n 'id': '100',\n 'name': 'alert',\n 'countName': 'alertCount',\n 'cssClass': 'faalert',\n 'uiRouterStateName': 'opportunityAlert',\n 'translateKey': 'faalertletter'\n }, {\n 'id': '200',\n 'name': 'flexAlert',\n 'countName': 'flexAlertCount',\n 'cssClass': 'faflexalert',\n 'uiRouterStateName': 'opportunityFlex',\n 'translateKey': 'flexAlertLetter'\n }, {\n 'id': '400',\n 'name': 'inMarket',\n 'countName': 'inMarketAlertCount',\n 'cssClass': 'fainmarket',\n 'uiRouterStateName': 'opportunity',\n 'translateKey': 'inMarketLetter'\n }, {\n 'id': '500',\n 'name': 'inMarketEngaged',\n 'countName': 'inMarketEngagedAlertCount',\n 'cssClass': 'fainmarketengaged',\n 'uiRouterStateName': 'opportunity',\n 'translateKey': 'inMarketEngagedLetter'\n }, {\n 'id': '700',\n 'name': 'service',\n 'countName': 'serviceAlertCount',\n 'cssClass': 'faservice',\n 'uiRouterStateName': 'opportunityService',\n 'translateKey': 'serviceLetter'\n }, {\n 'id': '800',\n 'name': 'appointment',\n 'countName': 'appointmentAlertCount',\n 'cssClass': 'faappointment',\n 'uiRouterStateName': 'opportunityAppointment',\n 'translateKey': 'serviceAppointmentLetter'\n }, {\n 'id': '900',\n 'name': 'mileage',\n 'countName': 'mileageAlertCount',\n 'cssClass': 'famileage',\n 'uiRouterStateName': 'opportunity',\n 'translateKey': 'mileageLetter'\n }, {\n 'id': '1000',\n 'name': 'warranty',\n 'countName': 'warrantyAlertCount',\n 'cssClass': 'fawarranty',\n 'uiRouterStateName': 'opportunity',\n 'translateKey': 'warrantyLetter'\n }, {\n 'id': '600',\n 'name': 'contractEnd',\n 'countName': 'contractEndAlert',\n 'cssClass': 'facontractend',\n 'uiRouterStateName': 'opportunity',\n 'translateKey': 'contractEndLetter'\n }\n];\nexports.AlertTypeDescriptorsEuroLite = [\n {\n 'id': '100',\n 'name': 'alert',\n 'countName': 'alertCount',\n 'cssClass': 'faalert',\n 'uiRouterStateName': 'opportunityAlert',\n 'key': 'alertName',\n 'translateKey': 'faalertletter'\n }, {\n 'id': '200',\n 'name': 'flexAlert',\n 'countName': 'flexAlertCount',\n 'cssClass': 'faflexalert',\n 'uiRouterStateName': 'opportunityFlex',\n 'key': 'flexAlertName',\n 'translateKey': 'flexAlertLetter'\n }, {\n 'id': '600',\n 'name': 'contractEnd',\n 'countName': 'contractEndAlert',\n 'cssClass': 'facontractend',\n 'uiRouterStateName': 'opportunity',\n 'key': 'contractEndName',\n 'translateKey': 'contractEndLetter'\n }\n];\n","export const AlertTypeDescriptors = [\r\n {\r\n 'id': '100',\r\n 'name': 'alert',\r\n 'countName': 'alertCount',\r\n 'cssClass': 'faalert',\r\n 'uiRouterStateName': 'opportunityAlert',\r\n 'translateKey': 'faalertletter'\r\n }, {\r\n 'id': '200',\r\n 'name': 'flexAlert',\r\n 'countName': 'flexAlertCount',\r\n 'cssClass': 'faflexalert',\r\n 'uiRouterStateName': 'opportunityFlex',\r\n 'translateKey': 'flexAlertLetter'\r\n }, {\r\n 'id': '400',\r\n 'name': 'inMarket',\r\n 'countName': 'inMarketAlertCount',\r\n 'cssClass': 'fainmarket',\r\n 'uiRouterStateName': 'opportunity',\r\n 'translateKey': 'inMarketLetter'\r\n }, {\r\n 'id': '500',\r\n 'name': 'inMarketEngaged',\r\n 'countName': 'inMarketEngagedAlertCount',\r\n 'cssClass': 'fainmarketengaged',\r\n 'uiRouterStateName': 'opportunity',\r\n 'translateKey': 'inMarketEngagedLetter'\r\n }, {\r\n 'id': '700',\r\n 'name': 'service',\r\n 'countName': 'serviceAlertCount',\r\n 'cssClass': 'faservice',\r\n 'uiRouterStateName': 'opportunityService',\r\n 'translateKey': 'serviceLetter'\r\n }, {\r\n 'id': '800',\r\n 'name': 'appointment',\r\n 'countName': 'appointmentAlertCount',\r\n 'cssClass': 'faappointment',\r\n 'uiRouterStateName': 'opportunityAppointment',\r\n 'translateKey': 'serviceAppointmentLetter'\r\n }, {\r\n 'id': '900',\r\n 'name': 'mileage',\r\n 'countName': 'mileageAlertCount',\r\n 'cssClass': 'famileage',\r\n 'uiRouterStateName': 'opportunity',\r\n 'translateKey': 'mileageLetter'\r\n }, {\r\n 'id': '1000',\r\n 'name': 'warranty',\r\n 'countName': 'warrantyAlertCount',\r\n 'cssClass': 'fawarranty',\r\n 'uiRouterStateName': 'opportunity',\r\n 'translateKey': 'warrantyLetter'\r\n }, {\r\n 'id': '600',\r\n 'name': 'contractEnd',\r\n 'countName': 'contractEndAlert',\r\n 'cssClass': 'facontractend',\r\n 'uiRouterStateName': 'opportunity',\r\n 'translateKey': 'contractEndLetter'\r\n }\r\n];\r\n\r\nexport const AlertTypeDescriptorsEuroLite = [\r\n {\r\n 'id': '100',\r\n 'name': 'alert',\r\n 'countName': 'alertCount',\r\n 'cssClass': 'faalert',\r\n 'uiRouterStateName': 'opportunityAlert',\r\n 'key': 'alertName',\r\n 'translateKey': 'faalertletter'\r\n }, {\r\n 'id': '200',\r\n 'name': 'flexAlert',\r\n 'countName': 'flexAlertCount',\r\n 'cssClass': 'faflexalert',\r\n 'uiRouterStateName': 'opportunityFlex',\r\n 'key': 'flexAlertName',\r\n 'translateKey': 'flexAlertLetter'\r\n }, {\r\n 'id': '600',\r\n 'name': 'contractEnd',\r\n 'countName': 'contractEndAlert',\r\n 'cssClass': 'facontractend',\r\n 'uiRouterStateName': 'opportunity',\r\n 'key': 'contractEndName',\r\n 'translateKey': 'contractEndLetter'\r\n }\r\n];\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./vehicle-image.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"./vehicle-image.component\"));\nvar styles_VehicleImageComponent = [i0.styles];\nvar RenderType_VehicleImageComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_VehicleImageComponent, data: {} });\nexports.RenderType_VehicleImageComponent = RenderType_VehicleImageComponent;\nfunction View_VehicleImageComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"image-block\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], [[null, \"error\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"error\" === en)) {\n var pd_0 = (_co.updateUrl() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.url; _ck(_v, 1, 0, currVal_0); }); }\nexports.View_VehicleImageComponent_0 = View_VehicleImageComponent_0;\nfunction View_VehicleImageComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"vehicle-image\", [], null, null, null, View_VehicleImageComponent_0, RenderType_VehicleImageComponent)), i1.ɵdid(1, 49152, null, 0, i2.VehicleImageComponent, [], null, null)], null, null); }\nexports.View_VehicleImageComponent_Host_0 = View_VehicleImageComponent_Host_0;\nvar VehicleImageComponentNgFactory = i1.ɵccf(\"vehicle-image\", i2.VehicleImageComponent, View_VehicleImageComponent_Host_0, { url: \"url\" }, {}, []);\nexports.VehicleImageComponentNgFactory = VehicleImageComponentNgFactory;\n","
\r\n \r\n
\r\n","var path = '/app/components/deal-sheet/print-upgrade-proposal.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar trade_value_types_1 = require(\"../../../../constants/trade-value-types\");\nvar dealer_countries_1 = require(\"../../../../constants/dealer-countries\");\nvar services_1 = require(\"../../../../generated/services\");\nvar TradeSourceLogoComponent = /** @class */ (function () {\n function TradeSourceLogoComponent(elementRef, injector, vehicleUserTradeValueClientService) {\n this.vehicleUserTradeValueClientService = vehicleUserTradeValueClientService;\n this.tradeValueTypes = trade_value_types_1.TradeValueTypes;\n this.dealerCountries = dealer_countries_1.DealerCountries;\n this.tradeValueIsManual = false;\n this.tradeValueInsertDt = '';\n this.saveVehicleId = 0;\n }\n TradeSourceLogoComponent.prototype.ngOnInit = function () { };\n TradeSourceLogoComponent.prototype.ngOnChanges = function () {\n var _this = this;\n if (this.vehicle && this.vehicle.vehicleID != this.saveVehicleId) {\n this.tradeValueIsManual = false;\n this.saveVehicleId = this.vehicle.vehicleID;\n this.vehicleUserTradeValueClientService.GetVehicleUserTradeValue(this.vehicle.vehicleID).toPromise().then(function (vutv) {\n if (vutv && vutv.tradeValue > 0) {\n var expirationDt = Date.parse(vutv.expirationDt);\n if (isNaN(expirationDt) == false) {\n var expDt = new Date(expirationDt).getTime();\n var currDt = Date.now();\n if (expDt > currDt) {\n _this.tradeValueIsManual = true;\n var date = vutv.insertDt.split('T')[0];\n var dateParts = date.split('-');\n _this.tradeValueInsertDt = dateParts[1] + '/' + dateParts[2] + '/' + dateParts[0];\n }\n }\n }\n });\n }\n };\n TradeSourceLogoComponent.prototype.isCanada = function () {\n return this.countryId === this.dealerCountries.canada;\n };\n return TradeSourceLogoComponent;\n}());\nexports.TradeSourceLogoComponent = TradeSourceLogoComponent;\n","import { Component, OnInit, Input, ElementRef, Injector } from '@angular/core';\r\nimport { TradeValueTypes } from '../../../../constants/trade-value-types';\r\nimport { DealerCountries } from '../../../../constants/dealer-countries';\r\nimport { VehicleUserTradeValueClientService } from '../../../../generated/services';\r\nimport { VehicleUserTradeValueDto } from '../../../../generated/models/vehicle-user-trade-value-dto';\r\n\r\n@Component({\r\n selector: 'trade-source-logo',\r\n templateUrl: './trade-source-logo.component-ng.html',\r\n styleUrls: ['./trade-source-logo.component.scss']\r\n})\r\nexport class TradeSourceLogoComponent implements OnInit {\r\n\r\n @Input() tradeSourceId: number;\r\n @Input() countryId: number;\r\n @Input() vehicle: any;\r\n tradeValueTypes = TradeValueTypes;\r\n dealerCountries = DealerCountries;\r\n tradeValueIsManual = false;\r\n tradeValueInsertDt = '';\r\n saveVehicleId = 0;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector, private vehicleUserTradeValueClientService: VehicleUserTradeValueClientService) { }\r\n\r\n ngOnInit() {}\r\n\r\n public ngOnChanges() {\r\n if (this.vehicle && this.vehicle.vehicleID != this.saveVehicleId) {\r\n this.tradeValueIsManual = false;\r\n this.saveVehicleId = this.vehicle.vehicleID;\r\n this.vehicleUserTradeValueClientService.GetVehicleUserTradeValue(this.vehicle.vehicleID).toPromise().then(vutv => {\r\n if (vutv && vutv.tradeValue > 0) {\r\n let expirationDt = Date.parse(vutv.expirationDt);\r\n if (isNaN(expirationDt) == false) {\r\n let expDt = new Date(expirationDt).getTime();\r\n let currDt = Date.now();\r\n if (expDt > currDt) {\r\n this.tradeValueIsManual = true;\r\n let date = vutv.insertDt.split('T')[0];\r\n let dateParts = date.split('-');\r\n this.tradeValueInsertDt = dateParts[1] + '/' + dateParts[2] + '/' + dateParts[0];\r\n }\r\n }\r\n }\r\n });\r\n }\r\n }\r\n\r\n isCanada(): boolean {\r\n return this.countryId === this.dealerCountries.canada;\r\n }\r\n}\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerRebateClientService = /** @class */ (function (_super) {\n __extends(DealerRebateClientService, _super);\n function DealerRebateClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param params The `DealerRebateClientService.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\n *\n * - `year`:\n *\n * - `trimId`:\n *\n * - `modelId`:\n *\n * - `makeId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerRebateClientService.prototype.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerRebate/GetDealerRebates/\" + params.dealerId + \"/\" + params.makeId + \"/\" + params.year + \"/\" + params.modelId + \"/\" + params.trimId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `DealerRebateClientService.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\n *\n * - `year`:\n *\n * - `trimId`:\n *\n * - `modelId`:\n *\n * - `makeId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerRebateClientService.prototype.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGET = function (params) {\n return this.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param rebates undefined\n */\n DealerRebateClientService.prototype.UpdateDealerRebatesPATCHResponse = function (rebates) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = rebates;\n var req = new http_1.HttpRequest('PATCH', this.rootUrl + \"/api/DealerRebate\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param rebates undefined\n */\n DealerRebateClientService.prototype.UpdateDealerRebatesPATCH = function (rebates) {\n return this.UpdateDealerRebatesPATCHResponse(rebates).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerRebateClientService.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETPath = '/api/DealerRebate/GetDealerRebates/{dealerId}/{makeId}/{year}/{modelId}/{trimId}';\n DealerRebateClientService.UpdateDealerRebatesPATCHPath = '/api/DealerRebate';\n DealerRebateClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerRebateClientService_Factory() { return new DealerRebateClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerRebateClientService, providedIn: \"root\" });\n return DealerRebateClientService;\n}(base_service_1.BaseService));\nexports.DealerRebateClientService = DealerRebateClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerRebateExtDto } from '../models/dealer-rebate-ext-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerRebateClientService extends __BaseService {\r\n static readonly GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETPath = '/api/DealerRebate/GetDealerRebates/{dealerId}/{makeId}/{year}/{modelId}/{trimId}';\r\n static readonly UpdateDealerRebatesPATCHPath = '/api/DealerRebate';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param params The `DealerRebateClientService.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `year`:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `modelId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETResponse(params: DealerRebateClientService.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerRebate/GetDealerRebates/${params.dealerId}/${params.makeId}/${params.year}/${params.modelId}/${params.trimId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerRebateClientService.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `year`:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `modelId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGET(params: DealerRebateClientService.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETParams): __Observable> {\r\n return this.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param rebates undefined\r\n */\r\n UpdateDealerRebatesPATCHResponse(rebates?: Array): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = rebates;\r\n let req = new HttpRequest(\r\n 'PATCH',\r\n this.rootUrl + `/api/DealerRebate`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param rebates undefined\r\n */\r\n UpdateDealerRebatesPATCH(rebates?: Array): __Observable {\r\n return this.UpdateDealerRebatesPATCHResponse(rebates).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerRebateClientService {\r\n\r\n /**\r\n * Parameters for GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGET\r\n */\r\n export interface GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGETParams {\r\n year: number;\r\n trimId: number;\r\n modelId: number;\r\n makeId: number;\r\n dealerId: number;\r\n }\r\n}\r\n\r\nexport { DealerRebateClientService }\r\n","module.exports = \".admin-report-subscription-wrapper {\\n font-size: 11pt;\\n background-color: #E7E7E7;\\n padding-left: 15px;\\n padding-right: 15px;\\n height: calc(100vh - 190px);\\n min-height: 500px;\\n}\\n.admin-report-subscription-wrapper .page-title {\\n margin: 15px 0px 0px 5px;\\n padding: 10px 0 0 10px;\\n font-size: 18pt;\\n color: #444B4F;\\n float: left;\\n}\\n.admin-report-subscription-wrapper icon.-small svg {\\n margin-bottom: 5px;\\n}\\n.admin-report-subscription-wrapper .admin-report-subscription {\\n margin: 25px 0 0 0;\\n min-height: 320px;\\n}\\n.admin-report-subscription-wrapper .admin-report-subscription .panel-heading {\\n padding: 7px 15px;\\n}\\n.admin-report-subscription-wrapper .admin-report-subscription .pando-group-selector-group {\\n min-width: 270px;\\n}\\n.admin-report-subscription-wrapper .admin-report-subscription .pando-group-selector-group > .pando-group-selector {\\n margin-left: 3px;\\n}\\n.admin-report-subscription-wrapper .admin-report-subscription .report-name {\\n margin-top: 8px;\\n margin-left: 40px;\\n}\\n.admin-report-subscription-wrapper .admin-report-subscription .-height36 {\\n height: 36px;\\n}\\n.admin-report-subscription-wrapper .admin-report-subscription .form-control {\\n display: inline;\\n width: auto;\\n}\\n.admin-report-subscription-wrapper .admin-report-subscription .pando-group-selector-error {\\n border-color: red !important;\\n}\\n.admin-report-subscription-wrapper .admin-report-subscription .information-tip {\\n font-weight: 100;\\n font-size: 13px;\\n}\\n.admin-report-subscription-wrapper label, .admin-report-subscription-wrapper .form-control {\\n font-size: 11pt;\\n}\\n.admin-report-subscription-wrapper .table > tbody > tr > th,\\n.admin-report-subscription-wrapper .table > tbody > tr > td {\\n text-align: center;\\n border-top: 0px;\\n}\\n.admin-report-subscription-wrapper .float-right {\\n float: right;\\n padding-right: 15px;\\n}\\n.admin-report-subscription-wrapper .padding-left {\\n padding-left: 20px;\\n}\\n.admin-report-subscription-wrapper .margin-left {\\n margin-left: 10px;\\n}\\n.admin-report-subscription-wrapper .page-info {\\n /*margin: 15px 0px 0px 15px;*/\\n}\\n.admin-report-subscription-wrapper .title-dealer {\\n color: black;\\n margin-top: 18px;\\n float: left;\\n}\\n.admin-report-subscription-wrapper .dealer-select {\\n padding: 10px 0 0 10px;\\n float: left;\\n}\\n.admin-report-subscription-wrapper hr {\\n border-top: 1px solid #E7E7E7;\\n}\\n.admin-report-subscription-wrapper hr:not(.margin-top) {\\n margin-top: 10px;\\n}\\n.admin-report-subscription-wrapper .padding-bottom {\\n padding-bottom: 10px;\\n}\\n.admin-report-subscription-wrapper .error {\\n color: Red !important;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9hZG1pbi9DOlxcQXV0b0FsZXJ0XFx3b3Jrc3BhY2VcXEFsZXJ0TWluZXItUG9ydGFsX3JlbGVhc2VfNi42My4wXFxBdXRvQWxlcnQuUG9ydGFsLk9wcG9ydHVuaXR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XHJcbiAgICAuYWRtaW4tcmVwb3J0LXN1YnNjcmlwdGlvbiB7XHJcbiAgICAgICAgbWFyZ2luOiAyNXB4IDAgMCAwO1xyXG4gICAgICAgIG1pbi1oZWlnaHQ6IDMyMHB4O1xyXG5cclxuICAgICAgICAucGFuZWwtaGVhZGluZyB7XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDdweCAxNXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnBhbmRvLWdyb3VwLXNlbGVjdG9yLWdyb3VwIHtcclxuICAgICAgICAgICAgbWluLXdpZHRoOiAyNzBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5wYW5kby1ncm91cC1zZWxlY3Rvci1ncm91cCA+IC5wYW5kby1ncm91cC1zZWxlY3RvciB7XHJcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAzcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAucmVwb3J0LW5hbWUge1xyXG4gICAgICAgICAgICBtYXJnaW4tdG9wOiA4cHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiA0MHB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLi1oZWlnaHQzNiB7XHJcbiAgICAgICAgICAgIGhlaWdodDogMzZweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5mb3JtLWNvbnRyb2wge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmU7XHJcbiAgICAgICAgICAgIHdpZHRoOiBhdXRvO1xyXG4gICAgICAgIH1cclxuXHJcblxyXG4gICAgICAgIC5wYW5kby1ncm91cC1zZWxlY3Rvci1lcnJvciB7XHJcbiAgICAgICAgICAgIGJvcmRlci1jb2xvcjogcmVkICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuaW5mb3JtYXRpb24tdGlwIHtcclxuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDEwMDtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAxM3B4O1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBsYWJlbCwgLmZvcm0tY29udHJvbCB7XHJcbiAgICAgICAgZm9udC1zaXplOiAkZm9udC1zaXplO1xyXG4gICAgfVxyXG5cclxuICAgIC50YWJsZSA+IHRib2R5ID4gdHIgPiB0aCxcclxuICAgIC50YWJsZSA+IHRib2R5ID4gdHIgPiB0ZCB7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgIGJvcmRlci10b3A6IDBweDtcclxuICAgIH1cclxuXHJcblxyXG4gICAgLmZsb2F0LXJpZ2h0IHtcclxuICAgICAgICBmbG9hdDogcmlnaHQ7XHJcbiAgICAgICAgcGFkZGluZy1yaWdodDogMTVweDtcclxuICAgIH1cclxuXHJcbiAgICAucGFkZGluZy1sZWZ0IHtcclxuICAgICAgICBwYWRkaW5nLWxlZnQ6IDIwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLm1hcmdpbi1sZWZ0IHtcclxuICAgICAgICBtYXJnaW4tbGVmdDogMTBweDtcclxuICAgIH1cclxuXHJcbiAgICAucGFnZS1pbmZvIHtcclxuICAgICAgICAvKm1hcmdpbjogMTVweCAwcHggMHB4IDE1cHg7Ki9cclxuICAgIH1cclxuXHJcbiAgICAudGl0bGUtZGVhbGVyIHtcclxuICAgICAgICBjb2xvcjogYmxhY2s7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMThweDtcclxuICAgICAgICBmbG9hdDogbGVmdFxyXG4gICAgfVxyXG5cclxuICAgIC5kZWFsZXItc2VsZWN0IHtcclxuICAgICAgICBwYWRkaW5nOiAxMHB4IDAgMCAxMHB4O1xyXG4gICAgICAgIGZsb2F0OiBsZWZ0XHJcbiAgICB9XHJcblxyXG4gICAgaHIge1xyXG4gICAgICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCAjRTdFN0U3O1xyXG4gICAgfVxyXG5cclxuICAgIGhyOm5vdCg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iBsZWZ0O1xufVxuLmFkbWluLXJlcG9ydC1zdWJzY3JpcHRpb24td3JhcHBlciAuZGVhbGVyLXNlbGVjdCB7XG4gIHBhZGRpbmc6IDEwcHggMCAwIDEwcHg7XG4gIGZsb2F0OiBsZWZ0O1xufVxuLmFkbWluLXJlcG9ydC1zdWJzY3JpcHRpb24td3JhcHBlciBociB7XG4gIGJvcmRlci10b3A6IDFweCBzb2xpZCAjRTdFN0U3O1xufVxuLmFkbWluLXJlcG9ydC1zdWJzY3JpcHRpb24td3JhcHBlciBocjpub3QoLm1hcmdpbi10b3ApIHtcbiAgbWFyZ2luLXRvcDogMTBweDtcbn1cbi5hZG1pbi1yZXBvcnQtc3Vic2NyaXB0aW9uLXdyYXBwZXIgLnBhZGRpbmctYm90dG9tIHtcbiAgcGFkZGluZy1ib3R0b206IDEwcHg7XG59XG4uYWRtaW4tcmVwb3J0LXN1YnNjcmlwdGlvbi13cmFwcGVyIC5lcnJvciB7XG4gIGNvbG9yOiBSZWQgIWltcG9ydGFudDtcbn0iXX0= */\"","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","// 20.1.2.4 Number.isNaN(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare\n return number != number;\n }\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar services_1 = require(\"../generated/services\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../generated/services/dealer-rates-client.service\"));\nvar i2 = __importStar(require(\"../generated/services/dealer-rebate-client.service\"));\nvar i3 = __importStar(require(\"../generated/services/dealer-price-client.service\"));\nvar i4 = __importStar(require(\"../generated/services/dealer-tradein-client.service\"));\nvar i5 = __importStar(require(\"../generated/services/replacement-client.service\"));\nvar i6 = __importStar(require(\"../generated/services/trim-alternate-offer-client.service\"));\nvar DataEntryService = /** @class */ (function () {\n function DataEntryService(dealerRatesClientService, dealerRebateClientService, dealerPriceClientService, dealerTradeInClientService, replacementClientService, trimAlternateOfferClientService) {\n this.dealerRatesClientService = dealerRatesClientService;\n this.dealerRebateClientService = dealerRebateClientService;\n this.dealerPriceClientService = dealerPriceClientService;\n this.dealerTradeInClientService = dealerTradeInClientService;\n this.replacementClientService = replacementClientService;\n this.trimAlternateOfferClientService = trimAlternateOfferClientService;\n }\n DataEntryService.prototype.deleteAllUsedRatesByDealerId = function (dealerId) {\n return this.dealerRatesClientService.DeleteAllUsedRatesByDealerIdPOSTResponse(dealerId).toPromise()\n .then(this.resolveDealerDataEntryUpdate);\n };\n DataEntryService.prototype.getDealerUsedRates = function (dealerId) {\n return this.dealerRatesClientService.GetDealerUsedRatesByDealeridGET(dealerId).toPromise();\n };\n DataEntryService.prototype.updateDealerUsedRates = function (usedRates) {\n return this.dealerRatesClientService.UpdateDealerUsedRatesPOSTResponse(usedRates).toPromise()\n .then(this.resolveDealerDataEntryUpdate);\n };\n DataEntryService.prototype.updateDealerOverAllowance = function (overAllowance) {\n return this.dealerRatesClientService.UpdateDealerOverAllowancePOSTResponse(overAllowance).toPromise()\n .then(this.resolveDealerDataEntryUpdate);\n };\n DataEntryService.prototype.updateDealerRateMarkUps = function (rates) {\n return this.dealerRatesClientService.UpdateDealerRateMarkUpsPOSTResponse(rates).toPromise()\n .then(this.resolveDealerDataEntryUpdate);\n };\n DataEntryService.prototype.getDealerOverAllowances = function (dealerId) {\n return this.dealerRatesClientService.GetDealerOverAllowancesByDealeridGET(dealerId).toPromise();\n };\n DataEntryService.prototype.getRateMarkUps = function (dealerId) {\n return this.dealerRatesClientService.GetDealerRateMarkUpsByDealeridGET(dealerId).toPromise();\n };\n DataEntryService.prototype.getDealerRebates = function (dealerId, makeId, year, modelId, trimId) {\n var params = { dealerId: dealerId, makeId: makeId, year: year, modelId: modelId, trimId: trimId };\n return this.dealerRebateClientService.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGET(params).toPromise();\n };\n DataEntryService.prototype.updateDealerRebates = function (rebates) {\n return this.dealerRebateClientService.UpdateDealerRebatesPATCH(rebates).toPromise();\n };\n DataEntryService.prototype.getDealerPrices = function (dealerId, makeId, year, modelId, trimId) {\n var params = { dealerId: dealerId, makeId: makeId, year: year, modelId: modelId, trimId: trimId };\n return this.dealerPriceClientService.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGET(params).toPromise();\n };\n DataEntryService.prototype.updateDealerPrices = function (prices) {\n return this.dealerPriceClientService.UpdateDealerPricesPATCH(prices).toPromise();\n };\n DataEntryService.prototype.resolveDealerDataEntryUpdate = function (response) {\n return response.status == 204;\n };\n // Dealer Trade Ins\n DataEntryService.prototype.updateDealerTradeins = function (tradeIns) {\n return this.dealerTradeInClientService.UpdateDealerTradeinsPATCH(tradeIns).toPromise();\n };\n DataEntryService.prototype.getDealerTradeIns = function (dealerId, makeId, yearId, modelId, trimId) {\n var params = { dealerId: dealerId, makeId: makeId, yearId: yearId, modelId: modelId, trimId: trimId };\n return this.dealerTradeInClientService.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGET(params).toPromise();\n };\n DataEntryService.prototype.getReplacementSpecifics = function (dealerId, filterByNew, makeId, yearId, modelId, trimId) {\n if (modelId == 0)\n modelId = null;\n if (trimId == 0)\n trimId = null;\n var params = { DealerId: dealerId, FilterByNew: filterByNew, MakeId: makeId, YearId: yearId, ModelId: modelId, TrimId: trimId };\n return this.replacementClientService.GetReplacementSpecificsGET(params).toPromise();\n };\n DataEntryService.prototype.getReplacementUpDown = function (dealerId, makeId, yearId, modelId, trimId) {\n if (modelId == 0)\n modelId = null;\n if (trimId == 0)\n trimId = null;\n var params = { DealerId: dealerId, MakeId: makeId, YearId: yearId, ModelId: modelId, TrimId: trimId };\n return this.replacementClientService.GetReplacementUpDownGET(params).toPromise();\n };\n DataEntryService.prototype.deleteTrimAlternateOffer = function (dealerID, baseTrimID, level) {\n var params = { dealerID: dealerID, baseTrimID: baseTrimID, level: level };\n return this.trimAlternateOfferClientService.ByDealeridByBasetrimidByLevelDELETE(params).toPromise();\n };\n DataEntryService.prototype.updateTrimAlternateOffer = function (dealerId, baseTrimId, level, alternateTrimID, retailTolerance, leaseTolerance) {\n var trimAlertnateOfferDto = {\n dealerID: dealerId,\n baseTrimID: baseTrimId,\n level: level,\n alternateTrimID: alternateTrimID,\n retailTolerance: retailTolerance,\n leaseTolerance: leaseTolerance\n };\n return this.trimAlternateOfferClientService.PUT(trimAlertnateOfferDto).toPromise();\n };\n DataEntryService.prototype.createTrimAlternateOffer = function (dealerId, baseTrimId, level, alternateTrimID, retailTolerance, leaseTolerance) {\n var trimAlertnateOfferDto = {\n dealerID: dealerId,\n baseTrimID: baseTrimId,\n level: level,\n alternateTrimID: alternateTrimID,\n retailTolerance: retailTolerance,\n leaseTolerance: leaseTolerance\n };\n return this.trimAlternateOfferClientService.POST(trimAlertnateOfferDto).toPromise();\n };\n DataEntryService.prototype.saveBulkReplacements = function (request, dealerId) {\n var params = {\n defaultDealerId: dealerId,\n request: request\n };\n return this.replacementClientService.SaveBulkReplacementsByDefaultdealeridPOST(params).toPromise();\n };\n DataEntryService.prototype.bulkDelete = function (trimIds, dealerID, isUpgrade) {\n var level = isUpgrade ? 100 : -100;\n var params = {\n dealerID: dealerID,\n level: level,\n trimIDs: trimIds\n };\n return this.trimAlternateOfferClientService.BulkDeletePOST(params).toPromise();\n };\n DataEntryService.prototype.bulkReplacementDelete = function (trimIds, dealerID) {\n var params = {\n dealerID: dealerID,\n trimIDs: trimIds\n };\n return this.replacementClientService.BulkDeletePOST(params).toPromise();\n };\n DataEntryService.prototype.bulkRemoveMappings = function (trimIds, dealerID, isUpgrade) {\n var level = isUpgrade ? 100 : -100;\n var params = {\n dealerID: dealerID,\n level: level,\n trimIDs: trimIds\n };\n return this.trimAlternateOfferClientService.BulkRemoveMappingsPOST(params).toPromise();\n };\n DataEntryService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DataEntryService_Factory() { return new DataEntryService(i0.ɵɵinject(i1.DealerRatesClientService), i0.ɵɵinject(i2.DealerRebateClientService), i0.ɵɵinject(i3.DealerPriceClientService), i0.ɵɵinject(i4.DealerTradeinClientService), i0.ɵɵinject(i5.ReplacementClientService), i0.ɵɵinject(i6.TrimAlternateOfferClientService)); }, token: DataEntryService, providedIn: \"root\" });\n return DataEntryService;\n}());\nexports.DataEntryService = DataEntryService;\n","import { Injectable } from '@angular/core';\r\nimport { DealerRatesClientService, DealerRebateClientService, DealerPriceClientService, DealerTradeinClientService, ReplacementClientService, TrimAlternateOfferClientService } from '../generated/services';\r\nimport { StrictHttpResponse } from '../generated/strict-http-response';\r\nimport { DealerRateUsedDto, DealerOverAllowanceUpdateDto, DealerRateMarkUpExtDto, DealerOverAllowanceExtDto, DealerRebateExtDto, DealerPriceExtDto, DealerPriceDto, DealerTradeinExtDto, ReplacementSpecificDto, TrimAlternateOfferDto, ReplacementDto } from '../generated/models';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DataEntryService {\r\n\r\n constructor(private dealerRatesClientService: DealerRatesClientService,\r\n private dealerRebateClientService: DealerRebateClientService,\r\n private dealerPriceClientService: DealerPriceClientService,\r\n private dealerTradeInClientService: DealerTradeinClientService,\r\n private replacementClientService: ReplacementClientService,\r\n private trimAlternateOfferClientService: TrimAlternateOfferClientService) { }\r\n\r\n public deleteAllUsedRatesByDealerId(dealerId: number): Promise {\r\n return this.dealerRatesClientService.DeleteAllUsedRatesByDealerIdPOSTResponse(dealerId).toPromise()\r\n .then(this.resolveDealerDataEntryUpdate);\r\n }\r\n\r\n public getDealerUsedRates(dealerId: number): Promise {\r\n return this.dealerRatesClientService.GetDealerUsedRatesByDealeridGET(dealerId).toPromise();\r\n }\r\n\r\n public updateDealerUsedRates(usedRates: DealerRateUsedDto[]): Promise {\r\n return this.dealerRatesClientService.UpdateDealerUsedRatesPOSTResponse(usedRates).toPromise()\r\n .then(this.resolveDealerDataEntryUpdate);\r\n }\r\n\r\n\r\n public updateDealerOverAllowance(overAllowance: DealerOverAllowanceUpdateDto[]): Promise {\r\n return this.dealerRatesClientService.UpdateDealerOverAllowancePOSTResponse(overAllowance).toPromise()\r\n .then(this.resolveDealerDataEntryUpdate);\r\n }\r\n\r\n public updateDealerRateMarkUps(rates: DealerRateMarkUpExtDto[]): Promise {\r\n return this.dealerRatesClientService.UpdateDealerRateMarkUpsPOSTResponse(rates).toPromise()\r\n .then(this.resolveDealerDataEntryUpdate);\r\n }\r\n\r\n public getDealerOverAllowances(dealerId: number): Promise {\r\n return this.dealerRatesClientService.GetDealerOverAllowancesByDealeridGET(dealerId).toPromise();\r\n }\r\n\r\n public getRateMarkUps(dealerId: number): Promise {\r\n return this.dealerRatesClientService.GetDealerRateMarkUpsByDealeridGET(dealerId).toPromise();\r\n }\r\n\r\n public getDealerRebates(dealerId: number, makeId: number, year: number, modelId: number, trimId: number): Promise {\r\n const params = { dealerId, makeId, year, modelId, trimId };\r\n return this.dealerRebateClientService.GetDealerRebatesByDealeridByMakeidByYearByModelidByTrimidGET(params).toPromise();\r\n }\r\n\r\n public updateDealerRebates(rebates: DealerRebateExtDto[]): Promise {\r\n return this.dealerRebateClientService.UpdateDealerRebatesPATCH(rebates).toPromise();\r\n }\r\n\r\n public getDealerPrices(dealerId: number, makeId: number, year: number, modelId: number, trimId: number): Promise {\r\n const params = { dealerId, makeId, year, modelId, trimId };\r\n return this.dealerPriceClientService.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGET(params).toPromise();\r\n }\r\n\r\n public updateDealerPrices(prices: DealerPriceDto[]): Promise {\r\n return this.dealerPriceClientService.UpdateDealerPricesPATCH(prices).toPromise(); \r\n }\r\n\r\n private resolveDealerDataEntryUpdate(response: StrictHttpResponse): boolean {\r\n return response.status == 204;\r\n }\r\n\r\n // Dealer Trade Ins\r\n public updateDealerTradeins(tradeIns: DealerTradeinExtDto[]): Promise {\r\n return this.dealerTradeInClientService.UpdateDealerTradeinsPATCH(tradeIns).toPromise(); \r\n }\r\n\r\n public getDealerTradeIns(dealerId: number, makeId: number, yearId: number, modelId: number, trimId: number): Promise {\r\n const params = { dealerId, makeId, yearId, modelId, trimId };\r\n return this.dealerTradeInClientService.GetDealerTradeinsByDealeridByMakeidByYearidByModelidByTrimidGET(params).toPromise();\r\n }\r\n\r\n public getReplacementSpecifics(dealerId: number, filterByNew, makeId: number, yearId: number, modelId: number, trimId: number): Promise {\r\n if (modelId == 0) modelId = null;\r\n if (trimId == 0) trimId = null;\r\n\r\n const params = { DealerId: dealerId, FilterByNew: filterByNew, MakeId: makeId, YearId: yearId, ModelId: modelId, TrimId: trimId };\r\n return this.replacementClientService.GetReplacementSpecificsGET(params).toPromise();\r\n }\r\n\r\n public getReplacementUpDown(dealerId: number, makeId: number, yearId: number, modelId: number, trimId: number) {\r\n if (modelId == 0) modelId = null;\r\n if (trimId == 0) trimId = null;\r\n\r\n const params = { DealerId: dealerId, MakeId: makeId, YearId: yearId, ModelId: modelId, TrimId: trimId };\r\n return this.replacementClientService.GetReplacementUpDownGET(params).toPromise();\r\n }\r\n\r\n public deleteTrimAlternateOffer(dealerID: number, baseTrimID: number, level: number): Promise {\r\n const params = {dealerID, baseTrimID, level};\r\n return this.trimAlternateOfferClientService.ByDealeridByBasetrimidByLevelDELETE(params).toPromise();\r\n }\r\n\r\n public updateTrimAlternateOffer(dealerId: number, baseTrimId: number, level: number, alternateTrimID: number, retailTolerance: number, leaseTolerance: number): Promise {\r\n const trimAlertnateOfferDto: TrimAlternateOfferDto = {\r\n dealerID: dealerId,\r\n baseTrimID: baseTrimId,\r\n level: level,\r\n alternateTrimID: alternateTrimID,\r\n retailTolerance: retailTolerance,\r\n leaseTolerance: leaseTolerance\r\n };\r\n return this.trimAlternateOfferClientService.PUT(trimAlertnateOfferDto).toPromise();\r\n }\r\n\r\n public createTrimAlternateOffer(dealerId: number, baseTrimId: number, level: number, alternateTrimID: number, retailTolerance: number, leaseTolerance: number): Promise {\r\n const trimAlertnateOfferDto: TrimAlternateOfferDto = {\r\n dealerID: dealerId,\r\n baseTrimID: baseTrimId,\r\n level: level,\r\n alternateTrimID: alternateTrimID,\r\n retailTolerance: retailTolerance,\r\n leaseTolerance: leaseTolerance\r\n };\r\n\r\n return this.trimAlternateOfferClientService.POST(trimAlertnateOfferDto).toPromise(); \r\n }\r\n\r\n public saveBulkReplacements(request: ReplacementDto[], dealerId: number): Promise {\r\n\r\n const params: ReplacementClientService.SaveBulkReplacementsByDefaultdealeridPOSTParams = {\r\n defaultDealerId: dealerId,\r\n request: request\r\n };\r\n\r\n return this.replacementClientService.SaveBulkReplacementsByDefaultdealeridPOST(params).toPromise();\r\n }\r\n\r\n public bulkDelete(trimIds: number[], dealerID: number, isUpgrade: boolean): Promise {\r\n var level = isUpgrade ? 100 : -100;\r\n\r\n const params: TrimAlternateOfferClientService.BulkDeletePOSTParams = {\r\n dealerID: dealerID,\r\n level: level,\r\n trimIDs: trimIds\r\n };\r\n\r\n return this.trimAlternateOfferClientService.BulkDeletePOST(params).toPromise();\r\n }\r\n\r\n public bulkReplacementDelete(trimIds: number[], dealerID: number): Promise {\r\n const params: ReplacementClientService.BulkDeletePOSTParams = {\r\n dealerID: dealerID,\r\n trimIDs: trimIds\r\n };\r\n\r\n return this.replacementClientService.BulkDeletePOST(params).toPromise();\r\n }\r\n\r\n\r\n public bulkRemoveMappings(trimIds: number[], dealerID: number, isUpgrade: boolean): Promise {\r\n var level = isUpgrade ? 100 : -100;\r\n \r\n const params: TrimAlternateOfferClientService.BulkDeletePOSTParams = {\r\n dealerID: dealerID,\r\n level: level,\r\n trimIDs: trimIds\r\n };\r\n\r\n return this.trimAlternateOfferClientService.BulkRemoveMappingsPOST(params).toPromise();\r\n }\r\n}\r\n","module.exports = __webpack_public_path__ + \"alertminerbadge.e399d86d61ad4f7563c1.png\";","var path = '/app/components/reports/beta-reports.component.html';\nvar html = \"
Loading...
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/customer-phone.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../constants\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar lodash_1 = __importDefault(require(\"lodash\"));\nvar authorization_service_1 = require(\"../../../services/authorization.service\");\nvar DashboardAgendaComponent = /** @class */ (function () {\n //public activityResult: string;\n function DashboardAgendaComponent(tService, authorizationService, dealSheetService) {\n var _this = this;\n this.tService = tService;\n this.authorizationService = authorizationService;\n this.dealSheetService = dealSheetService;\n this.activityResultTypeDescriptors = constants_1.ActivityResultTypeDescriptors;\n this.activityStatusTypes = constants_1.ActivityStatusTypes;\n this.dealSheetClosed = new core_1.EventEmitter();\n this.activityIconClasses = constants_1.ActivityIconClasses;\n this.dealSheetClose = function (opId) {\n _this.dealSheetClosed.emit({ opId: opId });\n };\n }\n DashboardAgendaComponent.prototype.ngOnInit = function () {\n };\n DashboardAgendaComponent.prototype.openDealSheet = function (entityId) {\n var isEuroLite = this.authorizationService.isEuroLite();\n if (!isEuroLite)\n this.dealSheetService.openDealSheetModal(entityId, null, this.dealSheetClose);\n else\n this.dealSheetService.openDealSheetLiteModal(null, entityId);\n };\n DashboardAgendaComponent.prototype.getResult = function (item) {\n if (item.activityResultID) {\n var activityResultType = lodash_1.default.find(this.activityResultTypeDescriptors, function (o) {\n return o.activityResultID === item.activityResultID;\n });\n return this.tService.instant(activityResultType.activityResultNameTranslateKey);\n }\n else if (item.activityStatusID) {\n var activityStatusTypeName = (lodash_1.default.invert(this.activityStatusTypes))[item.activityStatusID];\n return this.tService.instant('ACTIVITY.' + activityStatusTypeName.toUpperCase());\n }\n };\n return DashboardAgendaComponent;\n}());\nexports.DashboardAgendaComponent = DashboardAgendaComponent;\n","import { Component, OnInit, Inject, Input, Output, EventEmitter } from '@angular/core';\r\nimport { DealSheetService } from '../../../ajs-upgraded-providers';\r\nimport { ActivityResultTypeDescriptors, ActivityStatusTypes, ActivityIconClasses } from '../../../constants';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport _ from 'lodash';\r\nimport { AuthorizationService } from '../../../services/authorization.service';\r\n\r\n@Component({\r\n selector: 'dashboard-agenda',\r\n templateUrl: './dashboard-agenda.component-ng.html',\r\n styleUrls: ['./dashboard-agenda.component.scss']\r\n})\r\nexport class DashboardAgendaComponent implements OnInit {\r\n private activityResultTypeDescriptors = ActivityResultTypeDescriptors;\r\n private activityStatusTypes = ActivityStatusTypes;\r\n @Input() widgetData: any;\r\n @Output() dealSheetClosed = new EventEmitter();\r\n public activityIconClasses = ActivityIconClasses;\r\n //public activityResult: string;\r\n\r\n constructor(public tService: TranslateService,\r\n private authorizationService: AuthorizationService,\r\n @Inject(DealSheetService) private dealSheetService) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n openDealSheet(entityId) {\r\n const isEuroLite = this.authorizationService.isEuroLite();\r\n\r\n if (!isEuroLite)\r\n this.dealSheetService.openDealSheetModal(entityId, null, this.dealSheetClose);\r\n else\r\n this.dealSheetService.openDealSheetLiteModal(null, entityId);\r\n }\r\n\r\n getResult(item) {\r\n if (item.activityResultID) {\r\n const activityResultType = _.find(this.activityResultTypeDescriptors, function (o) {\r\n return o.activityResultID === item.activityResultID;\r\n });\r\n return this.tService.instant(activityResultType.activityResultNameTranslateKey);\r\n }\r\n else if (item.activityStatusID) {\r\n var activityStatusTypeName = (_.invert(this.activityStatusTypes))[item.activityStatusID];\r\n return this.tService.instant('ACTIVITY.' + activityStatusTypeName.toUpperCase());\r\n }\r\n }\r\n\r\n dealSheetClose = (opId: string) => {\r\n this.dealSheetClosed.emit({ opId: opId });\r\n }\r\n}\r\n","var path = '/app/components/deal-sheet/log-call.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/modals/user-select-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];\n } return T;\n} : $assign;\n","var path = '/app/components/deal-sheet/modals/update-mileage.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/credit-prescreen-spinner.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar constants_1 = require(\"../constants\");\nvar asset_types_1 = require(\"../constants/asset-types\");\nvar services_1 = require(\"../generated/services\");\nvar cookie_storage_service_1 = require(\"../modules/storage/cookie-storage.service\");\nvar object_cache_1 = require(\"../utilities/object-cache\");\nvar pando_communication_service_1 = require(\"../services/pando-communication.service\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../generated/services/dealer-setting-client.service\"));\nvar i2 = __importStar(require(\"../generated/services/dealer-client.service\"));\nvar i3 = __importStar(require(\"../generated/services/dealer-search-client.service\"));\nvar i4 = __importStar(require(\"../generated/services/user-client.service\"));\nvar i5 = __importStar(require(\"../generated/services/print-offer-batch-client.service\"));\nvar i6 = __importStar(require(\"../generated/services/dealer-asset-client.service\"));\nvar i7 = __importStar(require(\"./pando-communication.service\"));\nvar i8 = __importStar(require(\"../ajs-upgraded-providers\"));\nvar i9 = __importStar(require(\"../modules/storage/cross-domain-storage.service\"));\nvar DealerService = /** @class */ (function () {\n function DealerService(dealerSettingClient, dealerClient, dealerSearchClient, userClient, printOfferBatchClient, dealerAssetClient, communicationService, rootScope, crossDomainStorageService) {\n this.dealerSettingClient = dealerSettingClient;\n this.dealerClient = dealerClient;\n this.dealerSearchClient = dealerSearchClient;\n this.userClient = userClient;\n this.printOfferBatchClient = printOfferBatchClient;\n this.dealerAssetClient = dealerAssetClient;\n this.communicationService = communicationService;\n this.rootScope = rootScope;\n this.crossDomainStorageService = crossDomainStorageService;\n this.dealersOneToOneStatus = [];\n this.dealersOneToOneStatusLoaded = false;\n // not sure why this was public before but keeping it that way just in case\n this.getIsAssetEnabledForDealerPromise = null;\n this.enabledUsersForDealerCache = new object_cache_1.ObjectCache({ cacheAgeLimitSeconds: constants_1.Settings.environmentVariables.defaultInMemoryCacheTimeoutSeconds });\n this.dealersCache = new object_cache_1.ObjectCache({ cacheAgeLimitSeconds: constants_1.Settings.environmentVariables.defaultInMemoryCacheTimeoutSeconds });\n this.dealerCache = new object_cache_1.ObjectCache({ cacheAgeLimitSeconds: constants_1.Settings.environmentVariables.defaultInMemoryCacheTimeoutSeconds });\n }\n DealerService.prototype.getDealerSettings = function (dealerId) {\n return this.dealerSettingClient.ByDealeridGET(dealerId).toPromise()\n .then(mapDealerSettings);\n function mapDealerSettings(response) {\n var dealerSettings = {\n allowUsedCalculation: response.allowUsedCalculation,\n allowCPOCalculation: response.allowCPOCalculation,\n enableCarFax: response.enableCarFax,\n enableCarProof: response.enableCarProof,\n enableAutoCheck: response.enableAutoCheck,\n useCreditSoftPull: response.useCreditSoftPull,\n maxScheduleFutureDays: response.activityFutureWindow,\n dncEnabled: response.dncEnabled,\n allowExpiration: response.allowExpiration,\n autoRewardAccountIdentifier: response.autoRewardAccountIdentifier,\n autoRewardPassword: response.autoRewardPassword,\n autoRewardUserName: response.autoRewardUserName,\n enableAutoRewards: response.enableAutoRewards,\n productID: response.productID,\n defaultUserID: response.defaultUserID,\n enableDirectAlertCampaigns: response.enableDirectAlertCampaigns,\n enableDealerUsedRates: response.enableDealerUsedRates,\n enableMultiVehReplTolerances: response.enableMultiVehReplTolerances,\n enableOffBrandMultiVehReplTolerances: response.enableOffBrandMultiVehReplTolerances,\n deskitDealerID: response.deskitDealerID,\n deskitPushEnabled: response.deskitPushEnabled,\n carFaxVersion: response.carFaxVersion,\n carFaxAutoPurchase: response.carFaxAutoPurchase,\n offBrandMakeIds: response.offBrandMakeIds\n };\n return dealerSettings;\n }\n };\n DealerService.prototype.getDealer = function (id) {\n var _this = this;\n return this.dealerCache.getOrFetch(id, function () { return _this.dealerClient.ByIdGET(id).toPromise()\n .then(function resolveDealer(response) {\n var data = response;\n var dealer = {\n name: data.dealerName,\n displayText: data.dealerName + ' (' + data.dealerCode + ')',\n dealerGroupId: data.dealerGroupID\n };\n return dealer;\n }); });\n };\n DealerService.prototype.getDealers = function () {\n var _this = this;\n return this.dealersCache.getOrFetch('dealers', function () { return _this.dealerSearchClient.GET().toPromise()\n .then(function getDealersComplete(response) {\n var dealers = response;\n var dealersExt = [];\n dealers.forEach(function (dealer) {\n var displayText = dealer.dealerName + ' (' + dealer.dealerCode + ')';\n var dealerInfoDtoExt = __assign({}, dealer, { displayText: displayText });\n dealersExt.push(dealerInfoDtoExt);\n });\n return dealersExt;\n }); });\n };\n DealerService.prototype.getUsers = function (dealerId) {\n return this.getEnabledUsersForDealer(dealerId)\n .then(function resolveUsers(response) {\n var users = [];\n for (var i = 0; i < response.length; i++) {\n var user = response[i];\n users.push({\n id: user.userID,\n fullName: user.fullName,\n userTypeId: user.userTypeID\n });\n }\n return users;\n });\n };\n DealerService.prototype.getEnabledUsersForDealer = function (dealerId) {\n var _this = this;\n return this.enabledUsersForDealerCache.getOrFetch(dealerId, function () { return _this.userClient.GetEnabledUsersForDealerByDealeridGET(dealerId).toPromise(); });\n };\n DealerService.prototype.getSelectedDealerGroupId = function () {\n var data = this.getRawSelectedDealers();\n if (data) {\n return data.dealerGroupId;\n }\n };\n DealerService.prototype.getSelectedDealerIds = function () {\n var dealers = this.getSelectedDealers();\n if (dealers) {\n return dealers.map(function (d) { return d.id; });\n }\n };\n DealerService.prototype.getDealerDisplayText = function () {\n var data = this.getRawSelectedDealers();\n if (data) {\n return data.dealerDisplayText;\n }\n };\n DealerService.prototype.getSelectedDealers = function (addAllDealersOption) {\n var data = this.getRawSelectedDealers();\n if (addAllDealersOption && data.dealers.length > 1) {\n data.dealers.unshift({ id: 0, name: \"All Dealerships\" });\n }\n if (data) {\n return data.dealers;\n }\n };\n DealerService.prototype.getCXMViewSelectedStores = function () {\n return this.communicationService.getCXMViewSelectedStores();\n };\n DealerService.prototype.getRawSelectedDealers = function () {\n return this.crossDomainStorageService.getItem('selectedDealers');\n };\n DealerService.prototype.updateSelectedDealers = function (dealers, dealerGroupId, dealerDisplayText) {\n var data = { dealers: dealers, dealerGroupId: dealerGroupId, dealerDisplayText: dealerDisplayText };\n this.crossDomainStorageService.setItem('selectedDealers', data);\n this.communicationService.notifyOnDealerChange(dealers);\n };\n DealerService.prototype.updateSelectedDealersToMatchCXM = function (dealers, dealerGroupId, dealerDisplayText) {\n var data = { dealers: dealers, dealerGroupId: dealerGroupId, dealerDisplayText: dealerDisplayText };\n this.crossDomainStorageService.setItem('selectedDealers', data);\n };\n DealerService.prototype.updateCXMSelectedDealersToMatchAlertMiner = function (dealers) {\n this.communicationService.notifyOnDealerChange(dealers);\n };\n DealerService.prototype.onSelectedDealersChanged = function (callback) {\n return this.crossDomainStorageService.onchange('selectedDealers', callback);\n };\n DealerService.prototype.getDealersOneToOneStatus = function () {\n var _this = this;\n return this.printOfferBatchClient.GetDealerStatusesGET().toPromise()\n .then(function (response) {\n _this.dealersOneToOneStatus = response || [];\n _this.dealersOneToOneStatusLoaded = true;\n _this.rootScope.$broadcast('RUN_USER_INIT.ONE_TO_ONE_READY');\n });\n };\n DealerService.prototype.getIsDealerNoLongerOwnsEnabled = function (dealerId) {\n return this.dealerAssetClient.GetByDealerByDealeridGET(dealerId).toPromise()\n .then(IsNoLongerOwnsActive);\n function IsNoLongerOwnsActive(response) {\n var data = response;\n var noLongerOwns = data.find(function findNoLongerOwnsAsset(a) {\n return a.assetID === asset_types_1.AssetTypes.noLongerOwns;\n });\n return typeof noLongerOwns != 'undefined' && noLongerOwns.isActive === true;\n }\n };\n DealerService.prototype.getIsDealerEmailAppendEnabled = function (dealerId) {\n return this.dealerAssetClient.GetByDealerByDealeridGET(dealerId).toPromise()\n .then(IsEmailAppendActive);\n function IsEmailAppendActive(response) {\n var data = response;\n var emailAppend = data.find(function findEmailAppendAsset(a) {\n return a.assetID === asset_types_1.AssetTypes.emailAppend;\n });\n return typeof emailAppend != 'undefined' && emailAppend.isActive === true;\n }\n };\n DealerService.prototype.getIsAssetEnabledForDealer = function (assetId, dealerId) {\n //If this data changes, the user will need to refresh the screen.\n if (this.getIsAssetEnabledForDealerPromise == null) {\n this.getIsAssetEnabledForDealerPromise = this.dealerAssetClient.GetDealerAssetsGET().toPromise();\n }\n return this.getIsAssetEnabledForDealerPromise.then(processResponse);\n function processResponse(response) {\n var data = response;\n var dealerAsset = data.find(function findDealerAsset(a) {\n var isSelectedDealer = dealerId == null || dealerId == 0 || a.dealerID == dealerId;\n return isSelectedDealer && a.assetID === assetId && a.isActive === true;\n });\n return typeof dealerAsset != 'undefined';\n }\n };\n DealerService.prototype.getIsDealerPandoXEnabled = function (dealerId) {\n return this.dealerAssetClient.GetByDealerByDealeridGET(dealerId).toPromise()\n .then(IsPandoXActive);\n function IsPandoXActive(response) {\n var data = response;\n var pandoX = data.find(function findPandoXAsset(a) {\n return a.assetID === asset_types_1.AssetTypes.pandoX;\n });\n var result = typeof pandoX != 'undefined' && pandoX.isActive === true;\n return result;\n }\n };\n DealerService.prototype.getIsDealerOneToOneEnabled = function (dealerId) {\n var dealer = this.dealersOneToOneStatus.find(function findDealerStatus(o) {\n return o.dealerId === dealerId;\n });\n if (!dealer)\n return false;\n return dealer.printOfferEnabled;\n };\n DealerService.prototype.getIsSomeDealerOneToOneEnabled = function () {\n var isSomeDealerOneToOneEnabled = false;\n this.dealersOneToOneStatus.forEach(function forEachDealerOneToOneStatus(o) {\n if (o.printOfferEnabled) {\n isSomeDealerOneToOneEnabled = true;\n return false;\n }\n });\n return isSomeDealerOneToOneEnabled;\n };\n DealerService.prototype.getIsSomeDealerIntelligentMarketingEnabled = function () {\n return __awaiter(this, void 0, void 0, function () {\n var promise, result;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n promise = this.getIsAssetEnabledForDealer(asset_types_1.AssetTypes.intelMarketing);\n return [4 /*yield*/, promise];\n case 1:\n result = _a.sent();\n return [2 /*return*/, result];\n }\n });\n });\n };\n DealerService.prototype.getIsSomeDealerAutoAssistantEnabled = function () {\n return __awaiter(this, void 0, void 0, function () {\n var promise, result;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n promise = this.getIsAssetEnabledForDealer(asset_types_1.AssetTypes.autoAssistant);\n return [4 /*yield*/, promise];\n case 1:\n result = _a.sent();\n return [2 /*return*/, result];\n }\n });\n });\n };\n DealerService.prototype.getIsSomeDealerGeoAlertEnabled = function () {\n return __awaiter(this, void 0, void 0, function () {\n var promise, result;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n promise = this.getIsAssetEnabledForDealer(asset_types_1.AssetTypes.geoAlert);\n return [4 /*yield*/, promise];\n case 1:\n result = _a.sent();\n return [2 /*return*/, result];\n }\n });\n });\n };\n DealerService.prototype.getOneToOneEnabledDealerIds = function () {\n var dealerIds = [];\n this.dealersOneToOneStatus.forEach(function forEachDealerOneToOneStatus(o) {\n if (o.printOfferEnabled)\n dealerIds.push(o.dealerId);\n });\n return dealerIds;\n };\n DealerService.prototype.getDealerAlertTolerances = function (dealerId, makeId, year, modelId, trimId) {\n return __awaiter(this, void 0, void 0, function () {\n var params;\n return __generator(this, function (_a) {\n params = {\n dealerId: dealerId,\n makeId: makeId,\n year: year,\n modelId: modelId,\n trimId: trimId\n };\n return [2 /*return*/, this.dealerClient.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGET(params).toPromise()];\n });\n });\n };\n DealerService.prototype.UpdateDealerAlertTolerances = function (dealerId, alertTolerances) {\n return __awaiter(this, void 0, void 0, function () {\n var params;\n return __generator(this, function (_a) {\n params = {\n dealerId: dealerId,\n alertTolerances: alertTolerances\n };\n return [2 /*return*/, this.dealerClient.UpdateDealerAlertTolerancesByDealeridPOST(params).toPromise()];\n });\n });\n };\n DealerService.prototype.getDealerFordInfo = function (dealerId) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.dealerClient.GetDealerFordInfoGET(dealerId).toPromise()];\n });\n });\n };\n DealerService.prototype.getDealerWishLists = function (dealerId) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.dealerClient.GetDealerWishListsByDealeridGET(dealerId).toPromise()];\n });\n });\n };\n DealerService.prototype.saveDealerWishList = function (dealerWishList) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.dealerClient.SaveDealerWishListPOST(dealerWishList).toPromise()];\n });\n });\n };\n DealerService.prototype.GetDealerWishListLogs = function (dealerId, dealerWishListID, take) {\n return __awaiter(this, void 0, void 0, function () {\n var params;\n return __generator(this, function (_a) {\n params = {\n dealerWishListID: dealerWishListID,\n dealerId: dealerId,\n take: take\n };\n return [2 /*return*/, this.dealerClient.GetDealerWishListLogsByDealeridByDealerwishlistidGET(params).toPromise()];\n });\n });\n };\n DealerService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerService_Factory() { return new DealerService(i0.ɵɵinject(i1.DealerSettingClientService), i0.ɵɵinject(i2.DealerClientService), i0.ɵɵinject(i3.DealerSearchClientService), i0.ɵɵinject(i4.UserClientService), i0.ɵɵinject(i5.PrintOfferBatchClientService), i0.ɵɵinject(i6.DealerAssetClientService), i0.ɵɵinject(i7.PandoCommunicationService), i0.ɵɵinject(i8.$rootScope), i0.ɵɵinject(i9.CrossDomainStorageService)); }, token: DealerService, providedIn: \"root\" });\n return DealerService;\n}());\nexports.DealerService = DealerService;\n","import { Inject, Injectable } from \"@angular/core\";\r\nimport { $rootScope } from \"../ajs-upgraded-providers\";\r\nimport { Settings } from \"../constants\";\r\nimport { AssetTypes } from \"../constants/asset-types\";\r\nimport { DealerAlertToleranceExtDto, DealerAlertToleranceUpdateExtDto, DealerAssetDto, DealerDto, DealerFordInfoDto, DealerInfoDto, DealerSettingDto, PrintOfferDealerStatusDto, UserDto, DealerWishListExtDto, DealerWishListLogExtDto } from \"../generated/models\";\r\nimport { DealerAssetClientService, DealerClientService, DealerSearchClientService, DealerSettingClientService, PrintOfferBatchClientService, UserClientService } from \"../generated/services\";\r\nimport { DealSheetDealer } from \"../interfaces/deal-sheet/deal-sheet-dealer.interface\";\r\nimport { DealerInfoDtoExt } from \"../interfaces/dealer-info-dto-ext.interface\";\r\nimport { UserDtoExt } from \"../interfaces/user-dto-ext.interface\";\r\nimport { CookieStorage } from \"../modules/storage/cookie-storage.service\";\r\nimport { CrossDomainStorageService } from \"../modules/storage/cross-domain-storage.service\";\r\nimport { ObjectCache } from \"../utilities/object-cache\";\r\nimport { PandoCommunicationService } from '../services/pando-communication.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DealerService {\r\n constructor(private dealerSettingClient: DealerSettingClientService, \r\n private dealerClient: DealerClientService, \r\n private dealerSearchClient: DealerSearchClientService, \r\n private userClient: UserClientService, \r\n private printOfferBatchClient: PrintOfferBatchClientService,\r\n private dealerAssetClient: DealerAssetClientService, \r\n private communicationService: PandoCommunicationService,\r\n @Inject($rootScope) private rootScope: any, \r\n @Inject(CrossDomainStorageService) private crossDomainStorageService: CookieStorage) {}\r\n\r\n public dealersOneToOneStatus: PrintOfferDealerStatusDto[] = [];\r\n public dealersOneToOneStatusLoaded = false;\r\n\r\n // not sure why this was public before but keeping it that way just in case\r\n public getIsAssetEnabledForDealerPromise = null;\r\n\r\n private enabledUsersForDealerCache = new ObjectCache({cacheAgeLimitSeconds: Settings.environmentVariables.defaultInMemoryCacheTimeoutSeconds});\r\n private dealersCache = new ObjectCache({cacheAgeLimitSeconds: Settings.environmentVariables.defaultInMemoryCacheTimeoutSeconds});\r\n private dealerCache = new ObjectCache({cacheAgeLimitSeconds: Settings.environmentVariables.defaultInMemoryCacheTimeoutSeconds});\r\n \r\n public getDealerSettings(dealerId: number) {\r\n return this.dealerSettingClient.ByDealeridGET(dealerId).toPromise()\r\n .then(mapDealerSettings)\r\n\r\n function mapDealerSettings(response: DealerSettingDto) {\r\n var dealerSettings = {\r\n allowUsedCalculation: response.allowUsedCalculation,\r\n allowCPOCalculation: response.allowCPOCalculation,\r\n enableCarFax: response.enableCarFax,\r\n enableCarProof: response.enableCarProof,\r\n enableAutoCheck: response.enableAutoCheck,\r\n useCreditSoftPull: response.useCreditSoftPull,\r\n maxScheduleFutureDays: response.activityFutureWindow,\r\n dncEnabled: response.dncEnabled,\r\n allowExpiration: response.allowExpiration,\r\n autoRewardAccountIdentifier: response.autoRewardAccountIdentifier,\r\n autoRewardPassword: response.autoRewardPassword,\r\n autoRewardUserName: response.autoRewardUserName,\r\n enableAutoRewards: response.enableAutoRewards,\r\n productID: response.productID,\r\n defaultUserID: response.defaultUserID,\r\n enableDirectAlertCampaigns: response.enableDirectAlertCampaigns,\r\n enableDealerUsedRates: response.enableDealerUsedRates,\r\n enableMultiVehReplTolerances: response.enableMultiVehReplTolerances,\r\n enableOffBrandMultiVehReplTolerances: response.enableOffBrandMultiVehReplTolerances,\r\n deskitDealerID: response.deskitDealerID,\r\n deskitPushEnabled: response.deskitPushEnabled,\r\n carFaxVersion: response.carFaxVersion,\r\n carFaxAutoPurchase: response.carFaxAutoPurchase,\r\n offBrandMakeIds: response.offBrandMakeIds\r\n };\r\n return dealerSettings;\r\n }\r\n }\r\n\r\n public getDealer(id: number): Promise {\r\n return this.dealerCache.getOrFetch(id, () => this.dealerClient.ByIdGET(id).toPromise()\r\n .then(function resolveDealer(response) {\r\n var data = response;\r\n\r\n var dealer: DealSheetDealer = {\r\n name: data.dealerName,\r\n displayText: data.dealerName + ' (' + data.dealerCode + ')',\r\n dealerGroupId: data.dealerGroupID\r\n };\r\n\r\n return dealer;\r\n }));\r\n }\r\n\r\n public getDealers(): Promise {\r\n return this.dealersCache.getOrFetch('dealers', () => this.dealerSearchClient.GET().toPromise()\r\n .then(function getDealersComplete(response: DealerInfoDto[]) {\r\n var dealers = response;\r\n\r\n var dealersExt: DealerInfoDtoExt[] = [];\r\n\r\n dealers.forEach(function (dealer) {\r\n const displayText = dealer.dealerName + ' (' + dealer.dealerCode + ')';\r\n const dealerInfoDtoExt = {...dealer, displayText: displayText};\r\n dealersExt.push(dealerInfoDtoExt);\r\n });\r\n\r\n return dealersExt;\r\n }));\r\n }\r\n\r\n public getUsers(dealerId: number): Promise {\r\n return this.getEnabledUsersForDealer(dealerId)\r\n .then(function resolveUsers(response) {\r\n var users = [];\r\n \r\n for (var i = 0; i < response.length; i++) {\r\n var user = response[i];\r\n\r\n users.push({\r\n id: user.userID,\r\n fullName: user.fullName,\r\n userTypeId: user.userTypeID\r\n });\r\n }\r\n\r\n return users;\r\n });\r\n }\r\n\r\n public getEnabledUsersForDealer(dealerId: number): Promise {\r\n return this.enabledUsersForDealerCache.getOrFetch(\r\n dealerId, \r\n () => this.userClient.GetEnabledUsersForDealerByDealeridGET(dealerId).toPromise()\r\n );\r\n }\r\n\r\n public getSelectedDealerGroupId() {\r\n const data = this.getRawSelectedDealers();\r\n if (data) {\r\n return data.dealerGroupId;\r\n }\r\n }\r\n\r\n public getSelectedDealerIds(): number[] {\r\n const dealers = this.getSelectedDealers();\r\n if (dealers) {\r\n return dealers.map(d => d.id);\r\n }\r\n }\r\n\r\n public getDealerDisplayText() {\r\n const data = this.getRawSelectedDealers();\r\n if (data) {\r\n return data.dealerDisplayText;\r\n }\r\n }\r\n\r\n public getSelectedDealers(addAllDealersOption?: DealerDto): Array {\r\n const data = this.getRawSelectedDealers();\r\n if (addAllDealersOption && data.dealers.length > 1) {\r\n data.dealers.unshift({ id: 0, name: \"All Dealerships\" });\r\n }\r\n if (data) {\r\n return data.dealers;\r\n }\r\n }\r\n\r\n public getCXMViewSelectedStores(): Promise {\r\n return this.communicationService.getCXMViewSelectedStores();\r\n }\r\n\r\n private getRawSelectedDealers() {\r\n return this.crossDomainStorageService.getItem('selectedDealers');\r\n }\r\n\r\n public updateSelectedDealers(dealers, dealerGroupId, dealerDisplayText) {\r\n const data = { dealers, dealerGroupId, dealerDisplayText };\r\n this.crossDomainStorageService.setItem('selectedDealers', data);\r\n this.communicationService.notifyOnDealerChange(dealers);\r\n }\r\n\r\n public updateSelectedDealersToMatchCXM(dealers, dealerGroupId, dealerDisplayText) {\r\n const data = { dealers, dealerGroupId, dealerDisplayText };\r\n this.crossDomainStorageService.setItem('selectedDealers', data);\r\n }\r\n\r\n public updateCXMSelectedDealersToMatchAlertMiner(dealers) {\r\n this.communicationService.notifyOnDealerChange(dealers);\r\n }\r\n\r\n public onSelectedDealersChanged(callback) {\r\n return this.crossDomainStorageService.onchange('selectedDealers', callback);\r\n }\r\n\r\n public getDealersOneToOneStatus(): Promise {\r\n return this.printOfferBatchClient.GetDealerStatusesGET().toPromise()\r\n .then((response) => {\r\n this.dealersOneToOneStatus = response || [];\r\n this.dealersOneToOneStatusLoaded = true;\r\n this.rootScope.$broadcast('RUN_USER_INIT.ONE_TO_ONE_READY');\r\n });\r\n }\r\n\r\n public getIsDealerNoLongerOwnsEnabled(dealerId: number): Promise {\r\n return this.dealerAssetClient.GetByDealerByDealeridGET(dealerId).toPromise()\r\n .then(IsNoLongerOwnsActive);\r\n\r\n function IsNoLongerOwnsActive(response: DealerAssetDto[]) {\r\n var data = response;\r\n var noLongerOwns = data.find(function findNoLongerOwnsAsset(a) {\r\n return a.assetID === AssetTypes.noLongerOwns;\r\n });\r\n\r\n return typeof noLongerOwns != 'undefined' && noLongerOwns.isActive === true;\r\n }\r\n }\r\n\r\n public getIsDealerEmailAppendEnabled(dealerId: number): Promise {\r\n return this.dealerAssetClient.GetByDealerByDealeridGET(dealerId).toPromise()\r\n .then(IsEmailAppendActive);\r\n\r\n function IsEmailAppendActive(response: DealerAssetDto[]) {\r\n var data = response;\r\n var emailAppend = data.find(function findEmailAppendAsset(a) {\r\n return a.assetID === AssetTypes.emailAppend;\r\n });\r\n\r\n return typeof emailAppend != 'undefined' && emailAppend.isActive === true;\r\n }\r\n }\r\n\r\n public getIsAssetEnabledForDealer(assetId, dealerId?: number): Promise {\r\n //If this data changes, the user will need to refresh the screen.\r\n if (this.getIsAssetEnabledForDealerPromise == null) {\r\n this.getIsAssetEnabledForDealerPromise = this.dealerAssetClient.GetDealerAssetsGET().toPromise();\r\n }\r\n\r\n return this.getIsAssetEnabledForDealerPromise.then(processResponse);\r\n\r\n function processResponse(response: DealerAssetDto[]) {\r\n var data = response;\r\n var dealerAsset = data.find(function findDealerAsset(a) {\r\n var isSelectedDealer = dealerId == null || dealerId == 0 || a.dealerID == dealerId; \r\n return isSelectedDealer && a.assetID === assetId && a.isActive === true;\r\n });\r\n\r\n return typeof dealerAsset != 'undefined';\r\n }\r\n }\r\n\r\n public getIsDealerPandoXEnabled(dealerId: number): Promise {\r\n return this.dealerAssetClient.GetByDealerByDealeridGET(dealerId).toPromise()\r\n .then(IsPandoXActive);\r\n\r\n function IsPandoXActive(response: DealerAssetDto[]) {\r\n var data = response;\r\n var pandoX = data.find(function findPandoXAsset(a) {\r\n return a.assetID === AssetTypes.pandoX;\r\n });\r\n\r\n var result = typeof pandoX != 'undefined' && pandoX.isActive === true;\r\n\r\n return result;\r\n }\r\n }\r\n\r\n public getIsDealerOneToOneEnabled(dealerId: number): boolean {\r\n var dealer = this.dealersOneToOneStatus.find(function findDealerStatus(o) {\r\n return o.dealerId === dealerId;\r\n });\r\n\r\n if (!dealer)\r\n return false;\r\n\r\n return dealer.printOfferEnabled;\r\n }\r\n\r\n public getIsSomeDealerOneToOneEnabled(): boolean {\r\n var isSomeDealerOneToOneEnabled = false;\r\n\r\n this.dealersOneToOneStatus.forEach(function forEachDealerOneToOneStatus(o) {\r\n if (o.printOfferEnabled) {\r\n isSomeDealerOneToOneEnabled = true;\r\n return false;\r\n }\r\n });\r\n\r\n return isSomeDealerOneToOneEnabled;\r\n }\r\n\r\n public async getIsSomeDealerIntelligentMarketingEnabled(): Promise {\r\n \r\n var promise = this.getIsAssetEnabledForDealer(AssetTypes.intelMarketing);\r\n var result = await promise;\r\n return result;\r\n }\r\n\r\n public async getIsSomeDealerAutoAssistantEnabled(): Promise {\r\n \r\n var promise = this.getIsAssetEnabledForDealer(AssetTypes.autoAssistant);\r\n var result = await promise;\r\n return result;\r\n }\r\n\r\n public async getIsSomeDealerGeoAlertEnabled(): Promise {\r\n \r\n var promise = this.getIsAssetEnabledForDealer(AssetTypes.geoAlert);\r\n var result = await promise;\r\n return result;\r\n }\r\n\r\n public getOneToOneEnabledDealerIds(): number[] {\r\n var dealerIds = [];\r\n\r\n this.dealersOneToOneStatus.forEach(function forEachDealerOneToOneStatus(o) {\r\n if (o.printOfferEnabled)\r\n dealerIds.push(o.dealerId);\r\n });\r\n\r\n return dealerIds;\r\n }\r\n\r\n public async getDealerAlertTolerances(dealerId: number, makeId: number, year: number, modelId: number, trimId: number): Promise> {\r\n\r\n let params: DealerClientService.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGETParams = {\r\n dealerId: dealerId,\r\n makeId: makeId,\r\n year: year,\r\n modelId: modelId,\r\n trimId: trimId\r\n };\r\n return this.dealerClient.GetDealerAlertTolerancesByDealeridByMakeidByYearByModelidByTrimidGET(params).toPromise();\r\n }\r\n\r\n public async UpdateDealerAlertTolerances(dealerId: number, alertTolerances: Array) {\r\n let params: DealerClientService.UpdateDealerAlertTolerancesByDealeridPOSTParams = {\r\n dealerId: dealerId,\r\n alertTolerances: alertTolerances\r\n };\r\n \r\n return this.dealerClient.UpdateDealerAlertTolerancesByDealeridPOST(params).toPromise();\r\n }\r\n\r\n public async getDealerFordInfo(dealerId: number): Promise {\r\n return this.dealerClient.GetDealerFordInfoGET(dealerId).toPromise();\r\n }\r\n\r\n public async getDealerWishLists(dealerId: number): Promise {\r\n return this.dealerClient.GetDealerWishListsByDealeridGET(dealerId).toPromise();\r\n }\r\n\r\n public async saveDealerWishList(dealerWishList: DealerWishListExtDto): Promise {\r\n return this.dealerClient.SaveDealerWishListPOST(dealerWishList).toPromise();\r\n }\r\n\r\n public async GetDealerWishListLogs(dealerId: number, dealerWishListID: number, take: number): Promise {\r\n let params: DealerClientService.GetDealerWishListLogsByDealeridByDealerwishlistidGETParams = {\r\n dealerWishListID: dealerWishListID,\r\n dealerId: dealerId,\r\n take: take\r\n };\r\n\r\n return this.dealerClient.GetDealerWishListLogsByDealeridByDealerwishlistidGET(params).toPromise();\r\n }\r\n\r\n\r\n \r\n\r\n}\r\n","'use strict';\n// B.2.3.13 String.prototype.sub()\nrequire('./_string-html')('sub', function (createHTML) {\n return function sub() {\n return createHTML(this, 'sub', '', '');\n };\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@uirouter/core\");\nvar events_1 = require(\"../../../../modules/oidc-auth/events\");\nvar deal_sheet_data_service_1 = require(\"../../../../services/deal-sheet-data.service\");\nvar mobile_deal_sheet_data_caching_service_1 = require(\"../../../../services/mobile-deal-sheet-data-caching.service\");\nvar mobile_routes_1 = require(\"../mobile-routes\");\nvar MobileDealSheetComponent = /** @class */ (function () {\n function MobileDealSheetComponent(mobileDealSheetDataCachingService, dealSheetDataService, stateService, transitionService) {\n this.mobileDealSheetDataCachingService = mobileDealSheetDataCachingService;\n this.dealSheetDataService = dealSheetDataService;\n this.stateService = stateService;\n this.transitionService = transitionService;\n this.routes = mobile_routes_1.MobileRoutes;\n this.selectedNav = this.routes.vehicle;\n }\n MobileDealSheetComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.busy = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId)\n .subscribe(function (dealSheetData) {\n events_1.externalLoggedIn$.next(); // Initializes header\n _this.showPullForward = _this.dealSheetDataService.shouldDisplayPullForward(dealSheetData.opportunity);\n _this.dealSheetData = dealSheetData;\n _this.stateService.go(_this.selectedNav);\n });\n this.transitionService.onSuccess({ to: 'mobileDealSheet.**' }, function (transition) {\n _this.selectedNav = transition.$to().name;\n });\n };\n MobileDealSheetComponent.prototype.selectNav = function (route) {\n this.selectedNav = route;\n this.stateService.go(route);\n };\n MobileDealSheetComponent.prototype.startWorkingState = function () {\n var _this = this;\n this.busy = new Promise(function (resolve) {\n _this.stopWorkingState = resolve;\n });\n };\n MobileDealSheetComponent.prototype.stopWorkingState = function () { };\n MobileDealSheetComponent.prototype.ngOnDestroy = function () {\n };\n return MobileDealSheetComponent;\n}());\nexports.MobileDealSheetComponent = MobileDealSheetComponent;\n","import { Component, Input, OnDestroy, OnInit, ChangeDetectionStrategy } from '@angular/core';\r\nimport { StateService, TransitionService, Transition } from '@uirouter/core';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { Activity } from '../../../../interfaces/activity.interface';\r\nimport { DealSheetData } from '../../../../interfaces/deal-sheet/deal-sheet-data.interface';\r\nimport { UserDtoExt } from '../../../../interfaces/user-dto-ext.interface';\r\nimport { externalLoggedIn$ } from '../../../../modules/oidc-auth/events';\r\nimport { DealSheetDataService } from '../../../../services/deal-sheet-data.service';\r\nimport { MobileDealSheetDataCachingService } from '../../../../services/mobile-deal-sheet-data-caching.service';\r\nimport { MobileRoutes } from '../mobile-routes';\r\n\r\n@Component({\r\n selector: 'mobile-deal-sheet',\r\n templateUrl: './mobile-deal-sheet.component-ng.html',\r\n styleUrls: ['./mobile-deal-sheet.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class MobileDealSheetComponent implements OnInit, OnDestroy {\r\n\r\n @Input() opportunityId: string;\r\n public dealSheetData: DealSheetData;\r\n public activityListData: Activity[];\r\n public users: UserDtoExt[];\r\n public showPullForward: boolean;\r\n public routes = MobileRoutes;\r\n\r\n public busy: Promise | Observable | Subscription;\r\n\r\n public selectedNav = this.routes.vehicle;\r\n\r\n constructor(private mobileDealSheetDataCachingService: MobileDealSheetDataCachingService,\r\n private dealSheetDataService: DealSheetDataService,\r\n private stateService: StateService, private transitionService: TransitionService) {\r\n }\r\n\r\n ngOnInit() {\r\n this.busy = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId)\r\n .subscribe(dealSheetData => {\r\n externalLoggedIn$.next(); // Initializes header\r\n this.showPullForward = this.dealSheetDataService.shouldDisplayPullForward(dealSheetData.opportunity);\r\n this.dealSheetData = dealSheetData;\r\n this.stateService.go(this.selectedNav);\r\n });\r\n\r\n this.transitionService.onSuccess({to: 'mobileDealSheet.**'}, (transition: Transition) => {\r\n this.selectedNav = transition.$to().name;\r\n });\r\n }\r\n\r\n public selectNav(route: string): void {\r\n this.selectedNav = route;\r\n this.stateService.go(route);\r\n }\r\n\r\n public startWorkingState() {\r\n this.busy = new Promise((resolve) => {\r\n this.stopWorkingState = resolve;\r\n });\r\n }\r\n\r\n public stopWorkingState() { }\r\n\r\n ngOnDestroy(): void {\r\n\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./search-preset-counts.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i3 = __importStar(require(\"../../icon/icon.component\"));\nvar i4 = __importStar(require(\"@angular/platform-browser\"));\nvar i5 = __importStar(require(\"@uirouter/angular/lib/directives/uiSref\"));\nvar i6 = __importStar(require(\"@uirouter/core\"));\nvar i7 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i9 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i10 = __importStar(require(\"@ngx-translate/core\"));\nvar i11 = __importStar(require(\"@angular/common\"));\nvar i12 = __importStar(require(\"../../../filters/locale-date.pipe\"));\nvar i13 = __importStar(require(\"../../../modules/storage/storage.service\"));\nvar i14 = __importStar(require(\"ng-busy\"));\nvar i15 = __importStar(require(\"./search-preset-counts.component\"));\nvar i16 = __importStar(require(\"../../../services/search-preset.service\"));\nvar styles_SearchPresetCountsComponent = [i0.styles];\nvar RenderType_SearchPresetCountsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_SearchPresetCountsComponent, data: {} });\nexports.RenderType_SearchPresetCountsComponent = RenderType_SearchPresetCountsComponent;\nfunction View_SearchPresetCountsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [[\"class\", \"-brightblue\"], [\"icon\", \"'common-search'\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], { icon: [0, \"icon\"] }, null)], function (_ck, _v) { var currVal_0 = \"'common-search'\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SearchPresetCountsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [[\"class\", \"-brightblue\"], [\"icon\", \"'dealer-search'\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], { icon: [0, \"icon\"] }, null)], function (_ck, _v) { var currVal_0 = \"'dealer-search'\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SearchPresetCountsComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [[\"class\", \"-brightblue\"], [\"icon\", \"'tag-search'\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], { icon: [0, \"icon\"] }, null)], function (_ck, _v) { var currVal_0 = \"'tag-search'\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SearchPresetCountsComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"count cursor\"], [\"uiSref\", \"search.form\"]], [[8, \"textContent\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i5.UISref, [i6.UIRouter, [2, i5.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"], params: [1, \"params\"] }, null), i1.ɵpod(2, { presetId: 0, recentActivity: 1, dealerId: 2 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"search.form\"; var currVal_2 = _ck(_v, 2, 0, _v.parent.context.$implicit.userSearchConditionID, 1, _co.selectedDealerId); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.activityCount; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_SearchPresetCountsComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 4, \"span\", [[\"class\", \"nocount\"], [\"containerClass\", \"search-preset-count-tooltip\"], [\"placement\", \"left\"], [\"triggers\", \"mouseenter:mouseleave\"]], null, null, null, null, null)), i1.ɵdid(1, 212992, null, 0, i7.PopoverDirective, [i7.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i8.ComponentLoaderFactory, i9.PositioningService], { popover: [0, \"popover\"], placement: [1, \"placement\"], triggers: [2, \"triggers\"], containerClass: [3, \"containerClass\"] }, null), (_l()(), i1.ɵted(-1, null, [\"n/a\"])), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"style\", \"font-size:13px\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"])), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = i1.ɵnov(_v.parent, 30); var currVal_1 = \"left\"; var currVal_2 = \"mouseenter:mouseleave\"; var currVal_3 = \"search-preset-count-tooltip\"; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_SearchPresetCountsComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"p\", [[\"translate\", \"presetNoActivityMsg\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"presetNoActivityMsg\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SearchPresetCountsComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"count cursor\"], [\"uiSref\", \"search.form\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 737280, null, 0, i5.UISref, [i6.UIRouter, [2, i5.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"], params: [1, \"params\"] }, null), i1.ɵpod(2, { presetId: 0, recentActivity: 1, dealerId: 2 }), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"span\", [], [[8, \"textContent\", 0]], null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"search.form\"; var currVal_1 = _ck(_v, 2, 0, _v.parent.context.$implicit.userSearchConditionID, 0, _co.selectedDealerId); _ck(_v, 1, 0, currVal_0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.parent.context.$implicit.noActivityCount; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_SearchPresetCountsComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"p\", [[\"translate\", \"presetHasActivityMsg\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"presetHasActivityMsg\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SearchPresetCountsComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"nocount\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 4, \"span\", [[\"containerClass\", \"search-preset-count-tooltip\"], [\"placement\", \"left\"], [\"triggers\", \"mouseenter:mouseleave\"]], null, null, null, null, null)), i1.ɵdid(2, 212992, null, 0, i7.PopoverDirective, [i7.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i8.ComponentLoaderFactory, i9.PositioningService], { popover: [0, \"popover\"], placement: [1, \"placement\"], triggers: [2, \"triggers\"], containerClass: [3, \"containerClass\"] }, null), (_l()(), i1.ɵted(-1, null, [\"n/a\"])), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"span\", [[\"style\", \"font-size:13px\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"*\"])), (_l()(), i1.ɵand(0, [[\"popTemplate\", 2]], null, 0, null, View_SearchPresetCountsComponent_11))], function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 6); var currVal_1 = \"left\"; var currVal_2 = \"mouseenter:mouseleave\"; var currVal_3 = \"search-preset-count-tooltip\"; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_SearchPresetCountsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 38, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"td\", [[\"class\", \"left\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_3)), i1.ɵdid(3, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_4)), i1.ɵdid(5, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_5)), i1.ɵdid(7, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 0, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 0, \"span\", [[\"class\", \"search-condition-name\"]], [[8, \"textContent\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"td\", [[\"class\", \"left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), i1.ɵppd(13, 1), (_l()(), i1.ɵeld(14, 0, null, null, 3, \"td\", [[\"class\", \"left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \"\"])), i1.ɵppd(17, 1), (_l()(), i1.ɵeld(18, 0, null, null, 3, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"span\", [[\"class\", \"count cursor\"], [\"uiSref\", \"search.form\"]], [[8, \"textContent\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 20).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(20, 737280, null, 0, i5.UISref, [i6.UIRouter, [2, i5.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"], params: [1, \"params\"] }, null), i1.ɵpod(21, { presetId: 0, recentActivity: 1, dealerId: 2 }), (_l()(), i1.ɵeld(22, 0, null, null, 8, \"td\", [], null, null, null, null, null)), i1.ɵprd(512, null, i11.ɵNgClassImpl, i11.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(24, 278528, null, 0, i11.NgClass, [i11.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(25, { \"search-preset-count-na\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_6)), i1.ɵdid(27, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_7)), i1.ɵdid(29, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, [[\"popTemplate\", 2]], null, 0, null, View_SearchPresetCountsComponent_8)), (_l()(), i1.ɵeld(31, 0, null, null, 7, \"td\", [], null, null, null, null, null)), i1.ɵprd(512, null, i11.ɵNgClassImpl, i11.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(33, 278528, null, 0, i11.NgClass, [i11.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(34, { \"search-preset-count-na\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_9)), i1.ɵdid(36, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_10)), i1.ɵdid(38, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_v.context.$implicit.type == \"Common\"); _ck(_v, 3, 0, currVal_0); var currVal_1 = (_v.context.$implicit.type == \"Dealer\"); _ck(_v, 5, 0, currVal_1); var currVal_2 = (_v.context.$implicit.type == \"Tag\"); _ck(_v, 7, 0, currVal_2); var currVal_7 = \"search.form\"; var currVal_8 = _ck(_v, 21, 0, _v.context.$implicit.userSearchConditionID, null, _co.selectedDealerId); _ck(_v, 20, 0, currVal_7, currVal_8); var currVal_9 = _ck(_v, 25, 0, (_v.context.$implicit.activityCount == (0 - 1))); _ck(_v, 24, 0, currVal_9); var currVal_10 = (_v.context.$implicit.activityCount != (0 - 1)); _ck(_v, 27, 0, currVal_10); var currVal_11 = (_v.context.$implicit.activityCount == (0 - 1)); _ck(_v, 29, 0, currVal_11); var currVal_12 = _ck(_v, 34, 0, (_v.context.$implicit.noActivityCount == (0 - 1))); _ck(_v, 33, 0, currVal_12); var currVal_13 = (_v.context.$implicit.noActivityCount != (0 - 1)); _ck(_v, 36, 0, currVal_13); var currVal_14 = (_v.context.$implicit.noActivityCount == (0 - 1)); _ck(_v, 38, 0, currVal_14); }, function (_ck, _v) { var currVal_3 = _v.context.$implicit.searchConditionName; _ck(_v, 9, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 12, 0, _ck(_v, 13, 0, i1.ɵnov(_v.parent.parent, 0), _v.context.$implicit.insertDateUtc)); _ck(_v, 12, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 16, 0, _ck(_v, 17, 0, i1.ɵnov(_v.parent.parent, 0), _v.context.$implicit.searchActiveEndDate)); _ck(_v, 16, 0, currVal_5); var currVal_6 = _v.context.$implicit.totalCount; _ck(_v, 19, 0, currVal_6); }); }\nfunction View_SearchPresetCountsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 13, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 12, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"th\", [[\"class\", \"left\"], [\"translate\", \"lblSearchName\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"th\", [[\"class\", \"left\"], [\"translate\", \"lblDateCreated\"]], null, null, null, null, null)), i1.ɵdid(6, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"th\", [[\"class\", \"left\"], [\"translate\", \"lblExpires\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"th\", [[\"translate\", \"total\"]], null, null, null, null, null)), i1.ɵdid(10, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"th\", [[\"translate\", \"worked\"]], null, null, null, null, null)), i1.ɵdid(12, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"th\", [[\"translate\", \"notWorked\"]], null, null, null, null, null)), i1.ɵdid(14, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 3, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_SearchPresetCountsComponent_2)), i1.ɵdid(17, 278528, null, 0, i11.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵpid(0, i11.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"lblSearchName\"; _ck(_v, 4, 0, currVal_0); var currVal_1 = \"lblDateCreated\"; _ck(_v, 6, 0, currVal_1); var currVal_2 = \"lblExpires\"; _ck(_v, 8, 0, currVal_2); var currVal_3 = \"total\"; _ck(_v, 10, 0, currVal_3); var currVal_4 = \"worked\"; _ck(_v, 12, 0, currVal_4); var currVal_5 = \"notWorked\"; _ck(_v, 14, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 17, 0, i1.ɵnov(_v, 18).transform(((_co.widgetData == null) ? null : _co.widgetData.presetCounts), 0, _co.widgetData.maxRowsDisplayed)); _ck(_v, 17, 0, currVal_6); }, null); }\nfunction View_SearchPresetCountsComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"translate\", \"noInformationAvailable\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"noInformationAvailable\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SearchPresetCountsComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"button\", [[\"class\", \"transparent pull-right\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.increaseLimit() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"class\", \"action\"], [\"translate\", \"showMoreSearches\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i10.TranslateDirective, [i10.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"showMoreSearches\"; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_SearchPresetCountsComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i12.LocaleDatePipe, [i13.StorageService]), (_l()(), i1.ɵeld(1, 0, null, null, 11, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 16777216, null, null, 4, \"div\", [[\"style\", \"margin-top: 0px;\"]], null, null, null, null, null)), i1.ɵprd(512, null, i14.InstanceConfigHolderService, i14.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i14.ɵa, i14.ɵa, []), i1.ɵdid(5, 409600, null, 0, i14.NgBusyDirective, [i14.ɵb, i14.InstanceConfigHolderService, i1.ComponentFactoryResolver, i14.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(6, { busy: 0, delay: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_1)), i1.ɵdid(8, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_12)), i1.ɵdid(10, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetCountsComponent_13)), i1.ɵdid(12, 16384, null, 0, i11.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 6, 0, _co.setLimitPromise, 200); _ck(_v, 5, 0, currVal_0); var currVal_1 = (((_co.widgetData == null) ? null : ((_co.widgetData.presetCounts == null) ? null : _co.widgetData.presetCounts.length)) > 0); _ck(_v, 8, 0, currVal_1); var currVal_2 = (((_co.widgetData == null) ? null : _co.widgetData.presetCounts) && (_co.widgetData.presetCounts.length == 0)); _ck(_v, 10, 0, currVal_2); var currVal_3 = ((((_co.widgetData == null) ? null : _co.widgetData.maxRowsDisplayed) < _co.maxRowLimit) && ((((_co.widgetData == null) ? null : ((_co.widgetData.unusedSearchPresets == null) ? null : _co.widgetData.unusedSearchPresets.length)) > 0) || (((_co.widgetData == null) ? null : ((_co.widgetData.searchPresets == null) ? null : _co.widgetData.searchPresets.length)) > ((_co.widgetData == null) ? null : _co.widgetData.maxRowsDisplayed)))); _ck(_v, 12, 0, currVal_3); }, null); }\nexports.View_SearchPresetCountsComponent_0 = View_SearchPresetCountsComponent_0;\nfunction View_SearchPresetCountsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"search-preset-counts\", [], null, null, null, View_SearchPresetCountsComponent_0, RenderType_SearchPresetCountsComponent)), i1.ɵdid(1, 638976, null, 0, i15.SearchPresetCountsComponent, [i16.SearchPresetService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_SearchPresetCountsComponent_Host_0 = View_SearchPresetCountsComponent_Host_0;\nvar SearchPresetCountsComponentNgFactory = i1.ɵccf(\"search-preset-counts\", i15.SearchPresetCountsComponent, View_SearchPresetCountsComponent_Host_0, { widgetData: \"widgetData\", selectedDealerId: \"selectedDealerId\", widgetState: \"widgetState\" }, { widgetStateChange: \"widgetStateChange\", onRunDateChanged: \"onRunDateChanged\" }, []);\nexports.SearchPresetCountsComponentNgFactory = SearchPresetCountsComponentNgFactory;\n","\r\n
\r\n
\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{searchPreset.insertDateUtc | localeDate}}\r\n \r\n {{searchPreset.searchActiveEndDate | localeDate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n n/a*\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n n/a*\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n\r\n","var $export = require('./_export');\n\n$export($export.P, 'String', {\n // 21.1.3.13 String.prototype.repeat(count)\n repeat: require('./_string-repeat')\n});\n","var path = '/app/components/deal-sheet/print-offer.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/deal-sheet.component.html';\nvar html = \"
{{ $ctrl.dealer.displayText }} | AutoRewards
80\\\" [entity-id]=\\\"$ctrl.opportunityId\\\">

,



|
|




{{$ctrl.opportunity.replacementVehicle.daysInStock}}

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@angular/forms\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../tooltip.component.ngfactory\"));\nvar i5 = __importStar(require(\"../tooltip.component\"));\nvar i6 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i7 = __importStar(require(\"../../../../../node_modules/angular2-multiselect-dropdown/angular2-multiselect-dropdown.ngfactory\"));\nvar i8 = __importStar(require(\"angular2-multiselect-dropdown\"));\nvar i9 = __importStar(require(\"./admin-settings-general.component\"));\nvar i10 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i11 = __importStar(require(\"../../services/dealer.service\"));\nvar i12 = __importStar(require(\"../../services/dealer-settings.service\"));\nvar styles_AdminSettingsGeneralComponent = [];\nvar RenderType_AdminSettingsGeneralComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsGeneralComponent, data: {} });\nexports.RenderType_AdminSettingsGeneralComponent = RenderType_AdminSettingsGeneralComponent;\nfunction View_AdminSettingsGeneralComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(2, null, [\" \", \" \"])), (_l()(), i0.ɵeld(3, 0, null, null, 7, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerMakeLeaseMileage.DefaultLeaseAnnualMiles\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_v.context.$implicit.defaultLeaseAnnualMiles = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(5, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(6, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(8, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(10, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"col-md-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerMakeLeaseMileage.DefaultLeasePenaltyPerMile\"], [\"step\", \"0.01\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 13)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 13)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 13)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 14).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 14).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 14).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_v.context.$implicit.defaultLeasePenaltyPerMile = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(13, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(14, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(16, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(18, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null)], function (_ck, _v) { var currVal_8 = \"DealerMakeLeaseMileage.DefaultLeaseAnnualMiles\"; var currVal_9 = _v.context.$implicit.defaultLeaseAnnualMiles; _ck(_v, 8, 0, currVal_8, currVal_9); var currVal_17 = \"DealerMakeLeaseMileage.DefaultLeasePenaltyPerMile\"; var currVal_18 = _v.context.$implicit.defaultLeasePenaltyPerMile; _ck(_v, 16, 0, currVal_17, currVal_18); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.makeName; _ck(_v, 2, 0, currVal_0); var currVal_1 = i0.ɵnov(_v, 10).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 10).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 10).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 10).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 10).ngClassValid; var currVal_6 = i0.ɵnov(_v, 10).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 10).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_10 = i0.ɵnov(_v, 18).ngClassUntouched; var currVal_11 = i0.ɵnov(_v, 18).ngClassTouched; var currVal_12 = i0.ɵnov(_v, 18).ngClassPristine; var currVal_13 = i0.ɵnov(_v, 18).ngClassDirty; var currVal_14 = i0.ɵnov(_v, 18).ngClassValid; var currVal_15 = i0.ɵnov(_v, 18).ngClassInvalid; var currVal_16 = i0.ɵnov(_v, 18).ngClassPending; _ck(_v, 12, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); }); }\nfunction View_AdminSettingsGeneralComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\" \", \"-\", \" \"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.stateAbbr, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.stateAbbr, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.stateAbbr; var currVal_3 = _v.context.$implicit.stateName; _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_AdminSettingsGeneralComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 17, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"override-state-label single-line-control\"], [\"translate\", \"dsAdmin_searchByStateLabel\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, [[1, 0], [\"overrideStateSelect\", 1]], null, 12, \"select\", [[\"class\", \"form-control override-state single-line-control\"], [\"name\", \"TwilioOverrideState\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 5).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.overrideStateCode = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onOverrideStateChanged() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(5, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(7, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(9, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(10, 0, null, null, 4, \"option\", [[\"value\", \"\"]], null, null, null, null, null)), i0.ɵdid(11, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(12, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(13, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_5)), i0.ɵdid(16, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(17, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary smallButton single-line-control\"], [\"translate\", \"search\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSearchByState() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(18, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_searchByStateLabel\"; _ck(_v, 3, 0, currVal_0); var currVal_8 = \"TwilioOverrideState\"; var currVal_9 = _co.overrideStateCode; _ck(_v, 7, 0, currVal_8, currVal_9); var currVal_10 = \"\"; _ck(_v, 11, 0, currVal_10); var currVal_11 = \"\"; _ck(_v, 12, 0, currVal_11); var currVal_13 = _co.dsa.state; _ck(_v, 16, 0, currVal_13); var currVal_14 = \"search\"; _ck(_v, 18, 0, currVal_14); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 9).ngClassValid; var currVal_6 = i0.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_12 = i0.ɵunv(_v, 13, 0, i0.ɵnov(_v, 14).transform(\"dsAdmin_SelectArea\")); _ck(_v, 13, 0, currVal_12); }); }\nfunction View_AdminSettingsGeneralComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.formatPhoneNumber(_v.context.$implicit); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsGeneralComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.formatPhoneNumber(_v.context.$implicit); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsGeneralComponent_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"color:red;margin-top:8px\"], [\"translate\", \"dsAdmin_twoSeparateNumbersError\"]], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dsAdmin_twoSeparateNumbersError\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminSettingsGeneralComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 51, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 9, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"label\", [[\"for\", \"textMessagingAreaCode\"], [\"style\", \"padding-right: 10px;\"], [\"translate\", \"dsAdmin_textMessageAreaCode\"]], null, null, null, null, null)), i0.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"id\", \"textMessagingAreaCode\"], [\"style\", \"width:80px;\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 6)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 6)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 6)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 7).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 7).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.textMessagingAreaCode = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(6, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(7, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(9, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(11, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary smallButton single-line-control\"], [\"translate\", \"dsAdmin_viewNumbersSMS\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onViewNumbers() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(14, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_4)), i0.ɵdid(16, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(17, 0, null, null, 34, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 15, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin: 5px 10px 0 0\"], [\"translate\", \"dsAdmin_Sales\"]], null, null, null, null, null)), i0.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(21, 0, null, null, 12, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(22, 0, null, null, 11, \"select\", [[\"class\", \"form-control\"], [\"name\", \"TwilioSendTextSalesNumber\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 23).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 23).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.twilioSendTextSalesNumber = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onNewNumberChanged($event) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(23, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(25, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(27, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(28, 0, null, null, 3, \"option\", [[\"value\", \"tbd\"]], null, null, null, null, null)), i0.ɵdid(29, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(30, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"(Select Number)\"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_6)), i0.ɵdid(33, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(34, 0, null, null, 15, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(35, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin: 5px 10px 0 0\"], [\"translate\", \"serviceName\"]], null, null, null, null, null)), i0.ɵdid(36, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(37, 0, null, null, 12, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(38, 0, null, null, 11, \"select\", [[\"class\", \"form-control\"], [\"name\", \"TwilioSendTextServiceNumber\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 39).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 39).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.twilioSendTextServiceNumber = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onNewNumberChanged($event) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(39, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(41, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(43, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(44, 0, null, null, 3, \"option\", [[\"value\", \"tbd\"]], null, null, null, null, null)), i0.ɵdid(45, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(46, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"(Select Number)\"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_7)), i0.ɵdid(49, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_8)), i0.ɵdid(51, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_textMessageAreaCode\"; _ck(_v, 4, 0, currVal_0); var currVal_8 = _co.textMessagingAreaCode; _ck(_v, 9, 0, currVal_8); var currVal_9 = \"dsAdmin_viewNumbersSMS\"; _ck(_v, 14, 0, currVal_9); var currVal_10 = _co.searchReturnedLessThanTwoLocalNumbers; _ck(_v, 16, 0, currVal_10); var currVal_11 = \"dsAdmin_Sales\"; _ck(_v, 20, 0, currVal_11); var currVal_19 = \"TwilioSendTextSalesNumber\"; var currVal_20 = (_co.newTextNumbers.length == 0); var currVal_21 = _co.twilioSendTextSalesNumber; _ck(_v, 25, 0, currVal_19, currVal_20, currVal_21); var currVal_22 = \"tbd\"; _ck(_v, 29, 0, currVal_22); var currVal_23 = \"tbd\"; _ck(_v, 30, 0, currVal_23); var currVal_24 = _co.newTextNumbers; _ck(_v, 33, 0, currVal_24); var currVal_25 = \"serviceName\"; _ck(_v, 36, 0, currVal_25); var currVal_33 = \"TwilioSendTextServiceNumber\"; var currVal_34 = (_co.newTextNumbers.length == 0); var currVal_35 = _co.twilioSendTextServiceNumber; _ck(_v, 41, 0, currVal_33, currVal_34, currVal_35); var currVal_36 = \"tbd\"; _ck(_v, 45, 0, currVal_36); var currVal_37 = \"tbd\"; _ck(_v, 46, 0, currVal_37); var currVal_38 = _co.newTextNumbers; _ck(_v, 49, 0, currVal_38); var currVal_39 = !_co.twilioNumbersValid; _ck(_v, 51, 0, currVal_39); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 11).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 11).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 11).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 11).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 11).ngClassValid; var currVal_6 = i0.ɵnov(_v, 11).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 11).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_12 = i0.ɵnov(_v, 27).ngClassUntouched; var currVal_13 = i0.ɵnov(_v, 27).ngClassTouched; var currVal_14 = i0.ɵnov(_v, 27).ngClassPristine; var currVal_15 = i0.ɵnov(_v, 27).ngClassDirty; var currVal_16 = i0.ɵnov(_v, 27).ngClassValid; var currVal_17 = i0.ɵnov(_v, 27).ngClassInvalid; var currVal_18 = i0.ɵnov(_v, 27).ngClassPending; _ck(_v, 22, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18); var currVal_26 = i0.ɵnov(_v, 43).ngClassUntouched; var currVal_27 = i0.ɵnov(_v, 43).ngClassTouched; var currVal_28 = i0.ɵnov(_v, 43).ngClassPristine; var currVal_29 = i0.ɵnov(_v, 43).ngClassDirty; var currVal_30 = i0.ɵnov(_v, 43).ngClassValid; var currVal_31 = i0.ɵnov(_v, 43).ngClassInvalid; var currVal_32 = i0.ɵnov(_v, 43).ngClassPending; _ck(_v, 38, 0, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32); }); }\nfunction View_AdminSettingsGeneralComponent_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\" \", \"-\", \" \"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.stateAbbr, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.stateAbbr, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.stateAbbr; var currVal_3 = _v.context.$implicit.stateName; _ck(_v, 3, 0, currVal_2, currVal_3); }); }\nfunction View_AdminSettingsGeneralComponent_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 18, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 17, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"override-state-label single-line-control\"], [\"translate\", \"dsAdmin_searchByStateLabel\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, [[2, 0], [\"overrideStateSelectCXM\", 1]], null, 12, \"select\", [[\"class\", \"form-control override-state single-line-control\"], [\"name\", \"TwilioOverrideStateCXN\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 5).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.overrideStateCodeCXM = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onOverrideStateChangedCXM() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(5, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(7, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(9, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(10, 0, null, null, 4, \"option\", [[\"value\", \"\"]], null, null, null, null, null)), i0.ɵdid(11, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(12, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(13, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_11)), i0.ɵdid(16, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(17, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary smallButton single-line-control\"], [\"translate\", \"search\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSearchByStateCXM() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(18, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_searchByStateLabel\"; _ck(_v, 3, 0, currVal_0); var currVal_8 = \"TwilioOverrideStateCXN\"; var currVal_9 = _co.overrideStateCodeCXM; _ck(_v, 7, 0, currVal_8, currVal_9); var currVal_10 = \"\"; _ck(_v, 11, 0, currVal_10); var currVal_11 = \"\"; _ck(_v, 12, 0, currVal_11); var currVal_13 = _co.dsa.state; _ck(_v, 16, 0, currVal_13); var currVal_14 = \"search\"; _ck(_v, 18, 0, currVal_14); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 9).ngClassValid; var currVal_6 = i0.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_12 = i0.ɵunv(_v, 13, 0, i0.ɵnov(_v, 14).transform(\"dsAdmin_SelectArea\")); _ck(_v, 13, 0, currVal_12); }); }\nfunction View_AdminSettingsGeneralComponent_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.formatPhoneNumber(_v.context.$implicit); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsGeneralComponent_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.formatPhoneNumber(_v.context.$implicit); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsGeneralComponent_14(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"color:red;margin-top:8px\"], [\"translate\", \"dsAdmin_twoSeparateNumbersError\"]], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dsAdmin_twoSeparateNumbersError\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminSettingsGeneralComponent_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 51, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 9, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"label\", [[\"for\", \"textMessagingAreaCode\"], [\"style\", \"padding-right: 10px;\"], [\"translate\", \"dsAdmin_textMessageAreaCode\"]], null, null, null, null, null)), i0.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"id\", \"textMessagingAreaCodeCXM\"], [\"style\", \"width:80px;\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 6)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 6)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 6)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 7).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 7).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.textMessagingAreaCodeCXM = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(6, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(7, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(9, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(11, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary smallButton single-line-control\"], [\"translate\", \"dsAdmin_viewNumbersSMS\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onViewNumbersCXM() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(14, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_10)), i0.ɵdid(16, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(17, 0, null, null, 34, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 15, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin: 5px 10px 0 0\"], [\"translate\", \"dsAdmin_Sales\"]], null, null, null, null, null)), i0.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(21, 0, null, null, 12, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(22, 0, null, null, 11, \"select\", [[\"class\", \"form-control\"], [\"name\", \"TwilioSendTextSalesNumberCXM\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 23).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 23).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.twilioSendTextSalesNumberCXM = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onNewNumberChangedCXM($event) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(23, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(25, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(27, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(28, 0, null, null, 3, \"option\", [[\"value\", \"tbd\"]], null, null, null, null, null)), i0.ɵdid(29, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(30, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"(Select Number)\"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_12)), i0.ɵdid(33, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(34, 0, null, null, 15, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(35, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin: 5px 10px 0 0\"], [\"translate\", \"serviceName\"]], null, null, null, null, null)), i0.ɵdid(36, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(37, 0, null, null, 12, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(38, 0, null, null, 11, \"select\", [[\"class\", \"form-control\"], [\"name\", \"TwilioSendTextServiceNumberCXM\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 39).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 39).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.twilioSendTextServiceNumberCXM = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onNewNumberChangedCXM($event) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(39, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(41, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(43, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(44, 0, null, null, 3, \"option\", [[\"value\", \"tbd\"]], null, null, null, null, null)), i0.ɵdid(45, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(46, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"(Select Number)\"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_13)), i0.ɵdid(49, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_14)), i0.ɵdid(51, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_textMessageAreaCode\"; _ck(_v, 4, 0, currVal_0); var currVal_8 = _co.textMessagingAreaCodeCXM; _ck(_v, 9, 0, currVal_8); var currVal_9 = \"dsAdmin_viewNumbersSMS\"; _ck(_v, 14, 0, currVal_9); var currVal_10 = _co.searchReturnedLessThanTwoLocalNumbersCXM; _ck(_v, 16, 0, currVal_10); var currVal_11 = \"dsAdmin_Sales\"; _ck(_v, 20, 0, currVal_11); var currVal_19 = \"TwilioSendTextSalesNumberCXM\"; var currVal_20 = (_co.newTextNumbersCXM.length == 0); var currVal_21 = _co.twilioSendTextSalesNumberCXM; _ck(_v, 25, 0, currVal_19, currVal_20, currVal_21); var currVal_22 = \"tbd\"; _ck(_v, 29, 0, currVal_22); var currVal_23 = \"tbd\"; _ck(_v, 30, 0, currVal_23); var currVal_24 = _co.newTextNumbersCXM; _ck(_v, 33, 0, currVal_24); var currVal_25 = \"serviceName\"; _ck(_v, 36, 0, currVal_25); var currVal_33 = \"TwilioSendTextServiceNumberCXM\"; var currVal_34 = (_co.newTextNumbersCXM.length == 0); var currVal_35 = _co.twilioSendTextServiceNumberCXM; _ck(_v, 41, 0, currVal_33, currVal_34, currVal_35); var currVal_36 = \"tbd\"; _ck(_v, 45, 0, currVal_36); var currVal_37 = \"tbd\"; _ck(_v, 46, 0, currVal_37); var currVal_38 = _co.newTextNumbersCXM; _ck(_v, 49, 0, currVal_38); var currVal_39 = !_co.twilioNumbersValidCXM; _ck(_v, 51, 0, currVal_39); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 11).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 11).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 11).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 11).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 11).ngClassValid; var currVal_6 = i0.ɵnov(_v, 11).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 11).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_12 = i0.ɵnov(_v, 27).ngClassUntouched; var currVal_13 = i0.ɵnov(_v, 27).ngClassTouched; var currVal_14 = i0.ɵnov(_v, 27).ngClassPristine; var currVal_15 = i0.ɵnov(_v, 27).ngClassDirty; var currVal_16 = i0.ɵnov(_v, 27).ngClassValid; var currVal_17 = i0.ɵnov(_v, 27).ngClassInvalid; var currVal_18 = i0.ɵnov(_v, 27).ngClassPending; _ck(_v, 22, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18); var currVal_26 = i0.ɵnov(_v, 43).ngClassUntouched; var currVal_27 = i0.ɵnov(_v, 43).ngClassTouched; var currVal_28 = i0.ɵnov(_v, 43).ngClassPristine; var currVal_29 = i0.ɵnov(_v, 43).ngClassDirty; var currVal_30 = i0.ɵnov(_v, 43).ngClassValid; var currVal_31 = i0.ɵnov(_v, 43).ngClassInvalid; var currVal_32 = i0.ɵnov(_v, 43).ngClassPending; _ck(_v, 38, 0, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32); }); }\nfunction View_AdminSettingsGeneralComponent_15(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-4\"], [\"style\", \"color:red;\"], [\"translate\", \"dsAdmin_NonUniqueNumbersError\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dsAdmin_NonUniqueNumbersError\"; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AdminSettingsGeneralComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 42, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_textSMSMessages\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_3)), i0.ɵdid(7, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 5, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(10, null, [\" \", \": \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(12, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(13, null, [\" \", \" \"])), (_l()(), i0.ɵeld(14, 0, null, null, 5, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(16, null, [\" \", \": \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(19, null, [\" \", \" \"])), (_l()(), i0.ɵeld(20, 0, null, null, 1, \"div\", [[\"class\", \"row settingItem\"], [\"style\", \"padding-left:50px;\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(21, 0, null, null, 0, \"div\", [[\"class\", \"col-md-4 divider\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(22, 0, null, null, 4, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"col-md-4\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(24, 0, null, null, 2, \"span\", [[\"style\", \"font-weight:bold;\"]], null, null, null, null, null)), (_l()(), i0.ɵted(25, null, [\"\", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_9)), i0.ɵdid(28, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(29, 0, null, null, 5, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(30, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(31, null, [\" \", \": \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(33, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(34, null, [\" \", \" \"])), (_l()(), i0.ɵeld(35, 0, null, null, 5, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(36, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(37, null, [\" \", \": \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(39, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(40, null, [\" \", \" \"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_15)), i0.ɵdid(42, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_textSMSMessages\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_textSMSMessages\"; var currVal_2 = \"dsAdmin_textSMSMessagesTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = _co.dsa.isTextMessagingNewNumberSettingsEnabled; _ck(_v, 7, 0, currVal_3); var currVal_9 = _co.dsa.isTextMessagingNewNumberSettingsEnabledCXM; _ck(_v, 28, 0, currVal_9); var currVal_14 = !_co.allTwilioNumbersUnique; _ck(_v, 42, 0, currVal_14); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"dsAdmin_assignedSalesNumbers\")); _ck(_v, 10, 0, currVal_4); var currVal_5 = _co.formatPhoneNumber(_co.twilioSendTextSalesNumber); _ck(_v, 13, 0, currVal_5); var currVal_6 = i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"dsAdmin_assignedServiceNumbers\")); _ck(_v, 16, 0, currVal_6); var currVal_7 = _co.formatPhoneNumber(_co.twilioSendTextServiceNumber); _ck(_v, 19, 0, currVal_7); var currVal_8 = i0.ɵunv(_v, 25, 0, i0.ɵnov(_v, 26).transform(\"dsAdmin_CXM_NumberProvisioning\")); _ck(_v, 25, 0, currVal_8); var currVal_10 = i0.ɵunv(_v, 31, 0, i0.ɵnov(_v, 32).transform(\"dsAdmin_assignedSalesNumbers\")); _ck(_v, 31, 0, currVal_10); var currVal_11 = _co.formatPhoneNumber(_co.twilioSendTextSalesNumberCXM); _ck(_v, 34, 0, currVal_11); var currVal_12 = i0.ɵunv(_v, 37, 0, i0.ɵnov(_v, 38).transform(\"dsAdmin_assignedServiceNumbers\")); _ck(_v, 37, 0, currVal_12); var currVal_13 = _co.formatPhoneNumber(_co.twilioSendTextServiceNumberCXM); _ck(_v, 40, 0, currVal_13); }); }\nfunction View_AdminSettingsGeneralComponent_16(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 15, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"leadManagement\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 9).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 9).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.leadAssignOwnerAccess = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(9, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(11, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(13, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(14, 0, null, null, 1, \"span\", [[\"class\", \"settingCheckboxText\"], [\"translate\", \"dsAdmin_enableAutomatedAssignments\"]], null, null, null, null, null)), i0.ɵdid(15, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"leadManagement\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"leadManagement\"; var currVal_2 = \"dsAdmin_leadManagementTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_10 = _co.dsa.leadAssignOwnerAccess; _ck(_v, 11, 0, currVal_10); var currVal_11 = \"dsAdmin_enableAutomatedAssignments\"; _ck(_v, 15, 0, currVal_11); }, function (_ck, _v) { var currVal_3 = i0.ɵnov(_v, 13).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 13).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 13).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 13).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 13).ngClassValid; var currVal_8 = i0.ɵnov(_v, 13).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 13).ngClassPending; _ck(_v, 8, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nfunction View_AdminSettingsGeneralComponent_18(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 8, \"input\", [[\"class\", \"input-sm textbox\"], [\"maxlength\", \"50\"], [\"name\", \"DealerSetting.AutoCheckCustomerId\"], [\"style\", \"width:150px\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerSetting.autoCheckCustomerId = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(3, 540672, null, 0, i1.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i0.ɵprd(1024, null, i1.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i1.MaxLengthValidator]), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.DefaultValueAccessor]), i0.ɵdid(6, 671744, null, 0, i1.NgModel, [[8, null], [6, i1.NG_VALIDATORS], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(8, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_9 = \"50\"; _ck(_v, 3, 0, currVal_9); var currVal_10 = \"DealerSetting.AutoCheckCustomerId\"; var currVal_11 = _co.dsa.dealerSetting.autoCheckCustomerId; _ck(_v, 6, 0, currVal_10, currVal_11); }, function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 9).transform(\"dsAdmin_customerIdPlaceholder\")), \"\"); var currVal_1 = (i0.ɵnov(_v, 3).maxlength ? i0.ɵnov(_v, 3).maxlength : null); var currVal_2 = i0.ɵnov(_v, 8).ngClassUntouched; var currVal_3 = i0.ɵnov(_v, 8).ngClassTouched; var currVal_4 = i0.ɵnov(_v, 8).ngClassPristine; var currVal_5 = i0.ɵnov(_v, 8).ngClassDirty; var currVal_6 = i0.ɵnov(_v, 8).ngClassValid; var currVal_7 = i0.ɵnov(_v, 8).ngClassInvalid; var currVal_8 = i0.ɵnov(_v, 8).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nfunction View_AdminSettingsGeneralComponent_19(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 20, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 9, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 8, \"input\", [[\"class\", \"input-sm textbox\"], [\"maxlength\", \"64\"], [\"name\", \"DealerSetting.CarFaxUsername\"], [\"style\", \"width:150px\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 3)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 3).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 3)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 3)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerSetting.carFaxUsername = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(3, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(4, 540672, null, 0, i1.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i0.ɵprd(1024, null, i1.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i1.MaxLengthValidator]), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.DefaultValueAccessor]), i0.ɵdid(7, 671744, null, 0, i1.NgModel, [[8, null], [6, i1.NG_VALIDATORS], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(9, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(11, 0, null, null, 9, \"div\", [[\"style\", \"float:left;margin-left:10px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 8, \"input\", [[\"class\", \"input-sm textbox\"], [\"maxlength\", \"255\"], [\"name\", \"DealerSetting.CarFaxPassword\"], [\"style\", \"width:150px\"], [\"type\", \"password\"]], [[8, \"placeholder\", 0], [1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 13)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 13)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 13)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerSetting.carFaxPassword = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(13, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(14, 540672, null, 0, i1.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i0.ɵprd(1024, null, i1.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i1.MaxLengthValidator]), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.DefaultValueAccessor]), i0.ɵdid(17, 671744, null, 0, i1.NgModel, [[8, null], [6, i1.NG_VALIDATORS], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(19, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_9 = \"64\"; _ck(_v, 4, 0, currVal_9); var currVal_10 = \"DealerSetting.CarFaxUsername\"; var currVal_11 = _co.dsa.dealerSetting.carFaxUsername; _ck(_v, 7, 0, currVal_10, currVal_11); var currVal_21 = \"255\"; _ck(_v, 14, 0, currVal_21); var currVal_22 = \"DealerSetting.CarFaxPassword\"; var currVal_23 = _co.dsa.dealerSetting.carFaxPassword; _ck(_v, 17, 0, currVal_22, currVal_23); }, function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 2, 0, i0.ɵnov(_v, 10).transform(\"dsAdmin_carFaxIDNumber\")), \"\"); var currVal_1 = (i0.ɵnov(_v, 4).maxlength ? i0.ɵnov(_v, 4).maxlength : null); var currVal_2 = i0.ɵnov(_v, 9).ngClassUntouched; var currVal_3 = i0.ɵnov(_v, 9).ngClassTouched; var currVal_4 = i0.ɵnov(_v, 9).ngClassPristine; var currVal_5 = i0.ɵnov(_v, 9).ngClassDirty; var currVal_6 = i0.ɵnov(_v, 9).ngClassValid; var currVal_7 = i0.ɵnov(_v, 9).ngClassInvalid; var currVal_8 = i0.ɵnov(_v, 9).ngClassPending; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_12 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 12, 0, i0.ɵnov(_v, 20).transform(\"dsAdmin_carFaxPasswordPlaceholder\")), \"\"); var currVal_13 = (i0.ɵnov(_v, 14).maxlength ? i0.ɵnov(_v, 14).maxlength : null); var currVal_14 = i0.ɵnov(_v, 19).ngClassUntouched; var currVal_15 = i0.ɵnov(_v, 19).ngClassTouched; var currVal_16 = i0.ɵnov(_v, 19).ngClassPristine; var currVal_17 = i0.ɵnov(_v, 19).ngClassDirty; var currVal_18 = i0.ɵnov(_v, 19).ngClassValid; var currVal_19 = i0.ɵnov(_v, 19).ngClassInvalid; var currVal_20 = i0.ɵnov(_v, 19).ngClassPending; _ck(_v, 12, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20); }); }\nfunction View_AdminSettingsGeneralComponent_20(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 10, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 9, \"div\", [[\"style\", \"float:left;margin-left:10px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 8, \"label\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 5).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.carFaxAutoPurchase = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(5, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(7, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(9, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(10, 0, null, null, 1, \"span\", [[\"class\", \"settingCheckboxText\"], [\"translate\", \"dsAdmin_enableAutoPurchase\"]], null, null, null, null, null)), i0.ɵdid(11, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.dsa.dealerSetting.carFaxAutoPurchase; _ck(_v, 7, 0, currVal_7); var currVal_8 = \"dsAdmin_enableAutoPurchase\"; _ck(_v, 11, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 9).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 9).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 9).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 9).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 9).ngClassValid; var currVal_5 = i0.ɵnov(_v, 9).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nfunction View_AdminSettingsGeneralComponent_21(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 10, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 9, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 8, \"label\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 4).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.enableCarProof = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(4, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(6, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(8, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"span\", [[\"class\", \"settingCheckboxText\"], [\"translate\", \"dsAdmin_enableCarProof\"]], null, null, null, null, null)), i0.ɵdid(10, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.dsa.dealerSetting.enableCarProof; _ck(_v, 6, 0, currVal_7); var currVal_8 = \"dsAdmin_enableCarProof\"; _ck(_v, 10, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 8).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 8).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 8).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 8).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 8).ngClassValid; var currVal_5 = i0.ɵnov(_v, 8).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nfunction View_AdminSettingsGeneralComponent_22(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 8, \"input\", [[\"class\", \"input-sm textbox\"], [\"maxlength\", \"255\"], [\"name\", \"DealerSetting.CarProofAccessKey\"], [\"style\", \"width:600px\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 2)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 2)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 2)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerSetting.carProofAccessKey = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(3, 540672, null, 0, i1.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i0.ɵprd(1024, null, i1.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i1.MaxLengthValidator]), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.DefaultValueAccessor]), i0.ɵdid(6, 671744, null, 0, i1.NgModel, [[8, null], [6, i1.NG_VALIDATORS], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(8, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_9 = \"255\"; _ck(_v, 3, 0, currVal_9); var currVal_10 = \"DealerSetting.CarProofAccessKey\"; var currVal_11 = _co.dsa.dealerSetting.carProofAccessKey; _ck(_v, 6, 0, currVal_10, currVal_11); }, function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 9).transform(\"dsAdmin_carproofAccessKey\")), \"\"); var currVal_1 = (i0.ɵnov(_v, 3).maxlength ? i0.ɵnov(_v, 3).maxlength : null); var currVal_2 = i0.ɵnov(_v, 8).ngClassUntouched; var currVal_3 = i0.ɵnov(_v, 8).ngClassTouched; var currVal_4 = i0.ɵnov(_v, 8).ngClassPristine; var currVal_5 = i0.ɵnov(_v, 8).ngClassDirty; var currVal_6 = i0.ɵnov(_v, 8).ngClassValid; var currVal_7 = i0.ɵnov(_v, 8).ngClassInvalid; var currVal_8 = i0.ɵnov(_v, 8).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nfunction View_AdminSettingsGeneralComponent_17(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 35, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_vehicleHistoryReports\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(4, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"label\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 8).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.enableAutoCheck = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(8, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(10, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(12, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"span\", [[\"class\", \"settingCheckboxText\"], [\"translate\", \"dsAdmin_enableAutoCheckIntegration\"]], null, null, null, null, null)), i0.ɵdid(14, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_18)), i0.ɵdid(16, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(17, 0, null, null, 10, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 9, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 8, \"label\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 21).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 21).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.enableCarFax = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(21, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(23, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(25, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(26, 0, null, null, 1, \"span\", [[\"class\", \"settingCheckboxText\"], [\"translate\", \"dsAdmin_enableCarFaxIntegration\"]], null, null, null, null, null)), i0.ɵdid(27, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_19)), i0.ɵdid(29, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_20)), i0.ɵdid(31, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_21)), i0.ɵdid(33, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_22)), i0.ɵdid(35, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_vehicleHistoryReports\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"dsAdmin_vehicleHistoryReports\"; var currVal_2 = \"dsAdmin_vehicleHistoryReportsTooltip\"; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_10 = _co.dsa.dealerSetting.enableAutoCheck; _ck(_v, 10, 0, currVal_10); var currVal_11 = \"dsAdmin_enableAutoCheckIntegration\"; _ck(_v, 14, 0, currVal_11); var currVal_12 = _co.dsa.dealerSetting.enableAutoCheck; _ck(_v, 16, 0, currVal_12); var currVal_20 = _co.dsa.dealerSetting.enableCarFax; _ck(_v, 23, 0, currVal_20); var currVal_21 = \"dsAdmin_enableCarFaxIntegration\"; _ck(_v, 27, 0, currVal_21); var currVal_22 = (_co.dsa.dealerSetting.enableCarFax && (_co.dsa.dealerSetting.carFaxVersion == \"1\")); _ck(_v, 29, 0, currVal_22); var currVal_23 = (_co.dsa.dealerSetting.enableCarFax && (_co.dsa.dealerSetting.carFaxVersion == \"2\")); _ck(_v, 31, 0, currVal_23); var currVal_24 = _co.dsa.isCanadianDealer; _ck(_v, 33, 0, currVal_24); var currVal_25 = _co.dsa.dealerSetting.enableCarProof; _ck(_v, 35, 0, currVal_25); }, function (_ck, _v) { var currVal_3 = i0.ɵnov(_v, 12).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 12).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 12).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 12).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 12).ngClassValid; var currVal_8 = i0.ɵnov(_v, 12).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 12).ngClassPending; _ck(_v, 7, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_13 = i0.ɵnov(_v, 25).ngClassUntouched; var currVal_14 = i0.ɵnov(_v, 25).ngClassTouched; var currVal_15 = i0.ɵnov(_v, 25).ngClassPristine; var currVal_16 = i0.ɵnov(_v, 25).ngClassDirty; var currVal_17 = i0.ɵnov(_v, 25).ngClassValid; var currVal_18 = i0.ɵnov(_v, 25).ngClassInvalid; var currVal_19 = i0.ɵnov(_v, 25).ngClassPending; _ck(_v, 20, 0, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19); }); }\nfunction View_AdminSettingsGeneralComponent_23(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary smallButton\"], [\"translate\", \"dsAdmin_enableVehicleHistoryReports\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.enableVehicleHistoryReports() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dsAdmin_enableVehicleHistoryReports\"; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AdminSettingsGeneralComponent_24(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 20, \"div\", [[\"style\", \"clear:both\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_orphanOwners\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 14, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 13, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"owner\"]], null, null, null, null, null)), i0.ɵdid(9, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(10, 0, null, null, 10, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 9, \"angular2-multiselect\", [], [[8, \"className\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [\"document\", \"keyup.escape\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keyup.escape\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 12).onEscapeDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_1 = ((_co.selectedOwners = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i7.View_AngularMultiSelect_0, i7.RenderType_AngularMultiSelect)), i0.ɵdid(12, 13615104, null, 3, i8.AngularMultiSelect, [i0.ElementRef, i0.ChangeDetectorRef, i8.ɵi], { data: [0, \"data\"], settings: [1, \"settings\"] }, null), i0.ɵqud(335544320, 3, { itemTempl: 0 }), i0.ɵqud(335544320, 4, { badgeTempl: 0 }), i0.ɵqud(335544320, 5, { searchTempl: 0 }), i0.ɵprd(1024, null, i1.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i8.AngularMultiSelect]), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i8.AngularMultiSelect]), i0.ɵdid(18, 671744, null, 0, i1.NgModel, [[8, null], [6, i1.NG_VALIDATORS], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(20, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_orphanOwners\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_orphanOwners\"; var currVal_2 = \"dsAdmin_orphanOwnersTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = \"owner\"; _ck(_v, 9, 0, currVal_3); var currVal_12 = _co.dsa.users; var currVal_13 = _co.ownersDropdownSettings; _ck(_v, 12, 0, currVal_12, currVal_13); var currVal_14 = _co.selectedOwners; _ck(_v, 18, 0, currVal_14); }, function (_ck, _v) { var currVal_4 = i0.ɵnov(_v, 12).defaultSettings.classes; var currVal_5 = i0.ɵnov(_v, 20).ngClassUntouched; var currVal_6 = i0.ɵnov(_v, 20).ngClassTouched; var currVal_7 = i0.ɵnov(_v, 20).ngClassPristine; var currVal_8 = i0.ɵnov(_v, 20).ngClassDirty; var currVal_9 = i0.ɵnov(_v, 20).ngClassValid; var currVal_10 = i0.ɵnov(_v, 20).ngClassInvalid; var currVal_11 = i0.ɵnov(_v, 20).ngClassPending; _ck(_v, 11, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11); }); }\nfunction View_AdminSettingsGeneralComponent_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { overrideStateSelect: 0 }), i0.ɵqud(671088640, 2, { overrideStateSelectCXM: 0 }), (_l()(), i0.ɵeld(2, 0, null, null, 77, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 76, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_leaseMileageDefaults\"]], null, null, null, null, null)), i0.ɵdid(5, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(7, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 7, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 6, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2 settingHeader\"], [\"translate\", \"make\"]], null, null, null, null, null)), i0.ɵdid(11, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(12, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2 settingHeader\"], [\"translate\", \"yearlyMileage\"]], null, null, null, null, null)), i0.ɵdid(13, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(14, 0, null, null, 1, \"div\", [[\"class\", \"col-md-1 settingHeader\"], [\"translate\", \"mileagePenaltyLabel\"]], null, null, null, null, null)), i0.ɵdid(15, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_1)), i0.ɵdid(17, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(18, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"div\", [[\"class\", \"row settingTitle\"], [\"translate\", \"dsAdmin_scheduledActivityHandling\"]], null, null, null, null, null)), i0.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(21, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(22, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(23, 0, null, null, 14, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(24, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_ActivitySchedulingRange\"]], null, null, null, null, null)), i0.ɵdid(25, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(26, 0, null, null, 11, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(27, 0, null, null, 8, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"maxlength\", \"3\"], [\"name\", \"DealerSetting.ActivityFutureWindow\"], [\"type\", \"number\"]], [[1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 28)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 28).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 28)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 28)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 29).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 29).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 29).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.activityFutureWindow = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(28, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(29, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵdid(30, 540672, null, 0, i1.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i0.ɵprd(1024, null, i1.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i1.MaxLengthValidator]), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(33, 671744, null, 0, i1.NgModel, [[8, null], [6, i1.NG_VALIDATORS], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(35, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(36, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(38, 0, null, null, 14, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(39, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_activityExpiration\"]], null, null, null, null, null)), i0.ɵdid(40, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(41, 0, null, null, 11, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(42, 0, null, null, 8, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"maxlength\", \"3\"], [\"name\", \"DealerSetting.ActivityExpirationWindow\"], [\"type\", \"number\"]], [[1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 43)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 43).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 43)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 43)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 44).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 44).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 44).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.activityExpirationWindow = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(43, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(44, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵdid(45, 540672, null, 0, i1.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i0.ɵprd(1024, null, i1.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i1.MaxLengthValidator]), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(48, 671744, null, 0, i1.NgModel, [[8, null], [6, i1.NG_VALIDATORS], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(50, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(51, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_2)), i0.ɵdid(54, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_16)), i0.ɵdid(56, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(57, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_17)), i0.ɵdid(59, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_23)), i0.ɵdid(61, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(62, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"], [\"style\", \"clear:both\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(63, 0, null, null, 2, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_vAutoIntegration\"]], null, null, null, null, null)), i0.ɵdid(64, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵted(-1, null, [\"vAuto Integration\"])), (_l()(), i0.ɵeld(66, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(67, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(68, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(69, 0, null, null, 8, \"input\", [[\"class\", \"input-sm textbox\"], [\"maxlength\", \"40\"], [\"name\", \"DealerSetting.vAutoEntityId\"], [\"style\", \"width:150px\"], [\"type\", \"text\"]], [[8, \"placeholder\", 0], [1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 70)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 70).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 70)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 70)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.vAutoEntityId = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(70, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(71, 540672, null, 0, i1.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i0.ɵprd(1024, null, i1.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i1.MaxLengthValidator]), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.DefaultValueAccessor]), i0.ɵdid(74, 671744, null, 0, i1.NgModel, [[8, null], [6, i1.NG_VALIDATORS], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(76, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsGeneralComponent_24)), i0.ɵdid(79, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_leaseMileageDefaults\"; _ck(_v, 5, 0, currVal_0); var currVal_1 = \"dsAdmin_leaseMileageDefaults\"; var currVal_2 = \"dsAdmin_leaseMileageDefaultsTooltip\"; _ck(_v, 7, 0, currVal_1, currVal_2); var currVal_3 = \"make\"; _ck(_v, 11, 0, currVal_3); var currVal_4 = \"yearlyMileage\"; _ck(_v, 13, 0, currVal_4); var currVal_5 = \"mileagePenaltyLabel\"; _ck(_v, 15, 0, currVal_5); var currVal_6 = _co.dsa.dealerMakeLeaseMileage; _ck(_v, 17, 0, currVal_6); var currVal_7 = \"dsAdmin_scheduledActivityHandling\"; _ck(_v, 20, 0, currVal_7); var currVal_8 = \"dsAdmin_scheduledActivityHandling\"; var currVal_9 = \"dsAdmin_scheduledActivityHandlingTooltip\"; _ck(_v, 22, 0, currVal_8, currVal_9); var currVal_10 = \"dsAdmin_ActivitySchedulingRange\"; _ck(_v, 25, 0, currVal_10); var currVal_19 = \"3\"; _ck(_v, 30, 0, currVal_19); var currVal_20 = \"DealerSetting.ActivityFutureWindow\"; var currVal_21 = _co.dsa.dealerSetting.activityFutureWindow; _ck(_v, 33, 0, currVal_20, currVal_21); var currVal_23 = \"dsAdmin_activityExpiration\"; _ck(_v, 40, 0, currVal_23); var currVal_32 = \"3\"; _ck(_v, 45, 0, currVal_32); var currVal_33 = \"DealerSetting.ActivityExpirationWindow\"; var currVal_34 = _co.dsa.dealerSetting.activityExpirationWindow; _ck(_v, 48, 0, currVal_33, currVal_34); var currVal_36 = _co.dsa.textMessagingEnabled; _ck(_v, 54, 0, currVal_36); var currVal_37 = !_co.isDealerPandoXEnabled; _ck(_v, 56, 0, currVal_37); var currVal_38 = _co.dsa.isEnableVHR; _ck(_v, 59, 0, currVal_38); var currVal_39 = !_co.dsa.isEnableVHR; _ck(_v, 61, 0, currVal_39); var currVal_40 = \"dsAdmin_vAutoIntegration\"; _ck(_v, 64, 0, currVal_40); var currVal_41 = \"dsAdmin_vAutoIntegration\"; var currVal_42 = \"dsAdmin_vAutoIntegrationTooltip\"; _ck(_v, 67, 0, currVal_41, currVal_42); var currVal_52 = \"40\"; _ck(_v, 71, 0, currVal_52); var currVal_53 = \"DealerSetting.vAutoEntityId\"; var currVal_54 = _co.dsa.vAutoEntityId; _ck(_v, 74, 0, currVal_53, currVal_54); var currVal_55 = _co.dsa.isViewSDOSettings; _ck(_v, 79, 0, currVal_55); }, function (_ck, _v) { var currVal_11 = (i0.ɵnov(_v, 30).maxlength ? i0.ɵnov(_v, 30).maxlength : null); var currVal_12 = i0.ɵnov(_v, 35).ngClassUntouched; var currVal_13 = i0.ɵnov(_v, 35).ngClassTouched; var currVal_14 = i0.ɵnov(_v, 35).ngClassPristine; var currVal_15 = i0.ɵnov(_v, 35).ngClassDirty; var currVal_16 = i0.ɵnov(_v, 35).ngClassValid; var currVal_17 = i0.ɵnov(_v, 35).ngClassInvalid; var currVal_18 = i0.ɵnov(_v, 35).ngClassPending; _ck(_v, 27, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18); var currVal_22 = i0.ɵunv(_v, 36, 0, i0.ɵnov(_v, 37).transform(\"days\")); _ck(_v, 36, 0, currVal_22); var currVal_24 = (i0.ɵnov(_v, 45).maxlength ? i0.ɵnov(_v, 45).maxlength : null); var currVal_25 = i0.ɵnov(_v, 50).ngClassUntouched; var currVal_26 = i0.ɵnov(_v, 50).ngClassTouched; var currVal_27 = i0.ɵnov(_v, 50).ngClassPristine; var currVal_28 = i0.ɵnov(_v, 50).ngClassDirty; var currVal_29 = i0.ɵnov(_v, 50).ngClassValid; var currVal_30 = i0.ɵnov(_v, 50).ngClassInvalid; var currVal_31 = i0.ɵnov(_v, 50).ngClassPending; _ck(_v, 42, 0, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31); var currVal_35 = i0.ɵunv(_v, 51, 0, i0.ɵnov(_v, 52).transform(\"days\")); _ck(_v, 51, 0, currVal_35); var currVal_43 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 69, 0, i0.ɵnov(_v, 77).transform(\"dsAdmin_vAutoEntityIdPlaceholder\")), \"\"); var currVal_44 = (i0.ɵnov(_v, 71).maxlength ? i0.ɵnov(_v, 71).maxlength : null); var currVal_45 = i0.ɵnov(_v, 76).ngClassUntouched; var currVal_46 = i0.ɵnov(_v, 76).ngClassTouched; var currVal_47 = i0.ɵnov(_v, 76).ngClassPristine; var currVal_48 = i0.ɵnov(_v, 76).ngClassDirty; var currVal_49 = i0.ɵnov(_v, 76).ngClassValid; var currVal_50 = i0.ɵnov(_v, 76).ngClassInvalid; var currVal_51 = i0.ɵnov(_v, 76).ngClassPending; _ck(_v, 69, 0, currVal_43, currVal_44, currVal_45, currVal_46, currVal_47, currVal_48, currVal_49, currVal_50, currVal_51); }); }\nexports.View_AdminSettingsGeneralComponent_0 = View_AdminSettingsGeneralComponent_0;\nfunction View_AdminSettingsGeneralComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-general\", [], null, null, null, View_AdminSettingsGeneralComponent_0, RenderType_AdminSettingsGeneralComponent)), i0.ɵdid(1, 114688, null, 0, i9.AdminSettingsGeneralComponent, [i10.BsModalService, i2.TranslateService, i11.DealerService, i12.DealerSettingsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminSettingsGeneralComponent_Host_0 = View_AdminSettingsGeneralComponent_Host_0;\nvar AdminSettingsGeneralComponentNgFactory = i0.ɵccf(\"admin-settings-general\", i9.AdminSettingsGeneralComponent, View_AdminSettingsGeneralComponent_Host_0, { dsa: \"dsa\" }, { onValidateField: \"onValidateField\" }, []);\nexports.AdminSettingsGeneralComponentNgFactory = AdminSettingsGeneralComponentNgFactory;\n","
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ item.makeName }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ 'days' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'days' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'dsAdmin_assignedSalesNumbers' | translate }}:\r\n
\r\n
\r\n {{ formatPhoneNumber(twilioSendTextSalesNumber) }}\r\n
\r\n
\r\n
\r\n
\r\n {{ 'dsAdmin_assignedServiceNumbers' | translate }}:\r\n
\r\n
\r\n {{ formatPhoneNumber(twilioSendTextServiceNumber) }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'dsAdmin_CXM_NumberProvisioning' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'dsAdmin_assignedSalesNumbers' | translate }}:\r\n
\r\n
\r\n {{ formatPhoneNumber(twilioSendTextSalesNumberCXM) }}\r\n
\r\n
\r\n
\r\n
\r\n {{ 'dsAdmin_assignedServiceNumbers' | translate }}:\r\n
\r\n
\r\n {{ formatPhoneNumber(twilioSendTextServiceNumberCXM) }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
vAuto Integration
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","require('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.set');\nmodule.exports = require('../modules/_core').Set;\n","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","var path = '/app/components/deal-sheet/contract/contract-select.component.html';\nvar html = \" 0\\\" class=\\\"table table-hover\\\">
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar toaster_logger_service_1 = require(\"../../../../core/toaster-logger.service\");\nvar vincue_modal_component_1 = require(\"../vincue-modal/vincue-modal.component\");\nvar ngx_modal_wrapper_service_1 = require(\"../../../../services/ngx-modal-wrapper.service\");\nvar VinCueComponent = /** @class */ (function () {\n function VinCueComponent(modalService, tService, logger, vehicleService, dealSheetService) {\n this.modalService = modalService;\n this.tService = tService;\n this.logger = logger;\n this.vehicleService = vehicleService;\n this.dealSheetService = dealSheetService;\n }\n VinCueComponent.prototype.ngOnInit = function () {\n };\n VinCueComponent.prototype.ngOnChanges = function (changes) {\n };\n VinCueComponent.prototype.vincueModal = function () {\n var _this = this;\n var initialState = {\n dealerId: this.dealerId,\n customer: this.customer,\n vehicle: this.vehicle,\n assignedUserFullName: this.assignedUserFullName\n };\n this.bsModalRef = this.modalService.show(vincue_modal_component_1.VinCueModalComponent, { initialState: initialState, class: 'vincue-modal' });\n this.bsModalRef.content.onSaveChanges.subscribe(function (result) {\n var vehicle = {\n vin: _this.vehicle.vin,\n make: _this.vehicle.makeName,\n model: _this.vehicle.modelName,\n year: _this.vehicle.yearID,\n odometer: _this.vehicle.estimatedCurrentMileage,\n interiorColor: _this.vehicle.interiorColor > \"\" ? _this.vehicle.interiorColor : \"\",\n exteriorColor: _this.vehicle.exteriorColor > \"\" ? _this.vehicle.exteriorColor : \"\"\n };\n var customer = {\n firstName: _this.customer.firstName,\n lastName: _this.customer.lastName,\n email: _this.customer.emailAddress ? _this.customer.emailAddress.value : \"\",\n homePhone: _this.customer.homePhoneNumber ? _this.customer.homePhoneNumber.value : \"\",\n workPhone: _this.customer.workPhoneNumber ? _this.customer.workPhoneNumber.value : \"\",\n mobilePhone: _this.customer.cellPhoneNumber ? _this.customer.cellPhoneNumber.value : \"\",\n address: _this.customer.address ? _this.customer.address.streetAddress : \"\",\n postalCode: _this.customer.address ? _this.customer.address.zipCode : \"\"\n };\n var appraiser = {\n userName: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\"\n };\n var salesPerson = {\n userName: \"\",\n firstName: _this.assignedUserFullName,\n lastName: \"\",\n email: \"\"\n };\n var request = {\n dealerId: _this.dealerId,\n vehicle: vehicle,\n customer: customer,\n appraiser: appraiser,\n salesPerson: salesPerson\n };\n _this.dealSheetService.vinCueCreateAppraisal(request)\n .then(function (data) {\n if (data && data.appraisalID) {\n _this.logger.success(\"VinCue appraisal successfully created with appraisal id: \" + data.appraisalID);\n _this.showAppraisalPopup(data);\n }\n else {\n _this.logger.error(_this.tService.instant(\"generalErrorMessageKey\"));\n }\n });\n });\n };\n VinCueComponent.prototype.showAppraisalPopup = function (data) {\n console.log('Appraisial ID: ' + data.appraisalID + ' VinCue url: ' + data.deepLink);\n window.open(data.deepLink, '_blank');\n };\n return VinCueComponent;\n}());\nexports.VinCueComponent = VinCueComponent;\n","import { Component, OnInit, Input, OnChanges, Inject, SimpleChanges } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { VehicleService } from '../../../../ajs-upgraded-providers';\r\nimport { ToasterLoggerService } from '../../../../core/toaster-logger.service';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { VinCueModalComponent } from '../vincue-modal/vincue-modal.component';\r\nimport { NgxModalWrapperService } from '../../../../services/ngx-modal-wrapper.service';\r\nimport { DealSheetService } from '../../../../ajs-upgraded-providers';\r\n\r\n@Component({\r\n selector: 'vincue',\r\n templateUrl: './vincue.component-ng.html',\r\n styleUrls: ['./vincue.component.scss']\r\n})\r\nexport class VinCueComponent {\r\n @Input() dealerId: number;\r\n @Input() customer: any;\r\n @Input() vehicle: any;\r\n @Input() assignedUserFullName: string;\r\n bsModalRef: BsModalRef;\r\n\r\n constructor(\r\n public modalService: NgxModalWrapperService,\r\n public tService: TranslateService,\r\n public logger: ToasterLoggerService,\r\n @Inject(VehicleService) private vehicleService,\r\n @Inject(DealSheetService) private dealSheetService) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n }\r\n\r\n public vincueModal() {\r\n\r\n const initialState = {\r\n dealerId: this.dealerId,\r\n customer: this.customer,\r\n vehicle: this.vehicle,\r\n assignedUserFullName: this.assignedUserFullName\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(VinCueModalComponent, { initialState, class: 'vincue-modal' });\r\n\r\n this.bsModalRef.content.onSaveChanges.subscribe((result: any) => {\r\n\r\n var vehicle = {\r\n vin: this.vehicle.vin,\r\n make: this.vehicle.makeName,\r\n model: this.vehicle.modelName,\r\n year: this.vehicle.yearID,\r\n odometer: this.vehicle.estimatedCurrentMileage,\r\n interiorColor: this.vehicle.interiorColor > \"\" ? this.vehicle.interiorColor : \"\",\r\n exteriorColor: this.vehicle.exteriorColor > \"\" ? this.vehicle.exteriorColor : \"\"\r\n }\r\n var customer = {\r\n firstName: this.customer.firstName,\r\n lastName: this.customer.lastName,\r\n email: this.customer.emailAddress ? this.customer.emailAddress.value : \"\",\r\n homePhone: this.customer.homePhoneNumber ? this.customer.homePhoneNumber.value : \"\",\r\n workPhone: this.customer.workPhoneNumber ? this.customer.workPhoneNumber.value : \"\",\r\n mobilePhone: this.customer.cellPhoneNumber ? this.customer.cellPhoneNumber.value : \"\",\r\n address: this.customer.address ? this.customer.address.streetAddress : \"\",\r\n postalCode: this.customer.address ? this.customer.address.zipCode : \"\"\r\n }\r\n var appraiser = {\r\n userName: \"\",\r\n firstName: \"\",\r\n lastName: \"\",\r\n email: \"\"\r\n }\r\n var salesPerson = {\r\n userName: \"\",\r\n firstName: this.assignedUserFullName,\r\n lastName: \"\",\r\n email: \"\"\r\n }\r\n\r\n var request = {\r\n dealerId: this.dealerId,\r\n vehicle: vehicle,\r\n customer: customer,\r\n appraiser: appraiser,\r\n salesPerson: salesPerson\r\n }\r\n\r\n this.dealSheetService.vinCueCreateAppraisal(request)\r\n .then(data => {\r\n if (data && data.appraisalID) {\r\n this.logger.success(\"VinCue appraisal successfully created with appraisal id: \" + data.appraisalID);\r\n this.showAppraisalPopup(data);\r\n }\r\n else {\r\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\r\n }\r\n });\r\n });\r\n }\r\n\r\n public showAppraisalPopup(data) {\r\n console.log('Appraisial ID: ' + data.appraisalID + ' VinCue url: ' + data.deepLink);\r\n window.open(data.deepLink, '_blank');\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nrequire('./admin.scss');\nvar AdminRolesSelectorComponent = /** @class */ (function () {\n function AdminRolesSelectorComponent() {\n this.onSaveChanges = new core_1.EventEmitter();\n this.onCancelChanges = new core_1.EventEmitter();\n this.accessRightChanged = new core_1.EventEmitter();\n this.accessList = '';\n this.categories = '';\n this.hideCategoryCheckbox = false;\n this.readOnly = false;\n this.ICONS = {\n \"editRights\": \"https://assets.autoalert.com/img/autoalert-icons/icon-permissions-edit-lake.svg \",\n \"viewRights\": \"https://assets.autoalert.com/img/autoalert-icons/icon-permissions-view-lake.svg\",\n \"actions\": \"https://assets.autoalert.com/img/autoalert-icons/icon-check-mark-lake.svg\",\n \"opportunities\": require(\"../../images/icons/alert-blocks.svg\"),\n \"employees\": require(\"../../images/icons/icon-usergroup.png\"),\n \"alertDesk\": \"https://assets.autoalert.com/img/autoalert-icons/icon-alert-blocks-no-text.svg\",\n \"inventoryDashboard\": \"https://assets.autoalert.com/img/autoalert-icons/icon-pre-owned-lake.svg\",\n \"reports\": \"https://assets.autoalert.com/img/autoalert-icons/icon-AO-reports-lake.svg\",\n \"dataEntry\": \"https://assets.autoalert.com/img/autoalert-icons/icon-data-entry-lake.svg\",\n \"admin\": \"https://assets.autoalert.com/img/autoalert-icons/icon-product-system-admin-lake.svg\",\n \"adminRoles-miscellaneous\": \"https://assets.autoalert.com/img/autoalert-icons/icon-folder-lake.svg\"\n };\n }\n AdminRolesSelectorComponent.prototype.onItemChecked = function (item) {\n if (!item.allow) {\n item.forEach(function (value) {\n value.allow = item.allow;\n });\n }\n this.accessRightChanged.emit(true);\n };\n AdminRolesSelectorComponent.prototype.onSubItemChecked = function (item, subitem) {\n if (subitem.allow)\n item.allow = subitem.allow;\n this.accessRightChanged.emit(true);\n };\n AdminRolesSelectorComponent.prototype.onSave = function () {\n this.accessRightChanged.emit(false);\n this.onSaveChanges.emit();\n };\n AdminRolesSelectorComponent.prototype.onCancel = function () {\n this.accessRightChanged.emit(false);\n this.onCancelChanges.emit();\n };\n AdminRolesSelectorComponent.prototype.filterSubItemsByCategoryId = function (categoryId, items) {\n if (items != null) {\n var result = items.slice(0).filter(function (i) { return i.categoryId == categoryId; });\n return result;\n }\n return [];\n };\n return AdminRolesSelectorComponent;\n}());\nexports.AdminRolesSelectorComponent = AdminRolesSelectorComponent;\n","import { Component, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter, Pipe, PipeTransform } from '@angular/core';\r\n\r\nrequire('./admin.scss');\r\n\r\n@Component({\r\n selector: 'admin-roles-selector',\r\n templateUrl: './admin-roles-selector.component-ng.html',\r\n styleUrls: ['./admin-roles-selector.component.scss']\r\n})\r\n\r\nexport class AdminRolesSelectorComponent {\r\n\r\n @Output() onSaveChanges = new EventEmitter();\r\n @Output() onCancelChanges = new EventEmitter();\r\n @Output() accessRightChanged = new EventEmitter();\r\n\r\n @Input() accessList: any = '';\r\n @Input() categories: any = '';\r\n @Input() dealerGroupId: number;\r\n @Input() hideCategoryCheckbox: boolean = false;\r\n @Input() readOnly: boolean = false;\r\n\r\n public ICONS = {\r\n \"editRights\": \"https://assets.autoalert.com/img/autoalert-icons/icon-permissions-edit-lake.svg \",\r\n \"viewRights\": \"https://assets.autoalert.com/img/autoalert-icons/icon-permissions-view-lake.svg\",\r\n \"actions\": \"https://assets.autoalert.com/img/autoalert-icons/icon-check-mark-lake.svg\",\r\n \"opportunities\": require(\"../../images/icons/alert-blocks.svg\"),\r\n \"employees\": require(\"../../images/icons/icon-usergroup.png\"),\r\n \"alertDesk\": \"https://assets.autoalert.com/img/autoalert-icons/icon-alert-blocks-no-text.svg\",\r\n \"inventoryDashboard\": \"https://assets.autoalert.com/img/autoalert-icons/icon-pre-owned-lake.svg\",\r\n \"reports\": \"https://assets.autoalert.com/img/autoalert-icons/icon-AO-reports-lake.svg\",\r\n \"dataEntry\": \"https://assets.autoalert.com/img/autoalert-icons/icon-data-entry-lake.svg\",\r\n \"admin\": \"https://assets.autoalert.com/img/autoalert-icons/icon-product-system-admin-lake.svg\",\r\n \"adminRoles-miscellaneous\": \"https://assets.autoalert.com/img/autoalert-icons/icon-folder-lake.svg\"\r\n }\r\n\r\n constructor() {\r\n\r\n }\r\n\r\n public onItemChecked(item: any) {\r\n if (!item.allow) {\r\n item.forEach(function(value: any) {\r\n value.allow = item.allow;\r\n });\r\n }\r\n\r\n this.accessRightChanged.emit(true);\r\n }\r\n\r\n public onSubItemChecked(item: any, subitem: any) {\r\n if (subitem.allow)\r\n item.allow = subitem.allow;\r\n\r\n this.accessRightChanged.emit(true);\r\n }\r\n\r\n public onSave() {\r\n this.accessRightChanged.emit(false);\r\n this.onSaveChanges.emit();\r\n }\r\n\r\n public onCancel() {\r\n this.accessRightChanged.emit(false);\r\n this.onCancelChanges.emit();\r\n }\r\n\r\n public filterSubItemsByCategoryId(categoryId: number, items: any): [] {\r\n if (items != null) {\r\n var result = items.slice(0).filter((i: any) => i.categoryId == categoryId);\r\n return result;\r\n }\r\n\r\n return [];\r\n }\r\n}","var path = '/app/components/deal-sheet/vehicle/vehicle-type.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mobile-vehicles.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../contract/pull-forward/pull-forward.component\"));\nvar i5 = __importStar(require(\"../../contract/auto-check/auto-check.component.ngfactory\"));\nvar i6 = __importStar(require(\"../../contract/auto-check/auto-check.component\"));\nvar i7 = __importStar(require(\"../../contract/carfax/carfax.component.ngfactory\"));\nvar i8 = __importStar(require(\"../../contract/carfax/carfax.component\"));\nvar i9 = __importStar(require(\"../../contract/carproof/carproof.component.ngfactory\"));\nvar i10 = __importStar(require(\"../../contract/carproof/carproof.component\"));\nvar i11 = __importStar(require(\"ng-busy\"));\nvar i12 = __importStar(require(\"../../alerts/alerts.component-ng.ngfactory\"));\nvar i13 = __importStar(require(\"../../alerts/alerts.component-ng\"));\nvar i14 = __importStar(require(\"../../../../filters/locale-date-time.pipe\"));\nvar i15 = __importStar(require(\"../../../../filters/locale-date.pipe\"));\nvar i16 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i17 = __importStar(require(\"../../../../filters/locale-number.pipe\"));\nvar i18 = __importStar(require(\"../../tags/tags.component.ngfactory\"));\nvar i19 = __importStar(require(\"../../tags/tags.component\"));\nvar i20 = __importStar(require(\"../../../../ajs-upgraded-providers\"));\nvar i21 = __importStar(require(\"../../vehicle/vehicle-summary/vehicle-summary.component.ngfactory\"));\nvar i22 = __importStar(require(\"../../vehicle/vehicle-summary/vehicle-summary.component\"));\nvar i23 = __importStar(require(\"../../contract/sale-type/sale-type.component.ngfactory\"));\nvar i24 = __importStar(require(\"../../contract/sale-type/sale-type.component\"));\nvar i25 = __importStar(require(\"../../contract/payments/payments.component.ngfactory\"));\nvar i26 = __importStar(require(\"../../contract/payments/payments.component\"));\nvar i27 = __importStar(require(\"../../contract/annual-percentage-rate/annual-percentage-rate.component.ngfactory\"));\nvar i28 = __importStar(require(\"../../contract/annual-percentage-rate/annual-percentage-rate.component\"));\nvar i29 = __importStar(require(\"../../contract/money-factor/money-factor.component.ngfactory\"));\nvar i30 = __importStar(require(\"../../contract/money-factor/money-factor.component\"));\nvar i31 = __importStar(require(\"../../contract/allowed-mileage/allowed-mileage.component.ngfactory\"));\nvar i32 = __importStar(require(\"../../contract/allowed-mileage/allowed-mileage.component\"));\nvar i33 = __importStar(require(\"../../contract/repair-orders/repair-orders.component.ngfactory\"));\nvar i34 = __importStar(require(\"../../contract/repair-orders/repair-orders.component\"));\nvar i35 = __importStar(require(\"../../contract/service-appointment/service-appointment.component.ngfactory\"));\nvar i36 = __importStar(require(\"../../contract/service-appointment/service-appointment.component\"));\nvar i37 = __importStar(require(\"../../../../filters/locale-time.pipe\"));\nvar i38 = __importStar(require(\"../../contract/mileage-edit-action/mileage-edit-action.component.ngfactory\"));\nvar i39 = __importStar(require(\"../../contract/mileage-edit-action/mileage-edit-action.component\"));\nvar i40 = __importStar(require(\"../../../../services/ngx-modal-wrapper.service\"));\nvar i41 = __importStar(require(\"../../../../core/toaster-logger.service\"));\nvar i42 = __importStar(require(\"../../contract/projected-mileage/projected-mileage.component.ngfactory\"));\nvar i43 = __importStar(require(\"../../contract/projected-mileage/projected-mileage.component\"));\nvar i44 = __importStar(require(\"../../contract/mileage-penalty/mileage-penalty.component.ngfactory\"));\nvar i45 = __importStar(require(\"../../contract/mileage-penalty/mileage-penalty.component\"));\nvar i46 = __importStar(require(\"../../contract/cash-paid/cash-paid.component.ngfactory\"));\nvar i47 = __importStar(require(\"../../contract/cash-paid/cash-paid.component\"));\nvar i48 = __importStar(require(\"../../vehicle/trade-in-value/trade-in-value.component.ngfactory\"));\nvar i49 = __importStar(require(\"../../vehicle/trade-in-value/trade-in-value.component\"));\nvar i50 = __importStar(require(\"../../../../generated/services/vehicle-user-trade-value-client.service\"));\nvar i51 = __importStar(require(\"../../contract/cash-down/cash-down.component.ngfactory\"));\nvar i52 = __importStar(require(\"../../contract/cash-down/cash-down.component\"));\nvar i53 = __importStar(require(\"../../contract/payoff/payoff.component.ngfactory\"));\nvar i54 = __importStar(require(\"../../contract/payoff/payoff.component\"));\nvar i55 = __importStar(require(\"../../contract/contract-end/contract-end.component.ngfactory\"));\nvar i56 = __importStar(require(\"../../contract/contract-end/contract-end.component\"));\nvar i57 = __importStar(require(\"../../contract/extended-warranty/extended-warranty.component.ngfactory\"));\nvar i58 = __importStar(require(\"../../contract/extended-warranty/extended-warranty.component\"));\nvar i59 = __importStar(require(\"../../contract/trade-source-logo/trade-source-logo.component.ngfactory\"));\nvar i60 = __importStar(require(\"../../contract/trade-source-logo/trade-source-logo.component\"));\nvar i61 = __importStar(require(\"../../vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component.ngfactory\"));\nvar i62 = __importStar(require(\"../../vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component\"));\nvar i63 = __importStar(require(\"../../contract/factory-rebate/factory-rebate.component.ngfactory\"));\nvar i64 = __importStar(require(\"../../contract/factory-rebate/factory-rebate.component\"));\nvar i65 = __importStar(require(\"../../contract/dealer-rebate/dealer-rebate.component.ngfactory\"));\nvar i66 = __importStar(require(\"../../contract/dealer-rebate/dealer-rebate.component\"));\nvar i67 = __importStar(require(\"../../contract/personalized-offer/personalized-offer.component\"));\nvar i68 = __importStar(require(\"../../contract/preferred-equity/preferred-equity.component\"));\nvar i69 = __importStar(require(\"../../contract/loyalty-rebate/loyalty-rebate.component\"));\nvar i70 = __importStar(require(\"../../vehicle/fuel-difference/fuel-difference.component\"));\nvar i71 = __importStar(require(\"../../vehicle/mileage/mileage.component\"));\nvar i72 = __importStar(require(\"../../vehicle/price/price.component.ngfactory\"));\nvar i73 = __importStar(require(\"../../vehicle/price/price.component\"));\nvar i74 = __importStar(require(\"../../contract/financed-amount/financed-amount.component.ngfactory\"));\nvar i75 = __importStar(require(\"../../contract/financed-amount/financed-amount.component\"));\nvar i76 = __importStar(require(\"../../contract/capital-cost/capital-cost.component.ngfactory\"));\nvar i77 = __importStar(require(\"../../contract/capital-cost/capital-cost.component\"));\nvar i78 = __importStar(require(\"../../contract/residual/residual.component.ngfactory\"));\nvar i79 = __importStar(require(\"../../contract/residual/residual.component\"));\nvar i80 = __importStar(require(\"./mobile-vehicles.component\"));\nvar i81 = __importStar(require(\"../../../../services/deal-sheet-data.service\"));\nvar i82 = __importStar(require(\"@uirouter/core\"));\nvar i83 = __importStar(require(\"../../../../services/mobile-deal-sheet-data-caching.service\"));\nvar styles_MobileVehiclesComponent = [i0.styles];\nvar RenderType_MobileVehiclesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MobileVehiclesComponent, data: {} });\nexports.RenderType_MobileVehiclesComponent = RenderType_MobileVehiclesComponent;\nfunction View_MobileVehiclesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"inline right left\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\",\"]))], null, null); }\nfunction View_MobileVehiclesComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-offset-1 col-sm-10\"], [\"translate\", \"vehicleManufacturedInYear\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵpod(2, { year: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"vehicleManufacturedInYear\"; var currVal_1 = _ck(_v, 2, 0, ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.yearID)); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_MobileVehiclesComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-sm-offset-1 col-sm-10\"], [\"translate\", \"asteriskNoInformationAvailable\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MobileVehiclesComponent_3)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"asteriskNoInformationAvailable\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.yearID); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_MobileVehiclesComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"value text-uppercase qa-replacement-sale-type\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.saleTypeKeys[((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.saleType))], \"\"); _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_MobileVehiclesComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"warning-text\"], [\"translate\", \"ltvOverAllowance\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"ltvOverAllowance\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_MobileVehiclesComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"pull-forward\", [], null, null, null, null, null)), i1.ɵdid(1, 999424, null, 0, i4.PullForwardComponent, [i1.ElementRef, i1.Injector], { value: [0, \"value\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.pullForwardAmount)); _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_MobileVehiclesComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"vehicle-reports\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"auto-check\", [], null, null, null, i5.View_AutoCheckComponent_0, i5.RenderType_AutoCheckComponent)), i1.ɵdid(2, 638976, null, 0, i6.AutoCheckComponent, [], { permissions: [0, \"permissions\"], dealerSettings: [1, \"dealerSettings\"], opportunityId: [2, \"opportunityId\"], vin: [3, \"vin\"], readonly: [4, \"readonly\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"carfax\", [], null, null, null, i7.View_CarfaxComponent_0, i7.RenderType_CarfaxComponent)), i1.ɵdid(4, 638976, null, 0, i8.CarfaxComponent, [], { permissions: [0, \"permissions\"], dealerSettings: [1, \"dealerSettings\"], opportunityId: [2, \"opportunityId\"], vin: [3, \"vin\"], readonly: [4, \"readonly\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"carproof\", [], null, null, null, i9.View_CarproofComponent_0, i9.RenderType_CarproofComponent)), i1.ɵdid(6, 638976, null, 0, i10.CarproofComponent, [], { permissions: [0, \"permissions\"], dealerSettings: [1, \"dealerSettings\"], opportunityId: [2, \"opportunityId\"], vin: [3, \"vin\"], readonly: [4, \"readonly\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.permissions; var currVal_1 = ((_co.opportunity == null) ? null : _co.opportunity.dealerSettings); var currVal_2 = ((_co.opportunity == null) ? null : _co.opportunity.id); var currVal_3 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.vin); var currVal_4 = true; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); var currVal_5 = _co.permissions; var currVal_6 = ((_co.opportunity == null) ? null : _co.opportunity.dealerSettings); var currVal_7 = ((_co.opportunity == null) ? null : _co.opportunity.id); var currVal_8 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.vin); var currVal_9 = true; _ck(_v, 4, 0, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_10 = _co.permissions; var currVal_11 = ((_co.opportunity == null) ? null : _co.opportunity.dealerSettings); var currVal_12 = ((_co.opportunity == null) ? null : _co.opportunity.id); var currVal_13 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.vin); var currVal_14 = true; _ck(_v, 6, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14); }, null); }\nfunction View_MobileVehiclesComponent_0(_l) { return i1.ɵvid(2, [i1.ɵpid(0, i3.UpperCasePipe, []), (_l()(), i1.ɵeld(1, 16777216, null, null, 137, \"div\", [[\"class\", \"mobile-vehicles-wrapper\"]], null, null, null, null, null)), i1.ɵprd(512, null, i11.InstanceConfigHolderService, i11.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i11.ɵa, i11.ɵa, []), i1.ɵdid(4, 409600, null, 0, i11.NgBusyDirective, [i11.ɵb, i11.InstanceConfigHolderService, i1.ComponentFactoryResolver, i11.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"alerts\", [], null, null, null, i12.View_AlertsComponent_0, i12.RenderType_AlertsComponent)), i1.ɵdid(6, 638976, null, 0, i13.AlertsComponent, [i14.LocaleDateTimePipe, i15.LocaleDatePipe, i16.LocaleCurrencyPipe, i17.LocaleNumberPipe, i2.TranslateService], { values: [0, \"values\"], showRelavantInfo: [1, \"showRelavantInfo\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"tags\", [], null, null, null, i18.View_TagsComponent_0, i18.RenderType_TagsComponent)), i1.ɵdid(8, 638976, null, 0, i19.TagsComponent, [i15.LocaleDatePipe, i20.VehicleService], { values: [0, \"values\"], vehicleId: [1, \"vehicleId\"], dealerId: [2, \"dealerId\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 129, \"div\", [[\"class\", \"dealsheet-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 128, \"div\", [[\"class\", \"carcomparison\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 71, \"div\", [[\"class\", \"carcomparisonie11flexfix\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 70, \"div\", [[\"class\", \"current-contract-summary contract-header qa-existing-vehicle\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(14, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 53, \"div\", [[\"class\", \"contract\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 4, \"div\", [[\"class\", \"current-vehicle-label\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 3, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵppd(20, 1), (_l()(), i1.ɵeld(21, 0, null, null, 47, \"div\", [[\"class\", \"body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 21, \"div\", [[\"class\", \"col-sm-12 current-contract-summary-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(24, 0, null, null, 2, \"div\", [[\"class\", \"vehicle-info\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"vehicle-summary\", [], null, null, null, i21.View_VehicleSummaryComponent_0, i21.RenderType_VehicleSummaryComponent)), i1.ɵdid(26, 638976, null, 0, i22.VehicleSummaryComponent, [], { vehicle: [0, \"vehicle\"], countryId: [1, \"countryId\"], isReplacement: [2, \"isReplacement\"] }, null), (_l()(), i1.ɵeld(27, 0, null, null, 16, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 15, \"div\", [[\"class\", \"contract-info\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(29, 0, null, null, 3, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(30, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 1, \"sale-type\", [], null, null, null, i23.View_SaleTypeComponent_0, i23.RenderType_SaleTypeComponent)), i1.ɵdid(32, 573440, null, 0, i24.SaleTypeComponent, [i1.ElementRef, i1.Injector], { value: [0, \"value\"], conquestType: [1, \"conquestType\"] }, null), (_l()(), i1.ɵeld(33, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 1, \"payments\", [], null, null, null, i25.View_PaymentsComponent_0, i25.RenderType_PaymentsComponent)), i1.ɵdid(35, 638976, null, 0, i26.PaymentsComponent, [], { type: [0, \"type\"], contract: [1, \"contract\"], permissions: [2, \"permissions\"], alertExists: [3, \"alertExists\"], flexAlertExists: [4, \"flexAlertExists\"] }, null), (_l()(), i1.ɵeld(36, 0, null, null, 1, \"annual-percentage-rate\", [[\"class\", \"inline\"]], null, null, null, i27.View_AnnualPercentageRateComponent_0, i27.RenderType_AnnualPercentageRateComponent)), i1.ɵdid(37, 49152, null, 0, i28.AnnualPercentageRateComponent, [i1.ElementRef, i1.Injector, i17.LocaleNumberPipe], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(38, 0, null, null, 1, \"money-factor\", [], null, null, null, i29.View_MoneyFactorComponent_0, i29.RenderType_MoneyFactorComponent)), i1.ɵdid(39, 114688, null, 0, i30.MoneyFactorComponent, [], { value: [0, \"value\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MobileVehiclesComponent_1)), i1.ɵdid(41, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(42, 0, null, null, 1, \"allowed-mileage\", [], null, null, null, i31.View_AllowedMileageComponent_0, i31.RenderType_AllowedMileageComponent)), i1.ɵdid(43, 49152, null, 0, i32.AllowedMileageComponent, [i1.ElementRef, i1.Injector, i17.LocaleNumberPipe], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(44, 0, null, null, 24, \"div\", [[\"class\", \"col-sm-12 col-xs-12 current-contract-summary-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(45, 0, null, null, 10, \"div\", [[\"class\", \"col-sm-6 col-xs-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(46, 0, null, null, 1, \"repair-orders\", [], null, null, null, i33.View_RepairOrdersComponent_0, i33.RenderType_RepairOrdersComponent)), i1.ɵdid(47, 638976, null, 0, i34.RepairOrdersComponent, [i15.LocaleDatePipe, i2.TranslateService], { date: [0, \"date\"], total: [1, \"total\"], alertExists: [2, \"alertExists\"], abbreviate: [3, \"abbreviate\"] }, null), (_l()(), i1.ɵeld(48, 0, null, null, 1, \"service-appointment\", [], null, null, null, i35.View_ServiceAppointmentComponent_0, i35.RenderType_ServiceAppointmentComponent)), i1.ɵdid(49, 638976, null, 0, i36.ServiceAppointmentComponent, [i15.LocaleDatePipe, i14.LocaleDateTimePipe, i37.LocaleTimePipe, i2.TranslateService], { date: [0, \"date\"], alertExists: [1, \"alertExists\"], abbreviate: [2, \"abbreviate\"] }, null), (_l()(), i1.ɵeld(50, 0, null, null, 1, \"mileage-edit-action\", [], null, null, null, i38.View_MileageEditActionComponent_0, i38.RenderType_MileageEditActionComponent)), i1.ɵdid(51, 49152, null, 0, i39.MileageEditActionComponent, [i40.NgxModalWrapperService, i2.TranslateService, i41.ToasterLoggerService, i20.VehicleService], { recordedMileage: [0, \"recordedMileage\"], recordedDate: [1, \"recordedDate\"], estimatedMileage: [2, \"estimatedMileage\"], permissions: [3, \"permissions\"], opportunityId: [4, \"opportunityId\"] }, null), (_l()(), i1.ɵeld(52, 0, null, null, 1, \"projected-mileage\", [[\"alertExists\", \"mileageAlertExists\"]], null, null, null, i42.View_ProjectedMileageComponent_0, i42.RenderType_ProjectedMileageComponent)), i1.ɵdid(53, 114688, null, 0, i43.ProjectedMileageComponent, [], { value: [0, \"value\"], alertExists: [1, \"alertExists\"] }, null), (_l()(), i1.ɵeld(54, 0, null, null, 1, \"mileage-penalty\", [], null, null, null, i44.View_MileagePenaltyComponent_0, i44.RenderType_MileagePenaltyComponent)), i1.ɵdid(55, 114688, null, 0, i45.MileagePenaltyComponent, [], { current: [0, \"current\"], projected: [1, \"projected\"], alertExists: [2, \"alertExists\"] }, null), (_l()(), i1.ɵeld(56, 0, null, null, 12, \"div\", [[\"class\", \"col-sm-6 col-xs-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(57, 0, null, null, 1, \"cash-paid\", [], null, null, null, i46.View_CashPaidComponent_0, i46.RenderType_CashPaidComponent)), i1.ɵdid(58, 49152, null, 0, i47.CashPaidComponent, [i1.ElementRef, i1.Injector, i16.LocaleCurrencyPipe], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(59, 0, null, null, 1, \"trade-in-value\", [[\"inputName\", \"summary-tradeinvalue\"]], null, null, null, i48.View_TradeInValueComponent_0, i48.RenderType_TradeInValueComponent)), i1.ɵdid(60, 49152, null, 0, i49.TradeInValueComponent, [i1.ElementRef, i1.Injector, i50.VehicleUserTradeValueClientService], { value: [0, \"value\"], permissions: [1, \"permissions\"], inputName: [2, \"inputName\"], readonly: [3, \"readonly\"] }, null), (_l()(), i1.ɵeld(61, 0, null, null, 1, \"cash-down\", [], null, null, null, i51.View_CashDownComponent_0, i51.RenderType_CashDownComponent)), i1.ɵdid(62, 114688, null, 0, i52.CashDownComponent, [], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(63, 0, null, null, 1, \"payoff\", [], null, null, null, i53.View_PayoffComponent_0, i53.RenderType_PayoffComponent)), i1.ɵdid(64, 114688, null, 0, i54.PayoffComponent, [i40.NgxModalWrapperService, i2.TranslateService], { value: [0, \"value\"], saleType: [1, \"saleType\"], paymentsRemaining: [2, \"paymentsRemaining\"], paidOff: [3, \"paidOff\"], residualAmount: [4, \"residualAmount\"], permissions: [5, \"permissions\"] }, null), (_l()(), i1.ɵeld(65, 0, null, null, 1, \"contract-end\", [], null, null, null, i55.View_ContractEndComponent_0, i55.RenderType_ContractEndComponent)), i1.ɵdid(66, 114688, null, 0, i56.ContractEndComponent, [], { value: [0, \"value\"], alertExists: [1, \"alertExists\"] }, null), (_l()(), i1.ɵeld(67, 0, null, null, 1, \"extended-warranty\", [], null, null, null, i57.View_ExtendedWarrantyComponent_0, i57.RenderType_ExtendedWarrantyComponent)), i1.ɵdid(68, 114688, null, 0, i58.ExtendedWarrantyComponent, [], { contract: [0, \"contract\"], vehicle: [1, \"vehicle\"], alertExists: [2, \"alertExists\"], permissions: [3, \"permissions\"], replacementVehicleType: [4, \"replacementVehicleType\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MobileVehiclesComponent_2)), i1.ɵdid(70, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(71, 0, null, null, 11, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(72, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-4\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(73, 0, null, null, 1, \"trade-source-logo\", [], [[8, \"hidden\", 0]], null, null, i59.View_TradeSourceLogoComponent_0, i59.RenderType_TradeSourceLogoComponent)), i1.ɵdid(74, 638976, null, 0, i60.TradeSourceLogoComponent, [i1.ElementRef, i1.Injector, i50.VehicleUserTradeValueClientService], { tradeSourceId: [0, \"tradeSourceId\"], countryId: [1, \"countryId\"] }, null), (_l()(), i1.ɵeld(75, 0, null, null, 7, \"div\", [[\"class\", \"col-sm-8\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(76, 0, null, null, 6, \"div\", [[\"class\", \"vehicle-reports pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(77, 0, null, null, 1, \"auto-check\", [], null, null, null, i5.View_AutoCheckComponent_0, i5.RenderType_AutoCheckComponent)), i1.ɵdid(78, 638976, null, 0, i6.AutoCheckComponent, [], { permissions: [0, \"permissions\"], dealerSettings: [1, \"dealerSettings\"], opportunityId: [2, \"opportunityId\"], vin: [3, \"vin\"], readonly: [4, \"readonly\"] }, null), (_l()(), i1.ɵeld(79, 0, null, null, 1, \"carfax\", [], null, null, null, i7.View_CarfaxComponent_0, i7.RenderType_CarfaxComponent)), i1.ɵdid(80, 638976, null, 0, i8.CarfaxComponent, [], { permissions: [0, \"permissions\"], dealerSettings: [1, \"dealerSettings\"], opportunityId: [2, \"opportunityId\"], vin: [3, \"vin\"], readonly: [4, \"readonly\"] }, null), (_l()(), i1.ɵeld(81, 0, null, null, 1, \"carproof\", [], null, null, null, i9.View_CarproofComponent_0, i9.RenderType_CarproofComponent)), i1.ɵdid(82, 638976, null, 0, i10.CarproofComponent, [], { permissions: [0, \"permissions\"], dealerSettings: [1, \"dealerSettings\"], opportunityId: [2, \"opportunityId\"], vin: [3, \"vin\"], readonly: [4, \"readonly\"] }, null), (_l()(), i1.ɵeld(83, 0, null, null, 0, \"hr\", [[\"class\", \"vehicle-seperator\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(84, 0, null, null, 54, \"div\", [[\"class\", \"carcomparisonie11flexfix\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(85, 0, null, null, 53, \"div\", [[\"class\", \"replacement-contract-summary contract-header qa-replacement-vehicle\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(87, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵeld(88, 0, null, null, 48, \"div\", [[\"class\", \"contract\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(89, 0, null, null, 1, \"replacement-vehicle-offers\", [], null, null, null, i61.View_ReplacementVehicleOffersComponent_0, i61.RenderType_ReplacementVehicleOffersComponent)), i1.ɵdid(90, 638976, null, 0, i62.ReplacementVehicleOffersComponent, [], { currentVehicle: [0, \"currentVehicle\"], replacementVehicles: [1, \"replacementVehicles\"] }, null), (_l()(), i1.ɵeld(91, 0, null, null, 45, \"div\", [[\"class\", \"body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(92, 0, null, null, 17, \"div\", [[\"class\", \"col-sm-12 replacement-contract-summary-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(93, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-6 col-xs-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(94, 0, null, null, 2, \"div\", [[\"class\", \"vehicle-info\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(95, 0, null, null, 1, \"vehicle-summary\", [], null, null, null, i21.View_VehicleSummaryComponent_0, i21.RenderType_VehicleSummaryComponent)), i1.ɵdid(96, 638976, null, 0, i22.VehicleSummaryComponent, [], { vehicle: [0, \"vehicle\"], countryId: [1, \"countryId\"], isReplacement: [2, \"isReplacement\"], pricingPlanId: [3, \"pricingPlanId\"], trimPlanPriceSourceName: [4, \"trimPlanPriceSourceName\"], trimPlanPriceSourceId: [5, \"trimPlanPriceSourceId\"] }, null), (_l()(), i1.ɵeld(97, 0, null, null, 12, \"div\", [[\"class\", \"col-sm-6 col-xs-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(98, 0, null, null, 11, \"div\", [[\"class\", \"contract-info qa-replacement-contract-info\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MobileVehiclesComponent_4)), i1.ɵdid(100, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(101, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(102, 0, null, null, 1, \"payments\", [], null, null, null, i25.View_PaymentsComponent_0, i25.RenderType_PaymentsComponent)), i1.ɵdid(103, 638976, null, 0, i26.PaymentsComponent, [], { type: [0, \"type\"], contract: [1, \"contract\"], alertExists: [2, \"alertExists\"], flexAlertExists: [3, \"flexAlertExists\"] }, null), (_l()(), i1.ɵeld(104, 0, null, null, 1, \"annual-percentage-rate\", [], null, null, null, i27.View_AnnualPercentageRateComponent_0, i27.RenderType_AnnualPercentageRateComponent)), i1.ɵdid(105, 49152, null, 0, i28.AnnualPercentageRateComponent, [i1.ElementRef, i1.Injector, i17.LocaleNumberPipe], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(106, 0, null, null, 1, \"money-factor\", [], null, null, null, i29.View_MoneyFactorComponent_0, i29.RenderType_MoneyFactorComponent)), i1.ɵdid(107, 114688, null, 0, i30.MoneyFactorComponent, [], { value: [0, \"value\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MobileVehiclesComponent_5)), i1.ɵdid(109, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(110, 0, null, null, 26, \"div\", [[\"class\", \"col-sm-12 replacement-contract-summary-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(111, 0, null, null, 16, \"div\", [[\"class\", \"col-sm-6 col-xs-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(112, 0, null, null, 1, \"factory-rebate\", [], null, null, null, i63.View_FactoryRebateComponent_0, i63.RenderType_FactoryRebateComponent)), i1.ɵdid(113, 114688, null, 0, i64.FactoryRebateComponent, [], { value: [0, \"value\"], programSourceId: [1, \"programSourceId\"] }, null), (_l()(), i1.ɵeld(114, 0, null, null, 1, \"dealer-rebate\", [], null, null, null, i65.View_DealerRebateComponent_0, i65.RenderType_DealerRebateComponent)), i1.ɵdid(115, 114688, null, 0, i66.DealerRebateComponent, [], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(116, 0, null, null, 1, \"personalized-offer\", [], null, null, null, null, null)), i1.ɵdid(117, 999424, null, 0, i67.PersonalizedOfferComponent, [i1.ElementRef, i1.Injector], { programDetails: [0, \"programDetails\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MobileVehiclesComponent_6)), i1.ɵdid(119, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(120, 0, null, null, 1, \"preferred-equity\", [], null, null, null, null, null)), i1.ɵdid(121, 999424, null, 0, i68.PreferredEquityComponent, [i1.ElementRef, i1.Injector], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(122, 0, null, null, 1, \"loyalty-rebate\", [], null, null, null, null, null)), i1.ɵdid(123, 999424, null, 0, i69.LoyaltyRebateComponent, [i1.ElementRef, i1.Injector], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(124, 0, null, null, 1, \"fuel-difference\", [], null, null, null, null, null)), i1.ɵdid(125, 999424, null, 0, i70.FuelDifferenceComponent, [i1.ElementRef, i1.Injector], { fuelEconomyComparison: [0, \"fuelEconomyComparison\"] }, null), (_l()(), i1.ɵeld(126, 0, null, null, 1, \"mileage\", [], null, null, null, null, null)), i1.ɵdid(127, 999424, null, 0, i71.MileageComponent, [i1.ElementRef, i1.Injector], { value: [0, \"value\"], vehicleType: [1, \"vehicleType\"] }, null), (_l()(), i1.ɵeld(128, 0, null, null, 8, \"div\", [[\"class\", \"col-sm-6 col-xs-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(129, 0, null, null, 1, \"price\", [[\"readonly\", \"true\"]], null, null, null, i72.View_PriceComponent_0, i72.RenderType_PriceComponent)), i1.ɵdid(130, 638976, null, 0, i73.PriceComponent, [i1.ElementRef, i1.Injector], { value: [0, \"value\"], permissions: [1, \"permissions\"], readonly: [2, \"readonly\"] }, null), (_l()(), i1.ɵeld(131, 0, null, null, 1, \"financed-amount\", [], null, null, null, i74.View_FinancedAmountComponent_0, i74.RenderType_FinancedAmountComponent)), i1.ɵdid(132, 114688, null, 0, i75.FinancedAmountComponent, [], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(133, 0, null, null, 1, \"capital-cost\", [], null, null, null, i76.View_CapitalCostComponent_0, i76.RenderType_CapitalCostComponent)), i1.ɵdid(134, 114688, null, 0, i77.CapitalCostComponent, [], { value: [0, \"value\"] }, null), (_l()(), i1.ɵeld(135, 0, null, null, 1, \"residual\", [], null, null, null, i78.View_ResidualComponent_0, i78.RenderType_ResidualComponent)), i1.ɵdid(136, 114688, null, 0, i79.ResidualComponent, [], { value: [0, \"value\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MobileVehiclesComponent_7)), i1.ɵdid(138, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(139, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(140, 0, null, null, 4, \"nav\", [[\"class\", \"navbar navbar-default navbar-fixed-bottom\"], [\"role\", \"navigation\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(141, 0, null, null, 3, \"div\", [[\"class\", \"container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(142, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary btn-block\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.viewReplacementDetails() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(143, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.busy; _ck(_v, 4, 0, currVal_0); var currVal_1 = ((_co.opportunity == null) ? null : _co.opportunity.alerts); var currVal_2 = false; _ck(_v, 6, 0, currVal_1, currVal_2); var currVal_3 = ((_co.opportunity == null) ? null : _co.opportunity.tags); var currVal_4 = ((_co.opportunity == null) ? null : _co.opportunity.vehicleId); var currVal_5 = ((_co.opportunity == null) ? null : _co.opportunity.dealerId); _ck(_v, 8, 0, currVal_3, currVal_4, currVal_5); var currVal_6 = \"current-contract-summary contract-header qa-existing-vehicle\"; var currVal_7 = ((((_co.opportunity == null) ? null : _co.opportunity.currentContract.conquestType) != null) ? \"conquest-header\" : (_co.vehicleTypeKeys[((_co.opportunity == null) ? null : _co.opportunity.currentContract.vehicleType)] + \"-header\")); _ck(_v, 14, 0, currVal_6, currVal_7); var currVal_9 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle); var currVal_10 = ((_co.userProfile == null) ? null : _co.userProfile.countryId); var currVal_11 = false; _ck(_v, 26, 0, currVal_9, currVal_10, currVal_11); var currVal_12 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.saleType); var currVal_13 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.conquestType); _ck(_v, 32, 0, currVal_12, currVal_13); var currVal_14 = _co.paymentTypes.current; var currVal_15 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract); var currVal_16 = _co.permissions; var currVal_17 = _co.alertExists; var currVal_18 = _co.flexAlertExists; _ck(_v, 35, 0, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18); var currVal_19 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.apr); _ck(_v, 37, 0, currVal_19); var currVal_20 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.moneyFactor); _ck(_v, 39, 0, currVal_20); var currVal_21 = ((((_co.opportunity == null) ? null : _co.opportunity.currentContract.allowedMileage) != null) && ((_co.permissions == null) ? null : _co.permissions.viewContract)); _ck(_v, 41, 0, currVal_21); var currVal_22 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.allowedMileage); _ck(_v, 43, 0, currVal_22); var currVal_23 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.openDate); var currVal_24 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.eighteenMonthServiceCount); var currVal_25 = _co.serviceAlertExists; var currVal_26 = true; _ck(_v, 47, 0, currVal_23, currVal_24, currVal_25, currVal_26); var currVal_27 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.appointmentDate); var currVal_28 = _co.appointmentAlertExists; var currVal_29 = true; _ck(_v, 49, 0, currVal_27, currVal_28, currVal_29); var currVal_30 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.odometer); var currVal_31 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.lastOdometerReadingDate); var currVal_32 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.estimatedCurrentMileage); var currVal_33 = _co.permissions; var currVal_34 = ((_co.opportunity == null) ? null : _co.opportunity.id); _ck(_v, 51, 0, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34); var currVal_35 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.estimatedMaturityMileage); var currVal_36 = \"mileageAlertExists\"; _ck(_v, 53, 0, currVal_35, currVal_36); var currVal_37 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.currentMileagePenalty); var currVal_38 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.estimatedMileagePenalty); var currVal_39 = _co.mileageAlertExists; _ck(_v, 55, 0, currVal_37, currVal_38, currVal_39); var currVal_40 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.cashPaid); _ck(_v, 58, 0, currVal_40); var currVal_41 = ((_co.opportunity == null) ? null : ((_co.opportunity.currentVehicle == null) ? null : _co.opportunity.currentVehicle.tradeValue)); var currVal_42 = _co.permissions; var currVal_43 = \"summary-tradeinvalue\"; var currVal_44 = true; _ck(_v, 60, 0, currVal_41, currVal_42, currVal_43, currVal_44); var currVal_45 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.cashDown); _ck(_v, 62, 0, currVal_45); var currVal_46 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.payoffAmount); var currVal_47 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.saleType); var currVal_48 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.paymentsRemaining); var currVal_49 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.paidOff); var currVal_50 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.residualAmount); var currVal_51 = _co.permissions; _ck(_v, 64, 0, currVal_46, currVal_47, currVal_48, currVal_49, currVal_50, currVal_51); var currVal_52 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract.lastPaymentDate); var currVal_53 = _co.contractEndAlertExists; _ck(_v, 66, 0, currVal_52, currVal_53); var currVal_54 = ((_co.opportunity == null) ? null : _co.opportunity.currentContract); var currVal_55 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle); var currVal_56 = _co.warrantyAlertExists; var currVal_57 = _co.permissions; var currVal_58 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.type); _ck(_v, 68, 0, currVal_54, currVal_55, currVal_56, currVal_57, currVal_58); var currVal_59 = !((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.trimID); _ck(_v, 70, 0, currVal_59); var currVal_61 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.tradeSourceID); var currVal_62 = ((_co.userProfile == null) ? null : _co.userProfile.countryId); _ck(_v, 74, 0, currVal_61, currVal_62); var currVal_63 = _co.permissions; var currVal_64 = ((_co.opportunity == null) ? null : _co.opportunity.dealerSettings); var currVal_65 = ((_co.opportunity == null) ? null : _co.opportunity.id); var currVal_66 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.vin); var currVal_67 = true; _ck(_v, 78, 0, currVal_63, currVal_64, currVal_65, currVal_66, currVal_67); var currVal_68 = _co.permissions; var currVal_69 = ((_co.opportunity == null) ? null : _co.opportunity.dealerSettings); var currVal_70 = ((_co.opportunity == null) ? null : _co.opportunity.id); var currVal_71 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.vin); var currVal_72 = true; _ck(_v, 80, 0, currVal_68, currVal_69, currVal_70, currVal_71, currVal_72); var currVal_73 = _co.permissions; var currVal_74 = ((_co.opportunity == null) ? null : _co.opportunity.dealerSettings); var currVal_75 = ((_co.opportunity == null) ? null : _co.opportunity.id); var currVal_76 = ((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.vin); var currVal_77 = true; _ck(_v, 82, 0, currVal_73, currVal_74, currVal_75, currVal_76, currVal_77); var currVal_78 = \"replacement-contract-summary contract-header qa-replacement-vehicle\"; var currVal_79 = (_co.vehicleTypeKeys[((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.type)] + \"-header\"); _ck(_v, 87, 0, currVal_78, currVal_79); var currVal_80 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle); var currVal_81 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicles); _ck(_v, 90, 0, currVal_80, currVal_81); var currVal_82 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle); var currVal_83 = ((_co.userProfile == null) ? null : _co.userProfile.countryId); var currVal_84 = true; var currVal_85 = (((_co.opportunity == null) ? null : _co.opportunity.customer.pricingPlanId) ? ((_co.opportunity == null) ? null : _co.opportunity.customer.pricingPlanId) : null); var currVal_86 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.trimPlanPriceSourceName); var currVal_87 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.trimPlanPriceSourceId); _ck(_v, 96, 0, currVal_82, currVal_83, currVal_84, currVal_85, currVal_86, currVal_87); var currVal_88 = (((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.saleType)) && ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.payment))); _ck(_v, 100, 0, currVal_88); var currVal_89 = _co.paymentTypes.replacement; var currVal_90 = ((_co.opportunity == null) ? null : _co.opportunity.replacementContract); var currVal_91 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.isAlert)); var currVal_92 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.isFlexAlert)); _ck(_v, 103, 0, currVal_89, currVal_90, currVal_91, currVal_92); var currVal_93 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.apr)); _ck(_v, 105, 0, currVal_93); var currVal_94 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.moneyFactor)); _ck(_v, 107, 0, currVal_94); var currVal_95 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.isOverAllowance)); _ck(_v, 109, 0, currVal_95); var currVal_96 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.factoryRebate)); var currVal_97 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.programSourceID)); _ck(_v, 113, 0, currVal_96, currVal_97); var currVal_98 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.dealerRebate)); _ck(_v, 115, 0, currVal_98); var currVal_99 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.programDetails)); _ck(_v, 117, 0, currVal_99); var currVal_100 = _co.showPullForward; _ck(_v, 119, 0, currVal_100); var currVal_101 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.preferredEquity)); _ck(_v, 121, 0, currVal_101); var currVal_102 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.loyaltyRebate)); _ck(_v, 123, 0, currVal_102); var currVal_103 = _co.fuelEconomyComparison; _ck(_v, 125, 0, currVal_103); var currVal_104 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.odometer); var currVal_105 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.type); _ck(_v, 127, 0, currVal_104, currVal_105); var currVal_106 = ((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.price); var currVal_107 = _co.permissions; var currVal_108 = \"true\"; _ck(_v, 130, 0, currVal_106, currVal_107, currVal_108); var currVal_109 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.financedAmount)); _ck(_v, 132, 0, currVal_109); var currVal_110 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.capitalCost)); _ck(_v, 134, 0, currVal_110); var currVal_111 = ((_co.opportunity == null) ? null : ((_co.opportunity.replacementContract == null) ? null : _co.opportunity.replacementContract.residualAmount)); _ck(_v, 136, 0, currVal_111); var currVal_112 = ((((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.type) == _co.vehicleTypes.used) || (((_co.opportunity == null) ? null : _co.opportunity.replacementVehicle.type) == _co.vehicleTypes.cpo)); _ck(_v, 138, 0, currVal_112); }, function (_ck, _v) { var _co = _v.component; var currVal_8 = i1.ɵunv(_v, 18, 0, _ck(_v, 20, 0, i1.ɵnov(_v, 0), i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform(\"currentVehicle\")))); _ck(_v, 18, 0, currVal_8); var currVal_60 = !((((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.tradeSourceID) == _co.tradeValueTypes.blackBookTradeValue) || (((_co.opportunity == null) ? null : _co.opportunity.currentVehicle.tradeSourceID) == _co.tradeValueTypes.galvesTradeValue)); _ck(_v, 73, 0, currVal_60); var currVal_113 = i1.ɵunv(_v, 143, 0, i1.ɵnov(_v, 144).transform(\"viewReplacementDetails\")); _ck(_v, 143, 0, currVal_113); }); }\nexports.View_MobileVehiclesComponent_0 = View_MobileVehiclesComponent_0;\nfunction View_MobileVehiclesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mobile-vehicles\", [], null, null, null, View_MobileVehiclesComponent_0, RenderType_MobileVehiclesComponent)), i1.ɵdid(1, 245760, null, 0, i80.MobileVehiclesComponent, [i81.DealSheetDataService, i82.StateService, i83.MobileDealSheetDataCachingService, i82.Transition, i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MobileVehiclesComponent_Host_0 = View_MobileVehiclesComponent_Host_0;\nvar MobileVehiclesComponentNgFactory = i1.ɵccf(\"mobile-vehicles\", i80.MobileVehiclesComponent, View_MobileVehiclesComponent_Host_0, {}, {}, []);\nexports.MobileVehiclesComponentNgFactory = MobileVehiclesComponentNgFactory;\n","
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{'currentVehicle' | translate | uppercase}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n ,\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar pubnub_1 = __importDefault(require(\"pubnub\"));\nvar rxjs_1 = require(\"rxjs\");\nvar constants_1 = require(\"../constants\");\nvar log_factory_service_1 = require(\"./log-factory.service\");\nvar services_1 = require(\"../generated/services\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"./log-factory.service\"));\nvar i2 = __importStar(require(\"../generated/services/messaging-client.service\"));\nexports.EventTypes = {\n engagement: 0,\n dmsPushResponse: 1\n};\nvar NotificationService = /** @class */ (function () {\n function NotificationService(logFactory, messagingClient) {\n this.messagingClient = messagingClient;\n this.enabled = true;\n this.messageReceivedSubject = new rxjs_1.Subject();\n this.statusReceivedSubject = new rxjs_1.Subject();\n // default to enabled if the variable is not set\n this.enabled = (constants_1.Settings.environmentVariables.notificationServiceEnabled == null ||\n constants_1.Settings.environmentVariables.notificationServiceEnabled);\n this.log = logFactory.get('notificationService');\n this.message$ = this.messageReceivedSubject.asObservable();\n this.statusReceived = this.statusReceivedSubject.asObservable();\n }\n Object.defineProperty(NotificationService.prototype, \"newPushResponse\", {\n get: function () {\n return this.message$\n .pipe(operators_1.filter(function (evt) { return evt.eventType == exports.EventTypes.dmsPushResponse; }));\n },\n enumerable: true,\n configurable: true\n });\n NotificationService.prototype.connect = function () {\n return __awaiter(this, void 0, void 0, function () {\n var connectWithConfig, pubNubConfig, p, err_1;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.enabled) {\n // Not configured, do not connect\n return [2 /*return*/, Promise.resolve()];\n }\n connectWithConfig = function (config) {\n var pubnub = new pubnub_1.default({\n subscribeKey: config.subscriptionKey,\n authKey: config.authorizationKey,\n ssl: true,\n uuid: undefined //config.uuid,\n });\n pubnub.addListener({\n message: function (msg) {\n _this.log.debug('received message:', msg);\n try {\n var parsedEvent = JSON.parse(msg.message);\n _this.messageReceivedSubject.next(parsedEvent);\n }\n catch (err) {\n _this.log.error('could not parse message property:', msg, err);\n }\n },\n status: function (status) {\n _this.log.debug('received status:', status);\n _this.statusReceivedSubject.next(status);\n },\n });\n _this.log.debug('connecting');\n pubnub.subscribe({\n channels: config.channels || undefined,\n channelGroups: config.channelGroups || undefined,\n });\n return pubnub;\n };\n _a.label = 1;\n case 1:\n _a.trys.push([1, 4, , 5]);\n return [4 /*yield*/, this.messagingClient.GetPubNubConfigGET().toPromise()];\n case 2:\n pubNubConfig = _a.sent();\n if (!pubNubConfig) {\n this.log.debug('PubNub disabled');\n return [2 /*return*/];\n }\n return [4 /*yield*/, connectWithConfig(pubNubConfig)];\n case 3:\n p = _a.sent();\n this.pubnub = p;\n return [3 /*break*/, 5];\n case 4:\n err_1 = _a.sent();\n this.log.error('connection error:', err_1);\n return [2 /*return*/];\n case 5: return [2 /*return*/];\n }\n });\n });\n };\n NotificationService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function NotificationService_Factory() { return new NotificationService(i0.ɵɵinject(i1.LogFactory), i0.ɵɵinject(i2.MessagingClientService)); }, token: NotificationService, providedIn: \"root\" });\n return NotificationService;\n}());\nexports.NotificationService = NotificationService;\n","\r\nimport Pubnub from 'pubnub';\r\nimport { Subject, Observable } from 'rxjs';\r\nimport { Settings } from '../constants';\r\nimport { LogFactory, NamedLog } from './log-factory.service';\r\nimport { MessagingClientService } from '../generated/services';\r\nimport { PubNubConfigDto } from '../generated/models/pub-nub-config-dto';\r\nimport { Injectable } from '@angular/core';\r\nimport { filter } from 'rxjs/operators';\r\n\r\nexport const EventTypes = {\r\n engagement: 0,\r\n dmsPushResponse: 1\r\n};\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NotificationService {\r\n private enabled = true;\r\n private log: NamedLog;\r\n private pubnub;\r\n private readonly messageReceivedSubject = new Subject();\r\n private readonly statusReceivedSubject = new Subject();\r\n public message$: Observable;\r\n public statusReceived: Observable;\r\n\r\n constructor(logFactory: LogFactory, private messagingClient: MessagingClientService) { \r\n // default to enabled if the variable is not set\r\n this.enabled = (Settings.environmentVariables.notificationServiceEnabled == null ||\r\n Settings.environmentVariables.notificationServiceEnabled)\r\n\r\n this.log = logFactory.get('notificationService');\r\n\r\n this.message$ = this.messageReceivedSubject.asObservable();\r\n this.statusReceived = this.statusReceivedSubject.asObservable();\r\n } \r\n\r\n public get newPushResponse(): Observable {\r\n return this.message$\r\n .pipe(\r\n filter(evt => evt.eventType == EventTypes.dmsPushResponse)\r\n )\r\n }\r\n\r\n public async connect(): Promise {\r\n \r\n if (!this.enabled) {\r\n // Not configured, do not connect\r\n return Promise.resolve();\r\n }\r\n\r\n const connectWithConfig = (config: PubNubConfigDto) => {\r\n const pubnub = new Pubnub({\r\n subscribeKey: config.subscriptionKey,\r\n authKey: config.authorizationKey,\r\n ssl: true,\r\n uuid: undefined //config.uuid,\r\n });\r\n\r\n pubnub.addListener({\r\n message: (msg) => {\r\n this.log.debug('received message:', msg);\r\n try {\r\n const parsedEvent = JSON.parse(msg.message);\r\n this.messageReceivedSubject.next(parsedEvent);\r\n } catch (err) {\r\n this.log.error('could not parse message property:', msg, err);\r\n }\r\n },\r\n status: (status) => {\r\n this.log.debug('received status:', status);\r\n this.statusReceivedSubject.next(status);\r\n },\r\n });\r\n\r\n this.log.debug('connecting');\r\n pubnub.subscribe({\r\n channels: config.channels || undefined,\r\n channelGroups: config.channelGroups || undefined,\r\n });\r\n\r\n return pubnub;\r\n }\r\n\r\n try {\r\n const pubNubConfig = await this.messagingClient.GetPubNubConfigGET().toPromise();\r\n if (!pubNubConfig) {\r\n this.log.debug('PubNub disabled')\r\n return;\r\n }\r\n const p = await connectWithConfig(pubNubConfig);\r\n this.pubnub = p;\r\n } catch (err) {\r\n this.log.error('connection error:', err);\r\n return;\r\n }\r\n }\r\n}\r\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TagTypes = {\n dealership: 1,\n oem: 2\n};\n","export const TagTypes = {\r\n dealership: 1,\r\n oem: 2\r\n};","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PandoXRuleCategory = {\n Sales: 1,\n Service: 2,\n InventoryAcquisition: 3,\n Conquest: 4\n};\nexports.PandoXRuleCategoryReverse = {\n 1: 'Sales',\n 2: 'Service',\n 3: 'InventoryAcquisition',\n 4: 'Conquest'\n};\n","export const PandoXRuleCategory = {\r\n Sales: 1,\r\n Service: 2,\r\n InventoryAcquisition: 3,\r\n Conquest: 4\r\n}\r\n\r\nexport const PandoXRuleCategoryReverse = {\r\n 1: 'Sales',\r\n 2: 'Service',\r\n 3: 'InventoryAcquisition',\r\n 4: 'Conquest'\r\n}","require('../modules/es6.date.now');\nrequire('../modules/es6.date.to-json');\nrequire('../modules/es6.date.to-iso-string');\nrequire('../modules/es6.date.to-string');\nrequire('../modules/es6.date.to-primitive');\nmodule.exports = Date;\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar pando_communication_service_1 = require(\"../../../services/pando-communication.service\");\nvar toaster_logger_service_1 = require(\"../../../core/toaster-logger.service\");\nvar PandoAvailabilityComponent = /** @class */ (function () {\n function PandoAvailabilityComponent(communicationService, translateService, toaster) {\n this.communicationService = communicationService;\n this.translateService = translateService;\n this.toaster = toaster;\n this.availability = null;\n this.chatStaff = { Availability: null };\n this.availabilityReasons = {};\n this.error = false;\n this.busyNote = '';\n this.busySelectedOption = null;\n this.busyForMinutes = 15;\n this.unavailableNote = '';\n this.unavailableSelectedOption = null;\n this.isDropdownVisible = false;\n this.currentStateImage = \"../../../images/timeclock-available.svg\";\n this.userAvailability = { Available: 10, Busy: 20, NotAvailable: 100 };\n this.modelUserSelection = this.userAvailability.NotAvailable;\n this.errorMsgKey = '';\n }\n PandoAvailabilityComponent.prototype.ngOnInit = function () {\n this.getAvailabilityReasons();\n this.getChatStaff();\n //// block click event so drop down can stay open when clicked inside the panel not inside a button\n $('#availabilityPanelNgx').on(\"click\", function (e) {\n if (e && e.target) {\n e.stopPropagation();\n }\n });\n };\n PandoAvailabilityComponent.prototype.ngOnChanges = function () {\n if (this.chatStaff && this.chatStaff.Availability != null)\n this.chatStaff.Availability = this.availability; // binding from pando-inbox rtc msg\n };\n PandoAvailabilityComponent.prototype.trackByBusyReasonsById = function (index, data) {\n if (!data)\n return null;\n return data.Id;\n };\n PandoAvailabilityComponent.prototype.trackByUnavailableReasonsById = function (index, data) {\n if (!data)\n return null;\n return data.Id;\n };\n PandoAvailabilityComponent.prototype.getAvailabilityReasons = function () {\n var _this = this;\n return this.communicationService.getAvailabilityReasons(this.isAutoAlertUser)\n .then(function (reasons) {\n if (reasons) {\n _this.availabilityReasons = reasons;\n _this.busyReasons = reasons.BusyReasons;\n _this.unavailableReasons = reasons.UnavailableReasons;\n }\n })\n .catch(function (e) { _this.handleError(e); });\n };\n PandoAvailabilityComponent.prototype.getChatStaff = function () {\n var _this = this;\n if (this.isAutoAlertUser) {\n return this.communicationService.getChatStaff(this.isAutoAlertUser)\n .then(function (chatStaff) {\n if (chatStaff && chatStaff.Availability) {\n _this.chatStaff = chatStaff;\n _this.modelUserSelection = _this.chatStaff.Availability.toString();\n }\n })\n .catch(function (e) { _this.handleError(e); });\n }\n else {\n // if PandoUser\n return;\n }\n };\n PandoAvailabilityComponent.prototype.setAvailable = function () {\n var _this = this;\n if (!this.chatStaff) {\n return;\n }\n return this.communicationService.setAvailable(this.isAutoAlertUser)\n .then(function (chatStaff) {\n if (chatStaff && chatStaff.Availability) {\n _this.isDropdownVisible = false;\n _this.chatStaff = chatStaff;\n _this.modelUserSelection = _this.chatStaff.Availability.toString();\n _this.resetUI();\n }\n })\n .catch(function (e) { _this.handleError(e); });\n };\n PandoAvailabilityComponent.prototype.setUnAvailable = function () {\n var _this = this;\n if (!this.chatStaff) {\n return;\n }\n if (!this.unavailableSelectedOption) {\n this.showWarningMessage(\"invalidSelection\");\n return;\n }\n return this.communicationService.setUnavailable(this.isAutoAlertUser, this.unavailableNote, this.unavailableSelectedOption.Id)\n .then(function (chatStaff) {\n if (chatStaff) {\n _this.isDropdownVisible = false;\n _this.chatStaff = chatStaff;\n _this.resetUI();\n _this.showSuccessMessage(\"Your status has been changed to not available.\");\n }\n })\n .catch(function (e) { _this.handleError(e); });\n };\n PandoAvailabilityComponent.prototype.setBusy = function () {\n var _this = this;\n if (!this.chatStaff) {\n return;\n }\n if (typeof (this.busyForMinutes) === \"undefined\") {\n this.showWarningMessage(\"invalidBusyMin\");\n return;\n }\n if (!this.busySelectedOption) {\n this.showWarningMessage(\"invalidSelection\");\n return;\n }\n return this.communicationService.setBusy(this.isAutoAlertUser, this.busyForMinutes, this.busyNote, this.busySelectedOption.Id)\n .then(function (chatStaff) {\n if (chatStaff) {\n _this.isDropdownVisible = false;\n _this.chatStaff = chatStaff;\n _this.resetUI();\n _this.showSuccessMessage(\"Your status has been changed as busy for the next \" + _this.busyForMinutes + \" minuites.\");\n }\n })\n .catch(function (e) { _this.handleError(e); });\n };\n PandoAvailabilityComponent.prototype.onUserAvailabilityClick = function () {\n if (this.chatStaff) {\n if (this.chatStaff.Availability == this.userAvailability.NotAvailable) {\n this.isDropdownVisible = false;\n this.setAvailable();\n }\n else\n this.isDropdownVisible = true;\n }\n };\n PandoAvailabilityComponent.prototype.toggleAvailabilitySwitch = function () {\n this.error = null;\n this.busyNote = '';\n this.busySelectedOption = null;\n this.busyForMinutes = 15;\n this.unavailableNote = '';\n this.unavailableSelectedOption = null;\n };\n PandoAvailabilityComponent.prototype.validateBusyMin = function () {\n if (typeof (this.busyForMinutes) === \"undefined\")\n this.showWarningMessage(\"invalidBusyMin\");\n else\n this.error = false;\n };\n PandoAvailabilityComponent.prototype.resetUI = function () {\n this.error = false;\n if (this.chatStaff && this.chatStaff.Availability != null)\n this.modelUserSelection = this.chatStaff.Availability.toString();\n this.toggleAvailabilitySwitch();\n this.isDropdownVisible = false;\n $(\".dropdown\").removeClass(\"open\");\n };\n PandoAvailabilityComponent.prototype.submitAvailabilityStatus = function () {\n // modelUserSelection assignement in html: like *ngIf=\"modelUserSelection == userAvailability.NotAvailable\"\n // may convert it to string so need to prase it.\n var availability = parseInt(this.modelUserSelection);\n switch (availability) {\n case this.userAvailability.Available:\n this.setAvailable();\n break;\n case this.userAvailability.Busy:\n this.setBusy();\n break;\n case this.userAvailability.NotAvailable:\n this.setUnAvailable();\n break;\n }\n };\n PandoAvailabilityComponent.prototype.handleError = function (e) {\n this.toaster.error(\"generalErrorMessageKey\", e, \"\");\n };\n PandoAvailabilityComponent.prototype.showWarningMessage = function (msg) {\n this.errorMsgKey = msg;\n this.error = true;\n };\n PandoAvailabilityComponent.prototype.showSuccessMessage = function (msg) {\n this.errorMsgKey = msg;\n this.error = false;\n };\n return PandoAvailabilityComponent;\n}());\nexports.PandoAvailabilityComponent = PandoAvailabilityComponent;\n","import { Component, Input, OnChanges, Inject,OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { PandoCommunicationService } from '../../../services/pando-communication.service';\r\nimport { ToasterLoggerService } from '../../../core/toaster-logger.service';\r\n\r\n\r\n\r\n\r\n@Component({\r\n selector: 'pandoAvailability',\r\n templateUrl: './pando-availability.component-ng.html',\r\n styleUrls: ['./pando-availability.component.scss']\r\n})\r\n\r\nexport class PandoAvailabilityComponent implements OnChanges,OnInit {\r\n // define input bindings\r\n @Input() isAutoAlertUser?: boolean;\r\n @Input() isAvailable?: boolean;\r\n @Input() availability? = null;\r\n\r\n public busyReasons;\r\n public unavailableReasons;\r\n public chatStaff = { Availability: null}\r\n public availabilityReasons = {}\r\n\r\n public error = false;\r\n public busyNote = '';\r\n public busySelectedOption? = null;\r\n public busyForMinutes = 15;\r\n public unavailableNote = '';\r\n public unavailableSelectedOption? = null;\r\n public isDropdownVisible = false;\r\n\r\n public currentStateImage = \"../../../images/timeclock-available.svg\";\r\n public userAvailability = { Available: 10, Busy: 20, NotAvailable: 100 };\r\n public modelUserSelection:any = this.userAvailability.NotAvailable;\r\n\r\n public errorMsgKey = '';\r\n\r\n\r\n constructor(public communicationService: PandoCommunicationService, public translateService: TranslateService, public toaster: ToasterLoggerService) {\r\n\r\n\r\n\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.getAvailabilityReasons();\r\n this.getChatStaff();\r\n\r\n //// block click event so drop down can stay open when clicked inside the panel not inside a button\r\n $('#availabilityPanelNgx').on(\"click\", function (e) {\r\n if (e && e.target) { \r\n e.stopPropagation();\r\n }\r\n });\r\n }\r\n\r\n ngOnChanges() {\r\n if (this.chatStaff && this.chatStaff.Availability != null)\r\n this.chatStaff.Availability = this.availability; // binding from pando-inbox rtc msg\r\n }\r\n\r\n public trackByBusyReasonsById(index, data) {\r\n if (!data) return null;\r\n return data.Id;\r\n }\r\n\r\n public trackByUnavailableReasonsById(index, data) {\r\n if (!data) return null;\r\n return data.Id;\r\n }\r\n\r\n\r\n\r\n private getAvailabilityReasons() {\r\n return this.communicationService.getAvailabilityReasons(this.isAutoAlertUser)\r\n .then( reasons => {\r\n if (reasons) {\r\n\r\n this.availabilityReasons = reasons;\r\n this.busyReasons = reasons.BusyReasons;\r\n this.unavailableReasons = reasons.UnavailableReasons;\r\n }\r\n })\r\n .catch((e) => { this.handleError(e); });\r\n }\r\n\r\n private getChatStaff() {\r\n \r\n if (this.isAutoAlertUser) {\r\n return this.communicationService.getChatStaff(this.isAutoAlertUser)\r\n .then(chatStaff => {\r\n if (chatStaff && chatStaff.Availability) {\r\n this.chatStaff = chatStaff;\r\n this.modelUserSelection = this.chatStaff.Availability.toString();\r\n }\r\n })\r\n .catch((e) => { this.handleError(e); });\r\n }\r\n else {\r\n // if PandoUser\r\n return;\r\n }\r\n }\r\n\r\n private setAvailable() {\r\n\r\n if (!this.chatStaff) {\r\n return;\r\n }\r\n\r\n \r\n return this.communicationService.setAvailable(this.isAutoAlertUser)\r\n .then(chatStaff => {\r\n if (chatStaff && chatStaff.Availability) {\r\n this.isDropdownVisible = false;\r\n this.chatStaff = chatStaff;\r\n this.modelUserSelection = this.chatStaff.Availability.toString();\r\n this.resetUI();\r\n }\r\n })\r\n .catch((e) => { this.handleError(e); });\r\n \r\n }\r\n\r\n private setUnAvailable() {\r\n\r\n if (!this.chatStaff) {\r\n return;\r\n }\r\n\r\n if (!this.unavailableSelectedOption) {\r\n this.showWarningMessage(\"invalidSelection\");\r\n return;\r\n }\r\n \r\n return this.communicationService.setUnavailable(this.isAutoAlertUser, this.unavailableNote, this.unavailableSelectedOption.Id)\r\n .then(chatStaff => {\r\n if (chatStaff) {\r\n this.isDropdownVisible = false;\r\n this.chatStaff = chatStaff;\r\n this.resetUI();\r\n this.showSuccessMessage(\"Your status has been changed to not available.\");\r\n }\r\n })\r\n .catch((e) => { this.handleError(e); });\r\n \r\n }\r\n\r\n private setBusy() {\r\n\r\n if (!this.chatStaff) {\r\n return;\r\n }\r\n\r\n if (typeof (this.busyForMinutes) === \"undefined\") {\r\n this.showWarningMessage(\"invalidBusyMin\");\r\n return;\r\n }\r\n\r\n if (!this.busySelectedOption) {\r\n this.showWarningMessage(\"invalidSelection\");\r\n return;\r\n }\r\n\r\n \r\n return this.communicationService.setBusy(this.isAutoAlertUser, this.busyForMinutes, this.busyNote, this.busySelectedOption.Id)\r\n .then(chatStaff => {\r\n if (chatStaff) {\r\n this.isDropdownVisible = false;\r\n this.chatStaff = chatStaff;\r\n this.resetUI();\r\n this.showSuccessMessage(\"Your status has been changed as busy for the next \" + this.busyForMinutes + \" minuites.\");\r\n }\r\n })\r\n .catch((e) => { this.handleError(e); });\r\n \r\n }\r\n\r\n public onUserAvailabilityClick() {\r\n if (this.chatStaff) {\r\n if (this.chatStaff.Availability == this.userAvailability.NotAvailable) {\r\n this.isDropdownVisible = false;\r\n this.setAvailable();\r\n }\r\n else\r\n this.isDropdownVisible = true;\r\n\r\n }\r\n\r\n }\r\n\r\n public toggleAvailabilitySwitch() {\r\n this.error = null;\r\n this.busyNote = '';\r\n this.busySelectedOption = null;\r\n this.busyForMinutes = 15;\r\n this.unavailableNote = '';\r\n this.unavailableSelectedOption = null;\r\n }\r\n\r\n public validateBusyMin() {\r\n if (typeof (this.busyForMinutes) === \"undefined\")\r\n this.showWarningMessage(\"invalidBusyMin\");\r\n else\r\n this.error = false;\r\n }\r\n\r\n public resetUI() {\r\n this.error = false;\r\n if (this.chatStaff && this.chatStaff.Availability != null)\r\n this.modelUserSelection = this.chatStaff.Availability.toString();\r\n this.toggleAvailabilitySwitch();\r\n this.isDropdownVisible = false;\r\n $(\".dropdown\").removeClass(\"open\");\r\n\r\n }\r\n\r\n\r\n public submitAvailabilityStatus() {\r\n // modelUserSelection assignement in html: like *ngIf=\"modelUserSelection == userAvailability.NotAvailable\"\r\n // may convert it to string so need to prase it.\r\n\r\n var availability = parseInt(this.modelUserSelection);\r\n\r\n switch (availability) {\r\n case this.userAvailability.Available:\r\n this.setAvailable();\r\n break;\r\n case this.userAvailability.Busy:\r\n this.setBusy();\r\n break;\r\n case this.userAvailability.NotAvailable:\r\n this.setUnAvailable();\r\n break;\r\n }\r\n \r\n }\r\n\r\n\r\n private handleError(e) {\r\n this.toaster.error(\"generalErrorMessageKey\",e,\"\");\r\n }\r\n\r\n private showWarningMessage(msg) {\r\n this.errorMsgKey = msg;\r\n this.error = true;\r\n }\r\n\r\n private showSuccessMessage(msg) {\r\n this.errorMsgKey = msg;\r\n this.error = false;\r\n }\r\n\r\n\r\n\r\n}\r\n","// 20.2.2.9 Math.cbrt(x)\nvar $export = require('./_export');\nvar sign = require('./_math-sign');\n\n$export($export.S, 'Math', {\n cbrt: function cbrt(x) {\n return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n }\n});\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar PrintOfferBatchClientService = /** @class */ (function (_super) {\n __extends(PrintOfferBatchClientService, _super);\n function PrintOfferBatchClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityIds undefined\n */\n PrintOfferBatchClientService.prototype.OpenBatchPOSTResponse = function (entityIds) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = entityIds;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/PrintOfferBatch/OpenBatch\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityIds undefined\n */\n PrintOfferBatchClientService.prototype.OpenBatchPOST = function (entityIds) {\n return this.OpenBatchPOSTResponse(entityIds).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n PrintOfferBatchClientService.prototype.GetDealerStatusesGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/PrintOfferBatch/GetDealerStatuses\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n PrintOfferBatchClientService.prototype.GetDealerStatusesGET = function () {\n return this.GetDealerStatusesGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n PrintOfferBatchClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/PrintOfferBatch/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n PrintOfferBatchClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n PrintOfferBatchClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/PrintOfferBatch/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n PrintOfferBatchClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n PrintOfferBatchClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/PrintOfferBatch/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n PrintOfferBatchClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n PrintOfferBatchClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/PrintOfferBatch\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n PrintOfferBatchClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n PrintOfferBatchClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/PrintOfferBatch\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n PrintOfferBatchClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n PrintOfferBatchClientService.OpenBatchPOSTPath = '/api/PrintOfferBatch/OpenBatch';\n PrintOfferBatchClientService.GetDealerStatusesGETPath = '/api/PrintOfferBatch/GetDealerStatuses';\n PrintOfferBatchClientService.ByIdGETPath = '/api/PrintOfferBatch/{id}';\n PrintOfferBatchClientService.ByIdDELETEPath = '/api/PrintOfferBatch/{id}';\n PrintOfferBatchClientService.GetManyGETPath = '/api/PrintOfferBatch/GetMany';\n PrintOfferBatchClientService.PUTPath = '/api/PrintOfferBatch';\n PrintOfferBatchClientService.POSTPath = '/api/PrintOfferBatch';\n PrintOfferBatchClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PrintOfferBatchClientService_Factory() { return new PrintOfferBatchClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: PrintOfferBatchClientService, providedIn: \"root\" });\n return PrintOfferBatchClientService;\n}(base_service_1.BaseService));\nexports.PrintOfferBatchClientService = PrintOfferBatchClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { PrintOfferDealerStatusDto } from '../models/print-offer-dealer-status-dto';\r\nimport { PrintOfferBatchDto } from '../models/print-offer-batch-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass PrintOfferBatchClientService extends __BaseService {\r\n static readonly OpenBatchPOSTPath = '/api/PrintOfferBatch/OpenBatch';\r\n static readonly GetDealerStatusesGETPath = '/api/PrintOfferBatch/GetDealerStatuses';\r\n static readonly ByIdGETPath = '/api/PrintOfferBatch/{id}';\r\n static readonly ByIdDELETEPath = '/api/PrintOfferBatch/{id}';\r\n static readonly GetManyGETPath = '/api/PrintOfferBatch/GetMany';\r\n static readonly PUTPath = '/api/PrintOfferBatch';\r\n static readonly POSTPath = '/api/PrintOfferBatch';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityIds undefined\r\n */\r\n OpenBatchPOSTResponse(entityIds?: Array): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = entityIds;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/PrintOfferBatch/OpenBatch`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityIds undefined\r\n */\r\n OpenBatchPOST(entityIds?: Array): __Observable {\r\n return this.OpenBatchPOSTResponse(entityIds).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetDealerStatusesGETResponse(): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/PrintOfferBatch/GetDealerStatuses`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetDealerStatusesGET(): __Observable> {\r\n return this.GetDealerStatusesGETResponse().pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/PrintOfferBatch/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: string): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as PrintOfferBatchDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/PrintOfferBatch/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: string): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/PrintOfferBatch/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: PrintOfferBatchDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/PrintOfferBatch`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: PrintOfferBatchDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: PrintOfferBatchDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/PrintOfferBatch`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: PrintOfferBatchDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as PrintOfferBatchDto)\r\n );\r\n }\r\n}\r\n\r\nmodule PrintOfferBatchClientService {\r\n}\r\n\r\nexport { PrintOfferBatchClientService }\r\n","var path = '/app/components/legacy-iframe-support.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"possible-nlo {\\n font-size: 11pt;\\n}\\npossible-nlo label, possible-nlo .form-control {\\n font-size: 11pt;\\n}\\npossible-nlo .grid-alert {\\n float: left;\\n margin-right: 5px;\\n margin-top: 2px;\\n margin-bottom: -4px;\\n}\\npossible-nlo .table > thead > tr > th,\\npossible-nlo .table > tbody > tr > th {\\n text-align: center;\\n font-weight: bold;\\n}\\npossible-nlo .table > thead > tr > th.th-group,\\npossible-nlo .table > tbody > tr > th.th-group {\\n border-bottom: solid 1px #1f8bd5;\\n color: #1f8bd5;\\n vertical-align: bottom;\\n}\\npossible-nlo .table > tbody > tr > th,\\npossible-nlo .table > tbody > tr > td {\\n text-align: center;\\n}\\npossible-nlo .table > tbody > tr > th.align-left,\\npossible-nlo .table > tbody > tr > td.align-left {\\n text-align: left;\\n}\\npossible-nlo .table > tbody > tr > th.align-right,\\npossible-nlo .table > tbody > tr > td.align-right {\\n text-align: right;\\n}\\npossible-nlo td {\\n padding-bottom: 5px;\\n}\\npossible-nlo .float-right {\\n float: right;\\n padding-right: 15px;\\n}\\npossible-nlo .padding-left {\\n padding-left: 20px;\\n}\\npossible-nlo .margin-left {\\n margin-left: 10px;\\n}\\npossible-nlo .page-title {\\n padding: 10px 0 0 10px;\\n float: left;\\n font-size: 18pt;\\n color: #444B4F;\\n}\\npossible-nlo .title-dealer {\\n color: black;\\n margin-top: 18px;\\n float: left;\\n}\\npossible-nlo .dealer-select {\\n padding: 10px 0 0 10px;\\n float: left;\\n}\\npossible-nlo hr {\\n border-top: 1px solid #1F8BD5;\\n margin-bottom: 10px;\\n margin-top: 10px !important;\\n}\\npossible-nlo a {\\n color: #1F8BD5;\\n}\\npossible-nlo hr:not(.margin-top) {\\n margin-top: 10;\\n}\\npossible-nlo .expire-date {\\n color: red;\\n}\\npossible-nlo .bold {\\n font-weight: bold;\\n}\\npossible-nlo .padding-bottom {\\n padding-bottom: 10px;\\n}\\npossible-nlo .error {\\n color: Red !important;\\n}\\npossible-nlo .edit-box {\\n border: 1px solid #ccc;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n -webkit-appearance: none;\\n}\\npossible-nlo .edit-box-error {\\n border: 1px solid red;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n -webkit-appearance: none;\\n}\\npossible-nlo .validate-error {\\n border: 1px solid red;\\n}\\npossible-nlo .k-grid td {\\n /*font-size: 12pt;*/\\n font-size: 14px;\\n font-family: \\\"Roboto\\\";\\n padding-top: 2px;\\n padding-bottom: 2px;\\n padding-right: 5px;\\n padding-left: 5px;\\n}\\npossible-nlo .k-grid-header th.k-header {\\n /*font-size: 12pt;*/\\n font-size: 14px;\\n font-weight: 500;\\n}\\npossible-nlo .nlo-wrapper {\\n padding-left: 15px;\\n padding-right: 15px;\\n width: 100%;\\n background-color: #E7E7E7;\\n}\\npossible-nlo .divider {\\n border-top: 1px solid #1F8BD5;\\n margin-bottom: 10px;\\n margin-top: 10px !important;\\n}\\npossible-nlo .tab-padding {\\n margin: 20px 0 0 0;\\n}\\npossible-nlo .grid-container-padding {\\n padding: 10px 30px 0px 30px;\\n min-height: 900px;\\n}\\npossible-nlo .header-background {\\n background-color: #172751;\\n}\\npossible-nlo .btn-label {\\n color: white;\\n text-align: right;\\n padding: 10px;\\n}\\npossible-nlo .small-margin {\\n margin: 3px;\\n}\\npossible-nlo .k-grid table {\\n width: 100% !important;\\n}\\npossible-nlo .svg-icon.xsm {\\n width: 16px;\\n height: 16px;\\n padding: 1px;\\n margin-bottom: 1px;\\n margin-top: 1px;\\n}\\npossible-nlo .k-grid .k-grid-header .k-header .k-link {\\n height: auto;\\n}\\npossible-nlo .k-grid .k-grid-header .k-header {\\n white-space: normal;\\n}\\npossible-nlo #gridNlo th.k-header.align-center {\\n text-align: center;\\n}\\npossible-nlo #gridNlo th.k-grid-content.align-center {\\n text-align: center;\\n}\\npossible-nlo .faalert {\\n border-radius: 3px;\\n background: #f53142;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\npossible-nlo .faservice {\\n border-radius: 3px;\\n background: #42b93f;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\npossible-nlo .facontractend {\\n border-radius: 3px;\\n background: #226be6;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\npossible-nlo .famileage {\\n border-radius: 3px;\\n background: #fe6e1a;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\npossible-nlo .fawarranty {\\n border-radius: 3px;\\n background: #7a5ec8;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\npossible-nlo .fafflexalert {\\n border-radius: 3px;\\n background: #824119;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\npossible-nlo .faappointment {\\n border-radius: 3px;\\n background: #257F31;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\npossible-nlo .fainmarket {\\n border-radius: 3px;\\n background: #CC8800;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\npossible-nlo .fainmarketengaged {\\n border-radius: 3px;\\n background: #FCAF26;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.replacement-popup {\\n margin: 0px;\\n}\\n.replacement-popup .replacement-popup-list {\\n overflow-y: auto;\\n height: 180px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9wb3NzaWJsZS1ubG8vQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxwb3NzaWJsZS1ubG9cXHBvc3NpYmxlLW5sby5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9wb3NzaWJsZS1ubG8vcG9zc2libGUtbmxvLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3Bvc3NpYmxlLW5sby9DOlxcQXV0b0FsZXJ0XFx3b3Jrc3BhY2VcXEFsZXJ0TWluZXItUG9ydGFsX3JlbGVhc2VfNi42My4wXFxBdXRvQWxlcnQuUG9ydGFsLk9wcG9ydHVuaXRpZXMvc3JjXFxhcHBcXHN0eWxlc1xcX3ZhcmlhYmxlcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtBO0VBQ0ksZ0JBSlE7Q0NBWDtBRE1HO0VBQ0ksZ0JBUEk7Q0NHWDtBRE9HO0VBQ0ksWUFBQTtFQUNBLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxvQkFBQTtDQ0xQO0FE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WJhY2tncm91bmQtY29sb3I6ICNFN0U3RTc7XHJcblxyXG5wb3NzaWJsZS1ubG8ge1xyXG4gICAgZm9udC1zaXplOiAkZm9udC1zaXplO1xyXG4gICAgLy8gT3ZlcnJpZGVzIGZvciBmb250LXNpemVzIHdlJ3ZlIHB1dCBlbHNld2hlcmVcclxuICAgIGxhYmVsLCAuZm9ybS1jb250cm9sIHtcclxuICAgICAgICBmb250LXNpemU6ICRmb250LXNpemU7XHJcbiAgICB9XHJcblxyXG4gICAgLmdyaWQtYWxlcnQge1xyXG4gICAgICAgIGZsb2F0OiBsZWZ0O1xyXG4gICAgICAgIG1hcmdpbi1yaWdodDogNXB4O1xyXG4gICAgICAgIG1hcmdpbi10b3A6IDJweDtcclxuICAgICAgICBtYXJnaW4tYm90dG9tOiAtNHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC50YWJsZSA+IHRoZWFkID4gdHIgPiB0aCxcclxuICAgIC50YWJsZSA+IHRib2R5ID4gdHIgPiB0aCB7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG5cclxuICAgICAgICAmLnRoLWdyb3VwIHtcclxuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogc29saWQgMXB4ICRncmFkaWVudC1saWdodC1jb2xvcjtcclxuICAgICAgICAgICAgY29sb3I6ICRncmFkaWVudC1saWdodC1jb2xvcjtcclxuICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IGJvdHRvbTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLnRhYmxlID4gdGJvZHkgPiB0ciA+IHRoLFxyXG4gICAgLnRhYmxlID4gdGJvZHkgPiB0ciA+IHRkIHtcclxuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcblxyXG4gICAgICAgICYuYWxpZ24tbGVmdCB7XHJcbiAgICAgICAgICAgIHRleHQtYWxpZ246IGxlZnQ7XHJcbiAg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YXJnaW4tdG9wOiAxMHB4ICFpbXBvcnRhbnQ7XHJcbiAgICB9XHJcblxyXG4gICAgYSB7XHJcbiAgICAgICAgY29sb3I6ICMxRjhCRDU7XHJcbiAgICB9XHJcblxyXG4gICAgaHI6bm90KC5tYXJnaW4tdG9wKSB7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMTA7XHJcbiAgICB9XHJcblxyXG4gICAgLmV4cGlyZS1kYXRlIHtcclxuICAgICAgICBjb2xvcjogcmVkO1xyXG4gICAgfVxyXG5cclxuICAgIC5ib2xkIHtcclxuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgIH1cclxuXHJcbiAgICAucGFkZGluZy1ib3R0b20ge1xyXG4gICAgICAgIHBhZGRpbmctYm90dG9tOiAxMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5lcnJvciB7XHJcbiAgICAgICAgY29sb3I6IFJlZCAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIC5lZGl0LWJveCB7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2NjYztcclxuICAgICAgICAtbW96LWJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgLXdlYmtpdC1ib3JkZXItcmFkaXVzOiAxMHB4O1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgaGVpZ2h0OiAyMHB4O1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTJwdDtcclxuICAgICAgICBwYWRkaW5nOiAycHggOHB4O1xyXG4gICAgICAgIG91dGxpbmU6IDA7XHJcbiAgICAgICAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lO1xyXG4gICAgfVxyXG5cclxuICAgIC5lZGl0LWJveC1lcnJvciB7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgcmVkO1xyXG4gICAgICAgIC1tb3otYm9yZGVyLXJhZGl1czogMTBweDtcclxuICAgICAgICAtd2Via2l0LWJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMTBweDtcclxuICAgICAgICBoZWlnaHQ6IDIwcHg7XHJcbiAgICAgICAgZm9udC1zaXplOiAxMnB0O1xyXG4gICAgICAgIHBhZGRpbmc6IDJweCA4cHg7XHJcbiAgICAgICAgb3V0bGluZTogMDtcclxuICAgICAgICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7XHJcbiAgICB9XHJcblxyXG4gICAgLnZhbGlkYXRlLWVycm9yIHtcclxuICAgICAgICBib3JkZXI6IDFweCBzb2xpZCByZWQ7XHJcbiAgICB9XHJcblxyXG4gICAgLmstZ3JpZCB0ZCB7XHJcbiAgICAgICAgLypmb250LXNpemU6IDEycHQ7Ki9cclxuICAgICAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICAgICAgZm9udC1mYW1pbHk6ICRrZW5kb0dyaWRGb250RmFtaWx5O1xyXG4gICAgICAgIHBhZGRpbmctdG9wOiAycHg7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDJweDtcclxuICAgICAgICBwYWRkaW5nLXJpZ2h0OiA1cHg7XHJcbiAgICAgICAgcGFkZGluZy1sZWZ0OiA1cHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmstZ3JpZC1oZWFkZXIgdGguay1oZWFkZXIge1xyXG4gICAgICAgIC8qZm9udC1zaXplOiAxMnB0OyovXHJcbiAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiA1MDA7XHJcbiAgICB9XHJcblxyXG4gICAgLm5sby13cmFwcGVyIHtcclxuICAgICAgICBwYWRkaW5nLWxlZnQ6IDE1cHg7XHJcbiAgICAgICAgcGFkZGluZy1yaWdodDogMTVweDtcclxuICAgICAgICB3aWR0aDogMTAwJTtcclxuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkZnJhbWUtYmFja2dyb3VuZC1jb2xvcjtcclxuICAgIH1cclxuXHJcbiAgICAuZGl2aWRlciB7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogMXB4IHNvbGlkICMxRjhCRDU7XHJcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMTBweDtcclxuICAgICAgICBtYXJnaW4tdG9wOiAxMHB4ICFpbXBvcnRhbnQ7XHJcbiAgICB9XHJcblxyXG4gICAgLnRhYi1wYWRkaW5nIHtcclxuICAgICAgICBtYXJnaW46IDIwcHggMCAwIDA7XHJcbiAgICB9XHJcblxyXG4gICAgLmdyaWQtY29udGFpbmVyLXBhZGRpbmcge1xyXG4gICAgICAgIHBhZGRpbmc6IDEwcHggMzBweCAwcHggMzBweDtcclxuICAgICAgICBtaW4taGVpZ2h0OiA5MDBweDtcclxuICAgIH1cclxuXHJcbiAgICAuaGVhZGVyLWJhY2tncm91bmQge1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICMxNzI3NTE7XHJcbiAgICB9XHJcblxyXG4gICAgLmJ0bi1sYWJlbCB7XHJcbiAgICAgICAgY29sb3I6IHdoaXRlO1xyXG4gICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xyXG4gICAgICAgIHBhZGRpbmc6IDEwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLnNtYWxsLW1hcmdpbiB7XHJcbiAgICAgICAgbWFyZ2luOiAzcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmstZ3JpZCB0YWJsZSB7XHJcbiAgICAgICAgd2lkdGg6IDEwMCUgIWltcG9ydGFudDtcclxuICAgIH1cclxuXHJcbiAgICAuc3ZnLWljb24ge1xyXG4gICAgICAgICYueHNtIHtcclxuICAgICAgICAgICAgd2lkdGg6IDE2cHg7XHJcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcclxuICAgICAgICAgICAgcGFkZGluZzogMXB4O1xyXG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAxcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDFweDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLmstZ3JpZCAuay1ncmlkLWhlYWRlciAuay1oZWFkZXIgLmstbGluayB7XHJcbiAgICAgICAgaGVpZ2h0OiBhdXRvO1xyXG4gICAgfVxyXG5cclxuICAgIC5rLWdyaWQgLmstZ3JpZC1oZWFkZXIgLmstaGVhZGVyIHtcclxuICAgICAgICB3aGl0ZS1zcGFjZTogbm9ybWFsO1xyXG4gICAgfVxyXG5cclxuICAgICNncmlkTmxvIHRoLmstaGVhZGVyLmFsaWduLWNlbnRlciB7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgfVxyXG5cclxuICAgICNncmlkTmxvIHRoLmstZ3JpZC1jb250ZW50LmFsaWduLWNlbnRlciB7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgfVxyXG5cclxuICAgIC5mYWFsZXJ0IHtcclxuICAgICAgICBib3JkZXItcmFkaXVzOiAzcHg7XHJcbiAgICAgICAgYmFja2dyb3VuZDogI2Y1MzE0MjtcclxuICAgICAgICB3aWR0aDogMThweDtcclxuICAgICAgICBoZWlnaHQ6IDE4cHg7XHJcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHggIWltcG9ydGFudDtcclxuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5mYXNlcnZpY2Uge1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDNweDtcclxuICAgICAgICBiYWNrZ3JvdW5kOiAjNDJiOTNmO1xyXG4gICAgICAgIHdpZHRoOiAxOHB4O1xyXG4gICAgICAgIGhlaWdodDogMThweDtcclxuICAgICAgICBsaW5lLWhlaWdodDogMThweCAhaW1wb3J0YW50O1xyXG4gICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgICAgICBtYXJnaW4tdG9wOiAwcHg7XHJcbiAgICB9XH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R0aDogMThweDtcclxuICAgICAgICBoZWlnaHQ6IDE4cHg7XHJcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHggIWltcG9ydGFudDtcclxuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5mYWFwcG9pbnRtZW50IHtcclxuICAgICAgICBib3JkZXItcmFkaXVzOiAzcHg7XHJcbiAgICAgICAgYmFja2dyb3VuZDogIzI1N0YzMTtcclxuICAgICAgICB3aWR0aDogMThweDtcclxuICAgICAgICBoZWlnaHQ6IDE4cHg7XHJcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHggIWltcG9ydGFudDtcclxuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5mYWlubWFya2V0IHtcclxuICAgICAgICBib3JkZXItcmFkaXVzOiAzcHg7XHJcbiAgICAgICAgYmFja2dyb3VuZDogI0NDODgwMDtcclxuICAgICAgICB3aWR0aDogMThweDtcclxuICAgICAgICBoZWlnaHQ6IDE4cHg7XHJcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHggIWltcG9ydGFudDtcclxuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5mYWlubWFya2V0ZW5nYWdlZCB7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xyXG4gICAgICAgIGJhY2tncm91bmQ6ICNGQ0FGMjY7XHJcbiAgICAgICAgd2lkdGg6IDE4cHg7XHJcbiAgICAgICAgaGVpZ2h0OiAxOHB4O1xyXG4gICAgICAgIGxpbmUtaGVpZ2h0OiAxOHB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2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xvcjogI2U3ZTdlNztcclxuXHJcbiRsaWdodC1mb250LXdlaWdodDogMzAwO1xyXG4kYm9sZC1mb250LXdlaWdodDogNTAwO1xyXG4kZG91YmxlLWJvbGQtZm9udC13ZWlnaHQ6IDkwMDtcclxuXHJcbiRTZWN0aW9uVGl0bGVCbHVlOiAjMzM2Njk5O1xyXG4kU2VjdGlvblRpdGxlU3Ryb2tlOiAjYTZjOWUyO1xyXG4kU2VjdGlvbkxhYmVsOiAjMzMzO1xyXG4kU2VjdGlvblZhbHVlOiAjNTU1O1xyXG4kU2VjdGlvbkJvcmRlcjogI2NjYztcclxuJFNlY3Rpb25JbnB1dEludmFsaWQ6ICNmNTMxNDI7XHJcbiRTZWN0aW9uQm9yZGVySW52YWxpZEZvY3VzOiByZ2JhKDI0NSwgNDksIDY2LCAwLjgpO1xyXG4kU2VjdGlvbkJvcmRlckZvY3VzOiByZ2JhKDgyLCAxNjgsIDIzNiwgMC44KTtcclxuJFNlY3Rpb25Cb3JkZXJCb3hTaGFkb3c6IHJnYmEoODIsIDE2OCwgMjM2LCAwLjYpO1xyXG4kU2VjdGlvbkJvcmRlckludmFsaWRTaGFkb3c6IHJnYmEoMjQ1LCA0OSwgNjYsIDAuNik7XHJcbiRTZWN0aW9uQmFja2dyb3VuZDogI2ZmZjtcclxuXHJcbiRrZW5kb0dyaWRGb250RmFtaWx5OiBcIlJvYm90b1wiO1xyXG4iXX0= */\"","'use strict';\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toInteger = require('./_to-integer');\nvar toLength = require('./_to-length');\nvar $native = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;\n var O = toIObject(this);\n var length = toLength(O.length);\n var index = length - 1;\n if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;\n return -1;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar activity_client_service_1 = require(\"./services/activity-client.service\");\nexports.ActivityClientService = activity_client_service_1.ActivityClientService;\nvar activity_history_client_service_1 = require(\"./services/activity-history-client.service\");\nexports.ActivityHistoryClientService = activity_history_client_service_1.ActivityHistoryClientService;\nvar announcement_client_service_1 = require(\"./services/announcement-client.service\");\nexports.AnnouncementClientService = announcement_client_service_1.AnnouncementClientService;\nvar cache_management_client_service_1 = require(\"./services/cache-management-client.service\");\nexports.CacheManagementClientService = cache_management_client_service_1.CacheManagementClientService;\nvar change_log_client_service_1 = require(\"./services/change-log-client.service\");\nexports.ChangeLogClientService = change_log_client_service_1.ChangeLogClientService;\nvar credit_soft_pull_result_entity_del_client_service_1 = require(\"./services/credit-soft-pull-result-entity-del-client.service\");\nexports.CreditSoftPullResultEntityDelClientService = credit_soft_pull_result_entity_del_client_service_1.CreditSoftPullResultEntityDelClientService;\nvar customer_client_service_1 = require(\"./services/customer-client.service\");\nexports.CustomerClientService = customer_client_service_1.CustomerClientService;\nvar customer_activity_history_client_service_1 = require(\"./services/customer-activity-history-client.service\");\nexports.CustomerActivityHistoryClientService = customer_activity_history_client_service_1.CustomerActivityHistoryClientService;\nvar customer_contact_history_client_service_1 = require(\"./services/customer-contact-history-client.service\");\nexports.CustomerContactHistoryClientService = customer_contact_history_client_service_1.CustomerContactHistoryClientService;\nvar customer_workflow_client_service_1 = require(\"./services/customer-workflow-client.service\");\nexports.CustomerWorkflowClientService = customer_workflow_client_service_1.CustomerWorkflowClientService;\nvar dealer_client_service_1 = require(\"./services/dealer-client.service\");\nexports.DealerClientService = dealer_client_service_1.DealerClientService;\nvar dealer_asset_client_service_1 = require(\"./services/dealer-asset-client.service\");\nexports.DealerAssetClientService = dealer_asset_client_service_1.DealerAssetClientService;\nvar dealer_price_client_service_1 = require(\"./services/dealer-price-client.service\");\nexports.DealerPriceClientService = dealer_price_client_service_1.DealerPriceClientService;\nvar dealer_rates_client_service_1 = require(\"./services/dealer-rates-client.service\");\nexports.DealerRatesClientService = dealer_rates_client_service_1.DealerRatesClientService;\nvar dealer_rebate_client_service_1 = require(\"./services/dealer-rebate-client.service\");\nexports.DealerRebateClientService = dealer_rebate_client_service_1.DealerRebateClientService;\nvar dealer_search_client_service_1 = require(\"./services/dealer-search-client.service\");\nexports.DealerSearchClientService = dealer_search_client_service_1.DealerSearchClientService;\nvar dealer_setting_client_service_1 = require(\"./services/dealer-setting-client.service\");\nexports.DealerSettingClientService = dealer_setting_client_service_1.DealerSettingClientService;\nvar dealer_smtp_setting_client_service_1 = require(\"./services/dealer-smtp-setting-client.service\");\nexports.DealerSmtpSettingClientService = dealer_smtp_setting_client_service_1.DealerSmtpSettingClientService;\nvar dealer_tradein_client_service_1 = require(\"./services/dealer-tradein-client.service\");\nexports.DealerTradeinClientService = dealer_tradein_client_service_1.DealerTradeinClientService;\nvar dealer_upgrade_proposal_setting_client_service_1 = require(\"./services/dealer-upgrade-proposal-setting-client.service\");\nexports.DealerUpgradeProposalSettingClientService = dealer_upgrade_proposal_setting_client_service_1.DealerUpgradeProposalSettingClientService;\nvar deal_sheet_client_service_1 = require(\"./services/deal-sheet-client.service\");\nexports.DealSheetClientService = deal_sheet_client_service_1.DealSheetClientService;\nvar deskit_client_service_1 = require(\"./services/deskit-client.service\");\nexports.DeskitClientService = deskit_client_service_1.DeskitClientService;\nvar discrepancy_report_client_service_1 = require(\"./services/discrepancy-report-client.service\");\nexports.DiscrepancyReportClientService = discrepancy_report_client_service_1.DiscrepancyReportClientService;\nvar email_conversation_client_service_1 = require(\"./services/email-conversation-client.service\");\nexports.EmailConversationClientService = email_conversation_client_service_1.EmailConversationClientService;\nvar entity_client_service_1 = require(\"./services/entity-client.service\");\nexports.EntityClientService = entity_client_service_1.EntityClientService;\nvar entity_opportunity_client_service_1 = require(\"./services/entity-opportunity-client.service\");\nexports.EntityOpportunityClientService = entity_opportunity_client_service_1.EntityOpportunityClientService;\nvar eula_client_service_1 = require(\"./services/eula-client.service\");\nexports.EulaClientService = eula_client_service_1.EulaClientService;\nvar eula_history_client_service_1 = require(\"./services/eula-history-client.service\");\nexports.EulaHistoryClientService = eula_history_client_service_1.EulaHistoryClientService;\nvar ext_customer_activity_client_service_1 = require(\"./services/ext-customer-activity-client.service\");\nexports.ExtCustomerActivityClientService = ext_customer_activity_client_service_1.ExtCustomerActivityClientService;\nvar ford_credit_approval_client_service_1 = require(\"./services/ford-credit-approval-client.service\");\nexports.FordCreditApprovalClientService = ford_credit_approval_client_service_1.FordCreditApprovalClientService;\nvar inventory_client_service_1 = require(\"./services/inventory-client.service\");\nexports.InventoryClientService = inventory_client_service_1.InventoryClientService;\nvar log_client_service_1 = require(\"./services/log-client.service\");\nexports.LogClientService = log_client_service_1.LogClientService;\nvar make_client_service_1 = require(\"./services/make-client.service\");\nexports.MakeClientService = make_client_service_1.MakeClientService;\nvar messaging_client_service_1 = require(\"./services/messaging-client.service\");\nexports.MessagingClientService = messaging_client_service_1.MessagingClientService;\nvar model_client_service_1 = require(\"./services/model-client.service\");\nexports.ModelClientService = model_client_service_1.ModelClientService;\nvar pando_claim_client_service_1 = require(\"./services/pando-claim-client.service\");\nexports.PandoClaimClientService = pando_claim_client_service_1.PandoClaimClientService;\nvar pando_passthrough_client_service_1 = require(\"./services/pando-passthrough-client.service\");\nexports.PandoPassthroughClientService = pando_passthrough_client_service_1.PandoPassthroughClientService;\nvar print_offer_batch_client_service_1 = require(\"./services/print-offer-batch-client.service\");\nexports.PrintOfferBatchClientService = print_offer_batch_client_service_1.PrintOfferBatchClientService;\nvar replacement_client_service_1 = require(\"./services/replacement-client.service\");\nexports.ReplacementClientService = replacement_client_service_1.ReplacementClientService;\nvar role_client_service_1 = require(\"./services/role-client.service\");\nexports.RoleClientService = role_client_service_1.RoleClientService;\nvar sale_client_service_1 = require(\"./services/sale-client.service\");\nexports.SaleClientService = sale_client_service_1.SaleClientService;\nvar search_client_service_1 = require(\"./services/search-client.service\");\nexports.SearchClientService = search_client_service_1.SearchClientService;\nvar tag_client_service_1 = require(\"./services/tag-client.service\");\nexports.TagClientService = tag_client_service_1.TagClientService;\nvar text_message_client_service_1 = require(\"./services/text-message-client.service\");\nexports.TextMessageClientService = text_message_client_service_1.TextMessageClientService;\nvar trim_client_service_1 = require(\"./services/trim-client.service\");\nexports.TrimClientService = trim_client_service_1.TrimClientService;\nvar trim_alternate_offer_client_service_1 = require(\"./services/trim-alternate-offer-client.service\");\nexports.TrimAlternateOfferClientService = trim_alternate_offer_client_service_1.TrimAlternateOfferClientService;\nvar user_client_service_1 = require(\"./services/user-client.service\");\nexports.UserClientService = user_client_service_1.UserClientService;\nvar user_module_access_client_service_1 = require(\"./services/user-module-access-client.service\");\nexports.UserModuleAccessClientService = user_module_access_client_service_1.UserModuleAccessClientService;\nvar user_profile_client_service_1 = require(\"./services/user-profile-client.service\");\nexports.UserProfileClientService = user_profile_client_service_1.UserProfileClientService;\nvar user_search_condition_client_service_1 = require(\"./services/user-search-condition-client.service\");\nexports.UserSearchConditionClientService = user_search_condition_client_service_1.UserSearchConditionClientService;\nvar vehicle_final_trade_value_temp_change_client_service_1 = require(\"./services/vehicle-final-trade-value-temp-change-client.service\");\nexports.VehicleFinalTradeValueTempChangeClientService = vehicle_final_trade_value_temp_change_client_service_1.VehicleFinalTradeValueTempChangeClientService;\nvar vehicle_user_trade_value_client_service_1 = require(\"./services/vehicle-user-trade-value-client.service\");\nexports.VehicleUserTradeValueClientService = vehicle_user_trade_value_client_service_1.VehicleUserTradeValueClientService;\n","export { ActivityClientService } from './services/activity-client.service';\r\nexport { ActivityHistoryClientService } from './services/activity-history-client.service';\r\nexport { AnnouncementClientService } from './services/announcement-client.service';\r\nexport { CacheManagementClientService } from './services/cache-management-client.service';\r\nexport { ChangeLogClientService } from './services/change-log-client.service';\r\nexport { CreditSoftPullResultEntityDelClientService } from './services/credit-soft-pull-result-entity-del-client.service';\r\nexport { CustomerClientService } from './services/customer-client.service';\r\nexport { CustomerActivityHistoryClientService } from './services/customer-activity-history-client.service';\r\nexport { CustomerContactHistoryClientService } from './services/customer-contact-history-client.service';\r\nexport { CustomerWorkflowClientService } from './services/customer-workflow-client.service';\r\nexport { DealerClientService } from './services/dealer-client.service';\r\nexport { DealerAssetClientService } from './services/dealer-asset-client.service';\r\nexport { DealerPriceClientService } from './services/dealer-price-client.service';\r\nexport { DealerRatesClientService } from './services/dealer-rates-client.service';\r\nexport { DealerRebateClientService } from './services/dealer-rebate-client.service';\r\nexport { DealerSearchClientService } from './services/dealer-search-client.service';\r\nexport { DealerSettingClientService } from './services/dealer-setting-client.service';\r\nexport { DealerSmtpSettingClientService } from './services/dealer-smtp-setting-client.service';\r\nexport { DealerTradeinClientService } from './services/dealer-tradein-client.service';\r\nexport { DealerUpgradeProposalSettingClientService } from './services/dealer-upgrade-proposal-setting-client.service';\r\nexport { DealSheetClientService } from './services/deal-sheet-client.service';\r\nexport { DeskitClientService } from './services/deskit-client.service';\r\nexport { DiscrepancyReportClientService } from './services/discrepancy-report-client.service';\r\nexport { EmailConversationClientService } from './services/email-conversation-client.service';\r\nexport { EntityClientService } from './services/entity-client.service';\r\nexport { EntityOpportunityClientService } from './services/entity-opportunity-client.service';\r\nexport { EulaClientService } from './services/eula-client.service';\r\nexport { EulaHistoryClientService } from './services/eula-history-client.service';\r\nexport { ExtCustomerActivityClientService } from './services/ext-customer-activity-client.service';\r\nexport { FordCreditApprovalClientService } from './services/ford-credit-approval-client.service';\r\nexport { InventoryClientService } from './services/inventory-client.service';\r\nexport { LogClientService } from './services/log-client.service';\r\nexport { MakeClientService } from './services/make-client.service';\r\nexport { MessagingClientService } from './services/messaging-client.service';\r\nexport { ModelClientService } from './services/model-client.service';\r\nexport { PandoClaimClientService } from './services/pando-claim-client.service';\r\nexport { PandoPassthroughClientService } from './services/pando-passthrough-client.service';\r\nexport { PrintOfferBatchClientService } from './services/print-offer-batch-client.service';\r\nexport { ReplacementClientService } from './services/replacement-client.service';\r\nexport { RoleClientService } from './services/role-client.service';\r\nexport { SaleClientService } from './services/sale-client.service';\r\nexport { SearchClientService } from './services/search-client.service';\r\nexport { TagClientService } from './services/tag-client.service';\r\nexport { TextMessageClientService } from './services/text-message-client.service';\r\nexport { TrimClientService } from './services/trim-client.service';\r\nexport { TrimAlternateOfferClientService } from './services/trim-alternate-offer-client.service';\r\nexport { UserClientService } from './services/user-client.service';\r\nexport { UserModuleAccessClientService } from './services/user-module-access-client.service';\r\nexport { UserProfileClientService } from './services/user-profile-client.service';\r\nexport { UserSearchConditionClientService } from './services/user-search-condition-client.service';\r\nexport { VehicleFinalTradeValueTempChangeClientService } from './services/vehicle-final-trade-value-temp-change-client.service';\r\nexport { VehicleUserTradeValueClientService } from './services/vehicle-user-trade-value-client.service';\r\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./carproof.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@uirouter/angular/lib/directives/uiSref\"));\nvar i3 = __importStar(require(\"@uirouter/core\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"./carproof.component\"));\nvar styles_CarproofComponent = [i0.styles];\nvar RenderType_CarproofComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CarproofComponent, data: {} });\nexports.RenderType_CarproofComponent = RenderType_CarproofComponent;\nfunction View_CarproofComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"class\", \"carproof-logo\"], [\"src\", \"../../../images/carfaxcanada.png\"]], null, null, null, null, null))], null, null); }\nfunction View_CarproofComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"a\", [[\"class\", \"qa-carproof-link\"], [\"href\", \"javascript:void(0)\"], [\"target\", \"_blank\"], [\"uiSref\", \"carProofReport\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i2.AnchorUISref, [i1.ElementRef, i1.Renderer2], null, null), i1.ɵdid(2, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"], params: [1, \"params\"] }, null), i1.ɵpod(3, { opportunityId: 0, vin: 1 }), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"img\", [[\"class\", \"carproof-logo\"], [\"src\", \"../../../images/carfaxcanada.png\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"carProofReport\"; var currVal_1 = _ck(_v, 3, 0, _co.opportunityId, _co.vin); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_CarproofComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_CarproofComponent_1)), i1.ɵdid(1, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CarproofComponent_2)), i1.ɵdid(3, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.showCarProofLink && _co.readonly); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.showCarProofLink && !_co.readonly); _ck(_v, 3, 0, currVal_1); }, null); }\nexports.View_CarproofComponent_0 = View_CarproofComponent_0;\nfunction View_CarproofComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"carproof\", [], null, null, null, View_CarproofComponent_0, RenderType_CarproofComponent)), i1.ɵdid(1, 638976, null, 0, i5.CarproofComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CarproofComponent_Host_0 = View_CarproofComponent_Host_0;\nvar CarproofComponentNgFactory = i1.ɵccf(\"carproof\", i5.CarproofComponent, View_CarproofComponent_Host_0, { permissions: \"permissions\", dealerSettings: \"dealerSettings\", opportunityId: \"opportunityId\", vin: \"vin\", readonly: \"readonly\" }, {}, []);\nexports.CarproofComponentNgFactory = CarproofComponentNgFactory;\n","\r\n\r\n \r\n\r\n\r\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","// 19.1.2.11 Object.isExtensible(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isExtensible', function ($isExtensible) {\n return function isExtensible(it) {\n return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n };\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DealSheetTabs = {\n alertsAndScripts: 1,\n currentVehicleDetails: 2,\n replacementVehicleDetails: 3,\n activityAndNotes: 4,\n serviceHistory: 5,\n otherVehiclesOwned: 6,\n dealHistory: 9,\n featureComparison: 7,\n changeLog: 8,\n};\n","export const DealSheetTabs = {\r\n alertsAndScripts: 1,\r\n currentVehicleDetails: 2,\r\n replacementVehicleDetails: 3,\r\n activityAndNotes: 4,\r\n serviceHistory: 5,\r\n otherVehiclesOwned: 6,\r\n dealHistory: 9,\r\n featureComparison: 7,\r\n changeLog: 8,\r\n};\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./recent-deal-sheets.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"ng-busy\"));\nvar i3 = __importStar(require(\"../../deal-sheet/alerts/alerts.component-ng.ngfactory\"));\nvar i4 = __importStar(require(\"../../deal-sheet/alerts/alerts.component-ng\"));\nvar i5 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar i6 = __importStar(require(\"../../../filters/locale-date.pipe\"));\nvar i7 = __importStar(require(\"../../../filters/locale-currency.pipe\"));\nvar i8 = __importStar(require(\"../../../filters/locale-number.pipe\"));\nvar i9 = __importStar(require(\"@ngx-translate/core\"));\nvar i10 = __importStar(require(\"@angular/common\"));\nvar i11 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i12 = __importStar(require(\"../../icon/icon.component\"));\nvar i13 = __importStar(require(\"@angular/platform-browser\"));\nvar i14 = __importStar(require(\"./recent-deal-sheets.component\"));\nvar i15 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar i16 = __importStar(require(\"../../../services/recent-deal-sheet.service\"));\nvar styles_RecentDealSheetsComponent = [i0.styles];\nvar RenderType_RecentDealSheetsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_RecentDealSheetsComponent, data: {} });\nexports.RenderType_RecentDealSheetsComponent = RenderType_RecentDealSheetsComponent;\nfunction View_RecentDealSheetsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 4, \"div\", [[\"class\", \"spinner\"]], null, null, null, null, null)), i1.ɵprd(512, null, i2.InstanceConfigHolderService, i2.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i2.ɵa, i2.ɵa, []), i1.ɵdid(3, 409600, null, 0, i2.NgBusyDirective, [i2.ɵb, i2.InstanceConfigHolderService, i1.ComponentFactoryResolver, i2.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(4, { busy: 0, delay: 1 }), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 4, 0, _co.busy, 200); _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_RecentDealSheetsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"li\", [[\"class\", \"deal-sheet-item\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"a\", [[\"href\", \"#\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openDealSheet(_v.context.$implicit.entityId) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"alerts\", [], null, null, null, i3.View_AlertsComponent_0, i3.RenderType_AlertsComponent)), i1.ɵdid(4, 638976, null, 0, i4.AlertsComponent, [i5.LocaleDateTimePipe, i6.LocaleDatePipe, i7.LocaleCurrencyPipe, i8.LocaleNumberPipe, i9.TranslateService], { values: [0, \"values\"], showRelavantInfo: [1, \"showRelavantInfo\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.getAlertObjects(_v.context.$implicit); var currVal_2 = false; _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.clientName; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_RecentDealSheetsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"span\", [[\"class\", \"recentDealSheets header-modal-style\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"h5\", [[\"class\", \"h5-modal\"], [\"translate\", \"recentDealSheets\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i9.TranslateDirective, [i9.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RecentDealSheetsComponent_2)), i1.ɵdid(4, 16384, null, 0, i10.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"ul\", [[\"class\", \"deal-sheet-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RecentDealSheetsComponent_3)), i1.ɵdid(7, 278528, null, 0, i10.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"recentDealSheets\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = !_co.recentDealSheets; _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.recentDealSheets; _ck(_v, 7, 0, currVal_2); }, null); }\nfunction View_RecentDealSheetsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"span\", [[\"class\", \"recentDealSheets-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleRecentDealSheets() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon alert-blocks-svg \"]], null, null, null, i11.View_IconComponent_0, i11.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i12.IconComponent, [i13.DomSanitizer], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_RecentDealSheetsComponent_1)), i1.ɵdid(5, 16384, null, 0, i10.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; _ck(_v, 3, 0); var currVal_0 = _co.visible; _ck(_v, 5, 0, currVal_0); }, null); }\nexports.View_RecentDealSheetsComponent_0 = View_RecentDealSheetsComponent_0;\nfunction View_RecentDealSheetsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"recent-deal-sheets\", [], null, null, null, View_RecentDealSheetsComponent_0, RenderType_RecentDealSheetsComponent)), i1.ɵdid(1, 49152, null, 0, i14.RecentDealSheetsComponent, [i15.DealSheetService, i16.RecentDealSheetService], null, null)], null, null); }\nexports.View_RecentDealSheetsComponent_Host_0 = View_RecentDealSheetsComponent_Host_0;\nvar RecentDealSheetsComponentNgFactory = i1.ɵccf(\"recent-deal-sheets\", i14.RecentDealSheetsComponent, View_RecentDealSheetsComponent_Host_0, { visible: \"visible\" }, { visibleChange: \"visibleChange\" }, []);\nexports.RecentDealSheetsComponentNgFactory = RecentDealSheetsComponentNgFactory;\n","\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n","var path = '/app/components/deal-sheet/customer-phone-list.component.html';\nvar html = \"
0\\\">
0\\\">
    0\\\">
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar VehicleUserTradeValueClientService = /** @class */ (function (_super) {\n __extends(VehicleUserTradeValueClientService, _super);\n function VehicleUserTradeValueClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param model undefined\n */\n VehicleUserTradeValueClientService.prototype.StoreVehicleUserTradeValueResponse = function (model) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = model;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/VehicleUserTradeValue/StoreVehicleUserTradeValue\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n VehicleUserTradeValueClientService.prototype.StoreVehicleUserTradeValue = function (model) {\n return this.StoreVehicleUserTradeValueResponse(model).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n VehicleUserTradeValueClientService.prototype.GetVehicleUserTradeValueResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/VehicleUserTradeValue/GetVehicleUserTradeValue/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n VehicleUserTradeValueClientService.prototype.GetVehicleUserTradeValue = function (id) {\n return this.GetVehicleUserTradeValueResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n VehicleUserTradeValueClientService.StoreVehicleUserTradeValuePath = '/api/VehicleUserTradeValue/StoreVehicleUserTradeValue';\n VehicleUserTradeValueClientService.GetVehicleUserTradeValuePath = '/api/VehicleUserTradeValue/GetVehicleUserTradeValue';\n VehicleUserTradeValueClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function VehicleUserTradeValueClientService_Factory() { return new VehicleUserTradeValueClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: VehicleUserTradeValueClientService, providedIn: \"root\" });\n return VehicleUserTradeValueClientService;\n}(base_service_1.BaseService));\nexports.VehicleUserTradeValueClientService = VehicleUserTradeValueClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\nimport { StoreVehicleUserTradeValueDto } from '../models/store-vehicle-user-trade-value-dto';\r\nimport { VehicleUserTradeValueDto } from '../models/vehicle-user-trade-value-dto';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass VehicleUserTradeValueClientService extends __BaseService {\r\n static readonly StoreVehicleUserTradeValuePath = '/api/VehicleUserTradeValue/StoreVehicleUserTradeValue';\r\n static readonly GetVehicleUserTradeValuePath = '/api/VehicleUserTradeValue/GetVehicleUserTradeValue';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param model undefined\r\n */\r\n StoreVehicleUserTradeValueResponse(model?: StoreVehicleUserTradeValueDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = model;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/VehicleUserTradeValue/StoreVehicleUserTradeValue`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n StoreVehicleUserTradeValue(model?: StoreVehicleUserTradeValueDto): __Observable {\r\n return this.StoreVehicleUserTradeValueResponse(model).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n GetVehicleUserTradeValueResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/VehicleUserTradeValue/GetVehicleUserTradeValue/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n GetVehicleUserTradeValue(id: number): __Observable {\r\n return this.GetVehicleUserTradeValueResponse(id).pipe(\r\n __map(_r => _r.body as VehicleUserTradeValueDto)\r\n );\r\n }\r\n\r\n}\r\n\r\nmodule VehicleUserTradeValueClientService {\r\n\r\n}\r\n\r\nexport { VehicleUserTradeValueClientService }\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./payments.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i5 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i6 = __importStar(require(\"./payments.component\"));\nvar styles_PaymentsComponent = [i0.styles];\nvar RenderType_PaymentsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PaymentsComponent, data: {} });\nexports.RenderType_PaymentsComponent = RenderType_PaymentsComponent;\nfunction View_PaymentsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [[\"class\", \"h5 qa-current-term-payment\"], [\"translate\", \"contract\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(2, 1), i1.ɵpod(3, { months: 0, amount: 1 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"contract\"; var currVal_1 = _ck(_v, 3, 0, ((_co.contract == null) ? null : _co.contract.term), i1.ɵunv(_v, 1, 1, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent, 0), ((_co.contract == null) ? null : _co.contract.payment)))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PaymentsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"span\", [[\"class\", \"h5 qa-current-term-payment\"], [\"translate\", \"creditConvertContract\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(2, 1), i1.ɵppd(3, 1), i1.ɵpod(4, { months: 0, minAmount: 1, maxAmount: 2 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"creditConvertContract\"; var currVal_1 = _ck(_v, 4, 0, ((_co.contract == null) ? null : _co.contract.term), i1.ɵunv(_v, 1, 1, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent, 0), ((_co.contract == null) ? null : _co.contract.paymentMinimum))), i1.ɵunv(_v, 1, 1, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent.parent, 0), ((_co.contract == null) ? null : _co.contract.paymentMaximum)))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PaymentsComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"value qa-current-payments-remaining\"], [\"translate\", \"paymentsRemaining\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵpod(2, { payments: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"paymentsRemaining\"; var currVal_1 = _ck(_v, 2, 0, ((_co.contract == null) ? null : _co.contract.paymentsRemaining)); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PaymentsComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"value qa-current-payments-remaining\"], [\"translate\", \"paymentsRemainingMo\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵpod(2, { payments: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"paymentsRemainingMo\"; var currVal_1 = _ck(_v, 2, 0, _co.paymentsRemainingMo); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_PaymentsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"alert-inline-only\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { alert: 0, flex: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_3)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_4)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_5)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_6)), i1.ɵdid(11, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"alert-inline-only\"; var currVal_1 = _ck(_v, 3, 0, _co.alertExists, _co.flexAlertExists); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = (((((_co.contract == null) ? null : _co.contract.conquestType) != _co.conquestTypes.creditConvert) && ((_co.contract == null) ? null : _co.contract.term)) && ((_co.contract == null) ? null : _co.contract.payment)); _ck(_v, 5, 0, currVal_2); var currVal_3 = (((((_co.contract == null) ? null : _co.contract.conquestType) == _co.conquestTypes.creditConvert) && ((_co.contract == null) ? null : _co.contract.paymentMinimum)) && ((_co.contract == null) ? null : _co.contract.paymentMaximum)); _ck(_v, 7, 0, currVal_3); var currVal_4 = ((((_co.contract == null) ? null : _co.contract.paymentsRemaining) != null) && (((_co.contract == null) ? null : _co.contract.saleType) != _co.saleTypes.onePayLease)); _ck(_v, 9, 0, currVal_4); var currVal_5 = ((((_co.contract == null) ? null : _co.contract.paymentsRemaining) != null) && (((_co.contract == null) ? null : _co.contract.saleType) == _co.saleTypes.onePayLease)); _ck(_v, 11, 0, currVal_5); }, null); }\nfunction View_PaymentsComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\\u00A0\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = (i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"less\")) + \")\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_PaymentsComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = (i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"more\")) + \")\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_PaymentsComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, \"div\", [[\"class\", \"value alert-inline-only\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { alert: 0, flex: 1 }), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"span\", [[\"class\", \"h5 qa-replacement-term-payment\"], [\"translate\", \"contract\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(6, 1), i1.ɵpod(7, { months: 0, amount: 1 }), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"span\", [[\"class\", \"qa-replacement-payment-difference\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), i1.ɵppd(11, 1), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_9)), i1.ɵdid(14, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_10)), i1.ɵdid(16, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"value alert-inline-only\"; var currVal_1 = _ck(_v, 3, 0, _co.alertExists, _co.flexAlertExists); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"contract\"; var currVal_3 = _ck(_v, 7, 0, ((_co.contract == null) ? null : _co.contract.term), i1.ɵunv(_v, 5, 1, _ck(_v, 6, 0, i1.ɵnov(_v.parent.parent.parent, 0), ((_co.contract == null) ? null : _co.contract.payment)))); _ck(_v, 5, 0, currVal_2, currVal_3); var currVal_5 = (((_co.contract == null) ? null : _co.contract.paymentDifference) <= 0); _ck(_v, 14, 0, currVal_5); var currVal_6 = (((_co.contract == null) ? null : _co.contract.paymentDifference) > 0); _ck(_v, 16, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = (\"(\" + i1.ɵunv(_v, 10, 0, _ck(_v, 11, 0, i1.ɵnov(_v.parent.parent.parent, 0), _co.absoluteValue(_co.contract.paymentDifference)))); _ck(_v, 10, 0, currVal_4); }); }\nfunction View_PaymentsComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"strike-out\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 3, \"span\", [[\"class\", \"h5 qa-replacement-before-improvement\"], [\"translate\", \"contract\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(3, 1), i1.ɵpod(4, { months: 0, amount: 1 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"contract\"; var currVal_1 = _ck(_v, 4, 0, ((_co.contract == null) ? null : _co.contract.termBeforeImprovement), i1.ɵunv(_v, 2, 1, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent.parent, 0), ((_co.contract == null) ? null : _co.contract.paymentBeforeImprovement)))); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }\nfunction View_PaymentsComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_8)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_11)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.contract == null) ? null : _co.contract.term); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.shouldShowPaymentBeforeImprovement; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_PaymentsComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"uib-alert\", \"\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"translate\", \"noPaymentsAvailable\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"alert-danger\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"noPaymentsAvailable\"; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_PaymentsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_2)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_7)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_12)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.type == _co.paymentTypes.current); _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_co.type == _co.paymentTypes.replacement) && ((_co.contract == null) ? null : _co.contract.payment)); _ck(_v, 4, 0, currVal_1); var currVal_2 = (((_co.permissions == null) ? null : _co.permissions.payments) && !((_co.contract == null) ? null : _co.contract.term)); _ck(_v, 6, 0, currVal_2); }, null); }\nfunction View_PaymentsComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i4.LocaleCurrencyPipe, [i5.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PaymentsComponent_1)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (((_co.contract == null) ? null : _co.contract.saleType) != _co.saleTypes.cash); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_PaymentsComponent_0 = View_PaymentsComponent_0;\nfunction View_PaymentsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"payments\", [], null, null, null, View_PaymentsComponent_0, RenderType_PaymentsComponent)), i1.ɵdid(1, 638976, null, 0, i6.PaymentsComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_PaymentsComponent_Host_0 = View_PaymentsComponent_Host_0;\nvar PaymentsComponentNgFactory = i1.ɵccf(\"payments\", i6.PaymentsComponent, View_PaymentsComponent_Host_0, { type: \"type\", contract: \"contract\", permissions: \"permissions\", alertExists: \"alertExists\", flexAlertExists: \"flexAlertExists\" }, {}, []);\nexports.PaymentsComponentNgFactory = PaymentsComponentNgFactory;\n","
\r\n\r\n
\r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n  \r\n {{'(' + (absoluteValue(contract.paymentDifference) | localeCurrency)}} \r\n {{('less' | translate) + ')'}} \r\n 0\">{{('more' | translate) + ')'}}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n","var path = '/app/components/deal-sheet/vehicle/vehicle-select.component.html';\nvar html = \"
{{vehicle.daysInStock | json}}
{{ 'stockNo' | translate }}
{{ 'stockNo' | translate }}
{{ 'status' | translate }}
{{ 'status' | translate }}
{{ 'fullTrim' | translate }}
{{ 'fullTrim' | translate }}
{{ 'year' | translate }}
{{ 'year' | translate }}
{{ 'priceLabel' | translate }}({{ $ctrl.pricingPlanTranslateKeys[$ctrl.pricingPlanId] | translate }})
{{ 'priceLabel' | translate }} ({{ $ctrl.pricingPlanTranslateKeys[$ctrl.pricingPlanId] | translate }})
{{ 'odometer' | translate }}
{{ 'odometer' | translate }}
{{ 'colorLabel' | translate }}
{{ 'colorLabel' | translate }}
{{ 'options' | translate }}
{{ 'options' | translate }}
{{ 'daysInStock' | translate }}
{{ 'daysInStock' | translate }}
{{ 'estimatedPayment' | translate }}
{{ 'estimatedPayment' | translate }}

({{ 'planPriceNotAvailable' | translate }})
{{'lease' | translate}}, {{'retail' | translate}}, {{ vehicle.term | localeNumber }} {{ vehicle.term && vehicle.estimatedPayment ? ' @ ' : '' }} {{ vehicle.estimatedPayment | localeRoundedCurrency }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApiActivityTypes = {\n note: 1,\n phoneCall: 2,\n appointment: 3,\n email: 4,\n compass: 5,\n crm: 6,\n pandoProcess: 7\n};\n","export const ApiActivityTypes = {\r\n note: 1,\r\n phoneCall: 2,\r\n appointment: 3,\r\n email: 4,\r\n compass: 5,\r\n crm: 6,\r\n pandoProcess: 7\r\n};\r\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var aLen = arguments.length;\n var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n var end = aLen > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","module.exports = \"\"","var path = '/app/components/deal-sheet/modals/log-call-modal.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/admin/admin-report-subscriptions.component.html';\nvar html = \"
1\\\">


()
()

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./cash-down.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./cash-down.component\"));\nvar styles_CashDownComponent = [i0.styles];\nvar RenderType_CashDownComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CashDownComponent, data: {} });\nexports.RenderType_CashDownComponent = RenderType_CashDownComponent;\nfunction View_CashDownComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"cash-down\"], [\"translate\", \"cashDownAmountLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"field-data qa-cash-down-value\"], [\"id\", \"cash-down\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵppd(5, 1)], function (_ck, _v) { var currVal_0 = \"cashDownAmountLabel\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, _ck(_v, 5, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_CashDownComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleCurrencyPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CashDownComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_CashDownComponent_0 = View_CashDownComponent_0;\nfunction View_CashDownComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"cash-down\", [], null, null, null, View_CashDownComponent_0, RenderType_CashDownComponent)), i1.ɵdid(1, 114688, null, 0, i6.CashDownComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CashDownComponent_Host_0 = View_CashDownComponent_Host_0;\nvar CashDownComponentNgFactory = i1.ɵccf(\"cash-down\", i6.CashDownComponent, View_CashDownComponent_Host_0, { value: \"value\" }, {}, []);\nexports.CashDownComponentNgFactory = CashDownComponentNgFactory;\n","
\r\n \r\n {{value | localeCurrency}}\r\n
\r\n","module.exports = \"\"","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./dealer-rebate.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./dealer-rebate.component\"));\nvar styles_DealerRebateComponent = [i0.styles];\nvar RenderType_DealerRebateComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DealerRebateComponent, data: {} });\nexports.RenderType_DealerRebateComponent = RenderType_DealerRebateComponent;\nfunction View_DealerRebateComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"dealer-rebate\"], [\"translate\", \"dealerRebateLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"field-data qa-dealer-rebate-value\"], [\"id\", \"dealer-rebate\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵppd(5, 1)], function (_ck, _v) { var currVal_0 = \"dealerRebateLabel\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, _ck(_v, 5, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_DealerRebateComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleCurrencyPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealerRebateComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_DealerRebateComponent_0 = View_DealerRebateComponent_0;\nfunction View_DealerRebateComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"dealer-rebate\", [], null, null, null, View_DealerRebateComponent_0, RenderType_DealerRebateComponent)), i1.ɵdid(1, 114688, null, 0, i6.DealerRebateComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DealerRebateComponent_Host_0 = View_DealerRebateComponent_Host_0;\nvar DealerRebateComponentNgFactory = i1.ɵccf(\"dealer-rebate\", i6.DealerRebateComponent, View_DealerRebateComponent_Host_0, { value: \"value\" }, {}, []);\nexports.DealerRebateComponentNgFactory = DealerRebateComponentNgFactory;\n","
\r\n \r\n {{ value | localeCurrency }}\r\n
\r\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar kendo_angular_intl_1 = require(\"@progress/kendo-angular-intl\");\nvar core_1 = require(\"@angular/core\");\nvar kendo_angular_dateinputs_1 = require(\"@progress/kendo-angular-dateinputs\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar moment_1 = __importDefault(require(\"moment\"));\nvar CalendarDateRangeComponent = /** @class */ (function () {\n function CalendarDateRangeComponent(localeId, intlService, tService) {\n this.localeId = localeId;\n this.intlService = intlService;\n this.tService = tService;\n // define eventOUT signature\n this.dateRangeSelect = new core_1.EventEmitter();\n this.presetDateRangeSelect = new core_1.EventEmitter();\n this.show = false;\n this.lastPreselect = 'none';\n this.currentPreselect = 'none';\n this.maxEndDate = new Date();\n this.minStartDate = new Date(2009, 11, 31);\n this.defaultEndDate = this.endDate;\n this.defaultStartDate = this.startDate;\n this.range = { start: new Date(), end: new Date() };\n this.isDurationError = false;\n this.isDurationNullError = false;\n this.isFromDtGreaterThanToDt = false;\n this.enCADateFormat = 'dd/MM/yyyy';\n this.manualForcedDateFormat = '';\n if (this.intlService.localeId === 'en-CA') {\n this.manualForcedDateFormat = this.enCADateFormat;\n }\n else {\n this.manualForcedDateFormat = '';\n }\n // console.log(\"defaultSelectedPresetType\", this.defaultSelectedPresetType);\n if (this.defaultSelectedPresetType) {\n this.lastPreselect = this.defaultSelectedPresetType;\n this.currentPreselect = this.defaultSelectedPresetType;\n }\n else {\n this.lastPreselect = 'none';\n this.currentPreselect = 'none';\n }\n }\n CalendarDateRangeComponent.prototype.dateSelected = function (date) {\n // Cast to any so I can access the private method\n this.kendoDateRangeSelectionDirective.handleChange(date);\n };\n CalendarDateRangeComponent.prototype.onToggle = function () {\n this.isDurationError = false;\n this.isDurationNullError = false;\n this.isFromDtGreaterThanToDt = false;\n this.onCancel();\n };\n CalendarDateRangeComponent.prototype.onCancel = function () {\n this.currentPreselect = this.lastPreselect;\n this.show = !this.show;\n this.range = { start: this.defaultStartDate, end: this.defaultEndDate };\n };\n CalendarDateRangeComponent.prototype.onUpdate = function () {\n this.show = !this.show;\n this.lastPreselect = 'none';\n this.currentPreselect = 'none';\n this.isDurationError = false;\n this.isDurationNullError = false;\n this.isFromDtGreaterThanToDt = false;\n this.dateRangeSelect.emit(this.range);\n };\n CalendarDateRangeComponent.prototype.onPresetSelect = function (presetType) {\n if (presetType !== 'none') {\n this.lastPreselect = presetType;\n this.currentPreselect = presetType;\n this.isDurationError = false;\n this.isDurationNullError = false;\n this.isFromDtGreaterThanToDt = false;\n this.presetDateRangeSelect.emit(presetType);\n this.show = !this.show;\n }\n };\n CalendarDateRangeComponent.prototype.checkOneYearDateRangeValidation = function (start, end) {\n if (start && end) {\n this.isDurationNullError = false;\n if (start == null) {\n this.isDurationError = true;\n return;\n }\n if (end == null) {\n this.isDurationError = true;\n return;\n }\n var endMoment = moment_1.default(end);\n var startMoment = moment_1.default(start);\n // console.log('endMoment.toObject().years',endMoment.toObject().years);\n // console.log('startMoment.toObject().years',startMoment.toObject().years);\n if (endMoment.toObject().years < 2010 || startMoment.toObject().years < 2010) {\n return;\n }\n var duartionOfYearInDays = moment_1.default(end).isLeapYear() ? 366 : 365;\n // console.log(duartionOfYearInDays);\n if (endMoment.diff(startMoment, 'days') > duartionOfYearInDays) {\n // console.log('date is greater then 1 Yr');\n this.isDurationError = true;\n return;\n }\n else {\n this.isDurationError = false;\n }\n if (endMoment.diff(startMoment, 'days') < 0) {\n // console.log('\"From\" date must be before the \"To\" date');\n this.isFromDtGreaterThanToDt = true;\n }\n else {\n this.isFromDtGreaterThanToDt = false;\n }\n }\n else {\n this.isDurationError = false;\n this.isFromDtGreaterThanToDt = false;\n this.isDurationNullError = true;\n }\n };\n CalendarDateRangeComponent.prototype.handleSelectionRange = function (selRange) {\n // if invalid date then revert to original\n if ((selRange.end > this.maxEndDate) || (selRange.start > this.maxEndDate)) {\n this.range = { start: this.defaultStartDate, end: this.defaultEndDate };\n return;\n }\n this.currentPreselect = 'none';\n this.range = { start: selRange.start, end: selRange.end };\n this.checkOneYearDateRangeValidation(selRange.start, selRange.end);\n };\n CalendarDateRangeComponent.prototype.onStartChange = function (value) {\n this.currentPreselect = 'none';\n this.range.start = value;\n this.checkOneYearDateRangeValidation(this.range.start, this.range.end);\n };\n CalendarDateRangeComponent.prototype.onEndChange = function (value) {\n this.currentPreselect = 'none';\n this.range.end = value;\n this.checkOneYearDateRangeValidation(this.range.start, this.range.end);\n };\n CalendarDateRangeComponent.prototype.isFutureDate = function (date) {\n return date > this.maxEndDate ? 'futureDates' : '';\n };\n CalendarDateRangeComponent.prototype.isValidDate = function (date) {\n return date && Object.prototype.toString.call(date) === '[object Date]' && !isNaN(date);\n };\n CalendarDateRangeComponent.prototype.ngOnChanges = function () {\n if (!this.isValidDate(this.endDate)) {\n this.endDate = new Date(this.endDate + '');\n }\n if (!this.isValidDate(this.startDate)) {\n this.startDate = new Date(this.startDate + '');\n }\n this.defaultEndDate = this.endDate;\n this.defaultStartDate = this.startDate;\n this.range = { start: this.defaultStartDate, end: this.defaultEndDate };\n if (this.defaultSelectedPresetType) {\n this.lastPreselect = this.defaultSelectedPresetType;\n this.currentPreselect = this.defaultSelectedPresetType;\n }\n else {\n this.lastPreselect = 'none';\n this.currentPreselect = 'none';\n }\n };\n return CalendarDateRangeComponent;\n}());\nexports.CalendarDateRangeComponent = CalendarDateRangeComponent;\n","import { IntlService, CldrIntlService } from '@progress/kendo-angular-intl';\r\nimport { Component, Input, Output, OnChanges, EventEmitter, LOCALE_ID, Inject, ViewChild } from '@angular/core';\r\nimport { SelectionRange, DateRangeSelectionDirective } from '@progress/kendo-angular-dateinputs';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport moment from 'moment';\r\n\r\n@Component({\r\n selector: 'calendar-date-range',\r\n templateUrl: './calendar-date-range.component-ng.html'\r\n})\r\n\r\nexport class CalendarDateRangeComponent implements OnChanges {\r\n // define input bindings\r\n @Input() dateRangeTypes;\r\n @Input() startDate: Date;\r\n @Input() endDate: Date;\r\n @Input() defaultSelectedPresetType: string;\r\n // define eventOUT signature\r\n @Output() dateRangeSelect = new EventEmitter();\r\n @Output() presetDateRangeSelect = new EventEmitter();\r\n @ViewChild(DateRangeSelectionDirective, {static: false}) kendoDateRangeSelectionDirective: DateRangeSelectionDirective;\r\n\r\n public show = false;\r\n public lastPreselect = 'none';\r\n public currentPreselect = 'none';\r\n\r\n public maxEndDate: Date = new Date();\r\n public minStartDate: Date = new Date(2009, 11, 31);\r\n\r\n public defaultEndDate: Date = this.endDate;\r\n public defaultStartDate: Date = this.startDate;\r\n public range = { start: new Date(), end: new Date() };\r\n public activeRangeEnd: 'end' | 'start';\r\n public isDurationError = false;\r\n public isDurationNullError = false;\r\n public isFromDtGreaterThanToDt = false;\r\n\r\n public enCADateFormat = 'dd/MM/yyyy';\r\n public manualForcedDateFormat = '';\r\n\r\n\r\n constructor(@Inject(LOCALE_ID) public localeId: string, public intlService: IntlService, public tService: TranslateService) {\r\n\r\n if ((this.intlService).localeId === 'en-CA') {\r\n this.manualForcedDateFormat = this.enCADateFormat;\r\n } else {\r\n this.manualForcedDateFormat = '';\r\n }\r\n\r\n\r\n // console.log(\"defaultSelectedPresetType\", this.defaultSelectedPresetType);\r\n\r\n if (this.defaultSelectedPresetType) {\r\n this.lastPreselect = this.defaultSelectedPresetType;\r\n this.currentPreselect = this.defaultSelectedPresetType;\r\n } else {\r\n this.lastPreselect = 'none';\r\n this.currentPreselect = 'none';\r\n }\r\n }\r\n\r\n public dateSelected(date: Date): void {\r\n // Cast to any so I can access the private method\r\n (this.kendoDateRangeSelectionDirective).handleChange(date);\r\n }\r\n\r\n public onToggle(): void {\r\n this.isDurationError = false;\r\n this.isDurationNullError = false;\r\n this.isFromDtGreaterThanToDt = false;\r\n this.onCancel();\r\n }\r\n\r\n public onCancel(): void {\r\n this.currentPreselect = this.lastPreselect;\r\n this.show = !this.show;\r\n this.range = { start: this.defaultStartDate, end: this.defaultEndDate };\r\n }\r\n\r\n public onUpdate(): void {\r\n this.show = !this.show;\r\n this.lastPreselect = 'none';\r\n this.currentPreselect = 'none';\r\n this.isDurationError = false;\r\n this.isDurationNullError = false;\r\n this.isFromDtGreaterThanToDt = false;\r\n this.dateRangeSelect.emit(this.range);\r\n }\r\n\r\n public onPresetSelect(presetType): void {\r\n if (presetType !== 'none') {\r\n this.lastPreselect = presetType;\r\n this.currentPreselect = presetType;\r\n this.isDurationError = false;\r\n this.isDurationNullError = false;\r\n this.isFromDtGreaterThanToDt = false;\r\n this.presetDateRangeSelect.emit(presetType);\r\n this.show = !this.show;\r\n }\r\n }\r\n\r\n\r\n\r\n public checkOneYearDateRangeValidation(start: Date, end: Date): void {\r\n\r\n if (start && end) {\r\n this.isDurationNullError = false;\r\n\r\n if (start == null) {\r\n this.isDurationError = true;\r\n return;\r\n }\r\n\r\n if (end == null) {\r\n this.isDurationError = true;\r\n return;\r\n }\r\n\r\n const endMoment = moment(end);\r\n const startMoment = moment(start);\r\n\r\n // console.log('endMoment.toObject().years',endMoment.toObject().years);\r\n // console.log('startMoment.toObject().years',startMoment.toObject().years);\r\n\r\n if (endMoment.toObject().years < 2010 || startMoment.toObject().years < 2010) {\r\n return;\r\n }\r\n\r\n const duartionOfYearInDays = moment(end).isLeapYear() ? 366 : 365;\r\n // console.log(duartionOfYearInDays);\r\n\r\n if (endMoment.diff(startMoment, 'days') > duartionOfYearInDays) {\r\n // console.log('date is greater then 1 Yr');\r\n this.isDurationError = true;\r\n return;\r\n } else {\r\n this.isDurationError = false;\r\n }\r\n\r\n if (endMoment.diff(startMoment, 'days') < 0) {\r\n // console.log('\"From\" date must be before the \"To\" date');\r\n this.isFromDtGreaterThanToDt = true;\r\n } else {\r\n this.isFromDtGreaterThanToDt = false;\r\n }\r\n } else {\r\n this.isDurationError = false;\r\n this.isFromDtGreaterThanToDt = false;\r\n this.isDurationNullError = true;\r\n }\r\n\r\n }\r\n\r\n public handleSelectionRange(selRange: SelectionRange): void {\r\n\r\n // if invalid date then revert to original\r\n if ((selRange.end > this.maxEndDate) || (selRange.start > this.maxEndDate)) {\r\n this.range = { start: this.defaultStartDate, end: this.defaultEndDate };\r\n return;\r\n }\r\n\r\n this.currentPreselect = 'none';\r\n this.range = { start: selRange.start, end: selRange.end };\r\n this.checkOneYearDateRangeValidation(selRange.start, selRange.end);\r\n }\r\n\r\n public onStartChange(value: Date): void {\r\n this.currentPreselect = 'none';\r\n this.range.start = value;\r\n this.checkOneYearDateRangeValidation(this.range.start, this.range.end);\r\n\r\n }\r\n\r\n public onEndChange(value: Date): void {\r\n this.currentPreselect = 'none';\r\n this.range.end = value;\r\n this.checkOneYearDateRangeValidation(this.range.start, this.range.end);\r\n\r\n }\r\n\r\n public isFutureDate(date: Date): string {\r\n return date > this.maxEndDate ? 'futureDates' : '';\r\n }\r\n\r\n public isValidDate(date): boolean {\r\n return date && Object.prototype.toString.call(date) === '[object Date]' && !isNaN(date);\r\n }\r\n\r\n ngOnChanges() {\r\n\r\n if (!this.isValidDate(this.endDate)) {\r\n this.endDate = new Date(this.endDate + '');\r\n }\r\n\r\n if (!this.isValidDate(this.startDate)) {\r\n this.startDate = new Date(this.startDate + '');\r\n }\r\n\r\n\r\n this.defaultEndDate = this.endDate;\r\n this.defaultStartDate = this.startDate;\r\n this.range = { start: this.defaultStartDate, end: this.defaultEndDate };\r\n\r\n\r\n if (this.defaultSelectedPresetType) {\r\n this.lastPreselect = this.defaultSelectedPresetType;\r\n this.currentPreselect = this.defaultSelectedPresetType;\r\n } else {\r\n this.lastPreselect = 'none';\r\n this.currentPreselect = 'none';\r\n }\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar engagement_event_types_constant_1 = require(\"../../../constants/engagement-event-types.constant\");\nvar DashboardOpportunitiesTableComponent = /** @class */ (function () {\n function DashboardOpportunitiesTableComponent(dealSheetService) {\n var _this = this;\n this.dealSheetService = dealSheetService;\n this.isEuroLite = false;\n // tslint:disable-next-line:no-output-on-prefix\n this.onCloseCallback = new core_1.EventEmitter();\n this.engagementEventTypes = engagement_event_types_constant_1.EngagementEventTypes;\n this.engagementEventGroups = engagement_event_types_constant_1.EngagementEventGroups;\n // Use fat arrow definition to capture the correct this context because this is called as a callback function\n this._dealsheetClose = function (opId) {\n _this.onCloseCallback.emit({ opId: opId });\n };\n }\n DashboardOpportunitiesTableComponent.prototype.ngOnInit = function () { };\n DashboardOpportunitiesTableComponent.prototype.ngOnChanges = function (changes) {\n if (changes.widgetData && changes.widgetData.currentValue) {\n this.sortedWidgetData = this.widgetData.sort(function (item1, item2) {\n if (item1.assignedDate < item2.assignedDate) {\n return -1;\n }\n else if (item1.assignedDate > item2.assignedDate) {\n return 1;\n }\n else {\n return 0;\n }\n });\n for (var _i = 0, _a = this.sortedWidgetData; _i < _a.length; _i++) {\n var opportunity = _a[_i];\n if (opportunity.alerts) {\n opportunity.detailedAlerts = opportunity.alerts.map(function (a) {\n return {\n type: a\n };\n });\n }\n }\n }\n };\n DashboardOpportunitiesTableComponent.prototype.openDealSheet = function (entityId) {\n if (!this.isEuroLite) {\n this.dealSheetService.openDealSheetModal(entityId, null, this._dealsheetClose);\n }\n else {\n this.dealSheetService.openDealSheetLiteModal(null, entityId);\n }\n };\n DashboardOpportunitiesTableComponent.prototype.iconClassForReviewRating = function (onlineReviewRating) {\n return 'rating-' + onlineReviewRating + 'star';\n };\n return DashboardOpportunitiesTableComponent;\n}());\nexports.DashboardOpportunitiesTableComponent = DashboardOpportunitiesTableComponent;\n","import { Component, OnInit, Inject, Input, Output, EventEmitter, OnChanges, SimpleChanges, ChangeDetectionStrategy } from '@angular/core';\r\nimport { EngagementEventTypes, EngagementEventGroups } from '../../../constants/engagement-event-types.constant';\r\nimport { DealSheetService } from '../../../ajs-upgraded-providers';\r\nimport { Alert } from '../../../interfaces/alert.interface';\r\n\r\n@Component({\r\n selector: 'dashboard-opportunities-table',\r\n templateUrl: './dashboard-opportunities-table.component-ng.html',\r\n styleUrls: ['./dashboard-opportunities-table.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class DashboardOpportunitiesTableComponent implements OnInit, OnChanges {\r\n @Input() widgetData: Array;\r\n @Input() widgetTitleKey: string;\r\n @Input() columnTypes: any;\r\n @Input() isEuroLite = false;\r\n // tslint:disable-next-line:no-output-on-prefix\r\n @Output() onCloseCallback = new EventEmitter();\r\n\r\n public sortedWidgetData: any;\r\n public engagementEventTypes = EngagementEventTypes;\r\n public engagementEventGroups = EngagementEventGroups;\r\n\r\n constructor(@Inject(DealSheetService) private dealSheetService) { }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.widgetData && changes.widgetData.currentValue) {\r\n this.sortedWidgetData = this.widgetData.sort((item1, item2) => {\r\n if (item1.assignedDate < item2.assignedDate) {\r\n return -1;\r\n } else if (item1.assignedDate > item2.assignedDate) {\r\n return 1;\r\n } else {\r\n return 0;\r\n }\r\n });\r\n\r\n for (const opportunity of this.sortedWidgetData) {\r\n if (opportunity.alerts) {\r\n opportunity.detailedAlerts = opportunity.alerts.map((a: number) => {\r\n return {\r\n type: a\r\n } as Alert;\r\n });\r\n }\r\n }\r\n }\r\n }\r\n\r\n openDealSheet(entityId: string): void {\r\n if (!this.isEuroLite) {\r\n this.dealSheetService.openDealSheetModal(entityId, null, this._dealsheetClose);\r\n } else {\r\n this.dealSheetService.openDealSheetLiteModal(null, entityId);\r\n }\r\n }\r\n\r\n // Use fat arrow definition to capture the correct this context because this is called as a callback function\r\n _dealsheetClose = (opId: string) => {\r\n this.onCloseCallback.emit({ opId: opId });\r\n }\r\n\r\n iconClassForReviewRating(onlineReviewRating: string): string {\r\n return 'rating-' + onlineReviewRating + 'star';\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar constants_1 = require(\"../../constants\");\nvar dealer_service_1 = require(\"../../services/dealer.service\");\nvar dealer_settings_service_1 = require(\"../../services/dealer-settings.service\");\nvar admin_settings_vhr_disclaimer_component_1 = require(\"./admin-settings-vhr-disclaimer.component\");\nvar AdminSettingsGeneralComponent = /** @class */ (function () {\n function AdminSettingsGeneralComponent(modalService, tService, dealerService, dealerSettingService) {\n this.modalService = modalService;\n this.tService = tService;\n this.dealerService = dealerService;\n this.dealerSettingService = dealerSettingService;\n this.dsa = {};\n this.onValidateField = new core_1.EventEmitter();\n this.isDealerPandoXEnabled = false;\n this.newTextNumbers = [];\n this.newTextNumbersCXM = [];\n this.twilioNumbersValid = true;\n this.twilioNumbersValidCXM = true;\n this.allTwilioNumbersUnique = true;\n this.selectedOwners = [];\n this.ownersDropdownSettings = {};\n this.overrideStateCode = null;\n this.overrideStateCodeCXM = null;\n this.searchReturnedLessThanTwoLocalNumbers = false;\n this.searchReturnedLessThanTwoLocalNumbersCXM = false;\n this.localNumberSearchExecuted = false;\n this.localNumberSearchExecutedCXM = false;\n this.textMessagingAreaCode = null;\n this.textMessagingAreaCodeCXM = null;\n this.Modules = constants_1.Modules;\n this.AccessRight = constants_1.AccessRights;\n this.placeHolderNumberText = 'tbd';\n }\n AdminSettingsGeneralComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.ownersDropdownSettings = {\n singleSelection: false,\n text: this.tService.instant('dsAdmin_selectOwners'),\n selectAllText: this.tService.instant('selectAll'),\n enableSearchFilter: false,\n badgeShowLimit: 2,\n labelKey: \"fullName\",\n primaryKey: \"userID\"\n };\n this.twilioSendTextSalesNumber = this.getTwilioNumber(this.AccessRight.SendTextSales);\n this.twilioSendTextServiceNumber = this.getTwilioNumber(this.AccessRight.SendTextService);\n this.twilioSendTextSalesNumberCXM = this.getTwilioNumber(this.AccessRight.SendTextSalesCXM);\n this.twilioSendTextServiceNumberCXM = this.getTwilioNumber(this.AccessRight.SendTextServiceCXM);\n //this.routeVoiceCallsToNumber = this.formatPhoneNumber(this.dsa.dealerSetting.textRouterVoiceNumber);\n //this.routeVoiceCallsToNumberCXM = this.formatPhoneNumber(this.dsa.dealerSetting.textRouterVoiceNumberCXM);\n this.dealerService.getIsDealerPandoXEnabled(this.dsa.dealer.dealerID).then(function (result) { return _this.isDealerPandoXEnabled = result; });\n this.selectedOwners = this.dsa.dealerOrphanOwner.map(function (obj) {\n var user = _this.dsa.users.find(function (u) { return u.userID == obj.userID; });\n if (user != null)\n return user;\n }).filter(Boolean);\n };\n AdminSettingsGeneralComponent.prototype.getTwilioNumber = function (accessRightId) {\n var result = null;\n if (this.dsa.dealerTwilioPhoneNumber)\n result = this.dsa.dealerTwilioPhoneNumber.find(function (p) { return p.accessRightId == accessRightId; });\n return (result != null) ? result.twilioPhoneNumber : this.placeHolderNumberText;\n };\n AdminSettingsGeneralComponent.prototype.unformatPhoneNumber = function (source) {\n if (source) {\n var endResult = \"\";\n var phoneText = source;\n for (var i = 0; i < phoneText.length; i++) {\n var code = phoneText.charCodeAt(i);\n if (code >= 48 && code <= 57)\n endResult += phoneText.charAt(i);\n }\n if (endResult.length == 10)\n return \"+1\" + endResult;\n return source;\n }\n else\n return null;\n };\n AdminSettingsGeneralComponent.prototype.formatPhoneNumber = function (source) {\n try {\n if (source == this.placeHolderNumberText)\n return this.tService.instant(this.placeHolderNumberText).toUpperCase();\n var endResult = \"\";\n if (source.length > 9) {\n var phoneText = source.replace(\"+1\", \"\");\n for (var i = 0; i < phoneText.length; i++) {\n var code = phoneText.charCodeAt(i);\n if (code >= 48 && code <= 57)\n endResult += phoneText.charAt(i);\n }\n }\n if (endResult.length == 10) {\n return \"(\" + endResult.substring(0, 3) + \") \" + endResult.substring(3, 6) + \"-\" + endResult.substring(6, 10);\n }\n }\n catch (err) { }\n return source;\n };\n AdminSettingsGeneralComponent.prototype.enableVehicleHistoryReports = function () {\n var _this = this;\n this.bsModalRef = this.modalService.show(admin_settings_vhr_disclaimer_component_1.AdminSettingsVHRDisclaimerComponent);\n this.bsModalRef.content.acceptDisclaimer.subscribe(function (result) {\n _this.dsa.isEnableVHR = true;\n });\n };\n AdminSettingsGeneralComponent.prototype.onOverrideStateChanged = function () {\n this.newTextNumbers = [];\n this.overrideStateSelect.nativeElement.classList.remove(\"invalid\");\n };\n AdminSettingsGeneralComponent.prototype.onOverrideStateChangedCXM = function () {\n this.newTextNumbersCXM = [];\n this.overrideStateSelectCXM.nativeElement.classList.remove(\"invalid\");\n };\n AdminSettingsGeneralComponent.prototype.allNumbersUnique = function () {\n var isUnique = true;\n if (this.dsa.isTextMessagingNewNumberSettingsEnabled && this.dsa.isTextMessagingNewNumberSettingsEnabledCXM) {\n if ((this.twilioSendTextSalesNumberCXM != this.placeHolderNumberText && this.twilioSendTextSalesNumber == this.twilioSendTextSalesNumberCXM)\n || (this.twilioSendTextServiceNumberCXM != this.placeHolderNumberText && this.twilioSendTextSalesNumber == this.twilioSendTextServiceNumberCXM))\n isUnique = false;\n else if ((this.twilioSendTextSalesNumberCXM != this.placeHolderNumberText && this.twilioSendTextServiceNumber == this.twilioSendTextSalesNumberCXM)\n || (this.twilioSendTextServiceNumberCXM != this.placeHolderNumberText && this.twilioSendTextServiceNumber == this.twilioSendTextServiceNumberCXM))\n isUnique = false;\n }\n return isUnique;\n };\n AdminSettingsGeneralComponent.prototype.onNewNumberChanged = function () {\n if (this.twilioSendTextSalesNumber == this.placeHolderNumberText && this.twilioSendTextServiceNumber == this.placeHolderNumberText) {\n this.dsa.twilioSendTextSalesNumber = null;\n this.dsa.twilioSendTextServiceNumber = null;\n this.twilioNumbersValid = true;\n this.allTwilioNumbersUnique = true;\n }\n else if (this.twilioSendTextSalesNumber == this.placeHolderNumberText || this.twilioSendTextServiceNumber == this.placeHolderNumberText)\n this.twilioNumbersValid = false;\n else if (this.twilioSendTextSalesNumber == this.twilioSendTextServiceNumber)\n this.twilioNumbersValid = false;\n else {\n this.dsa.twilioSendTextSalesNumber = this.twilioSendTextSalesNumber;\n this.dsa.twilioSendTextServiceNumber = this.twilioSendTextServiceNumber;\n this.twilioNumbersValid = true;\n }\n this.allTwilioNumbersUnique = true;\n if (this.twilioNumbersValid) {\n this.allTwilioNumbersUnique = this.allNumbersUnique();\n }\n if (!(this.twilioNumbersValid && this.allTwilioNumbersUnique)) {\n this.dsa.twilioSendTextSalesNumber = null;\n this.dsa.twilioSendTextServiceNumber = null;\n }\n };\n AdminSettingsGeneralComponent.prototype.onNewNumberChangedCXM = function () {\n if (this.twilioSendTextSalesNumberCXM == this.placeHolderNumberText && this.twilioSendTextServiceNumberCXM == this.placeHolderNumberText) {\n this.dsa.twilioSendTextSalesNumberCXM = null;\n this.dsa.twilioSendTextServiceNumberCXM = null;\n this.twilioNumbersValidCXM = true;\n this.allTwilioNumbersUnique = true;\n }\n else if (this.twilioSendTextSalesNumberCXM == this.placeHolderNumberText || this.twilioSendTextServiceNumberCXM == this.placeHolderNumberText)\n this.twilioNumbersValidCXM = false;\n else if (this.twilioSendTextSalesNumberCXM == this.twilioSendTextServiceNumberCXM)\n this.twilioNumbersValidCXM = false;\n else {\n this.dsa.twilioSendTextSalesNumberCXM = this.twilioSendTextSalesNumberCXM;\n this.dsa.twilioSendTextServiceNumberCXM = this.twilioSendTextServiceNumberCXM;\n this.twilioNumbersValidCXM = true;\n }\n this.allTwilioNumbersUnique = true;\n if (this.twilioNumbersValidCXM) {\n this.allTwilioNumbersUnique = this.allNumbersUnique();\n }\n if (!(this.twilioNumbersValidCXM && this.allTwilioNumbersUnique)) {\n this.dsa.twilioSendTextSalesNumberCXM = null;\n this.dsa.twilioSendTextServiceNumberCXM = null;\n }\n };\n AdminSettingsGeneralComponent.prototype.onViewNumbers = function (isStateSearch) {\n var _this = this;\n if (isStateSearch === void 0) { isStateSearch = false; }\n this.newTextNumbers = [];\n var stateCode = null;\n if (isStateSearch)\n stateCode = this.overrideStateCode;\n this.dealerSettingService.GetTextNumbers(this.dsa.dealerSetting.dealerID, stateCode, this.textMessagingAreaCode).then(function (result) {\n _this.newTextNumbers = result;\n _this.searchReturnedLessThanTwoLocalNumbers = (_this.newTextNumbers.length < 2);\n if (_this.overrideStateCode == null || _this.overrideStateCode.length === 0) {\n _this.localNumberSearchExecuted = true;\n }\n _this.dsa.twilioSendTextServiceNumber = null;\n _this.dsa.twilioSendTextSalesNumber = null;\n _this.twilioSendTextSalesNumber = _this.placeHolderNumberText;\n _this.twilioSendTextServiceNumber = _this.placeHolderNumberText;\n });\n };\n AdminSettingsGeneralComponent.prototype.onViewNumbersCXM = function (isStateSearch) {\n var _this = this;\n if (isStateSearch === void 0) { isStateSearch = false; }\n this.newTextNumbersCXM = [];\n var stateCode = null;\n if (isStateSearch)\n stateCode = this.overrideStateCodeCXM;\n this.dealerSettingService.GetTextNumbers(this.dsa.dealerSetting.dealerID, stateCode, this.textMessagingAreaCodeCXM).then(function (result) {\n _this.newTextNumbersCXM = result;\n _this.searchReturnedLessThanTwoLocalNumbersCXM = (_this.newTextNumbersCXM.length < 2);\n if (_this.overrideStateCodeCXM == null || _this.overrideStateCodeCXM.length === 0) {\n _this.localNumberSearchExecutedCXM = true;\n }\n _this.dsa.twilioSendTextServiceNumberCXM = null;\n _this.dsa.twilioSendTextSalesNumberCXM = null;\n _this.twilioSendTextSalesNumberCXM = _this.placeHolderNumberText;\n _this.twilioSendTextServiceNumberCXM = _this.placeHolderNumberText;\n });\n };\n AdminSettingsGeneralComponent.prototype.onSearchByState = function () {\n if (this.overrideStateCode == null || this.overrideStateCode.length === 0) {\n this.overrideStateSelect.nativeElement.classList.add(\"invalid\");\n }\n else {\n this.onViewNumbers(true);\n }\n };\n AdminSettingsGeneralComponent.prototype.onSearchByStateCXM = function () {\n if (this.overrideStateCodeCXM == null || this.overrideStateCodeCXM.length === 0) {\n this.overrideStateSelectCXM.nativeElement.classList.add(\"invalid\");\n }\n else {\n this.onViewNumbersCXM(true);\n }\n };\n AdminSettingsGeneralComponent.prototype.onSave = function () {\n // No longer supporting voice number\n //this.dsa.dealerSetting.textRouterVoiceNumber = this.unformatPhoneNumber(this.routeVoiceCallsToNumber);\n //this.dsa.dealerSetting.textRouterVoiceNumberCXM = this.unformatPhoneNumber(this.routeVoiceCallsToNumberCXM);\n this.dsa.dealerOrphanOwner = this.selectedOwners.map(function (obj) {\n // dealerID and typeID are filled by the api\n var rObj = {};\n rObj.userID = obj.userID;\n return rObj;\n });\n };\n return AdminSettingsGeneralComponent;\n}());\nexports.AdminSettingsGeneralComponent = AdminSettingsGeneralComponent;\n","import { Component, OnInit, Input, Output, EventEmitter, ViewChild, ElementRef } from '@angular/core';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { DealerSettingResponseDto, DealerAssignOwnerDto, UserDto } from '../../generated/models';\r\nimport { Modules, AccessRights } from '../../constants';\r\nimport { DealerService } from '../../services/dealer.service';\r\nimport { DealerSettingsService } from '../../services/dealer-settings.service';\r\nimport { AdminSettingsVHRDisclaimerComponent } from './admin-settings-vhr-disclaimer.component';\r\n\r\n@Component({\r\n selector: 'admin-settings-general',\r\n templateUrl: './admin-settings-general.component-ng.html'\r\n})\r\nexport class AdminSettingsGeneralComponent implements OnInit {\r\n bsModalRef: BsModalRef;\r\n @Input() dsa: DealerSettingResponseDto = {};\r\n @Output() onValidateField = new EventEmitter();\r\n @ViewChild('overrideStateSelect', {static: false}) overrideStateSelect: ElementRef;\r\n @ViewChild('overrideStateSelectCXM', { static: false }) overrideStateSelectCXM: ElementRef;\r\n public twilioSendTextSalesNumber: string;\r\n public twilioSendTextServiceNumber: string;\r\n //public routeVoiceCallsToNumber: string;\r\n //public routeVoiceCallsToNumberCXM: string;\r\n public twilioSendTextSalesNumberCXM: string;\r\n public twilioSendTextServiceNumberCXM: string;\r\n public isDealerPandoXEnabled = false;\r\n public newTextNumbers = [];\r\n public newTextNumbersCXM = [];\r\n public twilioNumbersValid: Boolean = true;\r\n public twilioNumbersValidCXM: Boolean = true;\r\n public allTwilioNumbersUnique: Boolean = true;\r\n public selectedOwners: any = [];\r\n public ownersDropdownSettings = {};\r\n public overrideStateCode: string = null;\r\n public overrideStateCodeCXM: string = null;\r\n public searchReturnedLessThanTwoLocalNumbers = false;\r\n public searchReturnedLessThanTwoLocalNumbersCXM = false;\r\n public localNumberSearchExecuted = false;\r\n public localNumberSearchExecutedCXM = false;\r\n public textMessagingAreaCode: number = null;\r\n public textMessagingAreaCodeCXM: number = null;\r\n \r\n public Modules: any = Modules;\r\n \r\n private AccessRight = AccessRights;\r\n\r\n readonly placeHolderNumberText = 'tbd';\r\n\r\n constructor(\r\n private modalService: BsModalService,\r\n private tService: TranslateService,\r\n private dealerService: DealerService,\r\n private dealerSettingService: DealerSettingsService) {\r\n }\r\n\r\n public ngOnInit() {\r\n this.ownersDropdownSettings = {\r\n singleSelection: false,\r\n text: this.tService.instant('dsAdmin_selectOwners'),\r\n selectAllText: this.tService.instant('selectAll'),\r\n enableSearchFilter: false,\r\n badgeShowLimit: 2,\r\n labelKey: \"fullName\",\r\n primaryKey: \"userID\"\r\n }; \r\n\r\n this.twilioSendTextSalesNumber = this.getTwilioNumber(this.AccessRight.SendTextSales);\r\n this.twilioSendTextServiceNumber = this.getTwilioNumber(this.AccessRight.SendTextService);\r\n this.twilioSendTextSalesNumberCXM = this.getTwilioNumber(this.AccessRight.SendTextSalesCXM);\r\n this.twilioSendTextServiceNumberCXM = this.getTwilioNumber(this.AccessRight.SendTextServiceCXM);\r\n //this.routeVoiceCallsToNumber = this.formatPhoneNumber(this.dsa.dealerSetting.textRouterVoiceNumber);\r\n //this.routeVoiceCallsToNumberCXM = this.formatPhoneNumber(this.dsa.dealerSetting.textRouterVoiceNumberCXM);\r\n this.dealerService.getIsDealerPandoXEnabled(this.dsa.dealer.dealerID).then(result => this.isDealerPandoXEnabled = result);\r\n\r\n this.selectedOwners = this.dsa.dealerOrphanOwner.map(obj => {\r\n var user = this.dsa.users.find(u => u.userID == obj.userID);\r\n if (user != null)\r\n return user;\r\n }).filter(Boolean);\r\n }\r\n\r\n public getTwilioNumber(accessRightId: number) {\r\n var result = null;\r\n if (this.dsa.dealerTwilioPhoneNumber)\r\n result = this.dsa.dealerTwilioPhoneNumber.find(p => p.accessRightId == accessRightId);\r\n\r\n return (result != null) ? result.twilioPhoneNumber : this.placeHolderNumberText;\r\n }\r\n\r\n public unformatPhoneNumber(source: string): string {\r\n if (source) {\r\n var endResult = \"\";\r\n var phoneText = source;\r\n for (var i = 0; i < phoneText.length; i++) {\r\n var code = phoneText.charCodeAt(i);\r\n if (code >= 48 && code <= 57) endResult += phoneText.charAt(i);\r\n }\r\n\r\n if (endResult.length == 10)\r\n return \"+1\" + endResult;\r\n\r\n return source;\r\n }\r\n else\r\n return null;\r\n }\r\n\r\n public formatPhoneNumber(source: string): string {\r\n try {\r\n if (source == this.placeHolderNumberText)\r\n return this.tService.instant(this.placeHolderNumberText).toUpperCase();\r\n\r\n var endResult = \"\";\r\n if (source.length > 9) {\r\n var phoneText = source.replace(\"+1\", \"\");\r\n for (var i = 0; i < phoneText.length; i++) {\r\n var code = phoneText.charCodeAt(i);\r\n if (code >= 48 && code <= 57) endResult += phoneText.charAt(i);\r\n }\r\n }\r\n if (endResult.length == 10) {\r\n return \"(\" + endResult.substring(0, 3) + \") \" + endResult.substring(3, 6) + \"-\" + endResult.substring(6, 10);\r\n }\r\n } catch (err) { }\r\n return source;\r\n }\r\n\r\n public enableVehicleHistoryReports(): void {\r\n\r\n this.bsModalRef = this.modalService.show(AdminSettingsVHRDisclaimerComponent);\r\n this.bsModalRef.content.acceptDisclaimer.subscribe(result => {\r\n this.dsa.isEnableVHR = true;\r\n });\r\n }\r\n\r\n public onOverrideStateChanged(): void {\r\n this.newTextNumbers = [];\r\n this.overrideStateSelect.nativeElement.classList.remove(\"invalid\");\r\n }\r\n public onOverrideStateChangedCXM(): void {\r\n this.newTextNumbersCXM = [];\r\n this.overrideStateSelectCXM.nativeElement.classList.remove(\"invalid\");\r\n }\r\n\r\n private allNumbersUnique(): boolean {\r\n let isUnique = true;\r\n\r\n if (this.dsa.isTextMessagingNewNumberSettingsEnabled && this.dsa.isTextMessagingNewNumberSettingsEnabledCXM) {\r\n if ((this.twilioSendTextSalesNumberCXM != this.placeHolderNumberText && this.twilioSendTextSalesNumber == this.twilioSendTextSalesNumberCXM)\r\n || (this.twilioSendTextServiceNumberCXM != this.placeHolderNumberText && this.twilioSendTextSalesNumber == this.twilioSendTextServiceNumberCXM))\r\n isUnique = false;\r\n else if ((this.twilioSendTextSalesNumberCXM != this.placeHolderNumberText && this.twilioSendTextServiceNumber == this.twilioSendTextSalesNumberCXM)\r\n || (this.twilioSendTextServiceNumberCXM != this.placeHolderNumberText && this.twilioSendTextServiceNumber == this.twilioSendTextServiceNumberCXM))\r\n isUnique = false;\r\n }\r\n return isUnique;\r\n }\r\n\r\n public onNewNumberChanged(): void {\r\n if (this.twilioSendTextSalesNumber == this.placeHolderNumberText && this.twilioSendTextServiceNumber == this.placeHolderNumberText) {\r\n this.dsa.twilioSendTextSalesNumber = null;\r\n this.dsa.twilioSendTextServiceNumber = null;\r\n this.twilioNumbersValid = true;\r\n this.allTwilioNumbersUnique = true;\r\n }\r\n else if (this.twilioSendTextSalesNumber == this.placeHolderNumberText || this.twilioSendTextServiceNumber == this.placeHolderNumberText)\r\n this.twilioNumbersValid = false;\r\n else if (this.twilioSendTextSalesNumber == this.twilioSendTextServiceNumber)\r\n this.twilioNumbersValid = false;\r\n else {\r\n this.dsa.twilioSendTextSalesNumber = this.twilioSendTextSalesNumber;\r\n this.dsa.twilioSendTextServiceNumber = this.twilioSendTextServiceNumber;\r\n this.twilioNumbersValid = true;\r\n }\r\n\r\n this.allTwilioNumbersUnique = true;\r\n if (this.twilioNumbersValid) {\r\n this.allTwilioNumbersUnique = this.allNumbersUnique();\r\n }\r\n\r\n if (!(this.twilioNumbersValid && this.allTwilioNumbersUnique)) {\r\n this.dsa.twilioSendTextSalesNumber = null;\r\n this.dsa.twilioSendTextServiceNumber = null;\r\n }\r\n }\r\n\r\n public onNewNumberChangedCXM(): void {\r\n if (this.twilioSendTextSalesNumberCXM == this.placeHolderNumberText && this.twilioSendTextServiceNumberCXM == this.placeHolderNumberText) {\r\n this.dsa.twilioSendTextSalesNumberCXM = null;\r\n this.dsa.twilioSendTextServiceNumberCXM = null;\r\n this.twilioNumbersValidCXM = true;\r\n this.allTwilioNumbersUnique = true;\r\n }\r\n else if (this.twilioSendTextSalesNumberCXM == this.placeHolderNumberText || this.twilioSendTextServiceNumberCXM == this.placeHolderNumberText)\r\n this.twilioNumbersValidCXM = false;\r\n else if (this.twilioSendTextSalesNumberCXM == this.twilioSendTextServiceNumberCXM)\r\n this.twilioNumbersValidCXM = false;\r\n else {\r\n this.dsa.twilioSendTextSalesNumberCXM = this.twilioSendTextSalesNumberCXM;\r\n this.dsa.twilioSendTextServiceNumberCXM = this.twilioSendTextServiceNumberCXM;\r\n this.twilioNumbersValidCXM = true;\r\n }\r\n\r\n this.allTwilioNumbersUnique = true;\r\n if (this.twilioNumbersValidCXM) {\r\n this.allTwilioNumbersUnique = this.allNumbersUnique();\r\n }\r\n\r\n if (!(this.twilioNumbersValidCXM && this.allTwilioNumbersUnique)) {\r\n this.dsa.twilioSendTextSalesNumberCXM = null;\r\n this.dsa.twilioSendTextServiceNumberCXM = null;\r\n }\r\n }\r\n\r\n public onViewNumbers(isStateSearch: boolean = false): void {\r\n\r\n this.newTextNumbers = [];\r\n let stateCode = null;\r\n\r\n if (isStateSearch) stateCode = this.overrideStateCode;\r\n\r\n this.dealerSettingService.GetTextNumbers(this.dsa.dealerSetting.dealerID, stateCode, this.textMessagingAreaCode).then(result => {\r\n this.newTextNumbers = result;\r\n this.searchReturnedLessThanTwoLocalNumbers = (this.newTextNumbers.length < 2);\r\n\r\n if (this.overrideStateCode == null || this.overrideStateCode.length === 0) {\r\n this.localNumberSearchExecuted = true;\r\n }\r\n\r\n this.dsa.twilioSendTextServiceNumber = null;\r\n this.dsa.twilioSendTextSalesNumber = null;\r\n this.twilioSendTextSalesNumber = this.placeHolderNumberText;\r\n this.twilioSendTextServiceNumber = this.placeHolderNumberText;\r\n });\r\n }\r\n\r\n public onViewNumbersCXM(isStateSearch: boolean = false): void {\r\n\r\n this.newTextNumbersCXM = [];\r\n let stateCode = null;\r\n\r\n if (isStateSearch) stateCode = this.overrideStateCodeCXM;\r\n\r\n this.dealerSettingService.GetTextNumbers(this.dsa.dealerSetting.dealerID, stateCode, this.textMessagingAreaCodeCXM).then(result => {\r\n this.newTextNumbersCXM = result;\r\n this.searchReturnedLessThanTwoLocalNumbersCXM = (this.newTextNumbersCXM.length < 2);\r\n\r\n if (this.overrideStateCodeCXM == null || this.overrideStateCodeCXM.length === 0) {\r\n this.localNumberSearchExecutedCXM = true;\r\n }\r\n\r\n this.dsa.twilioSendTextServiceNumberCXM = null;\r\n this.dsa.twilioSendTextSalesNumberCXM = null;\r\n this.twilioSendTextSalesNumberCXM = this.placeHolderNumberText;\r\n this.twilioSendTextServiceNumberCXM = this.placeHolderNumberText;\r\n });\r\n }\r\n\r\n public onSearchByState(): void {\r\n if (this.overrideStateCode == null || this.overrideStateCode.length === 0) {\r\n this.overrideStateSelect.nativeElement.classList.add(\"invalid\");\r\n } else {\r\n this.onViewNumbers(true);\r\n }\r\n }\r\n public onSearchByStateCXM(): void {\r\n if (this.overrideStateCodeCXM == null || this.overrideStateCodeCXM.length === 0) {\r\n this.overrideStateSelectCXM.nativeElement.classList.add(\"invalid\");\r\n } else {\r\n this.onViewNumbersCXM(true);\r\n }\r\n }\r\n\r\n public onSave(): void {\r\n // No longer supporting voice number\r\n //this.dsa.dealerSetting.textRouterVoiceNumber = this.unformatPhoneNumber(this.routeVoiceCallsToNumber);\r\n //this.dsa.dealerSetting.textRouterVoiceNumberCXM = this.unformatPhoneNumber(this.routeVoiceCallsToNumberCXM);\r\n\r\n this.dsa.dealerOrphanOwner = this.selectedOwners.map((obj: UserDto) => {\r\n // dealerID and typeID are filled by the api\r\n var rObj: DealerAssignOwnerDto = {};\r\n rObj.userID = obj.userID;\r\n return rObj;\r\n });\r\n }\r\n}","module.exports = \"bulk-template-wizard-modal iframe {\\n border: none;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9tb2RhbHMvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxtb2RhbHNcXGJ1bGstdGVtcGxhdGUtd2l6YXJkLW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL21vZGFscy9idWxrLXRlbXBsYXRlLXdpemFyZC1tb2RhbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDSTtFQUNJLGFBQUE7Q0NBUCIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvbW9kYWxzL2J1bGstdGVtcGxhdGUtd2l6YXJkLW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiYnVsay10ZW1wbGF0ZS13aXphcmQtbW9kYWwge1xyXG4gICAgaWZyYW1lIHtcclxuICAgICAgICBib3JkZXI6IG5vbmU7XHJcbiAgICB9XHJcbn1cclxuXHJcbiIsImJ1bGstdGVtcGxhdGUtd2l6YXJkLW1vZGFsIGlmcmFtZSB7XG4gIGJvcmRlcjogbm9uZTtcbn0iXX0= */\"","\"use strict\";\n// import { Component, OnInit } from '@angular/core';\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// @Component({\n// selector: 'loyalty-rebate',\n// templateUrl: './loyalty-rebate.component.html',\n// styleUrls: ['./loyalty-rebate.component.scss']\n// })\n// export class LoyaltyRebateComponent implements OnInit {\n// constructor() { }\n// ngOnInit() {\n// }\n// }\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar LoyaltyRebateComponent = /** @class */ (function (_super) {\n __extends(LoyaltyRebateComponent, _super);\n function LoyaltyRebateComponent(elementRef, injector) {\n return _super.call(this, 'loyaltyRebate', elementRef, injector) || this;\n }\n return LoyaltyRebateComponent;\n}(static_1.UpgradeComponent));\nexports.LoyaltyRebateComponent = LoyaltyRebateComponent;\n","// import { Component, OnInit } from '@angular/core';\r\n\r\n// @Component({\r\n// selector: 'loyalty-rebate',\r\n// templateUrl: './loyalty-rebate.component.html',\r\n// styleUrls: ['./loyalty-rebate.component.scss']\r\n// })\r\n// export class LoyaltyRebateComponent implements OnInit {\r\n\r\n// constructor() { }\r\n\r\n// ngOnInit() {\r\n// }\r\n\r\n// }\r\n\r\n\r\nimport { Directive, ElementRef, Injector, Input } from '@angular/core';\r\nimport { UpgradeComponent } from '@angular/upgrade/static';\r\n\r\n@Directive({\r\n selector: 'loyalty-rebate'\r\n})\r\nexport class LoyaltyRebateComponent extends UpgradeComponent {\r\n @Input() value: number;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('loyaltyRebate', elementRef, injector);\r\n }\r\n}","module.exports = __webpack_public_path__ + \"facebook-logo.471042329868e37c55ab.png\";","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","module.exports = __webpack_public_path__ + \"autoalert-logo-ford-canada.d7930662a7451876f0b5.png\";","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PricingPlanTypes = {\n noPlan: 0,\n azPlan: 1,\n xPlanPartners: 2,\n xPlanFriends: 3\n};\nexports.default = exports.PricingPlanTypes;\n","export const PricingPlanTypes = {\r\n noPlan: 0,\r\n azPlan: 1,\r\n xPlanPartners: 2,\r\n xPlanFriends: 3\r\n};\r\n\r\nexport default PricingPlanTypes;\r\n","var path = '/app/components/reports/reports-menu.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar CustomerActivityHistoryClientService = /** @class */ (function (_super) {\n __extends(CustomerActivityHistoryClientService, _super);\n function CustomerActivityHistoryClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n */\n CustomerActivityHistoryClientService.prototype.GetCustomerActivityHistoryByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/CustomerActivityHistory/ByEntity/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n CustomerActivityHistoryClientService.prototype.GetCustomerActivityHistoryByEntityidGET = function (entityId) {\n return this.GetCustomerActivityHistoryByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n CustomerActivityHistoryClientService.GetCustomerActivityHistoryByEntityidGETPath = '/api/CustomerActivityHistory/ByEntity/{entityId}';\n CustomerActivityHistoryClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function CustomerActivityHistoryClientService_Factory() { return new CustomerActivityHistoryClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: CustomerActivityHistoryClientService, providedIn: \"root\" });\n return CustomerActivityHistoryClientService;\n}(base_service_1.BaseService));\nexports.CustomerActivityHistoryClientService = CustomerActivityHistoryClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass CustomerActivityHistoryClientService extends __BaseService {\r\n static readonly GetCustomerActivityHistoryByEntityidGETPath = '/api/CustomerActivityHistory/ByEntity/{entityId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetCustomerActivityHistoryByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/CustomerActivityHistory/ByEntity/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetCustomerActivityHistoryByEntityidGET(entityId: string): __Observable {\r\n return this.GetCustomerActivityHistoryByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule CustomerActivityHistoryClientService {\r\n}\r\n\r\nexport { CustomerActivityHistoryClientService }\r\n","module.exports = \"\"","var path = '/app/components/deal-sheet/vehicle/recommended-vehicles-action.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar EulaHistoryClientService = /** @class */ (function (_super) {\n __extends(EulaHistoryClientService, _super);\n function EulaHistoryClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @return Success\n */\n EulaHistoryClientService.prototype.GetStatusGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/EulaHistory/GetStatus\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n EulaHistoryClientService.prototype.GetStatusGET = function () {\n return this.GetStatusGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `EulaHistoryClientService.PostResponseByEulaidByEularesponsetypeidPOSTParams` containing the following parameters:\n *\n * - `eulaResponseTypeId`:\n *\n * - `eulaId`:\n */\n EulaHistoryClientService.prototype.PostResponseByEulaidByEularesponsetypeidPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/EulaHistory/PostResponse/\" + params.eulaId + \"/\" + params.eulaResponseTypeId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `EulaHistoryClientService.PostResponseByEulaidByEularesponsetypeidPOSTParams` containing the following parameters:\n *\n * - `eulaResponseTypeId`:\n *\n * - `eulaId`:\n */\n EulaHistoryClientService.prototype.PostResponseByEulaidByEularesponsetypeidPOST = function (params) {\n return this.PostResponseByEulaidByEularesponsetypeidPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n EulaHistoryClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/EulaHistory/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n EulaHistoryClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n EulaHistoryClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/EulaHistory/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n EulaHistoryClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n EulaHistoryClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/EulaHistory/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n EulaHistoryClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n EulaHistoryClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/EulaHistory\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n EulaHistoryClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n EulaHistoryClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/EulaHistory\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n EulaHistoryClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n EulaHistoryClientService.GetStatusGETPath = '/api/EulaHistory/GetStatus';\n EulaHistoryClientService.PostResponseByEulaidByEularesponsetypeidPOSTPath = '/api/EulaHistory/PostResponse/{eulaId}/{eulaResponseTypeId}';\n EulaHistoryClientService.ByIdGETPath = '/api/EulaHistory/{id}';\n EulaHistoryClientService.ByIdDELETEPath = '/api/EulaHistory/{id}';\n EulaHistoryClientService.GetManyGETPath = '/api/EulaHistory/GetMany';\n EulaHistoryClientService.PUTPath = '/api/EulaHistory';\n EulaHistoryClientService.POSTPath = '/api/EulaHistory';\n EulaHistoryClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function EulaHistoryClientService_Factory() { return new EulaHistoryClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: EulaHistoryClientService, providedIn: \"root\" });\n return EulaHistoryClientService;\n}(base_service_1.BaseService));\nexports.EulaHistoryClientService = EulaHistoryClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { EulaHistoryDto } from '../models/eula-history-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass EulaHistoryClientService extends __BaseService {\r\n static readonly GetStatusGETPath = '/api/EulaHistory/GetStatus';\r\n static readonly PostResponseByEulaidByEularesponsetypeidPOSTPath = '/api/EulaHistory/PostResponse/{eulaId}/{eulaResponseTypeId}';\r\n static readonly ByIdGETPath = '/api/EulaHistory/{id}';\r\n static readonly ByIdDELETEPath = '/api/EulaHistory/{id}';\r\n static readonly GetManyGETPath = '/api/EulaHistory/GetMany';\r\n static readonly PUTPath = '/api/EulaHistory';\r\n static readonly POSTPath = '/api/EulaHistory';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetStatusGETResponse(): __Observable<__StrictHttpResponse<0 | 1 | 2 | 3>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/EulaHistory/GetStatus`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse<0 | 1 | 2 | 3>;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetStatusGET(): __Observable<0 | 1 | 2 | 3> {\r\n return this.GetStatusGETResponse().pipe(\r\n __map(_r => _r.body as 0 | 1 | 2 | 3)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `EulaHistoryClientService.PostResponseByEulaidByEularesponsetypeidPOSTParams` containing the following parameters:\r\n *\r\n * - `eulaResponseTypeId`:\r\n *\r\n * - `eulaId`:\r\n */\r\n PostResponseByEulaidByEularesponsetypeidPOSTResponse(params: EulaHistoryClientService.PostResponseByEulaidByEularesponsetypeidPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/EulaHistory/PostResponse/${params.eulaId}/${params.eulaResponseTypeId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `EulaHistoryClientService.PostResponseByEulaidByEularesponsetypeidPOSTParams` containing the following parameters:\r\n *\r\n * - `eulaResponseTypeId`:\r\n *\r\n * - `eulaId`:\r\n */\r\n PostResponseByEulaidByEularesponsetypeidPOST(params: EulaHistoryClientService.PostResponseByEulaidByEularesponsetypeidPOSTParams): __Observable {\r\n return this.PostResponseByEulaidByEularesponsetypeidPOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/EulaHistory/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as EulaHistoryDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/EulaHistory/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/EulaHistory/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: EulaHistoryDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/EulaHistory`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: EulaHistoryDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: EulaHistoryDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/EulaHistory`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: EulaHistoryDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as EulaHistoryDto)\r\n );\r\n }\r\n}\r\n\r\nmodule EulaHistoryClientService {\r\n\r\n /**\r\n * Parameters for PostResponseByEulaidByEularesponsetypeidPOST\r\n */\r\n export interface PostResponseByEulaidByEularesponsetypeidPOSTParams {\r\n eulaResponseTypeId: 1 | 2 | 3;\r\n eulaId: number;\r\n }\r\n}\r\n\r\nexport { EulaHistoryClientService }\r\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./nlo-info-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar i3 = __importStar(require(\"../../../modules/storage/storage.service\"));\nvar i4 = __importStar(require(\"@ngx-translate/core\"));\nvar i5 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i6 = __importStar(require(\"../../icon/icon.component\"));\nvar i7 = __importStar(require(\"@angular/platform-browser\"));\nvar i8 = __importStar(require(\"ng-busy\"));\nvar i9 = __importStar(require(\"@angular/common\"));\nvar i10 = __importStar(require(\"./nlo-info-modal.component\"));\nvar i11 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i12 = __importStar(require(\"../../../services/opportunity2.service\"));\nvar styles_NloInfoModalComponent = [i0.styles];\nvar RenderType_NloInfoModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_NloInfoModalComponent, data: {} });\nexports.RenderType_NloInfoModalComponent = RenderType_NloInfoModalComponent;\nfunction View_NloInfoModalComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 1)], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.communicationSource; _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.context.$implicit.communicationText; _ck(_v, 4, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.insertDateUtc)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_NloInfoModalComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.LocaleDateTimePipe, [i3.StorageService]), (_l()(), i1.ɵeld(1, 0, null, null, 37, \"div\", [[\"class\", \"modal-wrapper nlo-info-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"nlo-title\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"h5\", [[\"class\", \"modal-title\"], [\"translate\", \"nloModalTitle\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 3, \"div\", [[\"class\", \"nlo-float-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵdid(9, 638976, null, 0, i6.IconComponent, [i7.DomSanitizer], null, null), (_l()(), i1.ɵeld(10, 16777216, null, null, 21, \"div\", [[\"class\", \"modal-body form-horizontal\"]], null, null, null, null, null)), i1.ɵprd(512, null, i8.InstanceConfigHolderService, i8.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i8.ɵa, i8.ɵa, []), i1.ɵdid(13, 409600, null, 0, i8.NgBusyDirective, [i8.ɵb, i8.InstanceConfigHolderService, i1.ComponentFactoryResolver, i8.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(14, { busy: 0, delay: 1 }), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"row intro\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"div\", [[\"class\", \"col-sm-12\"], [\"translate\", \"nloModalHeader\"]], null, null, null, null, null)), i1.ɵdid(17, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(18, 0, null, null, 13, \"div\", [[\"class\", \"form-group row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 12, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 11, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 7, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 6, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 1, \"th\", [[\"translate\", \"source\"]], null, null, null, null, null)), i1.ɵdid(24, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"th\", [[\"translate\", \"nloMessage\"]], null, null, null, null, null)), i1.ɵdid(26, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(27, 0, null, null, 1, \"th\", [[\"translate\", \"date\"]], null, null, null, null, null)), i1.ɵdid(28, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(29, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_NloInfoModalComponent_1)), i1.ɵdid(31, 278528, null, 0, i9.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(32, 0, null, null, 6, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(33, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary cancelBtn\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(34, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(35, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"nlo_Decline\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.markAsNLO(false) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(36, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(37, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"nlo_Mark\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.markAsNLO(true) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(38, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"nloModalTitle\"; _ck(_v, 5, 0, currVal_0); _ck(_v, 9, 0); var currVal_1 = _ck(_v, 14, 0, _co.busy, 200); _ck(_v, 13, 0, currVal_1); var currVal_2 = \"nloModalHeader\"; _ck(_v, 17, 0, currVal_2); var currVal_3 = \"source\"; _ck(_v, 24, 0, currVal_3); var currVal_4 = \"nloMessage\"; _ck(_v, 26, 0, currVal_4); var currVal_5 = \"date\"; _ck(_v, 28, 0, currVal_5); var currVal_6 = _co.nloData; _ck(_v, 31, 0, currVal_6); var currVal_7 = \"cancel\"; _ck(_v, 34, 0, currVal_7); var currVal_8 = \"nlo_Decline\"; _ck(_v, 36, 0, currVal_8); var currVal_9 = \"nlo_Mark\"; _ck(_v, 38, 0, currVal_9); }, null); }\nexports.View_NloInfoModalComponent_0 = View_NloInfoModalComponent_0;\nfunction View_NloInfoModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"nlo-info-modal\", [], null, null, null, View_NloInfoModalComponent_0, RenderType_NloInfoModalComponent)), i1.ɵdid(1, 4308992, null, 0, i10.NloInfoModalComponent, [i11.BsModalRef, i4.TranslateService, i12.Opportunity2Service], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_NloInfoModalComponent_Host_0 = View_NloInfoModalComponent_Host_0;\nvar NloInfoModalComponentNgFactory = i1.ɵccf(\"nlo-info-modal\", i10.NloInfoModalComponent, View_NloInfoModalComponent_Host_0, { entityId: \"entityId\", nloData: \"nloData\" }, { onClosed: \"onClosed\" }, []);\nexports.NloInfoModalComponentNgFactory = NloInfoModalComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
{{row.communicationSource}}{{row.communicationText}}{{row.insertDateUtc | localeDateTime}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
","var path = '/app/components/toggle-button.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar lodash_1 = require(\"lodash\");\nvar moment_1 = __importDefault(require(\"moment\"));\nvar operators_1 = require(\"rxjs/operators\");\nvar constants_1 = require(\"../constants\");\nvar engagement_event_types_constant_1 = require(\"../constants/engagement-event-types.constant\");\nvar review_pro_rating_1 = require(\"../constants/review-pro-rating\");\nvar services_1 = require(\"../generated/services\");\nvar dealer_service_1 = require(\"./dealer.service\");\nvar http_interceptor_options_service_1 = require(\"./http/http-interceptor-options.service\");\nvar notification_service_1 = require(\"./notification.service\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"./notification.service\"));\nvar i2 = __importStar(require(\"../generated/services/deal-sheet-client.service\"));\nvar i3 = __importStar(require(\"./dealer.service\"));\nvar i4 = __importStar(require(\"./http/http-interceptor-options.service\"));\nvar CustomerEngagementService = /** @class */ (function () {\n function CustomerEngagementService(notificationService, dealSheetClient, dealerService, httpInterceptorOptionsService) {\n this.notificationService = notificationService;\n this.dealSheetClient = dealSheetClient;\n this.dealerService = dealerService;\n this.httpInterceptorOptionsService = httpInterceptorOptionsService;\n }\n CustomerEngagementService.prototype.getCustomerEngagementLastViewed = function () {\n return this.dealSheetClient.GetCustomerEngagementLastViewedGET().toPromise();\n };\n Object.defineProperty(CustomerEngagementService.prototype, \"newEngagements\", {\n get: function () {\n return this.notificationService.message$\n .pipe(operators_1.filter(function (evt) { return evt.eventType == notification_service_1.EventTypes.engagement; }));\n },\n enumerable: true,\n configurable: true\n });\n CustomerEngagementService.prototype.getCustomerEngagement = function (hoursBack) {\n var _this = this;\n var dateFrom = moment_1.default().subtract(hoursBack || 24, \"hours\").toDate();\n var params = {\n dateFrom: dateFrom.toISOString().replace(\"Z\", \"\"),\n lastViewedDate: undefined,\n IncludeReviewPro: false\n };\n var result = this.dealSheetClient.GetCustomerEngagementLastViewedGET().toPromise()\n .then(function (lastViewedResponse) {\n params.lastViewedDate = (lastViewedResponse !== null) ?\n lastViewedResponse.lastViewedDateUTC :\n new Date();\n return _this.dealerService.getIsAssetEnabledForDealer(constants_1.AssetTypes.reviewBuilderPro)\n .then(function (response) {\n params.IncludeReviewPro = response;\n return _this.dealSheetClient.CustomerEngagementHistoryGET(params).toPromise()\n .then(function (engagementsResponse) {\n return {\n engagements: engagementsResponse,\n lastViewed: lastViewedResponse\n };\n });\n });\n })\n .then(function (combinedResponse) {\n if (!combinedResponse) {\n return { lastViewed: null, engagements: null };\n }\n var lastViewed = combinedResponse.lastViewed;\n var engagements = combinedResponse.engagements;\n return {\n lastViewedDate: lastViewed && lastViewed.data && lastViewed.data.lastViewedDateUTC\n ? moment_1.default.utc(lastViewed.data.lastViewedDateUTC).local().toDate()\n : null,\n engagements: engagements.map(function (item) { return ({\n customerFullName: item.customerFullName,\n engagementEventGroupId: item.engagementEventGroupID,\n engagementEventTypeId: item.engagementEventTypeID,\n eventDate: _this.utcStringToLocalDate(item.eventDateUTC),\n reviewRating: item.reviewRating,\n highEngagement: item.highEngagement,\n opportunityId: item.entityId,\n group: lodash_1.invert(engagement_event_types_constant_1.EngagementEventGroups)[item.engagementEventGroupID],\n one2oneCount: item.one2OneCount,\n emailCount: item.emailCount,\n textMessageCount: item.textMessageCount,\n autoAssistantCount: item.autoAssistantCount,\n webCount: item.webCount,\n serviceCount: item.serviceCount,\n reviewCount: item.reviewCount,\n totalCount: item.one2OneCount + item.emailCount + item.webCount + item.serviceCount + item.reviewCount + item.textMessageCount + item.autoAssistantCount + item.intelligentMarketingCount + item.geoAlertCount,\n lastViewedCount: item.lastViewedCount,\n ratingIcon: review_pro_rating_1.RATING_ICONS[item.reviewRating],\n ratingTitle: review_pro_rating_1.RATING_TITLES[item.reviewRating],\n intelligentMarketingCount: item.intelligentMarketingCount,\n geoAlertCount: item.geoAlertCount\n }); })\n };\n });\n return result;\n };\n CustomerEngagementService.prototype.getCustomerEngagementByGroup = function (selectedDealerId, _a) {\n var _this = this;\n var engagementEventGroupIds = _a.engagementEventGroupIds, dateFrom = _a.dateFrom, take = _a.take, hotLeadsOnly = _a.hotLeadsOnly, notWorkedOnly = _a.notWorkedOnly, dealerId = _a.dealerId;\n var params = {\n engagementEventGroupIds: engagementEventGroupIds,\n dateFrom: dateFrom ? moment_1.default(dateFrom).utc().toISOString() : undefined,\n take: take || 100,\n hotLeadsOnly: !!hotLeadsOnly,\n notWorkedOnly: !!notWorkedOnly,\n dealerId: dealerId\n };\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId]);\n var result = this.dealSheetClient.CustomerEngagementDashboardPOST(params).toPromise()\n .then(function (response) { return response.map(function (engagement) { return (__assign({}, engagement, { entityID: engagement.entityId, opportunityId: engagement.entityId, eventDate: _this.utcStringToLocalDate(engagement.eventDateUTC), ratingIcon: review_pro_rating_1.RATING_ICONS[engagement.reviewRating], ratingTitle: review_pro_rating_1.RATING_TITLES[engagement.reviewRating] })); }); });\n return result;\n };\n // This returns engagements for an Entity with eventDate, engagementEventTypeID\n // and highEngagement.\n CustomerEngagementService.prototype.getCustomerEngagementsByEntity = function (entityId, dateFrom, hotLeadsOnly) {\n var _this = this;\n var params = {\n entityId: entityId,\n dateFrom: dateFrom ? moment_1.default(dateFrom).utc().toISOString() : undefined,\n hotLeadsOnly: hotLeadsOnly\n };\n var result = this.dealSheetClient.CustomerEngagementsByEntityPOST(params).toPromise()\n .then(function (response) { return response.map(function (engagement) { return ({\n engagementEventTypeId: engagement.engagementEventTypeID,\n engagementEventGroupId: engagement.engagementEventGroupID,\n eventDate: _this.utcStringToLocalDate(engagement.eventDateUTC),\n reviewRating: engagement.reviewRating,\n highEngagement: engagement.highEngagement,\n ratingIcon: review_pro_rating_1.RATING_ICONS[engagement.reviewRating],\n ratingTitle: review_pro_rating_1.RATING_TITLES[engagement.reviewRating]\n }); }); });\n return result;\n };\n CustomerEngagementService.prototype.markCustomerEngagementsViewed = function () {\n return this.dealSheetClient.UpdateCustomerEngagementLastViewedPOST().toPromise();\n };\n CustomerEngagementService.prototype.utcStringToLocalDate = function (str) {\n return moment_1.default.utc(str).local().toDate();\n };\n CustomerEngagementService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function CustomerEngagementService_Factory() { return new CustomerEngagementService(i0.ɵɵinject(i1.NotificationService), i0.ɵɵinject(i2.DealSheetClientService), i0.ɵɵinject(i3.DealerService), i0.ɵɵinject(i4.HttpInterceptorOptionsService)); }, token: CustomerEngagementService, providedIn: \"root\" });\n return CustomerEngagementService;\n}());\nexports.CustomerEngagementService = CustomerEngagementService;\n","\r\nimport { Injectable } from '@angular/core';\r\nimport { invert } from 'lodash';\r\nimport moment from 'moment';\r\nimport { filter } from 'rxjs/operators';\r\nimport { AssetTypes } from '../constants';\r\nimport { EngagementEventGroups } from '../constants/engagement-event-types.constant';\r\nimport { RATING_ICONS, RATING_TITLES } from '../constants/review-pro-rating';\r\nimport { Usp_GetCustomerEngagementDashboard_RequestDto, Usp_GetCustomerEngagementsByEntityData_RequestDto } from '../generated/models';\r\nimport { DealSheetClientService } from '../generated/services';\r\nimport { DealerService } from './dealer.service';\r\nimport { HttpInterceptorOptionsService } from './http/http-interceptor-options.service';\r\nimport { EventTypes, NotificationService } from './notification.service';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable(\r\n {providedIn: 'root'}\r\n)\r\nexport class CustomerEngagementService {\r\n\r\n constructor(private notificationService: NotificationService, \r\n private dealSheetClient: DealSheetClientService,\r\n private dealerService: DealerService, \r\n private httpInterceptorOptionsService: HttpInterceptorOptionsService) {}\r\n \r\n public getCustomerEngagementLastViewed() {\r\n return this.dealSheetClient.GetCustomerEngagementLastViewedGET().toPromise();\r\n }\r\n\r\n public get newEngagements(): Observable {\r\n return this.notificationService.message$\r\n .pipe(\r\n filter(evt => evt.eventType == EventTypes.engagement)\r\n )\r\n }\r\n\r\n public getCustomerEngagement(hoursBack: number) {\r\n let dateFrom = moment().subtract(hoursBack || 24, \"hours\").toDate();\r\n const params = {\r\n dateFrom: dateFrom.toISOString().replace(\"Z\", \"\"),\r\n lastViewedDate: undefined,\r\n IncludeReviewPro: false\r\n }; \r\n\r\n const result = this.dealSheetClient.GetCustomerEngagementLastViewedGET().toPromise()\r\n .then((lastViewedResponse: any) => {\r\n \r\n params.lastViewedDate = (lastViewedResponse !== null) ?\r\n lastViewedResponse.lastViewedDateUTC :\r\n new Date();\r\n\r\n return this.dealerService.getIsAssetEnabledForDealer(AssetTypes.reviewBuilderPro)\r\n .then(response => {\r\n params.IncludeReviewPro = response;\r\n return this.dealSheetClient.CustomerEngagementHistoryGET(params).toPromise()\r\n .then(engagementsResponse => {\r\n return {\r\n engagements: engagementsResponse,\r\n lastViewed: lastViewedResponse\r\n }\r\n })\r\n });\r\n })\r\n .then((combinedResponse: {lastViewed: any, engagements: any}) => {\r\n \r\n if (!combinedResponse) { return {lastViewed: null, engagements: null}; }\r\n\r\n const lastViewed = combinedResponse.lastViewed;\r\n const engagements = combinedResponse.engagements;\r\n return {\r\n lastViewedDate:\r\n lastViewed && lastViewed.data && lastViewed.data.lastViewedDateUTC\r\n ? moment.utc(lastViewed.data.lastViewedDateUTC).local().toDate()\r\n : null,\r\n engagements:\r\n engagements.map(item => ({\r\n customerFullName: item.customerFullName,\r\n engagementEventGroupId: item.engagementEventGroupID,\r\n engagementEventTypeId: item.engagementEventTypeID,\r\n eventDate: this.utcStringToLocalDate(item.eventDateUTC),\r\n reviewRating: item.reviewRating,\r\n highEngagement: item.highEngagement,\r\n opportunityId: item.entityId,\r\n group: invert(EngagementEventGroups)[item.engagementEventGroupID],\r\n one2oneCount: item.one2OneCount,\r\n emailCount: item.emailCount,\r\n textMessageCount: item.textMessageCount,\r\n autoAssistantCount: item.autoAssistantCount,\r\n webCount: item.webCount,\r\n serviceCount: item.serviceCount,\r\n reviewCount: item.reviewCount,\r\n totalCount: item.one2OneCount + item.emailCount + item.webCount + item.serviceCount + item.reviewCount + item.textMessageCount + item.autoAssistantCount + item.intelligentMarketingCount + item.geoAlertCount,\r\n lastViewedCount: item.lastViewedCount,\r\n ratingIcon: RATING_ICONS[item.reviewRating],\r\n ratingTitle: RATING_TITLES[item.reviewRating],\r\n intelligentMarketingCount: item.intelligentMarketingCount,\r\n geoAlertCount: item.geoAlertCount\r\n }))\r\n }\r\n });\r\n\r\n return result;\r\n }\r\n\r\n public getCustomerEngagementByGroup(selectedDealerId, { engagementEventGroupIds, dateFrom, take, hotLeadsOnly, notWorkedOnly, dealerId }) {\r\n const params = {\r\n engagementEventGroupIds: engagementEventGroupIds,\r\n dateFrom: dateFrom ? moment(dateFrom).utc().toISOString() : undefined,\r\n take: take || 100,\r\n hotLeadsOnly: !!hotLeadsOnly,\r\n notWorkedOnly: !!notWorkedOnly,\r\n dealerId: dealerId\r\n } as Usp_GetCustomerEngagementDashboard_RequestDto;\r\n\r\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId]);\r\n \r\n let result = this.dealSheetClient.CustomerEngagementDashboardPOST(params).toPromise()\r\n .then(response => response.map(engagement => ({\r\n ...engagement,\r\n entityID: engagement.entityId, // used by dashboardOpportunitiesTable\r\n opportunityId: engagement.entityId,\r\n eventDate: this.utcStringToLocalDate(engagement.eventDateUTC),\r\n ratingIcon: RATING_ICONS[engagement.reviewRating],\r\n ratingTitle: RATING_TITLES[engagement.reviewRating]\r\n })))\r\n\r\n return result; \r\n }\r\n\r\n // This returns engagements for an Entity with eventDate, engagementEventTypeID\r\n // and highEngagement.\r\n public getCustomerEngagementsByEntity(entityId, dateFrom, hotLeadsOnly) {\r\n const params = {\r\n entityId: entityId,\r\n dateFrom: dateFrom ? moment(dateFrom).utc().toISOString() : undefined,\r\n hotLeadsOnly: hotLeadsOnly\r\n } as Usp_GetCustomerEngagementsByEntityData_RequestDto;\r\n\r\n const result = this.dealSheetClient.CustomerEngagementsByEntityPOST(params).toPromise()\r\n .then(response => response.map(engagement => ({\r\n engagementEventTypeId: engagement.engagementEventTypeID,\r\n engagementEventGroupId: engagement.engagementEventGroupID,\r\n eventDate: this.utcStringToLocalDate(engagement.eventDateUTC),\r\n reviewRating: engagement.reviewRating,\r\n highEngagement: engagement.highEngagement,\r\n ratingIcon: RATING_ICONS[engagement.reviewRating],\r\n ratingTitle: RATING_TITLES[engagement.reviewRating]\r\n })));\r\n\r\n return result;\r\n }\r\n\r\n public markCustomerEngagementsViewed(): Promise {\r\n return this.dealSheetClient.UpdateCustomerEngagementLastViewedPOST().toPromise();\r\n }\r\n\r\n private utcStringToLocalDate(str: string): Date {\r\n return moment.utc(str).local().toDate();\r\n }\r\n}\r\n","// 20.2.2.20 Math.log1p(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { log1p: require('./_math-log1p') });\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var path = '/app/components/search/search-save-modal.component.html';\nvar html = \"
{{ \\\"searchFrom\\\" | translate }}
{{ \\\"searchTo\\\" | translate }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".payment-less[_ngcontent-%COMP%]{color:red}.payment-more[_ngcontent-%COMP%]{color:#444a50}.no-padding[_ngcontent-%COMP%]{padding:0}.hidden[_ngcontent-%COMP%]{display:none}\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./carfaxv2.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@uirouter/angular/lib/directives/uiSref\"));\nvar i3 = __importStar(require(\"@uirouter/core\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i6 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i7 = __importStar(require(\"@ngx-translate/core\"));\nvar i8 = __importStar(require(\"@angular/common\"));\nvar i9 = __importStar(require(\"./carfaxv2.component\"));\nvar i10 = __importStar(require(\"../../../../ajs-upgraded-providers\"));\nvar styles_Carfaxv2Component = [i0.styles];\nvar RenderType_Carfaxv2Component = i1.ɵcrt({ encapsulation: 0, styles: styles_Carfaxv2Component, data: {} });\nexports.RenderType_Carfaxv2Component = RenderType_Carfaxv2Component;\nfunction View_Carfaxv2Component_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"src\", \"../../../images/carfax.png\"]], null, null, null, null, null))], null, null); }\nfunction View_Carfaxv2Component_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 5, \"a\", [[\"class\", \"qa-carfax-link\"], [\"href\", \"javascript:void(0)\"], [\"placement\", \"top\"], [\"target\", \"_blank\"], [\"triggers\", \"mouseenter\"], [\"uiSref\", \"carfaxAuthorize\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).go($event.button, $event.ctrlKey, $event.metaKey) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i2.AnchorUISref, [i1.ElementRef, i1.Renderer2], null, null), i1.ɵdid(2, 737280, null, 0, i2.UISref, [i3.UIRouter, [2, i2.AnchorUISref], \"UIView.PARENT_INJECT\"], { state: [0, \"state\"], params: [1, \"params\"] }, null), i1.ɵpod(3, { dealerId: 0, entityId: 1, vin: 2 }), i1.ɵdid(4, 212992, null, 0, i4.PopoverDirective, [i4.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i5.ComponentLoaderFactory, i6.PositioningService], { popover: [0, \"popover\"], placement: [1, \"placement\"], outsideClick: [2, \"outsideClick\"], triggers: [3, \"triggers\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"img\", [[\"src\", \"../../../images/carfax.png\"]], null, null, null, null, null)), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"carfaxAuthorize\"; var currVal_1 = _ck(_v, 3, 0, _co.dealerId, _co.opportunityId, _co.vin); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = i1.ɵnov(_v.parent, 4); var currVal_3 = \"top\"; var currVal_4 = true; var currVal_5 = \"mouseenter\"; _ck(_v, 4, 0, currVal_2, currVal_3, currVal_4, currVal_5); }, null); }\nfunction View_Carfaxv2Component_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"p\", [[\"class\", \"carFaxTooltip\"], [\"translate\", \"carfax_logout_tooltip_a\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 8, \"p\", [[\"class\", \"carFaxTooltip\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"span\", [[\"translate\", \"carfax_logout_tooltip_b\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"a\", [[\"href\", \"#\"], [\"translate\", \"signOut\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.logOut() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(8, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"span\", [[\"translate\", \"carfax_logout_tooltip_c\"]], null, null, null, null, null)), i1.ɵdid(11, 8536064, null, 0, i7.TranslateDirective, [i7.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"carfax_logout_tooltip_a\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"carfax_logout_tooltip_b\"; _ck(_v, 5, 0, currVal_1); var currVal_2 = \"signOut\"; _ck(_v, 8, 0, currVal_2); var currVal_3 = \"carfax_logout_tooltip_c\"; _ck(_v, 11, 0, currVal_3); }, null); }\nfunction View_Carfaxv2Component_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_Carfaxv2Component_1)), i1.ɵdid(1, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_Carfaxv2Component_2)), i1.ɵdid(3, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, [[\"popTemplate\", 2]], null, 0, null, View_Carfaxv2Component_3))], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.showCarFaxLink && _co.readonly); _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.showCarFaxLink && !_co.readonly); _ck(_v, 3, 0, currVal_1); }, null); }\nexports.View_Carfaxv2Component_0 = View_Carfaxv2Component_0;\nfunction View_Carfaxv2Component_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"carfaxv2\", [], null, null, null, View_Carfaxv2Component_0, RenderType_Carfaxv2Component)), i1.ɵdid(1, 638976, null, 0, i9.Carfaxv2Component, [i10.VehicleService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_Carfaxv2Component_Host_0 = View_Carfaxv2Component_Host_0;\nvar Carfaxv2ComponentNgFactory = i1.ɵccf(\"carfaxv2\", i9.Carfaxv2Component, View_Carfaxv2Component_Host_0, { permissions: \"permissions\", dealerId: \"dealerId\", dealerSettings: \"dealerSettings\", opportunityId: \"opportunityId\", vin: \"vin\", readonly: \"readonly\", isLoggedIn: \"isLoggedIn\" }, {}, []);\nexports.Carfaxv2ComponentNgFactory = Carfaxv2ComponentNgFactory;\n","\r\n\r\n\r\n \r\n\r\n\r\n\r\n
\r\n

\r\n

\r\n   \r\n

\r\n
\r\n
\r\n\r\n","module.exports = __webpack_public_path__ + \"icon-usergroup.a98d8c223eda63245cf3.png\";","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar rxjs_1 = require(\"rxjs\");\nvar ConfirmationModalComponent = /** @class */ (function () {\n function ConfirmationModalComponent(bsModalRef) {\n this.bsModalRef = bsModalRef;\n this.closeButtonVisible = true;\n this.closeButtonText = 'cancel';\n this.submitButtonVisible = true;\n this.submitButtonDisabled = false;\n this.submitButtonText = 'yes';\n this.headerTextClass = 'modal-header-text';\n this.submitSubject = new rxjs_1.Subject();\n this.onSubmit = this.submitSubject.asObservable();\n }\n ConfirmationModalComponent.prototype.ngOnInit = function () {\n };\n ConfirmationModalComponent.prototype.submit = function () {\n this.submitSubject.next();\n this.bsModalRef.hide();\n };\n ConfirmationModalComponent.prototype.close = function () {\n this.bsModalRef.hide();\n };\n return ConfirmationModalComponent;\n}());\nexports.ConfirmationModalComponent = ConfirmationModalComponent;\n","import { Component, OnInit, Output } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { Subject } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'confirmation-modal',\r\n templateUrl: './confirmation-modal.component-ng.html',\r\n styleUrls: ['./confirmation-modal.component.scss']\r\n})\r\nexport class ConfirmationModalComponent implements OnInit {\r\n\r\n public closeButtonVisible = true;\r\n public closeButtonText = 'cancel';\r\n public submitButtonVisible = true;\r\n public submitButtonDisabled = false;\r\n public submitButtonText = 'yes';\r\n public headerTextClass = 'modal-header-text';\r\n public title: string;\r\n public message: string;\r\n\r\n private submitSubject = new Subject();\r\n public onSubmit = this.submitSubject.asObservable();\r\n\r\n constructor(private bsModalRef: BsModalRef) {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n submit() {\r\n this.submitSubject.next();\r\n this.bsModalRef.hide();\r\n }\r\n\r\n close() {\r\n this.bsModalRef.hide();\r\n }\r\n\r\n}\r\n","module.exports = __webpack_public_path__ + \"autoalert-logo-lincoln-canada.abcae01160c7f53bb614.png\";","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar ReplacementClientService = /** @class */ (function (_super) {\n __extends(ReplacementClientService, _super);\n function ReplacementClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param params The `ReplacementClientService.GetReplacementSpecificsGETParams` containing the following parameters:\n *\n * - `YearId`:\n *\n * - `TrimId`:\n *\n * - `ModelId`:\n *\n * - `MakeId`:\n *\n * - `FilterByNew`:\n *\n * - `DealerId`:\n *\n * @return Success\n */\n ReplacementClientService.prototype.GetReplacementSpecificsGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.YearId != null)\n __params = __params.set('YearId', params.YearId.toString());\n if (params.TrimId != null)\n __params = __params.set('TrimId', params.TrimId.toString());\n if (params.ModelId != null)\n __params = __params.set('ModelId', params.ModelId.toString());\n if (params.MakeId != null)\n __params = __params.set('MakeId', params.MakeId.toString());\n if (params.FilterByNew != null)\n __params = __params.set('FilterByNew', params.FilterByNew.toString());\n if (params.DealerId != null)\n __params = __params.set('DealerId', params.DealerId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Replacement/GetReplacementSpecifics\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ReplacementClientService.GetReplacementSpecificsGETParams` containing the following parameters:\n *\n * - `YearId`:\n *\n * - `TrimId`:\n *\n * - `ModelId`:\n *\n * - `MakeId`:\n *\n * - `FilterByNew`:\n *\n * - `DealerId`:\n *\n * @return Success\n */\n ReplacementClientService.prototype.GetReplacementSpecificsGET = function (params) {\n return this.GetReplacementSpecificsGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ReplacementClientService.GetReplacementUpDownGETParams` containing the following parameters:\n *\n * - `YearId`:\n *\n * - `TrimId`:\n *\n * - `ModelId`:\n *\n * - `MakeId`:\n *\n * - `DealerId`:\n *\n * @return Success\n */\n ReplacementClientService.prototype.GetReplacementUpDownGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.YearId != null)\n __params = __params.set('YearId', params.YearId.toString());\n if (params.TrimId != null)\n __params = __params.set('TrimId', params.TrimId.toString());\n if (params.ModelId != null)\n __params = __params.set('ModelId', params.ModelId.toString());\n if (params.MakeId != null)\n __params = __params.set('MakeId', params.MakeId.toString());\n if (params.DealerId != null)\n __params = __params.set('DealerId', params.DealerId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Replacement/GetReplacementUpDown\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ReplacementClientService.GetReplacementUpDownGETParams` containing the following parameters:\n *\n * - `YearId`:\n *\n * - `TrimId`:\n *\n * - `ModelId`:\n *\n * - `MakeId`:\n *\n * - `DealerId`:\n *\n * @return Success\n */\n ReplacementClientService.prototype.GetReplacementUpDownGET = function (params) {\n return this.GetReplacementUpDownGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ReplacementClientService.SaveBulkReplacementsByDefaultdealeridPOSTParams` containing the following parameters:\n *\n * - `defaultDealerId`:\n *\n * - `request`:\n *\n * @return Success\n */\n ReplacementClientService.prototype.SaveBulkReplacementsByDefaultdealeridPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Replacement/SaveBulkReplacements/\" + params.defaultDealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ReplacementClientService.SaveBulkReplacementsByDefaultdealeridPOSTParams` containing the following parameters:\n *\n * - `defaultDealerId`:\n *\n * - `request`:\n *\n * @return Success\n */\n ReplacementClientService.prototype.SaveBulkReplacementsByDefaultdealeridPOST = function (params) {\n return this.SaveBulkReplacementsByDefaultdealeridPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `ReplacementClientService.BulkDeletePOSTParams` containing the following parameters:\n *\n * - `trimIDs`:\n *\n * - `dealerID`:\n */\n ReplacementClientService.prototype.BulkDeletePOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.trimIDs;\n if (params.dealerID != null)\n __params = __params.set('dealerID', params.dealerID.toString());\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Replacement/BulkDelete\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ReplacementClientService.BulkDeletePOSTParams` containing the following parameters:\n *\n * - `trimIDs`:\n *\n * - `dealerID`:\n */\n ReplacementClientService.prototype.BulkDeletePOST = function (params) {\n return this.BulkDeletePOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n ReplacementClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Replacement/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n ReplacementClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n ReplacementClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Replacement/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n ReplacementClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n ReplacementClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Replacement/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n ReplacementClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n ReplacementClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Replacement\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n ReplacementClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n ReplacementClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Replacement\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n ReplacementClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n ReplacementClientService.GetReplacementSpecificsGETPath = '/api/Replacement/GetReplacementSpecifics';\n ReplacementClientService.GetReplacementUpDownGETPath = '/api/Replacement/GetReplacementUpDown';\n ReplacementClientService.SaveBulkReplacementsByDefaultdealeridPOSTPath = '/api/Replacement/SaveBulkReplacements/{defaultDealerId}';\n ReplacementClientService.BulkDeletePOSTPath = '/api/Replacement/BulkDelete';\n ReplacementClientService.ByIdGETPath = '/api/Replacement/{id}';\n ReplacementClientService.ByIdDELETEPath = '/api/Replacement/{id}';\n ReplacementClientService.GetManyGETPath = '/api/Replacement/GetMany';\n ReplacementClientService.PUTPath = '/api/Replacement';\n ReplacementClientService.POSTPath = '/api/Replacement';\n ReplacementClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ReplacementClientService_Factory() { return new ReplacementClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: ReplacementClientService, providedIn: \"root\" });\n return ReplacementClientService;\n}(base_service_1.BaseService));\nexports.ReplacementClientService = ReplacementClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { ReplacementSpecificDto } from '../models/replacement-specific-dto';\r\nimport { ReplacementUpDownDto } from '../models/replacement-up-down-dto';\r\nimport { ReplacementDto } from '../models/replacement-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass ReplacementClientService extends __BaseService {\r\n static readonly GetReplacementSpecificsGETPath = '/api/Replacement/GetReplacementSpecifics';\r\n static readonly GetReplacementUpDownGETPath = '/api/Replacement/GetReplacementUpDown';\r\n static readonly SaveBulkReplacementsByDefaultdealeridPOSTPath = '/api/Replacement/SaveBulkReplacements/{defaultDealerId}';\r\n static readonly BulkDeletePOSTPath = '/api/Replacement/BulkDelete';\r\n static readonly ByIdGETPath = '/api/Replacement/{id}';\r\n static readonly ByIdDELETEPath = '/api/Replacement/{id}';\r\n static readonly GetManyGETPath = '/api/Replacement/GetMany';\r\n static readonly PUTPath = '/api/Replacement';\r\n static readonly POSTPath = '/api/Replacement';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param params The `ReplacementClientService.GetReplacementSpecificsGETParams` containing the following parameters:\r\n *\r\n * - `YearId`:\r\n *\r\n * - `TrimId`:\r\n *\r\n * - `ModelId`:\r\n *\r\n * - `MakeId`:\r\n *\r\n * - `FilterByNew`:\r\n *\r\n * - `DealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetReplacementSpecificsGETResponse(params: ReplacementClientService.GetReplacementSpecificsGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.YearId != null) __params = __params.set('YearId', params.YearId.toString());\r\n if (params.TrimId != null) __params = __params.set('TrimId', params.TrimId.toString());\r\n if (params.ModelId != null) __params = __params.set('ModelId', params.ModelId.toString());\r\n if (params.MakeId != null) __params = __params.set('MakeId', params.MakeId.toString());\r\n if (params.FilterByNew != null) __params = __params.set('FilterByNew', params.FilterByNew.toString());\r\n if (params.DealerId != null) __params = __params.set('DealerId', params.DealerId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Replacement/GetReplacementSpecifics`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ReplacementClientService.GetReplacementSpecificsGETParams` containing the following parameters:\r\n *\r\n * - `YearId`:\r\n *\r\n * - `TrimId`:\r\n *\r\n * - `ModelId`:\r\n *\r\n * - `MakeId`:\r\n *\r\n * - `FilterByNew`:\r\n *\r\n * - `DealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetReplacementSpecificsGET(params: ReplacementClientService.GetReplacementSpecificsGETParams): __Observable> {\r\n return this.GetReplacementSpecificsGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ReplacementClientService.GetReplacementUpDownGETParams` containing the following parameters:\r\n *\r\n * - `YearId`:\r\n *\r\n * - `TrimId`:\r\n *\r\n * - `ModelId`:\r\n *\r\n * - `MakeId`:\r\n *\r\n * - `DealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetReplacementUpDownGETResponse(params: ReplacementClientService.GetReplacementUpDownGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.YearId != null) __params = __params.set('YearId', params.YearId.toString());\r\n if (params.TrimId != null) __params = __params.set('TrimId', params.TrimId.toString());\r\n if (params.ModelId != null) __params = __params.set('ModelId', params.ModelId.toString());\r\n if (params.MakeId != null) __params = __params.set('MakeId', params.MakeId.toString());\r\n if (params.DealerId != null) __params = __params.set('DealerId', params.DealerId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Replacement/GetReplacementUpDown`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ReplacementClientService.GetReplacementUpDownGETParams` containing the following parameters:\r\n *\r\n * - `YearId`:\r\n *\r\n * - `TrimId`:\r\n *\r\n * - `ModelId`:\r\n *\r\n * - `MakeId`:\r\n *\r\n * - `DealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetReplacementUpDownGET(params: ReplacementClientService.GetReplacementUpDownGETParams): __Observable> {\r\n return this.GetReplacementUpDownGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ReplacementClientService.SaveBulkReplacementsByDefaultdealeridPOSTParams` containing the following parameters:\r\n *\r\n * - `defaultDealerId`:\r\n *\r\n * - `request`:\r\n *\r\n * @return Success\r\n */\r\n SaveBulkReplacementsByDefaultdealeridPOSTResponse(params: ReplacementClientService.SaveBulkReplacementsByDefaultdealeridPOSTParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n __body = params.request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Replacement/SaveBulkReplacements/${params.defaultDealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ReplacementClientService.SaveBulkReplacementsByDefaultdealeridPOSTParams` containing the following parameters:\r\n *\r\n * - `defaultDealerId`:\r\n *\r\n * - `request`:\r\n *\r\n * @return Success\r\n */\r\n SaveBulkReplacementsByDefaultdealeridPOST(params: ReplacementClientService.SaveBulkReplacementsByDefaultdealeridPOSTParams): __Observable> {\r\n return this.SaveBulkReplacementsByDefaultdealeridPOSTResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `ReplacementClientService.BulkDeletePOSTParams` containing the following parameters:\r\n *\r\n * - `trimIDs`:\r\n *\r\n * - `dealerID`:\r\n */\r\n BulkDeletePOSTResponse(params: ReplacementClientService.BulkDeletePOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = params.trimIDs;\r\n if (params.dealerID != null) __params = __params.set('dealerID', params.dealerID.toString());\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Replacement/BulkDelete`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ReplacementClientService.BulkDeletePOSTParams` containing the following parameters:\r\n *\r\n * - `trimIDs`:\r\n *\r\n * - `dealerID`:\r\n */\r\n BulkDeletePOST(params: ReplacementClientService.BulkDeletePOSTParams): __Observable {\r\n return this.BulkDeletePOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Replacement/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as ReplacementDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Replacement/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Replacement/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: ReplacementDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Replacement`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: ReplacementDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: ReplacementDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Replacement`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: ReplacementDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as ReplacementDto)\r\n );\r\n }\r\n}\r\n\r\nmodule ReplacementClientService {\r\n\r\n /**\r\n * Parameters for GetReplacementSpecificsGET\r\n */\r\n export interface GetReplacementSpecificsGETParams {\r\n YearId?: number;\r\n TrimId?: number;\r\n ModelId?: number;\r\n MakeId?: number;\r\n FilterByNew?: boolean;\r\n DealerId?: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetReplacementUpDownGET\r\n */\r\n export interface GetReplacementUpDownGETParams {\r\n YearId?: number;\r\n TrimId?: number;\r\n ModelId?: number;\r\n MakeId?: number;\r\n DealerId?: number;\r\n }\r\n\r\n /**\r\n * Parameters for SaveBulkReplacementsByDefaultdealeridPOST\r\n */\r\n export interface SaveBulkReplacementsByDefaultdealeridPOSTParams {\r\n defaultDealerId: number;\r\n request?: Array;\r\n }\r\n\r\n /**\r\n * Parameters for BulkDeletePOST\r\n */\r\n export interface BulkDeletePOSTParams {\r\n trimIDs?: Array;\r\n dealerID?: number;\r\n }\r\n}\r\n\r\nexport { ReplacementClientService }\r\n","module.exports = __webpack_public_path__ + \"hero-alertminer.1a42f9f56feff78b79e2.png\";","var path = '/app/components/deal-sheet/change-log.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./text-message-activity.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../../filters/locale-date.pipe\"));\nvar i5 = __importStar(require(\"../../../modules/storage/storage.service\"));\nvar i6 = __importStar(require(\"./text-message-activity.component\"));\nvar i7 = __importStar(require(\"@angular/platform-browser\"));\nvar i8 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar i9 = __importStar(require(\"../../../services/text-message.service\"));\nvar i10 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar styles_TextMessageActivityComponent = [i0.styles];\nvar RenderType_TextMessageActivityComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TextMessageActivityComponent, data: {} });\nexports.RenderType_TextMessageActivityComponent = RenderType_TextMessageActivityComponent;\nfunction View_TextMessageActivityComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \" \", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.userFirstName; var currVal_1 = _v.parent.context.$implicit.userLastName; _ck(_v, 1, 0, currVal_0, currVal_1); }); }\nfunction View_TextMessageActivityComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \" \", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.customerFirstName; var currVal_1 = _v.parent.context.$implicit.customerLastName; _ck(_v, 1, 0, currVal_0, currVal_1); }); }\nfunction View_TextMessageActivityComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"a\", [[\"class\", \"btn view-upgrade-proposal-link qa-text-view-upgrade-proposal\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.viewUpgradeProposal(_v.parent.parent.context.$implicit.activityId) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"viewUpgradeProposal\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_TextMessageActivityComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextMessageActivityComponent_6)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.mobileView; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_TextMessageActivityComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(3, { \"user-message\": 0, \"customer-message\": 1, row: 2 }), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"div\", [[\"class\", \"col-sm-2 column-wrap\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextMessageActivityComponent_3)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextMessageActivityComponent_4)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"span\", [[\"class\", \"sent-time\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"div\", [[\"class\", \"col-sm-6 column-wrap\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.handleUpgradeProposalLinkClick($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 0, \"span\", [], [[8, \"innerHTML\", 1]], null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-2 \"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextMessageActivityComponent_5)), i1.ɵdid(15, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = _ck(_v, 3, 0, _v.context.$implicit.outgoing, !_v.context.$implicit.outgoing, true); _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.context.$implicit.outgoing; _ck(_v, 6, 0, currVal_1); var currVal_2 = !_v.context.$implicit.outgoing; _ck(_v, 8, 0, currVal_2); var currVal_5 = _v.context.$implicit.hasUpgradeProposalLink; _ck(_v, 15, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.formatSentDateTime(_v.context.$implicit.sentDateTime); _ck(_v, 10, 0, currVal_3); var currVal_4 = _v.context.$implicit.safeMessage; _ck(_v, 12, 0, currVal_4); }); }\nfunction View_TextMessageActivityComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"collapse\"]], [[8, \"id\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextMessageActivityComponent_2)), i1.ɵdid(3, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.activity.textMessages; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.activity.activityId + \"messages\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_TextMessageActivityComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i4.LocaleDatePipe, [i5.StorageService]), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"activity-icon qa-activity-icon\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"img\", [[\"class\", \"svg-icon\"], [\"src\", \"../../../images/icons/icon-sms-lake.svg\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 18, \"div\", [[\"class\", \"activity-data\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 7, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 3, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"span\", [[\"class\", \"qa-activity-datetime activity-timestamp\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \" \"])), i1.ɵppd(9, 1), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(13, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"span\", [[\"class\", \"qa-text-message-sent-by\"]], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"\", \": \", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-link qa-text-message-btn\"], [\"data-toggle\", \"collapse\"]], [[1, \"data-target\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.displayMessages = !_co.displayMessages) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(18, null, [\" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextMessageActivityComponent_1)), i1.ɵdid(21, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_6 = _co.displayMessages; _ck(_v, 21, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 8, 0, _ck(_v, 9, 0, i1.ɵnov(_v, 0), _co.activity.submittedDateTime)); _ck(_v, 8, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"textMessagesActivityLabel\", _co.salesOrServiceLabel)); _ck(_v, 11, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 15, 0, i1.ɵnov(_v, 16).transform(\"textMessageActivitySentByLabel\")); var currVal_3 = _co.sentBy; _ck(_v, 15, 0, currVal_2, currVal_3); var currVal_4 = ((\"#\" + _co.activity.activityId) + \"messages\"); _ck(_v, 17, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 19).transform((_co.displayMessages ? \"hideMessages\" : \"viewMessages\"))); _ck(_v, 18, 0, currVal_5); }); }\nexports.View_TextMessageActivityComponent_0 = View_TextMessageActivityComponent_0;\nfunction View_TextMessageActivityComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"aa-text-message-activity\", [], null, null, null, View_TextMessageActivityComponent_0, RenderType_TextMessageActivityComponent)), i1.ɵdid(1, 770048, null, 0, i6.TextMessageActivityComponent, [i7.DomSanitizer, i2.TranslateService, i8.LegacyService, i9.TextMessageService, i10.LocaleDateTimePipe], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_TextMessageActivityComponent_Host_0 = View_TextMessageActivityComponent_Host_0;\nvar TextMessageActivityComponentNgFactory = i1.ɵccf(\"aa-text-message-activity\", i6.TextMessageActivityComponent, View_TextMessageActivityComponent_Host_0, { activity: \"activity\", mobileView: \"mobileView\" }, {}, []);\nexports.TextMessageActivityComponentNgFactory = TextMessageActivityComponentNgFactory;\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n {{activity.submittedDateTime | localeDate}} \r\n \r\n {{'textMessagesActivityLabel' | translate:salesOrServiceLabel}}\r\n \r\n
\r\n\r\n
\r\n {{'textMessageActivitySentByLabel' | translate}}: {{sentBy}}\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n {{textMessage.userFirstName}}\r\n {{textMessage.userLastName}}\r\n {{textMessage.customerFirstName}}\r\n {{textMessage.customerLastName}}\r\n {{formatSentDateTime(textMessage.sentDateTime)}}\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n
\r\n
","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./admin-templates.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"@ngx-translate/core\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"../../../../../../node_modules/@progress/kendo-angular-grid/dist/es2015/index.ngfactory\"));\nvar i6 = __importStar(require(\"@progress/kendo-angular-grid\"));\nvar i7 = __importStar(require(\"@progress/kendo-angular-l10n\"));\nvar i8 = __importStar(require(\"../../../filters/locale-date.pipe\"));\nvar i9 = __importStar(require(\"../../../modules/storage/storage.service\"));\nvar i10 = __importStar(require(\"../../../../../../node_modules/ngx-bootstrap/tabs/ngx-bootstrap-tabs.ngfactory\"));\nvar i11 = __importStar(require(\"ngx-bootstrap/tabs\"));\nvar i12 = __importStar(require(\"ng-busy\"));\nvar i13 = __importStar(require(\"@progress/kendo-angular-popup\"));\nvar i14 = __importStar(require(\"./admin-templates.component\"));\nvar i15 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i16 = __importStar(require(\"../../../generated/services/dealer-upgrade-proposal-setting-client.service\"));\nvar i17 = __importStar(require(\"../../../generated/services/dealer-smtp-setting-client.service\"));\nvar i18 = __importStar(require(\"../../../core/toaster-logger.service\"));\nvar i19 = __importStar(require(\"../../../services/dealer.service\"));\nvar i20 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar styles_AdminTemplatesComponent = [i0.styles];\nvar RenderType_AdminTemplatesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AdminTemplatesComponent, data: {} });\nexports.RenderType_AdminTemplatesComponent = RenderType_AdminTemplatesComponent;\nfunction View_AdminTemplatesComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = _v.context.$implicit.id; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.id; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.name; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminTemplatesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"col-md-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 11, \"div\", [[\"class\", \"float-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"title-dealer\"], [\"translate\", \"dealerships\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 8, \"div\", [[\"class\", \"dealer-select\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 7, \"select\", [[\"class\", \"form-control\"], [\"id\", \"dealer-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedDealerId = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onDealerSelect() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(6, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(8, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(10, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_2)), i1.ɵdid(12, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dealerships\"; _ck(_v, 3, 0, currVal_0); var currVal_8 = _co.selectedDealerId; _ck(_v, 8, 0, currVal_8); var currVal_9 = _co.dealers; _ck(_v, 12, 0, currVal_9); }, function (_ck, _v) { var currVal_1 = i1.ɵnov(_v, 10).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 10).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 10).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 10).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 10).ngClassValid; var currVal_6 = i1.ɵnov(_v, 10).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 10).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_AdminTemplatesComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"auto-assignment-svg\"]], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"isActiveInLeadManagementToolTip\")), \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AdminTemplatesComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"a\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.editTemplate(_v.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_4)), i1.ɵdid(3, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_1 = _v.context.$implicit.isActiveInLeadManagement; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.templateName; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AdminTemplatesComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"preview-links\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"a\", [], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.pdfPreviewTemplate(_v.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"img\", [[\"class\", \"pdf-preview-icon\"], [\"src\", \"https://inbox.autoalert.com/static/assets/img/fileformaticons/pdf.png\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"a\", [], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.emailPreviewTemplate(_v.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"span\", [[\"class\", \"email-preview-icon\"]], null, null, null, null, null))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"PDFPreview\")), \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 4, 0, i1.ɵnov(_v, 5).transform(\"emailPreview\")), \"\"); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_AdminTemplatesComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵppd(2, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.createDate)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AdminTemplatesComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"a\", [], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.deleteTemplate(_v.parent.context.$implicit.id) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"span\", [[\"class\", \"trash-can-icon\"]], null, null, null, null, null))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"deleteTemplate\")), \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AdminTemplatesComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_8)), i1.ɵdid(1, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = !_v.context.$implicit.isSystemTemplate; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminTemplatesComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"kendo-pager-prev-buttons\", [], null, null, null, i5.View_PagerPrevButtonsComponent_0, i5.RenderType_PagerPrevButtonsComponent)), i1.ɵdid(1, 245760, null, 0, i6.PagerPrevButtonsComponent, [i7.LocalizationService, i6.PagerContextService, i1.ChangeDetectorRef], null, null), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"kendo-pager-numeric-buttons\", [], null, null, null, i5.View_PagerNumericButtonsComponent_0, i5.RenderType_PagerNumericButtonsComponent)), i1.ɵdid(3, 245760, null, 0, i6.PagerNumericButtonsComponent, [i7.LocalizationService, i1.ChangeDetectorRef, i6.PagerContextService], { buttonCount: [0, \"buttonCount\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"kendo-pager-next-buttons\", [], null, null, null, i5.View_PagerNextButtonsComponent_0, i5.RenderType_PagerNextButtonsComponent)), i1.ɵdid(5, 245760, null, 0, i6.PagerNextButtonsComponent, [i7.LocalizationService, i6.PagerContextService, i1.ChangeDetectorRef], null, null), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"kendo-pager-info\", [], [[2, \"k-pager-info\", null], [2, \"k-label\", null]], null, null, i5.View_PagerInfoComponent_0, i5.RenderType_PagerInfoComponent)), i1.ɵdid(7, 245760, null, 0, i6.PagerInfoComponent, [i7.LocalizationService, i1.ChangeDetectorRef, i6.PagerContextService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); var currVal_0 = 5; _ck(_v, 3, 0, currVal_0); _ck(_v, 5, 0); _ck(_v, 7, 0); }, function (_ck, _v) { var currVal_1 = i1.ɵnov(_v, 7).classes; var currVal_2 = i1.ɵnov(_v, 7).classes; _ck(_v, 6, 0, currVal_1, currVal_2); }); }\nfunction View_AdminTemplatesComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"style\", \"color:red\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"warningMessageMaxChars255\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AdminTemplatesComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"errorSMTPHostInvalid\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AdminTemplatesComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"error\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_13)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.SMTPForm.controls.SMTPHost.errors.required; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AdminTemplatesComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"errorPortInvalid\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AdminTemplatesComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"maxLengthIssue\"]))], null, null); }\nfunction View_AdminTemplatesComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"error\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_15)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_16)), i1.ɵdid(4, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.SMTPForm.controls.port.errors.required; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.SMTPForm.controls.port.errors.maxLength; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_AdminTemplatesComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"errorUsernameInvalid\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_AdminTemplatesComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"error\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_18)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.SMTPForm.controls.username.errors.required; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_AdminTemplatesComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 68, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 13, \"div\", [[\"class\", \"row smtp-type-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [[\"class\", \"label-smtp\"], [\"for\", \"SMTPHost\"], [\"translate\", \"SMTPHost\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 6, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 5, \"input\", [[\"class\", \"form-control SMTPHost\"], [\"formControlName\", \"SMTPHost\"], [\"id\", \"SMTPHost\"], [\"name\", \"SMTPHost\"], [\"type\", \"text\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 8)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 8)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 8)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(8, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(10, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_q]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(12, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_12)), i1.ɵdid(15, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 13, \"div\", [[\"class\", \"row smtp-type-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"label\", [[\"class\", \"label-smtp\"], [\"for\", \"port\"], [\"translate\", \"port\"]], null, null, null, null, null)), i1.ɵdid(19, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(20, 0, null, null, 6, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 5, \"input\", [[\"class\", \"form-control port\"], [\"formControlName\", \"port\"], [\"id\", \"port\"], [\"name\", \"port\"], [\"style\", \"width: 70px\"], [\"type\", \"text\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 22)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 22).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 22)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 22)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(22, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(24, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_q]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(26, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(27, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_14)), i1.ɵdid(29, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(30, 0, null, null, 10, \"div\", [[\"class\", \"row use-ssl-row smtp-type-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 1, \"label\", [[\"class\", \"label-smtp\"], [\"for\", \"useSSL\"], [\"translate\", \"useSSL\"]], null, null, null, null, null)), i1.ɵdid(33, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(34, 0, null, null, 6, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(35, 0, null, null, 5, \"input\", [[\"class\", \"use-ssl-checkbox\"], [\"formControlName\", \"useSSL\"], [\"id\", \"useSSL\"], [\"name\", \"useSSL\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 36).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 36).onTouched() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(36, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(38, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_q]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(40, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(41, 0, null, null, 13, \"div\", [[\"class\", \"row smtp-type-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(42, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(43, 0, null, null, 1, \"label\", [[\"class\", \"label-smtp\"], [\"for\", \"username\"], [\"translate\", \"username\"]], null, null, null, null, null)), i1.ɵdid(44, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(45, 0, null, null, 6, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(46, 0, null, null, 5, \"input\", [[\"class\", \"form-control username\"], [\"formControlName\", \"username\"], [\"id\", \"username\"], [\"name\", \"username\"], [\"type\", \"text\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 47)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 47).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 47)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 47)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(47, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(49, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_q]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(51, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(52, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_17)), i1.ɵdid(54, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(55, 0, null, null, 13, \"div\", [[\"class\", \"row smtp-type-row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(56, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(57, 0, null, null, 1, \"label\", [[\"class\", \"label-smtp\"], [\"for\", \"password\"], [\"translate\", \"password\"]], null, null, null, null, null)), i1.ɵdid(58, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(59, 0, null, null, 6, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(60, 0, null, null, 5, \"input\", [[\"class\", \"form-control password\"], [\"formControlName\", \"password\"], [\"id\", \"password\"], [\"name\", \"password\"], [\"type\", \"password\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 61)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 61).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 61)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 61)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(61, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(63, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_q]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(65, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(66, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(67, 0, null, null, 1, \"label\", [[\"class\", \"label-smtp\"], [\"for\", \"port\"], [\"translate\", \"smtpPasswordMessage\"]], null, null, null, null, null)), i1.ɵdid(68, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"SMTPHost\"; _ck(_v, 5, 0, currVal_0); var currVal_8 = \"SMTPHost\"; _ck(_v, 10, 0, currVal_8); var currVal_9 = (_co.submitted && _co.SMTPForm.controls.SMTPHost.errors); _ck(_v, 15, 0, currVal_9); var currVal_10 = \"port\"; _ck(_v, 19, 0, currVal_10); var currVal_18 = \"port\"; _ck(_v, 24, 0, currVal_18); var currVal_19 = (_co.submitted && _co.SMTPForm.controls.port.errors); _ck(_v, 29, 0, currVal_19); var currVal_20 = \"useSSL\"; _ck(_v, 33, 0, currVal_20); var currVal_28 = \"useSSL\"; _ck(_v, 38, 0, currVal_28); var currVal_29 = \"username\"; _ck(_v, 44, 0, currVal_29); var currVal_37 = \"username\"; _ck(_v, 49, 0, currVal_37); var currVal_38 = (_co.submitted && _co.SMTPForm.controls.username.errors); _ck(_v, 54, 0, currVal_38); var currVal_39 = \"password\"; _ck(_v, 58, 0, currVal_39); var currVal_47 = \"password\"; _ck(_v, 63, 0, currVal_47); var currVal_48 = \"smtpPasswordMessage\"; _ck(_v, 68, 0, currVal_48); }, function (_ck, _v) { var currVal_1 = i1.ɵnov(_v, 12).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 12).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 12).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 12).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 12).ngClassValid; var currVal_6 = i1.ɵnov(_v, 12).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 12).ngClassPending; _ck(_v, 7, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_11 = i1.ɵnov(_v, 26).ngClassUntouched; var currVal_12 = i1.ɵnov(_v, 26).ngClassTouched; var currVal_13 = i1.ɵnov(_v, 26).ngClassPristine; var currVal_14 = i1.ɵnov(_v, 26).ngClassDirty; var currVal_15 = i1.ɵnov(_v, 26).ngClassValid; var currVal_16 = i1.ɵnov(_v, 26).ngClassInvalid; var currVal_17 = i1.ɵnov(_v, 26).ngClassPending; _ck(_v, 21, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17); var currVal_21 = i1.ɵnov(_v, 40).ngClassUntouched; var currVal_22 = i1.ɵnov(_v, 40).ngClassTouched; var currVal_23 = i1.ɵnov(_v, 40).ngClassPristine; var currVal_24 = i1.ɵnov(_v, 40).ngClassDirty; var currVal_25 = i1.ɵnov(_v, 40).ngClassValid; var currVal_26 = i1.ɵnov(_v, 40).ngClassInvalid; var currVal_27 = i1.ɵnov(_v, 40).ngClassPending; _ck(_v, 35, 0, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27); var currVal_30 = i1.ɵnov(_v, 51).ngClassUntouched; var currVal_31 = i1.ɵnov(_v, 51).ngClassTouched; var currVal_32 = i1.ɵnov(_v, 51).ngClassPristine; var currVal_33 = i1.ɵnov(_v, 51).ngClassDirty; var currVal_34 = i1.ɵnov(_v, 51).ngClassValid; var currVal_35 = i1.ɵnov(_v, 51).ngClassInvalid; var currVal_36 = i1.ɵnov(_v, 51).ngClassPending; _ck(_v, 46, 0, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34, currVal_35, currVal_36); var currVal_40 = i1.ɵnov(_v, 65).ngClassUntouched; var currVal_41 = i1.ɵnov(_v, 65).ngClassTouched; var currVal_42 = i1.ɵnov(_v, 65).ngClassPristine; var currVal_43 = i1.ɵnov(_v, 65).ngClassDirty; var currVal_44 = i1.ɵnov(_v, 65).ngClassValid; var currVal_45 = i1.ɵnov(_v, 65).ngClassInvalid; var currVal_46 = i1.ɵnov(_v, 65).ngClassPending; _ck(_v, 60, 0, currVal_40, currVal_41, currVal_42, currVal_43, currVal_44, currVal_45, currVal_46); }); }\nfunction View_AdminTemplatesComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i8.LocaleDatePipe, [i9.StorageService]), (_l()(), i1.ɵeld(1, 0, null, null, 215, \"div\", [[\"class\", \"admin-templates-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"col-md-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"div\", [[\"class\", \"page-title\"], [\"translate\", \"templates\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_1)), i1.ɵdid(7, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(8, 0, null, null, 0, \"div\", [[\"class\", \"divider\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 207, \"div\", [[\"class\", \"admin-templates\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 206, \"tabset\", [], [[2, \"tab-container\", null]], null, null, i10.View_TabsetComponent_0, i10.RenderType_TabsetComponent)), i1.ɵdid(11, 180224, null, 0, i11.TabsetComponent, [i11.TabsetConfig, i1.Renderer2, i1.ElementRef], null, null), (_l()(), i1.ɵeld(12, 0, null, 0, 124, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"], [null, \"deselect\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = ((_co.tab1 = true) !== false);\n ad = (pd_0 && ad);\n } if ((\"deselect\" === en)) {\n var pd_1 = ((_co.tab1 = false) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(13, 212992, null, 0, i11.TabDirective, [i11.TabsetComponent, i1.ElementRef, i1.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\", deselect: \"deselect\" }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(15, 16777216, null, null, 121, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i12.InstanceConfigHolderService, i12.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i12.ɵa, i12.ɵa, []), i1.ɵdid(18, 409600, null, 0, i12.NgBusyDirective, [i12.ɵb, i12.InstanceConfigHolderService, i1.ComponentFactoryResolver, i12.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(19, { busy: 0, delay: 1 }), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary create-new-button\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCreateNewTemplate() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(21, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(23, 0, null, null, 113, \"kendo-grid\", [], [[1, \"dir\", 0], [2, \"k-widget\", null], [2, \"k-grid\", null], [2, \"k-grid-lockedcolumns\", null], [2, \"k-grid-virtual\", null], [2, \"k-grid-column-resizing\", null], [2, \"k-grid-no-scrollbar\", null]], [[null, \"pageChange\"], [null, \"sortChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"pageChange\" === en)) {\n var pd_0 = (_co.pageChange($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"sortChange\" === en)) {\n var pd_1 = (_co.sortChange($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i5.View_GridComponent_0, i5.RenderType_GridComponent)), i1.ɵprd(4608, null, i6.SuspendService, i6.SuspendService, []), i1.ɵprd(4608, null, i6.ResizeService, i6.ResizeService, []), i1.ɵprd(135680, null, i6.SinglePopupService, i6.SinglePopupService, [i13.PopupService, i1.Renderer2, i1.NgZone, i6.ScrollSyncService, i7.LocalizationService]), i1.ɵprd(4608, null, i6.DragAndDropService, i6.DragAndDropService, []), i1.ɵprd(4608, null, i6.DragHintService, i6.DragHintService, [i1.Sanitizer]), i1.ɵprd(4608, null, i6.DropCueService, i6.DropCueService, []), i1.ɵprd(4608, null, i6.IdService, i6.IdService, []), i1.ɵprd(512, null, i6.BrowserSupportService, i6.BrowserSupportService, []), i1.ɵprd(512, null, i6.DomEventsService, i6.DomEventsService, []), i1.ɵprd(512, null, i6.LocalDataChangesService, i6.LocalDataChangesService, []), i1.ɵprd(131584, null, i6.SelectionService, i6.SelectionService, [i6.DomEventsService, i6.LocalDataChangesService]), i1.ɵprd(512, null, i6.GroupInfoService, i6.GroupInfoService, []), i1.ɵprd(512, null, i6.GroupsService, i6.GroupsService, [[2, i6.Skip]]), i1.ɵprd(512, null, i6.ChangeNotificationService, i6.ChangeNotificationService, [i1.NgZone]), i1.ɵprd(512, null, i6.DetailsService, i6.DetailsService, []), i1.ɵprd(512, null, i6.EditService$1, i6.EditService$1, [i1.NgZone]), i1.ɵprd(512, null, i6.FilterService, i6.FilterService, []), i1.ɵprd(512, null, i6.PDFService, i6.PDFService, []), i1.ɵprd(512, null, i6.ResponsiveService, i6.ResponsiveService, []), i1.ɵprd(512, null, i6.ExcelService, i6.ExcelService, []), i1.ɵprd(256, null, i7.L10N_PREFIX, \"kendo.grid\", []), i1.ɵprd(131584, null, i7.LocalizationService, i7.LocalizationService, [i7.L10N_PREFIX, [2, i7.MessageService], [2, i7.RTL]]), i1.ɵprd(512, null, i6.ScrollSyncService, i6.ScrollSyncService, [i1.NgZone, i7.LocalizationService]), i1.ɵprd(512, null, i6.ColumnResizingService, i6.ColumnResizingService, []), i1.ɵprd(512, null, i6.ColumnReorderService, i6.ColumnReorderService, []), i1.ɵprd(512, null, i6.ColumnInfoService, i6.ColumnInfoService, []), i1.ɵprd(512, null, i6.PagerContextService, i6.PagerContextService, []), i1.ɵprd(512, null, i6.ScrollRequestService, i6.ScrollRequestService, []), i1.ɵprd(512, null, i6.FocusRoot, i6.FocusRoot, []), i1.ɵprd(131584, null, i6.NavigationService, i6.NavigationService, [i1.NgZone, i6.DomEventsService, i6.PagerContextService, i6.ScrollRequestService, i6.GroupsService, i6.DetailsService, i6.FocusRoot, i6.EditService$1, i1.ChangeDetectorRef, i7.LocalizationService, [2, i6.FocusableDirective]]), i1.ɵprd(512, null, i6.SortService, i6.SortService, []), i1.ɵdid(55, 8110080, [[\"grid\", 4]], 6, i6.GridComponent, [i6.BrowserSupportService, i6.SelectionService, i1.ElementRef, i6.GroupInfoService, i6.GroupsService, i6.ChangeNotificationService, i6.DetailsService, i6.EditService$1, i6.FilterService, i6.PDFService, i6.ResponsiveService, i1.Renderer2, i6.ExcelService, i1.NgZone, i6.ScrollSyncService, i6.DomEventsService, i6.ColumnResizingService, i1.ChangeDetectorRef, i6.ColumnReorderService, i6.ColumnInfoService, i6.NavigationService, i6.SortService, i7.LocalizationService], { data: [0, \"data\"], pageSize: [1, \"pageSize\"], height: [2, \"height\"], skip: [3, \"skip\"], sort: [4, \"sort\"], filterable: [5, \"filterable\"], sortable: [6, \"sortable\"], pageable: [7, \"pageable\"] }, { pageChange: \"pageChange\", sortChange: \"sortChange\" }), i1.ɵqud(603979776, 1, { columns: 1 }), i1.ɵqud(603979776, 2, { detailTemplateChildren: 1 }), i1.ɵqud(603979776, 3, { noRecordsTemplateChildren: 1 }), i1.ɵqud(603979776, 4, { pagerTemplateChildren: 1 }), i1.ɵqud(603979776, 5, { toolbarTemplateChildren: 1 }), i1.ɵqud(603979776, 6, { columnMenuTemplates: 1 }), i1.ɵprd(256, null, i6.CELL_CONTEXT, i6.EMPTY_CELL_CONTEXT, []), (_l()(), i1.ɵeld(63, 0, null, null, 14, \"kendo-grid-column\", [[\"field\", \"templateName\"]], null, null, null, i5.View_ColumnComponent_0, i5.RenderType_ColumnComponent)), i1.ɵdid(64, 49152, null, 9, i6.ColumnComponent, [[8, null]], { title: [0, \"title\"], field: [1, \"field\"] }, null), i1.ɵqud(603979776, 7, { headerTemplates: 1 }), i1.ɵqud(335544320, 8, { footerTemplate: 0 }), i1.ɵqud(603979776, 9, { columnMenuTemplates: 1 }), i1.ɵqud(335544320, 10, { template: 0 }), i1.ɵqud(335544320, 11, { groupHeaderTemplate: 0 }), i1.ɵqud(335544320, 12, { groupFooterTemplate: 0 }), i1.ɵqud(335544320, 13, { editTemplate: 0 }), i1.ɵqud(335544320, 14, { filterCellTemplate: 0 }), i1.ɵqud(335544320, 15, { filterMenuTemplate: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵprd(2048, [[1, 4]], i6.ColumnBase, null, [i6.ColumnComponent]), (_l()(), i1.ɵand(0, null, null, 1, null, View_AdminTemplatesComponent_3)), i1.ɵdid(77, 16384, [[10, 4]], 0, i6.CellTemplateDirective, [[2, i1.TemplateRef]], null, null), (_l()(), i1.ɵeld(78, 0, null, null, 14, \"kendo-grid-column\", [[\"width\", \"140\"]], null, null, null, i5.View_ColumnComponent_0, i5.RenderType_ColumnComponent)), i1.ɵdid(79, 49152, null, 9, i6.ColumnComponent, [[8, null]], { title: [0, \"title\"], width: [1, \"width\"] }, null), i1.ɵqud(603979776, 16, { headerTemplates: 1 }), i1.ɵqud(335544320, 17, { footerTemplate: 0 }), i1.ɵqud(603979776, 18, { columnMenuTemplates: 1 }), i1.ɵqud(335544320, 19, { template: 0 }), i1.ɵqud(335544320, 20, { groupHeaderTemplate: 0 }), i1.ɵqud(335544320, 21, { groupFooterTemplate: 0 }), i1.ɵqud(335544320, 22, { editTemplate: 0 }), i1.ɵqud(335544320, 23, { filterCellTemplate: 0 }), i1.ɵqud(335544320, 24, { filterMenuTemplate: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵprd(2048, [[1, 4]], i6.ColumnBase, null, [i6.ColumnComponent]), (_l()(), i1.ɵand(0, null, null, 1, null, View_AdminTemplatesComponent_5)), i1.ɵdid(92, 16384, [[19, 4]], 0, i6.CellTemplateDirective, [[2, i1.TemplateRef]], null, null), (_l()(), i1.ɵeld(93, 0, null, null, 14, \"kendo-grid-column\", [[\"field\", \"createDate\"], [\"width\", \"240\"]], null, null, null, i5.View_ColumnComponent_0, i5.RenderType_ColumnComponent)), i1.ɵdid(94, 49152, null, 9, i6.ColumnComponent, [[8, null]], { title: [0, \"title\"], width: [1, \"width\"], field: [2, \"field\"] }, null), i1.ɵqud(603979776, 25, { headerTemplates: 1 }), i1.ɵqud(335544320, 26, { footerTemplate: 0 }), i1.ɵqud(603979776, 27, { columnMenuTemplates: 1 }), i1.ɵqud(335544320, 28, { template: 0 }), i1.ɵqud(335544320, 29, { groupHeaderTemplate: 0 }), i1.ɵqud(335544320, 30, { groupFooterTemplate: 0 }), i1.ɵqud(335544320, 31, { editTemplate: 0 }), i1.ɵqud(335544320, 32, { filterCellTemplate: 0 }), i1.ɵqud(335544320, 33, { filterMenuTemplate: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵprd(2048, [[1, 4]], i6.ColumnBase, null, [i6.ColumnComponent]), (_l()(), i1.ɵand(0, null, null, 1, null, View_AdminTemplatesComponent_6)), i1.ɵdid(107, 16384, [[28, 4]], 0, i6.CellTemplateDirective, [[2, i1.TemplateRef]], null, null), (_l()(), i1.ɵeld(108, 0, null, null, 12, \"kendo-grid-column\", [[\"field\", \"createdByFullName\"], [\"width\", \"240\"]], null, null, null, i5.View_ColumnComponent_0, i5.RenderType_ColumnComponent)), i1.ɵdid(109, 49152, null, 9, i6.ColumnComponent, [[8, null]], { title: [0, \"title\"], width: [1, \"width\"], field: [2, \"field\"] }, null), i1.ɵqud(603979776, 34, { headerTemplates: 1 }), i1.ɵqud(335544320, 35, { footerTemplate: 0 }), i1.ɵqud(603979776, 36, { columnMenuTemplates: 1 }), i1.ɵqud(335544320, 37, { template: 0 }), i1.ɵqud(335544320, 38, { groupHeaderTemplate: 0 }), i1.ɵqud(335544320, 39, { groupFooterTemplate: 0 }), i1.ɵqud(335544320, 40, { editTemplate: 0 }), i1.ɵqud(335544320, 41, { filterCellTemplate: 0 }), i1.ɵqud(335544320, 42, { filterMenuTemplate: 0 }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), i1.ɵprd(2048, [[1, 4]], i6.ColumnBase, null, [i6.ColumnComponent]), (_l()(), i1.ɵeld(121, 0, null, null, 13, \"kendo-grid-column\", [[\"width\", \"45\"]], null, null, null, i5.View_ColumnComponent_0, i5.RenderType_ColumnComponent)), i1.ɵdid(122, 49152, null, 9, i6.ColumnComponent, [[8, null]], { width: [0, \"width\"] }, null), i1.ɵqud(603979776, 43, { headerTemplates: 1 }), i1.ɵqud(335544320, 44, { footerTemplate: 0 }), i1.ɵqud(603979776, 45, { columnMenuTemplates: 1 }), i1.ɵqud(335544320, 46, { template: 0 }), i1.ɵqud(335544320, 47, { groupHeaderTemplate: 0 }), i1.ɵqud(335544320, 48, { groupFooterTemplate: 0 }), i1.ɵqud(335544320, 49, { editTemplate: 0 }), i1.ɵqud(335544320, 50, { filterCellTemplate: 0 }), i1.ɵqud(335544320, 51, { filterMenuTemplate: 0 }), i1.ɵprd(2048, [[1, 4]], i6.ColumnBase, null, [i6.ColumnComponent]), (_l()(), i1.ɵand(0, null, null, 1, null, View_AdminTemplatesComponent_7)), i1.ɵdid(134, 16384, [[46, 4]], 0, i6.CellTemplateDirective, [[2, i1.TemplateRef]], null, null), (_l()(), i1.ɵand(0, null, null, 1, null, View_AdminTemplatesComponent_9)), i1.ɵdid(136, 16384, [[4, 4]], 0, i6.PagerTemplateDirective, [[2, i1.TemplateRef]], null, null), (_l()(), i1.ɵeld(137, 0, null, 0, 39, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"], [null, \"deselect\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = ((_co.tab2 = true) !== false);\n ad = (pd_0 && ad);\n } if ((\"deselect\" === en)) {\n var pd_1 = ((_co.tab2 = false) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(138, 212992, null, 0, i11.TabDirective, [i11.TabsetComponent, i1.ElementRef, i1.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\", deselect: \"deselect\" }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(140, 16777216, null, null, 36, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i12.InstanceConfigHolderService, i12.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i12.ɵa, i12.ɵa, []), i1.ɵdid(143, 409600, null, 0, i12.NgBusyDirective, [i12.ɵb, i12.InstanceConfigHolderService, i1.ComponentFactoryResolver, i12.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(144, { busy: 0, delay: 1 }), (_l()(), i1.ɵeld(145, 0, null, null, 14, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(146, 0, null, null, 13, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(147, 0, null, null, 1, \"div\", [[\"class\", \"title-marketing-message\"], [\"translate\", \"marketingMessage\"]], null, null, null, null, null)), i1.ɵdid(148, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(149, 0, null, null, 8, \"textarea\", [[\"class\", \"form-control\"], [\"id\", \"marketingMessageText\"], [\"maxlength\", \"255\"]], [[8, \"placeholder\", 0], [8, \"cols\", 0], [8, \"rows\", 0], [1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 150)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 150).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 150)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 150)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.marketingMessageTextValue = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(150, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(151, 540672, null, 0, i2.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i1.ɵprd(1024, null, i2.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i2.MaxLengthValidator]), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(154, 671744, null, 0, i2.NgModel, [[8, null], [6, i2.NG_VALIDATORS], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(156, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_10)), i1.ɵdid(159, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(160, 0, null, null, 4, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(161, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-6\"], [\"id\", \"characters-remaining\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(162, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(163, null, [\" \", \" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(165, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(166, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(167, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(168, 0, null, null, 0, \"input\", [[\"id\", \"add-confidential-cover-page\"], [\"type\", \"checkbox\"]], [[8, \"disabled\", 0], [8, \"checked\", 0]], [[null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = ((_co.addConfidentialCoverPage = !_co.addConfidentialCoverPage) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(169, 0, null, null, 2, \"label\", [[\"class\", \"field-label add-confidential-cover-page\"], [\"for\", \"add-confidential-cover-page\"]], null, null, null, null, null)), (_l()(), i1.ɵted(170, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(172, 0, null, null, 4, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(173, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(174, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSaveMarketingMessage(_co.marketingMessageTextValue) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(175, 0, null, null, 1, \"span\", [[\"translate\", \"saveChanges\"]], null, null, null, null, null)), i1.ɵdid(176, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(177, 0, null, 0, 39, \"tab\", [], [[1, \"id\", 0], [2, \"active\", null], [2, \"tab-pane\", null]], [[null, \"selectTab\"], [null, \"deselect\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selectTab\" === en)) {\n var pd_0 = ((_co.tab3 = true) !== false);\n ad = (pd_0 && ad);\n } if ((\"deselect\" === en)) {\n var pd_1 = ((_co.tab3 = false) !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(178, 212992, null, 0, i11.TabDirective, [i11.TabsetComponent, i1.ElementRef, i1.Renderer2], { heading: [0, \"heading\"], active: [1, \"active\"] }, { selectTab: \"selectTab\", deselect: \"deselect\" }), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(180, 16777216, null, null, 36, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i12.InstanceConfigHolderService, i12.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i12.ɵa, i12.ɵa, []), i1.ɵdid(183, 409600, null, 0, i12.NgBusyDirective, [i12.ɵb, i12.InstanceConfigHolderService, i1.ComponentFactoryResolver, i12.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(184, { busy: 0, delay: 1 }), (_l()(), i1.ɵeld(185, 0, null, null, 31, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 187).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 187).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(186, 16384, null, 0, i2.ɵangular_packages_forms_forms_z, [], null, null), i1.ɵdid(187, 540672, null, 0, i2.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i2.ControlContainer, null, [i2.FormGroupDirective]), i1.ɵdid(189, 16384, null, 0, i2.NgControlStatusGroup, [[4, i2.ControlContainer]], null, null), (_l()(), i1.ɵeld(190, 0, null, null, 2, \"div\", [[\"class\", \"row col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(191, 0, null, null, 1, \"div\", [[\"class\", \"section-title\"], [\"translate\", \"smtpSettingTitle\"]], null, null, null, null, null)), i1.ɵdid(192, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(193, 0, null, null, 15, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(194, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-2 smtp-type-selection-radio\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(195, 0, null, null, 0, \"input\", [[\"id\", \"providerEmailServerRadio\"], [\"name\", \"smtptypeselection\"], [\"type\", \"radio\"]], [[8, \"value\", 0], [8, \"checked\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectType(_co.getSMTPSettingEnum.autoAlert) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(196, 0, null, null, 2, \"label\", [[\"class\", \"label-ratio-options\"], [\"for\", \"providerEmailServerRadio\"]], null, null, null, null, null)), (_l()(), i1.ɵted(197, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(199, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-2 smtp-type-selection-radio\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(200, 0, null, null, 0, \"input\", [[\"id\", \"customEmailServerRadio\"], [\"name\", \"smtptypeselection\"], [\"type\", \"radio\"]], [[8, \"value\", 0], [8, \"checked\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectType(_co.getSMTPSettingEnum.custom) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(201, 0, null, null, 2, \"label\", [[\"class\", \"label-ratio-options\"], [\"for\", \"customEmailServerRadio\"]], null, null, null, null, null)), (_l()(), i1.ɵted(202, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(204, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-2 smtp-type-selection-radio\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(205, 0, null, null, 0, \"input\", [[\"id\", \"noEmailServerRadio\"], [\"name\", \"smtptypeselection\"], [\"type\", \"radio\"]], [[8, \"value\", 0], [8, \"checked\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectType(_co.getSMTPSettingEnum.none) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(206, 0, null, null, 2, \"label\", [[\"class\", \"label-ratio-options\"], [\"for\", \"noEmailServerRadio\"]], null, null, null, null, null)), (_l()(), i1.ɵted(207, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminTemplatesComponent_11)), i1.ɵdid(210, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(211, 0, null, null, 0, \"br\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(212, 0, null, null, 4, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(213, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-2\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(214, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary\"], [\"type\", \"submit\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSaveSMTPSettings() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(215, 0, null, null, 1, \"span\", [[\"translate\", \"saveSMTPSettings\"]], null, null, null, null, null)), i1.ɵdid(216, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"templates\"; _ck(_v, 5, 0, currVal_0); var currVal_1 = (_co.dealers.length > 1); _ck(_v, 7, 0, currVal_1); var currVal_6 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 13, 0, i1.ɵnov(_v, 14).transform(\"list\")), \"\"); var currVal_7 = _co.tab1; _ck(_v, 13, 0, currVal_6, currVal_7); var currVal_8 = _ck(_v, 19, 0, _co.busy, 200); _ck(_v, 18, 0, currVal_8); var currVal_17 = _co.gridView; var currVal_18 = _co.pageSize; var currVal_19 = 300; var currVal_20 = _co.skip; var currVal_21 = _co.sort; var currVal_22 = false; var currVal_23 = true; var currVal_24 = true; _ck(_v, 55, 0, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24); var currVal_25 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 64, 0, i1.ɵnov(_v, 74).transform(\"name\")), \"\"); var currVal_26 = \"templateName\"; _ck(_v, 64, 0, currVal_25, currVal_26); var currVal_27 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 79, 0, i1.ɵnov(_v, 89).transform(\"preview\")), \"\"); var currVal_28 = \"140\"; _ck(_v, 79, 0, currVal_27, currVal_28); var currVal_29 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 94, 0, i1.ɵnov(_v, 104).transform(\"createDate\")), \"\"); var currVal_30 = \"240\"; var currVal_31 = \"createDate\"; _ck(_v, 94, 0, currVal_29, currVal_30, currVal_31); var currVal_32 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 109, 0, i1.ɵnov(_v, 119).transform(\"createBy\")), \"\"); var currVal_33 = \"240\"; var currVal_34 = \"createdByFullName\"; _ck(_v, 109, 0, currVal_32, currVal_33, currVal_34); var currVal_35 = \"45\"; _ck(_v, 122, 0, currVal_35); var currVal_39 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 138, 0, i1.ɵnov(_v, 139).transform(\"upgradeProposal\")), \"\"); var currVal_40 = _co.tab2; _ck(_v, 138, 0, currVal_39, currVal_40); var currVal_41 = _ck(_v, 144, 0, _co.busy3, 200); _ck(_v, 143, 0, currVal_41); var currVal_42 = \"marketingMessage\"; _ck(_v, 148, 0, currVal_42); var currVal_54 = \"255\"; _ck(_v, 151, 0, currVal_54); var currVal_55 = _co.marketingMessageTextValue; _ck(_v, 154, 0, currVal_55); var currVal_56 = (((_co.marketingMessageTextValue == null) ? null : _co.marketingMessageTextValue.length) == 255); _ck(_v, 159, 0, currVal_56); var currVal_62 = \"saveChanges\"; _ck(_v, 176, 0, currVal_62); var currVal_66 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 178, 0, i1.ɵnov(_v, 179).transform(\"SMTPSettings\")), \"\"); var currVal_67 = _co.tab3; _ck(_v, 178, 0, currVal_66, currVal_67); var currVal_68 = _ck(_v, 184, 0, _co.busy2, 200); _ck(_v, 183, 0, currVal_68); var currVal_76 = _co.SMTPForm; _ck(_v, 187, 0, currVal_76); var currVal_77 = \"smtpSettingTitle\"; _ck(_v, 192, 0, currVal_77); var currVal_87 = (_co.type == _co.getSMTPSettingEnum.custom); _ck(_v, 210, 0, currVal_87); var currVal_88 = \"saveSMTPSettings\"; _ck(_v, 216, 0, currVal_88); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = i1.ɵnov(_v, 11).clazz; _ck(_v, 10, 0, currVal_2); var currVal_3 = i1.ɵnov(_v, 13).id; var currVal_4 = i1.ɵnov(_v, 13).active; var currVal_5 = i1.ɵnov(_v, 13).addClass; _ck(_v, 12, 0, currVal_3, currVal_4, currVal_5); var currVal_9 = i1.ɵunv(_v, 21, 0, i1.ɵnov(_v, 22).transform(\"createNew\")); _ck(_v, 21, 0, currVal_9); var currVal_10 = i1.ɵnov(_v, 55).dir; var currVal_11 = i1.ɵnov(_v, 55).hostClasses; var currVal_12 = i1.ɵnov(_v, 55).hostClasses; var currVal_13 = i1.ɵnov(_v, 55).lockedClasses; var currVal_14 = i1.ɵnov(_v, 55).virtualClasses; var currVal_15 = i1.ɵnov(_v, 55).columnResizing; var currVal_16 = i1.ɵnov(_v, 55).noScrollbarClass; _ck(_v, 23, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); var currVal_36 = i1.ɵnov(_v, 138).id; var currVal_37 = i1.ɵnov(_v, 138).active; var currVal_38 = i1.ɵnov(_v, 138).addClass; _ck(_v, 137, 0, currVal_36, currVal_37, currVal_38); var currVal_43 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 149, 0, i1.ɵnov(_v, 157).transform(\"goalMarketingMessage\")), \"\"); var currVal_44 = 60; var currVal_45 = 5; var currVal_46 = (i1.ɵnov(_v, 151).maxlength ? i1.ɵnov(_v, 151).maxlength : null); var currVal_47 = i1.ɵnov(_v, 156).ngClassUntouched; var currVal_48 = i1.ɵnov(_v, 156).ngClassTouched; var currVal_49 = i1.ɵnov(_v, 156).ngClassPristine; var currVal_50 = i1.ɵnov(_v, 156).ngClassDirty; var currVal_51 = i1.ɵnov(_v, 156).ngClassValid; var currVal_52 = i1.ɵnov(_v, 156).ngClassInvalid; var currVal_53 = i1.ɵnov(_v, 156).ngClassPending; _ck(_v, 149, 1, [currVal_43, currVal_44, currVal_45, currVal_46, currVal_47, currVal_48, currVal_49, currVal_50, currVal_51, currVal_52, currVal_53]); var currVal_57 = _co.calculateLength(); var currVal_58 = i1.ɵunv(_v, 163, 1, i1.ɵnov(_v, 164).transform(\"charactersLeft\")); _ck(_v, 163, 0, currVal_57, currVal_58); var currVal_59 = _co.readOnly; var currVal_60 = _co.addConfidentialCoverPage; _ck(_v, 168, 0, currVal_59, currVal_60); var currVal_61 = i1.ɵunv(_v, 170, 0, i1.ɵnov(_v, 171).transform(\"addConfidentialCoverPageUpgradeProposal\")); _ck(_v, 170, 0, currVal_61); var currVal_63 = i1.ɵnov(_v, 178).id; var currVal_64 = i1.ɵnov(_v, 178).active; var currVal_65 = i1.ɵnov(_v, 178).addClass; _ck(_v, 177, 0, currVal_63, currVal_64, currVal_65); var currVal_69 = i1.ɵnov(_v, 189).ngClassUntouched; var currVal_70 = i1.ɵnov(_v, 189).ngClassTouched; var currVal_71 = i1.ɵnov(_v, 189).ngClassPristine; var currVal_72 = i1.ɵnov(_v, 189).ngClassDirty; var currVal_73 = i1.ɵnov(_v, 189).ngClassValid; var currVal_74 = i1.ɵnov(_v, 189).ngClassInvalid; var currVal_75 = i1.ɵnov(_v, 189).ngClassPending; _ck(_v, 185, 0, currVal_69, currVal_70, currVal_71, currVal_72, currVal_73, currVal_74, currVal_75); var currVal_78 = 1; var currVal_79 = (_co.type == _co.getSMTPSettingEnum.autoAlert); _ck(_v, 195, 0, currVal_78, currVal_79); var currVal_80 = i1.ɵunv(_v, 197, 0, i1.ɵnov(_v, 198).transform(\"providerEmailServer\")); _ck(_v, 197, 0, currVal_80); var currVal_81 = 2; var currVal_82 = (_co.type == _co.getSMTPSettingEnum.custom); _ck(_v, 200, 0, currVal_81, currVal_82); var currVal_83 = i1.ɵunv(_v, 202, 0, i1.ɵnov(_v, 203).transform(\"customEmailServer\")); _ck(_v, 202, 0, currVal_83); var currVal_84 = 0; var currVal_85 = (_co.type == _co.getSMTPSettingEnum.none); _ck(_v, 205, 0, currVal_84, currVal_85); var currVal_86 = i1.ɵunv(_v, 207, 0, i1.ɵnov(_v, 208).transform(\"noEmailServer\")); _ck(_v, 207, 0, currVal_86); }); }\nexports.View_AdminTemplatesComponent_0 = View_AdminTemplatesComponent_0;\nfunction View_AdminTemplatesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"aa-admin-templates\", [], null, null, null, View_AdminTemplatesComponent_0, RenderType_AdminTemplatesComponent)), i1.ɵdid(1, 770048, null, 0, i14.AdminTemplatesComponent, [i15.BsModalService, i2.FormBuilder, i3.TranslateService, i16.DealerUpgradeProposalSettingClientService, i17.DealerSmtpSettingClientService, i18.ToasterLoggerService, i19.DealerService, i9.StorageService, i20.TemplateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminTemplatesComponent_Host_0 = View_AdminTemplatesComponent_Host_0;\nvar AdminTemplatesComponentNgFactory = i1.ɵccf(\"aa-admin-templates\", i14.AdminTemplatesComponent, View_AdminTemplatesComponent_Host_0, {}, {}, []);\nexports.AdminTemplatesComponentNgFactory = AdminTemplatesComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n
1\">\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n\r\n \r\n \r\n \r\n {{dataItem.templateName}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n {{dataItem.createDate | localeDate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{ 'warningMessageMaxChars255' | translate }}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n {{calculateLength()}} {{'charactersLeft' | translate }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{'errorSMTPHostInvalid' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{'errorPortInvalid' | translate}}
\r\n
maxLengthIssue
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{'errorUsernameInvalid' | translate}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","module.exports = \".search-save-response-modal .modal-dialog {\\n width: 550px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1zYXZlLXJlc3BvbnNlLW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3NlYXJjaC9zZWFyY2gtc2F2ZS1yZXNwb25zZS1tb2RhbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNJLGFBQUE7Q0NESCIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvc2VhcmNoL3NlYXJjaC1zYXZlLXJlc3BvbnNlLW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCBcIi4uLy4uL3N0eWxlcy9hYS12YXJpYWJsZXNcIjtcclxuXHJcbi5zZWFyY2gtc2F2ZS1yZXNwb25zZS1tb2RhbCAubW9kYWwtZGlhbG9nIHtcclxuICAgIHdpZHRoOiA1NTBweDtcclxufVxyXG4iLCIuc2VhcmNoLXNhdmUtcmVzcG9uc2UtbW9kYWwgLm1vZGFsLWRpYWxvZyB7XG4gIHdpZHRoOiA1NTBweDtcbn0iXX0= */\"","'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\nrequire('./_string-html')('fontsize', function (createHTML) {\n return function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n };\n});\n","var path = '/app/components/deal-sheet/vehicle/vehicle-action-select.component.html';\nvar html = \"
|
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ExportCampaignTypes = {\n notSet: 0,\n sales: 1,\n service: 2,\n conquest: 3,\n callCenter: 4,\n other: 5,\n};\n","\r\nexport const ExportCampaignTypes = {\r\n notSet: 0,\r\n sales: 1,\r\n service: 2,\r\n conquest: 3,\r\n callCenter: 4,\r\n other: 5,\r\n};\r\n","module.exports = __webpack_public_path__ + \"icon-pando-profile-on.e62d884b316631d8ef16.svg\";","var path = '/app/components/deal-sheet/modals/schedule.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"search-manage-presets-container .search-form {\\n background: #E7E7E7;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1tYW5hZ2UtcHJlc2V0cy1jb250YWluZXIuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvc2VhcmNoL0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcc3R5bGVzXFxfYWEtdmFyaWFibGVzLnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvc2VhcmNoL3NlYXJjaC1tYW5hZ2UtcHJlc2V0cy1jb250YWluZXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUk7RUFDSSxvQkN5Q1k7Q0M1Q25CIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvc2Vh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SXRlbXM6ICNjMWMyYzQ7XHJcbiRyZXBvcnRzQmFja2dyb3VuZDogI0U3RTdFNztcclxuIiwic2VhcmNoLW1hbmFnZS1wcmVzZXRzLWNvbnRhaW5lciAuc2VhcmNoLWZvcm0ge1xuICBiYWNrZ3JvdW5kOiAjRTdFN0U3O1xufSJdfQ== */\"","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\n/**\n * Global configuration for alertminer-api services\n */\nvar AlertminerApiConfiguration = /** @class */ (function () {\n function AlertminerApiConfiguration() {\n this.rootUrl = '';\n }\n AlertminerApiConfiguration.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AlertminerApiConfiguration_Factory() { return new AlertminerApiConfiguration(); }, token: AlertminerApiConfiguration, providedIn: \"root\" });\n return AlertminerApiConfiguration;\n}());\nexports.AlertminerApiConfiguration = AlertminerApiConfiguration;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\n\r\n/**\r\n * Global configuration for alertminer-api services\r\n */\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AlertminerApiConfiguration {\r\n rootUrl: string = '';\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar ContractEndComponent = /** @class */ (function () {\n function ContractEndComponent() {\n }\n ContractEndComponent.prototype.ngOnInit = function () {\n };\n return ContractEndComponent;\n}());\nexports.ContractEndComponent = ContractEndComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'contract-end',\r\n templateUrl: './contract-end.component-ng.html',\r\n styleUrls: ['./contract-end.component.scss']\r\n })\r\nexport class ContractEndComponent implements OnInit {\r\n\r\n @Input() value: number;\r\n @Input() alertExists: boolean;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n }\r\n","var path = '/app/components/deal-sheet/modals/send-email-template-modal.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dealer_settings_service_1 = require(\"../../services/dealer-settings.service\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_1 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar models_1 = require(\"../../generated/models\");\nvar AdminSettingsAdvancedComponent = /** @class */ (function () {\n function AdminSettingsAdvancedComponent(modalService, tService, logger, dsService) {\n this.modalService = modalService;\n this.tService = tService;\n this.logger = logger;\n this.dsService = dsService;\n this.dsa = {};\n }\n AdminSettingsAdvancedComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.UpdateSelfRegisrtationLink();\n this.dsService.GetTrim(this.dsa.dealerSetting.defaultTrimID).then(function (trim) {\n _this.dsService.GetTrims(trim.modelID).then(function (trims) {\n _this.trims = trims;\n _this.dsService.GetModel(trim.modelID).then(function (model) {\n _this.dsService.GetModelsByMakeYear(model.makeID, model.yearID).then(function (models) {\n _this.models = models;\n _this.selectedModelId = trim.modelID;\n _this.selectedMakeId = model.makeID;\n _this.selectedYear = model.yearID;\n });\n });\n });\n });\n };\n AdminSettingsAdvancedComponent.prototype.updateModelsTrims = function () {\n var _this = this;\n this.dsService.GetModelsByMakeYear(this.selectedMakeId, this.selectedYear).then(function (models) {\n if (models && models.length > 0) {\n _this.models = models;\n _this.selectedModelId = models[0].modelID;\n _this.updateTrims();\n }\n else {\n _this.models = null;\n _this.trims = null;\n }\n });\n };\n AdminSettingsAdvancedComponent.prototype.updateTrims = function () {\n var _this = this;\n this.dsService.GetTrims(this.selectedModelId).then(function (trims) {\n if (trims && trims.length > 0) {\n _this.trims = trims;\n _this.dsa.dealerSetting.defaultTrimID = trims[0].trimID;\n }\n else {\n _this.trims = null;\n }\n });\n };\n AdminSettingsAdvancedComponent.prototype.GetTradeInSource = function () {\n if (this.dsa.dealerSetting.extTradeValueSourceID == 0) {\n return 'Source: AutoAlert';\n }\n else if (this.dsa.dealerSetting.extTradeValueSourceID == 1) {\n switch (this.dsa.dealerSetting.extTradeValueTier) {\n case 1:\n return 'dsAdmin_sourceBBClean';\n case 2:\n return 'dsAdmin_sourceBBAverage';\n case 3:\n return 'dsAdmin_sourceBBRough';\n }\n }\n else if (this.dsa.dealerSetting.extTradeValueSourceID == 2) {\n return 'dsAdmin_sourceGalves';\n }\n };\n AdminSettingsAdvancedComponent.prototype.UpdateSelfRegisrtationLink = function () {\n this.selfRegistrationLink = window.location.origin + '/register/' + this.dsa.dealer.dealerCode + '?c=' + this.dsa.dealerSetting.registrationCode;\n };\n return AdminSettingsAdvancedComponent;\n}());\nexports.AdminSettingsAdvancedComponent = AdminSettingsAdvancedComponent;\n","import { Component, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter } from '@angular/core';\r\nimport { DealerSettingsService } from '../../services/dealer-settings.service';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerMakeLeaseMileageDto, DealerSettingDto, DealerTwilioPhoneNumberDto, DealerSettingResponseDto, ModelDto, TrimDto } from '../../generated/models';\r\nimport { AdminSettingsDealerInfoComponent } from './admin-settings-dealerinfo.component';\r\n\r\n@Component({\r\n selector: 'admin-settings-advanced',\r\n templateUrl: './admin-settings-advanced.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsAdvancedComponent {\r\n bsModalRef: BsModalRef;\r\n @Input() dsa: DealerSettingResponseDto = {};\r\n\r\n public selectedMakeId: number;\r\n public selectedYear: number;\r\n public selectedModelId: number;\r\n public models: ModelDto[];\r\n public trims: TrimDto[];\r\n public selfRegistrationLink: string;\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public logger: ToasterLoggerService,\r\n private dsService: DealerSettingsService) {\r\n }\r\n\r\n public ngOnInit() {\r\n this.UpdateSelfRegisrtationLink();\r\n this.dsService.GetTrim(this.dsa.dealerSetting.defaultTrimID).then(trim => {\r\n this.dsService.GetTrims(trim.modelID).then(trims => {\r\n this.trims = trims;\r\n this.dsService.GetModel(trim.modelID).then(model => {\r\n this.dsService.GetModelsByMakeYear(model.makeID, model.yearID).then(models => {\r\n this.models = models;\r\n this.selectedModelId = trim.modelID;\r\n this.selectedMakeId = model.makeID;\r\n this.selectedYear = model.yearID;\r\n });\r\n });\r\n });\r\n });\r\n }\r\n\r\n public updateModelsTrims() {\r\n this.dsService.GetModelsByMakeYear(this.selectedMakeId, this.selectedYear).then((models: ModelDto[]) => {\r\n if (models && models.length > 0) {\r\n this.models = models;\r\n this.selectedModelId = models[0].modelID;\r\n this.updateTrims();\r\n }\r\n else {\r\n this.models = null;\r\n this.trims = null;\r\n }\r\n });\r\n }\r\n\r\n public updateTrims() {\r\n this.dsService.GetTrims(this.selectedModelId).then((trims: TrimDto[]) => {\r\n if (trims && trims.length > 0) {\r\n this.trims = trims;\r\n this.dsa.dealerSetting.defaultTrimID = trims[0].trimID;\r\n }\r\n else {\r\n this.trims = null;\r\n }\r\n });\r\n }\r\n\r\n public GetTradeInSource() {\r\n if (this.dsa.dealerSetting.extTradeValueSourceID == 0) {\r\n return 'Source: AutoAlert';\r\n }\r\n else if (this.dsa.dealerSetting.extTradeValueSourceID == 1) {\r\n switch (this.dsa.dealerSetting.extTradeValueTier) {\r\n case 1:\r\n return 'dsAdmin_sourceBBClean';\r\n case 2:\r\n return 'dsAdmin_sourceBBAverage';\r\n case 3:\r\n return 'dsAdmin_sourceBBRough';\r\n\r\n }\r\n }\r\n else if (this.dsa.dealerSetting.extTradeValueSourceID == 2) {\r\n return 'dsAdmin_sourceGalves';\r\n }\r\n }\r\n\r\n UpdateSelfRegisrtationLink() {\r\n this.selfRegistrationLink = window.location.origin + '/register/' + this.dsa.dealer.dealerCode + '?c=' + this.dsa.dealerSetting.registrationCode;\r\n }\r\n}","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n","var path = '/app/components/deal-sheet/vehicle/vehicle-equity.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var $parseInt = require('./_global').parseInt;\nvar $trim = require('./_string-trim').trim;\nvar ws = require('./_string-ws');\nvar hex = /^[-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {\n var string = $trim(String(str), 3);\n return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n","var path = '/app/components/deal-sheet/modals/customer-edit-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","var path = '/app/components/deal-sheet/deal-sheet-vci.component.html';\nvar html = \"

?
N/A
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"./app.module\"));\nvar i2 = __importStar(require(\"../../../node_modules/@uirouter/angular/lib/directives/uiView.ngfactory\"));\nvar i3 = __importStar(require(\"../../../node_modules/@progress/kendo-angular-popup/dist/es2015/index.ngfactory\"));\nvar i4 = __importStar(require(\"../../../node_modules/@progress/kendo-angular-grid/dist/es2015/index.ngfactory\"));\nvar i5 = __importStar(require(\"../../../node_modules/ng-busy/ng-busy.ngfactory\"));\nvar i6 = __importStar(require(\"../../../node_modules/@uirouter/angular-hybrid/lib/angular-hybrid.ngfactory\"));\nvar i7 = __importStar(require(\"../../../node_modules/ngx-bootstrap/modal/ngx-bootstrap-modal.ngfactory\"));\nvar i8 = __importStar(require(\"../../../node_modules/ngx-bootstrap/popover/ngx-bootstrap-popover.ngfactory\"));\nvar i9 = __importStar(require(\"../../../node_modules/ngx-bootstrap/typeahead/ngx-bootstrap-typeahead.ngfactory\"));\nvar i10 = __importStar(require(\"../../../node_modules/ngx-bootstrap/datepicker/ngx-bootstrap-datepicker.ngfactory\"));\nvar i11 = __importStar(require(\"./components/ngx-toaster.component.ngfactory\"));\nvar i12 = __importStar(require(\"./components/deal-sheet/vehicle/more-vehicle-offers/more-vehicle-offers.component.ngfactory\"));\nvar i13 = __importStar(require(\"./components/deal-sheet/vehicle/more-vehicle-offers/on-demand-offers.component.ngfactory\"));\nvar i14 = __importStar(require(\"./components/deal-sheet/contract/trade-source-logo/trade-source-logo.component.ngfactory\"));\nvar i15 = __importStar(require(\"./components/deal-sheet/text-action/text-action.component.ngfactory\"));\nvar i16 = __importStar(require(\"./components/calendar-date-range.component-ng.ngfactory\"));\nvar i17 = __importStar(require(\"./components/deal-sheet/text-message-activity/text-message-activity.component.ngfactory\"));\nvar i18 = __importStar(require(\"./components/admin/admin-roles.component.ngfactory\"));\nvar i19 = __importStar(require(\"./components/admin/admin-settings.component.ngfactory\"));\nvar i20 = __importStar(require(\"./components/admin/admin-settings-general.component.ngfactory\"));\nvar i21 = __importStar(require(\"./components/admin/admin-settings-product.component.ngfactory\"));\nvar i22 = __importStar(require(\"./components/admin/admin-settings-programs.component.ngfactory\"));\nvar i23 = __importStar(require(\"./components/admin/admin-settings-opportunity.component.ngfactory\"));\nvar i24 = __importStar(require(\"./components/admin/admin-settings-inventory.component.ngfactory\"));\nvar i25 = __importStar(require(\"./components/admin/admin-settings-dealerinfo.component.ngfactory\"));\nvar i26 = __importStar(require(\"./components/admin/admin-roles-selector.component.ngfactory\"));\nvar i27 = __importStar(require(\"./components/admin/admin-roles-modal-addedit.component.ngfactory\"));\nvar i28 = __importStar(require(\"./components/admin/admin-settings-modal-sendtestlead.component.ngfactory\"));\nvar i29 = __importStar(require(\"./components/admin/admin-settings-vhr-disclaimer.component.ngfactory\"));\nvar i30 = __importStar(require(\"./components/admin/admin-settings-advanced.component.ngfactory\"));\nvar i31 = __importStar(require(\"./components/admin/admin-settings-creditconvert.component.ngfactory\"));\nvar i32 = __importStar(require(\"./components/admin/admin-settings-crmleadsdelivery.component.ngfactory\"));\nvar i33 = __importStar(require(\"./components/modals/confirm-modal.component.ngfactory\"));\nvar i34 = __importStar(require(\"./components/icon/icon.component.ngfactory\"));\nvar i35 = __importStar(require(\"./components/deal-sheet/alerts/alerts.component-ng.ngfactory\"));\nvar i36 = __importStar(require(\"./components/deal-sheet/alert/alert.component-ng.ngfactory\"));\nvar i37 = __importStar(require(\"./components/dashboard/dashboard-opportunities-table/dashboard-opportunities-table.component-ng.ngfactory\"));\nvar i38 = __importStar(require(\"./components/deal-sheet/deal-history/deal-history.component.ngfactory\"));\nvar i39 = __importStar(require(\"./components/deal-sheet/default-tab-action/default-tab-action.component.ngfactory\"));\nvar i40 = __importStar(require(\"./components/admin/admin-templates/admin-templates.component.ngfactory\"));\nvar i41 = __importStar(require(\"./components/admin/do-not-call-email/do-not-call-email.component.ngfactory\"));\nvar i42 = __importStar(require(\"./components/header/user-settings.component/user-settings.component.ngfactory\"));\nvar i43 = __importStar(require(\"./components/admin/admin-templates/admin-templates-edit-modal.component.ngfactory\"));\nvar i44 = __importStar(require(\"./components/header/search-presets/search-presets.component.ngfactory\"));\nvar i45 = __importStar(require(\"./components/dashboard/tagged-customers/tagged-customers.component.ngfactory\"));\nvar i46 = __importStar(require(\"./components/modals/display-modal/display-modal.component.ngfactory\"));\nvar i47 = __importStar(require(\"./components/header/pando-availability/pando-availability.component.ngfactory\"));\nvar i48 = __importStar(require(\"./components/header/pando-unread-messages.component/pando-unread-messages.component.ngfactory\"));\nvar i49 = __importStar(require(\"./components/header/recent-deal-sheets/recent-deal-sheets.component.ngfactory\"));\nvar i50 = __importStar(require(\"./components/header/impersonation-status/impersonation-status.component.ngfactory\"));\nvar i51 = __importStar(require(\"./components/dashboard/search-preset-counts/search-preset-counts.component.ngfactory\"));\nvar i52 = __importStar(require(\"./components/header/stock-number-search/stock-number-search.component.ngfactory\"));\nvar i53 = __importStar(require(\"./components/modals/modal/modal.component.ngfactory\"));\nvar i54 = __importStar(require(\"./components/dashboard/quick-links/quick-links.component.ngfactory\"));\nvar i55 = __importStar(require(\"./components/dashboard/dashboard-agenda/dashboard-agenda.component.ngfactory\"));\nvar i56 = __importStar(require(\"./components/tooltip.component.ngfactory\"));\nvar i57 = __importStar(require(\"./components/general/customer-culture-select/customer-culture-select.component.ngfactory\"));\nvar i58 = __importStar(require(\"./components/deal-sheet/type-of-call/type-of-call.component.ngfactory\"));\nvar i59 = __importStar(require(\"./components/deal-sheet/mobile/mobile-deal-sheet/mobile-deal-sheet.component.ngfactory\"));\nvar i60 = __importStar(require(\"./components/deal-sheet/mobile/customer-info/customer-info.component.ngfactory\"));\nvar i61 = __importStar(require(\"./components/deal-sheet/mobile/mobile-activities/mobile-activities.component.ngfactory\"));\nvar i62 = __importStar(require(\"./components/deal-sheet/mobile/mobile-vehicles/mobile-vehicles.component.ngfactory\"));\nvar i63 = __importStar(require(\"./components/deal-sheet/mobile/mobile-replacement-contract/mobile-replacement-contract.component.ngfactory\"));\nvar i64 = __importStar(require(\"./components/deal-sheet/modals/deal-sheet-process.component.ngfactory\"));\nvar i65 = __importStar(require(\"./components/deal-sheet/modals/open-process-modal.component.ngfactory\"));\nvar i66 = __importStar(require(\"./components/deal-sheet/mobile/mobile-customer-connect/mobile-customer-connect.component.ngfactory\"));\nvar i67 = __importStar(require(\"./components/deal-sheet/log-action-shortcuts/log-action-shortcuts.component.ngfactory\"));\nvar i68 = __importStar(require(\"./components/deal-sheet/customer-connect/customer-connect-actions/customer-connect-actions.component.ngfactory\"));\nvar i69 = __importStar(require(\"./components/deal-sheet/contract/repair-orders/repair-orders.component.ngfactory\"));\nvar i70 = __importStar(require(\"./components/deal-sheet/contract/service-appointment/service-appointment.component.ngfactory\"));\nvar i71 = __importStar(require(\"./components/deal-sheet/contract/projected-mileage/projected-mileage.component.ngfactory\"));\nvar i72 = __importStar(require(\"./components/deal-sheet/contract/mileage-penalty/mileage-penalty.component.ngfactory\"));\nvar i73 = __importStar(require(\"./components/deal-sheet/vehicle/vehicle-summary/vehicle-summary.component.ngfactory\"));\nvar i74 = __importStar(require(\"./components/deal-sheet/vehicle/vehicle-image/vehicle-image.component.ngfactory\"));\nvar i75 = __importStar(require(\"./components/deal-sheet/contract/sale-type/sale-type.component.ngfactory\"));\nvar i76 = __importStar(require(\"./components/deal-sheet/contract/allowed-mileage/allowed-mileage.component.ngfactory\"));\nvar i77 = __importStar(require(\"./components/deal-sheet/contract/annual-percentage-rate/annual-percentage-rate.component.ngfactory\"));\nvar i78 = __importStar(require(\"./components/deal-sheet/contract/cash-paid/cash-paid.component.ngfactory\"));\nvar i79 = __importStar(require(\"./components/deal-sheet/vehicle/trade-in-value/trade-in-value.component.ngfactory\"));\nvar i80 = __importStar(require(\"./components/deal-sheet/contract/money-factor/money-factor.component.ngfactory\"));\nvar i81 = __importStar(require(\"./components/date-input/date-input.component.ngfactory\"));\nvar i82 = __importStar(require(\"./components/deal-sheet/tags/tags.component.ngfactory\"));\nvar i83 = __importStar(require(\"./components/deal-sheet/contract/payments/payments.component.ngfactory\"));\nvar i84 = __importStar(require(\"./components/deal-sheet/contract/mileage-edit-action/mileage-edit-action.component.ngfactory\"));\nvar i85 = __importStar(require(\"./components/deal-sheet/contract/mileage-edit-modal/mileage-edit-modal.component.ngfactory\"));\nvar i86 = __importStar(require(\"./components/deal-sheet/contract/cash-down/cash-down.component.ngfactory\"));\nvar i87 = __importStar(require(\"./components/deal-sheet/customer-connect/customer-connect.component.ngfactory\"));\nvar i88 = __importStar(require(\"./components/deal-sheet/contract/payoff/payoff.component.ngfactory\"));\nvar i89 = __importStar(require(\"./components/deal-sheet/contract/payoff-input-modal/payoff-input-modal.component.ngfactory\"));\nvar i90 = __importStar(require(\"./components/deal-sheet/contract/residual/residual.component.ngfactory\"));\nvar i91 = __importStar(require(\"./components/deal-sheet/contract/financed-amount/financed-amount.component.ngfactory\"));\nvar i92 = __importStar(require(\"./components/deal-sheet/contract/contract-end/contract-end.component.ngfactory\"));\nvar i93 = __importStar(require(\"./components/deal-sheet/contract/extended-warranty/extended-warranty.component.ngfactory\"));\nvar i94 = __importStar(require(\"./components/deal-sheet/vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component.ngfactory\"));\nvar i95 = __importStar(require(\"./components/deal-sheet/contract/factory-rebate/factory-rebate.component.ngfactory\"));\nvar i96 = __importStar(require(\"./components/deal-sheet/contract/auto-check/auto-check.component.ngfactory\"));\nvar i97 = __importStar(require(\"./components/deal-sheet/contract/carfax/carfax.component.ngfactory\"));\nvar i98 = __importStar(require(\"./components/deal-sheet/contract/carfaxv2/carfaxv2.component.ngfactory\"));\nvar i99 = __importStar(require(\"./components/deal-sheet/contract/carproof/carproof.component.ngfactory\"));\nvar i100 = __importStar(require(\"./components/deal-sheet/contract/capital-cost/capital-cost.component.ngfactory\"));\nvar i101 = __importStar(require(\"./components/deal-sheet/vehicle/price/price.component.ngfactory\"));\nvar i102 = __importStar(require(\"./components/deal-sheet/contract/dealer-rebate/dealer-rebate.component.ngfactory\"));\nvar i103 = __importStar(require(\"./components/deal-sheet/deskit/deskit.component.ngfactory\"));\nvar i104 = __importStar(require(\"./components/deal-sheet/contract/vauto/vauto.component.ngfactory\"));\nvar i105 = __importStar(require(\"./components/deal-sheet/contract/vauto-modal/vauto-modal.component.ngfactory\"));\nvar i106 = __importStar(require(\"./components/deal-sheet/contract/vincue/vincue.component.ngfactory\"));\nvar i107 = __importStar(require(\"./components/deal-sheet/contract/vincue-modal/vincue-modal.component.ngfactory\"));\nvar i108 = __importStar(require(\"./components/deal-sheet/dms-push/dms-push.component.ngfactory\"));\nvar i109 = __importStar(require(\"./components/deal-sheet/dms-push-modal/dms-push-modal.component.ngfactory\"));\nvar i110 = __importStar(require(\"./components/deal-sheet/modals/confirmation-modal/confirmation-modal.component.ngfactory\"));\nvar i111 = __importStar(require(\"./components/deal-sheet/score-info/score-info.component.ngfactory\"));\nvar i112 = __importStar(require(\"./components/deal-sheet/score-info-modal/score-info-modal.component.ngfactory\"));\nvar i113 = __importStar(require(\"./components/deal-sheet/nlo-info/nlo-info.component.ngfactory\"));\nvar i114 = __importStar(require(\"./components/deal-sheet/nlo-info-modal/nlo-info-modal.component.ngfactory\"));\nvar i115 = __importStar(require(\"@angular/common\"));\nvar i116 = __importStar(require(\"@angular/platform-browser\"));\nvar i117 = __importStar(require(\"@angular/animations/browser\"));\nvar i118 = __importStar(require(\"@angular/platform-browser/animations\"));\nvar i119 = __importStar(require(\"@angular/animations\"));\nvar i120 = __importStar(require(\"@angular/common/http\"));\nvar i121 = __importStar(require(\"./services/window-ref.service\"));\nvar i122 = __importStar(require(\"./modules/storage/storage.service\"));\nvar i123 = __importStar(require(\"./modules/storage/cross-domain-storage.service\"));\nvar i124 = __importStar(require(\"./services/log-factory.service\"));\nvar i125 = __importStar(require(\"@angular/upgrade/static\"));\nvar i126 = __importStar(require(\"./ajs-upgraded-providers\"));\nvar i127 = __importStar(require(\"./modules/oidc-auth/token.service\"));\nvar i128 = __importStar(require(\"angular2-toaster/src/toaster.service\"));\nvar i129 = __importStar(require(\"./core/toaster-logger.service\"));\nvar i130 = __importStar(require(\"@ngx-translate/core\"));\nvar i131 = __importStar(require(\"./services/http/ng-no-cache-interceptor\"));\nvar i132 = __importStar(require(\"./services/http/ng-selected-dealers-interceptor\"));\nvar i133 = __importStar(require(\"./services/http/ng-content-type.interceptor\"));\nvar i134 = __importStar(require(\"./services/http/ng-oidc-http.interceptor\"));\nvar i135 = __importStar(require(\"./services/http/http-interceptor-options.service\"));\nvar i136 = __importStar(require(\"./generated/services/activity-client.service\"));\nvar i137 = __importStar(require(\"./generated/alertminer-api-configuration\"));\nvar i138 = __importStar(require(\"./generated/services/activity-history-client.service\"));\nvar i139 = __importStar(require(\"./generated/services/announcement-client.service\"));\nvar i140 = __importStar(require(\"./generated/services/cache-management-client.service\"));\nvar i141 = __importStar(require(\"./generated/services/change-log-client.service\"));\nvar i142 = __importStar(require(\"./generated/services/credit-soft-pull-result-entity-del-client.service\"));\nvar i143 = __importStar(require(\"./generated/services/customer-client.service\"));\nvar i144 = __importStar(require(\"./generated/services/customer-activity-history-client.service\"));\nvar i145 = __importStar(require(\"./generated/services/customer-contact-history-client.service\"));\nvar i146 = __importStar(require(\"./generated/services/customer-workflow-client.service\"));\nvar i147 = __importStar(require(\"./generated/services/dealer-client.service\"));\nvar i148 = __importStar(require(\"./generated/services/dealer-asset-client.service\"));\nvar i149 = __importStar(require(\"./generated/services/dealer-price-client.service\"));\nvar i150 = __importStar(require(\"./generated/services/dealer-rates-client.service\"));\nvar i151 = __importStar(require(\"./generated/services/dealer-rebate-client.service\"));\nvar i152 = __importStar(require(\"./generated/services/dealer-search-client.service\"));\nvar i153 = __importStar(require(\"./generated/services/dealer-setting-client.service\"));\nvar i154 = __importStar(require(\"./generated/services/dealer-smtp-setting-client.service\"));\nvar i155 = __importStar(require(\"./generated/services/dealer-tradein-client.service\"));\nvar i156 = __importStar(require(\"./generated/services/dealer-upgrade-proposal-setting-client.service\"));\nvar i157 = __importStar(require(\"./generated/services/deal-sheet-client.service\"));\nvar i158 = __importStar(require(\"./generated/services/deskit-client.service\"));\nvar i159 = __importStar(require(\"./generated/services/discrepancy-report-client.service\"));\nvar i160 = __importStar(require(\"./generated/services/email-conversation-client.service\"));\nvar i161 = __importStar(require(\"./generated/services/entity-client.service\"));\nvar i162 = __importStar(require(\"./generated/services/entity-opportunity-client.service\"));\nvar i163 = __importStar(require(\"./generated/services/eula-client.service\"));\nvar i164 = __importStar(require(\"./generated/services/eula-history-client.service\"));\nvar i165 = __importStar(require(\"./generated/services/ext-customer-activity-client.service\"));\nvar i166 = __importStar(require(\"./generated/services/ford-credit-approval-client.service\"));\nvar i167 = __importStar(require(\"./generated/services/inventory-client.service\"));\nvar i168 = __importStar(require(\"./generated/services/log-client.service\"));\nvar i169 = __importStar(require(\"./generated/services/make-client.service\"));\nvar i170 = __importStar(require(\"./generated/services/messaging-client.service\"));\nvar i171 = __importStar(require(\"./generated/services/model-client.service\"));\nvar i172 = __importStar(require(\"./generated/services/pando-claim-client.service\"));\nvar i173 = __importStar(require(\"./generated/services/pando-passthrough-client.service\"));\nvar i174 = __importStar(require(\"./generated/services/print-offer-batch-client.service\"));\nvar i175 = __importStar(require(\"./generated/services/replacement-client.service\"));\nvar i176 = __importStar(require(\"./generated/services/role-client.service\"));\nvar i177 = __importStar(require(\"./generated/services/sale-client.service\"));\nvar i178 = __importStar(require(\"./generated/services/search-client.service\"));\nvar i179 = __importStar(require(\"./generated/services/tag-client.service\"));\nvar i180 = __importStar(require(\"./generated/services/text-message-client.service\"));\nvar i181 = __importStar(require(\"./generated/services/trim-client.service\"));\nvar i182 = __importStar(require(\"./generated/services/trim-alternate-offer-client.service\"));\nvar i183 = __importStar(require(\"./generated/services/user-client.service\"));\nvar i184 = __importStar(require(\"./generated/services/user-module-access-client.service\"));\nvar i185 = __importStar(require(\"./generated/services/user-profile-client.service\"));\nvar i186 = __importStar(require(\"./generated/services/user-search-condition-client.service\"));\nvar i187 = __importStar(require(\"./generated/services/vehicle-final-trade-value-temp-change-client.service\"));\nvar i188 = __importStar(require(\"./generated/services/vehicle-user-trade-value-client.service\"));\nvar i189 = __importStar(require(\"@progress/kendo-angular-dateinputs\"));\nvar i190 = __importStar(require(\"@progress/kendo-angular-intl\"));\nvar i191 = __importStar(require(\"@progress/kendo-angular-popup\"));\nvar i192 = __importStar(require(\"@angular/forms\"));\nvar i193 = __importStar(require(\"@progress/kendo-angular-common\"));\nvar i194 = __importStar(require(\"ng-busy\"));\nvar i195 = __importStar(require(\"angular2-multiselect-dropdown\"));\nvar i196 = __importStar(require(\"@uirouter/angular-hybrid/lib/angular-hybrid\"));\nvar i197 = __importStar(require(\"@uirouter/core\"));\nvar i198 = __importStar(require(\"@uirouter/angular/lib/providers\"));\nvar i199 = __importStar(require(\"angular2-toaster/src/toaster-container.component\"));\nvar i200 = __importStar(require(\"ngx-device-detector\"));\nvar i201 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i202 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i203 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i204 = __importStar(require(\"ngx-bootstrap/tabs\"));\nvar i205 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i206 = __importStar(require(\"ngx-bootstrap/typeahead\"));\nvar i207 = __importStar(require(\"ngx-bootstrap/datepicker\"));\nvar i208 = __importStar(require(\"ngx-bootstrap/timepicker\"));\nvar i209 = __importStar(require(\"./services/activity.service\"));\nvar i210 = __importStar(require(\"./services/admin-role.service\"));\nvar i211 = __importStar(require(\"./services/dealer-settings.service\"));\nvar i212 = __importStar(require(\"./services/communication-api.service\"));\nvar i213 = __importStar(require(\"./services/pando-communication.service\"));\nvar i214 = __importStar(require(\"./services/dealer.service\"));\nvar i215 = __importStar(require(\"./services/admin-templates.service\"));\nvar i216 = __importStar(require(\"./services/customer.service\"));\nvar i217 = __importStar(require(\"./filters/locale-currency.pipe\"));\nvar i218 = __importStar(require(\"./filters/adaptive-position.pipe\"));\nvar i219 = __importStar(require(\"./filters/locale-date.pipe\"));\nvar i220 = __importStar(require(\"./filters/locale-date-time.pipe\"));\nvar i221 = __importStar(require(\"./filters/locale-time.pipe\"));\nvar i222 = __importStar(require(\"./filters/locale-number.pipe\"));\nvar i223 = __importStar(require(\"./filters/locale-phone.pipe\"));\nvar i224 = __importStar(require(\"./filters/locale-money-factor.pipe\"));\nvar i225 = __importStar(require(\"./services/search-preset.service\"));\nvar i226 = __importStar(require(\"./services/stock-number-search.service\"));\nvar i227 = __importStar(require(\"./services/text-message.service\"));\nvar i228 = __importStar(require(\"./services/user.service\"));\nvar i229 = __importStar(require(\"./services/customer-workflow.service\"));\nvar i230 = __importStar(require(\"./services/recent-deal-sheet.service\"));\nvar i231 = __importStar(require(\"./services/opportunity2.service\"));\nvar i232 = __importStar(require(\"./services/auto-assistant.service\"));\nvar i233 = __importStar(require(\"@uirouter/angular/lib/uiRouterNgModule\"));\nvar i234 = __importStar(require(\"./generated/alertminer-api.module\"));\nvar i235 = __importStar(require(\"@progress/kendo-angular-grid\"));\nvar i236 = __importStar(require(\"@progress/kendo-angular-inputs\"));\nvar i237 = __importStar(require(\"@progress/kendo-angular-dropdowns\"));\nvar i238 = __importStar(require(\"angular2-toaster/src/toaster.module\"));\nvar i239 = __importStar(require(\"ng5-slider\"));\nvar i240 = __importStar(require(\"ngx-bootstrap/collapse\"));\nvar i241 = __importStar(require(\"ngx-bootstrap/buttons\"));\nvar i242 = __importStar(require(\"@angular/router\"));\nvar AppModuleNgFactory = i0.ɵcmf(i1.AppModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, [i2.UIViewNgFactory, i3.PopupComponentNgFactory, i4.StringFilterCellComponentNgFactory, i4.NumericFilterCellComponentNgFactory, i4.BooleanFilterCellComponentNgFactory, i4.DateFilterCellComponentNgFactory, i4.StringFilterMenuComponentNgFactory, i4.NumericFilterMenuComponentNgFactory, i4.DateFilterMenuComponentNgFactory, i4.BooleanFilterMenuComponentNgFactory, i5.DefaultBusyComponentNgFactory, i5.ɵcNgFactory, i6.UIViewNgUpgradeNgFactory, i7.ModalBackdropComponentNgFactory, i7.ModalContainerComponentNgFactory, i8.PopoverContainerComponentNgFactory, i9.TypeaheadContainerComponentNgFactory, i10.BsDatepickerContainerComponentNgFactory, i10.BsDaterangepickerContainerComponentNgFactory, i10.BsDatepickerInlineContainerComponentNgFactory, i11.NgxToasterNgFactory, i12.MoreVehicleOffersComponentNgFactory, i13.OnDemandOffersComponentNgFactory, i14.TradeSourceLogoComponentNgFactory, i15.TextActionComponentNgFactory, i16.CalendarDateRangeComponentNgFactory, i17.TextMessageActivityComponentNgFactory, i18.AdminRolesComponentNgFactory, i19.AdminSettingsComponentNgFactory, i20.AdminSettingsGeneralComponentNgFactory, i21.AdminSettingsProductComponentNgFactory, i22.AdminSettingsProgramsComponentNgFactory, i23.AdminSettingsOpportunityComponentNgFactory, i24.AdminSettingsInventoryComponentNgFactory, i25.AdminSettingsDealerInfoComponentNgFactory, i26.AdminRolesSelectorComponentNgFactory, i27.AdminRolesModalAddEditComponentNgFactory, i28.AdminSettingsModalSendTestLeadComponentNgFactory, i29.AdminSettingsVHRDisclaimerComponentNgFactory, i30.AdminSettingsAdvancedComponentNgFactory, i31.AdminSettingsCreditConvertComponentNgFactory, i32.AdminSettingsCrmLeadsDeliveryComponentNgFactory, i33.ConfirmModalComponentNgFactory, i34.IconComponentNgFactory, i35.AlertsComponentNgFactory, i36.AlertComponentNgFactory, i37.DashboardOpportunitiesTableComponentNgFactory, i38.DealHistoryComponentNgFactory, i39.DefaultTabActionComponentNgFactory, i40.AdminTemplatesComponentNgFactory, i41.DoNotCallEmailComponentNgFactory, i42.UserSettingsComponentNgFactory, i43.AdminTemplatesEditModalComponentNgFactory, i44.SearchPresetsComponentNgFactory, i45.TaggedCustomersComponentNgFactory, i46.DisplayModalComponentNgFactory, i47.PandoAvailabilityComponentNgFactory, i48.PandoUnreadMessagesComponentNgFactory, i49.RecentDealSheetsComponentNgFactory, i50.ImpersonationStatusComponentNgFactory, i51.SearchPresetCountsComponentNgFactory, i52.StockNumberSearchComponentNgFactory, i53.ModalComponentNgFactory, i54.QuickLinksComponentNgFactory, i55.DashboardAgendaComponentNgFactory, i56.TooltipComponentNgFactory, i57.CustomerCultureSelectComponentNgFactory, i58.TypeOfCallComponentNgFactory, i59.MobileDealSheetComponentNgFactory, i60.CustomerInfoComponentNgFactory, i61.MobileActivitiesComponentNgFactory, i62.MobileVehiclesComponentNgFactory, i63.MobileReplacementContractComponentNgFactory, i64.DealSheetProcessComponentNgFactory, i65.OpenProcessModalComponentNgFactory, i66.MobileCustomerConnectComponentNgFactory, i67.LogActionShortcutsComponentNgFactory, i68.CustomerConnectActionsComponentNgFactory, i69.RepairOrdersComponentNgFactory, i70.ServiceAppointmentComponentNgFactory, i71.ProjectedMileageComponentNgFactory, i72.MileagePenaltyComponentNgFactory, i73.VehicleSummaryComponentNgFactory, i74.VehicleImageComponentNgFactory, i75.SaleTypeComponentNgFactory, i76.AllowedMileageComponentNgFactory, i77.AnnualPercentageRateComponentNgFactory, i78.CashPaidComponentNgFactory, i79.TradeInValueComponentNgFactory, i80.MoneyFactorComponentNgFactory, i81.DateInputComponentNgFactory, i82.TagsComponentNgFactory, i83.PaymentsComponentNgFactory, i84.MileageEditActionComponentNgFactory, i85.MileageEditModalComponentNgFactory, i86.CashDownComponentNgFactory, i87.CustomerConnectComponentNgFactory, i88.PayoffComponentNgFactory, i89.PayoffInputModalComponentNgFactory, i90.ResidualComponentNgFactory, i91.FinancedAmountComponentNgFactory, i92.ContractEndComponentNgFactory, i93.ExtendedWarrantyComponentNgFactory, i94.ReplacementVehicleOffersComponentNgFactory, i95.FactoryRebateComponentNgFactory, i96.AutoCheckComponentNgFactory, i97.CarfaxComponentNgFactory, i98.Carfaxv2ComponentNgFactory, i99.CarproofComponentNgFactory, i100.CapitalCostComponentNgFactory, i101.PriceComponentNgFactory, i102.DealerRebateComponentNgFactory, i103.DeskitComponentNgFactory, i104.VautoComponentNgFactory, i105.VautoModalComponentNgFactory, i106.VinCueComponentNgFactory, i107.VinCueModalComponentNgFactory, i108.DmsPushComponentNgFactory, i109.DmsPushModalComponentNgFactory, i110.ConfirmationModalComponentNgFactory, i111.ScoreInfoComponentNgFactory, i112.ScoreInfoModalComponentNgFactory, i113.NloInfoComponentNgFactory, i114.NloInfoModalComponentNgFactory]], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(5120, i0.LOCALE_ID, i0.ɵangular_packages_core_core_p, [[3, i0.LOCALE_ID]]), i0.ɵmpd(4608, i115.NgLocalization, i115.NgLocaleLocalization, [i0.LOCALE_ID, [2, i115.ɵangular_packages_common_common_a]]), i0.ɵmpd(5120, i0.ɵangular_packages_core_core_ba, i0.ɵangular_packages_core_core_r, [i0.NgZone]), i0.ɵmpd(4608, i0.Compiler, i0.Compiler, []), i0.ɵmpd(5120, i0.APP_ID, i0.ɵangular_packages_core_core_f, []), i0.ɵmpd(5120, i0.IterableDiffers, i0.ɵangular_packages_core_core_n, []), i0.ɵmpd(5120, i0.KeyValueDiffers, i0.ɵangular_packages_core_core_o, []), i0.ɵmpd(4608, i116.DomSanitizer, i116.ɵDomSanitizerImpl, [i115.DOCUMENT]), i0.ɵmpd(6144, i0.Sanitizer, null, [i116.DomSanitizer]), i0.ɵmpd(4608, i116.HAMMER_GESTURE_CONFIG, i116.HammerGestureConfig, []), i0.ɵmpd(5120, i116.EVENT_MANAGER_PLUGINS, function (p0_0, p0_1, p0_2, p1_0, p2_0, p2_1, p2_2, p2_3) { return [new i116.ɵDomEventsPlugin(p0_0, p0_1, p0_2), new i116.ɵKeyEventsPlugin(p1_0), new i116.ɵHammerGesturesPlugin(p2_0, p2_1, p2_2, p2_3)]; }, [i115.DOCUMENT, i0.NgZone, i0.PLATFORM_ID, i115.DOCUMENT, i115.DOCUMENT, i116.HAMMER_GESTURE_CONFIG, i0.ɵConsole, [2, i116.HAMMER_LOADER]]), i0.ɵmpd(4608, i116.EventManager, i116.EventManager, [i116.EVENT_MANAGER_PLUGINS, i0.NgZone]), i0.ɵmpd(135680, i116.ɵDomSharedStylesHost, i116.ɵDomSharedStylesHost, [i115.DOCUMENT]), i0.ɵmpd(4608, i116.ɵDomRendererFactory2, i116.ɵDomRendererFactory2, [i116.EventManager, i116.ɵDomSharedStylesHost, i0.APP_ID]), i0.ɵmpd(5120, i117.AnimationDriver, i118.ɵangular_packages_platform_browser_animations_animations_a, []), i0.ɵmpd(5120, i117.ɵAnimationStyleNormalizer, i118.ɵangular_packages_platform_browser_animations_animations_b, []), i0.ɵmpd(4608, i117.ɵAnimationEngine, i118.ɵInjectableAnimationEngine, [i115.DOCUMENT, i117.AnimationDriver, i117.ɵAnimationStyleNormalizer]), i0.ɵmpd(5120, i0.RendererFactory2, i118.ɵangular_packages_platform_browser_animations_animations_c, [i116.ɵDomRendererFactory2, i117.ɵAnimationEngine, i0.NgZone]), i0.ɵmpd(6144, i116.ɵSharedStylesHost, null, [i116.ɵDomSharedStylesHost]), i0.ɵmpd(4608, i0.Testability, i0.Testability, [i0.NgZone]), i0.ɵmpd(4608, i119.AnimationBuilder, i118.ɵBrowserAnimationBuilder, [i0.RendererFactory2, i115.DOCUMENT]), i0.ɵmpd(4608, i120.HttpXsrfTokenExtractor, i120.ɵangular_packages_common_http_http_g, [i115.DOCUMENT, i0.PLATFORM_ID, i120.ɵangular_packages_common_http_http_e]), i0.ɵmpd(4608, i120.ɵangular_packages_common_http_http_h, i120.ɵangular_packages_common_http_http_h, [i120.HttpXsrfTokenExtractor, i120.ɵangular_packages_common_http_http_f]), i0.ɵmpd(5120, i121.WINDOW_REF, i121.browserWindowFactory, [i0.PLATFORM_ID]), i0.ɵmpd(4608, i122.StorageService, i122.StorageService, [i121.WINDOW_REF]), i0.ɵmpd(5120, i123.CrossDomainStorageService, i123.crossDomainStorageServiceFactory, [i121.WINDOW_REF]), i0.ɵmpd(4608, i124.LogFactory, i124.LogFactory, [i121.WINDOW_REF, i122.StorageService]), i0.ɵmpd(5120, \"$injector\", i125.ɵangular_packages_upgrade_static_static_a, []), i0.ɵmpd(5120, i126.AuthService, i126.authServiceFactory, [\"$injector\"]), i0.ɵmpd(4608, i127.TokenService, i127.TokenService, [i122.StorageService]), i0.ɵmpd(4608, i128.ToasterService, i128.ToasterService, []), i0.ɵmpd(4608, i129.ToasterLoggerService, i129.ToasterLoggerService, [i124.LogFactory, i130.TranslateService, i128.ToasterService]), i0.ɵmpd(5120, i120.HTTP_INTERCEPTORS, function (p0_0, p2_0, p2_1, p2_2, p4_0, p4_1, p4_2, p4_3, p4_4, p4_5) { return [p0_0, new i131.NgNoCacheInterceptor(), new i132.NgSelectedDealersInterceptor(p2_0, p2_1, p2_2), new i133.NgContentTypeInterceptor(), new i134.NgOidcHttpInterceptor(p4_0, p4_1, p4_2, p4_3, p4_4, p4_5)]; }, [i120.ɵangular_packages_common_http_http_h, i122.StorageService, i135.HttpInterceptorOptionsService, i123.CrossDomainStorageService, i124.LogFactory, i126.AuthService, i127.TokenService, i129.ToasterLoggerService, i122.StorageService, i135.HttpInterceptorOptionsService]), i0.ɵmpd(4608, i120.ɵangular_packages_common_http_http_d, i120.ɵangular_packages_common_http_http_d, []), i0.ɵmpd(6144, i120.XhrFactory, null, [i120.ɵangular_packages_common_http_http_d]), i0.ɵmpd(4608, i120.HttpXhrBackend, i120.HttpXhrBackend, [i120.XhrFactory]), i0.ɵmpd(6144, i120.HttpBackend, null, [i120.HttpXhrBackend]), i0.ɵmpd(4608, i120.HttpHandler, i120.ɵHttpInterceptingHandler, [i120.HttpBackend, i0.Injector]), i0.ɵmpd(4608, i120.HttpClient, i120.HttpClient, [i120.HttpHandler]), i0.ɵmpd(4608, i136.ActivityClientService, i136.ActivityClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i138.ActivityHistoryClientService, i138.ActivityHistoryClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i139.AnnouncementClientService, i139.AnnouncementClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i140.CacheManagementClientService, i140.CacheManagementClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i141.ChangeLogClientService, i141.ChangeLogClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i142.CreditSoftPullResultEntityDelClientService, i142.CreditSoftPullResultEntityDelClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i143.CustomerClientService, i143.CustomerClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i144.CustomerActivityHistoryClientService, i144.CustomerActivityHistoryClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i145.CustomerContactHistoryClientService, i145.CustomerContactHistoryClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i146.CustomerWorkflowClientService, i146.CustomerWorkflowClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i147.DealerClientService, i147.DealerClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i148.DealerAssetClientService, i148.DealerAssetClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i149.DealerPriceClientService, i149.DealerPriceClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i150.DealerRatesClientService, i150.DealerRatesClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i151.DealerRebateClientService, i151.DealerRebateClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i152.DealerSearchClientService, i152.DealerSearchClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i153.DealerSettingClientService, i153.DealerSettingClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i154.DealerSmtpSettingClientService, i154.DealerSmtpSettingClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i155.DealerTradeinClientService, i155.DealerTradeinClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i156.DealerUpgradeProposalSettingClientService, i156.DealerUpgradeProposalSettingClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i157.DealSheetClientService, i157.DealSheetClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i158.DeskitClientService, i158.DeskitClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i159.DiscrepancyReportClientService, i159.DiscrepancyReportClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i160.EmailConversationClientService, i160.EmailConversationClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i161.EntityClientService, i161.EntityClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i162.EntityOpportunityClientService, i162.EntityOpportunityClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i163.EulaClientService, i163.EulaClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i164.EulaHistoryClientService, i164.EulaHistoryClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i165.ExtCustomerActivityClientService, i165.ExtCustomerActivityClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i166.FordCreditApprovalClientService, i166.FordCreditApprovalClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i167.InventoryClientService, i167.InventoryClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i168.LogClientService, i168.LogClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i169.MakeClientService, i169.MakeClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i170.MessagingClientService, i170.MessagingClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i171.ModelClientService, i171.ModelClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i172.PandoClaimClientService, i172.PandoClaimClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i173.PandoPassthroughClientService, i173.PandoPassthroughClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i174.PrintOfferBatchClientService, i174.PrintOfferBatchClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i175.ReplacementClientService, i175.ReplacementClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i176.RoleClientService, i176.RoleClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i177.SaleClientService, i177.SaleClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i178.SearchClientService, i178.SearchClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i179.TagClientService, i179.TagClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i180.TextMessageClientService, i180.TextMessageClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i181.TrimClientService, i181.TrimClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i182.TrimAlternateOfferClientService, i182.TrimAlternateOfferClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i183.UserClientService, i183.UserClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i184.UserModuleAccessClientService, i184.UserModuleAccessClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i185.UserProfileClientService, i185.UserProfileClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i186.UserSearchConditionClientService, i186.UserSearchConditionClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i187.VehicleFinalTradeValueTempChangeClientService, i187.VehicleFinalTradeValueTempChangeClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i188.VehicleUserTradeValueClientService, i188.VehicleUserTradeValueClientService, [i137.AlertminerApiConfiguration, i120.HttpClient]), i0.ɵmpd(4608, i189.DOMService, i189.DOMService, []), i0.ɵmpd(4608, i189.CenturyViewService, i189.CenturyViewService, []), i0.ɵmpd(4608, i189.DecadeViewService, i189.DecadeViewService, []), i0.ɵmpd(4608, i189.MonthViewService, i189.MonthViewService, [i190.IntlService]), i0.ɵmpd(4608, i189.YearViewService, i189.YearViewService, [i190.IntlService]), i0.ɵmpd(4608, i189.WeekNamesService, i189.WeekNamesService, [i190.IntlService]), i0.ɵmpd(4608, i191.PopupService, i191.PopupService, [i0.ApplicationRef, i0.ComponentFactoryResolver, i0.Injector, [2, i191.POPUP_CONTAINER]]), i0.ɵmpd(4608, i189.NavigationService, i189.NavigationService, [i189.BusViewService]), i0.ɵmpd(4608, i189.DOMService$1, i189.DOMService$1, []), i0.ɵmpd(4608, i189.HoursService, i189.HoursService, [i190.IntlService]), i0.ɵmpd(4608, i189.MinutesService, i189.MinutesService, [i190.IntlService]), i0.ɵmpd(4608, i189.SecondsService, i189.SecondsService, [i190.IntlService]), i0.ɵmpd(4608, i189.DayPeriodService, i189.DayPeriodService, [i190.IntlService]), i0.ɵmpd(4608, i192.ɵangular_packages_forms_forms_o, i192.ɵangular_packages_forms_forms_o, []), i0.ɵmpd(4608, i192.FormBuilder, i192.FormBuilder, []), i0.ɵmpd(135680, i193.ResizeBatchService, i193.ResizeBatchService, [i0.NgZone]), i0.ɵmpd(4608, i194.ɵb, i194.ɵb, [[2, i194.BusyConfig]]), i0.ɵmpd(135680, i194.ɵa, i194.ɵa, []), i0.ɵmpd(4608, i195.ɵi, i195.ɵi, []), i0.ɵmpd(5120, \"$rootScope\", i125.ɵangular_packages_upgrade_static_static_b, [\"$injector\"]), i0.ɵmpd(5120, \"$compile\", i125.ɵangular_packages_upgrade_static_static_c, [\"$injector\"]), i0.ɵmpd(5120, \"$parse\", i125.ɵangular_packages_upgrade_static_static_d, [\"$injector\"]), i0.ɵmpd(5120, \"$uiRouter\", i196.getUIRouter, [\"$injector\"]), i0.ɵmpd(5120, i197.UIRouter, i196.uiRouterUpgradeFactory, [\"$uiRouter\", i0.Injector]), i0.ɵmpd(5120, i197.StateRegistry, i198.fnStateRegistry, [i197.UIRouter]), i0.ɵmpd(5120, \"UIView.PARENT_INJECT\", i196.getParentUIViewInject, [i197.StateRegistry]), i0.ɵmpd(5120, i197.StateService, i198.fnStateService, [i197.UIRouter]), i0.ɵmpd(5120, i197.TransitionService, i198.fnTransitionService, [i197.UIRouter]), i0.ɵmpd(5120, i197.UrlMatcherFactory, i198.fnUrlMatcherFactory, [i197.UIRouter]), i0.ɵmpd(5120, i197.UrlRouter, i198.fnUrlRouter, [i197.UIRouter]), i0.ɵmpd(5120, i197.UrlService, i198.fnUrlService, [i197.UIRouter]), i0.ɵmpd(5120, i197.ViewService, i198.fnViewService, [i197.UIRouter]), i0.ɵmpd(5120, i197.UIRouterGlobals, i198.fnGlobals, [i197.UIRouter]), i0.ɵmpd(135680, i199.ToasterContainerComponent, i199.ToasterContainerComponent, [i128.ToasterService, i0.ChangeDetectorRef, i0.NgZone]), i0.ɵmpd(4608, i200.DeviceDetectorService, i200.DeviceDetectorService, [i0.PLATFORM_ID]), i0.ɵmpd(4608, i201.PositioningService, i201.PositioningService, [i0.RendererFactory2, i0.PLATFORM_ID]), i0.ɵmpd(4608, i202.ComponentLoaderFactory, i202.ComponentLoaderFactory, [i0.ComponentFactoryResolver, i0.NgZone, i0.Injector, i201.PositioningService, i0.ApplicationRef]), i0.ɵmpd(4608, i203.BsModalService, i203.BsModalService, [i0.RendererFactory2, i202.ComponentLoaderFactory]), i0.ɵmpd(4608, i204.TabsetConfig, i204.TabsetConfig, []), i0.ɵmpd(4608, i205.PopoverConfig, i205.PopoverConfig, []), i0.ɵmpd(4608, i206.TypeaheadConfig, i206.TypeaheadConfig, []), i0.ɵmpd(4608, i207.ɵc, i207.ɵc, []), i0.ɵmpd(4608, i207.ɵe, i207.ɵe, []), i0.ɵmpd(4608, i207.BsDatepickerConfig, i207.BsDatepickerConfig, []), i0.ɵmpd(4608, i207.BsDaterangepickerConfig, i207.BsDaterangepickerConfig, []), i0.ɵmpd(4608, i207.BsDatepickerInlineConfig, i207.BsDatepickerInlineConfig, []), i0.ɵmpd(4608, i207.BsLocaleService, i207.BsLocaleService, []), i0.ɵmpd(4608, i207.ɵd, i207.ɵd, [i207.ɵe, i207.BsLocaleService]), i0.ɵmpd(4608, i208.TimepickerConfig, i208.TimepickerConfig, []), i0.ɵmpd(4608, i208.TimepickerActions, i208.TimepickerActions, []), i0.ɵmpd(4608, i208.TimepickerStore, i208.TimepickerStore, []), i0.ɵmpd(5120, i126.CoreApiService, i126.coreApiServiceFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.DealSheetService, i126.dealSheetServiceFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.LegacyService, i126.legacyServiceFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.OpportunityService, i126.opportunityServiceFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.TemplateService, i126.templateServiceFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.$rootScope, i126.rootScopeFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.VehicleService, i126.vehicleServiceFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.EulaModalService, i126.eulaModalServiceFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.ContractService, i126.contractServiceFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.MapUtilsService, i126.mapUtilsServiceFactory, [\"$injector\"]), i0.ɵmpd(5120, i126.TmhDynamicLocale, i126.tmhDynamicLocaleFactory, [\"$injector\"]), i0.ɵmpd(4608, i209.ActivityService, i209.ActivityService, [i138.ActivityHistoryClientService, i136.ActivityClientService, i161.EntityClientService, i160.EmailConversationClientService, i120.HttpClient, i135.HttpInterceptorOptionsService, i130.TranslateService]), i0.ɵmpd(4608, i210.AdminRoleService, i210.AdminRoleService, [i126.LegacyService, i176.RoleClientService]), i0.ɵmpd(4608, i211.DealerSettingsService, i211.DealerSettingsService, [i126.LegacyService, i153.DealerSettingClientService, i171.ModelClientService, i181.TrimClientService]), i0.ɵmpd(4608, i212.CommunicationApiService, i212.CommunicationApiService, [i124.LogFactory, i122.StorageService, i120.HttpBackend]), i0.ɵmpd(4608, i213.PandoCommunicationService, i213.PandoCommunicationService, [i212.CommunicationApiService, i129.ToasterLoggerService]), i0.ɵmpd(4608, i214.DealerService, i214.DealerService, [i153.DealerSettingClientService, i147.DealerClientService, i152.DealerSearchClientService, i183.UserClientService, i174.PrintOfferBatchClientService, i148.DealerAssetClientService, i213.PandoCommunicationService, i126.$rootScope, i123.CrossDomainStorageService]), i0.ɵmpd(4608, i215.AdminTemplatesService, i215.AdminTemplatesService, [i126.LegacyService]), i0.ɵmpd(4608, i216.CustomerService, i216.CustomerService, [i143.CustomerClientService, i144.CustomerActivityHistoryClientService, i145.CustomerContactHistoryClientService]), i0.ɵmpd(4608, i217.LocaleCurrencyPipe, i217.LocaleCurrencyPipe, [i122.StorageService]), i0.ɵmpd(4608, i218.AdaptivePositionPipe, i218.AdaptivePositionPipe, [i116.DomSanitizer]), i0.ɵmpd(4608, i219.LocaleDatePipe, i219.LocaleDatePipe, [i122.StorageService]), i0.ɵmpd(4608, i220.LocaleDateTimePipe, i220.LocaleDateTimePipe, [i122.StorageService]), i0.ɵmpd(4608, i221.LocaleTimePipe, i221.LocaleTimePipe, [i122.StorageService]), i0.ɵmpd(4608, i222.LocaleNumberPipe, i222.LocaleNumberPipe, [i122.StorageService]), i0.ɵmpd(4608, i223.LocalePhonePipe, i223.LocalePhonePipe, [i122.StorageService]), i0.ɵmpd(4608, i224.LocaleMoneyFactorPipe, i224.LocaleMoneyFactorPipe, [i122.StorageService]), i0.ɵmpd(4608, i225.SearchPresetService, i225.SearchPresetService, [i186.UserSearchConditionClientService, i173.PandoPassthroughClientService, i123.CrossDomainStorageService, i135.HttpInterceptorOptionsService]), i0.ɵmpd(4608, i226.StockNumberSearchService, i226.StockNumberSearchService, [i167.InventoryClientService]), i0.ɵmpd(4608, i227.TextMessageService, i227.TextMessageService, [i126.LegacyService, i180.TextMessageClientService]), i0.ɵmpd(4608, i228.UserService, i228.UserService, [i121.WINDOW_REF, i139.AnnouncementClientService, i140.CacheManagementClientService, i214.DealerService, i163.EulaClientService, i164.EulaHistoryClientService, i122.StorageService, i183.UserClientService, i185.UserProfileClientService, i213.PandoCommunicationService]), i0.ɵmpd(4608, i229.CustomerWorkflowService, i229.CustomerWorkflowService, [i146.CustomerWorkflowClientService, i129.ToasterLoggerService]), i0.ɵmpd(4608, i121.WindowWrapper, i121.WindowWrapper, []), i0.ɵmpd(4608, i230.RecentDealSheetService, i230.RecentDealSheetService, [i157.DealSheetClientService]), i0.ɵmpd(4608, i231.Opportunity2Service, i231.Opportunity2Service, [i126.VehicleService, i126.ContractService, i126.DealSheetService, i126.MapUtilsService, i161.EntityClientService, i214.DealerService, i216.CustomerService, i228.UserService, i183.UserClientService, i136.ActivityClientService, i162.EntityOpportunityClientService, i142.CreditSoftPullResultEntityDelClientService, i166.FordCreditApprovalClientService, i187.VehicleFinalTradeValueTempChangeClientService, i159.DiscrepancyReportClientService, i141.ChangeLogClientService, i172.PandoClaimClientService, i177.SaleClientService, i179.TagClientService, i217.LocaleCurrencyPipe, i135.HttpInterceptorOptionsService, i178.SearchClientService, i124.LogFactory]), i0.ɵmpd(4608, i232.AutoAssistantService, i232.AutoAssistantService, [i173.PandoPassthroughClientService, i165.ExtCustomerActivityClientService]), i0.ɵmpd(1073742336, i115.CommonModule, i115.CommonModule, []), i0.ɵmpd(1073742336, i233.UIRouterModule, i233.UIRouterModule, []), i0.ɵmpd(1024, i0.ErrorHandler, i116.ɵangular_packages_platform_browser_platform_browser_a, []), i0.ɵmpd(512, i137.AlertminerApiConfiguration, i137.AlertminerApiConfiguration, []), i0.ɵmpd(1024, i0.APP_INITIALIZER, function (p0_0, p1_0) { return [i116.ɵangular_packages_platform_browser_platform_browser_j(p0_0), i1.initApiConfiguration(p1_0)]; }, [[2, i0.NgProbeToken], i137.AlertminerApiConfiguration]), i0.ɵmpd(512, i0.ApplicationInitStatus, i0.ApplicationInitStatus, [[2, i0.APP_INITIALIZER]]), i0.ɵmpd(131584, i0.ApplicationRef, i0.ApplicationRef, [i0.NgZone, i0.ɵConsole, i0.Injector, i0.ErrorHandler, i0.ComponentFactoryResolver, i0.ApplicationInitStatus]), i0.ɵmpd(1073742336, i0.ApplicationModule, i0.ApplicationModule, [i0.ApplicationRef]), i0.ɵmpd(1073742336, i116.BrowserModule, i116.BrowserModule, [[3, i116.BrowserModule]]), i0.ɵmpd(1073742336, i118.BrowserAnimationsModule, i118.BrowserAnimationsModule, []), i0.ɵmpd(1073742336, i120.HttpClientXsrfModule, i120.HttpClientXsrfModule, []), i0.ɵmpd(1073742336, i120.HttpClientModule, i120.HttpClientModule, []), i0.ɵmpd(1073742336, i234.AlertminerApiModule, i234.AlertminerApiModule, []), i0.ɵmpd(1073742336, i193.EventsModule, i193.EventsModule, []), i0.ɵmpd(1073742336, i189.CalendarCommonModule, i189.CalendarCommonModule, []), i0.ɵmpd(1073742336, i190.IntlModule, i190.IntlModule, []), i0.ɵmpd(1073742336, i189.TemplatesModule, i189.TemplatesModule, []), i0.ɵmpd(1073742336, i189.VirtualizationModule, i189.VirtualizationModule, []), i0.ɵmpd(1073742336, i189.CalendarModule, i189.CalendarModule, []), i0.ɵmpd(1073742336, i191.PopupModule, i191.PopupModule, []), i0.ɵmpd(1073742336, i189.MultiViewCalendarModule, i189.MultiViewCalendarModule, []), i0.ɵmpd(1073742336, i189.CalendarsModule, i189.CalendarsModule, []), i0.ɵmpd(1073742336, i189.DateInputModule, i189.DateInputModule, []), i0.ɵmpd(1073742336, i189.DatePickerModule, i189.DatePickerModule, []), i0.ɵmpd(1073742336, i189.TimePickerModule, i189.TimePickerModule, []), i0.ɵmpd(1073742336, i189.DateRangeModule, i189.DateRangeModule, []), i0.ɵmpd(1073742336, i189.DateInputsModule, i189.DateInputsModule, []), i0.ɵmpd(1073742336, i192.ɵangular_packages_forms_forms_d, i192.ɵangular_packages_forms_forms_d, []), i0.ɵmpd(1073742336, i192.FormsModule, i192.FormsModule, []), i0.ɵmpd(1073742336, i193.DraggableModule, i193.DraggableModule, []), i0.ɵmpd(1073742336, i235.SharedModule, i235.SharedModule, []), i0.ɵmpd(1073742336, i235.DragAndDropModule, i235.DragAndDropModule, []), i0.ɵmpd(1073742336, i235.GroupModule, i235.GroupModule, []), i0.ɵmpd(1073742336, i192.ReactiveFormsModule, i192.ReactiveFormsModule, []), i0.ɵmpd(1073742336, i236.NumericTextBoxModule, i236.NumericTextBoxModule, []), i0.ɵmpd(1073742336, i235.BodyModule, i235.BodyModule, []), i0.ɵmpd(1073742336, i193.ResizeSensorModule, i193.ResizeSensorModule, []), i0.ɵmpd(1073742336, i237.SharedDirectivesModule, i237.SharedDirectivesModule, []), i0.ɵmpd(1073742336, i237.SharedModule, i237.SharedModule, []), i0.ɵmpd(1073742336, i237.DropDownListModule, i237.DropDownListModule, []), i0.ɵmpd(1073742336, i237.AutoCompleteModule, i237.AutoCompleteModule, []), i0.ɵmpd(1073742336, i236.TextBoxModule, i236.TextBoxModule, []), i0.ɵmpd(1073742336, i236.SliderModule, i236.SliderModule, []), i0.ɵmpd(1073742336, i236.SwitchModule, i236.SwitchModule, []), i0.ɵmpd(1073742336, i236.MaskedTextBoxModule, i236.MaskedTextBoxModule, []), i0.ɵmpd(1073742336, i236.ColorPickerModule, i236.ColorPickerModule, []), i0.ɵmpd(1073742336, i236.InputsModule, i236.InputsModule, []), i0.ɵmpd(1073742336, i235.SharedFilterModule, i235.SharedFilterModule, []), i0.ɵmpd(1073742336, i235.RowFilterModule, i235.RowFilterModule, []), i0.ɵmpd(1073742336, i235.FilterMenuModule, i235.FilterMenuModule, []), i0.ɵmpd(1073742336, i235.ColumnMenuModule, i235.ColumnMenuModule, []), i0.ɵmpd(1073742336, i235.HeaderModule, i235.HeaderModule, []), i0.ɵmpd(1073742336, i235.FooterModule, i235.FooterModule, []), i0.ɵmpd(1073742336, i235.PagerModule, i235.PagerModule, []), i0.ɵmpd(1073742336, i235.GridModule, i235.GridModule, []), i0.ɵmpd(1073742336, i194.NgBusyModule, i194.NgBusyModule, []), i0.ɵmpd(1073742336, i195.AngularMultiSelectModule, i195.AngularMultiSelectModule, []), i0.ɵmpd(1073742336, i238.ToasterModule, i238.ToasterModule, []), i0.ɵmpd(1073742336, i130.TranslateModule, i130.TranslateModule, []), i0.ɵmpd(1073742336, i125.UpgradeModule, i125.UpgradeModule, [i0.Injector, i0.NgZone]), i0.ɵmpd(1073742336, i196.UIRouterUpgradeModule, i196.UIRouterUpgradeModule, []), i0.ɵmpd(1073742336, i239.Ng5SliderModule, i239.Ng5SliderModule, []), i0.ɵmpd(1073742336, i200.DeviceDetectorModule, i200.DeviceDetectorModule, []), i0.ɵmpd(1073742336, i203.ModalModule, i203.ModalModule, []), i0.ɵmpd(1073742336, i204.TabsModule, i204.TabsModule, []), i0.ɵmpd(1073742336, i240.CollapseModule, i240.CollapseModule, []), i0.ɵmpd(1073742336, i205.PopoverModule, i205.PopoverModule, []), i0.ɵmpd(1073742336, i206.TypeaheadModule, i206.TypeaheadModule, []), i0.ɵmpd(1073742336, i207.BsDatepickerModule, i207.BsDatepickerModule, []), i0.ɵmpd(1073742336, i208.TimepickerModule, i208.TimepickerModule, []), i0.ɵmpd(1073742336, i241.ButtonsModule, i241.ButtonsModule, []), i0.ɵmpd(512, i130.TranslateStore, i130.TranslateStore, []), i0.ɵmpd(512, i130.TranslateLoader, i130.TranslateFakeLoader, []), i0.ɵmpd(512, i130.TranslateCompiler, i130.TranslateFakeCompiler, []), i0.ɵmpd(512, i130.TranslateParser, i130.TranslateDefaultParser, []), i0.ɵmpd(512, i130.MissingTranslationHandler, i130.FakeMissingTranslationHandler, []), i0.ɵmpd(256, i130.USE_DEFAULT_LANG, undefined, []), i0.ɵmpd(256, i130.USE_STORE, undefined, []), i0.ɵmpd(512, i130.TranslateService, i130.TranslateService, [i130.TranslateStore, i130.TranslateLoader, i130.TranslateCompiler, i130.TranslateParser, i130.MissingTranslationHandler, i130.USE_DEFAULT_LANG, i130.USE_STORE]), i0.ɵmpd(1073742336, i1.AppModule, i1.AppModule, [i130.TranslateService, i125.UpgradeModule, i190.IntlService]), i0.ɵmpd(256, i0.ɵAPP_ROOT, true, []), i0.ɵmpd(256, i118.ANIMATION_MODULE_TYPE, \"BrowserAnimations\", []), i0.ɵmpd(256, i120.ɵangular_packages_common_http_http_e, \"XSRF-TOKEN\", []), i0.ɵmpd(256, i120.ɵangular_packages_common_http_http_f, \"X-XSRF-TOKEN\", []), i0.ɵmpd(256, i189.TOUCH_ENABLED, i189.touchEnabled, []), i0.ɵmpd(1024, i233.UIROUTER_ROOT_MODULE, function () { return [i196.ɵ0]; }, []), i0.ɵmpd(1024, i233.UIROUTER_MODULE_TOKEN, function () { return [{}]; }, []), i0.ɵmpd(1024, i242.ROUTES, function () { return [[]]; }, [])]); });\nexports.AppModuleNgFactory = AppModuleNgFactory;\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var path = '/app/components/deal-sheet/vehicle/vehicle-type-select.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/modals/discrepancy-input-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FordFBATypes = {\n none: 0,\n gold: 1,\n blue: 2,\n lincolnCPO: 3\n};\n","export const FordFBATypes = {\r\n none: 0,\r\n gold: 1,\r\n blue: 2,\r\n lincolnCPO: 3\r\n}\r\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar en_CA_json_1 = __importDefault(require(\"../i18n/en-CA.json\"));\nvar en_GB_json_1 = __importDefault(require(\"../i18n/en-GB.json\"));\nvar en_US_json_1 = __importDefault(require(\"../i18n/en-US.json\"));\nvar es_US_json_1 = __importDefault(require(\"../i18n/es-US.json\"));\nvar fr_CA_json_1 = __importDefault(require(\"../i18n/fr-CA.json\"));\nvar fr_FR_json_1 = __importDefault(require(\"../i18n/fr-FR.json\"));\nvar rxjs_1 = require(\"rxjs\");\n/** An observable that emits the currently-configured culture for the user. */\nexports.currentUserCulture$ = new rxjs_1.BehaviorSubject('en-US');\nfunction configureTranslation(translate, intlService) {\n translate.setDefaultLang('en-US');\n translate.use('en-US');\n translate.setTranslation('en-CA', en_CA_json_1.default);\n translate.setTranslation('en-GB', en_GB_json_1.default);\n translate.setTranslation('en-US', en_US_json_1.default);\n translate.setTranslation('es-US', es_US_json_1.default);\n translate.setTranslation('fr-CA', fr_CA_json_1.default);\n translate.setTranslation('fr-FR', fr_FR_json_1.default);\n // Update angular-translate's culture when the current user culture changes\n exports.currentUserCulture$.subscribe(function (cultureName) {\n translate.use(cultureName);\n intlService.localeId = cultureName;\n });\n}\nexports.configureTranslation = configureTranslation;\n","import { TranslateService } from '@ngx-translate/core';\r\nimport { IntlService, CldrIntlService } from '@progress/kendo-angular-intl';\r\n\r\nimport en_CA from '../i18n/en-CA.json';\r\nimport en_GB from '../i18n/en-GB.json';\r\nimport en_US from '../i18n/en-US.json';\r\nimport es_US from '../i18n/es-US.json';\r\nimport fr_CA from '../i18n/fr-CA.json';\r\nimport fr_FR from '../i18n/fr-FR.json';\r\n\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\n/** An observable that emits the currently-configured culture for the user. */\r\nexport const currentUserCulture$ = new BehaviorSubject('en-US');\r\n\r\nexport function configureTranslation(translate: TranslateService, intlService: IntlService) {\r\n translate.setDefaultLang('en-US');\r\n translate.use('en-US');\r\n\r\n translate.setTranslation('en-CA', en_CA);\r\n translate.setTranslation('en-GB', en_GB);\r\n translate.setTranslation('en-US', en_US);\r\n translate.setTranslation('es-US', es_US);\r\n translate.setTranslation('fr-CA', fr_CA);\r\n translate.setTranslation('fr-FR', fr_FR);\r\n\r\n\r\n\r\n // Update angular-translate's culture when the current user culture changes\r\n currentUserCulture$.subscribe(cultureName => {\r\n translate.use(cultureName);\r\n (intlService).localeId = cultureName;\r\n });\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./date-input.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"ngx-bootstrap/datepicker\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i5 = __importStar(require(\"../icon/icon.component.ngfactory\"));\nvar i6 = __importStar(require(\"../icon/icon.component\"));\nvar i7 = __importStar(require(\"@angular/platform-browser\"));\nvar i8 = __importStar(require(\"./date-input.component\"));\nvar i9 = __importStar(require(\"../../services/date-format.service\"));\nvar styles_DateInputComponent = [i0.styles];\nvar RenderType_DateInputComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DateInputComponent, data: {} });\nexports.RenderType_DateInputComponent = RenderType_DateInputComponent;\nfunction View_DateInputComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { dateInput: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 19, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.ɵangular_packages_forms_forms_z, [], null, null), i1.ɵdid(3, 540672, null, 0, i2.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i2.ControlContainer, null, [i2.FormGroupDirective]), i1.ɵdid(5, 16384, null, 0, i2.NgControlStatusGroup, [[4, i2.ControlContainer]], null, null), (_l()(), i1.ɵeld(6, 0, null, null, 14, \"span\", [[\"class\", \"input-group datepicker-right-align\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 16777216, [[1, 0], [\"dateInput\", 1]], null, 9, \"input\", [[\"autocomplete\", \"off\"], [\"bsDatepicker\", \"\"], [\"formControlName\", \"date\"], [\"name\", \"date\"]], [[8, \"className\", 0], [1, \"required\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"blur\"], [null, \"keyup\"], [null, \"input\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"], [null, \"keyup.esc\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 8)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 8)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 8)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 11).onChange($event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup.esc\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 11).hide() !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 11).onBlur() !== false);\n ad = (pd_6 && ad);\n } if ((\"blur\" === en)) {\n var pd_7 = (_co.onBlur() !== false);\n ad = (pd_7 && ad);\n } if ((\"keyup\" === en)) {\n var pd_8 = (_co.onKeyup($event) !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i1.ɵdid(8, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(9, 16384, null, 0, i2.RequiredValidator, [], { required: [0, \"required\"] }, null), i1.ɵdid(10, 737280, [[\"datePicker\", 4]], 0, i3.BsDatepickerDirective, [i3.BsDatepickerConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i4.ComponentLoaderFactory], { bsConfig: [0, \"bsConfig\"], minDate: [1, \"minDate\"], maxDate: [2, \"maxDate\"] }, null), i1.ɵdid(11, 16384, null, 0, i3.BsDatepickerInputDirective, [i3.BsDatepickerDirective, i3.BsLocaleService, i1.Renderer2, i1.ElementRef, i1.ChangeDetectorRef], null, null), i1.ɵprd(1024, null, i2.NG_VALIDATORS, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.RequiredValidator, i3.BsDatepickerInputDirective]), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i3.BsDatepickerInputDirective]), i1.ɵdid(14, 671744, null, 0, i2.FormControlName, [[3, i2.ControlContainer], [6, i2.NG_VALIDATORS], [8, null], [6, i2.NG_VALUE_ACCESSOR], [2, i2.ɵangular_packages_forms_forms_q]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i2.NgControl, null, [i2.FormControlName]), i1.ɵdid(16, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(17, 0, null, null, 3, \"span\", [[\"class\", \"input-group-btn\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary calandar\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 10).show() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"icon\", [[\"class\", \"icon sm aa-icon-core-calendar-icon-000000\"]], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵdid(20, 638976, null, 0, i6.IconComponent, [i7.DomSanitizer], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.dateInputForm; _ck(_v, 3, 0, currVal_7); var currVal_17 = _co.required; _ck(_v, 9, 0, currVal_17); var currVal_18 = _co.config; var currVal_19 = ((_co.options == null) ? null : _co.options.minDate); var currVal_20 = ((_co.options == null) ? null : _co.options.maxDate); _ck(_v, 10, 0, currVal_18, currVal_19, currVal_20); var currVal_21 = \"date\"; _ck(_v, 14, 0, currVal_21); _ck(_v, 20, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 5).ngClassValid; var currVal_5 = i1.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = i1.ɵinlineInterpolate(2, \"form-control unstyled date-type \", _co.nullDate, \" \", _co.cssClass, \"\"); var currVal_9 = (i1.ɵnov(_v, 9).required ? \"\" : null); var currVal_10 = i1.ɵnov(_v, 16).ngClassUntouched; var currVal_11 = i1.ɵnov(_v, 16).ngClassTouched; var currVal_12 = i1.ɵnov(_v, 16).ngClassPristine; var currVal_13 = i1.ɵnov(_v, 16).ngClassDirty; var currVal_14 = i1.ɵnov(_v, 16).ngClassValid; var currVal_15 = i1.ɵnov(_v, 16).ngClassInvalid; var currVal_16 = i1.ɵnov(_v, 16).ngClassPending; _ck(_v, 7, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); }); }\nexports.View_DateInputComponent_0 = View_DateInputComponent_0;\nfunction View_DateInputComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"date-input\", [], null, null, null, View_DateInputComponent_0, RenderType_DateInputComponent)), i1.ɵdid(1, 638976, null, 0, i8.DateInputComponent, [i9.DateFormatService, i2.FormBuilder, i1.Renderer2], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DateInputComponent_Host_0 = View_DateInputComponent_Host_0;\nvar DateInputComponentNgFactory = i1.ɵccf(\"date-input\", i8.DateInputComponent, View_DateInputComponent_Host_0, { defaultDate: \"defaultDate\", options: \"options\", cssClass: \"cssClass\", required: \"required\" }, { onInput: \"onInput\" }, []);\nexports.DateInputComponentNgFactory = DateInputComponentNgFactory;\n","
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
","var path = '/app/components/modals/announcement-modal.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthorizationKeys = {\n ViewCustomer: 1,\n VehicleDetails: 2,\n SaleDetails: 3,\n ActivitiesLog: 4,\n ServiceHistory: 5,\n ChangeLog: 6,\n CustomerRecap: 7,\n Inventory: 8,\n Payments: 9,\n PaymentDetails: 10,\n PostActivity: 11,\n MarkAsSold: 12,\n MarkAsPaidOff: 13,\n MarkAsWarranty: 14,\n MarkAsWatch: 15,\n Print: 16,\n Reassign: 17,\n Access: 18,\n EditCustomer: 19,\n ConvertService: 20,\n Sale: 21,\n Payoff: 22,\n Odometer: 23,\n NewVehicle: 24,\n Alert: 25,\n Flex: 26,\n Conversion: 27,\n Appointment: 28,\n Service: 29,\n Mileage: 30,\n Warranty: 31,\n ContractEnd: 32,\n AllowExport: 33,\n AllowBatchReassigning: 34,\n AllowBatchAccess: 35,\n ViewAllCustomers: 36,\n EditLayout: 37,\n MarkAsNotOwn: 38,\n Script: 39,\n Scheduled: 40,\n Locked: 41,\n DoNotContact: 42,\n ViewAllConquests: 43,\n Price: 44,\n TradeValue: 45,\n ShareSearch: 46,\n PrintTemplate: 47,\n TemplateSettings: 48,\n TemplateOutput: 49,\n VehicleHistoryReports: 50,\n EmailTemplate: 51,\n SwitchUserDealer: 52,\n PcuVisit: 53,\n AdminCreditConvert: 54,\n EditCreditConvert: 55,\n GrossProfitDetails: 56,\n CurrentVehicleRecentRO: 57,\n CurrentVehicleMileage: 58,\n CurrentVehicleDelivery: 59,\n CurrentVehicleProjectedMileage: 60,\n CurrentVehicleBank: 61,\n CurrentVehicleSoldAs: 62,\n DestinationFeeAsEditable: 63,\n AdministerCreditConvert1Point5: 64,\n HaveNotServiced: 65,\n DueForService: 66,\n ViewSDOSettings: 67,\n DirectAlertSettings: 69,\n ChangeExpirationSetting: 70,\n SelfRegistrationAccess: 72,\n AutoAlertSupport: 73,\n ProductSettingAccess: 74,\n DirectAlert: 75,\n CreditConvertSoftPullManual: 76,\n ManageSearches: 102,\n SendTextSales: 103,\n TextMessageNewNumberSettings: 104,\n SendTextService: 105,\n CrossBrandMVO: 109\n};\n","export const AuthorizationKeys = {\r\n ViewCustomer: 1,\r\n VehicleDetails: 2,\r\n SaleDetails: 3,\r\n ActivitiesLog: 4,\r\n ServiceHistory: 5,\r\n ChangeLog: 6,\r\n CustomerRecap: 7,\r\n Inventory: 8,\r\n Payments: 9,\r\n PaymentDetails: 10,\r\n PostActivity: 11,\r\n MarkAsSold: 12,\r\n MarkAsPaidOff: 13,\r\n MarkAsWarranty: 14,\r\n MarkAsWatch: 15,\r\n Print: 16,\r\n Reassign: 17,\r\n Access: 18,\r\n EditCustomer: 19,\r\n ConvertService: 20,\r\n Sale: 21,\r\n Payoff: 22,\r\n Odometer: 23,\r\n NewVehicle: 24,\r\n Alert: 25,\r\n Flex: 26,\r\n Conversion: 27,\r\n Appointment: 28,\r\n Service: 29,\r\n Mileage: 30,\r\n Warranty: 31,\r\n ContractEnd: 32,\r\n AllowExport: 33,\r\n AllowBatchReassigning: 34,\r\n AllowBatchAccess: 35,\r\n ViewAllCustomers: 36,\r\n EditLayout: 37,\r\n MarkAsNotOwn: 38,\r\n Script: 39,\r\n Scheduled: 40,\r\n Locked: 41,\r\n DoNotContact: 42,\r\n ViewAllConquests: 43,\r\n Price: 44,\r\n TradeValue: 45,\r\n ShareSearch: 46,\r\n PrintTemplate: 47,\r\n TemplateSettings: 48,\r\n TemplateOutput: 49,\r\n VehicleHistoryReports: 50,\r\n EmailTemplate: 51,\r\n SwitchUserDealer: 52,\r\n PcuVisit: 53,\r\n AdminCreditConvert: 54,\r\n EditCreditConvert: 55,\r\n GrossProfitDetails: 56,\r\n CurrentVehicleRecentRO: 57,\r\n CurrentVehicleMileage: 58,\r\n CurrentVehicleDelivery: 59,\r\n CurrentVehicleProjectedMileage: 60,\r\n CurrentVehicleBank: 61,\r\n CurrentVehicleSoldAs: 62,\r\n DestinationFeeAsEditable: 63,\r\n AdministerCreditConvert1Point5: 64,\r\n HaveNotServiced: 65,\r\n DueForService: 66,\r\n ViewSDOSettings: 67,\r\n DirectAlertSettings: 69,\r\n ChangeExpirationSetting: 70,\r\n SelfRegistrationAccess: 72,\r\n AutoAlertSupport: 73,\r\n ProductSettingAccess: 74,\r\n DirectAlert: 75,\r\n CreditConvertSoftPullManual: 76,\r\n ManageSearches: 102,\r\n SendTextSales: 103,\r\n TextMessageNewNumberSettings: 104,\r\n SendTextService: 105,\r\n CrossBrandMVO: 109\r\n};\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar user_service_1 = require(\"./../../services/user.service\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar models_1 = require(\"../../generated/models\");\nvar AdminSettingsInventoryComponent = /** @class */ (function () {\n function AdminSettingsInventoryComponent(modalService, tService, userService, logger) {\n this.modalService = modalService;\n this.tService = tService;\n this.userService = userService;\n this.logger = logger;\n this.dsa = {};\n this.onSaveChanges = new core_1.EventEmitter();\n }\n AdminSettingsInventoryComponent.prototype.rvsMove = function (direction) {\n if (this.rvsSelectedItem && this.rvsSelectedItem.length == 1) {\n var index = this.dsa.dealerInventoryMatchRankingField.indexOf(this.rvsSelectedItem[0]);\n var newIndex = 0;\n if (direction == '+')\n newIndex = index - 1;\n else\n newIndex = index + 1;\n if (newIndex < 0 || newIndex > this.dsa.dealerInventoryMatchRankingField.length - 1)\n return;\n var temp = this.dsa.dealerInventoryMatchRankingField[newIndex];\n this.dsa.dealerInventoryMatchRankingField[newIndex] = this.dsa.dealerInventoryMatchRankingField[index];\n this.dsa.dealerInventoryMatchRankingField[index] = temp;\n var order = 1;\n for (var _i = 0, _a = this.dsa.dealerInventoryMatchRankingField; _i < _a.length; _i++) {\n var item = _a[_i];\n item.order = order++;\n }\n }\n this.dsa.dealerInventoryMatchRankingField;\n };\n return AdminSettingsInventoryComponent;\n}());\nexports.AdminSettingsInventoryComponent = AdminSettingsInventoryComponent;\n","import { Component, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter } from '@angular/core';\r\nimport { UserService } from './../../services/user.service';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerMakeLeaseMileageDto, DealerSettingDto, DealerTwilioPhoneNumberDto, DealerSettingResponseDto } from '../../generated/models';\r\n\r\n@Component({\r\n selector: 'admin-settings-inventory',\r\n templateUrl: './admin-settings-inventory.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsInventoryComponent {\r\n bsModalRef: BsModalRef;\r\n @Input() dsa: DealerSettingResponseDto = {};\r\n @Output() onSaveChanges = new EventEmitter();\r\n\r\n public rvsSelectedItem: any;\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public userService: UserService,\r\n public logger: ToasterLoggerService,\r\n ) {\r\n }\r\n\r\n public rvsMove(direction) {\r\n if (this.rvsSelectedItem && this.rvsSelectedItem.length == 1) {\r\n var index = this.dsa.dealerInventoryMatchRankingField.indexOf(this.rvsSelectedItem[0]);\r\n var newIndex = 0;\r\n\r\n if (direction == '+')\r\n newIndex = index - 1;\r\n else\r\n newIndex = index + 1;\r\n\r\n if (newIndex < 0 || newIndex > this.dsa.dealerInventoryMatchRankingField.length - 1)\r\n return;\r\n\r\n var temp = this.dsa.dealerInventoryMatchRankingField[newIndex];\r\n this.dsa.dealerInventoryMatchRankingField[newIndex] = this.dsa.dealerInventoryMatchRankingField[index];\r\n this.dsa.dealerInventoryMatchRankingField[index] = temp;\r\n\r\n var order = 1;\r\n\r\n for (var item of this.dsa.dealerInventoryMatchRankingField)\r\n item.order = order++;\r\n }\r\n\r\n this.dsa.dealerInventoryMatchRankingField;\r\n }\r\n}","'use strict';\nvar $export = require('./_export');\nvar $every = require('./_array-methods')(4);\n\n$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {\n // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments[1]);\n }\n});\n","module.exports = \"x-data-entry-replacement-offers .replacements-wrapper {\\n padding-left: 15px;\\n padding-right: 15px;\\n width: 100%;\\n}\\nx-data-entry-replacement-offers .divider {\\n border-top: 1px solid #1F8BD5;\\n margin-bottom: 10px;\\n margin-top: 10px !important;\\n}\\nx-data-entry-replacement-offers .tab-padding {\\n margin: 20px 0 0 0;\\n}\\nx-data-entry-replacement-offers .replacements-padding {\\n padding: 0 30px 0px 30px;\\n min-height: 900px;\\n}\\nx-data-entry-replacement-offers .header-background {\\n background-color: #172751;\\n}\\nx-data-entry-replacement-offers .btn-label {\\n color: white;\\n text-align: right;\\n padding: 10px;\\n}\\nx-data-entry-replacement-offers .small-margin {\\n margin: 3px;\\n}\\nx-data-entry-replacement-offers .k-grid table {\\n width: 100% !important;\\n}\\nx-data-entry-replacement-offers .svg-icon.xsm {\\n width: 16px;\\n height: 16px;\\n padding: 1px;\\n margin-bottom: 1px;\\n margin-top: 1px;\\n}\\nx-data-entry-replacement-offers .k-grid .k-grid-header .k-header .k-link {\\n height: auto;\\n}\\nx-data-entry-replacement-offers .k-grid .k-grid-header .k-header {\\n white-space: normal;\\n}\\nx-data-entry-replacement-offers #gridDataEntryReplacementSpecifics th.k-header.align-center {\\n text-align: center;\\n}\\nx-data-entry-replacement-offers #gridDataEntryReplacementSpecifics th.k-grid-content.align-center {\\n text-align: center;\\n}\\n.replacement-popup {\\n margin: 0px;\\n}\\n.replacement-popup .replacement-popup-list {\\n overflow-y: auto;\\n height: 180px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9kYXRhLWVudHJ5L3JlcGxhY2VtZW50L0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcY29tcG9uZW50c1xcZGF0YS1lbnRyeVxccmVwbGFjZW1lbnRcXGRhdGEtZW50cnktcmVwbGFjZW1lbnQtb2ZmZXJzLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2RhdGEtZW50cnkvcmVwbGFjZW1lbnQvZGF0YS1lbnRyeS1yZXBsYWNlbWVudC1vZmZlcnMuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0k7RUFDSSxtQkFBQTtFQUNBLG9CQUFBO0VBQ0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xMHB4O1xyXG4gICAgICAgIG1hcmdpbi10b3A6IDEwcHggIWltcG9ydGFudDtcclxuICAgIH1cclxuXHJcbiAgICAudGFiLXBhZGRpbmcge1xyXG4gICAgICAgIG1hcmdpbjogMjBweCAwIDAgMDtcclxuICAgIH1cclxuXHJcbiAgICAucmVwbGFjZW1lbnRzLXBhZGRpbmcge1xyXG4gICAgICAgIHBhZGRpbmc6IDAgMzBweCAwcHggMzBweDtcclxuICAgICAgICBtaW4taGVpZ2h0OiA5MDBweDtcclxuICAgIH1cclxuXHJcbiAgICAuaGVhZGVyLWJhY2tncm91bmQge1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICMxNzI3NTE7XHJcbiAgICB9XHJcblxyXG4gICAgLmJ0bi1sYWJlbCB7XHJcbiAgICAgICAgY29sb3I6IHdoaXRlO1xyXG4gICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xyXG4gICAgICAgIHBhZGRpbmc6IDEwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLnNtYWxsLW1hcmdpbiB7XHJcbiAgICAgICAgbWFyZ2luOiAzcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmstZ3JpZCB0YWJsZSB7XHJcbiAgICAgICAgd2lkdGg6IDEwMCUgIWltcG9ydGFudDtcclxuICAgIH1cclxuXHJcbiAgICAuc3ZnLWljb24ge1xyXG4gICAgICAgICYueHNtIHtcclxuICAgICAgICAgICAgd2lkdGg6IDE2cHg7XHJcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcclxuICAgICAgICAgICAgcGFkZGluZzogMXB4O1xyXG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAxcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDFweDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLmstZ3JpZCAuay1ncmlkLWhlYWRlciAuay1oZWFkZXIgLmstbGluayB7XHJcbiAgICAgICAgaGVpZ2h0OiBhdXRvO1xyXG4g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tb2ZmZXJzICNncmlkRGF0YUVudHJ5UmVwbGFjZW1lbnRTcGVjaWZpY3MgdGguay1oZWFkZXIuYWxpZ24tY2VudGVyIHtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xufVxueC1kYXRhLWVudHJ5LXJlcGxhY2VtZW50LW9mZmVycyAjZ3JpZERhdGFFbnRyeVJlcGxhY2VtZW50U3BlY2lmaWNzIHRoLmstZ3JpZC1jb250ZW50LmFsaWduLWNlbnRlciB7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cblxuLnJlcGxhY2VtZW50LXBvcHVwIHtcbiAgbWFyZ2luOiAwcHg7XG59XG4ucmVwbGFjZW1lbnQtcG9wdXAgLnJlcGxhY2VtZW50LXBvcHVwLWxpc3Qge1xuICBvdmVyZmxvdy15OiBhdXRvO1xuICBoZWlnaHQ6IDE4MHB4O1xufSJdfQ== */\"","var path = '/app/components/search/ui-textbox.component.html';\nvar html = \"
{{ $ctrl.displayNameKey | translate }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./customer-connect-detail.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../customer-connect-sub-actions/customer-connect-sub-actions.component.ngfactory\"));\nvar i3 = __importStar(require(\"../customer-connect-sub-actions/customer-connect-sub-actions.component\"));\nvar i4 = __importStar(require(\"../../../../services/log-action-shortcut.service\"));\nvar i5 = __importStar(require(\"../customer-connect-sub-detail/customer-connect-sub-detail.component.ngfactory\"));\nvar i6 = __importStar(require(\"../customer-connect-sub-detail/customer-connect-sub-detail.component\"));\nvar i7 = __importStar(require(\"./customer-connect-detail.component\"));\nvar styles_CustomerConnectDetailComponent = [i0.styles];\nvar RenderType_CustomerConnectDetailComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CustomerConnectDetailComponent, data: {} });\nexports.RenderType_CustomerConnectDetailComponent = RenderType_CustomerConnectDetailComponent;\nfunction View_CustomerConnectDetailComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect-sub-actions\", [], null, [[null, \"onAction\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onAction\" === en)) {\n var pd_0 = (_co.onActionSelect($event.action) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i2.View_CustomerConnectSubActionsComponent_0, i2.RenderType_CustomerConnectSubActionsComponent)), i1.ɵdid(1, 770048, null, 0, i3.CustomerConnectSubActionsComponent, [i4.LogActionShortcutService, i1.ChangeDetectorRef], { permissions: [0, \"permissions\"], subAction: [1, \"subAction\"], subActionTime: [2, \"subActionTime\"] }, { onAction: \"onAction\" }), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"customer-connect-sub-detail\", [], null, [[null, \"onLogScheduleSubmit\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onLogScheduleSubmit\" === en)) {\n var pd_0 = (_co.onLogScheduleSubmit.emit($event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i5.View_CustomerConnectSubDetailComponent_0, i5.RenderType_CustomerConnectSubDetailComponent)), i1.ɵdid(3, 114688, null, 0, i6.CustomerConnectSubDetailComponent, [], { permissions: [0, \"permissions\"], subAction: [1, \"subAction\"], dialogParams: [2, \"dialogParams\"], isEuroLite: [3, \"isEuroLite\"] }, { onLogScheduleSubmit: \"onLogScheduleSubmit\" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.permissions; var currVal_1 = _co.action; var currVal_2 = _co.actionTime; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2); var currVal_3 = _co.permissions; var currVal_4 = _co.subAction; var currVal_5 = _co.dialogParams; var currVal_6 = _co.isEuroLite; _ck(_v, 3, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, null); }\nexports.View_CustomerConnectDetailComponent_0 = View_CustomerConnectDetailComponent_0;\nfunction View_CustomerConnectDetailComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect-detail\", [], null, null, null, View_CustomerConnectDetailComponent_0, RenderType_CustomerConnectDetailComponent)), i1.ɵdid(1, 638976, null, 0, i7.CustomerConnectDetailComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CustomerConnectDetailComponent_Host_0 = View_CustomerConnectDetailComponent_Host_0;\nvar CustomerConnectDetailComponentNgFactory = i1.ɵccf(\"customer-connect-detail\", i7.CustomerConnectDetailComponent, View_CustomerConnectDetailComponent_Host_0, { permissions: \"permissions\", isCustomerConnectOpen: \"isCustomerConnectOpen\", action: \"action\", dialogParams: \"dialogParams\", actionTime: \"actionTime\", isEuroLite: \"isEuroLite\" }, { onLogScheduleSubmit: \"onLogScheduleSubmit\" }, []);\nexports.CustomerConnectDetailComponentNgFactory = CustomerConnectDetailComponentNgFactory;\n","\r\n \r\n \r\n \r\n \r\n\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./default-tab-action.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i3 = __importStar(require(\"../../icon/icon.component\"));\nvar i4 = __importStar(require(\"@angular/platform-browser\"));\nvar i5 = __importStar(require(\"@ngx-translate/core\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./default-tab-action.component\"));\nvar styles_DefaultTabActionComponent = [i0.styles];\nvar RenderType_DefaultTabActionComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DefaultTabActionComponent, data: {} });\nexports.RenderType_DefaultTabActionComponent = RenderType_DefaultTabActionComponent;\nfunction View_DefaultTabActionComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"span\", [[\"class\", \"default-tab-indicator qa-default-tab-indicator\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"icon\", [[\"class\", \"default-tab-icon icon aa-icon-star-icon-on\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(2, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], null, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"translate\", \"markAsDefaultView\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { _ck(_v, 2, 0); var currVal_0 = \"markAsDefaultView\"; _ck(_v, 4, 0, currVal_0); }, null); }\nfunction View_DefaultTabActionComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"button\", [[\"class\", \"transparent default-tab-indicator qa-default-tab-indicator\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onClickMarkAsDefault() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"icon\", [[\"class\", \"default-tab-icon icon aa-icon-star-icon-off\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(2, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], null, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"translate\", \"markAsDefaultView\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { _ck(_v, 2, 0); var currVal_0 = \"markAsDefaultView\"; _ck(_v, 4, 0, currVal_0); }, null); }\nfunction View_DefaultTabActionComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_DefaultTabActionComponent_1)), i1.ɵdid(1, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DefaultTabActionComponent_2)), i1.ɵdid(3, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.defaultTab == _co.currentTab); _ck(_v, 1, 0, currVal_0); var currVal_1 = !(_co.defaultTab == _co.currentTab); _ck(_v, 3, 0, currVal_1); }, null); }\nexports.View_DefaultTabActionComponent_0 = View_DefaultTabActionComponent_0;\nfunction View_DefaultTabActionComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"default-tab-action\", [], null, null, null, View_DefaultTabActionComponent_0, RenderType_DefaultTabActionComponent)), i1.ɵdid(1, 114688, null, 0, i7.DefaultTabActionComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DefaultTabActionComponent_Host_0 = View_DefaultTabActionComponent_Host_0;\nvar DefaultTabActionComponentNgFactory = i1.ɵccf(\"default-tab-action\", i7.DefaultTabActionComponent, View_DefaultTabActionComponent_Host_0, { defaultTab: \"defaultTab\", currentTab: \"currentTab\" }, { onAction: \"onAction\" }, []);\nexports.DefaultTabActionComponentNgFactory = DefaultTabActionComponentNgFactory;\n","\r\n \r\n \r\n\r\n\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Implements the Web Storage API using cookies as the underlying storage.\n * domain - The domain under which to store the cookie. If not provided, the current page's domain is used.\n * keyPrefix - A string to prefix cookie names with, to differentiate environments.\n */\nvar CookieStorage = /** @class */ (function () {\n function CookieStorage(window, domain, keyPrefix) {\n this.window = window;\n this.domain = domain;\n this.keyPrefix = keyPrefix;\n // As we access keys, we learn of their existence. We're assuming that\n // every key we access belongs to us and should be cleared together.\n this.KNOWN_KEYS = new Set();\n }\n /**\n * Retrieves and deserializes an item from the store\n */\n CookieStorage.prototype.getItem = function (key) {\n // Format: cookie1=value1; cookie2=value2\n var cookies = this.window.document.cookie.split(';');\n var prefixedKey = this.addKeyPrefix(key);\n for (var i = 0; i < cookies.length; i++) {\n var pair = cookies[i].split('=');\n var k = pair[0], value = pair[1];\n if (k.trim() === prefixedKey && value) {\n try {\n this.KNOWN_KEYS.add(key);\n return JSON.parse(decodeURIComponent(value.trim()));\n }\n catch (e) {\n // fallthrough and return undefined\n }\n }\n }\n };\n CookieStorage.prototype.setItem = function (key, value) {\n var cookieSafeValue = encodeURIComponent(JSON.stringify(value));\n var cookieValue = this.makeCookieString([\n this.keyValueString(this.addKeyPrefix(key), cookieSafeValue),\n this.domainString(),\n this.pathString(),\n this.secureString(),\n ]);\n this.window.document.cookie = cookieValue;\n this.KNOWN_KEYS.add(key);\n };\n CookieStorage.prototype.removeItem = function (key) {\n var cookieValue = this.makeCookieString([\n this.keyValueString(this.addKeyPrefix(key), ''),\n this.domainString(),\n this.pathString(),\n this.expiresString('Thu, 01 Jan 1970 00:00:01 GMT')\n ]);\n this.window.document.cookie = cookieValue;\n this.KNOWN_KEYS.delete(key);\n };\n CookieStorage.prototype.onchange = function (key, callback) {\n var _this = this;\n var prevValue = this.getItem(key);\n if (typeof prevValue !== 'undefined') {\n prevValue = JSON.stringify(prevValue);\n }\n var checkFn = function () {\n var value = _this.getItem(key);\n var valueStringify = JSON.stringify(value);\n if (typeof prevValue !== 'undefined' && prevValue !== valueStringify) {\n callback({ key: key, value: value });\n }\n prevValue = valueStringify;\n };\n this.KNOWN_KEYS.add(key);\n var intervalHandle = this.window.setInterval(checkFn, 5000);\n return { unsubscribe: function () { return _this.window.clearInterval(intervalHandle); } };\n };\n /**\n * Removes all known keys from the store.\n */\n CookieStorage.prototype.clear = function () {\n var _this = this;\n this.KNOWN_KEYS.forEach(function (key) {\n _this.removeItem(key);\n });\n };\n CookieStorage.prototype.addKeyPrefix = function (key) {\n if (this.keyPrefix) {\n return this.keyPrefix + \":\" + key;\n }\n return key;\n };\n CookieStorage.prototype.makeCookieString = function (components) {\n return components.filter(function (c) { return !!c; }).join(';');\n };\n CookieStorage.prototype.keyValueString = function (key, value) {\n return key + '=' + value;\n };\n CookieStorage.prototype.expiresString = function (date) {\n return 'expires=' + date;\n };\n CookieStorage.prototype.pathString = function () {\n return 'path=/';\n };\n CookieStorage.prototype.domainString = function () {\n if (this.domain) {\n return 'domain=' + this.domain;\n }\n };\n CookieStorage.prototype.secureString = function () {\n if (this.window.location.protocol === 'https') {\n return 'secure';\n }\n };\n return CookieStorage;\n}());\nexports.CookieStorage = CookieStorage;\n","import { isEqual } from 'lodash';\r\nimport { StorageInterface } from './storage.interface';\r\n\r\n/**\r\n * Implements the Web Storage API using cookies as the underlying storage.\r\n * domain - The domain under which to store the cookie. If not provided, the current page's domain is used.\r\n * keyPrefix - A string to prefix cookie names with, to differentiate environments.\r\n */\r\nexport class CookieStorage implements StorageInterface {\r\n constructor(private window: Window, private domain?: string, private keyPrefix?: string) {\r\n }\r\n\r\n // As we access keys, we learn of their existence. We're assuming that\r\n // every key we access belongs to us and should be cleared together.\r\n KNOWN_KEYS = new Set();\r\n\r\n /**\r\n * Retrieves and deserializes an item from the store\r\n */\r\n getItem(key: string): any {\r\n // Format: cookie1=value1; cookie2=value2\r\n const cookies = this.window.document.cookie.split(';');\r\n const prefixedKey = this.addKeyPrefix(key);\r\n\r\n for (let i = 0; i < cookies.length; i++) {\r\n const pair = cookies[i].split('=');\r\n const [k, value] = pair;\r\n\r\n if (k.trim() === prefixedKey && value) {\r\n try {\r\n this.KNOWN_KEYS.add(key);\r\n return JSON.parse(decodeURIComponent(value.trim()));\r\n } catch (e) {\r\n // fallthrough and return undefined\r\n }\r\n }\r\n }\r\n }\r\n\r\n setItem(key: string, value: any): void {\r\n const cookieSafeValue = encodeURIComponent(JSON.stringify(value));\r\n const cookieValue = this.makeCookieString([\r\n this.keyValueString(this.addKeyPrefix(key), cookieSafeValue),\r\n this.domainString(),\r\n this.pathString(),\r\n this.secureString(),\r\n ]);\r\n this.window.document.cookie = cookieValue;\r\n this.KNOWN_KEYS.add(key);\r\n }\r\n\r\n removeItem(key: string): void {\r\n const cookieValue = this.makeCookieString([\r\n this.keyValueString(this.addKeyPrefix(key), ''),\r\n this.domainString(),\r\n this.pathString(),\r\n this.expiresString('Thu, 01 Jan 1970 00:00:01 GMT')\r\n ]);\r\n this.window.document.cookie = cookieValue;\r\n this.KNOWN_KEYS.delete(key);\r\n }\r\n\r\n onchange(key: string, callback: ({}) => void): {} {\r\n let prevValue = this.getItem(key);\r\n if (typeof prevValue !== 'undefined') {\r\n prevValue = JSON.stringify(prevValue);\r\n }\r\n const checkFn = () => {\r\n const value = this.getItem(key);\r\n const valueStringify = JSON.stringify(value);\r\n if (typeof prevValue !== 'undefined' && prevValue !== valueStringify) {\r\n callback({ key, value });\r\n }\r\n prevValue = valueStringify;\r\n };\r\n this.KNOWN_KEYS.add(key);\r\n\r\n const intervalHandle = this.window.setInterval(checkFn, 5000);\r\n return { unsubscribe: () => this.window.clearInterval(intervalHandle) };\r\n }\r\n\r\n /**\r\n * Removes all known keys from the store.\r\n */\r\n clear() {\r\n this.KNOWN_KEYS.forEach(key => {\r\n this.removeItem(key);\r\n });\r\n }\r\n\r\n private addKeyPrefix(key: string) {\r\n if (this.keyPrefix) {\r\n return `${this.keyPrefix}:${key}`;\r\n }\r\n return key;\r\n }\r\n\r\n private makeCookieString(components: string[]) {\r\n return components.filter(c => !!c).join(';');\r\n }\r\n\r\n private keyValueString(key: string, value: string) {\r\n return key + '=' + value;\r\n }\r\n\r\n private expiresString(date: string) {\r\n return 'expires=' + date;\r\n }\r\n\r\n private pathString() {\r\n return 'path=/';\r\n }\r\n\r\n private domainString() {\r\n if (this.domain) {\r\n return 'domain=' + this.domain;\r\n }\r\n }\r\n\r\n private secureString() {\r\n if (this.window.location.protocol === 'https') {\r\n return 'secure';\r\n }\r\n }\r\n}\r\n","// Copyright 2014 Google Inc. All rights reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n!function(a,b){var c={},d={};!function(a,b){function c(a){if(\"number\"==typeof a)return a;var b={};for(var c in a)b[c]=a[c];return b}function d(){this._delay=0,this._endDelay=0,this._fill=\"none\",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction=\"normal\",this._easing=\"linear\",this._easingFunction=x}function e(){return a.isDeprecated(\"Invalid timing inputs\",\"2016-03-02\",\"TypeError exceptions will be thrown instead.\",!0)}function f(b,c,e){var f=new d;return c&&(f.fill=\"both\",f.duration=\"auto\"),\"number\"!=typeof b||isNaN(b)?void 0!==b&&Object.getOwnPropertyNames(b).forEach(function(c){if(\"auto\"!=b[c]){if((\"number\"==typeof f[c]||\"duration\"==c)&&(\"number\"!=typeof b[c]||isNaN(b[c])))return;if(\"fill\"==c&&-1==v.indexOf(b[c]))return;if(\"direction\"==c&&-1==w.indexOf(b[c]))return;if(\"playbackRate\"==c&&1!==b[c]&&a.isDeprecated(\"AnimationEffectTiming.playbackRate\",\"2014-11-28\",\"Use Animation.playbackRate instead.\"))return;f[c]=b[c]}}):f.duration=b,f}function g(a){return\"number\"==typeof a&&(a=isNaN(a)?{duration:0}:{duration:a}),a}function h(b,c){return b=a.numericTimingToObject(b),f(b,c)}function i(a,b,c,d){return a<0||a>1||c<0||c>1?x:function(e){function f(a,b,c){return 3*a*(1-c)*(1-c)*c+3*b*(1-c)*c*c+c*c*c}if(e<=0){var g=0;return a>0?g=b/a:!b&&c>0&&(g=d/c),g*e}if(e>=1){var h=0;return c<1?h=(d-1)/(c-1):1==c&&a<1&&(h=(b-1)/(a-1)),1+h*(e-1)}for(var i=0,j=1;i=1)return 1;var d=1/a;return(c+=b*d)-c%d}}function k(a){C||(C=document.createElement(\"div\").style),C.animationTimingFunction=\"\",C.animationTimingFunction=a;var b=C.animationTimingFunction;if(\"\"==b&&e())throw new TypeError(a+\" is not a valid value for easing\");return b}function l(a){if(\"linear\"==a)return x;var b=E.exec(a);if(b)return i.apply(this,b.slice(1).map(Number));var c=F.exec(a);return c?j(Number(c[1]),{start:y,middle:z,end:A}[c[2]]):B[a]||x}function m(a){return Math.abs(n(a)/a.playbackRate)}function n(a){return 0===a.duration||0===a.iterations?0:a.duration*a.iterations}function o(a,b,c){if(null==b)return G;var d=c.delay+a+c.endDelay;return b=Math.min(c.delay+a,d)?I:J}function p(a,b,c,d,e){switch(d){case H:return\"backwards\"==b||\"both\"==b?0:null;case J:return c-e;case I:return\"forwards\"==b||\"both\"==b?a:null;case G:return null}}function q(a,b,c,d,e){var f=e;return 0===a?b!==H&&(f+=c):f+=d/a,f}function r(a,b,c,d,e,f){var g=a===1/0?b%1:a%1;return 0!==g||c!==I||0===d||0===e&&0!==f||(g=1),g}function s(a,b,c,d){return a===I&&b===1/0?1/0:1===c?Math.floor(d)-1:Math.floor(d)}function t(a,b,c){var d=a;if(\"normal\"!==a&&\"reverse\"!==a){var e=b;\"alternate-reverse\"===a&&(e+=1),d=\"normal\",e!==1/0&&e%2!=0&&(d=\"reverse\")}return\"normal\"===d?c:1-c}function u(a,b,c){var d=o(a,b,c),e=p(a,c.fill,b,d,c.delay);if(null===e)return null;var f=q(c.duration,d,c.iterations,e,c.iterationStart),g=r(f,c.iterationStart,d,c.iterations,e,c.duration),h=s(d,c.iterations,g,f),i=t(c.direction,h,g);return c._easingFunction(i)}var v=\"backwards|forwards|both|none\".split(\"|\"),w=\"reverse|alternate|alternate-reverse\".split(\"|\"),x=function(a){return a};d.prototype={_setMember:function(b,c){this[\"_\"+b]=c,this._effect&&(this._effect._timingInput[b]=c,this._effect._timing=a.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=a.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(a){this._setMember(\"delay\",a)},get delay(){return this._delay},set endDelay(a){this._setMember(\"endDelay\",a)},get endDelay(){return this._endDelay},set fill(a){this._setMember(\"fill\",a)},get fill(){return this._fill},set iterationStart(a){if((isNaN(a)||a<0)&&e())throw new TypeError(\"iterationStart must be a non-negative number, received: \"+timing.iterationStart);this._setMember(\"iterationStart\",a)},get iterationStart(){return this._iterationStart},set duration(a){if(\"auto\"!=a&&(isNaN(a)||a<0)&&e())throw new TypeError(\"duration must be non-negative or auto, received: \"+a);this._setMember(\"duration\",a)},get duration(){return this._duration},set direction(a){this._setMember(\"direction\",a)},get direction(){return this._direction},set easing(a){this._easingFunction=l(k(a)),this._setMember(\"easing\",a)},get easing(){return this._easing},set iterations(a){if((isNaN(a)||a<0)&&e())throw new TypeError(\"iterations must be non-negative, received: \"+a);this._setMember(\"iterations\",a)},get iterations(){return this._iterations}};var y=1,z=.5,A=0,B={ease:i(.25,.1,.25,1),\"ease-in\":i(.42,0,1,1),\"ease-out\":i(0,0,.58,1),\"ease-in-out\":i(.42,0,.58,1),\"step-start\":j(1,y),\"step-middle\":j(1,z),\"step-end\":j(1,A)},C=null,D=\"\\\\s*(-?\\\\d+\\\\.?\\\\d*|-?\\\\.\\\\d+)\\\\s*\",E=new RegExp(\"cubic-bezier\\\\(\"+D+\",\"+D+\",\"+D+\",\"+D+\"\\\\)\"),F=/steps\\(\\s*(\\d+)\\s*,\\s*(start|middle|end)\\s*\\)/,G=0,H=1,I=2,J=3;a.cloneTimingInput=c,a.makeTiming=f,a.numericTimingToObject=g,a.normalizeTimingInput=h,a.calculateActiveDuration=m,a.calculateIterationProgress=u,a.calculatePhase=o,a.normalizeEasing=k,a.parseEasingFunction=l}(c),function(a,b){function c(a,b){return a in k?k[a][b]||b:b}function d(a){return\"display\"===a||0===a.lastIndexOf(\"animation\",0)||0===a.lastIndexOf(\"transition\",0)}function e(a,b,e){if(!d(a)){var f=h[a];if(f){i.style[a]=b;for(var g in f){var j=f[g],k=i.style[j];e[j]=c(j,k)}}else e[a]=c(a,b)}}function f(a){var b=[];for(var c in a)if(!(c in[\"easing\",\"offset\",\"composite\"])){var d=a[c];Array.isArray(d)||(d=[d]);for(var e,f=d.length,g=0;g1&&null==d[0].offset&&(d[0].offset=0);for(var b=0,c=d[0].offset,e=1;e1)throw new TypeError(\"Keyframe offsets must be between 0 and 1.\")}}else if(\"composite\"==d){if(\"add\"==f||\"accumulate\"==f)throw{type:DOMException.NOT_SUPPORTED_ERR,name:\"NotSupportedError\",message:\"add compositing is not supported\"};if(\"replace\"!=f)throw new TypeError(\"Invalid composite mode \"+f+\".\")}else f=\"easing\"==d?a.normalizeEasing(f):\"\"+f;e(d,f,c)}return void 0==c.offset&&(c.offset=null),void 0==c.easing&&(c.easing=\"linear\"),c}),g=!0,h=-1/0,i=0;i=0&&a.offset<=1}),g||c(),d}var h={background:[\"backgroundImage\",\"backgroundPosition\",\"backgroundSize\",\"backgroundRepeat\",\"backgroundAttachment\",\"backgroundOrigin\",\"backgroundClip\",\"backgroundColor\"],border:[\"borderTopColor\",\"borderTopStyle\",\"borderTopWidth\",\"borderRightColor\",\"borderRightStyle\",\"borderRightWidth\",\"borderBottomColor\",\"borderBottomStyle\",\"borderBottomWidth\",\"borderLeftColor\",\"borderLeftStyle\",\"borderLeftWidth\"],borderBottom:[\"borderBottomWidth\",\"borderBottomStyle\",\"borderBottomColor\"],borderColor:[\"borderTopColor\",\"borderRightColor\",\"borderBottomColor\",\"borderLeftColor\"],borderLeft:[\"borderLeftWidth\",\"borderLeftStyle\",\"borderLeftColor\"],borderRadius:[\"borderTopLeftRadius\",\"borderTopRightRadius\",\"borderBottomRightRadius\",\"borderBottomLeftRadius\"],borderRight:[\"borderRightWidth\",\"borderRightStyle\",\"borderRightColor\"],borderTop:[\"borderTopWidth\",\"borderTopStyle\",\"borderTopColor\"],borderWidth:[\"borderTopWidth\",\"borderRightWidth\",\"borderBottomWidth\",\"borderLeftWidth\"],flex:[\"flexGrow\",\"flexShrink\",\"flexBasis\"],font:[\"fontFamily\",\"fontSize\",\"fontStyle\",\"fontVariant\",\"fontWeight\",\"lineHeight\"],margin:[\"marginTop\",\"marginRight\",\"marginBottom\",\"marginLeft\"],outline:[\"outlineColor\",\"outlineStyle\",\"outlineWidth\"],padding:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"]},i=document.createElementNS(\"http://www.w3.org/1999/xhtml\",\"div\"),j={thin:\"1px\",medium:\"3px\",thick:\"5px\"},k={borderBottomWidth:j,borderLeftWidth:j,borderRightWidth:j,borderTopWidth:j,fontSize:{\"xx-small\":\"60%\",\"x-small\":\"75%\",small:\"89%\",medium:\"100%\",large:\"120%\",\"x-large\":\"150%\",\"xx-large\":\"200%\"},fontWeight:{normal:\"400\",bold:\"700\"},outlineWidth:j,textShadow:{none:\"0px 0px 0px transparent\"},boxShadow:{none:\"0px 0px 0px 0px transparent\"}};a.convertToArrayForm=f,a.normalizeKeyframes=g}(c),function(a){var b={};a.isDeprecated=function(a,c,d,e){var f=e?\"are\":\"is\",g=new Date,h=new Date(c);return h.setMonth(h.getMonth()+3),!(g=a.applyFrom&&cthis._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(b,c){this._style[b]=c,this._isAnimatedProperty[b]=!0,this._updateSvgTransformAttr&&\"transform\"==a.unprefixedPropertyName(b)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute(\"transform\")),this._element.setAttribute(\"transform\",a.transformToSvgMatrix(c)))},_clear:function(b){this._style[b]=this._surrogateStyle[b],this._updateSvgTransformAttr&&\"transform\"==a.unprefixedPropertyName(b)&&(this._savedTransformAttr?this._element.setAttribute(\"transform\",this._savedTransformAttr):this._element.removeAttribute(\"transform\"),this._savedTransformAttr=null),delete this._isAnimatedProperty[b]}};for(var k in i)e.prototype[k]=function(a,b){return function(){var c=this._surrogateStyle[a].apply(this._surrogateStyle,arguments);return b&&(this._isAnimatedProperty[arguments[0]]||this._style[a].apply(this._style,arguments),this._updateIndices()),c}}(k,k in j);for(var l in document.documentElement.style)l in h||l in i||function(a){d(e.prototype,a,{get:function(){return this._surrogateStyle[a]},set:function(b){this._surrogateStyle[a]=b,this._updateIndices(),this._isAnimatedProperty[a]||(this._style[a]=b)}})}(l);a.apply=function(b,c,d){f(b),b.style._set(a.propertyName(c),d)},a.clear=function(b,c){b._webAnimationsPatchedStyle&&b.style._clear(a.propertyName(c))}}(d),function(a){window.Element.prototype.animate=function(b,c){var d=\"\";return c&&c.id&&(d=c.id),a.timeline._play(a.KeyframeEffect(this,b,c,d))}}(d),function(a,b){function c(a,b,d){if(\"number\"==typeof a&&\"number\"==typeof b)return a*(1-d)+b*d;if(\"boolean\"==typeof a&&\"boolean\"==typeof b)return d<.5?a:b;if(a.length==b.length){for(var e=[],f=0;f0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(a){a=+a,isNaN(a)||(b.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-a/this._playbackRate),this._currentTimePending=!1,this._currentTime!=a&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(a,!0),b.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(a){a=+a,isNaN(a)||this._paused||this._idle||(this._startTime=a,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),b.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(a){if(a!=this._playbackRate){var c=this.currentTime;this._playbackRate=a,this._startTime=null,\"paused\"!=this.playState&&\"idle\"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),b.applyDirtiedAnimation(this)),null!=c&&(this.currentTime=c)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?\"idle\":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?\"pending\":this._paused?\"paused\":this._isFinished?\"finished\":\"running\"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException(\"Unable to rewind negative playback rate animation with infinite duration\",\"InvalidStateError\");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),b.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,b.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._isFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),b.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(a,b){\"function\"==typeof b&&\"finish\"==a&&this._finishHandlers.push(b)},removeEventListener:function(a,b){if(\"finish\"==a){var c=this._finishHandlers.indexOf(b);c>=0&&this._finishHandlers.splice(c,1)}},_fireEvents:function(a){if(this._isFinished){if(!this._finishedFlag){var b=new d(this,this._currentTime,a),c=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){c.forEach(function(a){a.call(b.target,b)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(a,b){this._idle||this._paused||(null==this._startTime?b&&(this.startTime=a-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((a-this._startTime)*this.playbackRate)),b&&(this._currentTimePending=!1,this._fireEvents(a))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var a=this._effect._target;return a._activeAnimations||(a._activeAnimations=[]),a._activeAnimations},_markTarget:function(){var a=this._targetAnimations();-1===a.indexOf(this)&&a.push(this)},_unmarkTarget:function(){var a=this._targetAnimations(),b=a.indexOf(this);-1!==b&&a.splice(b,1)}}}(c,d),function(a,b,c){function d(a){var b=j;j=[],a1e-4?(u=.5/Math.sqrt(w),v=[(q[2][1]-q[1][2])*u,(q[0][2]-q[2][0])*u,(q[1][0]-q[0][1])*u,.25/u]):q[0][0]>q[1][1]&&q[0][0]>q[2][2]?(u=2*Math.sqrt(1+q[0][0]-q[1][1]-q[2][2]),v=[.25*u,(q[0][1]+q[1][0])/u,(q[0][2]+q[2][0])/u,(q[2][1]-q[1][2])/u]):q[1][1]>q[2][2]?(u=2*Math.sqrt(1+q[1][1]-q[0][0]-q[2][2]),v=[(q[0][1]+q[1][0])/u,.25*u,(q[1][2]+q[2][1])/u,(q[0][2]-q[2][0])/u]):(u=2*Math.sqrt(1+q[2][2]-q[0][0]-q[1][1]),v=[(q[0][2]+q[2][0])/u,(q[1][2]+q[2][1])/u,.25*u,(q[1][0]-q[0][1])/u]),[p,r,s,v,n]}return j}();a.dot=c,a.makeMatrixDecomposition=h,a.transformListToMatrix=g}(d),function(a){function b(a,b){var c=a.exec(b);if(c)return c=a.ignoreCase?c[0].toLowerCase():c[0],[c,b.substr(c.length)]}function c(a,b){b=b.replace(/^\\s*/,\"\");var c=a(b);if(c)return[c[0],c[1].replace(/^\\s*/,\"\")]}function d(a,d,e){a=c.bind(null,a);for(var f=[];;){var g=a(e);if(!g)return[f,e];if(f.push(g[0]),e=g[1],!(g=b(d,e))||\"\"==g[1])return[f,e];e=g[1]}}function e(a,b){for(var c=0,d=0;dd?c%=d:d%=c;return c=a*b/(c+d)}function g(a){return function(b){var c=a(b);return c&&(c[0]=void 0),c}}function h(a,b){return function(c){return a(c)||[b,c]}}function i(b,c){for(var d=[],e=0;e=1?b:\"visible\"}]}a.addPropertiesHandler(String,c,[\"visibility\"])}(d),function(a,b){function c(a){a=a.trim(),f.fillStyle=\"#000\",f.fillStyle=a;var b=f.fillStyle;if(f.fillStyle=\"#fff\",f.fillStyle=a,b==f.fillStyle){f.fillRect(0,0,1,1);var c=f.getImageData(0,0,1,1).data;f.clearRect(0,0,1,1);var d=c[3]/255;return[c[0]*d,c[1]*d,c[2]*d,d]}}function d(b,c){return[b,c,function(b){function c(a){return Math.max(0,Math.min(255,a))}if(b[3])for(var d=0;d<3;d++)b[d]=Math.round(c(b[d]/b[3]));return b[3]=a.numberToString(a.clamp(0,1,b[3])),\"rgba(\"+b.join(\",\")+\")\"}]}var e=document.createElementNS(\"http://www.w3.org/1999/xhtml\",\"canvas\");e.width=e.height=1;var f=e.getContext(\"2d\");a.addPropertiesHandler(c,d,[\"background-color\",\"border-bottom-color\",\"border-left-color\",\"border-right-color\",\"border-top-color\",\"color\",\"fill\",\"flood-color\",\"lighting-color\",\"outline-color\",\"stop-color\",\"stroke\",\"text-decoration-color\"]),a.consumeColor=a.consumeParenthesised.bind(null,c),a.mergeColors=d}(d),function(a,b){function c(a){function b(){var b=h.exec(a);g=b?b[0]:void 0}function c(){var a=Number(g);return b(),a}function d(){if(\"(\"!==g)return c();b();var a=f();return\")\"!==g?NaN:(b(),a)}function e(){for(var a=d();\"*\"===g||\"/\"===g;){var c=g;b();var e=d();\"*\"===c?a*=e:a/=e}return a}function f(){for(var a=e();\"+\"===g||\"-\"===g;){var c=g;b();var d=e();\"+\"===c?a+=d:a-=d}return a}var g,h=/([\\+\\-\\w\\.]+|[\\(\\)\\*\\/])/g;return b(),f()}function d(a,b){if(\"0\"==(b=b.trim().toLowerCase())&&\"px\".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.test(b)){b=b.replace(/calc\\(/g,\"(\");var d={};b=b.replace(a,function(a){return d[a]=null,\"U\"+a});for(var e=\"U(\"+a.source+\")\",f=b.replace(/[-+]?(\\d*\\.)?\\d+([Ee][-+]?\\d+)?/g,\"N\").replace(new RegExp(\"N\"+e,\"g\"),\"D\").replace(/\\s[+-]\\s/g,\"O\").replace(/\\s/g,\"\"),g=[/N\\*(D)/g,/(N|D)[*\\/]N/g,/(N|D)O\\1/g,/\\((N|D)\\)/g],h=0;h1?\"calc(\"+c+\")\":c}]}var g=\"px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc\",h=d.bind(null,new RegExp(g,\"g\")),i=d.bind(null,new RegExp(g+\"|%\",\"g\")),j=d.bind(null,/deg|rad|grad|turn/g);a.parseLength=h,a.parseLengthOrPercent=i,a.consumeLengthOrPercent=a.consumeParenthesised.bind(null,i),a.parseAngle=j,a.mergeDimensions=f;var k=a.consumeParenthesised.bind(null,h),l=a.consumeRepeated.bind(void 0,k,/^/),m=a.consumeRepeated.bind(void 0,l,/^,/);a.consumeSizePairList=m;var n=function(a){var b=m(a);if(b&&\"\"==b[1])return b[0]},o=a.mergeNestedRepeated.bind(void 0,e,\" \"),p=a.mergeNestedRepeated.bind(void 0,o,\",\");a.mergeNonNegativeSizePair=o,a.addPropertiesHandler(n,p,[\"background-size\"]),a.addPropertiesHandler(i,e,[\"border-bottom-width\",\"border-image-width\",\"border-left-width\",\"border-right-width\",\"border-top-width\",\"flex-basis\",\"font-size\",\"height\",\"line-height\",\"max-height\",\"max-width\",\"outline-width\",\"width\"]),a.addPropertiesHandler(i,f,[\"border-bottom-left-radius\",\"border-bottom-right-radius\",\"border-top-left-radius\",\"border-top-right-radius\",\"bottom\",\"left\",\"letter-spacing\",\"margin-bottom\",\"margin-left\",\"margin-right\",\"margin-top\",\"min-height\",\"min-width\",\"outline-offset\",\"padding-bottom\",\"padding-left\",\"padding-right\",\"padding-top\",\"perspective\",\"right\",\"shape-margin\",\"stroke-dashoffset\",\"text-indent\",\"top\",\"vertical-align\",\"word-spacing\"])}(d),function(a,b){function c(b){return a.consumeLengthOrPercent(b)||a.consumeToken(/^auto/,b)}function d(b){var d=a.consumeList([a.ignore(a.consumeToken.bind(null,/^rect/)),a.ignore(a.consumeToken.bind(null,/^\\(/)),a.consumeRepeated.bind(null,c,/^,/),a.ignore(a.consumeToken.bind(null,/^\\)/))],b);if(d&&4==d[0].length)return d[0]}function e(b,c){return\"auto\"==b||\"auto\"==c?[!0,!1,function(d){var e=d?b:c;if(\"auto\"==e)return\"auto\";var f=a.mergeDimensions(e,e);return f[2](f[0])}]:a.mergeDimensions(b,c)}function f(a){return\"rect(\"+a+\")\"}var g=a.mergeWrappedNestedRepeated.bind(null,f,e,\", \");a.parseBox=d,a.mergeBoxes=g,a.addPropertiesHandler(d,g,[\"clip\"])}(d),function(a,b){function c(a){return function(b){var c=0;return a.map(function(a){return a===k?b[c++]:a})}}function d(a){return a}function e(b){if(\"none\"==(b=b.toLowerCase().trim()))return[];for(var c,d=/\\s*(\\w+)\\(([^)]*)\\)/g,e=[],f=0;c=d.exec(b);){if(c.index!=f)return;f=c.index+c[0].length;var g=c[1],h=n[g];if(!h)return;var i=c[2].split(\",\"),j=h[0];if(j.length900||b%100!=0))return b}function c(b){return b=100*Math.round(b/100),b=a.clamp(100,900,b),400===b?\"normal\":700===b?\"bold\":String(b)}function d(a,b){return[a,b,c]}a.addPropertiesHandler(b,d,[\"font-weight\"])}(d),function(a){function b(a){var b={};for(var c in a)b[c]=-a[c];return b}function c(b){return a.consumeToken(/^(left|center|right|top|bottom)\\b/i,b)||a.consumeLengthOrPercent(b)}function d(b,d){var e=a.consumeRepeated(c,/^/,d);if(e&&\"\"==e[1]){var f=e[0];if(f[0]=f[0]||\"center\",f[1]=f[1]||\"center\",3==b&&(f[2]=f[2]||{px:0}),f.length==b){if(/top|bottom/.test(f[0])||/left|right/.test(f[1])){var h=f[0];f[0]=f[1],f[1]=h}if(/left|right|center|Object/.test(f[0])&&/top|bottom|center|Object/.test(f[1]))return f.map(function(a){return\"object\"==typeof a?a:g[a]})}}}function e(d){var e=a.consumeRepeated(c,/^/,d);if(e){for(var f=e[0],h=[{\"%\":50},{\"%\":50}],i=0,j=!1,k=0;k=0&&this._cancelHandlers.splice(c,1)}else i.call(this,a,b)},f}}}(),function(a){var b=document.documentElement,c=null,d=!1;try{var e=getComputedStyle(b).getPropertyValue(\"opacity\"),f=\"0\"==e?\"1\":\"0\";c=b.animate({opacity:[f,f]},{duration:1}),c.currentTime=0,d=getComputedStyle(b).getPropertyValue(\"opacity\")==f}catch(a){}finally{c&&c.cancel()}if(!d){var g=window.Element.prototype.animate;window.Element.prototype.animate=function(b,c){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&b[Symbol.iterator]&&(b=Array.from(b)),Array.isArray(b)||null===b||(b=a.convertToArrayForm(b)),g.call(this,b,c)}}}(c),b.true=a}({},function(){return this}());\n//# sourceMappingURL=web-animations.min.js.map","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApiActivityActions = {\n postNote: 1,\n logPhoneCall: 2,\n schedulePhoneCall: 3,\n scheduleAppointment: 4,\n completePhoneCall: 5,\n completeAppointment: 6,\n expirePhoneCall: 7,\n expireAppointment: 8,\n sendEmail: 9,\n reschedulePhoneCall: 10,\n rescheduleAppointment: 11,\n reassignPhoneCall: 12,\n reassignAppointment: 13,\n cancelPhoneCall: 14,\n cancelAppointment: 15,\n sendToCompass: 16,\n sendEmailTemplate: 17,\n sendToCrm: 18\n};\n","export const ApiActivityActions = {\r\n postNote: 1,\r\n logPhoneCall: 2,\r\n schedulePhoneCall: 3,\r\n scheduleAppointment: 4,\r\n completePhoneCall: 5,\r\n completeAppointment: 6,\r\n expirePhoneCall: 7,\r\n expireAppointment: 8,\r\n sendEmail: 9,\r\n reschedulePhoneCall: 10,\r\n rescheduleAppointment: 11,\r\n reassignPhoneCall: 12,\r\n reassignAppointment: 13,\r\n cancelPhoneCall: 14,\r\n cancelAppointment: 15,\r\n sendToCompass: 16,\r\n sendEmailTemplate: 17,\r\n sendToCrm: 18\r\n};\r\n","var Map = require('./es6.map');\nvar $export = require('./_export');\nvar shared = require('./_shared')('metadata');\nvar store = shared.store || (shared.store = new (require('./es6.weak-map'))());\n\nvar getOrCreateMetadataMap = function (target, targetKey, create) {\n var targetMetadata = store.get(target);\n if (!targetMetadata) {\n if (!create) return undefined;\n store.set(target, targetMetadata = new Map());\n }\n var keyMetadata = targetMetadata.get(targetKey);\n if (!keyMetadata) {\n if (!create) return undefined;\n targetMetadata.set(targetKey, keyMetadata = new Map());\n } return keyMetadata;\n};\nvar ordinaryHasOwnMetadata = function (MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n};\nvar ordinaryGetOwnMetadata = function (MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n};\nvar ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {\n getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n};\nvar ordinaryOwnMetadataKeys = function (target, targetKey) {\n var metadataMap = getOrCreateMetadataMap(target, targetKey, false);\n var keys = [];\n if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });\n return keys;\n};\nvar toMetaKey = function (it) {\n return it === undefined || typeof it == 'symbol' ? it : String(it);\n};\nvar exp = function (O) {\n $export($export.S, 'Reflect', O);\n};\n\nmodule.exports = {\n store: store,\n map: getOrCreateMetadataMap,\n has: ordinaryHasOwnMetadata,\n get: ordinaryGetOwnMetadata,\n set: ordinaryDefineOwnMetadata,\n keys: ordinaryOwnMetadataKeys,\n key: toMetaKey,\n exp: exp\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar activity_types_1 = require(\"./activity-types\");\nexports.ActivityTypes = activity_types_1.ActivityTypes;\nvar activity_types_2 = require(\"./api/activity-types\");\nexports.ApiActivityTypes = activity_types_2.ApiActivityTypes;\nvar deal_sheet_tabs_1 = require(\"./deal-sheet-tabs\");\nexports.DealSheetTabs = deal_sheet_tabs_1.DealSheetTabs;\nvar dealer_countries_1 = require(\"./dealer-countries\");\nexports.DealerCountries = dealer_countries_1.DealerCountries;\nvar change_log_type_1 = require(\"./change-log-type\");\nexports.ChangeLogType = change_log_type_1.ChangeLogType;\nvar app_settings_1 = require(\"./app-settings\");\nexports.Settings = app_settings_1.Settings;\nvar activity_statuses_1 = require(\"./api/activity-statuses\");\nexports.ApiActivityStatuses = activity_statuses_1.ApiActivityStatuses;\nvar activity_actions_1 = require(\"./api/activity-actions\");\nexports.ApiActivityActions = activity_actions_1.ApiActivityActions;\nvar crm_activity_types_1 = require(\"./api/crm-activity-types\");\nexports.ApiCrmActivityTypes = crm_activity_types_1.ApiCrmActivityTypes;\nvar customer_activity_types_1 = require(\"./customer-activity-types\");\nexports.CustomerActivityTypes = customer_activity_types_1.CustomerActivityTypes;\nvar email_from_types_1 = require(\"./email-from-types\");\nexports.EmailFromTypes = email_from_types_1.EmailFromTypes;\nvar authorization_keys_1 = require(\"./authorization-keys\");\nexports.AuthorizationKeys = authorization_keys_1.AuthorizationKeys;\nvar alert_type_descriptors_1 = require(\"./alert-type.descriptors\");\nexports.AlertTypeDescriptors = alert_type_descriptors_1.AlertTypeDescriptors;\nexports.AlertTypeDescriptorsEuroLite = alert_type_descriptors_1.AlertTypeDescriptorsEuroLite;\nvar alert_types_1 = require(\"./alert.types\");\nexports.AlertTypes = alert_types_1.AlertTypes;\nvar sub_menu_1 = require(\"./sub-menu\");\nexports.SubMenu = sub_menu_1.SubMenu;\nvar modules_1 = require(\"./modules\");\nexports.Modules = modules_1.Modules;\nvar trade_value_types_1 = require(\"./trade-value-types\");\nexports.TradeValueTypes = trade_value_types_1.TradeValueTypes;\nvar time_zones_1 = require(\"./time-zones\");\nexports.TimeZones = time_zones_1.TimeZones;\nexports.TimeZonesById = time_zones_1.TimeZonesById;\nexports.TimeZonesByTzdbName = time_zones_1.TimeZonesByTzdbName;\nvar translate_error_keys_1 = require(\"./translate-error-keys\");\nexports.TranslateErrorKeys = translate_error_keys_1.TranslateErrorKeys;\nvar contact_types_1 = require(\"./contact-types\");\nexports.ContactTypes = contact_types_1.ContactTypes;\nvar search_preset_types_1 = require(\"./search-preset-types\");\nexports.SearchPresetTypes = search_preset_types_1.SearchPresetTypes;\nvar tag_types_1 = require(\"./tag-types\");\nexports.TagTypes = tag_types_1.TagTypes;\nvar trim_price_plan_source_1 = require(\"./trim-price-plan-source\");\nexports.TrimPricePlanSource = trim_price_plan_source_1.TrimPricePlanSource;\nvar pricing_plan_types_1 = require(\"./pricing-plan-types\");\nexports.PricingPlanTypes = pricing_plan_types_1.PricingPlanTypes;\nvar asset_types_1 = require(\"./asset-types\");\nexports.AssetTypes = asset_types_1.AssetTypes;\nvar activity_result_type_descriptors_1 = require(\"./activity-result-type.descriptors\");\nexports.ActivityResultTypeDescriptors = activity_result_type_descriptors_1.ActivityResultTypeDescriptors;\nvar activity_status_types_1 = require(\"./activity-status-types\");\nexports.ActivityStatusTypes = activity_status_types_1.ActivityStatusTypes;\nvar activity_icon_classes_1 = require(\"./activity-icon-classes\");\nexports.ActivityIconClasses = activity_icon_classes_1.ActivityIconClasses;\nvar pandox_rule_category_1 = require(\"./pandox-rule-category\");\nexports.PandoXRuleCategory = pandox_rule_category_1.PandoXRuleCategory;\nexports.PandoXRuleCategoryReverse = pandox_rule_category_1.PandoXRuleCategoryReverse;\nvar customer_cultures_1 = require(\"./customer-cultures\");\nexports.CustomerCultures = customer_cultures_1.CustomerCultures;\nvar eula_status_types_1 = require(\"./eula-status.types\");\nexports.EulaStatusTypes = eula_status_types_1.EulaStatusTypes;\nvar access_rights_1 = require(\"./access-rights\");\nexports.AccessRights = access_rights_1.AccessRights;\nvar activity_sub_types_1 = require(\"./activity-sub-types\");\nexports.ActivitySubTypes = activity_sub_types_1.ActivitySubTypes;\nvar product_types_1 = require(\"./product-types\");\nexports.ProductTypes = product_types_1.ProductTypes;\nvar conquest_types_1 = require(\"./conquest-types\");\nexports.ConquestTypes = conquest_types_1.ConquestTypes;\nvar opportunity_statuses_1 = require(\"./opportunity-statuses\");\nexports.OpportunityStatuses = opportunity_statuses_1.OpportunityStatuses;\nvar opportunity_types_1 = require(\"./opportunity-types\");\nexports.OpportunityTypes = opportunity_types_1.OpportunityTypes;\nvar discrepancy_types_1 = require(\"./discrepancy-types\");\nexports.DiscrepancyTypes = discrepancy_types_1.DiscrepancyTypes;\nvar vehicle_types_1 = require(\"./vehicle-types\");\nexports.VehicleTypes = vehicle_types_1.VehicleTypes;\nvar storage_keys_1 = require(\"./storage-keys\");\nexports.StorageKeys = storage_keys_1.StorageKeys;\nvar payment_types_1 = require(\"./payment-types\");\nexports.PaymentTypes = payment_types_1.PaymentTypes;\nvar sale_types_1 = require(\"./sale-types\");\nexports.SaleTypes = sale_types_1.SaleTypes;\nvar ActivityActionEnum_1 = require(\"./AutoAlert.AlertMiner.ServiceContract.Enums/ActivityActionEnum\");\nexports.ActivityActionEnum = ActivityActionEnum_1.ActivityActionEnum;\nvar activity_results_1 = require(\"./activity-results\");\nexports.ActivityResults = activity_results_1.ActivityResults;\nvar customer_process_statuses_1 = require(\"./customer-process-statuses\");\nexports.CustomerProcessStatuses = customer_process_statuses_1.CustomerProcessStatuses;\nvar translate_keys_1 = require(\"./translate-keys\");\nexports.TranslateKeys = translate_keys_1.TranslateKeys;\nvar activity_result_descriptors_1 = require(\"./activity-result-descriptors\");\nexports.ActivityResultDescriptors = activity_result_descriptors_1.ActivityResultDescriptors;\nvar program_source_types_1 = require(\"./program-source-types\");\nexports.ProgramSourceTypes = program_source_types_1.ProgramSourceTypes;\nvar export_campaign_types_1 = require(\"./export-campaign-types\");\nexports.ExportCampaignTypes = export_campaign_types_1.ExportCampaignTypes;\nvar ford_fba_types_1 = require(\"./ford-fba-types\");\nexports.FordFBATypes = ford_fba_types_1.FordFBATypes;\n","export { ActivityTypes } from './activity-types';\r\nexport { ApiActivityTypes } from './api/activity-types';\r\nexport { DealSheetTabs } from './deal-sheet-tabs';\r\nexport { DealerCountries } from './dealer-countries';\r\nexport { ChangeLogType } from './change-log-type';\r\nexport { Settings } from './app-settings';\r\nexport { ApiActivityStatuses } from './api/activity-statuses';\r\nexport { ApiActivityActions } from './api/activity-actions';\r\nexport { ApiCrmActivityTypes } from './api/crm-activity-types';\r\nexport { CustomerActivityTypes } from './customer-activity-types';\r\nexport { EmailFromTypes } from './email-from-types';\r\nexport { AuthorizationKeys } from './authorization-keys';\r\nexport { AlertTypeDescriptors, AlertTypeDescriptorsEuroLite } from './alert-type.descriptors';\r\nexport { AlertTypes } from './alert.types';\r\nexport { SubMenu } from './sub-menu';\r\nexport { Modules } from './modules';\r\nexport { TradeValueTypes } from './trade-value-types';\r\nexport { TimeZones, TimeZonesById, TimeZonesByTzdbName } from './time-zones';\r\nexport { TranslateErrorKeys } from './translate-error-keys';\r\nexport { ContactTypes } from './contact-types';\r\nexport { SearchPresetTypes } from './search-preset-types';\r\nexport { TagTypes } from './tag-types';\r\nexport { TrimPricePlanSource } from './trim-price-plan-source';\r\nexport { PricingPlanTypes } from './pricing-plan-types';\r\nexport { AssetTypes } from './asset-types';\r\nexport { ActivityResultTypeDescriptors } from './activity-result-type.descriptors';\r\nexport { ActivityStatusTypes } from './activity-status-types';\r\nexport { ActivityIconClasses } from './activity-icon-classes';\r\nexport { PandoXRuleCategory, PandoXRuleCategoryReverse } from './pandox-rule-category';\r\nexport { CustomerCultures } from './customer-cultures';\r\nexport { EulaStatusTypes } from './eula-status.types';\r\nexport { AccessRights } from './access-rights';\r\nexport { ActivitySubTypes } from './activity-sub-types';\r\n\r\nexport { ProductTypes } from './product-types';\r\nexport { ConquestTypes } from './conquest-types';\r\nexport { OpportunityStatuses } from './opportunity-statuses';\r\nexport { OpportunityTypes } from './opportunity-types';\r\nexport { DiscrepancyTypes } from './discrepancy-types';\r\nexport { VehicleTypes } from './vehicle-types';\r\nexport { StorageKeys } from './storage-keys';\r\nexport { PaymentTypes } from './payment-types';\r\nexport { SaleTypes } from './sale-types';\r\nexport { ActivityActionEnum } from './AutoAlert.AlertMiner.ServiceContract.Enums/ActivityActionEnum';\r\nexport { ActivityResults } from './activity-results';\r\nexport { CustomerProcessStatuses } from './customer-process-statuses';\r\nexport { TranslateKeys } from './translate-keys';\r\nexport { ActivityResultDescriptors } from './activity-result-descriptors';\r\nexport { ProgramSourceTypes } from './program-source-types';\r\nexport { ExportCampaignTypes } from './export-campaign-types';\r\nexport { FordFBATypes } from './ford-fba-types';\r\n","var path = '/app/components/deal-sheet/modals/activity-follow-up-modal.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","var path = '/app/components/reports/reports-header.component.html';\nvar html = \"


\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar platform_browser_1 = require(\"@angular/platform-browser\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar text_message_service_1 = require(\"../../../services/text-message.service\");\nvar locale_date_time_pipe_1 = require(\"../../../filters/locale-date-time.pipe\");\nvar rxjs_1 = require(\"rxjs\");\nvar constants_1 = require(\"../../../constants\");\nvar TextMessageActivityComponent = /** @class */ (function () {\n function TextMessageActivityComponent(domSanitizer, translate, legacyService, textMessageService, localeDatetimePipe) {\n this.domSanitizer = domSanitizer;\n this.translate = translate;\n this.legacyService = legacyService;\n this.textMessageService = textMessageService;\n this.localeDatetimePipe = localeDatetimePipe;\n this.displayMessages = false;\n this.salesOrServiceLabel = { SalesOrService: 'Sales' };\n this.authorizationKeys = constants_1.AuthorizationKeys;\n this.subscriptionAggregator = new rxjs_1.Subscription();\n }\n TextMessageActivityComponent.prototype.ngOnInit = function () {\n var _this = this;\n var sub = this.translate.get('customer')\n .subscribe(function (translatedCustomerLabel) {\n _this.sentBy = _this.getSentByLabel(_this.activity.textMessages, translatedCustomerLabel);\n });\n this.subscriptionAggregator.add(sub);\n };\n TextMessageActivityComponent.prototype.ngOnDestroy = function () {\n this.subscriptionAggregator.unsubscribe();\n };\n TextMessageActivityComponent.prototype.ngOnChanges = function (changes) {\n var _this = this;\n if (changes && changes.activity && changes.activity.currentValue && changes.activity.currentValue.textMessages) {\n var textMessages = changes.activity.currentValue.textMessages;\n textMessages.map(function (t) { return t.message = t.message.replace(\"\\r\\n\", \"
\"); });\n textMessages.map(function (t) { return t.safeMessage = _this.domSanitizer.bypassSecurityTrustHtml(text_message_service_1.TextMessageService.replaceUrlStringWithHtmlLink(t.message, false)); });\n this.salesOrServiceLabel.SalesOrService = (textMessages[0].dealerPhoneAccessRightID === this.authorizationKeys.SendTextSales) ? 'Sales' : 'Service';\n }\n };\n TextMessageActivityComponent.prototype.viewUpgradeProposal = function (activityId) {\n if (this.mobileView)\n return;\n this.legacyService.downloadUpgradeProposalByActivity({\n activityId: activityId\n });\n };\n TextMessageActivityComponent.prototype.handleUpgradeProposalLinkClick = function ($event, textMessage) {\n if (this.mobileView)\n return;\n this.textMessageService.downloadUpgradeProposalIfAvailable($event, textMessage);\n };\n TextMessageActivityComponent.prototype.formatSentDateTime = function (sentDateTime) {\n var localizedDate = new Date(sentDateTime);\n return localizedDate.toLocaleTimeString(this.translate.currentLang, { hour: 'numeric', minute: 'numeric' });\n };\n TextMessageActivityComponent.prototype.getSentByLabel = function (textMessages, customerLabel) {\n var customerSentBy = '';\n var userSentByMap = new Map();\n textMessages.forEach(function (t) {\n if (t.outgoing) {\n if (!userSentByMap.has(t.userId)) {\n userSentByMap.set(t.userId, t.userFirstName + \" \" + t.userLastName);\n }\n }\n else {\n customerSentBy = t.customerFirstName + \" \" + t.customerLastName + \" (\" + customerLabel + \"),\";\n }\n });\n var userSentBy = Array.from(userSentByMap.values()).join(', ');\n return customerSentBy + \" \" + userSentBy;\n };\n return TextMessageActivityComponent;\n}());\nexports.TextMessageActivityComponent = TextMessageActivityComponent;\n","import { Component, OnInit, Input, Inject, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { Activity } from '../../../interfaces/activity.interface';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LegacyService } from '../../../ajs-upgraded-providers';\r\nimport { TextMessageService } from '../../../services/text-message.service';\r\nimport { LocaleDateTimePipe } from '../../../filters/locale-date-time.pipe';\r\nimport { TextMessageDto } from '../../../generated/models';\r\nimport { Subscription } from 'rxjs';\r\nimport { AuthorizationKeys } from '../../../constants';\r\n\r\ninterface TextMessageDtoExt extends TextMessageDto {\r\n safeMessage: SafeHtml\r\n}\r\n\r\n@Component({\r\n selector: 'aa-text-message-activity',\r\n templateUrl: './text-message-activity.component-ng.html',\r\n styleUrls: ['./text-message-activity.component.scss']\r\n})\r\nexport class TextMessageActivityComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() activity: Activity;\r\n @Input() mobileView: any;\r\n\r\n public sentBy: string;\r\n public displayMessages = false;\r\n public salesOrServiceLabel = { SalesOrService: 'Sales' };\r\n\r\n private authorizationKeys = AuthorizationKeys;\r\n private subscriptionAggregator = new Subscription();\r\n\r\n constructor(private domSanitizer: DomSanitizer,\r\n private translate: TranslateService,\r\n @Inject(LegacyService) private legacyService,\r\n public textMessageService: TextMessageService,\r\n private localeDatetimePipe: LocaleDateTimePipe) { }\r\n\r\n ngOnInit() {\r\n const sub = this.translate.get('customer')\r\n .subscribe(translatedCustomerLabel => {\r\n this.sentBy = this.getSentByLabel(this.activity.textMessages, translatedCustomerLabel);\r\n });\r\n\r\n this.subscriptionAggregator.add(sub);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionAggregator.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes && changes.activity && changes.activity.currentValue && changes.activity.currentValue.textMessages) {\r\n const textMessages = changes.activity.currentValue.textMessages as TextMessageDtoExt[];\r\n textMessages.map(t => t.message = t.message.replace(\"\\r\\n\", \"
\"));\r\n textMessages.map(t => t.safeMessage = this.domSanitizer.bypassSecurityTrustHtml(TextMessageService.replaceUrlStringWithHtmlLink(t.message, false)));\r\n this.salesOrServiceLabel.SalesOrService = (textMessages[0].dealerPhoneAccessRightID === this.authorizationKeys.SendTextSales) ? 'Sales' : 'Service';\r\n }\r\n }\r\n\r\n viewUpgradeProposal(activityId: number): void {\r\n if (this.mobileView) return;\r\n\r\n this.legacyService.downloadUpgradeProposalByActivity({\r\n activityId: activityId\r\n });\r\n }\r\n\r\n handleUpgradeProposalLinkClick($event: any, textMessage: TextMessageDto) {\r\n if (this.mobileView) return;\r\n \r\n this.textMessageService.downloadUpgradeProposalIfAvailable($event, textMessage);\r\n }\r\n\r\n formatSentDateTime(sentDateTime: Date) {\r\n const localizedDate = new Date(sentDateTime);\r\n return localizedDate.toLocaleTimeString(this.translate.currentLang, { hour: 'numeric', minute: 'numeric' });\r\n }\r\n\r\n private getSentByLabel(textMessages: TextMessageDto[], customerLabel: string): string {\r\n\r\n let customerSentBy = '';\r\n const userSentByMap = new Map();\r\n\r\n textMessages.forEach(t => {\r\n if (t.outgoing) {\r\n if (!userSentByMap.has(t.userId)) {\r\n userSentByMap.set(t.userId, `${t.userFirstName} ${t.userLastName}`);\r\n }\r\n } else {\r\n customerSentBy = `${t.customerFirstName} ${t.customerLastName} (${customerLabel}),`;\r\n }\r\n });\r\n\r\n const userSentBy = Array.from(userSentByMap.values()).join(', ');\r\n\r\n return `${customerSentBy} ${userSentBy}`;\r\n }\r\n}\r\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar constants_1 = require(\"../../../constants\");\nvar CustomerCultureSelectComponent = /** @class */ (function () {\n function CustomerCultureSelectComponent(tService) {\n this.tService = tService;\n this.includeEmptyEntry = true;\n this.isDisabled = false;\n this.preferredCultureNameChange = new core_1.EventEmitter();\n }\n CustomerCultureSelectComponent.prototype.ngOnInit = function () {\n this.customerCultures = constants_1.CustomerCultures;\n this.selectCultureEmptyValueText = this.tService.instant('selectLanguage');\n this.selectedCultureName = this.preferredCultureName ? this.preferredCultureName : \"\";\n if (this.selectLabelKey) { // only define label if key passed in. This determines if label is displayed.\n this.selectCultureLabel = this.tService.instant(this.selectLabelKey);\n }\n };\n CustomerCultureSelectComponent.prototype.ngOnChanges = function (changes) {\n if (changes.selectedDealerId && !changes.selectedDealerId.isFirstChange()) {\n this.selectedCultureName = this.preferredCultureName ? this.preferredCultureName : \"\";\n }\n if (changes.preferredCultureName && !changes.preferredCultureName.isFirstChange()) {\n this.selectedCultureName = this.preferredCultureName ? this.preferredCultureName : \"\";\n this.preferredCultureNameChange.emit(this.selectedCultureName == \"\" ? null : this.selectedCultureName);\n }\n };\n CustomerCultureSelectComponent.prototype.cultureChange = function (event) {\n this.preferredCultureNameChange.emit(event.target.value == \"\" ? null : event.target.value);\n };\n return CustomerCultureSelectComponent;\n}());\nexports.CustomerCultureSelectComponent = CustomerCultureSelectComponent;\n","import { Component, Input, Output, OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CustomerService } from '../../../services/customer.service';\r\nimport { CustomerCultures } from '../../../constants';\r\n\r\n@Component({\r\n selector: 'customer-culture-select',\r\n templateUrl: './customer-culture-select.component-ng.html',\r\n styleUrls: ['./customer-culture-select.component.scss']\r\n})\r\nexport class CustomerCultureSelectComponent implements OnInit, OnChanges {\r\n @Input() preferredCultureName: string;\r\n @Input() selectLabelKey: string;\r\n @Input() includeEmptyEntry: boolean = true;\r\n @Input() selectedDealerId: number;\r\n @Input() isDisabled: boolean = false;\r\n @Output() preferredCultureNameChange = new EventEmitter();\r\n public selectedCultureName: string;\r\n public selectCultureLabel: string;\r\n public selectCultureEmptyValueText: string;\r\n public customerCultures: Array;\r\n\r\n constructor(public tService: TranslateService) {\r\n }\r\n\r\n ngOnInit() {\r\n this.customerCultures = CustomerCultures;\r\n this.selectCultureEmptyValueText = this.tService.instant('selectLanguage');\r\n this.selectedCultureName = this.preferredCultureName ? this.preferredCultureName : \"\";\r\n if (this.selectLabelKey) { // only define label if key passed in. This determines if label is displayed.\r\n this.selectCultureLabel = this.tService.instant(this.selectLabelKey);\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.selectedDealerId && !changes.selectedDealerId.isFirstChange()) {\r\n this.selectedCultureName = this.preferredCultureName ? this.preferredCultureName : \"\";\r\n }\r\n if (changes.preferredCultureName && !changes.preferredCultureName.isFirstChange()) {\r\n this.selectedCultureName = this.preferredCultureName ? this.preferredCultureName : \"\";\r\n this.preferredCultureNameChange.emit(this.selectedCultureName == \"\" ? null : this.selectedCultureName);\r\n }\r\n }\r\n\r\n cultureChange(event: any) {\r\n this.preferredCultureNameChange.emit(event.target.value == \"\" ? null : event.target.value);\r\n }\r\n}\r\n","var path = '/app/components/deal-sheet/contract/salesperson-name.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar AnnouncementClientService = /** @class */ (function (_super) {\n __extends(AnnouncementClientService, _super);\n function AnnouncementClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @return Success\n */\n AnnouncementClientService.prototype.GetAnnouncementForUserGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Announcement/GetAnnouncementForUser\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n AnnouncementClientService.prototype.GetAnnouncementForUserGET = function () {\n return this.GetAnnouncementForUserGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `AnnouncementClientService.UpdateAnnouncementUserDisplayByAnnouncementidPUTParams` containing the following parameters:\n *\n * - `announcementId`:\n *\n * - `doNotDisplay`:\n */\n AnnouncementClientService.prototype.UpdateAnnouncementUserDisplayByAnnouncementidPUTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.doNotDisplay;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + (\"/api/Announcement/UpdateAnnouncementUserDisplay/\" + params.announcementId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `AnnouncementClientService.UpdateAnnouncementUserDisplayByAnnouncementidPUTParams` containing the following parameters:\n *\n * - `announcementId`:\n *\n * - `doNotDisplay`:\n */\n AnnouncementClientService.prototype.UpdateAnnouncementUserDisplayByAnnouncementidPUT = function (params) {\n return this.UpdateAnnouncementUserDisplayByAnnouncementidPUTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n AnnouncementClientService.GetAnnouncementForUserGETPath = '/api/Announcement/GetAnnouncementForUser';\n AnnouncementClientService.UpdateAnnouncementUserDisplayByAnnouncementidPUTPath = '/api/Announcement/UpdateAnnouncementUserDisplay/{announcementId}';\n AnnouncementClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function AnnouncementClientService_Factory() { return new AnnouncementClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: AnnouncementClientService, providedIn: \"root\" });\n return AnnouncementClientService;\n}(base_service_1.BaseService));\nexports.AnnouncementClientService = AnnouncementClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { AnnouncementDto } from '../models/announcement-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass AnnouncementClientService extends __BaseService {\r\n static readonly GetAnnouncementForUserGETPath = '/api/Announcement/GetAnnouncementForUser';\r\n static readonly UpdateAnnouncementUserDisplayByAnnouncementidPUTPath = '/api/Announcement/UpdateAnnouncementUserDisplay/{announcementId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetAnnouncementForUserGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Announcement/GetAnnouncementForUser`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetAnnouncementForUserGET(): __Observable {\r\n return this.GetAnnouncementForUserGETResponse().pipe(\r\n __map(_r => _r.body as AnnouncementDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `AnnouncementClientService.UpdateAnnouncementUserDisplayByAnnouncementidPUTParams` containing the following parameters:\r\n *\r\n * - `announcementId`:\r\n *\r\n * - `doNotDisplay`:\r\n */\r\n UpdateAnnouncementUserDisplayByAnnouncementidPUTResponse(params: AnnouncementClientService.UpdateAnnouncementUserDisplayByAnnouncementidPUTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n __body = params.doNotDisplay;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Announcement/UpdateAnnouncementUserDisplay/${params.announcementId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `AnnouncementClientService.UpdateAnnouncementUserDisplayByAnnouncementidPUTParams` containing the following parameters:\r\n *\r\n * - `announcementId`:\r\n *\r\n * - `doNotDisplay`:\r\n */\r\n UpdateAnnouncementUserDisplayByAnnouncementidPUT(params: AnnouncementClientService.UpdateAnnouncementUserDisplayByAnnouncementidPUTParams): __Observable {\r\n return this.UpdateAnnouncementUserDisplayByAnnouncementidPUTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule AnnouncementClientService {\r\n\r\n /**\r\n * Parameters for UpdateAnnouncementUserDisplayByAnnouncementidPUT\r\n */\r\n export interface UpdateAnnouncementUserDisplayByAnnouncementidPUTParams {\r\n announcementId: number;\r\n doNotDisplay?: boolean;\r\n }\r\n}\r\n\r\nexport { AnnouncementClientService }\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./deskit.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"./deskit.component\"));\nvar i5 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar i6 = __importStar(require(\"../../../core/toaster-logger.service\"));\nvar styles_DeskitComponent = [i0.styles];\nvar RenderType_DeskitComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DeskitComponent, data: {} });\nexports.RenderType_DeskitComponent = RenderType_DeskitComponent;\nfunction View_DeskitComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"a\", [[\"class\", \"btn qa-deskit-btn\"], [\"href\", \"#\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.pushToDeskit() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 0, \"img\", [[\"class\", \"svg-icon\"]], [[8, \"src\", 4]], null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"caption\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"span\", [[\"translate\", \"deskitDeal\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_2 = \"deskitDeal\"; _ck(_v, 5, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"deskitDealTitle\")), \"\"); _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.deskitImagePath; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_DeskitComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"comm-tools\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DeskitComponent_1)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.showDeskitLink; _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_DeskitComponent_0 = View_DeskitComponent_0;\nfunction View_DeskitComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"deskit\", [], null, null, null, View_DeskitComponent_0, RenderType_DeskitComponent)), i1.ɵdid(1, 770048, null, 0, i4.DeskitComponent, [i5.DealSheetService, i6.ToasterLoggerService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DeskitComponent_Host_0 = View_DeskitComponent_Host_0;\nvar DeskitComponentNgFactory = i1.ɵccf(\"deskit\", i4.DeskitComponent, View_DeskitComponent_Host_0, { dealerId: \"dealerId\", dealerSettings: \"dealerSettings\", entityId: \"entityId\", customer: \"customer\", currentVehicle: \"currentVehicle\", replacementVehicle: \"replacementVehicle\", saleType: \"saleType\" }, {}, []);\nexports.DeskitComponentNgFactory = DeskitComponentNgFactory;\n","\r\n","var path = '/app/components/deal-sheet/customer-email-list.component.html';\nvar html = \"
0)\\\">
0\\\">
    0\\\">
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar $export = require('./_export');\nvar $indexOf = require('./_array-includes')(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? $native.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments[1]);\n }\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@angular/forms\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../tooltip.component.ngfactory\"));\nvar i4 = __importStar(require(\"../tooltip.component\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./admin-settings-advanced.component\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i9 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar i10 = __importStar(require(\"../../services/dealer-settings.service\"));\nvar styles_AdminSettingsAdvancedComponent = [];\nvar RenderType_AdminSettingsAdvancedComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsAdvancedComponent, data: {} });\nexports.RenderType_AdminSettingsAdvancedComponent = RenderType_AdminSettingsAdvancedComponent;\nfunction View_AdminSettingsAdvancedComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.makeID, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.makeID, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.makeName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsAdvancedComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsAdvancedComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.modelID, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.modelID, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.modelName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsAdvancedComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.trimID, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.trimID, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.trimName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsAdvancedComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_selfRegistration\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(4, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 4, \"div\", [[\"class\", \"settingItem below\"]], null, null, null, null, null)), (_l()(), i0.ɵted(6, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"a\", [[\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i0.ɵted(9, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"dsAdmin_selfRegistration\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"dsAdmin_selfRegistration\"; var currVal_2 = \"dsAdmin_selfRegistrationTooltip\"; _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = i0.ɵunv(_v, 6, 0, i0.ɵnov(_v, 7).transform(\"dsAdmin_selfRegistrationLink\")); _ck(_v, 6, 0, currVal_3); var currVal_4 = i0.ɵinlineInterpolate(1, \"\", _co.selfRegistrationLink, \"\"); _ck(_v, 8, 0, currVal_4); var currVal_5 = _co.selfRegistrationLink; _ck(_v, 9, 0, currVal_5); }); }\nfunction View_AdminSettingsAdvancedComponent_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵted(2, null, [\" \", \" \"])), (_l()(), i0.ɵeld(3, 0, null, null, 6, \"div\", [[\"class\", \"col-md-4\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 5).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_v.context.$implicit.includeActivityOnDealSheet = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(5, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(7, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(9, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null)], function (_ck, _v) { var currVal_8 = _v.context.$implicit.includeActivityOnDealSheet; _ck(_v, 7, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.vendorName; _ck(_v, 2, 0, currVal_0); var currVal_1 = i0.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 9).ngClassValid; var currVal_6 = i0.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_AdminSettingsAdvancedComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 13, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_vendorDataSettings\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 7, \"div\", [[\"class\", \"settingItem below\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 4, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2 settingHeader\"], [\"translate\", \"vendor\"]], null, null, null, null, null)), i0.ɵdid(9, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(10, 0, null, null, 1, \"div\", [[\"class\", \"col-md-4 settingHeader\"], [\"translate\", \"dsAdmin_includeActivityOnDealsheet\"]], null, null, null, null, null)), i0.ɵdid(11, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsAdvancedComponent_7)), i0.ɵdid(13, 278528, null, 0, i6.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_vendorDataSettings\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_vendorDataSettings\"; var currVal_2 = \"dsAdmin_vendorDataSettingsTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = \"vendor\"; _ck(_v, 9, 0, currVal_3); var currVal_4 = \"dsAdmin_includeActivityOnDealsheet\"; _ck(_v, 11, 0, currVal_4); var currVal_5 = _co.dsa.extDealerVendor; _ck(_v, 13, 0, currVal_5); }, null); }\nfunction View_AdminSettingsAdvancedComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 170, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 50, \"div\", [[\"class\", \"col-md-11\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_defaultVehicleMapping\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 45, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin-top:5px\"], [\"translate\", \"make\"]], null, null, null, null, null)), i0.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(9, 0, null, null, 8, \"div\", [[\"style\", \"float:left;margin-left:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 7, \"select\", [[\"class\", \"form-control\"], [\"style\", \"width:200px\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 11).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 11).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedMakeId = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.updateModelsTrims() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(11, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(13, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(15, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsAdvancedComponent_1)), i0.ɵdid(17, 278528, null, 0, i6.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(18, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin:5px 0 0 10px\"], [\"translate\", \"year\"]], null, null, null, null, null)), i0.ɵdid(19, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 8, \"div\", [[\"style\", \"float:left;margin-left:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(21, 0, null, null, 7, \"select\", [[\"class\", \"form-control\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 22).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 22).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedYear = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.updateModelsTrims() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(22, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(24, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(26, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsAdvancedComponent_2)), i0.ɵdid(28, 278528, null, 0, i6.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(29, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin:5px 0 0 10px\"], [\"translate\", \"model\"]], null, null, null, null, null)), i0.ɵdid(30, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(31, 0, null, null, 8, \"div\", [[\"style\", \"float:left;margin-left:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(32, 0, null, null, 7, \"select\", [[\"class\", \"form-control\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 33).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 33).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedModelId = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.updateTrims() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(33, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(35, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(37, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsAdvancedComponent_3)), i0.ɵdid(39, 278528, null, 0, i6.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(40, 0, null, null, 2, \"div\", [[\"style\", \"float:left;margin:5px 0 0 10px\"], [\"translate\", \"trim\"]], null, null, null, null, null)), i0.ɵdid(41, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵted(-1, null, [\"Trim\"])), (_l()(), i0.ɵeld(43, 0, null, null, 8, \"div\", [[\"style\", \"float:left;margin-left:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(44, 0, null, null, 7, \"select\", [[\"class\", \"form-control\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 45).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 45).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.defaultTrimID = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(45, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(47, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(49, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsAdvancedComponent_4)), i0.ɵdid(51, 278528, null, 0, i6.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(52, 0, null, null, 118, \"div\", [[\"class\", \"col-md-11\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(53, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(54, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_tradeInSettings\"]], null, null, null, null, null)), i0.ɵdid(55, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(56, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(57, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(58, 0, null, null, 6, \"div\", [[\"class\", \"settingItem below\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(59, 0, null, null, 3, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵted(60, null, [\" \", \": \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(63, 0, null, null, 1, \"div\", [[\"style\", \"float:left;font-size:12px;margin:2px 0 0 20px\"], [\"translate\", \"dsAdmin_tradeInValueNote\"]], null, null, null, null, null)), i0.ɵdid(64, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(65, 0, null, null, 9, \"div\", [[\"class\", \"settingItem below\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(66, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(67, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 68).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 68).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.useTradeMileageAdjustment = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(68, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(70, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(72, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(73, null, [\" \", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(75, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(76, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_subprimeCreditSettings\"]], null, null, null, null, null)), i0.ɵdid(77, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(78, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(79, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(80, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(81, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(82, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 83).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 83).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.enableCustomAPRForSubprime = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(83, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(85, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(87, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(88, null, [\" \", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(90, 0, null, null, 19, \"div\", [[\"class\", \"settingItem\"], [\"style\", \"margin-left:10px\"]], null, null, null, null, null)), (_l()(), i0.ɵted(91, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(93, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.CustomAPRForSubprimeMax\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 94)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 94).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 94)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 94)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 95).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 95).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 95).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"change\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.customAPRForSubprimeMax = $event.target.value) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(94, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(95, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(97, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, null), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(99, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(100, null, [\" %, \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(102, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.CustomAPRForSubprimeValue\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 103)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 103).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 103)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 103)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 104).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 104).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 104).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"change\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.customAPRForSubprimeValue = $event.target.value) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(103, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(104, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(106, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, null), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(108, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"])), (_l()(), i0.ɵeld(110, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"], [\"style\", \"margin-left:10px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(111, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(112, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 113).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 113).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.customAPRForSubprimeCaptiveBankRebates = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(113, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(115, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(117, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(118, null, [\" \", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(120, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(121, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_conversionTolerance\"]], null, null, null, null, null)), i0.ɵdid(122, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(123, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(124, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(125, 0, null, null, 10, \"div\", [[\"class\", \"settingItem below\"]], null, null, null, null, null)), (_l()(), i0.ɵted(126, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(128, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSetting.ConversionAlertTolerence\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 129)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 129).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 129)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 129)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 130).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 130).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 130).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.conversionAlertTolerence = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(129, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(130, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(132, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(134, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(-1, null, [\" % \"])), (_l()(), i0.ɵeld(136, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(137, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_usersManagement\"]], null, null, null, null, null)), i0.ɵdid(138, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(139, 0, null, null, 1, \"tooltip\", [[\"class\", \"userManagement\"]], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(140, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(141, 0, null, null, 9, \"div\", [[\"class\", \"settingItem below\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(142, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(143, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 144).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 144).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.enforcePasswordSecurity = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(144, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(146, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(148, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(149, null, [\" \", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(151, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsAdvancedComponent_5)), i0.ɵdid(153, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsAdvancedComponent_6)), i0.ɵdid(155, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(156, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(157, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_includeCRMActivityInActivitySearch\"]], null, null, null, null, null)), i0.ɵdid(158, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(159, 0, null, null, 1, \"tooltip\", [], null, null, null, i3.View_TooltipComponent_0, i3.RenderType_TooltipComponent)), i0.ɵdid(160, 49152, null, 0, i4.TooltipComponent, [i5.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(161, 0, null, null, 9, \"div\", [[\"class\", \"settingItem below\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(162, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(163, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 164).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 164).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.includeCRMActivityInSearch = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(164, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(166, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(168, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(169, null, [\" \", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_defaultVehicleMapping\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_defaultVehicleMapping\"; var currVal_2 = \"dsAdmin_defaultVehicleMappingTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = \"make\"; _ck(_v, 8, 0, currVal_3); var currVal_11 = _co.selectedMakeId; _ck(_v, 13, 0, currVal_11); var currVal_12 = _co.dsa.dealerMake; _ck(_v, 17, 0, currVal_12); var currVal_13 = \"year\"; _ck(_v, 19, 0, currVal_13); var currVal_21 = _co.selectedYear; _ck(_v, 24, 0, currVal_21); var currVal_22 = _co.dsa.dealerMakeYears; _ck(_v, 28, 0, currVal_22); var currVal_23 = \"model\"; _ck(_v, 30, 0, currVal_23); var currVal_31 = _co.selectedModelId; _ck(_v, 35, 0, currVal_31); var currVal_32 = _co.models; _ck(_v, 39, 0, currVal_32); var currVal_33 = \"trim\"; _ck(_v, 41, 0, currVal_33); var currVal_41 = _co.dsa.dealerSetting.defaultTrimID; _ck(_v, 47, 0, currVal_41); var currVal_42 = _co.trims; _ck(_v, 51, 0, currVal_42); var currVal_43 = \"dsAdmin_tradeInSettings\"; _ck(_v, 55, 0, currVal_43); var currVal_44 = \"dsAdmin_tradeInSettings\"; var currVal_45 = \"dsAdmin_tradeInSettingsTooltip\"; _ck(_v, 57, 0, currVal_44, currVal_45); var currVal_48 = \"dsAdmin_tradeInValueNote\"; _ck(_v, 64, 0, currVal_48); var currVal_56 = (_co.dsa.dealerSetting.extTradeValueSourceID > 0); var currVal_57 = _co.dsa.dealerSetting.useTradeMileageAdjustment; _ck(_v, 70, 0, currVal_56, currVal_57); var currVal_59 = \"dsAdmin_subprimeCreditSettings\"; _ck(_v, 77, 0, currVal_59); var currVal_60 = \"dsAdmin_subprimeCreditSettings\"; var currVal_61 = \"dsAdmin_subprimeCreditSettingsTooltip\"; _ck(_v, 79, 0, currVal_60, currVal_61); var currVal_69 = _co.dsa.dealerSetting.enableCustomAPRForSubprime; _ck(_v, 85, 0, currVal_69); var currVal_79 = \"DealerSetting.CustomAPRForSubprimeMax\"; var currVal_80 = !_co.dsa.dealerSetting.enableCustomAPRForSubprime; var currVal_81 = _co.dsa.dealerSetting.customAPRForSubprimeMax; _ck(_v, 97, 0, currVal_79, currVal_80, currVal_81); var currVal_90 = \"DealerSetting.CustomAPRForSubprimeValue\"; var currVal_91 = !_co.dsa.dealerSetting.enableCustomAPRForSubprime; var currVal_92 = _co.dsa.dealerSetting.customAPRForSubprimeValue; _ck(_v, 106, 0, currVal_90, currVal_91, currVal_92); var currVal_100 = !_co.dsa.dealerSetting.enableCustomAPRForSubprime; var currVal_101 = _co.dsa.dealerSetting.customAPRForSubprimeCaptiveBankRebates; _ck(_v, 115, 0, currVal_100, currVal_101); var currVal_103 = \"dsAdmin_conversionTolerance\"; _ck(_v, 122, 0, currVal_103); var currVal_104 = \"dsAdmin_conversionTolerance\"; var currVal_105 = \"dsAdmin_conversionToleranceTooltip\"; _ck(_v, 124, 0, currVal_104, currVal_105); var currVal_114 = \"DealerSetting.ConversionAlertTolerence\"; var currVal_115 = _co.dsa.dealerSetting.conversionAlertTolerence; _ck(_v, 132, 0, currVal_114, currVal_115); var currVal_116 = \"dsAdmin_usersManagement\"; _ck(_v, 138, 0, currVal_116); var currVal_117 = \"dsAdmin_usersManagement\"; var currVal_118 = \"dsAdmin_usersManagementTooltip\"; _ck(_v, 140, 0, currVal_117, currVal_118); var currVal_126 = _co.dsa.dealerSetting.enforcePasswordSecurity; _ck(_v, 146, 0, currVal_126); var currVal_128 = _co.dsa.isSelfRegistrationAccess; _ck(_v, 153, 0, currVal_128); var currVal_129 = (_co.dsa.extDealerVendor.length > 0); _ck(_v, 155, 0, currVal_129); var currVal_130 = \"dsAdmin_includeCRMActivityInActivitySearch\"; _ck(_v, 158, 0, currVal_130); var currVal_131 = \"dsAdmin_includeCRMActivityInActivitySearch\"; var currVal_132 = \"dsAdmin_includeCRMActivityInActivitySearchTooltip\"; _ck(_v, 160, 0, currVal_131, currVal_132); var currVal_140 = _co.dsa.dealerSetting.includeCRMActivityInSearch; _ck(_v, 166, 0, currVal_140); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵnov(_v, 15).ngClassUntouched; var currVal_5 = i0.ɵnov(_v, 15).ngClassTouched; var currVal_6 = i0.ɵnov(_v, 15).ngClassPristine; var currVal_7 = i0.ɵnov(_v, 15).ngClassDirty; var currVal_8 = i0.ɵnov(_v, 15).ngClassValid; var currVal_9 = i0.ɵnov(_v, 15).ngClassInvalid; var currVal_10 = i0.ɵnov(_v, 15).ngClassPending; _ck(_v, 10, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); var currVal_14 = i0.ɵnov(_v, 26).ngClassUntouched; var currVal_15 = i0.ɵnov(_v, 26).ngClassTouched; var currVal_16 = i0.ɵnov(_v, 26).ngClassPristine; var currVal_17 = i0.ɵnov(_v, 26).ngClassDirty; var currVal_18 = i0.ɵnov(_v, 26).ngClassValid; var currVal_19 = i0.ɵnov(_v, 26).ngClassInvalid; var currVal_20 = i0.ɵnov(_v, 26).ngClassPending; _ck(_v, 21, 0, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20); var currVal_24 = i0.ɵnov(_v, 37).ngClassUntouched; var currVal_25 = i0.ɵnov(_v, 37).ngClassTouched; var currVal_26 = i0.ɵnov(_v, 37).ngClassPristine; var currVal_27 = i0.ɵnov(_v, 37).ngClassDirty; var currVal_28 = i0.ɵnov(_v, 37).ngClassValid; var currVal_29 = i0.ɵnov(_v, 37).ngClassInvalid; var currVal_30 = i0.ɵnov(_v, 37).ngClassPending; _ck(_v, 32, 0, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30); var currVal_34 = i0.ɵnov(_v, 49).ngClassUntouched; var currVal_35 = i0.ɵnov(_v, 49).ngClassTouched; var currVal_36 = i0.ɵnov(_v, 49).ngClassPristine; var currVal_37 = i0.ɵnov(_v, 49).ngClassDirty; var currVal_38 = i0.ɵnov(_v, 49).ngClassValid; var currVal_39 = i0.ɵnov(_v, 49).ngClassInvalid; var currVal_40 = i0.ɵnov(_v, 49).ngClassPending; _ck(_v, 44, 0, currVal_34, currVal_35, currVal_36, currVal_37, currVal_38, currVal_39, currVal_40); var currVal_46 = i0.ɵunv(_v, 60, 0, i0.ɵnov(_v, 61).transform(\"source\")); var currVal_47 = i0.ɵunv(_v, 60, 1, i0.ɵnov(_v, 62).transform(_co.GetTradeInSource())); _ck(_v, 60, 0, currVal_46, currVal_47); var currVal_49 = i0.ɵnov(_v, 72).ngClassUntouched; var currVal_50 = i0.ɵnov(_v, 72).ngClassTouched; var currVal_51 = i0.ɵnov(_v, 72).ngClassPristine; var currVal_52 = i0.ɵnov(_v, 72).ngClassDirty; var currVal_53 = i0.ɵnov(_v, 72).ngClassValid; var currVal_54 = i0.ɵnov(_v, 72).ngClassInvalid; var currVal_55 = i0.ɵnov(_v, 72).ngClassPending; _ck(_v, 67, 0, currVal_49, currVal_50, currVal_51, currVal_52, currVal_53, currVal_54, currVal_55); var currVal_58 = i0.ɵunv(_v, 73, 0, i0.ɵnov(_v, 74).transform(\"dsAdmin_adjustTradeValueByMileage\")); _ck(_v, 73, 0, currVal_58); var currVal_62 = i0.ɵnov(_v, 87).ngClassUntouched; var currVal_63 = i0.ɵnov(_v, 87).ngClassTouched; var currVal_64 = i0.ɵnov(_v, 87).ngClassPristine; var currVal_65 = i0.ɵnov(_v, 87).ngClassDirty; var currVal_66 = i0.ɵnov(_v, 87).ngClassValid; var currVal_67 = i0.ɵnov(_v, 87).ngClassInvalid; var currVal_68 = i0.ɵnov(_v, 87).ngClassPending; _ck(_v, 82, 0, currVal_62, currVal_63, currVal_64, currVal_65, currVal_66, currVal_67, currVal_68); var currVal_70 = i0.ɵunv(_v, 88, 0, i0.ɵnov(_v, 89).transform(\"dsAdmin_enableCustomAPR\")); _ck(_v, 88, 0, currVal_70); var currVal_71 = i0.ɵunv(_v, 91, 0, i0.ɵnov(_v, 92).transform(\"dsAdmin_ifExistingVehicleAPRAbove\")); _ck(_v, 91, 0, currVal_71); var currVal_72 = i0.ɵnov(_v, 99).ngClassUntouched; var currVal_73 = i0.ɵnov(_v, 99).ngClassTouched; var currVal_74 = i0.ɵnov(_v, 99).ngClassPristine; var currVal_75 = i0.ɵnov(_v, 99).ngClassDirty; var currVal_76 = i0.ɵnov(_v, 99).ngClassValid; var currVal_77 = i0.ɵnov(_v, 99).ngClassInvalid; var currVal_78 = i0.ɵnov(_v, 99).ngClassPending; _ck(_v, 93, 0, currVal_72, currVal_73, currVal_74, currVal_75, currVal_76, currVal_77, currVal_78); var currVal_82 = i0.ɵunv(_v, 100, 0, i0.ɵnov(_v, 101).transform(\"dsAdmin_setAPRTo\")); _ck(_v, 100, 0, currVal_82); var currVal_83 = i0.ɵnov(_v, 108).ngClassUntouched; var currVal_84 = i0.ɵnov(_v, 108).ngClassTouched; var currVal_85 = i0.ɵnov(_v, 108).ngClassPristine; var currVal_86 = i0.ɵnov(_v, 108).ngClassDirty; var currVal_87 = i0.ɵnov(_v, 108).ngClassValid; var currVal_88 = i0.ɵnov(_v, 108).ngClassInvalid; var currVal_89 = i0.ɵnov(_v, 108).ngClassPending; _ck(_v, 102, 0, currVal_83, currVal_84, currVal_85, currVal_86, currVal_87, currVal_88, currVal_89); var currVal_93 = i0.ɵnov(_v, 117).ngClassUntouched; var currVal_94 = i0.ɵnov(_v, 117).ngClassTouched; var currVal_95 = i0.ɵnov(_v, 117).ngClassPristine; var currVal_96 = i0.ɵnov(_v, 117).ngClassDirty; var currVal_97 = i0.ɵnov(_v, 117).ngClassValid; var currVal_98 = i0.ɵnov(_v, 117).ngClassInvalid; var currVal_99 = i0.ɵnov(_v, 117).ngClassPending; _ck(_v, 112, 0, currVal_93, currVal_94, currVal_95, currVal_96, currVal_97, currVal_98, currVal_99); var currVal_102 = i0.ɵunv(_v, 118, 0, i0.ɵnov(_v, 119).transform(\"dsAdmin_applyCaptiveBankRebates\")); _ck(_v, 118, 0, currVal_102); var currVal_106 = i0.ɵunv(_v, 126, 0, i0.ɵnov(_v, 127).transform(\"dsAdmin_retailToLeaseConversionTolerance\")); _ck(_v, 126, 0, currVal_106); var currVal_107 = i0.ɵnov(_v, 134).ngClassUntouched; var currVal_108 = i0.ɵnov(_v, 134).ngClassTouched; var currVal_109 = i0.ɵnov(_v, 134).ngClassPristine; var currVal_110 = i0.ɵnov(_v, 134).ngClassDirty; var currVal_111 = i0.ɵnov(_v, 134).ngClassValid; var currVal_112 = i0.ɵnov(_v, 134).ngClassInvalid; var currVal_113 = i0.ɵnov(_v, 134).ngClassPending; _ck(_v, 128, 0, currVal_107, currVal_108, currVal_109, currVal_110, currVal_111, currVal_112, currVal_113); var currVal_119 = i0.ɵnov(_v, 148).ngClassUntouched; var currVal_120 = i0.ɵnov(_v, 148).ngClassTouched; var currVal_121 = i0.ɵnov(_v, 148).ngClassPristine; var currVal_122 = i0.ɵnov(_v, 148).ngClassDirty; var currVal_123 = i0.ɵnov(_v, 148).ngClassValid; var currVal_124 = i0.ɵnov(_v, 148).ngClassInvalid; var currVal_125 = i0.ɵnov(_v, 148).ngClassPending; _ck(_v, 143, 0, currVal_119, currVal_120, currVal_121, currVal_122, currVal_123, currVal_124, currVal_125); var currVal_127 = i0.ɵunv(_v, 149, 0, i0.ɵnov(_v, 150).transform(\"dsAdmin_enforcePasswordPolicy\")); _ck(_v, 149, 0, currVal_127); var currVal_133 = i0.ɵnov(_v, 168).ngClassUntouched; var currVal_134 = i0.ɵnov(_v, 168).ngClassTouched; var currVal_135 = i0.ɵnov(_v, 168).ngClassPristine; var currVal_136 = i0.ɵnov(_v, 168).ngClassDirty; var currVal_137 = i0.ɵnov(_v, 168).ngClassValid; var currVal_138 = i0.ɵnov(_v, 168).ngClassInvalid; var currVal_139 = i0.ɵnov(_v, 168).ngClassPending; _ck(_v, 163, 0, currVal_133, currVal_134, currVal_135, currVal_136, currVal_137, currVal_138, currVal_139); var currVal_141 = i0.ɵunv(_v, 169, 0, i0.ɵnov(_v, 170).transform(\"dsAdmin_includeCRMActivityInSearch\")); _ck(_v, 169, 0, currVal_141); }); }\nexports.View_AdminSettingsAdvancedComponent_0 = View_AdminSettingsAdvancedComponent_0;\nfunction View_AdminSettingsAdvancedComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-advanced\", [], null, null, null, View_AdminSettingsAdvancedComponent_0, RenderType_AdminSettingsAdvancedComponent)), i0.ɵdid(1, 114688, null, 0, i7.AdminSettingsAdvancedComponent, [i8.BsModalService, i2.TranslateService, i9.ToasterLoggerService, i10.DealerSettingsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminSettingsAdvancedComponent_Host_0 = View_AdminSettingsAdvancedComponent_Host_0;\nvar AdminSettingsAdvancedComponentNgFactory = i0.ɵccf(\"admin-settings-advanced\", i7.AdminSettingsAdvancedComponent, View_AdminSettingsAdvancedComponent_Host_0, { dsa: \"dsa\" }, {}, []);\nexports.AdminSettingsAdvancedComponentNgFactory = AdminSettingsAdvancedComponentNgFactory;\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
Trim
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ 'source' | translate }}: {{ GetTradeInSource() | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ 'dsAdmin_ifExistingVehicleAPRAbove' | translate }}\r\n %, {{ 'dsAdmin_setAPRTo' | translate }}\r\n %\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ 'dsAdmin_retailToLeaseConversionTolerance' | translate }}\r\n %\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ 'dsAdmin_selfRegistrationLink' | translate }} {{ selfRegistrationLink }}\r\n
\r\n
\r\n
0\">\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ item.vendorName }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".email-icon[_ngcontent-%COMP%]{vertical-align:text-bottom!important;margin-top:5px;background:url(https://assets.autoalert.com/img/autoalert-icons/icon-email-lake.svg) no-repeat;width:1em;height:36px;display:inline-block;line-height:1}\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./search-presets.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i4 = __importStar(require(\"../../icon/icon.component\"));\nvar i5 = __importStar(require(\"@angular/platform-browser\"));\nvar i6 = __importStar(require(\"ng-busy\"));\nvar i7 = __importStar(require(\"@angular/common\"));\nvar i8 = __importStar(require(\"./search-presets.component\"));\nvar i9 = __importStar(require(\"../../../services/search-preset.service\"));\nvar i10 = __importStar(require(\"../../../services/user.service\"));\nvar i11 = __importStar(require(\"@uirouter/core\"));\nvar styles_SearchPresetsComponent = [i0.styles];\nvar RenderType_SearchPresetsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_SearchPresetsComponent, data: {} });\nexports.RenderType_SearchPresetsComponent = RenderType_SearchPresetsComponent;\nfunction View_SearchPresetsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"span\", [[\"class\", \"\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"button\", [[\"class\", \"transparent\"], [\"type\", \"button\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSearchPresets() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-core-savedsearches-icon-000000\"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(5, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 5, 0); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"presetIconToolTip\")), \"\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_SearchPresetsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 4, \"div\", [[\"class\", \"spinner\"]], null, null, null, null, null)), i1.ɵprd(512, null, i6.InstanceConfigHolderService, i6.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i6.ɵa, i6.ɵa, []), i1.ɵdid(3, 409600, null, 0, i6.NgBusyDirective, [i6.ɵb, i6.InstanceConfigHolderService, i1.ComponentFactoryResolver, i6.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(4, { busy: 0, delay: 1 }), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 4, 0, _co.busy, 200); _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_SearchPresetsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"h5\", [[\"class\", \"predefined\"], [\"translate\", \"userSearches\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"userSearches\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SearchPresetsComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"hr\", [], null, null, null, null, null))], null, null); }\nfunction View_SearchPresetsComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"li\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"a\", [[\"href\", \"#\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.navigate(_v.context.$implicit.userSearchConditionID) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.searchConditionName; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_SearchPresetsComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"h5\", [[\"class\", \"predefined\"], [\"translate\", \"dealerSearches\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dealerSearches\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SearchPresetsComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"hr\", [], null, null, null, null, null))], null, null); }\nfunction View_SearchPresetsComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"li\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"a\", [[\"href\", \"#\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.navigate(_v.context.$implicit.userSearchConditionID) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.searchConditionName; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_SearchPresetsComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"h5\", [[\"class\", \"predefined\"], [\"translate\", \"predefinedSearches\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"predefinedSearches\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SearchPresetsComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"hr\", [], null, null, null, null, null))], null, null); }\nfunction View_SearchPresetsComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"li\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"a\", [[\"href\", \"#\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.navigate(_v.context.$implicit.userSearchConditionID) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.context.$implicit.searchConditionName; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_SearchPresetsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 28, \"div\", [[\"class\", \"recent-search header-modal-style\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"h5\", [[\"class\", \"h5-modal\"], [\"translate\", \"searches\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_3)), i1.ɵdid(4, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 23, \"div\", [[\"class\", \"header-modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_4)), i1.ɵdid(7, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_5)), i1.ɵdid(9, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"ul\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_6)), i1.ɵdid(12, 278528, null, 0, i7.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_7)), i1.ɵdid(14, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_8)), i1.ɵdid(16, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 3, \"ul\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_SearchPresetsComponent_9)), i1.ɵdid(19, 278528, null, 0, i7.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵpid(0, i7.SlicePipe, []), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_10)), i1.ɵdid(22, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_11)), i1.ɵdid(24, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(25, 0, null, null, 3, \"ul\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_SearchPresetsComponent_12)), i1.ɵdid(27, 278528, null, 0, i7.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵpid(0, i7.SlicePipe, [])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"searches\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.searchPresets.length == 0); _ck(_v, 4, 0, currVal_1); var currVal_2 = (_co.userPresets.length > 0); _ck(_v, 7, 0, currVal_2); var currVal_3 = (_co.userPresets.length > 0); _ck(_v, 9, 0, currVal_3); var currVal_4 = _co.userPresets; _ck(_v, 12, 0, currVal_4); var currVal_5 = (_co.dealerPresets.length > 0); _ck(_v, 14, 0, currVal_5); var currVal_6 = (_co.dealerPresets.length > 0); _ck(_v, 16, 0, currVal_6); var currVal_7 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(_co.dealerPresets, 0, 10)); _ck(_v, 19, 0, currVal_7); var currVal_8 = (_co.commonPresets.length > 0); _ck(_v, 22, 0, currVal_8); var currVal_9 = (_co.commonPresets.length > 0); _ck(_v, 24, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 27, 0, i1.ɵnov(_v, 28).transform(_co.commonPresets, 0, 10)); _ck(_v, 27, 0, currVal_10); }, null); }\nfunction View_SearchPresetsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_1)), i1.ɵdid(1, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SearchPresetsComponent_2)), i1.ɵdid(3, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isSltUser; _ck(_v, 1, 0, currVal_0); var currVal_1 = (!_co.isSltUser && _co.visible); _ck(_v, 3, 0, currVal_1); }, null); }\nexports.View_SearchPresetsComponent_0 = View_SearchPresetsComponent_0;\nfunction View_SearchPresetsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"search-presets\", [], null, null, null, View_SearchPresetsComponent_0, RenderType_SearchPresetsComponent)), i1.ɵdid(1, 245760, null, 0, i8.SearchPresetsComponent, [i9.SearchPresetService, i10.UserService, i11.StateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_SearchPresetsComponent_Host_0 = View_SearchPresetsComponent_Host_0;\nvar SearchPresetsComponentNgFactory = i1.ɵccf(\"search-presets\", i8.SearchPresetsComponent, View_SearchPresetsComponent_Host_0, { visible: \"visible\" }, { visibleChange: \"visibleChange\" }, []);\nexports.SearchPresetsComponentNgFactory = SearchPresetsComponentNgFactory;\n","\r\n \r\n\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".mobile-activities[_ngcontent-%COMP%]{margin-left:-6px;padding-right:6px;width:calc(100vw)}.activity-list[_ngcontent-%COMP%]{height:calc(100vh - 112px)}.activity-list[_ngcontent-%COMP%] .activity-icon{padding-right:5px;padding-left:0;vertical-align:middle}.activity-list[_ngcontent-%COMP%] .activity-timestamp{display:block} icon.icon.lg{font-size:25px;color:#1f8bd5} .svg-icon{width:22px;height:22px;padding:1px;margin-bottom:1px;margin-top:1px} .selectedbar{border-bottom:4px solid #008be8} .icon-class, icon{font-size:20px} .icon-class:not([icon]), icon:not([icon]){vertical-align:middle;line-height:1} .icon-class[icon], icon[icon]{vertical-align:sub} .icon-class svg, icon svg{width:16px;height:16px} .icon-class.-size-33-30, icon.-size-33-30{font-size:29px} .icon-class.-size-33-30 svg, icon.-size-33-30 svg{width:25px;height:25px} .icon-class.-size-34, icon.-size-34{font-size:25px} .icon-class.-size-34[icon], icon.-size-34[icon]{font-size:25px} .icon-class.-size-34 svg, icon.-size-34 svg{width:25px;height:25px} customer-connect .modal-body{padding-bottom:0!important;padding-top:0!important} customer-connect .modal-body .form-group{margin-bottom:0} customer-connect .customer-connect-log-button .form-group{margin-left:35px;margin-right:-25px;margin-bottom:5px;padding-top:10px;float:right!important} customer-connect .do-not-contact-options{margin-top:10px}\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/contract/warranty-actions.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar $export = require('./_export');\nvar $some = require('./_array-methods')(3);\n\n$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments[1]);\n }\n});\n","module.exports = \"\"","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProgramSourceTypes = {\n default: 0,\n fordIncentives: 1\n};\n","export const ProgramSourceTypes = {\r\n default: 0,\r\n fordIncentives: 1\r\n}","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = __webpack_public_path__ + \"icon-warning-lemon.22d099cb0072b736fdc4.svg\";","module.exports = \"icon-Pando-Settings\"","// 20.2.2.12 Math.cosh(x)\nvar $export = require('./_export');\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n cosh: function cosh(x) {\n return (exp(x = +x) + exp(-x)) / 2;\n }\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i3 = __importStar(require(\"../../icon/icon.component\"));\nvar i4 = __importStar(require(\"@angular/platform-browser\"));\nvar i5 = __importStar(require(\"@ngx-translate/core\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./modal.component\"));\nvar styles_ModalComponent = [i0.styles];\nvar RenderType_ModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ModalComponent, data: {} });\nexports.RenderType_ModalComponent = RenderType_ModalComponent;\nfunction View_ModalComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"modal-header-buttons\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onClose.emit() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], [[8, \"title\", 0]], null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(2, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], null, null), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { _ck(_v, 2, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", (_co.closeButtonText ? _co.closeButtonText : i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 3).transform(\"close\"))), \"\"); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ModalComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"modal-title-bar\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"modal-title-bar-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"modal-header-icon\"]], null, null, null, null, null)), i1.ɵncd(null, 0), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"h5\", [], [[8, \"className\", 0], [8, \"innerHTML\", 1]], null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"modal-header-extras\"]], null, null, null, null, null)), i1.ɵncd(null, 1), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ModalComponent_2)), i1.ɵdid(8, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = ((_co.closeIconVisible == null) || (_co.closeIconVisible == true)); _ck(_v, 8, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.headerTextClass; var currVal_1 = _co.translatedHeaderTitle; _ck(_v, 4, 0, currVal_0, currVal_1); }); }\nfunction View_ModalComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary qa-modal-btn-cancel\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onClose.emit() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", (_co.closeButtonText ? _co.closeButtonText : \"cancel\"), \"\"); _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ModalComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary qa-modal-btn-submit\"]], [[8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSubmit.emit() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵinlineInterpolate(1, \"\", (_co.submitButtonText ? _co.submitButtonText : \"submit\"), \"\"); _ck(_v, 1, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.submitButtonDisabled; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_ModalComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_ModalComponent_1)), i1.ɵdid(1, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 4, \"div\", [[\"class\", \"modal-body form-horizontal\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), i1.ɵncd(null, 2), (_l()(), i1.ɵeld(7, 0, null, null, 7, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 4, \"div\", [[\"class\", \"button-span pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ModalComponent_3)), i1.ɵdid(10, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ModalComponent_4)), i1.ɵdid(12, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"div\", [[\"class\", \"dynamic-buttons\"]], null, null, null, null, null)), i1.ɵncd(null, 3)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.includeTitleBar; _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.closeButtonVisible; _ck(_v, 10, 0, currVal_1); var currVal_2 = _co.submitButtonVisible; _ck(_v, 12, 0, currVal_2); }, null); }\nexports.View_ModalComponent_0 = View_ModalComponent_0;\nfunction View_ModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"modal\", [], null, null, null, View_ModalComponent_0, RenderType_ModalComponent)), i1.ɵdid(1, 638976, null, 0, i7.ModalComponent, [i5.TranslateService, i4.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ModalComponent_Host_0 = View_ModalComponent_Host_0;\nvar ModalComponentNgFactory = i1.ɵccf(\"modal\", i7.ModalComponent, View_ModalComponent_Host_0, { headerTitle: \"headerTitle\", includeTitleBar: \"includeTitleBar\", submitButtonVisible: \"submitButtonVisible\", submitButtonDisabled: \"submitButtonDisabled\", submitButtonText: \"submitButtonText\", closeButtonText: \"closeButtonText\", closeButtonVisible: \"closeButtonVisible\", closeIconVisible: \"closeIconVisible\", headerTextClass: \"headerTextClass\" }, { onClose: \"onClose\", onSubmit: \"onSubmit\" }, [\"modal-header-icon\", \"modal-header\", \"modal-body\", \"modal-footer\"]);\nexports.ModalComponentNgFactory = ModalComponentNgFactory;\n","
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar EntityClientService = /** @class */ (function (_super) {\n __extends(EntityClientService, _super);\n function EntityClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetExtByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/GetExt/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetExtByEntityidGET = function (entityId) {\n return this.GetExtByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n EntityClientService.prototype.ReassignToUserIdPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Entity/ReassignToUserId\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n EntityClientService.prototype.ReassignToUserIdPOST = function (request) {\n return this.ReassignToUserIdPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.CreditPrescreenRequestByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/CreditPrescreenRequest/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.CreditPrescreenRequestByEntityidPOST = function (entityId) {\n return this.CreditPrescreenRequestByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.CreditPrescreenStatusByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/CreditPrescreenStatus/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.CreditPrescreenStatusByEntityidGET = function (entityId) {\n return this.CreditPrescreenStatusByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.MarkAsReadPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = entityId;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Entity/MarkAsRead\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.MarkAsReadPOST = function (entityId) {\n return this.MarkAsReadPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.CustomerDoesNotOwnVehicleByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/CustomerDoesNotOwnVehicle/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.CustomerDoesNotOwnVehicleByEntityidPOST = function (entityId) {\n return this.CustomerDoesNotOwnVehicleByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.VehiclePurchasedByDealerByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/VehiclePurchasedByDealer/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.VehiclePurchasedByDealerByEntityidPOST = function (entityId) {\n return this.VehiclePurchasedByDealerByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.VehiclePaidOffByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/VehiclePaidOff/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.VehiclePaidOffByEntityidPOST = function (entityId) {\n return this.VehiclePaidOffByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.VehicleNotPaidOffByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/VehicleNotPaidOff/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.VehicleNotPaidOffByEntityidPOST = function (entityId) {\n return this.VehicleNotPaidOffByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.HasWarrantyByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/HasWarranty/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.HasWarrantyByEntityidPOST = function (entityId) {\n return this.HasWarrantyByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.SoldWarrantyByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/SoldWarranty/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.SoldWarrantyByEntityidPOST = function (entityId) {\n return this.SoldWarrantyByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.UndoHasWarrantyByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/UndoHasWarranty/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.UndoHasWarrantyByEntityidPOST = function (entityId) {\n return this.UndoHasWarrantyByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n EntityClientService.prototype.UpdateMileagePOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Entity/UpdateMileage\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n EntityClientService.prototype.UpdateMileagePOST = function (request) {\n return this.UpdateMileagePOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.MarkAsSoldByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/MarkAsSold/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.MarkAsSoldByEntityidPOST = function (entityId) {\n return this.MarkAsSoldByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.WatchByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/Watch/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.WatchByEntityidPOST = function (entityId) {\n return this.WatchByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.UnwatchByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/Unwatch/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.UnwatchByEntityidPOST = function (entityId) {\n return this.UnwatchByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.ReopenByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/Reopen/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.ReopenByEntityidPOST = function (entityId) {\n return this.ReopenByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.UnmarkSoldWarrantyByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/UnmarkSoldWarranty/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.UnmarkSoldWarrantyByEntityidPOST = function (entityId) {\n return this.UnmarkSoldWarrantyByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param customerId undefined\n * @return Success\n */\n EntityClientService.prototype.GetEntityReportByCustomerIdByCustomeridGETResponse = function (customerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/GetEntityReportByCustomerId/\" + customerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param customerId undefined\n * @return Success\n */\n EntityClientService.prototype.GetEntityReportByCustomerIdByCustomeridGET = function (customerId) {\n return this.GetEntityReportByCustomerIdByCustomeridGETResponse(customerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `EntityClientService.GetEntityReportByDealerIdAndVinByDealeridByVinGETParams` containing the following parameters:\n *\n * - `vin`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n EntityClientService.prototype.GetEntityReportByDealerIdAndVinByDealeridByVinGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/GetEntityReportByDealerIdAndVin/\" + params.dealerId + \"/\" + params.vin), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `EntityClientService.GetEntityReportByDealerIdAndVinByDealeridByVinGETParams` containing the following parameters:\n *\n * - `vin`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n EntityClientService.prototype.GetEntityReportByDealerIdAndVinByDealeridByVinGET = function (params) {\n return this.GetEntityReportByDealerIdAndVinByDealeridByVinGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetEntityStatusByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/GetEntityStatus/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetEntityStatusByEntityidGET = function (entityId) {\n return this.GetEntityStatusByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.HasReviewProDealerByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/HasReviewProDealer/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.HasReviewProDealerByEntityidGET = function (entityId) {\n return this.HasReviewProDealerByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.HasGeoAlertDealerByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/HasGeoAlertDealer/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityClientService.prototype.HasGeoAlertDealerByEntityidGET = function (entityId) {\n return this.HasGeoAlertDealerByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetVehicleTurnPredictorByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/GetVehicleTurnPredictor/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetVehicleTurnPredictorByEntityidGET = function (entityId) {\n return this.GetVehicleTurnPredictorByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetActiveNLPNoLongerOwnByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/GetActiveNLPNoLongerOwn/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetActiveNLPNoLongerOwnByEntityidGET = function (entityId) {\n return this.GetActiveNLPNoLongerOwnByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `EntityClientService.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `agreed`:\n *\n * @return Success\n */\n EntityClientService.prototype.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/UpdateActiveNLPNoLongerOwn/\" + params.entityId + \"/\" + params.agreed), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param params The `EntityClientService.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `agreed`:\n *\n * @return Success\n */\n EntityClientService.prototype.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGET = function (params) {\n return this.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetEntityScoreFeatureByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/GetEntityScoreFeature/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n EntityClientService.prototype.GetEntityScoreFeatureByEntityidGET = function (entityId) {\n return this.GetEntityScoreFeatureByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `EntityClientService.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTParams` containing the following parameters:\n *\n * - `grantUserId`:\n *\n * - `entityId`:\n *\n * @return Success\n */\n EntityClientService.prototype.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/ExternalGrantEntityAccess/\" + params.entityId + \"/\" + params.grantUserId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `EntityClientService.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTParams` containing the following parameters:\n *\n * - `grantUserId`:\n *\n * - `entityId`:\n *\n * @return Success\n */\n EntityClientService.prototype.ExternalGrantEntityAccessByEntityidByGrantuseridPOST = function (params) {\n return this.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `EntityClientService.ExternalRevokeEntityAccessByEntityidByUseridPOSTParams` containing the following parameters:\n *\n * - `userId`:\n *\n * - `entityId`:\n *\n * @return Success\n */\n EntityClientService.prototype.ExternalRevokeEntityAccessByEntityidByUseridPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/ExternalRevokeEntityAccess/\" + params.entityId + \"/\" + params.userId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `EntityClientService.ExternalRevokeEntityAccessByEntityidByUseridPOSTParams` containing the following parameters:\n *\n * - `userId`:\n *\n * - `entityId`:\n *\n * @return Success\n */\n EntityClientService.prototype.ExternalRevokeEntityAccessByEntityidByUseridPOST = function (params) {\n return this.ExternalRevokeEntityAccessByEntityidByUseridPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `EntityClientService.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTParams` containing the following parameters:\n *\n * - `ownerUserId`:\n *\n * - `actingUserId`:\n *\n * - `entites`:\n *\n * @return Success\n */\n EntityClientService.prototype.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.entites;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/Entity/ExternalBulkAssignEntityOwners/\" + params.actingUserId + \"/\" + params.ownerUserId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `EntityClientService.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTParams` containing the following parameters:\n *\n * - `ownerUserId`:\n *\n * - `actingUserId`:\n *\n * - `entites`:\n *\n * @return Success\n */\n EntityClientService.prototype.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOST = function (params) {\n return this.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n EntityClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Entity/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n EntityClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n EntityClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Entity/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n EntityClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n EntityClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Entity/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n EntityClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n EntityClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Entity\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n EntityClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n EntityClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Entity\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n EntityClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n EntityClientService.GetExtByEntityidGETPath = '/api/Entity/GetExt/{entityId}';\n EntityClientService.ReassignToUserIdPOSTPath = '/api/Entity/ReassignToUserId';\n EntityClientService.CreditPrescreenRequestByEntityidPOSTPath = '/api/Entity/CreditPrescreenRequest/{entityId}';\n EntityClientService.CreditPrescreenStatusByEntityidGETPath = '/api/Entity/CreditPrescreenStatus/{entityId}';\n EntityClientService.MarkAsReadPOSTPath = '/api/Entity/MarkAsRead';\n EntityClientService.CustomerDoesNotOwnVehicleByEntityidPOSTPath = '/api/Entity/CustomerDoesNotOwnVehicle/{entityId}';\n EntityClientService.VehiclePurchasedByDealerByEntityidPOSTPath = '/api/Entity/VehiclePurchasedByDealer/{entityId}';\n EntityClientService.VehiclePaidOffByEntityidPOSTPath = '/api/Entity/VehiclePaidOff/{entityId}';\n EntityClientService.VehicleNotPaidOffByEntityidPOSTPath = '/api/Entity/VehicleNotPaidOff/{entityId}';\n EntityClientService.HasWarrantyByEntityidPOSTPath = '/api/Entity/HasWarranty/{entityId}';\n EntityClientService.SoldWarrantyByEntityidPOSTPath = '/api/Entity/SoldWarranty/{entityId}';\n EntityClientService.UndoHasWarrantyByEntityidPOSTPath = '/api/Entity/UndoHasWarranty/{entityId}';\n EntityClientService.UpdateMileagePOSTPath = '/api/Entity/UpdateMileage';\n EntityClientService.MarkAsSoldByEntityidPOSTPath = '/api/Entity/MarkAsSold/{entityId}';\n EntityClientService.WatchByEntityidPOSTPath = '/api/Entity/Watch/{entityId}';\n EntityClientService.UnwatchByEntityidPOSTPath = '/api/Entity/Unwatch/{entityId}';\n EntityClientService.ReopenByEntityidPOSTPath = '/api/Entity/Reopen/{entityId}';\n EntityClientService.UnmarkSoldWarrantyByEntityidPOSTPath = '/api/Entity/UnmarkSoldWarranty/{entityId}';\n EntityClientService.GetEntityReportByCustomerIdByCustomeridGETPath = '/api/Entity/GetEntityReportByCustomerId/{customerId}';\n EntityClientService.GetEntityReportByDealerIdAndVinByDealeridByVinGETPath = '/api/Entity/GetEntityReportByDealerIdAndVin/{dealerId}/{vin}';\n EntityClientService.GetEntityStatusByEntityidGETPath = '/api/Entity/GetEntityStatus/{entityId}';\n EntityClientService.HasReviewProDealerByEntityidGETPath = '/api/Entity/HasReviewProDealer/{entityId}';\n EntityClientService.HasGeoAlertDealerByEntityidGETPath = '/api/Entity/HasGeoAlertDealer/{entityId}';\n EntityClientService.GetVehicleTurnPredictorByEntityidGETPath = '/api/Entity/GetVehicleTurnPredictor/{entityId}';\n EntityClientService.GetActiveNLPNoLongerOwnByEntityidGETPath = '/api/Entity/GetActiveNLPNoLongerOwn/{entityId}';\n EntityClientService.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETPath = '/api/Entity/UpdateActiveNLPNoLongerOwn/{entityId}/{agreed}';\n EntityClientService.GetEntityScoreFeatureByEntityidGETPath = '/api/Entity/GetEntityScoreFeature/{entityId}';\n EntityClientService.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTPath = '/api/Entity/ExternalGrantEntityAccess/{entityId}/{grantUserId}';\n EntityClientService.ExternalRevokeEntityAccessByEntityidByUseridPOSTPath = '/api/Entity/ExternalRevokeEntityAccess/{entityId}/{userId}';\n EntityClientService.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTPath = '/api/Entity/ExternalBulkAssignEntityOwners/{actingUserId}/{ownerUserId}';\n EntityClientService.ByIdGETPath = '/api/Entity/{id}';\n EntityClientService.ByIdDELETEPath = '/api/Entity/{id}';\n EntityClientService.GetManyGETPath = '/api/Entity/GetMany';\n EntityClientService.PUTPath = '/api/Entity';\n EntityClientService.POSTPath = '/api/Entity';\n EntityClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function EntityClientService_Factory() { return new EntityClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: EntityClientService, providedIn: \"root\" });\n return EntityClientService;\n}(base_service_1.BaseService));\nexports.EntityClientService = EntityClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { EntityExternalDto } from '../models/entity-external-dto';\r\nimport { EntityReassignRequest } from '../models/entity-reassign-request';\r\nimport { CreditPrescreenStatusDto } from '../models/credit-prescreen-status-dto';\r\nimport { UpdateMileageRequest } from '../models/update-mileage-request';\r\nimport { EntityReportDto } from '../models/entity-report-dto';\r\nimport { EntityReport2Dto } from '../models/entity-report-2dto';\r\nimport { VehicleTurnPredictorDto } from '../models/vehicle-turn-predictor-dto';\r\nimport { NLPNoLongerOwnDto } from '../models/nlpno-longer-own-dto';\r\nimport { EntityScoreFeatureDto } from '../models/entity-score-feature-dto';\r\nimport { PandoXEntityGrantAccessResultDto } from '../models/pando-xentity-grant-access-result-dto';\r\nimport { EntityReassignResultDto } from '../models/entity-reassign-result-dto';\r\nimport { EntityDto } from '../models/entity-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass EntityClientService extends __BaseService {\r\n static readonly GetExtByEntityidGETPath = '/api/Entity/GetExt/{entityId}';\r\n static readonly ReassignToUserIdPOSTPath = '/api/Entity/ReassignToUserId';\r\n static readonly CreditPrescreenRequestByEntityidPOSTPath = '/api/Entity/CreditPrescreenRequest/{entityId}';\r\n static readonly CreditPrescreenStatusByEntityidGETPath = '/api/Entity/CreditPrescreenStatus/{entityId}';\r\n static readonly MarkAsReadPOSTPath = '/api/Entity/MarkAsRead';\r\n static readonly CustomerDoesNotOwnVehicleByEntityidPOSTPath = '/api/Entity/CustomerDoesNotOwnVehicle/{entityId}';\r\n static readonly VehiclePurchasedByDealerByEntityidPOSTPath = '/api/Entity/VehiclePurchasedByDealer/{entityId}';\r\n static readonly VehiclePaidOffByEntityidPOSTPath = '/api/Entity/VehiclePaidOff/{entityId}';\r\n static readonly VehicleNotPaidOffByEntityidPOSTPath = '/api/Entity/VehicleNotPaidOff/{entityId}';\r\n static readonly HasWarrantyByEntityidPOSTPath = '/api/Entity/HasWarranty/{entityId}';\r\n static readonly SoldWarrantyByEntityidPOSTPath = '/api/Entity/SoldWarranty/{entityId}';\r\n static readonly UndoHasWarrantyByEntityidPOSTPath = '/api/Entity/UndoHasWarranty/{entityId}';\r\n static readonly UpdateMileagePOSTPath = '/api/Entity/UpdateMileage';\r\n static readonly MarkAsSoldByEntityidPOSTPath = '/api/Entity/MarkAsSold/{entityId}';\r\n static readonly WatchByEntityidPOSTPath = '/api/Entity/Watch/{entityId}';\r\n static readonly UnwatchByEntityidPOSTPath = '/api/Entity/Unwatch/{entityId}';\r\n static readonly ReopenByEntityidPOSTPath = '/api/Entity/Reopen/{entityId}';\r\n static readonly UnmarkSoldWarrantyByEntityidPOSTPath = '/api/Entity/UnmarkSoldWarranty/{entityId}';\r\n static readonly GetEntityReportByCustomerIdByCustomeridGETPath = '/api/Entity/GetEntityReportByCustomerId/{customerId}';\r\n static readonly GetEntityReportByDealerIdAndVinByDealeridByVinGETPath = '/api/Entity/GetEntityReportByDealerIdAndVin/{dealerId}/{vin}';\r\n static readonly GetEntityStatusByEntityidGETPath = '/api/Entity/GetEntityStatus/{entityId}';\r\n static readonly HasReviewProDealerByEntityidGETPath = '/api/Entity/HasReviewProDealer/{entityId}';\r\n static readonly HasGeoAlertDealerByEntityidGETPath = '/api/Entity/HasGeoAlertDealer/{entityId}';\r\n static readonly GetVehicleTurnPredictorByEntityidGETPath = '/api/Entity/GetVehicleTurnPredictor/{entityId}';\r\n static readonly GetActiveNLPNoLongerOwnByEntityidGETPath = '/api/Entity/GetActiveNLPNoLongerOwn/{entityId}';\r\n static readonly UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETPath = '/api/Entity/UpdateActiveNLPNoLongerOwn/{entityId}/{agreed}';\r\n static readonly GetEntityScoreFeatureByEntityidGETPath = '/api/Entity/GetEntityScoreFeature/{entityId}';\r\n static readonly ExternalGrantEntityAccessByEntityidByGrantuseridPOSTPath = '/api/Entity/ExternalGrantEntityAccess/{entityId}/{grantUserId}';\r\n static readonly ExternalRevokeEntityAccessByEntityidByUseridPOSTPath = '/api/Entity/ExternalRevokeEntityAccess/{entityId}/{userId}';\r\n static readonly ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTPath = '/api/Entity/ExternalBulkAssignEntityOwners/{actingUserId}/{ownerUserId}';\r\n static readonly ByIdGETPath = '/api/Entity/{id}';\r\n static readonly ByIdDELETEPath = '/api/Entity/{id}';\r\n static readonly GetManyGETPath = '/api/Entity/GetMany';\r\n static readonly PUTPath = '/api/Entity';\r\n static readonly POSTPath = '/api/Entity';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetExtByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/GetExt/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetExtByEntityidGET(entityId: string): __Observable {\r\n return this.GetExtByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as EntityExternalDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n ReassignToUserIdPOSTResponse(request?: EntityReassignRequest): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/ReassignToUserId`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n ReassignToUserIdPOST(request?: EntityReassignRequest): __Observable {\r\n return this.ReassignToUserIdPOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n CreditPrescreenRequestByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/CreditPrescreenRequest/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n CreditPrescreenRequestByEntityidPOST(entityId: string): __Observable {\r\n return this.CreditPrescreenRequestByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n CreditPrescreenStatusByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/CreditPrescreenStatus/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n CreditPrescreenStatusByEntityidGET(entityId: string): __Observable {\r\n return this.CreditPrescreenStatusByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as CreditPrescreenStatusDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n MarkAsReadPOSTResponse(entityId?: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = entityId;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/MarkAsRead`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n MarkAsReadPOST(entityId?: string): __Observable {\r\n return this.MarkAsReadPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n CustomerDoesNotOwnVehicleByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/CustomerDoesNotOwnVehicle/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n CustomerDoesNotOwnVehicleByEntityidPOST(entityId: string): __Observable {\r\n return this.CustomerDoesNotOwnVehicleByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n VehiclePurchasedByDealerByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/VehiclePurchasedByDealer/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n VehiclePurchasedByDealerByEntityidPOST(entityId: string): __Observable {\r\n return this.VehiclePurchasedByDealerByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n VehiclePaidOffByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/VehiclePaidOff/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n VehiclePaidOffByEntityidPOST(entityId: string): __Observable {\r\n return this.VehiclePaidOffByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n VehicleNotPaidOffByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/VehicleNotPaidOff/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n VehicleNotPaidOffByEntityidPOST(entityId: string): __Observable {\r\n return this.VehicleNotPaidOffByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n HasWarrantyByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/HasWarranty/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n HasWarrantyByEntityidPOST(entityId: string): __Observable {\r\n return this.HasWarrantyByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n SoldWarrantyByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/SoldWarranty/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n SoldWarrantyByEntityidPOST(entityId: string): __Observable {\r\n return this.SoldWarrantyByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n UndoHasWarrantyByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/UndoHasWarranty/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n UndoHasWarrantyByEntityidPOST(entityId: string): __Observable {\r\n return this.UndoHasWarrantyByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n UpdateMileagePOSTResponse(request?: UpdateMileageRequest): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/UpdateMileage`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n UpdateMileagePOST(request?: UpdateMileageRequest): __Observable {\r\n return this.UpdateMileagePOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n MarkAsSoldByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/MarkAsSold/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n MarkAsSoldByEntityidPOST(entityId: string): __Observable {\r\n return this.MarkAsSoldByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n WatchByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/Watch/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n WatchByEntityidPOST(entityId: string): __Observable {\r\n return this.WatchByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n UnwatchByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/Unwatch/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n UnwatchByEntityidPOST(entityId: string): __Observable {\r\n return this.UnwatchByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n ReopenByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/Reopen/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n ReopenByEntityidPOST(entityId: string): __Observable {\r\n return this.ReopenByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n UnmarkSoldWarrantyByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/UnmarkSoldWarranty/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n UnmarkSoldWarrantyByEntityidPOST(entityId: string): __Observable {\r\n return this.UnmarkSoldWarrantyByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param customerId undefined\r\n * @return Success\r\n */\r\n GetEntityReportByCustomerIdByCustomeridGETResponse(customerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/GetEntityReportByCustomerId/${customerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param customerId undefined\r\n * @return Success\r\n */\r\n GetEntityReportByCustomerIdByCustomeridGET(customerId: number): __Observable {\r\n return this.GetEntityReportByCustomerIdByCustomeridGETResponse(customerId).pipe(\r\n __map(_r => _r.body as EntityReportDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `EntityClientService.GetEntityReportByDealerIdAndVinByDealeridByVinGETParams` containing the following parameters:\r\n *\r\n * - `vin`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetEntityReportByDealerIdAndVinByDealeridByVinGETResponse(params: EntityClientService.GetEntityReportByDealerIdAndVinByDealeridByVinGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/GetEntityReportByDealerIdAndVin/${params.dealerId}/${params.vin}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `EntityClientService.GetEntityReportByDealerIdAndVinByDealeridByVinGETParams` containing the following parameters:\r\n *\r\n * - `vin`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetEntityReportByDealerIdAndVinByDealeridByVinGET(params: EntityClientService.GetEntityReportByDealerIdAndVinByDealeridByVinGETParams): __Observable {\r\n return this.GetEntityReportByDealerIdAndVinByDealeridByVinGETResponse(params).pipe(\r\n __map(_r => _r.body as EntityReport2Dto)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetEntityStatusByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse<100 | 200 | 300 | 400>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/GetEntityStatus/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse<100 | 200 | 300 | 400>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetEntityStatusByEntityidGET(entityId: string): __Observable<100 | 200 | 300 | 400> {\r\n return this.GetEntityStatusByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as 100 | 200 | 300 | 400)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n HasReviewProDealerByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/HasReviewProDealer/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n HasReviewProDealerByEntityidGET(entityId: string): __Observable {\r\n return this.HasReviewProDealerByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n HasGeoAlertDealerByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/HasGeoAlertDealer/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n HasGeoAlertDealerByEntityidGET(entityId: string): __Observable {\r\n return this.HasGeoAlertDealerByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetVehicleTurnPredictorByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/GetVehicleTurnPredictor/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetVehicleTurnPredictorByEntityidGET(entityId: string): __Observable {\r\n return this.GetVehicleTurnPredictorByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as VehicleTurnPredictorDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetActiveNLPNoLongerOwnByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/GetActiveNLPNoLongerOwn/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetActiveNLPNoLongerOwnByEntityidGET(entityId: string): __Observable> {\r\n return this.GetActiveNLPNoLongerOwnByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `EntityClientService.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `agreed`:\r\n *\r\n * @return Success\r\n */\r\n UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETResponse(params: EntityClientService.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/UpdateActiveNLPNoLongerOwn/${params.entityId}/${params.agreed}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `EntityClientService.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `agreed`:\r\n *\r\n * @return Success\r\n */\r\n UpdateActiveNLPNoLongerOwnByEntityidByAgreedGET(params: EntityClientService.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETParams): __Observable {\r\n return this.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETResponse(params).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetEntityScoreFeatureByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/GetEntityScoreFeature/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetEntityScoreFeatureByEntityidGET(entityId: string): __Observable> {\r\n return this.GetEntityScoreFeatureByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `EntityClientService.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTParams` containing the following parameters:\r\n *\r\n * - `grantUserId`:\r\n *\r\n * - `entityId`:\r\n *\r\n * @return Success\r\n */\r\n ExternalGrantEntityAccessByEntityidByGrantuseridPOSTResponse(params: EntityClientService.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/ExternalGrantEntityAccess/${params.entityId}/${params.grantUserId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `EntityClientService.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTParams` containing the following parameters:\r\n *\r\n * - `grantUserId`:\r\n *\r\n * - `entityId`:\r\n *\r\n * @return Success\r\n */\r\n ExternalGrantEntityAccessByEntityidByGrantuseridPOST(params: EntityClientService.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTParams): __Observable {\r\n return this.ExternalGrantEntityAccessByEntityidByGrantuseridPOSTResponse(params).pipe(\r\n __map(_r => _r.body as PandoXEntityGrantAccessResultDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `EntityClientService.ExternalRevokeEntityAccessByEntityidByUseridPOSTParams` containing the following parameters:\r\n *\r\n * - `userId`:\r\n *\r\n * - `entityId`:\r\n *\r\n * @return Success\r\n */\r\n ExternalRevokeEntityAccessByEntityidByUseridPOSTResponse(params: EntityClientService.ExternalRevokeEntityAccessByEntityidByUseridPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/ExternalRevokeEntityAccess/${params.entityId}/${params.userId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `EntityClientService.ExternalRevokeEntityAccessByEntityidByUseridPOSTParams` containing the following parameters:\r\n *\r\n * - `userId`:\r\n *\r\n * - `entityId`:\r\n *\r\n * @return Success\r\n */\r\n ExternalRevokeEntityAccessByEntityidByUseridPOST(params: EntityClientService.ExternalRevokeEntityAccessByEntityidByUseridPOSTParams): __Observable {\r\n return this.ExternalRevokeEntityAccessByEntityidByUseridPOSTResponse(params).pipe(\r\n __map(_r => _r.body as PandoXEntityGrantAccessResultDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `EntityClientService.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTParams` containing the following parameters:\r\n *\r\n * - `ownerUserId`:\r\n *\r\n * - `actingUserId`:\r\n *\r\n * - `entites`:\r\n *\r\n * @return Success\r\n */\r\n ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTResponse(params: EntityClientService.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n __body = params.entites;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity/ExternalBulkAssignEntityOwners/${params.actingUserId}/${params.ownerUserId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `EntityClientService.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTParams` containing the following parameters:\r\n *\r\n * - `ownerUserId`:\r\n *\r\n * - `actingUserId`:\r\n *\r\n * - `entites`:\r\n *\r\n * @return Success\r\n */\r\n ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOST(params: EntityClientService.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTParams): __Observable {\r\n return this.ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTResponse(params).pipe(\r\n __map(_r => _r.body as EntityReassignResultDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: string): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as EntityDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Entity/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: string): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Entity/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: EntityDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Entity`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: EntityDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: EntityDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Entity`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: EntityDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as EntityDto)\r\n );\r\n }\r\n}\r\n\r\nmodule EntityClientService {\r\n\r\n /**\r\n * Parameters for GetEntityReportByDealerIdAndVinByDealeridByVinGET\r\n */\r\n export interface GetEntityReportByDealerIdAndVinByDealeridByVinGETParams {\r\n vin: string;\r\n dealerId: number;\r\n }\r\n\r\n /**\r\n * Parameters for UpdateActiveNLPNoLongerOwnByEntityidByAgreedGET\r\n */\r\n export interface UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETParams {\r\n entityId: string;\r\n agreed: boolean;\r\n }\r\n\r\n /**\r\n * Parameters for ExternalGrantEntityAccessByEntityidByGrantuseridPOST\r\n */\r\n export interface ExternalGrantEntityAccessByEntityidByGrantuseridPOSTParams {\r\n grantUserId: number;\r\n entityId: string;\r\n }\r\n\r\n /**\r\n * Parameters for ExternalRevokeEntityAccessByEntityidByUseridPOST\r\n */\r\n export interface ExternalRevokeEntityAccessByEntityidByUseridPOSTParams {\r\n userId: number;\r\n entityId: string;\r\n }\r\n\r\n /**\r\n * Parameters for ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOST\r\n */\r\n export interface ExternalBulkAssignEntityOwnersByActinguseridByOwneruseridPOSTParams {\r\n ownerUserId: number;\r\n actingUserId: number;\r\n entites?: Array;\r\n }\r\n}\r\n\r\nexport { EntityClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar popover_1 = require(\"ngx-bootstrap/popover\");\nvar TooltipComponent = /** @class */ (function () {\n function TooltipComponent(popoverModule) {\n this.popoverModule = popoverModule;\n this.titleKey = null;\n this.contentKey = null;\n }\n return TooltipComponent;\n}());\nexports.TooltipComponent = TooltipComponent;\n","import { Component, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter } from '@angular/core';\r\nimport { PopoverModule } from 'ngx-bootstrap/popover';\r\n\r\n@Component({\r\n selector: 'tooltip',\r\n templateUrl: './tooltip-ng.html'\r\n})\r\n\r\nexport class TooltipComponent {\r\n @Input() titleKey: string = null;\r\n @Input() contentKey: string = null;\r\n\r\n constructor(public popoverModule: PopoverModule) {\r\n }\r\n}","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../modules/storage/storage.service\"));\nvar DateFormatService = /** @class */ (function () {\n function DateFormatService(storageService) {\n this.storageService = storageService;\n }\n DateFormatService.prototype.getDateTimeFormatString = function (cultureName) {\n var thisCultureName = cultureName || this.getCultureFromStorage();\n switch (thisCultureName.toLowerCase()) {\n case 'en-gb':\n return 'dd/MM/yyyy hh:mm a';\n case 'en-ca':\n return 'dd/MM/yyyy h:mm a';\n case 'fr-ca':\n return 'yyyy-MM-dd hh:mm a';\n case 'fr-fr':\n return 'dd/MM/yyyy H:mm';\n case 'en-us':\n default:\n return 'MM/dd/yyyy h:mm a';\n }\n };\n DateFormatService.prototype.getDateTimeMomentFormatString = function (cultureName) {\n var thisCultureName = cultureName || this.getCultureFromStorage();\n return this.getDateMomentFormatString(thisCultureName) + \" \" + this.getTimeMomentFormatString(thisCultureName);\n };\n DateFormatService.prototype.getDateMomentFormatString = function (cultureName) {\n var thisCultureName = cultureName || this.getCultureFromStorage();\n switch (thisCultureName.toLowerCase()) {\n case 'en-gb':\n return 'DD/MM/YYYY';\n case 'en-ca':\n return 'DD/MM/YYYY';\n case 'fr-ca':\n return 'DD/MM/YYYY';\n case 'fr-fr':\n return 'DD/MM/YYYY';\n case 'en-us':\n default:\n return 'MM/DD/YYYY';\n }\n };\n DateFormatService.prototype.getTimeMomentFormatString = function (cultureName) {\n var thisCultureName = cultureName || this.getCultureFromStorage();\n switch (thisCultureName.toLowerCase()) {\n case 'en-gb':\n return 'hh:mm A';\n case 'en-ca':\n return 'hh:mm A';\n case 'fr-ca':\n return 'hh:mm A';\n case 'fr-fr':\n return 'H:mm';\n case 'en-us':\n default:\n return 'hh:mm A';\n }\n };\n DateFormatService.prototype.getDateFormatString = function (cultureName) {\n var thisCultureName = cultureName || this.getCultureFromStorage();\n switch (thisCultureName.toLowerCase()) {\n case 'en-gb':\n return 'dd/MM/yyyy';\n case 'en-ca':\n return 'dd/MM/yyyy';\n case 'fr-ca':\n return 'yyyy-MM-dd';\n case 'fr-fr':\n return 'dd/MM/yyyy';\n case 'en-us':\n default:\n return 'MM/dd/yyyy';\n }\n };\n // These are the alternate input formats supported by the datePicker. This\n // allows the input of dates with a single digit month or date without having\n // to provide a leading zero.\n DateFormatService.prototype.getAlternateDateFormatString = function (cultureName) {\n var thisCultureName = cultureName || this.getCultureFromStorage();\n switch (thisCultureName.toLowerCase()) {\n case 'en-gb':\n return 'd!/M!/yyyy';\n case 'en-ca':\n return 'd!/M!/yyyy';\n case 'fr-ca':\n return 'yyyy-M!-d!';\n case 'fr-fr':\n return 'd!/M!/yyyy';\n case 'en-us':\n default:\n return 'M!/d!/yyyy';\n }\n };\n DateFormatService.prototype.getTimeFormatString = function (cultureName) {\n var thisCultureName = cultureName || this.getCultureFromStorage();\n switch (thisCultureName.toLowerCase()) {\n case 'en-gb':\n return 'hh:mm a';\n case 'en-ca':\n return 'h:mm a';\n case 'fr-ca':\n return 'hh:mm a';\n case 'en-us':\n default:\n return 'h:mm a';\n }\n };\n DateFormatService.prototype.getCultureFromStorage = function () {\n return this.storageService.getItem('cultureName') || 'en-us';\n };\n DateFormatService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DateFormatService_Factory() { return new DateFormatService(i0.ɵɵinject(i1.StorageService)); }, token: DateFormatService, providedIn: \"root\" });\n return DateFormatService;\n}());\nexports.DateFormatService = DateFormatService;\n","import { Injectable } from '@angular/core';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DateFormatService {\r\n constructor(private storageService: StorageService) { }\r\n getDateTimeFormatString(cultureName?: string): string {\r\n const thisCultureName = cultureName || this.getCultureFromStorage();\r\n switch (thisCultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return 'dd/MM/yyyy hh:mm a';\r\n case 'en-ca':\r\n return 'dd/MM/yyyy h:mm a';\r\n case 'fr-ca':\r\n return 'yyyy-MM-dd hh:mm a';\r\n case 'fr-fr':\r\n return 'dd/MM/yyyy H:mm';\r\n case 'en-us':\r\n default:\r\n return 'MM/dd/yyyy h:mm a';\r\n }\r\n }\r\n\r\n getDateTimeMomentFormatString(cultureName?: string): string {\r\n const thisCultureName = cultureName || this.getCultureFromStorage();\r\n\r\n return `${this.getDateMomentFormatString(thisCultureName)} ${this.getTimeMomentFormatString(thisCultureName)}`;\r\n }\r\n\r\n getDateMomentFormatString(cultureName?: string): string {\r\n const thisCultureName = cultureName || this.getCultureFromStorage();\r\n switch (thisCultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return 'DD/MM/YYYY';\r\n case 'en-ca':\r\n return 'DD/MM/YYYY';\r\n case 'fr-ca':\r\n return 'DD/MM/YYYY';\r\n case 'fr-fr':\r\n return 'DD/MM/YYYY';\r\n case 'en-us':\r\n default:\r\n return 'MM/DD/YYYY';\r\n }\r\n }\r\n\r\n getTimeMomentFormatString(cultureName?: string): string {\r\n const thisCultureName = cultureName || this.getCultureFromStorage();\r\n switch (thisCultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return 'hh:mm A';\r\n case 'en-ca':\r\n return 'hh:mm A';\r\n case 'fr-ca':\r\n return 'hh:mm A';\r\n case 'fr-fr':\r\n return 'H:mm';\r\n case 'en-us':\r\n default:\r\n return 'hh:mm A';\r\n }\r\n }\r\n\r\n\r\n getDateFormatString(cultureName?: string): string {\r\n const thisCultureName = cultureName || this.getCultureFromStorage();\r\n switch (thisCultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return 'dd/MM/yyyy';\r\n case 'en-ca':\r\n return 'dd/MM/yyyy';\r\n case 'fr-ca':\r\n return 'yyyy-MM-dd';\r\n case 'fr-fr':\r\n return 'dd/MM/yyyy';\r\n case 'en-us':\r\n default:\r\n return 'MM/dd/yyyy';\r\n }\r\n }\r\n // These are the alternate input formats supported by the datePicker. This\r\n // allows the input of dates with a single digit month or date without having\r\n // to provide a leading zero.\r\n getAlternateDateFormatString(cultureName?: string): string {\r\n const thisCultureName = cultureName || this.getCultureFromStorage();\r\n switch (thisCultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return 'd!/M!/yyyy';\r\n case 'en-ca':\r\n return 'd!/M!/yyyy';\r\n case 'fr-ca':\r\n return 'yyyy-M!-d!';\r\n case 'fr-fr':\r\n return 'd!/M!/yyyy';\r\n case 'en-us':\r\n default:\r\n return 'M!/d!/yyyy';\r\n }\r\n }\r\n getTimeFormatString(cultureName?: string): string {\r\n const thisCultureName = cultureName || this.getCultureFromStorage();\r\n switch (thisCultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return 'hh:mm a';\r\n case 'en-ca':\r\n return 'h:mm a';\r\n case 'fr-ca':\r\n return 'hh:mm a';\r\n case 'en-us':\r\n default:\r\n return 'h:mm a';\r\n }\r\n }\r\n getCultureFromStorage(): string {\r\n return this.storageService.getItem('cultureName') || 'en-us';\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./wish-list-distr-list.component.html');\n\n","module.exports = \".page-title {\\n margin: 15px 0px 0px 5px;\\n padding: 0px 0 0 5px;\\n font-size: 18pt;\\n color: #444B4F;\\n}\\n\\n.divider {\\n border-top: 1px solid #1F8BD5;\\n margin-bottom: 10px;\\n margin-top: 10px !important;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9hZG1pbi9DOlxcQXV0b0FsZXJ0XFx3b3Jrc3BhY2VcXEFsZXJ0TWluZXItUG9ydGFsX3JlbGVhc2VfNi42My4wXFxBdXRvQWxlcnQuUG9ydGFsLk9wcG9ydHVuaXRpZXMvc3JjXFxhcHBcXGNvbXBvbmVudHNcXGFkbWluXFxhZG1pbi5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL2FkbWluL2FkbWluLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSx5QkFBQTtFQUNBLHFCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxlQUFBO0NDQ0g7O0FERUQ7RUFDSSw4QkFBQTtFQUNBLG9CQUFBO0VBQ0EsNEJBQUE7Q0NDSCIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvYWRtaW4vYWRtaW4uc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5wYWdlLXRpdGxlIHtcclxuICAgIG1hcmdpbjogMTVweCAwcHggMHB4IDVweDtcclxuICAgIHBhZGRpbmc6IDBweCAwIDAgNXB4O1xyXG4gICAgZm9udC1zaXplOiAxOHB0O1xyXG4gICAgY29sb3I6ICM0NDRCNEY7XHJcbn1cclxuXHJcbi5kaXZpZGVyIHtcclxuICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCAjMUY4QkQ1O1xyXG4gICAgbWFyZ2luLWJvdHRvbTogMTBweDtcclxuICAgIG1hcmdpbi10b3A6IDEwcHggIWltcG9ydGFudDtcclxufVxyXG4iLCIucGFnZS10aXRsZSB7XG4gIG1hcmdpbjogMTVweCAwcHggMHB4IDVweDtcbiAgcGFkZGluZzogMHB4IDAgMCA1cHg7XG4gIGZvbnQtc2l6ZTogMThwdDtcbiAgY29sb3I6ICM0NDRCNEY7XG59XG5cbi5kaXZpZGVyIHtcbiAgYm9yZGVyLXRvcDogMXB4IHNvbGlkICMxRjhCRDU7XG4gIG1hcmdpbi1ib3R0b206IDEwcHg7XG4gIG1hcmdpbi10b3A6IDEwcHggIWltcG9ydGFudDtcbn0iXX0= */\"","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar app_settings_1 = require(\"../environments/app-settings\");\nexports.Settings = app_settings_1.APP_SETTINGS_JSON;\nif (exports.Settings.environmentVariables) {\n exports.Settings.environmentVariables.version = __VERSION__;\n}\n","\r\nimport { APP_SETTINGS_JSON } from '../environments/app-settings';\r\n\r\nexport const Settings: Settings = APP_SETTINGS_JSON;\r\n\r\n// Added to global by webpack\r\ndeclare var __VERSION__: string;\r\nif (Settings.environmentVariables) {\r\n Settings.environmentVariables.version = __VERSION__;\r\n}\r\n\r\nexport interface Settings {\r\n tagManager: { containerId: string };\r\n environmentVariables: EnvironmentVariables;\r\n apiUrls: ApiUrls;\r\n oidc: OidcSettings;\r\n legacy: Legacy; \r\n}\r\n\r\ninterface EnvironmentVariables {\r\n version: string;\r\n crossDomainStorageDomain: string;\r\n crossDomainStoragePrefix: string;\r\n employeeDefaultDealer: EmployeeDefaultDealer;\r\n environment: string;\r\n logDebugEnabled: boolean;\r\n defaultInMemoryCacheTimeoutSeconds: number;\r\n notificationServiceEnabled?: boolean;\r\n pandoInboxEnabled: boolean;\r\n angularProdMode: boolean;\r\n opportunityServiceAng8Enabled: boolean;\r\n fordOASISUrl: string;\r\n}\r\n\r\nexport interface EmployeeDefaultDealer {\r\n dealerId: number;\r\n dealerGroupId: number;\r\n}\r\n\r\nexport interface ApiUrls {\r\n alertMiner: string;\r\n reportMiner: string;\r\n motofuze: string;\r\n pandoInboxUrl: string;\r\n pandoDealSheetUrl: string;\r\n}\r\n\r\nexport interface OidcSettings {\r\n urls: string[];\r\n portalUrl: string;\r\n opportunitiesOrigin: string;\r\n basePath: string;\r\n clientId: string;\r\n responseType: string;\r\n scope: string;\r\n redirectUri: string;\r\n logoutUri: string;\r\n advanceRefresh: number;\r\n}\r\n\r\nexport interface Legacy {\r\n isDealsheetVersionChangeEnabled: boolean;\r\n iframeUrl: string;\r\n protocol: string;\r\n}\r\n","var path = '/app/components/reports/pando-survey-select.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","var path = '/app/components/deal-sheet/vehicle/mileage.component.html';\nvar html = \"
{{$ctrl.value | number}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \".search-add-access-modal .modal-dialog {\\n width: 700px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1kaXJlY3QtYWxlcnQtbW9kYWwuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvc2VhcmNoL3NlYXJjaC1kaXJlY3QtYWxlcnQtbW9kYWwuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDSSxhQUFBO0NDREgiLCJmaWxlIjoic3JjL2FwcC9jb21wb25lbnRzL3NlYXJjaC9zZWFyY2gtZGlyZWN0LWFsZXJ0LW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCBcIi4uLy4uL3N0eWxlcy9hYS12YXJpYWJsZXNcIjtcclxuXHJcbi5zZWFyY2gtYWRkLWFjY2Vzcy1tb2RhbCAubW9kYWwtZGlhbG9nIHtcclxuICAgIHdpZHRoOiA3MDBweDtcclxufVxyXG5cclxuIiwiLnNlYXJjaC1hZGQtYWNjZXNzLW1vZGFsIC5tb2RhbC1kaWFsb2cge1xuICB3aWR0aDogNzAwcHg7XG59Il19 */\"","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TranslateKeys = {\n logCallTitleKey: 'logCallTitle',\n postNotesTitleKey: 'postNotesTitle',\n logEmailSentTitleKey: 'logEmailSentTitle',\n cancelTitleCallKey: 'cancelTitleCall',\n cancelTitleApptKey: 'cancelTitleAppt',\n completeTitleCallKey: 'completeTitleCall',\n completeTitleApptKey: 'completeTitleAppt',\n scheduleTitleCallKey: 'scheduleTitleCall',\n scheduleTitleApptKey: 'scheduleTitleAppt',\n rescheduleTitleCallKey: 'rescheduleTitleCall',\n rescheduleTitleApptKey: 'rescheduleTitleAppt',\n reassignTitleCallKey: 'reassignTitleCall',\n reassignTitleApptKey: 'reassignTitleAppt',\n scheduleAssignToErrorMsgKey: 'scheduleAssignToErrorMsg',\n recentRepairOrdersAbbreviatedKey: 'recentRepairOrdersAbbreviated',\n recentRepairOrdersKey: 'recentRepairOrders',\n SingularKey: 'Singular'\n};\n","export const TranslateKeys = {\r\n logCallTitleKey: 'logCallTitle',\r\n postNotesTitleKey: 'postNotesTitle',\r\n logEmailSentTitleKey: 'logEmailSentTitle',\r\n cancelTitleCallKey: 'cancelTitleCall',\r\n cancelTitleApptKey: 'cancelTitleAppt',\r\n completeTitleCallKey: 'completeTitleCall',\r\n completeTitleApptKey: 'completeTitleAppt',\r\n scheduleTitleCallKey: 'scheduleTitleCall',\r\n scheduleTitleApptKey: 'scheduleTitleAppt',\r\n rescheduleTitleCallKey: 'rescheduleTitleCall',\r\n rescheduleTitleApptKey: 'rescheduleTitleAppt',\r\n reassignTitleCallKey: 'reassignTitleCall',\r\n reassignTitleApptKey: 'reassignTitleAppt',\r\n scheduleAssignToErrorMsgKey: 'scheduleAssignToErrorMsg',\r\n recentRepairOrdersAbbreviatedKey: 'recentRepairOrdersAbbreviated',\r\n recentRepairOrdersKey: 'recentRepairOrders',\r\n SingularKey: 'Singular'\r\n};\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".ng-busy[_ngcontent-%COMP%]{z-index:999999!important}.modal-open[_ngcontent-%COMP%]{overflow:inherit!important}.timespan-selector[_ngcontent-%COMP%]{display:inline-block;padding-left:10px;padding-top:8px;padding-bottom:5px}.timespan-selector[_ngcontent-%COMP%] > select[_ngcontent-%COMP%]{color:#1f8bd5;border-radius:8px;padding:3px;font-size:12px}.service-sales-buttons.btn-group[_ngcontent-%COMP%]{margin-right:8px;margin-top:-10px}.service-sales-buttons.btn-group[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{background-color:#1f8bd5;color:#fff!important}.service-sales-buttons.btn-group[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]:focus{color:#fff;background-color:#1f8bd5}.service-sales-buttons.btn-group[_ngcontent-%COMP%] .btn-default[_ngcontent-%COMP%]{color:#1f8bd5;padding-top:3px;padding-bottom:3px}.service-sales-buttons.btn-group[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{color:#c1c2c4!important;background:-webkit-gradient(linear,left top,left bottom,from(#172751),to(#172751));background:linear-gradient(to bottom,#172751 0,#172751 100%);background:-webkit-gradient(linear,left top,left bottom,from(#172751),to(#00548f));background:linear-gradient(#172751,#00548f);border-bottom:none}.modal-backdrop.in[_nghost-%COMP%] .modal-backdrop.in[_ngcontent-%COMP%], .modal-backdrop.in [_nghost-%COMP%] .modal-backdrop.in[_ngcontent-%COMP%]{z-index:1060}.modal.text-modal[_ngcontent-%COMP%]{z-index:1070}.modal.text-modal[_ngcontent-%COMP%] .modal-dialog.texting-dialog[_ngcontent-%COMP%]{width:600px!important;margin:30px auto}.modal.text-modal[_ngcontent-%COMP%] .modal-dialog.texting-dialog[_ngcontent-%COMP%] > .modal-content[_ngcontent-%COMP%]{position:relative;background-color:#fff!important;border:1px solid rgba(0,0,0,.2)!important;border-radius:10px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box!important;outline:0;padding-top:unset;min-height:auto}.modal.text-modal[_ngcontent-%COMP%] .modal-dialog.texting-dialog[_ngcontent-%COMP%] > .modal-content[_ngcontent-%COMP%] > .modal-body[_ngcontent-%COMP%]{max-height:calc(100vh - 410px);overflow:auto;padding-right:10px!important;padding-left:10px!important}.modal.text-modal[_ngcontent-%COMP%] .modal-dialog.texting-dialog[_ngcontent-%COMP%] > .modal-content[_ngcontent-%COMP%] > .modal-footer[_ngcontent-%COMP%] > .new-text-message[_ngcontent-%COMP%]{margin-bottom:5px}.modal.text-modal[_ngcontent-%COMP%] .modal-dialog.texting-dialog[_ngcontent-%COMP%] > .modal-content[_ngcontent-%COMP%] > .modal-footer[_ngcontent-%COMP%] > .insert-upgrade-proposal[_ngcontent-%COMP%]{float:left}.modal.text-modal[_ngcontent-%COMP%] .modal-dialog.texting-dialog[_ngcontent-%COMP%] > .modal-content[_ngcontent-%COMP%] > .modal-footer[_ngcontent-%COMP%] > .send-button[_ngcontent-%COMP%]{background:#1f8bd5;color:#fff;font-weight:600;padding:3px 10px;border-radius:13px;text-transform:uppercase;font-size:13px;margin-top:2px;cursor:pointer;-o-border-image:initial;border-image:initial;border:2px outset buttonface}.modal-title-bar[_ngcontent-%COMP%]{background:-webkit-gradient(linear,to right,right,from(#172751),to(#1f8bd5)) fixed;background:gradient(linear,to right,right,from(#172751),to(#1f8bd5)) fixed;background:-webkit-gradient(linear,left top,right top,from(#172751),to(#1f8bd5)) fixed;background:linear-gradient(to right,#172751,#1f8bd5) fixed;color:#fff;border-radius:5px 5px 0 0;text-align:left;margin:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.modal-title-bar[_ngcontent-%COMP%]{height:2.5em}}.modal-title-bar[_ngcontent-%COMP%] > .modal-title-bar-container[_ngcontent-%COMP%] > .center-modal-title[_ngcontent-%COMP%]{display:inline-block;max-width:315px;margin:12px auto 0;padding-left:25px;text-align:center}.modal-title-bar[_ngcontent-%COMP%] > .modal-title-bar-container[_ngcontent-%COMP%] .modal-header-text[_ngcontent-%COMP%]{display:inline-block;margin-top:0;margin-bottom:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:300px}.modal-title-bar[_ngcontent-%COMP%] > .modal-title-bar-container[_ngcontent-%COMP%] > .modal-header-buttons[_ngcontent-%COMP%], .modal-title-bar[_ngcontent-%COMP%] > .modal-title-bar-container[_ngcontent-%COMP%] > .modal-header-icon[_ngcontent-%COMP%]{-webkit-box-flex:0;-ms-flex:0 1.5em;flex:0 1.5em}.modal-title-bar[_ngcontent-%COMP%] > .modal-title-bar-container[_ngcontent-%COMP%] > .modal-header-buttons[_ngcontent-%COMP%]:empty, .modal-title-bar[_ngcontent-%COMP%] > .modal-title-bar-container[_ngcontent-%COMP%] > .modal-header-icon[_ngcontent-%COMP%]:empty{-webkit-box-flex:0;-ms-flex:0 1;flex:0 1}.modal-title-bar[_ngcontent-%COMP%] > .modal-title-bar-container[_ngcontent-%COMP%] > .modal-header-icon[_ngcontent-%COMP%]{padding:0 7px;line-height:1}.modal-title-bar[_ngcontent-%COMP%] > .modal-title-bar-container[_ngcontent-%COMP%] > .modal-header-buttons[_ngcontent-%COMP%]{color:#fff;padding-top:8px;padding-right:10px;cursor:pointer}.modal-title-bar[_ngcontent-%COMP%] > .modal-title-bar-container[_ngcontent-%COMP%] > .modal-header-buttons[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:unset;font-size:20px}.bubble[_ngcontent-%COMP%]{margin:10px 10px 2px;border-radius:15px;text-align:left;position:relative;padding:10px 10px 10px 20px;width:80%;word-break:break-word}.bubble.bubble-user[_ngcontent-%COMP%]{background:#1f8bd5;margin-left:150px}.bubble.bubble-user[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{color:#fff}.bubble.bubble-user[_ngcontent-%COMP%]:before{content:\\\"\\\";width:0;height:0;position:absolute;border-left:15px solid #1f8bd5;border-right:15px solid transparent;border-bottom:15px solid #1f8bd5;border-top:15px solid transparent;right:-10px;bottom:0}.bubble.bubble-customer[_ngcontent-%COMP%]{background:#e7e7e7;margin-right:150px}.bubble.bubble-customer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{color:#444b4f}.bubble.bubble-customer[_ngcontent-%COMP%]:before{content:\\\"\\\";width:0;height:0;position:absolute;border-left:15px solid transparent;border-right:15px solid #e7e7e7;border-bottom:15px solid #e7e7e7;border-top:15px solid transparent;left:-10px;bottom:0}#dateLine[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center;font-size:12px;color:#7a8084;font-weight:700;margin-top:5px;margin-bottom:5px}#dateLine[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{margin-bottom:unset}.message[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.message[_ngcontent-%COMP%] .text-row[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.message[_ngcontent-%COMP%] .message-footer[_ngcontent-%COMP%]{color:#bdc0c2;font-size:.7em}.message[_ngcontent-%COMP%] .message-footer.message-footer-customer[_ngcontent-%COMP%]{margin-left:35px}.message[_ngcontent-%COMP%] .message-footer.message-footer-user[_ngcontent-%COMP%]{text-align:right;margin-right:35px}.message[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%]{display:inline-block}.user-avatar[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-size:24px 27px;background-position:center center;vertical-align:middle;line-height:24px;-webkit-box-shadow:inset 0 0 1px #999,inset 0 0 10px rgba(0,0,0,.2);box-shadow:inset 0 0 1px #999,inset 0 0 10px rgba(0,0,0,.2);-ms-flex-item-align:end;align-self:flex-end}.user-avatar.no-user-avatar[_ngcontent-%COMP%]{background-image:url(avatar.0641fb19616fbb9d8e8b.png);background-size:24px 27px;background-position:center center}.send-icon-svg[_ngcontent-%COMP%]{background:url(paper-plane.97d80d2dbc8f91042a82.svg) no-repeat;width:1em;height:1em;display:inline-block;line-height:1;padding-right:18px}.chat-message-attachment-svg[_ngcontent-%COMP%]{background:url(chat-message-attachment.e8fcf36f51dccfacdb86.svg) no-repeat;width:1em;height:1em;display:inline-block;line-height:1;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:5px;margin-bottom:5px}.text-icon[_ngcontent-%COMP%]{vertical-align:text-bottom!important;margin-top:5px;height:36px}.text-icon.sms-icon[_ngcontent-%COMP%]{background:url(icon-sms-lake.1e1c9a8ad3c1ad3d667e.svg) no-repeat;width:1em;height:36px;display:inline-block;line-height:1}.text-icon.do-not-text-icon[_ngcontent-%COMP%]{background:url(https://assets.autoalert.com/img/autoalert-icons/icon-do-not-text.svg) no-repeat;width:1em;height:36px;display:inline-block;line-height:1}.btn.link-disabled-but-looks-enabled[_ngcontent-%COMP%]{opacity:1}\"];\nexports.styles = styles;\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar platform_browser_1 = require(\"@angular/platform-browser\");\n/**\n* Icons can come from two sources:\n* 1. Part of the Fontastic icon font\n* 2. An individual SVG file\n*\n* We were using a previously-undefined element and applying the classes\n* \"icon aa-icons-foobar\" to it to create icons:\n*\n* \n*\n* To support SVG icons, we've created now defined the icon component. If you\n* add the 'icon' binding, we will look for an SVG with that name:\n*\n* \n*\n* The old syntax still works because the template is empty if $ctrl.icon is\n* not provided.\n*\n*/\nvar IconComponent = /** @class */ (function () {\n function IconComponent(sanitizer) {\n // ICONS is a hash of filenames mapped to their contents. The 'icon'\n // binding is the key name in this hash.\n //\n // We have to specify svg-inline-loader inline instead of adding a rule in\n // webpack.config.js because we have some tags depending on the old\n // behavior. Once those img tags are removed, we can add\n // `{ test: /\\.svg$/, use: 'svg-inline-loader' }` to webpack.config.js and\n // remove the loader syntax here.\n //\n // For syntax, see: https://webpack.js.org/concepts/loaders/#inline\n this.ICONS = {\n 'close': require('!svg-inline-loader!../../images/icons/close.svg'),\n 'engagement': require('!svg-inline-loader!../../images/icons/engagement.svg'),\n 'hot-flame': require('!svg-inline-loader!../../images/icons/hot-flame.svg'),\n 'o2o-offer': require('!svg-inline-loader!../../images/icons/o2o-offer.svg'),\n 'pando': require('!svg-inline-loader!../../images/icons/pando.svg'),\n 'pando-outline': require('!svg-inline-loader!../../images/icons/pando-outline.svg'),\n 'pando-offer-email': require('!svg-inline-loader!../../images/icons/pando-offer-icon.svg'),\n 'web': require('!svg-inline-loader!../../images/icons/web.svg'),\n 'pando-settings': require('!svg-inline-loader!../../images/icons/icon-Pando-Settings.svg'),\n 'common-search': require('!svg-inline-loader!../../images/icons/icon-saved-search.svg'),\n 'dealer-search': require('!svg-inline-loader!../../images/icons/icon-store-chooser.svg'),\n 'tag-search': require('!svg-inline-loader!../../images/icons/icon-tag.svg'),\n 'rating-1star': require('!svg-inline-loader!../../images/icons/rating-1star.svg'),\n 'rating-2star': require('!svg-inline-loader!../../images/icons/rating-2star.svg'),\n 'rating-3star': require('!svg-inline-loader!../../images/icons/rating-3star.svg'),\n 'rating-4star': require('!svg-inline-loader!../../images/icons/rating-4star.svg'),\n 'rating-5star': require('!svg-inline-loader!../../images/icons/rating-5star.svg'),\n 'reviews': require('!svg-inline-loader!../../images/icons/reviews.svg'),\n 'auto-assign': require('!svg-inline-loader!../../images/icons/icon-user-review-vanilla.svg'),\n 'clipboard-assigned': require('!svg-inline-loader!../../images/icons/auto-assigned.svg'),\n 'trash': require('!svg-inline-loader!../../images/icons/icon-trash-vanilla.svg'),\n 'share': require('!svg-inline-loader!../../images/icons/icon-invite-user-vanilla.svg'),\n 'unshare': require('!svg-inline-loader!../../images/icons/icon-unshare-search-vanilla.svg'),\n 'info': require('!svg-inline-loader!../../images/icons/icon-information.svg'),\n 'email-sms': require('!svg-inline-loader!../../images/icons/icon-messaging-email-sms.svg'),\n 'sms': require('!svg-inline-loader!../../images/icons/icon-sms.svg'),\n 'geoalert': require('!svg-inline-loader!../../images/icons/icon-geoalert.svg'),\n 'auto-assistant': require('!svg-inline-loader!../../images/icons/icon-auto-assistant.svg'),\n 'hot-trade': require('!svg-inline-loader!../../images/icons/icon-hot-flame-apple.svg'),\n 'o2o-im-filter': require('!svg-inline-loader!../../images/icons/icon-marketing-mailer-lake.svg'),\n 'im-mail-sent': require('!svg-inline-loader!../../images/icons/icon-im-offer-lake.svg'),\n 'im-email-events': require('!svg-inline-loader!../../images/icons/icon-im-offer-arrow-lake.svg'),\n 'wish-list': require('!svg-inline-loader!../../images/icons/icon-wish-list.svg'),\n 'info-i': require('!svg-inline-loader!../../images/icons/icon-info-i-lake.svg'),\n 'info-warn': require('!svg-inline-loader!../../images/icons/icon-info-warning-apple.svg'),\n 'nlo': require('!svg-inline-loader!../../images/icons/icon-nlo-vanilla.svg'),\n 'ai-manager': require('!svg-inline-loader!../../images/icons/icon-ai-manager-vanilla.svg'),\n };\n // Go back through every icon and replace it with a trusted version so we\n // can ngBindHtml it.\n for (var _i = 0, _a = Object.entries(this.ICONS); _i < _a.length; _i++) {\n var _b = _a[_i], name_1 = _b[0], svgHtml = _b[1];\n this.ICONS[name_1] = sanitizer.bypassSecurityTrustHtml(svgHtml);\n }\n }\n IconComponent.prototype.ngOnInit = function () {\n };\n IconComponent.prototype.ngOnChanges = function (changes) {\n // Replace tick in property name. Previous angular version required the ticks. Doing this hack to avoid changing every single binding\n if (changes.icon && changes.icon.currentValue) {\n this.icon = changes.icon.currentValue.replace(/'/g, '');\n }\n };\n return IconComponent;\n}());\nexports.IconComponent = IconComponent;\n","import { Component, OnInit, Input, OnChanges, SimpleChanges, Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\n\r\n/**\r\n* Icons can come from two sources:\r\n* 1. Part of the Fontastic icon font\r\n* 2. An individual SVG file\r\n*\r\n* We were using a previously-undefined element and applying the classes\r\n* \"icon aa-icons-foobar\" to it to create icons:\r\n*\r\n* \r\n*\r\n* To support SVG icons, we've created now defined the icon component. If you\r\n* add the 'icon' binding, we will look for an SVG with that name:\r\n*\r\n* \r\n*\r\n* The old syntax still works because the template is empty if $ctrl.icon is\r\n* not provided.\r\n*\r\n*/\r\n\r\n@Component({\r\n selector: 'icon',\r\n templateUrl: './icon.component-ng.html',\r\n styleUrls: ['./icon.component.scss']\r\n})\r\nexport class IconComponent implements OnInit, OnChanges {\r\n\r\n @Input() icon: string;\r\n\r\n // ICONS is a hash of filenames mapped to their contents. The 'icon'\r\n // binding is the key name in this hash.\r\n //\r\n // We have to specify svg-inline-loader inline instead of adding a rule in\r\n // webpack.config.js because we have some tags depending on the old\r\n // behavior. Once those img tags are removed, we can add\r\n // `{ test: /\\.svg$/, use: 'svg-inline-loader' }` to webpack.config.js and\r\n // remove the loader syntax here.\r\n //\r\n // For syntax, see: https://webpack.js.org/concepts/loaders/#inline\r\n ICONS = {\r\n 'close': require('!svg-inline-loader!../../images/icons/close.svg'),\r\n 'engagement': require('!svg-inline-loader!../../images/icons/engagement.svg'),\r\n 'hot-flame': require('!svg-inline-loader!../../images/icons/hot-flame.svg'),\r\n 'o2o-offer': require('!svg-inline-loader!../../images/icons/o2o-offer.svg'),\r\n 'pando': require('!svg-inline-loader!../../images/icons/pando.svg'),\r\n 'pando-outline': require('!svg-inline-loader!../../images/icons/pando-outline.svg'),\r\n 'pando-offer-email': require('!svg-inline-loader!../../images/icons/pando-offer-icon.svg'),\r\n 'web': require('!svg-inline-loader!../../images/icons/web.svg'),\r\n 'pando-settings': require('!svg-inline-loader!../../images/icons/icon-Pando-Settings.svg'),\r\n 'common-search': require('!svg-inline-loader!../../images/icons/icon-saved-search.svg'),\r\n 'dealer-search': require('!svg-inline-loader!../../images/icons/icon-store-chooser.svg'),\r\n 'tag-search': require('!svg-inline-loader!../../images/icons/icon-tag.svg'),\r\n 'rating-1star': require('!svg-inline-loader!../../images/icons/rating-1star.svg'),\r\n 'rating-2star': require('!svg-inline-loader!../../images/icons/rating-2star.svg'),\r\n 'rating-3star': require('!svg-inline-loader!../../images/icons/rating-3star.svg'),\r\n 'rating-4star': require('!svg-inline-loader!../../images/icons/rating-4star.svg'),\r\n 'rating-5star': require('!svg-inline-loader!../../images/icons/rating-5star.svg'),\r\n 'reviews': require('!svg-inline-loader!../../images/icons/reviews.svg'),\r\n 'auto-assign': require('!svg-inline-loader!../../images/icons/icon-user-review-vanilla.svg'),\r\n 'clipboard-assigned': require('!svg-inline-loader!../../images/icons/auto-assigned.svg'),\r\n 'trash': require('!svg-inline-loader!../../images/icons/icon-trash-vanilla.svg'),\r\n 'share': require('!svg-inline-loader!../../images/icons/icon-invite-user-vanilla.svg'),\r\n 'unshare': require('!svg-inline-loader!../../images/icons/icon-unshare-search-vanilla.svg'),\r\n 'info': require('!svg-inline-loader!../../images/icons/icon-information.svg'),\r\n 'email-sms': require('!svg-inline-loader!../../images/icons/icon-messaging-email-sms.svg'),\r\n 'sms': require('!svg-inline-loader!../../images/icons/icon-sms.svg'),\r\n 'geoalert': require('!svg-inline-loader!../../images/icons/icon-geoalert.svg'),\r\n 'auto-assistant': require('!svg-inline-loader!../../images/icons/icon-auto-assistant.svg'),\r\n 'hot-trade': require('!svg-inline-loader!../../images/icons/icon-hot-flame-apple.svg'),\r\n\r\n 'o2o-im-filter': require('!svg-inline-loader!../../images/icons/icon-marketing-mailer-lake.svg'),\r\n 'im-mail-sent': require('!svg-inline-loader!../../images/icons/icon-im-offer-lake.svg'),\r\n 'im-email-events': require('!svg-inline-loader!../../images/icons/icon-im-offer-arrow-lake.svg'),\r\n 'wish-list': require('!svg-inline-loader!../../images/icons/icon-wish-list.svg'),\r\n 'info-i': require('!svg-inline-loader!../../images/icons/icon-info-i-lake.svg'),\r\n 'info-warn': require('!svg-inline-loader!../../images/icons/icon-info-warning-apple.svg'),\r\n 'nlo': require('!svg-inline-loader!../../images/icons/icon-nlo-vanilla.svg'),\r\n 'ai-manager': require('!svg-inline-loader!../../images/icons/icon-ai-manager-vanilla.svg'),\r\n };\r\n\r\n constructor(sanitizer: DomSanitizer) {\r\n // Go back through every icon and replace it with a trusted version so we\r\n // can ngBindHtml it.\r\n for (const [name, svgHtml] of Object.entries(this.ICONS)) {\r\n this.ICONS[name] = sanitizer.bypassSecurityTrustHtml(svgHtml);\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n // Replace tick in property name. Previous angular version required the ticks. Doing this hack to avoid changing every single binding\r\n if (changes.icon && changes.icon.currentValue) {\r\n this.icon = changes.icon.currentValue.replace(/'/g, '');\r\n }\r\n }\r\n}\r\n","'use strict';\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n var fns = exec(defined, SYMBOL, ''[KEY]);\n var strfn = fns[0];\n var rxfn = fns[1];\n if (fails(function () {\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n })) {\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar MileagePenaltyComponent = /** @class */ (function () {\n function MileagePenaltyComponent() {\n }\n MileagePenaltyComponent.prototype.ngOnInit = function () { };\n return MileagePenaltyComponent;\n}());\nexports.MileagePenaltyComponent = MileagePenaltyComponent;\n","\r\nimport { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'mileage-penalty',\r\n templateUrl: './mileage-penalty.component-ng.html',\r\n styleUrls: ['./mileage-penalty.component.scss']\r\n})\r\nexport class MileagePenaltyComponent implements OnInit {\r\n @Input() current: number;\r\n @Input() projected: number;\r\n @Input() alertExists: boolean;\r\n\r\n constructor() {}\r\n\r\n ngOnInit() {}\r\n}\r\n","module.exports = __webpack_public_path__ + \"icon-trash-lake.0529e517c6c3459d25c2.svg\";","'use strict';\n// B.2.3.3 String.prototype.big()\nrequire('./_string-html')('big', function (createHTML) {\n return function big() {\n return createHTML(this, 'big', '', '');\n };\n});\n","module.exports = __webpack_public_path__ + \"icon-desking-lake.c37e0a587355c0aab875.svg\";","module.exports = __webpack_public_path__ + \"logo-reputation-pro.be75a76c99454176ab9e.svg\";","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd');\nvar $export = require('./_export');\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n","'use strict';\n// B.2.3.11 String.prototype.small()\nrequire('./_string-html')('small', function (createHTML) {\n return function small() {\n return createHTML(this, 'small', '', '');\n };\n});\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","var path = '/app/components/deal-sheet/crm-action.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar NgContentTypeInterceptor = /** @class */ (function () {\n function NgContentTypeInterceptor() {\n }\n NgContentTypeInterceptor.prototype.intercept = function (req, next) {\n var method = req.method.toUpperCase();\n var newReq = null;\n if (method === 'POST' ||\n method === 'PUT' ||\n method === 'PATCH' ||\n method === 'DELETE') {\n newReq = req.clone({\n headers: req.headers.set('Content-Type', 'application/json')\n });\n }\n return next.handle(newReq || req);\n };\n return NgContentTypeInterceptor;\n}());\nexports.NgContentTypeInterceptor = NgContentTypeInterceptor;\n","import { Injectable } from \"@angular/core\";\r\nimport { HttpInterceptor, HttpRequest, HttpEvent, HttpHandler } from \"@angular/common/http\";\r\nimport { Observable } from \"rxjs\";\r\n\r\n@Injectable()\r\nexport class NgContentTypeInterceptor implements HttpInterceptor {\r\n intercept(req: HttpRequest, next: HttpHandler): Observable> {\r\n \r\n const method = req.method.toUpperCase();\r\n let newReq = null;\r\n\r\n if (method === 'POST' || \r\n method === 'PUT' ||\r\n method === 'PATCH' || \r\n method === 'DELETE') {\r\n newReq = req.clone({\r\n headers: req.headers.set('Content-Type', 'application/json')\r\n })\r\n }\r\n\r\n return next.handle(newReq || req);\r\n }\r\n}","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".carFaxTooltip[_ngcontent-%COMP%]{font-size:12px}\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/mark-as-on-order.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar RoleClientService = /** @class */ (function (_super) {\n __extends(RoleClientService, _super);\n function RoleClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @return Success\n */\n RoleClientService.prototype.GetRoleOptionsGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Role/GetRoleOptions\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n RoleClientService.prototype.GetRoleOptionsGET = function () {\n return this.GetRoleOptionsGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param roleId undefined\n * @return Success\n */\n RoleClientService.prototype.GetRoleAccessRightsByRoleidGETResponse = function (roleId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Role/GetRoleAccessRights/\" + roleId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param roleId undefined\n * @return Success\n */\n RoleClientService.prototype.GetRoleAccessRightsByRoleidGET = function (roleId) {\n return this.GetRoleAccessRightsByRoleidGETResponse(roleId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param roleId undefined\n * @return Success\n */\n RoleClientService.prototype.GetRoleModuleAccessByRoleidGETResponse = function (roleId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Role/GetRoleModuleAccess/\" + roleId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param roleId undefined\n * @return Success\n */\n RoleClientService.prototype.GetRoleModuleAccessByRoleidGET = function (roleId) {\n return this.GetRoleModuleAccessByRoleidGETResponse(roleId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param roleId undefined\n * @return Success\n */\n RoleClientService.prototype.GetRoleModuleCategoriesByRoleidGETResponse = function (roleId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Role/GetRoleModuleCategories/\" + roleId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param roleId undefined\n * @return Success\n */\n RoleClientService.prototype.GetRoleModuleCategoriesByRoleidGET = function (roleId) {\n return this.GetRoleModuleCategoriesByRoleidGETResponse(roleId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n RoleClientService.prototype.GetRoleAccessRightCategoriesGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Role/GetRoleAccessRightCategories\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n RoleClientService.prototype.GetRoleAccessRightCategoriesGET = function () {\n return this.GetRoleAccessRightCategoriesGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `RoleClientService.RoleAccessUpdateByRoleidGETParams` containing the following parameters:\n *\n * - `roleId`:\n *\n * - `moduleIdList`:\n *\n * - `accessRightIdList`:\n *\n * @return Success\n */\n RoleClientService.prototype.RoleAccessUpdateByRoleidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (params.moduleIdList || []).forEach(function (val) { if (val != null)\n __params = __params.append('moduleIdList', val.toString()); });\n (params.accessRightIdList || []).forEach(function (val) { if (val != null)\n __params = __params.append('accessRightIdList', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Role/RoleAccessUpdate/\" + params.roleId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: _r.body === 'true' });\n }));\n };\n /**\n * @param params The `RoleClientService.RoleAccessUpdateByRoleidGETParams` containing the following parameters:\n *\n * - `roleId`:\n *\n * - `moduleIdList`:\n *\n * - `accessRightIdList`:\n *\n * @return Success\n */\n RoleClientService.prototype.RoleAccessUpdateByRoleidGET = function (params) {\n return this.RoleAccessUpdateByRoleidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param role undefined\n * @return Success\n */\n RoleClientService.prototype.AddEditRolePOSTResponse = function (role) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = role;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Role/AddEditRole\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param role undefined\n * @return Success\n */\n RoleClientService.prototype.AddEditRolePOST = function (role) {\n return this.AddEditRolePOSTResponse(role).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n RoleClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Role/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n RoleClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n RoleClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Role/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n RoleClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n RoleClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Role/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n RoleClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n RoleClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Role\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n RoleClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n RoleClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Role\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n RoleClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n RoleClientService.GetRoleOptionsGETPath = '/api/Role/GetRoleOptions';\n RoleClientService.GetRoleAccessRightsByRoleidGETPath = '/api/Role/GetRoleAccessRights/{roleId}';\n RoleClientService.GetRoleModuleAccessByRoleidGETPath = '/api/Role/GetRoleModuleAccess/{roleId}';\n RoleClientService.GetRoleModuleCategoriesByRoleidGETPath = '/api/Role/GetRoleModuleCategories/{roleId}';\n RoleClientService.GetRoleAccessRightCategoriesGETPath = '/api/Role/GetRoleAccessRightCategories';\n RoleClientService.RoleAccessUpdateByRoleidGETPath = '/api/Role/RoleAccessUpdate/{roleId}';\n RoleClientService.AddEditRolePOSTPath = '/api/Role/AddEditRole';\n RoleClientService.ByIdGETPath = '/api/Role/{id}';\n RoleClientService.ByIdDELETEPath = '/api/Role/{id}';\n RoleClientService.GetManyGETPath = '/api/Role/GetMany';\n RoleClientService.PUTPath = '/api/Role';\n RoleClientService.POSTPath = '/api/Role';\n RoleClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function RoleClientService_Factory() { return new RoleClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: RoleClientService, providedIn: \"root\" });\n return RoleClientService;\n}(base_service_1.BaseService));\nexports.RoleClientService = RoleClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { RoleOptionDto } from '../models/role-option-dto';\r\nimport { RoleAccessOptionDto } from '../models/role-access-option-dto';\r\nimport { RoleDto } from '../models/role-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass RoleClientService extends __BaseService {\r\n static readonly GetRoleOptionsGETPath = '/api/Role/GetRoleOptions';\r\n static readonly GetRoleAccessRightsByRoleidGETPath = '/api/Role/GetRoleAccessRights/{roleId}';\r\n static readonly GetRoleModuleAccessByRoleidGETPath = '/api/Role/GetRoleModuleAccess/{roleId}';\r\n static readonly GetRoleModuleCategoriesByRoleidGETPath = '/api/Role/GetRoleModuleCategories/{roleId}';\r\n static readonly GetRoleAccessRightCategoriesGETPath = '/api/Role/GetRoleAccessRightCategories';\r\n static readonly RoleAccessUpdateByRoleidGETPath = '/api/Role/RoleAccessUpdate/{roleId}';\r\n static readonly AddEditRolePOSTPath = '/api/Role/AddEditRole';\r\n static readonly ByIdGETPath = '/api/Role/{id}';\r\n static readonly ByIdDELETEPath = '/api/Role/{id}';\r\n static readonly GetManyGETPath = '/api/Role/GetMany';\r\n static readonly PUTPath = '/api/Role';\r\n static readonly POSTPath = '/api/Role';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetRoleOptionsGETResponse(): __Observable<__StrictHttpResponse>>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Role/GetRoleOptions`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>>;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetRoleOptionsGET(): __Observable>> {\r\n return this.GetRoleOptionsGETResponse().pipe(\r\n __map(_r => _r.body as Array>)\r\n );\r\n }\r\n\r\n /**\r\n * @param roleId undefined\r\n * @return Success\r\n */\r\n GetRoleAccessRightsByRoleidGETResponse(roleId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Role/GetRoleAccessRights/${roleId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param roleId undefined\r\n * @return Success\r\n */\r\n GetRoleAccessRightsByRoleidGET(roleId: number): __Observable> {\r\n return this.GetRoleAccessRightsByRoleidGETResponse(roleId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param roleId undefined\r\n * @return Success\r\n */\r\n GetRoleModuleAccessByRoleidGETResponse(roleId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Role/GetRoleModuleAccess/${roleId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param roleId undefined\r\n * @return Success\r\n */\r\n GetRoleModuleAccessByRoleidGET(roleId: number): __Observable> {\r\n return this.GetRoleModuleAccessByRoleidGETResponse(roleId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param roleId undefined\r\n * @return Success\r\n */\r\n GetRoleModuleCategoriesByRoleidGETResponse(roleId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Role/GetRoleModuleCategories/${roleId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param roleId undefined\r\n * @return Success\r\n */\r\n GetRoleModuleCategoriesByRoleidGET(roleId: number): __Observable> {\r\n return this.GetRoleModuleCategoriesByRoleidGETResponse(roleId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetRoleAccessRightCategoriesGETResponse(): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Role/GetRoleAccessRightCategories`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetRoleAccessRightCategoriesGET(): __Observable> {\r\n return this.GetRoleAccessRightCategoriesGETResponse().pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `RoleClientService.RoleAccessUpdateByRoleidGETParams` containing the following parameters:\r\n *\r\n * - `roleId`:\r\n *\r\n * - `moduleIdList`:\r\n *\r\n * - `accessRightIdList`:\r\n *\r\n * @return Success\r\n */\r\n RoleAccessUpdateByRoleidGETResponse(params: RoleClientService.RoleAccessUpdateByRoleidGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n (params.moduleIdList || []).forEach(val => {if (val != null) __params = __params.append('moduleIdList', val.toString())});\r\n (params.accessRightIdList || []).forEach(val => {if (val != null) __params = __params.append('accessRightIdList', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Role/RoleAccessUpdate/${params.roleId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: (_r as HttpResponse).body === 'true' }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `RoleClientService.RoleAccessUpdateByRoleidGETParams` containing the following parameters:\r\n *\r\n * - `roleId`:\r\n *\r\n * - `moduleIdList`:\r\n *\r\n * - `accessRightIdList`:\r\n *\r\n * @return Success\r\n */\r\n RoleAccessUpdateByRoleidGET(params: RoleClientService.RoleAccessUpdateByRoleidGETParams): __Observable {\r\n return this.RoleAccessUpdateByRoleidGETResponse(params).pipe(\r\n __map(_r => _r.body as boolean)\r\n );\r\n }\r\n\r\n /**\r\n * @param role undefined\r\n * @return Success\r\n */\r\n AddEditRolePOSTResponse(role?: RoleDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = role;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Role/AddEditRole`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param role undefined\r\n * @return Success\r\n */\r\n AddEditRolePOST(role?: RoleDto): __Observable {\r\n return this.AddEditRolePOSTResponse(role).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Role/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as RoleDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Role/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Role/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: RoleDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Role`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: RoleDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: RoleDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Role`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: RoleDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as RoleDto)\r\n );\r\n }\r\n}\r\n\r\nmodule RoleClientService {\r\n\r\n /**\r\n * Parameters for RoleAccessUpdateByRoleidGET\r\n */\r\n export interface RoleAccessUpdateByRoleidGETParams {\r\n roleId: number;\r\n moduleIdList?: Array;\r\n accessRightIdList?: Array;\r\n }\r\n}\r\n\r\nexport { RoleClientService }\r\n","'use strict';\nvar anObject = require('./_an-object');\nvar toPrimitive = require('./_to-primitive');\nvar NUMBER = 'number';\n\nmodule.exports = function (hint) {\n if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');\n return toPrimitive(anObject(this), hint != NUMBER);\n};\n","module.exports = __webpack_public_path__ + \"service-marketing-email-blue.57d3362613bcbda58ac9.svg\";","module.exports = \"\"","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar ConfirmModalComponent = /** @class */ (function () {\n function ConfirmModalComponent(_bsModalRef, tService) {\n this._bsModalRef = _bsModalRef;\n this.tService = tService;\n this.onClosed = new core_1.EventEmitter();\n }\n ConfirmModalComponent.prototype.ngOnInit = function () {\n };\n ConfirmModalComponent.prototype.onContinue = function () {\n this.onClosed.emit({ confirmed: true });\n this._bsModalRef.hide();\n };\n ConfirmModalComponent.prototype.onCancel = function () {\n this.onClosed.emit({ confirmed: false });\n this._bsModalRef.hide();\n };\n return ConfirmModalComponent;\n}());\nexports.ConfirmModalComponent = ConfirmModalComponent;\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\n\r\n@Component({\r\n selector: 'confirm-modal',\r\n templateUrl: './confirm-modal.component-ng.html',\r\n styleUrls: ['./confirm-modal.component.scss']\r\n})\r\n\r\nexport class ConfirmModalComponent implements OnInit {\r\n\r\n @Input() messageKey: string;\r\n @Input() message: string;\r\n @Output() onClosed = new EventEmitter();\r\n\r\n constructor(public _bsModalRef: BsModalRef,\r\n public tService: TranslateService) {\r\n\r\n }\r\n\r\n public ngOnInit(): void {\r\n }\r\n\r\n public onContinue(): void {\r\n this.onClosed.emit({ confirmed: true });\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public onCancel(): void {\r\n this.onClosed.emit({ confirmed: false });\r\n this._bsModalRef.hide();\r\n }\r\n}","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar EntityOpportunityClientService = /** @class */ (function (_super) {\n __extends(EntityOpportunityClientService, _super);\n function EntityOpportunityClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n */\n EntityOpportunityClientService.prototype.GetOpportunitiesForEntityByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/EntityOpportunity/GetOpportunitiesForEntity/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n EntityOpportunityClientService.prototype.GetOpportunitiesForEntityByEntityidGET = function (entityId) {\n return this.GetOpportunitiesForEntityByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n EntityOpportunityClientService.GetOpportunitiesForEntityByEntityidGETPath = '/api/EntityOpportunity/GetOpportunitiesForEntity/{entityId}';\n EntityOpportunityClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function EntityOpportunityClientService_Factory() { return new EntityOpportunityClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: EntityOpportunityClientService, providedIn: \"root\" });\n return EntityOpportunityClientService;\n}(base_service_1.BaseService));\nexports.EntityOpportunityClientService = EntityOpportunityClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass EntityOpportunityClientService extends __BaseService {\r\n static readonly GetOpportunitiesForEntityByEntityidGETPath = '/api/EntityOpportunity/GetOpportunitiesForEntity/{entityId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetOpportunitiesForEntityByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/EntityOpportunity/GetOpportunitiesForEntity/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetOpportunitiesForEntityByEntityidGET(entityId: string): __Observable {\r\n return this.GetOpportunitiesForEntityByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule EntityOpportunityClientService {\r\n}\r\n\r\nexport { EntityOpportunityClientService }\r\n","var path = '/app/components/data-entry/data-entry-rates.component.html';\nvar html = \"
1\\\">

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar locale_date_pipe_1 = require(\"../../../../filters/locale-date.pipe\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar RepairOrdersComponent = /** @class */ (function () {\n function RepairOrdersComponent(localeDate, translateService) {\n this.localeDate = localeDate;\n this.translateService = translateService;\n this.recentRepairOrder = \"\";\n }\n RepairOrdersComponent.prototype.ngOnInit = function () {\n this.idUnique = 'repair-orders' + (Date.now() + (Math.floor(Math.random() * 1000))).toString();\n };\n RepairOrdersComponent.prototype.ngOnChanges = function (changes) {\n if (changes.date && !changes.date.isFirstChange() && changes.date.currentValue !== null) {\n var repairOrderDate = this.localeDate.transform(this.date);\n if (changes.total && changes.total.currentValue !== null) {\n var translateKey = this.getTranslateKey();\n this.recentRepairOrder = this.translateService.instant(translateKey, { latestDate: repairOrderDate, total: this.total });\n }\n else {\n this.recentRepairOrder = repairOrderDate;\n }\n }\n };\n RepairOrdersComponent.prototype.getTranslateKey = function () {\n var key;\n if (this.abbreviate) {\n key = constants_1.TranslateKeys.recentRepairOrdersAbbreviatedKey;\n }\n else {\n key = constants_1.TranslateKeys.recentRepairOrdersKey;\n if (this.total === 1) {\n key += constants_1.TranslateKeys.SingularKey;\n }\n }\n return key;\n };\n return RepairOrdersComponent;\n}());\nexports.RepairOrdersComponent = RepairOrdersComponent;\n","import { Component, OnChanges, OnInit, SimpleChanges, Input } from '@angular/core';\r\nimport { TranslateKeys } from '../../../../constants';\r\nimport { LocaleDatePipe } from '../../../../filters/locale-date.pipe';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'repair-orders',\r\n templateUrl: './repair-orders.component-ng.html',\r\n styleUrls: ['./repair-orders.component.scss']\r\n})\r\nexport class RepairOrdersComponent implements OnInit, OnChanges {\r\n @Input() date: any;\r\n @Input() total: number;\r\n @Input() alertExists: boolean;\r\n @Input() abbreviate: boolean;\r\n\r\n public recentRepairOrder: string = \"\";\r\n public idUnique: string;\r\n\r\n constructor(private localeDate: LocaleDatePipe, private translateService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n this.idUnique = 'repair-orders' + (Date.now() + (Math.floor(Math.random() * 1000))).toString();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.date && !changes.date.isFirstChange() && changes.date.currentValue !== null) {\r\n let repairOrderDate = this.localeDate.transform(this.date);\r\n if (changes.total && changes.total.currentValue !== null) {\r\n let translateKey = this.getTranslateKey();\r\n this.recentRepairOrder = this.translateService.instant(translateKey, { latestDate: repairOrderDate, total: this.total });\r\n }\r\n else {\r\n this.recentRepairOrder = repairOrderDate;\r\n }\r\n }\r\n }\r\n\r\n private getTranslateKey(): any {\r\n let key;\r\n\r\n if (this.abbreviate) {\r\n key = TranslateKeys.recentRepairOrdersAbbreviatedKey;\r\n } else {\r\n key = TranslateKeys.recentRepairOrdersKey;\r\n\r\n if (this.total === 1) {\r\n key += TranslateKeys.SingularKey;\r\n }\r\n }\r\n\r\n return key;\r\n }\r\n\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./more-vehicle-offers.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"./payment-difference/payment-difference.component.ngfactory\"));\nvar i4 = __importStar(require(\"./payment-difference/payment-difference.component\"));\nvar i5 = __importStar(require(\"@angular/forms\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./on-demand-offers.component\"));\nvar i8 = __importStar(require(\"../../../../services/authorization.service\"));\nvar i9 = __importStar(require(\"../../../../ajs-upgraded-providers\"));\nvar styles_OnDemandOffersComponent = [i0.styles];\nvar RenderType_OnDemandOffersComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_OnDemandOffersComponent, data: {} });\nexports.RenderType_OnDemandOffersComponent = RenderType_OnDemandOffersComponent;\nfunction View_OnDemandOffersComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 19, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 18, \"a\", [], [[1, \"selected\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.clickHandler(\"alternateVehicle\", _v.context.index, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 17, \"div\", [[\"class\", \"row mvos\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 16, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 15, \"div\", [[\"class\", \"row mvos-details-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"col-xs-4 mvos-image\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"img\", [[\"alt\", \"Alternate Vehicle\"]], [[8, \"src\", 4]], [[null, \"error\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"error\" === en)) {\n var pd_0 = (_co.updateUrl($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 12, \"div\", [[\"class\", \"col-xs-8 end\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 7, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 4, \"div\", [[\"class\", \"col-xs-7 no-padding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"class\", \"mvos-type\"]], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\" \", \" \", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵppd(13, 1), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"payment-difference\", [], null, null, null, i3.View_PaymentDifferenceComponent_0, i3.RenderType_PaymentDifferenceComponent)), i1.ɵdid(15, 114688, null, 0, i4.PaymentDifferenceComponent, [], { vehicle: [0, \"vehicle\"], hasPaymentsPermission: [1, \"hasPaymentsPermission\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_4 = _v.context.$implicit; var currVal_5 = _co.hasPaymentsPermission; _ck(_v, 15, 0, currVal_4, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getSelectedAttribute(\"alternateVehicle\", _v.context.index); _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.imagePath; _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 11, 0, _ck(_v, 13, 0, i1.ɵnov(_v.parent, 0), i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"alternate\")))); var currVal_3 = ((_co.alternateVehicles.length > 1) ? (_v.context.index + 1) : null); _ck(_v, 11, 0, currVal_2, currVal_3); var currVal_6 = _v.context.$implicit.yearID; _ck(_v, 17, 0, currVal_6); var currVal_7 = _v.context.$implicit.trimFullName; _ck(_v, 19, 0, currVal_7); }); }\nfunction View_OnDemandOffersComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i5.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i5.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = _v.context.$implicit.makeId; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.makeId; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.makeName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_OnDemandOffersComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"style\", \"font-size:12px;\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 11, \"select\", [[\"class\", \"form-control offBrandDropSelect\"], [\"id\", \"select-on-demand-off-brand-make\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedMakeId = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onMakeSelect() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i5.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.SelectControlValueAccessor]), i1.ɵdid(6, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i1.ɵdid(8, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i1.ɵeld(9, 0, null, null, 3, \"option\", [[\"translate\", \"selectReplacementBrand\"], [\"value\", \"\"]], null, null, null, null, null)), i1.ɵdid(10, 147456, null, 0, i5.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(11, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), i1.ɵdid(12, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OnDemandOffersComponent_3)), i1.ɵdid(14, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co.selectedMakeId; _ck(_v, 6, 0, currVal_8); var currVal_9 = \"\"; _ck(_v, 10, 0, currVal_9); var currVal_10 = \"\"; _ck(_v, 11, 0, currVal_10); var currVal_11 = \"selectReplacementBrand\"; _ck(_v, 12, 0, currVal_11); var currVal_12 = _co.dealerGroupMakes; _ck(_v, 14, 0, currVal_12); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.noRecommendationsLabel; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 8).ngClassValid; var currVal_6 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_OnDemandOffersComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i6.UpperCasePipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 11, \"div\", [[\"class\", \"offer-dropdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 10, \"div\", [[\"class\", \"dropdown mvos-selector\"], [\"id\", \"onDemandOffBrandListToggleWrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"a\", [[\"class\", \"dropdown-toggle mvos-dropdown\"], [\"data-toggle\", \"dropdown\"], [\"href\", \"#\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleOnDemandDropSelect() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"div\", [[\"class\", \"row mvos1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 4, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"span\", [[\"class\", \"mvos-more\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(9, 0, null, null, 0, \"div\", [[\"class\", \"mvos-bottom\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"ul\", [[\"class\", \"dropdown-menu offercontainer\"], [\"ng-if\", \"alternateVehicles\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OnDemandOffersComponent_1)), i1.ɵdid(12, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OnDemandOffersComponent_2)), i1.ɵdid(14, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.alternateVehicles; _ck(_v, 12, 0, currVal_2); var currVal_3 = (_co.showOffBrandDropSelect === true); _ck(_v, 14, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getContainerClass(); _ck(_v, 5, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 8).transform(\"searchOffBrandOffers\")); _ck(_v, 7, 0, currVal_1); }); }\nexports.View_OnDemandOffersComponent_0 = View_OnDemandOffersComponent_0;\nfunction View_OnDemandOffersComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"aa-on-demand-offers\", [], null, null, null, View_OnDemandOffersComponent_0, RenderType_OnDemandOffersComponent)), i1.ɵdid(1, 638976, null, 0, i7.OnDemandOffersComponent, [i8.AuthorizationService, i9.VehicleService, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_OnDemandOffersComponent_Host_0 = View_OnDemandOffersComponent_Host_0;\nvar OnDemandOffersComponentNgFactory = i1.ɵccf(\"aa-on-demand-offers\", i7.OnDemandOffersComponent, View_OnDemandOffersComponent_Host_0, { selectedVehicle: \"selectedVehicle\", dealerGroupMakes: \"dealerGroupMakes\", opportunityId: \"opportunityId\" }, { select: \"select\" }, []);\nexports.OnDemandOffersComponentNgFactory = OnDemandOffersComponentNgFactory;\n","\r\n
\r\n \r\n \r\n
\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar toaster_logger_service_1 = require(\"../../../../core/toaster-logger.service\");\nvar mileage_edit_modal_component_1 = require(\"../mileage-edit-modal/mileage-edit-modal.component\");\nvar ngx_modal_wrapper_service_1 = require(\"../../../../services/ngx-modal-wrapper.service\");\nvar MileageEditActionComponent = /** @class */ (function () {\n function MileageEditActionComponent(modalService, tService, logger, vehicleService) {\n this.modalService = modalService;\n this.tService = tService;\n this.logger = logger;\n this.vehicleService = vehicleService;\n this.onMileageValueChange = new core_1.EventEmitter();\n this.startWorkingState = new core_1.EventEmitter();\n }\n MileageEditActionComponent.prototype.editMileageModal = function (mileage, readOnDate) {\n var _this = this;\n this.bsModalRef = this.modalService.show(mileage_edit_modal_component_1.MileageEditModalComponent);\n this.bsModalRef.content.onSaveChanges.subscribe(function (result) {\n _this.startWorkingState.emit();\n _this.vehicleService.updateMileAge(_this.opportunityId, result.mileage, result.readOnDate)\n .then(function (data) {\n _this.onMileageValueChange.emit({ $event: { mileageValue: result } });\n });\n });\n };\n return MileageEditActionComponent;\n}());\nexports.MileageEditActionComponent = MileageEditActionComponent;\n","import { Component, EventEmitter, Inject, Input, Output } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { VehicleService } from '../../../../ajs-upgraded-providers';\r\nimport { ToasterLoggerService } from '../../../../core/toaster-logger.service';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { MileageEditModalComponent } from '../mileage-edit-modal/mileage-edit-modal.component';\r\nimport { NgxModalWrapperService } from '../../../../services/ngx-modal-wrapper.service';\r\n\r\n@Component({\r\n selector: 'mileage-edit-action',\r\n templateUrl: './mileage-edit-action.component-ng.html',\r\n styleUrls: ['./mileage-edit-action.component.scss']\r\n})\r\nexport class MileageEditActionComponent {\r\n @Input() recordedMileage: number;\r\n @Input() recordedDate: any;\r\n @Input() estimatedMileage: number;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() opportunityId: string;\r\n @Output() onMileageValueChange = new EventEmitter();\r\n @Output() startWorkingState = new EventEmitter();\r\n\r\n bsModalRef: BsModalRef;\r\n\r\n constructor(\r\n public modalService: NgxModalWrapperService,\r\n public tService: TranslateService,\r\n public logger: ToasterLoggerService,\r\n @Inject(VehicleService) private vehicleService) {\r\n }\r\n\r\n public editMileageModal(mileage: number, readOnDate: Date) {\r\n this.bsModalRef = this.modalService.show(MileageEditModalComponent);\r\n\r\n this.bsModalRef.content.onSaveChanges.subscribe((result: any) => {\r\n this.startWorkingState.emit();\r\n this.vehicleService.updateMileAge(this.opportunityId, result.mileage, result.readOnDate)\r\n .then(data => {\r\n this.onMileageValueChange.emit({ $event: { mileageValue: result } });\r\n });\r\n });\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../../../../node_modules/angular2-toaster/src/toaster-container.component.ngfactory\"));\nvar i2 = __importStar(require(\"angular2-toaster/src/toaster-container.component\"));\nvar i3 = __importStar(require(\"angular2-toaster/src/toaster.service\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"./ngx-toaster.component\"));\nvar styles_NgxToaster = [];\nvar RenderType_NgxToaster = i0.ɵcrt({ encapsulation: 2, styles: styles_NgxToaster, data: {} });\nexports.RenderType_NgxToaster = RenderType_NgxToaster;\nfunction View_NgxToaster_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.popToast() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵted(-1, null, [\"Test Toaster\"]))], null, null); }\nfunction View_NgxToaster_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"toaster-container\", [], null, null, null, i1.View_ToasterContainerComponent_0, i1.RenderType_ToasterContainerComponent)), i0.ɵdid(2, 245760, null, 0, i2.ToasterContainerComponent, [i3.ToasterService, i0.ChangeDetectorRef, i0.NgZone], { toasterconfig: [0, \"toasterconfig\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_NgxToaster_1)), i0.ɵdid(4, 16384, null, 0, i4.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.configToaster; _ck(_v, 2, 0, currVal_0); var currVal_1 = false; _ck(_v, 4, 0, currVal_1); }, null); }\nexports.View_NgxToaster_0 = View_NgxToaster_0;\nfunction View_NgxToaster_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"ngx-toaster\", [], null, null, null, View_NgxToaster_0, RenderType_NgxToaster)), i0.ɵdid(1, 49152, null, 0, i5.NgxToaster, [i3.ToasterService], null, null)], null, null); }\nexports.View_NgxToaster_Host_0 = View_NgxToaster_Host_0;\nvar NgxToasterNgFactory = i0.ɵccf(\"ngx-toaster\", i5.NgxToaster, View_NgxToaster_Host_0, {}, {}, []);\nexports.NgxToasterNgFactory = NgxToasterNgFactory;\n","
\n \n \n \n
\n ","module.exports = __webpack_public_path__ + \"icon-dnc.f22a4be711a1953eb8a5.svg\";","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar locale_date_pipe_1 = require(\"../../../../filters/locale-date.pipe\");\nvar locale_date_time_pipe_1 = require(\"../../../../filters/locale-date-time.pipe\");\nvar locale_time_pipe_1 = require(\"../../../../filters/locale-time.pipe\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar ServiceAppointmentComponent = /** @class */ (function () {\n function ServiceAppointmentComponent(localeDate, localeDateTime, localeTime, translateService) {\n this.localeDate = localeDate;\n this.localeDateTime = localeDateTime;\n this.localeTime = localeTime;\n this.translateService = translateService;\n this.serviceAppointment = \"\";\n }\n ServiceAppointmentComponent.prototype.ngOnInit = function () {\n this.idUnique = 'service-appointment' + (Date.now() + (Math.floor(Math.random() * 1000))).toString();\n };\n ServiceAppointmentComponent.prototype.ngOnChanges = function (changes) {\n if (changes.date && !changes.date.isFirstChange() && changes.date.currentValue !== null && changes.date.currentValue !== undefined) {\n if (this.abbreviate) {\n var serviceAppointmentDateTime = this.localeDateTime.transform(this.date);\n this.serviceAppointment = this.translateService.instant('serviceAppointmentShortText', { date: serviceAppointmentDateTime });\n }\n else {\n var serviceAppointmentDate = this.localeDate.transform(this.date);\n var serviceAppointmentTime = this.localeTime.transform(this.date);\n this.serviceAppointment = this.translateService.instant('serviceAppointmentLongText', { date: serviceAppointmentDate, time: serviceAppointmentTime });\n }\n }\n };\n return ServiceAppointmentComponent;\n}());\nexports.ServiceAppointmentComponent = ServiceAppointmentComponent;\n","import { Component, OnInit, OnChanges, SimpleChanges, Input } from '@angular/core';\r\nimport { LocaleDatePipe } from '../../../../filters/locale-date.pipe';\r\nimport { LocaleDateTimePipe } from '../../../../filters/locale-date-time.pipe';\r\nimport { LocaleTimePipe } from '../../../../filters/locale-time.pipe';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'service-appointment',\r\n templateUrl: './service-appointment.component-ng.html',\r\n styleUrls: ['./service-appointment.component.scss']\r\n})\r\nexport class ServiceAppointmentComponent implements OnInit, OnChanges {\r\n @Input() date: any;\r\n @Input() alertExists: boolean;\r\n @Input() abbreviate: boolean;\r\n public serviceAppointment: string = \"\";\r\n public idUnique: string;\r\n\r\n constructor(private localeDate: LocaleDatePipe, private localeDateTime: LocaleDateTimePipe, private localeTime: LocaleTimePipe, private translateService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n this.idUnique = 'service-appointment' + (Date.now() + (Math.floor(Math.random() * 1000))).toString();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.date && !changes.date.isFirstChange() && changes.date.currentValue !== null && changes.date.currentValue !== undefined) {\r\n if (this.abbreviate) {\r\n let serviceAppointmentDateTime = this.localeDateTime.transform(this.date);\r\n this.serviceAppointment = this.translateService.instant('serviceAppointmentShortText', { date: serviceAppointmentDateTime });\r\n }\r\n else {\r\n let serviceAppointmentDate = this.localeDate.transform(this.date);\r\n let serviceAppointmentTime = this.localeTime.transform(this.date);\r\n this.serviceAppointment = this.translateService.instant('serviceAppointmentLongText', { date: serviceAppointmentDate, time: serviceAppointmentTime });\r\n }\r\n }\r\n }\r\n\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar MobileCustomerEmailComponent = /** @class */ (function () {\n function MobileCustomerEmailComponent() {\n }\n MobileCustomerEmailComponent.prototype.ngOnInit = function () {\n };\n return MobileCustomerEmailComponent;\n}());\nexports.MobileCustomerEmailComponent = MobileCustomerEmailComponent;\n","import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';\r\nimport { CustomerContact } from '../../../../interfaces/customer-contact.interface';\r\n\r\n@Component({\r\n selector: 'mobile-customer-email',\r\n templateUrl: './mobile-customer-email.component-ng.html',\r\n styleUrls: ['./mobile-customer-email.component.scss', '../customer-info/customer-info.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class MobileCustomerEmailComponent implements OnInit {\r\n\r\n @Input() doNotEmail: boolean;\r\n @Input() email: CustomerContact;\r\n @Input() type: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar DefaultTabActionComponent = /** @class */ (function () {\n function DefaultTabActionComponent() {\n this.onAction = new core_1.EventEmitter();\n }\n DefaultTabActionComponent.prototype.ngOnInit = function () {\n };\n DefaultTabActionComponent.prototype.onClickMarkAsDefault = function () {\n this.onAction.emit();\n };\n return DefaultTabActionComponent;\n}());\nexports.DefaultTabActionComponent = DefaultTabActionComponent;\n","import { Component, OnInit, Input, Inject, Output, EventEmitter } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'default-tab-action',\r\n templateUrl: './default-tab-action.component-ng.html',\r\n styleUrls: ['./default-tab-action.component.scss']\r\n})\r\nexport class DefaultTabActionComponent implements OnInit {\r\n\r\n @Input() defaultTab: number;\r\n @Input() currentTab: number;\r\n @Output() onAction = new EventEmitter<{}>();\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n onClickMarkAsDefault() {\r\n this.onAction.emit();\r\n }\r\n}\r\n","module.exports = \"search-menu .search-menu-container {\\n clear: both;\\n background: none;\\n top: 10px;\\n width: 100%;\\n min-width: 270px;\\n}\\nsearch-menu .search-menu-container .search-menu {\\n background: none;\\n margin-right: 20px;\\n margin-left: 10px;\\n margin-bottom: 0;\\n}\\nsearch-menu .search-menu-container .search-menu ul {\\n -webkit-padding-start: 0px;\\n padding-left: 0px;\\n}\\nsearch-menu .search-menu-container .search-menu .menu-item {\\n border-bottom: 1px solid #005691;\\n}\\nsearch-menu .menu-category {\\n cursor: pointer;\\n border-top: 1px solid white;\\n border-bottom: 1px solid white;\\n line-height: 45px;\\n padding-left: 7px;\\n}\\nsearch-menu .menu-category h5 {\\n display: inline-block;\\n}\\nsearch-menu .menu-category icon {\\n margin-top: 13px;\\n margin-bottom: 13px;\\n font-size: 15px;\\n}\\nsearch-menu ul.search-menu {\\n padding: 0 0 0 0;\\n}\\nsearch-menu ul.search-menu li {\\n list-style: none;\\n display: table;\\n width: 100%;\\n}\\nsearch-menu ul.search-menu li a {\\n color: #fff;\\n font-family: Roboto, sans-serif;\\n font-size: 14px;\\n font-weight: 300;\\n display: table-cell;\\n width: 190px;\\n height: 35px;\\n vertical-align: middle;\\n padding-left: 17px;\\n}\\nsearch-menu ul.search-menu li a.active-menu-item {\\n border-bottom: transparent 5px solid;\\n}\\nsearch-menu ul.search-menu li .optionLinks {\\n padding-top: 25px;\\n padding-left: 7px;\\n text-align: left;\\n cursor: pointer;\\n}\\nsearch-menu ul.search-menu li .optionLinks a {\\n font-size: 12px;\\n padding: 0;\\n display: inline;\\n width: auto;\\n}\\nsearch-menu .menu-item {\\n border-bottom: 1px solid #005691;\\n}\\nsearch-menu .menu-row:hover {\\n color: #c1c2c4 !important;\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#172751));\\n background: linear-gradient(to bottom, #172751 0%, #172751 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#00548f));\\n background: linear-gradient(#172751, #00548f);\\n border-bottom: #2d89c9 5px solid;\\n cursor: pointer;\\n}\\nsearch-menu .no-search {\\n font-size: 14px;\\n color: #fff;\\n width: 200px;\\n height: 35px;\\n padding-top: 7px;\\n padding-left: 17px;\\n}\\nsearch-menu .icon-trash {\\n position: absolute;\\n right: 28px;\\n padding-top: 4px;\\n}\\nsearch-menu .icon-share {\\n position: absolute;\\n right: 50px;\\n padding-top: 4px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1tZW51LmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3NlYXJjaC9zZWFyY2gtbWVudS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJSTtFQUNJLFlBQUE7RUFDQSxpQkFBQTtFQUNBLFVBQUE7RUFDQSxZQUFBO0VBQ0EsaUJBQUE7Q0NIUDtBREtPO0VBQ0ksaUJBQUE7RUFDQSxtQkFBQTtFQUNBLGtCQUFBO0VBQ0EsaUJBQUE7Q0NIWDtBREtXO0VBQ0ksMkJBQUE7RUFDQSxrQkFBQTtDQ0hmO0FETVc7RUFDSSxpQ0FBQTtDQ0pmO0FEV0c7RUFDSSxnQkFBQTtFQUNBLDRCQUFBO0VBQ0EsK0JBQUE7RUFDQSxrQkFBQTtFQUNBLGtCQUFBO0NDVFA7QURXTztFQUNJLHNCQUFBO0NDVFg7QURZTztFQUNJLGlCQUFBO0VBQ0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bmVyIHtcclxuICAgICAgICBjbGVhcjogYm90aDtcclxuICAgICAgICBiYWNrZ3JvdW5kOiBub25lO1xyXG4gICAgICAgIHRvcDogMTBweDtcclxuICAgICAgICB3aWR0aDogMTAwJTtcclxuICAgICAgICBtaW4td2lkdGg6IDI3MHB4O1xyXG5cclxuICAgICAgICAuc2VhcmNoLW1lbnUge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiBub25lO1xyXG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDIwcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxMHB4O1xyXG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xyXG5cclxuICAgICAgICAgICAgdWwge1xyXG4gICAgICAgICAgICAgICAgLXdlYmtpdC1wYWRkaW5nLXN0YXJ0OiAwcHg7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDBweDtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgLm1lbnUtaXRlbSB7XHJcbiAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgIzAwNTY5MTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcblxyXG5cclxuICAgIC5tZW51LWNhdGVnb3J5IHtcclxuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogMXB4IHNvbGlkIHdoaXRlO1xyXG4gICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCB3aGl0ZTtcclxuICAgICAgICBsaW5lLWhlaWdodDogNDVweDtcclxuICAgICAgICBwYWRkaW5nLWxlZnQ6IDdweDtcclxuXHJcbiAgICAgICAgaDUge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBpY29uIHtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogMTNweDtcclxuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMTNweDtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAxNXB4O1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICB1bC5zZWFyY2gtbWVudSB7XHJcbiAgICAgICAgcGFkZGluZzogMCAwIDAgMDtcclxuXHJcbiAgICAgICAgbGkge1xyXG4gICAgICAgICAgICBsaXN0LXN0eWxlOiBub25lO1xyXG4gICAgICAgICAgICBkaXNwbGF5OiB0YWJsZTtcclxuICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcblxyXG4gICAgICAgICAgICBhIHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiAjZmZmO1xyXG4gICAgICAgICAgICAgICAgZm9udC1mYW1pbHk6IFJvYm90bywgc2Fucy1zZXJpZjtcclxuICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiAzMDA7XHJcbiAgICAgICAgICAgICAgICBkaXNwbGF5OiB0YWJsZS1jZWxsO1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDE5MHB4O1xyXG4gICAgICAgICAgICAgICAgaGVpZ2h0OiAzNXB4O1xyXG4gICAgICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMTdweDtcclxuXHJcbiAgICAgICAgICAgICAgICAmLmFjdGl2ZS1tZW51LWl0ZW0ge1xyXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IHRyYW5zcGFyZW50IDVweCBzb2xpZDtcclxuICAgICAgICAgICAgICAgICAgICAvL3dpZHRoOiAxMDAlO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAub3B0aW9uTGlua3Mge1xyXG4gICAgICAgICAgICAgICAgcGFkZGluZy10b3A6IDI1cHg7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDdweDtcclxuICAgICAgICAgICAgICAgIHRleHQtYWxpZ246IGxlZnQ7XHJcbiAgICAgICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgICAgICAgICBhIHtcclxuICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDEycHg7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogMDtcclxuICAgICAgICAgICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmU7XHJcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGF1dG87XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLm1lbnUtaXRlbSB7XHJcbiAgICAgICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICMwMDU2OTE7XHJcbiAgICB9XHJcblxyXG4gICAgLm1lbnUtcm93OmhvdmVyIHtcclxuICAgICAgICBjb2xvcjogI2MxYzJjNCAhaW1wb3J0YW50O1xyXG4gICAgICAgIGJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgJG5hdnlCbHVlIDAlLCAkbGlnaHQtYmx1ZSAxMDAlKTtcclxuICAgICAgICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQodG8gYm90dG9tLCAkbmF2eUJsdWUgMCUsICRuYXZ5Qmx1ZSAxMDAlKTtcclxuICAgICAgICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQoJG5hdnlCbHVlLCAkbGlnaHQtYmx1ZSk7XHJcbiAgICAgICAgYm9yZGVyLWJvdHRvbTogIzJkODljOSA1cHggc29saWQ7XHJcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgfVxyXG5cclxuICAgIC5uby1zZWFyY2gge1xyXG4gICAgICAgIGZvbnQt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N3B4O1xufVxuc2VhcmNoLW1lbnUgLmljb24tdHJhc2gge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHJpZ2h0OiAyOHB4O1xuICBwYWRkaW5nLXRvcDogNHB4O1xufVxuc2VhcmNoLW1lbnUgLmljb24tc2hhcmUge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHJpZ2h0OiA1MHB4O1xuICBwYWRkaW5nLXRvcDogNHB4O1xufSJdfQ== */\"","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".sent-time[_ngcontent-%COMP%]{margin-left:5px}.user-message[_ngcontent-%COMP%]{color:#34699e}.customer-message[_ngcontent-%COMP%]{color:#444b4f}.activity-icon[_ngcontent-%COMP%]{vertical-align:top}.btn.view-upgrade-proposal-link[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.column-wrap[_ngcontent-%COMP%]{word-break:break-word}\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./vehicle-summary.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../vehicle-image/vehicle-image.component.ngfactory\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../vehicle-image/vehicle-image.component\"));\nvar i5 = __importStar(require(\"@ngx-translate/core\"));\nvar i6 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i7 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i9 = __importStar(require(\"./vehicle-summary.component\"));\nvar styles_VehicleSummaryComponent = [i0.styles];\nvar RenderType_VehicleSummaryComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_VehicleSummaryComponent, data: {} });\nexports.RenderType_VehicleSummaryComponent = RenderType_VehicleSummaryComponent;\nfunction View_VehicleSummaryComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"vehicle-image\", [], null, null, null, i2.View_VehicleImageComponent_0, i2.RenderType_VehicleImageComponent)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(3, { \"oasis\": 0 }), i1.ɵdid(4, 49152, null, 0, i4.VehicleImageComponent, [], { url: [0, \"url\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, (_co.isFordAlert && ((((_co.vehicle == null) ? null : _co.vehicle.makeName) == \"Ford\") || (((_co.vehicle == null) ? null : _co.vehicle.makeName) == \"Lincoln\")))); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.vehicle.imagePath; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_VehicleSummaryComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"h5 type-label bold\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\":\\u00A0\"]))], null, null); }\nfunction View_VehicleSummaryComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"h5 type-label bold planLabelTransparent\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\\u00A0\"])), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(_co.planTranslationKey)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"h5 type-label bold qa-vehicle-stock-no\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\\u00A0\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.vehicle == null) ? null : _co.vehicle.stockNo); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"h5 type-label bold\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(_co.averageTranslateKey)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"h5 type-label text-uppercase bold qa-vehicle-type\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\\u00A0\"])), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_3)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_4)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_5)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_6)), i1.ɵdid(11, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.isReplacement; _ck(_v, 5, 0, currVal_1); var currVal_2 = (((((_co.vehicle == null) ? null : _co.vehicle.pricingPlanMsrp) && _co.pricingPlanId) && (_co.pricingPlanId > 0)) || (((_co.vehicle == null) ? null : _co.vehicle.trimPlanPriceSourceId) === ((_co.trimPricePlanSource == null) ? null : _co.trimPricePlanSource.employeePricing))); _ck(_v, 7, 0, currVal_2); var currVal_3 = (_co.isReplacement && ((_co.vehicle == null) ? null : _co.vehicle.stockNo)); _ck(_v, 9, 0, currVal_3); var currVal_4 = (_co.isReplacement && !((_co.vehicle == null) ? null : _co.vehicle.stockNo)); _ck(_v, 11, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.vehicleTypeKeys[((_co.vehicle == null) ? null : _co.vehicle.type)])); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"h5 type-label bold planLabelTransparent\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\\u00A0\"])), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(_co.planTranslationKey)); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"h5 type-label bold qa-vehicle-stock-no\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.vehicle == null) ? null : _co.vehicle.stockNo); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"h5 type-label text-uppercase bold qa-vehicle-type\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\\u00A0\"])), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_8)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_9)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = ((((_co.vehicle == null) ? null : _co.vehicle.pricingPlanMsrp) && _co.pricingPlanId) && (_co.pricingPlanId > 0)); _ck(_v, 5, 0, currVal_1); var currVal_2 = (_co.isReplacement && ((_co.vehicle == null) ? null : _co.vehicle.stockNo)); _ck(_v, 7, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(_co.vehicleTypeKeys[((_co.vehicle == null) ? null : _co.vehicle.type)])); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"class\", \"value qa-vehicle-year\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\\u00A0\"])), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"value qa-vehicle-make-name\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.vehicle == null) ? null : _co.vehicle.yearID); _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_co.vehicle == null) ? null : _co.vehicle.makeName); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_VehicleSummaryComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_11)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"span\", [[\"class\", \"value qa-vehicle-trim-fullname\"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = (((_co.vehicle == null) ? null : _co.vehicle.yearID) && ((_co.vehicle == null) ? null : _co.vehicle.makeName)); _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = ((_co.vehicle == null) ? null : _co.vehicle.trimFullName); _ck(_v, 5, 0, currVal_1); }); }\nfunction View_VehicleSummaryComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"class\", \"value qa-vehicle-make-name\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\\u00A0\"])), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"value qa-vehicle-trim-fullname\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"span\", [[\"class\", \"value qa-vehicle-year\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.vehicle == null) ? null : _co.vehicle.makeName); _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_co.vehicle == null) ? null : _co.vehicle.trimFullName); _ck(_v, 4, 0, currVal_1); var currVal_2 = ((_co.vehicle == null) ? null : _co.vehicle.yearID); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_VehicleSummaryComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"vehicle-vin\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"style\", \"padding-right:8px;\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.vehicle.vin; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"p\", [[\"class\", \"oasisTooltip\"], [\"translate\", \"fordOasisTooltip\"]], [[8, \"innerHTML\", 1]], null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_1 = \"fordOasisTooltip\"; _ck(_v, 1, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 2).transform(_co.fordOasisTooltip)); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"vehicle-vin\"], [\"style\", \"clear:left;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [[\"style\", \"padding-right:8px;\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 16777216, null, null, 2, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"placement\", \"right\"], [\"translate\", \"fordOasis\"], [\"triggers\", \"mouseenter:mouseleave\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openOasisLink() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), i1.ɵdid(5, 212992, null, 0, i6.PopoverDirective, [i6.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i7.ComponentLoaderFactory, i8.PositioningService], { popover: [0, \"popover\"], placement: [1, \"placement\"], triggers: [2, \"triggers\"] }, null), (_l()(), i1.ɵand(0, [[\"popOasisTemplate\", 2]], null, 0, null, View_VehicleSummaryComponent_16))], function (_ck, _v) { var currVal_1 = \"fordOasis\"; _ck(_v, 4, 0, currVal_1); var currVal_2 = i1.ɵnov(_v, 6); var currVal_3 = \"right\"; var currVal_4 = \"mouseenter:mouseleave\"; _ck(_v, 5, 0, currVal_2, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.vehicle.vin; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_14)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_15)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = !(_co.isFordAlert && ((_co.vehicle.makeName == \"Ford\") || (_co.vehicle.makeName == \"Lincoln\"))); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.isFordAlert && ((((_co.vehicle == null) ? null : _co.vehicle.makeName) == \"Ford\") || (((_co.vehicle == null) ? null : _co.vehicle.makeName) == \"Lincoln\"))); _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_VehicleSummaryComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"vehicle-vin\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"style\", \"padding-right:8px;\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.vehicle.vin; _ck(_v, 3, 0, currVal_0); }); }\nfunction View_VehicleSummaryComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 15, \"div\", [[\"class\", \"trim-info\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(5, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_2)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_7)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_10)), i1.ɵdid(11, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_12)), i1.ɵdid(13, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_13)), i1.ɵdid(15, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VehicleSummaryComponent_17)), i1.ɵdid(17, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.vehicle && _co.vehicle.imagePath) && (_co.countryId != ((_co.dealerCountries == null) ? null : _co.dealerCountries.france))); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.vehicleTypeKeys[((_co.vehicle == null) ? null : _co.vehicle.type)]; _ck(_v, 5, 0, currVal_1); var currVal_2 = (_co.countryId != ((_co.dealerCountries == null) ? null : _co.dealerCountries.france)); _ck(_v, 7, 0, currVal_2); var currVal_3 = (_co.countryId == ((_co.dealerCountries == null) ? null : _co.dealerCountries.france)); _ck(_v, 9, 0, currVal_3); var currVal_4 = (_co.countryId != ((_co.dealerCountries == null) ? null : _co.dealerCountries.france)); _ck(_v, 11, 0, currVal_4); var currVal_5 = (_co.countryId == ((_co.dealerCountries == null) ? null : _co.dealerCountries.france)); _ck(_v, 13, 0, currVal_5); var currVal_6 = ((_co.vehicle && _co.vehicle.vin) && !_co.isReplacement); _ck(_v, 15, 0, currVal_6); var currVal_7 = (((_co.vehicle && _co.vehicle.vin) && _co.isReplacement) && _co.vehicle.stockNo); _ck(_v, 17, 0, currVal_7); }, null); }\nexports.View_VehicleSummaryComponent_0 = View_VehicleSummaryComponent_0;\nfunction View_VehicleSummaryComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"vehicle-summary\", [], null, null, null, View_VehicleSummaryComponent_0, RenderType_VehicleSummaryComponent)), i1.ɵdid(1, 638976, null, 0, i9.VehicleSummaryComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_VehicleSummaryComponent_Host_0 = View_VehicleSummaryComponent_Host_0;\nvar VehicleSummaryComponentNgFactory = i1.ɵccf(\"vehicle-summary\", i9.VehicleSummaryComponent, View_VehicleSummaryComponent_Host_0, { vehicle: \"vehicle\", countryId: \"countryId\", isReplacement: \"isReplacement\", isFordAlert: \"isFordAlert\", pricingPlanId: \"pricingPlanId\", trimPlanPriceSourceName: \"trimPlanPriceSourceName\", trimPlanPriceSourceId: \"trimPlanPriceSourceId\" }, {}, []);\nexports.VehicleSummaryComponentNgFactory = VehicleSummaryComponentNgFactory;\n","\r\n
\r\n
\r\n \r\n {{vehicleTypeKeys[vehicle?.type] | translate}} \r\n \r\n 0) || vehicle?.trimPlanPriceSourceId === trimPricePlanSource?.employeePricing\">{{ planTranslationKey | translate }} \r\n {{vehicle?.stockNo}} \r\n {{averageTranslateKey | translate}}\r\n \r\n \r\n {{vehicleTypeKeys[vehicle?.type] | translate}} \r\n 0\">{{ planTranslationKey | translate }} \r\n {{vehicle?.stockNo}}\r\n \r\n
\r\n \r\n
\r\n {{vehicle?.yearID}} \r\n {{vehicle?.makeName}}\r\n
\r\n
\r\n {{vehicle?.trimFullName}}\r\n
\r\n
\r\n
\r\n {{vehicle?.makeName}} \r\n {{vehicle?.trimFullName}} \r\n {{vehicle?.yearID}}\r\n
\r\n \r\n
\r\n {{vehicle.vin}}\r\n
\r\n
\r\n {{vehicle.vin}}\r\n \r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{vehicle.vin}}\r\n
\r\n
\r\n
\r\n","module.exports = \".search-reassign-modal .modal-dialog {\\n width: 700px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1yZWFzc2lnbi1tb2RhbC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLXJlYXNzaWduLW1vZGFsLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VBQ0ksYUFBQTtDQ0RIIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLXJlYXNzaWduLW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCBcIi4uLy4uL3N0eWxlcy9hYS12YXJpYWJsZXNcIjtcclxuXHJcbi5zZWFyY2gtcmVhc3NpZ24tbW9kYWwgLm1vZGFsLWRpYWxvZyB7XHJcbiAgICB3aWR0aDogNzAwcHg7XHJcbn1cclxuXHJcbiIsIi5zZWFyY2gtcmVhc3NpZ24tbW9kYWwgLm1vZGFsLWRpYWxvZyB7XG4gIHdpZHRoOiA3MDBweDtcbn0iXX0= */\"","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar TrimClientService = /** @class */ (function (_super) {\n __extends(TrimClientService, _super);\n function TrimClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param modelId undefined\n * @return Success\n */\n TrimClientService.prototype.GetTrimsByModelIdByModelidGETResponse = function (modelId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Trim/GetTrimsByModelId/\" + modelId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param modelId undefined\n * @return Success\n */\n TrimClientService.prototype.GetTrimsByModelIdByModelidGET = function (modelId) {\n return this.GetTrimsByModelIdByModelidGETResponse(modelId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param trimId undefined\n * @return Success\n */\n TrimClientService.prototype.GetTrimExtIdByTrimidGETResponse = function (trimId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Trim/GetTrimExtId/\" + trimId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param trimId undefined\n * @return Success\n */\n TrimClientService.prototype.GetTrimExtIdByTrimidGET = function (trimId) {\n return this.GetTrimExtIdByTrimidGETResponse(trimId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TrimClientService.GetFuelEconomyComparisonByNewtrimidByEntityidGETParams` containing the following parameters:\n *\n * - `newTrimId`:\n *\n * - `entityId`:\n */\n TrimClientService.prototype.GetFuelEconomyComparisonByNewtrimidByEntityidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Trim/GetFuelEconomyComparison/\" + params.newTrimId + \"/\" + params.entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TrimClientService.GetFuelEconomyComparisonByNewtrimidByEntityidGETParams` containing the following parameters:\n *\n * - `newTrimId`:\n *\n * - `entityId`:\n */\n TrimClientService.prototype.GetFuelEconomyComparisonByNewtrimidByEntityidGET = function (params) {\n return this.GetFuelEconomyComparisonByNewtrimidByEntityidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TrimClientService.GetFeatureComparisonByNewtrimidByEntityidGETParams` containing the following parameters:\n *\n * - `newTrimId`:\n *\n * - `entityId`:\n */\n TrimClientService.prototype.GetFeatureComparisonByNewtrimidByEntityidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Trim/GetFeatureComparison/\" + params.newTrimId + \"/\" + params.entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TrimClientService.GetFeatureComparisonByNewtrimidByEntityidGETParams` containing the following parameters:\n *\n * - `newTrimId`:\n *\n * - `entityId`:\n */\n TrimClientService.prototype.GetFeatureComparisonByNewtrimidByEntityidGET = function (params) {\n return this.GetFeatureComparisonByNewtrimidByEntityidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TrimClientService.GetFeatureComparisonGETParams` containing the following parameters:\n *\n * - `trimId`:\n *\n * - `dealerId`:\n */\n TrimClientService.prototype.GetFeatureComparisonGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (params.trimId || []).forEach(function (val) { if (val != null)\n __params = __params.append('trimId', val.toString()); });\n if (params.dealerId != null)\n __params = __params.set('dealerId', params.dealerId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Trim/GetFeatureComparison\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TrimClientService.GetFeatureComparisonGETParams` containing the following parameters:\n *\n * - `trimId`:\n *\n * - `dealerId`:\n */\n TrimClientService.prototype.GetFeatureComparisonGET = function (params) {\n return this.GetFeatureComparisonGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param modelIds undefined\n */\n TrimClientService.prototype.GetTrimsByModelsPOSTResponse = function (modelIds) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = modelIds;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Trim/GetTrimsByModels\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param modelIds undefined\n */\n TrimClientService.prototype.GetTrimsByModelsPOST = function (modelIds) {\n return this.GetTrimsByModelsPOSTResponse(modelIds).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n TrimClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Trim/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n TrimClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n TrimClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Trim/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n TrimClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n TrimClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Trim/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n TrimClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n TrimClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Trim\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n TrimClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n TrimClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Trim\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n TrimClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n TrimClientService.GetTrimsByModelIdByModelidGETPath = '/api/Trim/GetTrimsByModelId/{modelId}';\n TrimClientService.GetTrimExtIdByTrimidGETPath = '/api/Trim/GetTrimExtId/{trimId}';\n TrimClientService.GetFuelEconomyComparisonByNewtrimidByEntityidGETPath = '/api/Trim/GetFuelEconomyComparison/{newTrimId}/{entityId}';\n TrimClientService.GetFeatureComparisonByNewtrimidByEntityidGETPath = '/api/Trim/GetFeatureComparison/{newTrimId}/{entityId}';\n TrimClientService.GetFeatureComparisonGETPath = '/api/Trim/GetFeatureComparison';\n TrimClientService.GetTrimsByModelsPOSTPath = '/api/Trim/GetTrimsByModels';\n TrimClientService.ByIdGETPath = '/api/Trim/{id}';\n TrimClientService.ByIdDELETEPath = '/api/Trim/{id}';\n TrimClientService.GetManyGETPath = '/api/Trim/GetMany';\n TrimClientService.PUTPath = '/api/Trim';\n TrimClientService.POSTPath = '/api/Trim';\n TrimClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TrimClientService_Factory() { return new TrimClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: TrimClientService, providedIn: \"root\" });\n return TrimClientService;\n}(base_service_1.BaseService));\nexports.TrimClientService = TrimClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { LightTrimDto } from '../models/light-trim-dto';\r\nimport { TrimDto } from '../models/trim-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass TrimClientService extends __BaseService {\r\n static readonly GetTrimsByModelIdByModelidGETPath = '/api/Trim/GetTrimsByModelId/{modelId}';\r\n static readonly GetTrimExtIdByTrimidGETPath = '/api/Trim/GetTrimExtId/{trimId}';\r\n static readonly GetFuelEconomyComparisonByNewtrimidByEntityidGETPath = '/api/Trim/GetFuelEconomyComparison/{newTrimId}/{entityId}';\r\n static readonly GetFeatureComparisonByNewtrimidByEntityidGETPath = '/api/Trim/GetFeatureComparison/{newTrimId}/{entityId}';\r\n static readonly GetFeatureComparisonGETPath = '/api/Trim/GetFeatureComparison';\r\n static readonly GetTrimsByModelsPOSTPath = '/api/Trim/GetTrimsByModels';\r\n static readonly ByIdGETPath = '/api/Trim/{id}';\r\n static readonly ByIdDELETEPath = '/api/Trim/{id}';\r\n static readonly GetManyGETPath = '/api/Trim/GetMany';\r\n static readonly PUTPath = '/api/Trim';\r\n static readonly POSTPath = '/api/Trim';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param modelId undefined\r\n * @return Success\r\n */\r\n GetTrimsByModelIdByModelidGETResponse(modelId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Trim/GetTrimsByModelId/${modelId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param modelId undefined\r\n * @return Success\r\n */\r\n GetTrimsByModelIdByModelidGET(modelId: number): __Observable> {\r\n return this.GetTrimsByModelIdByModelidGETResponse(modelId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param trimId undefined\r\n * @return Success\r\n */\r\n GetTrimExtIdByTrimidGETResponse(trimId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Trim/GetTrimExtId/${trimId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param trimId undefined\r\n * @return Success\r\n */\r\n GetTrimExtIdByTrimidGET(trimId: number): __Observable {\r\n return this.GetTrimExtIdByTrimidGETResponse(trimId).pipe(\r\n __map(_r => _r.body as string)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TrimClientService.GetFuelEconomyComparisonByNewtrimidByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `newTrimId`:\r\n *\r\n * - `entityId`:\r\n */\r\n GetFuelEconomyComparisonByNewtrimidByEntityidGETResponse(params: TrimClientService.GetFuelEconomyComparisonByNewtrimidByEntityidGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Trim/GetFuelEconomyComparison/${params.newTrimId}/${params.entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TrimClientService.GetFuelEconomyComparisonByNewtrimidByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `newTrimId`:\r\n *\r\n * - `entityId`:\r\n */\r\n GetFuelEconomyComparisonByNewtrimidByEntityidGET(params: TrimClientService.GetFuelEconomyComparisonByNewtrimidByEntityidGETParams): __Observable {\r\n return this.GetFuelEconomyComparisonByNewtrimidByEntityidGETResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TrimClientService.GetFeatureComparisonByNewtrimidByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `newTrimId`:\r\n *\r\n * - `entityId`:\r\n */\r\n GetFeatureComparisonByNewtrimidByEntityidGETResponse(params: TrimClientService.GetFeatureComparisonByNewtrimidByEntityidGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Trim/GetFeatureComparison/${params.newTrimId}/${params.entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TrimClientService.GetFeatureComparisonByNewtrimidByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `newTrimId`:\r\n *\r\n * - `entityId`:\r\n */\r\n GetFeatureComparisonByNewtrimidByEntityidGET(params: TrimClientService.GetFeatureComparisonByNewtrimidByEntityidGETParams): __Observable {\r\n return this.GetFeatureComparisonByNewtrimidByEntityidGETResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TrimClientService.GetFeatureComparisonGETParams` containing the following parameters:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `dealerId`:\r\n */\r\n GetFeatureComparisonGETResponse(params: TrimClientService.GetFeatureComparisonGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (params.trimId || []).forEach(val => {if (val != null) __params = __params.append('trimId', val.toString())});\r\n if (params.dealerId != null) __params = __params.set('dealerId', params.dealerId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Trim/GetFeatureComparison`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TrimClientService.GetFeatureComparisonGETParams` containing the following parameters:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `dealerId`:\r\n */\r\n GetFeatureComparisonGET(params: TrimClientService.GetFeatureComparisonGETParams): __Observable {\r\n return this.GetFeatureComparisonGETResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param modelIds undefined\r\n */\r\n GetTrimsByModelsPOSTResponse(modelIds?: Array): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = modelIds;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Trim/GetTrimsByModels`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param modelIds undefined\r\n */\r\n GetTrimsByModelsPOST(modelIds?: Array): __Observable {\r\n return this.GetTrimsByModelsPOSTResponse(modelIds).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Trim/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as TrimDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Trim/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Trim/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: TrimDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Trim`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: TrimDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: TrimDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Trim`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: TrimDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as TrimDto)\r\n );\r\n }\r\n}\r\n\r\nmodule TrimClientService {\r\n\r\n /**\r\n * Parameters for GetFuelEconomyComparisonByNewtrimidByEntityidGET\r\n */\r\n export interface GetFuelEconomyComparisonByNewtrimidByEntityidGETParams {\r\n newTrimId: number;\r\n entityId: string;\r\n }\r\n\r\n /**\r\n * Parameters for GetFeatureComparisonByNewtrimidByEntityidGET\r\n */\r\n export interface GetFeatureComparisonByNewtrimidByEntityidGETParams {\r\n newTrimId: number;\r\n entityId: string;\r\n }\r\n\r\n /**\r\n * Parameters for GetFeatureComparisonGET\r\n */\r\n export interface GetFeatureComparisonGETParams {\r\n trimId?: Array;\r\n dealerId?: number;\r\n }\r\n}\r\n\r\nexport { TrimClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dealer_settings_service_1 = require(\"../../services/dealer-settings.service\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_1 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar admin_settings_modal_sendtestlead_component_1 = require(\"./admin-settings-modal-sendtestlead.component\");\nvar storage_service_1 = require(\"../../modules/storage/storage.service\");\nvar AdminSettingsCrmLeadsDeliveryComponent = /** @class */ (function () {\n function AdminSettingsCrmLeadsDeliveryComponent(modalService, tService, logger, dsService, storageService) {\n this.modalService = modalService;\n this.tService = tService;\n this.logger = logger;\n this.dsService = dsService;\n this.storageService = storageService;\n this.dsa = {};\n this.isEmployee = false;\n var userProfile = storageService.getItem('userProfile');\n if (userProfile) {\n this.isEmployee = userProfile.employeeUser;\n }\n }\n AdminSettingsCrmLeadsDeliveryComponent.prototype.ngOnInit = function () {\n };\n AdminSettingsCrmLeadsDeliveryComponent.prototype.sendTestLead = function () {\n var _this = this;\n this.bsModalRef = this.modalService.show(admin_settings_modal_sendtestlead_component_1.AdminSettingsModalSendTestLeadComponent);\n this.bsModalRef.content.sendTestLead.subscribe(function (result) {\n _this.dsService.SendTestAdfEmail({ dealerId: _this.dsa.dealerSetting.dealerID, email: result.email, source: result.source });\n _this.logger.success(_this.tService.instant(\"testLeadSent\"));\n });\n };\n AdminSettingsCrmLeadsDeliveryComponent.prototype.onDeliverAllOpportunitiesChanged = function () {\n this.dsa.dealerAdfSetting.deliverOpportunityCreditConvert = this.dsa.dealerAdfSetting.deliverAllOpportunities;\n this.dsa.dealerAdfSetting.deliverOpportunityUpgrade = this.dsa.dealerAdfSetting.deliverAllOpportunities;\n this.dsa.dealerAdfSetting.deliverOpportunityContractEnd = this.dsa.dealerAdfSetting.deliverAllOpportunities;\n this.dsa.dealerAdfSetting.deliverOpportunityMileage = this.dsa.dealerAdfSetting.deliverAllOpportunities;\n this.dsa.dealerAdfSetting.deliverOpportunityWarranty = this.dsa.dealerAdfSetting.deliverAllOpportunities;\n };\n return AdminSettingsCrmLeadsDeliveryComponent;\n}());\nexports.AdminSettingsCrmLeadsDeliveryComponent = AdminSettingsCrmLeadsDeliveryComponent;\n","import { Component, ViewChild, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter, ElementRef, NgModule } from '@angular/core';\r\nimport { DealerSettingsService } from '../../services/dealer-settings.service';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerSettingResponseDto } from '../../generated/models';\r\nimport { AdminSettingsModalSendTestLeadComponent } from './admin-settings-modal-sendtestlead.component';\r\nimport { StorageService } from '../../modules/storage/storage.service';\r\n\r\n@Component({\r\n selector: 'admin-settings-crmleadsdelivery',\r\n templateUrl: './admin-settings-crmleadsdelivery.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsCrmLeadsDeliveryComponent {\r\n bsModalRef: BsModalRef;\r\n @Input() dsa: DealerSettingResponseDto = {};\r\n public isEmployee: boolean = false;\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public logger: ToasterLoggerService,\r\n private dsService: DealerSettingsService,\r\n private storageService: StorageService\r\n ) {\r\n const userProfile = storageService.getItem('userProfile');\r\n if (userProfile) {\r\n this.isEmployee = userProfile.employeeUser;\r\n }\r\n }\r\n\r\n public ngOnInit() {\r\n\r\n }\r\n\r\n public sendTestLead() {\r\n this.bsModalRef = this.modalService.show(AdminSettingsModalSendTestLeadComponent);\r\n this.bsModalRef.content.sendTestLead.subscribe((result: any) => {\r\n this.dsService.SendTestAdfEmail({ dealerId: this.dsa.dealerSetting.dealerID, email: result.email, source: result.source });\r\n this.logger.success(this.tService.instant(\"testLeadSent\"));\r\n });\r\n }\r\n\r\n public onDeliverAllOpportunitiesChanged(): void {\r\n this.dsa.dealerAdfSetting.deliverOpportunityCreditConvert = this.dsa.dealerAdfSetting.deliverAllOpportunities;\r\n this.dsa.dealerAdfSetting.deliverOpportunityUpgrade = this.dsa.dealerAdfSetting.deliverAllOpportunities;\r\n this.dsa.dealerAdfSetting.deliverOpportunityContractEnd = this.dsa.dealerAdfSetting.deliverAllOpportunities;\r\n this.dsa.dealerAdfSetting.deliverOpportunityMileage = this.dsa.dealerAdfSetting.deliverAllOpportunities;\r\n this.dsa.dealerAdfSetting.deliverOpportunityWarranty = this.dsa.dealerAdfSetting.deliverAllOpportunities;\r\n }\r\n}\r\n","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n","var path = '/app/components/dealer-dropdown.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@ngx-translate/core\");\nvar angular2_toaster_1 = require(\"angular2-toaster\");\nvar app_settings_1 = require(\"../constants/app-settings\");\nvar translate_error_keys_1 = require(\"../constants/translate-error-keys\");\nvar log_factory_service_1 = require(\"../services/log-factory.service\");\nvar ToasterLoggerService = /** @class */ (function () {\n function ToasterLoggerService(logFactory, translate, toasterService) {\n this.logFactory = logFactory;\n this.translate = translate;\n this.toasterService = toasterService;\n }\n ToasterLoggerService.prototype.genericError = function (message, data, title) {\n if (message != 'carFaxUnauthorizedException') {\n if (app_settings_1.Settings.environmentVariables.environment === \"production\"\n || app_settings_1.Settings.environmentVariables.environment === \"staging\" && app_settings_1.Settings.environmentVariables.logDebugEnabled === false) {\n var translations = this.translate.instant([translate_error_keys_1.TranslateErrorKeys.generalErrorTitleKey, translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey]);\n message = translations[translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey];\n title = translations[translate_error_keys_1.TranslateErrorKeys.generalErrorTitleKey];\n }\n }\n this.error(message, data, title);\n };\n ToasterLoggerService.prototype.error = function (message, data, title) {\n var _this = this;\n if (!title)\n title = \"\";\n if (!data)\n data = \"\";\n if (!message) {\n message = translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey;\n title = translate_error_keys_1.TranslateErrorKeys.generalErrorTitleKey;\n }\n this.translate.get([message, title]).subscribe(function (result) {\n _this.toasterService.pop({\n type: 'warning',\n title: result[title],\n body: result[message]\n });\n _this.logFactory.get('error').error('Error: ' + result[message], data);\n });\n };\n ToasterLoggerService.prototype.info = function (message, data, title) {\n var _this = this;\n if (!title)\n title = \"\";\n if (!data)\n data = \"\";\n if (!message) {\n message = translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey;\n title = translate_error_keys_1.TranslateErrorKeys.generalErrorTitleKey;\n }\n this.translate.get([message, title]).subscribe(function (result) {\n _this.toasterService.pop({\n type: 'info',\n title: result[title],\n body: result[message]\n });\n _this.logFactory.get('info').info('Info: ' + result[message], data);\n });\n };\n ToasterLoggerService.prototype.success = function (message, data, title) {\n var _this = this;\n if (!title)\n title = \"\";\n if (!data)\n data = \"\";\n if (!message) {\n message = translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey;\n title = translate_error_keys_1.TranslateErrorKeys.generalErrorTitleKey;\n }\n this.translate.get([message, title]).subscribe(function (result) {\n _this.toasterService.pop({\n type: 'success',\n title: result[title],\n body: result[message]\n });\n _this.logFactory.get('log').log('Success: ' + result[message], data);\n _this.debug(result[message]);\n });\n };\n ToasterLoggerService.prototype.warning = function (message, data, title) {\n var _this = this;\n if (!title)\n title = \"\";\n if (!data)\n data = \"\";\n if (!message) {\n message = translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey;\n title = translate_error_keys_1.TranslateErrorKeys.generalErrorTitleKey;\n }\n this.translate.get([message, title]).subscribe(function (result) {\n _this.toasterService.pop({\n type: 'warning',\n title: result[title],\n body: result[message],\n timeout: 10000\n });\n _this.logFactory.get('warn').warn('Warning: ' + result[message], data);\n });\n };\n ToasterLoggerService.prototype.debug = function (message) {\n if (!message) {\n var translations = this.translate.instant([translate_error_keys_1.TranslateErrorKeys.generalErrorTitleKey, translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey]);\n message = translations[translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey];\n }\n this.logFactory.get('debug').debug(message);\n };\n ToasterLoggerService.prototype.log = function (message) {\n if (!message) {\n var translations = this.translate.instant([translate_error_keys_1.TranslateErrorKeys.generalErrorTitleKey, translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey]);\n message = translations[translate_error_keys_1.TranslateErrorKeys.generalErrorMessageKey];\n }\n this.logFactory.get('log').log(message);\n };\n return ToasterLoggerService;\n}());\nexports.ToasterLoggerService = ToasterLoggerService;\n","import { Injectable } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterService } from 'angular2-toaster';\r\nimport { Settings } from '../constants/app-settings';\r\nimport { TranslateErrorKeys } from '../constants/translate-error-keys';\r\nimport { LogFactory } from '../services/log-factory.service';\r\n\r\n@Injectable()\r\nexport class ToasterLoggerService {\r\n \r\n constructor(private logFactory: LogFactory, private translate: TranslateService, private toasterService: ToasterService) {\r\n\r\n }\r\n \r\n public genericError(message: string, data?: any, title?: string) {\r\n if (message != 'carFaxUnauthorizedException') {\r\n if (Settings.environmentVariables.environment === \"production\"\r\n || Settings.environmentVariables.environment === \"staging\" && Settings.environmentVariables.logDebugEnabled === false) {\r\n var translations = this.translate.instant([TranslateErrorKeys.generalErrorTitleKey, TranslateErrorKeys.generalErrorMessageKey]);\r\n message = translations[TranslateErrorKeys.generalErrorMessageKey];\r\n title = translations[TranslateErrorKeys.generalErrorTitleKey];\r\n }\r\n }\r\n\r\n this.error(message, data, title);\r\n }\r\n\r\n public error(message: string, data?: any, title?: string) {\r\n\r\n if (!title) title = \"\";\r\n if (!data) data = \"\";\r\n if (!message) {\r\n message = TranslateErrorKeys.generalErrorMessageKey;\r\n title = TranslateErrorKeys.generalErrorTitleKey;\r\n }\r\n\r\n this.translate.get([message, title]).subscribe((result) => {\r\n this.toasterService.pop({\r\n type: 'warning', //'error',\r\n title: result[title],\r\n body: result[message]\r\n });\r\n this.logFactory.get('error').error('Error: ' + result[message], data);\r\n });\r\n\r\n }\r\n\r\n public info(message: string, data?: any, title?: string) {\r\n\r\n if (!title) title = \"\";\r\n if (!data) data = \"\";\r\n if (!message) {\r\n message = TranslateErrorKeys.generalErrorMessageKey;\r\n title = TranslateErrorKeys.generalErrorTitleKey;\r\n }\r\n\r\n this.translate.get([message, title]).subscribe((result) => {\r\n this.toasterService.pop({\r\n type: 'info',\r\n title: result[title],\r\n body: result[message]\r\n });\r\n this.logFactory.get('info').info('Info: ' + result[message], data);\r\n });\r\n }\r\n\r\n public success(message: string, data?: any, title?: string) {\r\n\r\n if (!title) title = \"\";\r\n if (!data) data = \"\";\r\n if (!message) {\r\n message = TranslateErrorKeys.generalErrorMessageKey;\r\n title = TranslateErrorKeys.generalErrorTitleKey;\r\n }\r\n\r\n this.translate.get([message, title]).subscribe((result) => {\r\n this.toasterService.pop({\r\n type: 'success',\r\n title: result[title],\r\n body: result[message]\r\n });\r\n this.logFactory.get('log').log('Success: ' + result[message], data);\r\n this.debug(result[message]);\r\n\r\n });\r\n }\r\n\r\n public warning(message: string, data?: any, title?: string) {\r\n\r\n if (!title) title = \"\";\r\n if (!data) data = \"\";\r\n if (!message) {\r\n message = TranslateErrorKeys.generalErrorMessageKey;\r\n title = TranslateErrorKeys.generalErrorTitleKey;\r\n }\r\n\r\n this.translate.get([message, title]).subscribe((result) => {\r\n this.toasterService.pop({\r\n type: 'warning',\r\n title: result[title],\r\n body: result[message],\r\n timeout: 10000\r\n });\r\n this.logFactory.get('warn').warn('Warning: ' + result[message], data);\r\n });\r\n }\r\n\r\n\r\n\r\n public debug(message: string) {\r\n if (!message) {\r\n var translations = this.translate.instant([TranslateErrorKeys.generalErrorTitleKey, TranslateErrorKeys.generalErrorMessageKey]);\r\n message = translations[TranslateErrorKeys.generalErrorMessageKey];\r\n }\r\n\r\n this.logFactory.get('debug').debug(message);\r\n }\r\n\r\n public log(message: string) {\r\n if (!message) {\r\n var translations = this.translate.instant([TranslateErrorKeys.generalErrorTitleKey, TranslateErrorKeys.generalErrorMessageKey]);\r\n message = translations[TranslateErrorKeys.generalErrorMessageKey];\r\n }\r\n\r\n this.logFactory.get('log').log(message);\r\n }\r\n\r\n}\r\n\r\n\r\n\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar dealer_service_1 = require(\"../../../services/dealer.service\");\nvar menu_service_1 = require(\"../../../services/menu.service\");\nvar QuickLinksComponent = /** @class */ (function () {\n function QuickLinksComponent(dealerService, menuService) {\n this.dealerService = dealerService;\n this.menuService = menuService;\n }\n QuickLinksComponent.prototype.ngOnInit = function () {\n var _this = this;\n var moduleIds = this.menuService.moduleIds;\n if (moduleIds) {\n this.initQuickLinks(moduleIds);\n }\n // the following replaces event handler for $rootScope.$broadcast('RUN_USER_INIT.SITE_MAP_READY');\n // menu.service now casts BehaviorSubject when getting sitemap which this subscribes to\n this.siteMapReadySubscription = this.menuService.siteMapReady.subscribe(function (data) {\n _this.onSiteMapLoaded();\n });\n };\n QuickLinksComponent.prototype.onSiteMapLoaded = function () {\n var moduleIds = this.menuService.moduleIds;\n this.initQuickLinks(moduleIds);\n };\n ;\n QuickLinksComponent.prototype.initQuickLinks = function (moduleIds) {\n this.modulePermissions = this.menuService.getModulePermissions(moduleIds);\n this.isSomeDealerOneToOneEnabled = this.dealerService.getIsSomeDealerOneToOneEnabled();\n };\n QuickLinksComponent.prototype.ngOnDestroy = function () {\n this.siteMapReadySubscription.unsubscribe();\n };\n return QuickLinksComponent;\n}());\nexports.QuickLinksComponent = QuickLinksComponent;\n","import { Component, OnInit, OnDestroy, Inject } from '@angular/core';\r\nimport { DealerService } from '../../../services/dealer.service';\r\nimport { MenuService } from '../../../services/menu.service';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'quick-links',\r\n templateUrl: './quick-links.component-ng.html',\r\n styleUrls: ['./quick-links.component.scss']\r\n})\r\nexport class QuickLinksComponent implements OnInit, OnDestroy {\r\n public modulePermissions: any;\r\n public isSomeDealerOneToOneEnabled: boolean;\r\n private siteMapReadySubscription: Subscription;\r\n\r\n constructor(private dealerService: DealerService,\r\n private menuService: MenuService) { }\r\n\r\n ngOnInit() {\r\n const moduleIds = this.menuService.moduleIds;\r\n if (moduleIds) {\r\n this.initQuickLinks(moduleIds);\r\n }\r\n\r\n // the following replaces event handler for $rootScope.$broadcast('RUN_USER_INIT.SITE_MAP_READY');\r\n // menu.service now casts BehaviorSubject when getting sitemap which this subscribes to\r\n this.siteMapReadySubscription = this.menuService.siteMapReady.subscribe((data) => {\r\n this.onSiteMapLoaded();\r\n });\r\n }\r\n\r\n private onSiteMapLoaded() {\r\n const moduleIds = this.menuService.moduleIds;\r\n this.initQuickLinks(moduleIds);\r\n };\r\n\r\n private initQuickLinks(moduleIds) {\r\n this.modulePermissions = this.menuService.getModulePermissions(moduleIds);\r\n this.isSomeDealerOneToOneEnabled = this.dealerService.getIsSomeDealerOneToOneEnabled();\r\n }\r\n\r\n ngOnDestroy() {\r\n this.siteMapReadySubscription.unsubscribe();\r\n }\r\n\r\n}\r\n","// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace) {\n // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n return [function replace(searchValue, replaceValue) {\n 'use strict';\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n }, $replace];\n});\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Some typescript files may reference the angular.module. Make sure manifest stays imported first!\n// If you added/converted a constant class that is also used in AngularJS, it needs to be added also in\n// ./core/opportunities.manifest.js file.\nrequire(\"./core/opportunities.manifest.js\");\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar translation_1 = require(\"./core/translation\");\nvar kendo_angular_intl_1 = require(\"@progress/kendo-angular-intl\");\nvar common_1 = require(\"@angular/common\");\nvar angular2_toaster_1 = require(\"angular2-toaster\");\nvar toaster_logger_service_1 = require(\"./core/toaster-logger.service\");\nrequire(\"@progress/kendo-angular-intl/locales/en/all\");\nrequire(\"@progress/kendo-angular-intl/locales/fr/all\");\nrequire(\"@progress/kendo-angular-intl/locales/es/all\");\nvar text_action_component_1 = require(\"./components/deal-sheet/text-action/text-action.component\");\nvar more_vehicle_offers_component_1 = require(\"./components/deal-sheet/vehicle/more-vehicle-offers/more-vehicle-offers.component\");\nvar on_demand_offers_component_1 = require(\"./components/deal-sheet/vehicle/more-vehicle-offers/on-demand-offers.component\");\nvar calendar_date_range_component_ng_1 = require(\"./components/calendar-date-range.component-ng\");\nvar trade_source_logo_component_1 = require(\"./components/deal-sheet/contract/trade-source-logo/trade-source-logo.component\");\nvar deal_history_component_1 = require(\"./components/deal-sheet/deal-history/deal-history.component\");\nvar angular_1 = __importDefault(require(\"angular\"));\nvar text_message_activity_component_1 = require(\"./components/deal-sheet/text-message-activity/text-message-activity.component\");\nvar admin_roles_component_1 = require(\"./components/admin/admin-roles.component\");\nvar admin_roles_modal_addedit_component_1 = require(\"./components/admin/admin-roles-modal-addedit.component\");\nvar confirm_modal_component_1 = require(\"./components/modals/confirm-modal.component\");\nvar admin_roles_selector_component_1 = require(\"./components/admin/admin-roles-selector.component\");\nvar text_message_service_1 = require(\"./services/text-message.service\");\nvar search_preset_service_1 = require(\"./services/search-preset.service\");\nvar cross_domain_storage_service_1 = require(\"./modules/storage/cross-domain-storage.service\");\nvar storage_service_1 = require(\"./modules/storage/storage.service\");\nvar log_factory_service_1 = require(\"./services/log-factory.service\");\nvar token_service_1 = require(\"./modules/oidc-auth/token.service\");\nvar stock_number_search_service_1 = require(\"./services/stock-number-search.service\");\nvar user_service_1 = require(\"./services/user.service\");\nvar search_presets_component_1 = require(\"./components/header/search-presets/search-presets.component\");\nvar pando_communication_service_1 = require(\"./services/pando-communication.service\");\nvar recent_deal_sheet_service_1 = require(\"./services/recent-deal-sheet.service\");\nvar customer_culture_select_component_1 = require(\"./components/general/customer-culture-select/customer-culture-select.component\");\n// By default angular only includes en-US locale or a locale you build with\n// since we switch dynamically we need to register locales manually\nvar fr_1 = __importDefault(require(\"@angular/common/locales/fr\"));\nvar alertminer_api_configuration_1 = require(\"./generated/alertminer-api-configuration\");\nvar app_settings_1 = require(\"./constants/app-settings\");\nvar activity_service_1 = require(\"./services/activity.service\");\nvar dashboard_opportunities_table_component_ng_1 = require(\"./components/dashboard/dashboard-opportunities-table/dashboard-opportunities-table.component-ng\");\nvar alerts_component_ng_1 = require(\"./components/deal-sheet/alerts/alerts.component-ng\");\nvar auto_assistant_service_1 = require(\"./services/auto-assistant.service\");\nvar alert_component_ng_1 = require(\"./components/deal-sheet/alert/alert.component-ng\");\nvar icon_component_1 = require(\"./components/icon/icon.component\");\nvar default_tab_action_component_1 = require(\"./components/deal-sheet/default-tab-action/default-tab-action.component\");\nvar admin_templates_component_1 = require(\"./components/admin/admin-templates/admin-templates.component\");\nvar menu_service_1 = require(\"./services/menu.service\");\nvar customer_service_1 = require(\"./services/customer.service\");\nvar ngx_toaster_component_1 = require(\"./components/ngx-toaster.component\");\nvar user_settings_component_1 = require(\"./components/header/user-settings.component/user-settings.component\");\nvar tagged_customers_component_1 = require(\"./components/dashboard/tagged-customers/tagged-customers.component\");\nvar stock_number_search_component_1 = require(\"./components/header/stock-number-search/stock-number-search.component\");\nvar pando_availability_component_1 = require(\"./components/header/pando-availability/pando-availability.component\");\nvar pando_unread_messages_component_1 = require(\"./components/header/pando-unread-messages.component/pando-unread-messages.component\");\nvar recent_deal_sheets_component_1 = require(\"./components/header/recent-deal-sheets/recent-deal-sheets.component\");\nvar impersonation_status_component_1 = require(\"./components/header/impersonation-status/impersonation-status.component\");\nvar search_preset_counts_component_1 = require(\"./components/dashboard/search-preset-counts/search-preset-counts.component\");\nvar dealer_service_1 = require(\"./services/dealer.service\");\nvar notification_service_1 = require(\"./services/notification.service\");\nvar customer_engagement_service_1 = require(\"./services/customer-engagement.service\");\nvar modal_component_1 = require(\"./components/modals/modal/modal.component\");\nvar communication_api_service_1 = require(\"./services/communication-api.service\");\nvar quick_links_component_1 = require(\"./components/dashboard/quick-links/quick-links.component\");\nvar dashboard_agenda_component_1 = require(\"./components/dashboard/dashboard-agenda/dashboard-agenda.component\");\nvar authorization_service_1 = require(\"./services/authorization.service\");\nvar data_entry_service_1 = require(\"./services/data-entry.service\");\nvar opportunity2_service_1 = require(\"./services/opportunity2.service\");\nvar type_of_call_component_1 = require(\"./components/deal-sheet/type-of-call/type-of-call.component\");\nvar logged_in_data_initialization_service_1 = require(\"./core/logged-in-data-initialization.service\");\nvar vehicle_summary_component_1 = require(\"./components/deal-sheet/vehicle/vehicle-summary/vehicle-summary.component\");\nvar sale_type_component_1 = require(\"./components/deal-sheet/contract/sale-type/sale-type.component\");\nvar payments_component_1 = require(\"./components/deal-sheet/contract/payments/payments.component\");\nvar annual_percentage_rate_component_1 = require(\"./components/deal-sheet/contract/annual-percentage-rate/annual-percentage-rate.component\");\nvar allowed_mileage_component_1 = require(\"./components/deal-sheet/contract/allowed-mileage/allowed-mileage.component\");\nvar money_factor_component_1 = require(\"./components/deal-sheet/contract/money-factor/money-factor.component\");\nvar repair_orders_component_1 = require(\"./components/deal-sheet/contract/repair-orders/repair-orders.component\");\nvar service_appointment_component_1 = require(\"./components/deal-sheet/contract/service-appointment/service-appointment.component\");\nvar mileage_edit_action_component_1 = require(\"./components/deal-sheet/contract/mileage-edit-action/mileage-edit-action.component\");\nvar projected_mileage_component_1 = require(\"./components/deal-sheet/contract/projected-mileage/projected-mileage.component\");\nvar mileage_penalty_component_1 = require(\"./components/deal-sheet/contract/mileage-penalty/mileage-penalty.component\");\nvar cash_paid_component_1 = require(\"./components/deal-sheet/contract/cash-paid/cash-paid.component\");\nvar trade_in_value_component_1 = require(\"./components/deal-sheet/vehicle/trade-in-value/trade-in-value.component\");\nvar cash_down_component_1 = require(\"./components/deal-sheet/contract/cash-down/cash-down.component\");\nvar payoff_component_1 = require(\"./components/deal-sheet/contract/payoff/payoff.component\");\nvar contract_end_component_1 = require(\"./components/deal-sheet/contract/contract-end/contract-end.component\");\nvar extended_warranty_component_1 = require(\"./components/deal-sheet/contract/extended-warranty/extended-warranty.component\");\nvar auto_check_component_1 = require(\"./components/deal-sheet/contract/auto-check/auto-check.component\");\nvar tags_component_1 = require(\"./components/deal-sheet/tags/tags.component\");\nvar carfax_component_1 = require(\"./components/deal-sheet/contract/carfax/carfax.component\");\nvar carfaxv2_component_1 = require(\"./components/deal-sheet/contract/carfaxv2/carfaxv2.component\");\nvar carproof_component_1 = require(\"./components/deal-sheet/contract/carproof/carproof.component\");\nvar replacement_vehicle_offers_component_1 = require(\"./components/deal-sheet/vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component\");\nvar factory_rebate_component_1 = require(\"./components/deal-sheet/contract/factory-rebate/factory-rebate.component\");\nvar dealer_rebate_component_1 = require(\"./components/deal-sheet/contract/dealer-rebate/dealer-rebate.component\");\nvar price_component_1 = require(\"./components/deal-sheet/vehicle/price/price.component\");\nvar financed_amount_component_1 = require(\"./components/deal-sheet/contract/financed-amount/financed-amount.component\");\nvar capital_cost_component_1 = require(\"./components/deal-sheet/contract/capital-cost/capital-cost.component\");\nvar residual_component_1 = require(\"./components/deal-sheet/contract/residual/residual.component\");\nvar customer_connect_component_1 = require(\"./components/deal-sheet/customer-connect/customer-connect.component\");\nvar open_process_modal_component_1 = require(\"./components/deal-sheet/modals/open-process-modal.component\");\nvar log_action_shortcuts_component_1 = require(\"./components/deal-sheet/log-action-shortcuts/log-action-shortcuts.component\");\nvar log_action_shortcut_service_1 = require(\"./services/log-action-shortcut.service\");\nvar date_input_component_1 = require(\"./components/date-input/date-input.component\");\nvar date_format_service_1 = require(\"./services/date-format.service\");\nvar mileage_edit_modal_component_1 = require(\"./components/deal-sheet/contract/mileage-edit-modal/mileage-edit-modal.component\");\nvar payoff_input_modal_component_1 = require(\"./components/deal-sheet/contract/payoff-input-modal/payoff-input-modal.component\");\nvar deskit_component_1 = require(\"./components/deal-sheet/deskit/deskit.component\");\nvar vauto_component_1 = require(\"./components/deal-sheet/contract/vauto/vauto.component\");\nvar vauto_modal_component_1 = require(\"./components/deal-sheet/contract/vauto-modal/vauto-modal.component\");\nvar vincue_component_1 = require(\"./components/deal-sheet/contract/vincue/vincue.component\");\nvar vincue_modal_component_1 = require(\"./components/deal-sheet/contract/vincue-modal/vincue-modal.component\");\nvar dms_push_component_1 = require(\"./components/deal-sheet/dms-push/dms-push.component\");\nvar dms_push_modal_component_1 = require(\"./components/deal-sheet/dms-push-modal/dms-push-modal.component\");\nvar score_info_component_1 = require(\"./components/deal-sheet/score-info/score-info.component\");\nvar score_info_modal_component_1 = require(\"./components/deal-sheet/score-info-modal/score-info-modal.component\");\nvar nlo_info_component_1 = require(\"./components/deal-sheet/nlo-info/nlo-info.component\");\nvar nlo_info_modal_component_1 = require(\"./components/deal-sheet/nlo-info-modal/nlo-info-modal.component\");\nangular_1.default.module('AaApp.Opp')\n .directive('moreVehicleOffers', static_1.downgradeComponent({ component: more_vehicle_offers_component_1.MoreVehicleOffersComponent }))\n .directive('onDemandOffers', static_1.downgradeComponent({ component: on_demand_offers_component_1.OnDemandOffersComponent }))\n .directive('tradeSourceLogo', static_1.downgradeComponent({ component: trade_source_logo_component_1.TradeSourceLogoComponent }))\n .directive('textAction', static_1.downgradeComponent({ component: text_action_component_1.TextActionComponent }))\n .directive('calendarDateRange', static_1.downgradeComponent({ component: calendar_date_range_component_ng_1.CalendarDateRangeComponent }))\n .directive('textMessageActivity', static_1.downgradeComponent({ component: text_message_activity_component_1.TextMessageActivityComponent }))\n .directive('adminRoles', static_1.downgradeComponent({ component: admin_roles_component_1.AdminRolesComponent }))\n .directive('adminRolesSelector', static_1.downgradeComponent({ component: admin_roles_selector_component_1.AdminRolesSelectorComponent }))\n .directive('adminRolesModalAddEdit', static_1.downgradeComponent({ component: admin_roles_modal_addedit_component_1.AdminRolesModalAddEditComponent }))\n .directive('confirmModal', static_1.downgradeComponent({ component: confirm_modal_component_1.ConfirmModalComponent }))\n .directive('dealHistory', static_1.downgradeComponent({ component: deal_history_component_1.DealHistoryComponent }))\n .directive('alert', static_1.downgradeComponent({ component: alert_component_ng_1.AlertComponent }))\n .directive('alerts', static_1.downgradeComponent({ component: alerts_component_ng_1.AlertsComponent }))\n .directive('adminTemplates', static_1.downgradeComponent({ component: admin_templates_component_1.AdminTemplatesComponent }))\n .directive('dashboardOpportunitiesTable', static_1.downgradeComponent({ component: dashboard_opportunities_table_component_ng_1.DashboardOpportunitiesTableComponent }))\n .directive('icon', static_1.downgradeComponent({ component: icon_component_1.IconComponent }))\n .directive('defaultTabAction', static_1.downgradeComponent({ component: default_tab_action_component_1.DefaultTabActionComponent }))\n .directive('ngxToaster', static_1.downgradeComponent({ component: ngx_toaster_component_1.NgxToaster }))\n .directive('userSettings', static_1.downgradeComponent({ component: user_settings_component_1.UserSettingsComponent }))\n .directive('searchPresets', static_1.downgradeComponent({ component: search_presets_component_1.SearchPresetsComponent }))\n .directive('stockNumberSearch', static_1.downgradeComponent({ component: stock_number_search_component_1.StockNumberSearchComponent }))\n .directive('taggedCustomers', static_1.downgradeComponent({ component: tagged_customers_component_1.TaggedCustomersComponent }))\n .directive('pandoAvailability', static_1.downgradeComponent({ component: pando_availability_component_1.PandoAvailabilityComponent }))\n .directive('pandoUnreadMessages', static_1.downgradeComponent({ component: pando_unread_messages_component_1.PandoUnreadMessagesComponent }))\n .directive('recentDealSheets', static_1.downgradeComponent({ component: recent_deal_sheets_component_1.RecentDealSheetsComponent }))\n .directive('impersonationStatus', static_1.downgradeComponent({ component: impersonation_status_component_1.ImpersonationStatusComponent }))\n .directive('searchPresetCounts', static_1.downgradeComponent({ component: search_preset_counts_component_1.SearchPresetCountsComponent }))\n .directive('modal', static_1.downgradeComponent({ component: modal_component_1.ModalComponent }))\n .directive('quickLinks', static_1.downgradeComponent({ component: quick_links_component_1.QuickLinksComponent }))\n .directive('dashboardAgenda', static_1.downgradeComponent({ component: dashboard_agenda_component_1.DashboardAgendaComponent }))\n .directive('customerCultureSelect', static_1.downgradeComponent({ component: customer_culture_select_component_1.CustomerCultureSelectComponent }))\n .directive('typeOfCall', static_1.downgradeComponent({ component: type_of_call_component_1.TypeOfCallComponent }))\n .directive('openProcessModal', static_1.downgradeComponent({ component: open_process_modal_component_1.OpenProcessModalComponent }))\n .directive('logActionShortcuts', static_1.downgradeComponent({ component: log_action_shortcuts_component_1.LogActionShortcutsComponent }))\n .directive('customerConnect', static_1.downgradeComponent({ component: customer_connect_component_1.CustomerConnectComponent }))\n .directive('repairOrders', static_1.downgradeComponent({ component: repair_orders_component_1.RepairOrdersComponent }))\n .directive('serviceAppointment', static_1.downgradeComponent({ component: service_appointment_component_1.ServiceAppointmentComponent }))\n .directive('projectedMileage', static_1.downgradeComponent({ component: projected_mileage_component_1.ProjectedMileageComponent }))\n .directive('mileagePenalty', static_1.downgradeComponent({ component: mileage_penalty_component_1.MileagePenaltyComponent }))\n .directive('vehicleSummary', static_1.downgradeComponent({ component: vehicle_summary_component_1.VehicleSummaryComponent }))\n .directive('saleType', static_1.downgradeComponent({ component: sale_type_component_1.SaleTypeComponent }))\n .directive('allowedMileage', static_1.downgradeComponent({ component: allowed_mileage_component_1.AllowedMileageComponent }))\n .directive('annualPercentageRate', static_1.downgradeComponent({ component: annual_percentage_rate_component_1.AnnualPercentageRateComponent }))\n .directive('cashPaid', static_1.downgradeComponent({ component: cash_paid_component_1.CashPaidComponent }))\n .directive('tradeInValue', static_1.downgradeComponent({ component: trade_in_value_component_1.TradeInValueComponent }))\n .directive('moneyFactor', static_1.downgradeComponent({ component: money_factor_component_1.MoneyFactorComponent }))\n .directive('dateInput', static_1.downgradeComponent({ component: date_input_component_1.DateInputComponent }))\n .directive('tags', static_1.downgradeComponent({ component: tags_component_1.TagsComponent }))\n .directive('payments', static_1.downgradeComponent({ component: payments_component_1.PaymentsComponent }))\n .directive('mileageEditAction', static_1.downgradeComponent({ component: mileage_edit_action_component_1.MileageEditActionComponent }))\n .directive('mileageEditModal', static_1.downgradeComponent({ component: mileage_edit_modal_component_1.MileageEditModalComponent }))\n .directive('cashDown', static_1.downgradeComponent({ component: cash_down_component_1.CashDownComponent }))\n .directive('payoff', static_1.downgradeComponent({ component: payoff_component_1.PayoffComponent }))\n .directive('payoffInputModal', static_1.downgradeComponent({ component: payoff_input_modal_component_1.PayoffInputModalComponent }))\n .directive('residual', static_1.downgradeComponent({ component: residual_component_1.ResidualComponent }))\n .directive('financedAmount', static_1.downgradeComponent({ component: financed_amount_component_1.FinancedAmountComponent }))\n .directive('contractEnd', static_1.downgradeComponent({ component: contract_end_component_1.ContractEndComponent }))\n .directive('extendedWarranty', static_1.downgradeComponent({ component: extended_warranty_component_1.ExtendedWarrantyComponent }))\n .directive('replacementVehicleOffers', static_1.downgradeComponent({ component: replacement_vehicle_offers_component_1.ReplacementVehicleOffersComponent }))\n .directive('factoryRebate', static_1.downgradeComponent({ component: factory_rebate_component_1.FactoryRebateComponent }))\n .directive('autoCheck', static_1.downgradeComponent({ component: auto_check_component_1.AutoCheckComponent }))\n .directive('carfax', static_1.downgradeComponent({ component: carfax_component_1.CarfaxComponent }))\n .directive('carfaxv2', static_1.downgradeComponent({ component: carfaxv2_component_1.Carfaxv2Component }))\n .directive('carproof', static_1.downgradeComponent({ component: carproof_component_1.CarproofComponent }))\n .directive('capitalCost', static_1.downgradeComponent({ component: capital_cost_component_1.CapitalCostComponent }))\n .directive('price', static_1.downgradeComponent({ component: price_component_1.PriceComponent }))\n .directive('dealerRebate', static_1.downgradeComponent({ component: dealer_rebate_component_1.DealerRebateComponent }))\n .directive('deskit', static_1.downgradeComponent({ component: deskit_component_1.DeskitComponent }))\n .directive('vauto', static_1.downgradeComponent({ component: vauto_component_1.VautoComponent }))\n .directive('vautoModal', static_1.downgradeComponent({ component: vauto_modal_component_1.VautoModalComponent }))\n .directive('vincue', static_1.downgradeComponent({ component: vincue_component_1.VinCueComponent }))\n .directive('vincueModal', static_1.downgradeComponent({ component: vincue_modal_component_1.VinCueModalComponent }))\n .directive('dmsPush', static_1.downgradeComponent({ component: dms_push_component_1.DmsPushComponent }))\n .directive('dmsPushModal', static_1.downgradeComponent({ component: dms_push_modal_component_1.DmsPushModalComponent }))\n .directive('scoreInfo', static_1.downgradeComponent({ component: score_info_component_1.ScoreInfoComponent }))\n .directive('scoreInfoModal', static_1.downgradeComponent({ component: score_info_modal_component_1.ScoreInfoModalComponent }))\n .directive('nloInfo', static_1.downgradeComponent({ component: nlo_info_component_1.NloInfoComponent }))\n .directive('nloInfoModal', static_1.downgradeComponent({ component: nlo_info_modal_component_1.NloInfoModalComponent }))\n .factory('textMessageService', static_1.downgradeInjectable(text_message_service_1.TextMessageService))\n .factory('searchPresetService', static_1.downgradeInjectable(search_preset_service_1.SearchPresetService))\n .factory('crossDomainStorageService', static_1.downgradeInjectable(cross_domain_storage_service_1.CrossDomainStorageService))\n .factory('storageService', static_1.downgradeInjectable(storage_service_1.StorageService))\n .factory('$logFactory', static_1.downgradeInjectable(log_factory_service_1.LogFactory))\n .factory('tokenService', static_1.downgradeInjectable(token_service_1.TokenService))\n .factory('stockNumberSearchService', static_1.downgradeInjectable(stock_number_search_service_1.StockNumberSearchService))\n .factory('activityService', static_1.downgradeInjectable(activity_service_1.ActivityService))\n .factory('menuService', static_1.downgradeInjectable(menu_service_1.MenuService))\n .factory('customerService', static_1.downgradeInjectable(customer_service_1.CustomerService))\n .factory('userService', static_1.downgradeInjectable(user_service_1.UserService))\n .factory('toaster', static_1.downgradeInjectable(angular2_toaster_1.ToasterService))\n .factory('logger', static_1.downgradeInjectable(toaster_logger_service_1.ToasterLoggerService))\n .factory('pandoCommunicationService', static_1.downgradeInjectable(pando_communication_service_1.PandoCommunicationService))\n .factory('recentDealSheetService', static_1.downgradeInjectable(recent_deal_sheet_service_1.RecentDealSheetService))\n .factory('dealerService', static_1.downgradeInjectable(dealer_service_1.DealerService))\n .factory('notificationService', static_1.downgradeInjectable(notification_service_1.NotificationService))\n .factory('customerEngagementService', static_1.downgradeInjectable(customer_engagement_service_1.CustomerEngagementService))\n .factory('communicationApi', static_1.downgradeInjectable(communication_api_service_1.CommunicationApiService))\n .factory('PortalErrorHandler', static_1.downgradeInjectable(core_1.ErrorHandler))\n .factory('authorizationService', static_1.downgradeInjectable(authorization_service_1.AuthorizationService))\n .factory('dataEntryService', static_1.downgradeInjectable(data_entry_service_1.DataEntryService))\n .factory('opportunity2Service', static_1.downgradeInjectable(opportunity2_service_1.Opportunity2Service))\n .factory('loggedInDataInitializationService', static_1.downgradeInjectable(logged_in_data_initialization_service_1.LoggedInDataInitializationService))\n .factory('autoAssistantService', static_1.downgradeInjectable(auto_assistant_service_1.AutoAssistantService))\n .factory('loggedInDataInitializationService', static_1.downgradeInjectable(logged_in_data_initialization_service_1.LoggedInDataInitializationService))\n .factory('logActionShortcutService', static_1.downgradeInjectable(log_action_shortcut_service_1.LogActionShortcutService))\n .factory('dateFormatService', static_1.downgradeInjectable(date_format_service_1.DateFormatService));\ncommon_1.registerLocaleData(fr_1.default);\nfunction initApiConfiguration(config) {\n var settingsFunction = function () {\n config.rootUrl = app_settings_1.Settings.apiUrls.alertMiner;\n };\n return settingsFunction;\n}\nexports.initApiConfiguration = initApiConfiguration;\nexports.INIT_API_CONFIGURATION = {\n provide: core_1.APP_INITIALIZER,\n useFactory: initApiConfiguration,\n deps: [alertminer_api_configuration_1.AlertminerApiConfiguration],\n multi: true\n};\nvar AppModule = /** @class */ (function () {\n function AppModule(translate, upgrade, intlService) {\n this.upgrade = upgrade;\n translation_1.configureTranslation(translate, intlService);\n }\n AppModule.prototype.ngDoBootstrap = function () {\n this.upgrade.bootstrap(document.getElementById('aa-app'), ['AaApp'], { strictDi: true });\n };\n return AppModule;\n}());\nexports.AppModule = AppModule;\n","// Some typescript files may reference the angular.module. Make sure manifest stays imported first!\r\n// If you added/converted a constant class that is also used in AngularJS, it needs to be added also in\r\n// ./core/opportunities.manifest.js file.\r\nimport './core/opportunities.manifest.js';\r\n/////////////////////////////////////////////////////////////////////////////////////////////////////\r\nimport { SafePipe } from './filters/safe.pipe';\r\nimport { NgModule, Provider, APP_INITIALIZER, enableProdMode, ErrorHandler, } from '@angular/core';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { UpgradeModule, downgradeComponent, downgradeInjectable } from '@angular/upgrade/static';\r\nimport { TranslateModule, TranslateService } from '@ngx-translate/core';\r\nimport { configureTranslation } from './core/translation';\r\nimport { IntlService } from '@progress/kendo-angular-intl';\r\nimport { registerLocaleData } from '@angular/common';\r\n\r\nimport { IntlModule } from '@progress/kendo-angular-intl';\r\nimport { DateInputsModule } from '@progress/kendo-angular-dateinputs';\r\nimport { PopupModule } from '@progress/kendo-angular-popup';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { ToasterModule, ToasterService } from 'angular2-toaster';\r\nimport { ToasterLoggerService } from './core/toaster-logger.service';\r\n\r\nimport { DeviceDetectorModule } from 'ngx-device-detector';\r\n\r\nimport '@progress/kendo-angular-intl/locales/en/all';\r\nimport '@progress/kendo-angular-intl/locales/fr/all';\r\nimport '@progress/kendo-angular-intl/locales/es/all';\r\nimport { GridModule } from '@progress/kendo-angular-grid';\r\n\r\nimport { NgBusyModule } from 'ng-busy';\r\nimport { Ng5SliderModule } from 'ng5-slider';\r\n\r\nimport {\r\n coreApiServiceProvider\r\n , legacyServiceProvider\r\n , authServiceProvider\r\n , dealSheetServiceProvider\r\n , templateServiceProvider\r\n , opportunityServiceProvider\r\n , rootScopeProvider\r\n , vehicleServiceProvider\r\n , eulaModalServiceProvider\r\n , contractServiceProvider\r\n , mapUtilsServiceProvider,\r\n tmhDynamicLocaleProvider\r\n} from './ajs-upgraded-providers';\r\n\r\nimport { MinDirective } from './directives/min.directive';\r\nimport { MaxDirective } from './directives/max.directive';\r\n\r\nimport { TextActionComponent } from './components/deal-sheet/text-action/text-action.component';\r\n\r\nimport { MoreVehicleOffersComponent } from './components/deal-sheet/vehicle/more-vehicle-offers/more-vehicle-offers.component';\r\nimport { OnDemandOffersComponent } from './components/deal-sheet/vehicle/more-vehicle-offers/on-demand-offers.component';\r\n// tslint:disable-next-line:max-line-length\r\nimport { PaymentDifferenceComponent } from './components/deal-sheet/vehicle/more-vehicle-offers/payment-difference/payment-difference.component';\r\nimport { CalendarDateRangeComponent } from './components/calendar-date-range.component-ng';\r\n\r\nimport { TradeSourceLogoComponent } from './components/deal-sheet/contract/trade-source-logo/trade-source-logo.component';\r\nimport { DealHistoryComponent } from './components/deal-sheet/deal-history/deal-history.component';\r\nimport angular from 'angular';\r\n\r\nimport { UIRouterUpgradeModule } from '@uirouter/angular-hybrid';\r\nimport { TextMessageActivityComponent } from './components/deal-sheet/text-message-activity/text-message-activity.component';\r\nimport { AdminRolesComponent } from './components/admin/admin-roles.component';\r\nimport { AdminRolesModalAddEditComponent } from './components/admin/admin-roles-modal-addedit.component';\r\nimport { AdminSettingsModalSendTestLeadComponent } from './components/admin/admin-settings-modal-sendtestlead.component';\r\nimport { AdminSettingsVHRDisclaimerComponent } from './components/admin/admin-settings-vhr-disclaimer.component';\r\nimport { ConfirmModalComponent } from './components/modals/confirm-modal.component';\r\nimport { AdminRolesSelectorComponent } from './components/admin/admin-roles-selector.component';\r\nimport { AdminSettingsComponent } from './components/admin/admin-settings.component';\r\nimport { AdminSettingsGeneralComponent } from './components/admin/admin-settings-general.component';\r\nimport { AdminSettingsProductComponent } from './components/admin/admin-settings-product.component';\r\nimport { AdminSettingsProgramsComponent } from './components/admin/admin-settings-programs.component';\r\nimport { AdminSettingsOpportunityComponent } from './components/admin/admin-settings-opportunity.component';\r\nimport { AdminSettingsInventoryComponent } from './components/admin/admin-settings-inventory.component';\r\nimport { AdminSettingsDealerInfoComponent } from './components/admin/admin-settings-dealerinfo.component';\r\nimport { AdminSettingsAdvancedComponent } from './components/admin/admin-settings-advanced.component';\r\nimport { AdminSettingsCreditConvertComponent } from './components/admin/admin-settings-creditconvert.component';\r\nimport { AdminSettingsCrmLeadsDeliveryComponent } from './components/admin/admin-settings-crmleadsdelivery.component';\r\nimport { TooltipComponent } from './components/tooltip.component';\r\nimport { LocaleDateTimePipe } from './filters/locale-date-time.pipe';\r\nimport { LocaleTimePipe } from './filters/locale-time.pipe';\r\nimport { LocaleCurrencyPipe } from './filters/locale-currency.pipe';\r\nimport { AdaptivePositionPipe } from './filters/adaptive-position.pipe';\r\nimport { TextMessageService } from './services/text-message.service';\r\nimport { SearchPresetService } from './services/search-preset.service';\r\nimport { LocaleDatePipe } from './filters/locale-date.pipe';\r\nimport { LocaleMoneyFactorPipe } from './filters/locale-money-factor.pipe';\r\nimport { windowRefProvider, WindowWrapper } from './services/window-ref.service';\r\nimport { crossDomainStorageServiceProvider, CrossDomainStorageService } from './modules/storage/cross-domain-storage.service';\r\nimport { StorageService } from './modules/storage/storage.service';\r\nimport { LogFactory } from './services/log-factory.service';\r\nimport { TokenService } from './modules/oidc-auth/token.service';\r\nimport { StockNumberSearchService } from './services/stock-number-search.service';\r\nimport { UserService } from './services/user.service';\r\nimport { CustomerWorkflowService } from './services/customer-workflow.service';\r\nimport { NgSelectedDealersInterceptor } from './services/http/ng-selected-dealers-interceptor';\r\nimport { NgOidcHttpInterceptor } from './services/http/ng-oidc-http.interceptor';\r\nimport { SearchPresetsComponent } from './components/header/search-presets/search-presets.component';\r\nimport { PandoCommunicationService } from './services/pando-communication.service';\r\nimport { RecentDealSheetService } from './services/recent-deal-sheet.service';\r\nimport { CustomerCultureSelectComponent } from './components/general/customer-culture-select/customer-culture-select.component';\r\n\r\n// By default angular only includes en-US locale or a locale you build with\r\n// since we switch dynamically we need to register locales manually\r\nimport localeFr from '@angular/common/locales/fr';\r\n\r\nimport { AlertminerApiModule } from './generated/alertminer-api.module';\r\nimport { AlertminerApiConfiguration } from './generated/alertminer-api-configuration';\r\nimport { Settings } from './constants/app-settings';\r\n\r\nimport { ActivityService } from './services/activity.service';\r\nimport { DashboardOpportunitiesTableComponent } from './components/dashboard/dashboard-opportunities-table/dashboard-opportunities-table.component-ng';\r\nimport { AlertsComponent } from './components/deal-sheet/alerts/alerts.component-ng';\r\n\r\nimport { AutoAssistantService } from './services/auto-assistant.service';\r\n\r\nimport { LocaleNumberPipe } from './filters/locale-number.pipe';\r\nimport { AlertComponent } from './components/deal-sheet/alert/alert.component-ng';\r\nimport { IconComponent } from './components/icon/icon.component';\r\n\r\nimport { TabsModule } from 'ngx-bootstrap/tabs';\r\nimport { PopoverModule } from 'ngx-bootstrap/popover';\r\nimport { BsDatepickerModule } from 'ngx-bootstrap/datepicker';\r\nimport { CollapseModule } from 'ngx-bootstrap/collapse';\r\nimport { ModalModule, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TypeaheadModule } from 'ngx-bootstrap/typeahead';\r\nimport { TimepickerModule } from 'ngx-bootstrap/timepicker';\r\nimport { ButtonsModule } from 'ngx-bootstrap/buttons';\r\n\r\nimport { DefaultTabActionComponent } from './components/deal-sheet/default-tab-action/default-tab-action.component';\r\nimport { AdminTemplatesComponent } from './components/admin/admin-templates/admin-templates.component';\r\nimport { DoNotCallEmailComponent } from './components/admin/do-not-call-email/do-not-call-email.component';\r\nimport { MenuService } from './services/menu.service';\r\nimport { CustomerService } from './services/customer.service';\r\nimport { LocalePhonePipe } from './filters/locale-phone.pipe';\r\nimport { NgNoCacheInterceptor } from './services/http/ng-no-cache-interceptor';\r\nimport { AdminRoleService } from './services/admin-role.service';\r\nimport { DealerSettingsService } from './services/dealer-settings.service';\r\nimport { AdminTemplatesService } from './services/admin-templates.service';\r\n\r\nimport { NgxToaster } from './components/ngx-toaster.component';\r\nimport { UserSettingsComponent } from './components/header/user-settings.component/user-settings.component';\r\nimport { AdminTemplatesEditModalComponent } from './components/admin/admin-templates/admin-templates-edit-modal.component';\r\nimport { TaggedCustomersComponent } from './components/dashboard/tagged-customers/tagged-customers.component';\r\nimport { StockNumberSearchComponent } from './components/header/stock-number-search/stock-number-search.component';\r\n\r\nimport { DisplayModalComponent } from './components/modals/display-modal/display-modal.component';\r\nimport { PandoAvailabilityComponent } from './components/header/pando-availability/pando-availability.component';\r\nimport { PandoUnreadMessagesComponent } from './components/header/pando-unread-messages.component/pando-unread-messages.component';\r\nimport { RecentDealSheetsComponent } from './components/header/recent-deal-sheets/recent-deal-sheets.component';\r\nimport { ImpersonationStatusComponent } from './components/header/impersonation-status/impersonation-status.component';\r\nimport { SearchPresetCountsComponent } from './components/dashboard/search-preset-counts/search-preset-counts.component';\r\nimport { DealerService } from './services/dealer.service';\r\nimport { NotificationService } from './services/notification.service';\r\nimport { CustomerEngagementService } from './services/customer-engagement.service';\r\nimport { ModalComponent } from './components/modals/modal/modal.component';\r\nimport { CommunicationApiService } from './services/communication-api.service';\r\nimport { QuickLinksComponent } from './components/dashboard/quick-links/quick-links.component';\r\nimport { AngularMultiSelectModule } from 'angular2-multiselect-dropdown';\r\nimport { DashboardAgendaComponent } from './components/dashboard/dashboard-agenda/dashboard-agenda.component';\r\nimport { AuthorizationService } from './services/authorization.service';\r\nimport { DataEntryService } from './services/data-entry.service';\r\nimport { Opportunity2Service } from './services/opportunity2.service';\r\n\r\nimport { NgContentTypeInterceptor } from './services/http/ng-content-type.interceptor';\r\nimport { TypeOfCallComponent } from './components/deal-sheet/type-of-call/type-of-call.component';\r\nimport { LoggedInDataInitializationService } from './core/logged-in-data-initialization.service';\r\nimport { MobileDealSheetComponent } from './components/deal-sheet/mobile/mobile-deal-sheet/mobile-deal-sheet.component';\r\nimport { MobileVehiclesComponent } from './components/deal-sheet/mobile/mobile-vehicles/mobile-vehicles.component';\r\nimport { VehicleSummaryComponent } from './components/deal-sheet/vehicle/vehicle-summary/vehicle-summary.component';\r\nimport { SaleTypeComponent } from './components/deal-sheet/contract/sale-type/sale-type.component';\r\nimport { PaymentsComponent } from './components/deal-sheet/contract/payments/payments.component';\r\nimport { AnnualPercentageRateComponent } from './components/deal-sheet/contract/annual-percentage-rate/annual-percentage-rate.component';\r\nimport { ReplacementContractsComponent } from './components/deal-sheet/contract/replacement-contracts/replacement-contracts.component';\r\nimport { CustomerNameComponent } from './components/deal-sheet/customer-name/customer-name.component';\r\nimport { AllowedMileageComponent } from './components/deal-sheet/contract/allowed-mileage/allowed-mileage.component';\r\nimport { MoneyFactorComponent } from './components/deal-sheet/contract/money-factor/money-factor.component';\r\nimport { RepairOrdersComponent } from './components/deal-sheet/contract/repair-orders/repair-orders.component';\r\nimport { ServiceAppointmentComponent } from './components/deal-sheet/contract/service-appointment/service-appointment.component';\r\nimport { MileageEditActionComponent } from './components/deal-sheet/contract/mileage-edit-action/mileage-edit-action.component';\r\nimport { ProjectedMileageComponent } from './components/deal-sheet/contract/projected-mileage/projected-mileage.component';\r\nimport { MileagePenaltyComponent } from './components/deal-sheet/contract/mileage-penalty/mileage-penalty.component';\r\nimport { CashPaidComponent } from './components/deal-sheet/contract/cash-paid/cash-paid.component';\r\nimport { TradeInValueComponent } from './components/deal-sheet/vehicle/trade-in-value/trade-in-value.component';\r\nimport { CashDownComponent } from './components/deal-sheet/contract/cash-down/cash-down.component';\r\nimport { PayoffComponent } from './components/deal-sheet/contract/payoff/payoff.component';\r\nimport { ContractEndComponent } from './components/deal-sheet/contract/contract-end/contract-end.component';\r\nimport { ExtendedWarrantyComponent } from './components/deal-sheet/contract/extended-warranty/extended-warranty.component';\r\nimport { AutoCheckComponent } from './components/deal-sheet/contract/auto-check/auto-check.component';\r\nimport { TagsComponent } from './components/deal-sheet/tags/tags.component';\r\nimport { CarfaxComponent } from './components/deal-sheet/contract/carfax/carfax.component';\r\nimport { Carfaxv2Component } from './components/deal-sheet/contract/carfaxv2/carfaxv2.component';\r\nimport { CarproofComponent } from './components/deal-sheet/contract/carproof/carproof.component';\r\nimport { ReplacementVehicleOffersComponent } from './components/deal-sheet/vehicle/replacement-vehicle-offers/replacement-vehicle-offers.component';\r\nimport { FactoryRebateComponent } from './components/deal-sheet/contract/factory-rebate/factory-rebate.component';\r\nimport { DealerRebateComponent } from './components/deal-sheet/contract/dealer-rebate/dealer-rebate.component';\r\nimport { PersonalizedOfferComponent } from './components/deal-sheet/contract/personalized-offer/personalized-offer.component';\r\nimport { PullForwardComponent } from './components/deal-sheet/contract/pull-forward/pull-forward.component';\r\nimport { PreferredEquityComponent } from './components/deal-sheet/contract/preferred-equity/preferred-equity.component';\r\nimport { LoyaltyRebateComponent } from './components/deal-sheet/contract/loyalty-rebate/loyalty-rebate.component';\r\nimport { FuelDifferenceComponent } from './components/deal-sheet/vehicle/fuel-difference/fuel-difference.component';\r\nimport { MileageComponent } from './components/deal-sheet/vehicle/mileage/mileage.component';\r\nimport { PriceComponent } from './components/deal-sheet/vehicle/price/price.component';\r\nimport { FinancedAmountComponent } from './components/deal-sheet/contract/financed-amount/financed-amount.component';\r\nimport { CapitalCostComponent } from './components/deal-sheet/contract/capital-cost/capital-cost.component';\r\nimport { ResidualComponent } from './components/deal-sheet/contract/residual/residual.component';\r\nimport { MobileActivitiesComponent } from './components/deal-sheet/mobile/mobile-activities/mobile-activities.component';\r\nimport { ActivityListComponent } from './components/deal-sheet/activity-list/activity-list.component';\r\nimport { MobileBackNavigationComponent } from './components/deal-sheet/mobile/mobile-back-navigation/mobile-back-navigation.component';\r\nimport { CustomerConnectComponent } from './components/deal-sheet/customer-connect/customer-connect.component';\r\nimport { CustomerInfoComponent } from './components/deal-sheet/mobile/customer-info/customer-info.component';\r\nimport { MobileCustomerPhoneComponent } from './components/deal-sheet/mobile/mobile-customer-phone/mobile-customer-phone.component';\r\nimport { MobileCustomerEmailComponent } from './components/deal-sheet/mobile/mobile-customer-email/mobile-customer-email.component';\r\nimport { UIRouterModule } from '@uirouter/angular';\r\nimport { MobileReplacementContractComponent } from './components/deal-sheet/mobile/mobile-replacement-contract/mobile-replacement-contract.component';\r\nimport { DealSheetProcessComponent } from './components/deal-sheet/modals/deal-sheet-process.component';\r\nimport { OpenProcessModalComponent } from './components/deal-sheet/modals/open-process-modal.component';\r\nimport { MobileCustomerConnectComponent } from './components/deal-sheet/mobile/mobile-customer-connect/mobile-customer-connect.component';\r\nimport { LogActionShortcutsComponent } from './components/deal-sheet/log-action-shortcuts/log-action-shortcuts.component';\r\nimport { EmailTemplateActionComponent } from './components/deal-sheet/email-template-action/email-template-action.component';\r\nimport { CustomerConnectActionsComponent } from './components/deal-sheet/customer-connect/customer-connect-actions/customer-connect-actions.component';\r\nimport { LogActionShortcutService } from './services/log-action-shortcut.service';\r\nimport { CustomerConnectDetailComponent } from './components/deal-sheet/customer-connect/customer-connect-detail/customer-connect-detail.component';\r\nimport { CustomerConnectLogActionComponent } from './components/deal-sheet/customer-connect/customer-connect-log-action/customer-connect-log-action.component';\r\n// tslint:disable-next-line: max-line-length\r\nimport { CustomerConnectScheduleActionComponent } from './components/deal-sheet/customer-connect/customer-connect-schedule-action/customer-connect-schedule-action.component';\r\n// tslint:disable-next-line: max-line-length\r\nimport { CustomerConnectSubActionsComponent } from './components/deal-sheet/customer-connect/customer-connect-sub-actions/customer-connect-sub-actions.component';\r\nimport { CustomerConnectSubDetailComponent } from './components/deal-sheet/customer-connect/customer-connect-sub-detail/customer-connect-sub-detail.component';\r\nimport { ConfirmationModalComponent } from './components/deal-sheet/modals/confirmation-modal/confirmation-modal.component';\r\nimport { VehicleImageComponent } from './components/deal-sheet/vehicle/vehicle-image/vehicle-image.component';\r\nimport { DateInputComponent } from './components/date-input/date-input.component';\r\nimport { DateFormatService } from './services/date-format.service';\r\nimport { MileageEditModalComponent } from './components/deal-sheet/contract/mileage-edit-modal/mileage-edit-modal.component';\r\nimport { PayoffInputModalComponent } from './components/deal-sheet/contract/payoff-input-modal/payoff-input-modal.component';\r\nimport { DeskitComponent } from './components/deal-sheet/deskit/deskit.component';\r\nimport { VautoComponent } from './components/deal-sheet/contract/vauto/vauto.component';\r\nimport { VautoModalComponent } from './components/deal-sheet/contract/vauto-modal/vauto-modal.component';\r\nimport { VinCueComponent } from './components/deal-sheet/contract/vincue/vincue.component';\r\nimport { VinCueModalComponent } from './components/deal-sheet/contract/vincue-modal/vincue-modal.component';\r\nimport { DmsPushComponent } from './components/deal-sheet/dms-push/dms-push.component';\r\nimport { DmsPushModalComponent } from './components/deal-sheet/dms-push-modal/dms-push-modal.component';\r\nimport { ScoreInfoComponent } from './components/deal-sheet/score-info/score-info.component';\r\nimport { ScoreInfoModalComponent } from './components/deal-sheet/score-info-modal/score-info-modal.component';\r\nimport { NloInfoComponent } from './components/deal-sheet/nlo-info/nlo-info.component';\r\nimport { NloInfoModalComponent } from './components/deal-sheet/nlo-info-modal/nlo-info-modal.component';\r\n\r\n\r\nangular.module('AaApp.Opp')\r\n .directive('moreVehicleOffers', downgradeComponent({ component: MoreVehicleOffersComponent }))\r\n .directive('onDemandOffers', downgradeComponent({ component: OnDemandOffersComponent }))\r\n .directive('tradeSourceLogo', downgradeComponent({ component: TradeSourceLogoComponent }))\r\n .directive('textAction', downgradeComponent({ component: TextActionComponent }))\r\n .directive('calendarDateRange', downgradeComponent({ component: CalendarDateRangeComponent }))\r\n .directive('textMessageActivity', downgradeComponent({ component: TextMessageActivityComponent }))\r\n .directive('adminRoles', downgradeComponent({ component: AdminRolesComponent }))\r\n .directive('adminRolesSelector', downgradeComponent({ component: AdminRolesSelectorComponent }))\r\n .directive('adminRolesModalAddEdit', downgradeComponent({ component: AdminRolesModalAddEditComponent }))\r\n .directive('confirmModal', downgradeComponent({ component: ConfirmModalComponent }))\r\n .directive('dealHistory', downgradeComponent({ component: DealHistoryComponent }))\r\n .directive('alert', downgradeComponent({ component: AlertComponent }))\r\n .directive('alerts', downgradeComponent({ component: AlertsComponent }))\r\n .directive('adminTemplates', downgradeComponent({ component: AdminTemplatesComponent }))\r\n .directive('dashboardOpportunitiesTable', downgradeComponent({ component: DashboardOpportunitiesTableComponent }))\r\n .directive('icon', downgradeComponent({ component: IconComponent }))\r\n .directive('defaultTabAction', downgradeComponent({ component: DefaultTabActionComponent }))\r\n .directive('ngxToaster', downgradeComponent({ component: NgxToaster }))\r\n .directive('userSettings', downgradeComponent({ component: UserSettingsComponent }))\r\n .directive('searchPresets', downgradeComponent({ component: SearchPresetsComponent }))\r\n .directive('stockNumberSearch', downgradeComponent({ component: StockNumberSearchComponent }))\r\n .directive('taggedCustomers', downgradeComponent({ component: TaggedCustomersComponent }))\r\n .directive('pandoAvailability', downgradeComponent({ component: PandoAvailabilityComponent }))\r\n .directive('pandoUnreadMessages', downgradeComponent({ component: PandoUnreadMessagesComponent }))\r\n .directive('recentDealSheets', downgradeComponent({ component: RecentDealSheetsComponent }))\r\n .directive('impersonationStatus', downgradeComponent({ component: ImpersonationStatusComponent }))\r\n .directive('searchPresetCounts', downgradeComponent({ component: SearchPresetCountsComponent }))\r\n .directive('modal', downgradeComponent({ component: ModalComponent }))\r\n .directive('quickLinks', downgradeComponent({ component: QuickLinksComponent }))\r\n .directive('dashboardAgenda', downgradeComponent({ component: DashboardAgendaComponent }))\r\n .directive('customerCultureSelect', downgradeComponent({ component: CustomerCultureSelectComponent }))\r\n .directive('typeOfCall', downgradeComponent({ component: TypeOfCallComponent }))\r\n .directive('openProcessModal', downgradeComponent({ component: OpenProcessModalComponent }))\r\n .directive('logActionShortcuts', downgradeComponent({ component: LogActionShortcutsComponent }))\r\n .directive('customerConnect', downgradeComponent({ component: CustomerConnectComponent }))\r\n .directive('repairOrders', downgradeComponent({ component: RepairOrdersComponent }))\r\n .directive('serviceAppointment', downgradeComponent({ component: ServiceAppointmentComponent }))\r\n .directive('projectedMileage', downgradeComponent({ component: ProjectedMileageComponent }))\r\n .directive('mileagePenalty', downgradeComponent({ component: MileagePenaltyComponent }))\r\n .directive('vehicleSummary', downgradeComponent({ component: VehicleSummaryComponent }))\r\n .directive('saleType', downgradeComponent({ component: SaleTypeComponent }))\r\n .directive('allowedMileage', downgradeComponent({ component: AllowedMileageComponent }))\r\n .directive('annualPercentageRate', downgradeComponent({ component: AnnualPercentageRateComponent }))\r\n .directive('cashPaid', downgradeComponent({ component: CashPaidComponent }))\r\n .directive('tradeInValue', downgradeComponent({ component: TradeInValueComponent }))\r\n .directive('moneyFactor', downgradeComponent({ component: MoneyFactorComponent }))\r\n .directive('dateInput', downgradeComponent({ component: DateInputComponent }))\r\n .directive('tags', downgradeComponent({ component: TagsComponent }))\r\n .directive('payments', downgradeComponent({ component: PaymentsComponent }))\r\n .directive('mileageEditAction', downgradeComponent({ component: MileageEditActionComponent }))\r\n .directive('mileageEditModal', downgradeComponent({ component: MileageEditModalComponent }))\r\n .directive('cashDown', downgradeComponent({ component: CashDownComponent }))\r\n .directive('payoff', downgradeComponent({ component: PayoffComponent }))\r\n .directive('payoffInputModal', downgradeComponent({ component: PayoffInputModalComponent }))\r\n .directive('residual', downgradeComponent({ component: ResidualComponent }))\r\n .directive('financedAmount', downgradeComponent({ component: FinancedAmountComponent }))\r\n .directive('contractEnd', downgradeComponent({ component: ContractEndComponent }))\r\n .directive('extendedWarranty', downgradeComponent({ component: ExtendedWarrantyComponent }))\r\n .directive('replacementVehicleOffers', downgradeComponent({ component: ReplacementVehicleOffersComponent }))\r\n .directive('factoryRebate', downgradeComponent({ component: FactoryRebateComponent }))\r\n .directive('autoCheck', downgradeComponent({ component: AutoCheckComponent }))\r\n .directive('carfax', downgradeComponent({ component: CarfaxComponent }))\r\n .directive('carfaxv2', downgradeComponent({ component: Carfaxv2Component }))\r\n .directive('carproof', downgradeComponent({ component: CarproofComponent }))\r\n .directive('capitalCost', downgradeComponent({ component: CapitalCostComponent }))\r\n .directive('price', downgradeComponent({ component: PriceComponent }))\r\n .directive('dealerRebate', downgradeComponent({ component: DealerRebateComponent }))\r\n .directive('deskit', downgradeComponent({ component: DeskitComponent }))\r\n .directive('vauto', downgradeComponent({ component: VautoComponent }))\r\n .directive('vautoModal', downgradeComponent({ component: VautoModalComponent }))\r\n .directive('vincue', downgradeComponent({ component: VinCueComponent }))\r\n .directive('vincueModal', downgradeComponent({ component: VinCueModalComponent }))\r\n .directive('dmsPush', downgradeComponent({ component: DmsPushComponent }))\r\n .directive('dmsPushModal', downgradeComponent({ component: DmsPushModalComponent }))\r\n .directive('scoreInfo', downgradeComponent({ component: ScoreInfoComponent }))\r\n .directive('scoreInfoModal', downgradeComponent({ component: ScoreInfoModalComponent }))\r\n .directive('nloInfo', downgradeComponent({ component: NloInfoComponent }))\r\n .directive('nloInfoModal', downgradeComponent({ component: NloInfoModalComponent }))\r\n\r\n .factory('textMessageService', downgradeInjectable(TextMessageService as any))\r\n .factory('searchPresetService', downgradeInjectable(SearchPresetService as any))\r\n .factory('crossDomainStorageService', downgradeInjectable(CrossDomainStorageService))\r\n .factory('storageService', downgradeInjectable(StorageService as any))\r\n .factory('$logFactory', downgradeInjectable(LogFactory as any))\r\n .factory('tokenService', downgradeInjectable(TokenService as any))\r\n .factory('stockNumberSearchService', downgradeInjectable(StockNumberSearchService as any))\r\n .factory('activityService', downgradeInjectable(ActivityService as any))\r\n .factory('menuService', downgradeInjectable(MenuService as any))\r\n .factory('customerService', downgradeInjectable(CustomerService as any))\r\n .factory('userService', downgradeInjectable(UserService as any))\r\n .factory('toaster', downgradeInjectable(ToasterService as any))\r\n .factory('logger', downgradeInjectable(ToasterLoggerService as any))\r\n .factory('pandoCommunicationService', downgradeInjectable(PandoCommunicationService as any))\r\n .factory('recentDealSheetService', downgradeInjectable(RecentDealSheetService as any))\r\n .factory('dealerService', downgradeInjectable(DealerService as any))\r\n .factory('notificationService', downgradeInjectable(NotificationService as any))\r\n .factory('customerEngagementService', downgradeInjectable(CustomerEngagementService as any))\r\n .factory('communicationApi', downgradeInjectable(CommunicationApiService as any))\r\n .factory('PortalErrorHandler', downgradeInjectable(ErrorHandler as any))\r\n .factory('authorizationService', downgradeInjectable(AuthorizationService as any))\r\n .factory('dataEntryService', downgradeInjectable(DataEntryService as any))\r\n .factory('opportunity2Service', downgradeInjectable(Opportunity2Service as any))\r\n .factory('loggedInDataInitializationService', downgradeInjectable(LoggedInDataInitializationService as any))\r\n .factory('autoAssistantService', downgradeInjectable(AutoAssistantService as any))\r\n .factory('loggedInDataInitializationService', downgradeInjectable(LoggedInDataInitializationService as any))\r\n .factory('logActionShortcutService', downgradeInjectable(LogActionShortcutService as any))\r\n .factory('dateFormatService', downgradeInjectable(DateFormatService as any));\r\n\r\nregisterLocaleData(localeFr);\r\n\r\nexport function initApiConfiguration(config: AlertminerApiConfiguration): Function {\r\n const settingsFunction = () => {\r\n config.rootUrl = Settings.apiUrls.alertMiner;\r\n };\r\n\r\n return settingsFunction;\r\n}\r\nexport const INIT_API_CONFIGURATION: Provider = {\r\n provide: APP_INITIALIZER,\r\n useFactory: initApiConfiguration,\r\n deps: [AlertminerApiConfiguration],\r\n multi: true\r\n};\r\n\r\n@NgModule({\r\n declarations: [\r\n NgxToaster,\r\n AdminSettingsComponent,\r\n AdminSettingsGeneralComponent,\r\n AdminSettingsAdvancedComponent,\r\n AdminSettingsProductComponent,\r\n AdminSettingsProgramsComponent,\r\n AdminSettingsOpportunityComponent,\r\n AdminSettingsInventoryComponent,\r\n AdminSettingsDealerInfoComponent,\r\n AdminSettingsCreditConvertComponent,\r\n AdminSettingsCrmLeadsDeliveryComponent,\r\n AdminRolesComponent,\r\n AdminRolesModalAddEditComponent,\r\n AdminSettingsModalSendTestLeadComponent,\r\n AdminSettingsVHRDisclaimerComponent,\r\n AdminRolesSelectorComponent,\r\n AdminTemplatesComponent,\r\n AdminTemplatesEditModalComponent,\r\n AlertComponent,\r\n AlertsComponent,\r\n CalendarDateRangeComponent,\r\n ConfirmModalComponent,\r\n DashboardOpportunitiesTableComponent,\r\n DealHistoryComponent,\r\n DefaultTabActionComponent,\r\n DisplayModalComponent,\r\n DoNotCallEmailComponent,\r\n IconComponent,\r\n LocaleCurrencyPipe,\r\n AdaptivePositionPipe,\r\n LocaleDatePipe,\r\n LocaleDateTimePipe,\r\n LocaleTimePipe,\r\n LocaleNumberPipe,\r\n LocalePhonePipe,\r\n LocaleMoneyFactorPipe,\r\n MoreVehicleOffersComponent,\r\n OnDemandOffersComponent,\r\n PandoUnreadMessagesComponent,\r\n PaymentDifferenceComponent,\r\n SafePipe,\r\n SearchPresetsComponent,\r\n TaggedCustomersComponent,\r\n PandoAvailabilityComponent,\r\n TextActionComponent,\r\n TextMessageActivityComponent,\r\n TradeSourceLogoComponent,\r\n UserSettingsComponent,\r\n RecentDealSheetsComponent,\r\n ImpersonationStatusComponent,\r\n SearchPresetCountsComponent,\r\n StockNumberSearchComponent,\r\n ModalComponent,\r\n QuickLinksComponent,\r\n DashboardAgendaComponent,\r\n TooltipComponent,\r\n CustomerCultureSelectComponent,\r\n TypeOfCallComponent,\r\n MobileDealSheetComponent,\r\n MobileVehiclesComponent,\r\n VehicleSummaryComponent,\r\n SaleTypeComponent,\r\n PaymentsComponent,\r\n AnnualPercentageRateComponent,\r\n ReplacementContractsComponent,\r\n CustomerNameComponent,\r\n AllowedMileageComponent,\r\n MoneyFactorComponent,\r\n RepairOrdersComponent,\r\n ServiceAppointmentComponent,\r\n MileageEditActionComponent,\r\n ProjectedMileageComponent,\r\n MileagePenaltyComponent,\r\n CashPaidComponent,\r\n TradeInValueComponent,\r\n CashDownComponent,\r\n PayoffComponent,\r\n ContractEndComponent,\r\n ExtendedWarrantyComponent,\r\n AutoCheckComponent,\r\n TagsComponent,\r\n TypeOfCallComponent,\r\n CarfaxComponent,\r\n Carfaxv2Component,\r\n CarproofComponent,\r\n ReplacementVehicleOffersComponent,\r\n FactoryRebateComponent,\r\n DealerRebateComponent,\r\n PersonalizedOfferComponent,\r\n PullForwardComponent,\r\n PreferredEquityComponent,\r\n LoyaltyRebateComponent,\r\n FuelDifferenceComponent,\r\n MileageComponent,\r\n PriceComponent,\r\n FinancedAmountComponent,\r\n CapitalCostComponent,\r\n ResidualComponent,\r\n MobileActivitiesComponent,\r\n ActivityListComponent,\r\n MobileBackNavigationComponent,\r\n CustomerConnectComponent,\r\n CustomerInfoComponent,\r\n MobileReplacementContractComponent,\r\n MobileCustomerPhoneComponent,\r\n MobileCustomerEmailComponent,\r\n DealSheetProcessComponent,\r\n OpenProcessModalComponent,\r\n MobileCustomerConnectComponent,\r\n MobileCustomerConnectComponent,\r\n LogActionShortcutsComponent,\r\n EmailTemplateActionComponent,\r\n CustomerConnectActionsComponent,\r\n VehicleImageComponent,\r\n DateInputComponent,\r\n MileageEditModalComponent,\r\n DateInputComponent,\r\n VehicleImageComponent,\r\n CustomerConnectActionsComponent,\r\n CustomerConnectDetailComponent,\r\n CustomerConnectLogActionComponent,\r\n CustomerConnectScheduleActionComponent,\r\n CustomerConnectSubActionsComponent,\r\n CustomerConnectSubDetailComponent,\r\n ConfirmationModalComponent,\r\n PayoffInputModalComponent,\r\n MinDirective,\r\n MaxDirective,\r\n DeskitComponent,\r\n VautoComponent,\r\n VautoModalComponent,\r\n VinCueComponent,\r\n VinCueModalComponent,\r\n DmsPushComponent,\r\n DmsPushModalComponent,\r\n ScoreInfoComponent,\r\n ScoreInfoModalComponent,\r\n NloInfoComponent,\r\n NloInfoModalComponent,\r\n ],\r\n imports: [\r\n UIRouterModule,\r\n BrowserAnimationsModule,\r\n BrowserModule,\r\n AlertminerApiModule,\r\n DateInputsModule,\r\n FormsModule,\r\n GridModule,\r\n HttpClientModule,\r\n IntlModule,\r\n NgBusyModule,\r\n AngularMultiSelectModule,\r\n ReactiveFormsModule,\r\n ToasterModule.forRoot(),\r\n TranslateModule.forRoot(),\r\n UIRouterUpgradeModule.forRoot(),\r\n UpgradeModule,\r\n Ng5SliderModule,\r\n\r\n DeviceDetectorModule.forRoot(),\r\n // ngx-bootstrap modules\r\n ModalModule.forRoot(),\r\n TabsModule.forRoot(),\r\n CollapseModule.forRoot(),\r\n PopoverModule.forRoot(),\r\n TypeaheadModule.forRoot(),\r\n DeviceDetectorModule.forRoot(),\r\n BsDatepickerModule.forRoot(),\r\n TimepickerModule.forRoot(),\r\n ButtonsModule.forRoot(),\r\n PopupModule\r\n ],\r\n entryComponents: [\r\n // Everything that is used by AngularJS needs to be an entry component\r\n NgxToaster,\r\n MoreVehicleOffersComponent,\r\n OnDemandOffersComponent,\r\n TradeSourceLogoComponent,\r\n TextActionComponent,\r\n CalendarDateRangeComponent,\r\n TextMessageActivityComponent,\r\n AdminRolesComponent,\r\n AdminSettingsComponent,\r\n AdminSettingsGeneralComponent,\r\n AdminSettingsProductComponent,\r\n AdminSettingsProgramsComponent,\r\n AdminSettingsOpportunityComponent,\r\n AdminSettingsInventoryComponent,\r\n AdminSettingsDealerInfoComponent,\r\n AdminRolesSelectorComponent,\r\n AdminRolesModalAddEditComponent,\r\n AdminSettingsModalSendTestLeadComponent,\r\n AdminSettingsVHRDisclaimerComponent,\r\n AdminSettingsAdvancedComponent,\r\n AdminSettingsCreditConvertComponent,\r\n AdminSettingsCrmLeadsDeliveryComponent,\r\n ConfirmModalComponent,\r\n IconComponent,\r\n AlertsComponent,\r\n AlertComponent,\r\n DashboardOpportunitiesTableComponent,\r\n DealHistoryComponent,\r\n DefaultTabActionComponent,\r\n AdminTemplatesComponent,\r\n DoNotCallEmailComponent,\r\n UserSettingsComponent,\r\n AdminTemplatesEditModalComponent,\r\n SearchPresetsComponent,\r\n TaggedCustomersComponent,\r\n DisplayModalComponent,\r\n PandoAvailabilityComponent,\r\n PandoUnreadMessagesComponent,\r\n RecentDealSheetsComponent,\r\n ImpersonationStatusComponent,\r\n SearchPresetCountsComponent,\r\n StockNumberSearchComponent,\r\n ModalComponent,\r\n QuickLinksComponent,\r\n DashboardAgendaComponent,\r\n TooltipComponent,\r\n CustomerCultureSelectComponent,\r\n TypeOfCallComponent,\r\n MobileDealSheetComponent,\r\n CustomerInfoComponent,\r\n MobileActivitiesComponent,\r\n MobileVehiclesComponent,\r\n MobileReplacementContractComponent,\r\n DealSheetProcessComponent,\r\n OpenProcessModalComponent,\r\n MobileCustomerConnectComponent,\r\n LogActionShortcutsComponent,\r\n CustomerConnectActionsComponent,\r\n RepairOrdersComponent,\r\n ServiceAppointmentComponent,\r\n ProjectedMileageComponent,\r\n MileagePenaltyComponent,\r\n VehicleSummaryComponent,\r\n VehicleImageComponent,\r\n SaleTypeComponent,\r\n AllowedMileageComponent,\r\n AnnualPercentageRateComponent,\r\n CashPaidComponent,\r\n TradeInValueComponent,\r\n MoneyFactorComponent,\r\n DateInputComponent,\r\n TagsComponent,\r\n PaymentsComponent,\r\n MileageEditActionComponent,\r\n MileageEditModalComponent,\r\n CashDownComponent,\r\n TagsComponent,\r\n DateInputComponent,\r\n AllowedMileageComponent,\r\n MileagePenaltyComponent,\r\n CustomerConnectComponent,\r\n PayoffComponent,\r\n PayoffInputModalComponent,\r\n ResidualComponent,\r\n FinancedAmountComponent,\r\n ContractEndComponent,\r\n ExtendedWarrantyComponent,\r\n ReplacementVehicleOffersComponent,\r\n FactoryRebateComponent,\r\n AutoCheckComponent,\r\n CarfaxComponent,\r\n Carfaxv2Component,\r\n CarproofComponent,\r\n CapitalCostComponent,\r\n PriceComponent,\r\n DealerRebateComponent,\r\n DeskitComponent,\r\n VautoComponent,\r\n VautoModalComponent,\r\n VinCueComponent,\r\n VinCueModalComponent,\r\n DmsPushComponent,\r\n DmsPushModalComponent,\r\n ConfirmationModalComponent,\r\n ScoreInfoComponent,\r\n ScoreInfoModalComponent,\r\n NloInfoComponent,\r\n NloInfoModalComponent,\r\n ],\r\n providers: [\r\n // upgraded service providers\r\n authServiceProvider,\r\n coreApiServiceProvider,\r\n dealSheetServiceProvider,\r\n legacyServiceProvider,\r\n opportunityServiceProvider,\r\n templateServiceProvider,\r\n rootScopeProvider,\r\n vehicleServiceProvider,\r\n eulaModalServiceProvider,\r\n contractServiceProvider,\r\n mapUtilsServiceProvider,\r\n tmhDynamicLocaleProvider,\r\n\r\n // native angular services\r\n ActivityService,\r\n AdminRoleService,\r\n DealerSettingsService,\r\n DealerService,\r\n PandoCommunicationService,\r\n AdminTemplatesService,\r\n CustomerService,\r\n LocaleCurrencyPipe,\r\n AdaptivePositionPipe,\r\n LocaleDatePipe,\r\n LocaleDateTimePipe,\r\n LocaleTimePipe,\r\n LocaleNumberPipe,\r\n LocalePhonePipe,\r\n LocaleMoneyFactorPipe,\r\n LogFactory,\r\n SearchPresetService,\r\n StockNumberSearchService,\r\n StorageService,\r\n TextMessageService,\r\n ToasterLoggerService,\r\n TokenService,\r\n TranslateService,\r\n UserService,\r\n CustomerWorkflowService,\r\n WindowWrapper,\r\n RecentDealSheetService,\r\n crossDomainStorageServiceProvider,\r\n CommunicationApiService,\r\n Opportunity2Service,\r\n AutoAssistantService,\r\n windowRefProvider,\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: NgNoCacheInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: NgSelectedDealersInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: NgContentTypeInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: NgOidcHttpInterceptor,\r\n multi: true\r\n },\r\n INIT_API_CONFIGURATION\r\n ]\r\n})\r\nexport class AppModule {\r\n constructor(translate: TranslateService,\r\n private upgrade: UpgradeModule,\r\n intlService: IntlService) {\r\n configureTranslation(translate, intlService);\r\n }\r\n\r\n ngDoBootstrap() {\r\n this.upgrade.bootstrap(document.getElementById('aa-app'), ['AaApp'], { strictDi: true });\r\n }\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerUpgradeProposalSettingClientService = /** @class */ (function (_super) {\n __extends(DealerUpgradeProposalSettingClientService, _super);\n function DealerUpgradeProposalSettingClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param dealerId undefined\n */\n DealerUpgradeProposalSettingClientService.prototype.GetDealerUpgradeProposalSettingByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerUpgradeProposalSetting/GetDealerUpgradeProposalSetting/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n */\n DealerUpgradeProposalSettingClientService.prototype.GetDealerUpgradeProposalSettingByDealeridGET = function (dealerId) {\n return this.GetDealerUpgradeProposalSettingByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n DealerUpgradeProposalSettingClientService.prototype.SaveDealerUpgradeProposalSettingPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerUpgradeProposalSetting/SaveDealerUpgradeProposalSetting\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n DealerUpgradeProposalSettingClientService.prototype.SaveDealerUpgradeProposalSettingPOST = function (request) {\n return this.SaveDealerUpgradeProposalSettingPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerUpgradeProposalSettingClientService.GetDealerUpgradeProposalSettingByDealeridGETPath = '/api/DealerUpgradeProposalSetting/GetDealerUpgradeProposalSetting/{dealerId}';\n DealerUpgradeProposalSettingClientService.SaveDealerUpgradeProposalSettingPOSTPath = '/api/DealerUpgradeProposalSetting/SaveDealerUpgradeProposalSetting';\n DealerUpgradeProposalSettingClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerUpgradeProposalSettingClientService_Factory() { return new DealerUpgradeProposalSettingClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerUpgradeProposalSettingClientService, providedIn: \"root\" });\n return DealerUpgradeProposalSettingClientService;\n}(base_service_1.BaseService));\nexports.DealerUpgradeProposalSettingClientService = DealerUpgradeProposalSettingClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerUpgradeProposalSettingDto } from '../models/dealer-upgrade-proposal-setting-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerUpgradeProposalSettingClientService extends __BaseService {\r\n static readonly GetDealerUpgradeProposalSettingByDealeridGETPath = '/api/DealerUpgradeProposalSetting/GetDealerUpgradeProposalSetting/{dealerId}';\r\n static readonly SaveDealerUpgradeProposalSettingPOSTPath = '/api/DealerUpgradeProposalSetting/SaveDealerUpgradeProposalSetting';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n */\r\n GetDealerUpgradeProposalSettingByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerUpgradeProposalSetting/GetDealerUpgradeProposalSetting/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n */\r\n GetDealerUpgradeProposalSettingByDealeridGET(dealerId: number): __Observable {\r\n return this.GetDealerUpgradeProposalSettingByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n SaveDealerUpgradeProposalSettingPOSTResponse(request?: DealerUpgradeProposalSettingDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerUpgradeProposalSetting/SaveDealerUpgradeProposalSetting`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n SaveDealerUpgradeProposalSettingPOST(request?: DealerUpgradeProposalSettingDto): __Observable {\r\n return this.SaveDealerUpgradeProposalSettingPOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerUpgradeProposalSettingClientService {\r\n}\r\n\r\nexport { DealerUpgradeProposalSettingClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar user_service_1 = require(\"./../../services/user.service\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_1 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar constants_1 = require(\"../../constants\");\nvar AdminSettingsOpportunityComponent = /** @class */ (function () {\n function AdminSettingsOpportunityComponent(modalService, tService, userService, logger, document) {\n this.modalService = modalService;\n this.tService = tService;\n this.userService = userService;\n this.logger = logger;\n this.document = document;\n this.dsa = {};\n this.leaseContractEndRangeValid = true;\n this.purchaseContractEndRangeValid = true;\n this.productTypes = constants_1.ProductTypes;\n }\n AdminSettingsOpportunityComponent.prototype.ngOnInit = function () {\n this.unitLabelKey = this.tService.instant((this.dsa.isMetric) ? \"unitKilometers\" : \"unitMiles\");\n };\n AdminSettingsOpportunityComponent.prototype.validateContractEndRange = function () {\n this.leaseContractEndRangeValid = (this.dsa.dealerSetting.leaseContractEndRangeFrom <= this.dsa.dealerSetting.leaseContractEndRangeTo);\n this.purchaseContractEndRangeValid = (this.dsa.dealerSetting.purchaseContractEndRangeFrom <= this.dsa.dealerSetting.purchaseContractEndTo);\n };\n return AdminSettingsOpportunityComponent;\n}());\nexports.AdminSettingsOpportunityComponent = AdminSettingsOpportunityComponent;\n","import { OnInit, Component, Input, Inject } from '@angular/core';\r\nimport { UserService } from './../../services/user.service';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerSettingResponseDto } from '../../generated/models';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { ProductTypes } from '../../constants';\r\n\r\n\r\n@Component({\r\n selector: 'admin-settings-opportunity',\r\n templateUrl: './admin-settings-opportunity.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsOpportunityComponent {\r\n bsModalRef: BsModalRef;\r\n @Input() dsa: DealerSettingResponseDto = {};\r\n\r\n public leaseContractEndRangeValid: Boolean = true;\r\n public purchaseContractEndRangeValid: Boolean = true;\r\n public productTypes = ProductTypes;\r\n public unitLabelKey: String;\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public userService: UserService,\r\n public logger: ToasterLoggerService,\r\n @Inject(DOCUMENT) private document\r\n ) {\r\n }\r\n\r\n public ngOnInit() {\r\n this.unitLabelKey = this.tService.instant((this.dsa.isMetric) ? \"unitKilometers\" : \"unitMiles\");\r\n }\r\n\r\n public validateContractEndRange() {\r\n this.leaseContractEndRangeValid = (this.dsa.dealerSetting.leaseContractEndRangeFrom <= this.dsa.dealerSetting.leaseContractEndRangeTo);\r\n this.purchaseContractEndRangeValid = (this.dsa.dealerSetting.purchaseContractEndRangeFrom <= this.dsa.dealerSetting.purchaseContractEndTo);\r\n }\r\n}","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\n// import { Component, OnInit } from '@angular/core';\n// @Component({\n// selector: 'activity-list',\n// templateUrl: './activity-list.component.html',\n// styleUrls: ['./activity-list.component.scss']\n// })\n// export class ActivityListComponent implements OnInit {\n// constructor() { }\n// ngOnInit() {\n// }\n// }\nvar ActivityListComponent = /** @class */ (function (_super) {\n __extends(ActivityListComponent, _super);\n function ActivityListComponent(elementRef, injector) {\n var _this = _super.call(this, 'activityList', elementRef, injector) || this;\n _this.onScheduleSubmit = new core_1.EventEmitter();\n _this.onSetAsDefault = new core_1.EventEmitter();\n _this.onRefresh = new core_1.EventEmitter();\n return _this;\n }\n return ActivityListComponent;\n}(static_1.UpgradeComponent));\nexports.ActivityListComponent = ActivityListComponent;\n","import { Directive, ElementRef, EventEmitter, Injector, Input, Output } from \"@angular/core\";\r\nimport { UpgradeComponent } from \"@angular/upgrade/static\";\r\nimport { Activity } from \"../../../interfaces/activity.interface\";\r\nimport { DealSheetPermissions } from \"../../../interfaces/deal-sheet/deal-sheet-permissions.interface\";\r\nimport { UserInfo } from \"../../../interfaces/user-info.interface\";\r\n\r\n// import { Component, OnInit } from '@angular/core';\r\n\r\n// @Component({\r\n// selector: 'activity-list',\r\n// templateUrl: './activity-list.component.html',\r\n// styleUrls: ['./activity-list.component.scss']\r\n// })\r\n// export class ActivityListComponent implements OnInit {\r\n\r\n// constructor() { }\r\n\r\n// ngOnInit() {\r\n// }\r\n\r\n// }\r\n\r\n\r\n@Directive({\r\n selector: 'activity-list'\r\n})\r\nexport class ActivityListComponent extends UpgradeComponent {\r\n @Input() activities: Activity[];\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() status: any;\r\n @Input() users: any;\r\n @Input() opportunityId: string;\r\n @Output() onScheduleSubmit = new EventEmitter();\r\n @Input() assignedUserFullName: string;\r\n @Input() assignedUserId: any;\r\n @Input() maxScheduleFutureDays: number;\r\n @Input() ownerUserInfo: UserInfo;\r\n @Input() defaultTab: any;\r\n @Input() expirationDate: any;\r\n @Input() hasReviewPro: boolean;\r\n @Input() hasGeoAlert: boolean;\r\n @Output() onSetAsDefault = new EventEmitter();\r\n @Input() isEuroLite: boolean;\r\n @Input() fullName: string;\r\n @Output() onRefresh = new EventEmitter();\r\n @Input() mobileView: boolean;\r\n @Input() dealerId: number;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('activityList', elementRef, injector);\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./financed-amount.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./financed-amount.component\"));\nvar styles_FinancedAmountComponent = [i0.styles];\nvar RenderType_FinancedAmountComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_FinancedAmountComponent, data: {} });\nexports.RenderType_FinancedAmountComponent = RenderType_FinancedAmountComponent;\nfunction View_FinancedAmountComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"financed-amount\"], [\"translate\", \"amountFinancedLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"field-data qa-financed-amount-value\"], [\"id\", \"financed-amount\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵppd(5, 1)], function (_ck, _v) { var currVal_0 = \"amountFinancedLabel\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, _ck(_v, 5, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_FinancedAmountComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleCurrencyPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_FinancedAmountComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_FinancedAmountComponent_0 = View_FinancedAmountComponent_0;\nfunction View_FinancedAmountComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"financed-amount\", [], null, null, null, View_FinancedAmountComponent_0, RenderType_FinancedAmountComponent)), i1.ɵdid(1, 114688, null, 0, i6.FinancedAmountComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_FinancedAmountComponent_Host_0 = View_FinancedAmountComponent_Host_0;\nvar FinancedAmountComponentNgFactory = i1.ɵccf(\"financed-amount\", i6.FinancedAmountComponent, View_FinancedAmountComponent_Host_0, { value: \"value\" }, {}, []);\nexports.FinancedAmountComponentNgFactory = FinancedAmountComponentNgFactory;\n","
\r\n \r\n {{value | localeCurrency}}\r\n
\r\n\r\n","module.exports = \"x-data-entry-frame {\\n font-size: 11pt;\\n}\\nx-data-entry-frame label, x-data-entry-frame .form-control {\\n font-size: 11pt;\\n}\\nx-data-entry-frame > .-formcontainer {\\n background-color: #E7E7E7;\\n}\\nx-data-entry-frame .table > thead > tr > th,\\nx-data-entry-frame .table > tbody > tr > th {\\n text-align: center;\\n font-weight: bold;\\n}\\nx-data-entry-frame .table > thead > tr > th.th-group,\\nx-data-entry-frame .table > tbody > tr > th.th-group {\\n border-bottom: solid 1px #1f8bd5;\\n color: #1f8bd5;\\n vertical-align: bottom;\\n}\\nx-data-entry-frame .table > tbody > tr > th,\\nx-data-entry-frame .table > tbody > tr > td {\\n text-align: center;\\n}\\nx-data-entry-frame .table > tbody > tr > th.align-left,\\nx-data-entry-frame .table > tbody > tr > td.align-left {\\n text-align: left;\\n}\\nx-data-entry-frame .table > tbody > tr > th.align-right,\\nx-data-entry-frame .table > tbody > tr > td.align-right {\\n text-align: right;\\n}\\nx-data-entry-frame td {\\n padding-bottom: 5px;\\n}\\nx-data-entry-frame .float-right {\\n float: right;\\n padding-right: 15px;\\n}\\nx-data-entry-frame .padding-left {\\n padding-left: 20px;\\n}\\nx-data-entry-frame .margin-left {\\n margin-left: 10px;\\n}\\nx-data-entry-frame .page-title {\\n padding: 10px 0 0 10px;\\n float: left;\\n font-size: 18pt;\\n color: #444B4F;\\n}\\nx-data-entry-frame .title-dealer {\\n color: black;\\n margin-top: 18px;\\n float: left;\\n}\\nx-data-entry-frame .dealer-select {\\n padding: 10px 0 0 10px;\\n float: left;\\n}\\nx-data-entry-frame hr {\\n border-top: 1px solid #1F8BD5;\\n margin-bottom: 10px;\\n margin-top: 10px !important;\\n}\\nx-data-entry-frame a {\\n color: #1F8BD5;\\n}\\nx-data-entry-frame hr:not(.margin-top) {\\n margin-top: 10;\\n}\\nx-data-entry-frame .expire-date {\\n color: red;\\n}\\nx-data-entry-frame .bold {\\n font-weight: bold;\\n}\\nx-data-entry-frame .padding-bottom {\\n padding-bottom: 10px;\\n}\\nx-data-entry-frame .error {\\n color: Red !important;\\n}\\nx-data-entry-frame .edit-box {\\n border: 1px solid #ccc;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n -webkit-appearance: none;\\n}\\nx-data-entry-frame .edit-box-error {\\n border: 1px solid red;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n -webkit-appearance: none;\\n}\\nx-data-entry-frame .validate-error {\\n border: 1px solid red;\\n}\\nx-data-entry-frame .k-grid td {\\n font-size: 12pt;\\n font-family: \\\"Roboto\\\";\\n padding-top: 2px;\\n padding-bottom: 2px;\\n padding-right: 5px;\\n padding-left: 5px;\\n}\\nx-data-entry-frame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EwcHg7XHJcbiAgICAgICAgZmxvYXQ6IGxlZnRcclxuICAgIH1cclxuXHJcbiAgICBociB7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogMXB4IHNvbGlkICMxRjhCRDU7XHJcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMTBweDtcclxuICAgICAgICBtYXJnaW4tdG9wOiAxMHB4ICFpbXBvcnRhbnQ7XHJcbiAgICB9XHJcblxyXG4gICAgYSB7XHJcbiAgICAgICAgY29sb3I6ICMxRjhCRDU7XHJcbiAgICB9XHJcblxyXG4gICAgaHI6bm90KC5tYXJnaW4tdG9wKSB7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMTA7XHJcbiAgICB9XHJcblxyXG4gICAgLmV4cGlyZS1kYXRlIHtcclxuICAgICAgICBjb2xvcjogcmVkO1xyXG4gICAgfVxyXG5cclxuICAgIC5ib2xkIHtcclxuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgIH1cclxuXHJcbiAgICAucGFkZGluZy1ib3R0b20ge1xyXG4gICAgICAgIHBhZGRpbmctYm90dG9tOiAxMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5lcnJvciB7XHJcbiAgICAgICAgY29sb3I6IFJlZCAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIC5lZGl0LWJveCB7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2NjYztcclxuICAgICAgICAtbW96LWJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgLXdlYmtpdC1ib3JkZXItcmFkaXVzOiAxMHB4O1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgaGVpZ2h0OiAyMHB4O1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTJwdDtcclxuICAgICAgICBwYWRkaW5nOiAycHggOHB4O1xyXG4gICAgICAgIG91dGxpbmU6IDA7XHJcbiAgICAgICAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lO1xyXG4gICAgfVxyXG5cclxuICAgIC5lZGl0LWJveC1lcnJvciB7XHJcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgcmVkO1xyXG4gICAgICAgIC1tb3otYm9yZGVyLXJhZGl1czogMTBweDtcclxuICAgICAgICAtd2Via2l0LWJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogMTBweDtcclxuICAgICAgICBoZWlnaHQ6IDIwcHg7XHJcbiAgICAgICAgZm9udC1zaXplOiAxMnB0O1xyXG4gICAgICAgIHBhZGRpbmc6IDJweCA4cHg7XHJcbiAgICAgICAgb3V0bGluZTogMDtcclxuICAgICAgICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7XHJcbiAgICB9XHJcblxyXG4gICAgLnZhbGlkYXRlLWVycm9yIHtcclxuICAgICAgYm9yZGVyOiAxcHggc29saWQgcmVkO1xyXG4gIH1cclxuXHJcbiAgICAuay1ncmlkIHRkIHtcclxuICAgICAgICBmb250LXNpemU6IDEycHQ7XHJcbiAgICAgICAgZm9udC1mYW1pbHk6ICRrZW5kb0dyaWRGb250RmFtaWx5O1xyXG4gICAgICAgIHBhZGRpbmctdG9wOiAycHg7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDJweDtcclxuICAgICAgICBwYWRkaW5nLXJpZ2h0OiA1cHg7XHJcbiAgICAgICAgcGFkZGluZy1sZWZ0OiA1cHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmstZ3JpZC1oZWFkZXIgdGguay1oZWFkZXIge1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTJwdDtcclxuICAgICAgICBmb250LXdlaWdodDogNTAwO1xyXG4gICAgfVxyXG59XHJcbiIsIngtZGF0YS1lbnRyeS1mcmFtZSB7XG4gIGZvbnQtc2l6ZTogMTFwdDtcbn1cbngtZGF0YS1lbnRyeS1mcmFtZSBsYWJlbCwgeC1kYXRhLWVudHJ5LWZyYW1lIC5mb3J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1MTtcclxuJHRhYi10ZXh0LWNvbG9yOiAkYnJpZ2h0Qmx1ZTtcclxuJHRhYi1hY3RpdmUtdGV4dC1jb2xvcjogd2hpdGU7XHJcblxyXG4kY29udHJvbC1iYWNrZ3JvdW5kLWNvbG9yOiAjMzM3YWI3O1xyXG4kYWxlcnQtaW5mby1iYWNrZ3JvdW5kLWNvbG9yOiAjZTdlN2U3O1xyXG5cclxuJGxpZ2h0LWZvbnQtd2VpZ2h0OiAzMDA7XHJcbiRib2xkLWZvbnQtd2VpZ2h0OiA1MDA7XHJcbiRkb3VibGUtYm9sZC1mb250LXdlaWdodDogOTAwO1xyXG5cclxuJFNlY3Rpb25UaXRsZUJsdWU6ICMzMzY2OTk7XHJcbiRTZWN0aW9uVGl0bGVTdHJva2U6ICNhNmM5ZTI7XHJcbiRTZWN0aW9uTGFiZWw6ICMzMzM7XHJcbiRTZWN0aW9uVmFsdWU6ICM1NTU7XHJcbiRTZWN0aW9uQm9yZGVyOiAjY2NjO1xyXG4kU2VjdGlvbklucHV0SW52YWxpZDogI2Y1MzE0MjtcclxuJFNlY3Rpb25Cb3JkZXJJbnZhbGlkRm9jdXM6IHJnYmEoMjQ1LCA0OSwgNjYsIDAuOCk7XHJcbiRTZWN0aW9uQm9yZGVyRm9jdXM6IHJnYmEoODIsIDE2OCwgMjM2LCAwLjgpO1xyXG4kU2VjdGlvbkJvcmRlckJveFNoYWRvdzogcmdiYSg4MiwgMTY4LCAyMzYsIDAuNik7XHJcbiRTZWN0aW9uQm9yZGVySW52YWxpZFNoYWRvdzogcmdiYSgyNDUsIDQ5LCA2NiwgMC42KTtcclxuJFNlY3Rpb25CYWNrZ3JvdW5kOiAjZmZmO1xyXG5cclxuJGtlbmRvR3JpZEZvbnRGYW1pbHk6IFwiUm9ib3RvXCI7XHJcbiJdfQ== */\"","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../constants\");\nvar TypeOfCallComponent = /** @class */ (function () {\n function TypeOfCallComponent() {\n this.onBlur = new core_1.EventEmitter();\n this.onTypeSelect = new core_1.EventEmitter();\n this.activitySubTypes = constants_1.ActivitySubTypes;\n }\n TypeOfCallComponent.prototype.ngOnInit = function () {\n this.selectedCallType = this.activitySubTypes.outBoundCall.toString();\n this.onTypeSelect.emit(this.selectedCallType); // send default choice to parent \n };\n TypeOfCallComponent.prototype.onSelectionChange = function (data) {\n this.onTypeSelect.emit(data);\n };\n return TypeOfCallComponent;\n}());\nexports.TypeOfCallComponent = TypeOfCallComponent;\n","import { Component, EventEmitter, Output, OnInit } from '@angular/core';\r\nimport { ActivitySubTypes } from '../../../constants';\r\n\r\n@Component({\r\n selector: 'type-of-call',\r\n templateUrl: './type-of-call.component-ng.html',\r\n styleUrls: ['./type-of-call.component.scss']\r\n})\r\nexport class TypeOfCallComponent implements OnInit{\r\n\r\n @Output() onBlur = new EventEmitter();\r\n @Output() onTypeSelect = new EventEmitter();\r\n\r\n public activitySubTypes = ActivitySubTypes;\r\n public selectedCallType: string;\r\n\r\n constructor() {\r\n \r\n }\r\n\r\n ngOnInit() {\r\n this.selectedCallType = this.activitySubTypes.outBoundCall.toString();\r\n this.onTypeSelect.emit(this.selectedCallType); // send default choice to parent \r\n }\r\n\r\n public onSelectionChange(data: string) {\r\n this.onTypeSelect.emit(data);\r\n }\r\n}\r\n","var cof = require('./_cof');\nmodule.exports = function (it, msg) {\n if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);\n return +it;\n};\n","module.exports = \"#redactor_modal,\\n.redactor_dropdown {\\n z-index: 2000 !important;\\n}\\n\\n.redactor_editor,\\n.redactor_editor div,\\n.redactor_editor p,\\n.redactor_editor ul,\\n.redactor_editor ol,\\n.redactor_editor table,\\n.redactor_editor dl,\\n.redactor_editor blockquote,\\n.redactor_editor pre,\\n.redactor_editor h1,\\n.redactor_editor h2,\\n.redactor_editor h3,\\n.redactor_editor h4,\\n.redactor_editor h5,\\n.redactor_editor h6,\\n#template-body {\\n font-family: \\\"Times New Roman\\\", serif;\\n}\\n\\n.redactor_editor,\\n.redactor_editor div,\\n.redactor_editor p,\\n.redactor_editor ul,\\n.redactor_editor ol,\\n.redactor_editor table,\\n.redactor_editor dl,\\n.redactor_editor blockquote,\\n.redactor_editor pre,\\n#template-body,\\n#template-body table {\\n font-size: 18px;\\n line-height: 1.4em;\\n}\\n\\n.redactor_toolbar li a.re-mergeField {\\n background-image: url(\\\"/content/images/icons/16/insert-merge-field.png\\\");\\n}\\n\\n.redactor_toolbar li a.re-mergeField:hover {\\n background-image: url(\\\"/content/images/icons/16/insert-merge-field-hover.png\\\");\\n}\\n\\n.redactor_toolbar li a.re-layout {\\n background-image: url(\\\"/content/images/icons/16/insert-layout.png\\\");\\n}\\n\\n.redactor_toolbar li a.re-layout:hover {\\n background-image: url(\\\"/content/images/icons/16/insert-layout-hover.png\\\");\\n}\\n\\n.redactor_editor .redactor-layout-table,\\n.redactor_editor .redactor-layout-table td {\\n border-style: dashed;\\n border-color: #ddd;\\n border-width: 1px;\\n}\\n\\n.redactor_editor table.redactor-layout-table td,\\n#template-body table.redactor-layout-table td {\\n padding: 5px;\\n}\\n\\n.redactor_editor .redactor-layout-table .col-1,\\n#template-body .redactor-layout-table .col-1 {\\n width: 626px;\\n}\\n\\n.redactor_editor .redactor-layout-table .col-2,\\n#template-body .redactor-layout-table .col-2 {\\n width: 313px;\\n}\\n\\n.redactor_editor .redactor-layout-table .col-3,\\n#template-body .redactor-layout-table .col-3 {\\n width: 208px;\\n}\\n\\n.redactor-mergefield-tooltip {\\n position: absolute;\\n z-index: 49999;\\n padding: 10px;\\n line-height: 1;\\n display: inline-block;\\n background-color: #000;\\n color: #555 !important;\\n}\\n\\n.redactor-mergefield-tooltip,\\n.redactor-mergefield-tooltip a {\\n font-size: 12px;\\n font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;\\n}\\n\\n.redactor-mergefield-tooltip a {\\n color: #ccc;\\n margin: 0 5px;\\n text-decoration: none;\\n}\\n\\n.redactor-mergefield-tooltip a:hover {\\n color: #fff;\\n}\\n\\n.redactor_editor img {\\n max-width: none;\\n}\\n\\n#template-body img, #redactor-image-box img {\\n width: auto;\\n}\\n\\n#template-body {\\n margin-top: 100px;\\n}\\n\\n.has-letterhead #template-body {\\n margin-top: 0px;\\n}\\n\\n#template-body table td {\\n vertical-align: top;\\n}\\n\\n.redactor_editor .redactor-button {\\n margin-bottom: 0 !important;\\n}\\n\\n.redactor-button table {\\n margin: 0 auto !important;\\n}\\n\\n.redactor-button a {\\n font-size: 16px;\\n font-weight: bold;\\n font-family: sans-serif;\\n text-decoration: none !important;\\n line-height: 1em;\\n width: 100%;\\n display: inline-block;\\n color: #ffffff !important;\\n}\\n\\n.redactor_editor .redactor-button td,\\n#template-body .redactor-button td,\\n#email-wrapper .redactor-button td,\\n.redactor_editor table.redactor-layout-table .redactor-button td,\\n#template-body table.redactor-layout-table .redactor-button td {\\n padding: 15px !important;\\n display: block;\\n background-color: #5bb75b;\\n border: none;\\n}\\n\\n#email-wrapper #template-body {\\n margin-top: 0;\\n}\\n\\n.email-wrapper-section {\\n padding: 18px;\\n}\\n\\n.email-wrapper-section.email-only-content {\\n background-color: #f2f2f2;\\n}\\n\\n.email-only-content {\\n font-size: 14px;\\n text-align: center;\\n}\\n\\n#unsubscribe {\\n margin-top: 10px;\\n}\\n\\n#dealer-info {\\n margin-top: 10px;\\n color: #999;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2NyaXB0cy9yZWRhY3Rvci9DOlxcQXV0b0FsZXJ0XFx3b3Jrc3BhY2VcXEFsZXJ0TWluZXItUG9ydGFsX3JlbGVhc2VfNi42My4wXFxBdXRvQWxlcnQuUG9ydGFsLk9wcG9ydHVuaXRpZXMvc3JjXFxhcHBcXHNjcmlwdHNcXHJlZGFjdG9yXFxyZWRhY3Rvci5vdmVycmlkZXMuc2NzcyIsInNyY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I6IG5vbmU7XG59XG5cbiNlbWFpbC13cmFwcGVyICN0ZW1wbGF0ZS1ib2R5IHtcbiAgbWFyZ2luLXRvcDogMDtcbn1cblxuLmVtYWlsLXdyYXBwZXItc2VjdGlvbiB7XG4gIHBhZGRpbmc6IDE4cHg7XG59XG5cbi5lbWFpbC13cmFwcGVyLXNlY3Rpb24uZW1haWwtb25seS1jb250ZW50IHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2YyZjJmMjtcbn1cblxuLmVtYWlsLW9ubHktY29udGVudCB7XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xufVxuXG4jdW5zdWJzY3JpYmUge1xuICBtYXJnaW4tdG9wOiAxMHB4O1xufVxuXG4jZGVhbGVyLWluZm8ge1xuICBtYXJnaW4tdG9wOiAxMHB4O1xuICBjb2xvcjogIzk5OTtcbn0iXX0= */\"","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar ordinaryHasOwnMetadata = metadata.has;\nvar ordinaryGetOwnMetadata = metadata.get;\nvar toMetaKey = metadata.key;\n\nvar ordinaryGetMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n};\n\nmetadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar UserProfileClientService = /** @class */ (function (_super) {\n __extends(UserProfileClientService, _super);\n function UserProfileClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param data undefined\n */\n UserProfileClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/UserProfile\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n UserProfileClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n UserProfileClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/UserProfile\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n UserProfileClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param userProfile undefined\n */\n UserProfileClientService.prototype.UpdatePATCHResponse = function (userProfile) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = userProfile;\n var req = new http_1.HttpRequest('PATCH', this.rootUrl + \"/api/UserProfile\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param userProfile undefined\n */\n UserProfileClientService.prototype.UpdatePATCH = function (userProfile) {\n return this.UpdatePATCHResponse(userProfile).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n UserProfileClientService.prototype.ExtendedGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/UserProfile/Extended\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n UserProfileClientService.prototype.ExtendedGET = function () {\n return this.ExtendedGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n UserProfileClientService.prototype.GetCulturesGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/UserProfile/GetCultures\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n UserProfileClientService.prototype.GetCulturesGET = function () {\n return this.GetCulturesGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n UserProfileClientService.prototype.GetTimeZonesGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/UserProfile/GetTimeZones\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n UserProfileClientService.prototype.GetTimeZonesGET = function () {\n return this.GetTimeZonesGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n UserProfileClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/UserProfile/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n UserProfileClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n UserProfileClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/UserProfile/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n UserProfileClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n UserProfileClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/UserProfile/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n UserProfileClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n UserProfileClientService.PUTPath = '/api/UserProfile';\n UserProfileClientService.POSTPath = '/api/UserProfile';\n UserProfileClientService.UpdatePATCHPath = '/api/UserProfile';\n UserProfileClientService.ExtendedGETPath = '/api/UserProfile/Extended';\n UserProfileClientService.GetCulturesGETPath = '/api/UserProfile/GetCultures';\n UserProfileClientService.GetTimeZonesGETPath = '/api/UserProfile/GetTimeZones';\n UserProfileClientService.ByIdGETPath = '/api/UserProfile/{id}';\n UserProfileClientService.ByIdDELETEPath = '/api/UserProfile/{id}';\n UserProfileClientService.GetManyGETPath = '/api/UserProfile/GetMany';\n UserProfileClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function UserProfileClientService_Factory() { return new UserProfileClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: UserProfileClientService, providedIn: \"root\" });\n return UserProfileClientService;\n}(base_service_1.BaseService));\nexports.UserProfileClientService = UserProfileClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { UserProfileDto } from '../models/user-profile-dto';\r\nimport { UserProfilePatch } from '../models/user-profile-patch';\r\nimport { UserProfileExtendedDto } from '../models/user-profile-extended-dto';\r\nimport { TimeZoneDto } from '../models/time-zone-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass UserProfileClientService extends __BaseService {\r\n static readonly PUTPath = '/api/UserProfile';\r\n static readonly POSTPath = '/api/UserProfile';\r\n static readonly UpdatePATCHPath = '/api/UserProfile';\r\n static readonly ExtendedGETPath = '/api/UserProfile/Extended';\r\n static readonly GetCulturesGETPath = '/api/UserProfile/GetCultures';\r\n static readonly GetTimeZonesGETPath = '/api/UserProfile/GetTimeZones';\r\n static readonly ByIdGETPath = '/api/UserProfile/{id}';\r\n static readonly ByIdDELETEPath = '/api/UserProfile/{id}';\r\n static readonly GetManyGETPath = '/api/UserProfile/GetMany';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: UserProfileDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/UserProfile`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: UserProfileDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: UserProfileDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/UserProfile`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: UserProfileDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as UserProfileDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param userProfile undefined\r\n */\r\n UpdatePATCHResponse(userProfile?: UserProfilePatch): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = userProfile;\r\n let req = new HttpRequest(\r\n 'PATCH',\r\n this.rootUrl + `/api/UserProfile`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param userProfile undefined\r\n */\r\n UpdatePATCH(userProfile?: UserProfilePatch): __Observable {\r\n return this.UpdatePATCHResponse(userProfile).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n ExtendedGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserProfile/Extended`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n ExtendedGET(): __Observable {\r\n return this.ExtendedGETResponse().pipe(\r\n __map(_r => _r.body as UserProfileExtendedDto)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetCulturesGETResponse(): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserProfile/GetCultures`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetCulturesGET(): __Observable> {\r\n return this.GetCulturesGETResponse().pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetTimeZonesGETResponse(): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserProfile/GetTimeZones`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetTimeZonesGET(): __Observable> {\r\n return this.GetTimeZonesGETResponse().pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserProfile/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as UserProfileDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/UserProfile/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserProfile/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n}\r\n\r\nmodule UserProfileClientService {\r\n}\r\n\r\nexport { UserProfileClientService }\r\n","var path = '/app/components/deal-sheet/contract/replacement-contracts.component.html';\nvar html = \"
0\\\">
0\\\">
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/reports/report-subscription-edit.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".custom-search-input[_ngcontent-%COMP%] .stock-info[_ngcontent-%COMP%]{width:400px}.custom-search-input[_ngcontent-%COMP%] .stock-info[_ngcontent-%COMP%] .stock-data[_ngcontent-%COMP%]{display:inline-block;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.custom-search-input[_ngcontent-%COMP%] .stock-info[_ngcontent-%COMP%] .stock-data.stock-no[_ngcontent-%COMP%]{width:100px}.custom-search-input[_ngcontent-%COMP%] .stock-info[_ngcontent-%COMP%] .stock-data.stock-full-trim[_ngcontent-%COMP%]{width:200px}.custom-search-input[_ngcontent-%COMP%] .stock-info[_ngcontent-%COMP%] .stock-data.stock-new-used-cpo[_ngcontent-%COMP%]{width:50px}.custom-search-input[_ngcontent-%COMP%] .stock-info[_ngcontent-%COMP%] .stock-data[_ngcontent-%COMP%] .ng-scope[_ngcontent-%COMP%]{width:100%}.custom-search-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-ms-clear{display:none}\"];\nexports.styles = styles;\n","module.exports = \"\"","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar opportunity2_service_1 = require(\"../../../services/opportunity2.service\");\nvar ScoreInfoModalComponent = /** @class */ (function () {\n function ScoreInfoModalComponent(_bsModalRef, tService, opportunity2Service) {\n var _this = this;\n this._bsModalRef = _bsModalRef;\n this.tService = tService;\n this.opportunity2Service = opportunity2Service;\n this.featuresLoaded = false;\n this.translations = {};\n this.MAX_RECORDS = 8;\n this.translationKeys = [\n 'faalertletter',\n 'flexAlertLetter',\n 'inMarketLetter',\n 'inMarketEngagedLetter',\n 'contractEndLetter',\n 'serviceLetter',\n 'serviceAppointmentLetter',\n 'mileageLetter',\n 'warrantyLetter',\n ];\n this.dataSource = [\n { id: \"100\", featureId: \"006\", alerts: \"Alert\", code: 'alert', description: 'Alert', translateKey: 'faalertletter' },\n { id: \"200\", featureId: \"\", alerts: \"Flex\", code: 'flexalert', description: 'Flex', translateKey: 'flexAlertLetter' },\n { id: \"400\", featureId: \"\", alerts: \"In Market\", code: 'inmarket', description: 'In Market', translateKey: 'inMarketLetter' },\n { id: \"500\", featureId: \"019\", alerts: \"Engaged\", code: 'inmarketengaged', description: 'Engaged', translateKey: 'inMarketEngagedLetter' },\n { id: \"600\", featureId: \"022\", alerts: \"Contract End\", code: 'contractend', description: 'Contract End', translateKey: 'contractEndLetter' },\n { id: \"700\", featureId: \"018\", alerts: \"Service\", code: 'service', description: 'Service', translateKey: 'serviceLetter' },\n { id: \"800\", featureId: \"030\", alerts: \"Pending Service\", code: 'appointment', description: 'Pending Service', translateKey: 'serviceAppointmentLetter' },\n { id: \"900\", featureId: \"028\", alerts: \"Mileage\", code: 'mileage', description: 'Mileage', translateKey: 'mileageLetter' },\n { id: \"1000\", featureId: \"024\", alerts: \"Warranty\", code: 'warranty', description: 'Warranty', translateKey: 'warrantyLetter' }\n ];\n this.tService.get(this.translationKeys)\n .subscribe(function (translations) {\n _this.translations = translations;\n });\n }\n ScoreInfoModalComponent.prototype.ngOnInit = function () {\n var _this = this;\n this._bsModalRef.hide();\n this.busy = this.opportunity2Service.getEntityScoreFeature(this.entityId)\n .then(function (data) {\n _this.features = data.slice(0, _this.MAX_RECORDS).sort(_this.byImportanceRank);\n _this.features.forEach(function (item) {\n var alert = null;\n if (item.featureID != \"\") {\n alert = _this.getByFeatureId(item.featureID);\n }\n if (alert !== null) {\n item.isAlert = true;\n item.alertCode = alert.code;\n item.alertCodeLetter = _this.translations[alert.translateKey];\n }\n else {\n item.isAlert = false;\n var transKey = 'scoreFeature_' + item.featureID;\n var description = _this.tService.instant(transKey);\n if (description && description != transKey) {\n item.featureDescription = description;\n }\n else {\n item.featureDescription = \"\";\n }\n }\n item.posneg = \"\";\n if (item.weight > 0) {\n item.posneg = \"+\";\n }\n else if (item.weight < 0) {\n item.posneg = \"-\";\n }\n });\n _this.featuresLoaded = true;\n });\n };\n ScoreInfoModalComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n ScoreInfoModalComponent.prototype.cancelModal = function () {\n this._bsModalRef.hide();\n };\n ScoreInfoModalComponent.prototype.byImportanceRank = function (feature1, feature2) {\n return feature1.importanceRank - feature2.importanceRank;\n };\n ScoreInfoModalComponent.prototype.getByFeatureId = function (id) {\n var alert = this.dataSource.find(function (item) { return item.featureId == id; });\n if (typeof (alert) === 'undefined')\n return null;\n return alert;\n };\n return ScoreInfoModalComponent;\n}());\nexports.ScoreInfoModalComponent = ScoreInfoModalComponent;\n","import { Component, OnInit, Input, Output, EventEmitter, AfterViewInit, ViewChild, SimpleChanges } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { Opportunity2Service } from '../../../services/opportunity2.service';\r\nimport { EntityScoreFeatureDto } from '../../../generated/models/entity-score-feature-dto';\r\n\r\n@Component({\r\n selector: 'score-info-modal',\r\n templateUrl: './score-info-modal.component-ng.html',\r\n styleUrls: ['./score-info-modal.component.scss']\r\n})\r\n\r\nexport class ScoreInfoModalComponent implements OnInit, AfterViewInit {\r\n @Input() entityId: string;\r\n\r\n public busy: Promise;\r\n public features: any[];\r\n public featuresLoaded: boolean = false;\r\n public buyRate: number;\r\n private translations: any = {};\r\n\r\n private readonly MAX_RECORDS: number = 8;\r\n\r\n private readonly translationKeys = [\r\n 'faalertletter',\r\n 'flexAlertLetter',\r\n 'inMarketLetter',\r\n 'inMarketEngagedLetter',\r\n 'contractEndLetter',\r\n 'serviceLetter',\r\n 'serviceAppointmentLetter',\r\n 'mileageLetter',\r\n 'warrantyLetter',\r\n ];\r\n\r\n private dataSource: any[] = [\r\n { id: \"100\", featureId: \"006\", alerts: \"Alert\", code: 'alert', description: 'Alert', translateKey: 'faalertletter' },\r\n { id: \"200\", featureId: \"\", alerts: \"Flex\", code: 'flexalert', description: 'Flex', translateKey: 'flexAlertLetter' },\r\n { id: \"400\", featureId: \"\", alerts: \"In Market\", code: 'inmarket', description: 'In Market', translateKey: 'inMarketLetter' },\r\n { id: \"500\", featureId: \"019\", alerts: \"Engaged\", code: 'inmarketengaged', description: 'Engaged', translateKey: 'inMarketEngagedLetter' },\r\n { id: \"600\", featureId: \"022\", alerts: \"Contract End\", code: 'contractend', description: 'Contract End', translateKey: 'contractEndLetter' },\r\n { id: \"700\", featureId: \"018\", alerts: \"Service\", code: 'service', description: 'Service', translateKey: 'serviceLetter' },\r\n { id: \"800\", featureId: \"030\", alerts: \"Pending Service\", code: 'appointment', description: 'Pending Service', translateKey: 'serviceAppointmentLetter' },\r\n { id: \"900\", featureId: \"028\", alerts: \"Mileage\", code: 'mileage', description: 'Mileage', translateKey: 'mileageLetter' },\r\n { id: \"1000\", featureId: \"024\", alerts: \"Warranty\", code: 'warranty', description: 'Warranty', translateKey: 'warrantyLetter' }\r\n ];\r\n\r\n constructor(\r\n public _bsModalRef: BsModalRef,\r\n private tService: TranslateService,\r\n private opportunity2Service: Opportunity2Service) {\r\n\r\n this.tService.get(this.translationKeys)\r\n .subscribe(translations => {\r\n this.translations = translations;\r\n });\r\n }\r\n\r\n public ngOnInit(): void {\r\n this._bsModalRef.hide();\r\n\r\n this.busy = this.opportunity2Service.getEntityScoreFeature(this.entityId)\r\n .then((data) => {\r\n this.features = data.slice(0, this.MAX_RECORDS).sort(this.byImportanceRank);\r\n\r\n this.features.forEach(item => {\r\n let alert = null;\r\n if (item.featureID != \"\") {\r\n alert = this.getByFeatureId(item.featureID);\r\n }\r\n if (alert !== null) {\r\n item.isAlert = true;\r\n item.alertCode = alert.code;\r\n item.alertCodeLetter = this.translations[alert.translateKey];\r\n }\r\n else {\r\n item.isAlert = false;\r\n let transKey = 'scoreFeature_' + item.featureID;\r\n let description = this.tService.instant(transKey);\r\n\r\n if (description && description != transKey) {\r\n item.featureDescription = description;\r\n }\r\n else {\r\n item.featureDescription = \"\";\r\n }\r\n }\r\n\r\n item.posneg = \"\";\r\n if (item.weight > 0) {\r\n item.posneg = \"+\";\r\n }\r\n else if (item.weight < 0) {\r\n item.posneg = \"-\";\r\n }\r\n\r\n });\r\n\r\n this.featuresLoaded = true;\r\n\r\n });\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public cancelModal(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n private byImportanceRank(feature1: any, feature2: any) {\r\n return feature1.importanceRank - feature2.importanceRank;\r\n }\r\n\r\n\r\n private getByFeatureId(id): any {\r\n var alert = this.dataSource.find(item => item.featureId == id);\r\n if (typeof (alert) === 'undefined') return null;\r\n return alert;\r\n }\r\n\r\n}\r\n\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/log-call-action.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {\n // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n }\n});\n","module.exports = \"\"","var path = '/app/components/deal-sheet/contract/bank-name.component.html';\nvar html = \"\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar common_1 = require(\"@angular/common\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar LocaleDatePipe = /** @class */ (function (_super) {\n __extends(LocaleDatePipe, _super);\n function LocaleDatePipe(storageService) {\n var _this = _super.call(this, 'en-us') || this;\n _this.storageService = storageService;\n return _this;\n }\n LocaleDatePipe.prototype.transform = function (date, args) {\n var savedCultureName = this.storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n return _super.prototype.transform.call(this, date, 'dd/MM/yyyy');\n case 'en-ca':\n return _super.prototype.transform.call(this, date, 'dd/MM/yyyy');\n case 'fr-fr':\n return _super.prototype.transform.call(this, date, 'dd/MM/yyyy');\n case 'fr-ca':\n return _super.prototype.transform.call(this, date, 'yyyy-MM-dd');\n case 'en-us':\n default:\n return _super.prototype.transform.call(this, date, 'MM/dd/yyyy');\n }\n };\n return LocaleDatePipe;\n}(common_1.DatePipe));\nexports.LocaleDatePipe = LocaleDatePipe;\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DatePipe } from '@angular/common';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\n\r\n@Pipe({\r\n name: 'localeDate'\r\n})\r\nexport class LocaleDatePipe extends DatePipe implements PipeTransform {\r\n\r\n constructor(private storageService: StorageService) {\r\n super('en-us');\r\n }\r\n transform(date: any, args?: any): any {\r\n const savedCultureName = this.storageService.getItem('cultureName');\r\n const cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return super.transform(date, 'dd/MM/yyyy');\r\n case 'en-ca':\r\n return super.transform(date, 'dd/MM/yyyy');\r\n case 'fr-fr':\r\n return super.transform(date, 'dd/MM/yyyy');\r\n case 'fr-ca':\r\n return super.transform(date, 'yyyy-MM-dd');\r\n case 'en-us':\r\n default:\r\n return super.transform(date, 'MM/dd/yyyy');\r\n }\r\n\r\n }\r\n}\r\n","// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = require('./_export');\nvar abs = Math.abs;\n\n$export($export.S, 'Math', {\n hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n }\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./stock-number-search.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/common\"));\nvar i3 = __importStar(require(\"@angular/forms\"));\nvar i4 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i5 = __importStar(require(\"../../icon/icon.component\"));\nvar i6 = __importStar(require(\"@angular/platform-browser\"));\nvar i7 = __importStar(require(\"ngx-bootstrap/typeahead\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i9 = __importStar(require(\"@ngx-translate/core\"));\nvar i10 = __importStar(require(\"../../../filters/adaptive-position.pipe\"));\nvar i11 = __importStar(require(\"./stock-number-search.component\"));\nvar i12 = __importStar(require(\"../../../services/user.service\"));\nvar i13 = __importStar(require(\"../../../services/stock-number-search.service\"));\nvar i14 = __importStar(require(\"@uirouter/core\"));\nvar styles_StockNumberSearchComponent = [i0.styles];\nvar RenderType_StockNumberSearchComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_StockNumberSearchComponent, data: {} });\nexports.RenderType_StockNumberSearchComponent = RenderType_StockNumberSearchComponent;\nfunction View_StockNumberSearchComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"New\"]))], null, null); }\nfunction View_StockNumberSearchComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Used\"]))], null, null); }\nfunction View_StockNumberSearchComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"CPO\"]))], null, null); }\nfunction View_StockNumberSearchComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"stock-info\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSelect(_v.context.item.stockNo) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"stock-data stock-no\"]], [[8, \"innerHTML\", 1]], null, null, null, null)), i1.ɵppd(2, 2), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"div\", [[\"class\", \"stock-data stock-full-trim\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \", \", \"\"])), (_l()(), i1.ɵeld(5, 0, null, null, 6, \"div\", [[\"class\", \"stock-data stock-new-used-cpo\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_StockNumberSearchComponent_2)), i1.ɵdid(7, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_StockNumberSearchComponent_3)), i1.ɵdid(9, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_StockNumberSearchComponent_4)), i1.ɵdid(11, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_3 = _v.context.item.isNew; _ck(_v, 7, 0, currVal_3); var currVal_4 = (!_v.context.item.isNew && !_v.context.item.isCPO); _ck(_v, 9, 0, currVal_4); var currVal_5 = _v.context.item.isCPO; _ck(_v, 11, 0, currVal_5); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent, 0), _v.context.item.stockNo, _v.context.query)); _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.item.yearID; var currVal_2 = _v.context.item.fullTrimName; _ck(_v, 4, 0, currVal_1, currVal_2); }); }\nfunction View_StockNumberSearchComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [[\"class\", \"custom-search-input stock-number-search\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 13, \"div\", [], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onReset() !== false);\n ad = (pd_1 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 540672, null, 0, i3.FormGroupDirective, [[8, null], [8, null]], { form: [0, \"form\"] }, null), i1.ɵprd(2048, null, i3.ControlContainer, null, [i3.FormGroupDirective]), i1.ɵdid(4, 16384, null, 0, i3.NgControlStatusGroup, [[4, i3.ControlContainer]], null, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-core-search-icon-000000\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(6, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(7, 16777216, null, null, 7, \"input\", [[\"class\", \"input-sm search-query form-control\"], [\"formControlName\", \"inventoryStockMinView\"], [\"typeaheadOptionField\", \"stockNo\"]], [[8, \"placeholder\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"typeaheadOnSelect\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"keyup\"], [null, \"click\"], [null, \"focus\"], [null, \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 8)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 8)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 8)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"input\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 13).onInput($event) !== false);\n ad = (pd_4 && ad);\n } if ((\"keyup\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 13).onChange($event) !== false);\n ad = (pd_5 && ad);\n } if ((\"click\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 13).onFocus() !== false);\n ad = (pd_6 && ad);\n } if ((\"focus\" === en)) {\n var pd_7 = (i1.ɵnov(_v, 13).onFocus() !== false);\n ad = (pd_7 && ad);\n } if ((\"blur\" === en)) {\n var pd_8 = (i1.ɵnov(_v, 13).onBlur() !== false);\n ad = (pd_8 && ad);\n } if ((\"keydown\" === en)) {\n var pd_9 = (i1.ɵnov(_v, 13).onKeydown($event) !== false);\n ad = (pd_9 && ad);\n } if ((\"typeaheadOnSelect\" === en)) {\n var pd_10 = (_co.onSelect($event) !== false);\n ad = (pd_10 && ad);\n } return ad; }, null, null)), i1.ɵdid(8, 16384, null, 0, i3.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i3.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.DefaultValueAccessor]), i1.ɵdid(10, 671744, null, 0, i3.FormControlName, [[3, i3.ControlContainer], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR], [2, i3.ɵangular_packages_forms_forms_q]], { name: [0, \"name\"] }, null), i1.ɵprd(2048, null, i3.NgControl, null, [i3.FormControlName]), i1.ɵdid(12, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), i1.ɵdid(13, 212992, null, 0, i7.TypeaheadDirective, [i8.ComponentLoaderFactory, i7.TypeaheadConfig, i1.ChangeDetectorRef, i1.ElementRef, i3.NgControl, i1.Renderer2, i1.ViewContainerRef], { typeahead: [0, \"typeahead\"], typeaheadMinLength: [1, \"typeaheadMinLength\"], typeaheadOptionsLimit: [2, \"typeaheadOptionsLimit\"], typeaheadOptionField: [3, \"typeaheadOptionField\"], typeaheadItemTemplate: [4, \"typeaheadItemTemplate\"] }, { typeaheadOnSelect: \"typeaheadOnSelect\" }), i1.ɵpid(131072, i9.TranslatePipe, [i9.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.myForm; _ck(_v, 2, 0, currVal_7); _ck(_v, 6, 0); var currVal_16 = \"inventoryStockMinView\"; _ck(_v, 10, 0, currVal_16); var currVal_17 = _co.inventoryStockMinViews; var currVal_18 = 2; var currVal_19 = 10; var currVal_20 = \"stockNo\"; var currVal_21 = i1.ɵnov(_v.parent, 1); _ck(_v, 13, 0, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 4).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 4).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 4).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 4).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 4).ngClassValid; var currVal_5 = i1.ɵnov(_v, 4).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 4).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 7, 0, i1.ɵnov(_v, 14).transform(\"stockNo\")), \"\"); var currVal_9 = i1.ɵnov(_v, 12).ngClassUntouched; var currVal_10 = i1.ɵnov(_v, 12).ngClassTouched; var currVal_11 = i1.ɵnov(_v, 12).ngClassPristine; var currVal_12 = i1.ɵnov(_v, 12).ngClassDirty; var currVal_13 = i1.ɵnov(_v, 12).ngClassValid; var currVal_14 = i1.ɵnov(_v, 12).ngClassInvalid; var currVal_15 = i1.ɵnov(_v, 12).ngClassPending; _ck(_v, 7, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15); }); }\nfunction View_StockNumberSearchComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i10.AdaptivePositionPipe, [i6.DomSanitizer]), (_l()(), i1.ɵand(0, [[\"stockNumberSearchTemplate\", 2]], null, 0, null, View_StockNumberSearchComponent_1)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_StockNumberSearchComponent_5)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isSltUser; _ck(_v, 3, 0, currVal_0); }, null); }\nexports.View_StockNumberSearchComponent_0 = View_StockNumberSearchComponent_0;\nfunction View_StockNumberSearchComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"stock-number-search\", [], null, null, null, View_StockNumberSearchComponent_0, RenderType_StockNumberSearchComponent)), i1.ɵdid(1, 114688, null, 0, i11.StockNumberSearchComponent, [i12.UserService, i13.StockNumberSearchService, i14.StateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_StockNumberSearchComponent_Host_0 = View_StockNumberSearchComponent_Host_0;\nvar StockNumberSearchComponentNgFactory = i1.ɵccf(\"stock-number-search\", i11.StockNumberSearchComponent, View_StockNumberSearchComponent_Host_0, {}, {}, []);\nexports.StockNumberSearchComponentNgFactory = StockNumberSearchComponentNgFactory;\n","\r\n
\r\n
\r\n
{{model.yearID}}, {{model.fullTrimName}}
\r\n
\r\n
New
\r\n
Used
\r\n
CPO
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar CarfaxComponent = /** @class */ (function () {\n function CarfaxComponent() {\n this.showCarFaxLink = false;\n }\n CarfaxComponent.prototype.ngOnInit = function () {\n };\n CarfaxComponent.prototype.ngOnChanges = function () {\n if (!this.permissions || !this.dealerSettings || !this.vin) {\n return;\n }\n this.showCarFaxLink = this.permissions.vehicleHistoryReports && this.dealerSettings.enableCarFax;\n };\n return CarfaxComponent;\n}());\nexports.CarfaxComponent = CarfaxComponent;\n","import { Component, OnInit, Input, OnChanges } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\n\r\n@Component({\r\n selector: 'carfax',\r\n templateUrl: './carfax.component-ng.html',\r\n styleUrls: ['./carfax.component.scss']\r\n})\r\nexport class CarfaxComponent implements OnInit, OnChanges {\r\n\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() dealerSettings: any;\r\n @Input() opportunityId: string;\r\n @Input() vin: string;\r\n @Input() readonly: boolean;\r\n public showCarFaxLink = false;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges() {\r\n if (!this.permissions || !this.dealerSettings || !this.vin) {\r\n return;\r\n }\r\n\r\n this.showCarFaxLink = this.permissions.vehicleHistoryReports && this.dealerSettings.enableCarFax;\r\n }\r\n\r\n}\r\n","var path = '/app/components/reports/report-subscriptions-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar $export = require('./_export');\nvar $at = require('./_string-at')(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos) {\n return $at(this, pos);\n }\n});\n","// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split) {\n 'use strict';\n var isRegExp = require('./_is-regexp');\n var _split = $split;\n var $push = [].push;\n var $SPLIT = 'split';\n var LENGTH = 'length';\n var LAST_INDEX = 'lastIndex';\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group\n // based on es5-shim implementation, need to rework it\n $split = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return _split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var separator2, match, lastIndex, lastLength, i;\n // Doesn't need flags gy, but they don't hurt\n if (!NPCG) separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);\n while (match = separatorCopy.exec(string)) {\n // `separatorCopy.lastIndex` is not reliable cross-browser\n lastIndex = match.index + match[0][LENGTH];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG\n // eslint-disable-next-line no-loop-func\n if (!NPCG && match[LENGTH] > 1) match[0].replace(separator2, function () {\n for (i = 1; i < arguments[LENGTH] - 2; i++) if (arguments[i] === undefined) match[i] = undefined;\n });\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n $split = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);\n };\n }\n // 21.1.3.17 String.prototype.split(separator, limit)\n return [function split(separator, limit) {\n var O = defined(this);\n var fn = separator == undefined ? undefined : separator[SPLIT];\n return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);\n }, $split];\n});\n","module.exports = \"/* imports are now in styles/kendo-global-overrides.scss */\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9yZXBvcnRzL3JlcG9ydHMuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDJEQUEyRCIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvcmVwb3J0cy9yZXBvcnRzLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi8qIGltcG9ydHMgYXJlIG5vdyBpbiBzdHlsZXMva2VuZG8tZ2xvYmFsLW92ZXJyaWRlcy5zY3NzICovXHJcbiJdfQ== */\"","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var path = '/app/components/deal-sheet/contract/personalized-offer.component.html';\nvar html = \"
0\\\"> ({{ programDetail.additionalInfo }})
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar common_1 = require(\"@angular/common\");\nexports.WINDOW_REF = new core_1.InjectionToken('WindowRefToken');\nfunction browserWindowFactory(platformId) {\n if (common_1.isPlatformBrowser(platformId)) {\n return window;\n }\n return {};\n}\nexports.browserWindowFactory = browserWindowFactory;\nexports.windowRefProvider = {\n provide: exports.WINDOW_REF,\n useFactory: browserWindowFactory,\n deps: [core_1.PLATFORM_ID]\n};\n// This wrapper is needed because Angular compile fails when trying to use the Window class as a type\n// Window is an interface and Angular doesn't like trying to inject that (only affects prod mode compile)\nvar WindowWrapper = /** @class */ (function (_super) {\n __extends(WindowWrapper, _super);\n function WindowWrapper() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return WindowWrapper;\n}(Window));\nexports.WindowWrapper = WindowWrapper;\n","import { InjectionToken, FactoryProvider, PLATFORM_ID, Injectable } from '@angular/core';\r\nimport { isPlatformBrowser } from '@angular/common';\r\n\r\nexport const WINDOW_REF = new InjectionToken('WindowRefToken');\r\n\r\nexport function browserWindowFactory(platformId: Object) {\r\n if (isPlatformBrowser(platformId)) {\r\n return window;\r\n }\r\n\r\n return {};\r\n}\r\n\r\nexport const windowRefProvider: FactoryProvider = {\r\n provide: WINDOW_REF,\r\n useFactory: browserWindowFactory,\r\n deps: [PLATFORM_ID]\r\n};\r\n\r\n// This wrapper is needed because Angular compile fails when trying to use the Window class as a type\r\n// Window is an interface and Angular doesn't like trying to inject that (only affects prod mode compile)\r\n@Injectable()\r\nexport class WindowWrapper extends Window {\r\n\r\n}\r\n","import angular from 'angular';\r\n\r\nvar name = 'AaApp.Config';\r\nexport default name;\r\n\r\nimport { APP_SETTINGS_JSON } from '../environments/app-settings';\r\n\r\n// These variables are generated by webpack\r\n/* eslint-disable no-undef */\r\nvar settings = APP_SETTINGS_JSON;\r\n// settings.environmentVariables.version = __VERSION__;\r\n/* eslint-enable no-undef */\r\n\r\nexport const appSettings = settings;\r\n\r\nvar configModule = angular.module(name, [])\r\n\r\nfor (var key in settings) {\r\n var value = settings[key];\r\n configModule.constant(key, value);\r\n}\r\n","var $export = require('./_export');\nvar $parseFloat = require('./_parse-float');\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });\n","module.exports = \"body {\\n /* prevent ie11 scrollbar from covering up content */\\n -ms-overflow-style: scrollbar;\\n}\\n\\nsearch-form .cg-busy-widget-container .cg-busy-default-sign {\\n border-radius: 10px;\\n top: 40%;\\n}\\n\\nsearch-form .cg-busy-backdrop {\\n left: -10px;\\n right: -10px;\\n height: 100%;\\n}\\n\\nsearch-form .search-form {\\n /* remove extra arrow in IE11 */\\n min-width: 1350px;\\n background-color: #FFF !important;\\n /*background-color: #ffffff;*/\\n margin: 0;\\n padding: 10px 0 10px 0;\\n font-size: 14px;\\n /* MultiSelects are still clickable even when disabled in IE11. This is to fix that issue. */\\n}\\n\\nsearch-form .search-form select::-ms-expand {\\n display: none;\\n}\\n\\nsearch-form .search-form .row {\\n height: 35px;\\n}\\n\\nsearch-form .search-form .row .dealerCol {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n}\\n\\nsearch-form .search-form .row .dealerCol .dealerLabel {\\n padding-right: 10px;\\n margin-top: 4px;\\n}\\n\\nsearch-form .search-form .row .dealerCol .dealerSelect .form-control {\\n width: 235px;\\n}\\n\\nsearch-form .search-form .dealerRow {\\n padding-left: 15px;\\n}\\n\\nsearch-form .search-form .fa-sm {\\n display: inline-block;\\n font: normal normal normal 18px/1 FontAwesome;\\n font-size: inherit;\\n text-rendering: auto;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n margin-right: 4px;\\n}\\n\\nsearch-form .search-form a.o2o-offer {\\n cursor: pointer;\\n}\\n\\nsearch-form .search-form .nounderline {\\n text-decoration: none;\\n}\\n\\nsearch-form .search-form .noRecordsAvailable {\\n font-size: small;\\n}\\n\\nsearch-form .search-form .k-grid-norecords {\\n margin-top: 20px;\\n}\\n\\nsearch-form .search-form #grid th.k-header.align-right {\\n text-align: center;\\n}\\n\\nsearch-form .search-form .tab-header {\\n margin-left: 15px;\\n}\\n\\nsearch-form .search-form .row {\\n padding-bottom: 10px;\\n}\\n\\nsearch-form .search-form .search-multiselect {\\n cursor: pointer;\\n display: inline-block;\\n}\\n\\nsearch-form .search-form .search-multiselect .btn {\\n border: solid 1px #ccc;\\n background-color: #fff;\\n min-width: 150px;\\n max-width: 150px;\\n text-overflow: ellipsis;\\n overflow: hidden;\\n text-align: left;\\n height: 28px;\\n}\\n\\nsearch-form .search-form .search-multiselect .btn .caret {\\n position: absolute;\\n top: 15px;\\n right: 5px;\\n}\\n\\nsearch-form .search-form .search-multiselect .option {\\n height: 24px;\\n}\\n\\nsearch-form .search-form .search-multiselect .option .checkboxInput {\\n margin-top: 2px;\\n vertical-align: middle;\\n color: #000;\\n}\\n\\nsearch-form .search-form .search-multiselect .option div {\\n margin: 0px;\\n}\\n\\nsearch-form .search-form .input-sm {\\n border: solid 1px #ccc;\\n}\\n\\nsearch-form .search-form .input-sm.textbox {\\n height: 25px;\\n font-size: 12px;\\n width: 150px;\\n}\\n\\nsearch-form .search-form .input-sm.textboxRange {\\n height: 25px;\\n font-size: 12px;\\n width: 65px;\\n margin-top: 1px;\\n}\\n\\nsearch-form .search-form .textboxRangeSeparator {\\n float: left;\\n margin: 5px 5px 0 5px;\\n}\\n\\nsearch-form .search-form .textboxRangeRightCharacter {\\n float: left;\\n margin: 2px 0 0 2px;\\n}\\n\\nsearch-form .search-form .btn {\\n font-size: 14px;\\n}\\n\\nsearch-form .search-form .btn-search {\\n font-size: 20px;\\n padding: 5px 10px;\\n}\\n\\nsearch-form .search-form .faalert, search-form .search-form .faservice, search-form .search-form .facontractend, search-form .search-form .famileage, search-form .search-form .fawarranty, search-form .search-form .faflexalert, search-form .search-form .faappointment, search-form .search-form .fainmarket, search-form .search-form .fainmarketengaged {\\n width: 22px;\\n height: 22px;\\n}\\n\\nsearch-form .search-form .sectionTitle {\\n color: #1F8BD5;\\n font-size: 18px;\\n font-weight: bold;\\n margin-bottom: 5px;\\n}\\n\\nsearch-form .search-form .form-control {\\n font-size: 14px;\\n height: 26px;\\n padding: 2px 12px;\\n cursor: pointer;\\n width: 150px;\\n}\\n\\nsearch-form .search-form icon.icon.sm {\\n font-size: 14px;\\n}\\n\\nsearch-form .search-form label {\\n color: #333 !important;\\n}\\n\\nsearch-form .search-form icon {\\n font-size: 20px;\\n}\\n\\nsearch-form .search-form .invalid {\\n border-color: red;\\n}\\n\\nsearch-form .search-form .textboxRangeSelect {\\n width: 65px;\\n margin-top: 1px;\\n}\\n\\nsearch-form .search-form .popover {\\n width: 500px;\\n}\\n\\nsearch-form .search-form .scrollable-dropdown-menu .dropdown-menu {\\n max-height: 200px;\\n overflow-y: auto;\\n}\\n\\nsearch-form .search-form .collapseWidget {\\n color: #1F8BD5;\\n}\\n\\nsearch-form .search-form .collapseWidgetContainer icon {\\n margin: 3px 0 0 0;\\n cursor: pointer;\\n}\\n\\nsearch-form .search-form .searchDisplayNameNarrow {\\n margin-top: 3px;\\n float: left;\\n width: 80px;\\n}\\n\\nsearch-form .search-form .searchDisplayNameMedium {\\n margin-top: 3px;\\n float: left;\\n width: 100px;\\n}\\n\\nsearch-form .search-form .searchDisplayNameWide {\\n margin-top: 3px;\\n float: left;\\n width: 125px;\\n}\\n\\nsearch-form .search-form .searchDisplayNameWide2 {\\n margin-top: 3px;\\n float: left;\\n width: 135px;\\n}\\n\\nsearch-form .search-form .fieldWidthSmall {\\n width: 305px;\\n}\\n\\nsearch-form .search-form .fieldHeightSmall {\\n height: 10px;\\n}\\n\\nsearch-form .search-form .fieldWidthSmall2 {\\n width: 325px;\\n}\\n\\nsearch-form .search-form .searchCheckBoxListCheckBox {\\n margin: 2px 0 0 4px;\\n}\\n\\nsearch-form .search-form .searchCheckBoxListContainer {\\n float: left;\\n margin: 2px 10px 0 0;\\n}\\n\\nsearch-form .search-form .floatl {\\n float: left;\\n}\\n\\nsearch-form .search-form .separatorLine {\\n border-top: solid 1px #CCC;\\n margin-bottom: 5px;\\n}\\n\\nsearch-form .search-form .emptyLine {\\n height: 15px;\\n}\\n\\nsearch-form .search-form .pointer {\\n cursor: pointer;\\n}\\n\\nsearch-form .search-form .datePickerFrom {\\n float: left;\\n margin: 5px 5px 0 0;\\n}\\n\\nsearch-form .search-form .datePickerTo {\\n float: left;\\n margin: 5px 5px 0 10px;\\n}\\n\\nsearch-form .search-form .searchDateInput {\\n height: 26px !important;\\n}\\n\\nsearch-form .search-form .disablePointerEvent {\\n pointer-events: none;\\n}\\n\\nsearch-form .search-form .showBlocksOnly {\\n margin-top: -10px;\\n}\\n\\nsearch-form .searchButtonContainer {\\n float: left;\\n margin: 10px 0 10px 0;\\n}\\n\\nsearch-form .clearAllLinkContainer {\\n float: left;\\n margin: 15px 0 0 20px;\\n}\\n\\nsearch-form .centerButtonsContainer {\\n margin: 10px 0;\\n}\\n\\nsearch-form .rightButtonsContainer {\\n margin: 10px 0 0 0;\\n}\\n\\nsearch-form .content-body {\\n padding-left: 0 !important;\\n padding-right: 0 !important;\\n}\\n\\nsearch-form .moreButton {\\n min-width: 160px;\\n margin-left: -70px;\\n cursor: pointer;\\n}\\n\\nsearch-form .btn-one2one {\\n height: 34px !important;\\n width: 120px !important;\\n background-image: url('/images/one-to-one-btn-bg.png') !important;\\n background-color: #337ab7 !important;\\n background-size: 80% 60% !important;\\n background-repeat: no-repeat !important;\\n background-position: center center !important;\\n}\\n\\nsearch-form .btn-epsilon {\\n height: 34px !important;\\n width: 221px !important;\\n background-image: url('/images/Epsilon_IndAuto_White_2023.png') !important;\\n background-repeat: no-repeat !important;\\n background-position: center center !important;\\n background-size: contain !important;\\n}\\n\\nsearch-form .dropdown-menu {\\n font-size: 14px;\\n height: auto !important;\\n max-height: 300px !important;\\n}\\n\\nsearch-form .ifrmSearchResultsContainer {\\n padding-left: 0;\\n padding-right: 0;\\n}\\n\\nsearch-form .ifrmSearchResults {\\n width: 100%;\\n height: 850px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1mb3JtLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3NlYXJjaC9zZWFyY2gtZm9ybS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNJLHFEQUFBO0VBQ0EsOEJBQUE7Q0NESDs7QURLRztFQUNJLG9CQUFBO0VBQ0EsU0FBQTtDQ0ZQOztBREtHO0VBQ0ksWUFBQTtFQUNBLGFBQUE7RUFDQSxhQUFBO0NDSFA7O0FETUc7RUFDSSxnQ0FBQTtFQUtBLGtCQUFBO0VBQ0Esa0NBQUE7RUFDQSw4QkFBQTtFQUNBLFVBQUE7RUFDQSx1QkFBQTtFQUNBLGdCQUFBO0VBZ1JBLDhGQUFBO0NDdlJQOztBREZPO0VBQ0ksY0FBQTtDQ0lYOztBRE1PO0VBQ0ksYUFBQTtDQ0pYOztBRE1XO0VBQ0kscUJBQUE7RUFBQSxxQkFBQTtFQUFBLGNBQUE7Q0NKZjs7QURNZTtFQUNJ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2l6ZTogMTRweDtcclxuXHJcbiAgICAgICAgLnJvdyB7XHJcbiAgICAgICAgICAgIGhlaWdodDogMzVweDtcclxuXHJcbiAgICAgICAgICAgIC5kZWFsZXJDb2wge1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogZmxleDtcclxuXHJcbiAgICAgICAgICAgICAgICAuZGVhbGVyTGFiZWwge1xyXG4gICAgICAgICAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDEwcHg7XHJcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogNHB4O1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIC5kZWFsZXJTZWxlY3Qge1xyXG5cclxuICAgICAgICAgICAgICAgICAgICAuZm9ybS1jb250cm9sIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDIzNXB4O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmRlYWxlclJvdyB7XHJcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMTVweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5mYS1zbSB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgICAgICAgICAgZm9udDogbm9ybWFsIG5vcm1hbCBub3JtYWwgMThweC8xIEZvbnRBd2Vzb21lO1xyXG4gICAgICAgICAgICBmb250LXNpemU6IGluaGVyaXQ7XHJcbiAgICAgICAgICAgIHRleHQtcmVuZGVyaW5nOiBhdXRvO1xyXG4gICAgICAgICAgICAtd2Via2l0LWZvbnQtc21vb3RoaW5nOiBhbnRpYWxpYXNlZDtcclxuICAgICAgICAgICAgLW1vei1vc3gtZm9udC1zbW9vdGhpbmc6IGdyYXlzY2FsZTtcclxuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiA0cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBhLm8yby1vZmZlciB7XHJcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5ub3VuZGVybGluZSB7XHJcbiAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5ub1JlY29yZHNBdmFpbGFibGUge1xyXG4gICAgICAgICAgICBmb250LXNpemU6IHNtYWxsO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmstZ3JpZC1ub3JlY29yZHMge1xyXG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAyMHB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgI2dyaWQgdGguay1oZWFkZXIuYWxpZ24tcmlnaHQge1xyXG4gICAgICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAudGFiLWhlYWRlciB7XHJcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxNXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnJvdyB7XHJcbiAgICAgICAgICAgIHBhZGRpbmctYm90dG9tOiAxMHB4O1xyXG4gICAgICAgIH1cclxuXHJcblxyXG5cclxuICAgICAgICAuc2VhcmNoLW11bHRpc2VsZWN0IHtcclxuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcblxyXG4gICAgICAgICAgICAuYnRuIHtcclxuICAgICAgICAgICAgICAgIGJvcmRlcjogc29saWQgMXB4ICNjY2M7XHJcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmO1xyXG4gICAgICAgICAgICAgICAgbWluLXdpZHRoOiAxNTBweDtcclxuICAgICAgICAgICAgICAgIG1heC13aWR0aDogMTUwcHg7XHJcbiAgICAgICAgICAgICAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcclxuICAgICAgICAgICAgICAgIG92ZXJmbG93OiBoaWRkZW47XHJcbiAgICAgICAgICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0O1xyXG4gICAgICAgICAgICAgICAgaGVpZ2h0OiAyOHB4O1xyXG5cclxuICAgICAgICAgICAgICAgIC5jYXJldCB7XHJcbiAgICAgICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgICAgICAgICAgICAgIHRvcDogMTVweDtcclxuICAgICAgICAgICAgICAgICAgICByaWdodDogNXB4O1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAub3B0aW9uIHtcclxuICAgICAgICAgICAgICAgIGhlaWdodDogMjRweDtcclxuXHJcbiAgICAgICAgICAgICAgICAuY2hlY2tib3hJbnB1dCB7XHJcbiAgICAgICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogMnB4O1xyXG4gICAgICAgICAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XHJcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6ICMwMDA7XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgZGl2IHtcclxuICAgICAgICAgICAgICAgICAgICBtYXJnaW46IDBweDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmlucHV0LXNtIHtcclxuICAgICAgICAgICAgYm9yZGVyOiBzb2xpZCAxcHggI2NjYztcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5pbnB1dC1zbS50ZXh0Ym94IHtcclxuICAgICAgICAgICAgaGVpZ2h0OiAyNXB4O1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDEycHg7XHJcbiAgICAgICAgICAgIHdpZHRoOiAxNTBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5pbnB1dC1zbS50ZXh0Ym94UmFuZ2Uge1xyXG4gICAgICAgICAgICBoZWlnaHQ6IDI1cHg7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTJweDtcclxuICAgICAgICAgICAgd2lkdGg6IDY1cHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi10b3A6IDFweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC50ZXh0Ym94UmFuZ2VTZXBhcmF0b3Ige1xyXG4gICAgICAgICAgICBmbG9hdDogbGVmdDtcclxuICAgICAgICAgICAgbWFyZ2luOiA1cHggNXB4IDAgNXB4XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAudGV4dGJveFJhbmdlUmlnaHRDaGFyYWN0ZXIge1xyXG4gICAgICAgICAgICBmbG9hdDogbGVmdDtcclxuICAgICAgICAgICAgbWFyZ2luOiAycHggMCAwIDJweFxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmJ0biB7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5idG4tc2VhcmNoIHtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAyMHB4O1xyXG4gICAgICAgICAgICBwYWRkaW5nOiA1cHggMTBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5mYWFsZXJ0LCAuZmFzZXJ2aWNlLCAuZmFjb250cmFjdGVuZCwgLmZhbWlsZWFnZSwgLmZhd2FycmFudHksIC5mYWZsZXhhbGVydCwgLmZhYXBwb2ludG1lbnQsIC5mYWlubWFya2V0LCAuZmFpbm1hcmtldGVuZ2FnZWQge1xyXG4gICAgICAgICAgICB3aWR0aDogMjJweDtcclxuICAgICAgICAgICAgaGVpZ2h0OiAyMnB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlY3Rpb25UaXRsZSB7XHJcbiAgICAgICAgICAgIGNvbG9yOiAjMUY4QkQ1O1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDE4cHg7XHJcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiA1cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuZm9ybS1jb250cm9sIHtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgICAgICAgICBoZWlnaHQ6IDI2cHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDJweCAxMnB4O1xyXG4gICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgICAgIHdpZHRoOiAxNTBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGljb24uaWNvbi5zbSB7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGxhYmVsIHtcclxuICAgICAgICAgICAgY29sb3I6ICMzMzMgIWltcG9ydGFudDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGljb24ge1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDIwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuaW52YWxpZCB7XHJcbiAgICAgICAgICAgIGJvcmRlci1jb2xvcjogcmVkO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnRleHRib3hSYW5nZVNlbGVjdCB7XHJcbiAgICAgICAgICAgIHdpZHRoOiA2NXB4O1xyXG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAxcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAucG9wb3ZlciB7XHJcbiAgICAgICAgICAgIHdpZHRoOiA1MDBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5zY3JvbGxhYmxlLWRyb3Bkb3duLW1lbnUgLmRyb3Bkb3duLW1lbnUge1xyXG4gICAgICAgICAgICBtYXgtaGVpZ2h0OiAyMDBweDtcclxuICAgICAgICAgICAgb3ZlcmZsb3cteTogYXV0bztcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5jb2xsYXBzZVdpZGdldCB7XHJcbiAgICAgICAgICAgIGNvbG9yOiAjMUY4QkQ1O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmNvbGxhcHNlV2lkZ2V0Q29udGFpbmVyIGljb24ge1xyXG4gICAgICAgICAgICBtYXJnaW46IDNweCAwIDAgMDtcclxuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlYXJjaERpc3BsYXlOYW1lTmFycm93IHtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogM3B4O1xyXG4gICAgICAgICAgICBmbG9hdDogbGVmdDtcclxuICAgICAgICAgICAgd2lkdGg6IDgwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VhcmNoRGlzcGxheU5hbWVNZWRpdW0ge1xyXG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAzcHg7XHJcbiAgICAgICAgICAgIGZsb2F0OiBsZWZ0O1xyXG4gICAgICAgICAgICB3aWR0aDogMTAwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VhcmNoRGlzcGxheU5hbWVXaWRlIHtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogM3B4O1xyXG4gICAgICAgICAgICBmbG9hdDogbGVmdDtcclxuICAgICAgICAgICAgd2lkdGg6IDEyNXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlYXJjaERpc3BsYXlOYW1lV2lkZTIge1xyXG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAzcHg7XHJcbiAgICAgICAgICAgIGZsb2F0OiBsZWZ0O1xyXG4gICAgICAgICAgICB3aWR0aDogMTM1cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuZmllbGRXaWR0aFNtYWxsIHtcclxuICAgICAgICAgICAgd2lkdGg6IDMwNXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmZpZWxkSGVpZ2h0U21hbGwge1xyXG4gICAgICAgICAgICBoZWlnaHQ6IDEwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuZmllbGRXaWR0aFNtYWxsMiB7XHJcbiAgICAgICAgICAgIHdpZHRoOiAzMjVweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5zZWFyY2hDaGVja0JveExpc3RDaGVja0JveCB7XHJcbiAgICAgICAgICAgIG1hcmdpbjogMnB4IDAgMCA0cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuc2VhcmNoQ2hlY2tCb3hMaXN0Q29udGFpbmVyIHtcclxuICAgICAgICAgICAgZmxvYXQ6IGxlZnQ7XHJcbiAgICAgICAgICAgIG1hcmdpbjogMnB4IDEwcHggMCAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmZsb2F0bCB7XHJcbiAgICAgICAgICAgIGZsb2F0OiBsZWZ0O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnNlcGFyYXRvckxpbmUge1xyXG4gICAgICAgICAgICBib3JkZXItdG9wOiBzb2xpZCAxcHggI0NDQztcclxuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogNXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmVtcHR5TGluZSB7XHJcbiAgICAgICAgICAgIGhlaWdodDogMTVweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5wb2ludGVyIHtcclxuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmRhdGVQaWNrZXJGcm9tIHtcclxuICAgICAgICAgICAgZmxvYXQ6IGxlZnQ7XHJcbiAgICAgICAgICAgIG1hcmdpbjogNXB4IDVweCAwIDA7XHJcbiAgICAgICAgfV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FudDtcbiAgYmFja2dyb3VuZC1yZXBlYXQ6IG5vLXJlcGVhdCAhaW1wb3J0YW50O1xuICBiYWNrZ3JvdW5kLXBvc2l0aW9uOiBjZW50ZXIgY2VudGVyICFpbXBvcnRhbnQ7XG59XG5zZWFyY2gtZm9ybSAuYnRuLWVwc2lsb24ge1xuICBoZWlnaHQ6IDM0cHggIWltcG9ydGFudDtcbiAgd2lkdGg6IDIyMXB4ICFpbXBvcnRhbnQ7XG4gIGJhY2tncm91bmQtaW1hZ2U6IHVybChcIn4vaW1hZ2VzL0Vwc2lsb25fSW5kQXV0b19XaGl0ZV8yMDIzLnBuZ1wiKSAhaW1wb3J0YW50O1xuICBiYWNrZ3JvdW5kLXJlcGVhdDogbm8tcmVwZWF0ICFpbXBvcnRhbnQ7XG4gIGJhY2tncm91bmQtcG9zaXRpb246IGNlbnRlciBjZW50ZXIgIWltcG9ydGFudDtcbiAgYmFja2dyb3VuZC1zaXplOiBjb250YWluICFpbXBvcnRhbnQ7XG59XG5zZWFyY2gtZm9ybSAuZHJvcGRvd24tbWVudSB7XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgaGVpZ2h0OiBhdXRvICFpbXBvcnRhbnQ7XG4gIG1heC1oZWlnaHQ6IDMwMHB4ICFpbXBvcnRhbnQ7XG59XG5zZWFyY2gtZm9ybSAuaWZybVNlYXJjaFJlc3VsdHNDb250YWluZXIge1xuICBwYWRkaW5nLWxlZnQ6IDA7XG4gIHBhZGRpbmctcmlnaHQ6IDA7XG59XG5zZWFyY2gtZm9ybSAuaWZybVNlYXJjaFJlc3VsdHMge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiA4NTBweDtcbn0iXX0= */\"","// 20.2.2.18 Math.imul(x, y)\nvar $export = require('./_export');\nvar $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * require('./_fails')(function () {\n return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n imul: function imul(x, y) {\n var UINT16 = 0xffff;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = require('./_is-object');\nvar meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('preventExtensions', function ($preventExtensions) {\n return function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n };\n});\n","var path = '/app/components/deal-sheet/deal-sheet-lite.component.html';\nvar html = \"
{{ $ctrl.dealer.displayText }}
,



|
|




{{$ctrl.opportunity.replacementVehicle.daysInStock}}

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/deal-sheet-vci-eula-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar lodash_1 = require(\"lodash\");\nvar operators_1 = require(\"rxjs/operators\");\nvar services_1 = require(\"../generated/services\");\nvar http_interceptor_options_service_1 = require(\"./http/http-interceptor-options.service\");\nvar cookie_storage_service_1 = require(\"../modules/storage/cookie-storage.service\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../generated/services/user-search-condition-client.service\"));\nvar i2 = __importStar(require(\"../generated/services/pando-passthrough-client.service\"));\nvar i3 = __importStar(require(\"../modules/storage/cross-domain-storage.service\"));\nvar i4 = __importStar(require(\"./http/http-interceptor-options.service\"));\nvar SearchPresetService = /** @class */ (function () {\n function SearchPresetService(userSearchConditionClientService, pandoPassthroughClientService, crossDomainStorageService, httpInterceptorOptionsService) {\n this.userSearchConditionClientService = userSearchConditionClientService;\n this.pandoPassthroughClientService = pandoPassthroughClientService;\n this.crossDomainStorageService = crossDomainStorageService;\n this.httpInterceptorOptionsService = httpInterceptorOptionsService;\n this.defaultRowLimit = 5;\n this.maxRowLimit = 50;\n }\n SearchPresetService.prototype.getSearchPresets = function () {\n return this.userSearchConditionClientService.GetSearchesGET().toPromise();\n };\n SearchPresetService.prototype.getSearchModel = function (userSearchConditionId) {\n return this.userSearchConditionClientService.GetSearchModelByUsersearchconditionidGET(userSearchConditionId).toPromise();\n };\n SearchPresetService.prototype.getSearchPreset = function (userSearchConditionId) {\n return this.userSearchConditionClientService.ByIdGET(userSearchConditionId).toPromise();\n };\n SearchPresetService.prototype.deleteSearchPreset = function (userSearchConditionId) {\n return this.userSearchConditionClientService.DeleteUserSearchConditionByUsersearchconditionidPOST(userSearchConditionId).toPromise();\n };\n SearchPresetService.prototype.shareSearchPreset = function (userSearchConditionId) {\n return this.userSearchConditionClientService.ShareUserSearchConditionByUsersearchconditionidPOST(userSearchConditionId).toPromise();\n };\n SearchPresetService.prototype.unshareSearchPreset = function (userSearchConditionId) {\n return this.userSearchConditionClientService.UnshareUserSearchConditionByUsersearchconditionidPOST(userSearchConditionId).toPromise();\n };\n SearchPresetService.prototype.getDealerSearchPresetLayouts = function (selectedDealerId) {\n if (selectedDealerId !== null && selectedDealerId !== undefined) {\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId]);\n }\n return this.userSearchConditionClientService.GetDealerLayOutExtsGET().toPromise();\n };\n SearchPresetService.prototype.getActiveDealerSearchPresetLayouts = function (selectedDealerId) {\n if (selectedDealerId !== null && selectedDealerId !== undefined) {\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId]);\n }\n return this.userSearchConditionClientService.GetActiveDealerLayOutExtsGET().toPromise();\n };\n SearchPresetService.prototype.getDealerSearchPresetLayoutCounts = function (hardRefresh, selectedDealerId, maxRowsDisplayed) {\n return __awaiter(this, void 0, void 0, function () {\n var selectedDealers, layouts, availableSearchPresets, searchPresets, widgetData;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n maxRowsDisplayed = maxRowsDisplayed || this.defaultRowLimit;\n if (selectedDealerId == null) {\n selectedDealers = this.crossDomainStorageService.getItem('selectedDealers');\n if (selectedDealers.dealers.length > 1) {\n // The dealer dropdown is present but \"All Dealerships\" is\n // selected, don't bother getting layouts/counts because this\n // widget isn't supported anyway\n return [2 /*return*/, { presetCounts: [], maxRowsDisplayed: maxRowsDisplayed }];\n }\n }\n return [4 /*yield*/, this.getActiveDealerSearchPresetLayouts(selectedDealerId)];\n case 1:\n layouts = _a.sent();\n availableSearchPresets = this.mapGetResponse(layouts);\n if (availableSearchPresets.length == 0) {\n return [2 /*return*/, {\n searchPresets: [],\n unusedSearchPresets: [],\n presetCounts: [],\n maxRowsDisplayed: maxRowsDisplayed,\n }];\n }\n availableSearchPresets.sort(this.byOrder);\n searchPresets = hardRefresh\n ? availableSearchPresets.slice(0, this.maxRowLimit)\n : availableSearchPresets.slice(0, maxRowsDisplayed);\n return [4 /*yield*/, this.getSearchPresetCounts(searchPresets, hardRefresh)];\n case 2:\n widgetData = _a.sent();\n return [2 /*return*/, __assign({}, widgetData, { unusedSearchPresets: lodash_1.difference(availableSearchPresets, searchPresets).sort(this.byOrder), maxRowsDisplayed: maxRowsDisplayed })];\n }\n });\n });\n };\n SearchPresetService.prototype.mapGetResponse = function (layouts) {\n if (Array.isArray(layouts)) {\n return layouts;\n }\n return [];\n };\n SearchPresetService.prototype.getSearchPresetCounts = function (searchPresets, hardRefresh) {\n if (hardRefresh === void 0) { hardRefresh = false; }\n var observable = this.userSearchConditionClientService.GetSearchCountsPOST({ hardRefresh: hardRefresh, layouts: searchPresets.sort(this.byOrder) });\n return observable\n .pipe(operators_1.map(function (response) {\n return { searchPresets: searchPresets, presetCounts: response };\n })).toPromise();\n };\n SearchPresetService.prototype.byOrder = function (searchPreset1, searchPreset2) {\n return searchPreset1.order - searchPreset2.order;\n };\n SearchPresetService.prototype.updateDealerSearchPresetLayouts = function (dealerId, searchPresetLayouts) {\n return this.userSearchConditionClientService.UpdateDealerLayOutsByDealeridPOSTResponse({ dealerId: dealerId, layouts: searchPresetLayouts })\n .pipe(operators_1.map(function (response) { return resolveLayoutUpdate(response); })).toPromise();\n function resolveLayoutUpdate(response) {\n return response.status === 204;\n }\n };\n SearchPresetService.prototype.getPandoCustomStoreGroups = function (dealerId) {\n this.httpInterceptorOptionsService.disableErrorHandler();\n return this.pandoPassthroughClientService.GetPandoCustomStoreGroupsByDealeridGET(dealerId).toPromise();\n };\n SearchPresetService.prototype.updateAutoAssignments = function (assignments) {\n return this.userSearchConditionClientService.ResetAutoAssignmentsPOST(assignments).toPromise();\n };\n SearchPresetService.prototype.executePandoXSearch = function (dealerId, userSearchConditionId) {\n return this.userSearchConditionClientService.ExecutePandoXPOST({ dealerId: dealerId, userSearchConditionId: userSearchConditionId }).toPromise();\n };\n SearchPresetService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function SearchPresetService_Factory() { return new SearchPresetService(i0.ɵɵinject(i1.UserSearchConditionClientService), i0.ɵɵinject(i2.PandoPassthroughClientService), i0.ɵɵinject(i3.CrossDomainStorageService), i0.ɵɵinject(i4.HttpInterceptorOptionsService)); }, token: SearchPresetService, providedIn: \"root\" });\n return SearchPresetService;\n}());\nexports.SearchPresetService = SearchPresetService;\n","import { HttpClient, HttpResponse, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { Injectable, Inject } from '@angular/core';\r\nimport _ from 'lodash';\r\nimport { difference } from 'lodash';\r\nimport { map } from 'rxjs/operators';\r\nimport { ResetAutoAssignmentsDto, UserSearchConditionDealerLayOutExtDto, PandoGroupDto } from '../generated/models';\r\nimport { UserSearchConditionClientService, PandoPassthroughClientService } from '../generated/services';\r\nimport { HttpInterceptorOptionsService } from './http/http-interceptor-options.service';\r\nimport { CookieStorage } from '../modules/storage/cookie-storage.service';\r\nimport { CrossDomainStorageService } from '../modules/storage/cross-domain-storage.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SearchPresetService {\r\n public readonly defaultRowLimit: number = 5;\r\n public readonly maxRowLimit: number = 50;\r\n\r\n constructor(\r\n private userSearchConditionClientService: UserSearchConditionClientService,\r\n private pandoPassthroughClientService: PandoPassthroughClientService,\r\n @Inject(CrossDomainStorageService) private crossDomainStorageService: CookieStorage,\r\n private httpInterceptorOptionsService: HttpInterceptorOptionsService) { }\r\n\r\n public getSearchPresets(): Promise {\r\n return this.userSearchConditionClientService.GetSearchesGET().toPromise();\r\n }\r\n\r\n public getSearchModel(userSearchConditionId: number): Promise {\r\n return this.userSearchConditionClientService.GetSearchModelByUsersearchconditionidGET(userSearchConditionId).toPromise();\r\n }\r\n\r\n public getSearchPreset(userSearchConditionId: number): Promise {\r\n return this.userSearchConditionClientService.ByIdGET(userSearchConditionId).toPromise();\r\n }\r\n\r\n public deleteSearchPreset(userSearchConditionId: number): Promise {\r\n return this.userSearchConditionClientService.DeleteUserSearchConditionByUsersearchconditionidPOST(userSearchConditionId).toPromise();\r\n }\r\n\r\n public shareSearchPreset(userSearchConditionId: number): Promise {\r\n return this.userSearchConditionClientService.ShareUserSearchConditionByUsersearchconditionidPOST(userSearchConditionId).toPromise();\r\n }\r\n\r\n public unshareSearchPreset(userSearchConditionId: number): Promise {\r\n return this.userSearchConditionClientService.UnshareUserSearchConditionByUsersearchconditionidPOST(userSearchConditionId).toPromise();\r\n }\r\n\r\n public getDealerSearchPresetLayouts(selectedDealerId: number): Promise {\r\n if (selectedDealerId !== null && selectedDealerId !== undefined) {\r\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId]);\r\n }\r\n return this.userSearchConditionClientService.GetDealerLayOutExtsGET().toPromise();\r\n }\r\n\r\n public getActiveDealerSearchPresetLayouts(selectedDealerId: number): Promise {\r\n if (selectedDealerId !== null && selectedDealerId !== undefined) {\r\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId]);\r\n }\r\n return this.userSearchConditionClientService.GetActiveDealerLayOutExtsGET().toPromise();\r\n }\r\n\r\n public async getDealerSearchPresetLayoutCounts(hardRefresh: boolean, selectedDealerId: number, maxRowsDisplayed: number) {\r\n maxRowsDisplayed = maxRowsDisplayed || this.defaultRowLimit;\r\n if (selectedDealerId == null) {\r\n const selectedDealers = this.crossDomainStorageService.getItem('selectedDealers');\r\n if (selectedDealers.dealers.length > 1) {\r\n // The dealer dropdown is present but \"All Dealerships\" is\r\n // selected, don't bother getting layouts/counts because this\r\n // widget isn't supported anyway\r\n return { presetCounts: [], maxRowsDisplayed };\r\n }\r\n }\r\n\r\n const layouts = await this.getActiveDealerSearchPresetLayouts(selectedDealerId);\r\n\r\n const availableSearchPresets = this.mapGetResponse(layouts as UserSearchConditionDealerLayOutExtDto[]);\r\n\r\n if (availableSearchPresets.length == 0) {\r\n return {\r\n searchPresets: [],\r\n unusedSearchPresets: [],\r\n presetCounts: [],\r\n maxRowsDisplayed,\r\n };\r\n }\r\n\r\n availableSearchPresets.sort(this.byOrder);\r\n\r\n // When doing a hardRefresh, we want to refresh all counts, even if they're not going to be displayed.\r\n const searchPresets = hardRefresh\r\n ? availableSearchPresets.slice(0, this.maxRowLimit)\r\n : availableSearchPresets.slice(0, maxRowsDisplayed);\r\n\r\n const widgetData = await this.getSearchPresetCounts(searchPresets, hardRefresh);\r\n\r\n return {\r\n ...widgetData,\r\n unusedSearchPresets: difference(availableSearchPresets, searchPresets).sort(this.byOrder),\r\n maxRowsDisplayed,\r\n };\r\n\r\n }\r\n\r\n private mapGetResponse(layouts: UserSearchConditionDealerLayOutExtDto[]) {\r\n if (Array.isArray(layouts)) {\r\n return layouts;\r\n }\r\n return [] as UserSearchConditionDealerLayOutExtDto[];\r\n }\r\n\r\n public getSearchPresetCounts(searchPresets: Array, hardRefresh: boolean = false): Promise {\r\n const observable = this.userSearchConditionClientService.GetSearchCountsPOST({ hardRefresh: hardRefresh, layouts: searchPresets.sort(this.byOrder) });\r\n return observable\r\n .pipe(\r\n map(response => {\r\n return { searchPresets: searchPresets, presetCounts: response };\r\n })\r\n ).toPromise();\r\n }\r\n\r\n private byOrder(searchPreset1: UserSearchConditionDealerLayOutExtDto, searchPreset2: UserSearchConditionDealerLayOutExtDto) {\r\n return searchPreset1.order - searchPreset2.order;\r\n }\r\n\r\n public updateDealerSearchPresetLayouts(dealerId: number, searchPresetLayouts: Array): Promise {\r\n return this.userSearchConditionClientService.UpdateDealerLayOutsByDealeridPOSTResponse({ dealerId: dealerId, layouts: searchPresetLayouts })\r\n .pipe(\r\n map(response => resolveLayoutUpdate(response))\r\n ).toPromise();\r\n\r\n function resolveLayoutUpdate(response: HttpResponse) {\r\n return response.status === 204;\r\n }\r\n }\r\n\r\n public getPandoCustomStoreGroups(dealerId: number): Promise {\r\n this.httpInterceptorOptionsService.disableErrorHandler();\r\n return this.pandoPassthroughClientService.GetPandoCustomStoreGroupsByDealeridGET(dealerId).toPromise();\r\n }\r\n\r\n public updateAutoAssignments(assignments: ResetAutoAssignmentsDto): Promise {\r\n return this.userSearchConditionClientService.ResetAutoAssignmentsPOST(assignments).toPromise();\r\n }\r\n\r\n public executePandoXSearch(dealerId: number, userSearchConditionId: number): Promise {\r\n return this.userSearchConditionClientService.ExecutePandoXPOST({dealerId, userSearchConditionId} as UserSearchConditionClientService.ExecutePandoXPOSTParams).toPromise();\r\n }\r\n}\r\n","module.exports = __webpack_public_path__ + \"icon-arrow-right-charcoal.751f110d8fa9688ae8f3.svg\";","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar VehicleImageComponent = /** @class */ (function () {\n function VehicleImageComponent() {\n this.vehicleImageNotAvailableUrl = require('../../../../images/vehicle-image-not-available.png');\n }\n // on error of image src load default fallback image\n VehicleImageComponent.prototype.updateUrl = function () {\n this.url = this.vehicleImageNotAvailableUrl;\n };\n return VehicleImageComponent;\n}());\nexports.VehicleImageComponent = VehicleImageComponent;\n","import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'vehicle-image',\r\n templateUrl: './vehicle-image.component-ng.html',\r\n styleUrls: ['./vehicle-image.component.scss']\r\n})\r\nexport class VehicleImageComponent {\r\n @Input() url: string;\r\n private vehicleImageNotAvailableUrl = require('../../../../images/vehicle-image-not-available.png');\r\n\r\n // on error of image src load default fallback image\r\n updateUrl() {\r\n this.url = this.vehicleImageNotAvailableUrl;\r\n }\r\n\r\n}","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ActivityResults = {\n phoneCall: {\n scheduledAppointment: 1,\n requestedCallBack: 2,\n requestedDoNotCall: 3,\n leftMessage: 4,\n noAnswer: 5,\n notInterested: 6,\n soldVehicle: 7,\n spokeToCustomer: 19,\n badPhoneNumber: 26,\n interested: 27,\n noLongerOwns: 28,\n miscellaneous: 32,\n vehiclePaidOff: 33\n },\n appointment: {\n customerDidNotShow: 8,\n showedClosed: 9,\n showedOpen: 10,\n soldVehicle: 11,\n vehiclePaidOff: 33\n },\n note: {\n scheduledAppointment: 20,\n spokeToCustomer: 21,\n upgradeProposal: 22,\n soldVehicle: 23,\n notInterested: 24,\n miscellaneous: 25,\n oneToOnePrintedOffer: 29,\n testDriveDone: 30,\n noLongerOwns: 31,\n vehiclePaidOff: 33\n }\n};\n","export const ActivityResults = {\r\n phoneCall: {\r\n scheduledAppointment: 1,\r\n requestedCallBack: 2,\r\n requestedDoNotCall: 3,\r\n leftMessage: 4,\r\n noAnswer: 5,\r\n notInterested: 6,\r\n soldVehicle: 7,\r\n spokeToCustomer: 19,\r\n badPhoneNumber: 26,\r\n interested: 27,\r\n noLongerOwns:28,\r\n miscellaneous: 32,\r\n vehiclePaidOff: 33\r\n\r\n },\r\n appointment: {\r\n customerDidNotShow: 8,\r\n showedClosed: 9,\r\n showedOpen: 10,\r\n soldVehicle: 11,\r\n vehiclePaidOff: 33\r\n },\r\n note: {\r\n scheduledAppointment: 20,\r\n spokeToCustomer: 21,\r\n upgradeProposal: 22,\r\n soldVehicle: 23,\r\n notInterested: 24,\r\n miscellaneous: 25,\r\n oneToOnePrintedOffer: 29,\r\n testDriveDone: 30,\r\n noLongerOwns: 31,\r\n vehiclePaidOff: 33\r\n\r\n }\r\n}\r\n","module.exports = \".edit-wish-list-modal {\\n /* trim-select {\\n max-width: 800px;\\n }*/\\n /*.toleranceRow {\\n margin-left: 20px;\\n margin-top: -5px;\\n margin-bottom: 10px;\\n }\\n\\n .toleranceField {\\n display: inline-block;\\n margin-left: 20px;\\n }*/\\n}\\n.edit-wish-list-modal .form-control {\\n font-size: 14px;\\n /*display: inline;\\n width: auto;*/\\n}\\n.edit-wish-list-modal .checkbox {\\n padding: 0;\\n min-height: auto;\\n}\\n.edit-wish-list-modal .checkbox label {\\n min-height: auto;\\n}\\n.edit-wish-list-modal .dropdown-menu {\\n font-size: 14px;\\n}\\n.edit-wish-list-modal span {\\n font-size: 14px;\\n}\\n.edit-wish-list-modal .error {\\n color: red;\\n padding-left: 6px;\\n}\\n.edit-wish-list-modal .formRow {\\n padding-bottom: 10px;\\n}\\n.edit-wish-list-modal .search-multiselect {\\n cursor: pointer;\\n display: inline-block;\\n}\\n.edit-wish-list-modal .search-multiselect .btn {\\n border: solid 1px #ccc;\\n background-color: #fff;\\n min-width: 400px;\\n max-width: 400px;\\n text-overflow: ellipsis;\\n overflow: hidden;\\n text-align: left;\\n height: 28px;\\n}\\n.edit-wish-list-modal .search-multiselect .btn .caret {\\n position: absolute;\\n top: 15px;\\n right: 5px;\\n}\\n.edit-wish-list-modal .search-multiselect .dropdown-toggle {\\n font-size: 14px;\\n}\\n.edit-wish-list-modal .search-multiselect .option {\\n height: 24px;\\n}\\n.edit-wish-list-modal .search-multiselect .option .checkboxInput {\\n margin-top: 2px;\\n vertical-align: middle;\\n color: #000;\\n}\\n.edit-wish-list-modal .search-multiselect .option div {\\n margin: 0px;\\n}\\n.edit-wish-list-modal .disablePointerEvent {\\n pointer-events: none;\\n}\\n.edit-wish-list-modal .disableCursor {\\n cursor: not-allowed;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy93aXNoLWxpc3QvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFx3aXNoLWxpc3RcXGVkaXQtd2lzaC1saXN0LW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3dpc2gtbGlzdC9lZGl0LXdpc2gtbGlzdC1tb2RhbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQTtFQUNJOztLQUFBO0VBc0JBOzs7Ozs7Ozs7S0FBQTtDQ1ZIO0FEUkc7RUFDSSxnQkFBQTtFQUNBO2dCQUFBO0NDV1A7QURQRztFQUNJLFdBQUE7RUFDQSxpQkFBQTtDQ1NQO0FEUE87RUFDSSxpQkFBQTtDQ1NYO0FETEc7RUFDSSxnQkFBQTtDQ09QO0FETUc7RUFDSSxnQkFBQTtDQ0pQO0FET0c7RUFDSSxXQUFBO0VBQ0Esa0JBQUE7Q0NMUDtBRFFHO0VBQ0kscUJBQUE7Q0NOUDtBRFNHO0VBQ0ksZ0JBQUE7RUFDQSxzQ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cclxuICAgIC8qLnRvbGVyYW5jZVJvdyB7XHJcbiAgICAgICAgbWFyZ2luLWxlZnQ6IDIwcHg7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogLTVweDtcclxuICAgICAgICBtYXJnaW4tYm90dG9tOiAxMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC50b2xlcmFuY2VGaWVsZCB7XHJcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgIG1hcmdpbi1sZWZ0OiAyMHB4O1xyXG4gICAgfSovXHJcblxyXG4gICAgc3BhbiB7XHJcbiAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5lcnJvciB7XHJcbiAgICAgICAgY29sb3I6IHJlZDtcclxuICAgICAgICBwYWRkaW5nLWxlZnQ6IDZweDtcclxuICAgIH1cclxuXHJcbiAgICAuZm9ybVJvdyB7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDEwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLnNlYXJjaC1tdWx0aXNlbGVjdCB7XHJcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuXHJcbiAgICAgICAgLmJ0biB7XHJcbiAgICAgICAgICAgIGJvcmRlcjogc29saWQgMXB4ICNjY2M7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XHJcbiAgICAgICAgICAgIG1pbi13aWR0aDogNDAwcHg7XHJcbiAgICAgICAgICAgIG1heC13aWR0aDogNDAwcHg7XHJcbiAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICBvdmVyZmxvdzogaGlkZGVuO1xyXG4gICAgICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0O1xyXG4gICAgICAgICAgICBoZWlnaHQ6IDI4cHg7XHJcblxyXG4gICAgICAgICAgICAuY2FyZXQge1xyXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgICAgICAgICAgdG9wOiAxNXB4O1xyXG4gICAgICAgICAgICAgICAgcmlnaHQ6IDVweDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmRyb3Bkb3duLXRvZ2dsZSB7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5vcHRpb24ge1xyXG4gICAgICAgICAgICBoZWlnaHQ6IDI0cHg7XHJcblxyXG4gICAgICAgICAgICAuY2hlY2tib3hJbnB1dCB7XHJcbiAgICAgICAgICAgICAgICBtYXJnaW4tdG9wOiAycHg7XHJcbiAgICAgICAgICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICMwMDA7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGRpdiB7XHJcbiAgICAgICAgICAgICAgICBtYXJnaW46IDBweDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuZGlzYWJsZVBvaW50ZXJFdmVudCB7XHJcbiAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XHJcbiAgICB9XHJcblxyXG4gICAgLmRpc2FibGVDdXJzb3Ige1xyXG4gICAgICAgIGN1cnNvcjogbm90LWFsbG93ZWQ7XHJcbiAgICB9XHJcbn1cclxuIiwiLmVkaXQtd2lzaC1saXN0LW1vZGFsIHtcbiAgLyogICAgdHJpbS1zZWxlY3Qge1xuICAgICAgbWF4LXdpZHRoOiA4MDBweDtcbiAgfSovXG4gIC8qLnRvbGVyYW5jZVJvdyB7XG4gICAgICBtYXJnaW4tbGVmdDogMjBweDtcbiAgICAgIG1hcmdpbi10b3A6IC01cHg7XG4gICAgICBtYXJnaW4tYm90dG9tOiA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wMHB4O1xuICBtYXgtd2lkdGg6IDQwMHB4O1xuICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbiAgaGVpZ2h0OiAyOHB4O1xufVxuLmVkaXQtd2lzaC1saXN0LW1vZGFsIC5zZWFyY2gtbXVsdGlzZWxlY3QgLmJ0biAuY2FyZXQge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMTVweDtcbiAgcmlnaHQ6IDVweDtcbn1cbi5lZGl0LXdpc2gtbGlzdC1tb2RhbCAuc2VhcmNoLW11bHRpc2VsZWN0IC5kcm9wZG93bi10b2dnbGUge1xuICBmb250LXNpemU6IDE0cHg7XG59XG4uZWRpdC13aXNoLWxpc3QtbW9kYWwgLnNlYXJjaC1tdWx0aXNlbGVjdCAub3B0aW9uIHtcbiAgaGVpZ2h0OiAyNHB4O1xufVxuLmVkaXQtd2lzaC1saXN0LW1vZGFsIC5zZWFyY2gtbXVsdGlzZWxlY3QgLm9wdGlvbiAuY2hlY2tib3hJbnB1dCB7XG4gIG1hcmdpbi10b3A6IDJweDtcbiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbiAgY29sb3I6ICMwMDA7XG59XG4uZWRpdC13aXNoLWxpc3QtbW9kYWwgLnNlYXJjaC1tdWx0aXNlbGVjdCAub3B0aW9uIGRpdiB7XG4gIG1hcmdpbjogMHB4O1xufVxuLmVkaXQtd2lzaC1saXN0LW1vZGFsIC5kaXNhYmxlUG9pbnRlckV2ZW50IHtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG59XG4uZWRpdC13aXNoLWxpc3QtbW9kYWwgLmRpc2FibGVDdXJzb3Ige1xuICBjdXJzb3I6IG5vdC1hbGxvd2VkO1xufSJdfQ== */\"","module.exports = __webpack_public_path__ + \"icon-private-offer.3257377618cb398f5f90.svg\";","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar HttpInterceptorOptionsService = /** @class */ (function () {\n function HttpInterceptorOptionsService() {\n this._disableErrorHandler = false;\n this._overrideDealerIds = [];\n }\n HttpInterceptorOptionsService.prototype.disableErrorHandler = function () {\n this._disableErrorHandler = true;\n };\n Object.defineProperty(HttpInterceptorOptionsService.prototype, \"disableErrorHandlerSetting\", {\n get: function () {\n var returnValue = this._disableErrorHandler;\n this._disableErrorHandler = false;\n return returnValue;\n },\n enumerable: true,\n configurable: true\n });\n HttpInterceptorOptionsService.prototype.setOverrideDealerIds = function (overrideDealerIds) {\n this._overrideDealerIds = overrideDealerIds;\n };\n Object.defineProperty(HttpInterceptorOptionsService.prototype, \"overrideDealerIdsSetting\", {\n get: function () {\n var returnValue = this._overrideDealerIds;\n this._overrideDealerIds = [];\n return returnValue;\n },\n enumerable: true,\n configurable: true\n });\n HttpInterceptorOptionsService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function HttpInterceptorOptionsService_Factory() { return new HttpInterceptorOptionsService(); }, token: HttpInterceptorOptionsService, providedIn: \"root\" });\n return HttpInterceptorOptionsService;\n}());\nexports.HttpInterceptorOptionsService = HttpInterceptorOptionsService;\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({providedIn: 'root'})\r\nexport class HttpInterceptorOptionsService {\r\n private _disableErrorHandler = false;\r\n private _overrideDealerIds: number[] = [];\r\n \r\n public disableErrorHandler(): void {\r\n this._disableErrorHandler = true;\r\n }\r\n\r\n public get disableErrorHandlerSetting(): boolean {\r\n const returnValue = this._disableErrorHandler;\r\n this._disableErrorHandler = false;\r\n return returnValue;\r\n }\r\n\r\n public setOverrideDealerIds(overrideDealerIds: number[]): void {\r\n this._overrideDealerIds = overrideDealerIds;\r\n }\r\n\r\n public get overrideDealerIdsSetting(): number[] {\r\n const returnValue = this._overrideDealerIds;\r\n this._overrideDealerIds = [];\r\n return returnValue;\r\n }\r\n}\r\n","var path = '/app/components/deal-sheet/modals/eula-modal.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i2 = __importStar(require(\"../../icon/icon.component\"));\nvar i3 = __importStar(require(\"@angular/platform-browser\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"./pando-unread-messages.component\"));\nvar styles_PandoUnreadMessagesComponent = [];\nvar RenderType_PandoUnreadMessagesComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_PandoUnreadMessagesComponent, data: {} });\nexports.RenderType_PandoUnreadMessagesComponent = RenderType_PandoUnreadMessagesComponent;\nfunction View_PandoUnreadMessagesComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"badge badge-overlay\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.unreadMessageCount; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_PandoUnreadMessagesComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"a\", [[\"target\", \"_blank\"]], [[8, \"href\", 4]], null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"icon\", [[\"class\", \"-white -hover-pandoblue\"], [\"icon\", \"'pando'\"]], null, null, null, i1.View_IconComponent_0, i1.RenderType_IconComponent)), i0.ɵdid(2, 638976, null, 0, i2.IconComponent, [i3.DomSanitizer], { icon: [0, \"icon\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_PandoUnreadMessagesComponent_1)), i0.ɵdid(4, 16384, null, 0, i4.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"'pando'\"; _ck(_v, 2, 0, currVal_1); var currVal_2 = (_co.unreadMessageCount > 0); _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.communicationUrl; _ck(_v, 0, 0, currVal_0); }); }\nexports.View_PandoUnreadMessagesComponent_0 = View_PandoUnreadMessagesComponent_0;\nfunction View_PandoUnreadMessagesComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"pando-unread-messages\", [], null, null, null, View_PandoUnreadMessagesComponent_0, RenderType_PandoUnreadMessagesComponent)), i0.ɵdid(1, 49152, null, 0, i5.PandoUnreadMessagesComponent, [], null, null)], null, null); }\nexports.View_PandoUnreadMessagesComponent_Host_0 = View_PandoUnreadMessagesComponent_Host_0;\nvar PandoUnreadMessagesComponentNgFactory = i0.ɵccf(\"pando-unread-messages\", i5.PandoUnreadMessagesComponent, View_PandoUnreadMessagesComponent_Host_0, { isAutoAlertUser: \"isAutoAlertUser\", unreadMessageCount: \"unreadMessageCount\", communicationUrl: \"communicationUrl\" }, {}, []);\nexports.PandoUnreadMessagesComponentNgFactory = PandoUnreadMessagesComponentNgFactory;\n","\r\n\r\n \r\n 0\" class=\"badge badge-overlay\">{{unreadMessageCount}}\r\n\r\n\r\n","var path = '/app/components/data-entry/data-entry-rates-over-allowance.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar customer_workflow_service_1 = require(\"../../../services/customer-workflow.service\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\n//import { PandoForm } from '../../../interfaces/pando-form.interface';\nvar pando_form_control_interface_1 = require(\"../../../interfaces/pando-form-control.interface\");\nvar moment = require(\"moment\");\nvar locale_date_time_pipe_1 = require(\"../../../filters/locale-date-time.pipe\");\nvar DealSheetProcessComponent = /** @class */ (function () {\n function DealSheetProcessComponent(_bsModalRef, customerWorkflowService, tService, localeDatetimePipe) {\n this._bsModalRef = _bsModalRef;\n this.customerWorkflowService = customerWorkflowService;\n this.tService = tService;\n this.localeDatetimePipe = localeDatetimePipe;\n this.onClosed = new core_1.EventEmitter();\n this.formReady = false;\n this.formLoaded = false;\n this.startButtonEnabled = false;\n this.showLoadFormButton = false;\n this.processSettings = {};\n this.multiListSettings = {};\n this.displayForm = false;\n this.processForm = null;\n this.formControlType = pando_form_control_interface_1.PandoFormControlType;\n this.workflowFormAnswers = null;\n this.sliderOptions = {};\n }\n Object.defineProperty(DealSheetProcessComponent.prototype, \"processesAvailable\", {\n get: function () {\n return this.workFlowTemplates.length > 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DealSheetProcessComponent.prototype, \"top5ProcessesAvailable\", {\n get: function () {\n return this.top5Recent.length > 0;\n },\n enumerable: true,\n configurable: true\n });\n DealSheetProcessComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.processSettings = {\n start: this.tService.instant('start'),\n cancel: this.tService.instant('cancel')\n };\n this.multiListSettings = {\n singleSelection: false,\n selectAllText: this.tService.instant('selectAll'),\n enableSearchFilter: false,\n badgeShowLimit: 4,\n labelKey: \"label\",\n primaryKey: \"value\"\n };\n this.customerWorkflowService.getStartListCustomer(this.entityId).then(function (result) {\n _this.workFlowTemplates = result.workflowTemplates;\n _this.top5Recent = result.top5Recent;\n if (_this.workFlowTemplates.length > 0) {\n _this.selectedWorkFlowTemplate = _this.workFlowTemplates[0];\n _this.workflowTemplateSelect();\n }\n _this.formReady = true;\n });\n };\n DealSheetProcessComponent.prototype.onTop5Clicked = function (item) {\n var selectedWorkflowTemplate = this.workFlowTemplates.find(function (t) { return t.id == item.workflowtemplateId; });\n if (selectedWorkflowTemplate != null) {\n this.selectedWorkFlowTemplate = selectedWorkflowTemplate;\n this.workflowTemplateSelect();\n }\n };\n DealSheetProcessComponent.prototype.workflowTemplateSelect = function () {\n this.formLoaded = false;\n this.startButtonEnabled = !this.selectedWorkFlowTemplate.completeFormOnStart;\n this.showLoadFormButton = this.selectedWorkFlowTemplate.completeFormOnStart;\n this.processForm = null;\n };\n DealSheetProcessComponent.prototype.loadForm = function () {\n var _this = this;\n // get form data for selected workflow template if it has a form:\n if (this.selectedWorkFlowTemplate && this.selectedWorkFlowTemplate.startableFormTemplateId) {\n this.busy = this.customerWorkflowService.GetStartFormByStartableformtemplateid(this.selectedWorkFlowTemplate.startableFormTemplateId).then(function (result) {\n _this.processForm = result;\n _this.sliderOptions = {};\n var _loop_1 = function (control) {\n if (control.controlType === pando_form_control_interface_1.PandoFormControlType.LinearScale) {\n var options = {\n floor: control.minValue,\n ceil: control.maxValue,\n getLegend: function (value) {\n switch (value) {\n case control.minValue:\n return control.minLabel === control.minValue.toString() ? \"\" : control.minLabel;\n case control.maxValue:\n return control.maxLabel === control.maxValue.toString() ? \"\" : control.maxLabel;\n default:\n return \"\";\n }\n }\n };\n // if the range of values is 15 or less show ticks:\n if ((options.ceil - options.floor) <= 15) {\n options.showTicks = true;\n }\n _this.sliderOptions[control.formControlId] = options;\n }\n };\n for (var _i = 0, _a = _this.processForm.formControls; _i < _a.length; _i++) {\n var control = _a[_i];\n _loop_1(control);\n }\n _this.showLoadFormButton = false;\n _this.startButtonEnabled = true;\n _this.formLoaded = true;\n });\n }\n };\n DealSheetProcessComponent.prototype.startWorkflow = function () {\n var _this = this;\n this.startButtonEnabled = false;\n this.busy = this.customerWorkflowService.startCustomerWorkflowByEntityidByWorkflowtemplateid(this.entityId, this.selectedWorkFlowTemplate.id, this.workflowFormAnswers).then(function (result) {\n var isSuccess = false;\n if (result != null && result.workflowInstanceId)\n isSuccess = true;\n _this.onClosed.emit({ started: isSuccess });\n _this._bsModalRef.hide();\n });\n };\n DealSheetProcessComponent.prototype.onCancel = function () {\n this.onClosed.emit({ started: null });\n this._bsModalRef.hide();\n };\n DealSheetProcessComponent.prototype.convertAnswers = function () {\n var _this = this;\n this.workflowFormAnswers = {\n formTemplateId: this.processForm.formTemplateId,\n answers: []\n };\n this.workflowFormAnswers.answers = this.processForm.formControls\n .map(function (control) {\n var valuesList = null;\n if (control.controlType === pando_form_control_interface_1.PandoFormControlType.MultiSelectList) {\n if (control.values && control.values.length > 0) {\n if (control.values.length > 0) {\n valuesList = control.values.map(function (selection) { return selection.value; });\n }\n else {\n valuesList = [];\n }\n }\n }\n if (control.controlType === pando_form_control_interface_1.PandoFormControlType.Date) {\n if (control.value) {\n var dateWithOffset = new Date(_this.localeDatetimePipe.transform(new Date(control.value)));\n control.value = moment(dateWithOffset).format();\n }\n }\n if (control.controlType === pando_form_control_interface_1.PandoFormControlType.Time) {\n if (control.value) {\n control.value = moment(control.value).format('hh:mm A');\n }\n }\n return {\n formControlId: control.formControlId,\n inputType: control.inputType,\n value: control.value === undefined || (control.otherValue && control.otherValue.length > 0) ? null : control.value,\n values: valuesList,\n otherValue: (control.otherValue === undefined || control.otherValue === null || control.otherValue.length === 0) ? null : control.otherValue\n };\n });\n //console.log(this.workflowFormAnswers);\n };\n DealSheetProcessComponent.prototype.setDate = function (date, formControlId) {\n var control = this.processForm.formControls.find(function (field) { return field.formControlId === formControlId; });\n if (control) {\n control.value = moment(date).format('MM/DD/YYYY');\n }\n };\n DealSheetProcessComponent.prototype.setRadioSelection = function (formControlId, index) {\n var control = this.processForm.formControls.find(function (field) { return field.formControlId === formControlId; });\n if (control) {\n control.value = control.selectOptions[index].value;\n }\n };\n DealSheetProcessComponent.prototype.submitForm = function (submitProcessForm) {\n if (submitProcessForm.valid) {\n this.startButtonEnabled = false;\n if (this.selectedWorkFlowTemplate.completeFormOnStart && this.processForm != null) {\n this.convertAnswers();\n }\n this.startWorkflow();\n }\n };\n return DealSheetProcessComponent;\n}());\nexports.DealSheetProcessComponent = DealSheetProcessComponent;\n","import { OnInit, Component, ElementRef, Injector, Input, Output, EventEmitter } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CustomerWorkflowService } from '../../../services/customer-workflow.service';\r\nimport { StartListCustomerDto } from \"../../../generated/models/start-list-customer-dto\";\r\nimport { WorkflowTemplateData } from \"../../../generated/models/workflow-template-data\";\r\nimport { Top5ProcessesData } from \"../../../generated/models/top-5processes-data\";\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\n//import { PandoForm } from '../../../interfaces/pando-form.interface';\r\nimport { PandoFormControlType } from '../../../interfaces/pando-form-control.interface';\r\nimport { PandoFormRequestDto } from '../../../generated/models/pando-form-request-dto';\r\nimport moment = require('moment');\r\nimport { PandoFormDto } from \"../../../generated/models/pando-form-dto\";\r\nimport { PandoFormControlDto } from \"../../../generated/models/pando-form-control-dto\";\r\nimport { PandoFormControlOptionDto } from \"../../../generated/models/pando-form-control-option-dto\";\r\nimport { Options } from 'ng5-slider';\r\nimport { LocaleDateTimePipe } from '../../../filters/locale-date-time.pipe';\r\n\r\n@Component({\r\n selector: 'deal-sheet-process',\r\n templateUrl: './deal-sheet-process.component-ng.html',\r\n styleUrls: [\"./deal-sheet-process.component.scss\"]\r\n})\r\nexport class DealSheetProcessComponent {\r\n constructor(public _bsModalRef: BsModalRef,\r\n public customerWorkflowService: CustomerWorkflowService,\r\n public tService: TranslateService,\r\n private localeDatetimePipe: LocaleDateTimePipe) {\r\n }\r\n\r\n @Input() entityId: string;\r\n @Output() onClosed = new EventEmitter();\r\n\r\n public formReady: boolean = false;\r\n public formLoaded: boolean = false;\r\n public startListCustomer: StartListCustomerDto;\r\n public selectedWorkFlowTemplate: WorkflowTemplateData;\r\n public workFlowTemplates: WorkflowTemplateData[];\r\n public top5Recent: Top5ProcessesData[];\r\n public busy: Promise;\r\n public startButtonEnabled: boolean = false;\r\n public showLoadFormButton = false;\r\n\r\n public processSettings = {};\r\n public multiListSettings = {};\r\n public displayForm: boolean = false;\r\n public processForm: PandoFormDto = null;\r\n public formControlType = PandoFormControlType;\r\n public workflowFormAnswers: PandoFormRequestDto = null;\r\n public sliderOptions: Record = {};\r\n\r\n get processesAvailable(): boolean {\r\n return this.workFlowTemplates.length > 0;\r\n }\r\n\r\n get top5ProcessesAvailable(): boolean {\r\n return this.top5Recent.length > 0;\r\n }\r\n\r\n public ngOnInit(): void {\r\n this.processSettings = {\r\n start: this.tService.instant('start'),\r\n cancel: this.tService.instant('cancel')\r\n }; \r\n\r\n this.multiListSettings = {\r\n singleSelection: false,\r\n selectAllText: this.tService.instant('selectAll'),\r\n enableSearchFilter: false,\r\n badgeShowLimit: 4,\r\n labelKey: \"label\",\r\n primaryKey: \"value\"\r\n }; \r\n\r\n this.customerWorkflowService.getStartListCustomer(this.entityId).then(result => {\r\n this.workFlowTemplates = result.workflowTemplates;\r\n this.top5Recent = result.top5Recent;\r\n\r\n if (this.workFlowTemplates.length > 0) {\r\n this.selectedWorkFlowTemplate = this.workFlowTemplates[0];\r\n this.workflowTemplateSelect();\r\n }\r\n\r\n this.formReady = true;\r\n });\r\n }\r\n\r\n public onTop5Clicked(item: Top5ProcessesData) {\r\n var selectedWorkflowTemplate = this.workFlowTemplates.find(t => t.id == item.workflowtemplateId);\r\n if (selectedWorkflowTemplate != null) {\r\n this.selectedWorkFlowTemplate = selectedWorkflowTemplate;\r\n this.workflowTemplateSelect();\r\n }\r\n }\r\n\r\n public workflowTemplateSelect(): void {\r\n this.formLoaded = false;\r\n this.startButtonEnabled = !this.selectedWorkFlowTemplate.completeFormOnStart;\r\n this.showLoadFormButton = this.selectedWorkFlowTemplate.completeFormOnStart;\r\n this.processForm = null;\r\n }\r\n\r\n public loadForm() {\r\n // get form data for selected workflow template if it has a form:\r\n if (this.selectedWorkFlowTemplate && this.selectedWorkFlowTemplate.startableFormTemplateId) {\r\n this.busy = this.customerWorkflowService.GetStartFormByStartableformtemplateid(this.selectedWorkFlowTemplate.startableFormTemplateId).then(result => {\r\n this.processForm = result;\r\n this.sliderOptions = {};\r\n\r\n for (let control of this.processForm.formControls) {\r\n if (control.controlType === PandoFormControlType.LinearScale) {\r\n let options: Options = {\r\n floor: control.minValue,\r\n ceil: control.maxValue,\r\n getLegend: (value: number): string => {\r\n switch (value) {\r\n case control.minValue:\r\n return control.minLabel === control.minValue.toString() ? \"\" : control.minLabel;\r\n case control.maxValue:\r\n return control.maxLabel === control.maxValue.toString() ? \"\" : control.maxLabel;\r\n default:\r\n return \"\";\r\n }\r\n }\r\n };\r\n\r\n // if the range of values is 15 or less show ticks:\r\n if ((options.ceil - options.floor) <= 15) {\r\n options.showTicks = true;\r\n }\r\n\r\n this.sliderOptions[control.formControlId] = options;\r\n }\r\n }\r\n\r\n this.showLoadFormButton = false;\r\n this.startButtonEnabled = true;\r\n this.formLoaded = true;\r\n\r\n });\r\n\r\n }\r\n }\r\n\r\n public startWorkflow() {\r\n this.startButtonEnabled = false;\r\n\r\n this.busy = this.customerWorkflowService.startCustomerWorkflowByEntityidByWorkflowtemplateid(this.entityId, this.selectedWorkFlowTemplate.id, this.workflowFormAnswers).then(result => {\r\n var isSuccess = false;\r\n\r\n if (result != null && result.workflowInstanceId)\r\n isSuccess = true;\r\n\r\n this.onClosed.emit({ started: isSuccess });\r\n this._bsModalRef.hide();\r\n });\r\n }\r\n\r\n public onCancel(): void {\r\n this.onClosed.emit({ started: null });\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public convertAnswers() {\r\n\r\n this.workflowFormAnswers = {\r\n formTemplateId: this.processForm.formTemplateId,\r\n answers: []\r\n }\r\n this.workflowFormAnswers.answers = this.processForm.formControls\r\n .map((control: PandoFormControlDto) => {\r\n\r\n let valuesList: string[] = null;\r\n if (control.controlType === PandoFormControlType.MultiSelectList) {\r\n if (control.values && control.values.length > 0) {\r\n if (control.values.length > 0) {\r\n valuesList = control.values.map((selection: PandoFormControlOptionDto) => selection.value);\r\n }\r\n else {\r\n valuesList = [];\r\n }\r\n }\r\n }\r\n\r\n if (control.controlType === PandoFormControlType.Date) {\r\n if (control.value) {\r\n const dateWithOffset = new Date(this.localeDatetimePipe.transform(new Date(control.value)));\r\n control.value = moment(dateWithOffset).format();\r\n }\r\n }\r\n\r\n if (control.controlType === PandoFormControlType.Time) {\r\n if (control.value) {\r\n control.value = moment(control.value).format('hh:mm A');\r\n }\r\n }\r\n\r\n return {\r\n formControlId: control.formControlId,\r\n inputType: control.inputType,\r\n value: control.value === undefined || (control.otherValue && control.otherValue.length > 0) ? null : control.value,\r\n values: valuesList,\r\n otherValue: (control.otherValue === undefined || control.otherValue === null || control.otherValue.length === 0) ? null : control.otherValue\r\n };\r\n });\r\n\r\n //console.log(this.workflowFormAnswers);\r\n }\r\n\r\n public setDate(date: Date, formControlId: string) {\r\n let control = this.processForm.formControls.find((field: PandoFormControlDto) => field.formControlId === formControlId);\r\n if (control) {\r\n control.value = moment(date).format('MM/DD/YYYY');\r\n }\r\n }\r\n\r\n public setRadioSelection(formControlId: string, index: number) {\r\n let control = this.processForm.formControls.find((field: PandoFormControlDto) => field.formControlId === formControlId);\r\n if (control) {\r\n control.value = control.selectOptions[index].value;\r\n }\r\n }\r\n\r\n public submitForm(submitProcessForm: NgForm): void {\r\n if (submitProcessForm.valid) {\r\n this.startButtonEnabled = false;\r\n\r\n if (this.selectedWorkFlowTemplate.completeFormOnStart && this.processForm != null) {\r\n this.convertAnswers();\r\n }\r\n\r\n this.startWorkflow();\r\n }\r\n }\r\n}","// 20.2.2.7 Math.atanh(x)\nvar $export = require('./_export');\nvar $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0\n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar forms_1 = require(\"@angular/forms\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../../../core/toaster-logger.service\");\nvar MileageEditModalComponent = /** @class */ (function () {\n function MileageEditModalComponent(_bsModalRef, tService, logger) {\n this._bsModalRef = _bsModalRef;\n this.tService = tService;\n this.logger = logger;\n this.onSaveChanges = new core_1.EventEmitter();\n }\n MileageEditModalComponent.prototype.ngOnInit = function () {\n this._bsModalRef.hide();\n this.dateOptions = {\n formatYear: 'yy',\n maxDate: new Date(),\n startingDay: 0,\n showWeeks: false\n };\n var date = new Date();\n this.status = { opened: false };\n this.dateOptions = {\n formatYear: 'yy',\n maxDate: new Date(),\n startingDay: 0,\n showWeeks: false\n };\n this.minDate = date;\n var dueDate = new Date();\n dueDate.setDate(date.getDate() + (5 / (24 * 60))); // add 5 min to current time\n this.dateModel = {\n valid: true\n };\n this.model = {\n date: dueDate,\n time: new Date(1, 1, 2000, dueDate.getHours(), dueDate.getMinutes()),\n mileage: ''\n };\n };\n MileageEditModalComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n MileageEditModalComponent.prototype.saveMileage = function (mileageForm) {\n if (mileageForm.valid) {\n this.onSaveChanges.emit({ mileage: this.mileage, readOnDate: this.model.date });\n this._bsModalRef.hide();\n }\n };\n MileageEditModalComponent.prototype.cancelModal = function () {\n this._bsModalRef.hide();\n };\n MileageEditModalComponent.prototype.setDate = function (date, model) {\n this.model.date = date;\n this.dateModel = model;\n };\n return MileageEditModalComponent;\n}());\nexports.MileageEditModalComponent = MileageEditModalComponent;\n","import { Component, OnInit, Output, EventEmitter, AfterViewInit, ViewChild } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../../../core/toaster-logger.service';\r\n\r\n@Component({\r\n selector: 'mileage-edit-modal',\r\n templateUrl: './mileage-edit-modal.component-ng.html',\r\n styleUrls: ['./mileage-edit-modal.component.scss']\r\n})\r\n\r\nexport class MileageEditModalComponent implements OnInit, AfterViewInit {\r\n public mileage: number;\r\n public dateOptions: any;\r\n public dateModel: any;\r\n public model: any;\r\n @ViewChild('mileageForm', { static: false }) mileageForm: NgForm;\r\n @Output() onSaveChanges = new EventEmitter();\r\n private minDate: Date;\r\n private status: any;\r\n\r\n constructor(\r\n public _bsModalRef: BsModalRef,\r\n public tService: TranslateService,\r\n private logger: ToasterLoggerService) {\r\n }\r\n\r\n public ngOnInit(): void {\r\n this._bsModalRef.hide();\r\n\r\n this.dateOptions = {\r\n formatYear: 'yy',\r\n maxDate: new Date(),\r\n startingDay: 0,\r\n showWeeks: false\r\n };\r\n\r\n let date = new Date();\r\n this.status = { opened: false };\r\n this.dateOptions = {\r\n formatYear: 'yy',\r\n maxDate: new Date(),\r\n startingDay: 0,\r\n showWeeks: false\r\n };\r\n this.minDate = date;\r\n\r\n let dueDate: Date = new Date();\r\n dueDate.setDate(date.getDate() + (5 / (24 * 60)) );// add 5 min to current time\r\n\r\n this.dateModel = {\r\n valid: true\r\n }\r\n\r\n this.model = {\r\n date: dueDate,\r\n time: new Date(1, 1, 2000, dueDate.getHours(), dueDate.getMinutes()),\r\n mileage: ''\r\n }\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public saveMileage(mileageForm: NgForm): void {\r\n if (mileageForm.valid) {\r\n this.onSaveChanges.emit({ mileage: this.mileage, readOnDate: this.model.date });\r\n this._bsModalRef.hide();\r\n }\r\n }\r\n\r\n public cancelModal(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public setDate(date, model) {\r\n this.model.date = date;\r\n this.dateModel = model;\r\n\r\n }\r\n}\r\n\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@ngx-translate/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar admin_role_service_1 = require(\"../../services/admin-role.service\");\nvar confirm_modal_component_1 = require(\"../modals/confirm-modal.component\");\nvar admin_roles_modal_addedit_component_1 = require(\"./admin-roles-modal-addedit.component\");\nvar AdminRolesComponent = /** @class */ (function () {\n function AdminRolesComponent(modalService, roleService, tService, logger) {\n this.modalService = modalService;\n this.roleService = roleService;\n this.tService = tService;\n this.logger = logger;\n this.accessRightChanged = false;\n }\n AdminRolesComponent.prototype.ngOnInit = function () {\n this.getRoleOptions();\n };\n AdminRolesComponent.prototype.getRoleOptions = function () {\n var _this = this;\n return this.roleService.GetRoleOptions().then(function (roleOptions) {\n _this.roleOptions = roleOptions;\n _this.selectedRole = roleOptions[0][0];\n _this.roleService.GetRoleAccessRightCategories().then(function (rightCategories) {\n _this.rightCategories = rightCategories;\n });\n _this.getRoleAccess(_this.selectedRole.roleID);\n });\n };\n AdminRolesComponent.prototype.onEditRole = function () {\n this.openAddEditRoleModalWithChangesCheck(false);\n };\n AdminRolesComponent.prototype.onAddRole = function () {\n this.openAddEditRoleModalWithChangesCheck(true);\n };\n AdminRolesComponent.prototype.setSelectedRole = function (roleId) {\n var flatRoles = [].concat.apply([], this.roleOptions);\n this.selectedRole = flatRoles.find(function (r) { return r.roleID == roleId; });\n };\n AdminRolesComponent.prototype.getRoleName = function (roleId) {\n var flatRoles = [].concat.apply([], this.roleOptions);\n var role = flatRoles.find(function (r) { return r.roleID == roleId; });\n if (role != null)\n return role.roleName;\n else\n return '';\n };\n AdminRolesComponent.prototype.getRoleSelectNote = function () {\n return this.tService.instant(\"adminRoles_customRoleBasedOn\").replace(\"{parentRoleName}\", \"\" + this.getRoleName(this.selectedRole.parentRoleID) + \"\");\n };\n AdminRolesComponent.prototype.openAddEditRoleModalWithChangesCheck = function (newRole) {\n var _this = this;\n if (this.accessRightChanged) {\n this.accessRightChanged = false;\n var initialState = {\n saveWarningMessage: false,\n messageKey: \"saveWarningMessage\"\n };\n this.bsModalRef = this.modalService.show(confirm_modal_component_1.ConfirmModalComponent, { initialState: initialState });\n this.bsModalRef.content.onClosed.subscribe(function (result) {\n if (!result.confirmed)\n _this.accessRightChanged = true;\n else\n _this.openAddEditRoleModal(newRole);\n });\n }\n else\n this.openAddEditRoleModal(newRole);\n };\n AdminRolesComponent.prototype.openAddEditRoleModal = function (newRole) {\n var _this = this;\n var initialState = {\n newRole: newRole,\n selectedRole: Object.assign({}, this.selectedRole),\n roleOptions: this.roleOptions.slice()\n };\n this.bsModalRef = this.modalService.show(admin_roles_modal_addedit_component_1.AdminRolesModalAddEditComponent, { initialState: initialState });\n this.bsModalRef.content.onSaveChanges.subscribe(function (result) {\n _this.roleService.RoleSave(result.selectedRole).then(function (roleId) {\n _this.previousRoleId = roleId;\n _this.getRoleOptions().then(function (roleOptions) {\n // update role option and set selected to id of option just edited\n _this.setSelectedRole(roleId);\n if (result.selectedRole.startWithParentRole && result.selectedRole.parentRoleID != null)\n roleId = result.selectedRole.parentRoleID;\n _this.getRoleAccess(roleId).then(function (result) {\n _this.saveModuleAndRightSettings().then(function (result) {\n if (result)\n _this.logger.success(_this.tService.instant(\"changesSaved\"));\n else\n _this.logger.error(_this.tService.instant(\"generalErrorMessageKey\"));\n });\n });\n });\n });\n });\n };\n AdminRolesComponent.prototype.onRoleChanged = function () {\n var _this = this;\n if (this.accessRightChanged) {\n this.accessRightChanged = false;\n var initialState = {\n saveWarningMessage: false,\n messageKey: \"saveWarningMessage\"\n };\n this.bsModalRef = this.modalService.show(confirm_modal_component_1.ConfirmModalComponent, { initialState: initialState });\n this.bsModalRef.content.onClosed.subscribe(function (result) {\n if (!result.confirmed) {\n _this.accessRightChanged = true;\n _this.setSelectedRole(_this.previousRoleId);\n }\n else\n _this.getRoleAccess(_this.selectedRole.roleID);\n });\n }\n else {\n this.getRoleAccess(this.selectedRole.roleID);\n this.previousRoleId = this.selectedRole.roleID;\n }\n };\n AdminRolesComponent.prototype.getRoleAccess = function (roleId) {\n var _this = this;\n var promise1 = this.roleService.GetRoleModuleCategories(roleId).then(function (result) {\n _this.moduleCategories = result;\n });\n var promise2 = this.roleService.GetRoleAccessRights(roleId).then(function (result) {\n _this.rightSettings = result;\n });\n var promise3 = this.roleService.GetRoleModuleAccess(roleId).then(function (result) {\n _this.moduleSettings = result;\n });\n return Promise.all([promise1, promise2, promise3]);\n };\n AdminRolesComponent.prototype.cancelChanges = function () {\n this.getRoleAccess(this.selectedRole.roleID);\n this.logger.warning(this.tService.instant(\"settingsReturnedToDefault\"));\n };\n AdminRolesComponent.prototype.saveChanges = function () {\n var _this = this;\n this.saveModuleAndRightSettings().then(function (result) {\n if (result)\n _this.logger.success(_this.tService.instant(\"changesSaved\"));\n else\n _this.logger.error(_this.tService.instant(\"generalErrorMessageKey\"));\n });\n };\n AdminRolesComponent.prototype.saveModuleAndRightSettings = function () {\n var csvRight = [];\n var csvModule = [];\n this.rightSettings.forEach(function (item) {\n if (item.allow)\n csvRight.push(item.accessOptionId);\n });\n // we also need to save the moduleCategories, but not accessRightsCategories\n this.moduleCategories.forEach(function (item) {\n if (item.allow)\n csvModule.push(item.accessOptionId);\n });\n this.moduleSettings.forEach(function (item) {\n if (item.allow)\n csvModule.push(item.accessOptionId);\n });\n return this.roleService.RoleAccessUpdate(this.selectedRole.roleID, csvModule, csvRight);\n };\n return AdminRolesComponent;\n}());\nexports.AdminRolesComponent = AdminRolesComponent;\n","import { Component } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { RoleAccessOptionDto, RoleOptionDto } from '../../generated/models';\r\nimport { AdminRoleService } from '../../services/admin-role.service';\r\nimport { ConfirmModalComponent } from '../modals/confirm-modal.component';\r\nimport { AdminRolesModalAddEditComponent } from './admin-roles-modal-addedit.component';\r\n\r\n@Component({\r\n selector: 'admin-roles',\r\n templateUrl: './admin-roles.component-ng.html'\r\n})\r\n\r\nexport class AdminRolesComponent {\r\n public moduleCategories: any;\r\n public rightCategories: any;\r\n public moduleSettings: any;\r\n public rightSettings: any;\r\n public roleOptions: any;\r\n public roleOptionsForSelect: any;\r\n public selectedRole: any;\r\n private previousRoleId: number;\r\n\r\n public accessRightChanged = false;\r\n\r\n bsModalRef: BsModalRef;\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public roleService: AdminRoleService,\r\n public tService: TranslateService,\r\n public logger: ToasterLoggerService) {\r\n }\r\n\r\n public ngOnInit(): void {\r\n this.getRoleOptions();\r\n }\r\n\r\n private getRoleOptions(): any {\r\n return this.roleService.GetRoleOptions().then(roleOptions => {\r\n this.roleOptions = roleOptions;\r\n\r\n this.selectedRole = roleOptions[0][0];\r\n\r\n this.roleService.GetRoleAccessRightCategories().then(rightCategories => {\r\n this.rightCategories = rightCategories;\r\n });\r\n\r\n this.getRoleAccess(this.selectedRole.roleID);\r\n });\r\n }\r\n\r\n public onEditRole(): void {\r\n this.openAddEditRoleModalWithChangesCheck(false);\r\n }\r\n\r\n public onAddRole(): void {\r\n this.openAddEditRoleModalWithChangesCheck(true);\r\n }\r\n\r\n private setSelectedRole(roleId: number): void {\r\n var flatRoles = [].concat.apply([], this.roleOptions);\r\n this.selectedRole = flatRoles.find((r: RoleOptionDto) => r.roleID == roleId);\r\n }\r\n\r\n private getRoleName(roleId: number): any {\r\n var flatRoles = [].concat.apply([], this.roleOptions);\r\n var role = flatRoles.find((r: RoleOptionDto) => r.roleID == roleId);\r\n if (role != null)\r\n return role.roleName;\r\n else\r\n return '';\r\n }\r\n\r\n public getRoleSelectNote(): any {\r\n return this.tService.instant(\"adminRoles_customRoleBasedOn\").replace(\"{parentRoleName}\", \"\" + this.getRoleName(this.selectedRole.parentRoleID) + \"\");\r\n }\r\n\r\n private openAddEditRoleModalWithChangesCheck(newRole: boolean): void {\r\n if (this.accessRightChanged) {\r\n this.accessRightChanged = false;\r\n\r\n const initialState = {\r\n saveWarningMessage: false,\r\n messageKey: \"saveWarningMessage\"\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(ConfirmModalComponent, { initialState });\r\n\r\n this.bsModalRef.content.onClosed.subscribe((result: any) => {\r\n if (!result.confirmed)\r\n this.accessRightChanged = true;\r\n else\r\n this.openAddEditRoleModal(newRole);\r\n });\r\n }\r\n else\r\n this.openAddEditRoleModal(newRole);\r\n }\r\n\r\n private openAddEditRoleModal(newRole: boolean): void {\r\n const initialState = {\r\n newRole: newRole,\r\n selectedRole: Object.assign({}, this.selectedRole), // we need to clone the role here\r\n roleOptions: this.roleOptions.slice()\r\n };\r\n this.bsModalRef = this.modalService.show(AdminRolesModalAddEditComponent, { initialState });\r\n\r\n this.bsModalRef.content.onSaveChanges.subscribe((result: any) => {\r\n this.roleService.RoleSave(result.selectedRole).then(roleId => {\r\n this.previousRoleId = roleId;\r\n this.getRoleOptions().then((roleOptions: RoleOptionDto[]) => {\r\n // update role option and set selected to id of option just edited\r\n this.setSelectedRole(roleId);\r\n\r\n if (result.selectedRole.startWithParentRole && result.selectedRole.parentRoleID != null) \r\n roleId = result.selectedRole.parentRoleID;\r\n\r\n this.getRoleAccess(roleId).then(result => {\r\n this.saveModuleAndRightSettings().then(result => { // save the initial role module and access right permissions\r\n if (result)\r\n this.logger.success(this.tService.instant(\"changesSaved\"));\r\n else\r\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\r\n });\r\n });\r\n });\r\n });\r\n });\r\n }\r\n\r\n public onRoleChanged(): void {\r\n if (this.accessRightChanged) {\r\n this.accessRightChanged = false;\r\n\r\n const initialState = {\r\n saveWarningMessage: false,\r\n messageKey: \"saveWarningMessage\"\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(ConfirmModalComponent, { initialState });\r\n\r\n this.bsModalRef.content.onClosed.subscribe((result: any) => {\r\n if (!result.confirmed) {\r\n this.accessRightChanged = true;\r\n this.setSelectedRole(this.previousRoleId);\r\n }\r\n else\r\n this.getRoleAccess(this.selectedRole.roleID);\r\n });\r\n }\r\n else {\r\n this.getRoleAccess(this.selectedRole.roleID);\r\n this.previousRoleId = this.selectedRole.roleID;\r\n }\r\n }\r\n\r\n private getRoleAccess(roleId: number): any {\r\n var promise1 = this.roleService.GetRoleModuleCategories(roleId).then(result => {\r\n this.moduleCategories = result;\r\n });\r\n\r\n var promise2 = this.roleService.GetRoleAccessRights(roleId).then(result => {\r\n this.rightSettings = result;\r\n });\r\n\r\n var promise3 = this.roleService.GetRoleModuleAccess(roleId).then(result => {\r\n this.moduleSettings = result;\r\n });\r\n\r\n return Promise.all([promise1, promise2, promise3]);\r\n }\r\n\r\n public cancelChanges() {\r\n this.getRoleAccess(this.selectedRole.roleID);\r\n this.logger.warning(this.tService.instant(\"settingsReturnedToDefault\"));\r\n }\r\n\r\n public saveChanges() {\r\n this.saveModuleAndRightSettings().then(result => {\r\n if (result)\r\n this.logger.success(this.tService.instant(\"changesSaved\"));\r\n else\r\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\r\n });\r\n }\r\n\r\n private saveModuleAndRightSettings() {\r\n var csvRight: number[] = [];\r\n var csvModule: number[] = [];\r\n\r\n this.rightSettings.forEach(function (item: RoleAccessOptionDto) {\r\n if (item.allow)\r\n csvRight.push(item.accessOptionId);\r\n });\r\n\r\n // we also need to save the moduleCategories, but not accessRightsCategories\r\n this.moduleCategories.forEach(function (item: any) {\r\n if (item.allow)\r\n csvModule.push(item.accessOptionId);\r\n });\r\n\r\n this.moduleSettings.forEach(function (item: any) {\r\n if (item.allow)\r\n csvModule.push(item.accessOptionId);\r\n });\r\n\r\n return this.roleService.RoleAccessUpdate(this.selectedRole.roleID, csvModule, csvRight);\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar common_1 = require(\"@angular/common\");\nvar LocaleCurrencyPipe = /** @class */ (function () {\n function LocaleCurrencyPipe(storageService) {\n this.storageService = storageService;\n }\n LocaleCurrencyPipe.prototype.transform = function (amount, showFractionDigits, showSymbol) {\n if (showFractionDigits === void 0) { showFractionDigits = false; }\n if (showSymbol === void 0) { showSymbol = true; }\n var precision = showFractionDigits ? 2 : 0;\n amount = this.roundWithPrecision(amount, precision);\n var savedCultureName = this.storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n var decimalPipe = new common_1.DecimalPipe(cultureName);\n var amountIsNegative = (amount < 0);\n var nbsp = \"\\u00A0\";\n var absoluteAmount = Math.abs(amount);\n var formattedAmount;\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n formattedAmount = '£' + decimalPipe.transform(absoluteAmount, \"0.\" + precision + \"-\" + precision);\n break;\n case 'en-ca':\n formattedAmount = (showSymbol ? '$' : '') + decimalPipe.transform(absoluteAmount, \"0.\" + precision + \"-\" + precision);\n break;\n case 'fr-ca':\n formattedAmount = decimalPipe.transform(absoluteAmount, \"0.\" + precision + \"-\" + precision) + (showSymbol ? nbsp + '$' : '');\n break;\n case 'fr-fr':\n formattedAmount = decimalPipe.transform(absoluteAmount, \"0.\" + precision + \"-\" + precision) + (showSymbol ? nbsp + '€' : '');\n break;\n case 'en-us':\n default:\n formattedAmount = '$' + decimalPipe.transform(absoluteAmount, \"0.\" + precision + \"-\" + precision);\n break;\n }\n if (amountIsNegative) {\n switch (cultureName.toLowerCase()) {\n case 'fr-fr':\n formattedAmount = \"-\" + nbsp + formattedAmount;\n break;\n case 'en-gb':\n case 'en-ca':\n case 'fr-ca':\n default:\n formattedAmount = \"(\" + formattedAmount + \")\";\n break;\n }\n }\n return formattedAmount;\n };\n LocaleCurrencyPipe.prototype.roundWithPrecision = function (x, precision) {\n if (precision === 0) {\n return Math.round(x);\n }\n var factor = Math.pow(10, precision);\n return Math.round(x * factor) / factor;\n };\n return LocaleCurrencyPipe;\n}());\nexports.LocaleCurrencyPipe = LocaleCurrencyPipe;\n","import { PipeTransform, Pipe } from '@angular/core';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\nimport { DecimalPipe } from '@angular/common';\r\n\r\n@Pipe({ name: 'localeCurrency' })\r\nexport class LocaleCurrencyPipe implements PipeTransform {\r\n\r\n constructor(private storageService: StorageService) { }\r\n\r\n transform(amount: number, showFractionDigits: boolean = false, showSymbol: boolean = true) {\r\n const precision = showFractionDigits ? 2 : 0;\r\n amount = this.roundWithPrecision(amount, precision);\r\n\r\n const savedCultureName = this.storageService.getItem('cultureName');\r\n const cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n const decimalPipe = new DecimalPipe(cultureName);\r\n const amountIsNegative = (amount < 0);\r\n const nbsp = '\\u{A0}';\r\n\r\n const absoluteAmount = Math.abs(amount);\r\n\r\n let formattedAmount: string;\r\n\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n formattedAmount = '£' + decimalPipe.transform(absoluteAmount, `0.${precision}-${precision}`);\r\n break;\r\n case 'en-ca':\r\n formattedAmount = (showSymbol ? '$' : '') + decimalPipe.transform(absoluteAmount, `0.${precision}-${precision}`);\r\n break;\r\n case 'fr-ca':\r\n formattedAmount = decimalPipe.transform(absoluteAmount,\r\n `0.${precision}-${precision}`) + (showSymbol ? nbsp + '$' : '');\r\n break;\r\n case 'fr-fr':\r\n formattedAmount = decimalPipe.transform(absoluteAmount,\r\n `0.${precision}-${precision}`) + (showSymbol ? nbsp + '€' : '');\r\n break;\r\n case 'en-us':\r\n default:\r\n formattedAmount = '$' + decimalPipe.transform(absoluteAmount, `0.${precision}-${precision}`);\r\n break;\r\n }\r\n\r\n if (amountIsNegative) {\r\n switch (cultureName.toLowerCase()) {\r\n case 'fr-fr':\r\n formattedAmount = `-${nbsp}${formattedAmount}`;\r\n break;\r\n case 'en-gb':\r\n case 'en-ca':\r\n case 'fr-ca':\r\n default:\r\n formattedAmount = `(${formattedAmount})`;\r\n break;\r\n }\r\n }\r\n\r\n return formattedAmount;\r\n }\r\n\r\n private roundWithPrecision(x: number, precision: number) {\r\n if (precision === 0) {\r\n return Math.round(x);\r\n }\r\n\r\n const factor = Math.pow(10, precision);\r\n return Math.round(x * factor) / factor;\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mobile-customer-email.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"../customer-info/customer-info.component.scss.shim.ngstyle\"));\nvar i2 = __importStar(require(\"@angular/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"@ngx-translate/core\"));\nvar i5 = __importStar(require(\"./mobile-customer-email.component\"));\nvar styles_MobileCustomerEmailComponent = [i0.styles, i1.styles];\nvar RenderType_MobileCustomerEmailComponent = i2.ɵcrt({ encapsulation: 0, styles: styles_MobileCustomerEmailComponent, data: {} });\nexports.RenderType_MobileCustomerEmailComponent = RenderType_MobileCustomerEmailComponent;\nfunction View_MobileCustomerEmailComponent_2(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.email == null) ? null : _co.email.value); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MobileCustomerEmailComponent_3(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"strike-out\"]], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.email == null) ? null : _co.email.value); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MobileCustomerEmailComponent_4(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"strike-out\"], [\"style\", \"color:red\"]], null, null, null, null, null)), (_l()(), i2.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.email == null) ? null : _co.email.value); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MobileCustomerEmailComponent_1(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_MobileCustomerEmailComponent_2)), i2.ɵdid(2, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_MobileCustomerEmailComponent_3)), i2.ɵdid(4, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_MobileCustomerEmailComponent_4)), i2.ɵdid(6, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (!((_co.email == null) ? null : _co.email.isBad) && !_co.doNotEmail); _ck(_v, 2, 0, currVal_0); var currVal_1 = (((_co.email == null) ? null : _co.email.isBad) && !_co.doNotEmail); _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.doNotEmail; _ck(_v, 6, 0, currVal_2); }, null); }\nfunction View_MobileCustomerEmailComponent_0(_l) { return i2.ɵvid(2, [(_l()(), i2.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"row contact-info\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-xs-2\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(2, 0, null, null, 0, \"span\", [[\"class\", \"icon-class icon -size-24 email-icon\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(3, 0, null, null, 5, \"div\", [[\"class\", \"col-xs-10\"]], null, null, null, null, null)), (_l()(), i2.ɵand(16777216, null, null, 1, null, View_MobileCustomerEmailComponent_1)), i2.ɵdid(5, 16384, null, 0, i3.NgIf, [i2.ViewContainerRef, i2.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i2.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i2.ɵeld(7, 0, null, null, 1, \"span\", [], null, null, null, null, null)), i2.ɵdid(8, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i2.ElementRef, i2.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.email == null) ? null : _co.email.value); _ck(_v, 5, 0, currVal_0); var currVal_1 = i2.ɵinlineInterpolate(1, \"\", _co.type, \"\"); _ck(_v, 8, 0, currVal_1); }, null); }\nexports.View_MobileCustomerEmailComponent_0 = View_MobileCustomerEmailComponent_0;\nfunction View_MobileCustomerEmailComponent_Host_0(_l) { return i2.ɵvid(0, [(_l()(), i2.ɵeld(0, 0, null, null, 1, \"mobile-customer-email\", [], null, null, null, View_MobileCustomerEmailComponent_0, RenderType_MobileCustomerEmailComponent)), i2.ɵdid(1, 114688, null, 0, i5.MobileCustomerEmailComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MobileCustomerEmailComponent_Host_0 = View_MobileCustomerEmailComponent_Host_0;\nvar MobileCustomerEmailComponentNgFactory = i2.ɵccf(\"mobile-customer-email\", i5.MobileCustomerEmailComponent, View_MobileCustomerEmailComponent_Host_0, { doNotEmail: \"doNotEmail\", email: \"email\", type: \"type\" }, {}, []);\nexports.MobileCustomerEmailComponentNgFactory = MobileCustomerEmailComponentNgFactory;\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{email?.value}}\r\n {{email?.value}}\r\n {{email?.value}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
","var path = '/app/components/modals/google-maps-modal.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar authorization_service_1 = require(\"../../../../services/authorization.service\");\nvar MoreVehicleOffersComponent = /** @class */ (function () {\n function MoreVehicleOffersComponent(authorizationService) {\n this.authorizationService = authorizationService;\n // define eventOUT signature\n this.select = new core_1.EventEmitter();\n this.vehicleImageNotAvailableUrl = require('../../../../images/vehicle-image-not-available.png');\n this.selectedVehicle = { selectedVehicleType: 'standardVehicle', alternateVehicleIndex: 0 };\n }\n MoreVehicleOffersComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.selectedVehicleObject = this.standardVehicle;\n this.authorizationService.getDealSheetPermissions()\n .then(function (dealSheetPermissions) {\n _this.hasPaymentsPermission = dealSheetPermissions.payments;\n });\n if (this.replacementContract) {\n this.overrideShowPayment = true;\n this.standardVehicle.existingPayment = 0;\n this.standardVehicle.payment = this.replacementContract.paymentDifference;\n }\n else {\n this.overrideShowPayment = false;\n }\n };\n MoreVehicleOffersComponent.prototype.clickHandler = function (chosenVehicleType, alternateVehicleIndex, vehicle) {\n if (this.isOffBrand) {\n this.selectedVehicle = { selectedVehicleType: 'offBrandVehicle', alternateVehicleIndex: alternateVehicleIndex };\n }\n else {\n this.selectedVehicle = { selectedVehicleType: chosenVehicleType, alternateVehicleIndex: alternateVehicleIndex };\n }\n this.select.emit(this.selectedVehicle);\n this.selectedVehicleObject = vehicle;\n };\n // on error of image src load default fallback image\n MoreVehicleOffersComponent.prototype.updateUrl = function (event, vehicle) {\n vehicle.imagePath = this.vehicleImageNotAvailableUrl;\n };\n MoreVehicleOffersComponent.prototype.getSelectedAttribute = function (vehicleType, index) {\n if (index === void 0) { index = 0; }\n if (this.selectedVehicle &&\n this.selectedVehicle.selectedVehicleType === vehicleType) {\n var selectedIndex = this.selectedVehicle.alternateVehicleIndex;\n if (selectedIndex !== undefined && selectedIndex !== null) {\n return (this.selectedVehicle.alternateVehicleIndex === index);\n }\n return true;\n }\n return false;\n };\n MoreVehicleOffersComponent.prototype.getContainerClass = function () {\n return 'row mvos-more-container1';\n };\n return MoreVehicleOffersComponent;\n}());\nexports.MoreVehicleOffersComponent = MoreVehicleOffersComponent;\n","import { Component, EventEmitter, Input, Output, OnInit, Inject } from '@angular/core';\r\nimport { ReplacementVehicle } from '../../../../interfaces/replacement-vehicle.interface';\r\nimport { AuthorizationService } from '../../../../services/authorization.service';\r\n\r\n@Component({\r\n selector: 'aa-more-vehicle-offers',\r\n templateUrl: './more-vehicle-offers.component-ng.html',\r\n styleUrls: ['./more-vehicle-offers.component.scss']\r\n})\r\nexport class MoreVehicleOffersComponent implements OnInit {\r\n\r\n // define input bindings\r\n @Input() upgradeVehicle: ReplacementVehicle;\r\n @Input() downgradeVehicle: ReplacementVehicle;\r\n @Input() standardVehicle: ReplacementVehicle;\r\n @Input() alternateVehicles: Array;\r\n @Input() selectedVehicle: { selectedVehicleType: string, alternateVehicleIndex: number };\r\n @Input() replacementContract: any;\r\n @Input() isOffBrand: boolean;\r\n\r\n // define eventOUT signature\r\n @Output() select = new EventEmitter<{}>();\r\n vehicleImageNotAvailableUrl = require('../../../../images/vehicle-image-not-available.png');\r\n selectedVehicleObject: ReplacementVehicle;\r\n hasPaymentsPermission: boolean;\r\n overrideShowPayment: boolean;\r\n\r\n constructor(private authorizationService: AuthorizationService) {\r\n this.selectedVehicle = { selectedVehicleType: 'standardVehicle', alternateVehicleIndex: 0 };\r\n }\r\n\r\n ngOnInit(): void {\r\n this.selectedVehicleObject = this.standardVehicle;\r\n\r\n this.authorizationService.getDealSheetPermissions()\r\n .then(dealSheetPermissions => {\r\n this.hasPaymentsPermission = dealSheetPermissions.payments;\r\n });\r\n if (this.replacementContract) {\r\n this.overrideShowPayment = true;\r\n this.standardVehicle.existingPayment = 0;\r\n this.standardVehicle.payment = this.replacementContract.paymentDifference; \r\n } else {\r\n this.overrideShowPayment = false; \r\n }\r\n }\r\n\r\n clickHandler(chosenVehicleType: string, alternateVehicleIndex: number, vehicle: ReplacementVehicle): void {\r\n if (this.isOffBrand) {\r\n this.selectedVehicle = { selectedVehicleType: 'offBrandVehicle', alternateVehicleIndex: alternateVehicleIndex };\r\n }\r\n else {\r\n this.selectedVehicle = { selectedVehicleType: chosenVehicleType, alternateVehicleIndex: alternateVehicleIndex };\r\n }\r\n this.select.emit(this.selectedVehicle);\r\n this.selectedVehicleObject = vehicle;\r\n }\r\n\r\n // on error of image src load default fallback image\r\n updateUrl(event, vehicle: ReplacementVehicle) {\r\n vehicle.imagePath = this.vehicleImageNotAvailableUrl;\r\n }\r\n\r\n getSelectedAttribute(vehicleType: string, index: number = 0): boolean {\r\n\r\n if (this.selectedVehicle &&\r\n this.selectedVehicle.selectedVehicleType === vehicleType) {\r\n const selectedIndex = this.selectedVehicle.alternateVehicleIndex;\r\n if (selectedIndex !== undefined && selectedIndex !== null) {\r\n return (this.selectedVehicle.alternateVehicleIndex === index);\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n getContainerClass(): string {\r\n return 'row mvos-more-container1';\r\n }\r\n}\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar ReplacementContractsComponent = /** @class */ (function (_super) {\n __extends(ReplacementContractsComponent, _super);\n function ReplacementContractsComponent(elementRef, injector) {\n return _super.call(this, 'replacementContracts', elementRef, injector) || this;\n }\n return ReplacementContractsComponent;\n}(static_1.UpgradeComponent));\nexports.ReplacementContractsComponent = ReplacementContractsComponent;\n","import { Directive, ElementRef, Injector, Input } from '@angular/core';\r\nimport { UpgradeComponent } from '@angular/upgrade/static';\r\nimport { DealSheetOpportunity } from '../../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\n\r\n@Directive({\r\n selector: 'replacement-contracts'\r\n})\r\nexport class ReplacementContractsComponent extends UpgradeComponent {\r\n @Input() countryId: number;\r\n @Input() opportunity: DealSheetOpportunity;\r\n @Input() availableContracts: boolean;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() replacementContract: any;\r\n @Input() showPullForward: boolean;\r\n @Input() showMobileView: boolean;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('replacementContracts', elementRef, injector);\r\n }\r\n}","\"use strict\";\n// import { Component, OnInit } from '@angular/core';\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// @Component({\n// selector: 'email-template-action',\n// templateUrl: './email-template-action.component.html',\n// styleUrls: ['./email-template-action.component.scss']\n// })\n// export class EmailTemplateActionComponent implements OnInit {\n// constructor() { }\n// ngOnInit() {\n// }\n// }\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar EmailTemplateActionComponent = /** @class */ (function (_super) {\n __extends(EmailTemplateActionComponent, _super);\n function EmailTemplateActionComponent(elementRef, injector) {\n var _this = _super.call(this, 'emailTemplateAction', elementRef, injector) || this;\n _this.onComplete = new core_1.EventEmitter();\n return _this;\n }\n return EmailTemplateActionComponent;\n}(static_1.UpgradeComponent));\nexports.EmailTemplateActionComponent = EmailTemplateActionComponent;\n","// import { Component, OnInit } from '@angular/core';\r\n\r\n// @Component({\r\n// selector: 'email-template-action',\r\n// templateUrl: './email-template-action.component.html',\r\n// styleUrls: ['./email-template-action.component.scss']\r\n// })\r\n// export class EmailTemplateActionComponent implements OnInit {\r\n\r\n// constructor() { }\r\n\r\n// ngOnInit() {\r\n// }\r\n\r\n// }\r\n\r\nimport { Directive, ElementRef, Injector, Input, Output, EventEmitter } from '@angular/core';\r\nimport { UpgradeComponent } from '@angular/upgrade/static';\r\nimport { DealSheetOpportunity } from '../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\n\r\n@Directive({\r\n selector: 'email-template-action'\r\n})\r\nexport class EmailTemplateActionComponent extends UpgradeComponent {\r\n @Input() opportunity: DealSheetOpportunity;\r\n @Input() permissions: DealSheetPermissions;\r\n @Output() onComplete = new EventEmitter();\r\n @Input() isEuroLite: boolean;\r\n @Input() isShortcutButton: boolean;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('emailTemplateAction', elementRef, injector);\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ContactTypes = {\n address: 1,\n homePhone: 2,\n workPhone: 3,\n cellPhone: 4,\n email: 5,\n doNotCall: 6,\n doNotEmail: 7\n};\n","export const ContactTypes = {\r\n address: 1,\r\n homePhone: 2,\r\n workPhone: 3,\r\n cellPhone: 4,\r\n email: 5,\r\n doNotCall: 6,\r\n doNotEmail: 7\r\n};\r\n","module.exports = \"Predefined Common Searches\"","module.exports = \"search-container .search-menu {\\n padding: 10px 0 0 0;\\n background: -webkit-gradient(linear, left bottom, left top, from(#172751), to(#1f8bd5));\\n background: linear-gradient(to top, #172751, #1f8bd5);\\n height: 100%;\\n}\\nsearch-container .search-menu h3 {\\n color: #fff;\\n font-size: 18px;\\n margin-top: 0;\\n padding-left: 10px;\\n}\\nsearch-container .search-menu.fixed {\\n min-width: 260px;\\n}\\nsearch-container .search-form {\\n background: #E7E7E7;\\n}\\nsearch-container ul li a.active-menu-item {\\n color: #c1c2c4 !important;\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#172751));\\n background: linear-gradient(to bottom, #172751 0%, #172751 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#00548f));\\n background: linear-gradient(#172751, #00548f);\\n border-bottom: #2d89c9 5px solid;\\n}\\nsearch-container .active-menu-row {\\n color: #c1c2c4 !important;\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#172751));\\n background: linear-gradient(to bottom, #172751 0%, #172751 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#00548f));\\n background: linear-gradient(#172751, #00548f);\\n border-bottom: transparent 5px solid;\\n}\\nsearch-container .search-menu-toggle {\\n margin: 0 5px;\\n cursor: pointer;\\n display: inline-block;\\n padding-top: 7px;\\n color: white;\\n}\\nsearch-container .search-menu-icon {\\n vertical-align: top;\\n background: -webkit-gradient(linear, left bottom, left top, from(#172751), to(#1f8bd5));\\n background: linear-gradient(to top, #172751, #1f8bd5);\\n}\\nsearch-container .search-container {\\n width: 100%;\\n}\\nsearch-container .search-container h5, search-container .search-container h6, search-container .search-container label {\\n color: white;\\n}\\nsearch-container .search-container .icon {\\n color: white;\\n position: absolute;\\n}\\nsearch-container .search-container > .row {\\n height: 100%;\\n display: table-row;\\n}\\nsearch-container .search-container > .row .no-float {\\n display: table-cell;\\n float: none;\\n}\\nsearch-container .search-container .icon {\\n position: relative !important;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1jb250YWluZXIuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvc2VhcmNoL3NlYXJjaC1jb250YWluZXIuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvc2VhcmNoL0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcc3R5bGVzXFxfYWEtdmFyaWFibGVzLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0k7RUFDSSxvQkFBQTtFQUNBLHdGQUFBO0VBQUEsc0RBQUE7RUFDQSxhQUFBO0NDRlA7QURJTztFQUNJLFlBQUE7RUFDQSxnQkFBQTtF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gsIDIzNiwgMC44KTtcclxuJFNlY3Rpb25Cb3JkZXJCb3hTaGFkb3c6IHJnYmEoODIsIDE2OCwgMjM2LCAwLjYpO1xyXG4kU2VjdGlvbkJvcmRlckludmFsaWRTaGFkb3c6IHJnYmEoMjQ1LCA0OSwgNjYsIDAuNik7XHJcbiRTZWN0aW9uQmFja2dyb3VuZDogI2ZmZjtcclxuXHJcbiRhY3RpdmVNZW51SXRlbXM6ICNjMWMyYzQ7XHJcbiRyZXBvcnRzQmFja2dyb3VuZDogI0U3RTdFNztcclxuIl19 */\"","\n/* injects from baggage-loader */\nrequire('./data-entry-replacement-popover-list.component.html');\n\n//import angular from 'angular';\r\n\r\n//angular.module('AaApp.Opp').component('popoverList', {\r\n// templateUrl: '/app/components/something.component.html'\r\n//});\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PandoFormControlType;\n(function (PandoFormControlType) {\n PandoFormControlType[PandoFormControlType[\"SectionHeader\"] = 0] = \"SectionHeader\";\n PandoFormControlType[PandoFormControlType[\"Boolean\"] = 1] = \"Boolean\";\n PandoFormControlType[PandoFormControlType[\"TextBox\"] = 2] = \"TextBox\";\n PandoFormControlType[PandoFormControlType[\"TextArea\"] = 3] = \"TextArea\";\n PandoFormControlType[PandoFormControlType[\"DropDownList\"] = 4] = \"DropDownList\";\n PandoFormControlType[PandoFormControlType[\"MultiSelectList\"] = 5] = \"MultiSelectList\";\n PandoFormControlType[PandoFormControlType[\"Date\"] = 6] = \"Date\";\n PandoFormControlType[PandoFormControlType[\"Time\"] = 7] = \"Time\";\n PandoFormControlType[PandoFormControlType[\"SingleSelectRadio\"] = 8] = \"SingleSelectRadio\";\n PandoFormControlType[PandoFormControlType[\"LinearScale\"] = 9] = \"LinearScale\";\n PandoFormControlType[PandoFormControlType[\"ShortName\"] = 10] = \"ShortName\";\n PandoFormControlType[PandoFormControlType[\"FullName\"] = 11] = \"FullName\";\n PandoFormControlType[PandoFormControlType[\"Address\"] = 12] = \"Address\";\n PandoFormControlType[PandoFormControlType[\"Currency\"] = 21] = \"Currency\";\n PandoFormControlType[PandoFormControlType[\"Password\"] = 22] = \"Password\";\n PandoFormControlType[PandoFormControlType[\"Email\"] = 23] = \"Email\";\n PandoFormControlType[PandoFormControlType[\"Phone\"] = 24] = \"Phone\";\n})(PandoFormControlType = exports.PandoFormControlType || (exports.PandoFormControlType = {}));\n","export enum PandoFormControlType {\r\n SectionHeader = 0,\r\n Boolean = 1,\r\n TextBox = 2,\r\n TextArea = 3,\r\n DropDownList = 4,\r\n MultiSelectList = 5,\r\n Date = 6,\r\n Time = 7,\r\n SingleSelectRadio = 8,\r\n LinearScale = 9,\r\n ShortName = 10,\r\n FullName = 11,\r\n Address = 12,\r\n\r\n Currency = 21,\r\n Password = 22,\r\n Email = 23,\r\n Phone = 24,\r\n}\r\n\r\nexport interface PandoFormControl {\r\n formControlId?: string\r\n order?: number,\r\n inputType?: number, // form control type name coming from KC api\r\n controlType?: PandoFormControlType, // our form control type name\r\n description: string,\r\n label: string,\r\n value?: string,\r\n values?: any[],\r\n minValue?: number,\r\n maxValue?: number,\r\n minLabel?: string,\r\n maxLabel?: string,\r\n fieldValueStep?: number,\r\n selectOptions?: SelectOption[],\r\n hasOtherValue?: boolean,\r\n otherValue?: string,\r\n helpText?: string,\r\n}\r\n\r\nexport interface SelectOption {\r\n label: string,\r\n value: string\r\n} \r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".deal-history[_ngcontent-%COMP%] .mapping-details-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px}.deal-history[_ngcontent-%COMP%] icon[_ngcontent-%COMP%]{margin-top:4px;margin-left:4px}\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = require(\"../../modules/oidc-auth/events\");\nvar http_1 = require(\"@angular/common/http\");\nvar rxjs_1 = require(\"rxjs\");\nvar log_factory_service_1 = require(\"../log-factory.service\");\nvar operators_1 = require(\"rxjs/operators\");\nvar token_service_1 = require(\"../../modules/oidc-auth/token.service\");\nvar storage_service_1 = require(\"../../modules/storage/storage.service\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar http_interceptor_options_service_1 = require(\"./http-interceptor-options.service\");\nvar NgOidcHttpInterceptor = /** @class */ (function () {\n function NgOidcHttpInterceptor(logFactory, authService, tokenService, loggerService, storageService, httpInterceptorOptionsService) {\n this.authService = authService;\n this.tokenService = tokenService;\n this.loggerService = loggerService;\n this.storageService = storageService;\n this.httpInterceptorOptionsService = httpInterceptorOptionsService;\n this.log = logFactory.get('oidcHttpInterceptor');\n }\n NgOidcHttpInterceptor.prototype.intercept = function (req, next) {\n var _this = this;\n var newReq = req;\n if (this.urlMatchesConfig(req.url)) {\n var appendBearer = false;\n if (this.authService.config.enableRequestChecks) {\n // Only append token when it's valid.\n if (this.tokenService.hasToken()) {\n if (this.tokenService.hasValidToken()) {\n appendBearer = true;\n }\n else {\n this.broadcast(events_1.tokenExpired$, { request: req });\n }\n }\n else {\n this.broadcast(events_1.tokenMissing$, { request: req });\n }\n }\n else {\n appendBearer = this.tokenService.hasToken();\n }\n if (appendBearer) {\n var token = this.tokenService.getTokenByType('access');\n newReq = req.clone({\n headers: req.headers.set('Authorization', 'Bearer ' + token),\n withCredentials: true\n });\n }\n }\n // do something on success\n return next.handle(newReq)\n .pipe(operators_1.map(function (event) {\n if (event instanceof http_1.HttpResponse && event.status > 400) {\n return _this.handleResponse(event);\n }\n return event;\n }), operators_1.catchError(function (err, caught) {\n if (err instanceof http_1.HttpErrorResponse) {\n return _this.handleResponseError(err);\n }\n return rxjs_1.throwError(err);\n }));\n };\n NgOidcHttpInterceptor.prototype.handleResponse = function (response) {\n if (this.urlMatchesConfig(response.url)) {\n // Proactively check if the token will expire soon\n this.authService.validateExpirity();\n }\n return response;\n };\n NgOidcHttpInterceptor.prototype.handleResponseError = function (httpErrorResponse) {\n if (httpErrorResponse.status === 401) {\n if (!this.tokenService.hasToken()) {\n // There was probably no token attached, because there is none\n this.broadcast(events_1.tokenMissing$, { response: httpErrorResponse.error });\n }\n else if (!this.tokenService.hasValidToken()) {\n // Seems the token is not valid anymore\n this.broadcast(events_1.tokenExpired$, { response: httpErrorResponse.error });\n }\n else if (httpErrorResponse.error === 'User is disabled' ||\n httpErrorResponse.error === 'User is locked' ||\n httpErrorResponse.error === 'IP Address is not valid') {\n this.broadcast(events_1.unauthorized$, { response: httpErrorResponse.error });\n }\n else if (httpErrorResponse.url && httpErrorResponse.url.indexOf('LoggedInUser') > -1) {\n this.broadcast(events_1.unauthorized$);\n }\n }\n else {\n // TODO this should be moved to its own interceptor since it doesn't have anything to do with OIDC handling\n if (!this.httpInterceptorOptionsService.disableErrorHandlerSetting) { // \"disableErrorHandlerSetting = true\" means handle error manually\n if (httpErrorResponse.status !== -1 && this.isErrorEndpoint(httpErrorResponse)) {\n if (this.storageService.getItem('userProfile')) {\n if (this.loggerService) {\n if (httpErrorResponse && httpErrorResponse.error && httpErrorResponse.error.error && httpErrorResponse.error.error.translationKey) {\n this.loggerService.genericError(httpErrorResponse.error.error.translationKey, httpErrorResponse, 'responseError');\n }\n else {\n var message = (httpErrorResponse.error) ? httpErrorResponse.error.message : httpErrorResponse.message;\n this.loggerService.genericError('responseError with API call', message, 'oidcHttpInterceptor:responseError');\n }\n }\n else {\n this.log.error('responseError with API call', httpErrorResponse.error.message, 'oidcHttpInterceptor:responseError');\n }\n }\n }\n }\n }\n return rxjs_1.throwError(httpErrorResponse);\n };\n NgOidcHttpInterceptor.prototype.urlMatchesConfig = function (url) {\n return this.authService.config.urls && this.authService.config.urls.some(function (u) { return url.startsWith(u); });\n };\n NgOidcHttpInterceptor.prototype.broadcast = function (event, data) {\n event.next(data);\n };\n NgOidcHttpInterceptor.prototype.isErrorEndpoint = function (response) {\n var excludedEndpoints = ['CreditPrescreenRequest'];\n for (var i = 0; i < excludedEndpoints.length; i++) {\n if (response.url && response.url.indexOf(excludedEndpoints[i]) > -1) {\n return false;\n }\n }\n return true;\n };\n return NgOidcHttpInterceptor;\n}());\nexports.NgOidcHttpInterceptor = NgOidcHttpInterceptor;\n","import { tokenExpired$, tokenMissing$, unauthorized$ } from '../../modules/oidc-auth/events';\r\nimport { Injectable, Inject } from '@angular/core';\r\nimport { HttpRequest, HttpHandler, HttpEvent, HttpErrorResponse, HttpResponse, HttpInterceptor } from '@angular/common/http';\r\nimport { Observable, throwError, Subject, of } from 'rxjs';\r\nimport { LogFactory, NamedLog } from '../log-factory.service';\r\n\r\nimport { map, catchError } from 'rxjs/operators';\r\nimport { TokenService } from '../../modules/oidc-auth/token.service';\r\nimport { StorageService } from '../../modules/storage/storage.service';\r\nimport { AuthService } from '../../ajs-upgraded-providers';\r\nimport { ToasterLoggerService as LoggerService } from '../../core/toaster-logger.service';\r\nimport { HttpInterceptorOptionsService } from './http-interceptor-options.service';\r\n\r\n@Injectable()\r\nexport class NgOidcHttpInterceptor implements HttpInterceptor {\r\n private log: NamedLog;\r\n\r\n constructor(logFactory: LogFactory, @Inject(AuthService) private authService, private tokenService: TokenService,\r\n private loggerService: LoggerService,\r\n private storageService: StorageService,\r\n private httpInterceptorOptionsService: HttpInterceptorOptionsService) {\r\n this.log = logFactory.get('oidcHttpInterceptor');\r\n }\r\n\r\n intercept(req: HttpRequest, next: HttpHandler): Observable> {\r\n let newReq = req;\r\n if (this.urlMatchesConfig(req.url)) {\r\n let appendBearer = false;\r\n\r\n if (this.authService.config.enableRequestChecks) {\r\n // Only append token when it's valid.\r\n if (this.tokenService.hasToken()) {\r\n if (this.tokenService.hasValidToken()) {\r\n appendBearer = true;\r\n } else {\r\n this.broadcast(tokenExpired$, { request: req });\r\n }\r\n } else {\r\n this.broadcast(tokenMissing$, { request: req });\r\n }\r\n } else {\r\n appendBearer = this.tokenService.hasToken();\r\n }\r\n\r\n if (appendBearer) {\r\n const token = this.tokenService.getTokenByType('access');\r\n newReq = req.clone({\r\n headers: req.headers.set('Authorization', 'Bearer ' + token),\r\n withCredentials: true\r\n });\r\n }\r\n } \r\n \r\n // do something on success\r\n return next.handle(newReq)\r\n .pipe(\r\n map((event: HttpEvent) => {\r\n if (event instanceof HttpResponse && (>event).status > 400) {\r\n return this.handleResponse(event);\r\n }\r\n\r\n return event;\r\n }\r\n ),\r\n catchError((err: any, caught) => {\r\n if (err instanceof HttpErrorResponse) {\r\n return this.handleResponseError(err);\r\n }\r\n\r\n return throwError(err);\r\n })\r\n );\r\n\r\n \r\n }\r\n\r\n private handleResponse(response: HttpResponse): any {\r\n \r\n if (this.urlMatchesConfig(response.url)) {\r\n // Proactively check if the token will expire soon\r\n this.authService.validateExpirity();\r\n }\r\n\r\n return response;\r\n }\r\n\r\n private handleResponseError(httpErrorResponse: HttpErrorResponse) {\r\n if (httpErrorResponse.status === 401) {\r\n if (!this.tokenService.hasToken()) {\r\n // There was probably no token attached, because there is none\r\n this.broadcast(tokenMissing$, { response: httpErrorResponse.error });\r\n } else if (!this.tokenService.hasValidToken()) {\r\n // Seems the token is not valid anymore\r\n this.broadcast(tokenExpired$, { response: httpErrorResponse.error });\r\n } else if (httpErrorResponse.error === 'User is disabled' ||\r\n httpErrorResponse.error === 'User is locked' ||\r\n httpErrorResponse.error === 'IP Address is not valid') {\r\n this.broadcast(unauthorized$, { response: httpErrorResponse.error });\r\n } else if (httpErrorResponse.url && httpErrorResponse.url.indexOf('LoggedInUser') > -1) {\r\n this.broadcast(unauthorized$);\r\n }\r\n } else {\r\n // TODO this should be moved to its own interceptor since it doesn't have anything to do with OIDC handling\r\n if (!this.httpInterceptorOptionsService.disableErrorHandlerSetting) { // \"disableErrorHandlerSetting = true\" means handle error manually\r\n if (httpErrorResponse.status !== -1 && this.isErrorEndpoint(httpErrorResponse)) {\r\n if (this.storageService.getItem('userProfile')) {\r\n\r\n if (this.loggerService) {\r\n if (httpErrorResponse && httpErrorResponse.error && httpErrorResponse.error.error && httpErrorResponse.error.error.translationKey) {\r\n this.loggerService.genericError(httpErrorResponse.error.error.translationKey, httpErrorResponse, 'responseError');\r\n } else {\r\n const message = (httpErrorResponse.error) ? httpErrorResponse.error.message : httpErrorResponse.message;\r\n this.loggerService.genericError('responseError with API call',\r\n message, 'oidcHttpInterceptor:responseError');\r\n }\r\n\r\n } else {\r\n this.log.error('responseError with API call', httpErrorResponse.error.message, 'oidcHttpInterceptor:responseError');\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n return throwError(httpErrorResponse);\r\n }\r\n\r\n private urlMatchesConfig(url: string) {\r\n return this.authService.config.urls && this.authService.config.urls.some(u => url.startsWith(u));\r\n }\r\n\r\n private broadcast(event: Subject, data?: any) {\r\n event.next(data);\r\n }\r\n\r\n private isErrorEndpoint(response: HttpErrorResponse) {\r\n const excludedEndpoints = ['CreditPrescreenRequest'];\r\n\r\n for (let i = 0; i < excludedEndpoints.length; i++) {\r\n if (response.url && response.url.indexOf(excludedEndpoints[i]) > -1) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n}\r\n","var path = '/app/components/reports/reports-container.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar CarproofComponent = /** @class */ (function () {\n function CarproofComponent() {\n this.showCarProofLink = false;\n }\n CarproofComponent.prototype.ngOnInit = function () { };\n CarproofComponent.prototype.ngOnChanges = function () {\n if (!this.permissions || !this.dealerSettings || !this.vin) {\n return;\n }\n this.showCarProofLink = this.permissions.vehicleHistoryReports && this.dealerSettings.enableCarProof;\n };\n return CarproofComponent;\n}());\nexports.CarproofComponent = CarproofComponent;\n","import { Component, OnInit, Input, OnChanges } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\n\r\n@Component({\r\n selector: 'carproof',\r\n templateUrl: './carproof.component-ng.html',\r\n styleUrls: ['./carproof.component.scss']\r\n})\r\nexport class CarproofComponent implements OnInit, OnChanges {\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() dealerSettings: any;\r\n @Input() opportunityId: string;\r\n @Input() vin: string;\r\n @Input() readonly: boolean;\r\n public showCarProofLink = false;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges() {\r\n if (!this.permissions || !this.dealerSettings || !this.vin) {\r\n return;\r\n }\r\n\r\n this.showCarProofLink = this.permissions.vehicleHistoryReports && this.dealerSettings.enableCarProof;\r\n }\r\n}\r\n","// 19.1.2.12 Object.isFrozen(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isFrozen', function ($isFrozen) {\n return function isFrozen(it) {\n return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n };\n});\n","import \"core-js/modules/es6.string.starts-with\";\nimport angular from 'angular';\nimport moduleName from \"./module\";\nimport { tokenExpired$, tokenMissing$, unauthorized$ } from './events';\nangular.module(moduleName).factory('oidcHttpInterceptor', [\"$logFactory\", \"$q\", \"$auth\", \"$injector\", \"storageService\", \"tokenService\", function ($logFactory, $q, $auth, $injector, storageService, tokenService) {\n \"ngInject\";\n\n var $log = $logFactory.get(\"oidcHttpInterceptor\");\n\n function urlMatchesConfig(url) {\n return $auth.config.urls && $auth.config.urls.some(function (u) {\n return url.startsWith(u);\n });\n }\n\n return {\n request: function request(config) {\n if (urlMatchesConfig(config.url)) {\n var appendBearer = false;\n\n if ($auth.config.enableRequestChecks) {\n // Only append token when it's valid.\n if (tokenService.hasToken()) {\n if (tokenService.hasValidToken()) {\n appendBearer = true;\n } else {\n broadcast(tokenExpired$, {\n request: config\n });\n }\n } else {\n broadcast(tokenMissing$, {\n request: config\n });\n }\n } else {\n appendBearer = tokenService.hasToken();\n }\n\n if (appendBearer) {\n var token = tokenService.getTokenByType('access');\n config.headers['Authorization'] = 'Bearer ' + token;\n config.withCredentials = true; // Enable CORS\n }\n } // do something on success\n\n\n return config;\n },\n response: function response(_response) {\n if (urlMatchesConfig(_response.config.url)) // Proactively check if the token will expire soon\n $auth.validateExpirity();\n return _response;\n },\n responseError: function responseError(response) {\n if (response.status === 401) {\n if (!tokenService.hasToken()) {\n // There was probably no token attached, because there is none\n broadcast(tokenMissing$, {\n response: response\n });\n } else if (!tokenService.hasValidToken()) {\n // Seems the token is not valid anymore\n broadcast(tokenExpired$, {\n response: response\n });\n } else if (response.data === 'User is disabled' || response.data === 'User is locked' || response.data === 'IP Address is not valid') {\n broadcast(unauthorized$, {\n response: response.data\n });\n } else if (response.config && response.config.url && response.config.url.indexOf('LoggedInUser') > -1) {\n broadcast(unauthorized$);\n }\n } else {\n if (!response.config.disableErrorHandler) {\n // \"disableErrorHandler = true\" means handle error manually\n if (response.status !== -1 && isErrorEndpoint(response)) {\n if (storageService.getItem('userProfile')) {\n var logger = $injector.get('logger');\n\n if (logger) {\n if (response && response.data && response.data.error && response.data.error.translationKey) {\n logger.genericError(response.data.error.translationKey, response, 'responseError');\n } else {\n logger.genericError('responseError with API call', response, 'oidcHttpInterceptor:responseError');\n }\n } else {\n $log.error('responseError with API call', response, 'oidcHttpInterceptor:responseError');\n }\n }\n }\n }\n }\n\n return $q.reject(response);\n }\n };\n\n function broadcast(event$, data) {\n event$.next(data);\n }\n\n function isErrorEndpoint(response) {\n var excludedEndpoints = ['CreditPrescreenRequest'];\n\n for (var i = 0; i < excludedEndpoints.length; i++) {\n if (response.config.url.indexOf(excludedEndpoints[i]) > -1) {\n return false;\n }\n }\n\n return true;\n }\n}]);","import angular from 'angular';\r\nimport moduleName from \"./module\";\r\nimport {\r\n tokenExpired$,\r\n tokenMissing$,\r\n unauthorized$,\r\n} from './events';\r\n\r\nangular.module(moduleName).factory('oidcHttpInterceptor', function ($logFactory, $q, $auth, $injector, storageService, tokenService) {\r\n \"ngInject\";\r\n\r\n const $log = $logFactory.get(\"oidcHttpInterceptor\");\r\n\r\n function urlMatchesConfig(url) {\r\n return $auth.config.urls && $auth.config.urls.some(u => url.startsWith(u))\r\n }\r\n\r\n return {\r\n\r\n request(config) {\r\n if (urlMatchesConfig(config.url)) {\r\n var appendBearer = false;\r\n\r\n if ($auth.config.enableRequestChecks) {\r\n // Only append token when it's valid.\r\n if (tokenService.hasToken()) {\r\n if (tokenService.hasValidToken()) {\r\n appendBearer = true;\r\n } else {\r\n broadcast(tokenExpired$, { request: config });\r\n }\r\n } else {\r\n broadcast(tokenMissing$, { request: config });\r\n }\r\n } else {\r\n appendBearer = tokenService.hasToken();\r\n }\r\n\r\n if (appendBearer) {\r\n var token = tokenService.getTokenByType('access');\r\n config.headers['Authorization'] = 'Bearer ' + token;\r\n config.withCredentials = true; // Enable CORS\r\n }\r\n }\r\n\r\n // do something on success\r\n return config;\r\n },\r\n\r\n response(response) {\r\n if (urlMatchesConfig(response.config.url))\r\n // Proactively check if the token will expire soon\r\n $auth.validateExpirity();\r\n\r\n return response;\r\n },\r\n\r\n responseError(response) {\r\n\r\n if (response.status === 401) {\r\n if (!tokenService.hasToken()) {\r\n // There was probably no token attached, because there is none\r\n broadcast(tokenMissing$, { response: response });\r\n }\r\n else if (!tokenService.hasValidToken()) {\r\n // Seems the token is not valid anymore\r\n broadcast(tokenExpired$, { response: response });\r\n }\r\n else if (response.data === 'User is disabled' || response.data === 'User is locked' || response.data === 'IP Address is not valid') {\r\n broadcast(unauthorized$, { response: response.data });\r\n }\r\n else if (response.config && response.config.url && response.config.url.indexOf('LoggedInUser') > -1) {\r\n broadcast(unauthorized$);\r\n }\r\n } else { \r\n if (!response.config.disableErrorHandler) { // \"disableErrorHandler = true\" means handle error manually\r\n if (response.status !== -1 && isErrorEndpoint(response)) {\r\n if (storageService.getItem('userProfile')) {\r\n var logger = $injector.get('logger');\r\n if (logger) {\r\n if (response && response.data && response.data.error && response.data.error.translationKey) {\r\n logger.genericError(response.data.error.translationKey, response, 'responseError');\r\n }\r\n else {\r\n logger.genericError('responseError with API call', response, 'oidcHttpInterceptor:responseError');\r\n }\r\n } else {\r\n $log.error('responseError with API call', response, 'oidcHttpInterceptor:responseError');\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n return $q.reject(response);\r\n }\r\n\r\n };\r\n\r\n function broadcast(event$, data) {\r\n event$.next(data);\r\n }\r\n\r\n function isErrorEndpoint(response) {\r\n var excludedEndpoints = ['CreditPrescreenRequest'];\r\n\r\n for (var i = 0; i < excludedEndpoints.length; i++) {\r\n if (response.config.url.indexOf(excludedEndpoints[i]) > -1) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n});\r\n","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar aFunction = require('./_a-function');\nvar $defineProperty = require('./_object-dp');\n\n// B.2.2.2 Object.prototype.__defineGetter__(P, getter)\nrequire('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', {\n __defineGetter__: function __defineGetter__(P, getter) {\n $defineProperty.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true });\n }\n});\n","var $metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar toMetaKey = $metadata.key;\nvar ordinaryDefineOwnMetadata = $metadata.set;\n\n$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {\n return function decorator(target, targetKey) {\n ordinaryDefineOwnMetadata(\n metadataKey, metadataValue,\n (targetKey !== undefined ? anObject : aFunction)(target),\n toMetaKey(targetKey)\n );\n };\n} });\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".scoreInfoTooltip[_ngcontent-%COMP%]{font-size:12px}\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar CustomerConnectSubDetailComponent = /** @class */ (function () {\n function CustomerConnectSubDetailComponent() {\n this.onAction = new core_1.EventEmitter();\n this.onLogScheduleSubmit = new core_1.EventEmitter();\n this.ActivityActionEnum = constants_1.ActivityActionEnum;\n }\n CustomerConnectSubDetailComponent.prototype.ngOnInit = function () {\n };\n return CustomerConnectSubDetailComponent;\n}());\nexports.CustomerConnectSubDetailComponent = CustomerConnectSubDetailComponent;\n","import { Component, OnInit, Input, Output, EventEmitter, ChangeDetectionStrategy, OnChanges, ChangeDetectorRef } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { ScheduleModalParam } from '../ScheduleModalParam.interface';\r\nimport { ActivityActionEnum } from '../../../../constants';\r\n\r\n@Component({\r\n selector: 'customer-connect-sub-detail',\r\n templateUrl: './customer-connect-sub-detail.component-ng.html',\r\n styleUrls: ['./customer-connect-sub-detail.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CustomerConnectSubDetailComponent implements OnInit {\r\n \r\n\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() subAction: number;\r\n @Input() dialogParams: ScheduleModalParam;\r\n @Output() onAction = new EventEmitter();\r\n @Output() onLogScheduleSubmit = new EventEmitter();\r\n @Input() isEuroLite: boolean;\r\n\r\n public ActivityActionEnum = ActivityActionEnum;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar NgNoCacheInterceptor = /** @class */ (function () {\n function NgNoCacheInterceptor() {\n }\n NgNoCacheInterceptor.prototype.intercept = function (req, next) {\n var newHeaders = {};\n if (!req.headers.has('Cache-Control') && !req.headers.has('Pragma')) {\n newHeaders['Cache-Control'] = 'no-cache';\n newHeaders['Pragma'] = 'no-cache';\n var newReq = req.clone({ setHeaders: newHeaders });\n return next.handle(newReq);\n }\n return next.handle(req);\n };\n return NgNoCacheInterceptor;\n}());\nexports.NgNoCacheInterceptor = NgNoCacheInterceptor;\n","\r\nimport { Injectable } from '@angular/core';\r\nimport {\r\n HttpEvent, HttpHandler, HttpRequest, HttpInterceptor\r\n} from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable()\r\nexport class NgNoCacheInterceptor implements HttpInterceptor {\r\n constructor() { }\r\n\r\n intercept(req: HttpRequest, next: HttpHandler): Observable> {\r\n const newHeaders = {};\r\n\r\n if (!req.headers.has('Cache-Control') && !req.headers.has('Pragma')) {\r\n newHeaders['Cache-Control'] = 'no-cache';\r\n newHeaders['Pragma'] = 'no-cache';\r\n\r\n const newReq = req.clone({ setHeaders: newHeaders });\r\n return next.handle(newReq);\r\n }\r\n\r\n return next.handle(req);\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../../../core/toaster-logger.service\");\nvar VautoModalComponent = /** @class */ (function () {\n function VautoModalComponent(_bsModalRef, tService, logger, dealSheetService) {\n this._bsModalRef = _bsModalRef;\n this.tService = tService;\n this.logger = logger;\n this.dealSheetService = dealSheetService;\n this.hasLatestAppraisal = false;\n this.onSaveChanges = new core_1.EventEmitter();\n }\n VautoModalComponent.prototype.ngOnInit = function () {\n this._bsModalRef.hide();\n this.getLatestAppraisal(this.dealerId, this.vehicle.vin);\n if (this.vehicle.estimatedCurrentMileage) {\n this.estimatedMileage = this.vehicle.estimatedCurrentMileage;\n }\n else {\n this.estimatedMileage = null;\n }\n if (this.customer.cellPhoneNumber) {\n this.primaryPhone = this.customer.cellPhoneNumber.value;\n }\n else if (this.customer.homePhoneNumber) {\n this.primaryPhone = this.customer.homePhoneNumber.value;\n }\n else {\n this.primaryPhone = null;\n }\n this.getCustomerAddress();\n this.getFullTrim();\n };\n VautoModalComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n VautoModalComponent.prototype.cancelModal = function () {\n this._bsModalRef.hide();\n };\n VautoModalComponent.prototype.sendAppraisal = function () {\n this.onSaveChanges.emit();\n this._bsModalRef.hide();\n };\n VautoModalComponent.prototype.getLatestAppraisal = function (dealerId, vin) {\n var _this = this;\n return this.dealSheetService.getLatestAppraisal(dealerId, vin)\n .then(function (data) {\n if (data && data.appraisal) {\n _this.hasLatestAppraisal = true;\n _this.appraisalId = data.appraisal.id;\n _this.deepLink = data.deepLink;\n _this.createDate = data.appraisal.created;\n }\n else {\n _this.hasLatestAppraisal = false;\n }\n });\n };\n VautoModalComponent.prototype.getCustomerAddress = function () {\n var address1 = '';\n var address2 = '';\n if (this.customer) {\n if (this.customer.address.streetAddress)\n address1 = this.customer.address.streetAddress;\n else\n address1 = '';\n if (this.customer.address.streetAddress2)\n address2 = ' ' + this.customer.address.streetAddress2;\n else\n address2 = ' ';\n this.fullAddress = address1 + address2 + ', ' + this.customer.address.city + ', ' + this.customer.address.stateName + ', ' + this.customer.address.normalizedZipCode;\n }\n };\n VautoModalComponent.prototype.getFullTrim = function () {\n this.fullTrim = this.vehicle.yearID + \" \" + this.vehicle.makeName + \" \" + this.vehicle.trimFullName;\n };\n return VautoModalComponent;\n}());\nexports.VautoModalComponent = VautoModalComponent;\n","import { Component, OnInit, Input, Output, EventEmitter, Inject, AfterViewInit, ViewChild } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../../../core/toaster-logger.service';\r\nimport { DealSheetService } from '../../../../ajs-upgraded-providers';\r\n\r\n@Component({\r\n selector: 'vauto-modal',\r\n templateUrl: './vauto-modal.component-ng.html',\r\n styleUrls: ['./vauto-modal.component.scss']\r\n})\r\n\r\nexport class VautoModalComponent implements OnInit, AfterViewInit {\r\n public dealerId: number;\r\n public estimatedMileage: number;\r\n public primaryPhone: string;\r\n public customer: any;\r\n public vehicle: any;\r\n public fullAddress: string;\r\n public fullTrim: string;\r\n public appraisalId: string;\r\n public createDate: any;\r\n public deepLink: string;\r\n public hasLatestAppraisal: boolean = false;\r\n @Output() onSaveChanges = new EventEmitter();\r\n\r\n constructor(\r\n public _bsModalRef: BsModalRef,\r\n public tService: TranslateService,\r\n private logger: ToasterLoggerService,\r\n @Inject(DealSheetService) private dealSheetService) {\r\n }\r\n\r\n public ngOnInit(): void {\r\n this._bsModalRef.hide();\r\n\r\n this.getLatestAppraisal(this.dealerId, this.vehicle.vin);\r\n\r\n if (this.vehicle.estimatedCurrentMileage) {\r\n this.estimatedMileage = this.vehicle.estimatedCurrentMileage;\r\n }\r\n else {\r\n this.estimatedMileage = null;\r\n }\r\n \r\n if (this.customer.cellPhoneNumber) {\r\n this.primaryPhone = this.customer.cellPhoneNumber.value;\r\n }\r\n else if (this.customer.homePhoneNumber) {\r\n this.primaryPhone = this.customer.homePhoneNumber.value;\r\n }\r\n else {\r\n this.primaryPhone = null;\r\n }\r\n\r\n this.getCustomerAddress();\r\n this.getFullTrim();\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public cancelModal(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public sendAppraisal(): void {\r\n this.onSaveChanges.emit();\r\n this._bsModalRef.hide();\r\n }\r\n\r\n private getLatestAppraisal(dealerId, vin) {\r\n return this.dealSheetService.getLatestAppraisal(dealerId, vin)\r\n .then(data => {\r\n if (data && data.appraisal) {\r\n this.hasLatestAppraisal = true;\r\n this.appraisalId = data.appraisal.id;\r\n this.deepLink = data.deepLink;\r\n this.createDate = data.appraisal.created;\r\n }\r\n else {\r\n this.hasLatestAppraisal = false;\r\n }\r\n });\r\n }\r\n\r\n private getCustomerAddress() {\r\n var address1 = '';\r\n var address2 = '';\r\n if (this.customer) {\r\n\r\n if (this.customer.address.streetAddress)\r\n address1 = this.customer.address.streetAddress\r\n else\r\n address1 = '';\r\n\r\n if (this.customer.address.streetAddress2)\r\n address2 = ' ' + this.customer.address.streetAddress2;\r\n else\r\n address2 = ' ';\r\n\r\n this.fullAddress = address1 + address2 + ', ' + this.customer.address.city + ', ' + this.customer.address.stateName + ', ' + this.customer.address.normalizedZipCode;\r\n }\r\n }\r\n\r\n private getFullTrim() {\r\n this.fullTrim = this.vehicle.yearID + \" \" + this.vehicle.makeName + \" \" + this.vehicle.trimFullName;\r\n }\r\n\r\n}\r\n\r\n\r\n\r\n","module.exports = \"\"","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ActivityStatusTypes = {\n createNew: 0,\n scheduled: 1,\n completed: 2,\n uncompleted: 3\n};\n","export const ActivityStatusTypes = {\r\n createNew: 0,\r\n scheduled: 1,\r\n completed: 2,\r\n uncompleted: 3\r\n}\r\n","var path = '/app/components/data-entry/data-entry-rates-used-rates.component.html';\nvar html = \"


%


\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PandoUnreadMessagesComponent = /** @class */ (function () {\n function PandoUnreadMessagesComponent() {\n this.isUnreadMessageCountHover = false;\n }\n return PandoUnreadMessagesComponent;\n}());\nexports.PandoUnreadMessagesComponent = PandoUnreadMessagesComponent;\n","import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'pando-unread-messages',\r\n templateUrl: './pando-unread-messages.component-ng.html',\r\n})\r\nexport class PandoUnreadMessagesComponent {\r\n @Input() isAutoAlertUser: boolean;\r\n @Input() unreadMessageCount: number;\r\n @Input() communicationUrl: string;\r\n\r\n private isUnreadMessageCountHover = false;\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./deal-sheet-process.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i3 = __importStar(require(\"../../icon/icon.component\"));\nvar i4 = __importStar(require(\"@angular/platform-browser\"));\nvar i5 = __importStar(require(\"@ngx-translate/core\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"@angular/forms\"));\nvar i8 = __importStar(require(\"../../tooltip.component.ngfactory\"));\nvar i9 = __importStar(require(\"../../tooltip.component\"));\nvar i10 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i11 = __importStar(require(\"../../../../../../node_modules/angular2-multiselect-dropdown/angular2-multiselect-dropdown.ngfactory\"));\nvar i12 = __importStar(require(\"angular2-multiselect-dropdown\"));\nvar i13 = __importStar(require(\"../../date-input/date-input.component.ngfactory\"));\nvar i14 = __importStar(require(\"../../date-input/date-input.component\"));\nvar i15 = __importStar(require(\"../../../services/date-format.service\"));\nvar i16 = __importStar(require(\"../../../../../../node_modules/ngx-bootstrap/timepicker/ngx-bootstrap-timepicker.ngfactory\"));\nvar i17 = __importStar(require(\"ngx-bootstrap/timepicker\"));\nvar i18 = __importStar(require(\"../../../../../../node_modules/ng5-slider/ng5-slider.ngfactory\"));\nvar i19 = __importStar(require(\"ng5-slider\"));\nvar i20 = __importStar(require(\"ng-busy\"));\nvar i21 = __importStar(require(\"./deal-sheet-process.component\"));\nvar i22 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i23 = __importStar(require(\"../../../services/customer-workflow.service\"));\nvar i24 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar styles_DealSheetProcessComponent = [i0.styles];\nvar RenderType_DealSheetProcessComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DealSheetProcessComponent, data: {} });\nexports.RenderType_DealSheetProcessComponent = RenderType_DealSheetProcessComponent;\nfunction View_DealSheetProcessComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"pillContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 3, \"a\", [[\"class\", \"btn btn-primary qa-push-to-crm-cancel-btn ng-scope pill\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onTop5Clicked(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \" \"])), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"icon\", [[\"class\", \"circle-plus\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(5, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 5, 0); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.templateName; _ck(_v, 3, 0, currVal_0); }); }\nfunction View_DealSheetProcessComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"dealSheetTopProcessesText\"], [\"translate\", \"dealSheetTopProcesses\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_4)), i1.ɵdid(4, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"div\", [[\"class\", \"dividerLine\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dealSheetTopProcesses\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.top5Recent; _ck(_v, 4, 0, currVal_1); }, null); }\nfunction View_DealSheetProcessComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i7.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i7.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i7.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = _v.context.$implicit; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.name; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_DealSheetProcessComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"process-form-title-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"process-form-title\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"tooltip\", [], null, null, null, i8.View_TooltipComponent_0, i8.RenderType_TooltipComponent)), i1.ɵdid(4, 49152, null, 0, i9.TooltipComponent, [i10.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null)], function (_ck, _v) { var currVal_1 = \"\"; var currVal_2 = \"processFormTitleTooltip\"; _ck(_v, 4, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.processForm.formTitle; _ck(_v, 2, 0, currVal_0); }); }\nfunction View_DealSheetProcessComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"process-form-section\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\" \", \" \"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DealSheetProcessComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"input\", [[\"class\", \"input-md textbox form-control\"], [\"type\", \"text\"]], [[8, \"id\", 0], [8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_v.parent.context.$implicit.value = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i7.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i7.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.DefaultValueAccessor]), i1.ɵdid(6, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(8, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null)], function (_ck, _v) { var currVal_10 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_11 = _v.parent.context.$implicit.value; _ck(_v, 6, 0, currVal_10, currVal_11); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.helpText, \"\"); var currVal_3 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 8).ngClassValid; var currVal_8 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nfunction View_DealSheetProcessComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"input\", [[\"class\", \"input-md textbox form-control\"], [\"type\", \"password\"]], [[8, \"id\", 0], [8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_v.parent.context.$implicit.value = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i7.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i7.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.DefaultValueAccessor]), i1.ɵdid(6, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(8, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null)], function (_ck, _v) { var currVal_10 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_11 = _v.parent.context.$implicit.value; _ck(_v, 6, 0, currVal_10, currVal_11); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.helpText, \"\"); var currVal_3 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 8).ngClassValid; var currVal_8 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nfunction View_DealSheetProcessComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"textarea\", [[\"class\", \"input-md textbox form-control\"], [\"cols\", \"40\"], [\"rows\", \"5\"]], [[8, \"id\", 0], [8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_v.parent.context.$implicit.value = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i7.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i7.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.DefaultValueAccessor]), i1.ɵdid(6, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(8, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null)], function (_ck, _v) { var currVal_10 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_11 = _v.parent.context.$implicit.value; _ck(_v, 6, 0, currVal_10, currVal_11); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.helpText, \"\"); var currVal_3 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 8).ngClassValid; var currVal_8 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nfunction View_DealSheetProcessComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 8, \"input\", [[\"class\", \"input-md textbox form-control\"], [\"maxlength\", \"12\"], [\"pattern\", \"[0-9]{3}-[0-9]{3}-[0-9]{4}\"], [\"placeholder\", \"555-555-5555\"], [\"type\", \"tel\"]], [[8, \"id\", 0], [8, \"title\", 0], [1, \"maxlength\", 0], [1, \"pattern\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_v.parent.context.$implicit.value = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i7.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i7.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(5, 540672, null, 0, i7.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i1.ɵdid(6, 540672, null, 0, i7.PatternValidator, [], { pattern: [0, \"pattern\"] }, null), i1.ɵprd(1024, null, i7.NG_VALIDATORS, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i7.MaxLengthValidator, i7.PatternValidator]), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.DefaultValueAccessor]), i1.ɵdid(9, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [6, i7.NG_VALIDATORS], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(11, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null)], function (_ck, _v) { var currVal_12 = \"12\"; _ck(_v, 5, 0, currVal_12); var currVal_13 = \"[0-9]{3}-[0-9]{3}-[0-9]{4}\"; _ck(_v, 6, 0, currVal_13); var currVal_14 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_15 = _v.parent.context.$implicit.value; _ck(_v, 9, 0, currVal_14, currVal_15); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.helpText, \"\"); var currVal_3 = (i1.ɵnov(_v, 5).maxlength ? i1.ɵnov(_v, 5).maxlength : null); var currVal_4 = (i1.ɵnov(_v, 6).pattern ? i1.ɵnov(_v, 6).pattern : null); var currVal_5 = i1.ɵnov(_v, 11).ngClassUntouched; var currVal_6 = i1.ɵnov(_v, 11).ngClassTouched; var currVal_7 = i1.ɵnov(_v, 11).ngClassPristine; var currVal_8 = i1.ɵnov(_v, 11).ngClassDirty; var currVal_9 = i1.ɵnov(_v, 11).ngClassValid; var currVal_10 = i1.ɵnov(_v, 11).ngClassInvalid; var currVal_11 = i1.ɵnov(_v, 11).ngClassPending; _ck(_v, 3, 1, [currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11]); }); }\nfunction View_DealSheetProcessComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 7, \"input\", [[\"class\", \"input-md textbox form-control\"], [\"pattern\", \"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Za-z]{1,63}$\"], [\"type\", \"email\"]], [[8, \"id\", 0], [8, \"title\", 0], [1, \"pattern\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_v.parent.context.$implicit.value = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i7.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i7.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(5, 540672, null, 0, i7.PatternValidator, [], { pattern: [0, \"pattern\"] }, null), i1.ɵprd(1024, null, i7.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i7.PatternValidator]), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.DefaultValueAccessor]), i1.ɵdid(8, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [6, i7.NG_VALIDATORS], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(10, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null)], function (_ck, _v) { var currVal_11 = \"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Za-z]{1,63}$\"; _ck(_v, 5, 0, currVal_11); var currVal_12 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_13 = _v.parent.context.$implicit.value; _ck(_v, 8, 0, currVal_12, currVal_13); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.helpText, \"\"); var currVal_3 = (i1.ɵnov(_v, 5).pattern ? i1.ɵnov(_v, 5).pattern : null); var currVal_4 = i1.ɵnov(_v, 10).ngClassUntouched; var currVal_5 = i1.ɵnov(_v, 10).ngClassTouched; var currVal_6 = i1.ɵnov(_v, 10).ngClassPristine; var currVal_7 = i1.ɵnov(_v, 10).ngClassDirty; var currVal_8 = i1.ɵnov(_v, 10).ngClassValid; var currVal_9 = i1.ɵnov(_v, 10).ngClassInvalid; var currVal_10 = i1.ɵnov(_v, 10).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); }); }\nfunction View_DealSheetProcessComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i7.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i7.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i7.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = _v.context.$implicit.value; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.value; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.label; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_DealSheetProcessComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"otherRow\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"div\", [[\"class\", \"form-inline\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Other: \"])), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"input\", [[\"class\", \"input-sm textbox form-control form-control-sm\"], [\"type\", \"text\"]], [[8, \"id\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 5)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 5)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_v.parent.parent.context.$implicit.otherValue = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i7.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i7.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.DefaultValueAccessor]), i1.ɵdid(7, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(9, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null)], function (_ck, _v) { var currVal_8 = i1.ɵinlineInterpolate(1, \"other\", _v.parent.parent.context.$implicit.formControlId, \"\"); var currVal_9 = _v.parent.parent.context.$implicit.otherValue; _ck(_v, 7, 0, currVal_8, currVal_9); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"other\", _v.parent.parent.context.$implicit.formControlId, \"\"); var currVal_1 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 9).ngClassValid; var currVal_6 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_DealSheetProcessComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 7, \"select\", [[\"class\", \"form-control\"]], [[8, \"id\", 0], [8, \"title\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_v.parent.context.$implicit.value = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i7.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.SelectControlValueAccessor]), i1.ɵdid(6, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(8, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_16)), i1.ɵdid(10, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_17)), i1.ɵdid(12, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_10 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_11 = _v.parent.context.$implicit.value; _ck(_v, 6, 0, currVal_10, currVal_11); var currVal_12 = _v.parent.context.$implicit.selectOptions; _ck(_v, 10, 0, currVal_12); var currVal_13 = _v.parent.context.$implicit.hasOtherValue; _ck(_v, 12, 0, currVal_13); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.helpText, \"\"); var currVal_3 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 8).ngClassValid; var currVal_8 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nfunction View_DealSheetProcessComponent_19(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"radio-control\"], [\"style\", \"display:inline-block\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"input\", [[\"type\", \"radio\"]], [[8, \"id\", 0], [8, \"name\", 0]], [[null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (_co.setRadioSelection(_v.parent.parent.context.$implicit.formControlId, _v.context.index) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"process\", ((_v.parent.parent.context.$implicit.formControlId + \"-\") + _v.context.index), \"\"); var currVal_1 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.parent.context.$implicit.formControlId, \"\"); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _v.context.$implicit.label; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_DealSheetProcessComponent_18(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"single-select-radio-group\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_19)), i1.ɵdid(5, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var currVal_2 = _v.parent.context.$implicit.selectOptions; _ck(_v, 5, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.helpText, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_DealSheetProcessComponent_21(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"Other: \"])), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"input\", [[\"class\", \"input-md textbox form-control\"], [\"type\", \"text\"]], [[8, \"id\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_v.parent.parent.context.$implicit.otherValue = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i7.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i7.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.DefaultValueAccessor]), i1.ɵdid(6, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(8, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null)], function (_ck, _v) { var currVal_8 = i1.ɵinlineInterpolate(1, \"other\", _v.parent.parent.context.$implicit.formControlId, \"\"); var currVal_9 = _v.parent.parent.context.$implicit.otherValue; _ck(_v, 6, 0, currVal_8, currVal_9); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"other\", _v.parent.parent.context.$implicit.formControlId, \"\"); var currVal_1 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 8).ngClassValid; var currVal_6 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_DealSheetProcessComponent_20(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 9, \"angular2-multiselect\", [[\"class\", \"form-control\"]], [[8, \"id\", 0], [8, \"className\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [\"document\", \"keyup.escape\"]], function (_v, en, $event) { var ad = true; if ((\"document:keyup.escape\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).onEscapeDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_1 = ((_v.parent.context.$implicit.values = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i11.View_AngularMultiSelect_0, i11.RenderType_AngularMultiSelect)), i1.ɵdid(4, 13615104, null, 3, i12.AngularMultiSelect, [i1.ElementRef, i1.ChangeDetectorRef, i12.ɵi], { data: [0, \"data\"], settings: [1, \"settings\"] }, null), i1.ɵqud(335544320, 1, { itemTempl: 0 }), i1.ɵqud(335544320, 2, { badgeTempl: 0 }), i1.ɵqud(335544320, 3, { searchTempl: 0 }), i1.ɵprd(1024, null, i7.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i12.AngularMultiSelect]), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i12.AngularMultiSelect]), i1.ɵdid(10, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [6, i7.NG_VALIDATORS], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(12, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_21)), i1.ɵdid(14, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_11 = _v.parent.context.$implicit.selectOptions; var currVal_12 = _co.multiListSettings; _ck(_v, 4, 0, currVal_11, currVal_12); var currVal_13 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_14 = _v.parent.context.$implicit.values; _ck(_v, 10, 0, currVal_13, currVal_14); var currVal_15 = _v.parent.context.$implicit.hasOtherValue; _ck(_v, 14, 0, currVal_15); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.helpText, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_1); var currVal_2 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_3 = i1.ɵnov(_v, 4).defaultSettings.classes; var currVal_4 = i1.ɵnov(_v, 12).ngClassUntouched; var currVal_5 = i1.ɵnov(_v, 12).ngClassTouched; var currVal_6 = i1.ɵnov(_v, 12).ngClassPristine; var currVal_7 = i1.ɵnov(_v, 12).ngClassDirty; var currVal_8 = i1.ɵnov(_v, 12).ngClassValid; var currVal_9 = i1.ɵnov(_v, 12).ngClassInvalid; var currVal_10 = i1.ɵnov(_v, 12).ngClassPending; _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); }); }\nfunction View_DealSheetProcessComponent_22(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"date-input\", [[\"style\", \"font-size:14px;\"]], [[8, \"id\", 0]], [[null, \"onInput\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onInput\" === en)) {\n var pd_0 = (_co.setDate($event.date, _v.parent.context.$implicit.formControlId) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i13.View_DateInputComponent_0, i13.RenderType_DateInputComponent)), i1.ɵdid(4, 638976, null, 0, i14.DateInputComponent, [i15.DateFormatService, i7.FormBuilder, i1.Renderer2], null, { onInput: \"onInput\" })], function (_ck, _v) { _ck(_v, 4, 0); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); _ck(_v, 3, 0, currVal_1); }); }\nfunction View_DealSheetProcessComponent_23(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"timepicker\", [], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"]], function (_v, en, $event) { var ad = true; if ((\"ngModelChange\" === en)) {\n var pd_0 = ((_v.parent.context.$implicit.value = $event) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i16.View_TimepickerComponent_0, i16.RenderType_TimepickerComponent)), i1.ɵprd(512, null, i17.TimepickerStore, i17.TimepickerStore, []), i1.ɵdid(5, 704512, null, 0, i17.TimepickerComponent, [i17.TimepickerConfig, i1.ChangeDetectorRef, i17.TimepickerStore, i17.TimepickerActions], null, null), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i17.TimepickerComponent]), i1.ɵdid(7, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(9, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null)], function (_ck, _v) { var currVal_8 = i1.ɵinlineInterpolate(1, \"process\", _v.parent.context.$implicit.formControlId, \"\"); var currVal_9 = _v.parent.context.$implicit.value; _ck(_v, 7, 0, currVal_8, currVal_9); }, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.label; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 9).ngClassValid; var currVal_6 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_DealSheetProcessComponent_24(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"slidecontainer\"]], null, null, null, null, null)), i1.ɵprd(512, null, i6.ɵNgStyleImpl, i6.ɵNgStyleR2Impl, [i1.ElementRef, i1.KeyValueDiffers, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i6.NgStyle, [i6.ɵNgStyleImpl], { ngStyle: [0, \"ngStyle\"] }, null), i1.ɵpod(3, { \"padding-bottom\": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"label\", [], [[8, \"title\", 0]], null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), (_l()(), i1.ɵeld(6, 0, null, null, 3, \"ng5-slider\", [[\"class\", \"ng5-slider\"]], [[2, \"vertical\", null], [2, \"animate\", null], [1, \"disabled\", 0]], [[null, \"valueChange\"], [\"window\", \"resize\"]], function (_v, en, $event) { var ad = true; if ((\"window:resize\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 8).onResize($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = ((_v.parent.context.$implicit.value = $event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i18.View_ɵa_0, i18.RenderType_ɵa)), i1.ɵprd(5120, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i19.ɵa]), i1.ɵdid(8, 4964352, null, 1, i19.ɵa, [i1.Renderer2, i1.ElementRef, i1.ChangeDetectorRef, i1.NgZone], { value: [0, \"value\"], options: [1, \"options\"] }, { valueChange: \"valueChange\" }), i1.ɵqud(335544320, 4, { tooltipTemplate: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, ((_v.parent.context.$implicit.minLabel && (_v.parent.context.$implicit.minLabel != _v.parent.context.$implicit.minValue.toString())) ? \"20px\" : \"0\")); _ck(_v, 2, 0, currVal_0); var currVal_6 = _v.parent.context.$implicit.value; var currVal_7 = _co.sliderOptions[_v.parent.context.$implicit.formControlId]; _ck(_v, 8, 0, currVal_6, currVal_7); }, function (_ck, _v) { var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.helpText, \"\"); _ck(_v, 4, 0, currVal_1); var currVal_2 = _v.parent.context.$implicit.label; _ck(_v, 5, 0, currVal_2); var currVal_3 = i1.ɵnov(_v, 8).sliderElementVerticalClass; var currVal_4 = i1.ɵnov(_v, 8).sliderElementAnimateClass; var currVal_5 = i1.ɵnov(_v, 8).sliderElementDisabledAttr; _ck(_v, 6, 0, currVal_3, currVal_4, currVal_5); }); }\nfunction View_DealSheetProcessComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 24, \"div\", [[\"class\", \"form-field\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_9)), i1.ɵdid(2, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_10)), i1.ɵdid(4, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_11)), i1.ɵdid(6, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_12)), i1.ɵdid(8, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_13)), i1.ɵdid(10, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_14)), i1.ɵdid(12, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_15)), i1.ɵdid(14, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_18)), i1.ɵdid(16, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_20)), i1.ɵdid(18, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_22)), i1.ɵdid(20, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_23)), i1.ɵdid(22, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_24)), i1.ɵdid(24, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_v.context.$implicit.fieldType == _co.formControlType.SectionHeader); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_v.context.$implicit.controlType == _co.formControlType.TextBox); _ck(_v, 4, 0, currVal_1); var currVal_2 = (_v.context.$implicit.controlType == _co.formControlType.Password); _ck(_v, 6, 0, currVal_2); var currVal_3 = (_v.context.$implicit.controlType == _co.formControlType.TextArea); _ck(_v, 8, 0, currVal_3); var currVal_4 = (_v.context.$implicit.controlType == _co.formControlType.Phone); _ck(_v, 10, 0, currVal_4); var currVal_5 = (_v.context.$implicit.controlType == _co.formControlType.Email); _ck(_v, 12, 0, currVal_5); var currVal_6 = (_v.context.$implicit.controlType == _co.formControlType.DropDownList); _ck(_v, 14, 0, currVal_6); var currVal_7 = (_v.context.$implicit.controlType == _co.formControlType.SingleSelectRadio); _ck(_v, 16, 0, currVal_7); var currVal_8 = (_v.context.$implicit.controlType == _co.formControlType.MultiSelectList); _ck(_v, 18, 0, currVal_8); var currVal_9 = (_v.context.$implicit.controlType == _co.formControlType.Date); _ck(_v, 20, 0, currVal_9); var currVal_10 = (_v.context.$implicit.controlType == _co.formControlType.Time); _ck(_v, 22, 0, currVal_10); var currVal_11 = (_v.context.$implicit.controlType == _co.formControlType.LinearScale); _ck(_v, 24, 0, currVal_11); }, null); }\nfunction View_DealSheetProcessComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_7)), i1.ɵdid(2, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"process-form-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_8)), i1.ɵdid(5, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.processForm.formTitle && (_co.processForm.formTitle.length > 0)); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.processForm.formControls; _ck(_v, 5, 0, currVal_1); }, null); }\nfunction View_DealSheetProcessComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_3)), i1.ɵdid(2, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"div\", [[\"class\", \"chooseAProcessText\"], [\"translate\", \"dealSheetChooseAProcess\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 8, \"div\", [[\"class\", \"processSelectContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 7, \"select\", [[\"class\", \"form-control\"], [\"name\", \"processSelect\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 7).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedWorkFlowTemplate = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.workflowTemplateSelect() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(7, 16384, null, 0, i7.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.SelectControlValueAccessor]), i1.ɵdid(9, 671744, null, 0, i7.NgModel, [[2, i7.ControlContainer], [8, null], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i1.ɵdid(11, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_5)), i1.ɵdid(13, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_6)), i1.ɵdid(15, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.top5ProcessesAvailable; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"dealSheetChooseAProcess\"; _ck(_v, 4, 0, currVal_1); var currVal_9 = \"processSelect\"; var currVal_10 = _co.selectedWorkFlowTemplate; _ck(_v, 9, 0, currVal_9, currVal_10); var currVal_11 = _co.workFlowTemplates; _ck(_v, 13, 0, currVal_11); var currVal_12 = (_co.formLoaded && (_co.processForm.formControls.length > 0)); _ck(_v, 15, 0, currVal_12); }, function (_ck, _v) { var currVal_2 = i1.ɵnov(_v, 11).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 11).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 11).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 11).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 11).ngClassValid; var currVal_7 = i1.ɵnov(_v, 11).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 11).ngClassPending; _ck(_v, 6, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nfunction View_DealSheetProcessComponent_25(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"translate\", \"noProcessesAvailable\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"noProcessesAvailable\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DealSheetProcessComponent_26(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"a\", [[\"class\", \"btn btn-primary qa-push-to-crm-submit-btn\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.loadForm() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(-1, null, [\"Details\"]))], null, null); }\nfunction View_DealSheetProcessComponent_27(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"type\", \"submit\"]], [[2, \"disabled\", null]], null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = (!_co.startButtonEnabled || !i1.ɵnov(_v.parent, 3).form.valid); _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.processSettings.start; _ck(_v, 1, 0, currVal_1); }); }\nfunction View_DealSheetProcessComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 29, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 28, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngSubmit\"], [null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngSubmit\" === en)) {\n var pd_2 = (_co.submitForm(i1.ɵnov(_v, 3)) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i7.ɵangular_packages_forms_forms_z, [], null, null), i1.ɵdid(3, 4210688, [[\"submitProcessForm\", 4]], 0, i7.NgForm, [[8, null], [8, null]], null, { ngSubmit: \"ngSubmit\" }), i1.ɵprd(2048, null, i7.ControlContainer, null, [i7.NgForm]), i1.ɵdid(5, 16384, null, 0, i7.NgControlStatusGroup, [[4, i7.ControlContainer]], null, null), (_l()(), i1.ɵeld(6, 0, null, null, 10, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"icon\", [[\"class\", \"start-processes-icon\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(9, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], null, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"h4\", [[\"class\", \"modal-title\"], [\"translate\", \"dealSheetStartAProcessTitle\"]], null, null, null, null, null)), i1.ɵdid(12, 8536064, null, 0, i5.TranslateDirective, [i5.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i1.ɵdid(16, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], null, null), (_l()(), i1.ɵeld(17, 0, null, null, 4, \"div\", [[\"class\", \"modal-body form-horizontal\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_2)), i1.ɵdid(19, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_25)), i1.ɵdid(21, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(22, 0, null, null, 7, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(23, 0, null, null, 6, \"div\", [[\"class\", \"button-span pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(24, 0, null, null, 1, \"a\", [[\"class\", \"btn btn-primary qa-push-to-crm-cancel-btn\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(25, null, [\"\", \"\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_26)), i1.ɵdid(27, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_27)), i1.ɵdid(29, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; _ck(_v, 9, 0); var currVal_7 = \"dealSheetStartAProcessTitle\"; _ck(_v, 12, 0, currVal_7); _ck(_v, 16, 0); var currVal_8 = _co.processesAvailable; _ck(_v, 19, 0, currVal_8); var currVal_9 = !_co.processesAvailable; _ck(_v, 21, 0, currVal_9); var currVal_11 = (_co.processesAvailable && _co.showLoadFormButton); _ck(_v, 27, 0, currVal_11); var currVal_12 = _co.processesAvailable; _ck(_v, 29, 0, currVal_12); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 5).ngClassValid; var currVal_5 = i1.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_10 = _co.processSettings.cancel; _ck(_v, 25, 0, currVal_10); }); }\nfunction View_DealSheetProcessComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 6, \"div\", [[\"class\", \"process-wrapper\"]], null, null, null, null, null)), i1.ɵprd(512, null, i20.InstanceConfigHolderService, i20.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i20.ɵa, i20.ɵa, []), i1.ɵdid(3, 409600, null, 0, i20.NgBusyDirective, [i20.ɵb, i20.InstanceConfigHolderService, i1.ComponentFactoryResolver, i20.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(4, { busy: 0, delay: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealSheetProcessComponent_1)), i1.ɵdid(6, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 4, 0, _co.busy, 200); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.formReady; _ck(_v, 6, 0, currVal_1); }, null); }\nexports.View_DealSheetProcessComponent_0 = View_DealSheetProcessComponent_0;\nfunction View_DealSheetProcessComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"deal-sheet-process\", [], null, null, null, View_DealSheetProcessComponent_0, RenderType_DealSheetProcessComponent)), i1.ɵdid(1, 114688, null, 0, i21.DealSheetProcessComponent, [i22.BsModalRef, i23.CustomerWorkflowService, i5.TranslateService, i24.LocaleDateTimePipe], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DealSheetProcessComponent_Host_0 = View_DealSheetProcessComponent_Host_0;\nvar DealSheetProcessComponentNgFactory = i1.ɵccf(\"deal-sheet-process\", i21.DealSheetProcessComponent, View_DealSheetProcessComponent_Host_0, { entityId: \"entityId\" }, { onClosed: \"onClosed\" }, []);\nexports.DealSheetProcessComponentNgFactory = DealSheetProcessComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
0\">\r\n
0\" class=\"process-form-title-container\">\r\n
{{processForm.formTitle}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ field.label }}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Other: \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n Other: \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{processSettings.cancel}}\r\n Details\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","'use strict';\n// B.2.3.2 String.prototype.anchor(name)\nrequire('./_string-html')('anchor', function (createHTML) {\n return function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n };\n});\n","var forOf = require('./_for-of');\n\nmodule.exports = function (iter, ITERATOR) {\n var result = [];\n forOf(iter, false, result.push, result, ITERATOR);\n return result;\n};\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DiscrepancyReportClientService = /** @class */ (function (_super) {\n __extends(DiscrepancyReportClientService, _super);\n function DiscrepancyReportClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param model undefined\n */\n DiscrepancyReportClientService.prototype.ReportDiscrepancyPOSTResponse = function (model) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = model;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DiscrepancyReport/ReportDiscrepancy\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param model undefined\n */\n DiscrepancyReportClientService.prototype.ReportDiscrepancyPOST = function (model) {\n return this.ReportDiscrepancyPOSTResponse(model).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DiscrepancyReportClientService.ReportDiscrepancyPOSTPath = '/api/DiscrepancyReport/ReportDiscrepancy';\n DiscrepancyReportClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DiscrepancyReportClientService_Factory() { return new DiscrepancyReportClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DiscrepancyReportClientService, providedIn: \"root\" });\n return DiscrepancyReportClientService;\n}(base_service_1.BaseService));\nexports.DiscrepancyReportClientService = DiscrepancyReportClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { ReportDiscrepancyModel } from '../models/report-discrepancy-model';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DiscrepancyReportClientService extends __BaseService {\r\n static readonly ReportDiscrepancyPOSTPath = '/api/DiscrepancyReport/ReportDiscrepancy';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param model undefined\r\n */\r\n ReportDiscrepancyPOSTResponse(model?: ReportDiscrepancyModel): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = model;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DiscrepancyReport/ReportDiscrepancy`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param model undefined\r\n */\r\n ReportDiscrepancyPOST(model?: ReportDiscrepancyModel): __Observable {\r\n return this.ReportDiscrepancyPOSTResponse(model).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule DiscrepancyReportClientService {\r\n}\r\n\r\nexport { DiscrepancyReportClientService }\r\n","var path = '/app/components/deal-sheet/contract/pull-forward.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar ExtendedWarrantyComponent = /** @class */ (function () {\n function ExtendedWarrantyComponent() {\n this.conquestTypes = constants_1.ConquestTypes;\n this.saleTypes = constants_1.SaleTypes;\n this.vehicleTypes = constants_1.VehicleTypes;\n }\n ExtendedWarrantyComponent.prototype.ngOnInit = function () {\n };\n ExtendedWarrantyComponent.prototype.getWarrantyStatus = function () {\n if (this.contract && this.contract.hasExtendedWarranty) {\n return 'EXTENDED';\n }\n if (this.vehicle && this.vehicle.warrantyMilesRemaining && this.vehicle.warrantyMonthsRemaining) {\n return 'ACTIVE';\n }\n if (this.vehicle && (this.vehicle.warrantyMilesRemaining === 0 || this.vehicle.warrantyMonthsRemaining === 0)) {\n return 'EXPIRED';\n }\n if (this.contract && this.contract.warrantyMilesRemaining && this.contract.warrantyMonthsRemaining) {\n return 'ACTIVE';\n }\n if (this.contract) {\n if (this.contract.warrantyMonthsRemaining === undefined && this.contract.warrantyMilesRemaining === undefined) {\n return 'NONE';\n }\n else if (this.contract.warrantyMonthsRemaining === false && this.contract.warrantyMilesRemaining === false) {\n return 'EXPIRED';\n }\n }\n };\n return ExtendedWarrantyComponent;\n}());\nexports.ExtendedWarrantyComponent = ExtendedWarrantyComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { ConquestTypes, SaleTypes, VehicleTypes } from '../../../../constants';\r\n\r\n\r\n@Component({\r\n selector: 'extended-warranty',\r\n templateUrl: './extended-warranty.component-ng.html',\r\n styleUrls: ['./extended-warranty.component.scss']\r\n })\r\nexport class ExtendedWarrantyComponent implements OnInit {\r\n\r\n @Input() contract: any;\r\n @Input() vehicle: any;\r\n @Input() alertExists: boolean;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() replacementVehicleType: any;\r\n\r\n public conquestTypes = ConquestTypes;\r\n public saleTypes = SaleTypes;\r\n public vehicleTypes = VehicleTypes;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n public getWarrantyStatus(): any {\r\n\r\n if (this.contract && this.contract.hasExtendedWarranty) {\r\n return 'EXTENDED';\r\n }\r\n\r\n if (this.vehicle && this.vehicle.warrantyMilesRemaining && this.vehicle.warrantyMonthsRemaining) {\r\n return 'ACTIVE';\r\n }\r\n\r\n if (this.vehicle && (this.vehicle.warrantyMilesRemaining === 0 || this.vehicle.warrantyMonthsRemaining === 0)) {\r\n return 'EXPIRED';\r\n }\r\n\r\n if (this.contract && this.contract.warrantyMilesRemaining && this.contract.warrantyMonthsRemaining) {\r\n return 'ACTIVE';\r\n }\r\n\r\n if (this.contract) {\r\n if (this.contract.warrantyMonthsRemaining === undefined && this.contract.warrantyMilesRemaining === undefined) {\r\n return 'NONE';\r\n } else if (this.contract.warrantyMonthsRemaining === false && this.contract.warrantyMilesRemaining === false) {\r\n return 'EXPIRED';\r\n }\r\n }\r\n }\r\n }\r\n","var path = '/app/components/search/search-preset-selector.component.html';\nvar html = \"

{{$ctrl.searchPresetTypeTranslateKeys[presetType] + 'SearchPresets' | translate}}

    0\\\">

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","module.exports = \"\"","var path = '/app/components/deal-sheet/customer-email.component.html';\nvar html = \" {{$ctrl.displayText}} {{$ctrl.displayText}} {{$ctrl.displayText}} {{$ctrl.displayText}} {{$ctrl.displayText}} \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.StorageKeys = {\n ModuleIds: 'moduleIds',\n AccessRightIds: 'accessRightIds',\n IsExternalToken: 'is-external-token',\n UserProfile: 'userProfile',\n CultureName: 'cultureName'\n};\n","export const StorageKeys = {\r\n ModuleIds: 'moduleIds',\r\n AccessRightIds: 'accessRightIds',\r\n IsExternalToken: 'is-external-token',\r\n UserProfile: 'userProfile',\r\n CultureName: 'cultureName'\r\n};\r\n","var path = '/app/components/header/customer-engagements-by-entity-modal.component.html';\nvar html = \"
{{$ctrl.resolve.customerFullName}}
{{ engagement.eventDate | localeDate }} {{ engagement.eventDate | localeTime }} {{ engagement.description }}   
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerSearchClientService = /** @class */ (function (_super) {\n __extends(DealerSearchClientService, _super);\n function DealerSearchClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @return Success\n */\n DealerSearchClientService.prototype.GETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealerSearch\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n DealerSearchClientService.prototype.GET = function () {\n return this.GETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerSearchClientService.GETPath = '/api/DealerSearch';\n DealerSearchClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerSearchClientService_Factory() { return new DealerSearchClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerSearchClientService, providedIn: \"root\" });\n return DealerSearchClientService;\n}(base_service_1.BaseService));\nexports.DealerSearchClientService = DealerSearchClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerInfoDto } from '../models/dealer-info-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerSearchClientService extends __BaseService {\r\n static readonly GETPath = '/api/DealerSearch';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GETResponse(): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerSearch`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GET(): __Observable> {\r\n return this.GETResponse().pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerSearchClientService {\r\n}\r\n\r\nexport { DealerSearchClientService }\r\n","var path = '/app/components/deal-sheet/auto-assigned-access.component.html';\nvar html = \" : {{$ctrl.autoAssignAccessInfo.fullName}} \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"customer-connect .modal-body{padding-bottom:0!important;padding-top:0!important} customer-connect .modal-body .form-group{margin-bottom:0} customer-connect .customer-connect-log-button .form-group{margin-left:35px;margin-right:-25px;margin-bottom:5px;padding-top:10px;float:right!important} customer-connect .do-not-contact-options{margin-top:10px;margin-left:10px} customer-connect .row{margin-left:0;margin-right:0} customer-connect customer-connect-sub-actions .action-menu{margin-left:15px;margin-top:15px} customer-connect .type-of-call{margin-top:10px} customer-connect .log-email{margin-top:10px}@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait){ customer-connect .timeTicker{margin-top:15%}}\"];\nexports.styles = styles;\n","var path = '/app/components/opportunities/modals/euro-lite-grid-layout-selector-modal.component.html';\nvar html = \"
{{$ctrl.showLimitMsg}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./dashboard-agenda.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i4 = __importStar(require(\"../../icon/icon.component\"));\nvar i5 = __importStar(require(\"@angular/platform-browser\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"../../../filters/locale-date.pipe\"));\nvar i8 = __importStar(require(\"../../../modules/storage/storage.service\"));\nvar i9 = __importStar(require(\"../../../filters/locale-time.pipe\"));\nvar i10 = __importStar(require(\"../../../filters/locale-number.pipe\"));\nvar i11 = __importStar(require(\"./dashboard-agenda.component\"));\nvar i12 = __importStar(require(\"../../../services/authorization.service\"));\nvar i13 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar styles_DashboardAgendaComponent = [i0.styles];\nvar RenderType_DashboardAgendaComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DashboardAgendaComponent, data: {} });\nexports.RenderType_DashboardAgendaComponent = RenderType_DashboardAgendaComponent;\nfunction View_DashboardAgendaComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"value\"], [\"translate\", \"noInformationAvailable\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"noInformationAvailable\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DashboardAgendaComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 32, \"tr\", [[\"class\", \"cursor\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openDealSheet(_v.context.$implicit.entityID) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [], [[8, \"className\", 0]], null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), i1.ɵppd(6, 1), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), i1.ɵppd(9, 1), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"\"])), i1.ɵppd(14, 1), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \"\"])), i1.ɵppd(17, 1), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(21, null, [\"\", \"\"])), (_l()(), i1.ɵeld(22, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(23, null, [\"\", \"\"])), (_l()(), i1.ɵeld(24, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(25, null, [\"\", \"\"])), (_l()(), i1.ɵeld(26, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(27, null, [\"\", \"\"])), i1.ɵppd(28, 1), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(30, null, [\"\", \"\"])), (_l()(), i1.ɵeld(31, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(32, null, [\"\", \"\"]))], function (_ck, _v) { _ck(_v, 3, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"schedule icon \", _co.activityIconClasses[_v.context.$implicit.activityTypeID], \"\"); _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 5, 0, _ck(_v, 6, 0, i1.ɵnov(_v.parent.parent, 0), _v.context.$implicit.dueDate)); _ck(_v, 5, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 8, 0, _ck(_v, 9, 0, i1.ɵnov(_v.parent.parent, 1), _v.context.$implicit.dueDate)); _ck(_v, 8, 0, currVal_2); var currVal_3 = _v.context.$implicit.new_Used; _ck(_v, 11, 0, currVal_3); var currVal_4 = i1.ɵunv(_v, 13, 0, _ck(_v, 14, 0, i1.ɵnov(_v.parent.parent, 0), _v.context.$implicit.openDate)); _ck(_v, 13, 0, currVal_4); var currVal_5 = i1.ɵunv(_v, 16, 0, _ck(_v, 17, 0, i1.ɵnov(_v.parent.parent, 0), _v.context.$implicit.lastMarketedDate)); _ck(_v, 16, 0, currVal_5); var currVal_6 = _v.context.$implicit._Customer_Owner; _ck(_v, 19, 0, currVal_6); var currVal_7 = _v.context.$implicit.customerFullName; _ck(_v, 21, 0, currVal_7); var currVal_8 = _v.context.$implicit.current_Model_Year; _ck(_v, 23, 0, currVal_8); var currVal_9 = _v.context.$implicit.current_Model_Name; _ck(_v, 25, 0, currVal_9); var currVal_10 = i1.ɵunv(_v, 27, 0, _ck(_v, 28, 0, i1.ɵnov(_v.parent.parent, 2), _v.context.$implicit.estimated_Current_Mileage)); _ck(_v, 27, 0, currVal_10); var currVal_11 = _v.context.$implicit.replacement_Model_Year; _ck(_v, 30, 0, currVal_11); var currVal_12 = _v.context.$implicit.replacement_Model_Name; _ck(_v, 32, 0, currVal_12); }); }\nfunction View_DashboardAgendaComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 31, \"table\", [[\"class\", \"table table-hover\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 27, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 26, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"th\", [[\"translate\", \"type\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"th\", [[\"translate\", \"date\"]], null, null, null, null, null)), i1.ɵdid(6, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"th\", [[\"translate\", \"time\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"th\", [[\"translate\", \"lblTransactionType\"]], null, null, null, null, null)), i1.ɵdid(10, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"th\", [[\"translate\", \"lblLastRO\"]], null, null, null, null, null)), i1.ɵdid(12, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"th\", [[\"translate\", \"lblLastMarketedDate\"]], null, null, null, null, null)), i1.ɵdid(14, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"th\", [[\"translate\", \"owner\"]], null, null, null, null, null)), i1.ɵdid(16, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 1, \"th\", [[\"translate\", \"clientName\"]], null, null, null, null, null)), i1.ɵdid(18, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"th\", [[\"translate\", \"lblCurrentYear\"]], null, null, null, null, null)), i1.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(21, 0, null, null, 1, \"th\", [[\"translate\", \"lblCurrentModel\"]], null, null, null, null, null)), i1.ɵdid(22, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(23, 0, null, null, 1, \"th\", [[\"translate\", \"mileageLabel\"]], null, null, null, null, null)), i1.ɵdid(24, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"th\", [[\"translate\", \"lblReplacementYear\"]], null, null, null, null, null)), i1.ɵdid(26, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(27, 0, null, null, 1, \"th\", [[\"translate\", \"lblReplacementModel\"]], null, null, null, null, null)), i1.ɵdid(28, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(29, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardAgendaComponent_3)), i1.ɵdid(31, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"type\"; _ck(_v, 4, 0, currVal_0); var currVal_1 = \"date\"; _ck(_v, 6, 0, currVal_1); var currVal_2 = \"time\"; _ck(_v, 8, 0, currVal_2); var currVal_3 = \"lblTransactionType\"; _ck(_v, 10, 0, currVal_3); var currVal_4 = \"lblLastRO\"; _ck(_v, 12, 0, currVal_4); var currVal_5 = \"lblLastMarketedDate\"; _ck(_v, 14, 0, currVal_5); var currVal_6 = \"owner\"; _ck(_v, 16, 0, currVal_6); var currVal_7 = \"clientName\"; _ck(_v, 18, 0, currVal_7); var currVal_8 = \"lblCurrentYear\"; _ck(_v, 20, 0, currVal_8); var currVal_9 = \"lblCurrentModel\"; _ck(_v, 22, 0, currVal_9); var currVal_10 = \"mileageLabel\"; _ck(_v, 24, 0, currVal_10); var currVal_11 = \"lblReplacementYear\"; _ck(_v, 26, 0, currVal_11); var currVal_12 = \"lblReplacementModel\"; _ck(_v, 28, 0, currVal_12); var currVal_13 = _co.widgetData; _ck(_v, 31, 0, currVal_13); }, null); }\nfunction View_DashboardAgendaComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i7.LocaleDatePipe, [i8.StorageService]), i1.ɵpid(0, i9.LocaleTimePipe, [i8.StorageService]), i1.ɵpid(0, i10.LocaleNumberPipe, [i8.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardAgendaComponent_1)), i1.ɵdid(4, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DashboardAgendaComponent_2)), i1.ɵdid(6, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.widgetData && (_co.widgetData.length == 0)); _ck(_v, 4, 0, currVal_0); var currVal_1 = (_co.widgetData && (_co.widgetData.length > 0)); _ck(_v, 6, 0, currVal_1); }, null); }\nexports.View_DashboardAgendaComponent_0 = View_DashboardAgendaComponent_0;\nfunction View_DashboardAgendaComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"dashboard-agenda\", [], null, null, null, View_DashboardAgendaComponent_0, RenderType_DashboardAgendaComponent)), i1.ɵdid(1, 114688, null, 0, i11.DashboardAgendaComponent, [i2.TranslateService, i12.AuthorizationService, i13.DealSheetService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DashboardAgendaComponent_Host_0 = View_DashboardAgendaComponent_Host_0;\nvar DashboardAgendaComponentNgFactory = i1.ɵccf(\"dashboard-agenda\", i11.DashboardAgendaComponent, View_DashboardAgendaComponent_Host_0, { widgetData: \"widgetData\" }, { dealSheetClosed: \"dealSheetClosed\" }, []);\nexports.DashboardAgendaComponentNgFactory = DashboardAgendaComponentNgFactory;\n","\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
{{item.dueDate | localeDate}}{{item.dueDate | localeTime}}{{item.new_Used}}{{item.openDate | localeDate}}{{item.lastMarketedDate | localeDate}}{{item._Customer_Owner}}{{item.customerFullName}}{{item.current_Model_Year}}{{item.current_Model_Name}}{{item.estimated_Current_Mileage | localeNumber }}{{item.replacement_Model_Year}}{{item.replacement_Model_Name}}
\r\n","var path = '/app/components/deal-sheet/modals/deal-sheet-lite-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = __webpack_public_path__ + \"icon-Pando-outlines.6bc64b7329e8348f761f.svg\";","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var path = '/app/components/search/ui-textbox-range.component.html';\nvar html = \"
{{ $ctrl.displayNameKey | translate }}
{{ $ctrl.separatorCharacter | translate }}
{{ $ctrl.unitOfMeasureKey | translate }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar ordinaryHasOwnMetadata = metadata.has;\nvar toMetaKey = metadata.key;\n\nmetadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryHasOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n","var path = '/app/components/data-entry/data-entry-prices.component.html';\nvar html = \"
1\\\">



\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\n// B.2.3.5 String.prototype.bold()\nrequire('./_string-html')('bold', function (createHTML) {\n return function bold() {\n return createHTML(this, 'b', '', '');\n };\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ActivityResultTypeDescriptors = [\n {\n 'activityResultID': 1,\n 'activityResultSetID': 1,\n 'activityResultNameTranslateKey': 'ACTIVITY.APPOINTMENT_SET',\n 'activityResultPriority': 1,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 2,\n 'activityResultSetID': 1,\n 'activityResultNameTranslateKey': 'ACTIVITY.CALL_BACK',\n 'activityResultPriority': 4,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 3,\n 'activityResultSetID': 1,\n 'activityResultNameTranslateKey': 'ACTIVITY.DO_NOT_CALL',\n 'activityResultPriority': 8,\n 'needPageReload': 1\n },\n {\n 'activityResultID': 4,\n 'activityResultSetID': 1,\n 'activityResultNameTranslateKey': 'ACTIVITY.LEFT_MESSAGE',\n 'activityResultPriority': 5,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 5,\n 'activityResultSetID': 1,\n 'activityResultNameTranslateKey': 'ACTIVITY.NO_ANSWER',\n 'activityResultPriority': 6,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 6,\n 'activityResultSetID': 1,\n 'activityResultNameTranslateKey': 'ACTIVITY.NOT_INTERESTED',\n 'activityResultPriority': 7,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 7,\n 'activityResultSetID': 2,\n 'activityResultNameTranslateKey': 'ACTIVITY.SOLD',\n 'activityResultPriority': 4,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 8,\n 'activityResultSetID': 1,\n 'activityResultNameTranslateKey': 'ACTIVITY.DID_NOT_SHOW',\n 'activityResultPriority': 1,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 9,\n 'activityResultSetID': 2,\n 'activityResultNameTranslateKey': 'ACTIVITY.SHOWED_CLOSED',\n 'activityResultPriority': 3,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 10,\n 'activityResultSetID': 2,\n 'activityResultNameTranslateKey': 'ACTIVITY.SHOWED_OPEN',\n 'activityResultPriority': 2,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 11,\n 'activityResultSetID': 2,\n 'activityResultNameTranslateKey': 'ACTIVITY.SOLD',\n 'activityResultPriority': 1,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 19,\n 'activityResultSetID': 1,\n 'activityResultNameTranslateKey': 'ACTIVITY.SPOKE_TO_CLIENT',\n 'activityResultPriority': 3,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 20,\n 'activityResultSetID': 3,\n 'activityResultNameTranslateKey': 'ACTIVITY.APPOINTMENT_SET',\n 'activityResultPriority': 2,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 21,\n 'activityResultSetID': 3,\n 'activityResultNameTranslateKey': 'ACTIVITY.SPOKE_TO_CLIENT',\n 'activityResultPriority': 3,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 22,\n 'activityResultSetID': 3,\n 'activityResultNameTranslateKey': 'ACTIVITY.UPGRADE_PROPOSAL',\n 'activityResultPriority': 4,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 23,\n 'activityResultSetID': 3,\n 'activityResultNameTranslateKey': 'ACTIVITY.SOLD',\n 'activityResultPriority': 5,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 24,\n 'activityResultSetID': 3,\n 'activityResultNameTranslateKey': 'ACTIVITY.NOT_INTERESTED',\n 'activityResultPriority': 6,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 25,\n 'activityResultSetID': 3,\n 'activityResultNameTranslateKey': 'ACTIVITY.MISCELLANEOUS',\n 'activityResultPriority': 1,\n 'needPageReload': 0\n },\n {\n 'activityResultID': 33,\n 'activityResultSetID': 1,\n 'activityResultNameTranslateKey': 'ACTIVITY.VEHICLEPAIDOFF',\n 'activityResultPriority': 1,\n 'needPageReload': 0\n }\n];\n","export const ActivityResultTypeDescriptors = [\r\n {\r\n 'activityResultID': 1,\r\n 'activityResultSetID': 1,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.APPOINTMENT_SET',\r\n 'activityResultPriority': 1,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 2,\r\n 'activityResultSetID': 1,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.CALL_BACK',\r\n 'activityResultPriority': 4,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 3,\r\n 'activityResultSetID': 1,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.DO_NOT_CALL',\r\n 'activityResultPriority': 8,\r\n 'needPageReload': 1\r\n },\r\n {\r\n 'activityResultID': 4,\r\n 'activityResultSetID': 1,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.LEFT_MESSAGE',\r\n 'activityResultPriority': 5,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 5,\r\n 'activityResultSetID': 1,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.NO_ANSWER',\r\n 'activityResultPriority': 6,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 6,\r\n 'activityResultSetID': 1,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.NOT_INTERESTED',\r\n 'activityResultPriority': 7,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 7,\r\n 'activityResultSetID': 2,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.SOLD',\r\n 'activityResultPriority': 4,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 8,\r\n 'activityResultSetID': 1,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.DID_NOT_SHOW',\r\n 'activityResultPriority': 1,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 9,\r\n 'activityResultSetID': 2,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.SHOWED_CLOSED',\r\n 'activityResultPriority': 3,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 10,\r\n 'activityResultSetID': 2,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.SHOWED_OPEN',\r\n 'activityResultPriority': 2,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 11,\r\n 'activityResultSetID': 2,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.SOLD',\r\n 'activityResultPriority': 1,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 19,\r\n 'activityResultSetID': 1,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.SPOKE_TO_CLIENT',\r\n 'activityResultPriority': 3,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 20,\r\n 'activityResultSetID': 3,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.APPOINTMENT_SET',\r\n 'activityResultPriority': 2,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 21,\r\n 'activityResultSetID': 3,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.SPOKE_TO_CLIENT',\r\n 'activityResultPriority': 3,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 22,\r\n 'activityResultSetID': 3,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.UPGRADE_PROPOSAL',\r\n 'activityResultPriority': 4,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 23,\r\n 'activityResultSetID': 3,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.SOLD',\r\n 'activityResultPriority': 5,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 24,\r\n 'activityResultSetID': 3,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.NOT_INTERESTED',\r\n 'activityResultPriority': 6,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 25,\r\n 'activityResultSetID': 3,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.MISCELLANEOUS',\r\n 'activityResultPriority': 1,\r\n 'needPageReload': 0\r\n },\r\n {\r\n 'activityResultID': 33,\r\n 'activityResultSetID': 1,\r\n 'activityResultNameTranslateKey': 'ACTIVITY.VEHICLEPAIDOFF',\r\n 'activityResultPriority': 1,\r\n 'needPageReload': 0\r\n }\r\n];\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@angular/forms\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../tooltip.component.ngfactory\"));\nvar i5 = __importStar(require(\"../tooltip.component\"));\nvar i6 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i7 = __importStar(require(\"./admin-settings-programs.component\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i9 = __importStar(require(\"../../services/user.service\"));\nvar i10 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar styles_AdminSettingsProgramsComponent = [];\nvar RenderType_AdminSettingsProgramsComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsProgramsComponent, data: {} });\nexports.RenderType_AdminSettingsProgramsComponent = RenderType_AdminSettingsProgramsComponent;\nfunction View_AdminSettingsProgramsComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(1, 147456, null, 0, i1.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i1.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(2, 147456, null, 0, i1.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.value, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵinlineInterpolate(1, \"\", _v.context.$implicit.value, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.text; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminSettingsProgramsComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 42, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"style\", \"margin-top:3px\"]], null, null, null, null, null)), (_l()(), i0.ɵted(2, null, [\" \", \" / \", \" \"])), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"col-md-1\"], [\"style\", \"margin-top:3px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 3, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 1, \"input\", [[\"type\", \"radio\"]], [[8, \"disabled\", 0], [8, \"title\", 0], [8, \"name\", 0], [8, \"checked\", 0]], [[null, \"change\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = ((_v.context.$implicit.tier = 0) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵted(7, null, [\" \", \"\"])), (_l()(), i0.ɵeld(8, 0, null, null, 4, \"div\", [[\"class\", \"col-md-1\"], [\"style\", \"margin-top:3px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 3, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 1, \"input\", [[\"type\", \"radio\"]], [[8, \"disabled\", 0], [8, \"title\", 0], [8, \"name\", 0], [8, \"checked\", 0]], [[null, \"change\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = ((_v.context.$implicit.tier = 1) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵted(12, null, [\" \", \"\"])), (_l()(), i0.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"col-md-1\"], [\"style\", \"margin-top:3px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 3, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 1, \"input\", [[\"type\", \"radio\"]], [[8, \"disabled\", 0], [8, \"title\", 0], [8, \"name\", 0], [8, \"checked\", 0]], [[null, \"change\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = ((_v.context.$implicit.tier = 2) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵted(17, null, [\" \", \"\"])), (_l()(), i0.ɵeld(18, 0, null, null, 11, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin: 3px 5px 0 0\"], [\"translate\", \"residualMileage\"]], null, null, null, null, null)), i0.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(21, 0, null, null, 8, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(22, 0, null, null, 7, \"select\", [[\"class\", \"form-control\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 23).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 23).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_v.context.$implicit.residualMileage = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(23, 16384, null, 0, i1.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.SelectControlValueAccessor]), i0.ɵdid(25, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(27, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsProgramsComponent_2)), i0.ɵdid(29, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(30, 0, null, null, 12, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top: 4px;\"]], null, null, null, null, null)), (_l()(), i0.ɵted(31, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(33, 0, null, null, 7, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 34)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 34).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 34)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 34)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 35).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 35).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 35).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_v.context.$implicit.leasePenaltyFee = $event) !== false);\n ad = (pd_7 && ad);\n } if ((\"change\" === en)) {\n var pd_8 = (_co.handleLeasePenaltyFeeChanged(_v.context.$implicit) !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i0.ɵdid(34, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(35, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(37, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵpad(38, 4), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(40, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(41, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_17 = \"residualMileage\"; _ck(_v, 20, 0, currVal_17); var currVal_25 = _v.context.$implicit.residualMileage; _ck(_v, 25, 0, currVal_25); var currVal_26 = _co.getResidualMileageOptions(_v.context.$implicit.bankID); _ck(_v, 29, 0, currVal_26); var currVal_35 = (_co.dsa.isFordAlert && _ck(_v, 38, 0, 100, 101, 326, 340).includes(_v.context.$implicit.makeID)); var currVal_36 = _v.context.$implicit.leasePenaltyFee; _ck(_v, 37, 0, currVal_35, currVal_36); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _v.context.$implicit.makeName; var currVal_1 = _v.context.$implicit.bankName; _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = _co.dsa.isFordAlert; var currVal_3 = (_co.dsa.isFordAlert ? i0.ɵunv(_v, 5, 1, i0.ɵnov(_v, 6).transform(\"dsAdmin_valueSetByFormProgram\")) : \"\"); var currVal_4 = i0.ɵinlineInterpolate(1, \"tier\", _v.context.$implicit.dealerMakeRegionID, \"\"); var currVal_5 = (_v.context.$implicit.tier == 0); _ck(_v, 5, 0, currVal_2, currVal_3, currVal_4, currVal_5); var currVal_6 = _v.context.$implicit.tier0; _ck(_v, 7, 0, currVal_6); var currVal_7 = _co.dsa.isFordAlert; var currVal_8 = (_co.dsa.isFordAlert ? i0.ɵunv(_v, 10, 1, i0.ɵnov(_v, 11).transform(\"dsAdmin_valueSetByFormProgram\")) : \"\"); var currVal_9 = i0.ɵinlineInterpolate(1, \"tier\", _v.context.$implicit.dealerMakeRegionID, \"\"); var currVal_10 = (_v.context.$implicit.tier == 1); _ck(_v, 10, 0, currVal_7, currVal_8, currVal_9, currVal_10); var currVal_11 = _v.context.$implicit.tier1; _ck(_v, 12, 0, currVal_11); var currVal_12 = _co.dsa.isFordAlert; var currVal_13 = (_co.dsa.isFordAlert ? i0.ɵunv(_v, 15, 1, i0.ɵnov(_v, 16).transform(\"dsAdmin_valueSetByFormProgram\")) : \"\"); var currVal_14 = i0.ɵinlineInterpolate(1, \"tier\", _v.context.$implicit.dealerMakeRegionID, \"\"); var currVal_15 = (_v.context.$implicit.tier == 2); _ck(_v, 15, 0, currVal_12, currVal_13, currVal_14, currVal_15); var currVal_16 = _v.context.$implicit.tier2; _ck(_v, 17, 0, currVal_16); var currVal_18 = i0.ɵnov(_v, 27).ngClassUntouched; var currVal_19 = i0.ɵnov(_v, 27).ngClassTouched; var currVal_20 = i0.ɵnov(_v, 27).ngClassPristine; var currVal_21 = i0.ɵnov(_v, 27).ngClassDirty; var currVal_22 = i0.ɵnov(_v, 27).ngClassValid; var currVal_23 = i0.ɵnov(_v, 27).ngClassInvalid; var currVal_24 = i0.ɵnov(_v, 27).ngClassPending; _ck(_v, 22, 0, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24); var currVal_27 = i0.ɵunv(_v, 31, 0, i0.ɵnov(_v, 32).transform(\"dsAdmin_mileagePenaltyPerMileLabel\")); _ck(_v, 31, 0, currVal_27); var currVal_28 = i0.ɵnov(_v, 40).ngClassUntouched; var currVal_29 = i0.ɵnov(_v, 40).ngClassTouched; var currVal_30 = i0.ɵnov(_v, 40).ngClassPristine; var currVal_31 = i0.ɵnov(_v, 40).ngClassDirty; var currVal_32 = i0.ɵnov(_v, 40).ngClassValid; var currVal_33 = i0.ɵnov(_v, 40).ngClassInvalid; var currVal_34 = i0.ɵnov(_v, 40).ngClassPending; _ck(_v, 33, 0, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34); var currVal_37 = i0.ɵunv(_v, 41, 0, i0.ɵnov(_v, 42).transform(\"permile\")); _ck(_v, 41, 0, currVal_37); }); }\nfunction View_AdminSettingsProgramsComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 11, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\" \", \" $ \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(3, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textbox\"], [\"name\", \"DealerSetting.ResidualCentsPerMile\"], [\"style\", \"width:80px\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 5).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 5).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.residualCentsPerMile = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(4, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(5, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(7, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(9, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(10, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_8 = \"DealerSetting.ResidualCentsPerMile\"; var currVal_9 = true; var currVal_10 = _co.dsa.dealerSetting.residualCentsPerMile; _ck(_v, 7, 0, currVal_8, currVal_9, currVal_10); }, function (_ck, _v) { var currVal_0 = i0.ɵunv(_v, 1, 0, i0.ɵnov(_v, 2).transform(\"dsAdmin_usedResidualMileageOverrideMessage\")); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 9).ngClassValid; var currVal_6 = i0.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 9).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_11 = i0.ɵunv(_v, 10, 0, i0.ɵnov(_v, 11).transform(\"permile\")); _ck(_v, 10, 0, currVal_11); }); }\nfunction View_AdminSettingsProgramsComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"settingItem\"], [\"translate\", \"dsAdmin_SalesTaxDisabledMessage\"]], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dsAdmin_SalesTaxDisabledMessage\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminSettingsProgramsComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 131, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 130, \"div\", [[\"class\", \"col-md-10\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_bankRatesTierResiduals\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsProgramsComponent_1)), i0.ɵdid(7, 278528, null, 0, i3.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(8, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 11).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 11).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.useResidualMileageOverride = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(11, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(13, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(15, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(16, null, [\" \", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsProgramsComponent_3)), i0.ɵdid(19, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(21, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"salestax\"]], null, null, null, null, null)), i0.ɵdid(22, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(23, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(24, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(25, 0, null, null, 20, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(26, 0, null, null, 9, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵted(27, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(29, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerSetting.LeaseSalesTax\"], [\"style\", \"width:80px\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 30)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 30).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 30)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 30)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 31).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 31).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 31).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.leaseSalesTax = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(30, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(31, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(33, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(35, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(36, 0, null, null, 9, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵted(37, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(39, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerSetting.PurchaseSalesTax\"], [\"style\", \"width:80px\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 40)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 40).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 40)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 40)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 41).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 41).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 41).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.purchaseSalesTax = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(40, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(41, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(43, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(45, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsProgramsComponent_4)), i0.ɵdid(47, 16384, null, 0, i3.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(48, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(49, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"documentFees\"]], null, null, null, null, null)), i0.ɵdid(50, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(51, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(52, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(53, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵted(54, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(56, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textbox\"], [\"name\", \"DealerSetting.DocFee\"], [\"style\", \"width:90px\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 57)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 57).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 57)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 57)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 58).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 58).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 58).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.docFee = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(57, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(58, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(60, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(62, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵeld(63, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(64, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"rates\"]], null, null, null, null, null)), i0.ɵdid(65, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(66, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(67, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(68, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(69, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(70, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 71).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 71).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.enableDealerUsedRates = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(71, 16384, null, 0, i1.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.CheckboxControlValueAccessor]), i0.ɵdid(73, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(75, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(76, null, [\" \", \"\"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(78, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(79, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"fuelcosts\"]], null, null, null, null, null)), i0.ɵdid(80, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(81, 0, null, null, 1, \"tooltip\", [], null, null, null, i4.View_TooltipComponent_0, i4.RenderType_TooltipComponent)), i0.ɵdid(82, 49152, null, 0, i5.TooltipComponent, [i6.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(83, 0, null, null, 11, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(84, 0, null, null, 1, \"div\", [[\"class\", \"col-md-1\"], [\"translate\", \"gasoline\"]], null, null, null, null, null)), i0.ɵdid(85, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(86, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(87, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerSetting.GasolinePricePerGallon\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 88)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 88).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 88)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 88)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 89).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 89).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 89).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.gasolinePricePerGallon = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(88, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(89, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(91, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(93, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(94, null, [\" \", \" \"])), (_l()(), i0.ɵeld(95, 0, null, null, 11, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(96, 0, null, null, 1, \"div\", [[\"class\", \"col-md-1\"], [\"translate\", \"diesel\"]], null, null, null, null, null)), i0.ɵdid(97, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(98, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(99, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerSetting.DieselPricePerGallon\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 100)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 100).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 100)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 100)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 101).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 101).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 101).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.dieselPricePerGallon = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(100, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(101, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(103, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(105, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(106, null, [\" \", \" \"])), (_l()(), i0.ɵeld(107, 0, null, null, 11, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(108, 0, null, null, 1, \"div\", [[\"class\", \"col-md-1\"], [\"translate\", \"cng\"]], null, null, null, null, null)), i0.ɵdid(109, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(110, 0, null, null, 8, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(111, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerSetting.CngPricePerGallon\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 112)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 112).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 112)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 112)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 113).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 113).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 113).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.cngPricePerGallon = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(112, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(113, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(115, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(117, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(118, null, [\" \", \" \"])), (_l()(), i0.ɵeld(119, 0, null, null, 12, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(120, 0, null, null, 1, \"div\", [[\"class\", \"col-md-1\"], [\"translate\", \"electricity\"]], null, null, null, null, null)), i0.ɵdid(121, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(122, 0, null, null, 9, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(123, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxMed\"], [\"name\", \"DealerSetting.ElectricityPricePerkWh\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 124)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 124).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 124)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 124)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 125).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 125).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 125).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSetting.electricityPricePerkWh = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(124, 16384, null, 0, i1.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i1.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(125, 16384, null, 0, i1.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i1.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i1.DefaultValueAccessor, i1.NumberValueAccessor]), i0.ɵdid(127, 671744, null, 0, i1.NgModel, [[8, null], [8, null], [8, null], [6, i1.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i1.NgControl, null, [i1.NgModel]), i0.ɵdid(129, 16384, null, 0, i1.NgControlStatus, [[4, i1.NgControl]], null, null), (_l()(), i0.ɵted(130, null, [\" \", \" \"])), i0.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_bankRatesTierResiduals\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_bankRatesTierResiduals\"; var currVal_2 = \"dsAdmin_bankRatesTierResidualsTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = _co.dsa.dealerBankRateTier; _ck(_v, 7, 0, currVal_3); var currVal_11 = _co.dsa.dealerSetting.useResidualMileageOverride; _ck(_v, 13, 0, currVal_11); var currVal_13 = _co.dsa.dealerSetting.useResidualMileageOverride; _ck(_v, 19, 0, currVal_13); var currVal_14 = \"salestax\"; _ck(_v, 22, 0, currVal_14); var currVal_15 = \"salestax\"; var currVal_16 = \"dsAdmin_salestaxTooltip\"; _ck(_v, 24, 0, currVal_15, currVal_16); var currVal_25 = \"DealerSetting.LeaseSalesTax\"; var currVal_26 = _co.dsa.dealerSetting.leaseSalesTax; _ck(_v, 33, 0, currVal_25, currVal_26); var currVal_35 = \"DealerSetting.PurchaseSalesTax\"; var currVal_36 = _co.dsa.dealerSetting.purchaseSalesTax; _ck(_v, 43, 0, currVal_35, currVal_36); var currVal_37 = !_co.dsa.dealerSetting.useSalesTax; _ck(_v, 47, 0, currVal_37); var currVal_38 = \"documentFees\"; _ck(_v, 50, 0, currVal_38); var currVal_39 = \"documentFees\"; var currVal_40 = \"dsAdmin_documentFeesTooltip\"; _ck(_v, 52, 0, currVal_39, currVal_40); var currVal_49 = \"DealerSetting.DocFee\"; var currVal_50 = _co.dsa.dealerSetting.docFee; _ck(_v, 60, 0, currVal_49, currVal_50); var currVal_51 = \"rates\"; _ck(_v, 65, 0, currVal_51); var currVal_52 = \"rates\"; var currVal_53 = \"dsAdmin_ratesTooltip\"; _ck(_v, 67, 0, currVal_52, currVal_53); var currVal_61 = _co.dsa.dealerSetting.enableDealerUsedRates; _ck(_v, 73, 0, currVal_61); var currVal_63 = \"fuelcosts\"; _ck(_v, 80, 0, currVal_63); var currVal_64 = \"fuelcosts\"; var currVal_65 = \"dsAdmin_fuelcostsTooltip\"; _ck(_v, 82, 0, currVal_64, currVal_65); var currVal_66 = \"gasoline\"; _ck(_v, 85, 0, currVal_66); var currVal_74 = \"DealerSetting.GasolinePricePerGallon\"; var currVal_75 = _co.dsa.dealerSetting.gasolinePricePerGallon; _ck(_v, 91, 0, currVal_74, currVal_75); var currVal_77 = \"diesel\"; _ck(_v, 97, 0, currVal_77); var currVal_85 = \"DealerSetting.DieselPricePerGallon\"; var currVal_86 = _co.dsa.dealerSetting.dieselPricePerGallon; _ck(_v, 103, 0, currVal_85, currVal_86); var currVal_88 = \"cng\"; _ck(_v, 109, 0, currVal_88); var currVal_96 = \"DealerSetting.CngPricePerGallon\"; var currVal_97 = _co.dsa.dealerSetting.cngPricePerGallon; _ck(_v, 115, 0, currVal_96, currVal_97); var currVal_99 = \"electricity\"; _ck(_v, 121, 0, currVal_99); var currVal_107 = \"DealerSetting.ElectricityPricePerkWh\"; var currVal_108 = _co.dsa.dealerSetting.electricityPricePerkWh; _ck(_v, 127, 0, currVal_107, currVal_108); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = i0.ɵnov(_v, 15).ngClassUntouched; var currVal_5 = i0.ɵnov(_v, 15).ngClassTouched; var currVal_6 = i0.ɵnov(_v, 15).ngClassPristine; var currVal_7 = i0.ɵnov(_v, 15).ngClassDirty; var currVal_8 = i0.ɵnov(_v, 15).ngClassValid; var currVal_9 = i0.ɵnov(_v, 15).ngClassInvalid; var currVal_10 = i0.ɵnov(_v, 15).ngClassPending; _ck(_v, 10, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); var currVal_12 = i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"dsAdmin_residualMileageOverride\")); _ck(_v, 16, 0, currVal_12); var currVal_17 = i0.ɵunv(_v, 27, 0, i0.ɵnov(_v, 28).transform(\"dsAdmin_leaseSalesTaxPercent\")); _ck(_v, 27, 0, currVal_17); var currVal_18 = i0.ɵnov(_v, 35).ngClassUntouched; var currVal_19 = i0.ɵnov(_v, 35).ngClassTouched; var currVal_20 = i0.ɵnov(_v, 35).ngClassPristine; var currVal_21 = i0.ɵnov(_v, 35).ngClassDirty; var currVal_22 = i0.ɵnov(_v, 35).ngClassValid; var currVal_23 = i0.ɵnov(_v, 35).ngClassInvalid; var currVal_24 = i0.ɵnov(_v, 35).ngClassPending; _ck(_v, 29, 0, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24); var currVal_27 = i0.ɵunv(_v, 37, 0, i0.ɵnov(_v, 38).transform(\"dsAdmin_PurchaseSalesTaxPercent\")); _ck(_v, 37, 0, currVal_27); var currVal_28 = i0.ɵnov(_v, 45).ngClassUntouched; var currVal_29 = i0.ɵnov(_v, 45).ngClassTouched; var currVal_30 = i0.ɵnov(_v, 45).ngClassPristine; var currVal_31 = i0.ɵnov(_v, 45).ngClassDirty; var currVal_32 = i0.ɵnov(_v, 45).ngClassValid; var currVal_33 = i0.ɵnov(_v, 45).ngClassInvalid; var currVal_34 = i0.ɵnov(_v, 45).ngClassPending; _ck(_v, 39, 0, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34); var currVal_41 = i0.ɵunv(_v, 54, 0, i0.ɵnov(_v, 55).transform(\"documentpreparationFees\")); _ck(_v, 54, 0, currVal_41); var currVal_42 = i0.ɵnov(_v, 62).ngClassUntouched; var currVal_43 = i0.ɵnov(_v, 62).ngClassTouched; var currVal_44 = i0.ɵnov(_v, 62).ngClassPristine; var currVal_45 = i0.ɵnov(_v, 62).ngClassDirty; var currVal_46 = i0.ɵnov(_v, 62).ngClassValid; var currVal_47 = i0.ɵnov(_v, 62).ngClassInvalid; var currVal_48 = i0.ɵnov(_v, 62).ngClassPending; _ck(_v, 56, 0, currVal_42, currVal_43, currVal_44, currVal_45, currVal_46, currVal_47, currVal_48); var currVal_54 = i0.ɵnov(_v, 75).ngClassUntouched; var currVal_55 = i0.ɵnov(_v, 75).ngClassTouched; var currVal_56 = i0.ɵnov(_v, 75).ngClassPristine; var currVal_57 = i0.ɵnov(_v, 75).ngClassDirty; var currVal_58 = i0.ɵnov(_v, 75).ngClassValid; var currVal_59 = i0.ɵnov(_v, 75).ngClassInvalid; var currVal_60 = i0.ɵnov(_v, 75).ngClassPending; _ck(_v, 70, 0, currVal_54, currVal_55, currVal_56, currVal_57, currVal_58, currVal_59, currVal_60); var currVal_62 = i0.ɵunv(_v, 76, 0, i0.ɵnov(_v, 77).transform(\"dsAdmin_useDealerSpecificUsedCarRates\")); _ck(_v, 76, 0, currVal_62); var currVal_67 = i0.ɵnov(_v, 93).ngClassUntouched; var currVal_68 = i0.ɵnov(_v, 93).ngClassTouched; var currVal_69 = i0.ɵnov(_v, 93).ngClassPristine; var currVal_70 = i0.ɵnov(_v, 93).ngClassDirty; var currVal_71 = i0.ɵnov(_v, 93).ngClassValid; var currVal_72 = i0.ɵnov(_v, 93).ngClassInvalid; var currVal_73 = i0.ɵnov(_v, 93).ngClassPending; _ck(_v, 87, 0, currVal_67, currVal_68, currVal_69, currVal_70, currVal_71, currVal_72, currVal_73); var currVal_76 = _co.perUnitLabelKey; _ck(_v, 94, 0, currVal_76); var currVal_78 = i0.ɵnov(_v, 105).ngClassUntouched; var currVal_79 = i0.ɵnov(_v, 105).ngClassTouched; var currVal_80 = i0.ɵnov(_v, 105).ngClassPristine; var currVal_81 = i0.ɵnov(_v, 105).ngClassDirty; var currVal_82 = i0.ɵnov(_v, 105).ngClassValid; var currVal_83 = i0.ɵnov(_v, 105).ngClassInvalid; var currVal_84 = i0.ɵnov(_v, 105).ngClassPending; _ck(_v, 99, 0, currVal_78, currVal_79, currVal_80, currVal_81, currVal_82, currVal_83, currVal_84); var currVal_87 = _co.perUnitLabelKey; _ck(_v, 106, 0, currVal_87); var currVal_89 = i0.ɵnov(_v, 117).ngClassUntouched; var currVal_90 = i0.ɵnov(_v, 117).ngClassTouched; var currVal_91 = i0.ɵnov(_v, 117).ngClassPristine; var currVal_92 = i0.ɵnov(_v, 117).ngClassDirty; var currVal_93 = i0.ɵnov(_v, 117).ngClassValid; var currVal_94 = i0.ɵnov(_v, 117).ngClassInvalid; var currVal_95 = i0.ɵnov(_v, 117).ngClassPending; _ck(_v, 111, 0, currVal_89, currVal_90, currVal_91, currVal_92, currVal_93, currVal_94, currVal_95); var currVal_98 = _co.perUnitLabelKey; _ck(_v, 118, 0, currVal_98); var currVal_100 = i0.ɵnov(_v, 129).ngClassUntouched; var currVal_101 = i0.ɵnov(_v, 129).ngClassTouched; var currVal_102 = i0.ɵnov(_v, 129).ngClassPristine; var currVal_103 = i0.ɵnov(_v, 129).ngClassDirty; var currVal_104 = i0.ɵnov(_v, 129).ngClassValid; var currVal_105 = i0.ɵnov(_v, 129).ngClassInvalid; var currVal_106 = i0.ɵnov(_v, 129).ngClassPending; _ck(_v, 123, 0, currVal_100, currVal_101, currVal_102, currVal_103, currVal_104, currVal_105, currVal_106); var currVal_109 = i0.ɵunv(_v, 130, 0, i0.ɵnov(_v, 131).transform(\"PerKWhLabel\")); _ck(_v, 130, 0, currVal_109); }); }\nexports.View_AdminSettingsProgramsComponent_0 = View_AdminSettingsProgramsComponent_0;\nfunction View_AdminSettingsProgramsComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-programs\", [], null, null, null, View_AdminSettingsProgramsComponent_0, RenderType_AdminSettingsProgramsComponent)), i0.ɵdid(1, 114688, null, 0, i7.AdminSettingsProgramsComponent, [i8.BsModalService, i2.TranslateService, i9.UserService, i10.ToasterLoggerService, i0.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminSettingsProgramsComponent_Host_0 = View_AdminSettingsProgramsComponent_Host_0;\nvar AdminSettingsProgramsComponentNgFactory = i0.ɵccf(\"admin-settings-programs\", i7.AdminSettingsProgramsComponent, View_AdminSettingsProgramsComponent_Host_0, { dsa: \"dsa\" }, { onSaveChanges: \"onSaveChanges\" }, []);\nexports.AdminSettingsProgramsComponentNgFactory = AdminSettingsProgramsComponentNgFactory;\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ item.makeName }} / {{ item.bankName }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{ 'dsAdmin_mileagePenaltyPerMileLabel' | translate }} {{ 'permile' | translate }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ 'dsAdmin_usedResidualMileageOverrideMessage' | translate }} $ {{ 'permile' | translate }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ 'dsAdmin_leaseSalesTaxPercent' | translate }} \r\n
\r\n
\r\n {{ 'dsAdmin_PurchaseSalesTaxPercent' | translate }} \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ 'documentpreparationFees' | translate }} \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ perUnitLabelKey }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ perUnitLabelKey }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ perUnitLabelKey }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'PerKWhLabel' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n","var $export = require('./_export');\nvar $parseInt = require('./_parse-int');\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp');\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar createDesc = require('./_property-desc');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDesc = gOPD.f(anObject(target), propertyKey);\n var existingDescriptor, proto;\n if (!ownDesc) {\n if (isObject(proto = getPrototypeOf(target))) {\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if (has(ownDesc, 'value')) {\n if (ownDesc.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = gOPD.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n } else dP.f(receiver, propertyKey, createDesc(0, V));\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Provider for all alertminer-api services, plus AlertminerApiConfiguration\n */\nvar AlertminerApiModule = /** @class */ (function () {\n function AlertminerApiModule() {\n }\n return AlertminerApiModule;\n}());\nexports.AlertminerApiModule = AlertminerApiModule;\n","/* tslint:disable */\r\nimport { NgModule } from '@angular/core';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { AlertminerApiConfiguration } from './alertminer-api-configuration';\r\n\r\nimport { ActivityClientService } from './services/activity-client.service';\r\nimport { ActivityHistoryClientService } from './services/activity-history-client.service';\r\nimport { AnnouncementClientService } from './services/announcement-client.service';\r\nimport { CacheManagementClientService } from './services/cache-management-client.service';\r\nimport { ChangeLogClientService } from './services/change-log-client.service';\r\nimport { CreditSoftPullResultEntityDelClientService } from './services/credit-soft-pull-result-entity-del-client.service';\r\nimport { CustomerClientService } from './services/customer-client.service';\r\nimport { CustomerActivityHistoryClientService } from './services/customer-activity-history-client.service';\r\nimport { CustomerContactHistoryClientService } from './services/customer-contact-history-client.service';\r\nimport { CustomerWorkflowClientService } from './services/customer-workflow-client.service';\r\nimport { DealerClientService } from './services/dealer-client.service';\r\nimport { DealerAssetClientService } from './services/dealer-asset-client.service';\r\nimport { DealerPriceClientService } from './services/dealer-price-client.service';\r\nimport { DealerRatesClientService } from './services/dealer-rates-client.service';\r\nimport { DealerRebateClientService } from './services/dealer-rebate-client.service';\r\nimport { DealerSearchClientService } from './services/dealer-search-client.service';\r\nimport { DealerSettingClientService } from './services/dealer-setting-client.service';\r\nimport { DealerSmtpSettingClientService } from './services/dealer-smtp-setting-client.service';\r\nimport { DealerTradeinClientService } from './services/dealer-tradein-client.service';\r\nimport { DealerUpgradeProposalSettingClientService } from './services/dealer-upgrade-proposal-setting-client.service';\r\nimport { DealSheetClientService } from './services/deal-sheet-client.service';\r\nimport { DeskitClientService } from './services/deskit-client.service';\r\nimport { DiscrepancyReportClientService } from './services/discrepancy-report-client.service';\r\nimport { EmailConversationClientService } from './services/email-conversation-client.service';\r\nimport { EntityClientService } from './services/entity-client.service';\r\nimport { EntityOpportunityClientService } from './services/entity-opportunity-client.service';\r\nimport { EulaClientService } from './services/eula-client.service';\r\nimport { EulaHistoryClientService } from './services/eula-history-client.service';\r\nimport { ExtCustomerActivityClientService } from './services/ext-customer-activity-client.service';\r\nimport { FordCreditApprovalClientService } from './services/ford-credit-approval-client.service';\r\nimport { InventoryClientService } from './services/inventory-client.service';\r\nimport { LogClientService } from './services/log-client.service';\r\nimport { MakeClientService } from './services/make-client.service';\r\nimport { MessagingClientService } from './services/messaging-client.service';\r\nimport { ModelClientService } from './services/model-client.service';\r\nimport { PandoClaimClientService } from './services/pando-claim-client.service';\r\nimport { PandoPassthroughClientService } from './services/pando-passthrough-client.service';\r\nimport { PrintOfferBatchClientService } from './services/print-offer-batch-client.service';\r\nimport { ReplacementClientService } from './services/replacement-client.service';\r\nimport { RoleClientService } from './services/role-client.service';\r\nimport { SaleClientService } from './services/sale-client.service';\r\nimport { SearchClientService } from './services/search-client.service';\r\nimport { TagClientService } from './services/tag-client.service';\r\nimport { TextMessageClientService } from './services/text-message-client.service';\r\nimport { TrimClientService } from './services/trim-client.service';\r\nimport { TrimAlternateOfferClientService } from './services/trim-alternate-offer-client.service';\r\nimport { UserClientService } from './services/user-client.service';\r\nimport { UserModuleAccessClientService } from './services/user-module-access-client.service';\r\nimport { UserProfileClientService } from './services/user-profile-client.service';\r\nimport { UserSearchConditionClientService } from './services/user-search-condition-client.service';\r\nimport { VehicleFinalTradeValueTempChangeClientService } from './services/vehicle-final-trade-value-temp-change-client.service';\r\nimport { VehicleUserTradeValueClientService } from './services/vehicle-user-trade-value-client.service';\r\n\r\n/**\r\n * Provider for all alertminer-api services, plus AlertminerApiConfiguration\r\n */\r\n@NgModule({\r\n imports: [\r\n HttpClientModule\r\n ],\r\n exports: [\r\n HttpClientModule\r\n ],\r\n declarations: [],\r\n providers: [\r\n AlertminerApiConfiguration,\r\n ActivityClientService,\r\n ActivityHistoryClientService,\r\n AnnouncementClientService,\r\n CacheManagementClientService,\r\n ChangeLogClientService,\r\n CreditSoftPullResultEntityDelClientService,\r\n CustomerClientService,\r\n CustomerActivityHistoryClientService,\r\n CustomerContactHistoryClientService,\r\n CustomerWorkflowClientService,\r\n DealerClientService,\r\n DealerAssetClientService,\r\n DealerPriceClientService,\r\n DealerRatesClientService,\r\n DealerRebateClientService,\r\n DealerSearchClientService,\r\n DealerSettingClientService,\r\n DealerSmtpSettingClientService,\r\n DealerTradeinClientService,\r\n DealerUpgradeProposalSettingClientService,\r\n DealSheetClientService,\r\n DeskitClientService,\r\n DiscrepancyReportClientService,\r\n EmailConversationClientService,\r\n EntityClientService,\r\n EntityOpportunityClientService,\r\n EulaClientService,\r\n EulaHistoryClientService,\r\n ExtCustomerActivityClientService,\r\n FordCreditApprovalClientService,\r\n InventoryClientService,\r\n LogClientService,\r\n MakeClientService,\r\n MessagingClientService,\r\n ModelClientService,\r\n PandoClaimClientService,\r\n PandoPassthroughClientService,\r\n PrintOfferBatchClientService,\r\n ReplacementClientService,\r\n RoleClientService,\r\n SaleClientService,\r\n SearchClientService,\r\n TagClientService,\r\n TextMessageClientService,\r\n TrimClientService,\r\n TrimAlternateOfferClientService,\r\n UserClientService,\r\n UserModuleAccessClientService,\r\n UserProfileClientService,\r\n UserSearchConditionClientService,\r\n VehicleFinalTradeValueTempChangeClientService,\r\n VehicleUserTradeValueClientService\r\n ],\r\n})\r\nexport class AlertminerApiModule { }\r\n","var path = '/app/components/deal-sheet/auto-assistant.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","exports.f = require('./_wks');\n","export const RATING_ICONS = {\r\n 1: 'rating-1star',\r\n 2: 'rating-2star',\r\n 3: 'rating-3star',\r\n 4: 'rating-4star',\r\n 5: 'rating-5star'\r\n};\r\n\r\nexport const RATING_TITLES = {\r\n 1: 'rating1starsTitle',\r\n 2: 'rating2starsTitle',\r\n 3: 'rating3starsTitle',\r\n 4: 'rating4starsTitle',\r\n 5: 'rating5starsTitle'\r\n};","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.QuickSearchUrl = '/AlertDesk/QuickSearch/Show?Query=';\nexports.DealSheetUrl = '/AlertDesk/DealSheet/Show?e=';\nexports.SearchPresetUrl = '/AlertDesk/Search/Index?ConditionID=';\nexports.UserProfileUrl = '/Security/User/Profile';\nexports.SubMenuLocalizationPath = '/app/i18n/sub-menu';\nexports.WarningTitleKey = 'warningTitle';\nexports.QuickSearchWarningKey = 'quickSearchWarning';\nexports.QuickSearchInvalidCharacterWarningKey = 'quickSearchInvalidCharacterWarning';\nexports.PageNotFoundKey = 'pageNotFound';\n","\r\n export const QuickSearchUrl = '/AlertDesk/QuickSearch/Show?Query=';\r\n export const DealSheetUrl = '/AlertDesk/DealSheet/Show?e=';\r\n export const SearchPresetUrl = '/AlertDesk/Search/Index?ConditionID=';\r\n export const UserProfileUrl = '/Security/User/Profile';\r\n export const SubMenuLocalizationPath = '/app/i18n/sub-menu';\r\n export const WarningTitleKey = 'warningTitle';\r\n export const QuickSearchWarningKey = 'quickSearchWarning';\r\n export const QuickSearchInvalidCharacterWarningKey = 'quickSearchInvalidCharacterWarning';\r\n export const PageNotFoundKey = 'pageNotFound';\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = require(\"rxjs\");\nvar constants_1 = require(\"../constants\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar LogActionShortcutService = /** @class */ (function () {\n function LogActionShortcutService() {\n this.logShortcutSubject = new rxjs_1.Subject();\n this.$logShortcutAction = this.logShortcutSubject.asObservable();\n }\n LogActionShortcutService.prototype.logCall = function () {\n this.logShortcutSubject.next(constants_1.ActivityActionEnum.Log_Call);\n };\n LogActionShortcutService.prototype.logNote = function () {\n this.logShortcutSubject.next(constants_1.ActivityActionEnum.Post_Note);\n };\n LogActionShortcutService.prototype.scheduleAppt = function () {\n this.logShortcutSubject.next(constants_1.ActivityActionEnum.Schedule_Appt);\n };\n LogActionShortcutService.prototype.reset = function () {\n this.logShortcutSubject.next(null);\n };\n LogActionShortcutService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LogActionShortcutService_Factory() { return new LogActionShortcutService(); }, token: LogActionShortcutService, providedIn: \"root\" });\n return LogActionShortcutService;\n}());\nexports.LogActionShortcutService = LogActionShortcutService;\n","import { Injectable } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\nimport { ActivityActionEnum } from '../constants';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LogActionShortcutService {\r\n\r\n constructor() { }\r\n\r\n private logShortcutSubject = new Subject();\r\n public $logShortcutAction = this.logShortcutSubject.asObservable();\r\n\r\n\r\n public logCall() {\r\n this.logShortcutSubject.next(ActivityActionEnum.Log_Call);\r\n }\r\n\r\n public logNote() {\r\n this.logShortcutSubject.next(ActivityActionEnum.Post_Note);\r\n }\r\n\r\n public scheduleAppt() {\r\n this.logShortcutSubject.next(ActivityActionEnum.Schedule_Appt);\r\n }\r\n\r\n public reset() {\r\n this.logShortcutSubject.next(null);\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@uirouter/core\");\nvar mobile_deal_sheet_data_caching_service_1 = require(\"../../../../services/mobile-deal-sheet-data-caching.service\");\nvar MobileActivitiesComponent = /** @class */ (function () {\n function MobileActivitiesComponent(stateService, mobileDealSheetDataCachingService, transition) {\n this.stateService = stateService;\n this.mobileDealSheetDataCachingService = mobileDealSheetDataCachingService;\n this.transition = transition;\n this.opportunityId = this.transition.params().opportunityId;\n }\n MobileActivitiesComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.startWorkingState();\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(function (dealSheetData) {\n _this.opportunity = dealSheetData.opportunity;\n _this.permissions = dealSheetData.permissions;\n _this.status = dealSheetData.opportunity.status;\n _this.assignedUserFullName = dealSheetData.opportunity.assignedUserFullName;\n _this.assignedUserId = dealSheetData.opportunity.assignedUserId;\n _this.ownerUserInfo = dealSheetData.opportunity.ownerUserInfo;\n _this.hasReviewPro = dealSheetData.hasReviewPro;\n _this.hasGeoAlert = dealSheetData.hasGeoAlert;\n _this.fullName = dealSheetData.opportunity.customer.fullName;\n _this.activitiesSubscription = _this.mobileDealSheetDataCachingService.getActivities(_this.opportunityId, dealSheetData.opportunity.dealerId, dealSheetData.opportunity.customerId)\n .subscribe(function (activities) {\n _this.activities = activities;\n _this.stopWorkingState();\n });\n _this.usersSubscription = _this.mobileDealSheetDataCachingService.getUsers(dealSheetData.opportunity.dealerId).subscribe(function (users) { return _this.users = users; });\n });\n };\n MobileActivitiesComponent.prototype.handleLogActivityNavigation = function () {\n this.stateService.go('mobileDealSheet.customer-connect');\n };\n MobileActivitiesComponent.prototype.startWorkingState = function () {\n var _this = this;\n this.busy = new Promise(function (resolve) {\n _this.stopWorkingState = resolve;\n });\n };\n MobileActivitiesComponent.prototype.stopWorkingState = function () { };\n MobileActivitiesComponent.prototype.ngOnDestroy = function () {\n this.opportunitySubscription.unsubscribe();\n this.activitiesSubscription.unsubscribe();\n this.usersSubscription.unsubscribe();\n };\n return MobileActivitiesComponent;\n}());\nexports.MobileActivitiesComponent = MobileActivitiesComponent;\n","import { Component, OnDestroy, OnInit, ChangeDetectionStrategy } from '@angular/core';\r\nimport { StateService, Transition } from '@uirouter/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { Activity } from '../../../../interfaces/activity.interface';\r\nimport { DealSheetOpportunity } from '../../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { UserDtoExt } from '../../../../interfaces/user-dto-ext.interface';\r\nimport { UserInfo } from '../../../../interfaces/user-info.interface';\r\nimport { MobileDealSheetDataCachingService } from '../../../../services/mobile-deal-sheet-data-caching.service';\r\n\r\n@Component({\r\n selector: 'mobile-activities',\r\n templateUrl: './mobile-activities.component-ng.html',\r\n styleUrls: ['./mobile-activities.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class MobileActivitiesComponent implements OnInit, OnDestroy {\r\n opportunitySubscription: Subscription;\r\n usersSubscription: Subscription;\r\n activitiesSubscription: Subscription;\r\n opportunityId: string;\r\n\r\n public busy: Promise | Subscription;\r\n\r\n activities: Activity[];\r\n permissions: DealSheetPermissions;\r\n status: any;\r\n users: UserDtoExt[];\r\n assignedUserFullName: string;\r\n assignedUserId: number;\r\n ownerUserInfo: UserInfo;\r\n hasReviewPro: boolean;\r\n hasGeoAlert: boolean;\r\n fullName: string;\r\n opportunity: DealSheetOpportunity;\r\n\r\n constructor(private stateService: StateService,\r\n private mobileDealSheetDataCachingService: MobileDealSheetDataCachingService,\r\n private transition: Transition) {\r\n\r\n this.opportunityId = this.transition.params().opportunityId;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n this.startWorkingState();\r\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(dealSheetData => {\r\n this.opportunity = dealSheetData.opportunity;\r\n this.permissions = dealSheetData.permissions;\r\n this.status = dealSheetData.opportunity.status;\r\n this.assignedUserFullName = dealSheetData.opportunity.assignedUserFullName;\r\n this.assignedUserId = dealSheetData.opportunity.assignedUserId;\r\n this.ownerUserInfo = dealSheetData.opportunity.ownerUserInfo;\r\n this.hasReviewPro = dealSheetData.hasReviewPro;\r\n this.hasGeoAlert = dealSheetData.hasGeoAlert;\r\n this.fullName = dealSheetData.opportunity.customer.fullName;\r\n this.activitiesSubscription = this.mobileDealSheetDataCachingService.getActivities(this.opportunityId,\r\n dealSheetData.opportunity.dealerId, dealSheetData.opportunity.customerId)\r\n .subscribe(activities => {\r\n this.activities = activities;\r\n this.stopWorkingState();\r\n });\r\n\r\n this.usersSubscription = this.mobileDealSheetDataCachingService.getUsers(dealSheetData.opportunity.dealerId).subscribe(users => this.users = users);\r\n });\r\n\r\n\r\n }\r\n\r\n public handleLogActivityNavigation() {\r\n this.stateService.go('mobileDealSheet.customer-connect');\r\n }\r\n\r\n public startWorkingState() {\r\n this.busy = new Promise((resolve) => {\r\n this.stopWorkingState = resolve;\r\n });\r\n }\r\n\r\n public stopWorkingState() { }\r\n\r\n ngOnDestroy(): void {\r\n this.opportunitySubscription.unsubscribe();\r\n this.activitiesSubscription.unsubscribe();\r\n this.usersSubscription.unsubscribe();\r\n }\r\n}\r\n","module.exports = __webpack_public_path__ + \"vehicle-image-not-available.aa28840d0c5f547224f8.png\";","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar models_1 = require(\"../generated/models\");\nvar services_1 = require(\"../generated/services\");\nvar AdminRoleService = /** @class */ (function () {\n function AdminRoleService(legacyService, roleClientService) {\n this.legacyService = legacyService;\n this.roleClientService = roleClientService;\n }\n AdminRoleService.prototype.GetRoleOptions = function () {\n return this.roleClientService.GetRoleOptionsGET().toPromise();\n };\n AdminRoleService.prototype.GetRoleModuleAccess = function (roleId) {\n return this.roleClientService.GetRoleModuleAccessByRoleidGET(roleId).toPromise();\n };\n AdminRoleService.prototype.GetRoleAccessRights = function (roleId) {\n return this.roleClientService.GetRoleAccessRightsByRoleidGET(roleId).toPromise();\n };\n AdminRoleService.prototype.GetRoleAccessRightCategories = function () {\n return this.roleClientService.GetRoleAccessRightCategoriesGET().toPromise();\n };\n AdminRoleService.prototype.GetRoleModuleCategories = function (roleId) {\n return this.roleClientService.GetRoleModuleCategoriesByRoleidGET(roleId).toPromise();\n };\n AdminRoleService.prototype.RoleAccessUpdate = function (roleId, moduleIdList, accessRightIdList) {\n return this.roleClientService.RoleAccessUpdateByRoleidGET({ roleId: roleId, moduleIdList: moduleIdList, accessRightIdList: accessRightIdList }).toPromise();\n };\n AdminRoleService.prototype.RoleSave = function (role) {\n return this.roleClientService.AddEditRolePOST(role).toPromise();\n };\n return AdminRoleService;\n}());\nexports.AdminRoleService = AdminRoleService;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { from, Observable, throwError } from 'rxjs';\r\nimport { catchError, flatMap, map, take } from 'rxjs/operators';\r\nimport { LegacyService } from '../ajs-upgraded-providers';\r\nimport { SendTextWithUpgradeProposalResponse, TextableStatusModel, TextMessageDto, RoleDto } from '../generated/models';\r\nimport { RoleClientService } from '../generated/services';\r\n\r\n@Injectable()\r\nexport class AdminRoleService {\r\n constructor(@Inject(LegacyService) private legacyService,\r\n private roleClientService: RoleClientService) {\r\n }\r\n\r\n GetRoleOptions(): Promise {\r\n return this.roleClientService.GetRoleOptionsGET().toPromise();\r\n }\r\n\r\n GetRoleModuleAccess(roleId: number) {\r\n return this.roleClientService.GetRoleModuleAccessByRoleidGET(roleId).toPromise();\r\n }\r\n\r\n GetRoleAccessRights(roleId: number) {\r\n return this.roleClientService.GetRoleAccessRightsByRoleidGET(roleId).toPromise();\r\n }\r\n\r\n GetRoleAccessRightCategories() {\r\n return this.roleClientService.GetRoleAccessRightCategoriesGET().toPromise();\r\n }\r\n\r\n GetRoleModuleCategories(roleId: number) {\r\n return this.roleClientService.GetRoleModuleCategoriesByRoleidGET(roleId).toPromise();\r\n }\r\n\r\n RoleAccessUpdate(roleId: number, moduleIdList: any, accessRightIdList: any) {\r\n return this.roleClientService.RoleAccessUpdateByRoleidGET({ roleId: roleId, moduleIdList: moduleIdList, accessRightIdList: accessRightIdList }).toPromise();\r\n }\r\n\r\n RoleSave(role: RoleDto) {\r\n return this.roleClientService.AddEditRolePOST(role).toPromise();\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","module.exports = \"\"","var path = '/app/components/dashboard/dashboard-widget.component.html';\nvar html = \"
{{$ctrl.widgetTitleKey | translate}} 0\\\" translate=\\\"lastRun\\\" translate-value-date=\\\"{{$ctrl.runDate | localeDate}}\\\"> {{'ViewAllDashboardWidgets' | translate}}
0\\\">
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar platform_browser_1 = require(\"@angular/platform-browser\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar jquery_1 = __importDefault(require(\"jquery\"));\nvar moment_1 = __importDefault(require(\"moment\"));\nvar rxjs_1 = require(\"rxjs\");\nvar operators_1 = require(\"rxjs/operators\");\nvar user_service_1 = require(\"../../../services/user.service\");\nvar toaster_logger_service_1 = require(\"../../../core/toaster-logger.service\");\nvar modules_1 = require(\"../../../constants/modules\");\nvar text_message_service_1 = require(\"../../../services/text-message.service\");\nvar locale_date_time_pipe_1 = require(\"../../../filters/locale-date-time.pipe\");\nvar notification_message_interface_1 = require(\"../../../interfaces/notification-message.interface\");\nvar constants_1 = require(\"../../../constants\");\nvar notification_service_1 = require(\"../../../services/notification.service\");\nvar authorization_service_1 = require(\"../../../services/authorization.service\");\nvar TextActionComponent = /** @class */ (function () {\n function TextActionComponent(domSanitizer, userService, logger, notificationService, authorizationService, renderer, textMessageService, translateService, localeDateTimePipe, changeDetectorRef, document, eulaModalService) {\n var _this = this;\n this.domSanitizer = domSanitizer;\n this.userService = userService;\n this.logger = logger;\n this.notificationService = notificationService;\n this.authorizationService = authorizationService;\n this.renderer = renderer;\n this.textMessageService = textMessageService;\n this.translateService = translateService;\n this.localeDateTimePipe = localeDateTimePipe;\n this.changeDetectorRef = changeDetectorRef;\n this.document = document;\n this.eulaModalService = eulaModalService;\n this.cultureName = 'en-us';\n this.textModalSelector = '#textModal';\n this.noUserNumberModal = '#noUserNumberModal';\n this.filteredMessagesModified = false;\n this.modalClosedSubject = new rxjs_1.Subject();\n this.upgradeProosalLinkPlaceholder = '[Upgrade Proposal Link]';\n this.subscriptionAggregator = new rxjs_1.Subscription();\n this.authorizationKeys = constants_1.AuthorizationKeys;\n this.eulaStatusTypes = constants_1.EulaStatusTypes;\n this.nestedModalBackdropZindex = 1060;\n this.saleTypes = constants_1.SaleTypes;\n this.last6Months = 'Last6Mon';\n this.lastMonth = 'LastMon';\n this.lastYear = 'LastYear';\n this.allTexts = 'AllTexts';\n this.sales = 'text_sales';\n this.service = 'text_service';\n this.translationKeys = [\n this.last6Months,\n this.lastMonth,\n this.lastYear,\n this.allTexts,\n this.sales,\n this.service\n ];\n this.translations = {};\n this.textMessages = [];\n this.filteredMessages = [];\n this.dateRangeOptions = [];\n this.newTextMessageValue = '';\n this.timeSpanToDisplay = this.last6Months;\n this.modules = modules_1.Modules;\n this.isTextable = false;\n this.authorizedKeys = {};\n this.selectedType = this.authorizationKeys.SendTextSales;\n this.isShortcutButton = false;\n this.latestNotificationObservable = null;\n this.translateService.get(this.translationKeys)\n .subscribe(function (translations) {\n _this.translations = translations;\n _this.dateRangeOptions = [\n { value: _this.last6Months, text: _this.translations.Last6Mon },\n { value: _this.lastMonth, text: _this.translations.LastMon },\n { value: _this.lastYear, text: _this.translations.LastYear },\n { value: _this.allTexts, text: _this.translations.AllTexts },\n ];\n });\n }\n TextActionComponent.prototype.handleNotification = function (message) {\n var _this = this;\n if (message.eventType === notification_message_interface_1.EventType.engagement &&\n message.data && message.data.type === notification_message_interface_1.EngagementEventTypeEnum.textMessageReplied &&\n message.data.customerID && message.data.customerID === this.opportunity.customer.id) {\n var lastMessage = this.textMessages[this.textMessages.length - 1];\n var lastMessageId = (lastMessage) ? lastMessage.messageId : undefined;\n var obs = this.textMessageService.getHistoryByCustomerId(this.opportunity.customer.id, lastMessageId);\n // Concatenate all observables so that rapid fire notifications will queue up\n if (this.latestNotificationObservable) {\n this.latestNotificationObservable = rxjs_1.concat(obs);\n }\n else {\n this.latestNotificationObservable = obs;\n }\n var sub = this.latestNotificationObservable.subscribe(function (newMessages) {\n var messagesToBeAppended = [];\n // only add messages that we don't already have. We need to do this because there is a chance\n // we get duplicate pubnub notifications or multiple notifications that come quick enough before\n // the api call finishes\n var currentLastMessage = _this.textMessages[_this.textMessages.length - 1];\n var currentLastMessageId = (currentLastMessage) ? currentLastMessage.messageId : undefined;\n for (var index = 0; index < newMessages.length; index++) {\n if (newMessages[index].messageId > currentLastMessageId) {\n messagesToBeAppended.push(newMessages[index]);\n }\n }\n var mappedMessages = _this.mapServiceResults(messagesToBeAppended);\n _this.textMessages = _this.textMessages.concat(mappedMessages);\n _this.filterMessages();\n });\n this.subscriptionAggregator.add(sub);\n }\n };\n TextActionComponent.prototype.ngOnInit = function () {\n this.authorizedKeys[this.authorizationKeys.SendTextSales] = this.authorizationService.isAuthorized(this.authorizationKeys.SendTextSales);\n this.authorizedKeys[this.authorizationKeys.SendTextService] = this.authorizationService.isAuthorized(this.authorizationKeys.SendTextService);\n // Default the initial selection. If they have both permisions they go to sales\n if (this.authorizedKeys[this.authorizationKeys.SendTextService]) {\n this.selectedType = this.authorizationKeys.SendTextService;\n }\n if (this.authorizedKeys[this.authorizationKeys.SendTextSales]) {\n this.selectedType = this.authorizationKeys.SendTextSales;\n }\n };\n TextActionComponent.prototype.ngOnChanges = function (changes) {\n var _this = this;\n if ((changes.isCustomerConnectOpen || changes.isTextingEnabled) && this.isCustomerConnectOpen && this.isTextingEnabled) {\n this.refreshTextableStatus();\n this.userService.getUserProfile()\n .then(function (userProfile) {\n _this.cultureName = userProfile.cultureName ? userProfile.cultureName : 'en-us';\n _this.cultureName = _this.cultureName.toLowerCase();\n _this.userProfile = userProfile;\n });\n var translatedLinkText = this.translateService.instant('upgradeProposalLinkPlaceholder');\n this.upgradeProosalLinkPlaceholder = \"[\" + translatedLinkText + \"]\";\n }\n if (changes.opportunity && changes.opportunity.firstChange) {\n this.refreshTextableStatus();\n }\n };\n TextActionComponent.prototype.ngOnDestroy = function () {\n //$(this.textModalSelector).remove();\n jquery_1.default(this.noUserNumberModal).remove();\n this.subscriptionAggregator.unsubscribe();\n };\n TextActionComponent.prototype.ngAfterViewChecked = function () {\n if (this.filteredMessagesModified &&\n this.modalBodyElement.nativeElement.scrollTop !== this.modalBodyElement.nativeElement.scrollHeight) {\n // Scroll the modal body to the bottom\n this.renderer.setProperty(this.modalBodyElement.nativeElement, 'scrollTop', this.modalBodyElement.nativeElement.scrollHeight);\n this.filteredMessagesModified = false;\n }\n };\n TextActionComponent.prototype.getSanitizedAvatar = function (message) {\n if (!message) {\n throw new Error('No message passed to getSanitizedAvatar');\n }\n return (message.userAvatarUrl) ? this.domSanitizer.bypassSecurityTrustStyle('url(' + message.userAvatarUrl + ')') : '';\n };\n TextActionComponent.prototype.insertUpgradeProposalLink = function () {\n if (!this.authorizedKeys[this.selectedType]) {\n return;\n }\n // The trailing space after the placeholder is important so that we can easily find the link in the future and replace it with a anchor tag\n // don't remove it\n this.newTextMessageValue = this.newTextMessageValue + \" \" + this.upgradeProosalLinkPlaceholder + \" \";\n };\n TextActionComponent.prototype.getNewTextMessagePlaceholder = function () {\n if (!this.authorizedKeys[this.selectedType]) {\n var alternateView = this.selectedType === this.authorizationKeys.SendTextSales ? this.translations.text_service : this.translations.text_sales;\n return this.translateService.instant('text_switch_conversation', { viewType: alternateView });\n }\n else {\n return this.translateService.instant('enterTextMessage');\n }\n };\n TextActionComponent.prototype.openDialog = function () {\n var _this = this;\n var validateUserNumberAndOpenDialog = function () {\n _this.textMessageService.isUserNumberTextable()\n .subscribe(function (isTextable) {\n if (!isTextable) {\n var noUserNumberModal = jquery_1.default(_this.noUserNumberModal);\n noUserNumberModal.modal({ show: true, backdrop: true });\n noUserNumberModal.appendTo('body');\n noUserNumberModal.on('hidden.bs.modal', function () { return _this.handleStackedDialogClose(); });\n return;\n }\n else {\n _this.openTextingDialog();\n }\n });\n };\n if (this.opportunity.customer.doNotText) {\n this.logger.warning('Customer has requested not to be sent any texts.');\n return;\n }\n if (!this.opportunity.customer.cellPhoneNumber ||\n !this.opportunity.customer.cellPhoneNumber.value ||\n !(this.opportunity.customer.cellPhoneNumber.value.length > 0) ||\n this.opportunity.customer.cellPhoneNumber.isBad) {\n this.logger.warning(this.translateService.instant('textMessageNoCustomerCellNumber'));\n return;\n }\n if (this.textableStatus.eulaStatus &&\n this.textableStatus.eulaStatus !== this.eulaStatusTypes.fullyAccepted) {\n this.eulaModalService.validateEula()\n .then(function (result) {\n if (!result) {\n _this.logger.warning('caslNotAccepted');\n return;\n }\n validateUserNumberAndOpenDialog();\n });\n }\n else {\n validateUserNumberAndOpenDialog();\n }\n };\n TextActionComponent.prototype.continueUserNumberConfirmation = function () {\n this.openTextingDialog();\n };\n TextActionComponent.prototype.openTextingDialog = function () {\n var _this = this;\n this.textMessages = [];\n this.filteredMessages = [];\n if (this.modalClosedSubject && !this.modalClosedSubject.isStopped) {\n this.modalClosedSubject.next(true);\n this.modalClosedSubject.unsubscribe();\n }\n this.modalClosedSubject = new rxjs_1.Subject();\n this.busy = this.getMessageHistory()\n .subscribe(function () {\n jquery_1.default(_this.textModalSelector).modal({ show: true, backdrop: true });\n // Bootstrap recommends that all of their modals be appended to the top level of the body\n // (see https://getbootstrap.com/docs/3.3/javascript/#modals)\n // Here I am using jquery to move my component modal html to the body tag. In ngOnDestroy I remove it from the body tag\n //$(this.textModalSelector).appendTo('body');\n //const modalBackdrop = this.document.querySelector('.modal-backdrop.in');\n //this.originalBackdropZindex = modalBackdrop.style['z-index'];\n //modalBackdrop.style['z-index'] = this.nestedModalBackdropZindex;\n });\n this.subscriptionAggregator.add(this.busy);\n this.notificationSubscription = this.notificationService.message$.subscribe(function (message) {\n _this.handleNotification(message);\n });\n this.subscriptionAggregator.add(this.notificationSubscription);\n jquery_1.default(this.textModalSelector).on('hidden.bs.modal', function () { return _this.handleModalClosed(); });\n };\n TextActionComponent.prototype.shouldDisplayDateLine = function (currentTextMessageIndex) {\n if (currentTextMessageIndex === 0) {\n return true;\n }\n var currentMessageSentDate = moment_1.default(this.filteredMessages[currentTextMessageIndex].sentDateTime);\n var prevousMessageSentDate = this.filteredMessages[currentTextMessageIndex - 1].sentDateTime;\n return moment_1.default(currentMessageSentDate).isAfter(prevousMessageSentDate, 'day');\n };\n TextActionComponent.prototype.shouldDisplayUpgradeProposalLink = function () {\n return (this.opportunity && this.opportunity.currentContract && this.opportunity.currentContract.saleType !== this.saleTypes.balloon);\n };\n TextActionComponent.prototype.getDisplayDate = function (date) {\n if (moment_1.default(new Date(date)).isSame(new Date(), 'day')) {\n return 'Today';\n }\n if (moment_1.default(new Date(date)).isSame(moment_1.default(new Date()).subtract(1, 'day'), 'day')) {\n return 'Yesterday';\n }\n return new Date(date).toLocaleDateString(this.cultureName, { year: 'numeric', month: 'long', day: 'numeric' });\n };\n TextActionComponent.prototype.getMessageFooter = function (message) {\n if (!message) {\n throw new Error('No message passed to getMessageFooter in TextActionComponent');\n }\n var formattedTime = new Date(message.sentDateTime).toLocaleTimeString(this.cultureName, { hour: 'numeric', minute: 'numeric' });\n // If its from us and its not from the current user then display the name of the user who sent it\n var userName = (message.outgoing &&\n message.userId !== this.userProfile.userId) ? message.userFirstName + \" \" + message.userLastName + \" - \" : '';\n return \"\" + userName + formattedTime;\n };\n TextActionComponent.prototype.sendMessage = function (message) {\n // TODO need a way to get user avatar if this is the first message\n var _this = this;\n if (!message || message.trim() === '') {\n return;\n }\n var newMessage = {};\n newMessage = {\n userAvatarUrl: null,\n customerId: this.opportunity.customer.id,\n entityId: this.opportunity.id,\n userFirstName: this.userProfile.firstName,\n userLastName: this.userProfile.lastName,\n message: message,\n cleanedMessage: message,\n sentDateTime: new Date().toISOString(),\n userId: this.userProfile.userId,\n messageId: -1,\n dealerId: this.opportunity.dealerId,\n accountSid: '',\n smsSid: '',\n customerPhone: this.opportunity.customer.cellPhoneNumber.value,\n outgoing: true,\n displayDate: this.getDisplayDate(new Date().toISOString()),\n messageFooter: '',\n customerFirstName: '',\n customerLastName: '',\n activityId: -1,\n isTextable: true,\n dealerPhoneAccessRightID: this.selectedType,\n hasUpgradeProposalLink: false\n };\n newMessage.messageFooter = this.getMessageFooter(newMessage);\n if (message.indexOf(this.upgradeProosalLinkPlaceholder) > 0) {\n newMessage.hasUpgradeProposalLink = true;\n this.busy = this.textMessageService.sendTextWithUpgradeProposal(__assign({}, newMessage), this.opportunity)\n .subscribe(function (response) {\n response.textResponse.activityId = response.proposalResponse.activityId;\n _this.handleSendMessageResponse(newMessage, response.textResponse);\n });\n }\n else {\n this.busy = this.textMessageService.sendText(__assign({}, newMessage))\n .subscribe(function (textMessage) {\n _this.handleSendMessageResponse(newMessage, textMessage);\n });\n }\n };\n TextActionComponent.prototype.handleSendMessageResponse = function (messageRequest, messageResponse) {\n if (!messageResponse.isTextable) {\n this.logger.warning(this.translateService.instant('textMessageCustomerStatusMayHaveChanged'));\n jquery_1.default(this.textModalSelector).modal('hide');\n this.refreshTextableStatus();\n return;\n }\n var newMessageResponse = messageRequest;\n newMessageResponse.message = messageResponse.message.replace(/\\n\\r?/g, '
');\n if (messageResponse.activityId > 0) {\n var cleanedMessage = text_message_service_1.TextMessageService.replaceUrlStringWithHtmlLink(messageResponse.message, true);\n newMessageResponse.cleanedMessage = this.domSanitizer.bypassSecurityTrustHtml(cleanedMessage);\n }\n newMessageResponse.activityId = messageResponse.activityId;\n newMessageResponse.messageFooter = messageRequest.messageFooter;\n newMessageResponse.displayDate = messageRequest.displayDate;\n newMessageResponse.isTextable = messageResponse.isTextable;\n newMessageResponse.messageId = messageResponse.messageId;\n newMessageResponse.dealerPhoneAccessRightID = messageResponse.dealerPhoneAccessRightID;\n this.textMessages.push(newMessageResponse);\n this.filterMessages();\n this.newTextMessageValue = '';\n };\n TextActionComponent.prototype.getMaxRows = function (currentMessage) {\n var maxRows = 10;\n var columns = 60;\n var arrayOfLines = currentMessage.split('\\n');\n var rows = arrayOfLines.length;\n for (var i = 0; i < arrayOfLines.length; i++) {\n rows += Math.floor((arrayOfLines[i].length / columns));\n if (rows < 2) {\n rows = 2;\n }\n }\n return (rows > maxRows) ? maxRows : rows;\n };\n TextActionComponent.prototype.timeSpanChanged = function (timeSpanToDisplay) {\n this.timeSpanToDisplay = timeSpanToDisplay;\n this.filterMessages();\n };\n TextActionComponent.prototype.toggleSalesServiceSelection = function (type) {\n this.selectedType = type;\n this.filterMessages();\n };\n TextActionComponent.prototype.getMessageHistory = function () {\n var _this = this;\n return this.textMessageService.getHistory(this.opportunity)\n .pipe(operators_1.map(function (messages) {\n _this.textMessages = _this.mapServiceResults(messages);\n _this.filterMessages();\n }));\n };\n TextActionComponent.prototype.refreshTextableStatus = function () {\n var _this = this;\n if (this.opportunity) {\n var sub = this.textMessageService.getTextableStatus(this.opportunity.customer, this.opportunity.dealerId)\n .subscribe(function (textableStatus) {\n _this.updateTextableStatus(textableStatus);\n });\n this.subscriptionAggregator.add(sub);\n }\n };\n TextActionComponent.prototype.updateTextableStatus = function (textableStatus) {\n var _this = this;\n this.tooltip = '';\n this.isTextable = textableStatus.isTextable;\n this.textableStatus = textableStatus;\n var appendToTooltip = function (toolTipTranslationKey, substitutionOptions) {\n var toolTipLineBreak = '\\u000A';\n if (_this.tooltip.length > 0) {\n _this.tooltip += toolTipLineBreak;\n }\n _this.tooltip = _this.translateService.instant(toolTipTranslationKey, substitutionOptions);\n };\n if (textableStatus.isTextable) {\n if (textableStatus.consentDateTime) {\n appendToTooltip('textMessageOptInStatus', { consentDateTime: this.localeDateTimePipe.transform(textableStatus.consentDateTime) });\n }\n else {\n if (textableStatus.hasValidTouchpoint) {\n appendToTooltip('textMessageHasValidTouchpoint', { touchpointDate: this.localeDateTimePipe.transform(textableStatus.touchpointDate) });\n }\n else {\n appendToTooltip('textMessageDealerNumberProvisionedTooltip', { dealerNumberProvisionedDate: this.localeDateTimePipe.transform(textableStatus.dealerNumberProvisionedDate) });\n }\n }\n }\n else {\n if (textableStatus.consentNotGranted) {\n // This will be null if they opted out so specifically checking for false here\n if (textableStatus.hasValidTouchpoint === false) {\n appendToTooltip('textMessageCustomerHasNotConsented');\n }\n else {\n appendToTooltip('textMessageCustomerOptOutTooltip', { consentDateTime: this.localeDateTimePipe.transform(textableStatus.consentDateTime) });\n }\n }\n else {\n if (!textableStatus.hasContactInfo) {\n appendToTooltip('textMessageNoContactInfo');\n }\n if (textableStatus.noCustomerCellNumber) {\n appendToTooltip('textMessageNoCustomerCellNumber');\n }\n else if (textableStatus.invalidCustomerNumber) {\n appendToTooltip('textMessageNumberInvalidTooltip');\n }\n }\n if (textableStatus.outsideTextingHours) {\n appendToTooltip('textMessageBusinessHoursTooltip');\n }\n if (this.tooltip.length === 0) {\n appendToTooltip('textNumbersNotProvisioned');\n }\n }\n this.changeDetectorRef.detectChanges();\n };\n TextActionComponent.prototype.handleModalClosed = function () {\n if (!this.modalClosedSubject.isStopped) {\n this.modalClosedSubject.next(true);\n this.modalClosedSubject.unsubscribe();\n }\n this.notificationSubscription.unsubscribe();\n this.handleStackedDialogClose();\n };\n TextActionComponent.prototype.handleStackedDialogClose = function () {\n // Hack because closing a stacked modal removes the modal-open class from all open modals\n // Components should not be modifying dom outside of themselves this is a hack\n if (document.querySelector('body > .modal')) {\n document.body.classList.add('modal-open');\n }\n var modalBackdrop = this.document.querySelector('.modal-backdrop.in');\n if (modalBackdrop) {\n modalBackdrop.style['z-index'] = this.originalBackdropZindex;\n }\n };\n TextActionComponent.prototype.mapServiceResults = function (messages) {\n var _this = this;\n var textMessages = messages;\n textMessages.forEach(function (m) {\n m.displayDate = _this.getDisplayDate(m.sentDateTime);\n m.messageFooter = _this.getMessageFooter(m);\n m.cleanedMessage = m.message;\n // Limit skipping sanitization for only outgoing messages.\n if (m.outgoing) {\n m.cleanedMessage = _this.domSanitizer.bypassSecurityTrustHtml(text_message_service_1.TextMessageService.replaceUrlStringWithHtmlLink(m.message, true));\n }\n });\n return textMessages;\n };\n TextActionComponent.prototype.filterMessages = function () {\n var _this = this;\n if (!this.textMessages || this.textMessages.length === 0) {\n return;\n }\n var fromDate = this.getFromDateFromTimespan();\n this.filteredMessagesModified = true;\n this.filteredMessages = this.textMessages.filter(function (message) {\n return moment_1.default(message.sentDateTime).isAfter(fromDate) && message.dealerPhoneAccessRightID === _this.selectedType;\n });\n };\n TextActionComponent.prototype.getFromDateFromTimespan = function () {\n switch (this.timeSpanToDisplay) {\n case this.lastMonth:\n return moment_1.default().subtract(30, 'day').toDate();\n case this.last6Months:\n return moment_1.default().subtract(180, 'day').toDate();\n case this.lastYear:\n return moment_1.default().subtract(365, 'day').toDate();\n case this.allTexts:\n return new Date(1900, 1, 1);\n }\n };\n return TextActionComponent;\n}());\nexports.TextActionComponent = TextActionComponent;\n","import {\r\n AfterViewChecked, Component, ElementRef, Inject, Input, OnDestroy,\r\n Renderer2, ViewChild, OnChanges, SimpleChanges, OnInit, ChangeDetectorRef\r\n} from '@angular/core';\r\nimport { DomSanitizer, SafeStyle } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport $ from 'jquery';\r\nimport moment from 'moment';\r\nimport { Observable, Subject, Subscription, concat } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { UserService } from '../../../services/user.service';\r\nimport { ToasterLoggerService as LoggerService } from '../../../core/toaster-logger.service';\r\n\r\nimport { Modules } from '../../../constants/modules';\r\nimport { UserProfile } from '../../../interfaces/user-profile.interface';\r\nimport { TextMessageService } from '../../../services/text-message.service';\r\nimport { TextMessageUI } from './text-message-ui.interface';\r\nimport { SelectOption } from '../../../interfaces/select-option.interface';\r\nimport { LocaleDateTimePipe } from '../../../filters/locale-date-time.pipe';\r\nimport { NotificationMessage, EventType, EngagementEventTypeEnum } from '../../../interfaces/notification-message.interface';\r\nimport { TextMessageDto, TextableStatusModel } from '../../../generated/models';\r\nimport { AuthorizationKeys, EulaStatusTypes, SaleTypes } from '../../../constants';\r\nimport { NotificationService } from '../../../services/notification.service';\r\nimport { AuthorizationService } from '../../../services/authorization.service';\r\nimport { EulaModalService } from '../../../ajs-upgraded-providers';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { DealSheetOpportunity } from '../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\n\r\n@Component({\r\n selector: 'text-action',\r\n templateUrl: './text-action.component-ng.html',\r\n styleUrls: ['./text-action.component-ng.scss']\r\n})\r\nexport class TextActionComponent implements OnChanges, OnDestroy, AfterViewChecked, OnInit {\r\n private cultureName = 'en-us';\r\n private readonly textModalSelector = '#textModal';\r\n private readonly noUserNumberModal = '#noUserNumberModal';\r\n private filteredMessagesModified = false;\r\n private userProfile: UserProfile;\r\n private modalClosedSubject = new Subject();\r\n private upgradeProosalLinkPlaceholder = '[Upgrade Proposal Link]';\r\n private notificationSubscription: Subscription;\r\n private subscriptionAggregator = new Subscription();\r\n private authorizationKeys = AuthorizationKeys;\r\n private eulaStatusTypes = EulaStatusTypes;\r\n private originalBackdropZindex: number;\r\n private readonly nestedModalBackdropZindex = 1060;\r\n private textableStatus: TextableStatusModel;\r\n private saleTypes = SaleTypes;\r\n public readonly last6Months = 'Last6Mon';\r\n public readonly lastMonth = 'LastMon';\r\n public readonly lastYear = 'LastYear';\r\n public readonly allTexts = 'AllTexts';\r\n private readonly sales = 'text_sales';\r\n private readonly service = 'text_service';\r\n private readonly translationKeys = [\r\n this.last6Months,\r\n this.lastMonth,\r\n this.lastYear,\r\n this.allTexts,\r\n this.sales,\r\n this.service\r\n ];\r\n private translations: any = {};\r\n\r\n public textMessages: TextMessageUI[] = [];\r\n public filteredMessages: TextMessageUI[] = [];\r\n public dateRangeOptions: SelectOption[] = [];\r\n public newTextMessageValue = '';\r\n public busy: Subscription;\r\n public timeSpanToDisplay = this.last6Months;\r\n public modules = Modules;\r\n public isTextable = false;\r\n public tooltip: string;\r\n public authorizedKeys = {};\r\n public selectedType = this.authorizationKeys.SendTextSales;\r\n\r\n @Input() opportunity: DealSheetOpportunity;\r\n @Input() isTextingEnabled: string;\r\n @Input() isCustomerConnectOpen: boolean;\r\n @Input() isShortcutButton = false;\r\n @ViewChild('modalBody', { static: false }) modalBodyElement: ElementRef;\r\n @ViewChild('newTextMessage', { static: false }) newTextMessageElement: ElementRef;\r\n\r\n constructor(private domSanitizer: DomSanitizer,\r\n private userService: UserService,\r\n private logger: LoggerService,\r\n private notificationService: NotificationService,\r\n private authorizationService: AuthorizationService,\r\n private renderer: Renderer2,\r\n private textMessageService: TextMessageService,\r\n private translateService: TranslateService,\r\n private localeDateTimePipe: LocaleDateTimePipe,\r\n private changeDetectorRef: ChangeDetectorRef,\r\n @Inject(DOCUMENT) private document,\r\n @Inject(EulaModalService) private eulaModalService) {\r\n\r\n this.translateService.get(this.translationKeys)\r\n .subscribe(translations => {\r\n this.translations = translations;\r\n this.dateRangeOptions = [\r\n { value: this.last6Months, text: this.translations.Last6Mon },\r\n { value: this.lastMonth, text: this.translations.LastMon },\r\n { value: this.lastYear, text: this.translations.LastYear },\r\n { value: this.allTexts, text: this.translations.AllTexts },\r\n ]\r\n });\r\n }\r\n\r\n private latestNotificationObservable: Observable = null;\r\n private handleNotification(message: NotificationMessage) {\r\n\r\n if (message.eventType === EventType.engagement &&\r\n message.data && message.data.type === EngagementEventTypeEnum.textMessageReplied &&\r\n message.data.customerID && message.data.customerID === this.opportunity.customer.id) {\r\n\r\n const lastMessage = this.textMessages[this.textMessages.length - 1];\r\n const lastMessageId = (lastMessage) ? lastMessage.messageId : undefined;\r\n\r\n const obs = this.textMessageService.getHistoryByCustomerId(this.opportunity.customer.id, lastMessageId);\r\n\r\n // Concatenate all observables so that rapid fire notifications will queue up\r\n if (this.latestNotificationObservable) {\r\n this.latestNotificationObservable = concat(obs);\r\n } else {\r\n this.latestNotificationObservable = obs;\r\n }\r\n const sub = this.latestNotificationObservable.subscribe(newMessages => {\r\n const messagesToBeAppended: TextMessageDto[] = [];\r\n\r\n // only add messages that we don't already have. We need to do this because there is a chance\r\n // we get duplicate pubnub notifications or multiple notifications that come quick enough before\r\n // the api call finishes\r\n\r\n const currentLastMessage = this.textMessages[this.textMessages.length - 1];\r\n const currentLastMessageId = (currentLastMessage) ? currentLastMessage.messageId : undefined;\r\n for (let index = 0; index < newMessages.length; index++) {\r\n if (newMessages[index].messageId > currentLastMessageId) {\r\n messagesToBeAppended.push(newMessages[index]);\r\n }\r\n }\r\n\r\n const mappedMessages = this.mapServiceResults(messagesToBeAppended);\r\n this.textMessages = this.textMessages.concat(mappedMessages);\r\n\r\n this.filterMessages();\r\n });\r\n\r\n this.subscriptionAggregator.add(sub);\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.authorizedKeys[this.authorizationKeys.SendTextSales] = this.authorizationService.isAuthorized(this.authorizationKeys.SendTextSales);\r\n this.authorizedKeys[this.authorizationKeys.SendTextService] = this.authorizationService.isAuthorized(this.authorizationKeys.SendTextService);\r\n\r\n // Default the initial selection. If they have both permisions they go to sales\r\n if (this.authorizedKeys[this.authorizationKeys.SendTextService]) { this.selectedType = this.authorizationKeys.SendTextService; }\r\n if (this.authorizedKeys[this.authorizationKeys.SendTextSales]) { this.selectedType = this.authorizationKeys.SendTextSales; }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if ((changes.isCustomerConnectOpen || changes.isTextingEnabled) && this.isCustomerConnectOpen && this.isTextingEnabled) {\r\n this.refreshTextableStatus();\r\n\r\n this.userService.getUserProfile()\r\n .then((userProfile: UserProfile) => {\r\n this.cultureName = userProfile.cultureName ? userProfile.cultureName : 'en-us';\r\n this.cultureName = this.cultureName.toLowerCase();\r\n\r\n this.userProfile = userProfile;\r\n });\r\n\r\n const translatedLinkText = this.translateService.instant('upgradeProposalLinkPlaceholder');\r\n this.upgradeProosalLinkPlaceholder = `[${translatedLinkText}]`;\r\n }\r\n\r\n if (changes.opportunity && changes.opportunity.firstChange) {\r\n this.refreshTextableStatus();\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n //$(this.textModalSelector).remove();\r\n $(this.noUserNumberModal).remove();\r\n\r\n this.subscriptionAggregator.unsubscribe();\r\n }\r\n\r\n ngAfterViewChecked(): void {\r\n if (this.filteredMessagesModified &&\r\n this.modalBodyElement.nativeElement.scrollTop !== this.modalBodyElement.nativeElement.scrollHeight) {\r\n // Scroll the modal body to the bottom\r\n\r\n this.renderer.setProperty(this.modalBodyElement.nativeElement, 'scrollTop', this.modalBodyElement.nativeElement.scrollHeight);\r\n\r\n this.filteredMessagesModified = false;\r\n }\r\n }\r\n\r\n getSanitizedAvatar(message: TextMessageUI): SafeStyle {\r\n if (!message) { throw new Error('No message passed to getSanitizedAvatar'); }\r\n return (message.userAvatarUrl) ? this.domSanitizer.bypassSecurityTrustStyle('url(' + message.userAvatarUrl + ')') : '';\r\n }\r\n\r\n insertUpgradeProposalLink(): void {\r\n if (!this.authorizedKeys[this.selectedType]) { return; }\r\n // The trailing space after the placeholder is important so that we can easily find the link in the future and replace it with a anchor tag\r\n // don't remove it\r\n this.newTextMessageValue = `${this.newTextMessageValue} ${this.upgradeProosalLinkPlaceholder} `;\r\n }\r\n\r\n getNewTextMessagePlaceholder(): string {\r\n if (!this.authorizedKeys[this.selectedType]) {\r\n const alternateView = this.selectedType === this.authorizationKeys.SendTextSales ? this.translations.text_service : this.translations.text_sales;\r\n return this.translateService.instant('text_switch_conversation', { viewType: alternateView });\r\n } else {\r\n return this.translateService.instant('enterTextMessage');\r\n }\r\n }\r\n\r\n openDialog(): void {\r\n\r\n const validateUserNumberAndOpenDialog = () => {\r\n this.textMessageService.isUserNumberTextable()\r\n .subscribe(isTextable => {\r\n if (!isTextable) {\r\n const noUserNumberModal = $(this.noUserNumberModal);\r\n noUserNumberModal.modal({ show: true, backdrop: true });\r\n noUserNumberModal.appendTo('body');\r\n\r\n noUserNumberModal.on('hidden.bs.modal', () => this.handleStackedDialogClose());\r\n\r\n return;\r\n } else {\r\n this.openTextingDialog();\r\n }\r\n });\r\n };\r\n\r\n if (this.opportunity.customer.doNotText) {\r\n this.logger.warning('Customer has requested not to be sent any texts.');\r\n return;\r\n }\r\n\r\n if (!this.opportunity.customer.cellPhoneNumber ||\r\n !this.opportunity.customer.cellPhoneNumber.value ||\r\n !(this.opportunity.customer.cellPhoneNumber.value.length > 0) ||\r\n this.opportunity.customer.cellPhoneNumber.isBad) {\r\n\r\n this.logger.warning(this.translateService.instant('textMessageNoCustomerCellNumber'));\r\n return;\r\n }\r\n\r\n if (this.textableStatus.eulaStatus &&\r\n this.textableStatus.eulaStatus !== this.eulaStatusTypes.fullyAccepted) {\r\n this.eulaModalService.validateEula()\r\n .then((result: boolean) => {\r\n if (!result) {\r\n this.logger.warning('caslNotAccepted');\r\n return;\r\n }\r\n\r\n validateUserNumberAndOpenDialog();\r\n });\r\n } else {\r\n validateUserNumberAndOpenDialog();\r\n }\r\n }\r\n\r\n continueUserNumberConfirmation() {\r\n this.openTextingDialog();\r\n }\r\n\r\n private openTextingDialog() {\r\n this.textMessages = [];\r\n this.filteredMessages = [];\r\n\r\n if (this.modalClosedSubject && !this.modalClosedSubject.isStopped) {\r\n this.modalClosedSubject.next(true);\r\n this.modalClosedSubject.unsubscribe();\r\n }\r\n this.modalClosedSubject = new Subject();\r\n\r\n this.busy = this.getMessageHistory()\r\n .subscribe(() => {\r\n $(this.textModalSelector).modal({ show: true, backdrop: true });\r\n\r\n // Bootstrap recommends that all of their modals be appended to the top level of the body\r\n // (see https://getbootstrap.com/docs/3.3/javascript/#modals)\r\n // Here I am using jquery to move my component modal html to the body tag. In ngOnDestroy I remove it from the body tag\r\n //$(this.textModalSelector).appendTo('body');\r\n\r\n //const modalBackdrop = this.document.querySelector('.modal-backdrop.in');\r\n //this.originalBackdropZindex = modalBackdrop.style['z-index'];\r\n //modalBackdrop.style['z-index'] = this.nestedModalBackdropZindex;\r\n });\r\n\r\n this.subscriptionAggregator.add(this.busy);\r\n\r\n this.notificationSubscription = this.notificationService.message$.subscribe((message: NotificationMessage) => {\r\n this.handleNotification(message);\r\n });\r\n\r\n this.subscriptionAggregator.add(this.notificationSubscription);\r\n\r\n $(this.textModalSelector).on('hidden.bs.modal', () => this.handleModalClosed());\r\n }\r\n\r\n shouldDisplayDateLine(currentTextMessageIndex: number): boolean {\r\n if (currentTextMessageIndex === 0) { return true; }\r\n\r\n const currentMessageSentDate = moment(this.filteredMessages[currentTextMessageIndex].sentDateTime);\r\n const prevousMessageSentDate = this.filteredMessages[currentTextMessageIndex - 1].sentDateTime;\r\n\r\n return moment(currentMessageSentDate).isAfter(prevousMessageSentDate, 'day');\r\n }\r\n\r\n shouldDisplayUpgradeProposalLink(): boolean {\r\n return (this.opportunity && this.opportunity.currentContract && this.opportunity.currentContract.saleType !== this.saleTypes.balloon);\r\n }\r\n\r\n getDisplayDate(date: string): string {\r\n if (moment(new Date(date)).isSame(new Date(), 'day')) {\r\n return 'Today';\r\n }\r\n\r\n if (moment(new Date(date)).isSame(moment(new Date()).subtract(1, 'day'), 'day')) {\r\n return 'Yesterday';\r\n }\r\n\r\n return new Date(date).toLocaleDateString(this.cultureName, { year: 'numeric', month: 'long', day: 'numeric' });\r\n }\r\n\r\n getMessageFooter(message: TextMessageUI): string {\r\n\r\n if (!message) {\r\n throw new Error('No message passed to getMessageFooter in TextActionComponent');\r\n }\r\n\r\n const formattedTime = new Date(message.sentDateTime).toLocaleTimeString(this.cultureName, { hour: 'numeric', minute: 'numeric' });\r\n\r\n // If its from us and its not from the current user then display the name of the user who sent it\r\n const userName = (message.outgoing &&\r\n message.userId !== this.userProfile.userId) ? `${message.userFirstName} ${message.userLastName} - ` : '';\r\n\r\n return `${userName}${formattedTime}`;\r\n }\r\n\r\n sendMessage(message: string) {\r\n // TODO need a way to get user avatar if this is the first message\r\n\r\n if (!message || message.trim() === '') { return; }\r\n\r\n let newMessage = {};\r\n newMessage = {\r\n userAvatarUrl: null,\r\n customerId: this.opportunity.customer.id,\r\n entityId: this.opportunity.id,\r\n userFirstName: this.userProfile.firstName,\r\n userLastName: this.userProfile.lastName,\r\n message: message,\r\n cleanedMessage: message,\r\n sentDateTime: new Date().toISOString(),\r\n userId: this.userProfile.userId,\r\n messageId: -1,\r\n dealerId: this.opportunity.dealerId,\r\n accountSid: '',\r\n smsSid: '',\r\n customerPhone: this.opportunity.customer.cellPhoneNumber.value,\r\n outgoing: true,\r\n displayDate: this.getDisplayDate(new Date().toISOString()),\r\n messageFooter: '',\r\n customerFirstName: '',\r\n customerLastName: '',\r\n activityId: -1,\r\n isTextable: true,\r\n dealerPhoneAccessRightID: this.selectedType,\r\n hasUpgradeProposalLink: false\r\n };\r\n\r\n newMessage.messageFooter = this.getMessageFooter(newMessage);\r\n\r\n if (message.indexOf(this.upgradeProosalLinkPlaceholder) > 0) {\r\n newMessage.hasUpgradeProposalLink = true;\r\n this.busy = this.textMessageService.sendTextWithUpgradeProposal({ ...newMessage }, this.opportunity)\r\n .subscribe((response) => {\r\n response.textResponse.activityId = response.proposalResponse.activityId;\r\n\r\n this.handleSendMessageResponse(newMessage, response.textResponse);\r\n });\r\n } else {\r\n this.busy = this.textMessageService.sendText({ ...newMessage })\r\n .subscribe((textMessage) => {\r\n this.handleSendMessageResponse(newMessage, textMessage);\r\n });\r\n }\r\n }\r\n\r\n private handleSendMessageResponse(messageRequest: TextMessageUI, messageResponse: TextMessageDto): void {\r\n\r\n if (!messageResponse.isTextable) {\r\n\r\n this.logger.warning(this.translateService.instant('textMessageCustomerStatusMayHaveChanged'));\r\n $(this.textModalSelector).modal('hide');\r\n this.refreshTextableStatus();\r\n return;\r\n }\r\n\r\n const newMessageResponse = messageRequest;\r\n\r\n newMessageResponse.message = messageResponse.message.replace(/\\n\\r?/g, '
');\r\n\r\n if (messageResponse.activityId > 0) {\r\n const cleanedMessage = TextMessageService.replaceUrlStringWithHtmlLink(messageResponse.message, true);\r\n newMessageResponse.cleanedMessage = this.domSanitizer.bypassSecurityTrustHtml(cleanedMessage);\r\n }\r\n\r\n newMessageResponse.activityId = messageResponse.activityId;\r\n newMessageResponse.messageFooter = messageRequest.messageFooter;\r\n newMessageResponse.displayDate = messageRequest.displayDate;\r\n newMessageResponse.isTextable = messageResponse.isTextable;\r\n newMessageResponse.messageId = messageResponse.messageId;\r\n newMessageResponse.dealerPhoneAccessRightID = messageResponse.dealerPhoneAccessRightID;\r\n\r\n this.textMessages.push(newMessageResponse);\r\n this.filterMessages();\r\n\r\n this.newTextMessageValue = '';\r\n }\r\n\r\n getMaxRows(currentMessage: string): number {\r\n const maxRows = 10;\r\n const columns = 60;\r\n const arrayOfLines = currentMessage.split('\\n');\r\n let rows = arrayOfLines.length;\r\n\r\n for (let i = 0; i < arrayOfLines.length; i++) {\r\n rows += Math.floor((arrayOfLines[i].length / columns));\r\n if (rows < 2) { rows = 2; }\r\n }\r\n\r\n return (rows > maxRows) ? maxRows : rows;\r\n }\r\n\r\n timeSpanChanged(timeSpanToDisplay: string): void {\r\n this.timeSpanToDisplay = timeSpanToDisplay;\r\n this.filterMessages();\r\n }\r\n\r\n toggleSalesServiceSelection(type: number) {\r\n this.selectedType = type;\r\n this.filterMessages();\r\n }\r\n\r\n getMessageHistory(): Observable {\r\n return this.textMessageService.getHistory(this.opportunity)\r\n .pipe(\r\n map(messages => {\r\n this.textMessages = this.mapServiceResults(messages);\r\n this.filterMessages();\r\n }));\r\n }\r\n\r\n refreshTextableStatus() {\r\n if (this.opportunity) {\r\n const sub = this.textMessageService.getTextableStatus(this.opportunity.customer, this.opportunity.dealerId)\r\n .subscribe(textableStatus => {\r\n this.updateTextableStatus(textableStatus);\r\n });\r\n this.subscriptionAggregator.add(sub);\r\n }\r\n }\r\n\r\n private updateTextableStatus(textableStatus: TextableStatusModel) {\r\n this.tooltip = '';\r\n this.isTextable = textableStatus.isTextable;\r\n this.textableStatus = textableStatus;\r\n\r\n const appendToTooltip = (toolTipTranslationKey: string, substitutionOptions?: object) => {\r\n const toolTipLineBreak = '\\u000A';\r\n if (this.tooltip.length > 0) {\r\n this.tooltip += toolTipLineBreak;\r\n }\r\n\r\n this.tooltip = this.translateService.instant(toolTipTranslationKey, substitutionOptions);\r\n };\r\n\r\n if (textableStatus.isTextable) {\r\n if (textableStatus.consentDateTime) {\r\n appendToTooltip('textMessageOptInStatus',\r\n { consentDateTime: this.localeDateTimePipe.transform(textableStatus.consentDateTime) });\r\n } else {\r\n if (textableStatus.hasValidTouchpoint) {\r\n appendToTooltip('textMessageHasValidTouchpoint',\r\n { touchpointDate: this.localeDateTimePipe.transform(textableStatus.touchpointDate) });\r\n } else {\r\n appendToTooltip('textMessageDealerNumberProvisionedTooltip',\r\n { dealerNumberProvisionedDate: this.localeDateTimePipe.transform(textableStatus.dealerNumberProvisionedDate) });\r\n }\r\n }\r\n } else {\r\n if (textableStatus.consentNotGranted) {\r\n // This will be null if they opted out so specifically checking for false here\r\n if (textableStatus.hasValidTouchpoint === false) {\r\n appendToTooltip('textMessageCustomerHasNotConsented');\r\n } else {\r\n appendToTooltip('textMessageCustomerOptOutTooltip',\r\n { consentDateTime: this.localeDateTimePipe.transform(textableStatus.consentDateTime) });\r\n }\r\n } else {\r\n if (!textableStatus.hasContactInfo) {\r\n appendToTooltip('textMessageNoContactInfo');\r\n }\r\n if (textableStatus.noCustomerCellNumber) {\r\n appendToTooltip('textMessageNoCustomerCellNumber');\r\n } else if (textableStatus.invalidCustomerNumber) {\r\n appendToTooltip('textMessageNumberInvalidTooltip');\r\n }\r\n }\r\n\r\n if (textableStatus.outsideTextingHours) {\r\n appendToTooltip('textMessageBusinessHoursTooltip');\r\n }\r\n\r\n if (this.tooltip.length === 0) {\r\n appendToTooltip('textNumbersNotProvisioned');\r\n }\r\n }\r\n\r\n this.changeDetectorRef.detectChanges();\r\n }\r\n\r\n private handleModalClosed() {\r\n if (!this.modalClosedSubject.isStopped) {\r\n this.modalClosedSubject.next(true);\r\n this.modalClosedSubject.unsubscribe();\r\n }\r\n\r\n this.notificationSubscription.unsubscribe();\r\n\r\n this.handleStackedDialogClose();\r\n }\r\n\r\n private handleStackedDialogClose() {\r\n // Hack because closing a stacked modal removes the modal-open class from all open modals\r\n // Components should not be modifying dom outside of themselves this is a hack\r\n if (document.querySelector('body > .modal')) {\r\n document.body.classList.add('modal-open');\r\n }\r\n\r\n const modalBackdrop = this.document.querySelector('.modal-backdrop.in');\r\n if (modalBackdrop) {\r\n modalBackdrop.style['z-index'] = this.originalBackdropZindex;\r\n }\r\n }\r\n\r\n private mapServiceResults(messages: TextMessageDto[]): TextMessageUI[] {\r\n const textMessages = messages as TextMessageUI[];\r\n\r\n textMessages.forEach(m => {\r\n m.displayDate = this.getDisplayDate(m.sentDateTime);\r\n m.messageFooter = this.getMessageFooter(m);\r\n m.cleanedMessage = m.message;\r\n // Limit skipping sanitization for only outgoing messages.\r\n if (m.outgoing) {\r\n m.cleanedMessage = this.domSanitizer.bypassSecurityTrustHtml(TextMessageService.replaceUrlStringWithHtmlLink(m.message, true));\r\n }\r\n });\r\n\r\n return textMessages;\r\n }\r\n\r\n private filterMessages() {\r\n if (!this.textMessages || this.textMessages.length === 0) { return; }\r\n\r\n const fromDate = this.getFromDateFromTimespan();\r\n this.filteredMessagesModified = true;\r\n this.filteredMessages = this.textMessages.filter(message => {\r\n return moment(message.sentDateTime).isAfter(fromDate) && message.dealerPhoneAccessRightID === this.selectedType;\r\n });\r\n }\r\n\r\n private getFromDateFromTimespan(): Date {\r\n switch (this.timeSpanToDisplay) {\r\n case this.lastMonth:\r\n return moment().subtract(30, 'day').toDate();\r\n case this.last6Months:\r\n return moment().subtract(180, 'day').toDate();\r\n case this.lastYear:\r\n return moment().subtract(365, 'day').toDate();\r\n case this.allTexts:\r\n return new Date(1900, 1, 1);\r\n }\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar customer_service_1 = require(\"../../../services/customer.service\");\nvar core_1 = require(\"@ngx-translate/core\");\nvar storage_service_1 = require(\"../../../modules/storage/storage.service\");\nvar constants_1 = require(\"../../../constants\");\nvar DoNotCallEmailComponent = /** @class */ (function () {\n function DoNotCallEmailComponent(customerService, translateService, storageService) {\n var _this = this;\n this.customerService = customerService;\n this.translateService = translateService;\n this.doNotCallType = 'donotcall';\n this.doNotEmailType = 'donotemail';\n this.selectTypeStep = 'SelectType';\n this.uploadFileStep = 'UploadFile';\n this.selectColumnStep = 'SelectColumn';\n this.confirmStep = 'ConfirmMatches';\n this.finishStep = 'FinishStep';\n this.okStep = 'OkStep';\n this.rowsSampleSize = 20;\n this.steps = [this.selectTypeStep, this.uploadFileStep, this.selectColumnStep, this.confirmStep, this.finishStep, this.okStep];\n this.currentStepIndex = 0;\n this.listOf = 'phone numbers';\n this.typeLabel = 'Do Not Call';\n this.matchedMessage = '';\n this.uploadMessage = '';\n this.nextLabelNext = 'Next';\n this.nextLabelFinish = 'Finish';\n this.nextLabelOk = 'OK';\n this.nextLabel = this.nextLabelNext;\n this.confirmList = {};\n this.typeSelected = this.doNotCallType;\n this.columnHoveredIndex = null;\n this.selectedColumnIndex = null;\n this.sampleSizeMessage = 'Only the first 20 are shown.';\n this.translationKeys = [\n 'doNotEmailCallColumnTooltip',\n 'doNotEmailCallMatchedRecords',\n 'doNotEmailCallListOfPhoneNumbers',\n 'doNotEmailCallListOfEmails',\n 'doNotEmailCallTypeLabelEmail',\n 'doNotEmailCallTypeLabelCall',\n 'doNotEmailCallFileError',\n 'doNotEmailCallNoItemsConfirmMessage',\n 'next',\n 'finish',\n 'ok',\n 'doNotEmailCallPageTitle',\n 'doNotCallEmailSelectFileTypeLabel',\n 'doNotCallEmailStep1Label',\n 'doNotCallEmailStep2Label',\n 'doNotCallEmailStep3Label',\n 'upload',\n 'doNotEmailCallColumnNameLabel',\n 'cancel',\n 'back'\n ];\n this.translations = {};\n this.hasDoNotCallModule = false;\n this.hasDoNotEmailModule = false;\n translateService.get(this.translationKeys)\n .subscribe(function (translations) {\n _this.translations = translations;\n _this.listOf = _this.translations.doNotEmailCallListOfPhoneNumbers;\n _this.typeLabel = _this.translations.doNotEmailCallTypeLabelCall;\n _this.nextLabelNext = _this.translations.next;\n _this.nextLabelFinish = _this.translations.finish;\n _this.nextLabelOk = _this.translations.ok;\n });\n var moduleIds = storageService.getItem('moduleIds');\n if (moduleIds) {\n this.hasDoNotCallModule = (moduleIds.indexOf(constants_1.Modules.doNotCall) > -1);\n this.hasDoNotEmailModule = (moduleIds.indexOf(constants_1.Modules.doNotEmail) > -1);\n }\n translateService.get('doNotEmailCallMatchedRecordsLimitedNumber', { limitedNumber: this.rowsSampleSize })\n .subscribe(function (sampleSizeTranslation) { _this.sampleSizeMessage = sampleSizeTranslation; });\n }\n DoNotCallEmailComponent.prototype.next = function () {\n if (this.currentStepIndex < this.steps.length - 1) {\n this.currentStepIndex++;\n this.handleNextStep();\n }\n };\n DoNotCallEmailComponent.prototype.back = function () {\n if (this.currentStepIndex > 0) {\n this.currentStepIndex--;\n this.handlePreviousStep();\n }\n };\n DoNotCallEmailComponent.prototype.cancel = function () {\n this.currentStepIndex = 0;\n this.handlePreviousStep();\n };\n DoNotCallEmailComponent.prototype.shouldDisplayCancelBackButton = function () {\n return (this.currentStepIndex > 0 && this.currentStepIndex < this.steps.length - 2);\n };\n DoNotCallEmailComponent.prototype.startColumnHover = function (columnIndex) {\n this.columnHoveredIndex = columnIndex;\n };\n DoNotCallEmailComponent.prototype.endColumnHover = function (columnIndex) {\n if (this.columnHoveredIndex === columnIndex) {\n this.columnHoveredIndex = null;\n }\n };\n DoNotCallEmailComponent.prototype.getColumnClass = function (columnIndex) {\n var style = '';\n if (this.selectedColumnIndex === columnIndex) {\n style = 'selected';\n }\n else if (this.columnHoveredIndex === columnIndex) {\n style = 'hover';\n }\n else {\n style = '';\n }\n return style;\n };\n DoNotCallEmailComponent.prototype.selectColumn = function (columnIndex) {\n this.selectedColumnIndex = columnIndex;\n };\n DoNotCallEmailComponent.prototype.selectType = function (type) {\n this.typeSelected = type;\n if (this.typeSelected === this.doNotEmailType) {\n this.listOf = this.translations.doNotEmailCallListOfEmails;\n this.typeLabel = this.translations.doNotEmailCallTypeLabelEmail;\n }\n else {\n this.listOf = this.translations.doNotEmailCallListOfPhoneNumbers;\n this.typeLabel = this.translations.doNotEmailCallTypeLabelCall;\n }\n };\n DoNotCallEmailComponent.prototype.upload = function (file) {\n var _this = this;\n this.fileName = file.name;\n var eightMB = 83886080;\n if ((file.name.lastIndexOf('.csv') < file.name.length - 5) ||\n (file.size > eightMB)) {\n this.errorMessage = this.translations.doNotEmailCallFileError;\n return;\n }\n else {\n this.errorMessage = '';\n }\n var reader = new FileReader();\n reader.readAsText(file);\n reader.onload = function () {\n var csv = reader.result;\n _this.parsedCsv = _this.parseCsv(csv);\n _this.next();\n var columnSelectMessageTranslationKey;\n // Since we only have one column we don't need the user to select it, go straight to uploading it\n if (_this.parsedCsv && _this.parsedCsv.length > 0 && _this.parsedCsv[0].length === 1) {\n columnSelectMessageTranslationKey = 'doNotEmailCallOneColumnMessage';\n _this.selectColumn(0);\n }\n else {\n columnSelectMessageTranslationKey = 'doNotEmailCallMultipleColumnMessage';\n }\n _this.matchedMessage = _this.translateService\n .instant('doNotEmailCallMatchedRecords', { numberOfMatches: _this.parsedCsv.length - 1 });\n if (_this.parsedCsv.length > _this.rowsSampleSize + 1) {\n _this.matchedMessage += ' ' + _this.sampleSizeMessage;\n }\n _this.columnSelectMessage = _this.translateService.instant(columnSelectMessageTranslationKey, { typeLabel: _this.typeLabel, type: _this.listOf });\n };\n };\n DoNotCallEmailComponent.prototype.getNextDisabledStatus = function () {\n if (this.steps[this.currentStepIndex] === this.selectColumnStep) {\n return (this.selectedColumnIndex === null);\n }\n if (this.steps[this.currentStepIndex] === this.uploadFileStep) {\n return (!this.parsedCsv || (this.parsedCsv && this.parsedCsv.length === 0));\n }\n if (this.steps[this.currentStepIndex] === this.confirmStep) {\n return (!this.confirmList || !this.confirmList.customerMatchCount || this.confirmList.customerMatchCount === 0);\n }\n return false;\n };\n DoNotCallEmailComponent.prototype.resetFileInfo = function () {\n if (this.selectTypeStep === this.steps[this.currentStepIndex]) {\n this.errorMessage = '';\n this.fileName = '';\n this.parsedCsv = [];\n this.selectedColumnIndex = null;\n this.confirmList = {};\n }\n };\n DoNotCallEmailComponent.prototype.handleNextStep = function () {\n if (this.steps[this.currentStepIndex] === this.uploadFileStep) {\n this.uploadMessage = this.translateService.instant('doNotCallEmailUploadMessage', { type: this.listOf, typeLabel: this.typeLabel });\n }\n if (this.steps[this.currentStepIndex] === this.confirmStep) {\n this.uploadSelectedColumn();\n }\n if (this.steps[this.currentStepIndex] === this.finishStep) {\n this.finish();\n }\n if (this.steps[this.currentStepIndex] === this.okStep) {\n this.nextLabel = this.nextLabelNext;\n this.cancel();\n }\n };\n DoNotCallEmailComponent.prototype.handlePreviousStep = function () {\n if (this.steps[this.currentStepIndex] === this.selectColumnStep) {\n this.confirmList = {};\n this.errorMessage = '';\n this.nextLabel = this.nextLabelNext;\n return;\n }\n if (this.steps[this.currentStepIndex] === this.uploadFileStep) {\n this.nextLabel = this.nextLabelNext;\n this.resetFileInfo();\n return;\n }\n if (this.steps[this.currentStepIndex] === this.selectTypeStep) {\n this.nextLabel = this.nextLabelNext;\n this.resetFileInfo();\n this.selectType((this.hasDoNotCallModule) ? this.doNotCallType : this.doNotEmailType);\n this.statusMessage = '';\n return;\n }\n };\n DoNotCallEmailComponent.prototype.uploadSelectedColumn = function () {\n var _this = this;\n var selectedValues = [];\n for (var _i = 0, _a = this.parsedCsv; _i < _a.length; _i++) {\n var row = _a[_i];\n selectedValues.push(row[this.selectedColumnIndex]);\n }\n var observable;\n if (this.typeSelected === this.doNotEmailType) {\n observable = this.customerService.stageDoNotEmailList(selectedValues);\n }\n else {\n observable = this.customerService.stageDoNotCallList(selectedValues);\n }\n this.busy = observable\n .subscribe(function (result) {\n _this.nextLabel = _this.nextLabelFinish;\n if (result.customerMatchCount === 0) {\n _this.confirmMessage = _this.translations.doNotEmailCallNoItemsConfirmMessage;\n _this.errorMessage = _this.translateService.instant('doNotEmailCallNoItemsErrorMessage', { type: _this.listOf });\n }\n else {\n _this.confirmMessage = _this.translateService\n .instant('doNotEmailCallMatchedConfirmMessage', { type: _this.listOf, finish: _this.nextLabelFinish, typeLabel: _this.typeLabel });\n _this.confirmList = result;\n _this.matchedMessage = _this.translateService\n .instant('doNotEmailCallMatchedRecords', { numberOfMatches: _this.confirmList.customerMatchCount });\n if (_this.confirmList.customerMatchCount > _this.rowsSampleSize) {\n _this.matchedMessage += ' ' + _this.sampleSizeMessage;\n }\n }\n });\n };\n DoNotCallEmailComponent.prototype.finish = function () {\n var _this = this;\n var observable;\n if (this.typeSelected === this.doNotEmailType) {\n observable = this.customerService.finishDoNotEmailList(this.confirmList.sessionID);\n }\n else {\n observable = this.customerService.finishDoNotCallList(this.confirmList.sessionID);\n }\n this.busy = observable\n .subscribe(function () {\n _this.nextLabel = _this.nextLabelOk;\n _this.statusMessage = _this.translateService.instant('doNotEmailCallFinishStatusMessage', { typeLabel: _this.typeLabel });\n });\n };\n DoNotCallEmailComponent.prototype.parseCsv = function (csv) {\n if (csv.length <= 0) {\n return [];\n }\n var lines = csv.split('\\n');\n var result = [];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n var columns = line.split(',');\n result.push(columns);\n }\n return result;\n };\n return DoNotCallEmailComponent;\n}());\nexports.DoNotCallEmailComponent = DoNotCallEmailComponent;\n","import { Component, OnInit } from '@angular/core';\r\nimport { DoNotCallStagingResponseDto, DoNotEmailStagingResponseDto } from '../../../generated/models';\r\nimport { CustomerService } from '../../../services/customer.service';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { StorageService } from '../../../modules/storage/storage.service';\r\nimport { Modules } from '../../../constants';\r\n\r\n@Component({\r\n selector: 'do-not-call-email',\r\n templateUrl: './do-not-call-email.component-ng.html',\r\n styleUrls: ['./do-not-call-email.component.scss']\r\n})\r\nexport class DoNotCallEmailComponent {\r\n public readonly doNotCallType = 'donotcall';\r\n public readonly doNotEmailType = 'donotemail';\r\n\r\n public readonly selectTypeStep = 'SelectType';\r\n public readonly uploadFileStep = 'UploadFile';\r\n public readonly selectColumnStep = 'SelectColumn';\r\n public readonly confirmStep = 'ConfirmMatches';\r\n public readonly finishStep = 'FinishStep';\r\n public readonly okStep = 'OkStep';\r\n\r\n public readonly rowsSampleSize = 20;\r\n\r\n public steps = [this.selectTypeStep, this.uploadFileStep, this.selectColumnStep, this.confirmStep, this.finishStep, this.okStep];\r\n\r\n public currentStepIndex = 0;\r\n public listOf = 'phone numbers';\r\n public typeLabel = 'Do Not Call';\r\n public matchedMessage = '';\r\n public uploadMessage = '';\r\n\r\n private nextLabelNext = 'Next';\r\n private nextLabelFinish = 'Finish';\r\n private nextLabelOk = 'OK';\r\n\r\n public nextLabel = this.nextLabelNext;\r\n public fileName: string;\r\n public errorMessage: string;\r\n public statusMessage: string;\r\n public parsedCsv: string[][];\r\n public columnSelectMessage: string;\r\n public confirmMessage: string;\r\n public confirmList: DoNotCallStagingResponseDto | DoNotEmailStagingResponseDto = {};\r\n public typeSelected = this.doNotCallType;\r\n public busy: Subscription;\r\n\r\n private columnHoveredIndex: number = null;\r\n private selectedColumnIndex: number = null;\r\n private sampleSizeMessage = 'Only the first 20 are shown.';\r\n\r\n private readonly translationKeys = [\r\n 'doNotEmailCallColumnTooltip',\r\n 'doNotEmailCallMatchedRecords',\r\n 'doNotEmailCallListOfPhoneNumbers',\r\n 'doNotEmailCallListOfEmails',\r\n 'doNotEmailCallTypeLabelEmail',\r\n 'doNotEmailCallTypeLabelCall',\r\n 'doNotEmailCallFileError',\r\n 'doNotEmailCallNoItemsConfirmMessage',\r\n 'next',\r\n 'finish',\r\n 'ok',\r\n 'doNotEmailCallPageTitle',\r\n 'doNotCallEmailSelectFileTypeLabel',\r\n 'doNotCallEmailStep1Label',\r\n 'doNotCallEmailStep2Label',\r\n 'doNotCallEmailStep3Label',\r\n 'upload',\r\n 'doNotEmailCallColumnNameLabel',\r\n 'cancel',\r\n 'back'\r\n ];\r\n public translations: any = {};\r\n public hasDoNotCallModule = false;\r\n public hasDoNotEmailModule = false;\r\n\r\n\r\n constructor(private customerService: CustomerService, private translateService: TranslateService, storageService: StorageService) {\r\n translateService.get(this.translationKeys)\r\n .subscribe(translations => {\r\n this.translations = translations;\r\n\r\n this.listOf = this.translations.doNotEmailCallListOfPhoneNumbers;\r\n this.typeLabel = this.translations.doNotEmailCallTypeLabelCall;\r\n\r\n this.nextLabelNext = this.translations.next;\r\n this.nextLabelFinish = this.translations.finish;\r\n this.nextLabelOk = this.translations.ok;\r\n });\r\n\r\n const moduleIds = storageService.getItem('moduleIds');\r\n if (moduleIds) {\r\n this.hasDoNotCallModule = (moduleIds.indexOf(Modules.doNotCall) > -1);\r\n this.hasDoNotEmailModule = (moduleIds.indexOf(Modules.doNotEmail) > -1);\r\n }\r\n\r\n translateService.get('doNotEmailCallMatchedRecordsLimitedNumber', {limitedNumber: this.rowsSampleSize})\r\n .subscribe(sampleSizeTranslation => {this.sampleSizeMessage = sampleSizeTranslation; });\r\n }\r\n\r\n next() {\r\n if (this.currentStepIndex < this.steps.length - 1) {\r\n this.currentStepIndex++;\r\n this.handleNextStep();\r\n }\r\n }\r\n\r\n back() {\r\n if (this.currentStepIndex > 0) {\r\n this.currentStepIndex--;\r\n this.handlePreviousStep();\r\n }\r\n }\r\n\r\n cancel() {\r\n this.currentStepIndex = 0;\r\n this.handlePreviousStep();\r\n }\r\n\r\n shouldDisplayCancelBackButton() {\r\n return (this.currentStepIndex > 0 && this.currentStepIndex < this.steps.length - 2);\r\n }\r\n\r\n startColumnHover(columnIndex: number): void {\r\n this.columnHoveredIndex = columnIndex;\r\n }\r\n\r\n endColumnHover(columnIndex: number): void {\r\n if (this.columnHoveredIndex === columnIndex) { this.columnHoveredIndex = null; }\r\n }\r\n\r\n getColumnClass(columnIndex: number): string {\r\n let style = '';\r\n if (this.selectedColumnIndex === columnIndex) {\r\n style = 'selected';\r\n } else if (this.columnHoveredIndex === columnIndex) {\r\n style = 'hover';\r\n } else {\r\n style = '';\r\n }\r\n\r\n return style;\r\n }\r\n\r\n selectColumn(columnIndex: number) {\r\n this.selectedColumnIndex = columnIndex;\r\n }\r\n\r\n selectType(type: 'donotcall' | 'donotemail') {\r\n this.typeSelected = type;\r\n\r\n if (this.typeSelected === this.doNotEmailType) {\r\n this.listOf = this.translations.doNotEmailCallListOfEmails;\r\n this.typeLabel = this.translations.doNotEmailCallTypeLabelEmail;\r\n } else {\r\n this.listOf = this.translations.doNotEmailCallListOfPhoneNumbers;\r\n this.typeLabel = this.translations.doNotEmailCallTypeLabelCall;\r\n }\r\n }\r\n\r\n upload(file: File): void {\r\n\r\n this.fileName = file.name;\r\n const eightMB = 83886080;\r\n\r\n if ((file.name.lastIndexOf('.csv') < file.name.length - 5) ||\r\n (file.size > eightMB)) {\r\n\r\n this.errorMessage = this.translations.doNotEmailCallFileError;\r\n return;\r\n } else {\r\n this.errorMessage = '';\r\n }\r\n\r\n const reader = new FileReader();\r\n reader.readAsText(file);\r\n\r\n reader.onload = () => {\r\n const csv = reader.result as string;\r\n\r\n this.parsedCsv = this.parseCsv(csv);\r\n this.next();\r\n\r\n let columnSelectMessageTranslationKey: string;\r\n\r\n // Since we only have one column we don't need the user to select it, go straight to uploading it\r\n if (this.parsedCsv && this.parsedCsv.length > 0 && this.parsedCsv[0].length === 1) {\r\n columnSelectMessageTranslationKey = 'doNotEmailCallOneColumnMessage';\r\n this.selectColumn(0);\r\n } else {\r\n columnSelectMessageTranslationKey = 'doNotEmailCallMultipleColumnMessage';\r\n }\r\n\r\n this.matchedMessage = this.translateService\r\n .instant('doNotEmailCallMatchedRecords', { numberOfMatches: this.parsedCsv.length - 1 });\r\n\r\n if (this.parsedCsv.length > this.rowsSampleSize + 1) {\r\n this.matchedMessage += ' ' + this.sampleSizeMessage;\r\n }\r\n\r\n this.columnSelectMessage = this.translateService.instant(columnSelectMessageTranslationKey, { typeLabel: this.typeLabel, type: this.listOf });\r\n };\r\n }\r\n\r\n getNextDisabledStatus(): boolean {\r\n if (this.steps[this.currentStepIndex] === this.selectColumnStep) {\r\n return (this.selectedColumnIndex === null);\r\n }\r\n\r\n if (this.steps[this.currentStepIndex] === this.uploadFileStep) {\r\n return (!this.parsedCsv || (this.parsedCsv && this.parsedCsv.length === 0));\r\n }\r\n\r\n if (this.steps[this.currentStepIndex] === this.confirmStep) {\r\n return (!this.confirmList || !this.confirmList.customerMatchCount || this.confirmList.customerMatchCount === 0);\r\n }\r\n\r\n return false;\r\n }\r\n\r\n private resetFileInfo(): void {\r\n if (this.selectTypeStep === this.steps[this.currentStepIndex]) {\r\n this.errorMessage = '';\r\n this.fileName = '';\r\n this.parsedCsv = [];\r\n this.selectedColumnIndex = null;\r\n this.confirmList = {};\r\n }\r\n }\r\n\r\n private handleNextStep(): void {\r\n if (this.steps[this.currentStepIndex] === this.uploadFileStep) {\r\n this.uploadMessage = this.translateService.instant('doNotCallEmailUploadMessage', { type: this.listOf, typeLabel: this.typeLabel });\r\n }\r\n\r\n if (this.steps[this.currentStepIndex] === this.confirmStep) {\r\n this.uploadSelectedColumn();\r\n }\r\n\r\n if (this.steps[this.currentStepIndex] === this.finishStep) {\r\n this.finish();\r\n }\r\n\r\n if (this.steps[this.currentStepIndex] === this.okStep) {\r\n this.nextLabel = this.nextLabelNext;\r\n this.cancel();\r\n }\r\n }\r\n\r\n private handlePreviousStep(): void {\r\n if (this.steps[this.currentStepIndex] === this.selectColumnStep) {\r\n this.confirmList = {};\r\n this.errorMessage = '';\r\n this.nextLabel = this.nextLabelNext;\r\n return;\r\n }\r\n\r\n if (this.steps[this.currentStepIndex] === this.uploadFileStep) {\r\n this.nextLabel = this.nextLabelNext;\r\n this.resetFileInfo();\r\n\r\n return;\r\n }\r\n\r\n if (this.steps[this.currentStepIndex] === this.selectTypeStep) {\r\n this.nextLabel = this.nextLabelNext;\r\n this.resetFileInfo();\r\n\r\n this.selectType((this.hasDoNotCallModule) ? this.doNotCallType : this.doNotEmailType);\r\n this.statusMessage = '';\r\n return;\r\n }\r\n }\r\n\r\n private uploadSelectedColumn() {\r\n const selectedValues: string[] = [];\r\n\r\n for (const row of this.parsedCsv) {\r\n selectedValues.push(row[this.selectedColumnIndex]);\r\n }\r\n\r\n let observable;\r\n if (this.typeSelected === this.doNotEmailType) {\r\n observable = this.customerService.stageDoNotEmailList(selectedValues);\r\n } else {\r\n observable = this.customerService.stageDoNotCallList(selectedValues);\r\n }\r\n\r\n this.busy = observable\r\n .subscribe((result: DoNotEmailStagingResponseDto | DoNotCallStagingResponseDto) => {\r\n this.nextLabel = this.nextLabelFinish;\r\n\r\n if (result.customerMatchCount === 0) {\r\n this.confirmMessage = this.translations.doNotEmailCallNoItemsConfirmMessage;\r\n this.errorMessage = this.translateService.instant('doNotEmailCallNoItemsErrorMessage', { type: this.listOf });\r\n } else {\r\n this.confirmMessage = this.translateService\r\n .instant('doNotEmailCallMatchedConfirmMessage', { type: this.listOf, finish: this.nextLabelFinish, typeLabel: this.typeLabel });\r\n this.confirmList = result;\r\n this.matchedMessage = this.translateService\r\n .instant('doNotEmailCallMatchedRecords', { numberOfMatches: this.confirmList.customerMatchCount });\r\n\r\n if (this.confirmList.customerMatchCount > this.rowsSampleSize) {\r\n this.matchedMessage += ' ' + this.sampleSizeMessage;\r\n }\r\n }\r\n });\r\n }\r\n private finish() {\r\n let observable: Observable;\r\n if (this.typeSelected === this.doNotEmailType) {\r\n observable = this.customerService.finishDoNotEmailList(this.confirmList.sessionID);\r\n } else {\r\n observable = this.customerService.finishDoNotCallList(this.confirmList.sessionID);\r\n }\r\n\r\n this.busy = observable\r\n .subscribe(() => {\r\n this.nextLabel = this.nextLabelOk;\r\n this.statusMessage = this.translateService.instant('doNotEmailCallFinishStatusMessage', { typeLabel: this.typeLabel });\r\n });\r\n }\r\n\r\n private parseCsv(csv: string): string[][] {\r\n if (csv.length <= 0) { return []; }\r\n\r\n const lines = csv.split('\\n');\r\n\r\n const result: string[][] = [];\r\n for (const line of lines) {\r\n const columns = line.split(',');\r\n result.push(columns);\r\n }\r\n\r\n return result;\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar recent_deal_sheet_service_1 = require(\"../../../services/recent-deal-sheet.service\");\nvar RecentDealSheetsComponent = /** @class */ (function () {\n function RecentDealSheetsComponent(dealSheetService, recentDealSheetService) {\n this.dealSheetService = dealSheetService;\n this.recentDealSheetService = recentDealSheetService;\n this.visible = false;\n this.visibleChange = new core_1.EventEmitter();\n this.recentDealSheets = [];\n }\n RecentDealSheetsComponent.prototype.toggleRecentDealSheets = function () {\n this.visible = !this.visible;\n if (this.visible) {\n this.busy = this.getRecentDealSheets();\n }\n this.visibleChange.emit(this.visible);\n };\n RecentDealSheetsComponent.prototype.openDealSheet = function (dealSheetId) {\n this.visible = false;\n this.dealSheetService.openDealSheetModal(dealSheetId);\n };\n RecentDealSheetsComponent.prototype.getRecentDealSheets = function () {\n var _this = this;\n return this.recentDealSheetService.getRecentDealSheets()\n .then(function (recentDealSheetData) {\n _this.recentDealSheets = recentDealSheetData;\n return recentDealSheetData;\n });\n };\n RecentDealSheetsComponent.prototype.getAlertObjects = function (dealSheet) {\n return dealSheet.alerts.map(function (a) {\n return {\n type: a\n };\n });\n };\n return RecentDealSheetsComponent;\n}());\nexports.RecentDealSheetsComponent = RecentDealSheetsComponent;\n","import { Component, Input, Output, Inject, EventEmitter } from '@angular/core';\r\nimport { DealSheetService } from '../../../ajs-upgraded-providers';\r\nimport { RecentDealSheetService } from '../../../services/recent-deal-sheet.service';\r\nimport { DealSheetHistoryDto } from '../../../generated/models';\r\nimport { Alert } from '../../../interfaces/alert.interface';\r\n\r\n@Component({\r\n selector: 'recent-deal-sheets',\r\n templateUrl: './recent-deal-sheets.component-ng.html',\r\n styleUrls: ['./recent-deal-sheets.component.scss']\r\n})\r\nexport class RecentDealSheetsComponent {\r\n @Input() visible: boolean = false;\r\n @Output() visibleChange = new EventEmitter();\r\n public recentDealSheets: DealSheetHistoryDto[] = [];\r\n public busy: Promise;\r\n public alerts: Array;\r\n\r\n constructor(@Inject(DealSheetService) private dealSheetService,\r\n private recentDealSheetService: RecentDealSheetService) {\r\n }\r\n\r\n toggleRecentDealSheets(): void {\r\n this.visible = !this.visible;\r\n if (this.visible) {\r\n this.busy = this.getRecentDealSheets();\r\n }\r\n this.visibleChange.emit(this.visible);\r\n }\r\n\r\n openDealSheet(dealSheetId: number) {\r\n this.visible = false;\r\n\r\n this.dealSheetService.openDealSheetModal(dealSheetId);\r\n }\r\n\r\n getRecentDealSheets(): Promise {\r\n return this.recentDealSheetService.getRecentDealSheets()\r\n .then(recentDealSheetData => {\r\n this.recentDealSheets = recentDealSheetData;\r\n return recentDealSheetData;\r\n });\r\n }\r\n\r\n getAlertObjects(dealSheet: DealSheetHistoryDto): Array {\r\n return dealSheet.alerts.map(a => {\r\n return {\r\n type: a\r\n } as Alert;\r\n });\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./sale-type.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"./sale-type.component\"));\nvar styles_SaleTypeComponent = [i0.styles];\nvar RenderType_SaleTypeComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_SaleTypeComponent, data: {} });\nexports.RenderType_SaleTypeComponent = RenderType_SaleTypeComponent;\nfunction View_SaleTypeComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"value text-uppercase qa-sale-type\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.saleTypeTranslateKeys[_co.value], \"\"); _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SaleTypeComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"class\", \"value text-uppercase qa-sale-type\"], [\"translate\", \"conquest\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"conquest\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SaleTypeComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\" - \"])), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"qa-sale-type-original\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.saleTypeOriginalLookupKey, \"\"); _ck(_v, 4, 0, currVal_0); }, null); }\nfunction View_SaleTypeComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_SaleTypeComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SaleTypeComponent_2)), i1.ɵdid(3, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SaleTypeComponent_3)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value && (_co.conquestType != _co.conquestTypes.notConverted)); _ck(_v, 1, 0, currVal_0); var currVal_1 = (!_co.value && ((_co.conquestType == _co.conquestTypes.notConverted) || (_co.conquestType == _co.conquestTypes.creditConvert))); _ck(_v, 3, 0, currVal_1); var currVal_2 = (_co.saleTypeOriginalLookupId > 0); _ck(_v, 5, 0, currVal_2); }, null); }\nexports.View_SaleTypeComponent_0 = View_SaleTypeComponent_0;\nfunction View_SaleTypeComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"sale-type\", [], null, null, null, View_SaleTypeComponent_0, RenderType_SaleTypeComponent)), i1.ɵdid(1, 573440, null, 0, i4.SaleTypeComponent, [i1.ElementRef, i1.Injector], null, null)], null, null); }\nexports.View_SaleTypeComponent_Host_0 = View_SaleTypeComponent_Host_0;\nvar SaleTypeComponentNgFactory = i1.ɵccf(\"sale-type\", i4.SaleTypeComponent, View_SaleTypeComponent_Host_0, { value: \"value\", conquestType: \"conquestType\", saleTypeOriginalLookupId: \"saleTypeOriginalLookupId\" }, {}, []);\nexports.SaleTypeComponentNgFactory = SaleTypeComponentNgFactory;\n","\r\n\r\n\r\n 0\">\r\n - \r\n\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".recall-single-wrapper[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px;padding:0 15px 10px}.recall-list-wrapper[_ngcontent-%COMP%]{overflow-y:scroll;height:450px;margin-top:10px;margin-bottom:10px;padding:0;border:1px solid #e7e7e7;border-radius:10px}.recall-list-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}.recall-list-wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:hover{background-color:#e0e0e0}.recall-list-wrapper[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:0 8px 10px;border-bottom:2px solid #ccc}.recall-list-wrapper[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border:none}.vinRecall[_ngcontent-%COMP%] .titleMainLabel[_ngcontent-%COMP%]{font-size:18px;font-weight:700;color:#1f8bd5}.vinRecall[_ngcontent-%COMP%] .titleMainBody[_ngcontent-%COMP%]{font-size:14px;font-weight:700}.vinRecall[_ngcontent-%COMP%] .header-container[_ngcontent-%COMP%]{margin-left:0;margin-right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.vinRecall[_ngcontent-%COMP%] .flexitem[_ngcontent-%COMP%]{display:inline}.vinRecall[_ngcontent-%COMP%] .oasisTooltip[_ngcontent-%COMP%]{font-size:12px}.recallItem[_ngcontent-%COMP%]{display:inline-block}\"];\nexports.styles = styles;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar ModelClientService = /** @class */ (function (_super) {\n __extends(ModelClientService, _super);\n function ModelClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param params The `ModelClientService.GetModelsByMakeYearByMakeidByYearidGETParams` containing the following parameters:\n *\n * - `yearId`:\n *\n * - `makeId`:\n *\n * @return Success\n */\n ModelClientService.prototype.GetModelsByMakeYearByMakeidByYearidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Model/GetModelsByMakeYear/\" + params.makeId + \"/\" + params.yearId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `ModelClientService.GetModelsByMakeYearByMakeidByYearidGETParams` containing the following parameters:\n *\n * - `yearId`:\n *\n * - `makeId`:\n *\n * @return Success\n */\n ModelClientService.prototype.GetModelsByMakeYearByMakeidByYearidGET = function (params) {\n return this.GetModelsByMakeYearByMakeidByYearidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param makeId undefined\n * @return Success\n */\n ModelClientService.prototype.GetModelsByMakeByMakeidGETResponse = function (makeId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Model/GetModelsByMake/\" + makeId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param makeId undefined\n * @return Success\n */\n ModelClientService.prototype.GetModelsByMakeByMakeidGET = function (makeId) {\n return this.GetModelsByMakeByMakeidGETResponse(makeId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n ModelClientService.prototype.GetModelsByMakesYearsPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Model/GetModelsByMakesYears\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n ModelClientService.prototype.GetModelsByMakesYearsPOST = function (request) {\n return this.GetModelsByMakesYearsPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n ModelClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Model/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n ModelClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n ModelClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Model/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n ModelClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n ModelClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Model/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n ModelClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n ModelClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Model\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n ModelClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n ModelClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Model\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n ModelClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n ModelClientService.GetModelsByMakeYearByMakeidByYearidGETPath = '/api/Model/GetModelsByMakeYear/{makeId}/{yearId}';\n ModelClientService.GetModelsByMakeByMakeidGETPath = '/api/Model/GetModelsByMake/{makeId}';\n ModelClientService.GetModelsByMakesYearsPOSTPath = '/api/Model/GetModelsByMakesYears';\n ModelClientService.ByIdGETPath = '/api/Model/{id}';\n ModelClientService.ByIdDELETEPath = '/api/Model/{id}';\n ModelClientService.GetManyGETPath = '/api/Model/GetMany';\n ModelClientService.PUTPath = '/api/Model';\n ModelClientService.POSTPath = '/api/Model';\n ModelClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function ModelClientService_Factory() { return new ModelClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: ModelClientService, providedIn: \"root\" });\n return ModelClientService;\n}(base_service_1.BaseService));\nexports.ModelClientService = ModelClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { ModelDto } from '../models/model-dto';\r\nimport { VehicleMakesYearsRequestDto } from '../models/vehicle-makes-years-request-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass ModelClientService extends __BaseService {\r\n static readonly GetModelsByMakeYearByMakeidByYearidGETPath = '/api/Model/GetModelsByMakeYear/{makeId}/{yearId}';\r\n static readonly GetModelsByMakeByMakeidGETPath = '/api/Model/GetModelsByMake/{makeId}';\r\n static readonly GetModelsByMakesYearsPOSTPath = '/api/Model/GetModelsByMakesYears';\r\n static readonly ByIdGETPath = '/api/Model/{id}';\r\n static readonly ByIdDELETEPath = '/api/Model/{id}';\r\n static readonly GetManyGETPath = '/api/Model/GetMany';\r\n static readonly PUTPath = '/api/Model';\r\n static readonly POSTPath = '/api/Model';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param params The `ModelClientService.GetModelsByMakeYearByMakeidByYearidGETParams` containing the following parameters:\r\n *\r\n * - `yearId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * @return Success\r\n */\r\n GetModelsByMakeYearByMakeidByYearidGETResponse(params: ModelClientService.GetModelsByMakeYearByMakeidByYearidGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Model/GetModelsByMakeYear/${params.makeId}/${params.yearId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `ModelClientService.GetModelsByMakeYearByMakeidByYearidGETParams` containing the following parameters:\r\n *\r\n * - `yearId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * @return Success\r\n */\r\n GetModelsByMakeYearByMakeidByYearidGET(params: ModelClientService.GetModelsByMakeYearByMakeidByYearidGETParams): __Observable> {\r\n return this.GetModelsByMakeYearByMakeidByYearidGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param makeId undefined\r\n * @return Success\r\n */\r\n GetModelsByMakeByMakeidGETResponse(makeId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Model/GetModelsByMake/${makeId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param makeId undefined\r\n * @return Success\r\n */\r\n GetModelsByMakeByMakeidGET(makeId: number): __Observable> {\r\n return this.GetModelsByMakeByMakeidGETResponse(makeId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n GetModelsByMakesYearsPOSTResponse(request?: VehicleMakesYearsRequestDto): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Model/GetModelsByMakesYears`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n GetModelsByMakesYearsPOST(request?: VehicleMakesYearsRequestDto): __Observable> {\r\n return this.GetModelsByMakesYearsPOSTResponse(request).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Model/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as ModelDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Model/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Model/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: ModelDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Model`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: ModelDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: ModelDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Model`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: ModelDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as ModelDto)\r\n );\r\n }\r\n}\r\n\r\nmodule ModelClientService {\r\n\r\n /**\r\n * Parameters for GetModelsByMakeYearByMakeidByYearidGET\r\n */\r\n export interface GetModelsByMakeYearByMakeidByYearidGETParams {\r\n yearId: number;\r\n makeId: number;\r\n }\r\n}\r\n\r\nexport { ModelClientService }\r\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar platform_browser_1 = require(\"@angular/platform-browser\");\nvar core_1 = require(\"@angular/core\");\nvar AdaptivePositionPipe = /** @class */ (function () {\n function AdaptivePositionPipe(dom) {\n this.dom = dom;\n }\n AdaptivePositionPipe.prototype.transform = function (input, boldText) {\n return this.highlightQuery(input, boldText);\n };\n AdaptivePositionPipe.prototype.highlightQuery = function (str, query) {\n query = query.join(' ');\n if (str.toLocaleLowerCase().indexOf(query) > -1) {\n var left_str = str.substring(0, str.toLocaleLowerCase().indexOf(query));\n var right_str = str.substring(str.substring(0, str.toLocaleLowerCase().indexOf(query)).length + query.length, str.lenght);\n return left_str + '' + query + '' + right_str;\n }\n else\n return str;\n };\n return AdaptivePositionPipe;\n}());\nexports.AdaptivePositionPipe = AdaptivePositionPipe;\n","import { DomSanitizer, SafeResourceUrl, SafeUrl } from '@angular/platform-browser';\r\nimport { PipeTransform, Pipe } from '@angular/core';\r\n\r\n@Pipe({ name: 'adaptivePosition' })\r\nexport class AdaptivePositionPipe implements PipeTransform {\r\n\r\n constructor(private dom: DomSanitizer) {\r\n\r\n }\r\n\r\n transform(input: string, boldText: any): string {\r\n return this.highlightQuery(input, boldText);\r\n }\r\n\r\n highlightQuery(str, query): any {\r\n query = query.join(' ');\r\n if (str.toLocaleLowerCase().indexOf(query) > -1) {\r\n let left_str = str.substring(0, str.toLocaleLowerCase().indexOf(query));\r\n let right_str = str.substring(str.substring(0, str.toLocaleLowerCase().indexOf(query)).length + query.length, str.lenght);\r\n return left_str + '' + query + '' + right_str;\r\n }\r\n else\r\n return str;\r\n }\r\n\r\n}\r\n","import jQuery from 'jquery';\r\n\r\n/// \r\n/*\r\njquery-resizable\r\nVersion 0.17 - 3/31/2016\r\n© 2015 Rick Strahl, West Wind Technologies\r\nwww.west-wind.com\r\nLicensed under MIT License\r\n*/\r\n(function($, undefined) {\r\n function getHandle(selector, $el) {\r\n if (selector.trim()[0] === \">\") {\r\n selector = selector.trim().replace(/^>\\s*/, \"\");\r\n\r\n return $el.find(selector);\r\n }\r\n\r\n return selector ? $(selector) : $el;\r\n }\r\n\r\n if ($.fn.resizable)\r\n return;\r\n\r\n $.fn.resizable = function fnResizable(options) {\r\n var opt = {\r\n // selector for handle that starts dragging\r\n handleSelector: null,\r\n // resize the width\r\n resizeWidth: true,\r\n // resize the height\r\n resizeHeight: true,\r\n // the side that the width resizing is relative to\r\n resizeWidthFrom: 'right',\r\n // the side that the height resizing is relative to\r\n resizeHeightFrom: 'bottom',\r\n // hook into start drag operation (event passed)\r\n onDragStart: null,\r\n // hook into stop drag operation (event passed)\r\n onDragEnd: null,\r\n // hook into each drag operation (event passed)\r\n onDrag: null,\r\n // disable touch-action on $handle\r\n // prevents browser level actions like forward back gestures\r\n touchActionNone: true\r\n };\r\n if (typeof options == \"object\") opt = $.extend(opt, options);\r\n\r\n return this.each(function () {\r\n var startPos, startTransition;\r\n\r\n var $el = $(this);\r\n\r\n var $handle = getHandle(opt.handleSelector, $el);\r\n\r\n if (opt.touchActionNone)\r\n $handle.css(\"touch-action\", \"none\");\r\n\r\n $el.addClass(\"resizable\");\r\n $handle.bind('mousedown.rsz touchstart.rsz', startDragging);\r\n\r\n function noop(e) {\r\n e.stopPropagation();\r\n e.preventDefault();\r\n }\r\n\r\n function startDragging(e) {\r\n startPos = getMousePos(e);\r\n startPos.width = parseInt($el.width(), 10);\r\n startPos.height = parseInt($el.height(), 10);\r\n\r\n startTransition = $el.css(\"transition\");\r\n $el.css(\"transition\", \"none\");\r\n\r\n if (opt.onDragStart) {\r\n if (opt.onDragStart(e, $el, opt) === false)\r\n return;\r\n }\r\n opt.dragFunc = doDrag;\r\n\r\n $(document).bind('mousemove.rsz', opt.dragFunc);\r\n $(document).bind('mouseup.rsz', stopDragging);\r\n if (window.Touch || navigator.maxTouchPoints) {\r\n $(document).bind('touchmove.rsz', opt.dragFunc);\r\n $(document).bind('touchend.rsz', stopDragging);\r\n }\r\n $(document).bind('selectstart.rsz', noop); // disable selection\r\n }\r\n\r\n function doDrag(e) {\r\n var pos = getMousePos(e), newWidth, newHeight;\r\n\r\n if (opt.resizeWidthFrom === 'left')\r\n newWidth = startPos.width - pos.x + startPos.x;\r\n else\r\n newWidth = startPos.width + pos.x - startPos.x;\r\n\r\n if (opt.resizeHeightFrom === 'top')\r\n newHeight = startPos.height - pos.y + startPos.y;\r\n else\r\n newHeight = startPos.height + pos.y - startPos.y;\r\n\r\n if (!opt.onDrag || opt.onDrag(e, $el, newWidth, newHeight, opt) !== false) {\r\n if (opt.resizeHeight)\r\n $el.height(newHeight);\r\n\r\n if (opt.resizeWidth)\r\n $el.width(newWidth);\r\n }\r\n }\r\n\r\n function stopDragging(e) {\r\n e.stopPropagation();\r\n e.preventDefault();\r\n\r\n $(document).unbind('mousemove.rsz', opt.dragFunc);\r\n $(document).unbind('mouseup.rsz', stopDragging);\r\n\r\n if (window.Touch || navigator.maxTouchPoints) {\r\n $(document).unbind('touchmove.rsz', opt.dragFunc);\r\n $(document).unbind('touchend.rsz', stopDragging);\r\n }\r\n $(document).unbind('selectstart.rsz', noop);\r\n\r\n // reset changed values\r\n $el.css(\"transition\", startTransition);\r\n\r\n if (opt.onDragEnd)\r\n opt.onDragEnd(e, $el, opt);\r\n\r\n return false;\r\n }\r\n\r\n function getMousePos(e) {\r\n var pos = { x: 0, y: 0, width: 0, height: 0 };\r\n if (typeof e.clientX === \"number\") {\r\n pos.x = e.clientX;\r\n pos.y = e.clientY;\r\n } else if (e.originalEvent.touches) {\r\n pos.x = e.originalEvent.touches[0].clientX;\r\n pos.y = e.originalEvent.touches[0].clientY;\r\n } else\r\n return null;\r\n\r\n return pos;\r\n }\r\n });\r\n };\r\n})(jQuery,undefined);\r\n","import angular from 'angular'; \r\nimport _ from 'lodash';\r\n\r\nexport default 'lodash';\r\n\r\n(function () {\r\n 'use strict';\r\n\r\n angular.module('lodash', [])\r\n .factory('_', function () { return _; });\r\n})();\r\n","import angular from 'angular'; \r\nimport moment from 'moment';\r\n\r\nexport default 'moment';\r\n\r\n(function () {\r\n 'use strict';\r\n\r\n angular.module('moment', [])\r\n .factory('moment', function () {\r\n return moment;\r\n });\r\n})();\r\n","/* global window document sessionStorage */\r\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\n\r\nfunction IsLegacyPage($currentState) {\r\n if ($currentState) {\r\n return $currentState.component == 'aaIframe' ||\r\n ($currentState.data && $currentState.data.resolvedComponent == 'aaIframe');\r\n }\r\n}\r\n\r\nfunction shouldShowFooter($currentState) {\r\n if (IsLegacyPage($currentState))\r\n return false;\r\n if ($currentState.data && $currentState.data.hideFooter)\r\n return false;\r\n \r\n return true;\r\n}\r\n\r\nexport function showAutoAlertiFrame($currentState) {\r\n\r\n if (!IsLegacyPage($currentState)) \r\n $(\"#aa-app\").removeClass(\"aa-legacy\");\r\n else \r\n $(\"#aa-app\").addClass(\"aa-legacy\"); \r\n\r\n // fix for PandoConnect : PandoConnect chrome extension was adding the following styles with a value: hidden on html and body tags. This\r\n // was hiding main menubar sub menus and recent deealsheet menu.\r\n // The following two lines of code fixes the issue and gets called when our iframe page gets loaded. Which always happens, after our main page and chrome extension load process.\r\n //\r\n document.getElementById('root').style.overflowX = \"visible\";\r\n document.getElementById('aa-app').style.overflowY = \"visible\";\r\n\r\n document.getElementById('autoalertiframe').style.visibility = \"visible\";\r\n}\r\n\r\nexport function removeQuotes(token) {\r\n if (!token)\r\n return null;\r\n else {\r\n return token.replace(/^\"(.*)\"$/, '$1')\r\n }\r\n}\r\n\r\nexport function getPortalSubPath() {\r\n var portalAutoAlert = '/alert-desk/deal-sheets';\r\n return portalAutoAlert;\r\n}\r\n\r\nfunction getScrollbarWidth() {\r\n var outer = document.createElement(\"div\");\r\n outer.style.visibility = \"hidden\";\r\n outer.style.width = \"100px\";\r\n outer.style.msOverflowStyle = \"scrollbar\"; // needed for WinJS apps\r\n\r\n document.body.appendChild(outer);\r\n\r\n var widthNoScroll = outer.offsetWidth;\r\n // force scrollbars\r\n outer.style.overflow = \"scroll\";\r\n\r\n // add innerdiv\r\n var inner = document.createElement(\"div\");\r\n inner.style.width = \"100%\";\r\n outer.appendChild(inner);\r\n\r\n var widthWithScroll = inner.offsetWidth;\r\n\r\n // remove divs\r\n outer.parentNode.removeChild(outer);\r\n return widthNoScroll - widthWithScroll;\r\n}\r\n\r\n/**\r\n * Adjusts the width of the header to accomodate the page's scrollbar.\r\n * @param $currentState - The currently active router state\r\n */\r\nexport function resizeHeader($currentState, messagePort) {\r\n const iframe = document.getElementById('autoalertiframe');\r\n const isIframeReady = (iframe !== null) && iframe.style.visibility == 'visible';\r\n const footer = document.getElementById('aa-footer');\r\n\r\n if (shouldShowFooter($currentState)) {\r\n if (footer) footer.style.display = \"\";\r\n return;\r\n } else {\r\n if (footer) footer.style.display = \"none\";\r\n }\r\n\r\n // if legacy is in iframe or in full screen mode\r\n if (isIframeReady || IsLegacyPage($currentState) ) {\r\n let newWidth = $(\"body\").width() - getScrollbarWidth();\r\n if (newWidth) {\r\n $(\"#header-app\").width(newWidth);\r\n sendHeaderHeightMessage(messagePort);\r\n }\r\n } else {\r\n $(\"#header-app\").width('100%');\r\n }\r\n}\r\n\r\nfunction sendHeaderHeightMessage(messagePort) {\r\n var headerHight = $(\"#header-app\").height();\r\n if (headerHight) {\r\n const onResizePortalHeaderMessage = { 'task': 'onresize_portalheader', 'header_height': headerHight };\r\n messagePort.postMessage(onResizePortalHeaderMessage);\r\n }\r\n $(\"#ui-view\").css('margin-top: ' + headerHight);\r\n}\r\n","import angular from 'angular';\r\n\r\nimport 'bootstrap-sass';\r\nimport '../scripts/jquery-resizable.nobabel';\r\n\r\n// AngularJS modules from npm\r\nimport 'angular-animate';\r\nimport 'angular-busy/dist/angular-busy';\r\n\r\nimport route from 'angular-route';\r\nimport 'angular-sanitize';\r\nimport 'angular-translate';\r\nimport 'angular-translate-loader-partial';\r\nimport 'angular-ui-bootstrap';\r\nimport 'angularjs-slider';\r\n\r\nimport 'angulartics';\r\nimport 'angulartics/src/angulartics-gtm';\r\nimport uiSelect from 'ui-select';\r\n\r\nimport 'ng-sortable';\r\n\r\nimport 'angularjs-dropdown-multiselect';\r\nimport 'angular-dynamic-locale';\r\nimport uiRouter from \"@uirouter/angularjs\";\r\nimport { upgradeModule } from \"@uirouter/angular-hybrid\";\r\n\r\n// AngularJS modules defined locally\r\nimport '../utilities/lodash';\r\nimport '../utilities/moment';\r\nimport configModule from './config.module';\r\n\r\n// First-party modules\r\nimport oidcAuthModule from '../modules/oidc-auth';\r\nimport translations from '../modules/translations/translations.module';\r\n\r\nimport './kendo-components'\r\n\r\nimport '../scripts/init';\r\n\r\nconst moduleName = 'AaApp.Opp'\r\nexport default moduleName;\r\n\r\nexport const OpportunitiesModule = angular.module(moduleName, [\r\n // Our reusable cross app code modules\r\n 'lodash',\r\n 'moment',\r\n configModule,\r\n\r\n // First-party modules\r\n oidcAuthModule,\r\n translations,\r\n\r\n // 3rd Party modules\r\n 'angularjs-dropdown-multiselect',\r\n 'angulartics',\r\n 'angulartics.google.tagmanager',\r\n 'as.sortable',\r\n 'cgBusy',\r\n 'kendo.directives',\r\n 'ngAnimate',\r\n 'ngSanitize',\r\n 'pascalprecht.translate',\r\n 'rzModule',\r\n 'tmh.dynamicLocale',\r\n 'ui.bootstrap',\r\n route,\r\n uiSelect,\r\n uiRouter,\r\n upgradeModule.name\r\n\r\n])\r\n","import angular from 'angular';\r\n\r\n//Named ActivityResultCodeEnum to match the name in c# AutoAlert.AlertMiner.ServiceContract\r\nangular.module('AaApp.Opp')\r\n .constant('ActivityResultCodeEnum', {\r\n \"Push_To_Crm_Success\": 110,\r\n \"Push_To_CRM_Fail_Permission\": 111,\r\n \"Push_To_CRM_Fail_Delivery\": 113,\r\n \"Standard_Activity_Success\": 120,\r\n \"General_Exception\": 131\r\n })\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('activityActionNameTypes', {\r\n postNote: 1,\r\n logCall: 2,\r\n scheduleCall: 3,\r\n scheduleAppt: 4,\r\n expirePhoneCall: 7,\r\n expireAppointment: 8,\r\n emailSent: 9,\r\n reschedule: 10,\r\n reassign: 12,\r\n cancel: 14,\r\n pushToCompass: 16,\r\n emailTemplateSent: 17,\r\n manualPushToCRM: 18,\r\n pandoProcessClaimed: 19,\r\n pandoProcessCompleted: 20\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('alertIconClasses', {\r\n 100: 'faalert',\r\n 200: 'faflexalert',\r\n 400: 'fainmarket',\r\n 500: 'fainmarketengaged',\r\n 600: 'facontractEnd',\r\n 700: 'faservice',\r\n 800: 'faappointment',\r\n 900: 'famileage',\r\n 1000: 'fawarranty'\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('alertScriptTypes', {\r\n alert: 1,\r\n alertCrossMakeUsed: 2,\r\n contractEnd: 3,\r\n leaseEnd: 4,\r\n mileage: 5,\r\n inMarket: 6,\r\n inMarketEngaged: 7,\r\n warranty: 8,\r\n phone: 9,\r\n conquest: 10,\r\n cash: 11,\r\n appointment: 12,\r\n service: 13,\r\n privateOffer: 14,\r\n privateOfferWithPreApproval: 15,\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('analytics', {\r\n actions: {\r\n navigate: 'Navigation',\r\n changeReplacementVehicle: 'Change Replacement'\r\n },\r\n categories: {\r\n dealSheet: 'Deal Sheet'\r\n },\r\n labels: {\r\n trimChange: 'Change Trim',\r\n inventoryRecommendation: 'Suggested Vehicle',\r\n inventorySearch: 'In-Stock Search',\r\n inventoryBestMatch: 'In-Stock Best Match',\r\n alertsAndScripts: 'Alerts & Scripts',\r\n currentVehicleDetails: 'Existing Vehicle Details',\r\n replacementVehicleDetails: 'Replacement Vehicle Details',\r\n activityAndNotes: 'Activity & Notes',\r\n serviceHistory: 'Service History',\r\n otherVehiclesOwned: 'Other Vehicles Owned',\r\n featureComparison: 'Feature Comparison'\r\n }\r\n});\r\n","import angular from 'angular';\r\n\r\n//Named ActivityRuleEnum to match the name in c# AutoAlert.AlertMiner.ServiceContract\r\nangular.module('AaApp.Opp').constant('activityRule', {\r\n Close: 1,\r\n Mark_As_Sold: 2,\r\n New_Call: 3,\r\n New_Appointment: 4,\r\n New_Call_Or_Appointment: 5,\r\n Re_Open: 6,\r\n Schedule: 7,\r\n Set_To_Completed: 8,\r\n Set_To_Scheduled: 9,\r\n Set_To_Uncomplete_Existing: 10,\r\n Set_To_Uncompleted: 11,\r\n Watch: 12,\r\n Unwatch: 13,\r\n Read: 14,\r\n Not_Own: 15,\r\n Paid_Off: 16,\r\n Has_Warranty: 17,\r\n Add_Payoff: 18,\r\n Add_Mileage: 19,\r\n Warranty_Sold: 20,\r\n Convert: 21,\r\n Edit_Sale: 22,\r\n View_Deal_Sheet: 23,\r\n Sent_To_CRM: 24,\r\n Unmark_As_Sold: 25,\r\n Print_Deal_Sheet: 26,\r\n Mark_as_Do_Not_Call: 27,\r\n Opened_from_CRM: 28,\r\n Re_Open_and_Re_Calculate: 29,\r\n Unmark_As_Paid_Off: 30,\r\n Convert_edit_via_PURL: 31,\r\n Verify_PURL_Info: 32,\r\n Bought_Vehicle: 34,\r\n Convert_by_CreditConvert: 35,\r\n Unmark_as_Has_Warranty: 36,\r\n Unmark_as_Warranty_Sold: 37,\r\n New_Push_to_Compass: 38,\r\n Open_ContractEndNonAlert_Window: 39,\r\n Close_ContractEndNonAlert_Window: 40,\r\n Open_LeaseEnd_Call_Script_Window: 41,\r\n Close_LeaseEnd: 42,\r\n Open_MileageAlert: 43,\r\n Close_MileageAlert: 44,\r\n Open_PhoneMessage: 45,\r\n Close_PhoneMessage: 46,\r\n Open_PhoneMessageConquest: 47,\r\n Close_PhoneMessageConquest: 48,\r\n Open_SalesAlert: 49,\r\n Close_SalesAlert: 50,\r\n Open_ServiceOnly: 51,\r\n Close_ServiceOnly: 52,\r\n Open_WarrantyAlert: 53,\r\n Close_WarrantyAlert: 54,\r\n View_Deal_Sheet_From_Partner: 55,\r\n Activity_Posted_From_Partner: 56,\r\n DealSheet_Printed_From_Search: 57,\r\n Pando_Claim: 58,\r\n Mark_As_On_Order: 59,\r\n Unmark_As_On_Order: 60\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('vciResultType', {\r\n EulaRequired: 0,\r\n NotConfigured: 1,\r\n OptedOutNonoriginatingDealer: 2,\r\n OptedOutOriginatingDealer: 3,\r\n GeneralError: 4,\r\n VinNotFound: 5,\r\n HasData: 6\r\n});","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('creditPrescreenStatuses', {\r\n processing: 0,\r\n error: 1,\r\n noDataReceived: 2,\r\n creditDataReceived: 3,\r\n financialDataReceived: 4\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('creditTiers', {\r\n superPrime: 'A',\r\n prime: 'B',\r\n nearPrime: 'C',\r\n subPrime: 'D',\r\n deepSubPrime: 'E',\r\n didNotQualify: 'F',\r\n infoNotAvailable: 'G'\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('cultures', {\r\n enUS: 'en-US',\r\n enGB: 'en-GB',\r\n enCA: 'en-CA',\r\n frCA: 'fr-CA',\r\n frFR: 'fr-FR',\r\n esUS: 'es-US'\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('dateRangeTypes', {\r\n userInput: \"UI\",\r\n day: \"D\",\r\n month: \"M\",\r\n monthToDate: \"MTD\",\r\n quarter: \"Q\",\r\n quarterToDate: \"QTD\",\r\n yearToDate: \"YTD\",\r\n previousDay: \"PD\",\r\n previousMonth: \"PM\",\r\n previousMonthToDate: \"PMTD\",\r\n previousQuarter: \"PQ\",\r\n previousQuarterToDate: \"PQTD\",\r\n previousWeek: \"PW\",\r\n previousYearQuarter: \"PYQ\",\r\n previousYearQuarterToDate: \"PYQTD\",\r\n previousYear: \"PY\",\r\n previousYearToDate: \"PYTD\",\r\n last7Days: \"L7D\",\r\n last14Days: \"L14D\",\r\n last21Days: \"L21D\",\r\n last28Days: \"L28D\",\r\n last30Days: \"L30D\",\r\n last60Days: \"L60D\",\r\n last90Days: \"L90D\"\r\n});\r\n\r\n\r\nangular.module('AaApp.Opp').constant('deliveryDateRangeOrdinalTypes', {\r\n day1st: 1,\r\n day2nd: 2,\r\n day3rd: 3,\r\n day4th: 4,\r\n day5th: 5,\r\n day6th: 6,\r\n day7th: 7,\r\n day8th: 8,\r\n day9th: 9,\r\n day10th: 10,\r\n day11th: 11,\r\n day12th: 12,\r\n day13th: 13,\r\n day14th: 14,\r\n day15th: 15,\r\n day16th: 16,\r\n day17th: 17,\r\n day18th: 18,\r\n day19th: 19,\r\n day20th: 20,\r\n day21st: 21,\r\n day22nd: 22,\r\n day23rd: 23,\r\n day24th: 24,\r\n day25th: 25,\r\n day26th: 26,\r\n day27th: 27,\r\n day28th: 28,\r\n lastDayOfMonth: 31\r\n});\r\n\r\nangular.module('AaApp.Opp').constant('deliveryWeekDayTypes', {\r\n weekday1: 1,\r\n weekday2: 2,\r\n weekday3: 3,\r\n weekday4: 4,\r\n weekday5: 5,\r\n weekday6: 6,\r\n weekday7: 7\r\n});","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('defaultCashTermMonths', 60);\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp')\r\n .constant('doNotCallStatusTypes', {\r\n notProcessed: 0,\r\n invalidNumber: 1,\r\n notSubscribed: 2,\r\n onDoNotCallList: 3,\r\n offDoNotCallList: 4\r\n })\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('entityActionAccessEnum', {\r\n showHasWarranty: 0,\r\n showSoldWarranty: 1,\r\n showDoesntHaveWarranty: 2,\r\n showUndoSoldWarranty: 3,\r\n showVehicleNotPaidoff: 4\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('eulaResponseTypes', {\r\n accept: 1,\r\n decline: 2,\r\n defer: 3\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('euroOpportunityGridLayout', [\r\n { \r\n 'group': 'ranking', \r\n 'displayName': 'Ranking',\r\n 'hide': true,\r\n 'fields': [\r\n { \r\n \"name\": \"_Opportunity_Rank\",\r\n \"db_name\": \"_Opportunity\",\r\n \"displayname\": \"Score\",\r\n \"key\": \"score\",\r\n \"isChecked\": true,\r\n \"selectable\": false\r\n }\r\n ]\r\n },\r\n { \r\n 'group': 'customerLabel', \r\n 'displayName': 'Customer',\r\n 'fields': [\r\n { \r\n \"name\": \"full_Name\",\r\n \"db_name\": \"Full Name\",\r\n \"displayname\": \"Full Name\",\r\n \"key\": \"fullName\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n },\r\n { \r\n \"name\": \"customer_Owner\",\r\n \"db_name\": \"Customer Owner\",\r\n \"displayname\": \"Client Owner\",\r\n \"key\": \"clientOwner\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n },\r\n {\r\n \"name\": \"home_Phone\",\r\n \"db_name\": \"Home Phone\",\r\n \"displayname\": \"Home Phone\",\r\n \"key\": \"phone1\",\r\n \"isChecked\": false,\r\n \"selectable\": true\r\n\r\n },\r\n {\r\n \"name\": \"cell_Phone\",\r\n \"db_name\": \"Cell Phone\",\r\n \"displayname\": \"Cell Phone\",\r\n \"key\": \"phone2\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n }\t\t\t\t\r\n ]\r\n },\r\n { \r\n 'group': 'dealinfoLabel', \r\n 'displayName': 'Deal Info',\r\n 'fields': [\r\n {\r\n \"name\": \"sale_Type\",\r\n \"db_name\": \"Sale Type\",\r\n \"displayname\": \"Sale Type\",\r\n \"key\": \"saleType\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n },\r\n {\r\n \"name\": \"dmS_Deal_ID\",\r\n \"db_name\": \"DMS Deal ID\",\r\n \"displayname\": \"Contract ID\",\r\n \"key\": \"dmsDealId\",\r\n \"isChecked\": false,\r\n \"selectable\": true\r\n }\r\n ]\r\n },\r\n { \r\n 'group': 'vehicleLabel', \r\n 'displayName': 'Vehicle',\r\n 'fields': [\r\n { \r\n \"name\": \"current_Model_Name\",\r\n \"db_name\": \"Current Model Name\",\r\n \"displayname\": \"Model\",\r\n \"key\": \"model\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n },\t\t\t\r\n { \r\n \"name\": \"current_Model_Year\",\r\n \"db_name\": \"Current Model Year\",\r\n \"displayname\": \"Year\",\r\n \"key\": \"year\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n }\t\t\r\n ]\r\n },\r\n { \r\n 'group': 'opportunityCategoriesLabel', \r\n 'displayName': 'Opportunity Categories',\r\n 'fields': [\r\n { \r\n \"name\": \"Categories\",\r\n \"db_name\": \"__Categories__\",\r\n \"displayname\": \"Categories\",\r\n \"key\": \"categories\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n }\r\n ]\r\n },\t\r\n { \r\n 'group': 'calculationLabel', \r\n 'displayName': 'Calculation',\r\n 'fields': [\r\n { \r\n \"name\": \"payment_Remaining\",\r\n \"db_name\": \"Payment Remaining\",\r\n \"displayname\": \"Payments Remaining\",\r\n \"key\": \"paymentsLeftToolTip\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n },\r\n\t\t\t\r\n { \r\n \"name\": \"payments_Made\",\r\n \"db_name\": \"Payments Made\",\r\n \"displayname\": \"Payments Made\",\r\n \"key\": \"paymentsMadeToolTip\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n },\r\n\t\t\t\r\n { \r\n \"name\": \"payment_Difference__\",\r\n \"db_name\": \"Payment Difference %\",\r\n \"displayname\": \"Pmt. Diff. %\",\r\n \"key\": \"paymentsDifferenceToolTip\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n }\t\t\t\r\n ]\r\n },\r\n { \r\n 'group': 'recentActivityLabel', \r\n 'displayName': 'Recent Activity',\r\n 'fields': [\r\n { \r\n \"name\": \"performed_On\",\r\n \"db_name\": \"Performed On\",\r\n \"displayname\": \"Activity Date\",\r\n \"key\": \"lastActivityToolTip\",\r\n \"isChecked\": true,\r\n \"selectable\": true\r\n }\t\t\t\r\n ]\r\n },\r\n]);","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('fuelTypes', {\r\n diesel: 1058,\r\n gas: 1059,\r\n phev: 1152,\r\n electric: 1167,\r\n cng: 1209\r\n});\r\n","import angular from 'angular';\r\n\r\nexport const legacyUrlMappings = {\r\n // these are used throughout the app\r\n logIn: '/SSO/SSOLogin?returnUrl=/Security/User/LandingPage',\r\n dealSheets: '/AlertDesk/DealSheet/Show?',\r\n opportunities: '/AlertDesk/Opportunity',\r\n preOwnedManagerFindABuyer: '/AlertDesk/PreOwnedManager/Index',\r\n quickSearch: '/AlertDesk/QuickSearch/Show?Query=',\r\n register: '/register/',\r\n searchPresets: '/AlertDesk/Search/Index?ConditionID=',\r\n searchTags: '/AlertDesk/Search/Index?TagID={tagid}&d={dealerid}',\r\n securityNewAccountActivate: '/security/newAccount/activate',\r\n activities: '/AlertDesk/Activities/Index',\r\n legacyUnsubscribe: '/Security/User/Unsubscribe',\r\n legacyNotification: '/Security/User/Notification',\r\n\r\n // These can be moved\r\n alertDesk: '/Home/ContactUs',\r\n dashboard: '/Home/ContactUs',\r\n opportunitiesAlert: '/AlertDesk/Opportunity/alert?d={dealerId}',\r\n opportunitiesAppointment: '/AlertDesk/Opportunity/appointment?d={dealerId}',\r\n opportunitiesService: '/AlertDesk/Opportunity/service?d={dealerId}',\r\n opportunitiesFlexAlert: '/AlertDesk/Opportunity/flex?d={dealerId}',\r\n opportunitiesContractEnd: '/AlertDesk/Opportunity/contract-end?d={dealerId}',\r\n opportunitiesInMarket: '/AlertDesk/Opportunity/inmarket?d={dealerId}',\r\n opportunitiesInMarketEngaged: '/AlertDesk/Opportunity/inmarketengaged?d={dealerId}',\r\n opportunitiesMileage: '/AlertDesk/Opportunity/mileage?d={dealerId}',\r\n opportunitiesWarranty: '/AlertDesk/Opportunity/warranty?d={dealerId}',\r\n opportunitiesLease: '/AlertDesk/Opportunity?saletypes=lease&opportunityType=allops&d={dealerId}',\r\n opportunitiesRetail: '/AlertDesk/Opportunity?saletypes=retail&saletypes=balloon&opportunityType=allops&d={dealerId}',\r\n activitiesAgenda: '/AlertDesk/Activities/Index?d={dealerId}#agenda',\r\n search: '/AlertDesk/Search/Index',\r\n conquests: '/AlertDesk/Conquest',\r\n preOwnedManager: '/AlertDesk/PreOwnedManager',\r\n serviceManager: '/AlertDesk/ServiceManager',\r\n financeInsuranceManager: '/WorkSheets/WorkSheet/#Standard',\r\n inventoryDashboard: '/Preowned/PreownedHomePage/',\r\n summaryReport: '/Reporting/Summary',\r\n soldUnitsReport: '/Reporting/SoldUnits',\r\n soldUnitsDetailReport: '/Reporting/SoldDetailed',\r\n expressRoiReport: '/Reporting/SDOROIReport',\r\n tradeInsReport: '/Reporting/TradeIns',\r\n oneToOneReport: '/Reporting/DirectAlert',\r\n userActivityReport: '/Reporting/UserActivity',\r\n activityReport: '/Reporting/Activities',\r\n emailTemplateReport: '/Reporting/UserEmailTemplateActivity',\r\n opportunitiesReport: '/Reporting/Opportunities',\r\n inventoryReport: '/Reporting/Inventory',\r\n certificationReport: '/Reporting/Certification',\r\n webinarAttendanceReport: '/Reporting/WebinarAttendance',\r\n profitCenterUtilizationReport: '/ProfitCenter/Pcu',\r\n creditConvertReport: '/Reporting/CreditConvertProcessed',\r\n vinScanUtilizationReport: '/Reporting/VinScanUtilization',\r\n tradeIns: '/DataEntry/TradeIns/Edit',\r\n userProfile: '/Security/User/Profile',\r\n settings: '/Settings/DealerSettings/Config',\r\n users: '/Security/UserManagement/ListUsers',\r\n // roles: '/Security/Role/ManageRoles',\r\n notifications: '/Settings/NotificationSettings/Config',\r\n pandoIntegration: '/Settings/PandoSettings/Config', \r\n creditConvertEstimator: '/CreditConvert/Estimate',\r\n accessRights: '/Settings/DealerAccessRights/Config',\r\n employees: '/Security/EmployeeManagement/ListEmployees',\r\n about: '/Home/About',\r\n help: '/Home/ContactUs',\r\n contactUs: '/Home/ContactUs',\r\n};\r\n\r\nangular.module('AaApp.Opp').constant('legacyUrlMappings', legacyUrlMappings)\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('messageTypes', {\r\n success: 'success',\r\n warning: 'warning',\r\n error: 'error'\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('msrpTypes', {\r\n average: 1,\r\n inventory: 2\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('priceSetToOptions', {\r\n empty: \"N\",\r\n totalPrice: \"P\",\r\n msrp: \"M\"\r\n});","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('reportsMenu', [\r\n {\r\n \"id\": \"dashboardReport\",\r\n \"moduleId\": 78,\r\n \"displayName\": \"dashboardReport\",\r\n \"authorize\": true,\r\n \"url\": \"/dashboard\",\r\n \"beta\": true,\r\n \"betaOnly\": true,\r\n \"category\": null\r\n },\r\n {\r\n \"id\": \"performanceReport\",\r\n \"moduleId\": 78,\r\n \"displayName\": \"performanceReport\",\r\n \"authorize\": true,\r\n \"url\": \"/performance\",\r\n \"beta\": true,\r\n \"betaOnly\": true,\r\n \"category\": 6\r\n },\r\n {\r\n \"id\": \"summaryReport\",\r\n \"moduleId\": 28,\r\n \"displayName\": \"summaryReport\",\r\n \"authorize\": true,\r\n \"url\": \"/summary\",\r\n \"beta\": false\r\n },\r\n {\r\n \"id\": \"certificationReport\",\r\n \"moduleId\": 40,\r\n \"displayName\": \"certificationReport\",\r\n \"authorize\": true,\r\n \"url\": \"/certification\",\r\n \"beta\": true,\r\n \"betaKey\": \"certificationAndTrainingReport\",\r\n \"category\": 1\r\n },\r\n {\r\n \"id\": \"userActivityReport\",\r\n \"moduleId\": 12,\r\n \"displayName\": \"userActivityReport\",\r\n \"authorize\": true,\r\n \"url\": \"/user-activity\",\r\n \"beta\": true,\r\n \"category\": 1\r\n },\r\n {\r\n \"id\": \"soldUnitsReport\",\r\n \"moduleId\": 13,\r\n \"displayName\": \"soldUnitsReport\",\r\n \"authorize\": true,\r\n \"url\": \"/sold-units\",\r\n \"beta\": true,\r\n \"category\": 1\r\n },\r\n {\r\n \"id\": \"salesGrossReport\",\r\n \"moduleId\": 34,\r\n \"displayName\": \"salesGrossReport\",\r\n \"authorize\": true,\r\n \"url\": \"/sales-gross\",\r\n \"beta\": true,\r\n \"betaOnly\": true,\r\n \"category\": 1\r\n },\r\n {\r\n \"id\": \"serviceDriveSalesPerformanceReport\",\r\n \"moduleId\": 53,\r\n \"displayName\": \"serviceDriveSalesPerformanceReport\",\r\n \"authorize\": true,\r\n \"url\": \"/service-drive-sales-performance\",\r\n \"beta\": true,\r\n \"betaOnly\": true,\r\n \"category\": 1\r\n },\r\n {\r\n \"id\": \"creditConvertReport\",\r\n \"moduleId\": 48,\r\n \"displayName\": \"creditConvertReport\",\r\n \"authorize\": true,\r\n \"url\": \"/credit-convert\",\r\n \"beta\": true,\r\n \"category\": 1\r\n },\r\n {\r\n \"id\": \"dataCleanseReport\",\r\n \"moduleId\": 85,\r\n \"displayName\": \"dataCleanseReport\",\r\n \"authorize\": true,\r\n \"url\": \"/dataCleanse\",\r\n \"beta\": true,\r\n \"category\": 1\r\n },\r\n {\r\n \"id\": \"inventoryReport\",\r\n \"moduleId\": 37,\r\n \"displayName\": \"inventoryReport\",\r\n \"authorize\": true,\r\n \"url\": \"/inventory\",\r\n \"beta\": true,\r\n \"category\": 1\r\n },\r\n {\r\n \"id\": \"soldUnitsDetailReport\",\r\n \"moduleId\": 34,\r\n \"displayName\": \"soldUnitsDetailReport\",\r\n \"authorize\": true,\r\n \"url\": \"/sales-roi\",\r\n \"beta\": false\r\n },\r\n {\r\n \"id\": \"expressRoiReport\",\r\n \"moduleId\": 54,\r\n \"displayName\": \"expressRoiReport\",\r\n \"authorize\": true,\r\n \"url\": \"/express-roi\",\r\n \"beta\": false\r\n },\r\n {\r\n \"id\": \"tradeInsReport\",\r\n \"moduleId\": 38,\r\n \"displayName\": \"tradeInsReport\",\r\n \"authorize\": true,\r\n \"url\": \"/trade-ins\",\r\n \"beta\": false\r\n },\r\n {\r\n \"id\": \"activityReport\",\r\n \"moduleId\": 11,\r\n \"displayName\": \"activityReport\",\r\n \"authorize\": true,\r\n \"url\": \"/activity\",\r\n \"beta\": false\r\n },\r\n {\r\n \"id\": \"emailTemplateReport\",\r\n \"moduleId\": 47,\r\n \"displayName\": \"emailTemplateReport\",\r\n \"authorize\": true,\r\n \"url\": \"/template-email\",\r\n \"beta\": false\r\n },\r\n {\r\n \"id\": \"opportunitiesReport\",\r\n \"moduleId\": 10,\r\n \"displayName\": \"opportunitiesReport\",\r\n \"authorize\": true,\r\n \"url\": \"/opportunities\",\r\n \"beta\": false\r\n },\r\n {\r\n \"id\": \"webinarAttendanceReport\",\r\n \"moduleId\": 45,\r\n \"displayName\": \"webinarAttendanceReport\",\r\n \"authorize\": true,\r\n \"url\": \"/webinar-attendance\",\r\n \"beta\": false\r\n },\r\n {\r\n \"id\": \"vinScanUtilizationReport\",\r\n \"moduleId\": 53,\r\n \"displayName\": \"vinScanUtilizationReport\",\r\n \"authorize\": true,\r\n \"url\": \"/vin-scan-utilization\",\r\n \"beta\": false\r\n },\r\n {\r\n \"id\": \"autoAssistantSoldUnitsReport\",\r\n \"moduleId\": 92,\r\n \"displayName\": \"autoAssistantSoldUnitsReport\",\r\n \"authorize\": true,\r\n \"url\": \"/autoAssistantSoldUnits\",\r\n \"beta\": true,\r\n \"category\": 7\r\n },\r\n {\r\n \"id\": \"autoAssistantActivityReport\",\r\n \"moduleId\": 94,\r\n \"displayName\": \"autoAssistantActivityReport\",\r\n \"authorize\": true,\r\n \"url\": \"/autoAssistantActivity\",\r\n \"beta\": true,\r\n \"category\": 7\r\n },\r\n {\r\n \"id\": \"geoAlertSoldUnitsReport\",\r\n \"moduleId\": 91,\r\n \"displayName\": \"geoAlertSoldUnitsReport\",\r\n \"authorize\": true,\r\n \"url\": \"/geoalert\",\r\n \"beta\": true,\r\n \"category\": 8\r\n },\r\n {\r\n \"id\": \"onetoOneSoldUnitsReport\",\r\n \"moduleId\": 86,\r\n \"displayName\": \"onetoOneSoldUnitsReport\",\r\n \"authorize\": true,\r\n \"url\": \"/one-to-one-sold-units\",\r\n \"beta\": true,\r\n \"category\": 5\r\n },\r\n {\r\n \"id\": \"pandoUserActivityReport\",\r\n \"moduleId\": 81,\r\n \"displayName\": \"pandoUserActivityReport\",\r\n \"authorize\": true,\r\n \"url\": \"/pando-activity\",\r\n \"beta\": true,\r\n \"betaOnly\": true,\r\n \"category\": 4\r\n },\r\n {\r\n \"id\": \"pandoSurveyReport\",\r\n \"displayName\": \"pandoSurveyReport\",\r\n \"authorize\": true,\r\n \"url\": \"/pando-surveys\",\r\n \"beta\": true,\r\n \"betaOnly\": true,\r\n \"category\": 4\r\n },\r\n {\r\n \"id\": \"partnerExportSoldUnitsReport\",\r\n \"moduleId\": 96,\r\n \"displayName\": \"partnerExportSoldUnitsReport\",\r\n \"authorize\": true,\r\n \"url\": \"/partner-export-sold-units\",\r\n \"beta\": true,\r\n \"category\": 10\r\n },\r\n]);\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('reportSubscriptionViewTypes', {\r\n list: 1,\r\n add: 2,\r\n edit: 3\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('reportSubscriptionPeriods', {\r\n daily: 1,\r\n weekly: 2,\r\n monthly: 3\r\n})\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('reportCategories', {\r\n opportunities: 1,\r\n social: 2,\r\n campaigns: 3,\r\n communication: 4,\r\n onetoone: 5,\r\n performance: 6,\r\n autoassistant: 7,\r\n geoalert: 8,\r\n beta: 9,\r\n partnerExport: 10\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp')\r\n .constant('roles', {\r\n globalAdmin: 1,\r\n customerSupport: 2,\r\n dealerAdmin: 4,\r\n generalManager: 5,\r\n salesManager: 6,\r\n salesAssociate: 7,\r\n financeAndInsuranceManager: 8, \r\n salesAllClients: 9,\r\n trainer: 10,\r\n baseSalesAssociate: 12,\r\n dataEntry: 29,\r\n regionalSalesManager: 853,\r\n clientCareAdvisor: 854,\r\n portfolioManager: 855,\r\n usedCarSalesManager: 1005\r\n })\r\n","export const ReportHeaderTypes = {\r\n full: 1,\r\n validatedFull: 2,\r\n singleDate: 3,\r\n dealerOnly: 4,\r\n dealerMake: 5,\r\n dealerDatesPresets: 6,\r\n pandoSurvey: 7,\r\n dealerOnlyNoSubscriptionDateSelector: 8,\r\n dealerMakeNoSubscriptionDateSelector: 9,\r\n performanceReport: 10\r\n};\r\nexport default ReportHeaderTypes;\r\n// usage samples:\r\n// import { ReportHeaderTypes } from './report-header-types';\r\n// import header from './report-header-types';\r\n// import header from '../constants/reports/report-header-types';","import header from './report-header-types';\r\n\r\nexport const ReportSpecs = {\r\n dashboardReport: {\r\n enterprise: {\r\n titleKey: 'dashboardEnterpriseReport',\r\n id: '07AB1B03-C3DF-49EF-BE1D-3782154ED111',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: false,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'dashboardReport',\r\n id: '300D9123-2B03-4F1D-9E59-0EC3860109C7',\r\n header: header.full,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: false,\r\n subscriptionEnabled: true\r\n },\r\n performanceReport: {\r\n titleKey: 'performanceReport',\r\n id: '95a222ba-3a87-4d6b-917f-3206eb656b13',\r\n header: header.performanceReport,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: false,\r\n subscriptionEnabled: false\r\n },\r\n serviceDriveSalesPerformanceReport: {\r\n enterprise: {\r\n titleKey: 'serviceDriveEnterpriseReport',\r\n id: '89AE34BF-1B2D-4409-BD79-F172F854AB33',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'serviceDriveSalesPerformanceReport',\r\n id: '45F68C06-BD36-4C14-8B3D-C5975B5A1993',\r\n header: header.full,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true\r\n },\r\n salesGrossReport: {\r\n enterprise: {\r\n titleKey: 'salesGrossEnterpriseReport',\r\n id: 'F4F716B9-A622-4D4D-8D5F-286CA4009F54',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'salesGrossReport',\r\n id: 'F75B5259-918F-40A5-BE58-4C8C4D90C9BE',\r\n header: header.full,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true\r\n },\r\n soldUnitsReport: {\r\n enterprise: {\r\n titleKey: 'soldUnitsEnterpriseReport',\r\n id: 'F0F4BC96-37F0-4D0B-91AE-4B0E6ED45700',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'soldUnitsReport',\r\n id: '95914140-DCBC-4A33-89F0-5F7585677ABD',\r\n header: header.full,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true\r\n },\r\n inventoryReport: {\r\n titleKey: 'inventoryReport',\r\n id: '947A06D2-947A-4516-B87E-DECBF1627D56',\r\n header: header.dealerMakeNoSubscriptionDateSelector,\r\n pdfExportEnabled: false,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n hideDateRange: true\r\n },\r\n certificationReport: {\r\n enterprise: {\r\n titleKey: 'certificationEnterpriseReport',\r\n id: 'CBCDCB2E-99E0-4284-BD2D-E3D1D33FF675',\r\n header: header.dealerOnlyNoSubscriptionDateSelector,\r\n pdfExportEnabled: false,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'certificationReport',\r\n id: '33807310-7EEC-41C9-B421-9FC02624ECAB',\r\n header: header.dealerOnlyNoSubscriptionDateSelector,\r\n pdfExportEnabled: false,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n hideDateRange: true\r\n },\r\n creditConvertReport: {\r\n titleKey: 'creditConvertReport',\r\n id: 'FFA1E807-7BAC-4D04-B711-CE246FA664C1',\r\n header: header.full,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true\r\n },\r\n userActivityReport: {\r\n enterprise: {\r\n titleKey: 'userActivityEnterpriseReport',\r\n id: '8AB29810-08E6-4ABB-A3A8-7465C4AF398B',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'userActivityReport',\r\n id: '7F802F2E-C591-41AA-8796-CF89565B0FDD',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true\r\n },\r\n autoAssistantSoldUnitsReport: {\r\n enterprise: {\r\n titleKey: 'autoAssistantSoldUnitsEnterpriseReport',\r\n id: '63A3112B-FA5F-40E1-AF4A-5594C51B6A40',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'autoAssistantSoldUnitsReport',\r\n id: 'A1DCDA27-D901-4CCC-BE50-13BF401AC1DA',\r\n header: header.full,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n },\r\n autoAssistantActivityReport: {\r\n titleKey: 'autoAssistantActivityReport',\r\n id: '71328081-6A58-432B-B1A2-BB074888D236',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n },\r\n geoAlertSoldUnitsReport: {\r\n enterprise: {\r\n titleKey: 'geoAlertSoldUnitsEnterpriseReport',\r\n id: 'ffd67c1c-c963-4aaa-b7dc-8b6f60cb387c',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'geoAlertSoldUnitsReport',\r\n id: 'F53C3FA9-A4FB-49DD-A59C-53315E1B66E0',\r\n header: header.full,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n },\r\n onetoOneSoldUnitsReport: {\r\n enterprise: {\r\n titleKey: 'onetoOneSoldUnitsEnterpriseReport',\r\n id: 'E068D026-F9DC-4B34-8F44-14ABF7E5B492',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'onetoOneSoldUnitsReport',\r\n id: 'F0C44905-30B9-4FE9-9740-F9410AE247DB',\r\n header: header.full,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n },\r\n partnerExportSoldUnitsReport: {\r\n titleKey: 'partnerExportSoldUnitsReport',\r\n id: 'BC818593-8D81-4CDC-8C1A-02708B9213AE',\r\n header: header.full,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n },\r\n serviceLaneTechnologyReport: {\r\n titleKey: 'serviceLaneTechnologyReport',\r\n id: 'F1AC5684-0D82-4181-9632-300C16F09916',\r\n header: header.dealerOnly,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: false\r\n },\r\n pandoSurveyReport: {\r\n titleKey: 'pandoSurveyReport',\r\n id: 'A633D09A-9627-4568-88A0-B72AA0BC4443',\r\n header: header.pandoSurvey,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n isPandoReport: true\r\n },\r\n pandoUserActivityReport: {\r\n enterprise: {\r\n titleKey: 'pandoUserActivityEnterpriseReport',\r\n id: '2327CBF0-5E10-4415-B04D-EA282996C0DE',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n isEnterprise: true\r\n },\r\n titleKey: 'pandoUserActivityReport',\r\n id: '9BF6AB7B-26CA-474D-9AC9-77A720EEF2F1',\r\n header: header.dealerDatesPresets,\r\n pdfExportEnabled: true,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true\r\n },\r\n dataCleanseReport: {\r\n titleKey: 'dataCleanseReport',\r\n id: 'CA32CD1C-3BBB-4D44-B9F8-B8661595554C',\r\n header: header.dealerOnlyNoSubscriptionDateSelector,\r\n pdfExportEnabled: false,\r\n excelExportEnabled: true,\r\n subscriptionEnabled: true,\r\n hideDateRange: true\r\n }\r\n};\r\n\r\nexport default ReportSpecs;\r\n\r\nexport const ReportSpecsList = [];\r\nfor (let property in ReportSpecs) {\r\n let item = ReportSpecs[property];\r\n if (item.subscriptionEnabled) { ReportSpecsList.push(item); }\r\n if (item.enterprise && item.enterprise.subscriptionEnabled) { ReportSpecsList.push(item.enterprise); }\r\n}\r\n\r\nexport const AllReportSpecs = [];\r\nfor (let property in ReportSpecs) {\r\n let item = ReportSpecs[property];\r\n AllReportSpecs.push(item);\r\n if (item.enterprise) { AllReportSpecs.push(item.enterprise); }\r\n}\r\n\r\n// usage samples:\r\n// import { ReportSpecs } from './report-specs';\r\n// import reportSpecs from './report-specs';\r\n// import reportSpecs from '../constants/reports/report-specifications';\r\n","import reportSpecs from '../constants/reports/report-specifications';\r\n\r\nexport default function($stateProvider, reportsMenu) {\r\n 'ngInject';\r\n\r\n $stateProvider.state({\r\n name: 'reportsContainer',\r\n url: '/reports',\r\n component: 'reportsContainer',\r\n resolve: {\r\n kendo: function () {\r\n return importKendo();\r\n },\r\n moduleIds: function (dealerService, menuService, storageService) {\r\n \"ngInject\";\r\n var selectedDealerIds = dealerService.getSelectedDealerIds()\r\n return menuService.getSiteMap(selectedDealerIds)\r\n .then(function () {\r\n // This should be refactored. We only need moduleIds,\r\n // but we depend on the siteMap and accessRightIds to\r\n // be populated. The call to getSiteMap does everything.\r\n return storageService.getItem('moduleIds');\r\n });\r\n },\r\n selectedDealerIds: function (dealerService) {\r\n \"ngInject\";\r\n var selectedDealerIds = dealerService.getSelectedDealerIds()\r\n return selectedDealerIds;\r\n },\r\n }\r\n });\r\n\r\n for (var i = 0; i < reportsMenu.length; i++) {\r\n const report = reportsMenu[i];\r\n\r\n if (!report.betaOnly && report.id) {\r\n const state = createLegacyState(report.id, report.url);\r\n $stateProvider.state(state);\r\n }\r\n\r\n if (report.beta && report.id) {\r\n const state = createBetaState(report.id, report.url);\r\n $stateProvider.state(state);\r\n }\r\n }\r\n\r\n const state = createBetaReportState('betaReports', null);\r\n $stateProvider.state(state);\r\n\r\n\r\n function createBetaState(name, url) {\r\n return {\r\n parent: 'reportsContainer',\r\n name: name,\r\n url: url,\r\n component: 'reports',\r\n params: {\r\n optionalParams: null\r\n },\r\n resolve: {\r\n thisReportSpec: function () {\r\n return reportSpecs[name];\r\n }\r\n }\r\n }\r\n }\r\n\r\n function createBetaReportState(name, url) {\r\n return {\r\n parent: 'reportsContainer',\r\n name: name,\r\n url: '/beta?id',\r\n component: 'betaReports',\r\n params: {\r\n id: {\r\n value: ''\r\n }\r\n //userSelect: {\r\n // value: ''\r\n //}\r\n }\r\n }\r\n }\r\n\r\n function createLegacyState(name, url) {\r\n return {\r\n parent: 'reportsContainer',\r\n name: 'legacy' + name,\r\n url: '/legacy' + url,\r\n component: 'aaIframe',\r\n resolve: {\r\n src: function (legacy, legacyUrlMappings) {\r\n 'ngInject';\r\n return legacy.iframeUrl + legacyUrlMappings[name];\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport function importKendo(){\r\n // Lazy-load kendo-ui so it doesn't have to be downloaded immediately\r\n // See: https://webpack.js.org/guides/code-splitting/#dynamic-imports\r\n let components = [\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.core'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.data'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.popup'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.list'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.autocomplete'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.button'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.buttongroup'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.combobox'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.dropdownlist'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.userevents'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.selectable'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.calendar'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.datepicker'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.numerictextbox'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.binder'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.filtermenu'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.menu'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.columnmenu'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.draganddrop'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.groupable'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.filtercell'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.pager'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.reorderable'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.resizable'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.columnsorter'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.sortable'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.grid'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.listview'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.multiselect'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.toolbar'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.color'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.drawing'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.dataviz.core'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.dataviz.themes'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.dataviz.chart'),\r\n import(/* webpackChunkName: \"kendo-ui\" */ '@progress/kendo-ui/js/kendo.dropdowntree')\r\n ];\r\n return Promise.all(components)\r\n .then(completedComponents => {\r\n // We just need to return a handle to kendo.core\r\n let kendo = completedComponents[0]\r\n return kendo;\r\n })\r\n}\r\n","import \"core-js/modules/es6.promise\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.function.name\";\nimport reportSpecs from '../constants/reports/report-specifications';\n_ngInjectExport.$inject = [\"$stateProvider\", \"reportsMenu\"];\nexport default function _ngInjectExport($stateProvider, reportsMenu) {\n 'ngInject';\n\n $stateProvider.state({\n name: 'reportsContainer',\n url: '/reports',\n component: 'reportsContainer',\n resolve: {\n kendo: function kendo() {\n return importKendo();\n },\n moduleIds: [\"dealerService\", \"menuService\", \"storageService\", function moduleIds(dealerService, menuService, storageService) {\n \"ngInject\";\n\n var selectedDealerIds = dealerService.getSelectedDealerIds();\n return menuService.getSiteMap(selectedDealerIds).then(function () {\n // This should be refactored. We only need moduleIds,\n // but we depend on the siteMap and accessRightIds to\n // be populated. The call to getSiteMap does everything.\n return storageService.getItem('moduleIds');\n });\n }],\n selectedDealerIds: [\"dealerService\", function selectedDealerIds(dealerService) {\n \"ngInject\";\n\n var selectedDealerIds = dealerService.getSelectedDealerIds();\n return selectedDealerIds;\n }]\n }\n });\n\n for (var i = 0; i < reportsMenu.length; i++) {\n var report = reportsMenu[i];\n\n if (!report.betaOnly && report.id) {\n var _state = createLegacyState(report.id, report.url);\n\n $stateProvider.state(_state);\n }\n\n if (report.beta && report.id) {\n var _state2 = createBetaState(report.id, report.url);\n\n $stateProvider.state(_state2);\n }\n }\n\n var state = createBetaReportState('betaReports', null);\n $stateProvider.state(state);\n\n function createBetaState(name, url) {\n return {\n parent: 'reportsContainer',\n name: name,\n url: url,\n component: 'reports',\n params: {\n optionalParams: null\n },\n resolve: {\n thisReportSpec: function thisReportSpec() {\n return reportSpecs[name];\n }\n }\n };\n }\n\n function createBetaReportState(name, url) {\n return {\n parent: 'reportsContainer',\n name: name,\n url: '/beta?id',\n component: 'betaReports',\n params: {\n id: {\n value: '' //userSelect: {\n // value: ''\n //}\n\n }\n }\n };\n }\n\n function createLegacyState(name, url) {\n return {\n parent: 'reportsContainer',\n name: 'legacy' + name,\n url: '/legacy' + url,\n component: 'aaIframe',\n resolve: {\n src: [\"legacy\", \"legacyUrlMappings\", function src(legacy, legacyUrlMappings) {\n 'ngInject';\n\n return legacy.iframeUrl + legacyUrlMappings[name];\n }]\n }\n };\n }\n}\nexport function importKendo() {\n // Lazy-load kendo-ui so it doesn't have to be downloaded immediately\n // See: https://webpack.js.org/guides/code-splitting/#dynamic-imports\n var components = [import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.core'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.data'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.popup'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.list'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.autocomplete'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.button'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.buttongroup'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.combobox'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.dropdownlist'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.userevents'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.selectable'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.calendar'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.datepicker'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.numerictextbox'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.binder'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.filtermenu'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.menu'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.columnmenu'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.draganddrop'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.groupable'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.filtercell'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.pager'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.reorderable'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.resizable'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.columnsorter'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.sortable'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.grid'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.listview'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.multiselect'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.toolbar'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.color'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.drawing'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.dataviz.core'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.dataviz.themes'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.dataviz.chart'), import(\n /* webpackChunkName: \"kendo-ui\" */\n '@progress/kendo-ui/js/kendo.dropdowntree')];\n return Promise.all(components).then(function (completedComponents) {\n // We just need to return a handle to kendo.core\n var kendo = completedComponents[0];\n return kendo;\n });\n}","import angular from 'angular';\r\nimport { legacyUrlMappings } from './legacy-url-mappings'\r\nimport { importKendo } from '../core/report-routes.config';\r\nimport { DoNotCallEmailComponent } from '../components/admin/do-not-call-email/do-not-call-email.component';\r\nimport { AdminTemplatesComponent } from '../components/admin/admin-templates/admin-templates.component';\r\nimport { AdminSettingsComponent } from '../components/admin/admin-settings.component';\r\n\r\nexport const routerStates = [\r\n {\r\n name: 'opportunitiesAlert',\r\n url: '/alert-desk/opportunities/alert?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesFlexAlert',\r\n url: '/alert-desk/opportunities/flex?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesAppointment',\r\n url: '/alert-desk/opportunities/appointment?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesService',\r\n url: '/alert-desk/opportunities/service?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesMileage',\r\n url: '/alert-desk/opportunities/mileage?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesWarranty',\r\n url: '/alert-desk/opportunities/warranty?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesContractEnd',\r\n url: '/alert-desk/opportunities/contract-end?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesInMarket',\r\n url: '/alert-desk/opportunities/in-market?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesInMarketEngaged',\r\n url: '/alert-desk/opportunities/in-market-engaged?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesRetail',\r\n url: '/alert-desk/opportunities/retail?dealerId'\r\n },\r\n {\r\n name: 'opportunitiesLease',\r\n url: '/alert-desk/opportunities/lease?dealerId'\r\n },\r\n {\r\n name: 'activities',\r\n url: '/alert-desk/activities'\r\n },\r\n {\r\n name: 'activitiesAgenda',\r\n url: '/alert-desk/activities/agenda?dealerId'\r\n },\r\n {\r\n name: 'conquests',\r\n url: '/alert-desk/conquests'\r\n },\r\n {\r\n name: 'preOwnedManager',\r\n url: '/alert-desk/pre-owned-manager'\r\n },\r\n {\r\n name: 'serviceManager',\r\n url: '/alert-desk/service-manager'\r\n },\r\n {\r\n name: 'financeInsuranceManager',\r\n url: '/alert-desk/finance-insurance-manager'\r\n },\r\n {\r\n name: 'inventoryDashboard',\r\n url: '/inventory-dashboard'\r\n },\r\n {\r\n name: 'dataEntry',\r\n abstract: true,\r\n url: '/data-entry',\r\n component: 'dataEntryFrame',\r\n resolve: {\r\n kendo: importKendo,\r\n }\r\n },\r\n {\r\n name: 'dataEntry.prices',\r\n url: '/prices',\r\n component: 'dataEntryPrices',\r\n },\r\n {\r\n name: 'dataEntry.rates',\r\n url: '/rates',\r\n component: 'dataEntryRates',\r\n },\r\n {\r\n name: 'dataEntry.rebates',\r\n url: '/rebates',\r\n component: 'dataEntryRebates',\r\n },\r\n {\r\n name: 'dataEntry.tradeIns',\r\n url: '/trade-ins',\r\n component: 'dataEntryTradeIns',\r\n },\r\n {\r\n name: 'dataEntry.alerts',\r\n url: '/alerts',\r\n component: 'dataEntryAlerts',\r\n },\r\n {\r\n name: 'dataEntry.replacements',\r\n url: '/replacements',\r\n component: 'dataEntryReplacementOffers',\r\n },\r\n {\r\n name: 'settings',\r\n url: '/admin/settings',\r\n onExit: function (userService) {\r\n \"ngInject\";\r\n // This is specifically for the Lead Management \"leadAssignOwnerAccess\" module.\r\n // If the user changed the value, we need the user's new set of DealerModules.\r\n return userService.getUserProfile(true);\r\n }\r\n },\r\n {\r\n name: 'newSettings',\r\n url: '/admin/dealer-settings',\r\n component: AdminSettingsComponent,\r\n },\r\n {\r\n name: 'users',\r\n url: '/admin/users'\r\n },\r\n {\r\n name: 'roles',\r\n url: '/admin/roles',\r\n component: 'adminRoles',\r\n },\r\n {\r\n name: 'notifications',\r\n url: '/admin/notifications'\r\n },\r\n {\r\n name: 'adminReportSubscriptions',\r\n url: '/adminReportSubscriptions',\r\n component: 'adminReportSubscriptions',\r\n },\r\n {\r\n name: 'pandoIntegration',\r\n url: '/admin/pando-integration'\r\n },\r\n {\r\n name: 'doNotCallEmailList',\r\n url: '/admin/do-not-call-email-list',\r\n component: DoNotCallEmailComponent\r\n },\r\n {\r\n name: 'outreachTemplates',\r\n url: '/admin/outreach-templates',\r\n component: AdminTemplatesComponent\r\n },\r\n {\r\n name: 'creditConvertEstimator',\r\n url: '/admin/creditconvert'\r\n },\r\n {\r\n name: 'accessRights',\r\n url: '/admin/access-rights'\r\n },\r\n {\r\n name: 'employees',\r\n url: '/admin/employees'\r\n },\r\n {\r\n name: 'userProfile',\r\n url: '/user/profile',\r\n },\r\n {\r\n name: 'about',\r\n access: 'public',\r\n url: '/about'\r\n },\r\n {\r\n name: 'help',\r\n access: 'public',\r\n url: '/about/contact-us'\r\n },\r\n {\r\n name: 'contactUs',\r\n access: 'public',\r\n url: '/about/contact-us'\r\n },\r\n {\r\n name: 'wishList',\r\n url: '/alert-desk/wish-list',\r\n component: 'wishList',\r\n resolve: {\r\n kendo: importKendo,\r\n }\r\n },\r\n {\r\n name: 'potentialNLO',\r\n url: '/alert-desk/ai-manager',\r\n component: 'possibleNlo',\r\n resolve: {\r\n kendo: importKendo,\r\n }\r\n }\r\n];\r\n\r\nfor (const state of routerStates) {\r\n // Add on legacyUrl if it exists\r\n state.legacyUrl = legacyUrlMappings[state.name];\r\n}\r\n\r\nangular.module('AaApp.Opp').constant('routerStates', routerStates);\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('subMenuUnauthorized', [\r\n {\r\n \"id\": \"help\",\r\n \"moduleId\": 24,\r\n \"displayName\": \"help\",\r\n \"authorize\": false,\r\n \"imgUrl\": \"/Content/images/icons/16/Help Blue 16 n p.png\",\r\n \"baseUrl\": \"about\",\r\n \"url\": \"about/contact-us\",\r\n \"subMenuItems\": [\r\n {\r\n \"id\": \"contactUs\",\r\n \"moduleId\": 26,\r\n \"displayName\": \"contactUs\",\r\n \"authorize\": false,\r\n \"url\": \"about/contact-us\"\r\n },\r\n {\r\n \"id\": \"about\",\r\n \"moduleId\": 25,\r\n \"displayName\": \"about\",\r\n \"authorize\": false,\r\n \"url\": \"about\"\r\n }\r\n ]\r\n }\r\n]);\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('territories', [\r\n {\r\n \"id\": 0,\r\n \"countryId\": 0,\r\n \"abbreviation\": \"DS\",\r\n \"name\": \"Default\"\r\n },\r\n {\r\n \"id\": 2,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"AL\",\r\n \"name\": \"Alabama\"\r\n },\r\n {\r\n \"id\": 3,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"AK\",\r\n \"name\": \"Alaska\"\r\n },\r\n {\r\n \"id\": 4,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"AS\",\r\n \"name\": \"American Samoa\"\r\n },\r\n {\r\n \"id\": 5,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"AZ\",\r\n \"name\": \"Arizona\"\r\n },\r\n {\r\n \"id\": 6,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"AR\",\r\n \"name\": \"Arkansas\"\r\n },\r\n {\r\n \"id\": 7,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"CA\",\r\n \"name\": \"California\"\r\n },\r\n {\r\n \"id\": 8,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"CO\",\r\n \"name\": \"Colorado\"\r\n },\r\n {\r\n \"id\": 9,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"CT\",\r\n \"name\": \"Connecticut\"\r\n },\r\n {\r\n \"id\": 10,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"DE\",\r\n \"name\": \"Delaware\"\r\n },\r\n {\r\n \"id\": 11,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"DC\",\r\n \"name\": \"District Of Columbia\"\r\n },\r\n {\r\n \"id\": 12,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"FM\",\r\n \"name\": \"Federated States of Micronesia\"\r\n },\r\n {\r\n \"id\": 13,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"FL\",\r\n \"name\": \"Florida\"\r\n },\r\n {\r\n \"id\": 14,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"GA\",\r\n \"name\": \"Georgia\"\r\n },\r\n {\r\n \"id\": 15,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"GU\",\r\n \"name\": \"Guam\"\r\n },\r\n {\r\n \"id\": 16,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"HI\",\r\n \"name\": \"Hawaii\"\r\n },\r\n {\r\n \"id\": 17,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"ID\",\r\n \"name\": \"Idaho\"\r\n },\r\n {\r\n \"id\": 18,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"IL\",\r\n \"name\": \"Illinois\"\r\n },\r\n {\r\n \"id\": 19,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"IN\",\r\n \"name\": \"Indiana\"\r\n },\r\n {\r\n \"id\": 20,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"IA\",\r\n \"name\": \"Iowa\"\r\n },\r\n {\r\n \"id\": 21,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"KS\",\r\n \"name\": \"Kansas\"\r\n },\r\n {\r\n \"id\": 22,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"KY\",\r\n \"name\": \"Kentucky\"\r\n },\r\n {\r\n \"id\": 23,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"LA\",\r\n \"name\": \"Louisiana\"\r\n },\r\n {\r\n \"id\": 24,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"ME\",\r\n \"name\": \"Maine\"\r\n },\r\n {\r\n \"id\": 25,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"MH\",\r\n \"name\": \"Marshall Islands\"\r\n },\r\n {\r\n \"id\": 26,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"MD\",\r\n \"name\": \"Maryland\"\r\n },\r\n {\r\n \"id\": 27,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"MA\",\r\n \"name\": \"Massachusetts\"\r\n },\r\n {\r\n \"id\": 28,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"MI\",\r\n \"name\": \"Michigan\"\r\n },\r\n {\r\n \"id\": 29,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"MN\",\r\n \"name\": \"Minnesota\"\r\n },\r\n {\r\n \"id\": 30,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"MS\",\r\n \"name\": \"Mississippi\"\r\n },\r\n {\r\n \"id\": 31,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"MO\",\r\n \"name\": \"Missouri\"\r\n },\r\n {\r\n \"id\": 32,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"MT\",\r\n \"name\": \"Montana\"\r\n },\r\n {\r\n \"id\": 33,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"NE\",\r\n \"name\": \"Nebraska\"\r\n },\r\n {\r\n \"id\": 34,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"NV\",\r\n \"name\": \"Nevada\"\r\n },\r\n {\r\n \"id\": 35,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"NH\",\r\n \"name\": \"New Hampshire\"\r\n },\r\n {\r\n \"id\": 36,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"NJ\",\r\n \"name\": \"New Jersey\"\r\n },\r\n {\r\n \"id\": 37,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"NM\",\r\n \"name\": \"New Mexico\"\r\n },\r\n {\r\n \"id\": 38,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"NY\",\r\n \"name\": \"New York\"\r\n },\r\n {\r\n \"id\": 39,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"NC\",\r\n \"name\": \"North Carolina\"\r\n },\r\n {\r\n \"id\": 40,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"ND\",\r\n \"name\": \"North Dakota\"\r\n },\r\n {\r\n \"id\": 41,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"MP\",\r\n \"name\": \"Northern Mariana Islands\"\r\n },\r\n {\r\n \"id\": 42,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"OH\",\r\n \"name\": \"Ohio\"\r\n },\r\n {\r\n \"id\": 43,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"OK\",\r\n \"name\": \"Oklahoma\"\r\n },\r\n {\r\n \"id\": 44,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"OR\",\r\n \"name\": \"Oregon\"\r\n },\r\n {\r\n \"id\": 45,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"PW\",\r\n \"name\": \"Palau\"\r\n },\r\n {\r\n \"id\": 46,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"PA\",\r\n \"name\": \"Pennsylvania\"\r\n },\r\n {\r\n \"id\": 47,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"PR\",\r\n \"name\": \"Puerto Rico\"\r\n },\r\n {\r\n \"id\": 48,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"RI\",\r\n \"name\": \"Rhode Island\"\r\n },\r\n {\r\n \"id\": 49,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"SC\",\r\n \"name\": \"South Carolina\"\r\n },\r\n {\r\n \"id\": 50,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"SD\",\r\n \"name\": \"South Dakota\"\r\n },\r\n {\r\n \"id\": 51,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"TN\",\r\n \"name\": \"Tennessee\"\r\n },\r\n {\r\n \"id\": 52,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"UT\",\r\n \"name\": \"Utah\"\r\n },\r\n {\r\n \"id\": 53,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"VT\",\r\n \"name\": \"Vermont\"\r\n },\r\n {\r\n \"id\": 54,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"VI\",\r\n \"name\": \"Virgin Islands\"\r\n },\r\n {\r\n \"id\": 55,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"VA\",\r\n \"name\": \"Virginia\"\r\n },\r\n {\r\n \"id\": 56,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"WA\",\r\n \"name\": \"Washington\"\r\n },\r\n {\r\n \"id\": 57,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"WV\",\r\n \"name\": \"West Virginia\"\r\n },\r\n {\r\n \"id\": 58,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"WI\",\r\n \"name\": \"Wisconsin\"\r\n },\r\n {\r\n \"id\": 59,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"WY\",\r\n \"name\": \"Wyoming\"\r\n },\r\n {\r\n \"id\": 60,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"TX\",\r\n \"name\": \"Texas\"\r\n },\r\n {\r\n \"id\": 61,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"QC\",\r\n \"name\": \"Quebec\"\r\n },\r\n {\r\n \"id\": 63,\r\n \"countryId\": 1,\r\n \"abbreviation\": \"UNK\",\r\n \"name\": \"Unknown\"\r\n },\r\n {\r\n \"id\": 64,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"UNK\",\r\n \"name\": \"Unknown\"\r\n },\r\n {\r\n \"id\": 65,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"ON\",\r\n \"name\": \"Ontario\"\r\n },\r\n {\r\n \"id\": 66,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"NS\",\r\n \"name\": \"Nova Scotia\"\r\n },\r\n {\r\n \"id\": 68,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"NB\",\r\n \"name\": \"New Brunswick\"\r\n },\r\n {\r\n \"id\": 69,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"MB\",\r\n \"name\": \"Manitoba\"\r\n },\r\n {\r\n \"id\": 70,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"BC\",\r\n \"name\": \"British Columbia\"\r\n },\r\n {\r\n \"id\": 71,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"PE\",\r\n \"name\": \"Prince Edward Island\"\r\n },\r\n {\r\n \"id\": 72,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"SK\",\r\n \"name\": \"Saskatchewan\"\r\n },\r\n {\r\n \"id\": 73,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"AB\",\r\n \"name\": \"Alberta\"\r\n },\r\n {\r\n \"id\": 75,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"NL\",\r\n \"name\": \"Newfoundland and Labrador\"\r\n },\r\n {\r\n \"id\": 77,\r\n \"countryId\": 3,\r\n \"abbreviation\": \"ENG\",\r\n \"name\": \"England\"\r\n },\r\n {\r\n \"id\": 78,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"NT\",\r\n \"name\": \"NorthWest Territories\"\r\n },\r\n {\r\n \"id\": 79,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"NU\",\r\n \"name\": \"Nunavut\"\r\n },\r\n {\r\n \"id\": 80,\r\n \"countryId\": 2,\r\n \"abbreviation\": \"YT\",\r\n \"name\": \"Yukon\"\r\n }\r\n]);\r\n","import angular from 'angular';\r\n\r\nvar basePath = '/app/i18n/'\r\n\r\nangular.module('AaApp.Opp')\r\n .constant('localePaths', {\r\n activity: basePath + 'activity',\r\n dashboard: basePath + 'dashboard',\r\n dealSheet: basePath + 'deal-sheet',\r\n error: basePath + 'error',\r\n featureComparison: basePath + 'feature-comparison',\r\n general: basePath + 'general',\r\n header: basePath + 'header',\r\n oneToOne: basePath + 'one-to-one-activities',\r\n scripts: basePath + 'scripts',\r\n serviceDrive: basePath + 'service-drive',\r\n subMenu: basePath + 'sub-menu',\r\n recentDealSheets: basePath + 'recent-deal-sheets',\r\n userProfile: basePath + 'user-profile'\r\n });\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp')\r\n .constant('duplicateSubscriptionKey', 'duplicateSubscriptionMessage')\r\n .constant('reportSubscriptionSubjectKey', 'reportSubscriptionSubject')\r\n .constant('reportSubscriptionEnterpriseSubjectKey', 'reportSubscriptionEnterpriseSubject')\r\n .constant('allMakesPreselectedKey', 'allMakesPreselected')\r\n .constant('optInConfirmationMessageKey', 'optInConfirmationMessage')\r\n .constant('optInConfirmationTitleKey', 'optInConfirmationTitle')\r\n .constant('submitDiscrepancySuccessMessageKey', 'submitDiscrepancySuccessMessage')\r\n .constant('currentVehicleKey', 'currentVehicle')\r\n .constant('paymentsKey', 'payments')\r\n .constant('announcementKey', 'announcement')\r\n .constant('financeFieldPromptTitleKey', 'financeFieldPromptTitle')\r\n .constant('financeFieldPromptMessageKey', 'financeFieldPromptMessage')\r\n .constant('monthlyPaymentAmountKey', 'monthlyPaymentAmount')\r\n .constant('financedAmountKey', 'financedAmount')\r\n .constant('aprKey', 'apr')\r\n .constant('residualKey', 'financialBalloonResidual')\r\n .constant('creditPrescreenErrorKey', 'creditPrescreenError')\r\n .constant('creditPrescreenResultsKey', 'preScreenResults')\r\n .constant('noCreditPrescreenDataKey', 'noCreditPrescreenData')\r\n .constant('reopenKey', 'reopen')\r\n .constant('reopenDealSheetConfirmationKey', 'reopenDealSheetConfirmation')\r\n .constant('markAsSoldHeaderKey', 'markAsSoldHeader')\r\n .constant('markAsSoldConfirmationKey', 'markAsSoldConfirmation')\r\n .constant('activityPostedKey', 'activityPosted')\r\n .constant('successKey', 'success')\r\n .constant('generalNaKey', 'naMessage')\r\n .constant('logEmailSentTitleKey', 'logEmailSentTitle')\r\n .constant('postNotesTitleKey', 'postNotesTitle')\r\n .constant('logCallTitleKey', 'logCallTitle')\r\n .constant('scheduleTitleApptKey', 'scheduleTitleAppt')\r\n .constant('scheduleTitleCallKey', 'scheduleTitleCall')\r\n .constant('switchToNewDealSheetKey', 'switchToNew')\r\n .constant('switchToClassicDealSheetKey', 'switchToClassic')\r\n .constant('tagExpirationKey', 'tagExpiration')\r\n .constant('tagNoExpirationKey', 'tagNoExpiration')\r\n .constant('recentRepairOrdersKey', 'recentRepairOrders')\r\n .constant('recentRepairOrdersAbbreviatedKey', 'recentRepairOrdersAbbreviated')\r\n .constant('singularKey', 'Singular')\r\n .constant('serviceAppointmentShortLabelKey', 'serviceAppointmentShortLabel')\r\n .constant('serviceAppointmentLongLabelKey', 'serviceAppointmentLongLabel')\r\n .constant('rescheduleTitleCallKey', 'rescheduleTitleCall')\r\n .constant('rescheduleTitleApptKey', 'rescheduleTitleAppt')\r\n .constant('reassignTitleCallKey', 'reassignTitleCall')\r\n .constant('reassignTitleApptKey', 'reassignTitleAppt')\r\n .constant('cancelTitleCallKey', 'cancelTitleCall')\r\n .constant('cancelTitleApptKey', 'cancelTitleAppt')\r\n .constant('completeTitleCallKey', 'completeTitleCall')\r\n .constant('completeTitleApptKey', 'completeTitleAppt')\r\n .constant('scheduleAssignToErrorMsgKey', 'scheduleAssignToErrorMsg')\r\n .constant('upgradeProposalKey', 'upgradeProposal')\r\n .constant('widgetTitleKeys', {\r\n 'lease': 'leaseWidgetTitle',\r\n 'retail': 'retailWidgetTitle',\r\n 'agenda': 'agendaWidgetTitle',\r\n 'newOpportunityChanges': 'newOpportunityChangesWidgetTitle',\r\n 'recentlyAssigned': 'recentlyAssignedWidgetTitle',\r\n 'opportunitySearches': 'opportunitySearches'\r\n })\r\n .constant('widgetExpandToolTipKeys', {\r\n 'lease': 'expandlease',\r\n 'retail': 'expandretail',\r\n 'agenda': 'expandagenda',\r\n 'newOpportunityChanges': 'expandnewOpportunityChanges',\r\n 'recentlyAssigned': 'expandrecentlyAssigned',\r\n })\r\n .constant('makeModelYearWarningTitleKey', 'makeModelYearWarningTitle')\r\n .constant('makeModelYearWarningKey', 'makeModelYearWarning')\r\n .constant('dontHaveAccessWarningKey', 'dontHaveAccessWarning')\r\n .constant('dontHaveAccessExpiredKey', 'dontHaveAccessExpired')\r\n .constant('invalidMergeFieldErrorMsgKey', 'invalidMergeFieldErrorMsg')\r\n .constant('blankTemplateWarningKey', 'blankTemplateWarning')\r\n .constant('sendingEmailKey', 'sendingEmail')\r\n .constant('generatingPDFKey', 'generatingPDF')\r\n .constant('emailDisabledKey', 'emailDisabledWarning')\r\n .constant('doNotEmailCheckedKey', 'doNotEmailCheckedWarning')\r\n\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp')\r\n .constant('userProfileRoles', {\r\n Sales_Associate: 'Sales Associate',\r\n Base_Sales_Associate: 'Base Sales Associate',\r\n })\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('vehicleSelectColumns', {\r\n vehicleType: 1,\r\n stockNo: 2,\r\n yearID: 3,\r\n trim: 4,\r\n options: 5,\r\n price: 6,\r\n mileage: 7,\r\n color: 8,\r\n daysInStock: 9,\r\n payments: 10\r\n});\r\n","import angular from 'angular';\r\n\r\nexport const widgetTypes = {\r\n agenda: 4,\r\n searchPresetCounts: 7,\r\n opportunitiesTable: 8,\r\n};\r\n\r\nangular.module('AaApp.Opp').constant('widgetTypes', widgetTypes);\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('vehicleActions', {\r\n doesNotOwnVehicle: 1,\r\n vehiclePaidOff: 2,\r\n vehicleNotPaidOff: 3,\r\n purchasedByDealer: 4\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('smtpProviderTypes', {\r\n none: 0,\r\n autoAlert: 1,\r\n custom: 2\r\n});\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').constant('pandoActionTypes', {\r\n tab:1,\r\n message: 2,\r\n process: 3\r\n\r\n});\r\n","import \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.match\";\nimport \"core-js/modules/es6.regexp.replace\";\nConfigureOidcInterceptor.$inject = [\"$httpProvider\"];\nConfigureDealerHeaders.$inject = [\"$httpProvider\"];\nConfigWhatFix.$inject = [\"environmentVariables\"];\nConfigDynamicLocaleProvider.$inject = [\"tmhDynamicLocaleProvider\"];\nConfigTranslation.$inject = [\"$translateProvider\", \"$translatePartialLoaderProvider\", \"localePaths\"];\nConfigRoutes.$inject = [\"$locationProvider\", \"$stateProvider\", \"$urlRouterProvider\", \"$urlMatcherFactoryProvider\", \"legacy\", \"routerStates\"];\nConfigureDefaultDealers.$inject = [\"environmentVariables\", \"selectedDealersInjectorProvider\"];\nConfigureApi.$inject = [\"apiUrls\", \"coreApiProvider\", \"selectedDealersInjectorProvider\", \"dmsPushApiProvider\"];\nConfigure.$inject = [\"$analyticsProvider\", \"exceptionHandlerProvider\"];\nConfigLogger.$inject = [\"$logProvider\", \"environmentVariables\"];\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport angular from 'angular';\nimport { Modules } from '../constants/modules';\nimport { ConfigureCommonItemsForModule } from './common.config';\nimport ConfigReportRoutes from './report-routes.config';\nimport _ from 'lodash';\nimport { importKendo } from './report-routes.config';\nvar appErrorPrefix = '[AutoAlert Opportunities] ';\nimport { MobileDealSheetComponent } from '../components/deal-sheet/mobile/mobile-deal-sheet/mobile-deal-sheet.component';\nimport { CustomerInfoComponent } from '../components/deal-sheet/mobile/customer-info/customer-info.component';\nimport { MobileActivitiesComponent } from '../components/deal-sheet/mobile/mobile-activities/mobile-activities.component';\nimport { MobileVehiclesComponent } from '../components/deal-sheet/mobile/mobile-vehicles/mobile-vehicles.component';\nimport { MobileReplacementContractComponent } from '../components/deal-sheet/mobile/mobile-replacement-contract/mobile-replacement-contract.component';\nimport { MobileRoutes } from '../components/deal-sheet/mobile/mobile-routes';\nimport { MobileCustomerConnectComponent } from '../components/deal-sheet/mobile/mobile-customer-connect/mobile-customer-connect.component';\nvar modules = Modules;\nangular.module('AaApp.Opp').value('cgBusyDefaults', {\n message: 'Loading...',\n delay: 250\n});\nangular.module('AaApp.Opp').value('config', {\n appErrorPrefix: appErrorPrefix\n});\nvar config = {\n appErrorPrefix: appErrorPrefix\n};\nConfigureCommonItemsForModule(angular.module('AaApp.Opp'));\nangular.module('AaApp.Opp').config(Configure).config(ConfigureApi).config(ConfigureDefaultDealers).config(ConfigLogger).config(ConfigRoutes).config(ConfigReportRoutes).config(ConfigTranslation).config(ConfigDynamicLocaleProvider).config(ConfigureDealerHeaders).config(ConfigureOidcInterceptor).config(ConfigWhatFix);\n\nfunction ConfigLogger($logProvider, environmentVariables) {\n \"ngInject\";\n\n var debugSetInLocalStorage = localStorage.getItem('debug');\n $logProvider.debugEnabled(debugSetInLocalStorage || environmentVariables.logDebugEnabled);\n}\n\nfunction Configure($analyticsProvider, exceptionHandlerProvider) {\n \"ngInject\";\n\n $analyticsProvider.virtualPageviews(false); // Configure the common exception handler\n\n exceptionHandlerProvider.configure(config.appErrorPrefix);\n}\n\nfunction ConfigureApi(apiUrls, coreApiProvider, selectedDealersInjectorProvider, dmsPushApiProvider) {\n \"ngInject\";\n\n selectedDealersInjectorProvider.addUrl(apiUrls.reportMiner);\n coreApiProvider.configure({\n url: apiUrls.alertMiner\n });\n dmsPushApiProvider.configure({\n url: apiUrls.dmsPushApi\n });\n}\n\nfunction ConfigureDefaultDealers(environmentVariables, selectedDealersInjectorProvider) {\n \"ngInject\";\n\n selectedDealersInjectorProvider.configure({\n employeeDefaultDealer: environmentVariables.employeeDefaultDealer\n });\n}\n\nfunction ConfigRoutes($locationProvider, $stateProvider, $urlRouterProvider, $urlMatcherFactoryProvider, legacy, routerStates) {\n \"ngInject\";\n\n $locationProvider.html5Mode(true);\n $urlMatcherFactoryProvider.strictMode(false);\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = routerStates[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var routerState = _step.value;\n var state = createLegacyState(routerState);\n $stateProvider.state(state);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n function createLegacyState(state) {\n if (state.legacyUrl) {\n return _objectSpread({}, state, {\n component: 'aaIframe',\n onEnter: function onEnter() {\n //hide footer for legacy pages as legacy has its own footer\n document.getElementById('aa-footer').style.display = \"none\";\n },\n resolve: {\n src: [\"$transition$\", function src($transition$) {\n \"ngInject\";\n\n var dealerId = $transition$.params().dealerId;\n return legacy.iframeUrl + state.legacyUrl.replace(\"{dealerId}\", dealerId == null ? '' : dealerId);\n }]\n }\n });\n } else {\n return _objectSpread({}, state);\n }\n }\n\n $urlRouterProvider.otherwise(function ($injector, $location) {\n if (!$location.path().match(/auth\\/callback/)) {\n var $state = $injector.get('$state');\n $state.go('notFound');\n }\n });\n $stateProvider.state({\n name: 'carfaxCallback',\n url: '/cfcallback?code&state',\n component: 'carfaxCallback',\n resolve: {\n code: [\"$transition$\", function code($transition$) {\n \"ngInject\";\n\n return $transition$.params().code;\n }],\n state: [\"$transition$\", function state($transition$) {\n \"ngInject\";\n\n return $transition$.params().state;\n }]\n }\n });\n $stateProvider.state({\n name: 'carfaxAuthorize',\n url: '/carfax-authorize?dealerId&entityId&vin',\n component: 'carfaxAuthorize',\n resolve: {\n dealerId: [\"$transition$\", function dealerId($transition$) {\n \"ngInject\";\n\n return $transition$.params().dealerId;\n }],\n entityId: [\"$transition$\", function entityId($transition$) {\n \"ngInject\";\n\n return $transition$.params().entityId;\n }],\n vin: [\"$transition$\", function vin($transition$) {\n \"ngInject\";\n\n return $transition$.params().vin;\n }]\n }\n });\n $stateProvider.state({\n name: 'home',\n url: '/',\n template: '

',\n controller: [\"$state\", \"logger\", \"menuService\", function controller($state, logger, menuService) {\n \"ngInject\";\n\n menuService.getHomeRoute().then(function (homeRoute) {\n if (homeRoute) {\n $state.go(homeRoute);\n }\n });\n }]\n });\n $stateProvider.state({\n name: 'alertDesk',\n url: '/alert-desk',\n resolve: {\n moduleIds: [\"dealerService\", \"authorizationService\", function moduleIds(dealerService, authorizationService) {\n \"ngInject\";\n\n var selectedDealerIds = dealerService.getSelectedDealerIds();\n return authorizationService.getModuleIds(selectedDealerIds);\n }]\n },\n controller: [\"$transition$\", \"$state\", \"dealerService\", \"menuService\", function controller($transition$, $state, dealerService, menuService) {\n \"ngInject\"; // If '/alert-desk' is our final URL, then this chooses where to\n // redirect\n\n if ($transition$.to().name === 'alertDesk') {\n var dealerIds = dealerService.getSelectedDealerIds();\n return menuService.getSiteMap(dealerIds).then(function (siteMap) {\n // Pick the first subMenuItem inside the alertDesk menu. If\n // the alertDesk menu has no subMenuItems, then pick the\n // first subMenuItem from the first menu.\n var alertDeskMenu = siteMap.filter(function (m) {\n return m.id == 'alertDesk';\n }).shift();\n\n if (alertDeskMenu && alertDeskMenu.subMenuItems.length) {\n var firstAuthorizedAlertDeskRoute = alertDeskMenu.subMenuItems.slice().shift();\n $state.go(firstAuthorizedAlertDeskRoute.id);\n } else {\n var firstSubMenuItem = _.flatMap(siteMap, function (m) {\n return m.subMenuItems;\n }).shift();\n\n $state.go(firstSubMenuItem.id);\n }\n });\n }\n }]\n });\n $stateProvider.state({\n name: 'dashboard',\n parent: 'alertDesk',\n url: '/dashboard',\n component: 'dashboard',\n abstract: true\n });\n $stateProvider.state({\n name: 'dashboard.opportunities',\n url: '',\n component: 'dashboardOpportunities',\n onEnter: [\"moduleIds\", function onEnter(moduleIds) {\n \"ngInject\";\n\n if (!moduleIds.includes(modules.dashboard)) {\n throw new Error('not authorized');\n }\n }],\n resolve: {\n selectedDealerId: [\"$transition$\", function selectedDealerId($transition$) {\n \"ngInject\";\n\n return $transition$.params().selectedDealerId;\n }]\n }\n });\n $stateProvider.state({\n name: 'dashboard.manager',\n url: '/manager',\n component: 'dashboardManager',\n onEnter: [\"moduleIds\", function onEnter(moduleIds) {\n \"ngInject\";\n\n if (!moduleIds.includes(modules.managerDashboard)) {\n throw new Error('not authorized');\n }\n }],\n resolve: {\n selectedDealerId: [\"$transition$\", function selectedDealerId($transition$) {\n \"ngInject\";\n\n return $transition$.params().selectedDealerId;\n }]\n }\n });\n $stateProvider.state({\n name: 'dealSheets',\n url: '/alert-desk/deal-sheets/{dealSheetParams}',\n component: 'aaIframe',\n resolve: {\n src: [\"$transition$\", \"legacy\", \"legacyUrlMappings\", function src($transition$, legacy, legacyUrlMappings) {\n \"ngInject\";\n\n return legacy.iframeUrl + legacyUrlMappings['dealSheets'] + $transition$.params().dealSheetParams;\n }]\n }\n });\n $stateProvider.state({\n name: 'dealSheetLite',\n url: '/alert-desk/deal-sheet-lite/{entityId}',\n component: 'dealSheetLite',\n resolve: {\n opportunityId: [\"$transition$\", function opportunityId($transition$) {\n \"ngInject\";\n\n return $transition$.params().entityId;\n }],\n stockNo: [\"$transition$\", function stockNo($transition$) {\n \"ngInject\";\n\n return $transition$.params().stockNo;\n }],\n siteMap: [\"menuService\", \"dealerService\", function siteMap(menuService, dealerService) {\n \"ngInject\"; // This should be refactored. Although the component\n // doesn't ask for this binding directly, we need to call\n // getModuleIds and getAccessRightIds once to to get the\n // data in localStorage.\n\n var selectedDealerIds = dealerService.getSelectedDealerIds();\n return menuService.getSiteMap(selectedDealerIds);\n }]\n }\n });\n $stateProvider.state({\n name: 'dealSheet',\n url: '/alert-desk/deal-sheet/{opportunityId}?calculationType&stockNo&showLegacy',\n component: 'dealSheet',\n resolve: {\n opportunityId: [\"$transition$\", function opportunityId($transition$) {\n \"ngInject\";\n\n return $transition$.params().opportunityId;\n }],\n calculationType: [\"$transition$\", function calculationType($transition$) {\n \"ngInject\";\n\n return $transition$.params().calculationType;\n }],\n stockNo: [\"$transition$\", function stockNo($transition$) {\n \"ngInject\";\n\n return $transition$.params().stockNo;\n }],\n showLegacy: [\"$transition$\", function showLegacy($transition$) {\n \"ngInject\";\n\n return $transition$.params().showLegacy;\n }],\n siteMap: [\"menuService\", \"dealerService\", function siteMap(menuService, dealerService) {\n \"ngInject\"; // This should be refactored. Although the component\n // doesn't ask for this binding directly, we need to call\n // getModuleIds and getAccessRightIds once to to get the\n // data in localStorage.\n\n var selectedDealerIds = dealerService.getSelectedDealerIds();\n return menuService.getSiteMap(selectedDealerIds);\n }]\n }\n });\n $stateProvider.state({\n name: 'dealSheetExternal',\n url: '/external/dealsheet?e&v&c&d',\n component: 'dealSheet',\n resolve: {\n opportunityId: [\"$transition$\", function opportunityId($transition$) {\n \"ngInject\";\n\n return $transition$.params().e;\n }],\n moduleIds: [\"dealerService\", \"menuService\", \"storageService\", function moduleIds(dealerService, menuService, storageService) {\n \"ngInject\";\n\n var selectedDealerIds = dealerService.getSelectedDealerIds();\n return menuService.getSiteMap(selectedDealerIds).then(function (results) {\n // This should be refactored. We only need moduleIds,\n // but we depend on the siteMap and accessRightIds to\n // be populated. The call to getSiteMap does everything.\n return storageService.getItem('moduleIds');\n });\n }]\n }\n });\n $stateProvider.state({\n name: 'mobileDealSheet',\n url: '/mobile/deal-sheet/{opportunityId}',\n component: MobileDealSheetComponent,\n resolve: {\n opportunityId: [\"$transition$\", function opportunityId($transition$) {\n \"ngInject\";\n\n return $transition$.params().opportunityId;\n }]\n }\n });\n $stateProvider.state({\n name: MobileRoutes.contact,\n url: '/contact',\n component: CustomerInfoComponent\n });\n $stateProvider.state({\n name: MobileRoutes.activity,\n url: '/activities',\n component: MobileActivitiesComponent\n });\n $stateProvider.state({\n name: MobileRoutes.vehicle,\n url: '/vehicle',\n component: MobileVehiclesComponent\n });\n $stateProvider.state({\n name: MobileRoutes.replacementDetails,\n url: '/replacement-details',\n component: MobileReplacementContractComponent\n });\n $stateProvider.state({\n name: MobileRoutes.customerConnect,\n url: '/customer-connect',\n component: MobileCustomerConnectComponent\n });\n $stateProvider.state({\n name: 'pageExternal',\n url: '/external/page?c&pg&d&t&e',\n template: '

',\n controller: [\"$state\", \"logger\", \"menuService\", \"$transition$\", function controller($state, logger, menuService, $transition$) {\n \"ngInject\";\n\n var route = \"opportunities\";\n\n switch ($transition$.params().pg) {\n case \"alert-desk\":\n route = \"alertDesk\";\n break;\n\n case \"alert-desk/opportunities\":\n route = \"opportunities\";\n break;\n\n case \"alert-desk/activities\":\n route = \"activities\";\n break;\n\n case \"alert-desk/search2\":\n route = \"search2\";\n break;\n\n case \"/alert-desk/search\":\n route = \"searchPresets\";\n break;\n\n case \"alert-desk/conquests\":\n route = \"conquests\";\n break;\n\n case \"alert-desk/pre-owned-manager\":\n route = \"preOwnedManager\";\n break;\n\n case \"alert-desk/finance-insurance-manager\":\n route = \"financeInsuranceManager\";\n break;\n\n case \"inventory-dashboard\":\n route = \"inventoryDashboard\";\n break;\n\n case \"mobile/deal-sheet\":\n route = \"mobileDealSheet\";\n $state.go(route, {\n opportunityId: $transition$.params().e\n });\n return;\n break;\n }\n\n $state.go(route);\n }]\n });\n $stateProvider.state({\n name: 'login',\n url: '/login',\n component: 'login'\n });\n $stateProvider.state({\n name: 'loginLanding',\n url: '/login-landing',\n template: '

',\n controller: [\"$state\", \"$window\", \"logger\", \"menuService\", \"userService\", \"menu\", function controller($state, $window, logger, menuService, userService, menu) {\n \"ngInject\";\n\n userService.getUserProfile().then(function (profile) {\n if (profile.isSltUser) {\n var communicationMenuItem = _.find(menu, {\n name: 'communication'\n });\n\n var redirectUrl = communicationMenuItem ? communicationMenuItem.url : '/';\n $window.location.replace(redirectUrl);\n } else if (menuService.siteMap) {\n $state.go('login');\n }\n });\n }]\n });\n $stateProvider.state({\n name: 'loginRedirectToSSO',\n url: '/login-sso-redirect',\n template: '

'\n });\n $stateProvider.state({\n name: 'notFound',\n url: '/not-found',\n template: '

',\n controller: [\"$state\", \"$translate\", \"$timeout\", \"logger\", \"warningTitleKey\", \"pageNotFoundKey\", function controller($state, $translate, $timeout, logger, warningTitleKey, pageNotFoundKey) {\n \"ngInject\";\n\n $timeout(function () {\n $translate([warningTitleKey, pageNotFoundKey]).then(showWarningMessage);\n\n function showWarningMessage(translations) {\n logger.warning(translations.pageNotFound, null, translations.warningTitle);\n }\n\n $state.go('home');\n }, 100);\n }]\n });\n $stateProvider.state({\n name: 'euroliteopportunities',\n url: '/alert-desk/europe/opportunities/',\n access: 'public',\n component: 'euroLiteOpportunities',\n resolve: {\n kendo: importKendo,\n opportunityId: [\"$transition$\", function opportunityId($transition$) {\n \"ngInject\";\n\n return $transition$._targetState._params.opportunityId;\n }],\n dealerIds: [\"dealerService\", function dealerIds(dealerService) {\n \"ngInject\";\n\n return dealerService.getSelectedDealerIds();\n }],\n filter: [\"$transition$\", function filter($transition$) {\n \"ngInject\";\n\n return $transition$._targetState._params.filter;\n }]\n }\n });\n $stateProvider.state({\n name: 'opportunities',\n url: '/alert-desk/opportunities?saleTypes',\n access: 'public',\n component: 'aaIframe',\n onEnter: function onEnter() {\n //hide footer for legacy pages as legacy has its own footer\n document.getElementById('aa-footer').style.display = \"none\";\n },\n resolve: {\n src: [\"$transition$\", \"legacy\", \"legacyUrlMappings\", function src($transition$, legacy, legacyUrlMappings) {\n \"ngInject\";\n\n var queryParams = $transition$.params().saleTypes;\n var queryParamString = '';\n\n if (queryParams) {\n if (queryParams instanceof Array && queryParams.length > 1) {\n queryParamString += '?saleTypes=';\n queryParamString += queryParams.join('&saleTypes=');\n } else {\n queryParamString += '?saletypes=' + queryParams;\n }\n }\n\n return legacy.iframeUrl + legacyUrlMappings['opportunities'] + queryParamString;\n }]\n }\n });\n $stateProvider.state({\n name: 'preOwnedManagerFindABuyer',\n url: '/alert-desk/pre-owned-manager/find-a-buyer?activeTab&submitSearch&isExactMatch&isShowUsed&hasOpp&sortColumnName&stockNo&inventorySortColumnName&ageVehicleGroup&trim&modelType&make&year&ownerFilter',\n access: 'public',\n component: 'aaIframe',\n resolve: {\n src: [\"$transition$\", \"legacy\", \"legacyUrlMappings\", function src($transition$, legacy, legacyUrlMappings) {\n \"ngInject\";\n\n return legacy.iframeUrl + legacyUrlMappings['preOwnedManagerFindABuyer'] + ($transition$.params().activeTab ? '?activeTab=' + $transition$.params().activeTab : '?activeTab=1') + ($transition$.params().submitSearch ? '&submitSearch=' + $transition$.params().submitSearch : '') + ($transition$.params().isExactMatch ? '&isExactMatch=' + $transition$.params().isExactMatch : '') + ($transition$.params().isShowUsed ? '&isShowUsed=' + $transition$.params().isShowUsed : '') + ($transition$.params().hasOpp ? '&hasOpp=' + $transition$.params().hasOpp + $transition$.params().hasOpp : '') + ($transition$.params().sortColumnName ? '&sortColumnName=' + $transition$.params().sortColumnName : '') + ($transition$.params().stockNo ? '&stockNo=' + $transition$.params().stockNo : '') + ($transition$.params().inventorySortColumnName ? '&inventorySortColumnName=' + $transition$.params().inventorySortColumnName : '') + ($transition$.params().ageVehicleGroup ? '&ageVehicleGroup=' + $transition$.params().ageVehicleGroup : '') + ($transition$.params().trim ? '&trim=' + $transition$.params().trim : '') + ($transition$.params().modelType ? '&modelType=' + $transition$.params().modelType : '') + ($transition$.params().make ? '&make=' + $transition$.params().make : '') + ($transition$.params().year ? '&year=' + $transition$.params().year : '') + ($transition$.params().ownerFilter ? '&ownerFilter=' + $transition$.params().ownerFilter : '');\n }]\n }\n });\n $stateProvider.state({\n access: 'public',\n name: 'errorUnauthorized',\n url: '/error/unauthorized?errorState',\n component: 'errorUnauthorized'\n });\n $stateProvider.state({\n name: 'quickSearch',\n url: '/alert-desk/quick-search/{searchText}',\n component: 'aaIframe',\n resolve: {\n src: [\"$transition$\", \"legacy\", \"legacyUrlMappings\", function src($transition$, legacy, legacyUrlMappings) {\n \"ngInject\";\n\n return legacy.iframeUrl + legacyUrlMappings['quickSearch'] + $transition$.params().searchText;\n }]\n }\n });\n $stateProvider.state({\n name: 'register',\n url: '/register/{dealerCode}?c=',\n access: 'public',\n component: 'aaIframe',\n resolve: {\n src: [\"$transition$\", \"legacy\", \"legacyUrlMappings\", function src($transition$, legacy, legacyUrlMappings) {\n \"ngInject\";\n\n return legacy.iframeUrl + legacyUrlMappings['register'] + $transition$.params().dealerCode + '?c=' + $transition$.params().c;\n }]\n }\n });\n registerAlertDesk($stateProvider);\n\n function registerAlertDesk($stateProvider) {\n $stateProvider.state({\n name: 'search',\n url: '/search',\n parent: 'alertDesk',\n access: 'public',\n component: 'searchContainer',\n abstract: true\n });\n $stateProvider.state({\n name: 'search.form',\n url: '',\n access: 'public',\n component: 'searchForm',\n params: {\n dealerId: {\n type: 'int',\n value: null\n },\n sectionStates: {\n type: 'any',\n value: null\n },\n presetId: {\n type: 'int',\n value: null\n },\n tagId: {\n type: 'int',\n value: null\n },\n recentActivity: {\n type: 'any',\n value: null\n }\n },\n resolve: {\n kendo: importKendo,\n selectedDealerId: [\"$transition$\", function selectedDealerId($transition$) {\n \"ngInject\";\n\n return $transition$.params().selectedDealerId;\n }],\n activity: [\"$transition$\", function activity($transition$) {\n \"ngInject\";\n\n return $transition$.params().recentActivity;\n }],\n dealerId: [\"$transition$\", function dealerId($transition$) {\n \"ngInject\";\n\n return $transition$.params().dealerId;\n }],\n sectionStates: [\"$transition$\", function sectionStates($transition$) {\n \"ngInject\";\n\n return $transition$.params().sectionStates;\n }],\n presetId: [\"$transition$\", function presetId($transition$) {\n \"ngInject\";\n\n return $transition$.params().presetId;\n }],\n tagId: [\"$transition$\", function tagId($transition$) {\n \"ngInject\";\n\n return $transition$.params().tagId;\n }]\n }\n });\n $stateProvider.state({\n name: 'search.manage',\n url: '/manage-presets',\n access: 'public',\n component: 'searchManagePresets',\n params: {\n dealerId: {\n type: 'int',\n value: null\n },\n selectedDealerId: {\n type: 'int',\n value: null\n }\n },\n resolve: {\n kendo: importKendo,\n dealerId: [\"$transition$\", function dealerId($transition$) {\n \"ngInject\";\n\n return $transition$.params().dealerId;\n }],\n selectedDealerId: [\"$transition$\", function selectedDealerId($transition$) {\n \"ngInject\";\n\n return $transition$.params().selectedDealerId;\n }]\n }\n });\n }\n\n $stateProvider.state({\n name: 'securityNewAccountActivate',\n url: '/security/newaccount/activate/?hid&c&sh',\n access: 'public',\n component: 'aaIframe',\n resolve: {\n src: [\"$transition$\", \"legacy\", \"legacyUrlMappings\", function src($transition$, legacy, legacyUrlMappings) {\n \"ngInject\";\n\n return legacy.iframeUrl + legacyUrlMappings['securityNewAccountActivate'] + '/?hid=' + encodeURIComponent($transition$.params().hid) + '&c=' + encodeURIComponent($transition$.params().c) + '&sh=' + encodeURIComponent($transition$.params().sh);\n }]\n }\n });\n $stateProvider.state({\n name: 'legacyActivities',\n url: '/AlertDesk/Activities',\n component: 'aaIframe',\n resolve: {\n src: [\"legacy\", \"legacyUrlMappings\", function src(legacy, legacyUrlMappings) {\n \"ngInject\";\n\n return legacy.iframeUrl + legacyUrlMappings['activities'];\n }]\n }\n });\n $stateProvider.state({\n name: 'legacyUnsubscribe',\n access: 'public',\n url: '/Security/User/Unsubscribe?e',\n component: 'aaIframe',\n resolve: {\n src: [\"$transition$\", \"legacy\", \"legacyUrlMappings\", function src($transition$, legacy, legacyUrlMappings) {\n \"ngInject\";\n\n return legacy.iframeUrl + legacyUrlMappings['legacyUnsubscribe'] + '/?e=' + encodeURIComponent($transition$.params().e);\n }]\n }\n });\n $stateProvider.state({\n name: 'legacyNotification',\n url: '/Security/User/Notification',\n component: 'aaIframe',\n resolve: {\n src: [\"$transition$\", \"legacy\", \"legacyUrlMappings\", function src($transition$, legacy, legacyUrlMappings) {\n \"ngInject\";\n\n return legacy.iframeUrl + legacyUrlMappings['legacyNotification'];\n }]\n }\n });\n $stateProvider.state({\n name: 'autoCheckReport',\n url: '/alert-desk/auto-check/{opportunityId}/{vin}',\n component: 'thirdPartyReport',\n resolve: {\n reportType: function reportType() {\n return 'autoCheck';\n },\n opportunityId: [\"$transition$\", function opportunityId($transition$) {\n \"ngInject\";\n\n return $transition$.params().opportunityId;\n }],\n vin: [\"$transition$\", function vin($transition$) {\n \"ngInject\";\n\n return $transition$.params().vin;\n }]\n }\n });\n $stateProvider.state({\n name: 'carFaxReport',\n url: '/alert-desk/car-fax/{opportunityId}/{vin}',\n component: 'thirdPartyReport',\n resolve: {\n reportType: function reportType() {\n return 'carFax';\n },\n opportunityId: [\"$transition$\", function opportunityId($transition$) {\n \"ngInject\";\n\n return $transition$.params().opportunityId;\n }],\n vin: [\"$transition$\", function vin($transition$) {\n \"ngInject\";\n\n return $transition$.params().vin;\n }]\n }\n });\n $stateProvider.state({\n name: 'templateEmailPreview',\n url: '/alert-desk/template-email-preview/{opportunityId}/{templateId}/{replMakeId}',\n component: 'templateEmailPreview',\n data: {\n hideFooter: true\n },\n resolve: {\n opportunityId: [\"$transition$\", function opportunityId($transition$) {\n \"ngInject\";\n\n return $transition$.params().opportunityId;\n }],\n templateId: [\"$transition$\", function templateId($transition$) {\n \"ngInject\";\n\n return $transition$.params().templateId;\n }],\n replMakeId: [\"$transition$\", function replMakeId($transition$) {\n \"ngInject\";\n\n return $transition$.params().replMakeId;\n }]\n }\n });\n $stateProvider.state({\n name: 'carProofReport',\n url: '/alert-desk/car-proof/{opportunityId}/{vin}',\n component: 'thirdPartyReport',\n resolve: {\n reportType: function reportType() {\n return 'carProof';\n },\n opportunityId: [\"$transition$\", function opportunityId($transition$) {\n \"ngInject\";\n\n return $transition$.params().opportunityId;\n }],\n vin: [\"$transition$\", function vin($transition$) {\n \"ngInject\";\n\n return $transition$.params().vin;\n }]\n }\n });\n $stateProvider.state({\n parent: 'user',\n name: 'userChangePassword',\n url: '/change-password',\n component: 'userChangePassword'\n });\n $stateProvider.state({\n name: 'serviceDriveOffers',\n url: '/alert-desk/service-drive/offers',\n component: 'serviceDriveOffersComponent'\n }); //$stateProvider.state({\n // name: 'wishList',\n // //parent: 'alertDesk',\n // access: 'public',\n // url: '/alert-desk/wish-list',\n // component: 'wishListComponent'\n //});\n\n $stateProvider.state({\n name: 'email',\n access: 'public',\n url: '/email/{id}?code',\n component: 'templateEmail',\n resolve: {\n templateEmailId: [\"$transition$\", function templateEmailId($transition$) {\n \"ngInject\";\n\n return $transition$.params().id;\n }],\n accessCode: [\"$transition$\", function accessCode($transition$) {\n \"ngInject\";\n\n return $transition$.params().code;\n }]\n }\n });\n $stateProvider.state({\n name: 'emailUnsubscribe',\n access: 'public',\n url: '/email/unsubscribe/{id}?code',\n component: 'emailUnsubscribe',\n resolve: {\n templateEmailId: [\"$transition$\", function templateEmailId($transition$) {\n \"ngInject\";\n\n return $transition$.params().id;\n }],\n accessCode: [\"$transition$\", function accessCode($transition$) {\n \"ngInject\";\n\n return $transition$.params().code;\n }]\n }\n });\n $stateProvider.state({\n name: 'searchDirectAlert',\n url: '/alert-desk/directalert?url',\n component: 'searchDirectAlert',\n resolve: {\n url: [\"$transition$\", function url($transition$) {\n \"ngInject\";\n\n return $transition$.params().url;\n }]\n }\n });\n}\n\nfunction ConfigTranslation($translateProvider, $translatePartialLoaderProvider, localePaths) {\n \"ngInject\";\n\n $translateProvider.fallbackLanguage('en-US');\n $translateProvider.preferredLanguage('en-US');\n $translateProvider.useSanitizeValueStrategy('sanitizeParameters');\n $translateProvider.useLoaderCache('$translationCache');\n\n for (var property in localePaths) {\n $translatePartialLoaderProvider.addPart(localePaths[property]);\n }\n}\n\nfunction ConfigDynamicLocaleProvider(tmhDynamicLocaleProvider) {\n \"ngInject\";\n\n tmhDynamicLocaleProvider.localeLocationPattern('https://cdnjs.cloudflare.com/ajax/libs/angular-i18n/1.7.5/angular-locale_{{locale}}.js');\n}\n\nfunction ConfigWhatFix(environmentVariables) {\n \"ngInject\";\n\n if (typeof environmentVariables.whatFixUrl == 'string') {\n var whatFixScript = document.createElement('script');\n whatFixScript.type = 'text/javascript';\n whatFixScript.async = true;\n whatFixScript.src = environmentVariables.whatFixUrl;\n var s = document.getElementsByTagName('script')[0];\n s.parentNode.insertBefore(whatFixScript, s);\n }\n}\n\nfunction ConfigureDealerHeaders($httpProvider) {\n \"ngInject\";\n\n $httpProvider.interceptors.push('selectedDealersInjector');\n}\n\nfunction ConfigureOidcInterceptor($httpProvider) {\n \"ngInject\"; // Add the interceptor that adds the Authorization header\n\n $httpProvider.interceptors.push('oidcHttpInterceptor');\n}","import angular from 'angular';\r\nimport { Modules } from '../constants/modules';\r\nimport { ConfigureCommonItemsForModule } from './common.config';\r\nimport ConfigReportRoutes from './report-routes.config';\r\nimport _ from 'lodash';\r\nimport { importKendo } from './report-routes.config';\r\nconst appErrorPrefix = '[AutoAlert Opportunities] ';\r\nimport { MobileDealSheetComponent } from '../components/deal-sheet/mobile/mobile-deal-sheet/mobile-deal-sheet.component'\r\nimport { CustomerInfoComponent } from '../components/deal-sheet/mobile/customer-info/customer-info.component';\r\nimport { MobileActivitiesComponent } from '../components/deal-sheet/mobile/mobile-activities/mobile-activities.component';\r\nimport { MobileVehiclesComponent } from '../components/deal-sheet/mobile/mobile-vehicles/mobile-vehicles.component';\r\nimport { MobileReplacementContractComponent } from '../components/deal-sheet/mobile/mobile-replacement-contract/mobile-replacement-contract.component';\r\nimport { MobileRoutes } from '../components/deal-sheet/mobile/mobile-routes';\r\nimport { MobileCustomerConnectComponent } from '../components/deal-sheet/mobile/mobile-customer-connect/mobile-customer-connect.component';\r\n\r\nconst modules = Modules;\r\n\r\nangular.module('AaApp.Opp').value('cgBusyDefaults', {\r\n message: 'Loading...',\r\n delay: 250\r\n});\r\n\r\nangular.module('AaApp.Opp').value('config', { appErrorPrefix });\r\nconst config = { appErrorPrefix };\r\n\r\nConfigureCommonItemsForModule(angular.module('AaApp.Opp'))\r\n\r\nangular.module('AaApp.Opp')\r\n .config(Configure)\r\n .config(ConfigureApi)\r\n .config(ConfigureDefaultDealers)\r\n .config(ConfigLogger)\r\n .config(ConfigRoutes)\r\n .config(ConfigReportRoutes)\r\n .config(ConfigTranslation)\r\n .config(ConfigDynamicLocaleProvider)\r\n .config(ConfigureDealerHeaders)\r\n .config(ConfigureOidcInterceptor)\r\n .config(ConfigWhatFix);\r\n\r\n\r\nfunction ConfigLogger($logProvider, environmentVariables) {\r\n \"ngInject\";\r\n const debugSetInLocalStorage = localStorage.getItem('debug');\r\n $logProvider.debugEnabled(debugSetInLocalStorage || environmentVariables.logDebugEnabled);\r\n}\r\n\r\nfunction Configure($analyticsProvider, exceptionHandlerProvider) {\r\n \"ngInject\";\r\n $analyticsProvider.virtualPageviews(false);\r\n\r\n // Configure the common exception handler\r\n exceptionHandlerProvider.configure(config.appErrorPrefix);\r\n}\r\n\r\nfunction ConfigureApi(\r\n apiUrls,\r\n coreApiProvider,\r\n selectedDealersInjectorProvider,\r\n dmsPushApiProvider\r\n) {\r\n \"ngInject\";\r\n selectedDealersInjectorProvider.addUrl(apiUrls.reportMiner);\r\n coreApiProvider.configure({ url: apiUrls.alertMiner }); \r\n dmsPushApiProvider.configure({ url: apiUrls.dmsPushApi });\r\n}\r\n\r\nfunction ConfigureDefaultDealers(environmentVariables, selectedDealersInjectorProvider) {\r\n \"ngInject\";\r\n selectedDealersInjectorProvider.configure({\r\n employeeDefaultDealer: environmentVariables.employeeDefaultDealer,\r\n });\r\n}\r\n\r\nfunction ConfigRoutes($locationProvider, $stateProvider, $urlRouterProvider, $urlMatcherFactoryProvider, legacy, routerStates) {\r\n \"ngInject\";\r\n $locationProvider.html5Mode(true);\r\n $urlMatcherFactoryProvider.strictMode(false);\r\n\r\n for (let routerState of routerStates) {\r\n var state = createLegacyState(routerState);\r\n $stateProvider.state(state); \r\n }\r\n\r\n function createLegacyState(state) {\r\n if (state.legacyUrl) {\r\n return {\r\n ...state,\r\n component: 'aaIframe',\r\n onEnter: function () {\r\n //hide footer for legacy pages as legacy has its own footer\r\n document.getElementById('aa-footer').style.display = \"none\";\r\n },\r\n resolve: {\r\n src: function ($transition$) {\r\n \"ngInject\";\r\n\r\n var dealerId = $transition$.params().dealerId;\r\n return legacy.iframeUrl + state.legacyUrl.replace(\"{dealerId}\", (dealerId == null) ? '' : dealerId);\r\n }\r\n }\r\n }\r\n } else {\r\n return {...state};\r\n }\r\n }\r\n\r\n $urlRouterProvider.otherwise(function ($injector, $location) {\r\n if (!$location.path().match(/auth\\/callback/)) {\r\n var $state = $injector.get('$state');\r\n $state.go('notFound');\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'carfaxCallback',\r\n url: '/cfcallback?code&state',\r\n component: 'carfaxCallback',\r\n resolve: {\r\n code: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().code;\r\n },\r\n state: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().state;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'carfaxAuthorize',\r\n url: '/carfax-authorize?dealerId&entityId&vin',\r\n component: 'carfaxAuthorize',\r\n resolve: {\r\n dealerId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().dealerId;\r\n },\r\n entityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().entityId;\r\n },\r\n vin: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().vin;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'home',\r\n url: '/',\r\n template: '

',\r\n controller: function ($state, logger, menuService) {\r\n \"ngInject\";\r\n\r\n menuService.getHomeRoute()\r\n .then(homeRoute => {\r\n if (homeRoute) {\r\n $state.go(homeRoute);\r\n }\r\n });\r\n },\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'alertDesk',\r\n url: '/alert-desk',\r\n resolve: {\r\n moduleIds: function (dealerService, authorizationService) {\r\n \"ngInject\";\r\n const selectedDealerIds = dealerService.getSelectedDealerIds();\r\n return authorizationService.getModuleIds(selectedDealerIds);\r\n },\r\n },\r\n controller: function ($transition$, $state, dealerService, menuService) {\r\n \"ngInject\";\r\n // If '/alert-desk' is our final URL, then this chooses where to\r\n // redirect\r\n if ($transition$.to().name === 'alertDesk') {\r\n const dealerIds = dealerService.getSelectedDealerIds();\r\n return menuService.getSiteMap(dealerIds)\r\n .then(siteMap => {\r\n // Pick the first subMenuItem inside the alertDesk menu. If\r\n // the alertDesk menu has no subMenuItems, then pick the\r\n // first subMenuItem from the first menu.\r\n const alertDeskMenu = siteMap.filter(m => m.id == 'alertDesk').shift();\r\n if (alertDeskMenu && alertDeskMenu.subMenuItems.length) {\r\n const firstAuthorizedAlertDeskRoute = alertDeskMenu.subMenuItems.slice().shift()\r\n $state.go(firstAuthorizedAlertDeskRoute.id);\r\n } else {\r\n const firstSubMenuItem = _.flatMap(siteMap, m => m.subMenuItems).shift();\r\n $state.go(firstSubMenuItem.id);\r\n }\r\n })\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'dashboard',\r\n parent: 'alertDesk',\r\n url: '/dashboard',\r\n component: 'dashboard',\r\n abstract: true,\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'dashboard.opportunities',\r\n url: '',\r\n component: 'dashboardOpportunities',\r\n onEnter: function (moduleIds) {\r\n \"ngInject\";\r\n if (!moduleIds.includes(modules.dashboard)) { \r\n throw new Error('not authorized');\r\n }\r\n },\r\n resolve: {\r\n selectedDealerId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().selectedDealerId;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'dashboard.manager',\r\n url: '/manager',\r\n component: 'dashboardManager',\r\n onEnter: function (moduleIds) {\r\n \"ngInject\";\r\n if (!moduleIds.includes(modules.managerDashboard)) {\r\n throw new Error('not authorized');\r\n }\r\n },\r\n resolve: {\r\n selectedDealerId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().selectedDealerId;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'dealSheets',\r\n url: '/alert-desk/deal-sheets/{dealSheetParams}',\r\n component: 'aaIframe',\r\n resolve: {\r\n src: function ($transition$, legacy, legacyUrlMappings) {\r\n \"ngInject\";\r\n return legacy.iframeUrl + legacyUrlMappings['dealSheets'] + $transition$.params().dealSheetParams;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'dealSheetLite',\r\n url: '/alert-desk/deal-sheet-lite/{entityId}',\r\n component: 'dealSheetLite',\r\n resolve: {\r\n opportunityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().entityId;\r\n },\r\n stockNo: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().stockNo;\r\n },\r\n siteMap: function (menuService, dealerService) {\r\n \"ngInject\";\r\n // This should be refactored. Although the component\r\n // doesn't ask for this binding directly, we need to call\r\n // getModuleIds and getAccessRightIds once to to get the\r\n // data in localStorage.\r\n var selectedDealerIds = dealerService.getSelectedDealerIds()\r\n return menuService.getSiteMap(selectedDealerIds);\r\n },\r\n }\r\n });\r\n\r\n\r\n $stateProvider.state({\r\n name: 'dealSheet',\r\n url: '/alert-desk/deal-sheet/{opportunityId}?calculationType&stockNo&showLegacy',\r\n component: 'dealSheet',\r\n resolve: {\r\n opportunityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().opportunityId;\r\n },\r\n calculationType: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().calculationType;\r\n },\r\n stockNo: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().stockNo;\r\n },\r\n showLegacy: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().showLegacy;\r\n },\r\n siteMap: function (menuService, dealerService) {\r\n \"ngInject\";\r\n // This should be refactored. Although the component\r\n // doesn't ask for this binding directly, we need to call\r\n // getModuleIds and getAccessRightIds once to to get the\r\n // data in localStorage.\r\n var selectedDealerIds = dealerService.getSelectedDealerIds()\r\n return menuService.getSiteMap(selectedDealerIds);\r\n },\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'dealSheetExternal',\r\n url: '/external/dealsheet?e&v&c&d',\r\n component: 'dealSheet',\r\n resolve: {\r\n opportunityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().e;\r\n },\r\n moduleIds: function (dealerService, menuService, storageService) {\r\n \"ngInject\";\r\n var selectedDealerIds = dealerService.getSelectedDealerIds()\r\n return menuService.getSiteMap(selectedDealerIds)\r\n .then(function (results) {\r\n // This should be refactored. We only need moduleIds,\r\n // but we depend on the siteMap and accessRightIds to\r\n // be populated. The call to getSiteMap does everything.\r\n return storageService.getItem('moduleIds');\r\n });\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'mobileDealSheet',\r\n url: '/mobile/deal-sheet/{opportunityId}',\r\n component: MobileDealSheetComponent,\r\n resolve: {\r\n opportunityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().opportunityId;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: MobileRoutes.contact,\r\n url: '/contact',\r\n component: CustomerInfoComponent\r\n });\r\n\r\n $stateProvider.state({\r\n name: MobileRoutes.activity,\r\n url: '/activities',\r\n component: MobileActivitiesComponent\r\n });\r\n\r\n $stateProvider.state({\r\n name: MobileRoutes.vehicle,\r\n url: '/vehicle',\r\n component: MobileVehiclesComponent\r\n });\r\n\r\n $stateProvider.state({\r\n name: MobileRoutes.replacementDetails,\r\n url: '/replacement-details',\r\n component: MobileReplacementContractComponent\r\n });\r\n\r\n $stateProvider.state({\r\n name: MobileRoutes.customerConnect,\r\n url: '/customer-connect',\r\n component: MobileCustomerConnectComponent\r\n });\r\n \r\n $stateProvider.state({\r\n name: 'pageExternal',\r\n url: '/external/page?c&pg&d&t&e',\r\n template: '

',\r\n controller: function ($state, logger, menuService, $transition$) {\r\n \"ngInject\";\r\n var route = \"opportunities\";\r\n switch ($transition$.params().pg) {\r\n case \"alert-desk\":\r\n route = \"alertDesk\";\r\n break;\r\n case \"alert-desk/opportunities\":\r\n route = \"opportunities\";\r\n break;\r\n case \"alert-desk/activities\":\r\n route = \"activities\";\r\n break;\r\n case \"alert-desk/search2\":\r\n route = \"search2\";\r\n break;\r\n case \"/alert-desk/search\":\r\n route = \"searchPresets\";\r\n break;\r\n case \"alert-desk/conquests\":\r\n route = \"conquests\";\r\n break;\r\n case \"alert-desk/pre-owned-manager\":\r\n route = \"preOwnedManager\";\r\n break;\r\n case \"alert-desk/finance-insurance-manager\":\r\n route = \"financeInsuranceManager\";\r\n break;\r\n case \"inventory-dashboard\":\r\n route = \"inventoryDashboard\";\r\n break;\r\n case \"mobile/deal-sheet\":\r\n route = \"mobileDealSheet\"\r\n $state.go(route, {opportunityId: $transition$.params().e});\r\n return;\r\n break;\r\n }\r\n $state.go(route);\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'login',\r\n url: '/login',\r\n component: 'login'\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'loginLanding',\r\n url: '/login-landing',\r\n template: '

',\r\n controller: function ($state, $window, logger, menuService, userService, menu) {\r\n \"ngInject\";\r\n userService.getUserProfile()\r\n .then((profile) => {\r\n if (profile.isSltUser) {\r\n var communicationMenuItem = _.find(menu, { name: 'communication' });\r\n var redirectUrl = communicationMenuItem ? communicationMenuItem.url : '/';\r\n\r\n $window.location.replace(redirectUrl);\r\n }\r\n else if (menuService.siteMap) {\r\n $state.go('login');\r\n }\r\n });\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'loginRedirectToSSO',\r\n url: '/login-sso-redirect',\r\n template: '

'\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'notFound',\r\n url: '/not-found',\r\n template: '

',\r\n controller: function ($state, $translate, $timeout, logger, warningTitleKey, pageNotFoundKey) {\r\n \"ngInject\";\r\n $timeout(function () {\r\n $translate([warningTitleKey, pageNotFoundKey]).then(showWarningMessage);\r\n\r\n function showWarningMessage(translations) {\r\n logger.warning(\r\n translations.pageNotFound,\r\n null,\r\n translations.warningTitle\r\n );\r\n }\r\n\r\n $state.go('home');\r\n }, 100);\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'euroliteopportunities',\r\n url: '/alert-desk/europe/opportunities/',\r\n access: 'public',\r\n component: 'euroLiteOpportunities',\r\n resolve: {\r\n kendo: importKendo,\r\n opportunityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$._targetState._params.opportunityId;\r\n },\r\n dealerIds : function (dealerService) {\r\n \"ngInject\";\r\n return dealerService.getSelectedDealerIds();\r\n },\r\n filter: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$._targetState._params.filter;\r\n }\r\n },\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'opportunities',\r\n url: '/alert-desk/opportunities?saleTypes',\r\n access: 'public',\r\n component: 'aaIframe',\r\n onEnter: function () {\r\n //hide footer for legacy pages as legacy has its own footer\r\n document.getElementById('aa-footer').style.display = \"none\";\r\n },\r\n resolve: {\r\n src: function ($transition$, legacy, legacyUrlMappings) {\r\n \"ngInject\";\r\n var queryParams = $transition$.params().saleTypes;\r\n var queryParamString = '';\r\n if (queryParams) {\r\n if ((queryParams instanceof Array) && queryParams.length > 1) {\r\n queryParamString += '?saleTypes=';\r\n queryParamString += queryParams.join('&saleTypes=');\r\n }\r\n else {\r\n queryParamString += '?saletypes=' + queryParams;\r\n }\r\n }\r\n\r\n return legacy.iframeUrl + legacyUrlMappings['opportunities'] + queryParamString;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'preOwnedManagerFindABuyer',\r\n url: '/alert-desk/pre-owned-manager/find-a-buyer?activeTab&submitSearch&isExactMatch&isShowUsed&hasOpp&sortColumnName&stockNo&inventorySortColumnName&ageVehicleGroup&trim&modelType&make&year&ownerFilter',\r\n access: 'public',\r\n component: 'aaIframe',\r\n resolve: {\r\n src: function ($transition$, legacy, legacyUrlMappings) {\r\n \"ngInject\";\r\n return legacy.iframeUrl\r\n + legacyUrlMappings['preOwnedManagerFindABuyer']\r\n + ($transition$.params().activeTab ? '?activeTab=' + $transition$.params().activeTab : '?activeTab=1')\r\n + ($transition$.params().submitSearch ? '&submitSearch=' + $transition$.params().submitSearch : '')\r\n + ($transition$.params().isExactMatch ? '&isExactMatch=' + $transition$.params().isExactMatch : '')\r\n + ($transition$.params().isShowUsed ? '&isShowUsed=' + $transition$.params().isShowUsed : '')\r\n + ($transition$.params().hasOpp ? '&hasOpp=' + $transition$.params().hasOpp + $transition$.params().hasOpp : '')\r\n + ($transition$.params().sortColumnName ? '&sortColumnName=' + $transition$.params().sortColumnName : '')\r\n + ($transition$.params().stockNo ? '&stockNo=' + $transition$.params().stockNo : '')\r\n + ($transition$.params().inventorySortColumnName ? '&inventorySortColumnName=' + $transition$.params().inventorySortColumnName : '')\r\n + ($transition$.params().ageVehicleGroup ? '&ageVehicleGroup=' + $transition$.params().ageVehicleGroup : '')\r\n + ($transition$.params().trim ? '&trim=' + $transition$.params().trim : '')\r\n + ($transition$.params().modelType ? '&modelType=' + $transition$.params().modelType : '')\r\n + ($transition$.params().make ? '&make=' + $transition$.params().make : '')\r\n + ($transition$.params().year ? '&year=' + $transition$.params().year : '')\r\n + ($transition$.params().ownerFilter ? '&ownerFilter=' + $transition$.params().ownerFilter : '');\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n access: 'public',\r\n name: 'errorUnauthorized',\r\n url: '/error/unauthorized?errorState',\r\n component: 'errorUnauthorized'\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'quickSearch',\r\n url: '/alert-desk/quick-search/{searchText}',\r\n component: 'aaIframe',\r\n resolve: {\r\n src: function ($transition$, legacy, legacyUrlMappings) {\r\n \"ngInject\";\r\n return legacy.iframeUrl + legacyUrlMappings['quickSearch'] + $transition$.params().searchText;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'register',\r\n url: '/register/{dealerCode}?c=',\r\n access: 'public',\r\n component: 'aaIframe',\r\n resolve: {\r\n src: function ($transition$, legacy, legacyUrlMappings) {\r\n \"ngInject\";\r\n return legacy.iframeUrl + legacyUrlMappings['register'] + $transition$.params().dealerCode + '?c=' + $transition$.params().c;\r\n }\r\n }\r\n });\r\n\r\n registerAlertDesk($stateProvider);\r\n\r\n function registerAlertDesk($stateProvider) {\r\n\r\n $stateProvider.state({\r\n name: 'search',\r\n url: '/search',\r\n parent: 'alertDesk',\r\n access: 'public',\r\n component: 'searchContainer',\r\n abstract: true,\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'search.form',\r\n url: '',\r\n access: 'public',\r\n component: 'searchForm',\r\n params: {\r\n dealerId: { type: 'int', value: null },\r\n sectionStates: { type: 'any', value: null },\r\n presetId: { type: 'int', value: null },\r\n tagId: { type: 'int', value: null },\r\n recentActivity: { type: 'any', value: null },\r\n },\r\n resolve: {\r\n kendo: importKendo,\r\n selectedDealerId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().selectedDealerId;\r\n },\r\n activity: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().recentActivity;\r\n },\r\n dealerId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().dealerId;\r\n },\r\n sectionStates: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().sectionStates;\r\n },\r\n presetId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().presetId;\r\n },\r\n tagId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().tagId;\r\n },\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'search.manage',\r\n url: '/manage-presets',\r\n access: 'public',\r\n component: 'searchManagePresets',\r\n params: {\r\n dealerId: { type: 'int', value: null },\r\n selectedDealerId: { type: 'int', value: null },\r\n },\r\n resolve: {\r\n kendo: importKendo,\r\n dealerId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().dealerId;\r\n },\r\n selectedDealerId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().selectedDealerId;\r\n },\r\n }\r\n });\r\n }\r\n\r\n $stateProvider.state({\r\n name: 'securityNewAccountActivate',\r\n url: '/security/newaccount/activate/?hid&c&sh',\r\n access: 'public',\r\n component: 'aaIframe',\r\n resolve: {\r\n src: function ($transition$, legacy, legacyUrlMappings) {\r\n \"ngInject\";\r\n return legacy.iframeUrl\r\n + legacyUrlMappings['securityNewAccountActivate']\r\n + '/?hid=' + encodeURIComponent($transition$.params().hid)\r\n + '&c=' + encodeURIComponent($transition$.params().c)\r\n + '&sh=' + encodeURIComponent($transition$.params().sh);\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'legacyActivities',\r\n url: '/AlertDesk/Activities',\r\n component: 'aaIframe',\r\n resolve: {\r\n src: function (legacy, legacyUrlMappings) {\r\n \"ngInject\";\r\n return legacy.iframeUrl + legacyUrlMappings['activities'];\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'legacyUnsubscribe',\r\n access: 'public',\r\n url: '/Security/User/Unsubscribe?e',\r\n component: 'aaIframe',\r\n resolve: {\r\n src: function ($transition$, legacy, legacyUrlMappings) {\r\n \"ngInject\";\r\n return legacy.iframeUrl\r\n + legacyUrlMappings['legacyUnsubscribe']\r\n + '/?e=' + encodeURIComponent($transition$.params().e);\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'legacyNotification',\r\n url: '/Security/User/Notification',\r\n component: 'aaIframe',\r\n resolve: {\r\n src: function ($transition$, legacy, legacyUrlMappings) {\r\n \"ngInject\";\r\n return legacy.iframeUrl\r\n + legacyUrlMappings['legacyNotification'];\r\n }\r\n }\r\n });\r\n\r\n\r\n $stateProvider.state({\r\n name: 'autoCheckReport',\r\n url: '/alert-desk/auto-check/{opportunityId}/{vin}',\r\n component: 'thirdPartyReport',\r\n resolve: {\r\n reportType: function () {\r\n return 'autoCheck'\r\n },\r\n opportunityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().opportunityId\r\n },\r\n vin: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().vin;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'carFaxReport',\r\n url: '/alert-desk/car-fax/{opportunityId}/{vin}',\r\n component: 'thirdPartyReport',\r\n resolve: {\r\n reportType: function () {\r\n return 'carFax'\r\n },\r\n opportunityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().opportunityId\r\n },\r\n vin: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().vin;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'templateEmailPreview',\r\n url: '/alert-desk/template-email-preview/{opportunityId}/{templateId}/{replMakeId}',\r\n component: 'templateEmailPreview',\r\n data: {\r\n hideFooter: true,\r\n },\r\n resolve: {\r\n opportunityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().opportunityId\r\n },\r\n templateId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().templateId\r\n },\r\n replMakeId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().replMakeId\r\n }\r\n }\r\n });\r\n\r\n\r\n $stateProvider.state({\r\n name: 'carProofReport',\r\n url: '/alert-desk/car-proof/{opportunityId}/{vin}',\r\n component: 'thirdPartyReport',\r\n resolve: {\r\n reportType: function () {\r\n return 'carProof'\r\n },\r\n opportunityId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().opportunityId;\r\n },\r\n vin: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().vin;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n parent: 'user',\r\n name: 'userChangePassword',\r\n url: '/change-password',\r\n component: 'userChangePassword'\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'serviceDriveOffers',\r\n url: '/alert-desk/service-drive/offers',\r\n component: 'serviceDriveOffersComponent'\r\n });\r\n\r\n //$stateProvider.state({\r\n // name: 'wishList',\r\n // //parent: 'alertDesk',\r\n // access: 'public',\r\n // url: '/alert-desk/wish-list',\r\n // component: 'wishListComponent'\r\n //});\r\n\r\n $stateProvider.state({\r\n name: 'email',\r\n access: 'public',\r\n url: '/email/{id}?code',\r\n component: 'templateEmail',\r\n resolve: {\r\n templateEmailId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().id;\r\n },\r\n accessCode: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().code;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'emailUnsubscribe',\r\n access: 'public',\r\n url: '/email/unsubscribe/{id}?code',\r\n component: 'emailUnsubscribe',\r\n resolve: {\r\n templateEmailId: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().id;\r\n },\r\n accessCode: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().code;\r\n }\r\n }\r\n });\r\n\r\n $stateProvider.state({\r\n name: 'searchDirectAlert',\r\n url: '/alert-desk/directalert?url',\r\n component: 'searchDirectAlert',\r\n resolve: {\r\n url: function ($transition$) {\r\n \"ngInject\";\r\n return $transition$.params().url;\r\n }\r\n }\r\n }); \r\n}\r\n\r\nfunction ConfigTranslation($translateProvider, $translatePartialLoaderProvider, localePaths) {\r\n \"ngInject\";\r\n $translateProvider.fallbackLanguage('en-US');\r\n $translateProvider.preferredLanguage('en-US');\r\n $translateProvider.useSanitizeValueStrategy('sanitizeParameters');\r\n $translateProvider.useLoaderCache('$translationCache');\r\n\r\n for (var property in localePaths) {\r\n $translatePartialLoaderProvider.addPart(localePaths[property]);\r\n }\r\n}\r\n\r\nfunction ConfigDynamicLocaleProvider(tmhDynamicLocaleProvider) {\r\n \"ngInject\";\r\n tmhDynamicLocaleProvider.localeLocationPattern('https://cdnjs.cloudflare.com/ajax/libs/angular-i18n/1.7.5/angular-locale_{{locale}}.js');\r\n}\r\n\r\nfunction ConfigWhatFix(environmentVariables) {\r\n \"ngInject\";\r\n\r\n if (typeof environmentVariables.whatFixUrl == 'string') {\r\n const whatFixScript = document.createElement('script');\r\n whatFixScript.type = 'text/javascript';\r\n whatFixScript.async = true;\r\n whatFixScript.src = environmentVariables.whatFixUrl;\r\n const s = document.getElementsByTagName('script')[0];\r\n s.parentNode.insertBefore(whatFixScript, s);\r\n }\r\n}\r\n\r\nfunction ConfigureDealerHeaders($httpProvider) {\r\n \"ngInject\";\r\n $httpProvider.interceptors.push('selectedDealersInjector');\r\n}\r\n\r\nfunction ConfigureOidcInterceptor($httpProvider) {\r\n \"ngInject\";\r\n\r\n // Add the interceptor that adds the Authorization header\r\n $httpProvider.interceptors.push('oidcHttpInterceptor');\r\n}\r\n\r\n","import \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/es6.regexp.search\";\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\r\n * @typedef {Object} UrlComponents\r\n * @property {string} hash The fragment of the URL, including the '#' symbol.\r\n * @property {string} host The hostname and port (if the port is non-standard).\r\n * @property {string} hostname The hostname only, not including the port or protocol.\r\n * @property {string} origin The protocol, hostname, and port (if the port is non-standard).\r\n * @property {string} password\r\n * @property {string} pathname The full path of the URL, including the initial '/' symbol.\r\n * @property {string} port\r\n * @property {string} protocol The protocol, including the trailing ':' symbol (e.g., \"https:\").\r\n * @property {string} search The query string, including the initial '?' symbol.\r\n * @property {string} username\r\n*/\n\n/**\r\n * Parses a URL into its individual components.\r\n * @param {string} url\r\n * @return {UrlComponents}\r\n*/\nexport function getUrlComponents(url) {\n if (typeof url != 'string') {\n throw Error(\"URL must be a string, got \" + _typeof(url));\n }\n\n var a = document.createElement('a');\n a.setAttribute('href', url);\n return {\n hash: a.hash,\n host: a.host,\n hostname: a.hostname,\n origin: a.origin,\n password: a.password,\n pathname: a.pathname,\n port: a.port,\n protocol: a.protocol,\n search: a.search,\n username: a.username\n };\n}","/**\r\n * @typedef {Object} UrlComponents\r\n * @property {string} hash The fragment of the URL, including the '#' symbol.\r\n * @property {string} host The hostname and port (if the port is non-standard).\r\n * @property {string} hostname The hostname only, not including the port or protocol.\r\n * @property {string} origin The protocol, hostname, and port (if the port is non-standard).\r\n * @property {string} password\r\n * @property {string} pathname The full path of the URL, including the initial '/' symbol.\r\n * @property {string} port\r\n * @property {string} protocol The protocol, including the trailing ':' symbol (e.g., \"https:\").\r\n * @property {string} search The query string, including the initial '?' symbol.\r\n * @property {string} username\r\n*/\r\n\r\n/**\r\n * Parses a URL into its individual components.\r\n * @param {string} url\r\n * @return {UrlComponents}\r\n*/\r\nexport function getUrlComponents(url) {\r\n if (typeof url != 'string') {\r\n throw Error(\"URL must be a string, got \" + typeof url);\r\n }\r\n const a = document.createElement('a');\r\n a.setAttribute('href', url);\r\n return {\r\n hash: a.hash,\r\n host: a.host,\r\n hostname: a.hostname,\r\n origin: a.origin,\r\n password: a.password,\r\n pathname: a.pathname,\r\n port: a.port,\r\n protocol: a.protocol,\r\n search: a.search,\r\n username: a.username,\r\n };\r\n}\r\n","export function defaultTo(getValueFunc, defaultValue) {\r\n try {\r\n var response = getValueFunc();\r\n if (isNaN(response) || response == undefined) return defaultValue;\r\n return response;\r\n } catch (e) {\r\n return defaultValue;\r\n }\r\n}\r\n","export function downloadArraybufferResponse({ contentType, filename }) {\r\n return function downloadArraybufferResponse(httpResponse) {\r\n const data = new Blob([httpResponse.data], { type: contentType });\r\n\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\r\n window.navigator.msSaveOrOpenBlob(data, filename);\r\n } else {\r\n const urlCreator = window.URL || window.webkitURL || window.mozURL || window.msURL;\r\n const fileUrl = urlCreator.createObjectURL(data);\r\n\r\n if (window.navigator.userAgent.match(/iPhone|iPad|iPod/i)) {\r\n var reader = new FileReader();\r\n\r\n reader.onload = function(e){\r\n window.location.href = reader.result;\r\n }\r\n reader.readAsDataURL(data);\r\n } else {\r\n var open = window.open(fileUrl, \"_blank\");\r\n\r\n if (open == null) {\r\n throw new Error(\"popupBlockerEnabledErrorMessage\");\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","import \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/es6.map\";\nimport \"core-js/modules/es6.reflect.construct\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.object.set-prototype-of\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.promise\";\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _wrapNativeSuper(Class) { var _cache = typeof Map === \"function\" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== \"function\") { throw new TypeError(\"Super expression must either be null or a function\"); } if (typeof _cache !== \"undefined\") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }\n\nfunction isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\nfunction _isNativeFunction(fn) { return Function.toString.call(fn).indexOf(\"[native code]\") !== -1; }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nexport var TimeoutError =\n/*#__PURE__*/\nfunction (_Error) {\n _inherits(TimeoutError, _Error);\n\n function TimeoutError() {\n var _getPrototypeOf2;\n\n var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"Operation timed out\";\n\n _classCallCheck(this, TimeoutError);\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(TimeoutError)).call.apply(_getPrototypeOf2, [this, message].concat(args)));\n }\n\n return TimeoutError;\n}(_wrapNativeSuper(Error));\n/**\r\n * Creates a promise that resolves after the specified duration (in milliseconds).\r\n */\n\nexport function delay(timeout) {\n return new Promise(function (resolve) {\n setTimeout(resolve, timeout);\n });\n}\nexport function timeout(promise, timeout) {\n var t = delay().then(function () {\n throw new TimeoutError();\n });\n return Promise.race([promise, t]);\n}","export class TimeoutError extends Error {\r\n constructor(message = \"Operation timed out\", ...args) {\r\n super(message, ...args);\r\n }\r\n}\r\n\r\n/**\r\n * Creates a promise that resolves after the specified duration (in milliseconds).\r\n */\r\nexport function delay(timeout) {\r\n return new Promise(resolve => {\r\n setTimeout(resolve, timeout);\r\n });\r\n}\r\n\r\nexport function timeout(promise, timeout) {\r\n const t = delay().then(() => {\r\n throw new TimeoutError();\r\n });\r\n return Promise.race([promise, t]);\r\n}\r\n","import \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.promise\";\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nimport { Subject } from \"rxjs\";\nimport { map, filter } from \"rxjs/operators\";\nimport { delay, TimeoutError } from \"./promises\";\nexport var READY = \"ready\";\nexport var WAITING = \"waiting\";\n/**\r\n * Implements a publish/subscribe channel with an iframe.\r\n *\r\n * Protocol:\r\n *\r\n * 1. The iframe loads a page and the 'load' event is emitted. The iframe\r\n * sends a message:\r\n * { type: \"MESSAGE_PORT_REQ\" }\r\n *\r\n * 2. The parent page creates a MessageChannel and posts the MessagePort to\r\n * the child iframe using window.postMessage:\r\n *\r\n * iframe.postMessage({ type: \"MESSAGE_PORT\" }, \"*\", [msgChannel.port2])\r\n *\r\n * 3. The child iframe posts an ack message ON THE PORT:\r\n *\r\n * { type: \"MESSAGE_PORT_ACK\" }\r\n *\r\n * 4. The parent and child now communicate exclusively through the\r\n * MessageChannel.\r\n *\r\n * 5. If the child is unloading, it sends MESSAGE_PORT_FIN. This puts this\r\n * object back into the waiting state.\r\n *\r\n * Messages are sent through the message channel with the following schema:\r\n *\r\n * interface Message {\r\n * type: string;\r\n * data: any;\r\n * }\r\n *\r\n * Example:\r\n *\r\n * {\r\n * type: \"AUTOALERT_IFRAME_READY\",\r\n * data: {\r\n * timestamp: \"2018-01-01T12:00:00Z\"\r\n * },\r\n * }\r\n */\n\nexport var ChildMessagePort =\n/*#__PURE__*/\nfunction () {\n /**\r\n * @param iframeDomElement - The DOM element of the IFRAME we want to message\r\n * @param iframeOrigin - \r\n * @param $scope - (optional) the scope, used to call scope.$apply() after notifying subscribers\r\n */\n function ChildMessagePort(iframeDomElement, iframeOrigin, $scope) {\n var _this = this;\n\n _classCallCheck(this, ChildMessagePort);\n\n this._iframe = iframeDomElement; // the iframe to communicate with\n\n this._origin = iframeOrigin; // the expected origin of messages from the iframe\n\n this._$scope = $scope; // allows us to call scope.$apply()\n\n this._event$ = new Subject();\n this._status$ = new Subject();\n\n this._generateId = function () {\n var i = 0;\n return function () {\n return i++;\n };\n }();\n\n this._goToWaitingState(); // Send message port if we receive a request\n\n\n window.addEventListener('message', function (event) {\n return _this._messagePortRequestHandler(event);\n }); // Send the port immediately and again every time the page navigates\n\n this._iframe.addEventListener('load', function (event) {\n return _this._iframeLoadHandler(event);\n });\n\n this._sendMessagePortToChild();\n } // public methods\n\n /**\r\n * Gets an observable that fires when a message is received.\r\n * @returns Observable\r\n */\n\n\n _createClass(ChildMessagePort, [{\n key: \"postMessage\",\n\n /**\r\n * Sends an object to the iframe.\r\n */\n value: function postMessage(data) {\n if (this.state == READY) {\n this._port.postMessage(data);\n } else {\n this._messagesAwaitingPort.push(data);\n }\n }\n /**\r\n * Sends an object to the iframe and expects a response\r\n * @param {Message} data - The message to send, must be an object\r\n * @param options.timeout - Timeout in milliseconds\r\n * @returns Promise\r\n */\n\n }, {\n key: \"postRequest\",\n value: function postRequest(data) {\n var _this2 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (_typeof(data) != 'object') {\n throw Error(\"data must be a Message object\");\n }\n\n var id = this._generateId();\n\n var timeout = options.timeout || 10000;\n data.id = id;\n this.postMessage(data);\n return new Promise(function (resolve, reject) {\n // Resolve when we receive a response\n var sub = _this2.message$.pipe(filter(function (m) {\n return m.responseForId === id;\n })).subscribe(function (msg) {\n resolve(msg);\n sub.unsubscribe();\n clearTimeout(timeoutId);\n }); // Reject if we don't receive a response in time\n\n\n var timeoutId = delay(10000).then(function () {\n sub.unsubscribe();\n reject(new TimeoutError());\n });\n });\n }\n /**\r\n * Subscribes a callback to messages sent by the iframe.\r\n * @param {Function} callback\r\n * @returns Subscription\r\n */\n\n }, {\n key: \"subscribe\",\n value: function subscribe(callback) {\n var _this3 = this;\n\n if (this._$scope) {\n var callbackWithApply = function callbackWithApply(data) {\n return _this3._$scope.$apply(function () {\n return callback(data);\n });\n };\n\n return this._event$.subscribe(callbackWithApply);\n } else {\n return this._event$.subscribe(callback);\n }\n }\n }, {\n key: \"close\",\n value: function close() {\n this._status$.next({\n type: \"CLOSED\"\n });\n\n this._status$.complete();\n\n this._event$.complete();\n\n if (this.state == READY) {\n this._port.close();\n }\n } // private methods\n\n }, {\n key: \"_iframeLoadHandler\",\n value: function _iframeLoadHandler(event) {\n if (this.state == WAITING) {\n this._sendMessagePortToChild();\n }\n }\n }, {\n key: \"_goToWaitingState\",\n value: function _goToWaitingState() {\n this._status$.next({\n type: \"WAITING\"\n });\n\n if (this._port) {\n this._port.close();\n\n this._port = null;\n }\n\n if (this._messagesAwaitingPort == null) {\n this._messagesAwaitingPort = [];\n }\n }\n }, {\n key: \"_goToReadyState\",\n value: function _goToReadyState(port) {\n var _this4 = this;\n\n this._status$.next({\n type: \"READY\"\n });\n\n this._port = port;\n\n this._port.addEventListener('message', function (event) {\n return _this4._messagePortMessageListener(event);\n }); // Send any awaiting messages\n\n\n if (this._messagesAwaitingPort) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = this._messagesAwaitingPort[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var message = _step.value;\n this.postMessage(message);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n\n this._messagesAwaitingPort = null;\n }\n }, {\n key: \"_messagePortRequestHandler\",\n value: function _messagePortRequestHandler(event) {\n // If we're in the ready state, this message isn't for us\n if (event.source === this._iframe.contentWindow) {\n if (event.data && event.data.type == \"MESSAGE_PORT_REQ\") {\n this._sendMessagePortToChild();\n }\n }\n }\n }, {\n key: \"_sendMessagePortToChild\",\n value: function _sendMessagePortToChild() {\n var _this5 = this;\n\n if (this._iframe.contentWindow == null) {\n // If there's no window, we can't post to it. But we'll receive the\n // load event and resend it then.\n return;\n } // Create a MessageChannel, keep port1 for ourselves and send port2 to\n // the iframe\n\n\n var channel = new MessageChannel();\n channel.port1.start(); // If the IFRAME responds with an ACK on the port, it understood the\n // MESSAGE_PORT message and will send all future messages down the port\n // instead of posting them to our window.\n\n var ackHandler = function ackHandler(event) {\n if (event.data && event.data.type == \"MESSAGE_PORT_ACK\") {\n _this5._status$.next({\n type: \"RECEIVED_MESSAGE_PORT_ACK\"\n });\n\n _this5._goToReadyState(channel.port1);\n\n channel.port1.removeEventListener('message', ackHandler);\n }\n };\n\n channel.port1.addEventListener('message', ackHandler); // Send the newly-minted MessagePort to the IFRAME.\n\n this._status$.next({\n type: \"SENDING_MESSAGE_PORT\"\n });\n\n this._iframe.contentWindow.postMessage({\n type: \"MESSAGE_PORT\"\n }, \"*\", [channel.port2]);\n }\n }, {\n key: \"_messagePortMessageListener\",\n value: function _messagePortMessageListener(event) {\n if (event && event.data && event.data.type == \"MESSAGE_PORT_FIN\") {\n this._status$.next({\n type: \"RECEIVED_MESSAGE_PORT_FIN\"\n });\n\n this._goToWaitingState();\n } else {\n this._notifySubscribers(event);\n }\n }\n }, {\n key: \"_notifySubscribers\",\n value: function _notifySubscribers(event) {\n this._event$.next(event);\n }\n }, {\n key: \"message$\",\n get: function get() {\n var _this6 = this;\n\n return this._event$.pipe(filter(function (event) {\n return _typeof(event.data) == 'object';\n }), map(function (event) {\n var data = event.data;\n var id = data.id;\n data.replyPort = {\n postMessage: function postMessage(msg) {\n var reply = _objectSpread({}, msg, {\n responseForId: id\n });\n\n _this6.postMessage(reply);\n }\n };\n return data;\n }));\n }\n /**\r\n * Gets an observable that fires when connection events occur.\r\n */\n\n }, {\n key: \"status$\",\n get: function get() {\n return this._status$.asObservable();\n }\n /**\r\n * Returns \"ready\" if we have a message port ready to send, else \"waiting\".\r\n */\n\n }, {\n key: \"state\",\n get: function get() {\n return this._port ? READY : WAITING;\n }\n }]);\n\n return ChildMessagePort;\n}();\n\nfunction parseJsonSafe(maybeString) {\n if (typeof maybeString != 'string') {\n return maybeString;\n }\n\n try {\n return JSON.parse(maybeString);\n } catch (e) {\n return maybeString;\n }\n}","import { Subject } from \"rxjs\";\r\nimport { map, filter } from \"rxjs/operators\";\r\nimport { delay, TimeoutError } from \"./promises\";\r\n\r\nexport const READY = \"ready\";\r\nexport const WAITING = \"waiting\";\r\n\r\n/**\r\n * Implements a publish/subscribe channel with an iframe.\r\n *\r\n * Protocol:\r\n *\r\n * 1. The iframe loads a page and the 'load' event is emitted. The iframe\r\n * sends a message:\r\n * { type: \"MESSAGE_PORT_REQ\" }\r\n *\r\n * 2. The parent page creates a MessageChannel and posts the MessagePort to\r\n * the child iframe using window.postMessage:\r\n *\r\n * iframe.postMessage({ type: \"MESSAGE_PORT\" }, \"*\", [msgChannel.port2])\r\n *\r\n * 3. The child iframe posts an ack message ON THE PORT:\r\n *\r\n * { type: \"MESSAGE_PORT_ACK\" }\r\n *\r\n * 4. The parent and child now communicate exclusively through the\r\n * MessageChannel.\r\n *\r\n * 5. If the child is unloading, it sends MESSAGE_PORT_FIN. This puts this\r\n * object back into the waiting state.\r\n *\r\n * Messages are sent through the message channel with the following schema:\r\n *\r\n * interface Message {\r\n * type: string;\r\n * data: any;\r\n * }\r\n *\r\n * Example:\r\n *\r\n * {\r\n * type: \"AUTOALERT_IFRAME_READY\",\r\n * data: {\r\n * timestamp: \"2018-01-01T12:00:00Z\"\r\n * },\r\n * }\r\n */\r\nexport class ChildMessagePort {\r\n /**\r\n * @param iframeDomElement - The DOM element of the IFRAME we want to message\r\n * @param iframeOrigin - \r\n * @param $scope - (optional) the scope, used to call scope.$apply() after notifying subscribers\r\n */\r\n constructor(iframeDomElement, iframeOrigin, $scope) {\r\n this._iframe = iframeDomElement; // the iframe to communicate with\r\n this._origin = iframeOrigin; // the expected origin of messages from the iframe\r\n this._$scope = $scope; // allows us to call scope.$apply()\r\n this._event$ = new Subject();\r\n this._status$ = new Subject();\r\n this._generateId = (() => {\r\n let i = 0;\r\n return () => i++;\r\n })();\r\n\r\n this._goToWaitingState();\r\n\r\n // Send message port if we receive a request\r\n window.addEventListener('message', event => this._messagePortRequestHandler(event))\r\n\r\n // Send the port immediately and again every time the page navigates\r\n this._iframe.addEventListener('load', event => this._iframeLoadHandler(event));\r\n this._sendMessagePortToChild();\r\n }\r\n\r\n // public methods\r\n\r\n /**\r\n * Gets an observable that fires when a message is received.\r\n * @returns Observable\r\n */\r\n get message$() {\r\n return this._event$.pipe(\r\n filter(event => typeof event.data == 'object'),\r\n map(event => {\r\n const data = event.data;\r\n const id = data.id;\r\n data.replyPort = {\r\n postMessage: (msg) => {\r\n const reply = { ...msg, responseForId: id };\r\n this.postMessage(reply)\r\n }\r\n }\r\n return data;\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * Gets an observable that fires when connection events occur.\r\n */\r\n get status$() {\r\n return this._status$.asObservable();\r\n }\r\n\r\n /**\r\n * Returns \"ready\" if we have a message port ready to send, else \"waiting\".\r\n */\r\n get state() {\r\n return this._port ? READY : WAITING;\r\n }\r\n\r\n /**\r\n * Sends an object to the iframe.\r\n */\r\n postMessage(data) {\r\n if (this.state == READY) {\r\n this._port.postMessage(data);\r\n } else {\r\n this._messagesAwaitingPort.push(data);\r\n }\r\n }\r\n\r\n /**\r\n * Sends an object to the iframe and expects a response\r\n * @param {Message} data - The message to send, must be an object\r\n * @param options.timeout - Timeout in milliseconds\r\n * @returns Promise\r\n */\r\n postRequest(data, options = {}) {\r\n if (typeof data != 'object') {\r\n throw Error(\"data must be a Message object\");\r\n }\r\n const id = this._generateId();\r\n const timeout = options.timeout || 10000;\r\n data.id = id;\r\n\r\n this.postMessage(data);\r\n\r\n return new Promise((resolve, reject) => {\r\n // Resolve when we receive a response\r\n const sub = this.message$.pipe(\r\n filter(m => m.responseForId === id)\r\n ).subscribe(msg => {\r\n resolve(msg);\r\n sub.unsubscribe();\r\n clearTimeout(timeoutId);\r\n });\r\n\r\n // Reject if we don't receive a response in time\r\n const timeoutId = delay(10000).then(() => {\r\n sub.unsubscribe();\r\n reject(new TimeoutError());\r\n });\r\n });\r\n }\r\n\r\n /**\r\n * Subscribes a callback to messages sent by the iframe.\r\n * @param {Function} callback\r\n * @returns Subscription\r\n */\r\n subscribe(callback) {\r\n if (this._$scope) {\r\n const callbackWithApply = data => this._$scope.$apply(() => callback(data));\r\n return this._event$.subscribe(callbackWithApply);\r\n } else {\r\n return this._event$.subscribe(callback);\r\n }\r\n }\r\n\r\n close() {\r\n this._status$.next({ type: \"CLOSED\" });\r\n this._status$.complete();\r\n this._event$.complete();\r\n if (this.state == READY) {\r\n this._port.close();\r\n }\r\n }\r\n\r\n // private methods\r\n\r\n _iframeLoadHandler(event) {\r\n if (this.state == WAITING) {\r\n this._sendMessagePortToChild();\r\n }\r\n }\r\n\r\n _goToWaitingState() {\r\n this._status$.next({ type: \"WAITING\" });\r\n if (this._port) {\r\n this._port.close();\r\n this._port = null;\r\n }\r\n if (this._messagesAwaitingPort == null) {\r\n this._messagesAwaitingPort = [];\r\n }\r\n }\r\n\r\n _goToReadyState(port) {\r\n this._status$.next({ type: \"READY\" });\r\n this._port = port;\r\n this._port.addEventListener('message', event => this._messagePortMessageListener(event));\r\n\r\n // Send any awaiting messages\r\n if (this._messagesAwaitingPort) {\r\n for (let message of this._messagesAwaitingPort) {\r\n this.postMessage(message);\r\n }\r\n }\r\n this._messagesAwaitingPort = null;\r\n }\r\n\r\n _messagePortRequestHandler(event) {\r\n // If we're in the ready state, this message isn't for us\r\n if (event.source === this._iframe.contentWindow) {\r\n if (event.data && event.data.type == \"MESSAGE_PORT_REQ\") {\r\n this._sendMessagePortToChild();\r\n }\r\n }\r\n }\r\n\r\n _sendMessagePortToChild() {\r\n if (this._iframe.contentWindow == null) {\r\n // If there's no window, we can't post to it. But we'll receive the\r\n // load event and resend it then.\r\n return\r\n }\r\n\r\n // Create a MessageChannel, keep port1 for ourselves and send port2 to\r\n // the iframe\r\n const channel = new MessageChannel();\r\n channel.port1.start();\r\n\r\n // If the IFRAME responds with an ACK on the port, it understood the\r\n // MESSAGE_PORT message and will send all future messages down the port\r\n // instead of posting them to our window.\r\n const ackHandler = (event) => {\r\n if (event.data && event.data.type == \"MESSAGE_PORT_ACK\") {\r\n this._status$.next({ type: \"RECEIVED_MESSAGE_PORT_ACK\" });\r\n this._goToReadyState(channel.port1);\r\n channel.port1.removeEventListener('message', ackHandler);\r\n }\r\n }\r\n channel.port1.addEventListener('message', ackHandler);\r\n\r\n // Send the newly-minted MessagePort to the IFRAME.\r\n this._status$.next({ type: \"SENDING_MESSAGE_PORT\" });\r\n this._iframe.contentWindow.postMessage({ type: \"MESSAGE_PORT\" }, \"*\", [channel.port2]);\r\n }\r\n\r\n _messagePortMessageListener(event) {\r\n if (event && event.data && event.data.type == \"MESSAGE_PORT_FIN\") {\r\n this._status$.next({ type: \"RECEIVED_MESSAGE_PORT_FIN\" });\r\n this._goToWaitingState();\r\n } else {\r\n this._notifySubscribers(event);\r\n }\r\n }\r\n\r\n _notifySubscribers(event) {\r\n this._event$.next(event);\r\n }\r\n}\r\n\r\nfunction parseJsonSafe(maybeString) {\r\n if (typeof maybeString != 'string') {\r\n return maybeString;\r\n }\r\n\r\n try {\r\n return JSON.parse(maybeString);\r\n } catch (e) {\r\n return maybeString;\r\n }\r\n}\r\n","import \"core-js/modules/es7.promise.finally\";\nlegacyService.$inject = [\"$http\", \"$interval\", \"$q\", \"$timeout\", \"$translate\", \"apiUrls\", \"conquestTypes\", \"coreApi\", \"dealerService\", \"legacy\", \"opportunityTypes\", \"printTemplateUrlPath\", \"saleTypes\", \"storageService\", \"tokenService\", \"translateErrorKeys\", \"vehicleTypes\"];\nimport angular from 'angular';\nimport { filter, take } from 'rxjs/operators';\nimport { defaultTo } from '../utilities/utils';\nimport { downloadArraybufferResponse } from '../utilities/http';\nimport { ChildMessagePort } from '../utilities/messaging';\nimport { getUrlComponents } from '../utilities/url';\nangular.module('AaApp.Opp').factory('legacyService', legacyService);\nvar UPGRADE_PROPOSAL_PATH = \"/api/Proposal\";\nvar MESSAGING_FRAME_PATH = \"/Home/MessagingFrame\";\nvar SECOND = 1000;\nvar MINUTE = 60 * SECOND;\n/* @ngInject */\n\nfunction legacyService($http, $interval, $q, $timeout, $translate, apiUrls, conquestTypes, coreApi, dealerService, legacy, opportunityTypes, printTemplateUrlPath, saleTypes, storageService, tokenService, translateErrorKeys, vehicleTypes) {\n var messagePort = createDedicatedLegacyMessagePort();\n var service = {\n getCalculationParameters: getCalculationParameters,\n generateUpgradeProposal: generateUpgradeProposal,\n downloadUpgradeProposalByActivity: downloadUpgradeProposalByActivity,\n getPrintTemplateUrl: getPrintTemplateUrl,\n sendLogOutMessage: sendLogOutMessage,\n sendChangeDealerMessageToIframe: sendChangeDealerMessageToIframe\n };\n return service;\n\n function generateUpgradeProposal(opportunity) {\n return getUpgradeProposalUrl(opportunity).then(function (url) {\n return $http({\n method: 'GET',\n url: url,\n withCredentials: true,\n responseType: 'arraybuffer'\n }).then(function (response) {\n return response;\n });\n });\n }\n\n function downloadUpgradeProposalByActivity(_ref) {\n var activityId = _ref.activityId;\n return coreApi.api.UpgradeProposal.GetByActivityId['{activityId}'].GET({\n activityId: activityId\n }, {\n responseType: 'arraybuffer'\n }).then(downloadArraybufferResponse({\n contentType: 'application/pdf',\n filename: 'UpgradeProposal.pdf'\n })).catch(function (err) {\n if (err.message == \"popupBlockerEnabled\") {\n $translate(translateErrorKeys.popupBlockerEnabledErrorMessage).then(function (response) {\n alert(response);\n });\n }\n });\n }\n\n function getUpgradeProposalUrl(opportunity) {\n return getCalculationParameters(opportunity).then(function (parameters) {\n var queryString = '?';\n\n for (var property in parameters) {\n if (parameters.hasOwnProperty(property)) {\n queryString += property + '=' + parameters[property] + '&';\n }\n }\n\n queryString = queryString.slice(0, -1);\n return apiUrls.reportMiner + UPGRADE_PROPOSAL_PATH + queryString;\n });\n }\n\n function getPrintTemplateUrl(opportunity, templateId, openInEditMode) {\n var queryString = '?';\n var tradeEquity;\n var newPaymentCPO = null;\n var newPaymentDifferenceCPO = null;\n if (opportunity.currentVehicle.tradeValue != null && opportunity.currentContract.payoffAmount != null) tradeEquity = opportunity.currentVehicle.tradeValue - opportunity.currentContract.payoffAmount;else tradeEquity = opportunity.currentVehicle.tradeValue;\n\n if (opportunity.replacementVehicle.type == vehicleTypes.cpo) {\n if (opportunity.replacementContract) {\n newPaymentCPO = opportunity.replacementContract.payment;\n newPaymentDifferenceCPO = opportunity.replacementContract.paymentDifference;\n }\n }\n\n var parameters = {\n DealerID: opportunity.dealerId,\n EntityID: opportunity.id,\n Make: opportunity.replacementVehicle.makeName,\n Model: opportunity.replacementVehicle.modelName,\n Year: opportunity.replacementVehicle.yearID,\n Trim: opportunity.replacementVehicle.trimName,\n IsNew: opportunity.replacementVehicle.type == vehicleTypes.new,\n Price: opportunity.replacementVehicle.price,\n Mileage: opportunity.replacementVehicle.odometer,\n NewPaymentValue: newPaymentCPO,\n NewPaymentDifferenceValue: newPaymentDifferenceCPO,\n StockNo: opportunity.replacementVehicle.stockNo,\n FullTrimName: opportunity.replacementVehicle.trimFullName,\n TradeValue: opportunity.currentVehicle.tradeValue,\n Equity: tradeEquity,\n templateId: templateId,\n openInEditMode: openInEditMode\n };\n\n for (var property in parameters) {\n if (parameters.hasOwnProperty(property)) {\n queryString += property + '=' + parameters[property] + '&';\n }\n }\n\n queryString = queryString.slice(0, -1);\n return legacy.iframeUrl + printTemplateUrlPath + queryString;\n }\n\n function sendLogOutMessage() {\n messagePort.postMessage({\n 'task': 'logout'\n });\n }\n\n function sendChangeDealerMessageToIframe(dealerIds) {\n messagePort.message$.pipe(filter(function (msg) {\n return msg.type == \"CHANGE_DEALER\" || msg[\"CHANGE_DEALER\"] == \"success\";\n })).subscribe(function () {\n sessionStorage.removeItem('reportHeaderData');\n coreApi.api.CacheManagement.FlushUserRelatedCache.GET().finally(function () {\n return document.location.reload();\n });\n });\n messagePort.postMessage({\n 'task': 'change_dealer',\n 'dealer_ids': dealerIds\n });\n }\n\n function getCalculationParameters(opportunity) {\n return $q.all([coreApi.api.BalanceToMaturity['{entityId}'].GET({\n entityId: opportunity.id,\n saleId: opportunity.currentContract.saleID\n }), coreApi.api.SalePayoffEstimate['{saleId}'].GET({\n saleId: opportunity.currentContract.saleID\n })]).then(function (response) {\n var balanceToMaturity = response[0].data;\n var salePayoffEstimate = response[1].data;\n var userProfile = storageService.getItem('userProfile');\n var stillOwnsVehicle = opportunity.type == 3 || opportunity.stillOwned == true;\n var finalTradeValue = defaultTo(function () {\n return opportunity.currentVehicle.tradeValue;\n }, 0) * stillOwnsVehicle;\n var adjustedBalance = defaultTo(function () {\n return salePayoffEstimate.adjustedBalance;\n }, 0) * stillOwnsVehicle;\n var tradeEquity;\n var source;\n\n switch (opportunity.type) {\n case opportunityTypes.native:\n source = 'Native';\n break;\n\n case opportunityTypes.converted:\n source = 'Converted';\n break;\n\n case opportunityTypes.conquest:\n source = 'Conquest';\n break;\n }\n\n var maturityDate;\n\n if (!opportunity.currentContract.saleType) {\n maturityDate = new Date(2000, 0, 1);\n maturityDate = maturityDate.getFullYear() + \"-\" + (maturityDate.getMonth() + 1) + \"-\" + maturityDate.getDate();\n } else if (opportunity.currentContract.saleType != saleTypes.lease) {\n maturityDate = opportunity.currentContract.lastPaymentDate ? opportunity.currentContract.lastPaymentDate : opportunity.currentContract.dealDate;\n } else {\n maturityDate = new Date(opportunity.currentContract.lastPaymentDate);\n maturityDate.setMonth(maturityDate.getMonth() - 1);\n maturityDate = maturityDate.getFullYear() + \"-\" + (maturityDate.getMonth() + 1) + \"-\" + maturityDate.getDate();\n }\n\n if (opportunity.currentVehicle.tradeValue != null && opportunity.currentContract.payoffAmount) {\n tradeEquity = opportunity.currentVehicle.tradeValue - opportunity.currentContract.payoffAmount;\n } else {\n tradeEquity = opportunity.currentVehicle.tradeValue;\n }\n\n var parameters = {\n EntityID: opportunity.id,\n KeyID: opportunity.currentContract.saleID,\n SaleID: opportunity.currentContract.saleID,\n OldBankID: opportunity.currentContract.bankID,\n DealerID: opportunity.dealerId,\n dealerGroupId: opportunity.dealer ? opportunity.dealer.dealerGroupId : 0,\n StateID: opportunity.customer.address.stateId,\n ZipCode: opportunity.customer.address.normalizedZipCode,\n SaleTypes: [opportunity.currentContract.saleType].filter(Boolean),\n // Conquest saleType is null, filter it out\n LastPaymentSaleType: opportunity.currentContract.saleType,\n UseBalloon: true,\n DispositionFee: balanceToMaturity.dispositionFee,\n BalanceToMaturity: balanceToMaturity.balanceToMaturity,\n CanBTBeApplied: balanceToMaturity.canBeApplied,\n CanBTDispositionFeeBeForgiven: balanceToMaturity.canDispositionFeeBeForgiven,\n UsePullForward: balanceToMaturity.usePullForward,\n HasCreditConvertFinancialData: opportunity.currentContract.conquestType == conquestTypes.creditConvert,\n PayOffForward: opportunity.currentContract.payoffAmount,\n AdjustedBalance: adjustedBalance ? adjustedBalance : opportunity.currentContract.adjustedBalance,\n TotalPenalty: salePayoffEstimate.totalPenalty,\n ForgivePenaltyIfTheSameBank: salePayoffEstimate.forgivePenaltyIfTheSameBank === true,\n FinalTradeValue: finalTradeValue,\n NewTrimID: opportunity.replacementVehicle.trimID,\n NewMakeID: opportunity.replacementVehicle.makeID,\n NewTrimYearID: opportunity.replacementVehicle.yearID,\n IsConquest: opportunity.replacementVehicle.IsConquest == 1 ? true : false,\n NewVehiclePrice: opportunity.replacementVehicle.price,\n IsUsed: opportunity.replacementVehicle.type == vehicleTypes.used,\n IsCPO: opportunity.replacementVehicle.type == vehicleTypes.cpo,\n MSRP: opportunity.replacementVehicle.msrp,\n CashDown: 0,\n OldMaturityDate: maturityDate,\n OldMakeID: opportunity.currentVehicle.makeID,\n OldTrimID: opportunity.currentVehicle.trimID,\n OldSaleTypeID: opportunity.currentContract.saleType,\n OldTermID: opportunity.currentContract.term,\n OldPaymentsRemaining: opportunity.currentContract.paymentsRemaining,\n OldMonthlyPayment: opportunity.currentContract.payment ? opportunity.currentContract.payment : 0,\n TradeEquity: tradeEquity,\n StillOwnAndNotPaidOff: opportunity.stillOwned === true && opportunity.paidOff === false,\n Source: source,\n dt: new Date(),\n e: opportunity.id,\n repMileage: opportunity.replacementVehicle.stockNo ? opportunity.replacementVehicle.odometer : '',\n repVIN: opportunity.replacementVehicle.stockNo ? opportunity.replacementVehicle.vin : '',\n OverrideTerm: opportunity.replacementContract && opportunity.replacementContract.useOverrideTerm ? opportunity.replacementContract.term : null,\n Culture: userProfile.cultureName,\n pricingPlanId: opportunity.customer.pricingPlanId,\n useOffBrandCalc: opportunity.replacementVehicle.level > 905\n };\n return parameters;\n });\n }\n\n function createDedicatedLegacyMessagePort() {\n var url = legacy.iframeUrl + MESSAGING_FRAME_PATH;\n var iframe = document.createElement(\"iframe\");\n iframe.src = url;\n iframe.style.display = \"none\";\n iframe.classList.add(\"legacyService-message-port-\" + Date.now());\n document.body.appendChild(iframe);\n\n var _getUrlComponents = getUrlComponents(url),\n origin = _getUrlComponents.origin;\n\n var port = new ChildMessagePort(iframe, origin);\n addStandardMessageHandlers(port);\n addKeepAlive(port);\n return port;\n\n function addStandardMessageHandlers(port) {\n port.message$.subscribe(function (data) {\n if (data['GET_SSO_ID_TOKEN']) {\n sendSSOToken(dealerService, tokenService, port);\n }\n });\n }\n\n function addKeepAlive(port) {\n // Wait to receive the first message before starting the keep alive\n port.message$.pipe(take(1)).subscribe(addKeepAliveImpl);\n\n function addKeepAliveImpl() {\n var keepAlive = $interval(sendKeepAlive, 10 * MINUTE); // Stop when the port is closed\n\n var cancelled = false;\n port.status$.subscribe(null, null, function () {\n $interval.cancel(keepAlive);\n cancelled = true;\n });\n\n function sendKeepAlive() {\n sendSSOToken(dealerService, tokenService, port);\n var failed = $timeout(reloadIframe, 10 * SECOND);\n port.message$.subscribe(function (data) {\n if (data[\"AUTOALERT_IFRAME_LOADED\"] || data[\"POST_LOGIN_REDIRECT_PORTAL_HOME\"]) {\n $timeout.cancel(failed);\n }\n });\n\n function reloadIframe() {\n if (!cancelled) {\n var src = iframe.src;\n iframe.src = \"\";\n iframe.src = src;\n }\n }\n }\n }\n }\n }\n}\n\nexport function sendSSOToken(dealerService, tokenService, port) {\n // Send our token\n var ssoToken = tokenService.getTokenByType('id');\n\n if (ssoToken != null) {\n port.postMessage({\n 'task': 'sso_token',\n 'token_value': ssoToken,\n 'access_token_value': tokenService.getTokenByType('access'),\n 'dealer_ids': dealerService.getSelectedDealerIds(),\n 'impersonating_username': tokenService.getImpersonatingUsername() || \"\"\n });\n }\n}","import angular from 'angular';\r\nimport { filter, take } from 'rxjs/operators';\r\nimport { defaultTo } from '../utilities/utils';\r\nimport { downloadArraybufferResponse } from '../utilities/http';\r\nimport { ChildMessagePort } from '../utilities/messaging';\r\nimport { getUrlComponents } from '../utilities/url';\r\n\r\nangular.module('AaApp.Opp').factory('legacyService', legacyService);\r\n\r\nconst UPGRADE_PROPOSAL_PATH = \"/api/Proposal\";\r\nconst MESSAGING_FRAME_PATH = \"/Home/MessagingFrame\";\r\nconst SECOND = 1000;\r\nconst MINUTE = 60 * SECOND;\r\n\r\n/* @ngInject */\r\nfunction legacyService(\r\n $http,\r\n $interval,\r\n $q,\r\n $timeout,\r\n $translate,\r\n apiUrls,\r\n conquestTypes,\r\n coreApi,\r\n dealerService,\r\n legacy,\r\n opportunityTypes,\r\n printTemplateUrlPath,\r\n saleTypes,\r\n storageService,\r\n tokenService,\r\n translateErrorKeys,\r\n vehicleTypes\r\n) {\r\n const messagePort = createDedicatedLegacyMessagePort();\r\n\r\n var service = {\r\n getCalculationParameters,\r\n generateUpgradeProposal,\r\n downloadUpgradeProposalByActivity,\r\n getPrintTemplateUrl,\r\n sendLogOutMessage,\r\n sendChangeDealerMessageToIframe,\r\n };\r\n\r\n return service;\r\n\r\n function generateUpgradeProposal(opportunity) {\r\n return getUpgradeProposalUrl(opportunity).then(function (url) {\r\n return $http({\r\n method: 'GET',\r\n url: url,\r\n withCredentials: true,\r\n responseType: 'arraybuffer'\r\n }).then(function (response) {\r\n return response;\r\n });\r\n })\r\n }\r\n\r\n function downloadUpgradeProposalByActivity({ activityId }) {\r\n return coreApi.api.UpgradeProposal.GetByActivityId['{activityId}'].GET(\r\n { activityId },\r\n { responseType: 'arraybuffer' })\r\n .then(downloadArraybufferResponse({\r\n contentType: 'application/pdf',\r\n filename: 'UpgradeProposal.pdf',\r\n }))\r\n .catch((err) => {\r\n if (err.message == \"popupBlockerEnabled\") {\r\n $translate(translateErrorKeys.popupBlockerEnabledErrorMessage).then((response) => {\r\n alert(response);\r\n });\r\n }\r\n });\r\n }\r\n\r\n function getUpgradeProposalUrl(opportunity) {\r\n return getCalculationParameters(opportunity).then(function (parameters) {\r\n var queryString = '?';\r\n\r\n for (var property in parameters) {\r\n if (parameters.hasOwnProperty(property)) {\r\n queryString += property + '=' + parameters[property] + '&';\r\n }\r\n }\r\n\r\n queryString = queryString.slice(0, -1);\r\n\r\n return apiUrls.reportMiner + UPGRADE_PROPOSAL_PATH + queryString;\r\n });\r\n }\r\n\r\n function getPrintTemplateUrl(opportunity, templateId, openInEditMode) {\r\n var queryString = '?';\r\n var tradeEquity;\r\n var newPaymentCPO = null;\r\n var newPaymentDifferenceCPO = null;\r\n if (opportunity.currentVehicle.tradeValue != null && opportunity.currentContract.payoffAmount != null)\r\n tradeEquity = opportunity.currentVehicle.tradeValue - opportunity.currentContract.payoffAmount\r\n else\r\n tradeEquity = opportunity.currentVehicle.tradeValue;\r\n\r\n if (opportunity.replacementVehicle.type == vehicleTypes.cpo) {\r\n if (opportunity.replacementContract) {\r\n newPaymentCPO = opportunity.replacementContract.payment;\r\n newPaymentDifferenceCPO = opportunity.replacementContract.paymentDifference;\r\n }\r\n }\r\n\r\n var parameters = {\r\n DealerID: opportunity.dealerId,\r\n EntityID: opportunity.id,\r\n Make: opportunity.replacementVehicle.makeName,\r\n Model: opportunity.replacementVehicle.modelName,\r\n Year: opportunity.replacementVehicle.yearID,\r\n Trim: opportunity.replacementVehicle.trimName,\r\n IsNew: opportunity.replacementVehicle.type == vehicleTypes.new,\r\n Price: opportunity.replacementVehicle.price,\r\n Mileage: opportunity.replacementVehicle.odometer,\r\n NewPaymentValue: newPaymentCPO,\r\n NewPaymentDifferenceValue: newPaymentDifferenceCPO,\r\n StockNo: opportunity.replacementVehicle.stockNo,\r\n FullTrimName: opportunity.replacementVehicle.trimFullName,\r\n TradeValue: opportunity.currentVehicle.tradeValue,\r\n Equity: tradeEquity,\r\n templateId: templateId,\r\n openInEditMode: openInEditMode\r\n }\r\n\r\n for (var property in parameters) {\r\n if (parameters.hasOwnProperty(property)) {\r\n queryString += property + '=' + parameters[property] + '&';\r\n }\r\n }\r\n queryString = queryString.slice(0, -1);\r\n return legacy.iframeUrl + printTemplateUrlPath + queryString;\r\n\r\n }\r\n\r\n function sendLogOutMessage() {\r\n messagePort.postMessage({ 'task': 'logout' });\r\n }\r\n\r\n function sendChangeDealerMessageToIframe(dealerIds) {\r\n messagePort.message$\r\n .pipe(\r\n filter(msg => msg.type == \"CHANGE_DEALER\" || msg[\"CHANGE_DEALER\"] == \"success\")\r\n )\r\n .subscribe(() => {\r\n sessionStorage.removeItem('reportHeaderData');\r\n coreApi.api.CacheManagement.FlushUserRelatedCache.GET()\r\n .finally(() => document.location.reload());\r\n });\r\n\r\n messagePort.postMessage({ 'task': 'change_dealer', 'dealer_ids': dealerIds });\r\n }\r\n\r\n function getCalculationParameters(opportunity) { \r\n return $q.all([\r\n coreApi.api.BalanceToMaturity['{entityId}'].GET({ entityId: opportunity.id, saleId: opportunity.currentContract.saleID }),\r\n coreApi.api.SalePayoffEstimate['{saleId}'].GET({ saleId: opportunity.currentContract.saleID })\r\n ]).then(function (response) {\r\n var balanceToMaturity = response[0].data;\r\n var salePayoffEstimate = response[1].data;\r\n var userProfile = storageService.getItem('userProfile');\r\n var stillOwnsVehicle = (opportunity.type == 3) || (opportunity.stillOwned == true);\r\n var finalTradeValue = defaultTo(function () { return opportunity.currentVehicle.tradeValue; }, 0) * stillOwnsVehicle;\r\n var adjustedBalance = defaultTo(function () { return salePayoffEstimate.adjustedBalance; }, 0) * stillOwnsVehicle;\r\n var tradeEquity;\r\n var source;\r\n\r\n switch (opportunity.type) {\r\n case opportunityTypes.native:\r\n source = 'Native';\r\n break;\r\n case opportunityTypes.converted:\r\n source = 'Converted';\r\n break;\r\n case opportunityTypes.conquest:\r\n source = 'Conquest';\r\n break;\r\n }\r\n\r\n var maturityDate;\r\n\r\n if (!opportunity.currentContract.saleType) {\r\n maturityDate = new Date(2000, 0, 1);\r\n maturityDate = maturityDate.getFullYear() + \"-\" + (maturityDate.getMonth() + 1) + \"-\" + maturityDate.getDate();\r\n }\r\n else if (opportunity.currentContract.saleType != saleTypes.lease) {\r\n maturityDate = opportunity.currentContract.lastPaymentDate ? opportunity.currentContract.lastPaymentDate : opportunity.currentContract.dealDate;\r\n }\r\n else {\r\n maturityDate = new Date(opportunity.currentContract.lastPaymentDate);\r\n maturityDate.setMonth(maturityDate.getMonth() - 1);\r\n maturityDate = maturityDate.getFullYear() + \"-\" + (maturityDate.getMonth() + 1) + \"-\" + maturityDate.getDate();\r\n }\r\n\r\n if (opportunity.currentVehicle.tradeValue != null && opportunity.currentContract.payoffAmount) {\r\n tradeEquity = opportunity.currentVehicle.tradeValue - opportunity.currentContract.payoffAmount\r\n }\r\n else {\r\n tradeEquity = opportunity.currentVehicle.tradeValue;\r\n }\r\n var parameters = {\r\n EntityID: opportunity.id,\r\n KeyID: opportunity.currentContract.saleID,\r\n SaleID: opportunity.currentContract.saleID,\r\n OldBankID: opportunity.currentContract.bankID,\r\n DealerID: opportunity.dealerId,\r\n dealerGroupId: opportunity.dealer ? opportunity.dealer.dealerGroupId : 0,\r\n StateID: opportunity.customer.address.stateId,\r\n ZipCode: opportunity.customer.address.normalizedZipCode,\r\n SaleTypes: [opportunity.currentContract.saleType].filter(Boolean), // Conquest saleType is null, filter it out\r\n LastPaymentSaleType: opportunity.currentContract.saleType,\r\n UseBalloon: true,\r\n DispositionFee: balanceToMaturity.dispositionFee,\r\n BalanceToMaturity: balanceToMaturity.balanceToMaturity,\r\n CanBTBeApplied: balanceToMaturity.canBeApplied,\r\n CanBTDispositionFeeBeForgiven: balanceToMaturity.canDispositionFeeBeForgiven,\r\n UsePullForward: balanceToMaturity.usePullForward,\r\n HasCreditConvertFinancialData: opportunity.currentContract.conquestType == conquestTypes.creditConvert,\r\n PayOffForward: opportunity.currentContract.payoffAmount,\r\n AdjustedBalance: adjustedBalance ? adjustedBalance : opportunity.currentContract.adjustedBalance,\r\n TotalPenalty: salePayoffEstimate.totalPenalty,\r\n ForgivePenaltyIfTheSameBank: salePayoffEstimate.forgivePenaltyIfTheSameBank === true,\r\n FinalTradeValue: finalTradeValue,\r\n NewTrimID: opportunity.replacementVehicle.trimID,\r\n NewMakeID: opportunity.replacementVehicle.makeID,\r\n NewTrimYearID: opportunity.replacementVehicle.yearID,\r\n IsConquest: opportunity.replacementVehicle.IsConquest == 1 ? true : false,\r\n NewVehiclePrice: opportunity.replacementVehicle.price,\r\n IsUsed: opportunity.replacementVehicle.type == vehicleTypes.used,\r\n IsCPO: opportunity.replacementVehicle.type == vehicleTypes.cpo,\r\n MSRP: opportunity.replacementVehicle.msrp,\r\n CashDown: 0,\r\n OldMaturityDate: maturityDate,\r\n OldMakeID: opportunity.currentVehicle.makeID,\r\n OldTrimID: opportunity.currentVehicle.trimID,\r\n OldSaleTypeID: opportunity.currentContract.saleType,\r\n OldTermID: opportunity.currentContract.term,\r\n OldPaymentsRemaining: opportunity.currentContract.paymentsRemaining,\r\n OldMonthlyPayment: opportunity.currentContract.payment ? opportunity.currentContract.payment : 0,\r\n TradeEquity: tradeEquity,\r\n StillOwnAndNotPaidOff: opportunity.stillOwned === true && opportunity.paidOff === false,\r\n Source: source,\r\n dt: new Date(),\r\n e: opportunity.id,\r\n repMileage: opportunity.replacementVehicle.stockNo ? opportunity.replacementVehicle.odometer : '',\r\n repVIN: opportunity.replacementVehicle.stockNo ? opportunity.replacementVehicle.vin : '',\r\n OverrideTerm: opportunity.replacementContract && opportunity.replacementContract.useOverrideTerm ? opportunity.replacementContract.term : null,\r\n Culture: userProfile.cultureName,\r\n pricingPlanId: opportunity.customer.pricingPlanId,\r\n useOffBrandCalc: opportunity.replacementVehicle.level > 905\r\n }\r\n\r\n return parameters;\r\n\r\n });\r\n }\r\n\r\n function createDedicatedLegacyMessagePort() {\r\n const url = legacy.iframeUrl + MESSAGING_FRAME_PATH;\r\n\r\n const iframe = document.createElement(\"iframe\");\r\n iframe.src = url;\r\n iframe.style.display = \"none\";\r\n iframe.classList.add(\"legacyService-message-port-\" + Date.now());\r\n document.body.appendChild(iframe);\r\n\r\n const { origin } = getUrlComponents(url);\r\n const port = new ChildMessagePort(iframe, origin);\r\n addStandardMessageHandlers(port);\r\n addKeepAlive(port);\r\n return port;\r\n\r\n function addStandardMessageHandlers(port) {\r\n port.message$.subscribe(data => {\r\n if (data['GET_SSO_ID_TOKEN']) {\r\n sendSSOToken(dealerService, tokenService, port);\r\n }\r\n });\r\n }\r\n\r\n function addKeepAlive(port) {\r\n // Wait to receive the first message before starting the keep alive\r\n port.message$.pipe(take(1)).subscribe(addKeepAliveImpl);\r\n\r\n function addKeepAliveImpl() {\r\n const keepAlive = $interval(sendKeepAlive, 10 * MINUTE);\r\n // Stop when the port is closed\r\n let cancelled = false;\r\n port.status$.subscribe(null, null, () => {\r\n $interval.cancel(keepAlive);\r\n cancelled = true;\r\n });\r\n\r\n function sendKeepAlive() {\r\n sendSSOToken(dealerService, tokenService, port);\r\n const failed = $timeout(reloadIframe, 10 * SECOND)\r\n port.message$.subscribe(data => {\r\n if (data[\"AUTOALERT_IFRAME_LOADED\"] || data[\"POST_LOGIN_REDIRECT_PORTAL_HOME\"]) {\r\n $timeout.cancel(failed);\r\n }\r\n });\r\n\r\n function reloadIframe() {\r\n if (!cancelled) {\r\n const src = iframe.src;\r\n iframe.src = \"\";\r\n iframe.src = src;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport function sendSSOToken(dealerService, tokenService, port) {\r\n // Send our token\r\n var ssoToken = tokenService.getTokenByType('id');\r\n if (ssoToken != null) {\r\n port.postMessage({\r\n 'task': 'sso_token',\r\n 'token_value': ssoToken,\r\n 'access_token_value': tokenService.getTokenByType('access'),\r\n 'dealer_ids': dealerService.getSelectedDealerIds(),\r\n 'impersonating_username': tokenService.getImpersonatingUsername() || \"\",\r\n })\r\n }\r\n}\r\n","import $ from 'jquery';\r\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nimport { removeQuotes, resizeHeader, getPortalSubPath } from '../scripts/init';\r\nimport { silentRefreshFailed$, tokenMissing$, unauthorized$, externalLoggedIn$ } from '../modules/oidc-auth/events';\r\nimport { importKendo } from './report-routes.config';\r\nimport { getUrlComponents } from '../utilities/url';\r\nimport { appSettings } from './config.module';\r\nimport { sendSSOToken } from '../services/legacy.service';\r\n\r\nangular.module('AaApp.Opp')\r\n .run(Run)\r\n .run(RunInitMessageListener)\r\n .run(RunUiRouterTransitionSpinner)\r\n .run(RunUiRouterTransitionsInit)\r\n .run(RunUiRouterTransitionAuthorization)\r\n .run(RunPostMessageInit)\r\n .run(runUserInit)\r\n .run(lazyLoadKendo)\r\n\r\n/* @ngInject */\r\nfunction Run(\r\n $auth,\r\n $http,\r\n $location,\r\n $rootScope,\r\n $state,\r\n $transitions,\r\n $translate,\r\n $translatePartialLoader,\r\n $window,\r\n externalService,\r\n globalIframeService,\r\n localePaths,\r\n logger,\r\n menu,\r\n oidc,\r\n storageService\r\n) {\r\n\r\n silentRefreshFailed$.subscribe(function () {\r\n $auth.signIn();\r\n });\r\n\r\n $rootScope.$on('$translatePartialLoaderStructureChanged', function () {\r\n var cultureName = storageService.getItem('cultureName');\r\n if (cultureName) {\r\n $translate.use(cultureName);\r\n }\r\n });\r\n\r\n $.Redactor.opts.$http = $http;\r\n\r\n // error text always needs to be initialized\r\n $translatePartialLoader.addPart(localePaths.error);\r\n\r\n localRedirectToOpportunitiesUrlInit();\r\n\r\n errorUnauthorizedInit();\r\n\r\n iframeBackwardsCompatibilityInit();\r\n\r\n function localRedirectToOpportunitiesUrlInit() {\r\n // handles the Portal URL -- redirects to itself (but with Opportunities.autoalert.com url)\r\n if ((window.location.protocol + '//' + window.location.host) != oidc.logoutUri && !(!$auth.isAuthenticated() && window.location.href.indexOf(\"external\") > -1)) {\r\n window.location.href = oidc.logoutUri;\r\n }\r\n }\r\n\r\n function errorUnauthorizedInit() {\r\n unauthorized$.subscribe(function (data) {\r\n if ($state.current.name == 'errorUnauthorized') {\r\n return;\r\n }\r\n\r\n if (data && data.response) {\r\n if (data.response === 'User is disabled') {\r\n $state.go('errorUnauthorized', { errorState: 'disabled' });\r\n }\r\n else if (data.response === 'User is locked') {\r\n $state.go('errorUnauthorized', { errorState: 'locked' });\r\n }\r\n else if (data.response === 'IP Address is not valid') {\r\n $state.go('errorUnauthorized', { errorState: 'invalidIPAddress' });\r\n }\r\n }\r\n else {\r\n $state.go('errorUnauthorized');\r\n }\r\n });\r\n }\r\n\r\n function iframeBackwardsCompatibilityInit() {\r\n $rootScope.$on('RUN_USER_INIT.REPOSITION_UI_VIEW', function () {\r\n repositionUiView();\r\n });\r\n\r\n $window.onresize = function () {\r\n repositionUiView();\r\n\r\n //for iframe\r\n resizeHeader($state.$current, globalIframeService);\r\n }\r\n\r\n $transitions.onSuccess({}, function () {\r\n angular.element(\"#header-app\").width('100%');\r\n repositionUiView();\r\n });\r\n\r\n $transitions.onEnter({}, function () {\r\n repositionUiView();\r\n });\r\n\r\n function repositionUiView() {\r\n // todo: remove if condition when iframes are removed\r\n if (angular.element('#aa-app')[0] && (!angular.element('#autoalertiframe').length || angular.element('#autoalertiframe')[0].className.indexOf('hidden-iframe'))) {\r\n // to have the ui-view right below the header.\r\n // needed as long as we want the header to be always fixed to top of page\r\n var headerHeight = angular.element('#aa-app')[0].offsetHeight;\r\n angular.element(\"#ui-view\").css({ 'margin-top': headerHeight + 'px' });\r\n\r\n // for iframe\r\n angular.element('#aa-app')[0].removeAttribute('style');\r\n }\r\n }\r\n }\r\n\r\n}\r\n\r\nfunction RunInitMessageListener($state, coreApi, dealerService, globalIframeService) {\r\n \"ngInject\";\r\n\r\n globalIframeService.subscribe(handleMessage)\r\n\r\n resizeHeader($state.$current, globalIframeService);\r\n\r\n function handleMessage({ data }, replyPort) {\r\n const state = $state.current;\r\n\r\n if (data['IFRAME_SIZE_H']) {\r\n resizeHeader($state.$current, replyPort);\r\n }\r\n else if (data['IFRAME_SCROLL_TOP'] != null) {\r\n resizeHeader($state.$current, replyPort);\r\n }\r\n else if (data['GET_DEALER_IDS']) { // AA requesting dealer-ids\r\n sendDealerIds();\r\n }\r\n else if (data['SECURITY_LOGIN']) {\r\n window.location.replace('/');\r\n }\r\n else if (data['DEAL_SHEET_CLOSE']) {\r\n // this is called from legacy popup deal sheet not the angular deal sheet.\r\n replyPort.postMessage({ 'task': 'opportunity_refresh' });\r\n }\r\n\r\n function sendDealerIds() {\r\n const dealerIds = dealerService.getSelectedDealerIds();\r\n replyPort.postMessage({ 'task': 'change_dealer', 'dealer_ids': dealerIds });\r\n }\r\n }\r\n}\r\n\r\n/* @ngInject */\r\nfunction runUserInit(\r\n $auth,\r\n $interval,\r\n $rootScope,\r\n notificationService,\r\n tokenService,\r\n loggedInDataInitializationService\r\n) {\r\n if ($auth.isAuthenticated()) {\r\n $interval(checkToken, 3000);\r\n\r\n if (tokenService.isAutoAlertUser()) {\r\n //for testing/debugging //todo: use environment variable...\r\n var accessToken = tokenService.getTokenByType('access');\r\n if (accessToken) {\r\n notificationService.connect();\r\n\r\n loggedInDataInitializationService.initializeData()\r\n .then(getUserProfileComplete);\r\n }\r\n }\r\n } else {\r\n // storageService.clear();\r\n }\r\n\r\n function checkToken() {\r\n var impersonating = tokenService.getImpersonatingUsername();\r\n\r\n if (impersonating) {\r\n if (!tokenService.hasValidToken()) {\r\n $auth.signOut();\r\n }\r\n }\r\n else {\r\n $auth.validateExpirity();\r\n }\r\n }\r\n\r\n function getUserProfileComplete() {\r\n // we now have BehaviorSubject('SITE_MAP_READY') in menu.service that will replace this broadcast when \r\n // all components listening for this are converted.\r\n $rootScope.$broadcast('RUN_USER_INIT.SITE_MAP_READY');\r\n }\r\n}\r\n\r\n/**\r\n * Adds event listeners that add/remove a spinner so the user knows\r\n * long-running transitions are in progress.\r\n */\r\nfunction RunUiRouterTransitionSpinner($transitions, $rootScope, $timeout, $q) {\r\n \"ngInject\";\r\n\r\n let transitionsInProgressCount = 0;\r\n\r\n $transitions.onStart({}, function (trans) {\r\n let alreadyCompleted = false;\r\n transitionsInProgressCount += 1;\r\n $timeout(function () {\r\n if (!alreadyCompleted && transitionsInProgressCount) {\r\n $rootScope.globalBusyPromise = $q.defer();\r\n }\r\n }, 100);\r\n\r\n trans.promise.then(done, done);\r\n\r\n function done() {\r\n alreadyCompleted = true;\r\n transitionsInProgressCount -= 1;\r\n if (transitionsInProgressCount == 0) {\r\n $rootScope.globalBusyPromise = null;\r\n }\r\n }\r\n });\r\n}\r\n\r\n/* @ngInject */\r\nfunction RunUiRouterTransitionsInit(_,\r\n externalService, $auth, $location, $state, $transitions,\r\n $rootScope, menu, oidc, tokenService, storageService, loggedInDataInitializationService) {\r\n\r\n tokenMissing$.subscribe(function () {\r\n // We make some API calls no matter what (like LoggedInUser,\r\n // DealerSearch, UserModuleAccess, etc.). If we're on a page that\r\n // doesn't require the user to be signed in, then we must ensure we\r\n // don't forward to SSO.\r\n if (isOnExternalDealSheetRoute())\r\n return;\r\n if ($state.current.access == 'public')\r\n return;\r\n\r\n saveReferrerAndSignIn();\r\n })\r\n\r\n $transitions.onBefore({}, function (trans) {\r\n if (trans.from().name === 'errorUnauthorized' && trans.to().name !== 'errorUnauthorized') {\r\n return trans.router.stateService.target('errorUnauthorized');\r\n }\r\n\r\n if (trans.to().name === 'loginRedirectToSSO') {\r\n return;\r\n }\r\n\r\n var isProcessingAuthCallback = $location.path().indexOf('/auth/callback') > -1;\r\n var referrerHost = storageService.getItem('referrerHost');\r\n const portalHost = getUrlComponents(oidc.portalUrl).hostname;\r\n\r\n if (trans.to().access !== 'public' && !isProcessingAuthCallback && !$auth.isAuthenticated()) {\r\n\r\n if (isOnExternalDealSheetRoute()) {\r\n const url = $location.url();\r\n getExternalPageJWT()\r\n .then((tokenResponse) => {\r\n\r\n if (tokenResponse.nonCrmToken) {\r\n const isExternalToken = true;\r\n tokenService.saveToken('access', tokenResponse.data, isExternalToken);\r\n\r\n return loggedInDataInitializationService.initializeData();\r\n }\r\n\r\n $auth.signIn(url, tokenResponse.data);\r\n return Promise.resolve();\r\n })\r\n .catch((e) => {\r\n $auth.signIn();\r\n return Promise.resolve();\r\n });\r\n } else {\r\n saveReferrerAndSignIn();\r\n }\r\n\r\n } else if ($auth.isAuthenticated() && referrerHost == portalHost && !tokenService.isAutoAlertUser() && tokenService.isMotoFuzeUser()) {\r\n // User is only a Motofuze user, so we just send them to Social\r\n var socialMenuItem = _.find(menu, { name: 'social' });\r\n var redirectUrl = socialMenuItem ? socialMenuItem.url : '/';\r\n window.location.replace(redirectUrl);\r\n return trans.router.stateService.target('loginRedirectToSSO');\r\n\r\n } else if ($auth.isAuthenticated()) {\r\n if (trans.to().access !== 'public') {\r\n var hasValidToken = tokenService.hasValidToken();\r\n var isAutoAlertUser = tokenService.isAutoAlertUser();\r\n\r\n if (hasValidToken && !isAutoAlertUser) {\r\n return trans.router.stateService.target('errorUnauthorized');\r\n }\r\n }\r\n }\r\n });\r\n\r\n //there is also a $transitions.onSuccess in iframeBackwardsCompatibilityInit section below. Grouped there with other similar components.\r\n\r\n function saveReferrerAndSignIn() {\r\n //only if the referrer is not the SSO server, set the referrerOrigin\r\n // referrerOrigin is used after a successful login with SSO to navigate to page user was originally trying to go to\r\n const oidcOrigin = getUrlComponents(oidc.basePath).origin;\r\n const referrerOrigin = getUrlComponents(document.referrer).origin;\r\n\r\n if (referrerOrigin != oidcOrigin) {\r\n storageService.setItem('referrerUrl', referrerOrigin);\r\n }\r\n $auth.signIn();\r\n }\r\n\r\n\r\n function isOnExternalDealSheetRoute() {\r\n return $location.path().indexOf('external') > -1\r\n }\r\n\r\n function getExternalPageJWT() {\r\n var queryString = window.location.search.substring(1);\r\n var hashString = window.location.hash.substring(1);\r\n var fragments = {};\r\n fragments = parseQueryString(queryString, hashString);\r\n\r\n if (fragments.t && fragments.pg) {\r\n return Promise.resolve({ data: fragments.t, nonCrmToken: true });\r\n } else if (fragments.e && fragments.v) {\r\n return externalService.getValidExternalDealsheetJWTToken(fragments.e, fragments.v, fragments.c, fragments.d);\r\n } else if (fragments.pg) {\r\n return externalService.getValidExternalPageJWTToken(fragments.c, fragments.d);\r\n }\r\n }\r\n}\r\n\r\n/* @ngInject */\r\nfunction RunUiRouterTransitionAuthorization($translate, warningTitleKey, translateErrorKeys, $transitions, $state, userService, logger) {\r\n $transitions.onBefore({}, transition => {\r\n var inaccessibleStates = [\r\n 'alertDesk',\r\n 'dashboard.opportunities',\r\n 'dashboard.manager',\r\n 'search',\r\n //'conquests', for WEBUI-5904\r\n 'preOwnedManager',\r\n 'serviceManager',\r\n 'financeInsuranceManager',\r\n 'inventoryDashboard',\r\n 'preOwnedManagerFindABuyer',\r\n 'searchPresets',\r\n 'searchManagePresets'\r\n ];\r\n\r\n if (inaccessibleStates.indexOf(transition.to().name) > -1) {\r\n return userService.getUserProfile()\r\n .then(userProfile => {\r\n if (userProfile.isSltUser) {\r\n return $translate([warningTitleKey, translateErrorKeys.unauthorizedPageErrorKey])\r\n .then(translations => {\r\n logger.warning(translateErrorKeys.unauthorizedPageErrorKey, null, translations.warningTitle);\r\n\r\n return false;\r\n });\r\n }\r\n else {\r\n return true;\r\n }\r\n })\r\n }\r\n else {\r\n return true;\r\n }\r\n });\r\n}\r\n\r\n/* @ngInject */\r\nfunction RunPostMessageInit(\r\n $auth,\r\n $document,\r\n $logFactory,\r\n $state,\r\n $translate,\r\n $uibModal,\r\n announcementKey,\r\n authorizationService,\r\n dealSheetService,\r\n dealerService,\r\n eulaModalService,\r\n globalIframeService,\r\n legacyUrlMappings,\r\n logger,\r\n menu,\r\n menuService,\r\n storageService,\r\n tokenService,\r\n urlHelper,\r\n userService\r\n) {\r\n const $log = $logFactory.get('run');\r\n var impersonateModalInstance = null;\r\n\r\n // Reports send messages using window.postMessage()\r\n window.addEventListener('message', function (event) {\r\n $log.debug(\"received window message\", event.data);\r\n const data = safeParseJSON(event.data);\r\n\r\n if (data['DEAL_SHEET_FROM_REPORT']) {\r\n const url = data['DEAL_SHEET_FROM_REPORT'];\r\n dealSheetService.activeDealSheet = url + \"&snav=true\";\r\n const dealsheetId = urlHelper.queryString(url).e;\r\n if (authorizationService.isEuroLite()) {\r\n dealSheetService.openDealSheetLiteModal(null, dealsheetId);\r\n return;\r\n }\r\n dealSheetService.openDealSheetModal(dealsheetId, url);\r\n }\r\n\r\n function safeParseJSON(maybeJsonString) {\r\n if (typeof maybeJsonString != 'string') {\r\n return maybeJsonString;\r\n }\r\n try {\r\n return JSON.parse(maybeJsonString);\r\n } catch (e) {\r\n return maybeJsonString;\r\n }\r\n }\r\n });\r\n\r\n globalIframeService.subscribe(function ({ data }, replyPort) {\r\n if (data['GET_SSO_ID_TOKEN']) {\r\n if (!$auth.isAuthenticated() && $state.current.access != 'public') {\r\n $auth.signIn();\r\n }\r\n\r\n sendSSOToken(dealerService, tokenService, replyPort);\r\n var legacyReadyStatus = storageService.getItem('legacyReadyState');\r\n // the following block synchronizes default dealer moduleid settings with legacy\r\n if (!legacyReadyStatus) {\r\n var dealerIds = dealerService.getSelectedDealerIds();\r\n authorizationService.getModuleIds(dealerIds);\r\n storageService.setItem('legacyReadyState', 'ready');\r\n }\r\n }\r\n else if (data['DEAL_SHEET_URL']) {\r\n const url = data['DEAL_SHEET_URL'];\r\n dealSheetService.activeDealSheet = url + \"&snav=true\";\r\n const dealsheetId = urlHelper.queryString(url).e;\r\n if (authorizationService.isEuroLite()) {\r\n dealSheetService.openDealSheetLiteModal(null, dealsheetId);\r\n return;\r\n }\r\n dealSheetService.openDealSheetModal(dealsheetId, url);\r\n }\r\n else if (data['MANAGE_NOTIFICAION']) {\r\n const redirectUrl = window.location.origin + legacyUrlMappings['legacyNotification'];\r\n window.location.replace(redirectUrl);\r\n }\r\n else if (data['DEAL_SHEET_NEW_WINDOW']) {\r\n launchNewDealSheetTab(dealSheetService.activeDealSheet);\r\n }\r\n else if (data['SSOLANDING_AUTHENTICATED_REDIRECT']) {\r\n const redirectUrl = data['SSOLANDING_AUTHENTICATED_REDIRECT'];\r\n const moduleId = _.invert(legacyUrlMappings)[redirectUrl];\r\n\r\n let authorizedForThisModuleId = false;\r\n if (menuService.siteMap) {\r\n for (let topLevelMenu of menuService.siteMap) {\r\n if (topLevelMenu.id == moduleId) {\r\n authorizedForThisModuleId = true;\r\n break;\r\n }\r\n\r\n if (topLevelMenu.subMenuItems) {\r\n const subMenuHasModuleId = topLevelMenu.subMenuItems.some(mi => mi.id == moduleId);\r\n if (subMenuHasModuleId) {\r\n authorizedForThisModuleId = true;\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (!authorizedForThisModuleId) {\r\n // Find a state they are allowed to transition to\r\n menuService.getHomeRoute().then(homeRoute => {\r\n $state.go(homeRoute || 'home');\r\n });\r\n }\r\n }\r\n else if (data['SSOLANDING_FAILED']) {\r\n // This shouldn't happen but at least it prevents the user from getting stuck\r\n $log.warn(\"Received SSOLANDING_FAILED message from Classic\", data);\r\n menuService.getHomeRoute().then(homeRoute => {\r\n $state.go(homeRoute || 'home');\r\n });\r\n }\r\n else if (data['AUTOALERT_SESSION']) {\r\n // get asp.net\r\n // ASPXAUTH\r\n // ASP.NET_Sessionid\r\n var sessionObj = data['AUTOALERT_SESSION'];\r\n storageService.setItem('legacyA', sessionObj.a);\r\n storageService.setItem('legacyID', sessionObj.id);\r\n }\r\n else if (data['POST_LOGIN_REDIRECT_PORTAL_HOME']) {\r\n eulaModalService.validateEulaOnStart()\r\n .then(result => {\r\n showAnnouncement();\r\n menuService.redirectToUserHome();\r\n });\r\n\r\n }\r\n else if (data['PANDO_INTEGRATION_UNAUTHORIZED']) {\r\n //redirect to Marketing Splash Page\r\n const socialMenuItem = _.find(menu, { name: 'social' });\r\n const redirectUrl = socialMenuItem ? socialMenuItem.url : '/';\r\n window.location.replace(redirectUrl);\r\n }\r\n else if (data['PANDO_INTEGRATION_UNHANDLED_ERROR']) {\r\n logger.genericError('An unhandled error occurred inside the iframe');\r\n $state.go('home');\r\n }\r\n else if (data['AUTOALERT_IMPERSONATE_USER']) {\r\n var impersonateUsername = data['AUTOALERT_IMPERSONATE_USER'];\r\n var impersonatedFullName = data['AUTOALERT_IMPERSONATED_FULLNAME'];\r\n var impersonatingFullName = data['AUTOALERT_IMPERSONATING_FULLNAME'];\r\n\r\n userService.getUser(impersonateUsername).then(function (user) {\r\n if (user.userTypeID === 6) {\r\n $translate('impersonateUserNotAuthorizedMsg').then(function (impersonateUserNotAuthorizedMsg) {\r\n var resolve = {\r\n title: function () {\r\n return \"impersonateUserTitle\";\r\n },\r\n message: function () {\r\n return impersonateUserNotAuthorizedMsg;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n closeButtonText: function () {\r\n return 'close';\r\n }\r\n };\r\n showConfirmImpersonateModal($auth, null, resolve);\r\n });\r\n }\r\n else {\r\n $translate('impersonateUserMsg', { impersonatedUser: impersonatedFullName, impersonatingUser: impersonatingFullName }).then(function (impersonateUserMsg) {\r\n var resolve = {\r\n title: function () {\r\n return \"impersonateUserTitle\";\r\n },\r\n message: function () {\r\n return impersonateUserMsg;\r\n }\r\n };\r\n showConfirmImpersonateModal($auth, impersonateUsername, resolve);\r\n });\r\n }\r\n });\r\n }\r\n\r\n else if (data['LEGACY_PAGE_REDIRECT']) {\r\n var legeacyRedirect = data['LEGACY_PAGE_REDIRECT'];\r\n $state.go(legeacyRedirect.state, legeacyRedirect.params);\r\n }\r\n });\r\n\r\n function showConfirmImpersonateModal($auth, impersonateUsername, resolve) {\r\n\r\n if (impersonateModalInstance === 'confirmationModal')\r\n return;\r\n\r\n impersonateModalInstance = 'confirmationModal';\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: resolve\r\n });\r\n\r\n modal.result\r\n .then(function () {\r\n impersonateModalInstance = null;\r\n $auth.impersonate(\"/alert-desk\", impersonateUsername);\r\n }, function () {\r\n impersonateModalInstance = null;\r\n });\r\n }\r\n\r\n function showAnnouncement() {\r\n userService.getAnnouncementForUser()\r\n .then(showAnnouncementModal)\r\n\r\n function showAnnouncementModal(announcement) {\r\n if (announcement && announcement.message) {\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'announcementModal',\r\n resolve: {\r\n title: function () {\r\n return announcementKey;\r\n },\r\n message: function () {\r\n return announcement.message;\r\n },\r\n filePath: function () {\r\n return announcement.filePath;\r\n }\r\n }\r\n });\r\n\r\n userService.updateAnnouncementUserDisplay(announcement.id, false);\r\n\r\n modal.result.then(function (doNotDisplay) {\r\n if (doNotDisplay) {\r\n userService.updateAnnouncementUserDisplay(announcement.id, doNotDisplay);\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n function launchNewDealSheetTab(url) {\r\n url = url.replace('/AlertDesk/DealSheet/Show?', '/');\r\n var newwindowUrl = document.location.protocol + \"//\" + document.location.host + getPortalSubPath() + url;\r\n window.open(newwindowUrl, \"_blank\");\r\n }\r\n}\r\n\r\nfunction parseQueryString(queryString, hashString) {\r\n var data = {};\r\n\r\n if (queryString === null) {\r\n return data;\r\n }\r\n\r\n splitAndDecodeUrl(queryString, \"&\", data);\r\n splitAndDecodeUrl(hashString, \";\", data);\r\n\r\n return data;\r\n}\r\n\r\nfunction splitAndDecodeUrl(stringToSplitAndDecode, delimeter, objectToAddTo) {\r\n let pair, separatorIndex, escapedKey, escapedValue, key, value;\r\n let pairs = stringToSplitAndDecode.split(delimeter);\r\n\r\n for (var i = 0; i < pairs.length; i++) {\r\n pair = pairs[i];\r\n separatorIndex = pair.indexOf(\"=\");\r\n\r\n if (separatorIndex === -1) {\r\n escapedKey = pair;\r\n escapedValue = null;\r\n } else {\r\n escapedKey = pair.substr(0, separatorIndex);\r\n escapedValue = pair.substr(separatorIndex + 1);\r\n }\r\n\r\n key = decodeURIComponent(escapedKey);\r\n value = decodeURIComponent(escapedValue);\r\n\r\n if (key.substr(0, 1) === '/')\r\n key = key.substr(1);\r\n\r\n objectToAddTo[key] = value;\r\n }\r\n}\r\n\r\n/**\r\n * Begins downloading kendo-ui in the background. This is so it will\r\n * probably be loaded before the user actually clicks on the reports tab.\r\n * @see https://webpack.js.org/guides/code-splitting/#dynamic-imports\r\n */\r\nfunction lazyLoadKendo() {\r\n importKendo();\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('exception', exception);\r\n\r\n/* @ngInject */\r\nfunction exception(logger) {\r\n var service = {\r\n catcher: catcher\r\n };\r\n return service;\r\n\r\n function catcher(message) {\r\n return function (reason) {\r\n logger.genericError(message, reason);\r\n };\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').directive('compileTemplate', compileTemplateDirective);\r\n\r\n/* @ngInject */\r\nfunction compileTemplateDirective($compile, $parse) {\r\n return {\r\n link: function (scope, element, attr) {\r\n var parsed = $parse(attr.ngBindHtml);\r\n function getStringValue() {\r\n return (parsed(scope) || '').toString();\r\n }\r\n //Recompile if the template changes\r\n scope.$watch(getStringValue, function () {\r\n //The -9999 makes it skip directives so that we do not recompile ourselves\r\n $compile(element, null, -9999)(scope);\r\n });\r\n }\r\n }\r\n}\r\n","export const cultures = [\r\n {\r\n code: 'en-US',\r\n currencyPrecision: 2,\r\n currencySymbol: '$',\r\n currencySymbolBefore: true,\r\n percentSymbolBefore: false,\r\n },\r\n {\r\n code: 'en-CA',\r\n currencyPrecision: 2,\r\n currencySymbol: '$',\r\n currencySymbolBefore: true,\r\n percentSymbolBefore: false,\r\n },\r\n {\r\n code: 'en-GB',\r\n currencyPrecision: 2,\r\n currencySymbol: '£',\r\n currencySymbolBefore: true,\r\n percentSymbolBefore: false,\r\n },\r\n {\r\n code: 'fr-CA',\r\n currencyPrecision: 2,\r\n currencySymbol: '$',\r\n currencySymbolBefore: false,\r\n percentSymbolBefore: false,\r\n },\r\n {\r\n code: 'fr-FR',\r\n currencyPrecision: 2,\r\n currencySymbol: '€',\r\n currencySymbolBefore: false,\r\n percentSymbolBefore: false,\r\n },\r\n]\r\n\r\nexport function getCultureByCode(code) {\r\n code = (code || 'en-us').toLowerCase();\r\n return culturesByLowerCaseCode[code];\r\n}\r\n\r\nconst culturesByLowerCaseCode =\r\n toMap(cultures, c => c.code.toLowerCase())\r\n\r\nfunction toMap(arr, keySelector) {\r\n const obj = {};\r\n for (const value of arr) {\r\n const key = keySelector(value);\r\n obj[key] = value;\r\n }\r\n return obj;\r\n}\r\n","import \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.regexp.search\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.promise\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.function.name\";\nRunPostMessageInit.$inject = [\"$auth\", \"$document\", \"$logFactory\", \"$state\", \"$translate\", \"$uibModal\", \"announcementKey\", \"authorizationService\", \"dealSheetService\", \"dealerService\", \"eulaModalService\", \"globalIframeService\", \"legacyUrlMappings\", \"logger\", \"menu\", \"menuService\", \"storageService\", \"tokenService\", \"urlHelper\", \"userService\"];\nRunUiRouterTransitionAuthorization.$inject = [\"$translate\", \"warningTitleKey\", \"translateErrorKeys\", \"$transitions\", \"$state\", \"userService\", \"logger\"];\nRunUiRouterTransitionsInit.$inject = [\"_\", \"externalService\", \"$auth\", \"$location\", \"$state\", \"$transitions\", \"$rootScope\", \"menu\", \"oidc\", \"tokenService\", \"storageService\", \"loggedInDataInitializationService\"];\nRunUiRouterTransitionSpinner.$inject = [\"$transitions\", \"$rootScope\", \"$timeout\", \"$q\"];\nrunUserInit.$inject = [\"$auth\", \"$interval\", \"$rootScope\", \"notificationService\", \"tokenService\", \"loggedInDataInitializationService\"];\nRunInitMessageListener.$inject = [\"$state\", \"coreApi\", \"dealerService\", \"globalIframeService\"];\nRun.$inject = [\"$auth\", \"$http\", \"$location\", \"$rootScope\", \"$state\", \"$transitions\", \"$translate\", \"$translatePartialLoader\", \"$window\", \"externalService\", \"globalIframeService\", \"localePaths\", \"logger\", \"menu\", \"oidc\", \"storageService\"];\nimport $ from 'jquery';\nimport angular from 'angular';\nimport _ from 'lodash';\nimport { removeQuotes, resizeHeader, getPortalSubPath } from '../scripts/init';\nimport { silentRefreshFailed$, tokenMissing$, unauthorized$, externalLoggedIn$ } from '../modules/oidc-auth/events';\nimport { importKendo } from './report-routes.config';\nimport { getUrlComponents } from '../utilities/url';\nimport { appSettings } from './config.module';\nimport { sendSSOToken } from '../services/legacy.service';\nangular.module('AaApp.Opp').run(Run).run(RunInitMessageListener).run(RunUiRouterTransitionSpinner).run(RunUiRouterTransitionsInit).run(RunUiRouterTransitionAuthorization).run(RunPostMessageInit).run(runUserInit).run(lazyLoadKendo);\n/* @ngInject */\n\nfunction Run($auth, $http, $location, $rootScope, $state, $transitions, $translate, $translatePartialLoader, $window, externalService, globalIframeService, localePaths, logger, menu, oidc, storageService) {\n silentRefreshFailed$.subscribe(function () {\n $auth.signIn();\n });\n $rootScope.$on('$translatePartialLoaderStructureChanged', function () {\n var cultureName = storageService.getItem('cultureName');\n\n if (cultureName) {\n $translate.use(cultureName);\n }\n });\n $.Redactor.opts.$http = $http; // error text always needs to be initialized\n\n $translatePartialLoader.addPart(localePaths.error);\n localRedirectToOpportunitiesUrlInit();\n errorUnauthorizedInit();\n iframeBackwardsCompatibilityInit();\n\n function localRedirectToOpportunitiesUrlInit() {\n // handles the Portal URL -- redirects to itself (but with Opportunities.autoalert.com url)\n if (window.location.protocol + '//' + window.location.host != oidc.logoutUri && !(!$auth.isAuthenticated() && window.location.href.indexOf(\"external\") > -1)) {\n window.location.href = oidc.logoutUri;\n }\n }\n\n function errorUnauthorizedInit() {\n unauthorized$.subscribe(function (data) {\n if ($state.current.name == 'errorUnauthorized') {\n return;\n }\n\n if (data && data.response) {\n if (data.response === 'User is disabled') {\n $state.go('errorUnauthorized', {\n errorState: 'disabled'\n });\n } else if (data.response === 'User is locked') {\n $state.go('errorUnauthorized', {\n errorState: 'locked'\n });\n } else if (data.response === 'IP Address is not valid') {\n $state.go('errorUnauthorized', {\n errorState: 'invalidIPAddress'\n });\n }\n } else {\n $state.go('errorUnauthorized');\n }\n });\n }\n\n function iframeBackwardsCompatibilityInit() {\n $rootScope.$on('RUN_USER_INIT.REPOSITION_UI_VIEW', function () {\n repositionUiView();\n });\n\n $window.onresize = function () {\n repositionUiView(); //for iframe\n\n resizeHeader($state.$current, globalIframeService);\n };\n\n $transitions.onSuccess({}, function () {\n angular.element(\"#header-app\").width('100%');\n repositionUiView();\n });\n $transitions.onEnter({}, function () {\n repositionUiView();\n });\n\n function repositionUiView() {\n // todo: remove if condition when iframes are removed\n if (angular.element('#aa-app')[0] && (!angular.element('#autoalertiframe').length || angular.element('#autoalertiframe')[0].className.indexOf('hidden-iframe'))) {\n // to have the ui-view right below the header.\n // needed as long as we want the header to be always fixed to top of page\n var headerHeight = angular.element('#aa-app')[0].offsetHeight;\n angular.element(\"#ui-view\").css({\n 'margin-top': headerHeight + 'px'\n }); // for iframe\n\n angular.element('#aa-app')[0].removeAttribute('style');\n }\n }\n }\n}\n\nfunction RunInitMessageListener($state, coreApi, dealerService, globalIframeService) {\n \"ngInject\";\n\n globalIframeService.subscribe(handleMessage);\n resizeHeader($state.$current, globalIframeService);\n\n function handleMessage(_ref, replyPort) {\n var data = _ref.data;\n var state = $state.current;\n\n if (data['IFRAME_SIZE_H']) {\n resizeHeader($state.$current, replyPort);\n } else if (data['IFRAME_SCROLL_TOP'] != null) {\n resizeHeader($state.$current, replyPort);\n } else if (data['GET_DEALER_IDS']) {\n // AA requesting dealer-ids\n sendDealerIds();\n } else if (data['SECURITY_LOGIN']) {\n window.location.replace('/');\n } else if (data['DEAL_SHEET_CLOSE']) {\n // this is called from legacy popup deal sheet not the angular deal sheet.\n replyPort.postMessage({\n 'task': 'opportunity_refresh'\n });\n }\n\n function sendDealerIds() {\n var dealerIds = dealerService.getSelectedDealerIds();\n replyPort.postMessage({\n 'task': 'change_dealer',\n 'dealer_ids': dealerIds\n });\n }\n }\n}\n/* @ngInject */\n\n\nfunction runUserInit($auth, $interval, $rootScope, notificationService, tokenService, loggedInDataInitializationService) {\n if ($auth.isAuthenticated()) {\n $interval(checkToken, 3000);\n\n if (tokenService.isAutoAlertUser()) {\n //for testing/debugging //todo: use environment variable...\n var accessToken = tokenService.getTokenByType('access');\n\n if (accessToken) {\n notificationService.connect();\n loggedInDataInitializationService.initializeData().then(getUserProfileComplete);\n }\n }\n } else {// storageService.clear();\n }\n\n function checkToken() {\n var impersonating = tokenService.getImpersonatingUsername();\n\n if (impersonating) {\n if (!tokenService.hasValidToken()) {\n $auth.signOut();\n }\n } else {\n $auth.validateExpirity();\n }\n }\n\n function getUserProfileComplete() {\n // we now have BehaviorSubject('SITE_MAP_READY') in menu.service that will replace this broadcast when \n // all components listening for this are converted.\n $rootScope.$broadcast('RUN_USER_INIT.SITE_MAP_READY');\n }\n}\n/**\r\n * Adds event listeners that add/remove a spinner so the user knows\r\n * long-running transitions are in progress.\r\n */\n\n\nfunction RunUiRouterTransitionSpinner($transitions, $rootScope, $timeout, $q) {\n \"ngInject\";\n\n var transitionsInProgressCount = 0;\n $transitions.onStart({}, function (trans) {\n var alreadyCompleted = false;\n transitionsInProgressCount += 1;\n $timeout(function () {\n if (!alreadyCompleted && transitionsInProgressCount) {\n $rootScope.globalBusyPromise = $q.defer();\n }\n }, 100);\n trans.promise.then(done, done);\n\n function done() {\n alreadyCompleted = true;\n transitionsInProgressCount -= 1;\n\n if (transitionsInProgressCount == 0) {\n $rootScope.globalBusyPromise = null;\n }\n }\n });\n}\n/* @ngInject */\n\n\nfunction RunUiRouterTransitionsInit(_, externalService, $auth, $location, $state, $transitions, $rootScope, menu, oidc, tokenService, storageService, loggedInDataInitializationService) {\n tokenMissing$.subscribe(function () {\n // We make some API calls no matter what (like LoggedInUser,\n // DealerSearch, UserModuleAccess, etc.). If we're on a page that\n // doesn't require the user to be signed in, then we must ensure we\n // don't forward to SSO.\n if (isOnExternalDealSheetRoute()) return;\n if ($state.current.access == 'public') return;\n saveReferrerAndSignIn();\n });\n $transitions.onBefore({}, function (trans) {\n if (trans.from().name === 'errorUnauthorized' && trans.to().name !== 'errorUnauthorized') {\n return trans.router.stateService.target('errorUnauthorized');\n }\n\n if (trans.to().name === 'loginRedirectToSSO') {\n return;\n }\n\n var isProcessingAuthCallback = $location.path().indexOf('/auth/callback') > -1;\n var referrerHost = storageService.getItem('referrerHost');\n var portalHost = getUrlComponents(oidc.portalUrl).hostname;\n\n if (trans.to().access !== 'public' && !isProcessingAuthCallback && !$auth.isAuthenticated()) {\n if (isOnExternalDealSheetRoute()) {\n var url = $location.url();\n getExternalPageJWT().then(function (tokenResponse) {\n if (tokenResponse.nonCrmToken) {\n var isExternalToken = true;\n tokenService.saveToken('access', tokenResponse.data, isExternalToken);\n return loggedInDataInitializationService.initializeData();\n }\n\n $auth.signIn(url, tokenResponse.data);\n return Promise.resolve();\n }).catch(function (e) {\n $auth.signIn();\n return Promise.resolve();\n });\n } else {\n saveReferrerAndSignIn();\n }\n } else if ($auth.isAuthenticated() && referrerHost == portalHost && !tokenService.isAutoAlertUser() && tokenService.isMotoFuzeUser()) {\n // User is only a Motofuze user, so we just send them to Social\n var socialMenuItem = _.find(menu, {\n name: 'social'\n });\n\n var redirectUrl = socialMenuItem ? socialMenuItem.url : '/';\n window.location.replace(redirectUrl);\n return trans.router.stateService.target('loginRedirectToSSO');\n } else if ($auth.isAuthenticated()) {\n if (trans.to().access !== 'public') {\n var hasValidToken = tokenService.hasValidToken();\n var isAutoAlertUser = tokenService.isAutoAlertUser();\n\n if (hasValidToken && !isAutoAlertUser) {\n return trans.router.stateService.target('errorUnauthorized');\n }\n }\n }\n }); //there is also a $transitions.onSuccess in iframeBackwardsCompatibilityInit section below. Grouped there with other similar components.\n\n function saveReferrerAndSignIn() {\n //only if the referrer is not the SSO server, set the referrerOrigin\n // referrerOrigin is used after a successful login with SSO to navigate to page user was originally trying to go to\n var oidcOrigin = getUrlComponents(oidc.basePath).origin;\n var referrerOrigin = getUrlComponents(document.referrer).origin;\n\n if (referrerOrigin != oidcOrigin) {\n storageService.setItem('referrerUrl', referrerOrigin);\n }\n\n $auth.signIn();\n }\n\n function isOnExternalDealSheetRoute() {\n return $location.path().indexOf('external') > -1;\n }\n\n function getExternalPageJWT() {\n var queryString = window.location.search.substring(1);\n var hashString = window.location.hash.substring(1);\n var fragments = {};\n fragments = parseQueryString(queryString, hashString);\n\n if (fragments.t && fragments.pg) {\n return Promise.resolve({\n data: fragments.t,\n nonCrmToken: true\n });\n } else if (fragments.e && fragments.v) {\n return externalService.getValidExternalDealsheetJWTToken(fragments.e, fragments.v, fragments.c, fragments.d);\n } else if (fragments.pg) {\n return externalService.getValidExternalPageJWTToken(fragments.c, fragments.d);\n }\n }\n}\n/* @ngInject */\n\n\nfunction RunUiRouterTransitionAuthorization($translate, warningTitleKey, translateErrorKeys, $transitions, $state, userService, logger) {\n $transitions.onBefore({}, function (transition) {\n var inaccessibleStates = ['alertDesk', 'dashboard.opportunities', 'dashboard.manager', 'search', //'conquests', for WEBUI-5904\n 'preOwnedManager', 'serviceManager', 'financeInsuranceManager', 'inventoryDashboard', 'preOwnedManagerFindABuyer', 'searchPresets', 'searchManagePresets'];\n\n if (inaccessibleStates.indexOf(transition.to().name) > -1) {\n return userService.getUserProfile().then(function (userProfile) {\n if (userProfile.isSltUser) {\n return $translate([warningTitleKey, translateErrorKeys.unauthorizedPageErrorKey]).then(function (translations) {\n logger.warning(translateErrorKeys.unauthorizedPageErrorKey, null, translations.warningTitle);\n return false;\n });\n } else {\n return true;\n }\n });\n } else {\n return true;\n }\n });\n}\n/* @ngInject */\n\n\nfunction RunPostMessageInit($auth, $document, $logFactory, $state, $translate, $uibModal, announcementKey, authorizationService, dealSheetService, dealerService, eulaModalService, globalIframeService, legacyUrlMappings, logger, menu, menuService, storageService, tokenService, urlHelper, userService) {\n var $log = $logFactory.get('run');\n var impersonateModalInstance = null; // Reports send messages using window.postMessage()\n\n window.addEventListener('message', function (event) {\n $log.debug(\"received window message\", event.data);\n var data = safeParseJSON(event.data);\n\n if (data['DEAL_SHEET_FROM_REPORT']) {\n var url = data['DEAL_SHEET_FROM_REPORT'];\n dealSheetService.activeDealSheet = url + \"&snav=true\";\n var dealsheetId = urlHelper.queryString(url).e;\n\n if (authorizationService.isEuroLite()) {\n dealSheetService.openDealSheetLiteModal(null, dealsheetId);\n return;\n }\n\n dealSheetService.openDealSheetModal(dealsheetId, url);\n }\n\n function safeParseJSON(maybeJsonString) {\n if (typeof maybeJsonString != 'string') {\n return maybeJsonString;\n }\n\n try {\n return JSON.parse(maybeJsonString);\n } catch (e) {\n return maybeJsonString;\n }\n }\n });\n globalIframeService.subscribe(function (_ref2, replyPort) {\n var data = _ref2.data;\n\n if (data['GET_SSO_ID_TOKEN']) {\n if (!$auth.isAuthenticated() && $state.current.access != 'public') {\n $auth.signIn();\n }\n\n sendSSOToken(dealerService, tokenService, replyPort);\n var legacyReadyStatus = storageService.getItem('legacyReadyState'); // the following block synchronizes default dealer moduleid settings with legacy\n\n if (!legacyReadyStatus) {\n var dealerIds = dealerService.getSelectedDealerIds();\n authorizationService.getModuleIds(dealerIds);\n storageService.setItem('legacyReadyState', 'ready');\n }\n } else if (data['DEAL_SHEET_URL']) {\n var url = data['DEAL_SHEET_URL'];\n dealSheetService.activeDealSheet = url + \"&snav=true\";\n var dealsheetId = urlHelper.queryString(url).e;\n\n if (authorizationService.isEuroLite()) {\n dealSheetService.openDealSheetLiteModal(null, dealsheetId);\n return;\n }\n\n dealSheetService.openDealSheetModal(dealsheetId, url);\n } else if (data['MANAGE_NOTIFICAION']) {\n var redirectUrl = window.location.origin + legacyUrlMappings['legacyNotification'];\n window.location.replace(redirectUrl);\n } else if (data['DEAL_SHEET_NEW_WINDOW']) {\n launchNewDealSheetTab(dealSheetService.activeDealSheet);\n } else if (data['SSOLANDING_AUTHENTICATED_REDIRECT']) {\n (function () {\n var redirectUrl = data['SSOLANDING_AUTHENTICATED_REDIRECT'];\n\n var moduleId = _.invert(legacyUrlMappings)[redirectUrl];\n\n var authorizedForThisModuleId = false;\n\n if (menuService.siteMap) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = menuService.siteMap[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var topLevelMenu = _step.value;\n\n if (topLevelMenu.id == moduleId) {\n authorizedForThisModuleId = true;\n break;\n }\n\n if (topLevelMenu.subMenuItems) {\n var subMenuHasModuleId = topLevelMenu.subMenuItems.some(function (mi) {\n return mi.id == moduleId;\n });\n\n if (subMenuHasModuleId) {\n authorizedForThisModuleId = true;\n break;\n }\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n\n if (!authorizedForThisModuleId) {\n // Find a state they are allowed to transition to\n menuService.getHomeRoute().then(function (homeRoute) {\n $state.go(homeRoute || 'home');\n });\n }\n })();\n } else if (data['SSOLANDING_FAILED']) {\n // This shouldn't happen but at least it prevents the user from getting stuck\n $log.warn(\"Received SSOLANDING_FAILED message from Classic\", data);\n menuService.getHomeRoute().then(function (homeRoute) {\n $state.go(homeRoute || 'home');\n });\n } else if (data['AUTOALERT_SESSION']) {\n // get asp.net\n // ASPXAUTH\n // ASP.NET_Sessionid\n var sessionObj = data['AUTOALERT_SESSION'];\n storageService.setItem('legacyA', sessionObj.a);\n storageService.setItem('legacyID', sessionObj.id);\n } else if (data['POST_LOGIN_REDIRECT_PORTAL_HOME']) {\n eulaModalService.validateEulaOnStart().then(function (result) {\n showAnnouncement();\n menuService.redirectToUserHome();\n });\n } else if (data['PANDO_INTEGRATION_UNAUTHORIZED']) {\n //redirect to Marketing Splash Page\n var socialMenuItem = _.find(menu, {\n name: 'social'\n });\n\n var _redirectUrl = socialMenuItem ? socialMenuItem.url : '/';\n\n window.location.replace(_redirectUrl);\n } else if (data['PANDO_INTEGRATION_UNHANDLED_ERROR']) {\n logger.genericError('An unhandled error occurred inside the iframe');\n $state.go('home');\n } else if (data['AUTOALERT_IMPERSONATE_USER']) {\n var impersonateUsername = data['AUTOALERT_IMPERSONATE_USER'];\n var impersonatedFullName = data['AUTOALERT_IMPERSONATED_FULLNAME'];\n var impersonatingFullName = data['AUTOALERT_IMPERSONATING_FULLNAME'];\n userService.getUser(impersonateUsername).then(function (user) {\n if (user.userTypeID === 6) {\n $translate('impersonateUserNotAuthorizedMsg').then(function (impersonateUserNotAuthorizedMsg) {\n var resolve = {\n title: function title() {\n return \"impersonateUserTitle\";\n },\n message: function message() {\n return impersonateUserNotAuthorizedMsg;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n closeButtonText: function closeButtonText() {\n return 'close';\n }\n };\n showConfirmImpersonateModal($auth, null, resolve);\n });\n } else {\n $translate('impersonateUserMsg', {\n impersonatedUser: impersonatedFullName,\n impersonatingUser: impersonatingFullName\n }).then(function (impersonateUserMsg) {\n var resolve = {\n title: function title() {\n return \"impersonateUserTitle\";\n },\n message: function message() {\n return impersonateUserMsg;\n }\n };\n showConfirmImpersonateModal($auth, impersonateUsername, resolve);\n });\n }\n });\n } else if (data['LEGACY_PAGE_REDIRECT']) {\n var legeacyRedirect = data['LEGACY_PAGE_REDIRECT'];\n $state.go(legeacyRedirect.state, legeacyRedirect.params);\n }\n });\n\n function showConfirmImpersonateModal($auth, impersonateUsername, resolve) {\n if (impersonateModalInstance === 'confirmationModal') return;\n impersonateModalInstance = 'confirmationModal';\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: resolve\n });\n modal.result.then(function () {\n impersonateModalInstance = null;\n $auth.impersonate(\"/alert-desk\", impersonateUsername);\n }, function () {\n impersonateModalInstance = null;\n });\n }\n\n function showAnnouncement() {\n userService.getAnnouncementForUser().then(showAnnouncementModal);\n\n function showAnnouncementModal(announcement) {\n if (announcement && announcement.message) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'announcementModal',\n resolve: {\n title: function title() {\n return announcementKey;\n },\n message: function message() {\n return announcement.message;\n },\n filePath: function filePath() {\n return announcement.filePath;\n }\n }\n });\n userService.updateAnnouncementUserDisplay(announcement.id, false);\n modal.result.then(function (doNotDisplay) {\n if (doNotDisplay) {\n userService.updateAnnouncementUserDisplay(announcement.id, doNotDisplay);\n }\n });\n }\n }\n }\n\n function launchNewDealSheetTab(url) {\n url = url.replace('/AlertDesk/DealSheet/Show?', '/');\n var newwindowUrl = document.location.protocol + \"//\" + document.location.host + getPortalSubPath() + url;\n window.open(newwindowUrl, \"_blank\");\n }\n}\n\nfunction parseQueryString(queryString, hashString) {\n var data = {};\n\n if (queryString === null) {\n return data;\n }\n\n splitAndDecodeUrl(queryString, \"&\", data);\n splitAndDecodeUrl(hashString, \";\", data);\n return data;\n}\n\nfunction splitAndDecodeUrl(stringToSplitAndDecode, delimeter, objectToAddTo) {\n var pair, separatorIndex, escapedKey, escapedValue, key, value;\n var pairs = stringToSplitAndDecode.split(delimeter);\n\n for (var i = 0; i < pairs.length; i++) {\n pair = pairs[i];\n separatorIndex = pair.indexOf(\"=\");\n\n if (separatorIndex === -1) {\n escapedKey = pair;\n escapedValue = null;\n } else {\n escapedKey = pair.substr(0, separatorIndex);\n escapedValue = pair.substr(separatorIndex + 1);\n }\n\n key = decodeURIComponent(escapedKey);\n value = decodeURIComponent(escapedValue);\n if (key.substr(0, 1) === '/') key = key.substr(1);\n objectToAddTo[key] = value;\n }\n}\n/**\r\n * Begins downloading kendo-ui in the background. This is so it will\r\n * probably be loaded before the user actually clicks on the reports tab.\r\n * @see https://webpack.js.org/guides/code-splitting/#dynamic-imports\r\n */\n\n\nfunction lazyLoadKendo() {\n importKendo();\n}","exception.$inject = [\"logger\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('exception', exception);\n/* @ngInject */\n\nfunction exception(logger) {\n var service = {\n catcher: catcher\n };\n return service;\n\n function catcher(message) {\n return function (reason) {\n logger.genericError(message, reason);\n };\n }\n}","import \"core-js/modules/es6.regexp.to-string\";\ncompileTemplateDirective.$inject = [\"$compile\", \"$parse\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').directive('compileTemplate', compileTemplateDirective);\n/* @ngInject */\n\nfunction compileTemplateDirective($compile, $parse) {\n return {\n link: function link(scope, element, attr) {\n var parsed = $parse(attr.ngBindHtml);\n\n function getStringValue() {\n return (parsed(scope) || '').toString();\n } //Recompile if the template changes\n\n\n scope.$watch(getStringValue, function () {\n //The -9999 makes it skip directives so that we do not recompile ourselves\n $compile(element, null, -9999)(scope);\n });\n }\n };\n}","/**\r\n * Rounds a number to the specified precision\r\n * From: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round\r\n */\r\nexport function roundWithPrecision(number, precision) {\r\n const shiftedToInteger = shift(number, precision, false);\r\n const roundedInteger = Math.round(shiftedToInteger);\r\n const unshiftedToFloat = shift(roundedInteger, precision, true);\r\n return unshiftedToFloat;\r\n\r\n function shift(number, precision, reverseShift) {\r\n if (reverseShift) {\r\n precision = -precision;\r\n }\r\n var numArray = (\"\" + number).split(\"e\");\r\n return +(numArray[0] + \"e\" + (numArray[1] ? (+numArray[1] + precision) : precision));\r\n }\r\n}","import angular from 'angular';\r\nimport $ from 'jquery';\r\nimport { roundWithPrecision } from '../utilities/math';\r\n\r\nconst NumberLinkFunction = makeNumberLinkFunction({ precision: 0 })\r\n\r\nangular.module('AaApp.Opp').directive('numberInput', function () {\r\n return {\r\n restrict: 'A',\r\n require: 'ngModel',\r\n scope: {\r\n ngModel: '=',\r\n precision: '<',\r\n addonText: '<',\r\n addonTextWidth: '<',\r\n },\r\n link: NumberLinkFunction,\r\n }\r\n})\r\n\r\nexport function makeNumberLinkFunction(options) {\r\n return function NumberInputLink($scope, $element, $attributes, $ngModelCtrl) {\r\n if (!$element.is('input'))\r\n return;\r\n\r\n if ($scope.addonText) {\r\n wrapElementInInputGroup($element);\r\n const addon = $(`${$scope.addonText}`);\r\n if ($scope.addonTextWidth) {\r\n addon.css('width', $scope.addonTextWidth);\r\n }\r\n $element.after(addon);\r\n } else {\r\n wrapElement($element, '
');\r\n }\r\n\r\n $element.addClass('form-control')\r\n\r\n $ngModelCtrl.$parsers = [function ($viewValue) {\r\n if ($viewValue == null || $viewValue == \"\")\r\n return null;\r\n\r\n if (typeof $viewValue == 'string') {\r\n // Remove everything except digits and decimal separators\r\n $viewValue = $viewValue.replace(/[^\\d.,]*/g, \"\");\r\n }\r\n\r\n const precision = getPrecision(options, $scope);\r\n const rounded = roundWithPrecision($viewValue, precision);\r\n if (rounded != null && !isNaN(rounded)) {\r\n return rounded;\r\n } else {\r\n return null;\r\n }\r\n }];\r\n\r\n // Ensures class=\"ng-invalid\" is added appropriately\r\n $ngModelCtrl.$validators.isNumber = function (modelValue, viewValue) {\r\n return typeof modelValue == 'number'\r\n && !isNaN(modelValue);\r\n }\r\n\r\n $element.on('change', function () {\r\n // If the user entered an invalid value, the input element retains\r\n // the invalid value. This resets the input element so it contains\r\n // the current $modelValue.\r\n\r\n let newViewValue;\r\n if (typeof $ngModelCtrl.$modelValue == 'number') {\r\n // Cannot use grouping because having the group separator\r\n // character (usually comma) in the number fails when we try to\r\n // parse it.\r\n const formatter = new Intl.NumberFormat(undefined, { useGrouping: false });\r\n newViewValue = formatter.format($ngModelCtrl.$modelValue);\r\n } else {\r\n newViewValue = $ngModelCtrl.$modelValue;\r\n }\r\n\r\n $ngModelCtrl.$setViewValue(newViewValue);\r\n $ngModelCtrl.$render();\r\n })\r\n }\r\n}\r\n\r\nfunction getPrecision(options, $scope) {\r\n if ($scope.precision != null) {\r\n return $scope.precision;\r\n } else {\r\n return options.precision || 0;\r\n }\r\n}\r\n\r\nexport function wrapElementInInputGroup($element) {\r\n return wrapElement($element, '
');\r\n}\r\n\r\nfunction wrapElement($element, spec) {\r\n if ($element.length != 1)\r\n throw new Error(\"Only one element to wrap is supported\");\r\n\r\n $element.wrap(spec);\r\n const $wrapper = $element.parent();\r\n\r\n const classList = Array.from($element[0].classList);\r\n for (const className of classList) {\r\n if (className.startsWith('col-')) {\r\n $element.removeClass(className);\r\n $wrapper.addClass(className);\r\n }\r\n }\r\n\r\n return $wrapper;\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').directive('disableClick', disableClickDirective);\r\n\r\n/* @ngInject */\r\nfunction disableClickDirective($parse, $rootScope) {\r\n return {\r\n priority: 100,\r\n restrict: 'A',\r\n compile: function($element, attr) {\r\n var fn = $parse(attr.disableClick);\r\n return {\r\n pre: function link(scope, element) {\r\n var eventName = 'click';\r\n element.on(eventName, function(event) {\r\n var callback = function() {\r\n if (fn(scope, {$event: event})) {\r\n event.stopImmediatePropagation();\r\n event.preventDefault();\r\n return false;\r\n }\r\n };\r\n if ($rootScope.$$phase) {\r\n scope.$evalAsync(callback);\r\n } else {\r\n scope.$apply(callback);\r\n }\r\n });\r\n },\r\n post: function() {}\r\n }\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').directive('minDate', minDateDirective);\r\n\r\n/* @ngInject */\r\nfunction minDateDirective(storageService, cultures) {\r\n return {\r\n require: 'ngModel',\r\n link: function (scope, elm, attrs, ctrl) {\r\n var validateDateRange = function (input) {\r\n var minDate = attrs.minDate.replace('\"', '').replace('\"', '');\r\n var isValidInput = isValidDate(input);\r\n var isValidMinDate = isValidDate(minDate);\r\n\r\n if (!isValidInput || !isValidMinDate) {\r\n ctrl.$setValidity('minDate', false);\r\n }\r\n else {\r\n var inputDate;\r\n\r\n if (Object.prototype.toString.call(input) === '[object Date]') {\r\n inputDate = input;\r\n }\r\n else {\r\n inputDate = createDateFromString(input);\r\n }\r\n\r\n minDate = new Date(minDate);\r\n\r\n inputDate.setHours(0, 0, 0, 0);\r\n minDate.setHours(0, 0, 0, 0);\r\n\r\n if (inputDate < minDate) {\r\n ctrl.$setValidity('minDate', false);\r\n }\r\n else {\r\n ctrl.$setValidity('minDate', true);\r\n }\r\n }\r\n\r\n return input;\r\n };\r\n\r\n ctrl.$parsers.unshift(validateDateRange);\r\n ctrl.$formatters.push(validateDateRange);\r\n\r\n attrs.$observe('minDate', function () {\r\n validateDateRange(ctrl.$viewValue);\r\n });\r\n }\r\n };\r\n\r\n function isValidDate(dateStr) {\r\n if (dateStr == undefined)\r\n return false;\r\n\r\n if (Object.prototype.toString.call(new Date(dateStr)) !== '[object Date]') {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n function createDateFromString(dateString) {\r\n const culture = storageService.getItem('cultureName');\r\n let dateParts;\r\n\r\n switch (culture) {\r\n case cultures.enCA:\r\n dateParts = dateString.split('/');\r\n return new Date(dateParts[2], dateParts[1] - 1, dateParts[0]);\r\n case cultures.frCA:\r\n dateParts = dateString.split('-');\r\n return new Date(dateParts[0], dateParts[1] - 1, dateParts[2]);\r\n case cultures.enUS:\r\n default:\r\n dateParts = dateString.split('/');\r\n return new Date(dateParts[2], dateParts[0] - 1, dateParts[1]);\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').directive('maxDate', maxDateDirective);\r\n\r\n/* @ngInject */\r\nfunction maxDateDirective(storageService, cultures) {\r\n return {\r\n require: 'ngModel',\r\n link: function (scope, elm, attrs, ctrl) {\r\n var validateMinDate = function (input) {\r\n var maxDate = attrs.maxDate.replace('\"', '').replace('\"', '');\r\n var isValidInput = isValidDate(input);\r\n var isValidMaxDate = isValidDate(maxDate);\r\n\r\n if (!isValidInput || !isValidMaxDate) {\r\n ctrl.$setValidity('maxDate', false);\r\n }\r\n else {\r\n var inputDate;\r\n\r\n if (Object.prototype.toString.call(input) === '[object Date]') {\r\n inputDate = input;\r\n }\r\n else {\r\n inputDate = createDateFromString(input);\r\n }\r\n\r\n maxDate = new Date(maxDate);\r\n\r\n inputDate.setHours(0, 0, 0, 0);\r\n maxDate.setHours(0, 0, 0, 0);\r\n\r\n if (inputDate > maxDate) {\r\n ctrl.$setValidity('maxDate', false);\r\n }\r\n else {\r\n ctrl.$setValidity('maxDate', true);\r\n }\r\n }\r\n\r\n return input;\r\n };\r\n\r\n ctrl.$parsers.unshift(validateMinDate);\r\n ctrl.$formatters.push(validateMinDate);\r\n\r\n attrs.$observe('maxDate', function () {\r\n validateMinDate(ctrl.$viewValue);\r\n });\r\n }\r\n };\r\n\r\n function isValidDate(dateStr) {\r\n if (dateStr == undefined)\r\n return false;\r\n\r\n if (Object.prototype.toString.call(new Date(dateStr)) !== '[object Date]') {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n function createDateFromString(dateString) {\r\n const culture = storageService.getItem('cultureName');\r\n let dateParts;\r\n\r\n switch (culture) {\r\n case cultures.enCA:\r\n dateParts = dateString.split('/');\r\n return new Date(dateParts[2], dateParts[1] - 1, dateParts[0]);\r\n case cultures.frCA:\r\n dateParts = dateString.split('-');\r\n return new Date(dateParts[0], dateParts[1] - 1, dateParts[2]);\r\n case cultures.enUS:\r\n default:\r\n dateParts = dateString.split('/');\r\n return new Date(dateParts[2], dateParts[0] - 1, dateParts[1]);\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\nimport { roundWithPrecision } from '../utilities/math';\r\nimport { getCultureByCode } from '../utilities/culture';\r\nimport { makeNumberLinkFunction, wrapElementInInputGroup } from './number-input.directive';\r\n\r\nangular.module('AaApp.Opp').directive('currencyInput', function (storageService) {\r\n \"ngInject\";\r\n\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n const culture = getCultureByCode(cultureName);\r\n\r\n const currencyPrecision = culture.currencyPrecision;\r\n const currencySymbol = culture.currencySymbol;\r\n\r\n const NumberLinkFunction = makeNumberLinkFunction({ precision: currencyPrecision })\r\n\r\n return {\r\n restrict: 'A',\r\n require: 'ngModel',\r\n scope: {\r\n ngModel: '=',\r\n precision: '<',\r\n addonText: '<',\r\n },\r\n link: function CurrencyInputLinkFunction($scope, $element, $attributes, $ngModelCtrl) {\r\n if (!$scope.addonText) {\r\n $scope.addonText = currencySymbol;\r\n }\r\n\r\n NumberLinkFunction($scope, $element, $attributes, $ngModelCtrl);\r\n },\r\n }\r\n})\r\n","disableClickDirective.$inject = [\"$parse\", \"$rootScope\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').directive('disableClick', disableClickDirective);\n/* @ngInject */\n\nfunction disableClickDirective($parse, $rootScope) {\n return {\n priority: 100,\n restrict: 'A',\n compile: function compile($element, attr) {\n var fn = $parse(attr.disableClick);\n return {\n pre: function link(scope, element) {\n var eventName = 'click';\n element.on(eventName, function (event) {\n var callback = function callback() {\n if (fn(scope, {\n $event: event\n })) {\n event.stopImmediatePropagation();\n event.preventDefault();\n return false;\n }\n };\n\n if ($rootScope.$$phase) {\n scope.$evalAsync(callback);\n } else {\n scope.$apply(callback);\n }\n });\n },\n post: function post() {}\n };\n }\n };\n}","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').directive('fallbackSrc', function () {\r\n var fallbackSrc = {\r\n link: function postLink(scope, iElement, iAttrs) {\r\n iElement.bind('error', function () {\r\n angular.element(this).attr(\"src\", iAttrs.fallbackSrc);\r\n });\r\n }\r\n }\r\n return fallbackSrc;\r\n});\r\n","import \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.regexp.replace\";\nminDateDirective.$inject = [\"storageService\", \"cultures\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').directive('minDate', minDateDirective);\n/* @ngInject */\n\nfunction minDateDirective(storageService, cultures) {\n return {\n require: 'ngModel',\n link: function link(scope, elm, attrs, ctrl) {\n var validateDateRange = function validateDateRange(input) {\n var minDate = attrs.minDate.replace('\"', '').replace('\"', '');\n var isValidInput = isValidDate(input);\n var isValidMinDate = isValidDate(minDate);\n\n if (!isValidInput || !isValidMinDate) {\n ctrl.$setValidity('minDate', false);\n } else {\n var inputDate;\n\n if (Object.prototype.toString.call(input) === '[object Date]') {\n inputDate = input;\n } else {\n inputDate = createDateFromString(input);\n }\n\n minDate = new Date(minDate);\n inputDate.setHours(0, 0, 0, 0);\n minDate.setHours(0, 0, 0, 0);\n\n if (inputDate < minDate) {\n ctrl.$setValidity('minDate', false);\n } else {\n ctrl.$setValidity('minDate', true);\n }\n }\n\n return input;\n };\n\n ctrl.$parsers.unshift(validateDateRange);\n ctrl.$formatters.push(validateDateRange);\n attrs.$observe('minDate', function () {\n validateDateRange(ctrl.$viewValue);\n });\n }\n };\n\n function isValidDate(dateStr) {\n if (dateStr == undefined) return false;\n\n if (Object.prototype.toString.call(new Date(dateStr)) !== '[object Date]') {\n return false;\n }\n\n return true;\n }\n\n function createDateFromString(dateString) {\n var culture = storageService.getItem('cultureName');\n var dateParts;\n\n switch (culture) {\n case cultures.enCA:\n dateParts = dateString.split('/');\n return new Date(dateParts[2], dateParts[1] - 1, dateParts[0]);\n\n case cultures.frCA:\n dateParts = dateString.split('-');\n return new Date(dateParts[0], dateParts[1] - 1, dateParts[2]);\n\n case cultures.enUS:\n default:\n dateParts = dateString.split('/');\n return new Date(dateParts[2], dateParts[0] - 1, dateParts[1]);\n }\n }\n}","import \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.regexp.replace\";\nmaxDateDirective.$inject = [\"storageService\", \"cultures\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').directive('maxDate', maxDateDirective);\n/* @ngInject */\n\nfunction maxDateDirective(storageService, cultures) {\n return {\n require: 'ngModel',\n link: function link(scope, elm, attrs, ctrl) {\n var validateMinDate = function validateMinDate(input) {\n var maxDate = attrs.maxDate.replace('\"', '').replace('\"', '');\n var isValidInput = isValidDate(input);\n var isValidMaxDate = isValidDate(maxDate);\n\n if (!isValidInput || !isValidMaxDate) {\n ctrl.$setValidity('maxDate', false);\n } else {\n var inputDate;\n\n if (Object.prototype.toString.call(input) === '[object Date]') {\n inputDate = input;\n } else {\n inputDate = createDateFromString(input);\n }\n\n maxDate = new Date(maxDate);\n inputDate.setHours(0, 0, 0, 0);\n maxDate.setHours(0, 0, 0, 0);\n\n if (inputDate > maxDate) {\n ctrl.$setValidity('maxDate', false);\n } else {\n ctrl.$setValidity('maxDate', true);\n }\n }\n\n return input;\n };\n\n ctrl.$parsers.unshift(validateMinDate);\n ctrl.$formatters.push(validateMinDate);\n attrs.$observe('maxDate', function () {\n validateMinDate(ctrl.$viewValue);\n });\n }\n };\n\n function isValidDate(dateStr) {\n if (dateStr == undefined) return false;\n\n if (Object.prototype.toString.call(new Date(dateStr)) !== '[object Date]') {\n return false;\n }\n\n return true;\n }\n\n function createDateFromString(dateString) {\n var culture = storageService.getItem('cultureName');\n var dateParts;\n\n switch (culture) {\n case cultures.enCA:\n dateParts = dateString.split('/');\n return new Date(dateParts[2], dateParts[1] - 1, dateParts[0]);\n\n case cultures.frCA:\n dateParts = dateString.split('-');\n return new Date(dateParts[0], dateParts[1] - 1, dateParts[2]);\n\n case cultures.enUS:\n default:\n dateParts = dateString.split('/');\n return new Date(dateParts[2], dateParts[0] - 1, dateParts[1]);\n }\n }\n}","import angular from 'angular';\r\nimport $ from 'jquery';\r\nimport { getCultureByCode } from '../utilities/culture';\r\nimport { makeNumberLinkFunction, wrapElementInInputGroup } from './number-input.directive';\r\n\r\nconst NumberLinkFunction = makeNumberLinkFunction({ precision: 2 });\r\n\r\nangular.module('AaApp.Opp').directive('percentInput', function (storageService) {\r\n \"ngInject\";\r\n\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n const culture = getCultureByCode(cultureName);\r\n\r\n\r\n return {\r\n restrict: 'A',\r\n require: 'ngModel',\r\n scope: {\r\n ngModel: '=',\r\n precision: '<',\r\n },\r\n link: function PercentLinkFunction($scope, $element, $attributes, $ngModelCtrl) {\r\n if (!$scope.addonText) {\r\n $scope.addonText = '%';\r\n $scope.addonTextBefore = culture.percentSymbolBefore;\r\n }\r\n\r\n NumberLinkFunction($scope, $element, $attributes, $ngModelCtrl);\r\n },\r\n }\r\n})\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').directive('phoneNumber', phoneNumberDirective);\r\n\r\n/* @ngInject */\r\nfunction phoneNumberDirective($filter) {\r\n var localePhoneFilter = $filter('localePhone')\r\n return {\r\n restrict: 'A',\r\n require: 'ngModel',\r\n link: function (scope, element, attr, ngModelCtrl) {\r\n function toDigits(text) {\r\n if (text) {\r\n return text.replace(/\\D/g, '');\r\n }\r\n else {\r\n return '';\r\n }\r\n }\r\n\r\n function toFormatted(text) {\r\n if (text) {\r\n return localePhoneFilter(text);\r\n }\r\n }\r\n\r\n ngModelCtrl.$parsers.push(toDigits);\r\n ngModelCtrl.$formatters.push(toFormatted);\r\n\r\n // Update the UI after the user types a new value\r\n element.bind('blur', function () {\r\n var formatted = localePhoneFilter(ngModelCtrl.$modelValue);\r\n element.val(formatted);\r\n });\r\n }\r\n };\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localeCurrency', localeCurrencyFilter);\r\n\r\nlocaleCurrencyFilter.$inject = ['storageService', 'localeNumberFilter'];\r\n\r\n/* @ngInject */\r\nfunction localeCurrencyFilter(storageService, localeNumberFilter) {\r\n return function (amount, showFractionDigits, showSymbol) {\r\n if (typeof amount !== 'number') {\r\n return amount;\r\n }\r\n if (typeof showSymbol !== 'boolean') {\r\n showSymbol = true;\r\n }\r\n var precision = showFractionDigits ? 2 : 0;\r\n amount = roundWithPrecision(amount, precision);\r\n\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n\r\n var amountIsNegative;\r\n if (amount < 0) {\r\n amountIsNegative = true;\r\n }\r\n\r\n var absoluteAmount = Math.abs(amount);\r\n var formattedAmount;\r\n\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n formattedAmount = '£' + localeNumberFilter(absoluteAmount, precision);\r\n if (amountIsNegative) formattedAmount = '(' + formattedAmount + ')';\r\n break;\r\n case 'en-ca':\r\n formattedAmount = (showSymbol ? '$' : '') + localeNumberFilter(absoluteAmount, precision);\r\n if (amountIsNegative) formattedAmount = '(' + formattedAmount + ')';\r\n break;\r\n case 'fr-ca':\r\n formattedAmount = localeNumberFilter(absoluteAmount, precision) + (showSymbol ? ' $' : '');\r\n if (amountIsNegative) formattedAmount = '(' + formattedAmount + ')';\r\n break;\r\n case 'fr-fr':\r\n formattedAmount = localeNumberFilter(absoluteAmount, precision) + (showSymbol ? ' €' : '');\r\n if (amountIsNegative) formattedAmount = '- ' + formattedAmount ;\r\n break;\r\n case 'en-us':\r\n default:\r\n formattedAmount = '$' + localeNumberFilter(absoluteAmount, precision);\r\n if (amountIsNegative) formattedAmount = '(' + formattedAmount + ')';\r\n break;\r\n }\r\n\r\n \r\n \r\n //console.log({ f: formattedAmount, c: cultureName, s: showSymbol, t: typeof showSymbol });\r\n return formattedAmount;\r\n };\r\n\r\n function roundWithPrecision(x, precision) {\r\n if (precision == 0) {\r\n return Math.round(x);\r\n }\r\n\r\n var factor = Math.pow(10, precision);\r\n return Math.round(x * factor) / factor;\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localeDateTimeWithDay', localeDateTimeWithDay);\r\n\r\nlocaleDateTimeWithDay.$inject = ['$filter', 'storageService'];\r\n\r\n/* @ngInject */\r\nfunction localeDateTimeWithDay($filter, storageService) {\r\n return function (date) {\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n var format = '';\r\n var isToday = isDateToday(date);\r\n\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n format = isToday ? \"'Today at' hh:mm a\" : \"EEEE, dd MMM yyyy 'at' hh:mm a\";\r\n break;\r\n case 'fr-ca':\r\n case 'fr-fr':\r\n format = isToday ? \"'Aujourd''hui à' hh:mm a\" : \"EEEE, d MMM yyyy 'à' hh:mm a\";\r\n break;\r\n case 'en-us':\r\n case 'en-ca':\r\n default:\r\n format = isToday ? \"'Today at' h:mm a\" : \"EEEE, d MMM yyyy 'at' h:mm a\";\r\n break;\r\n }\r\n return $filter('date')(date, format);\r\n }\r\n\r\n function isDateToday(date) {\r\n var now = new Date();\r\n var today = new Date(now.getFullYear(), now.getMonth(), now.getDate());\r\n var testDate = new Date(date.getFullYear(), date.getMonth(), date.getDate());\r\n var ret = today - testDate;\r\n return ret === 0;\r\n }\r\n\r\n}\r\n","import \"core-js/modules/es6.regexp.replace\";\nphoneNumberDirective.$inject = [\"$filter\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').directive('phoneNumber', phoneNumberDirective);\n/* @ngInject */\n\nfunction phoneNumberDirective($filter) {\n var localePhoneFilter = $filter('localePhone');\n return {\n restrict: 'A',\n require: 'ngModel',\n link: function link(scope, element, attr, ngModelCtrl) {\n function toDigits(text) {\n if (text) {\n return text.replace(/\\D/g, '');\n } else {\n return '';\n }\n }\n\n function toFormatted(text) {\n if (text) {\n return localePhoneFilter(text);\n }\n }\n\n ngModelCtrl.$parsers.push(toDigits);\n ngModelCtrl.$formatters.push(toFormatted); // Update the UI after the user types a new value\n\n element.bind('blur', function () {\n var formatted = localePhoneFilter(ngModelCtrl.$modelValue);\n element.val(formatted);\n });\n }\n };\n}","localeCurrencyFilter.$inject = [\"storageService\", \"localeNumberFilter\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('localeCurrency', localeCurrencyFilter);\nlocaleCurrencyFilter.$inject = ['storageService', 'localeNumberFilter'];\n/* @ngInject */\n\nfunction localeCurrencyFilter(storageService, localeNumberFilter) {\n return function (amount, showFractionDigits, showSymbol) {\n if (typeof amount !== 'number') {\n return amount;\n }\n\n if (typeof showSymbol !== 'boolean') {\n showSymbol = true;\n }\n\n var precision = showFractionDigits ? 2 : 0;\n amount = roundWithPrecision(amount, precision);\n var savedCultureName = storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n var amountIsNegative;\n\n if (amount < 0) {\n amountIsNegative = true;\n }\n\n var absoluteAmount = Math.abs(amount);\n var formattedAmount;\n\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n formattedAmount = '£' + localeNumberFilter(absoluteAmount, precision);\n if (amountIsNegative) formattedAmount = '(' + formattedAmount + ')';\n break;\n\n case 'en-ca':\n formattedAmount = (showSymbol ? '$' : '') + localeNumberFilter(absoluteAmount, precision);\n if (amountIsNegative) formattedAmount = '(' + formattedAmount + ')';\n break;\n\n case 'fr-ca':\n formattedAmount = localeNumberFilter(absoluteAmount, precision) + (showSymbol ? ' $' : '');\n if (amountIsNegative) formattedAmount = '(' + formattedAmount + ')';\n break;\n\n case 'fr-fr':\n formattedAmount = localeNumberFilter(absoluteAmount, precision) + (showSymbol ? ' €' : '');\n if (amountIsNegative) formattedAmount = '- ' + formattedAmount;\n break;\n\n case 'en-us':\n default:\n formattedAmount = '$' + localeNumberFilter(absoluteAmount, precision);\n if (amountIsNegative) formattedAmount = '(' + formattedAmount + ')';\n break;\n } //console.log({ f: formattedAmount, c: cultureName, s: showSymbol, t: typeof showSymbol });\n\n\n return formattedAmount;\n };\n\n function roundWithPrecision(x, precision) {\n if (precision == 0) {\n return Math.round(x);\n }\n\n var factor = Math.pow(10, precision);\n return Math.round(x * factor) / factor;\n }\n}","localeDateTimeWithDay.$inject = [\"$filter\", \"storageService\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('localeDateTimeWithDay', localeDateTimeWithDay);\nlocaleDateTimeWithDay.$inject = ['$filter', 'storageService'];\n/* @ngInject */\n\nfunction localeDateTimeWithDay($filter, storageService) {\n return function (date) {\n var savedCultureName = storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n var format = '';\n var isToday = isDateToday(date);\n\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n format = isToday ? \"'Today at' hh:mm a\" : \"EEEE, dd MMM yyyy 'at' hh:mm a\";\n break;\n\n case 'fr-ca':\n case 'fr-fr':\n format = isToday ? \"'Aujourd''hui à' hh:mm a\" : \"EEEE, d MMM yyyy 'à' hh:mm a\";\n break;\n\n case 'en-us':\n case 'en-ca':\n default:\n format = isToday ? \"'Today at' h:mm a\" : \"EEEE, d MMM yyyy 'at' h:mm a\";\n break;\n }\n\n return $filter('date')(date, format);\n };\n\n function isDateToday(date) {\n var now = new Date();\n var today = new Date(now.getFullYear(), now.getMonth(), now.getDate());\n var testDate = new Date(date.getFullYear(), date.getMonth(), date.getDate());\n var ret = today - testDate;\n return ret === 0;\n }\n}","import angular from 'angular';\r\nimport opp from '../core/opportunities.module';\r\nimport moment from 'moment';\r\nimport 'moment-timezone';\r\nimport { TimeZones, TimeZonesById } from '../constants/time-zones';\r\n\r\nangular.module(opp).filter('localeDateTime', localeDateTimeFilter);\r\n\r\nexport function localeDateTimeFilter($filter, storageService) {\r\n \"ngInject\";\r\n return function (date) {\r\n if (!date) {\r\n return date;\r\n }\r\n\r\n var timeZones = TimeZones;\r\n var timeZonesById = TimeZonesById;\r\n\r\n const timeZoneId = storageService.getItem('timezoneId') || timeZones.pacificStandardTime.id;\r\n\r\n // If left undefined, the AngularJS date filter uses the computer's\r\n // time zone\r\n let utcOffsetString = undefined;\r\n\r\n // If `date` is a Date, it has already been converted to local time\r\n // If `date` is a string, a trailing Z indicates a UTC timestamp\r\n const isUTCFormat = !(date instanceof Date) && date.toString().endsWith('Z');\r\n\r\n if (isUTCFormat) {\r\n const timeZone = timeZonesById.get(timeZoneId);\r\n\r\n if (timeZone) {\r\n\r\n // moment-timezone does the hard work of deciding whether DST was\r\n // in effect at the given DateTime.\r\n const isDSTAtGivenTime = moment(date).tz(timeZone.tzdbName).isDST();\r\n if (isDSTAtGivenTime) {\r\n utcOffsetString = timeZone.daylight;\r\n } else {\r\n utcOffsetString = timeZone.standard;\r\n }\r\n }\r\n }\r\n\r\n const cultureName = storageService.getItem('cultureName') || 'en-us';\r\n\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return $filter('date')(date, 'dd/MM/yyyy hh:mm a', utcOffsetString);\r\n case 'en-ca':\r\n return $filter('date')(date, 'dd/MM/yyyy h:mm a', utcOffsetString);\r\n case 'fr-ca':\r\n return $filter('date')(date, 'yyyy-MM-dd hh:mm a', utcOffsetString);\r\n case 'fr-fr':\r\n return $filter('date')(date, 'dd/MM/yyyy H:mm', utcOffsetString);\r\n case 'en-us':\r\n default:\r\n return $filter('date')(date, 'MM/dd/yyyy h:mm a', utcOffsetString);\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localeDate', localeDateFilter);\r\n\r\nlocaleDateFilter.$inject = ['$filter', 'storageService'];\r\n\r\n/* @ngInject */\r\nfunction localeDateFilter($filter, storageService) {\r\n return function (date) {\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return $filter('date')(date, 'dd/MM/yyyy');\r\n case 'en-ca':\r\n return $filter('date')(date, 'dd/MM/yyyy');\r\n case 'fr-fr':\r\n return $filter('date')(date, 'dd/MM/yyyy');\r\n case 'fr-ca':\r\n return $filter('date')(date, 'yyyy-MM-dd');\r\n case 'en-us':\r\n default:\r\n return $filter('date')(date, 'MM/dd/yyyy');\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localeDecimal', localeDecimalFilter);\r\n\r\nlocaleDecimalFilter.$inject = ['storageService'];\r\n\r\nfunction localeDecimalFilter(storageService) {\r\n return function (number) {\r\n if (typeof number == 'number') {\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n\r\n return number.toLocaleString(cultureName, { minimumFractionDigits: 2, maximumFractionDigits: 2 });\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localeFuelEconomy', localeFuelEconomy);\r\n\r\n/* @ngInject */\r\nfunction localeFuelEconomy($filter, storageService, fuelTypes) {\r\n var PER_GALLON = \" per gallon\";\r\n var PER_LITER = \" per liter\";\r\n var KWH = \" kWh\";\r\n var CENTS_PER_LITER = \" c/L\";\r\n var CANADIAN_CULTURES = ['en-ca', 'fr-ca'];\r\n\r\n return function localFuelEconomyFilter(value, fuelTypeId, isMetric) {\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n cultureName = cultureName.toLowerCase();\r\n\r\n if (fuelTypeId == fuelTypes.electric) {\r\n // Electric format: $123.50 kWh\r\n\r\n var formattedValue = $filter('localeCurrency')(value, true);\r\n return formattedValue + KWH;\r\n }\r\n else {\r\n // Canadian metric: 250 c/L\r\n // Non-Canadian metric: $2.50 per liter\r\n // US: $2.50 per gallon\r\n\r\n\r\n var isCanada = CANADIAN_CULTURES.indexOf(cultureName) > -1;\r\n if (isCanada && isMetric) {\r\n return $filter('localeNumber')(value) + CENTS_PER_LITER;\r\n }\r\n else if (isMetric) {\r\n return $filter('localeCurrency')(value, true) + (isMetric ? PER_LITER : PER_GALLON);\r\n }\r\n else {\r\n return $filter('localeCurrency')(value, true) + (isMetric ? PER_LITER : PER_GALLON);\r\n }\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localeMoneyFactor', localeMoneyFactorFilter);\r\n\r\nlocaleMoneyFactorFilter.$inject = ['storageService'];\r\n\r\n/* @ngInject */\r\nfunction localeMoneyFactorFilter(storageService) {\r\n return function (number) {\r\n if (typeof number == 'number') {\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n\r\n return number.toLocaleString(cultureName, { minimumFractionDigits: 5, maximumFractionDigits: 5 });\r\n }\r\n };\r\n}\r\n","// Don't upgrade this to Angular 7 \r\n// Angular has a built in pipe for formatting by culture\r\n// https://angular.io/api/common/DecimalPipe\r\n\r\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localeNumber', localeNumberFilter);\r\n\r\nlocaleNumberFilter.$inject = ['storageService'];\r\n\r\n/* @ngInject */\r\nfunction localeNumberFilter(storageService) {\r\n return function (number, fractionDigits) {\r\n if (isNumber(number)) {\r\n number = parseFloat(number);\r\n\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n\r\n if (typeof fractionDigits === 'number') {\r\n return number.toLocaleString(cultureName, {\r\n minimumFractionDigits: fractionDigits,\r\n maximumFractionDigits: fractionDigits\r\n });\r\n }\r\n else {\r\n return number.toLocaleString(cultureName);\r\n }\r\n }\r\n else {\r\n return number;\r\n }\r\n };\r\n\r\n function isNumber(obj) {\r\n return !isNaN(parseFloat(obj));\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localePhone', localePhoneFilter);\r\n\r\nlocalePhoneFilter.$inject = ['storageService'];\r\n\r\nfunction localePhoneFilter(storageService) {\r\n return function formartPhone(localePhone) {\r\n if (!localePhone) {\r\n return localePhone;\r\n }\r\n\r\n function formatEurope(phoneNumber) {\r\n var formatted = \"\";\r\n //if phone number has an odd length, the leading digit should stand alone.\r\n if (phoneNumber.length % 2 == 1) {\r\n formatted += '0' + phoneNumber[0] + ' ';\r\n phoneNumber = phoneNumber.substring(1);\r\n }\r\n for (var i = 0; i < phoneNumber.length; i++) {\r\n if (i % 2 == 0 && i != 0) {\r\n formatted += ' ';\r\n }\r\n formatted += phoneNumber[i];\r\n }\r\n return formatted;\r\n }\r\n\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n cultureName = cultureName.toLowerCase();\r\n\r\n if (cultureName == 'fr-fr')\r\n return formatEurope(localePhone);\r\n\r\n if (cultureName == 'en-gb')\r\n return;\r\n\r\n localePhone = localePhone + '';\r\n var numbers = localePhone.replace(/\\D/g, '');\r\n\r\n // If the phone number is exactly 10 digits, assume it should be in NANP format.\r\n if (numbers.length == 10) {\r\n var char = { 0: '(', 3: ') ', 6: '-' };\r\n numbers = numbers.slice(0, 10);\r\n var formattedNumber = '';\r\n\r\n for (var i = 0; i < numbers.length; i++) {\r\n formattedNumber += (char[i] || '') + numbers[i];\r\n }\r\n return formattedNumber;\r\n }\r\n else {\r\n // If we can't recognize the format, return the value unformatted.\r\n return localePhone;\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localeRoundedCurrency', localeRoundedCurrencyFilter);\r\n\r\n/* @ngInject */\r\nfunction localeRoundedCurrencyFilter(storageService, localeNumberFilter) {\r\n return function (amount) {\r\n if (typeof amount == 'number') {\r\n amount = Math.round(amount);\r\n\r\n if ((amount % 10) != 0) {\r\n amount = (10 - Math.abs(amount) % 10) + amount;\r\n }\r\n\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n\r\n var amountIsNegative;\r\n if (amount < 0) {\r\n amountIsNegative = true;\r\n }\r\n\r\n var absoluteAmount = Math.abs(amount);\r\n var formattedAmount;\r\n\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n formattedAmount = '£' + localeNumberFilter(absoluteAmount);\r\n break;\r\n case 'en-ca':\r\n formattedAmount = '$' + localeNumberFilter(absoluteAmount);\r\n break;\r\n case 'fr-ca':\r\n formattedAmount = localeNumberFilter(absoluteAmount) + ' $';\r\n break;\r\n case 'fr-fr':\r\n formattedAmount = localeNumberFilter(absoluteAmount) + ' €';\r\n break;\r\n case 'en-us':\r\n default:\r\n formattedAmount = '$' + localeNumberFilter(absoluteAmount);\r\n break;\r\n }\r\n\r\n if (amountIsNegative) {\r\n formattedAmount = '(' + formattedAmount + ')';\r\n }\r\n\r\n return formattedAmount;\r\n }\r\n };\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('localeTime', localeTimeFilter);\r\n\r\nlocaleTimeFilter.$inject = ['$filter', 'storageService'];\r\n\r\n/* @ngInject */\r\nfunction localeTimeFilter($filter, storageService) {\r\n return function (date) {\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n\r\n switch (cultureName.toLowerCase()) {\r\n case 'en-gb':\r\n return $filter('date')(date, 'hh:mm a');\r\n case 'en-ca':\r\n return $filter('date')(date, 'h:mm a');\r\n case 'fr-ca':\r\n return $filter('date')(date, 'hh:mm a');\r\n case 'fr-fr':\r\n return $filter('date')(date, 'HH:mm');\r\n case 'en-us':\r\n default:\r\n return $filter('date')(date, 'h:mm a');\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('elapsedTime', elapsedTimeFilter);\r\n\r\nelapsedTimeFilter.$inject = ['$filter'];\r\n\r\n/* @ngInject */\r\nfunction elapsedTimeFilter($filter) {\r\n return function (seconds) {\r\n\r\n var date = new Date(0, 0, 0, 0, 0, 0, 0);\r\n date.setSeconds(seconds);\r\n\r\n return $filter('date')(date, 'HH:mm:ss');\r\n }\r\n}\r\n\r\n\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('mapUtils', mapUtils);\r\n\r\nfunction mapUtils(_) {\r\n \"ngInject\";\r\n\r\n var util = {\r\n getVehicleTrimFullName: getVehicleTrimFullName,\r\n hasActionAccess: hasActionAccess\r\n }\r\n return util;\r\n\r\n function getVehicleTrimFullName(vehicle) {\r\n var trimFullName;\r\n\r\n if (vehicle.addModelToTrim) {\r\n trimFullName = vehicle.modelName + ' ';\r\n\r\n if (vehicle.displayCodes && vehicle.mfcModelCode) {\r\n trimFullName += vehicle.mfcModelCode;\r\n }\r\n else {\r\n trimFullName += vehicle.trimName;\r\n }\r\n }\r\n else {\r\n trimFullName = vehicle.trimName;\r\n }\r\n\r\n return trimFullName;\r\n }\r\n\r\n function hasActionAccess(actionAccess, key) {\r\n return _.some(actionAccess, function (aa) { return aa === key });\r\n }\r\n}\r\n","import angular from 'angular';\r\nimport { defaultTo } from '../utilities/utils';\r\n\r\nangular.module('AaApp.Opp').factory('contractService', contractService);\r\n\r\n/* @ngInject */\r\nfunction contractService($q, alertTypes, coreApi, conquestTypes, saleTypes, vehicleTypes, opportunityTypes) {\r\n var service = {\r\n getCalculationParameters: getCalculationParameters,\r\n getCurrentContract: getCurrentContract,\r\n getReplacementContracts: getReplacementContracts,\r\n updatePayoff: updatePayoff,\r\n undoVehiclePaidOff: undoVehiclePaidOff\r\n };\r\n\r\n return service;\r\n\r\n function getCurrentContract(opportunityId, opportunityType) {\r\n if (opportunityType != opportunityTypes.conquest) {\r\n return coreApi.api.Sale.GetSaleExtByEntityId['{entityId}'].GET({ entityId: opportunityId })\r\n .then(resolveData);\r\n }\r\n else {\r\n return coreApi.api.CreditSoftPullResultEntityKeep.GetSaleInfoByEntityId['{entityId}'].GET({ entityId: opportunityId })\r\n .then(resolveData);\r\n }\r\n }\r\n\r\n function getReplacementContracts(opportunity, permissions) {\r\n if (!permissions.payments) {\r\n // If the user doesn't have access to view contracts, just\r\n // return an empty response. The UI will detect this case\r\n // by checking for the appropriate permission.\r\n return $q.resolve({ contracts: [] });\r\n }\r\n\r\n return getCalculationParameters(opportunity)\r\n .then(function (parameters) {\r\n return coreApi.api.DealSheet.CalculatePayments.POST(parameters);\r\n })\r\n .then(response => response.data);\r\n }\r\n\r\n function updatePayoff(opportunityId, payoffAmount, goodThroughDate) {\r\n return coreApi.api.Sale.AddUpdateSalePayoff.POST({ entityID: opportunityId, payOffAmount: payoffAmount, payOffGoodThru: goodThroughDate })\r\n .then(() => true);\r\n }\r\n\r\n function undoVehiclePaidOff(opportunityId) {\r\n return coreApi.api.Entity.VehicleNotPaidOff['{entityId}'].POST({}, {\r\n entityId: opportunityId\r\n });\r\n }\r\n\r\n function getCalculationParameters(opportunity) {\r\n return $q.all([\r\n coreApi.api.BalanceToMaturity['{entityId}'].GET({ entityId: opportunity.id, saleId: opportunity.currentContract.saleID }),\r\n coreApi.api.SalePayoffEstimate['{saleId}'].GET({ saleId: opportunity.currentContract.saleID }),\r\n coreApi.api.CreditSoftPullResultEntityKeep.GetSaleInfoByEntityId['{entityId}'].GET({ entityId: opportunity.id }),\r\n ]).then(function (response) {\r\n var balanceToMaturity = response[0].data;\r\n var salePayoffEstimate = response[1].data;\r\n var creditConvertSaleData = response[2].data;\r\n var stillOwnsVehicle = (opportunity.type == 3) || (opportunity.stillOwned == true);\r\n var finalTradeValue = defaultTo(function () { return opportunity.currentVehicle.tradeValue; }, 0) * stillOwnsVehicle;\r\n var adjustedBalance = defaultTo(function () { return salePayoffEstimate.adjustedBalance; }, 0) * stillOwnsVehicle;\r\n var isConquest = opportunity.replacementVehicle.IsConquest == 1 ? true : false;\r\n var isCreditConvert = (creditConvertSaleData != \"\") && opportunity.type == opportunityTypes.conquest;\r\n var stillOwn = isCreditConvert ? true : opportunity.stillOwned != null ? opportunity.stillOwned : true;\r\n var paidOff = opportunity.paidOff != null ? opportunity.paidOff : false;\r\n\r\n var maturityDate;\r\n\r\n if (!opportunity.currentContract.saleType) {\r\n maturityDate = new Date(2000, 0, 1);\r\n }\r\n else if (opportunity.currentContract.saleType != saleTypes.lease) {\r\n maturityDate = opportunity.currentContract.lastPaymentDate ? opportunity.currentContract.lastPaymentDate : opportunity.currentContract.dealDate;\r\n }\r\n else {\r\n maturityDate = new Date(opportunity.currentContract.lastPaymentDate);\r\n maturityDate.setMonth(maturityDate.getMonth() - 1);\r\n }\r\n\r\n //in alphabetical order.\r\n var parameters = {\r\n adjustedBalance: adjustedBalance ? adjustedBalance : 0,\r\n balanceToMaturity: (balanceToMaturity != null ? balanceToMaturity.balanceToMaturity : 0) || 0,\r\n canBTBeApplied: balanceToMaturity.canBeApplied,\r\n canBTDispositionFeeBeForgiven: balanceToMaturity.canDispositionFeeBeForgiven,\r\n cashDown: 0,\r\n dealerGroupId: opportunity.dealer ? opportunity.dealer.dealerGroupId : 0,\r\n dealerID: opportunity.dealerId,\r\n dispositionFee: balanceToMaturity.dispositionFee,\r\n entityId: opportunity.id,\r\n entityTypeId: opportunity.type,\r\n finalTradeValue: finalTradeValue,\r\n interestRate: null,\r\n isConquest: isConquest,\r\n isCPO: opportunity.replacementVehicle.type == vehicleTypes.cpo,\r\n isUsed: opportunity.replacementVehicle.type == vehicleTypes.used,\r\n keyID: opportunity.keyId,\r\n leaseRate: null,\r\n leaseSalesTax: null,\r\n msrp: opportunity.replacementVehicle.msrp,\r\n newMakeID: opportunity.replacementVehicle.makeID,\r\n newTrimID: opportunity.replacementVehicle.trimID,\r\n newTrimYearID: opportunity.replacementVehicle.yearID,\r\n newVehiclePrice: opportunity.replacementVehicle.price,\r\n oldBankID: opportunity.currentContract.bankID,\r\n oldMakeID: opportunity.currentVehicle.makeID ? opportunity.currentVehicle.makeID : 0,\r\n oldMaturityDate: maturityDate,\r\n oldMonthlyPayment: opportunity.currentContract.payment ? opportunity.currentContract.payment : 0,\r\n oldPaymentsRemaining: opportunity.currentContract.paymentsRemaining,\r\n oldSaleTypeID: opportunity.currentContract.saleType,\r\n oldTermID: opportunity.currentContract.term,\r\n oldTrimID: opportunity.currentVehicle.trimID ? opportunity.currentVehicle.trimID : 0,\r\n payOffForward: opportunity.currentContract.payoffAmount,\r\n purchaseSalesTax: null,\r\n residualPercentage: null,\r\n saleID: opportunity.currentContract.saleID,\r\n stateID: opportunity.customer.address.stateId,\r\n stillOwnAndNotPaidOff: stillOwn && !paidOff,\r\n tier: null,\r\n totalPenalty: salePayoffEstimate.totalPenalty,\r\n useBalloon: true,\r\n usePullForward: balanceToMaturity.usePullForward,\r\n useSubsidy: null,\r\n zipCode: opportunity.customer.address.normalizedZipCode,\r\n pricingPlanId: opportunity.customer.pricingPlanId,\r\n useOffBrandCalc: opportunity.replacementVehicle.level > 905\r\n };\r\n\r\n if (opportunity.type == opportunityTypes.conquest) {\r\n parameters.saleID = null;\r\n parameters.oldBankID = 0;\r\n parameters.cashDown = 0;\r\n parameters.oldMaturityDate = new Date(2000, 0, 1);\r\n parameters.oldTermID = 1;\r\n parameters.oldPaymentsRemaining = 0;\r\n parameters.oldMonthlyPayment = 0;\r\n }\r\n\r\n if (isCreditConvert)\r\n {\r\n parameters.adjustedBalance = creditConvertSaleData.adjustedBalance ? creditConvertSaleData.adjustedBalance : 0;\r\n parameters.oldBankID = creditConvertSaleData.bankID;\r\n parameters.oldMonthlyPayment = creditConvertSaleData.payment ? creditConvertSaleData.payment: 0;\r\n parameters.oldPaymentsRemaining = creditConvertSaleData.paymentsRemaining;\r\n parameters.oldSaleTypeID = creditConvertSaleData.saleType;\r\n parameters.oldTermID = creditConvertSaleData.term;\r\n\r\n if (creditConvertSaleData.saleType == saleTypes.lease && creditConvertSaleData.lastPaymentDate)\r\n {\r\n var oldMaturityDate = new Date(creditConvertSaleData.lastPaymentDate);\r\n oldMaturityDate.setMonth(maturityDate.getMonth() - 1);\r\n parameters.oldMaturityDate = oldMaturityDate;\r\n }\r\n else \r\n {\r\n parameters.oldMaturityDate = opportunity.currentContract.endDate ? opportunity.currentContract.endDate : new Date(2000, 0, 1);\r\n } \r\n }\r\n\r\n return parameters;\r\n });\r\n }\r\n\r\n function resolveData(response) {\r\n return response.data ? response.data : {};\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('dealSheetService', dealSheetService);\r\n\r\nfunction dealSheetService($document, $state, $uibModal, coreApi, dmsPushApi, dealSheetUrl, globalIframeService, logger, urlHelper, ActivityActionEnum) {\r\n \"ngInject\";\r\n\r\n var service = {\r\n getDealSheetUrl: getDealSheetUrl,\r\n getDealSheetLiteUrl: getDealSheetLiteUrl,\r\n openDealSheetModal: openDealSheetModal,\r\n openDealSheetLiteModal: openDealSheetLiteModal,\r\n modalDisplayState: 'new',\r\n activeDealSheet: '',\r\n openScheduleModal: openModalDialog,\r\n getModalParamObject: getModalParamObject,\r\n getDealHistory: getDealHistory,\r\n getEntityEnterpriseCustomers: getEntityEnterpriseCustomers,\r\n pushToDeskit: pushToDeskit,\r\n isVAutoEnabled: isVAutoEnabled,\r\n isVinCueEnabled: isVinCueEnabled,\r\n vAutoCreateAppraisal: vAutoCreateAppraisal,\r\n vinCueCreateAppraisal: vinCueCreateAppraisal,\r\n getLatestAppraisal: getLatestAppraisal,\r\n getLatestAppraisalVinCue: getLatestAppraisalVinCue,\r\n dmsPushCustomer: dmsPushCustomer,\r\n dmsPushPushFAndI: dmsPushPushFAndI,\r\n dmsPushGetLatest: dmsPushGetLatest,\r\n isDmsPushValid: isDmsPushValid\r\n }\r\n\r\n return service;\r\n\r\n function isVAutoEnabled(dealerId) {\r\n return dmsPushApi.api.vAuto.IsEnabled['{dealerId}'].GET({ dealerId: dealerId })\r\n .then((response) => response.data);\r\n }\r\n\r\n function isVinCueEnabled(dealerId) {\r\n return dmsPushApi.api.VinCue.IsEnabled['{dealerId}'].GET({ dealerId: dealerId })\r\n .then((response) => response.data);\r\n }\r\n\r\n function isDmsPushValid(dealerId) {\r\n return dmsPushApi.api.DmsPush.IsDmsPushValid['{dealerId}'].GET({ dealerId: dealerId })\r\n .then((response) => response.data);\r\n }\r\n\r\n function dmsPushCustomer(request) {\r\n return dmsPushApi.api.DmsPush.PushCustomer.POST(request)\r\n .then((response) => response.data);\r\n }\r\n\r\n function dmsPushPushFAndI(request) {\r\n return dmsPushApi.api.DmsPush.PushFAndI.POST(request)\r\n .then((response) => response.data);\r\n }\r\n\r\n function dmsPushGetLatest(request) {\r\n return dmsPushApi.api.DmsPush.GetLatestDmsPushSuccess.POST(request)\r\n .then((response) => response.data);\r\n }\r\n\r\n function vAutoCreateAppraisal(request) {\r\n return dmsPushApi.api.vAuto.CreateAppraisal.POST(request)\r\n .then((response) => response.data);\r\n }\r\n\r\n function vinCueCreateAppraisal(request) {\r\n return dmsPushApi.api.VinCue.CreateAppraisal.POST(request)\r\n .then((response) => response.data);\r\n }\r\n\r\n function getLatestAppraisal(dealerId, vin) {\r\n return dmsPushApi.api.vAuto.GetLatestAppraisalByVin['{dealerId}']['{vin}'].GET({ dealerId: dealerId, vin: vin })\r\n .then((response) => response.data);\r\n }\r\n\r\n function getLatestAppraisalVinCue(dealerId, vin) {\r\n return dmsPushApi.api.VinCue.GetLatestAppraisalByVin['{dealerId}']['{vin}'].GET({ dealerId: dealerId, vin: vin })\r\n .then((response) => response.data);\r\n }\r\n\r\n function getDealHistory(opportunityId) {\r\n return coreApi.api.DealSheet.GetDealHistory['{entityId}'].POST({}, { entityId: opportunityId })\r\n .then((response) => response.data);\r\n }\r\n\r\n function getEntityEnterpriseCustomers(opportunityId) {\r\n return coreApi.api.Entity.GetEntityEnterpriseCustomers['{entityId}'].GET({ entityId: opportunityId })\r\n .then((response) => response.data);\r\n }\r\n\r\n function pushToDeskit(pushRequest) {\r\n return coreApi.api.Deskit.PushToDeskit.POST(pushRequest)\r\n .then(resolveData);\r\n }\r\n \r\n function resolveData(response) {\r\n if (response && response.data) {\r\n return response.data;\r\n }\r\n else {\r\n return null;\r\n }\r\n }\r\n\r\n function getDealSheetUrl(opportunityId) {\r\n return $state.href('dealSheet', { opportunityId: opportunityId }, { absolute: true });\r\n }\r\n\r\n function getDealSheetLiteUrl(entityId) {\r\n return $state.href('dealSheetLite', { entityId: entityId }, { absolute: true });\r\n }\r\n\r\n function openDealSheetLiteModal(vw_search, entityID, callback) {\r\n\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n // Need to hide the scrollbar of the current page before displaying the modal\r\n // to eliminate the double-scroll bars.\r\n parentElem.css('overflowY', 'hidden');\r\n\r\n var modalInstance = $uibModal.open({\r\n animation: true, //$ctrl.animationsEnabled,\r\n component: 'dealSheetLiteModal',\r\n appendTo: parentElem,\r\n windowClass: 'modal-aa-lg modal-aa-lg-dealsheet',\r\n backdropClass: 'modal-aa-lg-backdrop',\r\n resolve: {\r\n vwsearch: function () {\r\n return vw_search;\r\n },\r\n opportunityId: function () {\r\n return (vw_search != null) ? vw_search._EntityID : entityID;\r\n },\r\n calculationType: function () {\r\n return null;\r\n },\r\n stockNo: function () {\r\n return null;\r\n }\r\n }\r\n }); \r\n\r\n modalInstance.result.then(function (selectedItem) {\r\n parentElem.css('overflowY', 'visible');\r\n if (callback) {\r\n callback(entityID);\r\n }\r\n });\r\n\r\n }\r\n\r\n function openDealSheetModal(dealsheetId, url, callback) {\r\n if (!dealsheetId) {\r\n logger.genericError('DealsheetId must be passed in.');\r\n }\r\n\r\n var autoalertIframe = angular.element($document[0].querySelector('#autoalertiframe'));\r\n if (autoalertIframe.length > 0)\r\n autoalertIframe.blur();\r\n\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n // Need to hide the scrollbar of the current page before displaying the modal\r\n // to eliminate the double-scroll bars.\r\n parentElem.css('overflowY', 'hidden');\r\n\r\n var calculationType;\r\n var stockNo;\r\n\r\n if (url) {\r\n calculationType = urlHelper.queryString(url).calc || 'null';\r\n stockNo = urlHelper.queryString(url).sn;\r\n }\r\n else {\r\n service.activeDealSheet = dealSheetUrl + dealsheetId + \"&snav=true\";\r\n }\r\n\r\n var modalInstance = $uibModal.open({\r\n animation: true, //$ctrl.animationsEnabled,\r\n component: 'dealSheetModal',\r\n appendTo: parentElem,\r\n windowClass: 'modal-aa-lg modal-aa-lg-dealsheet',\r\n backdropClass: 'modal-aa-lg-backdrop',\r\n resolve: {\r\n opportunityId: function () {\r\n return dealsheetId;\r\n },\r\n calculationType: function () {\r\n return calculationType;\r\n },\r\n stockNo: function () {\r\n return stockNo;\r\n }\r\n }\r\n });\r\n\r\n modalInstance.result.then(function () {\r\n _verifyCallback(callback, dealsheetId);\r\n }, function () {\r\n _verifyCallback(callback, dealsheetId);\r\n globalIframeService.postMessage({ 'task': 'opportunity_refresh' });\r\n }).catch(function () {\r\n _verifyCallback(callback, dealsheetId);\r\n });\r\n\r\n function _verifyCallback(callback, dealsheetId) {\r\n // Need to undo what we did above before we opened the modal\r\n parentElem.css('overflowY', 'visible');\r\n\r\n if (callback && dealsheetId) {\r\n callback(dealsheetId);\r\n }\r\n }\r\n }\r\n\r\n\r\n // this is the common object to pass data to modal dialog box\r\n function getModalParamObject(\r\n modalType,\r\n opportunityId,\r\n dealerId,\r\n dealSheetOwnerId,\r\n maxScheduleFutureDays,\r\n usersObject,\r\n activityObject,\r\n ownerUserInfoObject,\r\n expirationDate) {\r\n return {\r\n modalType: modalType,\r\n componentName: 'schedule',\r\n opportunityId: opportunityId,\r\n dealerId: dealerId,\r\n dealSheetOwnerId: dealSheetOwnerId,\r\n maxScheduleFutureDays: maxScheduleFutureDays,\r\n usersObject: usersObject,\r\n activityObject: activityObject,\r\n ownerUserInfoObject: ownerUserInfoObject,\r\n expirationDate: expirationDate\r\n }\r\n }\r\n\r\n\r\n\r\n function openModalDialog(modalParamObject, callback) {\r\n\r\n switch (modalParamObject.modalType) {\r\n case ActivityActionEnum.Log_Call:\r\n modalParamObject.componentName = 'logCallModal'\r\n break;\r\n case ActivityActionEnum.Appointment_Completed:\r\n case ActivityActionEnum.Phone_Call_Completed:\r\n case ActivityActionEnum.Cancel_Call:\r\n case ActivityActionEnum.Cancel_Appt:\r\n case ActivityActionEnum.Post_Note:\r\n case ActivityActionEnum.Email_Sent:\r\n modalParamObject.componentName = 'postNotes'\r\n break;\r\n case ActivityActionEnum.Reschedule_Appt:\r\n case ActivityActionEnum.Reschedule_Call:\r\n case ActivityActionEnum.Schedule_Call:\r\n case ActivityActionEnum.Schedule_Appt:\r\n modalParamObject.componentName = 'schedule'\r\n break;\r\n }\r\n\r\n var IsFollowUp = false;\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n component: modalParamObject.componentName,\r\n size: modalParamObject.componentName == 'schedule' ? 'lg' : null,\r\n resolve: {\r\n items: function () {\r\n return modalParamObject;\r\n }\r\n }\r\n });\r\n // result from submit\r\n modalInstance.result.then(function (returnedData) {\r\n\r\n // schedule cancel on no followup action\r\n if (returnedData == 'followup-cancel' && !IsFollowUp) {\r\n return;\r\n }\r\n\r\n // schedule cancel on followup action\r\n if (returnedData == 'followup-cancel' && IsFollowUp) {\r\n callBackScheduleModal(callback, 'onScheduleRefresh');\r\n IsFollowUp = false;\r\n return;\r\n }\r\n\r\n // on followup action\r\n if (returnedData != 'cancel' || returnedData != 'submit') {\r\n //activityResultID = 23 , 11, 7 maps to ResulyKeySold\r\n if (returnedData.followUpActions.length > 1) {\r\n if (returnedData.activityResult == 23 ||\r\n returnedData.activityResult == 11 ||\r\n returnedData.activityResult == 7) {\r\n callBackScheduleModal(callback, 'onVehicleSold');\r\n\r\n }\r\n else {\r\n IsFollowUp = true;\r\n modalParamObject.modalType = returnedData.followUpActions[0].activityActionId;\r\n openFollowUpActions(returnedData, modalParamObject, callback);\r\n }\r\n }\r\n else if (returnedData.followUpActions.length > 0) {\r\n IsFollowUp = true;// if only 1 follow-up launch it\r\n modalParamObject.modalType = returnedData.followUpActions[0].activityActionId;\r\n //modalParamObject.activityObject.activityId = null;\r\n openModalDialog(modalParamObject, callback);\r\n\r\n }\r\n else { // update status and activity grid\r\n if (\r\n returnedData.activityId == ActivityActionEnum.Post_Note ||\r\n returnedData.activityId == ActivityActionEnum.Log_Call ||\r\n returnedData.activityId == ActivityActionEnum.Schedule_Call ||\r\n returnedData.activityId == ActivityActionEnum.Schedule_Appt ||\r\n returnedData.activityId == ActivityActionEnum.Schedule_Call ||\r\n returnedData.activityId == ActivityActionEnum.Schedule_Appt ||\r\n returnedData.activityId == ActivityActionEnum.Reassign_Call ||\r\n returnedData.activityId == ActivityActionEnum.Reschedule_Call ||\r\n returnedData.activityId == ActivityActionEnum.Reassign_Appt ||\r\n returnedData.activityId == ActivityActionEnum.Reschedule_Appt ||\r\n returnedData.activityId == ActivityActionEnum.Cancel_Call ||\r\n returnedData.activityId == ActivityActionEnum.Cancel_Appt ||\r\n returnedData.activityId == ActivityActionEnum.Phone_Call_Completed ||\r\n returnedData.activityId == ActivityActionEnum.Appointment_Completed\r\n ) {\r\n callBackScheduleModal(callback, 'onScheduleRefresh');\r\n }\r\n }\r\n }\r\n });\r\n\r\n function openFollowUpActions(followUpActions, modalParamObject, callback) {\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n component: \"activityFollowUpModal\",\r\n resolve: {\r\n followUpActions: function () {\r\n return followUpActions;\r\n }\r\n }\r\n });\r\n\r\n\r\n // result from followup action could be: 'cancel', 3 or 4\r\n modalInstance.result.then(function (modalType) {\r\n if (modalType != 'followup-cancel') {\r\n modalParamObject.modalType = modalType;\r\n openModalDialog(modalParamObject, callback);\r\n }\r\n else {\r\n callBackScheduleModal(callback, 'onScheduleRefresh');\r\n }\r\n });\r\n }\r\n\r\n function callBackScheduleModal(callback, returnValue) {\r\n if (callback) {\r\n callback(returnValue);\r\n }\r\n }\r\n }\r\n\r\n\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('eulaModalService', eulaModalService);\r\n\r\n/* @ngInject */\r\nfunction eulaModalService($q, $state, $document, $uibModal, coreApi, userService, eulaStatusTypes, eulaResponseTypes, storageService) {\r\n var service = {\r\n validateEulaOnStart: validateEulaOnStart,\r\n validateEula: validateEula,\r\n statusId: null,\r\n isEmailEnabled: isEmailEnabled\r\n };\r\n\r\n function isEmailEnabled() {\r\n return validateStatusId()\r\n .then(() => {\r\n switch (service.statusId) {\r\n case eulaStatusTypes.fullyAccepted:\r\n return true;\r\n\r\n case eulaStatusTypes.notAccepted:\r\n return false;\r\n\r\n case eulaStatusTypes.canadaAddendumNeeded:\r\n return false;\r\n\r\n case eulaStatusTypes.canadaAddendumDeferred:\r\n return false;\r\n }\r\n\r\n return true;\r\n });\r\n }\r\n\r\n function validateEulaOnStart() {\r\n return userService.getEulaStatus().then(function (sId) {\r\n storageService.setItem('statusId', sId);\r\n service.statusId = sId;\r\n if (service.statusId != eulaStatusTypes.notAccepted) {\r\n return processStatus();\r\n }\r\n });\r\n }\r\n\r\n function validateEula() {\r\n return processStatus();\r\n }\r\n\r\n function validateStatusId() {\r\n if (!service.statusId) {\r\n service.statusId = storageService.getItem('statusId');\r\n if (service.statusId == null) {\r\n return validateEulaOnStart();\r\n }\r\n }\r\n\r\n return $q.resolve();\r\n }\r\n\r\n function processStatus() {\r\n return validateStatusId()\r\n .then(() => {\r\n switch (service.statusId) {\r\n case eulaStatusTypes.fullyAccepted:\r\n //do nothing. The response is known.\r\n return $q.resolve(true);\r\n\r\n case eulaStatusTypes.notAccepted:\r\n return challengeResponse(0); // 0 = Canada Addendum. TODO: make a type that corresponds to \"Eula\" table.\r\n\r\n case eulaStatusTypes.canadaAddendumNeeded:\r\n return challengeResponse(0); // 0 = Canada Addendum. TODO: make a type that corresponds to \"Eula\" table.\r\n\r\n case eulaStatusTypes.canadaAddendumDeferred:\r\n return challengeResponse(0); // 0 = Canada Addendum. TODO: make a type that corresponds to \"Eula\" table.\r\n }\r\n });\r\n }\r\n\r\n function openModal(options) {\r\n options.appendTo = angular.element($document[0].querySelector('#aa-app'));\r\n var modalInstance = $uibModal.open(options); //wierdest factory constructor ever.\r\n return modalInstance;\r\n }\r\n\r\n function challengeResponse(eulaId) {\r\n return userService.getEula(eulaId).then(function (data) {\r\n var modal = openModal({\r\n animation: true,\r\n component: 'eulaModal',\r\n backdrop: 'static',\r\n keyboard: false,\r\n resolve: {\r\n title: function () {\r\n return \"End User License Agreement - CASL Compliance Addendum\"; //change this\r\n },\r\n message: function () {\r\n return data.eulaText;\r\n },\r\n warning: function () {\r\n return \"Note: Declining or deferring acceptance of this addendum will result in all email functionality within AutoAlert to be disabled until such a time as the addendum is accepted.\";\r\n }\r\n }\r\n });\r\n\r\n return modal.result.then(function (modalResponse) {\r\n switch (modalResponse) {\r\n case \"accept\":\r\n userService.postResponse(eulaId, eulaResponseTypes.accept); //addendum ID\r\n service.statusId = eulaStatusTypes.fullyAccepted;\r\n storageService.setItem('statusId', eulaStatusTypes.fullyAccepted);\r\n return true;\r\n\r\n case \"decline\":\r\n userService.postResponse(eulaId, eulaResponseTypes.decline); //addendum ID\r\n service.statusId = eulaStatusTypes.notAccepted;\r\n storageService.setItem('statusId', eulaStatusTypes.notAccepted);\r\n return false;\r\n\r\n case \"defer\":\r\n userService.postResponse(eulaId, eulaResponseTypes.defer); //addendum ID\r\n service.statusId = eulaStatusTypes.canadaAddendumDeferred;\r\n storageService.setItem('statusId', eulaStatusTypes.canadaAddendumDeferred);\r\n return false;\r\n }\r\n });\r\n });\r\n }\r\n\r\n return service;\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('externalService', externalService);\r\n\r\n/* @ngInject */\r\nfunction externalService($q, $http, coreApi) {\r\n var service = {\r\n getValidExternalDealsheetJWTToken: getValidExternalDealsheetJWTToken,\r\n getValidExternalPageJWTToken: getValidExternalPageJWTToken\r\n };\r\n return service;\r\n\r\n function getValidExternalDealsheetJWTToken(entityId, vHash, accesCode, dealerId) {\r\n return coreApi.api.Authentication.CrmLogin['{entityId}']['{vHash}']['{accesCode}']['{dealerId}'].GET({ entityId: entityId, vHash: vHash, accesCode: accesCode, dealerId: dealerId });\r\n \r\n }\r\n\r\n function getValidExternalPageJWTToken(accesCode, dealerId) {\r\n return coreApi.api.Authentication.CrmLoginPage['{accesCode}']['{dealerId}'].GET({ accesCode: accesCode, dealerId: dealerId });\r\n }\r\n\r\n}\r\n","import angular from 'angular';\r\nimport opportunities from '../core/opportunities.module';\r\n\r\nangular.module(opportunities).factory('featureToggleService', FeatureToggleService);\r\n\r\nfunction FeatureToggleService(featureToggles, dealerService) {\r\n \"ngInject\";\r\n\r\n return {\r\n customerEngagementWidget: customerEngagementWidget,\r\n useFakeCustomerEngagementData: useFakeCustomerEngagementData,\r\n };\r\n\r\n function customerEngagementWidget() {\r\n return calculateFeatureToggle(featureToggles.enableCustomerEngagementWidget);\r\n }\r\n\r\n function useFakeCustomerEngagementData() {\r\n return calculateFeatureToggle(featureToggles.useFakeCustomerEngagementData);\r\n }\r\n\r\n function calculateFeatureToggle(feature) {\r\n // falsy means the feature is off\r\n if (!feature)\r\n return false;\r\n\r\n // Literal 'true' means the feature is on for all dealers\r\n if (feature === true)\r\n return true;\r\n\r\n // If it's an array, it is a list of dealer IDs that should have the\r\n // feature enabled.\r\n if (Array.isArray(feature)) {\r\n const selectedDealers = dealerService.getSelectedDealerIds() || [];\r\n for (const selectedDealerId of selectedDealers) {\r\n if (feature.includes(selectedDealerId)) {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('financialsService', financialsService);\r\n\r\n/* @ngInject */\r\nfunction financialsService($q, coreApi, $filter, dealerService) {\r\n var service = {\r\n getConvertInfo: getConvertInfo,\r\n getBankSelect: getBankSelect,\r\n getConvertSaleTypes: getConvertSaleTypes,\r\n getFinancialsData: getFinancialsData,\r\n getUsers: getUsers,\r\n submitConvertInfo: submitConvertInfo\r\n };\r\n return service;\r\n\r\n function getFinancialsData(entityId, dealerId) {\r\n var deferred = $q.defer();\r\n $q.all([\r\n service.getConvertInfo(entityId),\r\n service.getBankSelect(dealerId),\r\n service.getConvertSaleTypes(),\r\n service.getUsers(dealerId)\r\n ])\r\n .then(resolveGetFinancialsData(deferred))\r\n .catch(function (ex) {\r\n deferred.reject(ex);\r\n });\r\n\r\n return deferred.promise;\r\n }\r\n\r\n function resolveGetFinancialsData(deferred) {\r\n return function (data) {\r\n var financials = {\r\n convert: data[0],\r\n banks: data[1],\r\n saleOptions: data[2],\r\n users: data[3]\r\n };\r\n deferred.resolve(financials);\r\n };\r\n }\r\n\r\n function getConvertInfo(entityId) {\r\n var deferred = $q.defer();\r\n coreApi.api.Convert.GetConvertInfo['{entityId}'].GET({ entityId: entityId })\r\n .then(resolveGetConvertInfo(deferred))\r\n .catch(function (ex) {\r\n deferred.reject(ex);\r\n });\r\n return deferred.promise;\r\n }\r\n\r\n function resolveGetConvertInfo(deferred) {\r\n return function (response) {\r\n var convert = response.data;\r\n if (convert.selectedBank && convert.selectedBank.type !== undefined && convert.selectedBank.type !== null) {\r\n convert.selectedBank.typeName = $filter('translate')('bankSelectType' + convert.selectedBank.type);\r\n }\r\n deferred.resolve(convert);\r\n };\r\n }\r\n\r\n function getBankSelect(dealerId) {\r\n var deferred = $q.defer();\r\n coreApi.api.Bank.GetBankSelect['{dealerId}'].GET({ dealerId: dealerId })\r\n .then(resolveGetBankSelect(deferred))\r\n .catch(function (ex) {\r\n deferred.reject(ex);\r\n });\r\n return deferred.promise;\r\n }\r\n\r\n function resolveGetBankSelect(deferred) {\r\n return function (response) {\r\n var banks = response.data;\r\n for (var i = 0; i < banks.length; i++) {\r\n banks[i].typeName = $filter('translate')('bankSelectType' + banks[i].type);\r\n }\r\n deferred.resolve(banks);\r\n };\r\n }\r\n\r\n function getConvertSaleTypes() {\r\n var deferred = $q.defer();\r\n coreApi.api.Convert.GetConvertSaleTypes.GET()\r\n .then(resolveGetConvertSaleTypes(deferred))\r\n .catch(function (ex) {\r\n deferred.reject(ex);\r\n });\r\n return deferred.promise;\r\n }\r\n\r\n function resolveGetConvertSaleTypes(deferred) {\r\n return function (response) {\r\n deferred.resolve(response.data);\r\n };\r\n }\r\n\r\n function getUsers(dealerId) {\r\n var deferred = $q.defer();\r\n dealerService.getEnabledUsersForDealer(dealerId)\r\n .then(resolveGetUsers(deferred))\r\n .catch(function (ex) {\r\n deferred.reject(ex);\r\n });\r\n return deferred.promise;\r\n }\r\n\r\n function resolveGetUsers(deferred) {\r\n return function (response) {\r\n var users = [];\r\n for (var i = 0; i < response.length; i++) {\r\n var user = {\r\n id: response[i].userID,\r\n fullName: response[i].fullName\r\n };\r\n users.push(user);\r\n }\r\n deferred.resolve(users);\r\n };\r\n }\r\n\r\n function submitConvertInfo(convert) {\r\n var deferred = $q.defer();\r\n coreApi.api.Convert.PostConvertInfo.POST(convert)\r\n .then(resolveSubmitConvertInfo(deferred))\r\n .catch(function (ex) {\r\n deferred.reject(ex);\r\n });\r\n return deferred.promise;\r\n }\r\n\r\n function resolveSubmitConvertInfo(deferred) {\r\n return function (response) {\r\n deferred.resolve(response);\r\n };\r\n }\r\n\r\n}\r\n","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.string.ends-with\";\nlocaleDateTimeFilter.$inject = [\"$filter\", \"storageService\"];\nimport angular from 'angular';\nimport opp from '../core/opportunities.module';\nimport moment from 'moment';\nimport 'moment-timezone';\nimport { TimeZones, TimeZonesById } from '../constants/time-zones';\nangular.module(opp).filter('localeDateTime', localeDateTimeFilter);\nexport function localeDateTimeFilter($filter, storageService) {\n \"ngInject\";\n\n return function (date) {\n if (!date) {\n return date;\n }\n\n var timeZones = TimeZones;\n var timeZonesById = TimeZonesById;\n var timeZoneId = storageService.getItem('timezoneId') || timeZones.pacificStandardTime.id; // If left undefined, the AngularJS date filter uses the computer's\n // time zone\n\n var utcOffsetString = undefined; // If `date` is a Date, it has already been converted to local time\n // If `date` is a string, a trailing Z indicates a UTC timestamp\n\n var isUTCFormat = !(date instanceof Date) && date.toString().endsWith('Z');\n\n if (isUTCFormat) {\n var timeZone = timeZonesById.get(timeZoneId);\n\n if (timeZone) {\n // moment-timezone does the hard work of deciding whether DST was\n // in effect at the given DateTime.\n var isDSTAtGivenTime = moment(date).tz(timeZone.tzdbName).isDST();\n\n if (isDSTAtGivenTime) {\n utcOffsetString = timeZone.daylight;\n } else {\n utcOffsetString = timeZone.standard;\n }\n }\n }\n\n var cultureName = storageService.getItem('cultureName') || 'en-us';\n\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n return $filter('date')(date, 'dd/MM/yyyy hh:mm a', utcOffsetString);\n\n case 'en-ca':\n return $filter('date')(date, 'dd/MM/yyyy h:mm a', utcOffsetString);\n\n case 'fr-ca':\n return $filter('date')(date, 'yyyy-MM-dd hh:mm a', utcOffsetString);\n\n case 'fr-fr':\n return $filter('date')(date, 'dd/MM/yyyy H:mm', utcOffsetString);\n\n case 'en-us':\n default:\n return $filter('date')(date, 'MM/dd/yyyy h:mm a', utcOffsetString);\n }\n };\n}","localeDateFilter.$inject = [\"$filter\", \"storageService\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('localeDate', localeDateFilter);\nlocaleDateFilter.$inject = ['$filter', 'storageService'];\n/* @ngInject */\n\nfunction localeDateFilter($filter, storageService) {\n return function (date) {\n var savedCultureName = storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n return $filter('date')(date, 'dd/MM/yyyy');\n\n case 'en-ca':\n return $filter('date')(date, 'dd/MM/yyyy');\n\n case 'fr-fr':\n return $filter('date')(date, 'dd/MM/yyyy');\n\n case 'fr-ca':\n return $filter('date')(date, 'yyyy-MM-dd');\n\n case 'en-us':\n default:\n return $filter('date')(date, 'MM/dd/yyyy');\n }\n };\n}","localeFuelEconomy.$inject = [\"$filter\", \"storageService\", \"fuelTypes\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('localeFuelEconomy', localeFuelEconomy);\n/* @ngInject */\n\nfunction localeFuelEconomy($filter, storageService, fuelTypes) {\n var PER_GALLON = \" per gallon\";\n var PER_LITER = \" per liter\";\n var KWH = \" kWh\";\n var CENTS_PER_LITER = \" c/L\";\n var CANADIAN_CULTURES = ['en-ca', 'fr-ca'];\n return function localFuelEconomyFilter(value, fuelTypeId, isMetric) {\n var savedCultureName = storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n cultureName = cultureName.toLowerCase();\n\n if (fuelTypeId == fuelTypes.electric) {\n // Electric format: $123.50 kWh\n var formattedValue = $filter('localeCurrency')(value, true);\n return formattedValue + KWH;\n } else {\n // Canadian metric: 250 c/L\n // Non-Canadian metric: $2.50 per liter\n // US: $2.50 per gallon\n var isCanada = CANADIAN_CULTURES.indexOf(cultureName) > -1;\n\n if (isCanada && isMetric) {\n return $filter('localeNumber')(value) + CENTS_PER_LITER;\n } else if (isMetric) {\n return $filter('localeCurrency')(value, true) + (isMetric ? PER_LITER : PER_GALLON);\n } else {\n return $filter('localeCurrency')(value, true) + (isMetric ? PER_LITER : PER_GALLON);\n }\n }\n };\n}","localeMoneyFactorFilter.$inject = [\"storageService\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('localeMoneyFactor', localeMoneyFactorFilter);\nlocaleMoneyFactorFilter.$inject = ['storageService'];\n/* @ngInject */\n\nfunction localeMoneyFactorFilter(storageService) {\n return function (number) {\n if (typeof number == 'number') {\n var savedCultureName = storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n return number.toLocaleString(cultureName, {\n minimumFractionDigits: 5,\n maximumFractionDigits: 5\n });\n }\n };\n}","localeNumberFilter.$inject = [\"storageService\"];\n// Don't upgrade this to Angular 7 \n// Angular has a built in pipe for formatting by culture\n// https://angular.io/api/common/DecimalPipe\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('localeNumber', localeNumberFilter);\nlocaleNumberFilter.$inject = ['storageService'];\n/* @ngInject */\n\nfunction localeNumberFilter(storageService) {\n return function (number, fractionDigits) {\n if (isNumber(number)) {\n number = parseFloat(number);\n var savedCultureName = storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n\n if (typeof fractionDigits === 'number') {\n return number.toLocaleString(cultureName, {\n minimumFractionDigits: fractionDigits,\n maximumFractionDigits: fractionDigits\n });\n } else {\n return number.toLocaleString(cultureName);\n }\n } else {\n return number;\n }\n };\n\n function isNumber(obj) {\n return !isNaN(parseFloat(obj));\n }\n}","localeRoundedCurrencyFilter.$inject = [\"storageService\", \"localeNumberFilter\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('localeRoundedCurrency', localeRoundedCurrencyFilter);\n/* @ngInject */\n\nfunction localeRoundedCurrencyFilter(storageService, localeNumberFilter) {\n return function (amount) {\n if (typeof amount == 'number') {\n amount = Math.round(amount);\n\n if (amount % 10 != 0) {\n amount = 10 - Math.abs(amount) % 10 + amount;\n }\n\n var savedCultureName = storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n var amountIsNegative;\n\n if (amount < 0) {\n amountIsNegative = true;\n }\n\n var absoluteAmount = Math.abs(amount);\n var formattedAmount;\n\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n formattedAmount = '£' + localeNumberFilter(absoluteAmount);\n break;\n\n case 'en-ca':\n formattedAmount = '$' + localeNumberFilter(absoluteAmount);\n break;\n\n case 'fr-ca':\n formattedAmount = localeNumberFilter(absoluteAmount) + ' $';\n break;\n\n case 'fr-fr':\n formattedAmount = localeNumberFilter(absoluteAmount) + ' €';\n break;\n\n case 'en-us':\n default:\n formattedAmount = '$' + localeNumberFilter(absoluteAmount);\n break;\n }\n\n if (amountIsNegative) {\n formattedAmount = '(' + formattedAmount + ')';\n }\n\n return formattedAmount;\n }\n };\n}","localeTimeFilter.$inject = [\"$filter\", \"storageService\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('localeTime', localeTimeFilter);\nlocaleTimeFilter.$inject = ['$filter', 'storageService'];\n/* @ngInject */\n\nfunction localeTimeFilter($filter, storageService) {\n return function (date) {\n var savedCultureName = storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n\n switch (cultureName.toLowerCase()) {\n case 'en-gb':\n return $filter('date')(date, 'hh:mm a');\n\n case 'en-ca':\n return $filter('date')(date, 'h:mm a');\n\n case 'fr-ca':\n return $filter('date')(date, 'hh:mm a');\n\n case 'fr-fr':\n return $filter('date')(date, 'HH:mm');\n\n case 'en-us':\n default:\n return $filter('date')(date, 'h:mm a');\n }\n };\n}","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('trim', trimFilter);\r\n\r\n/* @ngInject */\r\nfunction trimFilter() {\r\n return function (input, chars) {\r\n var trim = chars || '\\\\s';\r\n\r\n if (typeof input != 'string') {\r\n return input;\r\n }\r\n\r\n return input.replace(new RegExp('^' + trim + '+|' + trim + '+$', 'g'), '');\r\n };\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('unique', uniqueFilter);\r\n\r\nfunction uniqueFilter() {\r\n return function (items, filterOn) {\r\n if (filterOn === false) {\r\n return items;\r\n }\r\n\r\n if ((filterOn || angular.isUndefined(filterOn)) && angular.isArray(items)) {\r\n var newItems = [];\r\n\r\n var extractValueToCompare = function (item) {\r\n if (angular.isObject(item) && angular.isString(filterOn)) {\r\n return item[filterOn];\r\n } else {\r\n return item;\r\n }\r\n };\r\n\r\n angular.forEach(items, function (item) {\r\n var isDuplicate = false;\r\n\r\n for (var i = 0; i < newItems.length; i++) {\r\n if (angular.equals(extractValueToCompare(newItems[i]), extractValueToCompare(item))) {\r\n isDuplicate = true;\r\n break;\r\n }\r\n }\r\n if (!isDuplicate) {\r\n newItems.push(item);\r\n }\r\n\r\n });\r\n items = newItems;\r\n }\r\n return items;\r\n };\r\n}\r\n","elapsedTimeFilter.$inject = [\"$filter\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('elapsedTime', elapsedTimeFilter);\nelapsedTimeFilter.$inject = ['$filter'];\n/* @ngInject */\n\nfunction elapsedTimeFilter($filter) {\n return function (seconds) {\n var date = new Date(0, 0, 0, 0, 0, 0, 0);\n date.setSeconds(seconds);\n return $filter('date')(date, 'HH:mm:ss');\n };\n}","// NOTE: THIS FILE WILL BE DEPRECATED\r\n// Please create angular CONSTANTS in the /app/constants folder. One constant file per enum.\r\n\r\nimport angular from 'angular'; \r\n\r\n(function () {\r\n angular.module('AaApp.Opp')\r\n .constant('opportunityStatuses', { scheduled: 1, sold: 2, closed: 3, open: 4 })\r\n .constant('headerLocalizationPath', '/app/i18n/header')\r\n .constant('printUpgradeProposalPath', '/AlertDesk/Dealsheet/PrintComparison')\r\n .constant('printTemplateUrlPath', '/alertdesk/dealsheet/TemplatePortal')\r\n .constant('previewTemplateEmailUrlPath', '/alert-desk/template-email-preview/')\r\n .constant('modalTypes', {\r\n postNote: 1,\r\n logCall: 2,\r\n scheduleCall: 3,\r\n scheduleAppt: 4,\r\n }); \r\n})();\r\n","mapUtils.$inject = [\"_\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('mapUtils', mapUtils);\n\nfunction mapUtils(_) {\n \"ngInject\";\n\n var util = {\n getVehicleTrimFullName: getVehicleTrimFullName,\n hasActionAccess: hasActionAccess\n };\n return util;\n\n function getVehicleTrimFullName(vehicle) {\n var trimFullName;\n\n if (vehicle.addModelToTrim) {\n trimFullName = vehicle.modelName + ' ';\n\n if (vehicle.displayCodes && vehicle.mfcModelCode) {\n trimFullName += vehicle.mfcModelCode;\n } else {\n trimFullName += vehicle.trimName;\n }\n } else {\n trimFullName = vehicle.trimName;\n }\n\n return trimFullName;\n }\n\n function hasActionAccess(actionAccess, key) {\n return _.some(actionAccess, function (aa) {\n return aa === key;\n });\n }\n}","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('urlHelper', urlHelper);\r\n\r\nfunction urlHelper() {\r\n var service = {\r\n queryString: queryString\r\n }\r\n\r\n return service;\r\n\r\n function queryString(query) {\r\n // revised from here: http://stackoverflow.com/a/979995/2506135\r\n var queryPart = query.slice(query.indexOf('?') + 1, query.length);\r\n var query_string = {};\r\n var vars = queryPart.split(\"&\");\r\n for (var i = 0; i < vars.length; i++) {\r\n var pair = vars[i].split(\"=\");\r\n // If first entry with this name\r\n if (typeof query_string[pair[0]] === \"undefined\") {\r\n query_string[pair[0]] = decodeURIComponent(pair[1]);\r\n // If second entry with this name\r\n } else if (typeof query_string[pair[0]] === \"string\") {\r\n var arr = [query_string[pair[0]], decodeURIComponent(pair[1])];\r\n query_string[pair[0]] = arr;\r\n // If third or later entry with this name\r\n } else {\r\n query_string[pair[0]].push(decodeURIComponent(pair[1]));\r\n }\r\n }\r\n return query_string;\r\n }\r\n}\r\n","contractService.$inject = [\"$q\", \"alertTypes\", \"coreApi\", \"conquestTypes\", \"saleTypes\", \"vehicleTypes\", \"opportunityTypes\"];\nimport angular from 'angular';\nimport { defaultTo } from '../utilities/utils';\nangular.module('AaApp.Opp').factory('contractService', contractService);\n/* @ngInject */\n\nfunction contractService($q, alertTypes, coreApi, conquestTypes, saleTypes, vehicleTypes, opportunityTypes) {\n var service = {\n getCalculationParameters: getCalculationParameters,\n getCurrentContract: getCurrentContract,\n getReplacementContracts: getReplacementContracts,\n updatePayoff: updatePayoff,\n undoVehiclePaidOff: undoVehiclePaidOff\n };\n return service;\n\n function getCurrentContract(opportunityId, opportunityType) {\n if (opportunityType != opportunityTypes.conquest) {\n return coreApi.api.Sale.GetSaleExtByEntityId['{entityId}'].GET({\n entityId: opportunityId\n }).then(resolveData);\n } else {\n return coreApi.api.CreditSoftPullResultEntityKeep.GetSaleInfoByEntityId['{entityId}'].GET({\n entityId: opportunityId\n }).then(resolveData);\n }\n }\n\n function getReplacementContracts(opportunity, permissions) {\n if (!permissions.payments) {\n // If the user doesn't have access to view contracts, just\n // return an empty response. The UI will detect this case\n // by checking for the appropriate permission.\n return $q.resolve({\n contracts: []\n });\n }\n\n return getCalculationParameters(opportunity).then(function (parameters) {\n return coreApi.api.DealSheet.CalculatePayments.POST(parameters);\n }).then(function (response) {\n return response.data;\n });\n }\n\n function updatePayoff(opportunityId, payoffAmount, goodThroughDate) {\n return coreApi.api.Sale.AddUpdateSalePayoff.POST({\n entityID: opportunityId,\n payOffAmount: payoffAmount,\n payOffGoodThru: goodThroughDate\n }).then(function () {\n return true;\n });\n }\n\n function undoVehiclePaidOff(opportunityId) {\n return coreApi.api.Entity.VehicleNotPaidOff['{entityId}'].POST({}, {\n entityId: opportunityId\n });\n }\n\n function getCalculationParameters(opportunity) {\n return $q.all([coreApi.api.BalanceToMaturity['{entityId}'].GET({\n entityId: opportunity.id,\n saleId: opportunity.currentContract.saleID\n }), coreApi.api.SalePayoffEstimate['{saleId}'].GET({\n saleId: opportunity.currentContract.saleID\n }), coreApi.api.CreditSoftPullResultEntityKeep.GetSaleInfoByEntityId['{entityId}'].GET({\n entityId: opportunity.id\n })]).then(function (response) {\n var balanceToMaturity = response[0].data;\n var salePayoffEstimate = response[1].data;\n var creditConvertSaleData = response[2].data;\n var stillOwnsVehicle = opportunity.type == 3 || opportunity.stillOwned == true;\n var finalTradeValue = defaultTo(function () {\n return opportunity.currentVehicle.tradeValue;\n }, 0) * stillOwnsVehicle;\n var adjustedBalance = defaultTo(function () {\n return salePayoffEstimate.adjustedBalance;\n }, 0) * stillOwnsVehicle;\n var isConquest = opportunity.replacementVehicle.IsConquest == 1 ? true : false;\n var isCreditConvert = creditConvertSaleData != \"\" && opportunity.type == opportunityTypes.conquest;\n var stillOwn = isCreditConvert ? true : opportunity.stillOwned != null ? opportunity.stillOwned : true;\n var paidOff = opportunity.paidOff != null ? opportunity.paidOff : false;\n var maturityDate;\n\n if (!opportunity.currentContract.saleType) {\n maturityDate = new Date(2000, 0, 1);\n } else if (opportunity.currentContract.saleType != saleTypes.lease) {\n maturityDate = opportunity.currentContract.lastPaymentDate ? opportunity.currentContract.lastPaymentDate : opportunity.currentContract.dealDate;\n } else {\n maturityDate = new Date(opportunity.currentContract.lastPaymentDate);\n maturityDate.setMonth(maturityDate.getMonth() - 1);\n } //in alphabetical order.\n\n\n var parameters = {\n adjustedBalance: adjustedBalance ? adjustedBalance : 0,\n balanceToMaturity: (balanceToMaturity != null ? balanceToMaturity.balanceToMaturity : 0) || 0,\n canBTBeApplied: balanceToMaturity.canBeApplied,\n canBTDispositionFeeBeForgiven: balanceToMaturity.canDispositionFeeBeForgiven,\n cashDown: 0,\n dealerGroupId: opportunity.dealer ? opportunity.dealer.dealerGroupId : 0,\n dealerID: opportunity.dealerId,\n dispositionFee: balanceToMaturity.dispositionFee,\n entityId: opportunity.id,\n entityTypeId: opportunity.type,\n finalTradeValue: finalTradeValue,\n interestRate: null,\n isConquest: isConquest,\n isCPO: opportunity.replacementVehicle.type == vehicleTypes.cpo,\n isUsed: opportunity.replacementVehicle.type == vehicleTypes.used,\n keyID: opportunity.keyId,\n leaseRate: null,\n leaseSalesTax: null,\n msrp: opportunity.replacementVehicle.msrp,\n newMakeID: opportunity.replacementVehicle.makeID,\n newTrimID: opportunity.replacementVehicle.trimID,\n newTrimYearID: opportunity.replacementVehicle.yearID,\n newVehiclePrice: opportunity.replacementVehicle.price,\n oldBankID: opportunity.currentContract.bankID,\n oldMakeID: opportunity.currentVehicle.makeID ? opportunity.currentVehicle.makeID : 0,\n oldMaturityDate: maturityDate,\n oldMonthlyPayment: opportunity.currentContract.payment ? opportunity.currentContract.payment : 0,\n oldPaymentsRemaining: opportunity.currentContract.paymentsRemaining,\n oldSaleTypeID: opportunity.currentContract.saleType,\n oldTermID: opportunity.currentContract.term,\n oldTrimID: opportunity.currentVehicle.trimID ? opportunity.currentVehicle.trimID : 0,\n payOffForward: opportunity.currentContract.payoffAmount,\n purchaseSalesTax: null,\n residualPercentage: null,\n saleID: opportunity.currentContract.saleID,\n stateID: opportunity.customer.address.stateId,\n stillOwnAndNotPaidOff: stillOwn && !paidOff,\n tier: null,\n totalPenalty: salePayoffEstimate.totalPenalty,\n useBalloon: true,\n usePullForward: balanceToMaturity.usePullForward,\n useSubsidy: null,\n zipCode: opportunity.customer.address.normalizedZipCode,\n pricingPlanId: opportunity.customer.pricingPlanId,\n useOffBrandCalc: opportunity.replacementVehicle.level > 905\n };\n\n if (opportunity.type == opportunityTypes.conquest) {\n parameters.saleID = null;\n parameters.oldBankID = 0;\n parameters.cashDown = 0;\n parameters.oldMaturityDate = new Date(2000, 0, 1);\n parameters.oldTermID = 1;\n parameters.oldPaymentsRemaining = 0;\n parameters.oldMonthlyPayment = 0;\n }\n\n if (isCreditConvert) {\n parameters.adjustedBalance = creditConvertSaleData.adjustedBalance ? creditConvertSaleData.adjustedBalance : 0;\n parameters.oldBankID = creditConvertSaleData.bankID;\n parameters.oldMonthlyPayment = creditConvertSaleData.payment ? creditConvertSaleData.payment : 0;\n parameters.oldPaymentsRemaining = creditConvertSaleData.paymentsRemaining;\n parameters.oldSaleTypeID = creditConvertSaleData.saleType;\n parameters.oldTermID = creditConvertSaleData.term;\n\n if (creditConvertSaleData.saleType == saleTypes.lease && creditConvertSaleData.lastPaymentDate) {\n var oldMaturityDate = new Date(creditConvertSaleData.lastPaymentDate);\n oldMaturityDate.setMonth(maturityDate.getMonth() - 1);\n parameters.oldMaturityDate = oldMaturityDate;\n } else {\n parameters.oldMaturityDate = opportunity.currentContract.endDate ? opportunity.currentContract.endDate : new Date(2000, 0, 1);\n }\n }\n\n return parameters;\n });\n }\n\n function resolveData(response) {\n return response.data ? response.data : {};\n }\n}","dealSheetService.$inject = [\"$document\", \"$state\", \"$uibModal\", \"coreApi\", \"dmsPushApi\", \"dealSheetUrl\", \"globalIframeService\", \"logger\", \"urlHelper\", \"ActivityActionEnum\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('dealSheetService', dealSheetService);\n\nfunction dealSheetService($document, $state, $uibModal, coreApi, dmsPushApi, dealSheetUrl, globalIframeService, logger, urlHelper, ActivityActionEnum) {\n \"ngInject\";\n\n var service = {\n getDealSheetUrl: getDealSheetUrl,\n getDealSheetLiteUrl: getDealSheetLiteUrl,\n openDealSheetModal: openDealSheetModal,\n openDealSheetLiteModal: openDealSheetLiteModal,\n modalDisplayState: 'new',\n activeDealSheet: '',\n openScheduleModal: openModalDialog,\n getModalParamObject: getModalParamObject,\n getDealHistory: getDealHistory,\n getEntityEnterpriseCustomers: getEntityEnterpriseCustomers,\n pushToDeskit: pushToDeskit,\n isVAutoEnabled: isVAutoEnabled,\n isVinCueEnabled: isVinCueEnabled,\n vAutoCreateAppraisal: vAutoCreateAppraisal,\n vinCueCreateAppraisal: vinCueCreateAppraisal,\n getLatestAppraisal: getLatestAppraisal,\n getLatestAppraisalVinCue: getLatestAppraisalVinCue,\n dmsPushCustomer: dmsPushCustomer,\n dmsPushPushFAndI: dmsPushPushFAndI,\n dmsPushGetLatest: dmsPushGetLatest,\n isDmsPushValid: isDmsPushValid\n };\n return service;\n\n function isVAutoEnabled(dealerId) {\n return dmsPushApi.api.vAuto.IsEnabled['{dealerId}'].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function isVinCueEnabled(dealerId) {\n return dmsPushApi.api.VinCue.IsEnabled['{dealerId}'].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function isDmsPushValid(dealerId) {\n return dmsPushApi.api.DmsPush.IsDmsPushValid['{dealerId}'].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function dmsPushCustomer(request) {\n return dmsPushApi.api.DmsPush.PushCustomer.POST(request).then(function (response) {\n return response.data;\n });\n }\n\n function dmsPushPushFAndI(request) {\n return dmsPushApi.api.DmsPush.PushFAndI.POST(request).then(function (response) {\n return response.data;\n });\n }\n\n function dmsPushGetLatest(request) {\n return dmsPushApi.api.DmsPush.GetLatestDmsPushSuccess.POST(request).then(function (response) {\n return response.data;\n });\n }\n\n function vAutoCreateAppraisal(request) {\n return dmsPushApi.api.vAuto.CreateAppraisal.POST(request).then(function (response) {\n return response.data;\n });\n }\n\n function vinCueCreateAppraisal(request) {\n return dmsPushApi.api.VinCue.CreateAppraisal.POST(request).then(function (response) {\n return response.data;\n });\n }\n\n function getLatestAppraisal(dealerId, vin) {\n return dmsPushApi.api.vAuto.GetLatestAppraisalByVin['{dealerId}']['{vin}'].GET({\n dealerId: dealerId,\n vin: vin\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getLatestAppraisalVinCue(dealerId, vin) {\n return dmsPushApi.api.VinCue.GetLatestAppraisalByVin['{dealerId}']['{vin}'].GET({\n dealerId: dealerId,\n vin: vin\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getDealHistory(opportunityId) {\n return coreApi.api.DealSheet.GetDealHistory['{entityId}'].POST({}, {\n entityId: opportunityId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getEntityEnterpriseCustomers(opportunityId) {\n return coreApi.api.Entity.GetEntityEnterpriseCustomers['{entityId}'].GET({\n entityId: opportunityId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function pushToDeskit(pushRequest) {\n return coreApi.api.Deskit.PushToDeskit.POST(pushRequest).then(resolveData);\n }\n\n function resolveData(response) {\n if (response && response.data) {\n return response.data;\n } else {\n return null;\n }\n }\n\n function getDealSheetUrl(opportunityId) {\n return $state.href('dealSheet', {\n opportunityId: opportunityId\n }, {\n absolute: true\n });\n }\n\n function getDealSheetLiteUrl(entityId) {\n return $state.href('dealSheetLite', {\n entityId: entityId\n }, {\n absolute: true\n });\n }\n\n function openDealSheetLiteModal(vw_search, entityID, callback) {\n var parentElem = angular.element($document[0].querySelector('#aa-app')); // Need to hide the scrollbar of the current page before displaying the modal\n // to eliminate the double-scroll bars.\n\n parentElem.css('overflowY', 'hidden');\n var modalInstance = $uibModal.open({\n animation: true,\n //$ctrl.animationsEnabled,\n component: 'dealSheetLiteModal',\n appendTo: parentElem,\n windowClass: 'modal-aa-lg modal-aa-lg-dealsheet',\n backdropClass: 'modal-aa-lg-backdrop',\n resolve: {\n vwsearch: function vwsearch() {\n return vw_search;\n },\n opportunityId: function opportunityId() {\n return vw_search != null ? vw_search._EntityID : entityID;\n },\n calculationType: function calculationType() {\n return null;\n },\n stockNo: function stockNo() {\n return null;\n }\n }\n });\n modalInstance.result.then(function (selectedItem) {\n parentElem.css('overflowY', 'visible');\n\n if (callback) {\n callback(entityID);\n }\n });\n }\n\n function openDealSheetModal(dealsheetId, url, callback) {\n if (!dealsheetId) {\n logger.genericError('DealsheetId must be passed in.');\n }\n\n var autoalertIframe = angular.element($document[0].querySelector('#autoalertiframe'));\n if (autoalertIframe.length > 0) autoalertIframe.blur();\n var parentElem = angular.element($document[0].querySelector('#aa-app')); // Need to hide the scrollbar of the current page before displaying the modal\n // to eliminate the double-scroll bars.\n\n parentElem.css('overflowY', 'hidden');\n\n var _calculationType;\n\n var _stockNo;\n\n if (url) {\n _calculationType = urlHelper.queryString(url).calc || 'null';\n _stockNo = urlHelper.queryString(url).sn;\n } else {\n service.activeDealSheet = dealSheetUrl + dealsheetId + \"&snav=true\";\n }\n\n var modalInstance = $uibModal.open({\n animation: true,\n //$ctrl.animationsEnabled,\n component: 'dealSheetModal',\n appendTo: parentElem,\n windowClass: 'modal-aa-lg modal-aa-lg-dealsheet',\n backdropClass: 'modal-aa-lg-backdrop',\n resolve: {\n opportunityId: function opportunityId() {\n return dealsheetId;\n },\n calculationType: function calculationType() {\n return _calculationType;\n },\n stockNo: function stockNo() {\n return _stockNo;\n }\n }\n });\n modalInstance.result.then(function () {\n _verifyCallback(callback, dealsheetId);\n }, function () {\n _verifyCallback(callback, dealsheetId);\n\n globalIframeService.postMessage({\n 'task': 'opportunity_refresh'\n });\n }).catch(function () {\n _verifyCallback(callback, dealsheetId);\n });\n\n function _verifyCallback(callback, dealsheetId) {\n // Need to undo what we did above before we opened the modal\n parentElem.css('overflowY', 'visible');\n\n if (callback && dealsheetId) {\n callback(dealsheetId);\n }\n }\n } // this is the common object to pass data to modal dialog box\n\n\n function getModalParamObject(modalType, opportunityId, dealerId, dealSheetOwnerId, maxScheduleFutureDays, usersObject, activityObject, ownerUserInfoObject, expirationDate) {\n return {\n modalType: modalType,\n componentName: 'schedule',\n opportunityId: opportunityId,\n dealerId: dealerId,\n dealSheetOwnerId: dealSheetOwnerId,\n maxScheduleFutureDays: maxScheduleFutureDays,\n usersObject: usersObject,\n activityObject: activityObject,\n ownerUserInfoObject: ownerUserInfoObject,\n expirationDate: expirationDate\n };\n }\n\n function openModalDialog(modalParamObject, callback) {\n switch (modalParamObject.modalType) {\n case ActivityActionEnum.Log_Call:\n modalParamObject.componentName = 'logCallModal';\n break;\n\n case ActivityActionEnum.Appointment_Completed:\n case ActivityActionEnum.Phone_Call_Completed:\n case ActivityActionEnum.Cancel_Call:\n case ActivityActionEnum.Cancel_Appt:\n case ActivityActionEnum.Post_Note:\n case ActivityActionEnum.Email_Sent:\n modalParamObject.componentName = 'postNotes';\n break;\n\n case ActivityActionEnum.Reschedule_Appt:\n case ActivityActionEnum.Reschedule_Call:\n case ActivityActionEnum.Schedule_Call:\n case ActivityActionEnum.Schedule_Appt:\n modalParamObject.componentName = 'schedule';\n break;\n }\n\n var IsFollowUp = false;\n var modalInstance = $uibModal.open({\n animation: true,\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n component: modalParamObject.componentName,\n size: modalParamObject.componentName == 'schedule' ? 'lg' : null,\n resolve: {\n items: function items() {\n return modalParamObject;\n }\n }\n }); // result from submit\n\n modalInstance.result.then(function (returnedData) {\n // schedule cancel on no followup action\n if (returnedData == 'followup-cancel' && !IsFollowUp) {\n return;\n } // schedule cancel on followup action\n\n\n if (returnedData == 'followup-cancel' && IsFollowUp) {\n callBackScheduleModal(callback, 'onScheduleRefresh');\n IsFollowUp = false;\n return;\n } // on followup action\n\n\n if (returnedData != 'cancel' || returnedData != 'submit') {\n //activityResultID = 23 , 11, 7 maps to ResulyKeySold\n if (returnedData.followUpActions.length > 1) {\n if (returnedData.activityResult == 23 || returnedData.activityResult == 11 || returnedData.activityResult == 7) {\n callBackScheduleModal(callback, 'onVehicleSold');\n } else {\n IsFollowUp = true;\n modalParamObject.modalType = returnedData.followUpActions[0].activityActionId;\n openFollowUpActions(returnedData, modalParamObject, callback);\n }\n } else if (returnedData.followUpActions.length > 0) {\n IsFollowUp = true; // if only 1 follow-up launch it\n\n modalParamObject.modalType = returnedData.followUpActions[0].activityActionId; //modalParamObject.activityObject.activityId = null;\n\n openModalDialog(modalParamObject, callback);\n } else {\n // update status and activity grid\n if (returnedData.activityId == ActivityActionEnum.Post_Note || returnedData.activityId == ActivityActionEnum.Log_Call || returnedData.activityId == ActivityActionEnum.Schedule_Call || returnedData.activityId == ActivityActionEnum.Schedule_Appt || returnedData.activityId == ActivityActionEnum.Schedule_Call || returnedData.activityId == ActivityActionEnum.Schedule_Appt || returnedData.activityId == ActivityActionEnum.Reassign_Call || returnedData.activityId == ActivityActionEnum.Reschedule_Call || returnedData.activityId == ActivityActionEnum.Reassign_Appt || returnedData.activityId == ActivityActionEnum.Reschedule_Appt || returnedData.activityId == ActivityActionEnum.Cancel_Call || returnedData.activityId == ActivityActionEnum.Cancel_Appt || returnedData.activityId == ActivityActionEnum.Phone_Call_Completed || returnedData.activityId == ActivityActionEnum.Appointment_Completed) {\n callBackScheduleModal(callback, 'onScheduleRefresh');\n }\n }\n }\n });\n\n function openFollowUpActions(_followUpActions, modalParamObject, callback) {\n var modalInstance = $uibModal.open({\n animation: true,\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n component: \"activityFollowUpModal\",\n resolve: {\n followUpActions: function followUpActions() {\n return _followUpActions;\n }\n }\n }); // result from followup action could be: 'cancel', 3 or 4\n\n modalInstance.result.then(function (modalType) {\n if (modalType != 'followup-cancel') {\n modalParamObject.modalType = modalType;\n openModalDialog(modalParamObject, callback);\n } else {\n callBackScheduleModal(callback, 'onScheduleRefresh');\n }\n });\n }\n\n function callBackScheduleModal(callback, returnValue) {\n if (callback) {\n callback(returnValue);\n }\n }\n }\n}","eulaModalService.$inject = [\"$q\", \"$state\", \"$document\", \"$uibModal\", \"coreApi\", \"userService\", \"eulaStatusTypes\", \"eulaResponseTypes\", \"storageService\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('eulaModalService', eulaModalService);\n/* @ngInject */\n\nfunction eulaModalService($q, $state, $document, $uibModal, coreApi, userService, eulaStatusTypes, eulaResponseTypes, storageService) {\n var service = {\n validateEulaOnStart: validateEulaOnStart,\n validateEula: validateEula,\n statusId: null,\n isEmailEnabled: isEmailEnabled\n };\n\n function isEmailEnabled() {\n return validateStatusId().then(function () {\n switch (service.statusId) {\n case eulaStatusTypes.fullyAccepted:\n return true;\n\n case eulaStatusTypes.notAccepted:\n return false;\n\n case eulaStatusTypes.canadaAddendumNeeded:\n return false;\n\n case eulaStatusTypes.canadaAddendumDeferred:\n return false;\n }\n\n return true;\n });\n }\n\n function validateEulaOnStart() {\n return userService.getEulaStatus().then(function (sId) {\n storageService.setItem('statusId', sId);\n service.statusId = sId;\n\n if (service.statusId != eulaStatusTypes.notAccepted) {\n return processStatus();\n }\n });\n }\n\n function validateEula() {\n return processStatus();\n }\n\n function validateStatusId() {\n if (!service.statusId) {\n service.statusId = storageService.getItem('statusId');\n\n if (service.statusId == null) {\n return validateEulaOnStart();\n }\n }\n\n return $q.resolve();\n }\n\n function processStatus() {\n return validateStatusId().then(function () {\n switch (service.statusId) {\n case eulaStatusTypes.fullyAccepted:\n //do nothing. The response is known.\n return $q.resolve(true);\n\n case eulaStatusTypes.notAccepted:\n return challengeResponse(0);\n // 0 = Canada Addendum. TODO: make a type that corresponds to \"Eula\" table.\n\n case eulaStatusTypes.canadaAddendumNeeded:\n return challengeResponse(0);\n // 0 = Canada Addendum. TODO: make a type that corresponds to \"Eula\" table.\n\n case eulaStatusTypes.canadaAddendumDeferred:\n return challengeResponse(0);\n // 0 = Canada Addendum. TODO: make a type that corresponds to \"Eula\" table.\n }\n });\n }\n\n function openModal(options) {\n options.appendTo = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open(options); //wierdest factory constructor ever.\n\n return modalInstance;\n }\n\n function challengeResponse(eulaId) {\n return userService.getEula(eulaId).then(function (data) {\n var modal = openModal({\n animation: true,\n component: 'eulaModal',\n backdrop: 'static',\n keyboard: false,\n resolve: {\n title: function title() {\n return \"End User License Agreement - CASL Compliance Addendum\"; //change this\n },\n message: function message() {\n return data.eulaText;\n },\n warning: function warning() {\n return \"Note: Declining or deferring acceptance of this addendum will result in all email functionality within AutoAlert to be disabled until such a time as the addendum is accepted.\";\n }\n }\n });\n return modal.result.then(function (modalResponse) {\n switch (modalResponse) {\n case \"accept\":\n userService.postResponse(eulaId, eulaResponseTypes.accept); //addendum ID\n\n service.statusId = eulaStatusTypes.fullyAccepted;\n storageService.setItem('statusId', eulaStatusTypes.fullyAccepted);\n return true;\n\n case \"decline\":\n userService.postResponse(eulaId, eulaResponseTypes.decline); //addendum ID\n\n service.statusId = eulaStatusTypes.notAccepted;\n storageService.setItem('statusId', eulaStatusTypes.notAccepted);\n return false;\n\n case \"defer\":\n userService.postResponse(eulaId, eulaResponseTypes.defer); //addendum ID\n\n service.statusId = eulaStatusTypes.canadaAddendumDeferred;\n storageService.setItem('statusId', eulaStatusTypes.canadaAddendumDeferred);\n return false;\n }\n });\n });\n }\n\n return service;\n}","externalService.$inject = [\"$q\", \"$http\", \"coreApi\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('externalService', externalService);\n/* @ngInject */\n\nfunction externalService($q, $http, coreApi) {\n var service = {\n getValidExternalDealsheetJWTToken: getValidExternalDealsheetJWTToken,\n getValidExternalPageJWTToken: getValidExternalPageJWTToken\n };\n return service;\n\n function getValidExternalDealsheetJWTToken(entityId, vHash, accesCode, dealerId) {\n return coreApi.api.Authentication.CrmLogin['{entityId}']['{vHash}']['{accesCode}']['{dealerId}'].GET({\n entityId: entityId,\n vHash: vHash,\n accesCode: accesCode,\n dealerId: dealerId\n });\n }\n\n function getValidExternalPageJWTToken(accesCode, dealerId) {\n return coreApi.api.Authentication.CrmLoginPage['{accesCode}']['{dealerId}'].GET({\n accesCode: accesCode,\n dealerId: dealerId\n });\n }\n}","import \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nFeatureToggleService.$inject = [\"featureToggles\", \"dealerService\"];\nimport angular from 'angular';\nimport opportunities from '../core/opportunities.module';\nangular.module(opportunities).factory('featureToggleService', FeatureToggleService);\n\nfunction FeatureToggleService(featureToggles, dealerService) {\n \"ngInject\";\n\n return {\n customerEngagementWidget: customerEngagementWidget,\n useFakeCustomerEngagementData: useFakeCustomerEngagementData\n };\n\n function customerEngagementWidget() {\n return calculateFeatureToggle(featureToggles.enableCustomerEngagementWidget);\n }\n\n function useFakeCustomerEngagementData() {\n return calculateFeatureToggle(featureToggles.useFakeCustomerEngagementData);\n }\n\n function calculateFeatureToggle(feature) {\n // falsy means the feature is off\n if (!feature) return false; // Literal 'true' means the feature is on for all dealers\n\n if (feature === true) return true; // If it's an array, it is a list of dealer IDs that should have the\n // feature enabled.\n\n if (Array.isArray(feature)) {\n var selectedDealers = dealerService.getSelectedDealerIds() || [];\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = selectedDealers[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var selectedDealerId = _step.value;\n\n if (feature.includes(selectedDealerId)) {\n return true;\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n\n return false;\n }\n}","financialsService.$inject = [\"$q\", \"coreApi\", \"$filter\", \"dealerService\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('financialsService', financialsService);\n/* @ngInject */\n\nfunction financialsService($q, coreApi, $filter, dealerService) {\n var service = {\n getConvertInfo: getConvertInfo,\n getBankSelect: getBankSelect,\n getConvertSaleTypes: getConvertSaleTypes,\n getFinancialsData: getFinancialsData,\n getUsers: getUsers,\n submitConvertInfo: submitConvertInfo\n };\n return service;\n\n function getFinancialsData(entityId, dealerId) {\n var deferred = $q.defer();\n $q.all([service.getConvertInfo(entityId), service.getBankSelect(dealerId), service.getConvertSaleTypes(), service.getUsers(dealerId)]).then(resolveGetFinancialsData(deferred)).catch(function (ex) {\n deferred.reject(ex);\n });\n return deferred.promise;\n }\n\n function resolveGetFinancialsData(deferred) {\n return function (data) {\n var financials = {\n convert: data[0],\n banks: data[1],\n saleOptions: data[2],\n users: data[3]\n };\n deferred.resolve(financials);\n };\n }\n\n function getConvertInfo(entityId) {\n var deferred = $q.defer();\n coreApi.api.Convert.GetConvertInfo['{entityId}'].GET({\n entityId: entityId\n }).then(resolveGetConvertInfo(deferred)).catch(function (ex) {\n deferred.reject(ex);\n });\n return deferred.promise;\n }\n\n function resolveGetConvertInfo(deferred) {\n return function (response) {\n var convert = response.data;\n\n if (convert.selectedBank && convert.selectedBank.type !== undefined && convert.selectedBank.type !== null) {\n convert.selectedBank.typeName = $filter('translate')('bankSelectType' + convert.selectedBank.type);\n }\n\n deferred.resolve(convert);\n };\n }\n\n function getBankSelect(dealerId) {\n var deferred = $q.defer();\n coreApi.api.Bank.GetBankSelect['{dealerId}'].GET({\n dealerId: dealerId\n }).then(resolveGetBankSelect(deferred)).catch(function (ex) {\n deferred.reject(ex);\n });\n return deferred.promise;\n }\n\n function resolveGetBankSelect(deferred) {\n return function (response) {\n var banks = response.data;\n\n for (var i = 0; i < banks.length; i++) {\n banks[i].typeName = $filter('translate')('bankSelectType' + banks[i].type);\n }\n\n deferred.resolve(banks);\n };\n }\n\n function getConvertSaleTypes() {\n var deferred = $q.defer();\n coreApi.api.Convert.GetConvertSaleTypes.GET().then(resolveGetConvertSaleTypes(deferred)).catch(function (ex) {\n deferred.reject(ex);\n });\n return deferred.promise;\n }\n\n function resolveGetConvertSaleTypes(deferred) {\n return function (response) {\n deferred.resolve(response.data);\n };\n }\n\n function getUsers(dealerId) {\n var deferred = $q.defer();\n dealerService.getEnabledUsersForDealer(dealerId).then(resolveGetUsers(deferred)).catch(function (ex) {\n deferred.reject(ex);\n });\n return deferred.promise;\n }\n\n function resolveGetUsers(deferred) {\n return function (response) {\n var users = [];\n\n for (var i = 0; i < response.length; i++) {\n var user = {\n id: response[i].userID,\n fullName: response[i].fullName\n };\n users.push(user);\n }\n\n deferred.resolve(users);\n };\n }\n\n function submitConvertInfo(convert) {\n var deferred = $q.defer();\n coreApi.api.Convert.PostConvertInfo.POST(convert).then(resolveSubmitConvertInfo(deferred)).catch(function (ex) {\n deferred.reject(ex);\n });\n return deferred.promise;\n }\n\n function resolveSubmitConvertInfo(deferred) {\n return function (response) {\n deferred.resolve(response);\n };\n }\n}","import angular from 'angular';\r\nimport { OpportunitiesModule } from '../core/opportunities.module';\r\nimport { Subject } from 'rxjs';\r\nimport { appSettings } from '../core/config.module';\r\nimport { getUrlComponents } from '../utilities/url';\r\nimport { ChildMessagePort } from '../utilities/messaging';\r\n\r\nOpportunitiesModule.factory('globalIframeService', function($logFactory) {\r\n \"ngInject\";\r\n return new GlobalIframeService($logFactory.get(\"globalIframeService\"));\r\n});\r\n\r\n/**\r\n * A message port that always sends/receives data from the \"current\"\r\n * #autoalertiframe.\r\n *\r\n * This is necessary because three different components all create an\r\n * #autoalertiframe element, and they just happen to be mutually exclusive on\r\n * the page:\r\n *\r\n * - aaIframe\r\n * - legacyIframeSupport\r\n * - iframeModal\r\n *\r\n * Each of these components has coincidentally created an #autoalertiframe when\r\n * our page is expecting to be able to postMessage to that iframe.\r\n *\r\n * THIS IS A BACKWARDS-COMPATIBILITY UTILITY. We should gradually separate \"the\r\n * iframe that is displaying a legacy page\" and \"the iframe that responds to\r\n * messages like GET_SSO_ID_TOKEN\". We should have a single, hidden,\r\n * never-destroyed iframe that sends/receives all messages, and our app can\r\n * expose that one iframe as a service.\r\n */\r\nclass GlobalIframeService {\r\n constructor($log) {\r\n this._$log = $log;\r\n this._subscriptions = new Subject();\r\n this._subscriptions.subscribe(({ event, port }) => $log.debug(\"Received\", event.data, port))\r\n }\r\n\r\n setCurrentMessagePort(port, $scope) {\r\n this._port = port;\r\n\r\n let onMessageReceived;\r\n if ($scope) {\r\n onMessageReceived = event => $scope.$apply(() => this._subscriptions.next({ event, port }));\r\n } else {\r\n onMessageReceived = event => this._subscriptions.next({ event, port });\r\n }\r\n this._port.subscribe(onMessageReceived);\r\n }\r\n\r\n postMessage(data) {\r\n if (this._port) {\r\n this._$log.debug(\"Posting message\", data);\r\n return this._port.postMessage(data);\r\n } else {\r\n this._$log.warn(\"Tried to post a message when no port is available\");\r\n }\r\n }\r\n\r\n subscribe(callback) {\r\n return this._subscriptions.subscribe({\r\n next: ({ event, port }) => callback(event, port),\r\n });\r\n }\r\n}\r\n\r\n","function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nimport angular from 'angular';\nimport { OpportunitiesModule } from '../core/opportunities.module';\nimport { Subject } from 'rxjs';\nimport { appSettings } from '../core/config.module';\nimport { getUrlComponents } from '../utilities/url';\nimport { ChildMessagePort } from '../utilities/messaging';\nOpportunitiesModule.factory('globalIframeService', [\"$logFactory\", function ($logFactory) {\n \"ngInject\";\n\n return new GlobalIframeService($logFactory.get(\"globalIframeService\"));\n}]);\n/**\r\n * A message port that always sends/receives data from the \"current\"\r\n * #autoalertiframe.\r\n *\r\n * This is necessary because three different components all create an\r\n * #autoalertiframe element, and they just happen to be mutually exclusive on\r\n * the page:\r\n *\r\n * - aaIframe\r\n * - legacyIframeSupport\r\n * - iframeModal\r\n *\r\n * Each of these components has coincidentally created an #autoalertiframe when\r\n * our page is expecting to be able to postMessage to that iframe.\r\n *\r\n * THIS IS A BACKWARDS-COMPATIBILITY UTILITY. We should gradually separate \"the\r\n * iframe that is displaying a legacy page\" and \"the iframe that responds to\r\n * messages like GET_SSO_ID_TOKEN\". We should have a single, hidden,\r\n * never-destroyed iframe that sends/receives all messages, and our app can\r\n * expose that one iframe as a service.\r\n */\n\nvar GlobalIframeService =\n/*#__PURE__*/\nfunction () {\n function GlobalIframeService($log) {\n _classCallCheck(this, GlobalIframeService);\n\n this._$log = $log;\n this._subscriptions = new Subject();\n\n this._subscriptions.subscribe(function (_ref) {\n var event = _ref.event,\n port = _ref.port;\n return $log.debug(\"Received\", event.data, port);\n });\n }\n\n _createClass(GlobalIframeService, [{\n key: \"setCurrentMessagePort\",\n value: function setCurrentMessagePort(port, $scope) {\n var _this = this;\n\n this._port = port;\n var onMessageReceived;\n\n if ($scope) {\n onMessageReceived = function onMessageReceived(event) {\n return $scope.$apply(function () {\n return _this._subscriptions.next({\n event: event,\n port: port\n });\n });\n };\n } else {\n onMessageReceived = function onMessageReceived(event) {\n return _this._subscriptions.next({\n event: event,\n port: port\n });\n };\n }\n\n this._port.subscribe(onMessageReceived);\n }\n }, {\n key: \"postMessage\",\n value: function postMessage(data) {\n if (this._port) {\n this._$log.debug(\"Posting message\", data);\n\n return this._port.postMessage(data);\n } else {\n this._$log.warn(\"Tried to post a message when no port is available\");\n }\n }\n }, {\n key: \"subscribe\",\n value: function subscribe(callback) {\n return this._subscriptions.subscribe({\n next: function next(_ref2) {\n var event = _ref2.event,\n port = _ref2.port;\n return callback(event, port);\n }\n });\n }\n }]);\n\n return GlobalIframeService;\n}();","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('googleService', googleService);\r\n\r\n/* @ngInject */\r\nfunction googleService($q, coreApi, $filter, $http, googleApi) {\r\n var service = {\r\n getCoordinates : getCoordinates,\r\n getGoogle : getGoogle,\r\n isLoaded: false\r\n };\r\n\r\n\r\n return service;\r\n \r\n function getCoordinates(address){\r\n var deferred = $q.defer();\r\n\r\n //Google needs to use the xhr request because it sends the response body to GET request in the OPTIONS response (from CORS). it never actually sends a \"success\" code to the OPTIONS request, so the GET request is never actually sent.\r\n function GoogleXhrRequest() { \r\n var xhr = new XMLHttpRequest();\r\n xhr.onload = function(data){\r\n var response = JSON.parse(xhr.responseText);\r\n deferred.resolve(response);\r\n };\r\n xhr.onerror = function(error){\r\n deferred.reject(error);\r\n };\r\n xhr.open('GET', 'https://maps.googleapis.com/maps/api/geocode/json?key='+googleApi.key+'&address=' + encodeURIComponent(address));\r\n xhr.send();\r\n }\r\n \r\n\r\n $q.all([\r\n GoogleXhrRequest()\r\n ]);\r\n\r\n return deferred.promise;\r\n\r\n }\r\n\r\n function getGoogle(){\r\n return loadScript(\"https://maps.googleapis.com/maps/api/js?key=\"+googleApi.key);\r\n }\r\n\r\n \r\n function loadScript(url)\r\n {\r\n if (!service.isLoaded){\r\n // Adding the script tag to the head as suggested before\r\n var head = document.getElementsByTagName('head')[0];\r\n var script = document.createElement('script');\r\n script.type = 'text/javascript';\r\n script.src = url;\r\n\r\n service.promise = new Promise(function(resolve, reject){\r\n // Then bind the event to the callback function.\r\n // There are several events for cross browser compatibility.\r\n script.onreadystatechange = ()=> resolve(window.google);\r\n script.onload = ()=> resolve(window.google);\r\n\r\n // Fire the loading\r\n head.appendChild(script);\r\n });\r\n }\r\n service.isLoaded = true;\r\n return service.promise;\r\n }\r\n\r\n}\r\n\r\n//let scriptLoaded = loadScript(\"https://maps.googleapis.com/maps/api/js?key=AIzaSyAQoXpF4ANaLzdEDRQ2e5nZHMa1Otgk_Q4\");\r\n//export function getGoogle(){\r\n// return scriptLoaded;\r\n//}\r\n\r\n//function loadScript(url)\r\n//{\r\n// // Adding the script tag to the head as suggested before\r\n// var head = document.getElementsByTagName('head')[0];\r\n// var script = document.createElement('script');\r\n// script.type = 'text/javascript';\r\n// script.src = url;\r\n\r\n// return new Promise(function(resolve, reject){\r\n// // Then bind the event to the callback function.\r\n// // There are several events for cross browser compatibility.\r\n// script.onreadystatechange = ()=> resolve(window.google);\r\n// script.onload = ()=> resolve(window.google);\r\n\r\n// // Fire the loading\r\n// head.appendChild(script);\r\n// });\r\n//}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('opportunityCountsService', opportunityCountsService);\r\n\r\n/* @ngInject */\r\nfunction opportunityCountsService($q, coreApi) {\r\n var service = {\r\n getOpportunityCounts: getOpportunityCounts,\r\n\r\n };\r\n\r\n return service;\r\n\r\n function getOpportunityCounts(selectedDealerId, flushCache) {\r\n return coreApi.api.OpportunityCounts.GetOpportunityCounts.GET({ flushCache }, { overrideDealerIds: [ selectedDealerId ] })\r\n .then(response => response.data);\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('opportunityService', opportunityService);\r\n\r\n/* @ngInject */\r\nfunction opportunityService(\r\n $filter,\r\n $q,\r\n alertTypes,\r\n conquestTypes,\r\n contractService,\r\n coreApi,\r\n customerService,\r\n dealSheetService,\r\n dealerService,\r\n discrepancyTypes,\r\n mapUtils,\r\n modules,\r\n opportunityStatuses,\r\n opportunityTypes,\r\n userService,\r\n vehicleService,\r\n vehicleTypes,\r\n fordFBATypes\r\n) {\r\n\r\n var service = {\r\n getOpportunity: getOpportunity,\r\n addAlertsAsProperties: addAlertsAsProperties,\r\n updateAssignedUser: updateAssignedUser,\r\n setAlertDetails: setAlertDetails,\r\n logTradeValueChange: logTradeValueChange,\r\n getOpportunitiesByCustomerId: getOpportunitiesByCustomerId,\r\n getOpportunitiesByVin: getOpportunitiesByVin,\r\n getCreditSoftPullResultAsync: getCreditSoftPullResultAsync,\r\n markOpportunityWatched: markOpportunityWatched,\r\n markOpportunityUnwatched: markOpportunityUnwatched,\r\n resetActivityNotification: resetActivityNotification,\r\n reopenOpportunity: reopenOpportunity,\r\n activityNotification: { triggered: false, notify: false },\r\n submitCreditPrescreenRequest: submitCreditPrescreenRequest,\r\n getCreditPrescreenStatus: getCreditPrescreenStatus,\r\n getTags: getTags,\r\n getChangeLogs: getChangeLogs,\r\n submitDiscrepancy: submitDiscrepancy,\r\n getTagsPivotForDealers: getTagsPivotForDealers,\r\n addTermOverrideChangeLog: addTermOverrideChangeLog,\r\n addPriceOverrideChangeLog: addPriceOverrideChangeLog,\r\n getPandoClaim: getPandoClaim,\r\n hasReviewProDealer: hasReviewProDealer,\r\n hasGeoAlertDealer: hasGeoAlertDealer,\r\n getOwnerUserInfo:getOwnerUserInfo,\r\n getOpportunityEntityOnly:getOpportunityEntityOnly,\r\n getAllSaleTypeLocalization: getAllSaleTypeLocalization,\r\n getSaleExtByEntityId: getSaleExtByEntityId,\r\n getOpportunityFromView: getOpportunityFromView,\r\n getOpportunityFromViewEntityId: getOpportunityFromViewEntityId,\r\n getVehicleTurnPredictor: getVehicleTurnPredictor,\r\n getActiveNLPNoLongerOwn: getActiveNLPNoLongerOwn,\r\n updateActiveNLPNoLongerOwn: updateActiveNLPNoLongerOwn\r\n };\r\n\r\n return service;\r\n\r\n // Temporary due to Euro-lite demo timeconstraint - Refactor in next release.\r\n function getAllSaleTypeLocalization(){\r\n return coreApi.api.Sale.GetAllSaleTypeLocalization.GET()\r\n .then(function (response) {\r\n return response.data ? response.data : [];\r\n });\r\n }\r\n\r\n function getSaleExtByEntityId(entityId) {\r\n return coreApi.api.Sale.GetSaleExtByEntityId['{entityId}'].GET({ entityId: entityId })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getVehicleTurnPredictor(entityId) {\r\n return coreApi.api.Entity.GetVehicleTurnPredictor['{entityId}'].GET({ entityId: entityId })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getActiveNLPNoLongerOwn(entityId) {\r\n return coreApi.api.Entity.GetActiveNLPNoLongerOwn['{entityId}'].GET({ entityId: entityId })\r\n .then(function (response) {\r\n //response.hasData = true;\r\n return response.data;\r\n });\r\n }\r\n\r\n function updateActiveNLPNoLongerOwn(entityId, agreed) {\r\n return coreApi.api.Entity.UpdateActiveNLPNoLongerOwn.POST({ \"entityId\": entityId, \"agreed\": agreed });\r\n }\r\n\r\n function getOpportunity(opportunityId, stockNo, calculationType, dsPermissions, moduleIds) {\r\n return coreApi.api.Entity.GetExt['{entityId}'].GET({ entityId: opportunityId })\r\n .then(resolveDealerSettings(stockNo, calculationType, dsPermissions));\r\n\r\n function resolveDealerSettings(stockNo, calculationType, dsPermissions){\r\n return function resolveDealerSettingsClosure(response){\r\n return dealerService.getDealerSettings(response.data.dealerID)\r\n .then(resolveOpportunity(stockNo, response, dsPermissions));\r\n }\r\n }\r\n\r\n function resolveOpportunity(stockNo, response, dsPermissions) {\r\n return function resolveOpportunityClosure(settings) {\r\n\r\n if (settings.allowExpiration && isExpired(response.data.expirationDate)) {\r\n throw new Error(\"Deal sheet has expired\");\r\n }\r\n\r\n var status;\r\n if (response.data.scheduled) {\r\n status = opportunityStatuses.scheduled;\r\n } else if (response.data.isMarkedAsSold) {\r\n status = opportunityStatuses.sold;\r\n } else if (response.data.closed) {\r\n status = opportunityStatuses.closed;\r\n } else {\r\n status = opportunityStatuses.open;\r\n }\r\n var opportunity = {\r\n id: response.data.entityID,\r\n actionAccess: response.data.actionAccess,\r\n keyId: response.data.entityKeyID,\r\n dealerId: response.data.dealerID,\r\n vehicleId: response.data.vehicleID,\r\n customerId: response.data.customerID,\r\n type: response.data.entityTypeID,\r\n hasExtendedWarranty: response.data.hasWarranty,\r\n status: status,\r\n stillOwned: (response.data.stillOwn == null) ? true : response.data.stillOwn,\r\n paidOff: response.data.paidOff,\r\n watched: response.data.watched,\r\n assignedUserId: response.data.ownerUserID,\r\n isMarkedAsSold: response.data.isMarkedAsSold,\r\n expirationDate: response.data.expirationDate,\r\n entityScore: response.data.entityScore,\r\n autoAssignAccessUserName: response.data.autoAssignAccessUserName,\r\n autoAssignOwner: response.data.autoAssignOwner,\r\n autoAssignAccessUser: response.data.autoAssignAccessUser,\r\n autoAssignAccessSearch: response.data.autoAssignAccessSearch,\r\n autoAssignAccessDate: response.data.autoAssignAccessDate,\r\n autoAssignOwnerDate: response.data.autoAssignOwnerDate,\r\n autoAssignOwnerSearch: response.data.autoAssignOwnerSearch,\r\n dealerSettings: settings,\r\n actionChecked: response.data.actionChecked,\r\n onOrder: response.data.onOrder == null ? false : response.data.onOrder\r\n };\r\n\r\n if (service.activityNotification.triggered === false) {\r\n service.activityNotification.triggered = true;\r\n coreApi.api.Activity.GetNewActivityNotifications['{entityId}'].GET({ entityId: opportunity.id }).then(resolveActivityNotification);\r\n }\r\n\r\n getNonEssentialOpportunityData(opportunity, dsPermissions, moduleIds);\r\n\r\n if (dsPermissions && dsPermissions.viewCustomer)\r\n return customerService.getCustomer(opportunity.id)\r\n .then(resturnResults);\r\n else\r\n return customerService.getCustomerName(opportunity.id)\r\n .then(resturnResults);\r\n\r\n function isExpired(dealSheetExpirationDate) {\r\n var todayDate = (new Date()).setHours(0, 0, 0, 0);\r\n var expirationDate = (new Date(dealSheetExpirationDate)).setHours(0, 0, 0, 0);\r\n return (todayDate > expirationDate);\r\n }\r\n\r\n function resturnResults(customer) {\r\n return $q.all({\r\n 'customer': customer,\r\n 'currentVehicle': vehicleService.getCurrentVehicle(opportunity.vehicleId),\r\n 'currentContract': contractService.getCurrentContract(opportunity.id, opportunity.type),\r\n 'replacementVehicles': vehicleService.getReplacementVehicles(opportunity.id, stockNo, customer.pricingPlanId),\r\n 'tags': getTags(opportunity.id),\r\n 'fullName': coreApi.api.User.FullNameByEntity['{entityId}'].GET({ entityId: opportunity.id }),\r\n }).then(resolveOpportunityDetails(opportunity, dsPermissions));\r\n }\r\n };\r\n }\r\n\r\n function getNonEssentialOpportunityData(opportunity, dsPermissions, moduleIds) {\r\n // WEBUI-7833 Non-essential api calls are made here (moved out of $q.all):\r\n coreApi.api.User.GetEntityUserInfo['{entityId}'].GET({ entityId: opportunity.id })\r\n .then(function (data) {\r\n opportunity.ownerUserInfo = data.data;\r\n });\r\n\r\n getCreditSoftPullResultAsync(dsPermissions, opportunity.id)\r\n .then(function (data) {\r\n opportunity.creditSoftPull = data;\r\n });\r\n\r\n getCreditPrescreenStatus(opportunity.id, moduleIds)\r\n .then(function (data) {\r\n opportunity.creditPrescreenStatus = data;\r\n });\r\n\r\n const isFordAlertEnabled = userService.isDealerEnabledForModule(opportunity.dealerId, modules.fordAlert);\r\n if (isFordAlertEnabled) {\r\n getCreditPreApprovalAsync(opportunity.id)\r\n .then(function (data) {\r\n opportunity.creditPreApproval = data;\r\n });\r\n }\r\n else {\r\n opportunity.creditPreApproval = null;\r\n }\r\n\r\n getPandoClaim(opportunity.id)\r\n .then(function (data) {\r\n opportunity.pandoClaim = data;\r\n });\r\n }\r\n\r\n function resolveActivityNotification(response) {\r\n if (response.data && service.activityNotification) {\r\n service.activityNotification.notify = response.data.notification;\r\n }\r\n }\r\n\r\n function resolveOpportunityDetails(opportunity, permissions) {\r\n return function resolveOpportunityDetailsClosure(data) {\r\n opportunity.currentContract = data.currentContract;\r\n opportunity.currentVehicle = data.currentVehicle;\r\n opportunity.currentVehicle.type = opportunity.currentContract.vehicleType;\r\n opportunity.currentContract.hasExtendedWarranty = opportunity.hasExtendedWarranty;\r\n opportunity.currentContract.paidOff = opportunity.paidOff;\r\n if (opportunity.currentContract.paidOff) {\r\n opportunity.currentContract.paymentsRemaining = 0;\r\n opportunity.currentContract.payoffAmount = 0;\r\n }\r\n \r\n opportunity.replacementVehicles = data.replacementVehicles;\r\n opportunity.replacementVehicle = opportunity.replacementVehicles.standardVehicle;\r\n opportunity.customer = data.customer;\r\n opportunity.tags = data.tags;\r\n opportunity.assignedUserFullName = data.fullName.data;\r\n\r\n coreApi.api.Entity.MarkAsRead.POST(\"'\" + opportunity.id + \"'\");\r\n\r\n if (opportunity.type == opportunityTypes.conquest) {\r\n opportunity.currentContract.conquestType = isCreditConvertOpportunity(opportunity) ? conquestTypes.creditConvert : conquestTypes.notConverted;\r\n } else if (opportunity.type == opportunityTypes.converted) {\r\n opportunity.currentContract.conquestType = conquestTypes.converted;\r\n }\r\n\r\n var tradeValue = (opportunity.stillOwned === null || opportunity.stillOwned === true) ? opportunity.currentVehicle.tradeValue : 0;\r\n var equityValue = opportunity.currentContract.payoffAmount ? opportunity.currentContract.payoffAmount : 0;\r\n function Equity() {\r\n this.tradeValue = tradeValue,\r\n this.equityValue = this.tradeValue - equityValue\r\n }\r\n opportunity.currentContract.equity = new Equity();\r\n\r\n return coreApi.api.EntityOpportunity.GetOpportunitiesForEntity['{entityId}'].GET({ entityId: opportunityId })\r\n .then(resolveAlerts)\r\n .then(resolveOpportunityAlerts(opportunity))\r\n .then(function () {\r\n return contractService.getReplacementContracts(opportunity, permissions)\r\n .then(resolveOpportunityReplacementContracts(opportunity));\r\n });\r\n\r\n function resolveAlerts(response) {\r\n var alerts = [];\r\n\r\n for (var i = 0; i < response.data.length; i++) {\r\n var alert = response.data[i];\r\n\r\n alerts.push({\r\n type: alert.alertType,\r\n typeName: getAlertTypeName(alert.alertType)\r\n });\r\n }\r\n\r\n return alerts.sort(byType);\r\n }\r\n\r\n function resolveOpportunityAlerts(opportunity) {\r\n return function resolveOpportunityAlertsClosure(alerts) {\r\n opportunity.alerts = alerts;\r\n return opportunity;\r\n };\r\n }\r\n };\r\n }\r\n }\r\n\r\n function getOpportunityEntityOnly(opportunityId){\r\n return coreApi.api.Entity.GetExt['{entityId}'].GET({ entityId: opportunityId })\r\n .then(resolveOpportunityEntityOnly);\r\n\r\n function resolveOpportunityEntityOnly(response) {\r\n \r\n var status;\r\n if (response.data.scheduled) {\r\n status = opportunityStatuses.scheduled;\r\n } else if (response.data.isMarkedAsSold) {\r\n status = opportunityStatuses.sold;\r\n } else if (response.data.closed) {\r\n status = opportunityStatuses.closed;\r\n } else {\r\n status = opportunityStatuses.open;\r\n }\r\n var opportunity = {\r\n id: response.data.entityID,\r\n actionAccess: response.data.actionAccess,\r\n keyId: response.data.entityKeyID,\r\n dealerId: response.data.dealerID,\r\n vehicleId: response.data.vehicleID,\r\n customerId: response.data.customerID,\r\n type: response.data.entityTypeID,\r\n hasExtendedWarranty: response.data.hasWarranty,\r\n status: status,\r\n stillOwned: (response.data.stillOwn == null) ? true : response.data.stillOwn,\r\n paidOff: response.data.paidOff,\r\n watched: response.data.watched,\r\n assignedUserId: response.data.ownerUserID,\r\n isMarkedAsSold: response.data.isMarkedAsSold,\r\n expirationDate: response.data.expirationDate,\r\n entityScore: response.data.entityScore,\r\n actionChecked: response.data.actionChecked\r\n };\r\n return opportunity;\r\n }\r\n }\r\n \r\n\r\n function getTags(opportunityId) {\r\n return coreApi.api.Tag.GetTagsForEntity['{entityId}'].GET({ entityId: opportunityId })\r\n .then(mapTags)\r\n\r\n function mapTags(response) {\r\n var tags = [];\r\n\r\n for (var i = 0; i < response.data.length; i++) {\r\n var tag = response.data[i];\r\n\r\n tags.push({\r\n text: tag.tagText,\r\n expirationDate: tag.tagExpireDate\r\n });\r\n }\r\n\r\n return tags;\r\n }\r\n }\r\n\r\n function getTagsPivotForDealers(selectedDealerId, flushCache) {\r\n return coreApi.api.Tag.GetTagsPivotForDealers.GET({flushCache: flushCache}, { overrideDealerIds: [ selectedDealerId ] }).then(function (data) {\r\n return data.data;\r\n });\r\n }\r\n\r\n function resetActivityNotification() {\r\n if (service.activityNotification) {\r\n service.activityNotification.triggered = false;\r\n service.activityNotification.notify = false;\r\n }\r\n }\r\n\r\n function getOpportunitiesByCustomerId(customerId) {\r\n\r\n return coreApi.api.Entity.GetEntityReportByCustomerId['{customerId}'].GET({ customerId: customerId })\r\n // /api/Entity/GetEntityReportByCustomerId/{customerId}\r\n .then(mapOpportunities)\r\n function mapOpportunities(response) {\r\n var opportunities = [];\r\n for (var i = 0; i < response.data.length; i++) {\r\n var opportunity = response.data[i];\r\n if (opportunity) {\r\n opportunities.push({\r\n id: opportunity.entityID,\r\n type: opportunity.entityTypeID,\r\n alerts: opportunity.alerts,\r\n stillOwned: (opportunity.stillOwn == null) ? true : opportunity.stillOwn,\r\n assignedUserFullName: opportunity.ownerFullName,\r\n status: opportunity.closed,\r\n opportunityRank: opportunity.opportunityRank,\r\n entityScore: opportunity.entityScore,\r\n currentVehicle: {\r\n type: opportunity.soldAsNew ? vehicleTypes.new : vehicleTypes.used,\r\n makeName: opportunity.makeName,\r\n yearID: opportunity.yearID == 0 ? '' : opportunity.yearID,\r\n modelName: opportunity.modelName,\r\n trimName: opportunity.trimName,\r\n trimFullName: mapUtils.getVehicleTrimFullName(opportunity),\r\n lastServiceDate: opportunity.lastServiceDate,\r\n vin: opportunity.vin\r\n },\r\n currentContract: {\r\n saleType: opportunity.saleTypeID,\r\n startDate: opportunity.dealDate,\r\n soldByFullName: opportunity.soldByFullName\r\n }\r\n })\r\n }\r\n }\r\n return opportunities;\r\n }\r\n }\r\n\r\n function getOpportunitiesByVin(dealerId, vin) {\r\n return coreApi.api.Entity.GetEntityReportByDealerIdAndVin['{dealerId}']['{vin}'].GET({ dealerId: dealerId, vin: vin })\r\n .then(mapOpportunitiesByVin);\r\n\r\n function mapOpportunitiesByVin(response) {\r\n var data = response.data;\r\n var opportunities = [];\r\n\r\n for (var i = 0; i < data.length; i++) {\r\n opportunities.push({\r\n id: data[i].entityID,\r\n customerFullName: data[i].customerFullName,\r\n alerts: data[i].alerts\r\n });\r\n }\r\n\r\n return opportunities;\r\n }\r\n }\r\n\r\n function getOwnerUserInfo(opportunityId){\r\n return coreApi.api.User.GetEntityUserInfo['{entityId}'].GET({ entityId: opportunityId });\r\n }\r\n\r\n function addAlertsAsProperties(target, alerts) {\r\n clearAlerts(target);\r\n for (var i = 0; i < alerts.length; i++) {\r\n var alert = alerts[i];\r\n\r\n for (var alertType in alertTypes) {\r\n if (alertTypes.hasOwnProperty(alertType)) {\r\n if (alert.type == alertTypes[alertType]) {\r\n if (alert.typeName.toLowerCase().indexOf('alert') !== -1) {\r\n target[alert.typeName + 'Exists'] = true;\r\n } else {\r\n target[alert.typeName + 'AlertExists'] = true;\r\n }\r\n\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n function updateAssignedUser(opportunityId, userId) {\r\n return coreApi.api.Entity.ReassignToUserId.POST({ \"entityId\": opportunityId, \"assignToUserId\": userId });\r\n }\r\n\r\n function markOpportunityWatched(opportunityId) {\r\n return coreApi.api.Entity.Watch['{entityId}'].POST({}, { entityId: opportunityId });\r\n }\r\n\r\n function markOpportunityUnwatched(opportunityId) {\r\n return coreApi.api.Entity.Unwatch['{entityId}'].POST({}, { entityId: opportunityId });\r\n }\r\n\r\n function reopenOpportunity(opportunityId) {\r\n return coreApi.api.Entity.Reopen['{entityId}'].POST({}, { entityId: opportunityId });\r\n }\r\n\r\n function submitCreditPrescreenRequest(opportunityId, permissions, moduleIds, dealerSettings) {\r\n if (permissions.requestCreditPrescreen\r\n && moduleIds.indexOf(modules.creditConvert) > -1\r\n && dealerSettings.useCreditSoftPull) {\r\n return coreApi.api.Entity.CreditPrescreenRequest['{entityId}'].POST({}, { entityId: opportunityId });\r\n }\r\n else {\r\n var deferred = $q.defer();\r\n\r\n deferred.resolve(false);\r\n\r\n return deferred.promise;\r\n }\r\n }\r\n\r\n function getCreditPrescreenStatus(opportunityId, moduleIds) {\r\n if (moduleIds.indexOf(modules.creditConvert) > -1) {\r\n return coreApi.api.Entity.CreditPrescreenStatus['{entityId}'].GET({ entityId: opportunityId })\r\n .then(resolveData, function () { });\r\n }\r\n else {\r\n return $q.resolve(null);\r\n }\r\n }\r\n\r\n function resolveData(response) {\r\n return response.data != '' ? response.data : null;\r\n }\r\n\r\n function getCreditSoftPullResultAsync(permissions, opportunityId) {\r\n if (permissions && permissions.requestCreditPrescreen) {\r\n return coreApi.api.CreditSoftPullResultEntityDel['{entityId}'].GET({ entityId: opportunityId })\r\n .then(\r\n function (result) { return result.data; },\r\n function () { });\r\n }\r\n else {\r\n return $q.resolve(undefined);\r\n }\r\n }\r\n\r\n function getCreditPreApprovalAsync(opportunityId) {\r\n return coreApi.api.FordCreditApproval.FordCreditApprovalByEntityId['{entityId}'].GET({ entityId: opportunityId })\r\n .then(\r\n function (result) { return result.data; },\r\n function () { });\r\n }\r\n\r\n function setAlertDetails(alerts, currentVehicle, currentContract, replacementVehicle, replacementContract) {\r\n for (var i = 0; i < alerts.length; i++) {\r\n var alert = alerts[i];\r\n\r\n\r\n switch (alert.type) {\r\n case alertTypes.alert:\r\n case alertTypes.flexAlert:\r\n setFlexAlertDetails(alert, replacementVehicle, replacementContract);\r\n break;\r\n case alertTypes.service:\r\n setServiceAlertDetails(alert, currentVehicle, currentContract);\r\n break;\r\n case alertTypes.appointment:\r\n setAppointmentAlertDetails(alert, currentVehicle);\r\n break;\r\n case alertTypes.contractEnd:\r\n setContractEndAlertDetails(alert, currentContract);\r\n break;\r\n case alertTypes.mileage:\r\n setMileageAlertDetails(alert, currentContract);\r\n break;\r\n case alertTypes.warranty:\r\n setWarrantyAlertDetails(alert, currentVehicle, currentContract);\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n alert.translateKey = getAlertTranslateKey(alert);\r\n }\r\n }\r\n\r\n function getAlertTranslateKey(alert) {\r\n if (alert.details && !alert.details.payment\r\n && (alert.type == alertTypes.alert || alert.type == alertTypes.flexAlert == alertTypes.flexAlert)) {\r\n return alert.typeName + 'RelevantInfoNoPayment'\r\n }\r\n\r\n return alert.typeName + 'RelevantInfo';\r\n }\r\n\r\n function isCreditConvertOpportunity(opportunity) {\r\n return containsTag(opportunity, 'CreditConvert');\r\n }\r\n\r\n function containsTag(opportunity, tagText) {\r\n if (opportunity && opportunity.tags) {\r\n return opportunity.tags.some(function (tag) {\r\n return tag.text === tagText;\r\n });\r\n }\r\n }\r\n\r\n function resolveOpportunityReplacementContracts(opportunity) {\r\n return function resolveOpportunityReplacementContractsClosure(data) {\r\n opportunity.replacementContracts = data.contracts;\r\n opportunity.replacementContract = data.defaultContract;\r\n if (opportunity.replacementContract) {\r\n opportunity.replacementContract.vehicleType = opportunity.replacementVehicle.type;\r\n }\r\n\r\n setAlertDetails(opportunity.alerts, opportunity.currentVehicle, opportunity.currentContract, opportunity.replacementVehicle, opportunity.replacementContract)\r\n return opportunity;\r\n }\r\n }\r\n\r\n function byType(alert1, alert2) {\r\n if (alert1.type > alert2.type) {\r\n return 1;\r\n } else if (alert1.type < alert2.type) {\r\n return -1;\r\n } else {\r\n return 0;\r\n }\r\n }\r\n\r\n function setFlexAlertDetails(alert, vehicle, contract) {\r\n alert.details = {\r\n yearID: vehicle.yearID,\r\n makeName: vehicle.makeName,\r\n modelName: vehicle.modelName,\r\n trimName: vehicle.trimName,\r\n contractTerm: contract ? contract.term : null,\r\n payment: contract ? contract.payment : null,\r\n paymentDifferenceAmount: contract ? contract.paymentDifference : null\r\n }\r\n }\r\n\r\n function setServiceAlertDetails(alert, vehicle) {\r\n alert.details = {\r\n openDate: vehicle.openDate,\r\n eighteenMonthServiceCount: vehicle.eighteenMonthServiceCount\r\n }\r\n }\r\n\r\n function setAppointmentAlertDetails(alert, vehicle) {\r\n alert.details = {\r\n appointmentDate: vehicle.appointmentDate\r\n }\r\n }\r\n\r\n function setContractEndAlertDetails(alert, contract) {\r\n alert.details = {\r\n paymentsMade: contract.paymentsMade,\r\n paymentsRemaining: contract.paymentsRemaining\r\n }\r\n }\r\n\r\n function setMileageAlertDetails(alert, contract) {\r\n alert.details = {\r\n estimatedMaturityMileage: contract.estimatedMaturityMileage,\r\n currentMileagePenalty: contract.currentMileagePenalty,\r\n estimatedMileagePenalty: contract.estimatedMileagePenalty\r\n }\r\n }\r\n\r\n function setWarrantyAlertDetails(alert, vehicle, contract) {\r\n alert.details = {\r\n warrantyMonthsRemaining: vehicle.warrantyMonthsRemaining ? vehicle.warrantyMonthsRemaining : contract.warrantyMonthsRemaining,\r\n warrantyMilesRemaining: vehicle.warrantyMilesRemaining ? vehicle.warrantyMilesRemaining : contract.warrantyMilesRemaining\r\n }\r\n }\r\n\r\n function getAlertTypeName(alertType) {\r\n switch (alertType) {\r\n case alertTypes.alert:\r\n return 'alert'\r\n case alertTypes.flexAlert:\r\n return 'flexAlert';\r\n case alertTypes.inMarket:\r\n return 'inMarket';\r\n case alertTypes.inMarketEngaged:\r\n return 'inMarketEngaged';\r\n case alertTypes.contractEnd:\r\n return 'contractEnd';\r\n case alertTypes.service:\r\n return 'service';\r\n case alertTypes.appointment:\r\n return 'appointment';\r\n case alertTypes.mileage:\r\n return 'mileage';\r\n case alertTypes.warranty:\r\n return 'warranty';\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n function clearAlerts(target) {\r\n target.alertExists = null;\r\n target.flexAlertExists = null;\r\n target.serviceAlertExists = null;\r\n target.appointmentAlertExists = null;\r\n target.mileageAlertExists = null;\r\n target.contractEndAlertExists = null;\r\n target.warrantyAlertExists = null;\r\n }\r\n\r\n function logTradeValueChange(vehicleId, tradeValue) {\r\n return coreApi.api.VehicleFinalTradeValueTempChange.LogTradeValueChange.POST({ VehicleID: vehicleId, TradeValue: tradeValue });\r\n }\r\n\r\n function getChangeLogs(opportunityId) {\r\n return coreApi.api.ChangeLog['{entityId}'].GET({ entityId: opportunityId }).then(resolveGetChangeLogs);\r\n\r\n function resolveGetChangeLogs(response) {\r\n if (!response || !response.data) { return null; }\r\n return response.data;\r\n }\r\n }\r\n\r\n function submitDiscrepancy(opportunity, discrepancy) {\r\n var request = {\r\n entityId: opportunity.id,\r\n reportableFieldId: discrepancy.type,\r\n reportableExpectedValue: discrepancy.expectedValue,\r\n dealerId: opportunity.dealerId,\r\n dealerName: opportunity.dealer.name,\r\n customerFullName: opportunity.customer.fullName,\r\n currentVehicleVin: opportunity.currentVehicle.vin,\r\n reportDiscrepancyVehicle: {\r\n yearID: opportunity.replacementVehicle.yearID,\r\n fullTrimName: opportunity.replacementVehicle.makeName + \" \" + opportunity.replacementVehicle.trimFullName,\r\n localePrice: $filter('localeCurrency')(opportunity.replacementVehicle.price)\r\n },\r\n dealSheetUrl: dealSheetService.getDealSheetUrl(opportunity.id)\r\n };\r\n\r\n if (discrepancy.multiple) {\r\n request.ReportableCurrentValues = discrepancy.currentValue;\r\n }\r\n else {\r\n if (discrepancy.type == discrepancyTypes.tradeValue || discrepancy.type == discrepancyTypes.payoffAmount) {\r\n request.reportableCurrentValue = $filter(\"localeCurrency\")(discrepancy.currentValue);\r\n }\r\n else {\r\n request.reportableCurrentValue = discrepancy.currentValue;\r\n }\r\n }\r\n\r\n return coreApi.api.DiscrepancyReport.ReportDiscrepancy.POST(request);\r\n }\r\n\r\n function addTermOverrideChangeLog(vehicleId, term) {\r\n return coreApi.api.ChangeLog.Term['{vehicleId}']['{term}'].POST({}, { vehicleId: vehicleId, term: term });\r\n }\r\n\r\n function addPriceOverrideChangeLog(vehicleId, price) {\r\n return coreApi.api.ChangeLog.Price['{vehicleId}']['{price}'].POST({}, { vehicleId: vehicleId, price: price });\r\n }\r\n\r\n function getPandoClaim(entityId) {\r\n return (coreApi.api.PandoClaim.ByEntity['{entityId}'].GET({ entityId: entityId }))\r\n .then(function (results) {\r\n return results.data;\r\n });\r\n }\r\n\r\n function hasReviewProDealer(entityId) {\r\n return (coreApi.api.Entity.HasReviewProDealer['{entityId}'].GET({ entityId: entityId }))\r\n .then(function (results) {\r\n return results.data;\r\n },\r\n function() {\r\n return false;\r\n });\r\n }\r\n\r\n function hasGeoAlertDealer(entityId) {\r\n return (coreApi.api.Entity.HasGeoAlertDealer['{entityId}'].GET({ entityId: entityId }))\r\n .then(function (results) {\r\n return results.data;\r\n },\r\n function () {\r\n return false;\r\n });\r\n }\r\n\r\n function showIfNotNullOrEmpty(defaultValue, item, obj){\r\n\r\n if (item != null && item != \"\")\r\n {\r\n if (obj != null) return obj; \r\n return item;\r\n }\r\n return defaultValue;\r\n }\r\n\r\n function toYesNoTypeID(yesNoTypeName){\r\n if (yesNoTypeName == null) return 0;\r\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\r\n if (yesNoTypeName == \"yes\") return 1;\r\n if (yesNoTypeName == \"no\") return 0;\r\n return 0;\r\n }\r\n\r\n function toBoolean(yesNoTypeName){\r\n if (yesNoTypeName == null) return false;\r\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\r\n if (yesNoTypeName == \"yes\") return true;\r\n if (yesNoTypeName == \"no\") return false;\r\n return false;\r\n }\r\n\r\n function nullIf(valueIfNull, defaultValue){\r\n if (valueIfNull) return null;\r\n return defaultValue;\r\n }\r\n\r\n function defaultValue(value, defaultValue)\r\n {\r\n if (value == null) return defaultValue;\r\n return value;\r\n }\r\n\r\n function toSaleTypeID(saleType){\r\n if (saleType == null) return \"\";\r\n saleType = saleType.toString().toLowerCase();\r\n if (saleType == \"lease\") return 1;\r\n if (saleType == \"retail\") return 2;\r\n if (saleType == \"balloon\") return 3;\r\n if (saleType == \"cash\") return 4;\r\n if (saleType == \"onepay lease\") return 5;\r\n if (saleType == \"wholesale\") return 6;\r\n if (saleType == \"incomplete\") return 7;\r\n return \"\";\r\n }\r\n\r\n function NewUsedCpoToID(vehicleType){\r\n if (vehicleType == null) return \"\";\r\n vehicleType = vehicleType.toString().toLowerCase();\r\n if (vehicleType == \"new\") return 0;\r\n if (vehicleType == \"used\") return 1;\r\n if (vehicleType == \"cpo\") return 2;\r\n return \"\";\r\n }\r\n\r\n \r\n function toAlertTypeList(vw_search, replacementVehicle)\r\n {\r\n replacementVehicle.payment = vw_search.replacement_Payment;\r\n var alerts = [];\r\n if (vw_search.is_Alert == \"Yes\") pushAlert(alerts, alertTypes.alert, 'alert', replacementVehicle);\r\n if (vw_search.is_Appointment == \"Yes\") pushAlert(alerts, alertTypes.appointment, 'appointment', replacementVehicle);\r\n if (vw_search.is_Contract_End == \"Yes\") pushAlert(alerts, alertTypes.contractEnd, 'contractEnd', replacementVehicle);\r\n //if (vw_search.is_Conversion_Alert == \"Yes\") pushAlert(alerts, alertTypes.alert, 'alert');\r\n if (vw_search.is_Flex_Alert == \"Yes\") pushAlert(alerts, alertTypes.flexAlert, 'flexAlert', replacementVehicle);\r\n if (vw_search.is_In_Market == \"Yes\") pushAlert(alerts, alertTypes.inMarket, 'inMarket', replacementVehicle);\r\n if (vw_search.is_In_Market_Engaged == \"Yes\") pushAlert(alerts, alertTypes.inMarketEngaged, 'inMarketEngaged', replacementVehicle);\r\n if (vw_search.is_Mileage_Alert == \"Yes\") pushAlert(alerts, alertTypes.mileage, 'mileage', replacementVehicle);\r\n if (vw_search.is_Warranty_Alert == \"Yes\") pushAlert(alerts, alertTypes.warranty, 'warranty', replacementVehicle);\r\n\r\n return alerts;\r\n }\r\n\r\n function pushAlert(arr, type, name, replacementVehicle){\r\n arr.push({\r\n type: type,\r\n typeName: name,\r\n translateKey: name + \"RelevantInfo\",\r\n details: replacementVehicle, //terrible. needs refactor.\r\n \r\n });\r\n }\r\n\r\n function getOpportunityFromViewEntityId(entityId, vw_SearchRow){\r\n var deferred = $q.defer();\r\n var promise = deferred.promise;\r\n \r\n if (vw_SearchRow == null || vw_SearchRow[\"_EntityID\"] == null){\r\n entityId = (vw_SearchRow == null) ? entityId : vw_SearchRow.opportunityId;\r\n coreApi.api.Search.GetSearchByEntityId['{entityId}'].GET({ entityId: entityId })\r\n .then(function(data){\r\n deferred.resolve(data.data);\r\n });\r\n return promise;\r\n }\r\n else {\r\n return $q.resolve(vw_SearchRow);\r\n }\r\n }\r\n\r\n\r\n function getOpportunityFromView(vw_SearchRow)\r\n {\r\n if (vw_SearchRow == null)\r\n {\r\n return;\r\n }\r\n var opportunity = {\r\n id: vw_SearchRow._EntityID,\r\n vehicleId: vw_SearchRow._VehicleID,\r\n type: vw_SearchRow._EntityTypeID,\r\n stillOwned: toBoolean(vw_SearchRow.still_Own),\r\n paidOff: toBoolean(vw_SearchRow.paid_Off),\r\n dealerId: vw_SearchRow._DealerID,\r\n customer: {\r\n fullName: vw_SearchRow.full_Name,\r\n address: {\r\n streetAddress : vw_SearchRow.address,\r\n streetAddress2 : vw_SearchRow.address_2,\r\n stateId : vw_SearchRow._StateID,\r\n normalizedZipCode: vw_SearchRow.zip_Code,\r\n zipCode: vw_SearchRow.zip_Code,\r\n city: vw_SearchRow.city,\r\n stateName: vw_SearchRow.state\r\n },\r\n pricingPlanId: null, //disables UseEmployeePricing\r\n alternateContacts: [\r\n ],\r\n cellPhoneNumber: showIfNotNullOrEmpty(null, vw_SearchRow.cell_Phone, {\r\n \"contactType\": 4,\r\n \"value\": vw_SearchRow.cell_Phone,\r\n \"isBad\": false,\r\n \"isPreferred\": true,\r\n \"doNotCallStatusTypeId\": 4\r\n }),\r\n \"companyName\": \"\",\r\n \"doNotCall\": toBoolean(vw_SearchRow.do_Not_Call),\r\n \"doNotEmail\": toBoolean(vw_SearchRow.do_Not_Email),\r\n \"doNotMail\": toBoolean(vw_SearchRow.do_Not_Mail),\r\n \"emailAddress\": showIfNotNullOrEmpty(null, vw_SearchRow.email, {\r\n \"contactType\": 5,\r\n \"value\": vw_SearchRow.email,\r\n \"isBad\": vw_SearchRow.email != \"\",\r\n \"isPreferred\": vw_SearchRow.email != \"\"\r\n }),\r\n \"firstName\": vw_SearchRow.first_Name,\r\n \"homePhoneNumber\": showIfNotNullOrEmpty(null, vw_SearchRow.home_Phone, {\r\n \"contactType\": 2,\r\n \"value\": vw_SearchRow.home_Phone,\r\n \"isBad\": false,\r\n \"isPreferred\": true,\r\n \"doNotCallStatusTypeId\": 4\r\n }),\r\n \"id\": vw_SearchRow._CustomerID,\r\n \"invalidContacts\": [],\r\n \"isAddressNotValid\": false,\r\n \"isFullCustomer\": true,\r\n \"lastName\": vw_SearchRow.last_Name,\r\n \"middleName\": vw_SearchRow.middle_Name,\r\n \"workPhoneNumber\": showIfNotNullOrEmpty(null, vw_SearchRow.work_Phone, {\r\n \"contactType\": 3,\r\n \"value\": vw_SearchRow.work_Phone,\r\n \"isBad\": false,\r\n \"isPreferred\": true,\r\n \"doNotCallStatusTypeId\": 4\r\n })\r\n },\r\n //\"dealer\": {\r\n // \"name\": \"MB Demo\",\r\n // \"displayText\": \"MB Demo (MBDEMO)\"\r\n //},\r\n entityScore: vw_SearchRow._Opportunity_Rank,\r\n assignedUserId: vw_SearchRow._OwnerUserID,\r\n assignedUserFullName: vw_SearchRow._Customer_Owner,\r\n //alerts: toAlertTypeList(vw_SearchRow),\r\n permissions: {\r\n viewContract: true,\r\n },\r\n currentContract: {\r\n adjustedBalance: vw_SearchRow.estimated_Payoff - vw_SearchRow.totalPenalty,\r\n saleType: vw_SearchRow._SaleTypeID,\r\n moneyFactor: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.rate : null,\r\n payment: vw_SearchRow.current_Payment, //1790,\r\n soldByName: vw_SearchRow.sold_By_Name, //\"THOMAS CARNEVALE\"\r\n vehicleType: NewUsedCpoToID(vw_SearchRow.new_Used),\r\n paymentsMade: vw_SearchRow.payments_Made, //41,\r\n paymentsRemaining: vw_SearchRow.payment_Remaining, //7,\r\n //\"cashPaid\": null,\r\n allowedMileage: vw_SearchRow.lease_Total_Allowed_Miles, //48000, //N/A\r\n //\"estimatedMaturityMileage\": 51700,\r\n //\"currentMileagePenalty\": 0,\r\n //\"estimatedMileagePenalty\": 900,\r\n //\"preferredEquity\": 5350,\r\n //\"balanceToMaturity\": 13125,\r\n //\"dispositionFee\": 595,\r\n entityID: vw_SearchRow._EntityID,\r\n //\"hasWarranty\": false,\r\n bankName: vw_SearchRow.bank_Name,\r\n //\"bankUrl\": \"https://new.mb-advantage.com\",\r\n //\"isCreditConvert\": true,\r\n //\"paymentMinimum\": 1700,\r\n //\"paymentMaximum\": 1750,\r\n payoffAmount: vw_SearchRow.estimated_Payoff, //57550,\r\n //\"payoffGoodThroughDate\": null,\r\n lastTouchedDate: vw_SearchRow.last_Payment_Date, //How Necessary is this? Required by \r\n saleID: vw_SearchRow._SaleID, //60924823,\r\n //\"insertDate\": \"2015-04-25T01:25:57.84Z\",\r\n //\"dealerID\": 1167,\r\n //\"customerID\": 38827071,\r\n //\"vehicleID\": 89569084,\r\n //\"soldAsNew\": true,\r\n //\"mileageAtDelivery\": 8,\r\n //\"bankID\": 48,\r\n dmsDealId: vw_SearchRow.dmS_Deal_ID,\r\n //\"soldByID\": 314698,\r\n term: vw_SearchRow.deal_Term,\r\n dealDate: vw_SearchRow.deal_Date,\r\n //\"firstPaymentDate\": \"2015-04-18T00:00:00\",\r\n lastPaymentDate: vw_SearchRow.last_Payment_Date, //\"2019-04-18T00:00:00\",\r\n //\"leaseBasePayment\": 1646,\r\n //\"leaseTotalPayment\": 1790,\r\n capitalCost: vw_SearchRow.lease_Net_Cap_Cost,\r\n residualAmount: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.lease_Residual : null, //45807,\r\n //\"leaseAnnualMiles\": null,\r\n //\"retailPayment\": 0,\r\n financedAmount: vw_SearchRow.purchase_Amount_Financed,\r\n //\"balloonPayment\": null,\r\n cashDown: vw_SearchRow.cash_Down, //1495,\r\n apr: vw_SearchRow._SaleTypeID == 1 ? null : vw_SearchRow.rate, // null, \r\n //\"isNative\": true,\r\n //\"boughtExtWarranty\": false,\r\n //\"hasExtendedWarranty\": false,\r\n paidOff: toYesNoTypeID(vw_SearchRow.paid_Off), //false\r\n //\"equity\": {\r\n // \"tradeValue\": 10, // 62900,\r\n // \"equityValue\": 5350\r\n //}\r\n financedOrCapCost: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.lease_Net_Cap_Cost : vw_SearchRow.purchase_Amount_Financed\r\n },\r\n currentVehicle: {\r\n openDate: vw_SearchRow.openDate,\r\n tradeValue: vw_SearchRow.trade_Value,\r\n trimID: vw_SearchRow._TrimID,\r\n yearID: vw_SearchRow._YearID,\r\n makeID: vw_SearchRow._MakeID,\r\n //imagePath: \"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\r\n //\"imagePath\": \"../../../images/Capture1.png\",\r\n //imagePath: oneImage,\r\n type: NewUsedCpoToID(vw_SearchRow.new_Used),\r\n //pricingPlanMsrp: vw_SearchRow.\r\n //\"addModelToTrim\": false,\r\n //\"appointmentDate\": \"2018-05-04T12:00:00\",\r\n //\"dealerID\": 1167,\r\n //\"displayCodes\": false,\r\n //\"eighteenMonthServiceCount\": 3,\r\n //\"estimatedCurrentMileage\": 44200,\r\n //\"estimatedMilesPerMonth\": 1140,\r\n //\"extColorID\": null,\r\n //\"exteriorColor\": \"DESIGNO GRAPHITE\",\r\n //\"intColorID\": null,\r\n //\"interiorColor\": null,\r\n //\"lastOdometerReadingDate\": \"2018-05-04T15:24:00\",\r\n \"makeName\": vw_SearchRow.current_Make_Name,\r\n //\"mfcModelCode\": null,\r\n \"modelName\": vw_SearchRow.current_Model_Name,\r\n //\"modelNo\": \"E63SP\",\r\n //\"odometer\": 38750,\r\n //\"replacementTrimID\": 422662,\r\n //\"tradeMileageAdjustment\": -2400,\r\n //\"tradeSourceID\": 1,\r\n \"trimFullName\": defaultValue(vw_SearchRow.current_Model_Name, \"\") + ' ' + defaultValue(vw_SearchRow.current_Trim_Name, \"\"),\r\n \"trimName\": defaultValue(vw_SearchRow.current_Trim_Name,\"\"),\r\n //\"vehicleID\": 89569084,\r\n //\"viN8Key\": \"WDDHH7GB_F\",\r\n \"vin\": vw_SearchRow.vin,\r\n //\"vrn\": null,\r\n //\"vrnLastUpdateDate\": \"2016-06-27T14:45:00\",\r\n //\"warrantyMilesRemaining\": 5800,\r\n //\"warrantyMonthsRemaining\": 7\r\n },\r\n replacementVehicle: {\r\n paymentDifferenceAmount: vw_SearchRow.replacement_Payment - vw_SearchRow.current_Payment,\r\n type: NewUsedCpoToID(vw_SearchRow.replacement_New_Used), //0,\r\n stockNo: vw_SearchRow.replacement_Stock_No, //null,\r\n //\"odometer\": 0,\r\n //\"vin\": null,\r\n msrp: vw_SearchRow.replacement_MSRP,\r\n price: vw_SearchRow.replacement_MSRP, //is not part of vw_search, MSRP is part of vw_search.\r\n trimID: vw_SearchRow.replacementTrimID,\r\n //\"daysInStock\": null,\r\n //\"interiorColor\": null,\r\n //\"exteriorColor\": null,\r\n //\"countryID\": 4,\r\n //\"countryName\": \"France\",\r\n makeID: vw_SearchRow.replacementMakeID,\r\n makeName: vw_SearchRow.replacement_Make_Name, //\"Mercedes-Benz\",\r\n //modelID: vw_SearchRow.replacementModelID, //replacementModelID needs to be added to vw_search\r\n modelName: vw_SearchRow.replacement_Model_Name,\r\n yearID: vw_SearchRow.replacement_Model_Year, //2018,\r\n trimName: vw_SearchRow.replacement_Trim_Name,\r\n //\"rawTrimName\": null,\r\n //\"mfcModelCode\": \"E43W4\",\r\n //\"extID\": \"7778055\",\r\n //\"extOptionId\": \"0\",\r\n //\"extFuelTypeId\": 1059,\r\n //\"cityMPG\": 19,\r\n //\"cityMPGe\": null,\r\n //\"highwayMPG\": 25,\r\n //\"highwayMPGe\": null,\r\n //\"combinedMPG\": 21,\r\n //\"batteryRange\": null,\r\n trimFullName: vw_SearchRow.replacement_Full_Trim_Name, //\"E 43 AMG\",\r\n //\"imagePath\": vw_SearchRow.imagePath, //\"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\r\n //\"imagePath\": \"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\r\n //imagePath: twoImage,\r\n //\"vehicleID\": 89569084,\r\n //\"oldMakeID\": 51,\r\n //\"oldTrimID\": 389466,\r\n //\"newMakeID\": 51,\r\n //\"newTrimID\": 422648,\r\n //\"isValid\": 1,\r\n //\"isConquest\": 0,\r\n //\"newVehiclePrice\": 72595\r\n },\r\n replacementContract: {\r\n keyID: vw_SearchRow._EntityKeyID,\r\n saleType: toSaleTypeID(vw_SearchRow.replacement_Sale_Type), // 1,\r\n //\"saleTypeName\": \"Lease\",\r\n //\"bankID\": 48,\r\n //\"bankName\": \"Mercedes-Benz Financial\",\r\n term: vw_SearchRow.replacement_Term,\r\n //\"termBeforeImprovement\": null,\r\n apr: toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 2 ? vw_SearchRow.replacement_Rate : null, //null,\r\n moneyFactor: toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 1 ? vw_SearchRow.replacement_Rate : null, //0.00386,\r\n //\"standardRebate\": 0,\r\n //\"loyaltyRebate\": 0,\r\n //\"conquestRebate\": 0,\r\n //\"cashOrAprRebate\": 1000,\r\n //\"cashOrApr\": true,\r\n //\"isValueAdded\": false,\r\n //\"pullForwardAmount\": 5370,\r\n //\"specialLoyaltyValue\": 0,\r\n isOverAllowance: toYesNoTypeID(vw_SearchRow.is_Over_Allowance), //false,\r\n financedAmount: nullIf(toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 1, vw_SearchRow.replacement_Loan_Amount), //null,\r\n //\"residualAmount\": 35571.55,\r\n preferredEquity: vw_SearchRow.preferred_Equity, //5350,\r\n payment: vw_SearchRow.replacement_Payment, //1157,\r\n paymentDifference: vw_SearchRow.replacement_Payment - vw_SearchRow.current_Payment, //-633,\r\n //\"capitalCost\": 67512,\r\n //\"paymentBeforeImprovement\": null,\r\n //\"salesTax\": 8.75,\r\n //\"isClosestTerm\": true,\r\n isAlert: toYesNoTypeID(vw_SearchRow.is_Alert), //1,\r\n isFlexAlert: toYesNoTypeID(vw_SearchRow.is_Flex_Alert), // 1,\r\n isConversionAlert: toYesNoTypeID(vw_SearchRow.is_Conversion_Alert), //0,\r\n //\"factoryRebate\": 1000,\r\n //\"dealerRebate\": 0,\r\n //\"cashBack\": 0,\r\n //\"adjustedCashDown\": 0,\r\n //\"isCapDownReduced\": false,\r\n //\"maxCapDown\": null,\r\n //\"isReplacementPayment\": true,\r\n //\"programSourceID\": 2,\r\n }\r\n }\r\n opportunity.alerts = toAlertTypeList(vw_SearchRow, opportunity.replacementVehicle)\r\n return opportunity;\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('pandoSurveyService', pandoSurveyService);\r\n\r\n/* @ngInject */\r\nfunction pandoSurveyService(coreApi, $q, tokenService) {\r\n var service = {\r\n getAccessibleSurveys: getAccessibleSurveys,\r\n getWorkflowTemplates: getWorkflowTemplates,\r\n getDealerAutoReportSubscription: getDealerAutoReportSubscription,\r\n getReportDealerPandoGroupSubscriptions: getReportDealerPandoGroupSubscriptions,\r\n removeDealerAutoReportSubscription: removeDealerAutoReportSubscription,\r\n updateDealerAutoReportSubscription: updateDealerAutoReportSubscription,\r\n addReportDealerPandoGroupSubscription: addReportDealerPandoGroupSubscription,\r\n updateReportDealerPandoGroupSubscription: updateReportDealerPandoGroupSubscription,\r\n };\r\n\r\n return service;\r\n\r\n function getAccessibleSurveys() {\r\n if (!tokenService.isMotoFuzeUser()) return $q.resolve()\r\n\r\n return coreApi.api.PandoPassthrough.GetString.POST({ \"uriTemplate\": \"/pando/pandosurveyreporting/accessiblesurveys\" })\r\n .then((response) => response.data.SurveyFamilies)\r\n }\r\n\r\n function getWorkflowTemplates(dealerId) {\r\n if (!tokenService.isMotoFuzeUser()) return $q.resolve();\r\n return coreApi.api.PandoPassthrough.GetWorkflowTemplates[\"{dealerId}\"].GET({dealerId}, { disableErrorHandler: true })\r\n .then((response) => response.data);\r\n }\r\n\r\n function getDealerAutoReportSubscription(dealerId) {\r\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\r\n return coreApi.api.ReportSubscription.GetDealerAutoReportSubscription[\"{dealerId}\"].GET({ dealerId })\r\n .then((response) => response.data);\r\n }\r\n\r\n\r\n function addReportDealerPandoGroupSubscription(subscription) {\r\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\r\n return coreApi.api.ReportSubscription.AddReportDealerPandoGroupSubscription.POST(subscription)\r\n .then((response) => response.data);\r\n }\r\n\r\n function updateReportDealerPandoGroupSubscription(subscription) {\r\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\r\n return coreApi.api.ReportSubscription.UpdateReportDealerPandoGroupSubscription.POST(subscription)\r\n .then((response) => response.data);\r\n }\r\n\r\n\r\n\r\n function getReportDealerPandoGroupSubscriptions(dealerId) {\r\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\r\n return coreApi.api.ReportSubscription.GetReportDealerPandoGroupSubscriptions[\"{dealerId}\"].GET({ dealerId })\r\n .then((response) => response.data);\r\n }\r\n\r\n function removeDealerAutoReportSubscription(dealerId) {\r\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\r\n return coreApi.api.ReportSubscription.RemoveDealerAutoReportSubscription[\"{dealerId}\"].GET({ dealerId })\r\n .then((response) => response.data);\r\n }\r\n\r\n function updateDealerAutoReportSubscription(subscription) {\r\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve(); \r\n return coreApi.api.ReportSubscription.UpdateDealerAutoReportSubscription.POST(subscription)\r\n .then((response) => response.data);\r\n }\r\n\r\n}\r\n","import angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nangular.module('AaApp.Opp').factory('printOfferBatchService', printOfferBatchService);\r\n\r\n/* @ngInject */\r\nfunction printOfferBatchService($document, $q, $timeout, $translate, $uibModal, $window, coreApi, logger) {\r\n var service = {\r\n initiatePrint: initiatePrint,\r\n getByBatch: getByBatch\r\n };\r\n\r\n return service;\r\n\r\n function getByBatch(batchId) {\r\n return coreApi.api.PrintOffer.GetByBatch['{batchId}'].GET({ batchId: batchId })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function initiatePrint(entityIds) {\r\n if (!entityIds) {\r\n return $q.reject(\"No entity IDs provided\");\r\n }\r\n\r\n //input can be either single entityId or entityIds.\r\n //this casts it as an array\r\n if (entityIds && !Array.isArray(entityIds)) {\r\n entityIds = [entityIds];\r\n }\r\n\r\n return postOpenBatch(entityIds)\r\n .then(resolvePostOpenBatchSuccess, resolvePostOpenBatchError);\r\n\r\n function postOpenBatch(entityIds) {\r\n var deferred = $q.defer();\r\n var batchId = null;\r\n var pollCount = 0;\r\n var pollMaxCount = 60;\r\n\r\n var poller = function () {\r\n coreApi.api.PrintOfferBatch['{id}'].GET({ id: batchId }).then(function (response) {\r\n pollCount++;\r\n\r\n if (response.data) {\r\n if (response.data.isActive) {\r\n if (pollCount < pollMaxCount) {\r\n $timeout(poller, 1000);\r\n logger.debug('Continuing to poll. Polling count #: ' + pollCount);\r\n }\r\n else {\r\n const errorCode = 'POLLING_TIMEOUT';\r\n const error = {\r\n code: errorCode\r\n };\r\n return deferred.reject(error);\r\n }\r\n }\r\n else if (response.data.isFailed) {\r\n const errorCode = 'API_TO_API_ERROR';\r\n const error = {\r\n code: errorCode\r\n };\r\n return deferred.reject(error);\r\n }\r\n else if (!response.data.isActive && !response.data.isFailed) {\r\n if (response.data.failedCount === 0 && response.data.collectionUrl) {\r\n //display the new tab with the\r\n response.data.entityIds = entityIds;\r\n deferred.resolve(response.data);\r\n }\r\n else if (response.data.failedCount > 0) {\r\n //all failed\r\n if (response.data.successCount === 0) {\r\n const errorCode = 'BATCH_ALL_ENTITIES_FAILED';\r\n const error = {\r\n code: errorCode,\r\n entityIds: entityIds\r\n };\r\n return deferred.reject(error);\r\n }\r\n //some failed (still display new tab)\r\n else if (response.data.successCount > 0 && response.data.collectionUrl) {\r\n const errorCode = 'BATCH_SOME_ENTITIES_FAILED';\r\n const error = {\r\n code: errorCode,\r\n batchId: batchId,\r\n entityIds: entityIds,\r\n collectionUrl: response.data.collectionUrl\r\n };\r\n return deferred.reject(error);\r\n }\r\n }\r\n }\r\n }\r\n })\r\n .catch(function (e) {\r\n deferred.reject(e);\r\n })\r\n };\r\n\r\n coreApi.api.PrintOfferBatch.OpenBatch.POST(entityIds)\r\n .then(function (response) {\r\n batchId = response.data;\r\n poller(batchId);\r\n //deferred.resolve(response.data);\r\n })\r\n .catch(function (e) {\r\n deferred.reject(e);\r\n });\r\n\r\n return deferred.promise;\r\n }\r\n\r\n function resolvePostOpenBatchSuccess (data) {\r\n openPrintModal(data.collectionUrl);\r\n\r\n $translate('SERVICE_DRIVE.PRINT_SUCCEEDED').then(function (successMessage) {\r\n logger.success(successMessage);\r\n });\r\n\r\n return data;\r\n }\r\n\r\n function resolvePostOpenBatchError(error) {\r\n if (error.code === 'API_TO_API_ERROR') {\r\n $translate('SERVICE_DRIVE.PRINT_FAILED_ALL').then(function (failedMessage) {\r\n logger.warning(failedMessage);\r\n });\r\n }\r\n else if (error.code === 'POLLING_TIMEOUT') {\r\n logger.genericError(error.code);\r\n //call api to get failed entities\r\n }\r\n else if (error.code === 'BATCH_ALL_ENTITIES_FAILED') {\r\n $translate('SERVICE_DRIVE.PRINT_FAILED_ALL').then(function (failedMessage) {\r\n logger.warning(failedMessage);\r\n });\r\n }\r\n else if (error.code === 'BATCH_SOME_ENTITIES_FAILED') {\r\n if (error.collectionUrl) {\r\n //display, but show there were errors\r\n $timeout(function () {\r\n openPrintModal(error.collectionUrl);\r\n }, 10000);\r\n }\r\n\r\n if (error.batchId && error.entityIds) {\r\n //get entities that succeeded through API\r\n printOfferBatchService.getByBatch(error.batchId).then(function (data) {\r\n var successfulEntityIds = _.map(data, 'entityID');\r\n //updatePrintedDate(data.successfulEntityIds);\r\n //updateOffers();\r\n\r\n //get failed entities by removing the successful entityIds from original array of entityIds\r\n var failedEntityIds = _.remove(error.entityIds, function (entityId) {\r\n return _.indexOf(successfulEntityIds, entityId) !== -1\r\n });\r\n\r\n var namesConcatenatedString = getFailedCustomerNamesByEntityIds(failedEntityIds);\r\n //display message that says which names failed\r\n //logger.warning('Offer statement could not be generated for the following customers: ' + namesConcatenatedString);\r\n\r\n $translate('SERVICE_DRIVE.PRINT_FAILED_PARTIALLY').then(function (warningMessage) {\r\n logger.warning(warningMessage + namesConcatenatedString);\r\n });\r\n\r\n return data.successfulEntityIds;\r\n });\r\n }\r\n }\r\n\r\n function getFailedCustomerNamesByEntityIds() {\r\n var names = [];\r\n angular.forEach(error.entityIds, function (id) {\r\n // 'offers' is not available because it hasn't been\r\n // returned by the API. For now, just make this a noop.\r\n var offer = _.find(/* offers */ [], function (o) { return o.entityID === id });\r\n names.push(offer.customerFullName);\r\n });\r\n\r\n return names.join(', ');\r\n }\r\n }\r\n }\r\n\r\n function openPrintModal(printUrl) {\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n $uibModal.open({\r\n animation: true,\r\n component: 'serviceDriveOffersPrintModalComponent',\r\n appendTo: parentElem,\r\n windowClass: 'modal-aa-lg',\r\n backdropClass: 'modal-aa-lg-backdrop',\r\n resolve: {\r\n printUrl: function () {\r\n return printUrl;\r\n }\r\n }\r\n });\r\n }\r\n}\r\n","import \"core-js/modules/es6.promise\";\ngoogleService.$inject = [\"$q\", \"coreApi\", \"$filter\", \"$http\", \"googleApi\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('googleService', googleService);\n/* @ngInject */\n\nfunction googleService($q, coreApi, $filter, $http, googleApi) {\n var service = {\n getCoordinates: getCoordinates,\n getGoogle: getGoogle,\n isLoaded: false\n };\n return service;\n\n function getCoordinates(address) {\n var deferred = $q.defer(); //Google needs to use the xhr request because it sends the response body to GET request in the OPTIONS response (from CORS). it never actually sends a \"success\" code to the OPTIONS request, so the GET request is never actually sent.\n\n function GoogleXhrRequest() {\n var xhr = new XMLHttpRequest();\n\n xhr.onload = function (data) {\n var response = JSON.parse(xhr.responseText);\n deferred.resolve(response);\n };\n\n xhr.onerror = function (error) {\n deferred.reject(error);\n };\n\n xhr.open('GET', 'https://maps.googleapis.com/maps/api/geocode/json?key=' + googleApi.key + '&address=' + encodeURIComponent(address));\n xhr.send();\n }\n\n $q.all([GoogleXhrRequest()]);\n return deferred.promise;\n }\n\n function getGoogle() {\n return loadScript(\"https://maps.googleapis.com/maps/api/js?key=\" + googleApi.key);\n }\n\n function loadScript(url) {\n if (!service.isLoaded) {\n // Adding the script tag to the head as suggested before\n var head = document.getElementsByTagName('head')[0];\n var script = document.createElement('script');\n script.type = 'text/javascript';\n script.src = url;\n service.promise = new Promise(function (resolve, reject) {\n // Then bind the event to the callback function.\n // There are several events for cross browser compatibility.\n script.onreadystatechange = function () {\n return resolve(window.google);\n };\n\n script.onload = function () {\n return resolve(window.google);\n }; // Fire the loading\n\n\n head.appendChild(script);\n });\n }\n\n service.isLoaded = true;\n return service.promise;\n }\n} //let scriptLoaded = loadScript(\"https://maps.googleapis.com/maps/api/js?key=AIzaSyAQoXpF4ANaLzdEDRQ2e5nZHMa1Otgk_Q4\");\n//export function getGoogle(){\n// return scriptLoaded;\n//}\n//function loadScript(url)\n//{\n// // Adding the script tag to the head as suggested before\n// var head = document.getElementsByTagName('head')[0];\n// var script = document.createElement('script');\n// script.type = 'text/javascript';\n// script.src = url;\n// return new Promise(function(resolve, reject){\n// // Then bind the event to the callback function.\n// // There are several events for cross browser compatibility.\n// script.onreadystatechange = ()=> resolve(window.google);\n// script.onload = ()=> resolve(window.google);\n// // Fire the loading\n// head.appendChild(script);\n// });\n//}","opportunityCountsService.$inject = [\"$q\", \"coreApi\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('opportunityCountsService', opportunityCountsService);\n/* @ngInject */\n\nfunction opportunityCountsService($q, coreApi) {\n var service = {\n getOpportunityCounts: getOpportunityCounts\n };\n return service;\n\n function getOpportunityCounts(selectedDealerId, flushCache) {\n return coreApi.api.OpportunityCounts.GetOpportunityCounts.GET({\n flushCache: flushCache\n }, {\n overrideDealerIds: [selectedDealerId]\n }).then(function (response) {\n return response.data;\n });\n }\n}","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.array.sort\";\nopportunityService.$inject = [\"$filter\", \"$q\", \"alertTypes\", \"conquestTypes\", \"contractService\", \"coreApi\", \"customerService\", \"dealSheetService\", \"dealerService\", \"discrepancyTypes\", \"mapUtils\", \"modules\", \"opportunityStatuses\", \"opportunityTypes\", \"userService\", \"vehicleService\", \"vehicleTypes\", \"fordFBATypes\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('opportunityService', opportunityService);\n/* @ngInject */\n\nfunction opportunityService($filter, $q, alertTypes, conquestTypes, contractService, coreApi, customerService, dealSheetService, dealerService, discrepancyTypes, mapUtils, modules, opportunityStatuses, opportunityTypes, userService, vehicleService, vehicleTypes, fordFBATypes) {\n var service = {\n getOpportunity: getOpportunity,\n addAlertsAsProperties: addAlertsAsProperties,\n updateAssignedUser: updateAssignedUser,\n setAlertDetails: setAlertDetails,\n logTradeValueChange: logTradeValueChange,\n getOpportunitiesByCustomerId: getOpportunitiesByCustomerId,\n getOpportunitiesByVin: getOpportunitiesByVin,\n getCreditSoftPullResultAsync: getCreditSoftPullResultAsync,\n markOpportunityWatched: markOpportunityWatched,\n markOpportunityUnwatched: markOpportunityUnwatched,\n resetActivityNotification: resetActivityNotification,\n reopenOpportunity: reopenOpportunity,\n activityNotification: {\n triggered: false,\n notify: false\n },\n submitCreditPrescreenRequest: submitCreditPrescreenRequest,\n getCreditPrescreenStatus: getCreditPrescreenStatus,\n getTags: getTags,\n getChangeLogs: getChangeLogs,\n submitDiscrepancy: submitDiscrepancy,\n getTagsPivotForDealers: getTagsPivotForDealers,\n addTermOverrideChangeLog: addTermOverrideChangeLog,\n addPriceOverrideChangeLog: addPriceOverrideChangeLog,\n getPandoClaim: getPandoClaim,\n hasReviewProDealer: hasReviewProDealer,\n hasGeoAlertDealer: hasGeoAlertDealer,\n getOwnerUserInfo: getOwnerUserInfo,\n getOpportunityEntityOnly: getOpportunityEntityOnly,\n getAllSaleTypeLocalization: getAllSaleTypeLocalization,\n getSaleExtByEntityId: getSaleExtByEntityId,\n getOpportunityFromView: getOpportunityFromView,\n getOpportunityFromViewEntityId: getOpportunityFromViewEntityId,\n getVehicleTurnPredictor: getVehicleTurnPredictor,\n getActiveNLPNoLongerOwn: getActiveNLPNoLongerOwn,\n updateActiveNLPNoLongerOwn: updateActiveNLPNoLongerOwn\n };\n return service; // Temporary due to Euro-lite demo timeconstraint - Refactor in next release.\n\n function getAllSaleTypeLocalization() {\n return coreApi.api.Sale.GetAllSaleTypeLocalization.GET().then(function (response) {\n return response.data ? response.data : [];\n });\n }\n\n function getSaleExtByEntityId(entityId) {\n return coreApi.api.Sale.GetSaleExtByEntityId['{entityId}'].GET({\n entityId: entityId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getVehicleTurnPredictor(entityId) {\n return coreApi.api.Entity.GetVehicleTurnPredictor['{entityId}'].GET({\n entityId: entityId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getActiveNLPNoLongerOwn(entityId) {\n return coreApi.api.Entity.GetActiveNLPNoLongerOwn['{entityId}'].GET({\n entityId: entityId\n }).then(function (response) {\n //response.hasData = true;\n return response.data;\n });\n }\n\n function updateActiveNLPNoLongerOwn(entityId, agreed) {\n return coreApi.api.Entity.UpdateActiveNLPNoLongerOwn.POST({\n \"entityId\": entityId,\n \"agreed\": agreed\n });\n }\n\n function getOpportunity(opportunityId, stockNo, calculationType, dsPermissions, moduleIds) {\n return coreApi.api.Entity.GetExt['{entityId}'].GET({\n entityId: opportunityId\n }).then(resolveDealerSettings(stockNo, calculationType, dsPermissions));\n\n function resolveDealerSettings(stockNo, calculationType, dsPermissions) {\n return function resolveDealerSettingsClosure(response) {\n return dealerService.getDealerSettings(response.data.dealerID).then(resolveOpportunity(stockNo, response, dsPermissions));\n };\n }\n\n function resolveOpportunity(stockNo, response, dsPermissions) {\n return function resolveOpportunityClosure(settings) {\n if (settings.allowExpiration && isExpired(response.data.expirationDate)) {\n throw new Error(\"Deal sheet has expired\");\n }\n\n var status;\n\n if (response.data.scheduled) {\n status = opportunityStatuses.scheduled;\n } else if (response.data.isMarkedAsSold) {\n status = opportunityStatuses.sold;\n } else if (response.data.closed) {\n status = opportunityStatuses.closed;\n } else {\n status = opportunityStatuses.open;\n }\n\n var opportunity = {\n id: response.data.entityID,\n actionAccess: response.data.actionAccess,\n keyId: response.data.entityKeyID,\n dealerId: response.data.dealerID,\n vehicleId: response.data.vehicleID,\n customerId: response.data.customerID,\n type: response.data.entityTypeID,\n hasExtendedWarranty: response.data.hasWarranty,\n status: status,\n stillOwned: response.data.stillOwn == null ? true : response.data.stillOwn,\n paidOff: response.data.paidOff,\n watched: response.data.watched,\n assignedUserId: response.data.ownerUserID,\n isMarkedAsSold: response.data.isMarkedAsSold,\n expirationDate: response.data.expirationDate,\n entityScore: response.data.entityScore,\n autoAssignAccessUserName: response.data.autoAssignAccessUserName,\n autoAssignOwner: response.data.autoAssignOwner,\n autoAssignAccessUser: response.data.autoAssignAccessUser,\n autoAssignAccessSearch: response.data.autoAssignAccessSearch,\n autoAssignAccessDate: response.data.autoAssignAccessDate,\n autoAssignOwnerDate: response.data.autoAssignOwnerDate,\n autoAssignOwnerSearch: response.data.autoAssignOwnerSearch,\n dealerSettings: settings,\n actionChecked: response.data.actionChecked,\n onOrder: response.data.onOrder == null ? false : response.data.onOrder\n };\n\n if (service.activityNotification.triggered === false) {\n service.activityNotification.triggered = true;\n coreApi.api.Activity.GetNewActivityNotifications['{entityId}'].GET({\n entityId: opportunity.id\n }).then(resolveActivityNotification);\n }\n\n getNonEssentialOpportunityData(opportunity, dsPermissions, moduleIds);\n if (dsPermissions && dsPermissions.viewCustomer) return customerService.getCustomer(opportunity.id).then(resturnResults);else return customerService.getCustomerName(opportunity.id).then(resturnResults);\n\n function isExpired(dealSheetExpirationDate) {\n var todayDate = new Date().setHours(0, 0, 0, 0);\n var expirationDate = new Date(dealSheetExpirationDate).setHours(0, 0, 0, 0);\n return todayDate > expirationDate;\n }\n\n function resturnResults(customer) {\n return $q.all({\n 'customer': customer,\n 'currentVehicle': vehicleService.getCurrentVehicle(opportunity.vehicleId),\n 'currentContract': contractService.getCurrentContract(opportunity.id, opportunity.type),\n 'replacementVehicles': vehicleService.getReplacementVehicles(opportunity.id, stockNo, customer.pricingPlanId),\n 'tags': getTags(opportunity.id),\n 'fullName': coreApi.api.User.FullNameByEntity['{entityId}'].GET({\n entityId: opportunity.id\n })\n }).then(resolveOpportunityDetails(opportunity, dsPermissions));\n }\n };\n }\n\n function getNonEssentialOpportunityData(opportunity, dsPermissions, moduleIds) {\n // WEBUI-7833 Non-essential api calls are made here (moved out of $q.all):\n coreApi.api.User.GetEntityUserInfo['{entityId}'].GET({\n entityId: opportunity.id\n }).then(function (data) {\n opportunity.ownerUserInfo = data.data;\n });\n getCreditSoftPullResultAsync(dsPermissions, opportunity.id).then(function (data) {\n opportunity.creditSoftPull = data;\n });\n getCreditPrescreenStatus(opportunity.id, moduleIds).then(function (data) {\n opportunity.creditPrescreenStatus = data;\n });\n var isFordAlertEnabled = userService.isDealerEnabledForModule(opportunity.dealerId, modules.fordAlert);\n\n if (isFordAlertEnabled) {\n getCreditPreApprovalAsync(opportunity.id).then(function (data) {\n opportunity.creditPreApproval = data;\n });\n } else {\n opportunity.creditPreApproval = null;\n }\n\n getPandoClaim(opportunity.id).then(function (data) {\n opportunity.pandoClaim = data;\n });\n }\n\n function resolveActivityNotification(response) {\n if (response.data && service.activityNotification) {\n service.activityNotification.notify = response.data.notification;\n }\n }\n\n function resolveOpportunityDetails(opportunity, permissions) {\n return function resolveOpportunityDetailsClosure(data) {\n opportunity.currentContract = data.currentContract;\n opportunity.currentVehicle = data.currentVehicle;\n opportunity.currentVehicle.type = opportunity.currentContract.vehicleType;\n opportunity.currentContract.hasExtendedWarranty = opportunity.hasExtendedWarranty;\n opportunity.currentContract.paidOff = opportunity.paidOff;\n\n if (opportunity.currentContract.paidOff) {\n opportunity.currentContract.paymentsRemaining = 0;\n opportunity.currentContract.payoffAmount = 0;\n }\n\n opportunity.replacementVehicles = data.replacementVehicles;\n opportunity.replacementVehicle = opportunity.replacementVehicles.standardVehicle;\n opportunity.customer = data.customer;\n opportunity.tags = data.tags;\n opportunity.assignedUserFullName = data.fullName.data;\n coreApi.api.Entity.MarkAsRead.POST(\"'\" + opportunity.id + \"'\");\n\n if (opportunity.type == opportunityTypes.conquest) {\n opportunity.currentContract.conquestType = isCreditConvertOpportunity(opportunity) ? conquestTypes.creditConvert : conquestTypes.notConverted;\n } else if (opportunity.type == opportunityTypes.converted) {\n opportunity.currentContract.conquestType = conquestTypes.converted;\n }\n\n var tradeValue = opportunity.stillOwned === null || opportunity.stillOwned === true ? opportunity.currentVehicle.tradeValue : 0;\n var equityValue = opportunity.currentContract.payoffAmount ? opportunity.currentContract.payoffAmount : 0;\n\n function Equity() {\n this.tradeValue = tradeValue, this.equityValue = this.tradeValue - equityValue;\n }\n\n opportunity.currentContract.equity = new Equity();\n return coreApi.api.EntityOpportunity.GetOpportunitiesForEntity['{entityId}'].GET({\n entityId: opportunityId\n }).then(resolveAlerts).then(resolveOpportunityAlerts(opportunity)).then(function () {\n return contractService.getReplacementContracts(opportunity, permissions).then(resolveOpportunityReplacementContracts(opportunity));\n });\n\n function resolveAlerts(response) {\n var alerts = [];\n\n for (var i = 0; i < response.data.length; i++) {\n var alert = response.data[i];\n alerts.push({\n type: alert.alertType,\n typeName: getAlertTypeName(alert.alertType)\n });\n }\n\n return alerts.sort(byType);\n }\n\n function resolveOpportunityAlerts(opportunity) {\n return function resolveOpportunityAlertsClosure(alerts) {\n opportunity.alerts = alerts;\n return opportunity;\n };\n }\n };\n }\n }\n\n function getOpportunityEntityOnly(opportunityId) {\n return coreApi.api.Entity.GetExt['{entityId}'].GET({\n entityId: opportunityId\n }).then(resolveOpportunityEntityOnly);\n\n function resolveOpportunityEntityOnly(response) {\n var status;\n\n if (response.data.scheduled) {\n status = opportunityStatuses.scheduled;\n } else if (response.data.isMarkedAsSold) {\n status = opportunityStatuses.sold;\n } else if (response.data.closed) {\n status = opportunityStatuses.closed;\n } else {\n status = opportunityStatuses.open;\n }\n\n var opportunity = {\n id: response.data.entityID,\n actionAccess: response.data.actionAccess,\n keyId: response.data.entityKeyID,\n dealerId: response.data.dealerID,\n vehicleId: response.data.vehicleID,\n customerId: response.data.customerID,\n type: response.data.entityTypeID,\n hasExtendedWarranty: response.data.hasWarranty,\n status: status,\n stillOwned: response.data.stillOwn == null ? true : response.data.stillOwn,\n paidOff: response.data.paidOff,\n watched: response.data.watched,\n assignedUserId: response.data.ownerUserID,\n isMarkedAsSold: response.data.isMarkedAsSold,\n expirationDate: response.data.expirationDate,\n entityScore: response.data.entityScore,\n actionChecked: response.data.actionChecked\n };\n return opportunity;\n }\n }\n\n function getTags(opportunityId) {\n return coreApi.api.Tag.GetTagsForEntity['{entityId}'].GET({\n entityId: opportunityId\n }).then(mapTags);\n\n function mapTags(response) {\n var tags = [];\n\n for (var i = 0; i < response.data.length; i++) {\n var tag = response.data[i];\n tags.push({\n text: tag.tagText,\n expirationDate: tag.tagExpireDate\n });\n }\n\n return tags;\n }\n }\n\n function getTagsPivotForDealers(selectedDealerId, flushCache) {\n return coreApi.api.Tag.GetTagsPivotForDealers.GET({\n flushCache: flushCache\n }, {\n overrideDealerIds: [selectedDealerId]\n }).then(function (data) {\n return data.data;\n });\n }\n\n function resetActivityNotification() {\n if (service.activityNotification) {\n service.activityNotification.triggered = false;\n service.activityNotification.notify = false;\n }\n }\n\n function getOpportunitiesByCustomerId(customerId) {\n return coreApi.api.Entity.GetEntityReportByCustomerId['{customerId}'].GET({\n customerId: customerId\n }) // /api/Entity/GetEntityReportByCustomerId/{customerId}\n .then(mapOpportunities);\n\n function mapOpportunities(response) {\n var opportunities = [];\n\n for (var i = 0; i < response.data.length; i++) {\n var opportunity = response.data[i];\n\n if (opportunity) {\n opportunities.push({\n id: opportunity.entityID,\n type: opportunity.entityTypeID,\n alerts: opportunity.alerts,\n stillOwned: opportunity.stillOwn == null ? true : opportunity.stillOwn,\n assignedUserFullName: opportunity.ownerFullName,\n status: opportunity.closed,\n opportunityRank: opportunity.opportunityRank,\n entityScore: opportunity.entityScore,\n currentVehicle: {\n type: opportunity.soldAsNew ? vehicleTypes.new : vehicleTypes.used,\n makeName: opportunity.makeName,\n yearID: opportunity.yearID == 0 ? '' : opportunity.yearID,\n modelName: opportunity.modelName,\n trimName: opportunity.trimName,\n trimFullName: mapUtils.getVehicleTrimFullName(opportunity),\n lastServiceDate: opportunity.lastServiceDate,\n vin: opportunity.vin\n },\n currentContract: {\n saleType: opportunity.saleTypeID,\n startDate: opportunity.dealDate,\n soldByFullName: opportunity.soldByFullName\n }\n });\n }\n }\n\n return opportunities;\n }\n }\n\n function getOpportunitiesByVin(dealerId, vin) {\n return coreApi.api.Entity.GetEntityReportByDealerIdAndVin['{dealerId}']['{vin}'].GET({\n dealerId: dealerId,\n vin: vin\n }).then(mapOpportunitiesByVin);\n\n function mapOpportunitiesByVin(response) {\n var data = response.data;\n var opportunities = [];\n\n for (var i = 0; i < data.length; i++) {\n opportunities.push({\n id: data[i].entityID,\n customerFullName: data[i].customerFullName,\n alerts: data[i].alerts\n });\n }\n\n return opportunities;\n }\n }\n\n function getOwnerUserInfo(opportunityId) {\n return coreApi.api.User.GetEntityUserInfo['{entityId}'].GET({\n entityId: opportunityId\n });\n }\n\n function addAlertsAsProperties(target, alerts) {\n clearAlerts(target);\n\n for (var i = 0; i < alerts.length; i++) {\n var alert = alerts[i];\n\n for (var alertType in alertTypes) {\n if (alertTypes.hasOwnProperty(alertType)) {\n if (alert.type == alertTypes[alertType]) {\n if (alert.typeName.toLowerCase().indexOf('alert') !== -1) {\n target[alert.typeName + 'Exists'] = true;\n } else {\n target[alert.typeName + 'AlertExists'] = true;\n }\n }\n }\n }\n }\n }\n\n function updateAssignedUser(opportunityId, userId) {\n return coreApi.api.Entity.ReassignToUserId.POST({\n \"entityId\": opportunityId,\n \"assignToUserId\": userId\n });\n }\n\n function markOpportunityWatched(opportunityId) {\n return coreApi.api.Entity.Watch['{entityId}'].POST({}, {\n entityId: opportunityId\n });\n }\n\n function markOpportunityUnwatched(opportunityId) {\n return coreApi.api.Entity.Unwatch['{entityId}'].POST({}, {\n entityId: opportunityId\n });\n }\n\n function reopenOpportunity(opportunityId) {\n return coreApi.api.Entity.Reopen['{entityId}'].POST({}, {\n entityId: opportunityId\n });\n }\n\n function submitCreditPrescreenRequest(opportunityId, permissions, moduleIds, dealerSettings) {\n if (permissions.requestCreditPrescreen && moduleIds.indexOf(modules.creditConvert) > -1 && dealerSettings.useCreditSoftPull) {\n return coreApi.api.Entity.CreditPrescreenRequest['{entityId}'].POST({}, {\n entityId: opportunityId\n });\n } else {\n var deferred = $q.defer();\n deferred.resolve(false);\n return deferred.promise;\n }\n }\n\n function getCreditPrescreenStatus(opportunityId, moduleIds) {\n if (moduleIds.indexOf(modules.creditConvert) > -1) {\n return coreApi.api.Entity.CreditPrescreenStatus['{entityId}'].GET({\n entityId: opportunityId\n }).then(resolveData, function () {});\n } else {\n return $q.resolve(null);\n }\n }\n\n function resolveData(response) {\n return response.data != '' ? response.data : null;\n }\n\n function getCreditSoftPullResultAsync(permissions, opportunityId) {\n if (permissions && permissions.requestCreditPrescreen) {\n return coreApi.api.CreditSoftPullResultEntityDel['{entityId}'].GET({\n entityId: opportunityId\n }).then(function (result) {\n return result.data;\n }, function () {});\n } else {\n return $q.resolve(undefined);\n }\n }\n\n function getCreditPreApprovalAsync(opportunityId) {\n return coreApi.api.FordCreditApproval.FordCreditApprovalByEntityId['{entityId}'].GET({\n entityId: opportunityId\n }).then(function (result) {\n return result.data;\n }, function () {});\n }\n\n function setAlertDetails(alerts, currentVehicle, currentContract, replacementVehicle, replacementContract) {\n for (var i = 0; i < alerts.length; i++) {\n var alert = alerts[i];\n\n switch (alert.type) {\n case alertTypes.alert:\n case alertTypes.flexAlert:\n setFlexAlertDetails(alert, replacementVehicle, replacementContract);\n break;\n\n case alertTypes.service:\n setServiceAlertDetails(alert, currentVehicle, currentContract);\n break;\n\n case alertTypes.appointment:\n setAppointmentAlertDetails(alert, currentVehicle);\n break;\n\n case alertTypes.contractEnd:\n setContractEndAlertDetails(alert, currentContract);\n break;\n\n case alertTypes.mileage:\n setMileageAlertDetails(alert, currentContract);\n break;\n\n case alertTypes.warranty:\n setWarrantyAlertDetails(alert, currentVehicle, currentContract);\n break;\n\n default:\n break;\n }\n\n alert.translateKey = getAlertTranslateKey(alert);\n }\n }\n\n function getAlertTranslateKey(alert) {\n if (alert.details && !alert.details.payment && (alert.type == alertTypes.alert || alert.type == alertTypes.flexAlert == alertTypes.flexAlert)) {\n return alert.typeName + 'RelevantInfoNoPayment';\n }\n\n return alert.typeName + 'RelevantInfo';\n }\n\n function isCreditConvertOpportunity(opportunity) {\n return containsTag(opportunity, 'CreditConvert');\n }\n\n function containsTag(opportunity, tagText) {\n if (opportunity && opportunity.tags) {\n return opportunity.tags.some(function (tag) {\n return tag.text === tagText;\n });\n }\n }\n\n function resolveOpportunityReplacementContracts(opportunity) {\n return function resolveOpportunityReplacementContractsClosure(data) {\n opportunity.replacementContracts = data.contracts;\n opportunity.replacementContract = data.defaultContract;\n\n if (opportunity.replacementContract) {\n opportunity.replacementContract.vehicleType = opportunity.replacementVehicle.type;\n }\n\n setAlertDetails(opportunity.alerts, opportunity.currentVehicle, opportunity.currentContract, opportunity.replacementVehicle, opportunity.replacementContract);\n return opportunity;\n };\n }\n\n function byType(alert1, alert2) {\n if (alert1.type > alert2.type) {\n return 1;\n } else if (alert1.type < alert2.type) {\n return -1;\n } else {\n return 0;\n }\n }\n\n function setFlexAlertDetails(alert, vehicle, contract) {\n alert.details = {\n yearID: vehicle.yearID,\n makeName: vehicle.makeName,\n modelName: vehicle.modelName,\n trimName: vehicle.trimName,\n contractTerm: contract ? contract.term : null,\n payment: contract ? contract.payment : null,\n paymentDifferenceAmount: contract ? contract.paymentDifference : null\n };\n }\n\n function setServiceAlertDetails(alert, vehicle) {\n alert.details = {\n openDate: vehicle.openDate,\n eighteenMonthServiceCount: vehicle.eighteenMonthServiceCount\n };\n }\n\n function setAppointmentAlertDetails(alert, vehicle) {\n alert.details = {\n appointmentDate: vehicle.appointmentDate\n };\n }\n\n function setContractEndAlertDetails(alert, contract) {\n alert.details = {\n paymentsMade: contract.paymentsMade,\n paymentsRemaining: contract.paymentsRemaining\n };\n }\n\n function setMileageAlertDetails(alert, contract) {\n alert.details = {\n estimatedMaturityMileage: contract.estimatedMaturityMileage,\n currentMileagePenalty: contract.currentMileagePenalty,\n estimatedMileagePenalty: contract.estimatedMileagePenalty\n };\n }\n\n function setWarrantyAlertDetails(alert, vehicle, contract) {\n alert.details = {\n warrantyMonthsRemaining: vehicle.warrantyMonthsRemaining ? vehicle.warrantyMonthsRemaining : contract.warrantyMonthsRemaining,\n warrantyMilesRemaining: vehicle.warrantyMilesRemaining ? vehicle.warrantyMilesRemaining : contract.warrantyMilesRemaining\n };\n }\n\n function getAlertTypeName(alertType) {\n switch (alertType) {\n case alertTypes.alert:\n return 'alert';\n\n case alertTypes.flexAlert:\n return 'flexAlert';\n\n case alertTypes.inMarket:\n return 'inMarket';\n\n case alertTypes.inMarketEngaged:\n return 'inMarketEngaged';\n\n case alertTypes.contractEnd:\n return 'contractEnd';\n\n case alertTypes.service:\n return 'service';\n\n case alertTypes.appointment:\n return 'appointment';\n\n case alertTypes.mileage:\n return 'mileage';\n\n case alertTypes.warranty:\n return 'warranty';\n\n default:\n return '';\n }\n }\n\n function clearAlerts(target) {\n target.alertExists = null;\n target.flexAlertExists = null;\n target.serviceAlertExists = null;\n target.appointmentAlertExists = null;\n target.mileageAlertExists = null;\n target.contractEndAlertExists = null;\n target.warrantyAlertExists = null;\n }\n\n function logTradeValueChange(vehicleId, tradeValue) {\n return coreApi.api.VehicleFinalTradeValueTempChange.LogTradeValueChange.POST({\n VehicleID: vehicleId,\n TradeValue: tradeValue\n });\n }\n\n function getChangeLogs(opportunityId) {\n return coreApi.api.ChangeLog['{entityId}'].GET({\n entityId: opportunityId\n }).then(resolveGetChangeLogs);\n\n function resolveGetChangeLogs(response) {\n if (!response || !response.data) {\n return null;\n }\n\n return response.data;\n }\n }\n\n function submitDiscrepancy(opportunity, discrepancy) {\n var request = {\n entityId: opportunity.id,\n reportableFieldId: discrepancy.type,\n reportableExpectedValue: discrepancy.expectedValue,\n dealerId: opportunity.dealerId,\n dealerName: opportunity.dealer.name,\n customerFullName: opportunity.customer.fullName,\n currentVehicleVin: opportunity.currentVehicle.vin,\n reportDiscrepancyVehicle: {\n yearID: opportunity.replacementVehicle.yearID,\n fullTrimName: opportunity.replacementVehicle.makeName + \" \" + opportunity.replacementVehicle.trimFullName,\n localePrice: $filter('localeCurrency')(opportunity.replacementVehicle.price)\n },\n dealSheetUrl: dealSheetService.getDealSheetUrl(opportunity.id)\n };\n\n if (discrepancy.multiple) {\n request.ReportableCurrentValues = discrepancy.currentValue;\n } else {\n if (discrepancy.type == discrepancyTypes.tradeValue || discrepancy.type == discrepancyTypes.payoffAmount) {\n request.reportableCurrentValue = $filter(\"localeCurrency\")(discrepancy.currentValue);\n } else {\n request.reportableCurrentValue = discrepancy.currentValue;\n }\n }\n\n return coreApi.api.DiscrepancyReport.ReportDiscrepancy.POST(request);\n }\n\n function addTermOverrideChangeLog(vehicleId, term) {\n return coreApi.api.ChangeLog.Term['{vehicleId}']['{term}'].POST({}, {\n vehicleId: vehicleId,\n term: term\n });\n }\n\n function addPriceOverrideChangeLog(vehicleId, price) {\n return coreApi.api.ChangeLog.Price['{vehicleId}']['{price}'].POST({}, {\n vehicleId: vehicleId,\n price: price\n });\n }\n\n function getPandoClaim(entityId) {\n return coreApi.api.PandoClaim.ByEntity['{entityId}'].GET({\n entityId: entityId\n }).then(function (results) {\n return results.data;\n });\n }\n\n function hasReviewProDealer(entityId) {\n return coreApi.api.Entity.HasReviewProDealer['{entityId}'].GET({\n entityId: entityId\n }).then(function (results) {\n return results.data;\n }, function () {\n return false;\n });\n }\n\n function hasGeoAlertDealer(entityId) {\n return coreApi.api.Entity.HasGeoAlertDealer['{entityId}'].GET({\n entityId: entityId\n }).then(function (results) {\n return results.data;\n }, function () {\n return false;\n });\n }\n\n function showIfNotNullOrEmpty(defaultValue, item, obj) {\n if (item != null && item != \"\") {\n if (obj != null) return obj;\n return item;\n }\n\n return defaultValue;\n }\n\n function toYesNoTypeID(yesNoTypeName) {\n if (yesNoTypeName == null) return 0;\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\n if (yesNoTypeName == \"yes\") return 1;\n if (yesNoTypeName == \"no\") return 0;\n return 0;\n }\n\n function toBoolean(yesNoTypeName) {\n if (yesNoTypeName == null) return false;\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\n if (yesNoTypeName == \"yes\") return true;\n if (yesNoTypeName == \"no\") return false;\n return false;\n }\n\n function nullIf(valueIfNull, defaultValue) {\n if (valueIfNull) return null;\n return defaultValue;\n }\n\n function defaultValue(value, defaultValue) {\n if (value == null) return defaultValue;\n return value;\n }\n\n function toSaleTypeID(saleType) {\n if (saleType == null) return \"\";\n saleType = saleType.toString().toLowerCase();\n if (saleType == \"lease\") return 1;\n if (saleType == \"retail\") return 2;\n if (saleType == \"balloon\") return 3;\n if (saleType == \"cash\") return 4;\n if (saleType == \"onepay lease\") return 5;\n if (saleType == \"wholesale\") return 6;\n if (saleType == \"incomplete\") return 7;\n return \"\";\n }\n\n function NewUsedCpoToID(vehicleType) {\n if (vehicleType == null) return \"\";\n vehicleType = vehicleType.toString().toLowerCase();\n if (vehicleType == \"new\") return 0;\n if (vehicleType == \"used\") return 1;\n if (vehicleType == \"cpo\") return 2;\n return \"\";\n }\n\n function toAlertTypeList(vw_search, replacementVehicle) {\n replacementVehicle.payment = vw_search.replacement_Payment;\n var alerts = [];\n if (vw_search.is_Alert == \"Yes\") pushAlert(alerts, alertTypes.alert, 'alert', replacementVehicle);\n if (vw_search.is_Appointment == \"Yes\") pushAlert(alerts, alertTypes.appointment, 'appointment', replacementVehicle);\n if (vw_search.is_Contract_End == \"Yes\") pushAlert(alerts, alertTypes.contractEnd, 'contractEnd', replacementVehicle); //if (vw_search.is_Conversion_Alert == \"Yes\") pushAlert(alerts, alertTypes.alert, 'alert');\n\n if (vw_search.is_Flex_Alert == \"Yes\") pushAlert(alerts, alertTypes.flexAlert, 'flexAlert', replacementVehicle);\n if (vw_search.is_In_Market == \"Yes\") pushAlert(alerts, alertTypes.inMarket, 'inMarket', replacementVehicle);\n if (vw_search.is_In_Market_Engaged == \"Yes\") pushAlert(alerts, alertTypes.inMarketEngaged, 'inMarketEngaged', replacementVehicle);\n if (vw_search.is_Mileage_Alert == \"Yes\") pushAlert(alerts, alertTypes.mileage, 'mileage', replacementVehicle);\n if (vw_search.is_Warranty_Alert == \"Yes\") pushAlert(alerts, alertTypes.warranty, 'warranty', replacementVehicle);\n return alerts;\n }\n\n function pushAlert(arr, type, name, replacementVehicle) {\n arr.push({\n type: type,\n typeName: name,\n translateKey: name + \"RelevantInfo\",\n details: replacementVehicle //terrible. needs refactor.\n\n });\n }\n\n function getOpportunityFromViewEntityId(entityId, vw_SearchRow) {\n var deferred = $q.defer();\n var promise = deferred.promise;\n\n if (vw_SearchRow == null || vw_SearchRow[\"_EntityID\"] == null) {\n entityId = vw_SearchRow == null ? entityId : vw_SearchRow.opportunityId;\n coreApi.api.Search.GetSearchByEntityId['{entityId}'].GET({\n entityId: entityId\n }).then(function (data) {\n deferred.resolve(data.data);\n });\n return promise;\n } else {\n return $q.resolve(vw_SearchRow);\n }\n }\n\n function getOpportunityFromView(vw_SearchRow) {\n if (vw_SearchRow == null) {\n return;\n }\n\n var opportunity = {\n id: vw_SearchRow._EntityID,\n vehicleId: vw_SearchRow._VehicleID,\n type: vw_SearchRow._EntityTypeID,\n stillOwned: toBoolean(vw_SearchRow.still_Own),\n paidOff: toBoolean(vw_SearchRow.paid_Off),\n dealerId: vw_SearchRow._DealerID,\n customer: {\n fullName: vw_SearchRow.full_Name,\n address: {\n streetAddress: vw_SearchRow.address,\n streetAddress2: vw_SearchRow.address_2,\n stateId: vw_SearchRow._StateID,\n normalizedZipCode: vw_SearchRow.zip_Code,\n zipCode: vw_SearchRow.zip_Code,\n city: vw_SearchRow.city,\n stateName: vw_SearchRow.state\n },\n pricingPlanId: null,\n //disables UseEmployeePricing\n alternateContacts: [],\n cellPhoneNumber: showIfNotNullOrEmpty(null, vw_SearchRow.cell_Phone, {\n \"contactType\": 4,\n \"value\": vw_SearchRow.cell_Phone,\n \"isBad\": false,\n \"isPreferred\": true,\n \"doNotCallStatusTypeId\": 4\n }),\n \"companyName\": \"\",\n \"doNotCall\": toBoolean(vw_SearchRow.do_Not_Call),\n \"doNotEmail\": toBoolean(vw_SearchRow.do_Not_Email),\n \"doNotMail\": toBoolean(vw_SearchRow.do_Not_Mail),\n \"emailAddress\": showIfNotNullOrEmpty(null, vw_SearchRow.email, {\n \"contactType\": 5,\n \"value\": vw_SearchRow.email,\n \"isBad\": vw_SearchRow.email != \"\",\n \"isPreferred\": vw_SearchRow.email != \"\"\n }),\n \"firstName\": vw_SearchRow.first_Name,\n \"homePhoneNumber\": showIfNotNullOrEmpty(null, vw_SearchRow.home_Phone, {\n \"contactType\": 2,\n \"value\": vw_SearchRow.home_Phone,\n \"isBad\": false,\n \"isPreferred\": true,\n \"doNotCallStatusTypeId\": 4\n }),\n \"id\": vw_SearchRow._CustomerID,\n \"invalidContacts\": [],\n \"isAddressNotValid\": false,\n \"isFullCustomer\": true,\n \"lastName\": vw_SearchRow.last_Name,\n \"middleName\": vw_SearchRow.middle_Name,\n \"workPhoneNumber\": showIfNotNullOrEmpty(null, vw_SearchRow.work_Phone, {\n \"contactType\": 3,\n \"value\": vw_SearchRow.work_Phone,\n \"isBad\": false,\n \"isPreferred\": true,\n \"doNotCallStatusTypeId\": 4\n })\n },\n //\"dealer\": {\n // \"name\": \"MB Demo\",\n // \"displayText\": \"MB Demo (MBDEMO)\"\n //},\n entityScore: vw_SearchRow._Opportunity_Rank,\n assignedUserId: vw_SearchRow._OwnerUserID,\n assignedUserFullName: vw_SearchRow._Customer_Owner,\n //alerts: toAlertTypeList(vw_SearchRow),\n permissions: {\n viewContract: true\n },\n currentContract: {\n adjustedBalance: vw_SearchRow.estimated_Payoff - vw_SearchRow.totalPenalty,\n saleType: vw_SearchRow._SaleTypeID,\n moneyFactor: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.rate : null,\n payment: vw_SearchRow.current_Payment,\n //1790,\n soldByName: vw_SearchRow.sold_By_Name,\n //\"THOMAS CARNEVALE\"\n vehicleType: NewUsedCpoToID(vw_SearchRow.new_Used),\n paymentsMade: vw_SearchRow.payments_Made,\n //41,\n paymentsRemaining: vw_SearchRow.payment_Remaining,\n //7,\n //\"cashPaid\": null,\n allowedMileage: vw_SearchRow.lease_Total_Allowed_Miles,\n //48000, //N/A\n //\"estimatedMaturityMileage\": 51700,\n //\"currentMileagePenalty\": 0,\n //\"estimatedMileagePenalty\": 900,\n //\"preferredEquity\": 5350,\n //\"balanceToMaturity\": 13125,\n //\"dispositionFee\": 595,\n entityID: vw_SearchRow._EntityID,\n //\"hasWarranty\": false,\n bankName: vw_SearchRow.bank_Name,\n //\"bankUrl\": \"https://new.mb-advantage.com\",\n //\"isCreditConvert\": true,\n //\"paymentMinimum\": 1700,\n //\"paymentMaximum\": 1750,\n payoffAmount: vw_SearchRow.estimated_Payoff,\n //57550,\n //\"payoffGoodThroughDate\": null,\n lastTouchedDate: vw_SearchRow.last_Payment_Date,\n //How Necessary is this? Required by \n saleID: vw_SearchRow._SaleID,\n //60924823,\n //\"insertDate\": \"2015-04-25T01:25:57.84Z\",\n //\"dealerID\": 1167,\n //\"customerID\": 38827071,\n //\"vehicleID\": 89569084,\n //\"soldAsNew\": true,\n //\"mileageAtDelivery\": 8,\n //\"bankID\": 48,\n dmsDealId: vw_SearchRow.dmS_Deal_ID,\n //\"soldByID\": 314698,\n term: vw_SearchRow.deal_Term,\n dealDate: vw_SearchRow.deal_Date,\n //\"firstPaymentDate\": \"2015-04-18T00:00:00\",\n lastPaymentDate: vw_SearchRow.last_Payment_Date,\n //\"2019-04-18T00:00:00\",\n //\"leaseBasePayment\": 1646,\n //\"leaseTotalPayment\": 1790,\n capitalCost: vw_SearchRow.lease_Net_Cap_Cost,\n residualAmount: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.lease_Residual : null,\n //45807,\n //\"leaseAnnualMiles\": null,\n //\"retailPayment\": 0,\n financedAmount: vw_SearchRow.purchase_Amount_Financed,\n //\"balloonPayment\": null,\n cashDown: vw_SearchRow.cash_Down,\n //1495,\n apr: vw_SearchRow._SaleTypeID == 1 ? null : vw_SearchRow.rate,\n // null, \n //\"isNative\": true,\n //\"boughtExtWarranty\": false,\n //\"hasExtendedWarranty\": false,\n paidOff: toYesNoTypeID(vw_SearchRow.paid_Off),\n //false\n //\"equity\": {\n // \"tradeValue\": 10, // 62900,\n // \"equityValue\": 5350\n //}\n financedOrCapCost: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.lease_Net_Cap_Cost : vw_SearchRow.purchase_Amount_Financed\n },\n currentVehicle: {\n openDate: vw_SearchRow.openDate,\n tradeValue: vw_SearchRow.trade_Value,\n trimID: vw_SearchRow._TrimID,\n yearID: vw_SearchRow._YearID,\n makeID: vw_SearchRow._MakeID,\n //imagePath: \"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\n //\"imagePath\": \"../../../images/Capture1.png\",\n //imagePath: oneImage,\n type: NewUsedCpoToID(vw_SearchRow.new_Used),\n //pricingPlanMsrp: vw_SearchRow.\n //\"addModelToTrim\": false,\n //\"appointmentDate\": \"2018-05-04T12:00:00\",\n //\"dealerID\": 1167,\n //\"displayCodes\": false,\n //\"eighteenMonthServiceCount\": 3,\n //\"estimatedCurrentMileage\": 44200,\n //\"estimatedMilesPerMonth\": 1140,\n //\"extColorID\": null,\n //\"exteriorColor\": \"DESIGNO GRAPHITE\",\n //\"intColorID\": null,\n //\"interiorColor\": null,\n //\"lastOdometerReadingDate\": \"2018-05-04T15:24:00\",\n \"makeName\": vw_SearchRow.current_Make_Name,\n //\"mfcModelCode\": null,\n \"modelName\": vw_SearchRow.current_Model_Name,\n //\"modelNo\": \"E63SP\",\n //\"odometer\": 38750,\n //\"replacementTrimID\": 422662,\n //\"tradeMileageAdjustment\": -2400,\n //\"tradeSourceID\": 1,\n \"trimFullName\": defaultValue(vw_SearchRow.current_Model_Name, \"\") + ' ' + defaultValue(vw_SearchRow.current_Trim_Name, \"\"),\n \"trimName\": defaultValue(vw_SearchRow.current_Trim_Name, \"\"),\n //\"vehicleID\": 89569084,\n //\"viN8Key\": \"WDDHH7GB_F\",\n \"vin\": vw_SearchRow.vin //\"vrn\": null,\n //\"vrnLastUpdateDate\": \"2016-06-27T14:45:00\",\n //\"warrantyMilesRemaining\": 5800,\n //\"warrantyMonthsRemaining\": 7\n\n },\n replacementVehicle: {\n paymentDifferenceAmount: vw_SearchRow.replacement_Payment - vw_SearchRow.current_Payment,\n type: NewUsedCpoToID(vw_SearchRow.replacement_New_Used),\n //0,\n stockNo: vw_SearchRow.replacement_Stock_No,\n //null,\n //\"odometer\": 0,\n //\"vin\": null,\n msrp: vw_SearchRow.replacement_MSRP,\n price: vw_SearchRow.replacement_MSRP,\n //is not part of vw_search, MSRP is part of vw_search.\n trimID: vw_SearchRow.replacementTrimID,\n //\"daysInStock\": null,\n //\"interiorColor\": null,\n //\"exteriorColor\": null,\n //\"countryID\": 4,\n //\"countryName\": \"France\",\n makeID: vw_SearchRow.replacementMakeID,\n makeName: vw_SearchRow.replacement_Make_Name,\n //\"Mercedes-Benz\",\n //modelID: vw_SearchRow.replacementModelID, //replacementModelID needs to be added to vw_search\n modelName: vw_SearchRow.replacement_Model_Name,\n yearID: vw_SearchRow.replacement_Model_Year,\n //2018,\n trimName: vw_SearchRow.replacement_Trim_Name,\n //\"rawTrimName\": null,\n //\"mfcModelCode\": \"E43W4\",\n //\"extID\": \"7778055\",\n //\"extOptionId\": \"0\",\n //\"extFuelTypeId\": 1059,\n //\"cityMPG\": 19,\n //\"cityMPGe\": null,\n //\"highwayMPG\": 25,\n //\"highwayMPGe\": null,\n //\"combinedMPG\": 21,\n //\"batteryRange\": null,\n trimFullName: vw_SearchRow.replacement_Full_Trim_Name //\"E 43 AMG\",\n //\"imagePath\": vw_SearchRow.imagePath, //\"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\n //\"imagePath\": \"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\n //imagePath: twoImage,\n //\"vehicleID\": 89569084,\n //\"oldMakeID\": 51,\n //\"oldTrimID\": 389466,\n //\"newMakeID\": 51,\n //\"newTrimID\": 422648,\n //\"isValid\": 1,\n //\"isConquest\": 0,\n //\"newVehiclePrice\": 72595\n\n },\n replacementContract: {\n keyID: vw_SearchRow._EntityKeyID,\n saleType: toSaleTypeID(vw_SearchRow.replacement_Sale_Type),\n // 1,\n //\"saleTypeName\": \"Lease\",\n //\"bankID\": 48,\n //\"bankName\": \"Mercedes-Benz Financial\",\n term: vw_SearchRow.replacement_Term,\n //\"termBeforeImprovement\": null,\n apr: toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 2 ? vw_SearchRow.replacement_Rate : null,\n //null,\n moneyFactor: toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 1 ? vw_SearchRow.replacement_Rate : null,\n //0.00386,\n //\"standardRebate\": 0,\n //\"loyaltyRebate\": 0,\n //\"conquestRebate\": 0,\n //\"cashOrAprRebate\": 1000,\n //\"cashOrApr\": true,\n //\"isValueAdded\": false,\n //\"pullForwardAmount\": 5370,\n //\"specialLoyaltyValue\": 0,\n isOverAllowance: toYesNoTypeID(vw_SearchRow.is_Over_Allowance),\n //false,\n financedAmount: nullIf(toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 1, vw_SearchRow.replacement_Loan_Amount),\n //null,\n //\"residualAmount\": 35571.55,\n preferredEquity: vw_SearchRow.preferred_Equity,\n //5350,\n payment: vw_SearchRow.replacement_Payment,\n //1157,\n paymentDifference: vw_SearchRow.replacement_Payment - vw_SearchRow.current_Payment,\n //-633,\n //\"capitalCost\": 67512,\n //\"paymentBeforeImprovement\": null,\n //\"salesTax\": 8.75,\n //\"isClosestTerm\": true,\n isAlert: toYesNoTypeID(vw_SearchRow.is_Alert),\n //1,\n isFlexAlert: toYesNoTypeID(vw_SearchRow.is_Flex_Alert),\n // 1,\n isConversionAlert: toYesNoTypeID(vw_SearchRow.is_Conversion_Alert) //0,\n //\"factoryRebate\": 1000,\n //\"dealerRebate\": 0,\n //\"cashBack\": 0,\n //\"adjustedCashDown\": 0,\n //\"isCapDownReduced\": false,\n //\"maxCapDown\": null,\n //\"isReplacementPayment\": true,\n //\"programSourceID\": 2,\n\n }\n };\n opportunity.alerts = toAlertTypeList(vw_SearchRow, opportunity.replacementVehicle);\n return opportunity;\n }\n}","pandoSurveyService.$inject = [\"coreApi\", \"$q\", \"tokenService\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('pandoSurveyService', pandoSurveyService);\n/* @ngInject */\n\nfunction pandoSurveyService(coreApi, $q, tokenService) {\n var service = {\n getAccessibleSurveys: getAccessibleSurveys,\n getWorkflowTemplates: getWorkflowTemplates,\n getDealerAutoReportSubscription: getDealerAutoReportSubscription,\n getReportDealerPandoGroupSubscriptions: getReportDealerPandoGroupSubscriptions,\n removeDealerAutoReportSubscription: removeDealerAutoReportSubscription,\n updateDealerAutoReportSubscription: updateDealerAutoReportSubscription,\n addReportDealerPandoGroupSubscription: addReportDealerPandoGroupSubscription,\n updateReportDealerPandoGroupSubscription: updateReportDealerPandoGroupSubscription\n };\n return service;\n\n function getAccessibleSurveys() {\n if (!tokenService.isMotoFuzeUser()) return $q.resolve();\n return coreApi.api.PandoPassthrough.GetString.POST({\n \"uriTemplate\": \"/pando/pandosurveyreporting/accessiblesurveys\"\n }).then(function (response) {\n return response.data.SurveyFamilies;\n });\n }\n\n function getWorkflowTemplates(dealerId) {\n if (!tokenService.isMotoFuzeUser()) return $q.resolve();\n return coreApi.api.PandoPassthrough.GetWorkflowTemplates[\"{dealerId}\"].GET({\n dealerId: dealerId\n }, {\n disableErrorHandler: true\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getDealerAutoReportSubscription(dealerId) {\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\n return coreApi.api.ReportSubscription.GetDealerAutoReportSubscription[\"{dealerId}\"].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function addReportDealerPandoGroupSubscription(subscription) {\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\n return coreApi.api.ReportSubscription.AddReportDealerPandoGroupSubscription.POST(subscription).then(function (response) {\n return response.data;\n });\n }\n\n function updateReportDealerPandoGroupSubscription(subscription) {\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\n return coreApi.api.ReportSubscription.UpdateReportDealerPandoGroupSubscription.POST(subscription).then(function (response) {\n return response.data;\n });\n }\n\n function getReportDealerPandoGroupSubscriptions(dealerId) {\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\n return coreApi.api.ReportSubscription.GetReportDealerPandoGroupSubscriptions[\"{dealerId}\"].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function removeDealerAutoReportSubscription(dealerId) {\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve();\n return coreApi.api.ReportSubscription.RemoveDealerAutoReportSubscription[\"{dealerId}\"].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function updateDealerAutoReportSubscription(subscription) {\n //if (!tokenService.isMotoFuzeUser()) return $q.resolve(); \n return coreApi.api.ReportSubscription.UpdateDealerAutoReportSubscription.POST(subscription).then(function (response) {\n return response.data;\n });\n }\n}","import \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/web.dom.iterable\";\nprintOfferBatchService.$inject = [\"$document\", \"$q\", \"$timeout\", \"$translate\", \"$uibModal\", \"$window\", \"coreApi\", \"logger\"];\nimport angular from 'angular';\nimport _ from 'lodash';\nangular.module('AaApp.Opp').factory('printOfferBatchService', printOfferBatchService);\n/* @ngInject */\n\nfunction printOfferBatchService($document, $q, $timeout, $translate, $uibModal, $window, coreApi, logger) {\n var service = {\n initiatePrint: initiatePrint,\n getByBatch: getByBatch\n };\n return service;\n\n function getByBatch(batchId) {\n return coreApi.api.PrintOffer.GetByBatch['{batchId}'].GET({\n batchId: batchId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function initiatePrint(entityIds) {\n if (!entityIds) {\n return $q.reject(\"No entity IDs provided\");\n } //input can be either single entityId or entityIds.\n //this casts it as an array\n\n\n if (entityIds && !Array.isArray(entityIds)) {\n entityIds = [entityIds];\n }\n\n return postOpenBatch(entityIds).then(resolvePostOpenBatchSuccess, resolvePostOpenBatchError);\n\n function postOpenBatch(entityIds) {\n var deferred = $q.defer();\n var batchId = null;\n var pollCount = 0;\n var pollMaxCount = 60;\n\n var poller = function poller() {\n coreApi.api.PrintOfferBatch['{id}'].GET({\n id: batchId\n }).then(function (response) {\n pollCount++;\n\n if (response.data) {\n if (response.data.isActive) {\n if (pollCount < pollMaxCount) {\n $timeout(poller, 1000);\n logger.debug('Continuing to poll. Polling count #: ' + pollCount);\n } else {\n var errorCode = 'POLLING_TIMEOUT';\n var error = {\n code: errorCode\n };\n return deferred.reject(error);\n }\n } else if (response.data.isFailed) {\n var _errorCode = 'API_TO_API_ERROR';\n var _error = {\n code: _errorCode\n };\n return deferred.reject(_error);\n } else if (!response.data.isActive && !response.data.isFailed) {\n if (response.data.failedCount === 0 && response.data.collectionUrl) {\n //display the new tab with the\n response.data.entityIds = entityIds;\n deferred.resolve(response.data);\n } else if (response.data.failedCount > 0) {\n //all failed\n if (response.data.successCount === 0) {\n var _errorCode2 = 'BATCH_ALL_ENTITIES_FAILED';\n var _error2 = {\n code: _errorCode2,\n entityIds: entityIds\n };\n return deferred.reject(_error2);\n } //some failed (still display new tab)\n else if (response.data.successCount > 0 && response.data.collectionUrl) {\n var _errorCode3 = 'BATCH_SOME_ENTITIES_FAILED';\n var _error3 = {\n code: _errorCode3,\n batchId: batchId,\n entityIds: entityIds,\n collectionUrl: response.data.collectionUrl\n };\n return deferred.reject(_error3);\n }\n }\n }\n }\n }).catch(function (e) {\n deferred.reject(e);\n });\n };\n\n coreApi.api.PrintOfferBatch.OpenBatch.POST(entityIds).then(function (response) {\n batchId = response.data;\n poller(batchId); //deferred.resolve(response.data);\n }).catch(function (e) {\n deferred.reject(e);\n });\n return deferred.promise;\n }\n\n function resolvePostOpenBatchSuccess(data) {\n openPrintModal(data.collectionUrl);\n $translate('SERVICE_DRIVE.PRINT_SUCCEEDED').then(function (successMessage) {\n logger.success(successMessage);\n });\n return data;\n }\n\n function resolvePostOpenBatchError(error) {\n if (error.code === 'API_TO_API_ERROR') {\n $translate('SERVICE_DRIVE.PRINT_FAILED_ALL').then(function (failedMessage) {\n logger.warning(failedMessage);\n });\n } else if (error.code === 'POLLING_TIMEOUT') {\n logger.genericError(error.code); //call api to get failed entities\n } else if (error.code === 'BATCH_ALL_ENTITIES_FAILED') {\n $translate('SERVICE_DRIVE.PRINT_FAILED_ALL').then(function (failedMessage) {\n logger.warning(failedMessage);\n });\n } else if (error.code === 'BATCH_SOME_ENTITIES_FAILED') {\n if (error.collectionUrl) {\n //display, but show there were errors\n $timeout(function () {\n openPrintModal(error.collectionUrl);\n }, 10000);\n }\n\n if (error.batchId && error.entityIds) {\n //get entities that succeeded through API\n printOfferBatchService.getByBatch(error.batchId).then(function (data) {\n var successfulEntityIds = _.map(data, 'entityID'); //updatePrintedDate(data.successfulEntityIds);\n //updateOffers();\n //get failed entities by removing the successful entityIds from original array of entityIds\n\n\n var failedEntityIds = _.remove(error.entityIds, function (entityId) {\n return _.indexOf(successfulEntityIds, entityId) !== -1;\n });\n\n var namesConcatenatedString = getFailedCustomerNamesByEntityIds(failedEntityIds); //display message that says which names failed\n //logger.warning('Offer statement could not be generated for the following customers: ' + namesConcatenatedString);\n\n $translate('SERVICE_DRIVE.PRINT_FAILED_PARTIALLY').then(function (warningMessage) {\n logger.warning(warningMessage + namesConcatenatedString);\n });\n return data.successfulEntityIds;\n });\n }\n }\n\n function getFailedCustomerNamesByEntityIds() {\n var names = [];\n angular.forEach(error.entityIds, function (id) {\n // 'offers' is not available because it hasn't been\n // returned by the API. For now, just make this a noop.\n var offer = _.find(\n /* offers */\n [], function (o) {\n return o.entityID === id;\n });\n\n names.push(offer.customerFullName);\n });\n return names.join(', ');\n }\n }\n }\n\n function openPrintModal(_printUrl) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n $uibModal.open({\n animation: true,\n component: 'serviceDriveOffersPrintModalComponent',\n appendTo: parentElem,\n windowClass: 'modal-aa-lg',\n backdropClass: 'modal-aa-lg-backdrop',\n resolve: {\n printUrl: function printUrl() {\n return _printUrl;\n }\n }\n });\n }\n}","import \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/web.dom.iterable\";\nreportService.$inject = [\"$http\", \"$state\", \"coreApi\", \"apiUrls\", \"storageService\", \"reportsMenu\", \"modules\", \"tokenService\", \"authorizationService\", \"userService\", \"_\"];\nimport angular from 'angular';\nimport * as datetime from '../utilities/datetime';\nvar generateReportApi = '/api/Reports/GenerateReport';\nangular.module('AaApp.Opp').factory('reportService', reportService);\n/* @ngInject */\n\nfunction reportService($http, $state, coreApi, apiUrls, storageService, reportsMenu, modules, tokenService, authorizationService, userService, _) {\n var service = {\n getReport: getReport,\n getDateRanges: getDateRanges,\n getFordPilotStoreStatus: getFordPilotStoreStatus,\n getAuthorizedReports: getAuthorizedReports,\n isReportAuthorized: isReportAuthorized,\n getServiceDriveReportDetail: getServiceDriveReportDetail,\n getCreditConvertReportDetail: getCreditConvertReportDetail,\n getDataCleanseReportDetail: getDataCleanseReportDetail,\n getUserActivityLog: getUserActivityLog,\n getSubscriptions: getSubscriptions,\n addSubscription: addSubscription,\n updateSubscription: updateSubscription,\n disableSubscription: disableSubscription,\n enableSubscription: enableSubscription,\n deleteSubscription: deleteSubscription,\n toZuluStringFromLocalDate: toZuluStringFromLocalDate,\n getLmsTranscript: getLmsTranscript,\n getPerformanceReportAvailableMonths: getPerformanceReportAvailableMonths,\n getBetaReportList: getBetaReportList,\n getTableauToken: getTableauToken\n };\n return service;\n\n function getReport(report, fromDate, toDate, selectedDealerId, format, additionalParams) {\n var userProfile = storageService.getItem('userProfile');\n var params = [{\n Key: 'DateFrom',\n Value: fromDate\n }, {\n Key: 'DateTo',\n Value: toDate\n }, {\n Key: 'LoggedInUserID',\n Value: userProfile.userId\n }, {\n Key: 'DealerGroupID',\n Value: userProfile.dealerGroupId\n }, {\n Key: 'DealerID',\n Value: selectedDealerId\n }, {\n Key: 'Culture',\n Value: userProfile.cultureName\n }];\n\n if (angular.isArray(additionalParams)) {\n for (var i = 0; i < additionalParams.length; i++) {\n params.push(additionalParams[i]);\n }\n } //var dealerId = 99999;\n //var dealer = _.find(params, function(item){ return item.Key == \"DealerID\"; });\n //if (dealer != null) {\n // dealerId = dealer.Value;\n //}\n //// If selectedDealerId = 0 then it means ALL dealers, which is only available to enterprise reports\n //var id = dealerId == 0 ? report.enterprise.id : report.id;\n\n\n if (format && (format === 'pdf' || format === 'excel')) {\n return getReportDataExport(report.id, params, format);\n } else {\n return getReportData(report.id, params);\n }\n }\n\n function getDateRanges() {\n return coreApi.api.Reports.GetReportPeriods.GET().then(getData);\n }\n\n function getData(response) {\n return response.data;\n }\n\n function toZuluStringFromLocalDate(date) {\n var atMidnight = datetime.atMidnight(date);\n return datetime.toSameLocalTimeInUTC(atMidnight).toISOString();\n }\n\n function getReportData(id, params) {\n return $http({\n method: 'POST',\n url: apiUrls.reportMiner + generateReportApi,\n data: {\n reportId: id,\n parameters: params\n },\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/json'\n }\n }).then(function successCallback(response) {\n return response.data; //}, function errorCallback(response) {\n // return \"\";\n });\n }\n\n function getReportDataExport(id, params, format) {\n return $http({\n method: 'POST',\n url: apiUrls.reportMiner + generateReportApi,\n data: {\n reportId: id,\n finalFormat: format,\n parameters: params\n },\n withCredentials: true,\n headers: {\n 'Content-Type': 'application/json'\n },\n responseType: 'arraybuffer'\n }).then(function successCallback(response) {\n return response; //}, function errorCallback(response) {\n // return null;\n });\n }\n\n function getBetaReportList() {\n var accessToken = tokenService.getTokenByType('access');\n var url = apiUrls.tableauApi + \"getuserviews?viewDestination=1\"; //1=AlertMiner UI, 2=CXM UI\n\n return $http({\n method: 'GET',\n url: url,\n withCredentials: false,\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': 'Bearer ' + accessToken,\n 'Pragma': function Pragma() {\n return null;\n },\n 'Cache-Control': function CacheControl() {\n return null;\n }\n }\n }).then(function successCallback(response) {\n return response.data;\n });\n }\n\n function getTableauToken(isEnterpriseReport) {\n var accessToken = tokenService.getTokenByType('access');\n var url = apiUrls.tableauApi + \"gettoken?isEnterpriseReport=\" + isEnterpriseReport;\n return $http({\n method: 'GET',\n url: url,\n withCredentials: false,\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': 'Bearer ' + accessToken,\n 'Pragma': function Pragma() {\n return null;\n },\n 'Cache-Control': function CacheControl() {\n return null;\n }\n }\n }).then(function successCallback(response) {\n return response.data;\n });\n }\n\n function getPerformanceReportAvailableMonths(dealerId) {\n return coreApi.api.Reports.Report_Performance_GetAvailableMonths['{dealerId}'].GET({\n dealerId: dealerId\n }).then(function (response) {\n if (response.data && response.data.MPR_AvailableMonths.length > 0) {\n var months = response.data.MPR_AvailableMonths[0].DataMonths;\n months.forEach(function (item) {\n var month = item.Month - 1; // needs to be 0-based\n\n var startDate = new Date(item.Year, month, 1);\n var endDate = new Date(item.Year, month + 1, 0);\n item.startDate = startDate.getFullYear() + '-' + (startDate.getMonth() + 1) + '-' + startDate.getDate();\n item.endDate = endDate.getFullYear() + '-' + (endDate.getMonth() + 1) + '-' + endDate.getDate();\n });\n return months;\n } else return [];\n }).catch(function (response) {\n return [];\n });\n }\n\n function getFordPilotStoreStatus() {\n return coreApi.api.FordPilotStore.GetFordAlertModuleDealerStatus.GET().then(getData);\n }\n\n function getServiceDriveReportDetail(params) {\n return coreApi.api.Report_ServiceDrivePerformance.GetServiceDrivePerformanceDetail.POST(params).then(getData);\n }\n\n function getCreditConvertReportDetail(params) {\n return coreApi.api.Report_CreditConvert.Report_CreditConvert_Detail.POST(params).then(getData);\n }\n\n function getUserActivityLog(params) {\n return coreApi.api.Report_UserActivity.Report_UserActivity_Main.POST(params).then(getData);\n }\n\n function getDataCleanseReportDetail(params) {\n return coreApi.api.Report_DataCleanse.Report_DataCleanse_Detail.POST(params).then(getData);\n }\n\n function getAuthorizedReports(moduleIds, isSltUser) {\n var authorizedReports = [];\n var isReportEnabled = moduleIds.lastIndexOf(modules.reports) > -1;\n\n if (!isReportEnabled) {\n return authorizedReports;\n }\n\n if (reportsMenu && moduleIds) {\n for (var i = 0; i < reportsMenu.length; i++) {\n var report = reportsMenu[i];\n\n if (isReportAuthorized(report, moduleIds, isSltUser)) {\n authorizedReports.push(report);\n }\n }\n }\n\n return authorizedReports;\n }\n\n function isReportAuthorized(report, moduleIds, isSltUser) {\n if (report.authorize) {\n var SLT_REPORTS = ['expressRoiReport', 'serviceLaneTechnologyReport'];\n var PANDO_REPORTS = ['pandoUserActivityReport', 'pandoSurveyReport'];\n var EUROLITE_NONQUALIFIED_REPORTS = ['expressRoiReport', 'tradeInsReport', 'serviceDriveSalesPerformanceReport', 'emailTemplateReport', 'opportunitiesReport', 'inventoryReport', 'webinarAttendanceReport', 'creditConvertReport', 'oneToOneReport', 'dataCleanseReport', 'vinScanUtilizationReport', 'onetoOneSoldUnitsReport', 'pandoUserActivityReport', 'pandoSurveyReport']; // EUROLITE users are restricted from these reports\n\n if (authorizationService.isEuroLite() && EUROLITE_NONQUALIFIED_REPORTS.includes(report.id)) {\n return false;\n } // SLT users are restricted from these reports\n\n\n if (isSltUser && SLT_REPORTS.includes(report.id)) {\n return false;\n } // If the report defines a moduleId, the requirement must be met\n\n\n if (report.moduleId != null && !moduleIds.includes(report.moduleId)) {\n return false;\n } // If it's a Pando report, they must be a Motofuze user\n\n\n var isPandoReport = PANDO_REPORTS.includes(report.id);\n\n if (isPandoReport) {\n return tokenService.isMotoFuzeUser();\n } // All requirements met\n\n\n return true;\n }\n\n return false;\n }\n\n function getSubscriptions() {\n return coreApi.api.ReportSubscription.GetReportSelfSubscriptionsByUser.GET().then(function (response) {\n return response.data;\n });\n }\n\n function addSubscription(subscription) {\n return coreApi.api.ReportSubscription.AddReportSelfSubscription.POST(subscription);\n }\n\n function updateSubscription(subscription) {\n return coreApi.api.ReportSubscription.UpdateReportSelfSubscription.POST(subscription);\n }\n\n function enableSubscription(subscriptionId) {\n return coreApi.api.ReportSubscription.EnableReportSelfSubscription['{id}'].POST({}, {\n id: subscriptionId\n });\n }\n\n function disableSubscription(subscriptionId) {\n return coreApi.api.ReportSubscription.DisableReportSelfSubscription['{id}'].POST({}, {\n id: subscriptionId\n });\n }\n\n function deleteSubscription(subscriptionId) {\n return coreApi.api.ReportSubscription.DeleteReportSelfSubscription['{id}'].POST({}, {\n id: subscriptionId\n });\n }\n\n function getLmsTranscript(userId) {\n return coreApi.api.Lms.GetTranscript['{userId}'].GET({\n userId: userId\n }).then(function (response) {\n return response;\n });\n }\n}","import angular from 'angular';\r\nimport * as datetime from '../utilities/datetime';\r\nconst generateReportApi = '/api/Reports/GenerateReport';\r\n\r\nangular.module('AaApp.Opp').factory('reportService', reportService);\r\n\r\n/* @ngInject */\r\nfunction reportService($http, $state, coreApi, apiUrls, storageService, reportsMenu, modules, tokenService, authorizationService,userService, _) {\r\n var service = {\r\n getReport: getReport,\r\n getDateRanges: getDateRanges,\r\n getFordPilotStoreStatus: getFordPilotStoreStatus,\r\n getAuthorizedReports: getAuthorizedReports,\r\n isReportAuthorized: isReportAuthorized,\r\n getServiceDriveReportDetail: getServiceDriveReportDetail,\r\n getCreditConvertReportDetail: getCreditConvertReportDetail,\r\n getDataCleanseReportDetail: getDataCleanseReportDetail,\r\n getUserActivityLog: getUserActivityLog,\r\n getSubscriptions: getSubscriptions,\r\n addSubscription: addSubscription,\r\n updateSubscription: updateSubscription,\r\n disableSubscription: disableSubscription,\r\n enableSubscription: enableSubscription,\r\n deleteSubscription: deleteSubscription,\r\n toZuluStringFromLocalDate: toZuluStringFromLocalDate,\r\n getLmsTranscript: getLmsTranscript,\r\n getPerformanceReportAvailableMonths: getPerformanceReportAvailableMonths,\r\n getBetaReportList: getBetaReportList,\r\n getTableauToken: getTableauToken\r\n };\r\n\r\n return service;\r\n\r\n function getReport(report, fromDate, toDate, selectedDealerId, format, additionalParams) {\r\n var userProfile = storageService.getItem('userProfile');\r\n var params = [\r\n {\r\n Key: 'DateFrom',\r\n Value: fromDate\r\n },\r\n {\r\n Key: 'DateTo',\r\n Value: toDate\r\n },\r\n {\r\n Key: 'LoggedInUserID',\r\n Value: userProfile.userId\r\n },\r\n {\r\n Key: 'DealerGroupID',\r\n Value: userProfile.dealerGroupId\r\n },\r\n {\r\n Key: 'DealerID',\r\n Value: selectedDealerId\r\n },\r\n {\r\n Key: 'Culture',\r\n Value: userProfile.cultureName\r\n }\r\n ];\r\n if (angular.isArray(additionalParams)) {\r\n for (var i = 0; i < additionalParams.length; i++) {\r\n params.push(additionalParams[i]);\r\n }\r\n }\r\n\r\n //var dealerId = 99999;\r\n //var dealer = _.find(params, function(item){ return item.Key == \"DealerID\"; });\r\n //if (dealer != null) {\r\n // dealerId = dealer.Value;\r\n //}\r\n //// If selectedDealerId = 0 then it means ALL dealers, which is only available to enterprise reports\r\n //var id = dealerId == 0 ? report.enterprise.id : report.id;\r\n\r\n if (format && (format === 'pdf' || format === 'excel')) {\r\n return getReportDataExport(report.id, params, format)\r\n } else {\r\n return getReportData(report.id, params);\r\n }\r\n\r\n }\r\n\r\n function getDateRanges() {\r\n return coreApi.api.Reports.GetReportPeriods.GET().then(getData);\r\n }\r\n\r\n function getData(response) {\r\n return response.data;\r\n }\r\n\r\n function toZuluStringFromLocalDate(date) {\r\n const atMidnight = datetime.atMidnight(date);\r\n return datetime.toSameLocalTimeInUTC(atMidnight).toISOString();\r\n }\r\n\r\n function getReportData(id, params) {\r\n return $http({\r\n method: 'POST',\r\n url: apiUrls.reportMiner + generateReportApi,\r\n data: {\r\n reportId: id,\r\n parameters: params\r\n },\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n }\r\n }).then(function successCallback(response) {\r\n return response.data;\r\n //}, function errorCallback(response) {\r\n // return \"\";\r\n });\r\n }\r\n\r\n function getReportDataExport(id, params, format) {\r\n return $http({\r\n method: 'POST',\r\n url: apiUrls.reportMiner + generateReportApi,\r\n data: {\r\n reportId: id,\r\n finalFormat: format,\r\n parameters: params\r\n },\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n responseType: 'arraybuffer'\r\n }).then(function successCallback(response) {\r\n return response;\r\n //}, function errorCallback(response) {\r\n // return null;\r\n });\r\n }\r\n\r\n function getBetaReportList() {\r\n var accessToken = tokenService.getTokenByType('access');\r\n var url = apiUrls.tableauApi + \"getuserviews?viewDestination=1\"; //1=AlertMiner UI, 2=CXM UI\r\n\r\n return $http({\r\n method: 'GET',\r\n url: url,\r\n withCredentials: false,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n 'Authorization': 'Bearer ' + accessToken,\r\n 'Pragma': function () { return null },\r\n 'Cache-Control': function () { return null }\r\n }\r\n }).then(function successCallback(response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getTableauToken(isEnterpriseReport) {\r\n var accessToken = tokenService.getTokenByType('access');\r\n var url = apiUrls.tableauApi + \"gettoken?isEnterpriseReport=\" + isEnterpriseReport;\r\n\r\n return $http({\r\n method: 'GET',\r\n url: url,\r\n withCredentials: false,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n 'Authorization': 'Bearer ' + accessToken,\r\n 'Pragma': function () { return null },\r\n 'Cache-Control': function () { return null }\r\n }\r\n }).then(function successCallback(response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getPerformanceReportAvailableMonths(dealerId) {\r\n return coreApi.api.Reports.Report_Performance_GetAvailableMonths['{dealerId}'].GET({ dealerId: dealerId })\r\n .then((response) => {\r\n if (response.data && response.data.MPR_AvailableMonths.length > 0) {\r\n var months = response.data.MPR_AvailableMonths[0].DataMonths;\r\n months.forEach(function (item) {\r\n var month = item.Month - 1; // needs to be 0-based\r\n var startDate = new Date(item.Year, month, 1);\r\n var endDate = new Date(item.Year, month + 1, 0);\r\n item.startDate = startDate.getFullYear() + '-' + (startDate.getMonth() + 1) + '-' + startDate.getDate();\r\n item.endDate = endDate.getFullYear() + '-' + (endDate.getMonth() + 1) + '-' + endDate.getDate();\r\n });\r\n return months;\r\n }\r\n else\r\n return [];\r\n })\r\n .catch((response) => {\r\n return [];\r\n });\r\n }\r\n\r\n function getFordPilotStoreStatus() {\r\n return coreApi.api.FordPilotStore.GetFordAlertModuleDealerStatus.GET().then(getData);\r\n }\r\n\r\n function getServiceDriveReportDetail(params) {\r\n return coreApi.api.Report_ServiceDrivePerformance.GetServiceDrivePerformanceDetail.POST(params).then(getData);\r\n }\r\n\r\n function getCreditConvertReportDetail(params) {\r\n return coreApi.api.Report_CreditConvert.Report_CreditConvert_Detail.POST(params).then(getData);\r\n }\r\n\r\n function getUserActivityLog(params) {\r\n return coreApi.api.Report_UserActivity.Report_UserActivity_Main.POST(params).then(getData);\r\n }\r\n\r\n function getDataCleanseReportDetail(params) {\r\n return coreApi.api.Report_DataCleanse.Report_DataCleanse_Detail.POST(params).then(getData);\r\n }\r\n\r\n function getAuthorizedReports(moduleIds, isSltUser) {\r\n\r\n var authorizedReports = []\r\n\r\n var isReportEnabled = moduleIds.lastIndexOf(modules.reports) > -1;\r\n if (!isReportEnabled) {\r\n return authorizedReports;\r\n }\r\n\r\n if (reportsMenu && moduleIds) {\r\n for (var i = 0; i < reportsMenu.length; i++) {\r\n var report = reportsMenu[i];\r\n\r\n if (isReportAuthorized(report, moduleIds, isSltUser)) {\r\n authorizedReports.push(report);\r\n }\r\n }\r\n }\r\n return authorizedReports;\r\n }\r\n\r\n function isReportAuthorized(report, moduleIds, isSltUser) {\r\n if (report.authorize) {\r\n const SLT_REPORTS = [\r\n 'expressRoiReport',\r\n 'serviceLaneTechnologyReport',\r\n ];\r\n const PANDO_REPORTS = [\r\n 'pandoUserActivityReport',\r\n 'pandoSurveyReport',\r\n ];\r\n\r\n const EUROLITE_NONQUALIFIED_REPORTS = [\r\n\r\n 'expressRoiReport',\r\n 'tradeInsReport',\r\n 'serviceDriveSalesPerformanceReport',\r\n 'emailTemplateReport',\r\n 'opportunitiesReport',\r\n 'inventoryReport',\r\n 'webinarAttendanceReport',\r\n 'creditConvertReport',\r\n 'oneToOneReport',\r\n 'dataCleanseReport',\r\n 'vinScanUtilizationReport',\r\n 'onetoOneSoldUnitsReport',\r\n 'pandoUserActivityReport',\r\n 'pandoSurveyReport'\r\n ];\r\n\r\n // EUROLITE users are restricted from these reports\r\n if (authorizationService.isEuroLite() && EUROLITE_NONQUALIFIED_REPORTS.includes(report.id)) {\r\n return false;\r\n }\r\n\r\n \r\n // SLT users are restricted from these reports\r\n if (isSltUser && SLT_REPORTS.includes(report.id)) {\r\n return false;\r\n }\r\n\r\n // If the report defines a moduleId, the requirement must be met\r\n if (report.moduleId != null && !moduleIds.includes(report.moduleId)) {\r\n return false;\r\n }\r\n\r\n // If it's a Pando report, they must be a Motofuze user\r\n const isPandoReport = PANDO_REPORTS.includes(report.id)\r\n if (isPandoReport) {\r\n return tokenService.isMotoFuzeUser();\r\n }\r\n\r\n // All requirements met\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n function getSubscriptions() {\r\n return coreApi.api.ReportSubscription.GetReportSelfSubscriptionsByUser.GET()\r\n .then((response) => response.data);\r\n }\r\n\r\n function addSubscription(subscription) {\r\n return coreApi.api.ReportSubscription.AddReportSelfSubscription.POST(subscription);\r\n }\r\n\r\n function updateSubscription(subscription) {\r\n return coreApi.api.ReportSubscription.UpdateReportSelfSubscription.POST(subscription);\r\n }\r\n\r\n function enableSubscription(subscriptionId) {\r\n return coreApi.api.ReportSubscription.EnableReportSelfSubscription['{id}'].POST({}, { id: subscriptionId });\r\n }\r\n\r\n function disableSubscription(subscriptionId) {\r\n return coreApi.api.ReportSubscription.DisableReportSelfSubscription['{id}'].POST({}, { id: subscriptionId });\r\n }\r\n\r\n function deleteSubscription(subscriptionId) {\r\n return coreApi.api.ReportSubscription.DeleteReportSelfSubscription['{id}'].POST({}, { id: subscriptionId });\r\n }\r\n\r\n function getLmsTranscript(userId) {\r\n return coreApi.api.Lms.GetTranscript['{userId}'].GET({ userId: userId })\r\n .then((response) => response);\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('searchService', searchService);\r\n\r\n/* @ngInject */\r\nfunction searchService($q, $timeout, coreApi) {\r\n var service = {\r\n getFreshOpportunities: getFreshOpportunities,\r\n getOneToOneEntities: getOneToOneEntities,\r\n getOpenOpportunities: getOpenOpportunities,\r\n getRecentlyAssignedOpportunities: getRecentlyAssignedOpportunities,\r\n getEntitiesListCustom: getEntitiesListCustom,\r\n getTagsForDealers: getTagsForDealers,\r\n getSoldBySearchByDealers: getSoldBySearchByDealers,\r\n getPrivateOfferInfo: getPrivateOfferInfo,\r\n getBankSelect: getBankSelect,\r\n saveSearch: saveSearch,\r\n getDealerCampaignRequestsInWindow: getDealerCampaignRequestsInWindow,\r\n createDealerCampaignExportAudience: createDealerCampaignExportAudience,\r\n getNoLongerOwnForDealer: getNoLongerOwnForDealer\r\n };\r\n\r\n return service;\r\n\r\n function getOneToOneEntities(params) {\r\n return coreApi.api.Search.GetOneToOneEntities.POST(params)\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getEntitiesListCustom(params) {\r\n return coreApi.api.Search.GetEntitiesListCustom.POST(params)\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getOpenOpportunities(selectedDealerId, saleTypes, flushCache) {\r\n return coreApi.api.Search.GetOpenOpportunities.GET({ saleTypes: saleTypes, flushCache: flushCache }, { overrideDealerIds: [selectedDealerId] })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getFreshOpportunities(selectedDealerId, flushCache) {\r\n return coreApi.api.Search.GetFreshOpportunities.GET({ flushCache }, { overrideDealerIds: [selectedDealerId] })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getRecentlyAssignedOpportunities(selectedDealerId, flushCache) {\r\n return coreApi.api.Search.GetRecentlyAssignedOpportunities.GET({ flushCache: flushCache, maxResults: 20 }, { overrideDealerIds: [selectedDealerId] })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getTagsForDealers(dealerId) {\r\n return coreApi.api.Tag.GetTagsForDealers['{dealerId}'].GET({ dealerId: dealerId })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getSoldBySearchByDealers(dealerId) {\r\n return coreApi.api.Search.GetSoldBySearchByDealers['{dealerId}'].GET({ dealerId: dealerId })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getPrivateOfferInfo(dealerId, entityId) {\r\n return coreApi.api.Search.GetPrivateOfferInfo['{dealerId}']['{entityId}'].GET({ dealerId: dealerId, entityId: entityId })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getBankSelect(dealerId) {\r\n return coreApi.api.Bank.GetBankSelect['{dealerId}'].GET({ dealerId: dealerId })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function saveSearch(dealerId, searchName, autoShareSearch, autoShareSearchPosition, searchModel, assignPandoXRule,\r\n pandoXRuleQuantity,\r\n executePandoXImmediately,\r\n pandoXRuleCategoryId,\r\n searchActiveStartDate,\r\n searchActiveEndDate) {\r\n var request = { \r\n DealerID: dealerId, \r\n SearchName: searchName, \r\n AutoShareSearch: autoShareSearch, \r\n AutoShareSearchPosition: autoShareSearchPosition, \r\n SearchModel: searchModel,\r\n AssignPandoXRule: assignPandoXRule,\r\n RuleCategoryId: pandoXRuleCategoryId,\r\n PandoXRuleQuantity: pandoXRuleQuantity,\r\n ExecutePandoXImmediately: executePandoXImmediately,\r\n SearchActiveStartDate: searchActiveStartDate,\r\n SearchActiveEndDate: searchActiveEndDate,\r\n };\r\n\r\n return coreApi.api.Search.SaveSearch.POST(request)\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function createDealerCampaignExportAudience(searchModel, campaignType, dealerIds, campaignTypeName) {\r\n var request = {\r\n Search: searchModel,\r\n ExportCampaignTypeID: campaignType,\r\n DealerIds: dealerIds,\r\n CampaignTypeDescription: campaignTypeName\r\n };\r\n return coreApi.api.Search.CreateDealerCampaignExportAudience.POST(request)\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getDealerCampaignRequestsInWindow() {\r\n return coreApi.api.Search.GetDealerCampaignRequestsInWindow['{days}'].GET({ days: 30 })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function getNoLongerOwnForDealer(dealerId) {\r\n return coreApi.api.Search.GetNoLongerOwnForDealer['{dealerId}'].GET({ dealerId: dealerId })\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n}\r\n","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').factory('servicesService', servicesService);\r\n\r\n/* @ngInject */\r\nfunction servicesService($q, $timeout, coreApi, logger) {\r\n\r\n var service = {\r\n getServicesBy: getServicesBy,\r\n getServiceLineDetails: getServiceLineDetails\r\n };\r\n\r\n return service;\r\n\r\n function getServicesBy(entityId) {\r\n return coreApi.api.Service.GetServicesBy['{entityId}'].GET({ entityId: entityId })\r\n .then(unpackServicesInfo);\r\n\r\n function unpackServicesInfo(raw) {\r\n var customer = 0;\r\n var dealer = 0;\r\n var warranty = 0;\r\n var counts = {\r\n Current: 0,\r\n Total: 0\r\n };\r\n var otherCustomer = false;\r\n angular.forEach(raw.data, function (value) {\r\n\r\n if (value.wasOwnedByCurrentCustomer && !isNaN(value.dealerPaid)) { dealer += value.dealerPaid; }\r\n if (value.wasOwnedByCurrentCustomer && !isNaN(value.customerPaid)) { customer += value.customerPaid; }\r\n if (value.wasOwnedByCurrentCustomer && !isNaN(value.warrantyPaid)) { warranty += value.warrantyPaid; }\r\n if (value.wasOwnedByCurrentCustomer) {\r\n counts.Current++;\r\n } else {\r\n otherCustomer = true;\r\n }\r\n counts.Total++;\r\n }, logger);\r\n var rslt = {\r\n wasServicedByOtherCustomer: otherCustomer,\r\n Totals: {\r\n Customer: customer,\r\n Dealer: dealer,\r\n Warranty: warranty,\r\n Counts: counts\r\n },\r\n History: raw.data\r\n };\r\n\r\n return rslt;\r\n }\r\n }\r\n\r\n function getServiceLineDetails(dealerId, roId) {\r\n return coreApi.api.Service.GetServiceDetail['{dealerId}']['{roId}'].GET({ dealerId: dealerId, roId: roId })\r\n .then(resolveData);\r\n }\r\n\r\n function resolveData(response) {\r\n if (response.data == null)\r\n return {};\r\n\r\n response.data.forEach(function (data) {\r\n data.roSale = data.roSale || 0;\r\n data.roSaleCP = data.roSaleCP || 0;\r\n data.roSaleWP = data.roSaleWP || 0;\r\n data.roSaleIP = data.roSaleIP || 0;\r\n });\r\n\r\n return response.data;\r\n }\r\n\r\n}\r\n","searchService.$inject = [\"$q\", \"$timeout\", \"coreApi\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('searchService', searchService);\n/* @ngInject */\n\nfunction searchService($q, $timeout, coreApi) {\n var service = {\n getFreshOpportunities: getFreshOpportunities,\n getOneToOneEntities: getOneToOneEntities,\n getOpenOpportunities: getOpenOpportunities,\n getRecentlyAssignedOpportunities: getRecentlyAssignedOpportunities,\n getEntitiesListCustom: getEntitiesListCustom,\n getTagsForDealers: getTagsForDealers,\n getSoldBySearchByDealers: getSoldBySearchByDealers,\n getPrivateOfferInfo: getPrivateOfferInfo,\n getBankSelect: getBankSelect,\n saveSearch: saveSearch,\n getDealerCampaignRequestsInWindow: getDealerCampaignRequestsInWindow,\n createDealerCampaignExportAudience: createDealerCampaignExportAudience,\n getNoLongerOwnForDealer: getNoLongerOwnForDealer\n };\n return service;\n\n function getOneToOneEntities(params) {\n return coreApi.api.Search.GetOneToOneEntities.POST(params).then(function (response) {\n return response.data;\n });\n }\n\n function getEntitiesListCustom(params) {\n return coreApi.api.Search.GetEntitiesListCustom.POST(params).then(function (response) {\n return response.data;\n });\n }\n\n function getOpenOpportunities(selectedDealerId, saleTypes, flushCache) {\n return coreApi.api.Search.GetOpenOpportunities.GET({\n saleTypes: saleTypes,\n flushCache: flushCache\n }, {\n overrideDealerIds: [selectedDealerId]\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getFreshOpportunities(selectedDealerId, flushCache) {\n return coreApi.api.Search.GetFreshOpportunities.GET({\n flushCache: flushCache\n }, {\n overrideDealerIds: [selectedDealerId]\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getRecentlyAssignedOpportunities(selectedDealerId, flushCache) {\n return coreApi.api.Search.GetRecentlyAssignedOpportunities.GET({\n flushCache: flushCache,\n maxResults: 20\n }, {\n overrideDealerIds: [selectedDealerId]\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getTagsForDealers(dealerId) {\n return coreApi.api.Tag.GetTagsForDealers['{dealerId}'].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getSoldBySearchByDealers(dealerId) {\n return coreApi.api.Search.GetSoldBySearchByDealers['{dealerId}'].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getPrivateOfferInfo(dealerId, entityId) {\n return coreApi.api.Search.GetPrivateOfferInfo['{dealerId}']['{entityId}'].GET({\n dealerId: dealerId,\n entityId: entityId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getBankSelect(dealerId) {\n return coreApi.api.Bank.GetBankSelect['{dealerId}'].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function saveSearch(dealerId, searchName, autoShareSearch, autoShareSearchPosition, searchModel, assignPandoXRule, pandoXRuleQuantity, executePandoXImmediately, pandoXRuleCategoryId, searchActiveStartDate, searchActiveEndDate) {\n var request = {\n DealerID: dealerId,\n SearchName: searchName,\n AutoShareSearch: autoShareSearch,\n AutoShareSearchPosition: autoShareSearchPosition,\n SearchModel: searchModel,\n AssignPandoXRule: assignPandoXRule,\n RuleCategoryId: pandoXRuleCategoryId,\n PandoXRuleQuantity: pandoXRuleQuantity,\n ExecutePandoXImmediately: executePandoXImmediately,\n SearchActiveStartDate: searchActiveStartDate,\n SearchActiveEndDate: searchActiveEndDate\n };\n return coreApi.api.Search.SaveSearch.POST(request).then(function (response) {\n return response.data;\n });\n }\n\n function createDealerCampaignExportAudience(searchModel, campaignType, dealerIds, campaignTypeName) {\n var request = {\n Search: searchModel,\n ExportCampaignTypeID: campaignType,\n DealerIds: dealerIds,\n CampaignTypeDescription: campaignTypeName\n };\n return coreApi.api.Search.CreateDealerCampaignExportAudience.POST(request).then(function (response) {\n return response.data;\n });\n }\n\n function getDealerCampaignRequestsInWindow() {\n return coreApi.api.Search.GetDealerCampaignRequestsInWindow['{days}'].GET({\n days: 30\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getNoLongerOwnForDealer(dealerId) {\n return coreApi.api.Search.GetNoLongerOwnForDealer['{dealerId}'].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n}","import \"core-js/modules/web.dom.iterable\";\nservicesService.$inject = [\"$q\", \"$timeout\", \"coreApi\", \"logger\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').factory('servicesService', servicesService);\n/* @ngInject */\n\nfunction servicesService($q, $timeout, coreApi, logger) {\n var service = {\n getServicesBy: getServicesBy,\n getServiceLineDetails: getServiceLineDetails\n };\n return service;\n\n function getServicesBy(entityId) {\n return coreApi.api.Service.GetServicesBy['{entityId}'].GET({\n entityId: entityId\n }).then(unpackServicesInfo);\n\n function unpackServicesInfo(raw) {\n var customer = 0;\n var dealer = 0;\n var warranty = 0;\n var counts = {\n Current: 0,\n Total: 0\n };\n var otherCustomer = false;\n angular.forEach(raw.data, function (value) {\n if (value.wasOwnedByCurrentCustomer && !isNaN(value.dealerPaid)) {\n dealer += value.dealerPaid;\n }\n\n if (value.wasOwnedByCurrentCustomer && !isNaN(value.customerPaid)) {\n customer += value.customerPaid;\n }\n\n if (value.wasOwnedByCurrentCustomer && !isNaN(value.warrantyPaid)) {\n warranty += value.warrantyPaid;\n }\n\n if (value.wasOwnedByCurrentCustomer) {\n counts.Current++;\n } else {\n otherCustomer = true;\n }\n\n counts.Total++;\n }, logger);\n var rslt = {\n wasServicedByOtherCustomer: otherCustomer,\n Totals: {\n Customer: customer,\n Dealer: dealer,\n Warranty: warranty,\n Counts: counts\n },\n History: raw.data\n };\n return rslt;\n }\n }\n\n function getServiceLineDetails(dealerId, roId) {\n return coreApi.api.Service.GetServiceDetail['{dealerId}']['{roId}'].GET({\n dealerId: dealerId,\n roId: roId\n }).then(resolveData);\n }\n\n function resolveData(response) {\n if (response.data == null) return {};\n response.data.forEach(function (data) {\n data.roSale = data.roSale || 0;\n data.roSaleCP = data.roSaleCP || 0;\n data.roSaleWP = data.roSaleWP || 0;\n data.roSaleIP = data.roSaleIP || 0;\n });\n return response.data;\n }\n}","import angular from 'angular'\r\nimport { OpportunitiesModule } from '../core/opportunities.module';\r\nimport { saveAs } from 'file-saver';\r\n\r\nOpportunitiesModule.factory('templateService', TemplateService);\r\n\r\n/* @ngInject */\r\nfunction TemplateService($location, coreApi, storageService, previewTemplateEmailUrlPath, oidc) {\r\n var service = {\r\n getTemplatesForDealerId: getTemplatesForDealerId,\r\n getNonEmptyTemplatesForDealerId: getNonEmptyTemplatesForDealerId,\r\n validateMaxEmailsPerDay: validateMaxEmailsPerDay,\r\n getMergedTemplate: getMergedTemplate,\r\n getSentEmailContent: getSentEmailContent,\r\n getEmailPreviewContent: getEmailPreviewContent,\r\n getEmailSubscription: getEmailSubscription,\r\n disableEmailSubscription: disableEmailSubscription,\r\n createPdf: createPdf,\r\n downloadPdf: downloadPdf,\r\n archivePdf: archivePdf,\r\n getDealerOutboundEmailProviderInfo:getDealerOutboundEmailProviderInfo,\r\n storePreviewTemplate: storePreviewTemplate,\r\n retrievePreviewTemplate: retrievePreviewTemplate,\r\n getTemplateEmailPreviewUrl: getTemplateEmailPreviewUrl,\r\n deleteTemplate: deleteTemplate,\r\n sendEmail: sendEmail,\r\n getTemplateEmailPreview: getTemplateEmailPreview,\r\n getTemplatePdfPreview: getTemplatePdfPreview,\r\n };\r\n\r\n return service;\r\n\r\n function deleteTemplate(templateId) {\r\n return coreApi.api.Template.DeleteTemplate['{templateId}'].DELETE({\r\n templateId: templateId\r\n }).then(response => { \r\n return (response.status === 204);\r\n });\r\n }\r\n\r\n\r\n function getTemplateEmailPreviewUrl(opportunityId, templateId, replMakeId) { \r\n var emailPreviewUrl = oidc.opportunitiesOrigin + previewTemplateEmailUrlPath + opportunityId + \"/\" + templateId + \"/\" + replMakeId;\r\n return emailPreviewUrl;\r\n }\r\n\r\n function storePreviewTemplate(previewTemplate) {\r\n storageService.removeItem('previewTemplate');\r\n storageService.setItem('previewTemplate', previewTemplate);\r\n }\r\n\r\n function retrievePreviewTemplate() {\r\n var previewTemplate = storageService.getItem('previewTemplate');\r\n return previewTemplate;\r\n }\r\n\r\n function sendEmail(outboundTemplate, parameters) {\r\n var sendEmailRequest = {\r\n EmailRequest: outboundTemplate,\r\n ProposalRequest: parameters\r\n }\r\n return coreApi.api.TemplateOutboundEmail.SendEmailWithAttachment.POST(sendEmailRequest);\r\n }\r\n\r\n function getDealerOutboundEmailProviderInfo(dealerId) {\r\n return coreApi.api.DealerSetting.GetDealerOutboundEmailProviderInfo['{dealerId}'].GET({dealerId})\r\n .then(response => response.data);\r\n }\r\n\r\n function getTemplatesForDealerId(dealerId) {\r\n assert(dealerId, \"dealerId must be provided\")\r\n return coreApi.api.Template.GetTemplatesForDealerId.GET({dealerId })\r\n .then(response => response.data.map(t => ({\r\n id: t.templateID,\r\n templateName: t.templateName,\r\n templateSubject: t.templateSubject\r\n })));\r\n }\r\n\r\n function getNonEmptyTemplatesForDealerId(dealerId) {\r\n assert(dealerId, \"dealerId must be provided\")\r\n return coreApi.api.Template.GetNonEmptyTemplatesForDealerId.GET({ dealerId })\r\n .then(response => response.data.map(t => ({\r\n id: t.templateID,\r\n templateName: t.templateName,\r\n templateSubject: t.templateSubject,\r\n createdBy: t.createdBy,\r\n createDate: t.createDate,\r\n createdByFullName: t.createdByFullName,\r\n isSystemTemplate: t.isSystemTemplate,\r\n isActiveInLeadManagement: t.isActiveInLeadManagement,\r\n })));\r\n }\r\n\r\n\r\n //ValidateMaxEmailsPerDay/{entityId}\r\n function validateMaxEmailsPerDay(entityId){\r\n assert(entityId, \"entityId must be provided\");\r\n return coreApi.api.TemplateOutboundEmail.ValidateMaxEmailsPerDay[\"{entityId}\"].GET({ entityId : entityId });\r\n }\r\n\r\n function getMergedTemplate({ opportunityId, templateId, replacementVehicle }) {\r\n assert(templateId, \"templateId must be provided\")\r\n assert(opportunityId, \"opportunityId must be provided\")\r\n return coreApi.api.Template.MergeTemplate['{templateId}'].POST({ entityId: opportunityId, replacementVehicle: replacementVehicle }, { templateId: templateId })\r\n .then(response => response.data);\r\n }\r\n\r\n function getSentEmailContent(templateEmailId, accessCode) {\r\n return coreApi.api.TemplateOutboundEmail.GetSentEmailContent['{templateOutboundEmailId}']['{accessCode}']\r\n .GET({ templateOutboundEmailId: templateEmailId, accessCode: accessCode })\r\n .then(response => response.data);\r\n }\r\n\r\n function getEmailPreviewContent(opportunityId, templateId, templateContent, replMakeId) {\r\n return coreApi.api.TemplateOutboundEmail.GenerateEmailPreview.POST({ entityId: opportunityId, templateId: templateId, ContentHtml: templateContent, replMakeId: replMakeId })\r\n .then(response => response.data);\r\n }\r\n\r\n function getTemplateEmailPreview(templateId, dealerId) {\r\n return coreApi.api.Template.TemplateEmailPreview['{templateId}']['{dealerId}']\r\n .GET({ templateId: templateId, dealerId: dealerId })\r\n .then(response => response.data);\r\n }\r\n\r\n\r\n function getTemplatePdfPreview(templateId, dealerId) {\r\n return coreApi.api.Template.TemplatePdfPreview['{templateId}']['{dealerId}']\r\n .GET({ templateId: templateId, dealerId: dealerId }, { responseType: 'blob' })\r\n .then(response => saveAs(response.data, `${'autoalert_' + templateId || 'document'}.pdf`));\r\n }\r\n\r\n\r\n\r\n function getEmailSubscription(templateEmailId, accessCode) {\r\n return coreApi.api.TemplateOutboundEmail.GetEmailSubscription['{templateOutboundEmailId}']['{accessCode}']\r\n .GET({ templateOutboundEmailId: templateEmailId, accessCode: accessCode })\r\n .then(response => response.data);\r\n }\r\n\r\n function disableEmailSubscription(templateEmailId, accessCode) {\r\n return coreApi.api.TemplateOutboundEmail.DisableEmailSubscription['{templateOutboundEmailId}']['{accessCode}']\r\n .POST(null, { templateOutboundEmailId: templateEmailId, accessCode: accessCode });\r\n }\r\n\r\n function createPdf(opportunityId, template, contentHtml, templateLetterheadImageUrl) {\r\n return coreApi.api.TemplateOutput.CreatePdf.POST({\r\n entityId: opportunityId,\r\n templateId: template.id,\r\n templateName: template.templateName,\r\n contentHtml,\r\n templateLetterheadImageUrl\r\n }).then(response => ({\r\n id: response.data.templateOutputID,\r\n templateId: response.data.templateID,\r\n templateName: response.data.templateName,\r\n opportunityId: response.data.entityID,\r\n isArchived: response.data.isArchived,\r\n }));\r\n }\r\n\r\n function downloadPdf(templateOutputId, downloadName) {\r\n return coreApi.api.TemplateOutput.DownloadPdf['{templateOutputId}']\r\n .GET({ templateOutputId }, { responseType: 'blob' })\r\n .then(response => {\r\n saveAs(response.data, `${downloadName || 'document'}.pdf`);\r\n });\r\n }\r\n\r\n function archivePdf(templateOutputId) {\r\n return coreApi.api.TemplateOutput.ArchivePdf.POST({ templateOutputId });\r\n }\r\n\r\n function assert(condition, message) {\r\n if (!condition) {\r\n throw new Error(message);\r\n }\r\n }\r\n}\r\n","TemplateService.$inject = [\"$location\", \"coreApi\", \"storageService\", \"previewTemplateEmailUrlPath\", \"oidc\"];\nimport angular from 'angular';\nimport { OpportunitiesModule } from '../core/opportunities.module';\nimport { saveAs } from 'file-saver';\nOpportunitiesModule.factory('templateService', TemplateService);\n/* @ngInject */\n\nfunction TemplateService($location, coreApi, storageService, previewTemplateEmailUrlPath, oidc) {\n var service = {\n getTemplatesForDealerId: getTemplatesForDealerId,\n getNonEmptyTemplatesForDealerId: getNonEmptyTemplatesForDealerId,\n validateMaxEmailsPerDay: validateMaxEmailsPerDay,\n getMergedTemplate: getMergedTemplate,\n getSentEmailContent: getSentEmailContent,\n getEmailPreviewContent: getEmailPreviewContent,\n getEmailSubscription: getEmailSubscription,\n disableEmailSubscription: disableEmailSubscription,\n createPdf: createPdf,\n downloadPdf: downloadPdf,\n archivePdf: archivePdf,\n getDealerOutboundEmailProviderInfo: getDealerOutboundEmailProviderInfo,\n storePreviewTemplate: storePreviewTemplate,\n retrievePreviewTemplate: retrievePreviewTemplate,\n getTemplateEmailPreviewUrl: getTemplateEmailPreviewUrl,\n deleteTemplate: deleteTemplate,\n sendEmail: sendEmail,\n getTemplateEmailPreview: getTemplateEmailPreview,\n getTemplatePdfPreview: getTemplatePdfPreview\n };\n return service;\n\n function deleteTemplate(templateId) {\n return coreApi.api.Template.DeleteTemplate['{templateId}'].DELETE({\n templateId: templateId\n }).then(function (response) {\n return response.status === 204;\n });\n }\n\n function getTemplateEmailPreviewUrl(opportunityId, templateId, replMakeId) {\n var emailPreviewUrl = oidc.opportunitiesOrigin + previewTemplateEmailUrlPath + opportunityId + \"/\" + templateId + \"/\" + replMakeId;\n return emailPreviewUrl;\n }\n\n function storePreviewTemplate(previewTemplate) {\n storageService.removeItem('previewTemplate');\n storageService.setItem('previewTemplate', previewTemplate);\n }\n\n function retrievePreviewTemplate() {\n var previewTemplate = storageService.getItem('previewTemplate');\n return previewTemplate;\n }\n\n function sendEmail(outboundTemplate, parameters) {\n var sendEmailRequest = {\n EmailRequest: outboundTemplate,\n ProposalRequest: parameters\n };\n return coreApi.api.TemplateOutboundEmail.SendEmailWithAttachment.POST(sendEmailRequest);\n }\n\n function getDealerOutboundEmailProviderInfo(dealerId) {\n return coreApi.api.DealerSetting.GetDealerOutboundEmailProviderInfo['{dealerId}'].GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getTemplatesForDealerId(dealerId) {\n assert(dealerId, \"dealerId must be provided\");\n return coreApi.api.Template.GetTemplatesForDealerId.GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data.map(function (t) {\n return {\n id: t.templateID,\n templateName: t.templateName,\n templateSubject: t.templateSubject\n };\n });\n });\n }\n\n function getNonEmptyTemplatesForDealerId(dealerId) {\n assert(dealerId, \"dealerId must be provided\");\n return coreApi.api.Template.GetNonEmptyTemplatesForDealerId.GET({\n dealerId: dealerId\n }).then(function (response) {\n return response.data.map(function (t) {\n return {\n id: t.templateID,\n templateName: t.templateName,\n templateSubject: t.templateSubject,\n createdBy: t.createdBy,\n createDate: t.createDate,\n createdByFullName: t.createdByFullName,\n isSystemTemplate: t.isSystemTemplate,\n isActiveInLeadManagement: t.isActiveInLeadManagement\n };\n });\n });\n } //ValidateMaxEmailsPerDay/{entityId}\n\n\n function validateMaxEmailsPerDay(entityId) {\n assert(entityId, \"entityId must be provided\");\n return coreApi.api.TemplateOutboundEmail.ValidateMaxEmailsPerDay[\"{entityId}\"].GET({\n entityId: entityId\n });\n }\n\n function getMergedTemplate(_ref) {\n var opportunityId = _ref.opportunityId,\n templateId = _ref.templateId,\n replacementVehicle = _ref.replacementVehicle;\n assert(templateId, \"templateId must be provided\");\n assert(opportunityId, \"opportunityId must be provided\");\n return coreApi.api.Template.MergeTemplate['{templateId}'].POST({\n entityId: opportunityId,\n replacementVehicle: replacementVehicle\n }, {\n templateId: templateId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getSentEmailContent(templateEmailId, accessCode) {\n return coreApi.api.TemplateOutboundEmail.GetSentEmailContent['{templateOutboundEmailId}']['{accessCode}'].GET({\n templateOutboundEmailId: templateEmailId,\n accessCode: accessCode\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getEmailPreviewContent(opportunityId, templateId, templateContent, replMakeId) {\n return coreApi.api.TemplateOutboundEmail.GenerateEmailPreview.POST({\n entityId: opportunityId,\n templateId: templateId,\n ContentHtml: templateContent,\n replMakeId: replMakeId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getTemplateEmailPreview(templateId, dealerId) {\n return coreApi.api.Template.TemplateEmailPreview['{templateId}']['{dealerId}'].GET({\n templateId: templateId,\n dealerId: dealerId\n }).then(function (response) {\n return response.data;\n });\n }\n\n function getTemplatePdfPreview(templateId, dealerId) {\n return coreApi.api.Template.TemplatePdfPreview['{templateId}']['{dealerId}'].GET({\n templateId: templateId,\n dealerId: dealerId\n }, {\n responseType: 'blob'\n }).then(function (response) {\n return saveAs(response.data, \"\".concat('autoalert_' + templateId || 'document', \".pdf\"));\n });\n }\n\n function getEmailSubscription(templateEmailId, accessCode) {\n return coreApi.api.TemplateOutboundEmail.GetEmailSubscription['{templateOutboundEmailId}']['{accessCode}'].GET({\n templateOutboundEmailId: templateEmailId,\n accessCode: accessCode\n }).then(function (response) {\n return response.data;\n });\n }\n\n function disableEmailSubscription(templateEmailId, accessCode) {\n return coreApi.api.TemplateOutboundEmail.DisableEmailSubscription['{templateOutboundEmailId}']['{accessCode}'].POST(null, {\n templateOutboundEmailId: templateEmailId,\n accessCode: accessCode\n });\n }\n\n function createPdf(opportunityId, template, contentHtml, templateLetterheadImageUrl) {\n return coreApi.api.TemplateOutput.CreatePdf.POST({\n entityId: opportunityId,\n templateId: template.id,\n templateName: template.templateName,\n contentHtml: contentHtml,\n templateLetterheadImageUrl: templateLetterheadImageUrl\n }).then(function (response) {\n return {\n id: response.data.templateOutputID,\n templateId: response.data.templateID,\n templateName: response.data.templateName,\n opportunityId: response.data.entityID,\n isArchived: response.data.isArchived\n };\n });\n }\n\n function downloadPdf(templateOutputId, downloadName) {\n return coreApi.api.TemplateOutput.DownloadPdf['{templateOutputId}'].GET({\n templateOutputId: templateOutputId\n }, {\n responseType: 'blob'\n }).then(function (response) {\n saveAs(response.data, \"\".concat(downloadName || 'document', \".pdf\"));\n });\n }\n\n function archivePdf(templateOutputId) {\n return coreApi.api.TemplateOutput.ArchivePdf.POST({\n templateOutputId: templateOutputId\n });\n }\n\n function assert(condition, message) {\n if (!condition) {\n throw new Error(message);\n }\n }\n}","import angular from 'angular';\r\nimport vehicleImageNotFoundPath from '../images/vehicle-image-not-available.png';\r\n\r\nangular.module('AaApp.Opp').factory('vehicleService', vehicleService);\r\n\r\n/* @ngInject */\r\nfunction vehicleService($q, storageService, coreApi, opportunityTypes, vehicleTypes, saleTypes, legacy, mapUtils, contractService) {\r\n var service = {\r\n getVehicleImagePath: getVehicleImagePath,\r\n getCurrentVehicle: getCurrentVehicle,\r\n getReplacementVehicles: getReplacementVehicles,\r\n getOnDemandOffBrandVehicles: getOnDemandOffBrandVehicles,\r\n getAverageReplacementVehicle: getAverageReplacementVehicle,\r\n getAverageReplacementVehicleByTrim: getAverageReplacementVehicleByTrim,\r\n getInventoryReplacementVehicle: getInventoryReplacementVehicle,\r\n getInventoryReplacementVehicles: getInventoryReplacementVehicles,\r\n getInventoryVehicles: getInventoryVehicles,\r\n getInventoryVehicle: getInventoryVehicle,\r\n getAdjustedInventoryVehiclePrice: getAdjustedInventoryVehiclePrice,\r\n getMakes: getMakes,\r\n getMakesMany: getMakesMany,\r\n getModels: getModels,\r\n getModelId: getModelId,\r\n getModelsByMakeId: getModelsByMakeId,\r\n getYearIDs: getYearIDs,\r\n getTrims: getTrims,\r\n getTrimPrice: getTrimPrice,\r\n updateMileAge: updateMileAge,\r\n getFuelEconomyComparison: getFuelEconomyComparison,\r\n getFeatureComparison: getFeatureComparison,\r\n getAutoCheckReport: getAutoCheckReport,\r\n getCarFaxReport: getCarFaxReport,\r\n getCarFaxUrlFromAuthCode: getCarFaxUrlFromAuthCode,\r\n getCarFaxReportUrl: getCarFaxReportUrl,\r\n getCarProofReport: getCarProofReport,\r\n getVinRecall: getVinRecall,\r\n getVinRecallNos: getVinRecallNos,\r\n getVinRecallTypes: getVinRecallTypes,\r\n getModelsByMakesYears: getModelsByMakesYears,\r\n getTrimsByModels: getTrimsByModels,\r\n getTrimPlanPrice: getTrimPlanPrice,\r\n getInventoryBestMatchToTrim: getInventoryBestMatchToTrim,\r\n carFaxLogOut: carFaxLogOut,\r\n dealerMakeHasVciConfig: dealerMakeHasVciConfig,\r\n getVciMaturityData: getVciMaturityData,\r\n addVciEulaAccepted: addVciEulaAccepted\r\n };\r\n\r\n return service;\r\n\r\n function getVehicleImagePath(dealerId, trimId) {\r\n if (!dealerId || !trimId) {\r\n return $q.resolve(vehicleImageNotFoundPath);\r\n }\r\n else {\r\n return coreApi.api.VehicleImage.GetImage['{dealerId}']['{trimId}'].GET({ dealerId: dealerId, trimId: trimId }).then(function (response) {\r\n var imagePath = response.data ? response.data : vehicleImageNotFoundPath;\r\n\r\n return imagePath;\r\n }, function () {\r\n return $q.resolve(vehicleImageNotFoundPath);\r\n });\r\n }\r\n }\r\n\r\n function getFuelEconomyComparison(newTrimId, entityId) {\r\n return coreApi.api.Trim.GetFuelEconomyComparison['{newTrimId}']['{entityId}'].GET({ newTrimId: newTrimId, entityId: entityId })\r\n .then(resolveData);\r\n }\r\n\r\n function getFeatureComparison(newTrimId, entityId) {\r\n return coreApi.api.Trim.GetFeatureComparison['{newTrimId}']['{entityId}'].GET({ newTrimId: newTrimId, entityId: entityId })\r\n .then(resolveData);\r\n }\r\n\r\n function getCurrentVehicle(vehicleId) {\r\n return coreApi.api.Vehicle.GetDetails['{vehicleId}'].GET({ vehicleId: vehicleId })\r\n .then(resolveData);\r\n }\r\n\r\n function getReplacementVehicles(opportunityId, stockNo, pricingPlanId) {\r\n\r\n if (!stockNo) {\r\n stockNo = 'auto';\r\n }\r\n\r\n if (!pricingPlanId) pricingPlanId = null;\r\n\r\n return coreApi.api.VehicleReplacement.GetVehicleReplacements['{entityId}']['{stockNo}'].GET({ entityId: opportunityId, stockNo: stockNo, pricingPlanId: pricingPlanId })\r\n .then(resolveData);\r\n }\r\n\r\n function getOnDemandOffBrandVehicles(entityId, makeIds) {\r\n return coreApi.api.VehicleReplacement.OnDemandOffBrandVehicleReplacements.POST({ entityID: entityId, makeIds: makeIds }, {})\r\n .then(resolveData);\r\n }\r\n\r\n function getAverageReplacementVehicleByTrim(dealerId, vehicleId, pricingPlanId, trimId) {\r\n\r\n return coreApi.api.VehicleReplacement.GetExtByVehicleAndDealer['{vehicleId}']['{dealerId}'].GET({ vehicleId: vehicleId, dealerId: dealerId, pricingPlanId: pricingPlanId, trimId:trimId })\r\n .then(resolveData);\r\n }\r\n\r\n\r\n function getAverageReplacementVehicle(dealerId, vehicleId, pricingPlanId) {\r\n\r\n return coreApi.api.VehicleReplacement.GetExtByVehicleAndDealer['{vehicleId}']['{dealerId}'].GET({ vehicleId: vehicleId, dealerId: dealerId, pricingPlanId: pricingPlanId })\r\n .then(resolveData);\r\n }\r\n\r\n function getInventoryReplacementVehicle(dealerId, modelID, trimID, pricingPlanId) {\r\n\r\n return coreApi.api.Inventory.InventoryBestMatch.POST({ dealerId: dealerId, modelId: modelID, trimId: trimID, pricingPlanId: pricingPlanId }, {})\r\n .then(resolveData);\r\n }\r\n\r\n function getInventoryBestMatchToTrim(dealerId, trimID, replPrice) {\r\n return coreApi.api.Inventory.InventoryBestMatchToTrim.POST({ dealerId: dealerId, trimId: trimID, replPrice: replPrice }, {})\r\n .then(resolveData);\r\n }\r\n\r\n function getInventoryReplacementVehicles(opportunity) {\r\n\r\n return contractService.getCalculationParameters(opportunity)\r\n .then(getVehicles)\r\n .then(mapVehicles);\r\n\r\n function getVehicles(parameters) {\r\n return $q.all([\r\n coreApi.api.Inventory.InventoryRecommendation_UsedCar['{entityId}'].GET(\r\n {\r\n entityId: opportunity.id,\r\n saleType: opportunity.currentContract.saleType,\r\n currentTerm: opportunity.currentContract.term,\r\n currentPayment: opportunity.currentContract.payment,\r\n exteriorColor: opportunity.replacementVehicle.color,\r\n daysInStock: opportunity.replacementVehicle.daysInStock\r\n }),\r\n coreApi.api.Inventory.InventoryRecommendation_NewCar.POST(\r\n {\r\n CalculationParamsModel: parameters,\r\n DealerId: parameters.dealerID,\r\n SaleType: parameters.oldSaleTypeID,\r\n CurrentTerm: parameters.oldTermID,\r\n CurrentPayment: parameters.oldMonthlyPayment ? parameters.oldMonthlyPayment : 0,\r\n TrimId: parameters.oldTrimID,\r\n Year: parameters.newTrimYearID,\r\n })\r\n ]);\r\n }\r\n\r\n function mapVehicles(response) {\r\n var usedCar = response[0].data;\r\n var newCar = response[1].data;\r\n\r\n var vehicles = [];\r\n var vehicleData = usedCar.concat(newCar);\r\n var resultsCount = vehicleData.length > 10 ? 10 : vehicleData.length;\r\n for (var i = 0; i < resultsCount; i++) {\r\n var data = vehicleData[i];\r\n vehicles.push(data);\r\n }\r\n\r\n return vehicles;\r\n }\r\n }\r\n\r\n function getInventoryVehicles(opportunity, params) {\r\n var isNew;\r\n\r\n if (params.getNewVehicles && !params.getUsedVehicles) {\r\n isNew = true;\r\n }\r\n else if (params.getUsedVehicles && !params.getNewVehicles) {\r\n isNew = false;\r\n }\r\n\r\n return contractService.getCalculationParameters(opportunity)\r\n .then(function (calculationParamsModel) {\r\n return coreApi.api.Inventory.Search.POST({\r\n makeIds: params.makeIDs,\r\n yearIds: params.yearIDs,\r\n modelIds: params.modelIDs,\r\n trimIds: params.trimIDs,\r\n isNew: isNew,\r\n dealerIds: params.dealerIds,\r\n saleTypes: params.saleTypes,\r\n minimumTermLength: params.minimumTermLength,\r\n maximumTermLength: params.maximumTermLength,\r\n minimumMonthlyPayment: params.minimumMonthlyPayment,\r\n maximumMonthlyPayment: params.maximumMonthlyPayment,\r\n pricingPlanId: params.pricingPlanId,\r\n calculationParamsModel: calculationParamsModel,\r\n })\r\n })\r\n .then(resolveData);\r\n }\r\n\r\n function getInventoryVehicle(stockNo, opportunityId, pricingPlanId) {\r\n if (!pricingPlanId) { pricingPlanId = 0; }\r\n return coreApi.api.Inventory.GetExtByStockNo['{stockNo}']['{entityId}']['{pricingPlanID}'].GET({ stockNo: stockNo, entityId: opportunityId, pricingPlanID: pricingPlanId })\r\n .then(resolveData);\r\n }\r\n\r\n function getAdjustedInventoryVehiclePrice(dealerId, vehicleType, msrp) {\r\n return coreApi.api.DealerPrice.GetAdjustedInventoryVehiclePrice['{dealerId}']['{vehicleType}']['{msrp}']\r\n .GET({ dealerId: dealerId, vehicleType: vehicleType, msrp: msrp })\r\n .then(resolveData);\r\n }\r\n\r\n function getMakes(dealerIds, countryId) {\r\n return coreApi.api.Make.GetMakes.GET({ dealerids: dealerIds, countryId: countryId }).then(resolveData);\r\n }\r\n\r\n function getMakesMany(makeIds) {\r\n return coreApi.api.Make.GetMany.GET({ ids: makeIds }).then(resolveData);\r\n }\r\n\r\n function getModels(makeID, year) {\r\n return coreApi.api.Model.GetModelsByMakeYear['{makeId}']['{yearId}'].GET({ makeId: makeID, yearId: year }).then(resolveData);\r\n }\r\n\r\n function getModelId(trimID) {\r\n return coreApi.api.Trim['{id}'].GET({ id: trimID }).then(function resolveModelId(response) {\r\n return response.data.modelID;\r\n });\r\n }\r\n\r\n function getModelsByMakeId(makeID) {\r\n return coreApi.api.Model.GetModelsByMake['{makeId}'].GET({ makeId: makeID }).then(resolveData);\r\n }\r\n\r\n function getModelsByMakesYears(makeIDs, years) {\r\n return coreApi.api.Model.GetModelsByMakesYears.POST({ makeIDs: makeIDs, years: years })\r\n .then(resolveData);\r\n }\r\n\r\n function getTrimsByModels(modelIds) {\r\n return coreApi.api.Trim.GetTrimsByModels.POST(modelIds)\r\n .then(resolveData);\r\n }\r\n\r\n function getYearIDs(dealerId, showDefaultYears, yearLimit) {\r\n showDefaultYears = showDefaultYears ? showDefaultYears : false;\r\n\r\n return coreApi.api.Year.GetByDealerId['{dealerId}']['{showDefaultYears}'].GET({ dealerId: dealerId, showDefaultYears: showDefaultYears, limit: yearLimit })\r\n .then(resolveData);\r\n }\r\n\r\n function getTrims(modelIDs) {\r\n var promises = [];\r\n\r\n for (var i = 0; i < modelIDs.length; i++) {\r\n promises.push(coreApi.api.Trim.GetTrimsByModelId['{modelId}'].GET({ modelId: modelIDs[i] }));\r\n }\r\n\r\n return $q.all(promises).then(resolveTrims);\r\n\r\n function resolveTrims(response) {\r\n var trims = [];\r\n\r\n for (var i = 0; i < response.length; i++) {\r\n for (var j = 0; j < response[i].data.length; j++) {\r\n var trim = response[i].data[j];\r\n\r\n trims.push(trim);\r\n }\r\n }\r\n\r\n return trims;\r\n }\r\n }\r\n\r\n /**\r\n * Deprecated. Please use getTrimPlanPrice instead.\r\n * @param {*} dealerId \r\n * @param {*} trimID \r\n */\r\n function getTrimPrice(dealerId, trimID) {\r\n return coreApi.api.DealerPrice.GetTrimPrice['{dealerId}']['{trimId}'].GET({ dealerId: dealerId, trimId: trimID })\r\n .then(resolveData); \r\n }\r\n\r\n function getTrimPlanPrice(dealerId, trimID, pricingPlanId = null) {\r\n return coreApi.api.DealerPrice.GetTrimPlanPrice.GET({ dealerId: dealerId, trimId: trimID, pricingPlanId: pricingPlanId})\r\n .then(resolveData);\r\n }\r\n\r\n function updateMileAge(opportunityId, mileage, milieageDate) {\r\n var milageData = {\r\n entityID: opportunityId,\r\n mileage: mileage,\r\n mileageDate: milieageDate\r\n }\r\n\r\n return coreApi.api.Entity.UpdateMileage.POST(milageData)\r\n .then(resolveData);\r\n }\r\n\r\n function getCarFaxReport(entityId, vin) {\r\n return coreApi.api.CarFax.GetCarFaxReportHtml['{entityId}']['{vin}'].GET({ entityId: entityId, vin: vin, disableErrorHandler: true})\r\n .then(resolveData);\r\n }\r\n\r\n function getCarFaxUrlFromAuthCode(code, state) {\r\n return coreApi.api.CarFax.GetCarFaxUrlFromAuthCode.GET({ code: code, state: state, disableErrorHandler: true })\r\n .then(resolveData);\r\n }\r\n\r\n function getCarFaxReportUrl(dealerId, entityId, vin) {\r\n return coreApi.api.CarFax.GetCarFaxReportUrl.GET({ dealerId: dealerId, entityId: entityId, vin: vin, disableErrorHandler: true })\r\n .then(resolveData);\r\n }\r\n\r\n function carFaxLogOut() {\r\n return coreApi.api.CarFax.CarFaxLogOut.POST()\r\n .then(resolveData);\r\n }\r\n\r\n function getAutoCheckReport(entityId, vin) {\r\n return coreApi.api.AutoCheck['{entityId}']['{vin}'].GET({ entityId: entityId, vin: vin })\r\n .then(resolveData);\r\n }\r\n\r\n function getCarProofReport(entityId, vin) {\r\n return coreApi.api.CarProof.GetCarProofReportHtml['{entityId}']['{vin}'].GET({ entityId: entityId, vin: vin })\r\n .then(resolveData);\r\n }\r\n\r\n function getVinRecall(dealerId, vehicleId) {\r\n return coreApi.api.VinRecall.GetByDealerVehicle['{dealerId}']['{vehicleId}'].GET({ dealerId, vehicleId })\r\n .then(resolveData);\r\n }\r\n\r\n function getVinRecallNos(dealerId) {\r\n return coreApi.api.VinRecall.GetVinRecallNos.GET({ dealerId: dealerId })\r\n .then(resolveData);\r\n }\r\n\r\n function getVinRecallTypes() {\r\n return coreApi.api.VinRecall.GetVinRecallTypes.GET()\r\n .then(resolveData);\r\n }\r\n\r\n function dealerMakeHasVciConfig(dealerId, makeId) {\r\n return coreApi.api.VciMaturity.DealerMakeHasVciConfig['{dealerId}']['{makeId}'].GET({ dealerId, makeId })\r\n .then(resolveData);\r\n }\r\n\r\n function getVciMaturityData(entityId, makeId, vin) {\r\n return coreApi.api.VciMaturity.GetVciMaturityData['{entityId}']['{makeId}']['{vin}'].GET({ entityId, makeId, vin })\r\n .then(resolveData);\r\n }\r\n\r\n function addVciEulaAccepted() {\r\n return coreApi.api.VciMaturity.AddVciEulaAccepted.POST().then(true);\r\n }\r\n\r\n function resolveData(response) {\r\n if (response && response.data) {\r\n return response.data;\r\n }\r\n else {\r\n return null;\r\n }\r\n }\r\n\r\n}\r\n","vehicleService.$inject = [\"$q\", \"storageService\", \"coreApi\", \"opportunityTypes\", \"vehicleTypes\", \"saleTypes\", \"legacy\", \"mapUtils\", \"contractService\"];\nimport angular from 'angular';\nimport vehicleImageNotFoundPath from '../images/vehicle-image-not-available.png';\nangular.module('AaApp.Opp').factory('vehicleService', vehicleService);\n/* @ngInject */\n\nfunction vehicleService($q, storageService, coreApi, opportunityTypes, vehicleTypes, saleTypes, legacy, mapUtils, contractService) {\n var service = {\n getVehicleImagePath: getVehicleImagePath,\n getCurrentVehicle: getCurrentVehicle,\n getReplacementVehicles: getReplacementVehicles,\n getOnDemandOffBrandVehicles: getOnDemandOffBrandVehicles,\n getAverageReplacementVehicle: getAverageReplacementVehicle,\n getAverageReplacementVehicleByTrim: getAverageReplacementVehicleByTrim,\n getInventoryReplacementVehicle: getInventoryReplacementVehicle,\n getInventoryReplacementVehicles: getInventoryReplacementVehicles,\n getInventoryVehicles: getInventoryVehicles,\n getInventoryVehicle: getInventoryVehicle,\n getAdjustedInventoryVehiclePrice: getAdjustedInventoryVehiclePrice,\n getMakes: getMakes,\n getMakesMany: getMakesMany,\n getModels: getModels,\n getModelId: getModelId,\n getModelsByMakeId: getModelsByMakeId,\n getYearIDs: getYearIDs,\n getTrims: getTrims,\n getTrimPrice: getTrimPrice,\n updateMileAge: updateMileAge,\n getFuelEconomyComparison: getFuelEconomyComparison,\n getFeatureComparison: getFeatureComparison,\n getAutoCheckReport: getAutoCheckReport,\n getCarFaxReport: getCarFaxReport,\n getCarFaxUrlFromAuthCode: getCarFaxUrlFromAuthCode,\n getCarFaxReportUrl: getCarFaxReportUrl,\n getCarProofReport: getCarProofReport,\n getVinRecall: getVinRecall,\n getVinRecallNos: getVinRecallNos,\n getVinRecallTypes: getVinRecallTypes,\n getModelsByMakesYears: getModelsByMakesYears,\n getTrimsByModels: getTrimsByModels,\n getTrimPlanPrice: getTrimPlanPrice,\n getInventoryBestMatchToTrim: getInventoryBestMatchToTrim,\n carFaxLogOut: carFaxLogOut,\n dealerMakeHasVciConfig: dealerMakeHasVciConfig,\n getVciMaturityData: getVciMaturityData,\n addVciEulaAccepted: addVciEulaAccepted\n };\n return service;\n\n function getVehicleImagePath(dealerId, trimId) {\n if (!dealerId || !trimId) {\n return $q.resolve(vehicleImageNotFoundPath);\n } else {\n return coreApi.api.VehicleImage.GetImage['{dealerId}']['{trimId}'].GET({\n dealerId: dealerId,\n trimId: trimId\n }).then(function (response) {\n var imagePath = response.data ? response.data : vehicleImageNotFoundPath;\n return imagePath;\n }, function () {\n return $q.resolve(vehicleImageNotFoundPath);\n });\n }\n }\n\n function getFuelEconomyComparison(newTrimId, entityId) {\n return coreApi.api.Trim.GetFuelEconomyComparison['{newTrimId}']['{entityId}'].GET({\n newTrimId: newTrimId,\n entityId: entityId\n }).then(resolveData);\n }\n\n function getFeatureComparison(newTrimId, entityId) {\n return coreApi.api.Trim.GetFeatureComparison['{newTrimId}']['{entityId}'].GET({\n newTrimId: newTrimId,\n entityId: entityId\n }).then(resolveData);\n }\n\n function getCurrentVehicle(vehicleId) {\n return coreApi.api.Vehicle.GetDetails['{vehicleId}'].GET({\n vehicleId: vehicleId\n }).then(resolveData);\n }\n\n function getReplacementVehicles(opportunityId, stockNo, pricingPlanId) {\n if (!stockNo) {\n stockNo = 'auto';\n }\n\n if (!pricingPlanId) pricingPlanId = null;\n return coreApi.api.VehicleReplacement.GetVehicleReplacements['{entityId}']['{stockNo}'].GET({\n entityId: opportunityId,\n stockNo: stockNo,\n pricingPlanId: pricingPlanId\n }).then(resolveData);\n }\n\n function getOnDemandOffBrandVehicles(entityId, makeIds) {\n return coreApi.api.VehicleReplacement.OnDemandOffBrandVehicleReplacements.POST({\n entityID: entityId,\n makeIds: makeIds\n }, {}).then(resolveData);\n }\n\n function getAverageReplacementVehicleByTrim(dealerId, vehicleId, pricingPlanId, trimId) {\n return coreApi.api.VehicleReplacement.GetExtByVehicleAndDealer['{vehicleId}']['{dealerId}'].GET({\n vehicleId: vehicleId,\n dealerId: dealerId,\n pricingPlanId: pricingPlanId,\n trimId: trimId\n }).then(resolveData);\n }\n\n function getAverageReplacementVehicle(dealerId, vehicleId, pricingPlanId) {\n return coreApi.api.VehicleReplacement.GetExtByVehicleAndDealer['{vehicleId}']['{dealerId}'].GET({\n vehicleId: vehicleId,\n dealerId: dealerId,\n pricingPlanId: pricingPlanId\n }).then(resolveData);\n }\n\n function getInventoryReplacementVehicle(dealerId, modelID, trimID, pricingPlanId) {\n return coreApi.api.Inventory.InventoryBestMatch.POST({\n dealerId: dealerId,\n modelId: modelID,\n trimId: trimID,\n pricingPlanId: pricingPlanId\n }, {}).then(resolveData);\n }\n\n function getInventoryBestMatchToTrim(dealerId, trimID, replPrice) {\n return coreApi.api.Inventory.InventoryBestMatchToTrim.POST({\n dealerId: dealerId,\n trimId: trimID,\n replPrice: replPrice\n }, {}).then(resolveData);\n }\n\n function getInventoryReplacementVehicles(opportunity) {\n return contractService.getCalculationParameters(opportunity).then(getVehicles).then(mapVehicles);\n\n function getVehicles(parameters) {\n return $q.all([coreApi.api.Inventory.InventoryRecommendation_UsedCar['{entityId}'].GET({\n entityId: opportunity.id,\n saleType: opportunity.currentContract.saleType,\n currentTerm: opportunity.currentContract.term,\n currentPayment: opportunity.currentContract.payment,\n exteriorColor: opportunity.replacementVehicle.color,\n daysInStock: opportunity.replacementVehicle.daysInStock\n }), coreApi.api.Inventory.InventoryRecommendation_NewCar.POST({\n CalculationParamsModel: parameters,\n DealerId: parameters.dealerID,\n SaleType: parameters.oldSaleTypeID,\n CurrentTerm: parameters.oldTermID,\n CurrentPayment: parameters.oldMonthlyPayment ? parameters.oldMonthlyPayment : 0,\n TrimId: parameters.oldTrimID,\n Year: parameters.newTrimYearID\n })]);\n }\n\n function mapVehicles(response) {\n var usedCar = response[0].data;\n var newCar = response[1].data;\n var vehicles = [];\n var vehicleData = usedCar.concat(newCar);\n var resultsCount = vehicleData.length > 10 ? 10 : vehicleData.length;\n\n for (var i = 0; i < resultsCount; i++) {\n var data = vehicleData[i];\n vehicles.push(data);\n }\n\n return vehicles;\n }\n }\n\n function getInventoryVehicles(opportunity, params) {\n var isNew;\n\n if (params.getNewVehicles && !params.getUsedVehicles) {\n isNew = true;\n } else if (params.getUsedVehicles && !params.getNewVehicles) {\n isNew = false;\n }\n\n return contractService.getCalculationParameters(opportunity).then(function (calculationParamsModel) {\n return coreApi.api.Inventory.Search.POST({\n makeIds: params.makeIDs,\n yearIds: params.yearIDs,\n modelIds: params.modelIDs,\n trimIds: params.trimIDs,\n isNew: isNew,\n dealerIds: params.dealerIds,\n saleTypes: params.saleTypes,\n minimumTermLength: params.minimumTermLength,\n maximumTermLength: params.maximumTermLength,\n minimumMonthlyPayment: params.minimumMonthlyPayment,\n maximumMonthlyPayment: params.maximumMonthlyPayment,\n pricingPlanId: params.pricingPlanId,\n calculationParamsModel: calculationParamsModel\n });\n }).then(resolveData);\n }\n\n function getInventoryVehicle(stockNo, opportunityId, pricingPlanId) {\n if (!pricingPlanId) {\n pricingPlanId = 0;\n }\n\n return coreApi.api.Inventory.GetExtByStockNo['{stockNo}']['{entityId}']['{pricingPlanID}'].GET({\n stockNo: stockNo,\n entityId: opportunityId,\n pricingPlanID: pricingPlanId\n }).then(resolveData);\n }\n\n function getAdjustedInventoryVehiclePrice(dealerId, vehicleType, msrp) {\n return coreApi.api.DealerPrice.GetAdjustedInventoryVehiclePrice['{dealerId}']['{vehicleType}']['{msrp}'].GET({\n dealerId: dealerId,\n vehicleType: vehicleType,\n msrp: msrp\n }).then(resolveData);\n }\n\n function getMakes(dealerIds, countryId) {\n return coreApi.api.Make.GetMakes.GET({\n dealerids: dealerIds,\n countryId: countryId\n }).then(resolveData);\n }\n\n function getMakesMany(makeIds) {\n return coreApi.api.Make.GetMany.GET({\n ids: makeIds\n }).then(resolveData);\n }\n\n function getModels(makeID, year) {\n return coreApi.api.Model.GetModelsByMakeYear['{makeId}']['{yearId}'].GET({\n makeId: makeID,\n yearId: year\n }).then(resolveData);\n }\n\n function getModelId(trimID) {\n return coreApi.api.Trim['{id}'].GET({\n id: trimID\n }).then(function resolveModelId(response) {\n return response.data.modelID;\n });\n }\n\n function getModelsByMakeId(makeID) {\n return coreApi.api.Model.GetModelsByMake['{makeId}'].GET({\n makeId: makeID\n }).then(resolveData);\n }\n\n function getModelsByMakesYears(makeIDs, years) {\n return coreApi.api.Model.GetModelsByMakesYears.POST({\n makeIDs: makeIDs,\n years: years\n }).then(resolveData);\n }\n\n function getTrimsByModels(modelIds) {\n return coreApi.api.Trim.GetTrimsByModels.POST(modelIds).then(resolveData);\n }\n\n function getYearIDs(dealerId, showDefaultYears, yearLimit) {\n showDefaultYears = showDefaultYears ? showDefaultYears : false;\n return coreApi.api.Year.GetByDealerId['{dealerId}']['{showDefaultYears}'].GET({\n dealerId: dealerId,\n showDefaultYears: showDefaultYears,\n limit: yearLimit\n }).then(resolveData);\n }\n\n function getTrims(modelIDs) {\n var promises = [];\n\n for (var i = 0; i < modelIDs.length; i++) {\n promises.push(coreApi.api.Trim.GetTrimsByModelId['{modelId}'].GET({\n modelId: modelIDs[i]\n }));\n }\n\n return $q.all(promises).then(resolveTrims);\n\n function resolveTrims(response) {\n var trims = [];\n\n for (var i = 0; i < response.length; i++) {\n for (var j = 0; j < response[i].data.length; j++) {\n var trim = response[i].data[j];\n trims.push(trim);\n }\n }\n\n return trims;\n }\n }\n /**\r\n * Deprecated. Please use getTrimPlanPrice instead.\r\n * @param {*} dealerId \r\n * @param {*} trimID \r\n */\n\n\n function getTrimPrice(dealerId, trimID) {\n return coreApi.api.DealerPrice.GetTrimPrice['{dealerId}']['{trimId}'].GET({\n dealerId: dealerId,\n trimId: trimID\n }).then(resolveData);\n }\n\n function getTrimPlanPrice(dealerId, trimID) {\n var pricingPlanId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n return coreApi.api.DealerPrice.GetTrimPlanPrice.GET({\n dealerId: dealerId,\n trimId: trimID,\n pricingPlanId: pricingPlanId\n }).then(resolveData);\n }\n\n function updateMileAge(opportunityId, mileage, milieageDate) {\n var milageData = {\n entityID: opportunityId,\n mileage: mileage,\n mileageDate: milieageDate\n };\n return coreApi.api.Entity.UpdateMileage.POST(milageData).then(resolveData);\n }\n\n function getCarFaxReport(entityId, vin) {\n return coreApi.api.CarFax.GetCarFaxReportHtml['{entityId}']['{vin}'].GET({\n entityId: entityId,\n vin: vin,\n disableErrorHandler: true\n }).then(resolveData);\n }\n\n function getCarFaxUrlFromAuthCode(code, state) {\n return coreApi.api.CarFax.GetCarFaxUrlFromAuthCode.GET({\n code: code,\n state: state,\n disableErrorHandler: true\n }).then(resolveData);\n }\n\n function getCarFaxReportUrl(dealerId, entityId, vin) {\n return coreApi.api.CarFax.GetCarFaxReportUrl.GET({\n dealerId: dealerId,\n entityId: entityId,\n vin: vin,\n disableErrorHandler: true\n }).then(resolveData);\n }\n\n function carFaxLogOut() {\n return coreApi.api.CarFax.CarFaxLogOut.POST().then(resolveData);\n }\n\n function getAutoCheckReport(entityId, vin) {\n return coreApi.api.AutoCheck['{entityId}']['{vin}'].GET({\n entityId: entityId,\n vin: vin\n }).then(resolveData);\n }\n\n function getCarProofReport(entityId, vin) {\n return coreApi.api.CarProof.GetCarProofReportHtml['{entityId}']['{vin}'].GET({\n entityId: entityId,\n vin: vin\n }).then(resolveData);\n }\n\n function getVinRecall(dealerId, vehicleId) {\n return coreApi.api.VinRecall.GetByDealerVehicle['{dealerId}']['{vehicleId}'].GET({\n dealerId: dealerId,\n vehicleId: vehicleId\n }).then(resolveData);\n }\n\n function getVinRecallNos(dealerId) {\n return coreApi.api.VinRecall.GetVinRecallNos.GET({\n dealerId: dealerId\n }).then(resolveData);\n }\n\n function getVinRecallTypes() {\n return coreApi.api.VinRecall.GetVinRecallTypes.GET().then(resolveData);\n }\n\n function dealerMakeHasVciConfig(dealerId, makeId) {\n return coreApi.api.VciMaturity.DealerMakeHasVciConfig['{dealerId}']['{makeId}'].GET({\n dealerId: dealerId,\n makeId: makeId\n }).then(resolveData);\n }\n\n function getVciMaturityData(entityId, makeId, vin) {\n return coreApi.api.VciMaturity.GetVciMaturityData['{entityId}']['{makeId}']['{vin}'].GET({\n entityId: entityId,\n makeId: makeId,\n vin: vin\n }).then(resolveData);\n }\n\n function addVciEulaAccepted() {\n return coreApi.api.VciMaturity.AddVciEulaAccepted.POST().then(true);\n }\n\n function resolveData(response) {\n if (response && response.data) {\n return response.data;\n } else {\n return null;\n }\n }\n}","//\r\n// THIS FILE WAS GENERATED BY 'generate-alertminerapi.ts'\r\n//\r\n// DO NOT EDIT THIS FILE MANUALLY.\r\n//\r\n// TO UPDATE THIS FILE, RUN:\r\n// yarn run generate:alertminerapi\r\n\r\nexport default {\r\n \"swagger\": \"2.0\",\r\n \"info\": {\r\n \"version\": \"v1\",\r\n \"title\": \"AutoAlert (Business Layer, User Context)\",\r\n \"description\": \"AutoAlert.AlertMiner.Api\",\r\n \"termsOfService\": \"AutoAlert, Inc.\"\r\n },\r\n \"paths\": {\r\n \"/api/Activity/RunActivityRule\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"RunActivityRule_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActivityActionTargetEntityRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity/SubmitAction\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"SubmitAction_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"submission\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActivityActionSubmissionModel\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActivityActionResponseModel\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity/GetAgendaItems\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"GetAgendaItems_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"take\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 5\r\n },\r\n {\r\n \"name\": \"flushCache\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\",\r\n \"default\": true\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ActivityExtendedWithVwSearchDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity/GetAgendaItemsWithEntityData\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"GetAgendaItemsWithEntityData_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dateFrom\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n {\r\n \"name\": \"dateTo\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n {\r\n \"name\": \"activityTypes\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 1,\r\n 2,\r\n 3,\r\n 4,\r\n 5,\r\n 6\r\n ]\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n },\r\n {\r\n \"name\": \"viewAllUsers\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\",\r\n \"default\": false\r\n },\r\n {\r\n \"name\": \"take\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 5\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ActivityWithEntityDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity/GetActivitiesForEntity\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"GetActivitiesForEntity_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"activityStatuses\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n },\r\n {\r\n \"name\": \"activityTypes\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity/GetNewActivityNotifications/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"GetNewActivityNotifications_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity/UpgradeProposal\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"AddUpgradeProposalActivityNote_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UpgradeProposalActivityRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActivityDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ActivityDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActivityDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActivityDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActivityDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ActivityHistory/GetExtByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityHistoryClient\"\r\n ],\r\n \"operationId\": \"GetExtByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"count\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 0\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ActivityHistory/GetLastActivityByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityHistoryClient\"\r\n ],\r\n \"operationId\": \"GetLastActivityByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/LastActivityDetailsExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ActivityHistory/GetOneToOneMailHistoryBy/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityHistoryClient\"\r\n ],\r\n \"operationId\": \"GetOneToOneMailHistoryBy_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ActivityHistory/GetSLMEmailOfferHistoryBy/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityHistoryClient\"\r\n ],\r\n \"operationId\": \"GetSLMEmailOfferHistoryBy_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EntityMailHistoryDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ActivityHistory/GetExtActivityHistoryBy/{entityId}/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityHistoryClient\"\r\n ],\r\n \"operationId\": \"GetExtActivityHistoryBy_ByEntityid_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ActivityHistory/GetEmailConversationHistoryBy/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityHistoryClient\"\r\n ],\r\n \"operationId\": \"GetEmailConversationHistoryBy_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ActivityHistory/GetCustomerEngagementHistoryBy/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityHistoryClient\"\r\n ],\r\n \"operationId\": \"GetCustomerEngagementHistoryBy_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ActivityHistory/GetCombinedActivityHistory\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ActivityHistoryClient\"\r\n ],\r\n \"operationId\": \"GetCombinedActivityHistory_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"opportunityId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"customerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActivityHistoryCombinedDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Announcement/GetAnnouncementForUser\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AnnouncementClient\"\r\n ],\r\n \"operationId\": \"GetAnnouncementForUser_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AnnouncementDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Announcement/UpdateAnnouncementUserDisplay/{announcementId}\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"AnnouncementClient\"\r\n ],\r\n \"operationId\": \"UpdateAnnouncementUserDisplay_ByAnnouncementid_PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"announcementId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"doNotDisplay\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/AssetModule/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AssetModuleClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AssetModuleDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"AssetModuleClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/AssetModule/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AssetModuleClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/AssetModuleDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/AssetModule\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"AssetModuleClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AssetModuleDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"AssetModuleClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AssetModuleDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AssetModuleDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Authentication/CrmLogin/{entityId}/{vHash}/{accesCode}/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AuthenticationClient\"\r\n ],\r\n \"operationId\": \"CrmLogin_ByEntityid_ByVhash_ByAccescode_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"vHash\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"accesCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 0\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Authentication/CrmLogin/{entityId}/{vHash}/{accesCode}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AuthenticationClient\"\r\n ],\r\n \"operationId\": \"CrmLogin_ByEntityid_ByVhash_ByAccescode_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"vHash\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"accesCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 0\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Authentication/CrmLoginPage/{accesCode}/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AuthenticationClient\"\r\n ],\r\n \"operationId\": \"CrmLoginPage_ByAccescode_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"accesCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 0\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Authentication/CrmLoginPage/{accesCode}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AuthenticationClient\"\r\n ],\r\n \"operationId\": \"CrmLoginPage_ByAccescode_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"accesCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 0\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/AutoCheck/{entityId}/{vin}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"AutoCheckClient\"\r\n ],\r\n \"operationId\": \"ByEntityid_ByVin_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"vin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/AutoCheck/GetAutoCheckReportHtml\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"AutoCheckClient\"\r\n ],\r\n \"operationId\": \"GetAutoCheck_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"autoCheckDto\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoCheckDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/BalanceToMaturity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"BalanceToMaturityClient\"\r\n ],\r\n \"operationId\": \"ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"saleId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Bank/GetBankSelect/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"BankClient\"\r\n ],\r\n \"operationId\": \"GetBankSelect_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CacheManagement/FlushUserRelatedCache\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CacheManagementClient\"\r\n ],\r\n \"operationId\": \"FlushUserRelatedCache_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CarFax/GetCarFaxReportHtml/{entityId}/{vin}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CarFaxClient\"\r\n ],\r\n \"operationId\": \"GetCarFaxReportHtml_ByEntityid_ByVin_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"vin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CarFax/GetCarFaxUrlFromAuthCode\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CarFaxClient\"\r\n ],\r\n \"operationId\": \"GetCarFaxUrlFromAuthCode_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"code\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"state\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CarFax/GetCarFaxUrlFromAuthCodeInv\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CarFaxClient\"\r\n ],\r\n \"operationId\": \"GetCarFaxUrlFromAuthCodeInv_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"carFaxAuthDto\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CarFaxAuthDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CarFaxResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CarFax/GetCarFaxReportUrl\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CarFaxClient\"\r\n ],\r\n \"operationId\": \"GetCarFaxReportUrl_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"vin\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CarFax/GetCarFaxReportHtml\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CarFaxClient\"\r\n ],\r\n \"operationId\": \"GetCarFaxReportHtml_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"carFaxDto\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CarFaxDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CarFax/GetCarFaxReportUrlInv\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CarFaxClient\"\r\n ],\r\n \"operationId\": \"GetCarFaxReportUrlInv_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"carFaxDto\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CarFaxDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CarFaxResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CarFax/CarFaxLogOut\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CarFaxClient\"\r\n ],\r\n \"operationId\": \"CarFaxLogOut_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CarFax/CarFaxLogOutInv\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CarFaxClient\"\r\n ],\r\n \"operationId\": \"CarFaxLogOutInv_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"userName\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CarProof/GetCarProofReportHtml/{entityId}/{vin}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CarProofClient\"\r\n ],\r\n \"operationId\": \"GetCarProofReportUrl_ByEntityid_ByVin_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"vin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ChangeLog/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ChangeLogClient\"\r\n ],\r\n \"operationId\": \"ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ChangeLog/Term/{vehicleId}/{term}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ChangeLogClient\"\r\n ],\r\n \"operationId\": \"AddTermChangeLog_ByVehicleid_ByTerm_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"vehicleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"term\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ChangeLog/Price/{vehicleId}/{price}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ChangeLogClient\"\r\n ],\r\n \"operationId\": \"AddPriceChangeLog_ByVehicleid_ByPrice_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"vehicleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"price\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"number\",\r\n \"format\": \"double\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Convert/GetConvertInfo/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ConvertClient\"\r\n ],\r\n \"operationId\": \"GetConvertInfo_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Convert/PostConvertInfo\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ConvertClient\"\r\n ],\r\n \"operationId\": \"PostConvertInfo_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"info\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ConvertDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Convert/GetConvertSaleTypes\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ConvertClient\"\r\n ],\r\n \"operationId\": \"GetConvertSaleTypes_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CreditSoftPullResultEntityDel/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CreditSoftPullResultEntityDelClient\"\r\n ],\r\n \"operationId\": \"GetCreditSoftPullResultEntityDel_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CreditSoftPullResultEntityKeep/GetSaleInfoByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CreditSoftPullResultEntityKeepClient\"\r\n ],\r\n \"operationId\": \"GetSaleInfoByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/ByEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"ByEntity_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/NameByEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"GetNameOnly_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/Customer_Mark_DoNotEmail\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"Customer_Mark_DoNotEmail_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerMarkDoNotEmailDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/Customer_Get_DoNotEmail/{sessionID}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"Customer_Get_DoNotEmail_BySessionid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"sessionID\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/Customer_Get_DoNotEmailDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/Customer_Mark_DoNotCall\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"Customer_Mark_DoNotCall_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerMarkDoNotCallDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/Customer_Get_DoNotCall/{sessionID}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"Customer_Get_DoNotCall_BySessionid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"sessionID\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/Customer_Get_DoNotCallDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"patch\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"Update_PATCH\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"customerProfile\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerPatch\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/UpdateCustomer/{updatingUserId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"UpdateCustomer_ByUpdatinguserid_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"updatingUserId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"customerProfile\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerPatch\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/Insert_DoNotEmailStaging\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"Insert_DoNotEmailStaging_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"emailaddresslist\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DoNotEmailStagingResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/Insert_DoNotCallStaging\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"Insert_DoNotCallStaging_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"phoneNumberList\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DoNotCallStagingResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/UpdatePreferredLanguage\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"UpdatePreferredLanguage_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"customerPreferredLanguage\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerPreferredLanguageDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UpdatePreferredLanguageResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Customer/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/CustomerDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CustomerActivityHistory/ByEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerActivityHistoryClient\"\r\n ],\r\n \"operationId\": \"GetCustomerActivityHistory_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CustomerContactHistory/ByEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerContactHistoryClient\"\r\n ],\r\n \"operationId\": \"GetCustomerAdditionalContacts_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/CustomerAdditionalContactDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CustomerContactHistory/ByCustomer/{customerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerContactHistoryClient\"\r\n ],\r\n \"operationId\": \"GetCustomerAdditionalContacts_ByCustomerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"customerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/CustomerAdditionalContactDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CustomerContactHistory/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerContactHistoryClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerContactHistoryDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"CustomerContactHistoryClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CustomerContactHistory/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerContactHistoryClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/CustomerContactHistoryDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CustomerContactHistory\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"CustomerContactHistoryClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerContactHistoryDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"CustomerContactHistoryClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerContactHistoryDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CustomerContactHistoryDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CustomerWorkflow/GetStartListCustomer/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerWorkflowClient\"\r\n ],\r\n \"operationId\": \"GetStartListCustomer_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/StartListCustomerDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CustomerWorkflow/StartCustomerWorkflow/{entityId}/{workflowTemplateId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"CustomerWorkflowClient\"\r\n ],\r\n \"operationId\": \"StartCustomerWorkflow_ByEntityid_ByWorkflowtemplateid_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"workflowTemplateId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"form\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PandoFormRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActiveWorkflowTemplateData\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/CustomerWorkflow/GetStartForm/{startableFormTemplateId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"CustomerWorkflowClient\"\r\n ],\r\n \"operationId\": \"GetStartForm_ByStartableformtemplateid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"startableFormTemplateId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PandoFormDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/GetDealerVendorFlags/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"GetDealerVendorFlags_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/GetDealerFordPilotDto/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"GetDealerFordPilotDto_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/GetDealerFordInfo\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"GetDealerFordInfo_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerFordInfoDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/GetPandoErrorDealers/{lookbackDays}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"GetPandoErrorDealers_ByLookbackdays_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"lookbackDays\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/GetDealerAlertTolerances/{dealerId}/{makeId}/{year}/{modelId}/{trimId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"GetDealerAlertTolerances_ByDealerid_ByMakeid_ByYear_ByModelid_ByTrimid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"makeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"year\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"modelId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerAlertToleranceExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/UpdateDealerAlertTolerances/{dealerId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerAlertTolerances_ByDealerid_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"alertTolerances\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerAlertToleranceUpdateExtDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/GetDealerWishLists/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"GetDealerWishLists_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerWishListExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/FlushDealerWishListsCache/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"FlushDealerWishListsCache_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/SaveDealerWishList\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"SaveDealerWishListAsync_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerWishList\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerWishListExtDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerWishListExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/GetDealerWishListLogs/{dealerId}/{dealerWishListID}/{take}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"GetDealerWishListLogs_ByDealerid_ByDealerwishlistid_ByTake_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"dealerWishListID\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"take\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerWishListLogExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Dealer\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerAsset/GetDealerAssets\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerAssetClient\"\r\n ],\r\n \"operationId\": \"GetDealerAssets_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerAssetDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerAsset/GetByDealer/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerAssetClient\"\r\n ],\r\n \"operationId\": \"GetByDealer_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerAssetDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerAsset/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerAssetClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerAssetDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"DealerAssetClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerAsset/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerAssetClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerAssetDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerAsset\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"DealerAssetClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerAssetDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerAssetClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerAssetDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerAssetDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/info/{data}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerContactInfoExternalClient\"\r\n ],\r\n \"operationId\": \"GetDealerContactInfo_ByData_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerGroup/{dealerGroupId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerGroupClient\"\r\n ],\r\n \"operationId\": \"ByDealergroupid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerGroupId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/img/DealerLogoImage/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerLogoImageClient\"\r\n ],\r\n \"operationId\": \"ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/img/DealerLogoImage/{dealerId}/{makeId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerLogoImageClient\"\r\n ],\r\n \"operationId\": \"ByDealerid_ByMakeid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"makeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerModule/DealerModulesChanged\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerModuleClient\"\r\n ],\r\n \"operationId\": \"DealerModulesChanged_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerPrice/GetTrimPrice/{dealerId}/{trimId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerPriceClient\"\r\n ],\r\n \"operationId\": \"GetTrimPrice_ByDealerid_ByTrimid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"double\",\r\n \"type\": \"number\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerPrice/GetTrimPlanPrice\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerPriceClient\"\r\n ],\r\n \"operationId\": \"GetTrimPlanPrice_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"pricingPlanId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerTrimPlanPriceDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerPrice/GetAdjustedInventoryVehiclePrice/{dealerId}/{vehicleType}/{msrp}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerPriceClient\"\r\n ],\r\n \"operationId\": \"GetAdjustedInventoryVehiclePrice_ByDealerid_ByVehicletype_ByMsrp_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"vehicleType\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 0,\r\n 1,\r\n 2\r\n ]\r\n },\r\n {\r\n \"name\": \"msrp\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"number\",\r\n \"format\": \"double\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"double\",\r\n \"type\": \"number\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerPrice/GetDealerPrices/{dealerId}/{makeId}/{year}/{modelId}/{trimId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerPriceClient\"\r\n ],\r\n \"operationId\": \"GetDealerPrices_ByDealerid_ByMakeid_ByYear_ByModelid_ByTrimid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"makeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"year\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"modelId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerPriceExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerPrice\": {\r\n \"patch\": {\r\n \"tags\": [\r\n \"DealerPriceClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerPrices_PATCH\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"prices\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerPriceDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerPriceDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerRates/GetDealerRateMarkUps/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerRatesClient\"\r\n ],\r\n \"operationId\": \"GetDealerRateMarkUps_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerRateMarkUpExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerRates/UpdateDealerUsedRates\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerRatesClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerUsedRates_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerRateUsedDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerRates/DeleteAllUsedRatesByDealerId\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerRatesClient\"\r\n ],\r\n \"operationId\": \"DeleteAllUsedRatesByDealerId_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerRates/UpdateDealerOverAllowance\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerRatesClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerOverAllowance_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerOverAllowanceUpdateDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerRates/UpdateDealerRateMarkUps\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerRatesClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerRateMarkUps_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"rates\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerRateMarkUpExtDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerRates/GetDealerOverAllowances/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerRatesClient\"\r\n ],\r\n \"operationId\": \"GetDealerOverAllowances_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerOverAllowanceExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerRates/GetDealerUsedRates/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerRatesClient\"\r\n ],\r\n \"operationId\": \"GetDealerUsedRates_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerRateUsedDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerRebate/GetDealerRebates/{dealerId}/{makeId}/{year}/{modelId}/{trimId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerRebateClient\"\r\n ],\r\n \"operationId\": \"GetDealerRebates_ByDealerid_ByMakeid_ByYear_ByModelid_ByTrimid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"makeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"year\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"modelId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerRebateExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerRebate\": {\r\n \"patch\": {\r\n \"tags\": [\r\n \"DealerRebateClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerRebates_PATCH\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"rebates\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerRebateExtDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSearch\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerSearchClient\"\r\n ],\r\n \"operationId\": \"GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerInfoDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerSettingDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/GetDealerSmtpSetting/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"GetDealerSmtpSetting_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerSmtpSettingSelectionDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/DealerSettingChanged\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"DealerSettingChanged_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/GetDealerOutboundEmailProviderInfo/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"GetDealerOutboundEmailProviderInfo_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/GetDealerSettingAll/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"GetDealerSettingAll_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerSettingResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/UpdateDealerSettingAll\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerSettingAll_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dsa\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerSettingRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/SendTestAdfEmail\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"SendTestAdfEmail_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerSettingSendTestAdfRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/GetTextNumbers/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"GetTextNumbers_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"stateCode\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"areaCode\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/UseLegacyDealerSettings\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"UseLegacyDealerSettingsPage_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSetting/UpdateInventoryDealerSettingByDealerId\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerSettingClient\"\r\n ],\r\n \"operationId\": \"UpdateInventoryDealerSettingByDealerIdAsync_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"inventoryDealerSettingDto\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerInventorySettingDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSmtpSetting/GetDealerSmtpSettings\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerSmtpSettingClient\"\r\n ],\r\n \"operationId\": \"GetDealerSmtpSettings_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerSmtpSetting/SaveDealerSmtpSettings\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerSmtpSettingClient\"\r\n ],\r\n \"operationId\": \"SaveDealerSmtpSettings_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerSmtpSettingCustomDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerTradein/GetDealerTradeins/{dealerId}/{makeId}/{yearId}/{modelId}/{trimId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerTradeinClient\"\r\n ],\r\n \"operationId\": \"GetDealerTradeins_ByDealerid_ByMakeid_ByYearid_ByModelid_ByTrimid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"makeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"yearId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"modelId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerTradeinExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerTradein\": {\r\n \"patch\": {\r\n \"tags\": [\r\n \"DealerTradeinClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerTradeins_PATCH\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"tradeins\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerTradeinExtDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerTradeinExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerUpgradeProposalSetting/GetDealerUpgradeProposalSetting/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealerUpgradeProposalSettingClient\"\r\n ],\r\n \"operationId\": \"GetDealerUpgradeProposalSetting_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealerUpgradeProposalSetting/SaveDealerUpgradeProposalSetting\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealerUpgradeProposalSettingClient\"\r\n ],\r\n \"operationId\": \"SaveDealerUpgradeProposalSetting_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DealerUpgradeProposalSettingDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealSheet/History\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealSheetClient\"\r\n ],\r\n \"operationId\": \"UserDealSheetHistory_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealSheetHistoryDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealSheet/CalculatePayments\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealSheetClient\"\r\n ],\r\n \"operationId\": \"CalculatePayments_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"model\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CalculationParamModel\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealSheet/GetDealHistory/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealSheetClient\"\r\n ],\r\n \"operationId\": \"GetDealHistory_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealSheet/CustomerEngagementHistory\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealSheetClient\"\r\n ],\r\n \"operationId\": \"CustomerEngagementHistory_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dateFrom\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n {\r\n \"name\": \"dateTo\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n {\r\n \"name\": \"lastViewedDate\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/usp_GetCustomerEngagementData_ResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealSheet/CustomerEngagementsByEntity\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealSheetClient\"\r\n ],\r\n \"operationId\": \"CustomerEngagementsByEntity_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_GetCustomerEngagementsByEntityData_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/usp_GetCustomerEngagementsByEntityData_ResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealSheet/HasReviewProDealer\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealSheetClient\"\r\n ],\r\n \"operationId\": \"HasReviewProDealer_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealSheet/CustomerEngagementDashboard\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DealSheetClient\"\r\n ],\r\n \"operationId\": \"CustomerEngagementDashboard_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_GetCustomerEngagementDashboard_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/Usp_GetCustomerEngagementDashboardDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DealSheet/CustomerEngagementLastViewed\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DealSheetClient\"\r\n ],\r\n \"operationId\": \"GetCustomerEngagementLastViewed_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"DealSheetClient\"\r\n ],\r\n \"operationId\": \"UpdateCustomerEngagementLastViewed_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Deskit/PushToDeskit\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DeskitClient\"\r\n ],\r\n \"operationId\": \"PushToDeskit_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DeskitQuotingPushDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DeskitQuotingPushResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DiscrepancyReport/ReportDiscrepancy\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DiscrepancyReportClient\"\r\n ],\r\n \"operationId\": \"ReportDiscrepancy_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"model\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ReportDiscrepancyModel\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EmailConversation/RecordEmailConversation\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EmailConversationClient\"\r\n ],\r\n \"operationId\": \"RecordEmailConversation_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"emailConversation\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmailConversationDetailDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EmailConversation/RecordEmailRead\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EmailConversationClient\"\r\n ],\r\n \"operationId\": \"RecordEmailRead_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"alertMinerMailOpened\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AlertMinerMailOpenedDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EmailConversation/GetEmailBody/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EmailConversationClient\"\r\n ],\r\n \"operationId\": \"GetEmailBody_ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EmailConversation/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EmailConversationClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmailConversationDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"EmailConversationClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EmailConversation/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EmailConversationClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EmailConversationDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EmailConversation\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"EmailConversationClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmailConversationDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"EmailConversationClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmailConversationDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmailConversationDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/GetExt/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"GetExt_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityExternalDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/ReassignToUserId\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"ReassignToUserId_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityReassignRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/CreditPrescreenRequest/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"CreditPrescreenRequest_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/CreditPrescreenStatus/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"CreditPrescreenStatus_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CreditPrescreenStatusDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/MarkAsRead\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"MarkAsRead_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"format\": \"uuid\",\r\n \"type\": \"string\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/CustomerDoesNotOwnVehicle/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"CustomerDoesNotOwnVehicle_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/VehiclePurchasedByDealer/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"VehiclePurchasedByDealer_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/VehiclePaidOff/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"VehiclePaidOff_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/VehicleNotPaidOff/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"VehicleNotPaidOff_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/HasWarranty/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"HasWarranty_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/SoldWarranty/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"SoldWarranty_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/UndoHasWarranty/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"UndoHasWarranty_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/UpdateMileage\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"UpdateMileage_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UpdateMileageRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/MarkAsSold/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"MarkAsSold_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/Watch/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"Watch_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/Unwatch/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"Unwatch_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/Reopen/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"Reopen_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/UnmarkSoldWarranty/{entityId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"UnmarkSoldWarranty_ByEntityid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/GetEntityReportByCustomerId/{customerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"GetEntityReportByCustomerId_ByCustomerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"customerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityReportDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/GetEntityReportByDealerIdAndVin/{dealerId}/{vin}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"GetEntityReportByDealerIdAndVin_ByDealerid_ByVin_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"vin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityReport2Dto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/GetEntityStatus/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"GetEntityStatus_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 100,\r\n 200,\r\n 300,\r\n 400\r\n ],\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/HasReviewProDealer/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"HasReviewProDealer_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/HasGeoAlertDealer/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"HasGeoAlertDealer_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/GetVehicleTurnPredictor/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"GetVehicleTurnPredictor_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleTurnPredictorDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/GetActiveNLPNoLongerOwn/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"GetActiveNLPNoLongerOwn_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/NLPNoLongerOwnDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/UpdateActiveNLPNoLongerOwn/{entityId}/{agreed}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"UpdateActiveNLPNoLongerOwn_ByEntityid_ByAgreed_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"agreed\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"boolean\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/GetEntityScoreFeature/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"GetEntityScoreFeature_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EntityScoreFeatureDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/ExternalGrantEntityAccess/{entityId}/{grantUserId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"ExternalGrantEntityAccess_ByEntityid_ByGrantuserid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"grantUserId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PandoXEntityGrantAccessResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/ExternalRevokeEntityAccess/{entityId}/{userId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"ExternalRevokeEntityAccess_ByEntityid_ByUserid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"userId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PandoXEntityGrantAccessResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/ExternalBulkAssignEntityOwners/{actingUserId}/{ownerUserId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"ExternalBulkAssignEntityOwners_ByActinguserid_ByOwneruserid_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entites\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"format\": \"uuid\",\r\n \"type\": \"string\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"actingUserId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"ownerUserId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityReassignResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EntityDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Entity/GetEntityEnterpriseCustomers/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityClient\"\r\n ],\r\n \"operationId\": \"GetEntityEnterpriseCustomers_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EntityReportDto\"\r\n }\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"Bad Request\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EntityReportDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EntityBalanceToMaturity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityBalanceToMaturityClient\"\r\n ],\r\n \"operationId\": \"GetEntityBalanceToMaturity_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EntityOpportunity/GetOpportunitiesForEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EntityOpportunityClient\"\r\n ],\r\n \"operationId\": \"GetOpportunitiesForEntity_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Eula/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EulaClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EulaDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"EulaClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Eula/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EulaClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EulaDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Eula\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"EulaClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EulaDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"EulaClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EulaDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EulaDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EulaHistory/GetStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EulaHistoryClient\"\r\n ],\r\n \"operationId\": \"GetStatus_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 0,\r\n 1,\r\n 2,\r\n 3\r\n ],\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EulaHistory/PostResponse/{eulaId}/{eulaResponseTypeId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"EulaHistoryClient\"\r\n ],\r\n \"operationId\": \"PostResponse_ByEulaid_ByEularesponsetypeid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"eulaId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"eulaResponseTypeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 1,\r\n 2,\r\n 3\r\n ]\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EulaHistory/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EulaHistoryClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EulaHistoryDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"EulaHistoryClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EulaHistory/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"EulaHistoryClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EulaHistoryDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/EulaHistory\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"EulaHistoryClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EulaHistoryDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"EulaHistoryClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EulaHistoryDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EulaHistoryDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ExtCustomerActivity/AddEndConversationEventRecord/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ExtCustomerActivityClient\"\r\n ],\r\n \"operationId\": \"AddEndConversationEventRecord_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ExtCustomerActivity/IsAutoAssistantConversationOpen/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ExtCustomerActivityClient\"\r\n ],\r\n \"operationId\": \"IsAutoAssistantConversationOpen_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/FileUpload/UploadImage\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"FileUploadClient\"\r\n ],\r\n \"operationId\": \"UploadImage_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ContentType\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ContentDisposition\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Headers\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"object\"\r\n },\r\n {\r\n \"name\": \"Length\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n {\r\n \"name\": \"Name\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"FileName\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/FordCreditApproval/FordCreditApprovalByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"FordCreditApprovalClient\"\r\n ],\r\n \"operationId\": \"FordCreditApprovalByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/FordPilotStore/GetFordPilotStoreStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"FordPilotStoreClient\"\r\n ],\r\n \"operationId\": \"GetFordPilotStoreStatus_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/FordPilotStore/GetFordAlertModuleDealerStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"FordPilotStoreClient\"\r\n ],\r\n \"operationId\": \"GetFordAlertModuleDealerStatus_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/FordProgram/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"FordProgramClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/FordProgramDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"FordProgramClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/FordProgram/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"FordProgramClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/FordProgramDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/FordProgram\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"FordProgramClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/FordProgramDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"FordProgramClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/FordProgramDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/FordProgramDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Healthz\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"HealthzClient\"\r\n ],\r\n \"operationId\": \"CheckHealth_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/healthz\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"HealthzClient\"\r\n ],\r\n \"operationId\": \"CheckHealth_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/elbtest.html\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"HealthzClient\"\r\n ],\r\n \"operationId\": \"CheckHealth_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Healthz/Diagnostics\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"HealthzClient\"\r\n ],\r\n \"operationId\": \"Diagnostics_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Inventory/InventoryBestMatchToTrim\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"InventoryClient\"\r\n ],\r\n \"operationId\": \"InventoryBestMatchToTrim_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/InventoryBestMatchToTrimRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/InventoryBestRepTrimMatchDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Inventory/InventoryBestMatch\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"InventoryClient\"\r\n ],\r\n \"operationId\": \"InventoryBestMatch_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/InventoryBestMatchRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/InventoryBestMatchResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Inventory/InventoryRecommendation_UsedCar/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"InventoryClient\"\r\n ],\r\n \"operationId\": \"InventoryRecommendation_UsedCar_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"saleType\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 1,\r\n 2,\r\n 3,\r\n 4,\r\n 6,\r\n 7,\r\n 8\r\n ]\r\n },\r\n {\r\n \"name\": \"currentTerm\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"currentPayment\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"number\",\r\n \"format\": \"double\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/InventoryExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Inventory/InventoryRecommendation_NewCar\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"InventoryClient\"\r\n ],\r\n \"operationId\": \"InventoryRecommendation_NewCar_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/InventoryRecommendations_NewCarRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/InventoryExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Inventory/GetStockView/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"InventoryClient\"\r\n ],\r\n \"operationId\": \"GetStockView_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/InventoryStockMinViewDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Inventory/GetStockView\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"InventoryClient\"\r\n ],\r\n \"operationId\": \"GetStockViews_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/InventoryStockMinViewDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Inventory/GetExtByStockNo/{stockNo}/{entityId}/{pricingPlanID}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"InventoryClient\"\r\n ],\r\n \"operationId\": \"GetExtByStockNo_ByStockno_ByEntityid_ByPricingplanid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"stockNo\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"pricingPlanID\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/InventoryExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Inventory/GetInventoryOpportunities/{dealerId}/{stockNumber}/{cashAdjustment}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"InventoryClient\"\r\n ],\r\n \"operationId\": \"GetInventoryOpportunities_ByDealerid_ByStocknumber_ByCashadjustment_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"stockNumber\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"cashAdjustment\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"number\",\r\n \"format\": \"double\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/InventoryOpportunitiesExtractDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Inventory/Search\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"InventoryClient\"\r\n ],\r\n \"operationId\": \"Search_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/InventorySearchRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/InventoryExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/InventoryDetail/GetInventoryDetail/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"InventoryDetailClient\"\r\n ],\r\n \"operationId\": \"GetInventoryDetail_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/InventoryDetailDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/InventoryDetail/UpdateInventoryDetail\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"InventoryDetailClient\"\r\n ],\r\n \"operationId\": \"UpdateInventoryDetail_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UpdateInventoryDetailRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/KendoReportProxy\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"KendoReportProxyClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"multipart/form-data\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"Base64\",\r\n \"in\": \"formData\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ContentType\",\r\n \"in\": \"formData\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"FileName\",\r\n \"in\": \"formData\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Lms/GetTraining\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"LmsClient\"\r\n ],\r\n \"operationId\": \"GetTraining_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"days\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 10\r\n },\r\n {\r\n \"name\": \"top\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 10\r\n },\r\n {\r\n \"name\": \"certiticateId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": -1\r\n },\r\n {\r\n \"name\": \"includeCompleted\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\",\r\n \"default\": false\r\n },\r\n {\r\n \"name\": \"sort\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 1,\r\n \"enum\": [\r\n 0,\r\n 1\r\n ]\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Lms/Enroll/{id}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"LmsClient\"\r\n ],\r\n \"operationId\": \"Enroll_ById_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Lms/Join/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"LmsClient\"\r\n ],\r\n \"operationId\": \"Join_ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Lms/GetTranscript/{userId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"LmsClient\"\r\n ],\r\n \"operationId\": \"GetTranscript_ByUserid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"userId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Log/Log\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"LogClient\"\r\n ],\r\n \"operationId\": \"LogWarning_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"message\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Make/GetMakes\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"MakeClient\"\r\n ],\r\n \"operationId\": \"GetMakes_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerIds\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Make/GetSearchableModelNames\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"MakeClient\"\r\n ],\r\n \"operationId\": \"GetSearchableModelNames_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"countryId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/SearchableModelNameDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Make/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"MakeClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/MakeDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"MakeClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Make/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"MakeClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/MakeDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Make\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"MakeClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/MakeDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"MakeClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/MakeDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/MakeDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Messaging/GetPubNubConfig\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"MessagingClient\"\r\n ],\r\n \"operationId\": \"GetPubNubConfig_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PubNubConfigDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Model/GetModelsByMakeYear/{makeId}/{yearId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ModelClient\"\r\n ],\r\n \"operationId\": \"GetModelsByMakeYear_ByMakeid_ByYearid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"makeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"yearId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ModelDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Model/GetModelsByMake/{makeId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ModelClient\"\r\n ],\r\n \"operationId\": \"GetModelsByMake_ByMakeid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"makeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ModelDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Model/GetModelsByMakesYears\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ModelClient\"\r\n ],\r\n \"operationId\": \"GetModelsByMakesYears_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleMakesYearsRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ModelDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Model/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ModelClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ModelDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"ModelClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Model/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ModelClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ModelDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Model\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"ModelClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ModelDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"ModelClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ModelDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ModelDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/MultipleApiCalls\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"MultipleApiCallsClient\"\r\n ],\r\n \"operationId\": \"DoWork_POST\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"apiRequests\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {},\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ApiResponse\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/OpportunityCounts/GetOpportunityCounts\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"OpportunityCountsClient\"\r\n ],\r\n \"operationId\": \"GetOpportunityCounts_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"flushCache\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\",\r\n \"default\": true\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/OpportunityCountsDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PandoClaim/ByEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PandoClaimClient\"\r\n ],\r\n \"operationId\": \"ByEntity_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PandoPassthrough/GetString\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"PandoPassthroughClient\"\r\n ],\r\n \"operationId\": \"GetString_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/GetStringAsyncRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PandoPassthrough/GetWorkflowTemplates/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PandoPassthroughClient\"\r\n ],\r\n \"operationId\": \"GetWorkflowTemplates_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/KeyValuePair[String,String]\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PandoPassthrough/GetPandoCustomStoreGroups/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PandoPassthroughClient\"\r\n ],\r\n \"operationId\": \"GetPandoCustomStoreGroups_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/PandoGroupDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PandoPassthrough/AutoAssistFullView/{dealerId}/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PandoPassthroughClient\"\r\n ],\r\n \"operationId\": \"AutoAssistFullView_ByDealerid_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/GetFullConversicaConversationResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PrintOffer/GetByEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PrintOfferClient\"\r\n ],\r\n \"operationId\": \"GetByEntity_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PrintOffer/GetByEntity/{entityId}/{excludeEmployees}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PrintOfferClient\"\r\n ],\r\n \"operationId\": \"GetByEntity_ByEntityid_ByExcludeemployees_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"excludeEmployees\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"boolean\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PrintOffer/GetByBatch/{batchId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PrintOfferClient\"\r\n ],\r\n \"operationId\": \"GetByBatch_ByBatchid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"batchId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PrintOfferBatch/OpenBatch\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"PrintOfferBatchClient\"\r\n ],\r\n \"operationId\": \"OpenBatch_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityIds\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"format\": \"uuid\",\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PrintOfferBatch/GetDealerStatuses\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PrintOfferBatchClient\"\r\n ],\r\n \"operationId\": \"GetDealerStatuses_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/PrintOfferDealerStatusDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PrintOfferBatch/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PrintOfferBatchClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PrintOfferBatchDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"PrintOfferBatchClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PrintOfferBatch/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"PrintOfferBatchClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/PrintOfferBatchDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/PrintOfferBatch\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"PrintOfferBatchClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PrintOfferBatchDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"PrintOfferBatchClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PrintOfferBatchDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PrintOfferBatchDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Replacement/GetReplacementSpecifics\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReplacementClient\"\r\n ],\r\n \"operationId\": \"GetReplacementSpecifics_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"DealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"FilterByNew\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\"\r\n },\r\n {\r\n \"name\": \"MakeId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"YearId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"ModelId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"TrimId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ReplacementSpecificDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Replacement/GetReplacementUpDown\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReplacementClient\"\r\n ],\r\n \"operationId\": \"GetReplacementUpDown_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"DealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"MakeId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"YearId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"ModelId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"TrimId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ReplacementUpDownDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Replacement/SaveBulkReplacements/{defaultDealerId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReplacementClient\"\r\n ],\r\n \"operationId\": \"SaveBulkReplacements_ByDefaultdealerid_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ReplacementDto\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"defaultDealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ReplacementDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Replacement/BulkDelete\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReplacementClient\"\r\n ],\r\n \"operationId\": \"BulkDelete_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimIDs\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Replacement/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReplacementClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ReplacementDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"ReplacementClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Replacement/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReplacementClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ReplacementDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Replacement\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"ReplacementClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ReplacementDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"ReplacementClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ReplacementDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ReplacementDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_CreditConvert/Report_CreditConvert_Processed\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_CreditConvertClient\"\r\n ],\r\n \"operationId\": \"Report_CreditConvert_Processed_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_CreditConvert_ProcessedRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_CreditConvert/Report_CreditConvert_ROI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_CreditConvertClient\"\r\n ],\r\n \"operationId\": \"Report_CreditConvert_ROI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_CreditConvert_ROIRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_CreditConvert/Report_CreditConvert_Detail\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_CreditConvertClient\"\r\n ],\r\n \"operationId\": \"Report_CreditConvert_Detail_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_CreditConvert_DetailRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_CreditConvert/Report_CreditConvert_Summary\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_CreditConvertClient\"\r\n ],\r\n \"operationId\": \"usp_Report_CreditConvert_Summary_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_CreditConvert_SummaryRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_DataCleanse/Report_DataCleanse_Detail\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_DataCleanseClient\"\r\n ],\r\n \"operationId\": \"ReportDataCleanse_Detail_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_DataCleanse_DetailRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_DataCleanse/Report_DataCleanse_Summary\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_DataCleanseClient\"\r\n ],\r\n \"operationId\": \"ReportDataCleanse_Summary_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_DataCleanse_Summary_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_Inventory/Report_Inventory\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_InventoryClient\"\r\n ],\r\n \"operationId\": \"ReportInventory_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_InventoryRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_ServiceDrivePerformance/GetServiceDrivePerformanceSummary\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_ServiceDrivePerformanceClient\"\r\n ],\r\n \"operationId\": \"GetServiceDrivePerformanceSummary_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_ServiceDrivePerformanceRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_ServiceDrivePerformance/GetServiceDrivePerformanceSummaryEnterprise\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_ServiceDrivePerformanceClient\"\r\n ],\r\n \"operationId\": \"GetServiceDrivePerformanceSummaryEnterprise_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_ServiceDrivePerformance_Summary_ByDealerId_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_ServiceDrivePerformance/GetServiceDrivePerformanceDetail\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_ServiceDrivePerformanceClient\"\r\n ],\r\n \"operationId\": \"GetServiceDrivePerformanceDetail_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_ServiceDrivePerformanceRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_UserActivity/Report_UserActivity\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_UserActivityClient\"\r\n ],\r\n \"operationId\": \"ReportUserActivity_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_UserActivity_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_UserActivity/Report_UserActivity_Entity\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_UserActivityClient\"\r\n ],\r\n \"operationId\": \"ReportUserActivityEntity_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_UserActivity_Entity_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_UserActivity/Report_UserActivity_Main\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_UserActivityClient\"\r\n ],\r\n \"operationId\": \"ReportUserActivityMain_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_Activity_Main_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Report_UserActivity/Report_DealerActivity\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"Report_UserActivityClient\"\r\n ],\r\n \"operationId\": \"ReportDealerActivity_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_DealerActivity_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_Dashboard\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_Dashboard_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_ROI_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_DashboardFromBenchmarks\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"GetDashboardReportFromBenchmarks_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_ROI_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_EnterpriseDashboard\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_EnterpriseDashboard_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_ROI_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/GetReportPeriods\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"GetReportPeriods_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_FooterInformation\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_FooterInformation_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerIds\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/GenerateBenchmarks\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"GenerateBenchmarks_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/BenchmarkRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/GenerateBenchmarksBatch\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"GenerateBenchmarksBatch_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/BenchmarkRequestDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_Dashboard_Benchmarks\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_Dashboard_Benchmarks_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/BenchmarkAggregateRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_OpportunitySales\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_OpportunitySales_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_Sold_Master_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_AutoAssistant\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_AutoAssistant_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/OnetoOneSoldRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_AutoAssistantActivity\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_AutoAssistantActivity_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAssistantActivityKCRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_AutoAssistantEnterprise\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_AutoAssistantEnterprise_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/OnetoOneEnterpriseAPIRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_GeoAlert\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_GeoAlert_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/OnetoOneSoldRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_OnetoOne\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_OnetoOne_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/OnetoOneSoldRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_OnetoOneEnterprise\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_OnetoOneEnterprise_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/OnetoOneEnterpriseAPIRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_GeoAlertEnterprise\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_GeoAlertEnterprise_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/GeoAlertSoldUnitsEnterpriseKCRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_TradeSales\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_TradeSales_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_TradeSold_Master_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_Certification\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_Certification_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_CertificationRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_WebinarAttendance\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_WebinarAttendance_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/usp_Report_Webinar_AttendanceRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_ServiceLaneTechnology\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_ServiceLaneTechnology_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/rpt_ROI_Report_SDO_And_Full_RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_Performance\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_Performance_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PerformanceReportRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Reports/Report_Performance_GetAvailableMonths/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReportsClient\"\r\n ],\r\n \"operationId\": \"Report_Performance_GetAvailableMonths_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/GetReportSelfSubscriptionsByUser\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"GetReportSelfSubscriptionsByUser_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/GetReportSelfSubscriptionsByUserReport/{reportId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"GetReportSelfSubscriptionsByUserReport_ByReportid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"reportId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/DisableReportSelfSubscription/{id}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"DisableReportSelfSubscription_ById_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/EnableReportSelfSubscription/{id}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"EnableReportSelfSubscription_ById_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/DeleteReportSelfSubscription/{id}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"DeleteReportSelfSubscription_ById_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/AddReportSelfSubscription\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"AddReportSelfSubscription_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"subscription\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ReportSubscriptionDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/UpdateReportSelfSubscription\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"UpdateReportSelfSubscription_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"subscription\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ReportSubscriptionDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/GetReportSubscriptionRunLogs/{take}/{failOnly}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"GetReportSubscriptionRunLogs_ByTake_ByFailonly_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"take\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"failOnly\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"boolean\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/GetReportDealerPandoGroupSubscriptions/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"GetReportDealerPandoGroupSubscriptions_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/AddReportDealerPandoGroupSubscription\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"AddReportDealerPandoGroupSubscription_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"subscription\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ReportSubscriptionDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/UpdateReportDealerPandoGroupSubscription\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"UpdateReportDealerPandoGroupSubscription_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"subscription\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ReportSubscriptionDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/GetDealerAutoReportSubscription/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"GetDealerAutoReportSubscription_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/RemoveDealerAutoReportSubscription/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"RemoveDealerAutoReportSubscription_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/ReportSubscription/UpdateDealerAutoReportSubscription\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ReportSubscriptionClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerAutoReportSubscription_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"darsList\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DealerAutoReportSubscriptionDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role/GetRoleOptions\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"GetRoleOptions_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/RoleOptionDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role/GetRoleAccessRights/{roleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"GetRoleAccessRights_ByRoleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"roleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/RoleAccessOptionDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role/GetRoleModuleAccess/{roleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"GetRoleModuleAccess_ByRoleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"roleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/RoleAccessOptionDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role/GetRoleModuleCategories/{roleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"GetRoleModuleCategories_ByRoleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"roleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/RoleAccessOptionDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role/GetRoleAccessRightCategories\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"GetRoleAccessRightCategories_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/RoleAccessOptionDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role/RoleAccessUpdate/{roleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"RoleAccessUpdate_ByRoleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"roleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"moduleIdList\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n },\r\n {\r\n \"name\": \"accessRightIdList\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role/AddEditRole\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"AddEditRole_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"role\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/RoleDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/RoleDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/RoleDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Role\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/RoleDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"RoleClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/RoleDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/RoleDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Sale/GetSaleExtByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SaleClient\"\r\n ],\r\n \"operationId\": \"GetSaleExtByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Sale/AddUpdateSalePayoff\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"SaleClient\"\r\n ],\r\n \"operationId\": \"AddUpdateSalePayoff_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SalePayoffRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/SaleBalanceToMaturity/{saleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SaleBalanceToMaturityClient\"\r\n ],\r\n \"operationId\": \"GetSaleBalanceToMaturity_BySaleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"saleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/SaleCalc/GetByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SaleCalcClient\"\r\n ],\r\n \"operationId\": \"GetByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/SalePayoffEstimate/{saleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SalePayoffEstimateClient\"\r\n ],\r\n \"operationId\": \"GetSalePayoffEstimate_BySaleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"saleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetSearchByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetSearchByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetOpenOpportunities\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetOpenOpportunities_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"saleTypes\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 1,\r\n 2,\r\n 3,\r\n 4,\r\n 6,\r\n 7,\r\n 8\r\n ]\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n },\r\n {\r\n \"name\": \"flushCache\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\",\r\n \"default\": true\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetOpenOpportunities/FlushCache\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetOpenOpportunitiesFlushCache_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"saleTypes\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 1,\r\n 2,\r\n 3,\r\n 4,\r\n 6,\r\n 7,\r\n 8\r\n ]\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetEntitiesListCustom\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetEntitiesListCustom_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SearchEntityListRequestExtDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/SearchDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetOneToOneEntities\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetOneToOneEntities_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/OneToOneRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetFreshOpportunities\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetFreshOpportunities_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"MaxResults\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"flushCache\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\",\r\n \"default\": true\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetFreshOpportunities/FlushCache\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetFreshOpportunitiesFlushCache_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"MaxResults\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetRecentlyAssignedOpportunities\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetRecentlyAssignedOpportunities_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"MaxResults\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"flushCache\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\",\r\n \"default\": true\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetRecentlyAssignedOpportunities/FlushCache\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetRecentlyAssignedOpportunities_FlushCache_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"MaxResults\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetSoldBySearchByDealers/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetSoldBySearchByDealers_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/SoldBy_SearchDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetPrivateOfferInfo/{dealerId}/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetPrivateOfferInfo_ByDealerid_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PrivateOfferDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/SaveSearch\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"SaveSearch_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SaveSearchRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SaveSearchResponse\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/CreateDealerCampaignExportAudience\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"CreateDealerCampaignExportAudience_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/O2ODealerCampaignExportAudienceRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/vw_DealerCampaignRequestDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetDealerCampaignRequestsInWindow/{days}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetDealerCampaignRequestsInWindowAsync_ByDays_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"days\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/vw_DealerCampaignRequestDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Search/GetNoLongerOwnForDealer/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"SearchClient\"\r\n ],\r\n \"operationId\": \"GetNoLongerOwnForDealer_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/NLPNoLongerOwnResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Service/GetServicesBy/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ServiceClient\"\r\n ],\r\n \"operationId\": \"GetServicesBy_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ServiceExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Service/GetServiceDetail/{dealerId}/{roId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"ServiceClient\"\r\n ],\r\n \"operationId\": \"GetServiceDetail_ByDealerid_ByRoid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"roId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ServiceLineDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Style/GetStyleImage/{styleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"StyleClient\"\r\n ],\r\n \"operationId\": \"GetStyleImage_ByStyleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"styleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Style/GetStyleImageCarousel/{styleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"StyleClient\"\r\n ],\r\n \"operationId\": \"GetStyleImageCarousel_ByStyleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"styleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/StyleImageCarouselDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Tag/GetTagsForEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TagClient\"\r\n ],\r\n \"operationId\": \"GetTagsForEntity_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/TagExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Tag/GetTagsPivotForDealers\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TagClient\"\r\n ],\r\n \"operationId\": \"GetTagsPivotForDealers_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"flushCache\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\",\r\n \"default\": true\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/TagPivotItemDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Tag/IsTagActivePast6Months/{dealerId}/{tagText}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TagClient\"\r\n ],\r\n \"operationId\": \"IsTagActivePast6Months_ByDealerid_ByTagtext_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"tagText\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Tag/GetTagsForDealers/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TagClient\"\r\n ],\r\n \"operationId\": \"GetTagsForDealers_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/TagDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Tag/GetActiveTagsInDateRange\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TagClient\"\r\n ],\r\n \"operationId\": \"GetActiveTagsInDateRange_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActiveTagsRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Tag/GetActiveTagsInDateRangeForDealer/{dealerId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TagClient\"\r\n ],\r\n \"operationId\": \"GetActiveTagsInDateRangeForDealer_ByDealerid_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ActiveTagsRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Template/GetTemplateExtById/{templateId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateClient\"\r\n ],\r\n \"operationId\": \"GetTemplateExtById_ByTemplateid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"cultureName\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"default\": \"en-US\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Template/SaveTemplateExt\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateClient\"\r\n ],\r\n \"operationId\": \"SaveTemplateExt_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"template\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TemplateExtDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Template/DeleteTemplate/{templateId}\": {\r\n \"delete\": {\r\n \"tags\": [\r\n \"TemplateClient\"\r\n ],\r\n \"operationId\": \"DeleteTemplate_ByTemplateid_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Template/TemplateEmailPreview/{templateId}/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateClient\"\r\n ],\r\n \"operationId\": \"TemplateEmailPreview_ByTemplateid_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Template/TemplatePdfPreview/{templateId}/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateClient\"\r\n ],\r\n \"operationId\": \"TemplatePdfPreview_ByTemplateid_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Template/GetTemplatesForDealerId\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateClient\"\r\n ],\r\n \"operationId\": \"GetTemplatesForDealerId_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Template/GetNonEmptyTemplatesForDealerId\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateClient\"\r\n ],\r\n \"operationId\": \"GetNonEmptyTemplatesForDealerId_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Template/GetTemplates/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateClient\"\r\n ],\r\n \"operationId\": \"GetTemplates_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"culture\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Template/MergeTemplate/{templateId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateClient\"\r\n ],\r\n \"operationId\": \"MergeTemplate_ByTemplateid_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/MergeTemplateRequest\"\r\n }\r\n },\r\n {\r\n \"name\": \"templateId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/SendProcessEmail\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"SendProcessEmail_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ProcessEmailRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/SendExternalProcessEmail\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"SendExternalProcessEmail_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ProcessEmailRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/SendEmail\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"SendEmail_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmailRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/SendEmailWithAttachment\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"SendEmailWithAttachment_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"sendEmailRequest\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SendEmailRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/ValidateMaxEmailsPerDay/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"ValidateMaxEmailsPerDay_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/GenerateEmailPreview\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"GenerateEmailPreview_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmailRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/GetSentEmailContent/{templateOutboundEmailId}/{accessCode}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"GetSentEmailContent_ByTemplateoutboundemailid_ByAccesscode_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateOutboundEmailId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"accessCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/GetEmailSubscription/{templateOutboundEmailId}/{accessCode}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"GetEmailSubscription_ByTemplateoutboundemailid_ByAccesscode_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateOutboundEmailId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"accessCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutboundEmail/DisableEmailSubscription/{templateOutboundEmailId}/{accessCode}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailClient\"\r\n ],\r\n \"operationId\": \"DisableEmailSubscription_ByTemplateoutboundemailid_ByAccesscode_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateOutboundEmailId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"accessCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/t/o/{templateOutboundEmailId}/{accessCode}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailTrackingClient\"\r\n ],\r\n \"operationId\": \"TrackEmailOpen_ByTemplateoutboundemailid_ByAccesscode_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateOutboundEmailId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"accessCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/t/c/{templateOutboundEmailId}/{templateId}/{accessCode}/{url}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailTrackingClient\"\r\n ],\r\n \"operationId\": \"TrackLinkClick_ByTemplateoutboundemailid_ByTemplateid_ByAccesscode_ByUrl_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateOutboundEmailId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"templateId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"accessCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"url\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/t/cq/{templateOutboundEmailId}/{templateId}/{accessCode}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateOutboundEmailTrackingClient\"\r\n ],\r\n \"operationId\": \"TrackLinkClickQuery_ByTemplateoutboundemailid_ByTemplateid_ByAccesscode_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateOutboundEmailId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"templateId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"accessCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"url\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutput/GetByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateOutputClient\"\r\n ],\r\n \"operationId\": \"GetByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"count\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 0\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutput/CreatePdf\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateOutputClient\"\r\n ],\r\n \"operationId\": \"CreatePdf_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PdfCreateRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutput/DownloadPdf/{templateOutputId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TemplateOutputClient\"\r\n ],\r\n \"operationId\": \"DownloadPdf_ByTemplateoutputid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"templateOutputId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TemplateOutput/ArchivePdf\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TemplateOutputClient\"\r\n ],\r\n \"operationId\": \"ArchivePdf_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PdfArchiveRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/Send\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"Send_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"textMessage\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TextMessageDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TextMessageDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/SendWithUpgradeProposal\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"SendWithUpgradeProposal_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SendTextWithUpgradeProposalRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SendTextWithUpgradeProposalResponse\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/GetHistoryForEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"GetHistoryForEntity_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/GetMessagesByCustomerId/{customerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"GetMessagesByCustomerId_ByCustomerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"customerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TextMessageDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/GetNewMessagesByCustomerId/{customerId}/{messageId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"GetMessagesByCustomerId_ByCustomerid_ByMessageid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"customerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"messageId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TextMessageDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/GetTextableStatus\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"GetTextableStatus_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"CustomerID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"DealerID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"CreatedByUserID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"InsertDate\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n {\r\n \"name\": \"UpdateDate\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n {\r\n \"name\": \"FirstName\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"MiddleName\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"LastName\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"CompanyName\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Address\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Address2\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"City\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"State\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ZipCode\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"NormalizedZipCode\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"HomePhone\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"HomePhone_DoNotCallStatusTypeId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 0,\r\n 1,\r\n 2,\r\n 3,\r\n 4\r\n ]\r\n },\r\n {\r\n \"name\": \"WorkPhone\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"WorkPhone_DoNotCallStatusTypeId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 0,\r\n 1,\r\n 2,\r\n 3,\r\n 4\r\n ]\r\n },\r\n {\r\n \"name\": \"CellPhone\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"CellPhone_DoNotCallStatusTypeId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 0,\r\n 1,\r\n 2,\r\n 3,\r\n 4\r\n ]\r\n },\r\n {\r\n \"name\": \"Email\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"DoNotCall\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\"\r\n },\r\n {\r\n \"name\": \"DoNotEmail\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\"\r\n },\r\n {\r\n \"name\": \"StateID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"FullName\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ExternalImportID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"InvalidContacts\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"DoNotMail\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\"\r\n },\r\n {\r\n \"name\": \"County\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"IsFullCustomer\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\"\r\n },\r\n {\r\n \"name\": \"IsAddressNotValid\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\"\r\n },\r\n {\r\n \"name\": \"PricingPlanID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"DoNotText\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\"\r\n },\r\n {\r\n \"name\": \"PreferredCultureName\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TextableStatusModel\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/IsUserNumberTextable\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"IsUserNumberTextable_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/SearchForNewNumber\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"SearchForNewNumber_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"stateCode\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/SearchForNewNumber/{dealerId}/{stateCode}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"SearchForNewNumber_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"stateCode\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/SearchForNewNumberByAreaCode\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"SearchForNewNumberByAreaCode_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"areaCode\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TextMessage/PurchaseNewNumber\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TextMessageClient\"\r\n ],\r\n \"operationId\": \"PurchaseNewNumber_POST\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"newNumberToPurchase\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"accessRightId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Trim/GetTrimsByModelId/{modelId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"GetTrimsByModelId_ByModelid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"modelId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/LightTrimDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Trim/GetTrimExtId/{trimId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"GetTrimExtId_ByTrimid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Trim/GetFuelEconomyComparison/{newTrimId}/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"GetFuelEconomyComparison_ByNewtrimid_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"newTrimId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Trim/GetFeatureComparison/{newTrimId}/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"GetFeatureComparison_ByNewtrimid_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"newTrimId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Trim/GetFeatureComparison\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"GetFeatureComparison_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Trim/GetTrimsByModels\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"GetTrimsByModels_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"modelIds\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Trim/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TrimDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Trim/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/TrimDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Trim\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TrimDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"TrimClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TrimDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TrimDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TrimAlternateOffer/{dealerID}/{baseTrimID}/{level}\": {\r\n \"delete\": {\r\n \"tags\": [\r\n \"TrimAlternateOfferClient\"\r\n ],\r\n \"operationId\": \"ByDealerid_ByBasetrimid_ByLevel_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerID\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"baseTrimID\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"level\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TrimAlternateOffer\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"TrimAlternateOfferClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TrimAlternateOfferDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"204\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"TrimAlternateOfferClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TrimAlternateOfferDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"201\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/TrimAlternateOfferDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TrimAlternateOffer/BulkDelete\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TrimAlternateOfferClient\"\r\n ],\r\n \"operationId\": \"BulkDelete_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"level\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimIDs\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/TrimAlternateOffer/BulkRemoveMappings\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"TrimAlternateOfferClient\"\r\n ],\r\n \"operationId\": \"BulkRemoveMappings_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"level\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimIDs\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UpgradeProposal\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"UpgradeProposalClient\"\r\n ],\r\n \"operationId\": \"UpgradeProposal_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CalculationParamModel\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UpgradeProposal/GetByActivityId/{activityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UpgradeProposalClient\"\r\n ],\r\n \"operationId\": \"GetByActivityId_ByActivityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"activityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/pub/up/{activityId}/{accessCode}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UpgradeProposalExternalClient\"\r\n ],\r\n \"operationId\": \"GetSentTextUpgradeProposal_ByActivityid_ByAccesscode_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"activityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"accessCode\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/LoggedInUser\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"LoggedInUser_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CoreApiPrincipal\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/CurrentUser\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"CurrentUser_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/GetUser/{username}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"GetUser_ByUsername_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"username\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/GetEnabledUsersForDealer/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"GetEnabledUsersForDealer_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/UserDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/GetEnabledClientUsersExtByDealer/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"GetEnabledClientUsersExtByDealer_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/UserExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/FullName/{userId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"GetUserFullName_ByUserid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"userId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/FullNameByEntity/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"GetUserFullNameByEntity_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/GetEntityUserInfo/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"GetEntityUserInfo_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EntityUserInfoDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/LogUserLogin\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"LogUserLogin_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/FacebookUserId/{emailAddress}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"FacebookUserId_ByEmailaddress_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"emailAddress\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/GetUserDealers\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"GetUserDealers_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserDealerModel\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/GetUserIsMetric/{countryId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"GetUserIsMetric_ByCountryid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"countryId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/CheckUserIP\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"CheckUserIP_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"userName\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"dealerIds\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n },\r\n {\r\n \"name\": \"ipAddress\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"isMobile\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"boolean\",\r\n \"default\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/CheckUserIPResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/IsWhiteSalePartner\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"IsWhiteSalePartner_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/UserDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/User\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"UserClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserModule/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserModuleClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserModuleDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"UserModuleClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserModule/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserModuleClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/UserModuleDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserModule\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"UserModuleClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserModuleDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"UserModuleClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserModuleDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserModuleDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserModuleAccess\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserModuleAccessClient\"\r\n ],\r\n \"operationId\": \"GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserModuleAccessDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserModuleAccess/GetModuleAccess/{moduleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserModuleAccessClient\"\r\n ],\r\n \"operationId\": \"GetModuleAccess_ByModuleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"moduleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserModuleDealerDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserProfile\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"UserProfileClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserProfileDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"UserProfileClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserProfileDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserProfileDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"patch\": {\r\n \"tags\": [\r\n \"UserProfileClient\"\r\n ],\r\n \"operationId\": \"Update_PATCH\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"userProfile\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserProfilePatch\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserProfile/Extended\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserProfileClient\"\r\n ],\r\n \"operationId\": \"Extended_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserProfileExtendedDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserProfile/GetCultures\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserProfileClient\"\r\n ],\r\n \"operationId\": \"GetCultures_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserProfile/GetTimeZones\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserProfileClient\"\r\n ],\r\n \"operationId\": \"GetTimeZones_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/TimeZoneDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserProfile/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserProfileClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserProfileDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"UserProfileClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserProfile/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserProfileClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/UserProfileDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/GetSearches\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"GetSearches_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/GetSearchModel/{userSearchConditionId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"GetSearchModel_ByUsersearchconditionid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"userSearchConditionId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/GetSearchCounts\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"GetSearchCounts_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserSearchCountRequestOutDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/FlushSearchCountsCache/{luae}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"FlushSearchCountsCache_ByLuae_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"luae\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/GetDealerLayOutExts\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"GetDealerLayOutExts_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/GetActiveDealerLayOutExts\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"GetActiveDealerLayOutExts_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/ShareUserSearchCondition/{userSearchConditionId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"ShareUserSearchCondition_ByUsersearchconditionid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"userSearchConditionId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/UnshareUserSearchCondition/{userSearchConditionId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"UnshareUserSearchCondition_ByUsersearchconditionid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"userSearchConditionId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/DeleteUserSearchCondition/{userSearchConditionId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"DeleteUserSearchCondition_ByUsersearchconditionid_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"userSearchConditionId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/UpdateDealerLayOuts/{dealerId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"UpdateDealerLayOuts_ByDealerid_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"layouts\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/UserSearchConditionDealerLayOutExtDto\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/ResetAutoAssignments\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"ResetAutoAssignments_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"resets\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ResetAutoAssignmentsDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/ExecutePandoX\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"ExecutePandoX_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"userSearchConditionId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserSearchConditionDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/UserSearchConditionDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/UserSearchCondition\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserSearchConditionDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"UserSearchConditionClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserSearchConditionDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/UserSearchConditionDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VciMaturity/DealerMakeHasVciConfig/{dealerId}/{makeId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VciMaturityClient\"\r\n ],\r\n \"operationId\": \"DealerMakeHasVciConfig_ByDealerid_ByMakeid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"makeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VciMaturity/AddVciEulaAccepted\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"VciMaturityClient\"\r\n ],\r\n \"operationId\": \"AddVciEulaAccepted_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VciMaturity/GetVciMaturityData/{entityId}/{makeId}/{vin}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VciMaturityClient\"\r\n ],\r\n \"operationId\": \"GetVciMaturityData_ByEntityid_ByMakeid_ByVin_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"makeId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"vin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VciResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VciMaturity/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VciMaturityClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VciDealerByMakeDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"VciMaturityClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VciMaturity/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VciMaturityClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/VciDealerByMakeDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VciMaturity\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"VciMaturityClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VciDealerByMakeDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"VciMaturityClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VciDealerByMakeDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VciDealerByMakeDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Vehicle/ByVin/{vin}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleClient\"\r\n ],\r\n \"operationId\": \"GetByVin_ByVin_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"vin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Vehicle/GetByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleClient\"\r\n ],\r\n \"operationId\": \"GetByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Vehicle/GetDetailsByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleClient\"\r\n ],\r\n \"operationId\": \"GetDetailsByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Vehicle/GetDetails/{vehicleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleClient\"\r\n ],\r\n \"operationId\": \"GetDetails_ByVehicleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"vehicleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Vehicle/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"VehicleClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Vehicle/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/VehicleDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Vehicle\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"VehicleClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"VehicleClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleCalc/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleCalcClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleCalc/GetExtById/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleCalcClient\"\r\n ],\r\n \"operationId\": \"GetExtById_ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleExtendedWarranty/GetByVehicleId/{vehicleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleExtendedWarrantyClient\"\r\n ],\r\n \"operationId\": \"GetByVehicleId_ByVehicleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"vehicleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleExtendedWarranty/SaveExtendedWarrantySoldDate/{vehicleId}/{soldDate}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"VehicleExtendedWarrantyClient\"\r\n ],\r\n \"operationId\": \"SaveExtendedWarrantySoldDate_ByVehicleid_BySolddate_POST\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"vehicleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"soldDate\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleFinalTradeValueTempChange/LogTradeValueChange\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"VehicleFinalTradeValueTempChangeClient\"\r\n ],\r\n \"operationId\": \"LogTradeValueChange_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/LogTradeValueChangeRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleFinalTradeValueTempChange/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleFinalTradeValueTempChangeClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleFinalTradeValueTempChangeDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"VehicleFinalTradeValueTempChangeClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleFinalTradeValueTempChange/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleFinalTradeValueTempChangeClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/VehicleFinalTradeValueTempChangeDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleFinalTradeValueTempChange\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"VehicleFinalTradeValueTempChangeClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleFinalTradeValueTempChangeDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"VehicleFinalTradeValueTempChangeClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleFinalTradeValueTempChangeDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleFinalTradeValueTempChangeDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleImage/GetImage/{dealerId}/{trimId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleImageClient\"\r\n ],\r\n \"operationId\": \"GetImage_ByDealerid_ByTrimid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleImage/GetEntityImage/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleImageClient\"\r\n ],\r\n \"operationId\": \"GetImage_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleImage/GetVehicleImage/{vehicleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleImageClient\"\r\n ],\r\n \"operationId\": \"GetImage_ByVehicleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"vehicleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleReplacement/GetExtByEntityId/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleReplacementClient\"\r\n ],\r\n \"operationId\": \"GetExtByEntityId_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"pricingPlanID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleReplacement/GetExtByVehicleAndDealer/{vehicleId}/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleReplacementClient\"\r\n ],\r\n \"operationId\": \"GetExtByVehicleAndDealer_ByVehicleid_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"vehicleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"pricingPlanID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trimId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleReplacement/GetVehicleReplacements/{entityId}/{stockNo}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleReplacementClient\"\r\n ],\r\n \"operationId\": \"GetVehicleReplacements_ByEntityid_ByStockno_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n },\r\n {\r\n \"name\": \"stockNo\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"pricingPlanID\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleReplacementDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleReplacement/OnDemandOffBrandVehicleReplacements\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"VehicleReplacementClient\"\r\n ],\r\n \"operationId\": \"OnDemandOffBrandVehicleReplacements_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/OnDemandOffBrandVehicleReplacementsRequest\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleReplacementDto\"\r\n }\r\n },\r\n \"403\": {\r\n \"description\": \"Forbidden\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleReplacement/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleReplacementClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleReplacementDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"VehicleReplacementClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleReplacement/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VehicleReplacementClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/VehicleReplacementDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleReplacement\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"VehicleReplacementClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleReplacementDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"VehicleReplacementClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleReplacementDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VehicleReplacementDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VehicleUserTradeValue/StoreVehicleUserTradeValue\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"VehicleUserTradeValueClient\"\r\n ],\r\n \"operationId\": \"StoreVehicleUserTradeValue_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"model\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/StoreVehicleUserTradeValueDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinRecall/GetByDealerVehicle/{dealerId}/{vehicleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"GetByDealerVehicle_ByDealerid_ByVehicleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"vehicleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/VinRecallDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinRecall/GetInvRecallByDealerVehicle/{dealerId}/{vehicleId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"GetInvRecallByDealerVehicle_ByDealerid_ByVehicleid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"vehicleId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/VinRecallDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinRecall/GetVinRecallNos\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"GetVinRecallNos_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VinRecallNumbersDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinRecall/GetVinRecallTypes\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"GetVinRecallTypes_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/VinRecallTypeDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinRecall/GetVinRecallForInventory\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"GetVinRecallForInventory_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerIds\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinRecall/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VinRecallDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinRecall/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/VinRecallDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinRecall\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VinRecallDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"VinRecallClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VinRecallDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/VinRecallDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Year/GetYears/{isAll}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"YearClient\"\r\n ],\r\n \"operationId\": \"GetYears_ByIsall_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"isAll\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"boolean\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/YearDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Year/GetByDealerId/{dealerId}/{showDefaultYears}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"YearClient\"\r\n ],\r\n \"operationId\": \"GetByDealerId_ByDealerid_ByShowdefaultyears_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"showDefaultYears\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"boolean\",\r\n \"default\": true\r\n },\r\n {\r\n \"name\": \"limit\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"default\": 10\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"format\": \"int32\",\r\n \"type\": \"integer\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Year/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"YearClient\"\r\n ],\r\n \"operationId\": \"ById_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/YearDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"YearClient\"\r\n ],\r\n \"operationId\": \"ById_DELETE\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Year/GetMany\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"YearClient\"\r\n ],\r\n \"operationId\": \"GetMany_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"ids\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/YearDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Year\": {\r\n \"put\": {\r\n \"tags\": [\r\n \"YearClient\"\r\n ],\r\n \"operationId\": \"PUT\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/YearDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"YearClient\"\r\n ],\r\n \"operationId\": \"POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"data\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/YearDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/YearDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"definitions\": {},\r\n \"securityDefinitions\": {\r\n \"Bearer\": {\r\n \"name\": \"Authorization\",\r\n \"in\": \"header\",\r\n \"type\": \"apiKey\",\r\n \"description\": \"access_token from SSO\"\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"Bearer\": []\r\n }\r\n ]\r\n}","import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.split\";\nCoreAPIProvider.$inject = [\"selectedDealersInjectorProvider\"];\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport angular from 'angular';\nimport { defaultsDeep } from 'lodash';\nimport swaggerDefinition from './swagger-definition';\nimport { OpportunitiesModule } from '../core/opportunities.module'; // AngularJS seems to require we load selectedDealersInjector first, or else\n// injecting its provider fails with an error.\n\nimport './selected-dealers-injector.service'; //NOTES:\n//STEP 1: add this to the app.config\n//$httpProvider.defaults.useXDomain = true;\n//STEP 2: read this article\n//http://stackoverflow.com/questions/21455045/angularjs-http-cors-and-http-authentication\n\nOpportunitiesModule.provider('coreApi', CoreAPIProvider);\n\nfunction CoreAPIProvider(selectedDealersInjectorProvider) {\n \"ngInject\";\n\n var coreApi = {\n config: {}\n };\n return {\n configure: function configure(_ref) {\n var url = _ref.url;\n coreApi.config.domain = url;\n selectedDealersInjectorProvider.addUrl(url);\n },\n $get: [\"$http\", function CoreAPI($http) {\n \"ngInject\";\n\n loadAPI();\n return coreApi;\n\n function loadAPI() {\n for (var path in swaggerDefinition.paths) {\n var clients = CreateClients(swaggerDefinition, path); // This function name isn't great, I'd love to either find\n // a better name for it, split it up into smaller,\n // grokkable functions, or replace it.\n // coreApi = apply(coreApi, clients);\n\n defaultsDeep(coreApi, clients);\n }\n\n coreApi.swaggerDefinition = swaggerDefinition;\n }\n\n function CreateClients(swaggerDefinition, path) {\n var pathSplit = path.split(\"/\");\n var controller;\n var child = controller = {};\n\n for (var i = 0; i < pathSplit.length; i++) {\n var name = pathSplit[i];\n var isIgnored = name == \"\";\n\n if (!isIgnored) {\n if (child[name] == null) child[name] = {};\n child = child[name];\n var isEndpoint = i == pathSplit.length - 1;\n\n if (isEndpoint) {\n var httpVerbs = swaggerDefinition.paths[path];\n\n for (var httpVerb in httpVerbs) {\n var upperCaseVerb = httpVerb.toUpperCase();\n\n switch (upperCaseVerb) {\n case \"GET\":\n child.GET = function (urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"GET\",\n url: aggregateUrl(this.GET.config.httpPath, urlParams),\n params: urlParams,\n withCredentials: true\n }, httpOptions));\n };\n\n break;\n\n case \"POST\":\n child.POST = function (body, urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"POST\",\n url: aggregateUrl(this.POST.config.httpPath, urlParams),\n params: urlParams,\n data: body,\n withCredentials: true,\n headers: _objectSpread({\n 'Content-Type': 'application/json'\n }, httpOptions && httpOptions.headers)\n }, httpOptions));\n };\n\n break;\n\n case \"PUT\":\n child.PUT = function (body, urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"PUT\",\n url: aggregateUrl(this.PUT.config.httpPath, urlParams),\n params: urlParams,\n data: body,\n withCredentials: true,\n headers: _objectSpread({\n 'Content-Type': 'application/json'\n }, httpOptions && httpOptions.headers)\n }, httpOptions));\n };\n\n break;\n\n case \"DELETE\":\n child.DELETE = function (urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"DELETE\",\n url: aggregateUrl(this.DELETE.config.httpPath, urlParams),\n params: urlParams,\n withCredentials: true,\n headers: _objectSpread({\n 'Content-Type': 'application/json'\n }, httpOptions && httpOptions.headers)\n }, httpOptions));\n };\n\n break;\n\n case \"PATCH\":\n child.PATCH = function (body, urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"PATCH\",\n url: aggregateUrl(this.PATCH.config.httpPath, urlParams),\n params: urlParams,\n data: body,\n withCredentials: true,\n headers: _objectSpread({\n 'Content-Type': 'application/json'\n }, httpOptions && httpOptions.headers)\n }, httpOptions));\n };\n\n break;\n\n default:\n console.Write(\"HTTP verb: '\" + upperCaseVerb + \"' is not supported\");\n break;\n }\n\n child[upperCaseVerb].config = {\n httpVerb: httpVerb,\n httpPath: coreApi.config.domain + path,\n swaggerInfo: httpVerbs[httpVerb]\n };\n }\n }\n }\n }\n\n return controller;\n }\n\n function aggregateUrl(url, params) {\n if (params != null) {\n for (var param in params) {\n url = url.replace(\"{\" + param + \"}\", encodeURI(params[param]));\n }\n }\n\n return url;\n }\n }]\n };\n}","import angular from 'angular';\r\nimport { defaultsDeep } from 'lodash';\r\nimport swaggerDefinition from './swagger-definition';\r\nimport { OpportunitiesModule } from '../core/opportunities.module';\r\n\r\n// AngularJS seems to require we load selectedDealersInjector first, or else\r\n// injecting its provider fails with an error.\r\nimport './selected-dealers-injector.service';\r\n\r\n//NOTES:\r\n//STEP 1: add this to the app.config\r\n//$httpProvider.defaults.useXDomain = true;\r\n\r\n//STEP 2: read this article\r\n//http://stackoverflow.com/questions/21455045/angularjs-http-cors-and-http-authentication\r\n\r\nOpportunitiesModule.provider('coreApi', CoreAPIProvider);\r\n\r\nfunction CoreAPIProvider(selectedDealersInjectorProvider) {\r\n \"ngInject\";\r\n\r\n const coreApi = {\r\n config: {}\r\n };\r\n\r\n return {\r\n\r\n configure({ url }) {\r\n coreApi.config.domain = url;\r\n selectedDealersInjectorProvider.addUrl(url)\r\n },\r\n\r\n $get: function CoreAPI($http) {\r\n \"ngInject\";\r\n\r\n loadAPI();\r\n return coreApi;\r\n\r\n function loadAPI() {\r\n for (var path in swaggerDefinition.paths) {\r\n var clients = CreateClients(swaggerDefinition, path);\r\n\r\n // This function name isn't great, I'd love to either find\r\n // a better name for it, split it up into smaller,\r\n // grokkable functions, or replace it.\r\n // coreApi = apply(coreApi, clients);\r\n defaultsDeep(coreApi, clients);\r\n }\r\n coreApi.swaggerDefinition = swaggerDefinition\r\n }\r\n\r\n function CreateClients(swaggerDefinition, path) {\r\n var pathSplit = path.split(\"/\");\r\n var controller;\r\n var child = controller = {};\r\n for (var i = 0; i < pathSplit.length; i++) {\r\n var name = pathSplit[i];\r\n var isIgnored = (name == \"\")\r\n if (!isIgnored) {\r\n if (child[name] == null) child[name] = {};\r\n child = child[name];\r\n\r\n var isEndpoint = (i == pathSplit.length - 1);\r\n if (isEndpoint) {\r\n var httpVerbs = swaggerDefinition.paths[path];\r\n for (var httpVerb in httpVerbs) {\r\n var upperCaseVerb = httpVerb.toUpperCase();\r\n switch (upperCaseVerb) {\r\n case \"GET\":\r\n child.GET = function (urlParams, httpOptions) {\r\n return $http({\r\n method: \"GET\",\r\n url: aggregateUrl(this.GET.config.httpPath, urlParams),\r\n params: urlParams,\r\n withCredentials: true,\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n case \"POST\":\r\n child.POST = function (body, urlParams, httpOptions) {\r\n return $http({\r\n method: \"POST\",\r\n url: aggregateUrl(this.POST.config.httpPath, urlParams),\r\n params: urlParams,\r\n data: body,\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n ...(httpOptions && httpOptions.headers)\r\n },\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n case \"PUT\":\r\n child.PUT = function (body, urlParams, httpOptions) {\r\n return $http({\r\n method: \"PUT\",\r\n url: aggregateUrl(this.PUT.config.httpPath, urlParams),\r\n params: urlParams,\r\n data: body,\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n ...(httpOptions && httpOptions.headers)\r\n },\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n case \"DELETE\":\r\n child.DELETE = function (urlParams, httpOptions) {\r\n return $http({\r\n method: \"DELETE\",\r\n url: aggregateUrl(this.DELETE.config.httpPath, urlParams),\r\n params: urlParams,\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n ...(httpOptions && httpOptions.headers)\r\n },\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n case \"PATCH\":\r\n child.PATCH = function (body, urlParams, httpOptions) {\r\n return $http({\r\n method: \"PATCH\",\r\n url: aggregateUrl(this.PATCH.config.httpPath, urlParams),\r\n params: urlParams,\r\n data: body,\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n ...(httpOptions && httpOptions.headers)\r\n },\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n default:\r\n console.Write(\"HTTP verb: '\" + upperCaseVerb + \"' is not supported\");\r\n\r\n break;\r\n }\r\n child[upperCaseVerb].config = {\r\n httpVerb: httpVerb,\r\n httpPath: coreApi.config.domain + path,\r\n swaggerInfo: httpVerbs[httpVerb],\r\n };\r\n }\r\n }\r\n }\r\n }\r\n return controller;\r\n }\r\n\r\n function aggregateUrl(url, params) {\r\n if (params != null) {\r\n for (var param in params) {\r\n url = url.replace(\"{\" + param + \"}\", encodeURI(params[param]));\r\n }\r\n }\r\n\r\n return url;\r\n }\r\n }\r\n }\r\n}\r\n","import angular from 'angular';\r\nimport { OpportunitiesModule } from '../core/opportunities.module';\r\n\r\nOpportunitiesModule.provider('selectedDealersInjector', selectedDealersInjectorProvider);\r\n\r\nfunction selectedDealersInjectorProvider() {\r\n\r\n const URL_PREFIXES_TO_MODIFY = [];\r\n const CONFIG = {};\r\n\r\n this.configure = function ({ employeeDefaultDealer }) {\r\n if (employeeDefaultDealer != null) {\r\n CONFIG.employeeDefaultDealer = employeeDefaultDealer;\r\n }\r\n }\r\n\r\n this.addUrl = function (url) {\r\n if (url) {\r\n URL_PREFIXES_TO_MODIFY.push(url);\r\n }\r\n };\r\n\r\n this.$get = function ($q, crossDomainStorageService, storageService) {\r\n \"ngInject\";\r\n\r\n return {\r\n request(config) {\r\n // Only continue if the request URL matches a configured prefix\r\n if (!URL_PREFIXES_TO_MODIFY.some(prefix => config.url.startsWith(prefix)))\r\n return config;\r\n\r\n var selectedDealers = getSelectedDealers();\r\n\r\n let selectedDealerGroupId = selectedDealers && selectedDealers.dealerGroupId ? selectedDealers.dealerGroupId : null;\r\n let selectedDealerIds = selectedDealers && selectedDealers.dealerIds ? selectedDealers.dealerIds : null;\r\n let overrideDealerIds = config.overrideDealerIds ? config.overrideDealerIds : null;\r\n\r\n // Employee users default to MBDEMO\r\n // This block should only be hit for employees.\r\n if (!selectedDealerGroupId) {\r\n selectedDealerGroupId = CONFIG.employeeDefaultDealer.dealerGroupId;\r\n }\r\n if (!selectedDealerIds) {\r\n selectedDealerIds = [CONFIG.employeeDefaultDealer.dealerId];\r\n }\r\n\r\n config.headers = config.headers || {};\r\n config.headers['dealers'] = selectedDealerIds.join(',');\r\n config.headers['dealergroupid'] = selectedDealerGroupId;\r\n\r\n if (overrideDealerIds != null)\r\n config.headers['dealerIdOverride'] = overrideDealerIds.join(',');\r\n\r\n return config;\r\n }\r\n }\r\n\r\n function getSelectedDealers() {\r\n var selectedDealers = storageService.getItem('impersonatingSelectedDealers');\r\n\r\n if (selectedDealers != null) {\r\n var userProfile = storageService.getItem('userProfile');\r\n\r\n if (userProfile && userProfile.employeeUser) {\r\n storageService.removeItem('impersonatingSelectedDealers'); \r\n }\r\n }\r\n else {\r\n selectedDealers = crossDomainStorageService.getItem('selectedDealers');\r\n }\r\n\r\n if (selectedDealers && selectedDealers.dealers && selectedDealers.dealers.length > 0) {\r\n selectedDealers.dealerIds = selectedDealers.dealers.map(dealer => dealer.id);\r\n }\r\n\r\n return selectedDealers;\r\n }\r\n };\r\n}\r\n","//\r\n// THIS FILE WAS GENERATED BY 'generate-dmspushapi.ts'\r\n//\r\n// DO NOT EDIT THIS FILE MANUALLY.\r\n//\r\n// TO UPDATE THIS FILE, RUN:\r\n// yarn run generate:dmspushapi\r\n\r\nexport default {\r\n \"swagger\": \"2.0\",\r\n \"info\": {\r\n \"version\": \"v1\",\r\n \"title\": \"AutoAlert DmsPush (Business Layer, User Context)\",\r\n \"description\": \"AutoAlert.AlertMiner.DmsPush.Api\",\r\n \"termsOfService\": \"AutoAlert, Inc.\"\r\n },\r\n \"paths\": {\r\n \"/api/Activity/ManualPushToCrm\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"ManualPushToCrm_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"pushToCrm\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.Dto.Activity.ManualPushToCrmDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.Models.ActivityActionResponseModel\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Activity/SubmitAction\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"ActivityClient\"\r\n ],\r\n \"operationId\": \"SubmitAction_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"submission\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.Models.ActivityActionSubmissionModel\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.Models.ActivityActionResponseModel\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Deskit/IsPushToDeskitValid/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DeskitClient\"\r\n ],\r\n \"operationId\": \"IsDeskitPushValid_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.Dto.DeskitDto.IsDeskitPushValidDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Deskit/PushToDeskit\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DeskitClient\"\r\n ],\r\n \"operationId\": \"PushToDeskitAsync_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.Dto.DeskitDto.DeskitQuotingPushDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.Dto.DeskitDto.DeskitQuotingPushResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/IsDmsPushValid/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"IsDmsPushValid_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"responseMethod\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 0,\r\n 1,\r\n 2\r\n ]\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.IsDmsPushValidDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushCustomer\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushCustomer_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"customer\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushPostCustomerDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushFAndI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushFAndI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"fAndI\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushPostFAndIDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetDealerTrackLookupData/{dealerId}/{trackingKey}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetDealerTrackLookupData_ByDealerid_ByTrackingkey_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trackingKey\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DealerTrack.DmsPushDealerTrackLookupDataDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushDealerTrackFAndI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushDealerTrackFAndI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"fAndI\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushPostDealerTrackFAndIDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetCDKLookupData/{dealerId}/{trackingKey}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetCDKLookupData_ByDealerid_ByTrackingkey_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"TrackingKey\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.CDK.DmsPushCDKLookupDataDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushCDKFAndI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushCDKFAndI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"fAndI\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushPostCDKFAndIDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetRCILookupData/{dealerId}/{trackingKey}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetRCILookupData_ByDealerid_ByTrackingkey_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"TrackingKey\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.RCI.DmsPushRCILookupDataDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushRCIFAndI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushRCIFAndI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"fAndI\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushPostRCIFAndIDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetPBSLookupData/{dealerId}/{trackingKey}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetPBSLookupData_ByDealerid_ByTrackingkey_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trackingKey\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.PBS.DmsPushPBSLookupDataDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushPBSFAndI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushPBSFAndI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"fAndI\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushPostPBSFAndIDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushSertiFAndI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushSertiFAndI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"fAndI\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushPostSertiFAndIDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushAdfFAndI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushOecFAndI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"fAndI\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.Adf.DmsPushAdfDealDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"Bad Request\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n },\r\n \"409\": {\r\n \"description\": \"Conflict\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushAutovanceFAndI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushAutovanceFAndI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"fAndI\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.Autovance.Dto.DmsPushAutovanceDealDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"Bad Request\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n },\r\n \"409\": {\r\n \"description\": \"Conflict\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetAutomateLookupData/{dealerId}/{trackingKey}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetAutomateLookupData_ByDealerid_ByTrackingkey_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trackingKey\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.Automate.DmsPushAutomateLookupDataDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushAutomateFAndI\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushAutomateFAndI_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"fAndI\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushPostAutomateFAndIDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetDealerbuiltLookupData/{dealerId}/{trackingKey}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetDealerbuiltLookupData_ByDealerid_ByTrackingkey_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"trackingKey\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.Communication.ExternalClients.DealerBuilt.DmsPushDealerbuiltLookupDataDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushDealerbuiltProspect\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushDealerbuiltProspect_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"prospect\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DealerBuilt.DMSPushDealerbuiltDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"Bad Request\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n },\r\n \"409\": {\r\n \"description\": \"Conflict\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/PushDealerbuiltDeal\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"PushDealerbuiltDeal_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"deal\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DealerBuilt.DMSPushDealerbuiltDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n },\r\n \"400\": {\r\n \"description\": \"Bad Request\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n },\r\n \"409\": {\r\n \"description\": \"Conflict\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetDmsPushSuccessHistory\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetDmsPushSuccessHistory_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushHistoryRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushHistoryDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetLatestDmsPushSuccess\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetLatestDmsPushSuccess_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushHistoryRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsPushHistoryExtDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetDmsEmployees/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetDmsEmployees_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsEmployeeRequestResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetDmsEmployeesForCleanup/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetDmsEmployeesForCleanup_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.DmsEmployeeRequestResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DmsPush/GetNonRCIConfiguredFullDeskingDealers\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DmsPushClient\"\r\n ],\r\n \"operationId\": \"GetNonRCIConfiguredFullDeskingDealers_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.vw_DmsPushDealerDmsTypeDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/IsFinancePushValid/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"IsFinancePushValid_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"responseMethod\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\",\r\n \"enum\": [\r\n 0,\r\n 1,\r\n 2\r\n ]\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.IsFinancePushValidDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/GetResultsForTrackingKey/{trackingKey}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"GetResultsForTrackingKey_ByTrackingkey_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"trackingKey\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.FinancePushResultLogDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/CreateSevenHundredCreditCreditReport\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"CreateSevenHundredCreditCreditReport_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.SevenHundredCredit.SevenHundredCreditCreditRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.FinancePushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/CreateSevenHundredCreditPrescreenReport\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"CreateSevenHundredCreditPrescreenReport_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.SevenHundredCredit.SevenHundredCreditPrescreenRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.FinancePushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/CreateSevenHundredCreditOFACReport\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"CreateSevenHundredCreditOFACReport_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.SevenHundredCredit.SevenHundredCreditOFACRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.FinancePushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/CreateRouteOneDealJacket\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"CreateRouteOneDealJacket_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealJacket\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.RouteOne.FinancePushDealJacketDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.FinancePushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/UpdateRouteOneDealJacket\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"UpdateRouteOneDealJacket_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealJacket\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.RouteOne.FinancePushDealJacketDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.FinancePushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/GetRouteOneDealJacket\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"GetRouteOneDealJacket_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealJacket\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.RouteOne.FinancePushDealJacketDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.RouteOne.FinancePushDealJacketDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/CreateRouteOneCreditApp\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"CreateRouteOneCreditApp_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealJacket\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.RouteOne.FinancePushDealJacketDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.DmsPush.RouteOne.FinancePushRouteOneCreditAppResponse\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Finance/DealerTrackFinancePushLead\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"FinanceClient\"\r\n ],\r\n \"operationId\": \"DealerTrackFinancePushLead_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dtLead\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.DealerTrackFinance.DealerTrackFinanceDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.FinancePush.FinancePushResultDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Healthz\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"HealthzClient\"\r\n ],\r\n \"operationId\": \"CheckHealth_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/healthz\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"HealthzClient\"\r\n ],\r\n \"operationId\": \"CheckHealth_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/elbtest.html\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"HealthzClient\"\r\n ],\r\n \"operationId\": \"CheckHealth_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Healthz/Diagnostics\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"HealthzClient\"\r\n ],\r\n \"operationId\": \"Diagnostics_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/MultipleApiCalls\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"MultipleApiCallsClient\"\r\n ],\r\n \"operationId\": \"DoWork_POST\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"apiRequests\",\r\n \"in\": \"query\",\r\n \"required\": false,\r\n \"type\": \"array\",\r\n \"items\": {},\r\n \"collectionFormat\": \"multi\",\r\n \"uniqueItems\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"uniqueItems\": false,\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.DmsPush.Api.Controllers.ApiResponse\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/vAuto/CreateAppraisal\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"vAutoClient\"\r\n ],\r\n \"operationId\": \"CreateAppraisal_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.vAuto.vAutoCreateAppraisalRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.vAuto.vAutoCreateAppraisalResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/vAuto/CreateAppraisalV2\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"vAutoClient\"\r\n ],\r\n \"operationId\": \"CreateAppraisalV2_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.vAuto.vAutoCreateAppraisalV2RequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.vAuto.vAutoCreateAppraisalResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/vAuto/GetAppraisalById\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"vAutoClient\"\r\n ],\r\n \"operationId\": \"GetAppraisalById_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.vAuto.vAutoGetAppraisalByIdRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.vAuto.vAutoGetAppraisalByIdResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/vAuto/GetLatestAppraisalByVin/{dealerId}/{vin}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"vAutoClient\"\r\n ],\r\n \"operationId\": \"GetLatestAppraisalByVin_ByDealerid_ByVin_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"vin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.vAuto.vAutoGetAppraisalByVinResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/vAuto/IsEnabled/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"vAutoClient\"\r\n ],\r\n \"operationId\": \"IsEnabled_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/vAuto/GetvAutoAccount/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"vAutoClient\"\r\n ],\r\n \"operationId\": \"GetvAutoAccount_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/vAuto/GetAppraisalHistoryBy/{dealerId}/{entityId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"vAutoClient\"\r\n ],\r\n \"operationId\": \"GetAppraisalHistoryBy_ByDealerid_ByEntityid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"entityId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\",\r\n \"format\": \"uuid\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/vAuto/UpdatevAutoAccount/{dealerId}\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"vAutoClient\"\r\n ],\r\n \"operationId\": \"UpdatevAutoAccount_ByDealerid_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"vAutoEntityId\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinCue/CreateAppraisal\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"VinCueClient\"\r\n ],\r\n \"operationId\": \"CreateAppraisal_POST\",\r\n \"consumes\": [\r\n \"application/json-patch+json\",\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"request\",\r\n \"in\": \"body\",\r\n \"required\": false,\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.VinCue.VinCueCreateAppraisalRequestDto\"\r\n }\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.VinCue.VinCueCreateAppraisalResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinCue/IsEnabled/{dealerId}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VinCueClient\"\r\n ],\r\n \"operationId\": \"IsEnabled_ByDealerid_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"type\": \"boolean\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/VinCue/GetLatestAppraisalByVin/{dealerId}/{vin}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"VinCueClient\"\r\n ],\r\n \"operationId\": \"GetLatestAppraisalByVin_ByDealerid_ByVin_GET\",\r\n \"consumes\": [],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dealerId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n {\r\n \"name\": \"vin\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/AutoAlert.AlertMiner.ServiceContract.VinCue.VinCueGetAppraisalByVinResponseDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"definitions\": {},\r\n \"securityDefinitions\": {\r\n \"Bearer\": {\r\n \"name\": \"Authorization\",\r\n \"in\": \"header\",\r\n \"type\": \"apiKey\",\r\n \"description\": \"access_token from SSO\"\r\n }\r\n },\r\n \"security\": [\r\n {\r\n \"Bearer\": []\r\n }\r\n ]\r\n}","import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.split\";\nDmsPushAPIProvider.$inject = [\"selectedDealersInjectorProvider\"];\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport angular from 'angular';\nimport { defaultsDeep } from 'lodash';\nimport swaggerDefinition from './swagger-definition-dmspush';\nimport { OpportunitiesModule } from '../core/opportunities.module'; // AngularJS seems to require we load selectedDealersInjector first, or else\n// injecting its provider fails with an error.\n\nimport './selected-dealers-injector.service'; //NOTES:\n//STEP 1: add this to the app.config\n//$httpProvider.defaults.useXDomain = true;\n//STEP 2: read this article\n//http://stackoverflow.com/questions/21455045/angularjs-http-cors-and-http-authentication\n\nOpportunitiesModule.provider('dmsPushApi', DmsPushAPIProvider);\n\nfunction DmsPushAPIProvider(selectedDealersInjectorProvider) {\n \"ngInject\";\n\n var dmsPushApi = {\n config: {}\n };\n return {\n configure: function configure(_ref) {\n var url = _ref.url;\n dmsPushApi.config.domain = url;\n selectedDealersInjectorProvider.addUrl(url);\n },\n $get: [\"$http\", function DmsPushAPI($http) {\n \"ngInject\";\n\n loadAPI();\n return dmsPushApi;\n\n function loadAPI() {\n for (var path in swaggerDefinition.paths) {\n var clients = CreateClients(swaggerDefinition, path); // This function name isn't great, I'd love to either find\n // a better name for it, split it up into smaller,\n // grokkable functions, or replace it.\n // coreApi = apply(coreApi, clients);\n\n defaultsDeep(dmsPushApi, clients);\n }\n\n dmsPushApi.swaggerDefinition = swaggerDefinition;\n }\n\n function CreateClients(swaggerDefinition, path) {\n var pathSplit = path.split(\"/\");\n var controller;\n var child = controller = {};\n\n for (var i = 0; i < pathSplit.length; i++) {\n var name = pathSplit[i];\n var isIgnored = name == \"\";\n\n if (!isIgnored) {\n if (child[name] == null) child[name] = {};\n child = child[name];\n var isEndpoint = i == pathSplit.length - 1;\n\n if (isEndpoint) {\n var httpVerbs = swaggerDefinition.paths[path];\n\n for (var httpVerb in httpVerbs) {\n var upperCaseVerb = httpVerb.toUpperCase();\n\n switch (upperCaseVerb) {\n case \"GET\":\n child.GET = function (urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"GET\",\n url: aggregateUrl(this.GET.config.httpPath, urlParams),\n params: urlParams,\n withCredentials: true\n }, httpOptions));\n };\n\n break;\n\n case \"POST\":\n child.POST = function (body, urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"POST\",\n url: aggregateUrl(this.POST.config.httpPath, urlParams),\n params: urlParams,\n data: body,\n withCredentials: true,\n headers: _objectSpread({\n 'Content-Type': 'application/json'\n }, httpOptions && httpOptions.headers)\n }, httpOptions));\n };\n\n break;\n\n case \"PUT\":\n child.PUT = function (body, urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"PUT\",\n url: aggregateUrl(this.PUT.config.httpPath, urlParams),\n params: urlParams,\n data: body,\n withCredentials: true,\n headers: _objectSpread({\n 'Content-Type': 'application/json'\n }, httpOptions && httpOptions.headers)\n }, httpOptions));\n };\n\n break;\n\n case \"DELETE\":\n child.DELETE = function (urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"DELETE\",\n url: aggregateUrl(this.DELETE.config.httpPath, urlParams),\n params: urlParams,\n withCredentials: true,\n headers: _objectSpread({\n 'Content-Type': 'application/json'\n }, httpOptions && httpOptions.headers)\n }, httpOptions));\n };\n\n break;\n\n case \"PATCH\":\n child.PATCH = function (body, urlParams, httpOptions) {\n return $http(_objectSpread({\n method: \"PATCH\",\n url: aggregateUrl(this.PATCH.config.httpPath, urlParams),\n params: urlParams,\n data: body,\n withCredentials: true,\n headers: _objectSpread({\n 'Content-Type': 'application/json'\n }, httpOptions && httpOptions.headers)\n }, httpOptions));\n };\n\n break;\n\n default:\n console.Write(\"HTTP verb: '\" + upperCaseVerb + \"' is not supported\");\n break;\n }\n\n child[upperCaseVerb].config = {\n httpVerb: httpVerb,\n httpPath: dmsPushApi.config.domain + path,\n swaggerInfo: httpVerbs[httpVerb]\n };\n }\n }\n }\n }\n\n return controller;\n }\n\n function aggregateUrl(url, params) {\n if (params != null) {\n for (var param in params) {\n url = url.replace(\"{\" + param + \"}\", encodeURI(params[param]));\n }\n }\n\n return url;\n }\n }]\n };\n}","import angular from 'angular';\r\nimport { defaultsDeep } from 'lodash';\r\nimport swaggerDefinition from './swagger-definition-dmspush';\r\nimport { OpportunitiesModule } from '../core/opportunities.module';\r\n\r\n// AngularJS seems to require we load selectedDealersInjector first, or else\r\n// injecting its provider fails with an error.\r\nimport './selected-dealers-injector.service';\r\n\r\n//NOTES:\r\n//STEP 1: add this to the app.config\r\n//$httpProvider.defaults.useXDomain = true;\r\n\r\n//STEP 2: read this article\r\n//http://stackoverflow.com/questions/21455045/angularjs-http-cors-and-http-authentication\r\n\r\nOpportunitiesModule.provider('dmsPushApi', DmsPushAPIProvider);\r\n\r\nfunction DmsPushAPIProvider(selectedDealersInjectorProvider) {\r\n \"ngInject\";\r\n\r\n const dmsPushApi = {\r\n config: {}\r\n };\r\n\r\n return {\r\n\r\n configure({ url }) {\r\n dmsPushApi.config.domain = url;\r\n selectedDealersInjectorProvider.addUrl(url)\r\n },\r\n\r\n $get: function DmsPushAPI($http) {\r\n \"ngInject\";\r\n\r\n loadAPI();\r\n return dmsPushApi;\r\n\r\n function loadAPI() {\r\n for (var path in swaggerDefinition.paths) {\r\n var clients = CreateClients(swaggerDefinition, path);\r\n\r\n // This function name isn't great, I'd love to either find\r\n // a better name for it, split it up into smaller,\r\n // grokkable functions, or replace it.\r\n // coreApi = apply(coreApi, clients);\r\n defaultsDeep(dmsPushApi, clients);\r\n }\r\n dmsPushApi.swaggerDefinition = swaggerDefinition\r\n }\r\n\r\n function CreateClients(swaggerDefinition, path) {\r\n var pathSplit = path.split(\"/\");\r\n var controller;\r\n var child = controller = {};\r\n for (var i = 0; i < pathSplit.length; i++) {\r\n var name = pathSplit[i];\r\n var isIgnored = (name == \"\")\r\n if (!isIgnored) {\r\n if (child[name] == null) child[name] = {};\r\n child = child[name];\r\n\r\n var isEndpoint = (i == pathSplit.length - 1);\r\n if (isEndpoint) {\r\n var httpVerbs = swaggerDefinition.paths[path];\r\n for (var httpVerb in httpVerbs) {\r\n var upperCaseVerb = httpVerb.toUpperCase();\r\n switch (upperCaseVerb) {\r\n case \"GET\":\r\n child.GET = function (urlParams, httpOptions) {\r\n return $http({\r\n method: \"GET\",\r\n url: aggregateUrl(this.GET.config.httpPath, urlParams),\r\n params: urlParams,\r\n withCredentials: true,\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n case \"POST\":\r\n child.POST = function (body, urlParams, httpOptions) {\r\n return $http({\r\n method: \"POST\",\r\n url: aggregateUrl(this.POST.config.httpPath, urlParams),\r\n params: urlParams,\r\n data: body,\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n ...(httpOptions && httpOptions.headers)\r\n },\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n case \"PUT\":\r\n child.PUT = function (body, urlParams, httpOptions) {\r\n return $http({\r\n method: \"PUT\",\r\n url: aggregateUrl(this.PUT.config.httpPath, urlParams),\r\n params: urlParams,\r\n data: body,\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n ...(httpOptions && httpOptions.headers)\r\n },\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n case \"DELETE\":\r\n child.DELETE = function (urlParams, httpOptions) {\r\n return $http({\r\n method: \"DELETE\",\r\n url: aggregateUrl(this.DELETE.config.httpPath, urlParams),\r\n params: urlParams,\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n ...(httpOptions && httpOptions.headers)\r\n },\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n case \"PATCH\":\r\n child.PATCH = function (body, urlParams, httpOptions) {\r\n return $http({\r\n method: \"PATCH\",\r\n url: aggregateUrl(this.PATCH.config.httpPath, urlParams),\r\n params: urlParams,\r\n data: body,\r\n withCredentials: true,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n ...(httpOptions && httpOptions.headers)\r\n },\r\n ...httpOptions\r\n });\r\n };\r\n break;\r\n default:\r\n console.Write(\"HTTP verb: '\" + upperCaseVerb + \"' is not supported\");\r\n\r\n break;\r\n }\r\n child[upperCaseVerb].config = {\r\n httpVerb: httpVerb,\r\n httpPath: dmsPushApi.config.domain + path,\r\n swaggerInfo: httpVerbs[httpVerb],\r\n };\r\n }\r\n }\r\n }\r\n }\r\n return controller;\r\n }\r\n\r\n function aggregateUrl(url, params) {\r\n if (params != null) {\r\n for (var param in params) {\r\n url = url.replace(\"{\" + param + \"}\", encodeURI(params[param]));\r\n }\r\n }\r\n\r\n return url;\r\n }\r\n }\r\n }\r\n}\r\n","import \"core-js/modules/es6.promise\";\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n/**\r\n * Maintains a promise that will be unresolved when \"busy\" and resolved when \"not busy\".\r\n * Set the busy status by calling start(), then call the returned function when done.\r\n *\r\n * @example\r\n * const indicator = new BusyIndicator();\r\n * const done = indicator.start();\r\n * doSomeWork().finally(done);\r\n *\r\n * @property {Promise} promise - The promise to pass to cgBusy, indicating this BusyIndicator is active\r\n*/\nvar BusyIndicator =\n/*#__PURE__*/\nfunction () {\n function BusyIndicator() {\n _classCallCheck(this, BusyIndicator);\n\n this._stack = [];\n }\n /**\r\n * Ensures this BusyIndicator will be \"busy\" until the returned function is called.\r\n * @returns {Function} - Call this function to indicate you are no longer busy.\r\n */\n\n\n _createClass(BusyIndicator, [{\n key: \"start\",\n value: function start() {\n var _this = this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // The arguments are used as an identity, so we know when we are\n // popping \"this\" operation from the stack.\n this._stack.push(args);\n\n if (this._stack.length == 1) {\n // This is the promise that cgBusy should monitor\n this.promise = new Promise(function (resolve) {\n _this._resolve = resolve;\n });\n }\n\n return function () {\n return _this._stop(args);\n };\n }\n }, {\n key: \"_stop\",\n value: function _stop(args) {\n var ix = this._stack.indexOf(args);\n\n if (ix > -1) {\n this._stack.splice(ix, 1);\n\n if (this._stack.length == 0) {\n this._resolve();\n }\n }\n }\n /**\r\n * Forces the BusyIndicator to move to the \"not busy\" state.\r\n * This is not normally required.\r\n */\n\n }, {\n key: \"cancel\",\n value: function cancel() {\n var shouldResolve = this._stack.length > 0;\n this._stack = [];\n\n if (shouldResolve) {\n this._resolve();\n }\n }\n }]);\n\n return BusyIndicator;\n}();\n\nexport { BusyIndicator as default };","/**\r\n * Maintains a promise that will be unresolved when \"busy\" and resolved when \"not busy\".\r\n * Set the busy status by calling start(), then call the returned function when done.\r\n *\r\n * @example\r\n * const indicator = new BusyIndicator();\r\n * const done = indicator.start();\r\n * doSomeWork().finally(done);\r\n *\r\n * @property {Promise} promise - The promise to pass to cgBusy, indicating this BusyIndicator is active\r\n*/\r\nexport default class BusyIndicator {\r\n constructor() {\r\n this._stack = [];\r\n }\r\n\r\n /**\r\n * Ensures this BusyIndicator will be \"busy\" until the returned function is called.\r\n * @returns {Function} - Call this function to indicate you are no longer busy.\r\n */\r\n start(...args) {\r\n // The arguments are used as an identity, so we know when we are\r\n // popping \"this\" operation from the stack.\r\n this._stack.push(args);\r\n\r\n if (this._stack.length == 1) {\r\n // This is the promise that cgBusy should monitor\r\n this.promise = new Promise((resolve) => {\r\n this._resolve = resolve;\r\n });\r\n }\r\n\r\n return () => this._stop(args);\r\n }\r\n\r\n _stop(args) {\r\n const ix = this._stack.indexOf(args);\r\n if (ix > -1) {\r\n this._stack.splice(ix, 1);\r\n if (this._stack.length == 0) {\r\n this._resolve();\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Forces the BusyIndicator to move to the \"not busy\" state.\r\n * This is not normally required.\r\n */\r\n cancel() {\r\n const shouldResolve = this._stack.length > 0;\r\n this._stack = [];\r\n\r\n if (shouldResolve) {\r\n this._resolve();\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./data-entry-replacement-offers.component.html');\n\nimport angular from 'angular';\r\nimport './data-entry-replacement-offers.component.scss';\r\nimport BusyIndicator from '../../../utilities/BusyIndicator';\r\nimport eyeIconPath from '../../../images/icon-eye-lake.svg';\r\nimport $ from 'jquery';\r\n\r\nangular.module('AaApp.Opp').component('dataEntryReplacementOffers', {\r\n templateUrl: '/app/components/data-entry/replacement/data-entry-replacement-offers.component.html',\r\n controller: DataEntryReplacementOfferController,\r\n bindings: {\r\n kendo: '<',\r\n }\r\n});\r\n\r\nfunction DataEntryReplacementOfferController(\r\n $translate,\r\n $q,\r\n vehicleService,\r\n dealerService,\r\n userService,\r\n dataEntryService,\r\n storageService,\r\n $uibModal,\r\n $document,\r\n cultures,\r\n environmentVariables,\r\n logger,\r\n $timeout,\r\n modules,\r\n _\r\n) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.renderAdvancedGrid = renderAdvancedGrid;\r\n $ctrl.setTrimSelections = setTrimSelections;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.setKendoCulture = setKendoCulture;\r\n $ctrl.editUpgradeDowngrade = editUpgradeDowngrade;\r\n $ctrl.editUpgradeDowngradeMultiItems = editUpgradeDowngradeMultiItems;\r\n $ctrl.editTrimAdvanced = editTrimAdvanced;\r\n $ctrl.saveUpgradeDowngradeMultiItems = saveUpgradeDowngradeMultiItems;\r\n $ctrl.createTrimRenderer = createTrimRenderer;\r\n $ctrl.saveAdvancedModalData = saveAdvancedModalData;\r\n $ctrl.saveUpDown = saveUpDown;\r\n $ctrl.loadReplacements = loadReplacements;\r\n $ctrl.eyeIconPath = eyeIconPath;\r\n $ctrl.saveModalData = saveModalData;\r\n $ctrl.loadEyeballList = loadEyeballList;\r\n $ctrl.setToDefaultsConfirmation = setToDefaultsConfirmation;\r\n $ctrl.setToDefaults = setToDefaults;\r\n $ctrl.setReplacementsToDefaultsConfirmation = setReplacementsToDefaultsConfirmation;\r\n $ctrl.removeMappings = removeMappings;\r\n $ctrl.removeMappingsConfirmation = removeMappingsConfirmation;\r\n $ctrl.getTranslations = getTranslations;\r\n $ctrl.editMultiItemsTrimRenderer = editMultiItemsTrimRenderer;\r\n $ctrl.editAdvancedRenderer = editAdvancedRenderer;\r\n $ctrl.editTrimRenderer = editTrimRenderer;\r\n $ctrl.dealerService = dealerService;\r\n $ctrl.processUpgradeDowngradeColumns = processUpgradeDowngradeColumns;\r\n $ctrl.vehicleService = vehicleService;\r\n $ctrl.environmentVariables = environmentVariables;\r\n\r\n $ctrl.showUpgradesDowngrades = true;\r\n $ctrl.isFordDealerMakeSelected = false;\r\n //$ctrl.isFordAlert = false;\r\n $ctrl.isFordLincoln = false;\r\n $ctrl.replacementsMMT;\r\n $ctrl.advancedMMT;\r\n $ctrl.cultureName;\r\n $ctrl.replacementEyeballList = [];\r\n $ctrl.dataReplacementSpecifics = [];\r\n $ctrl.dataReplacementAdvanced = [];\r\n $ctrl.translations = {};\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n\r\n $q.all([\r\n userService.getUserProfile(),\r\n $ctrl.getTranslations(),\r\n $ctrl.dealerService.getDealerSettings($ctrl.selectedDealerId),\r\n $ctrl.vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n ]).then((data) => {\r\n var userProfile = data[0];\r\n var translations = data[1];\r\n var dealerSettings = data[2];\r\n var makes = data[3];\r\n $ctrl.isFordLincoln = makes.some(m => $ctrl.environmentVariables.fordMakeIds.indexOf(m.makeID) > -1) || makes.some(m => $ctrl.environmentVariables.lincolnMakeIds.indexOf(m.makeID) > -1)\r\n //$ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\r\n $ctrl.showUpgradesDowngrades = dealerSettings.enableMultiVehReplTolerances; // && !isFordLincoln; //HARD CODED: Decision by product that this WILL be hidden for ALL dealerships that sell FORD cars\r\n $ctrl.processUpgradeDowngradeColumns();\r\n $ctrl.cultureName = userProfile.cultureName;\r\n setKendoCulture();\r\n initGridOptions();\r\n onDealerSelect();\r\n });\r\n }\r\n \r\n function busy(translationKey, promise) { //global\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(dealerId) {\r\n if (dealerId > 0) $ctrl.selectedDealerId = dealerId;\r\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\r\n\r\n return busy(\r\n $ctrl.translations.loadingMakeModelTrim,\r\n $q.all([\r\n vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false),\r\n $ctrl.dealerService.getDealerSettings($ctrl.selectedDealerId)\r\n ]).then((data) => {\r\n var makes = data[0];\r\n var years = data[1];\r\n $ctrl.isFordLincoln = makes.some(m => $ctrl.environmentVariables.fordMakeIds.indexOf(m.makeID) > -1) || makes.some(m => $ctrl.environmentVariables.lincolnMakeIds.indexOf(m.makeID) > -1)\r\n //$ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\r\n\r\n $ctrl.showUpgradesDowngrades = data[2].enableMultiVehReplTolerances; // && !isFordLincoln;\r\n $ctrl.processUpgradeDowngradeColumns();\r\n $ctrl.selectedMakeId = makes[0].makeID;\r\n $ctrl.selectedYearId = years[0];\r\n var currentYear = new Date().getFullYear();\r\n if ($ctrl.selectedYearId != currentYear)\r\n $ctrl.selectedYearId = currentYear;\r\n $ctrl.replacementsMMT = $ctrl.advancedMMT = {\r\n vehicleTypes: 0,\r\n makeID: makes[0].makeID,\r\n makeName: makes[0].makeName,\r\n yearID: $ctrl.selectedYearId,\r\n modelID: null,\r\n modelName: null,\r\n trimID: null,\r\n trimName: null\r\n };\r\n return loadReplacements();\r\n })\r\n );\r\n }\r\n\r\n function renderAdvancedGrid(e) {\r\n $timeout(function () {\r\n $ctrl.dsAdvanced.read(); //calling the page event triggers Kendo to recalculate the grid size.\r\n }, 250);\r\n }\r\n\r\n function processUpgradeDowngradeColumns() {\r\n if ($ctrl.ds) {\r\n if ($ctrl.showUpgradesDowngrades) {\r\n $(\"#gridDataEntryReplacementSpecifics\").data(\"kendoGrid\").showColumn(1);\r\n }\r\n else {\r\n $(\"#gridDataEntryReplacementSpecifics\").data(\"kendoGrid\").hideColumn(1);\r\n }\r\n }\r\n }\r\n\r\n function setTrimSelections(selections, tabName) {\r\n switch (tabName) {\r\n case \"replacements\":\r\n $ctrl.replacementsMMT = selections;\r\n break;\r\n case \"advanced\":\r\n $ctrl.advancedMMT = selections;\r\n break;\r\n }\r\n return loadReplacements(tabName);\r\n }\r\n\r\n function saveModalData(modalState) {\r\n var isChanged = modalState.upgradeChanged || modalState.downgradeChanged;\r\n if (!isChanged) return;\r\n\r\n if (modalState.upgradeChanged) {\r\n $ctrl.saveUpDown(modalState, \"upgrade\");\r\n }\r\n if (modalState.downgradeChanged) {\r\n $ctrl.saveUpDown(modalState, \"downgrade\");\r\n }\r\n }\r\n\r\n function saveAdvancedModalData(modalState) {\r\n dataEntryService.saveBulkReplacements([{\r\n replacementID: modalState.row.replacementID,\r\n dealerID: $ctrl.selectedDealerId,\r\n oldTrimID: modalState.row.oldTrimID,\r\n newTrimID: modalState.replacementTrim.trimID\r\n }], $ctrl.selectedDealerId) \r\n .then(function () {\r\n logger.success(\"changesSaved\");\r\n $ctrl.loadReplacements();\r\n });\r\n }\r\n\r\n function confirmationModal(config) {\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return config.title;\r\n },\r\n message: function () {\r\n return config.message;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\";\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"cancel\";\r\n }\r\n }\r\n });\r\n modal.result.then(function () {\r\n config.doWorkIfConfirmed();\r\n });\r\n }\r\n\r\n function setToDefaultsConfirmation(e) {\r\n confirmationModal({\r\n title: 'setToDefaultsConfirmation',\r\n message: 'setToDefaultsExplanation',\r\n doWorkIfConfirmed: function () { setToDefaults(e); }\r\n });\r\n }\r\n\r\n function setReplacementsToDefaultsConfirmation(e) {\r\n confirmationModal({\r\n title: 'setToDefaultsConfirmation',\r\n message: 'setToDefaultsReplacementExplanation',\r\n doWorkIfConfirmed: function () { setReplacementsToDefaults(e); }\r\n });\r\n }\r\n\r\n function removeMappingsConfirmation(e) {\r\n confirmationModal({\r\n title: 'removeMappingsConfirmation',\r\n message: 'removeMappingsMessage',\r\n doWorkIfConfirmed: function () { removeMappings(e); }\r\n });\r\n }\r\n\r\n function setToDefaults(e) {\r\n if ($ctrl.dataReplacementSpecifics.length < 0) return;\r\n var trims = [];\r\n for (var i = 0; i < $ctrl.dataReplacementSpecifics.length; i++) {\r\n var row = $ctrl.dataReplacementSpecifics[i];\r\n trims.push(row.baseTrimID);\r\n }\r\n dataEntryService.bulkDelete(trims, $ctrl.selectedDealerId, true)\r\n .then(function () {\r\n dataEntryService.bulkDelete(trims, $ctrl.selectedDealerId, false)\r\n .then(function () {\r\n logger.success(\"changesSaved\");\r\n $ctrl.loadReplacements();\r\n });\r\n });\r\n }\r\n\r\n function setReplacementsToDefaults(e) {\r\n if ($ctrl.dataReplacementAdvanced.length < 0) return;\r\n var trims = [];\r\n for (var i = 0; i < $ctrl.dataReplacementAdvanced.length; i++) {\r\n var row = $ctrl.dataReplacementAdvanced[i];\r\n trims.push(row.oldTrimID);\r\n }\r\n dataEntryService.bulkReplacementDelete(trims, $ctrl.selectedDealerId)\r\n .then(function () {\r\n logger.success(\"changesSaved\");\r\n $ctrl.loadReplacements();\r\n });\r\n }\r\n\r\n function removeMappings(e) {\r\n if ($ctrl.dataReplacementSpecifics.length < 0) return;\r\n var trims = [];\r\n for (var i = 0; i < $ctrl.dataReplacementSpecifics.length; i++) {\r\n var row = $ctrl.dataReplacementSpecifics[i];\r\n trims.push(row.baseTrimID);\r\n }\r\n dataEntryService.bulkRemoveMappings(trims, $ctrl.selectedDealerId, true)\r\n .then(function () {\r\n dataEntryService.bulkRemoveMappings(trims, $ctrl.selectedDealerId, false)\r\n .then(function () {\r\n logger.success(\"changesSaved\");\r\n $ctrl.loadReplacements();\r\n });\r\n });\r\n }\r\n\r\n function saveUpDown(modalState, upDown) {\r\n var upgradeInt = upDown == 'upgrade' ? 100 : -100;\r\n var trimId = modalState[upDown + 'Override'].trimID == undefined ? null : modalState[upDown + 'Override'].trimID;\r\n\r\n if (modalState[upDown + 'Selection'] == 'doNotOffer') trimId = null;\r\n if (modalState[upDown + 'Selection'] == 'useDefault') {\r\n dataEntryService.deleteTrimAlternateOffer($ctrl.selectedDealerId, modalState.row.baseTrimID, upgradeInt)\r\n .then(function () {\r\n logger.success(\"changesSaved\");\r\n $ctrl.loadReplacements();\r\n });\r\n } else {\r\n\r\n var retailTolerance = upDown == \"upgrade\" ? modalState.upgradeRetailTolerance : modalState.downgradeRetailTolerance;\r\n var leaseTolerance = upDown == \"upgrade\" ? modalState.upgradeLeaseTolerance : modalState.downgradeLeaseTolerance;;\r\n\r\n if (modalState.row[upDown + 'OverrideExists']) {\r\n\r\n dataEntryService.updateTrimAlternateOffer($ctrl.selectedDealerId, modalState.row.baseTrimID, upgradeInt, trimId, retailTolerance, leaseTolerance)\r\n .then(function () {\r\n logger.success(\"changesSaved\");\r\n $ctrl.loadReplacements();\r\n });\r\n } else {\r\n dataEntryService.createTrimAlternateOffer($ctrl.selectedDealerId, modalState.row.baseTrimID, upgradeInt, trimId, retailTolerance, leaseTolerance)\r\n .then(function () {\r\n logger.success(\"changesSaved\");\r\n $ctrl.loadReplacements();\r\n });\r\n }\r\n }\r\n }\r\n\r\n function editTrimAdvanced(oldTrimID) {\r\n var row = $ctrl.dsAdvanced.get(oldTrimID);\r\n\r\n $ctrl.editTrimAdvancedModal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'editReplacementsAdvancedModal',\r\n size: 'lg',\r\n resolve: {\r\n title: function () {\r\n return $ctrl.translations.replacementTrim;\r\n },\r\n message: function () {\r\n return {\r\n row: row,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n save: $ctrl.saveAdvancedModalData\r\n };\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return true;\r\n },\r\n submitButtonText: function () {\r\n return \"submit\"; // translation key\r\n }\r\n }\r\n });\r\n }\r\n\r\n function editUpgradeDowngrade(baseTrimID) {\r\n var row = $ctrl.ds.get(baseTrimID);\r\n var renderer = $ctrl.createTrimRenderer(\"base\", true);\r\n var title = renderer(row);\r\n\r\n $ctrl.upDownModal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'editUpgradeDowngradeModal',\r\n size: 'lg',\r\n resolve: {\r\n title: function () {\r\n return title;\r\n },\r\n message: function () {\r\n return {\r\n row: row,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n save: $ctrl.saveModalData\r\n };\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"submit\";\r\n }\r\n }\r\n });\r\n }\r\n\r\n function saveUpgradeDowngradeMultiItems(modalState) {\r\n var saveList = [];\r\n for (var i = 0; i < modalState.replacements.length; i++) {\r\n var row = modalState.replacements[i];\r\n row.newTrimID = modalState.replacementTrim.trimID;\r\n saveList.push(row);\r\n }\r\n for (var j = 0; j < modalState.mapToItself.length; j++) {\r\n var itself = modalState.mapToItself[j];\r\n itself.newTrimID = itself.oldTrimID;\r\n saveList.push(itself);\r\n }\r\n dataEntryService.saveBulkReplacements(saveList, $ctrl.selectedDealerId)\r\n .then((rows) => {\r\n logger.success(\"changesSaved\");\r\n $ctrl.loadReplacements();\r\n })\r\n }\r\n\r\n function editUpgradeDowngradeMultiItems(baseTrimID) {\r\n var row = $ctrl.ds.get(baseTrimID);\r\n dataEntryService.getReplacementSpecifics($ctrl.selectedDealerId, true, row.baseMakeID, row.baseYearID, row.baseModelID, row.baseTrimID)\r\n .then((dataReplacementAdvanced) => {\r\n $ctrl.upDownModal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'editUpgradeDowngradeMultiItemsModal',\r\n size: 'lg',\r\n resolve: {\r\n title: function () {\r\n return $ctrl.translations.replacementTrim;\r\n },\r\n message: function () {\r\n return {\r\n row: row,\r\n dataReplacementAdvanced: dataReplacementAdvanced,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n save: $ctrl.saveUpgradeDowngradeMultiItems,\r\n translations: $ctrl.translations,\r\n _: _\r\n };\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return true;\r\n },\r\n submitButtonText: function () {\r\n return \"submit\"; // translation key\r\n }\r\n }\r\n });\r\n });\r\n }\r\n \r\n function initGridOptions() {\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n pageable: true,\r\n height: 580,\r\n columns: [\r\n {\r\n title: $ctrl.translations.standardReplacementOffers,\r\n headerAttributes: { \"class\": \"align-center\" },\r\n columns: [\r\n {\r\n field: \"replacementTrimMappings\",\r\n title: $ctrl.translations.replacementTrimMappings,\r\n template: $ctrl.createTrimRenderer(\"base\"),\r\n width: 60,\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.baseYearID + \", \" + a.baseTrimName;\r\n var second = b.baseYearID + \", \" + b.baseTrimName;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"editTrimMappings\",\r\n title: $ctrl.translations.editTrimMappings,\r\n template: $ctrl.editMultiItemsTrimRenderer,\r\n width: 10,\r\n sortable: false,\r\n headerAttributes: { \"class\": \"align-center\" }\r\n }\r\n ]\r\n },\r\n {\r\n field: \"upgradeDowngradeColumns\",\r\n hidden: !$ctrl.showUpgradesDowngrades,\r\n title: $ctrl.translations.multiVehicleOffers,\r\n headerAttributes: { \"class\": \"align-center\" },\r\n columns: [\r\n {\r\n field: \"upgradeColumns\",\r\n title: $ctrl.translations.upgrade,\r\n headerAttributes: { \"class\": \"align-center\" },\r\n columns: [\r\n\r\n {\r\n field: \"upgradeTrim\",\r\n title: $ctrl.translations.trim,\r\n template: $ctrl.createTrimRenderer(\"upgrade\"),\r\n width: 40,\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.upgradeOverrideExists ? a.upgradeOverrideTrimName : a.upgradeDefaultTrimName;\r\n var second = b.upgradeOverrideExists ? b.upgradeOverrideTrimName : b.upgradeDefaultTrimName;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"upgradeLeaseTolerance\",\r\n title: $ctrl.translations.leaseTolerance,\r\n headerTemplate: 'Lease Tolerance',\r\n //template: $ctrl.createTrimRenderer(\"upgrade\"),\r\n width: 15,\r\n sortable: false\r\n },\r\n {\r\n field: \"upgradeRetailTolerance\",\r\n title: $ctrl.translations.retailTolerance,\r\n headerTemplate: 'Retail Tolerance',\r\n //template: $ctrl.createTrimRenderer(\"upgrade\"),\r\n width: 15,\r\n sortable: false\r\n }\r\n ]\r\n },\r\n\r\n\r\n {\r\n field: \"downgradeColumns\",\r\n title: $ctrl.translations.downgrade,\r\n headerAttributes: { \"class\": \"align-center\" },\r\n columns: [\r\n {\r\n field: \"downgradeTrim\",\r\n title: $ctrl.translations.trim,\r\n template: $ctrl.createTrimRenderer(\"downgrade\"),\r\n width: 40,\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.downgradeOverrideExists ? a.downgradeOverrideTrimName : a.downgradeDefaultTrimName;\r\n var second = b.downgradeOverrideExists ? b.downgradeOverrideTrimName : b.downgradeDefaultTrimName;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"downgradeLeaseTolerance\",\r\n title: $ctrl.translations.leaseTolerance,\r\n headerTemplate: 'Lease Tolerance',\r\n //template: $ctrl.createTrimRenderer(\"upgrade\"),\r\n width: 15,\r\n sortable: false\r\n },\r\n {\r\n field: \"downgradeRetailTolerance\",\r\n title: $ctrl.translations.retailTolerance,\r\n headerTemplate: 'Retail Tolerance',\r\n //template: $ctrl.createTrimRenderer(\"upgrade\"),\r\n width: 15,\r\n sortable: false\r\n }\r\n ]\r\n },\r\n {\r\n field: \"editUpgradeDowngrade\",\r\n hidden: $ctrl.isFordLincoln,\r\n title: $ctrl.translations.editUpgradeDowngrade,\r\n template: $ctrl.editTrimRenderer,\r\n width: 10,\r\n sortable: false,\r\n headerAttributes: { \"style\": \"align-center\" }\r\n }\r\n ]\r\n }\r\n ],\r\n editable: false,\r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: true,\r\n reorderable: true,\r\n filterable: false\r\n }\r\n\r\n $ctrl.gridOptionsAdvanced = {\r\n dataSource: $ctrl.dsAdvanced,\r\n pageable: true,\r\n height: 580,\r\n columns: [\r\n {\r\n field: \"existingMakeName\",\r\n title: $ctrl.translations.existingYearModelTrimMappings,\r\n template: $ctrl.createTrimRenderer(\"existing\"),\r\n width: 60,\r\n headerAttributes: { \"class\": \"align-center\" },\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.existingYearID + \", \" + a.existingTrimName;\r\n var second = b.existingYearID + \", \" + b.existingTrimName;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n }\r\n },\r\n {\r\n field: \"replacementMakeName\",\r\n title: $ctrl.translations.replacementYearModelTrimMappings,\r\n template: $ctrl.createTrimRenderer(\"replacement\"),\r\n width: 60,\r\n headerAttributes: { \"class\": \"align-center\" },\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.replacementYearID + \", \" + a.replacementTrimName;\r\n var second = b.replacementYearID + \", \" + b.replacementTrimName;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n }\r\n },\r\n {\r\n field: \"editAdvanced\",\r\n title: $ctrl.translations.editAdvanced,\r\n width: 10,\r\n template: $ctrl.editAdvancedRenderer,\r\n headerAttributes: { \"style\": \"align-center\" }\r\n }\r\n ],\r\n editable: false,\r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: true,\r\n reorderable: true,\r\n filterable: false\r\n }\r\n }\r\n\r\n function loadEyeballList(baseTrimID) {\r\n var row = $ctrl.ds.get(baseTrimID);\r\n $ctrl.replacementsEyeballListTrimID = row.baseTrimID;\r\n if ($ctrl.replacementEyeballList[row.baseTrimID] != null) return;\r\n dataEntryService.getReplacementSpecifics($ctrl.selectedDealerId, true, row.baseMakeID, row.baseYearID, row.baseModelID, row.baseTrimID)\r\n .then((dataReplacementAdvanced) => {\r\n $ctrl.replacementEyeballList[row.baseTrimID] = dataReplacementAdvanced;\r\n });\r\n }\r\n \r\n function createTrimRenderer(baseUpDown, hideEyeball) {\r\n return function (e) {\r\n var eyeball = \"
\";\r\n var isBold = false;\r\n switch (baseUpDown) {\r\n case \"base\":\r\n var trimElement = formatTrim(false, false, e.baseYearID, e.baseTrimName);\r\n return hideEyeball ? trimElement : trimElement + eyeball;\r\n case \"upgrade\":\r\n if (e.upgradeOverrideExists)\r\n return formatTrim(true, true, e.upgradeOverrideYearID, e.upgradeOverrideTrimName);\r\n return formatTrim(true, false, e.upgradeDefaultYearID, e.upgradeDefaultTrimName);\r\n case \"downgrade\":\r\n if (e.downgradeOverrideExists)\r\n return formatTrim(false, true, e.downgradeOverrideYearID, e.downgradeOverrideTrimName);\r\n return formatTrim(false, false, e.downgradeDefaultYearID, e.downgradeDefaultTrimName);\r\n case \"existing\":\r\n isBold = !e.isDefaultTrim;\r\n return formatTrim(false, isBold, e.existingYearID, e.existingTrimName);\r\n case \"replacement\":\r\n isBold = !e.isDefaultTrim;\r\n return formatTrim(false, isBold, e.replacementYearID, e.replacementTrimName);\r\n }\r\n }\r\n }\r\n\r\n function formatTrim(isUpgrade, isBold, yearId, trimName) {\r\n var start = isBold ? \"
\" : \"
\";\r\n if (yearId == null) {\r\n if (isUpgrade) return start + $ctrl.translations.noUpgradeDefined +\"
\";\r\n return start + $ctrl.translations.noDowngradeDefined + \"
\";\r\n }\r\n\r\n return start + yearId + \", \" + trimName + \"
\";\r\n }\r\n\r\n function editTrimRenderer(e) {\r\n var template = \"
\";\r\n return template;\r\n }\r\n\r\n function editAdvancedRenderer(e) {\r\n var template = \"
\";\r\n return template;\r\n }\r\n\r\n function editMultiItemsTrimRenderer(e) {\r\n var template = \"
\";\r\n return template;\r\n }\r\n\r\n function loadReplacements(tabName) {\r\n $ctrl.replacementEyeballList = [];\r\n switch (tabName) {\r\n case \"replacements\":\r\n return loadReplacementUpDown();\r\n case \"advanced\":\r\n return loadReplacementAdvanced();\r\n default:\r\n loadReplacementUpDown();\r\n loadReplacementAdvanced();\r\n break;\r\n }\r\n }\r\n \r\n function loadReplacementUpDown() {\r\n var makeID = $ctrl.replacementsMMT.makeID;\r\n var yearID = $ctrl.replacementsMMT.yearID;\r\n var modelID = $ctrl.replacementsMMT.modelID ? $ctrl.replacementsMMT.modelID : 0;\r\n var trimID = $ctrl.replacementsMMT.trimID ? $ctrl.replacementsMMT.trimID : 0;\r\n\r\n return busy(\r\n $ctrl.translations.loadingReplacementTabData,\r\n dataEntryService.getReplacementUpDown($ctrl.selectedDealerId, makeID, yearID, modelID, trimID)\r\n .then((dataReplacementSpecifics) => {\r\n $ctrl.dataReplacementSpecifics = dataReplacementSpecifics;\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: dataReplacementSpecifics,\r\n schema: {\r\n model: {\r\n id: 'baseTrimID',\r\n fields: {\r\n baseTrimID: { type: \"number\", editable: false },\r\n baseMakeName: { type: \"string\", editable: false },\r\n baseModelName: { type: \"string\", editable: false },\r\n baseTrimName: { type: \"string\", editable: false },\r\n baseYearID: { type: \"number\", editable: false },\r\n\r\n upgradeDefaultTrimID: { type: \"number\", editable: false },\r\n upgradeDefaultMakeName: { type: \"string\", editable: false },\r\n upgradeDefaultModelName: { type: \"string\", editable: false },\r\n upgradeDefaultTrimName: { type: \"string\", editable: false },\r\n upgradeDefaultYearID: { type: \"number\", editable: false },\r\n\r\n upgradeOverrideExists: { type: \"boolean\", editable: false },\r\n upgradeOverrideMakeID: { type: \"number\", editable: false },\r\n upgradeOverrideMakeName: { type: \"string\", editable: false },\r\n upgradeOverrideModelID: { type: \"number\", editable: false },\r\n upgradeOverrideModelName: { type: \"string\", editable: false },\r\n upgradeOverrideTrimID: { type: \"number\", editable: false },\r\n upgradeOverrideTrimName: { type: \"string\", editable: false },\r\n upgradeOverrideYearID: { type: \"number\", editable: false },\r\n\r\n upgradeRetailTolerance: { type: \"number\", editable: false },\r\n upgradeLeaseTolerance: { type: \"number\", editable: false },\r\n\r\n downgradeDefaultTrimID: { type: \"number\", editable: false },\r\n downgradeDefaultMakeName: { type: \"string\", editable: false },\r\n downgradeDefaultModelName: { type: \"string\", editable: false },\r\n downgradeDefaultTrimName: { type: \"string\", editable: false },\r\n downgradeDefaultYearID: { type: \"number\", editable: false },\r\n\r\n downgradeOverrideExists: { type: \"boolean\", editable: false },\r\n downgradeOverrideMakeID: { type: \"number\", editable: false },\r\n downgradeOverrideMakeName: { type: \"string\", editable: false },\r\n downgradeOverrideModelID: { type: \"number\", editable: false },\r\n downgradeOverrideModelName: { type: \"string\", editable: false },\r\n downgradeOverrideTrimID: { type: \"number\", editable: false },\r\n downgradeOverrideTrimName: { type: \"string\", editable: false },\r\n downgradeOverrideYearID: { type: \"number\", editable: false },\r\n\r\n downgradeRetailTolerance: { type: \"number\", editable: false },\r\n downgradeLeaseTolerance: { type: \"number\", editable: false },\r\n\r\n upgradeTrimID: { type: \"number\", editable: false },\r\n upgradeIsDefault: { type: \"boolean\", editable: false },\r\n downgradeTrimID: { type: \"number\", editable: false },\r\n downgradeIsDefault: { type: \"boolean\", editable: false },\r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: 50\r\n });\r\n })\r\n );\r\n }\r\n\r\n function loadReplacementAdvanced() {\r\n var makeID = $ctrl.advancedMMT.makeID;\r\n var yearID = $ctrl.advancedMMT.yearID;\r\n var modelID = $ctrl.advancedMMT.modelID ? $ctrl.advancedMMT.modelID : 0;\r\n var trimID = $ctrl.advancedMMT.trimID ? $ctrl.advancedMMT.trimID : 0;\r\n \r\n return busy(\r\n $ctrl.translations.loadingAdvancedTabData,\r\n dataEntryService.getReplacementSpecifics($ctrl.selectedDealerId, false, makeID, yearID, modelID, trimID)\r\n .then((dataReplacementAdvanced) => {\r\n _.forEach(dataReplacementAdvanced, item => item.id = item.oldTrimID);\r\n $ctrl.dataReplacementAdvanced = dataReplacementAdvanced;\r\n $ctrl.dsAdvanced = new $ctrl.kendo.data.DataSource({\r\n data: dataReplacementAdvanced,\r\n schema: {\r\n model: {\r\n fields: {\r\n id: { type: \"number\", editable: false },\r\n isDefaultTrim: { type: \"boolean\", editable: false },\r\n existingMakeName: { type: \"string\", editable: false },\r\n existingModelName: { type: \"string\", editable: false },\r\n existingTrimName: { type: \"string\", editable: false },\r\n existingYearID: { type: \"number\", editable: false },\r\n\r\n replacementMakeName: { type: \"string\", editable: false },\r\n replacementModelName: { type: \"string\", editable: false },\r\n replacementTrimName: { type: \"string\", editable: false },\r\n replacementYearID: { type: \"number\", editable: false },\r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: 50\r\n });\r\n })\r\n );\r\n }\r\n\r\n function setKendoCulture() {\r\n switch ($ctrl.cultureName) {\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.frFR:\r\n case cultures.esUS:\r\n $ctrl.kendo.culture($ctrl.cultureName);\r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS);\r\n break;\r\n }\r\n }\r\n\r\n function getTranslations() {\r\n return $q.all({\r\n 'loadingMakeModelTrim': $translate('loadingMakeModelTrim'),\r\n 'loadingAdvancedTabData': $translate('loadingAdvancedTabData'),\r\n 'replacementTrim': $translate('replacementTrim'),\r\n 'standardReplacementOffers': $translate('standardReplacementOffers'),\r\n 'replacementTrimMappings': $translate('replacementTrimMappings'),\r\n 'editTrimMappings': $translate('editTrimMappings'),\r\n 'multiVehicleOffers': $translate('multiVehicleOffers'),\r\n 'upgradeTrim': $translate('upgradeTrim'),\r\n 'downgradeTrim': $translate('downgradeTrim'),\r\n 'editUpgradeDowngrade': $translate('editUpgradeDowngrade'),\r\n 'existingYearModelTrimMappings': $translate('existingYearModelTrimMappings'),\r\n 'replacementYearModelTrimMappings': $translate('replacementYearModelTrimMappings'),\r\n 'editAdvanced': $translate('editAdvanced'),\r\n 'noUpgradeDefined': $translate('noUpgradeDefined'),\r\n 'noDowngradeDefined': $translate('noDowngradeDefined'),\r\n 'loadingReplacementTabData': $translate('loadingReplacementTabData'),\r\n 'previewChanges': $translate('previewChanges'),\r\n 'leaseTolerance': $translate('leaseTolerance'),\r\n 'retailTolerance': $translate('retailTolerance'),\r\n 'trim': $translate('trim'),\r\n 'upgrade': $translate('upgrade'),\r\n 'downgrade': $translate('downgrade'),\r\n\r\n }).then(function (translations) {\r\n $ctrl.translations = translations;\r\n });\r\n }\r\n\r\n}\r\n","import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.promise.finally\";\nDataEntryReplacementOfferController.$inject = [\"$translate\", \"$q\", \"vehicleService\", \"dealerService\", \"userService\", \"dataEntryService\", \"storageService\", \"$uibModal\", \"$document\", \"cultures\", \"environmentVariables\", \"logger\", \"$timeout\", \"modules\", \"_\"];\n\n/* injects from baggage-loader */\nrequire('./data-entry-replacement-offers.component.html');\n\nimport angular from 'angular';\nimport './data-entry-replacement-offers.component.scss';\nimport BusyIndicator from '../../../utilities/BusyIndicator';\nimport eyeIconPath from '../../../images/icon-eye-lake.svg';\nimport $ from 'jquery';\nangular.module('AaApp.Opp').component('dataEntryReplacementOffers', {\n templateUrl: '/app/components/data-entry/replacement/data-entry-replacement-offers.component.html',\n controller: DataEntryReplacementOfferController,\n bindings: {\n kendo: '<'\n }\n});\n\nfunction DataEntryReplacementOfferController($translate, $q, vehicleService, dealerService, userService, dataEntryService, storageService, $uibModal, $document, cultures, environmentVariables, logger, $timeout, modules, _) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.renderAdvancedGrid = renderAdvancedGrid;\n $ctrl.setTrimSelections = setTrimSelections;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.setKendoCulture = setKendoCulture;\n $ctrl.editUpgradeDowngrade = editUpgradeDowngrade;\n $ctrl.editUpgradeDowngradeMultiItems = editUpgradeDowngradeMultiItems;\n $ctrl.editTrimAdvanced = editTrimAdvanced;\n $ctrl.saveUpgradeDowngradeMultiItems = saveUpgradeDowngradeMultiItems;\n $ctrl.createTrimRenderer = createTrimRenderer;\n $ctrl.saveAdvancedModalData = saveAdvancedModalData;\n $ctrl.saveUpDown = saveUpDown;\n $ctrl.loadReplacements = loadReplacements;\n $ctrl.eyeIconPath = eyeIconPath;\n $ctrl.saveModalData = saveModalData;\n $ctrl.loadEyeballList = loadEyeballList;\n $ctrl.setToDefaultsConfirmation = setToDefaultsConfirmation;\n $ctrl.setToDefaults = setToDefaults;\n $ctrl.setReplacementsToDefaultsConfirmation = setReplacementsToDefaultsConfirmation;\n $ctrl.removeMappings = removeMappings;\n $ctrl.removeMappingsConfirmation = removeMappingsConfirmation;\n $ctrl.getTranslations = getTranslations;\n $ctrl.editMultiItemsTrimRenderer = editMultiItemsTrimRenderer;\n $ctrl.editAdvancedRenderer = editAdvancedRenderer;\n $ctrl.editTrimRenderer = editTrimRenderer;\n $ctrl.dealerService = dealerService;\n $ctrl.processUpgradeDowngradeColumns = processUpgradeDowngradeColumns;\n $ctrl.vehicleService = vehicleService;\n $ctrl.environmentVariables = environmentVariables;\n $ctrl.showUpgradesDowngrades = true;\n $ctrl.isFordDealerMakeSelected = false; //$ctrl.isFordAlert = false;\n\n $ctrl.isFordLincoln = false;\n $ctrl.replacementsMMT;\n $ctrl.advancedMMT;\n $ctrl.cultureName;\n $ctrl.replacementEyeballList = [];\n $ctrl.dataReplacementSpecifics = [];\n $ctrl.dataReplacementAdvanced = [];\n $ctrl.translations = {};\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n $q.all([userService.getUserProfile(), $ctrl.getTranslations(), $ctrl.dealerService.getDealerSettings($ctrl.selectedDealerId), $ctrl.vehicleService.getMakes($ctrl.selectedDealerId, null)]).then(function (data) {\n var userProfile = data[0];\n var translations = data[1];\n var dealerSettings = data[2];\n var makes = data[3];\n $ctrl.isFordLincoln = makes.some(function (m) {\n return $ctrl.environmentVariables.fordMakeIds.indexOf(m.makeID) > -1;\n }) || makes.some(function (m) {\n return $ctrl.environmentVariables.lincolnMakeIds.indexOf(m.makeID) > -1;\n }); //$ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\n\n $ctrl.showUpgradesDowngrades = dealerSettings.enableMultiVehReplTolerances; // && !isFordLincoln; //HARD CODED: Decision by product that this WILL be hidden for ALL dealerships that sell FORD cars\n\n $ctrl.processUpgradeDowngradeColumns();\n $ctrl.cultureName = userProfile.cultureName;\n setKendoCulture();\n initGridOptions();\n onDealerSelect();\n });\n }\n\n function busy(translationKey, promise) {\n //global\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(dealerId) {\n if (dealerId > 0) $ctrl.selectedDealerId = dealerId;\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\n return busy($ctrl.translations.loadingMakeModelTrim, $q.all([vehicleService.getMakes($ctrl.selectedDealerId, null), vehicleService.getYearIDs($ctrl.selectedDealerId, false), $ctrl.dealerService.getDealerSettings($ctrl.selectedDealerId)]).then(function (data) {\n var makes = data[0];\n var years = data[1];\n $ctrl.isFordLincoln = makes.some(function (m) {\n return $ctrl.environmentVariables.fordMakeIds.indexOf(m.makeID) > -1;\n }) || makes.some(function (m) {\n return $ctrl.environmentVariables.lincolnMakeIds.indexOf(m.makeID) > -1;\n }); //$ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\n\n $ctrl.showUpgradesDowngrades = data[2].enableMultiVehReplTolerances; // && !isFordLincoln;\n\n $ctrl.processUpgradeDowngradeColumns();\n $ctrl.selectedMakeId = makes[0].makeID;\n $ctrl.selectedYearId = years[0];\n var currentYear = new Date().getFullYear();\n if ($ctrl.selectedYearId != currentYear) $ctrl.selectedYearId = currentYear;\n $ctrl.replacementsMMT = $ctrl.advancedMMT = {\n vehicleTypes: 0,\n makeID: makes[0].makeID,\n makeName: makes[0].makeName,\n yearID: $ctrl.selectedYearId,\n modelID: null,\n modelName: null,\n trimID: null,\n trimName: null\n };\n return loadReplacements();\n }));\n }\n\n function renderAdvancedGrid(e) {\n $timeout(function () {\n $ctrl.dsAdvanced.read(); //calling the page event triggers Kendo to recalculate the grid size.\n }, 250);\n }\n\n function processUpgradeDowngradeColumns() {\n if ($ctrl.ds) {\n if ($ctrl.showUpgradesDowngrades) {\n $(\"#gridDataEntryReplacementSpecifics\").data(\"kendoGrid\").showColumn(1);\n } else {\n $(\"#gridDataEntryReplacementSpecifics\").data(\"kendoGrid\").hideColumn(1);\n }\n }\n }\n\n function setTrimSelections(selections, tabName) {\n switch (tabName) {\n case \"replacements\":\n $ctrl.replacementsMMT = selections;\n break;\n\n case \"advanced\":\n $ctrl.advancedMMT = selections;\n break;\n }\n\n return loadReplacements(tabName);\n }\n\n function saveModalData(modalState) {\n var isChanged = modalState.upgradeChanged || modalState.downgradeChanged;\n if (!isChanged) return;\n\n if (modalState.upgradeChanged) {\n $ctrl.saveUpDown(modalState, \"upgrade\");\n }\n\n if (modalState.downgradeChanged) {\n $ctrl.saveUpDown(modalState, \"downgrade\");\n }\n }\n\n function saveAdvancedModalData(modalState) {\n dataEntryService.saveBulkReplacements([{\n replacementID: modalState.row.replacementID,\n dealerID: $ctrl.selectedDealerId,\n oldTrimID: modalState.row.oldTrimID,\n newTrimID: modalState.replacementTrim.trimID\n }], $ctrl.selectedDealerId).then(function () {\n logger.success(\"changesSaved\");\n $ctrl.loadReplacements();\n });\n }\n\n function confirmationModal(config) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return config.title;\n },\n message: function message() {\n return config.message;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\";\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"cancel\";\n }\n }\n });\n modal.result.then(function () {\n config.doWorkIfConfirmed();\n });\n }\n\n function setToDefaultsConfirmation(e) {\n confirmationModal({\n title: 'setToDefaultsConfirmation',\n message: 'setToDefaultsExplanation',\n doWorkIfConfirmed: function doWorkIfConfirmed() {\n setToDefaults(e);\n }\n });\n }\n\n function setReplacementsToDefaultsConfirmation(e) {\n confirmationModal({\n title: 'setToDefaultsConfirmation',\n message: 'setToDefaultsReplacementExplanation',\n doWorkIfConfirmed: function doWorkIfConfirmed() {\n setReplacementsToDefaults(e);\n }\n });\n }\n\n function removeMappingsConfirmation(e) {\n confirmationModal({\n title: 'removeMappingsConfirmation',\n message: 'removeMappingsMessage',\n doWorkIfConfirmed: function doWorkIfConfirmed() {\n removeMappings(e);\n }\n });\n }\n\n function setToDefaults(e) {\n if ($ctrl.dataReplacementSpecifics.length < 0) return;\n var trims = [];\n\n for (var i = 0; i < $ctrl.dataReplacementSpecifics.length; i++) {\n var row = $ctrl.dataReplacementSpecifics[i];\n trims.push(row.baseTrimID);\n }\n\n dataEntryService.bulkDelete(trims, $ctrl.selectedDealerId, true).then(function () {\n dataEntryService.bulkDelete(trims, $ctrl.selectedDealerId, false).then(function () {\n logger.success(\"changesSaved\");\n $ctrl.loadReplacements();\n });\n });\n }\n\n function setReplacementsToDefaults(e) {\n if ($ctrl.dataReplacementAdvanced.length < 0) return;\n var trims = [];\n\n for (var i = 0; i < $ctrl.dataReplacementAdvanced.length; i++) {\n var row = $ctrl.dataReplacementAdvanced[i];\n trims.push(row.oldTrimID);\n }\n\n dataEntryService.bulkReplacementDelete(trims, $ctrl.selectedDealerId).then(function () {\n logger.success(\"changesSaved\");\n $ctrl.loadReplacements();\n });\n }\n\n function removeMappings(e) {\n if ($ctrl.dataReplacementSpecifics.length < 0) return;\n var trims = [];\n\n for (var i = 0; i < $ctrl.dataReplacementSpecifics.length; i++) {\n var row = $ctrl.dataReplacementSpecifics[i];\n trims.push(row.baseTrimID);\n }\n\n dataEntryService.bulkRemoveMappings(trims, $ctrl.selectedDealerId, true).then(function () {\n dataEntryService.bulkRemoveMappings(trims, $ctrl.selectedDealerId, false).then(function () {\n logger.success(\"changesSaved\");\n $ctrl.loadReplacements();\n });\n });\n }\n\n function saveUpDown(modalState, upDown) {\n var upgradeInt = upDown == 'upgrade' ? 100 : -100;\n var trimId = modalState[upDown + 'Override'].trimID == undefined ? null : modalState[upDown + 'Override'].trimID;\n if (modalState[upDown + 'Selection'] == 'doNotOffer') trimId = null;\n\n if (modalState[upDown + 'Selection'] == 'useDefault') {\n dataEntryService.deleteTrimAlternateOffer($ctrl.selectedDealerId, modalState.row.baseTrimID, upgradeInt).then(function () {\n logger.success(\"changesSaved\");\n $ctrl.loadReplacements();\n });\n } else {\n var retailTolerance = upDown == \"upgrade\" ? modalState.upgradeRetailTolerance : modalState.downgradeRetailTolerance;\n var leaseTolerance = upDown == \"upgrade\" ? modalState.upgradeLeaseTolerance : modalState.downgradeLeaseTolerance;\n ;\n\n if (modalState.row[upDown + 'OverrideExists']) {\n dataEntryService.updateTrimAlternateOffer($ctrl.selectedDealerId, modalState.row.baseTrimID, upgradeInt, trimId, retailTolerance, leaseTolerance).then(function () {\n logger.success(\"changesSaved\");\n $ctrl.loadReplacements();\n });\n } else {\n dataEntryService.createTrimAlternateOffer($ctrl.selectedDealerId, modalState.row.baseTrimID, upgradeInt, trimId, retailTolerance, leaseTolerance).then(function () {\n logger.success(\"changesSaved\");\n $ctrl.loadReplacements();\n });\n }\n }\n }\n\n function editTrimAdvanced(oldTrimID) {\n var row = $ctrl.dsAdvanced.get(oldTrimID);\n $ctrl.editTrimAdvancedModal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'editReplacementsAdvancedModal',\n size: 'lg',\n resolve: {\n title: function title() {\n return $ctrl.translations.replacementTrim;\n },\n message: function message() {\n return {\n row: row,\n selectedDealerId: $ctrl.selectedDealerId,\n save: $ctrl.saveAdvancedModalData\n };\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return true;\n },\n submitButtonText: function submitButtonText() {\n return \"submit\"; // translation key\n }\n }\n });\n }\n\n function editUpgradeDowngrade(baseTrimID) {\n var row = $ctrl.ds.get(baseTrimID);\n var renderer = $ctrl.createTrimRenderer(\"base\", true);\n\n var _title = renderer(row);\n\n $ctrl.upDownModal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'editUpgradeDowngradeModal',\n size: 'lg',\n resolve: {\n title: function title() {\n return _title;\n },\n message: function message() {\n return {\n row: row,\n selectedDealerId: $ctrl.selectedDealerId,\n save: $ctrl.saveModalData\n };\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"submit\";\n }\n }\n });\n }\n\n function saveUpgradeDowngradeMultiItems(modalState) {\n var saveList = [];\n\n for (var i = 0; i < modalState.replacements.length; i++) {\n var row = modalState.replacements[i];\n row.newTrimID = modalState.replacementTrim.trimID;\n saveList.push(row);\n }\n\n for (var j = 0; j < modalState.mapToItself.length; j++) {\n var itself = modalState.mapToItself[j];\n itself.newTrimID = itself.oldTrimID;\n saveList.push(itself);\n }\n\n dataEntryService.saveBulkReplacements(saveList, $ctrl.selectedDealerId).then(function (rows) {\n logger.success(\"changesSaved\");\n $ctrl.loadReplacements();\n });\n }\n\n function editUpgradeDowngradeMultiItems(baseTrimID) {\n var row = $ctrl.ds.get(baseTrimID);\n dataEntryService.getReplacementSpecifics($ctrl.selectedDealerId, true, row.baseMakeID, row.baseYearID, row.baseModelID, row.baseTrimID).then(function (dataReplacementAdvanced) {\n $ctrl.upDownModal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'editUpgradeDowngradeMultiItemsModal',\n size: 'lg',\n resolve: {\n title: function title() {\n return $ctrl.translations.replacementTrim;\n },\n message: function message() {\n return {\n row: row,\n dataReplacementAdvanced: dataReplacementAdvanced,\n selectedDealerId: $ctrl.selectedDealerId,\n save: $ctrl.saveUpgradeDowngradeMultiItems,\n translations: $ctrl.translations,\n _: _\n };\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return true;\n },\n submitButtonText: function submitButtonText() {\n return \"submit\"; // translation key\n }\n }\n });\n });\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n pageable: true,\n height: 580,\n columns: [{\n title: $ctrl.translations.standardReplacementOffers,\n headerAttributes: {\n \"class\": \"align-center\"\n },\n columns: [{\n field: \"replacementTrimMappings\",\n title: $ctrl.translations.replacementTrimMappings,\n template: $ctrl.createTrimRenderer(\"base\"),\n width: 60,\n sortable: {\n compare: function compare(a, b) {\n var first = a.baseYearID + \", \" + a.baseTrimName;\n var second = b.baseYearID + \", \" + b.baseTrimName;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"editTrimMappings\",\n title: $ctrl.translations.editTrimMappings,\n template: $ctrl.editMultiItemsTrimRenderer,\n width: 10,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }]\n }, {\n field: \"upgradeDowngradeColumns\",\n hidden: !$ctrl.showUpgradesDowngrades,\n title: $ctrl.translations.multiVehicleOffers,\n headerAttributes: {\n \"class\": \"align-center\"\n },\n columns: [{\n field: \"upgradeColumns\",\n title: $ctrl.translations.upgrade,\n headerAttributes: {\n \"class\": \"align-center\"\n },\n columns: [{\n field: \"upgradeTrim\",\n title: $ctrl.translations.trim,\n template: $ctrl.createTrimRenderer(\"upgrade\"),\n width: 40,\n sortable: {\n compare: function compare(a, b) {\n var first = a.upgradeOverrideExists ? a.upgradeOverrideTrimName : a.upgradeDefaultTrimName;\n var second = b.upgradeOverrideExists ? b.upgradeOverrideTrimName : b.upgradeDefaultTrimName;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"upgradeLeaseTolerance\",\n title: $ctrl.translations.leaseTolerance,\n headerTemplate: 'Lease Tolerance',\n //template: $ctrl.createTrimRenderer(\"upgrade\"),\n width: 15,\n sortable: false\n }, {\n field: \"upgradeRetailTolerance\",\n title: $ctrl.translations.retailTolerance,\n headerTemplate: 'Retail Tolerance',\n //template: $ctrl.createTrimRenderer(\"upgrade\"),\n width: 15,\n sortable: false\n }]\n }, {\n field: \"downgradeColumns\",\n title: $ctrl.translations.downgrade,\n headerAttributes: {\n \"class\": \"align-center\"\n },\n columns: [{\n field: \"downgradeTrim\",\n title: $ctrl.translations.trim,\n template: $ctrl.createTrimRenderer(\"downgrade\"),\n width: 40,\n sortable: {\n compare: function compare(a, b) {\n var first = a.downgradeOverrideExists ? a.downgradeOverrideTrimName : a.downgradeDefaultTrimName;\n var second = b.downgradeOverrideExists ? b.downgradeOverrideTrimName : b.downgradeDefaultTrimName;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"downgradeLeaseTolerance\",\n title: $ctrl.translations.leaseTolerance,\n headerTemplate: 'Lease Tolerance',\n //template: $ctrl.createTrimRenderer(\"upgrade\"),\n width: 15,\n sortable: false\n }, {\n field: \"downgradeRetailTolerance\",\n title: $ctrl.translations.retailTolerance,\n headerTemplate: 'Retail Tolerance',\n //template: $ctrl.createTrimRenderer(\"upgrade\"),\n width: 15,\n sortable: false\n }]\n }, {\n field: \"editUpgradeDowngrade\",\n hidden: $ctrl.isFordLincoln,\n title: $ctrl.translations.editUpgradeDowngrade,\n template: $ctrl.editTrimRenderer,\n width: 10,\n sortable: false,\n headerAttributes: {\n \"style\": \"align-center\"\n }\n }]\n }],\n editable: false,\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: true,\n reorderable: true,\n filterable: false\n };\n $ctrl.gridOptionsAdvanced = {\n dataSource: $ctrl.dsAdvanced,\n pageable: true,\n height: 580,\n columns: [{\n field: \"existingMakeName\",\n title: $ctrl.translations.existingYearModelTrimMappings,\n template: $ctrl.createTrimRenderer(\"existing\"),\n width: 60,\n headerAttributes: {\n \"class\": \"align-center\"\n },\n sortable: {\n compare: function compare(a, b) {\n var first = a.existingYearID + \", \" + a.existingTrimName;\n var second = b.existingYearID + \", \" + b.existingTrimName;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"replacementMakeName\",\n title: $ctrl.translations.replacementYearModelTrimMappings,\n template: $ctrl.createTrimRenderer(\"replacement\"),\n width: 60,\n headerAttributes: {\n \"class\": \"align-center\"\n },\n sortable: {\n compare: function compare(a, b) {\n var first = a.replacementYearID + \", \" + a.replacementTrimName;\n var second = b.replacementYearID + \", \" + b.replacementTrimName;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"editAdvanced\",\n title: $ctrl.translations.editAdvanced,\n width: 10,\n template: $ctrl.editAdvancedRenderer,\n headerAttributes: {\n \"style\": \"align-center\"\n }\n }],\n editable: false,\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: true,\n reorderable: true,\n filterable: false\n };\n }\n\n function loadEyeballList(baseTrimID) {\n var row = $ctrl.ds.get(baseTrimID);\n $ctrl.replacementsEyeballListTrimID = row.baseTrimID;\n if ($ctrl.replacementEyeballList[row.baseTrimID] != null) return;\n dataEntryService.getReplacementSpecifics($ctrl.selectedDealerId, true, row.baseMakeID, row.baseYearID, row.baseModelID, row.baseTrimID).then(function (dataReplacementAdvanced) {\n $ctrl.replacementEyeballList[row.baseTrimID] = dataReplacementAdvanced;\n });\n }\n\n function createTrimRenderer(baseUpDown, hideEyeball) {\n return function (e) {\n var eyeball = \"
\";\n var isBold = false;\n\n switch (baseUpDown) {\n case \"base\":\n var trimElement = formatTrim(false, false, e.baseYearID, e.baseTrimName);\n return hideEyeball ? trimElement : trimElement + eyeball;\n\n case \"upgrade\":\n if (e.upgradeOverrideExists) return formatTrim(true, true, e.upgradeOverrideYearID, e.upgradeOverrideTrimName);\n return formatTrim(true, false, e.upgradeDefaultYearID, e.upgradeDefaultTrimName);\n\n case \"downgrade\":\n if (e.downgradeOverrideExists) return formatTrim(false, true, e.downgradeOverrideYearID, e.downgradeOverrideTrimName);\n return formatTrim(false, false, e.downgradeDefaultYearID, e.downgradeDefaultTrimName);\n\n case \"existing\":\n isBold = !e.isDefaultTrim;\n return formatTrim(false, isBold, e.existingYearID, e.existingTrimName);\n\n case \"replacement\":\n isBold = !e.isDefaultTrim;\n return formatTrim(false, isBold, e.replacementYearID, e.replacementTrimName);\n }\n };\n }\n\n function formatTrim(isUpgrade, isBold, yearId, trimName) {\n var start = isBold ? \"
\" : \"
\";\n\n if (yearId == null) {\n if (isUpgrade) return start + $ctrl.translations.noUpgradeDefined + \"
\";\n return start + $ctrl.translations.noDowngradeDefined + \"
\";\n }\n\n return start + yearId + \", \" + trimName + \"
\";\n }\n\n function editTrimRenderer(e) {\n var template = \"
\";\n return template;\n }\n\n function editAdvancedRenderer(e) {\n var template = \"
\";\n return template;\n }\n\n function editMultiItemsTrimRenderer(e) {\n var template = \"
\";\n return template;\n }\n\n function loadReplacements(tabName) {\n $ctrl.replacementEyeballList = [];\n\n switch (tabName) {\n case \"replacements\":\n return loadReplacementUpDown();\n\n case \"advanced\":\n return loadReplacementAdvanced();\n\n default:\n loadReplacementUpDown();\n loadReplacementAdvanced();\n break;\n }\n }\n\n function loadReplacementUpDown() {\n var makeID = $ctrl.replacementsMMT.makeID;\n var yearID = $ctrl.replacementsMMT.yearID;\n var modelID = $ctrl.replacementsMMT.modelID ? $ctrl.replacementsMMT.modelID : 0;\n var trimID = $ctrl.replacementsMMT.trimID ? $ctrl.replacementsMMT.trimID : 0;\n return busy($ctrl.translations.loadingReplacementTabData, dataEntryService.getReplacementUpDown($ctrl.selectedDealerId, makeID, yearID, modelID, trimID).then(function (dataReplacementSpecifics) {\n $ctrl.dataReplacementSpecifics = dataReplacementSpecifics;\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: dataReplacementSpecifics,\n schema: {\n model: {\n id: 'baseTrimID',\n fields: {\n baseTrimID: {\n type: \"number\",\n editable: false\n },\n baseMakeName: {\n type: \"string\",\n editable: false\n },\n baseModelName: {\n type: \"string\",\n editable: false\n },\n baseTrimName: {\n type: \"string\",\n editable: false\n },\n baseYearID: {\n type: \"number\",\n editable: false\n },\n upgradeDefaultTrimID: {\n type: \"number\",\n editable: false\n },\n upgradeDefaultMakeName: {\n type: \"string\",\n editable: false\n },\n upgradeDefaultModelName: {\n type: \"string\",\n editable: false\n },\n upgradeDefaultTrimName: {\n type: \"string\",\n editable: false\n },\n upgradeDefaultYearID: {\n type: \"number\",\n editable: false\n },\n upgradeOverrideExists: {\n type: \"boolean\",\n editable: false\n },\n upgradeOverrideMakeID: {\n type: \"number\",\n editable: false\n },\n upgradeOverrideMakeName: {\n type: \"string\",\n editable: false\n },\n upgradeOverrideModelID: {\n type: \"number\",\n editable: false\n },\n upgradeOverrideModelName: {\n type: \"string\",\n editable: false\n },\n upgradeOverrideTrimID: {\n type: \"number\",\n editable: false\n },\n upgradeOverrideTrimName: {\n type: \"string\",\n editable: false\n },\n upgradeOverrideYearID: {\n type: \"number\",\n editable: false\n },\n upgradeRetailTolerance: {\n type: \"number\",\n editable: false\n },\n upgradeLeaseTolerance: {\n type: \"number\",\n editable: false\n },\n downgradeDefaultTrimID: {\n type: \"number\",\n editable: false\n },\n downgradeDefaultMakeName: {\n type: \"string\",\n editable: false\n },\n downgradeDefaultModelName: {\n type: \"string\",\n editable: false\n },\n downgradeDefaultTrimName: {\n type: \"string\",\n editable: false\n },\n downgradeDefaultYearID: {\n type: \"number\",\n editable: false\n },\n downgradeOverrideExists: {\n type: \"boolean\",\n editable: false\n },\n downgradeOverrideMakeID: {\n type: \"number\",\n editable: false\n },\n downgradeOverrideMakeName: {\n type: \"string\",\n editable: false\n },\n downgradeOverrideModelID: {\n type: \"number\",\n editable: false\n },\n downgradeOverrideModelName: {\n type: \"string\",\n editable: false\n },\n downgradeOverrideTrimID: {\n type: \"number\",\n editable: false\n },\n downgradeOverrideTrimName: {\n type: \"string\",\n editable: false\n },\n downgradeOverrideYearID: {\n type: \"number\",\n editable: false\n },\n downgradeRetailTolerance: {\n type: \"number\",\n editable: false\n },\n downgradeLeaseTolerance: {\n type: \"number\",\n editable: false\n },\n upgradeTrimID: {\n type: \"number\",\n editable: false\n },\n upgradeIsDefault: {\n type: \"boolean\",\n editable: false\n },\n downgradeTrimID: {\n type: \"number\",\n editable: false\n },\n downgradeIsDefault: {\n type: \"boolean\",\n editable: false\n }\n }\n }\n },\n batch: true,\n pageSize: 50\n });\n }));\n }\n\n function loadReplacementAdvanced() {\n var makeID = $ctrl.advancedMMT.makeID;\n var yearID = $ctrl.advancedMMT.yearID;\n var modelID = $ctrl.advancedMMT.modelID ? $ctrl.advancedMMT.modelID : 0;\n var trimID = $ctrl.advancedMMT.trimID ? $ctrl.advancedMMT.trimID : 0;\n return busy($ctrl.translations.loadingAdvancedTabData, dataEntryService.getReplacementSpecifics($ctrl.selectedDealerId, false, makeID, yearID, modelID, trimID).then(function (dataReplacementAdvanced) {\n _.forEach(dataReplacementAdvanced, function (item) {\n return item.id = item.oldTrimID;\n });\n\n $ctrl.dataReplacementAdvanced = dataReplacementAdvanced;\n $ctrl.dsAdvanced = new $ctrl.kendo.data.DataSource({\n data: dataReplacementAdvanced,\n schema: {\n model: {\n fields: {\n id: {\n type: \"number\",\n editable: false\n },\n isDefaultTrim: {\n type: \"boolean\",\n editable: false\n },\n existingMakeName: {\n type: \"string\",\n editable: false\n },\n existingModelName: {\n type: \"string\",\n editable: false\n },\n existingTrimName: {\n type: \"string\",\n editable: false\n },\n existingYearID: {\n type: \"number\",\n editable: false\n },\n replacementMakeName: {\n type: \"string\",\n editable: false\n },\n replacementModelName: {\n type: \"string\",\n editable: false\n },\n replacementTrimName: {\n type: \"string\",\n editable: false\n },\n replacementYearID: {\n type: \"number\",\n editable: false\n }\n }\n }\n },\n batch: true,\n pageSize: 50\n });\n }));\n }\n\n function setKendoCulture() {\n switch ($ctrl.cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.frFR:\n case cultures.esUS:\n $ctrl.kendo.culture($ctrl.cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n }\n\n function getTranslations() {\n return $q.all({\n 'loadingMakeModelTrim': $translate('loadingMakeModelTrim'),\n 'loadingAdvancedTabData': $translate('loadingAdvancedTabData'),\n 'replacementTrim': $translate('replacementTrim'),\n 'standardReplacementOffers': $translate('standardReplacementOffers'),\n 'replacementTrimMappings': $translate('replacementTrimMappings'),\n 'editTrimMappings': $translate('editTrimMappings'),\n 'multiVehicleOffers': $translate('multiVehicleOffers'),\n 'upgradeTrim': $translate('upgradeTrim'),\n 'downgradeTrim': $translate('downgradeTrim'),\n 'editUpgradeDowngrade': $translate('editUpgradeDowngrade'),\n 'existingYearModelTrimMappings': $translate('existingYearModelTrimMappings'),\n 'replacementYearModelTrimMappings': $translate('replacementYearModelTrimMappings'),\n 'editAdvanced': $translate('editAdvanced'),\n 'noUpgradeDefined': $translate('noUpgradeDefined'),\n 'noDowngradeDefined': $translate('noDowngradeDefined'),\n 'loadingReplacementTabData': $translate('loadingReplacementTabData'),\n 'previewChanges': $translate('previewChanges'),\n 'leaseTolerance': $translate('leaseTolerance'),\n 'retailTolerance': $translate('retailTolerance'),\n 'trim': $translate('trim'),\n 'upgrade': $translate('upgrade'),\n 'downgrade': $translate('downgrade')\n }).then(function (translations) {\n $ctrl.translations = translations;\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./data-entry-prices.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport './data-entry-prices.component.scss';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\n\r\nangular.module('AaApp.Opp').component('dataEntryPrices', {\r\n templateUrl: '/app/components/data-entry/data-entry-prices.component.html',\r\n controller: DataEntryPricesController,\r\n bindings: {\r\n kendo: '<',\r\n }\r\n});\r\n\r\nfunction DataEntryPricesController($translate, $q, vehicleService, dealerService, userService, dataEntryService, storageService,\r\n priceSetToOptions, $uibModal, $document, logger, dealerCountries, cultures, assetTypes, $filter, $logFactory) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.trimSelections;\r\n $ctrl.setTrimSelections = setTrimSelections;\r\n $ctrl.showQuickAction = false;\r\n $ctrl.onShowQuickAction = onShowQuickAction;\r\n $ctrl.onHideQuickAction = onHideQuickAction;\r\n $ctrl.onPerformPrice = onPerformPrice;\r\n $ctrl.onClearPrice = onClearPrice;\r\n $ctrl.onPerformExpireDate = onPerformExpireDate;\r\n $ctrl.onClearExpireDate = onClearExpireDate;\r\n $ctrl.onSave = onSave;\r\n $ctrl.onCancel = onCancel;\r\n $ctrl.kendoGrid = null;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.minPrice = 10000;\r\n $ctrl.maxPrice = 500000;\r\n $ctrl.countryId;\r\n $ctrl.cultureName;\r\n $ctrl.pricePerformError = false;\r\n $ctrl.showOverwriteWarning = false;\r\n $ctrl.hasO2O = false;\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n\r\n $ctrl.dateOptions = {\r\n minDate: new Date(),\r\n startingDay: 0,\r\n showWeeks: false\r\n }\r\n\r\n userService.getUserProfile()\r\n .then(function (userProfile) {\r\n\r\n $ctrl.countryId = userProfile.countryId;\r\n $ctrl.cultureName = userProfile.cultureName;\r\n\r\n getTranslations();\r\n\r\n initGridOptions();\r\n\r\n onDealerSelect();\r\n })\r\n\r\n }\r\n\r\n function getTranslations() {\r\n $q.all({\r\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\r\n 'saveWarningMessage': $translate('saveWarningMessage'),\r\n 'currencySymbol': $translate('currencySymbol'),\r\n 'validationErrorMessage': $translate('validationErrorMessage')\r\n }).then(function (stuff) {\r\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\r\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\r\n $ctrl.currencySymbol = stuff.currencySymbol;\r\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\r\n })\r\n\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(previousValue) {\r\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\r\n\r\n if (isDataDirty()) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return $ctrl.saveWarningMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n return busy(\r\n \"Loading Prices\",\r\n $q.all([\r\n vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false),\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.oneToOne, $ctrl.selectedDealerId)\r\n ]).then((data) => {\r\n $ctrl.selectedMakeId = data[0][0].makeID;\r\n //$ctrl.countryId = data[0][0].countryId;\r\n var currentYear = new Date().getFullYear();\r\n $ctrl.selectedYearId = data[1][0];\r\n if ($ctrl.selectedYearId != currentYear)\r\n $ctrl.selectedYearId = currentYear;\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: data[0][0].makeID,\r\n makeName: data[0][0].makeName,\r\n yearID: $ctrl.selectedYearId,\r\n modelID: null,\r\n modelName: null,\r\n trimID: null,\r\n trimName: null\r\n };\r\n $ctrl.trimSelections = $ctrl.defaults;\r\n $ctrl.hasO2O = data[2];\r\n return loadPrices();\r\n })\r\n );\r\n })\r\n .catch(function () {\r\n $ctrl.selectedDealerId = previousValue;\r\n return false;\r\n });\r\n\r\n }\r\n else\r\n return busy(\r\n \"Loading Prices\",\r\n $q.all([\r\n vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false),\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.oneToOne, $ctrl.selectedDealerId)\r\n ]).then((data) => {\r\n $ctrl.selectedMakeId = data[0][0].makeID;\r\n //$ctrl.countryId = data[0][0].countryId;\r\n var currentYear = new Date().getFullYear();\r\n $ctrl.selectedYearId = data[1][0];\r\n if ($ctrl.selectedYearId != currentYear)\r\n $ctrl.selectedYearId = currentYear;\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: data[0][0].makeID,\r\n makeName: data[0][0].makeName,\r\n yearID: $ctrl.selectedYearId,\r\n modelID: null,\r\n modelName: null,\r\n trimID: null,\r\n trimName: null\r\n };\r\n $ctrl.trimSelections = $ctrl.defaults;\r\n $ctrl.hasO2O = data[2];\r\n return loadPrices();\r\n })\r\n );\r\n }\r\n\r\n function onShowQuickAction() {\r\n $ctrl.showQuickAction = true;\r\n\r\n if (!$ctrl.priceSetTo)\r\n $ctrl.priceSetTo = priceSetToOptions.empty;\r\n if (!$ctrl.priceAdjMode)\r\n $ctrl.priceAdjMode = \"%\";\r\n }\r\n\r\n function onHideQuickAction() {\r\n $ctrl.showQuickAction = false;\r\n }\r\n\r\n function clearQuickAction() {\r\n $ctrl.priceSetTo = priceSetToOptions.empty;\r\n $ctrl.priceAdjMode = \"%\";\r\n $ctrl.priceAdjBy = null;\r\n $ctrl.expireSetTo = null;\r\n $ctrl.expireAdjBy = null;\r\n }\r\n\r\n function onPerformPrice() {\r\n if (($ctrl.priceSetTo && $ctrl.priceSetTo !== priceSetToOptions.empty) && ($ctrl.priceAdjBy || $ctrl.priceAdjBy == 0)) {\r\n $ctrl.pricePerformError = false;\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if ($ctrl.priceSetTo && $ctrl.priceSetTo !== priceSetToOptions.empty) {\r\n if ($ctrl.priceSetTo === priceSetToOptions.totalPrice)\r\n row.price = row.total;\r\n if ($ctrl.priceSetTo === priceSetToOptions.msrp)\r\n row.price = row.msrp;\r\n if ($ctrl.priceAdjBy) {\r\n if ($ctrl.priceAdjMode === \"%\")\r\n row.price = Math.round(row.price + row.price * $ctrl.priceAdjBy / 100);\r\n if ($ctrl.priceAdjMode === $ctrl.currencySymbol)\r\n row.price = row.price + $ctrl.priceAdjBy;\r\n }\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.price = true;\r\n else\r\n row.dirtyFields = { \"price\": true }\r\n }\r\n else {\r\n if (row.price) {\r\n if ($ctrl.priceAdjMode === \"%\")\r\n row.price = row.price + row.price * $ctrl.priceAdjBy / 100;\r\n if ($ctrl.priceAdjMode === $ctrl.currencySymbol)\r\n row.price = row.price + $ctrl.priceAdjBy;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.price = true;\r\n else\r\n row.dirtyFields = { \"price\": true }\r\n }\r\n\r\n }\r\n });\r\n setOverwriteWarning(true);\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n else {\r\n $ctrl.pricePerformError = true;\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"validationError\";\r\n },\r\n message: function () {\r\n return $ctrl.validationErrorMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n }\r\n\r\n function onClearPrice() {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.price) {\r\n row.price = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.price = true;\r\n else\r\n row.dirtyFields = { \"price\": true }\r\n\r\n }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n\r\n function onPerformExpireDate() {\r\n if ($ctrl.expireSetTo || $ctrl.expireAdjBy) {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if ($ctrl.expireSetTo) {\r\n row.expirationDate = new Date($ctrl.expireSetTo);\r\n if ($ctrl.expireAdjBy)\r\n row.expirationDate.setDate(row.expirationDate.getDate() + $ctrl.expireAdjBy);\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.expirationDate = true;\r\n else\r\n row.dirtyFields = { \"expirationDate\": true }\r\n }\r\n else {\r\n if ($ctrl.expireAdjBy && row.expirationDate) {\r\n row.expirationDate.setDate(row.expirationDate.getDate() + $ctrl.expireAdjBy);\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.expirationDate = true;\r\n else\r\n row.dirtyFields = { \"expirationDate\": true }\r\n }\r\n }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n }\r\n\r\n function onClearExpireDate() {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.expirationDate) {\r\n row.expirationDate = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.expirationDate = true;\r\n else\r\n row.dirtyFields = { \"expirationDate\": true }\r\n }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n\r\n function onSave() {\r\n\r\n if (!isDataValid()) {\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"validationError\";\r\n },\r\n message: function () {\r\n return $ctrl.validationErrorMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"readyToProcess\";\r\n },\r\n message: function () {\r\n return $ctrl.saveConfirmMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n var rows = $ctrl.kendoGrid.dataSource._data;\r\n var dirtyRows = [];\r\n rows.forEach(function (row) {\r\n if (row.dirty) {\r\n dirtyRows.push({\r\n dealerPriceID: row.dealerPriceID,\r\n insertDate: row.insertDate,\r\n dealerID: row.dealerID,\r\n trimID: row.trimID,\r\n price: row.price,\r\n expirationDate: row.expirationDate,\r\n destinationFee: row.destinationFeeEditable\r\n });\r\n row.dirty = false;\r\n }\r\n });\r\n if (dirtyRows.length > 0) {\r\n return updateDealerPrices(dirtyRows);\r\n } else {\r\n logger.success(\"changesSaved\");\r\n return $q.resolve();\r\n }\r\n })\r\n .catch(function () {\r\n return false;\r\n });\r\n\r\n\r\n }\r\n\r\n function onCancel() {\r\n $ctrl.kendoGrid.cancelChanges();\r\n setOverwriteWarning(anyOverrides($ctrl.kendoGrid.dataSource._data));\r\n }\r\n\r\n function updateDealerPrices(prices) {\r\n return busy(\r\n \"Saving Prices\",\r\n dataEntryService.updateDealerPrices(prices)\r\n .then(function (success) {\r\n logger.success(\"changesSaved\");\r\n return loadPrices();\r\n }).then(() => {\r\n\r\n }, function (error) {\r\n log.log(error);\r\n })\r\n );\r\n }\r\n\r\n function setTrimSelections(selections) {\r\n\r\n if (isDataDirty()) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return $ctrl.saveWarningMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n $ctrl.trimSelections = selections;\r\n return loadPrices();\r\n })\r\n .catch(function () {\r\n if (selections.makeID != $ctrl.trimSelections.makeID\r\n || selections.yearID != $ctrl.trimSelections.yearID\r\n || selections.modelID != $ctrl.trimSelections.modelID\r\n || selections.trimID != $ctrl.trimSelections.trimID) {\r\n\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: $ctrl.trimSelections.makeID,\r\n makeName: $ctrl.trimSelections.makeName,\r\n yearID: $ctrl.trimSelections.yearID,\r\n modelID: $ctrl.trimSelections.modelID,\r\n modelName: $ctrl.trimSelections.modelName,\r\n trimID: $ctrl.trimSelections.trimID,\r\n trimName: $ctrl.trimSelections.trimName\r\n\r\n };\r\n }\r\n return;\r\n });\r\n }\r\n else {\r\n $ctrl.trimSelections = selections;\r\n return loadPrices();\r\n }\r\n }\r\n\r\n function isDataValid() {\r\n if (!$ctrl.kendoGrid)\r\n return true;\r\n var valid = true;\r\n var rows = $ctrl.kendoGrid.dataSource._data;\r\n rows.forEach(function (row) {\r\n if ((row.price && !row.expirationDate || !row.price && row.expirationDate)\r\n || row.price && (row.price < $ctrl.minPrice || row.price > $ctrl.maxPrice))\r\n valid = false;\r\n });\r\n return valid;\r\n }\r\n\r\n function isDataDirty() {\r\n if (!$ctrl.kendoGrid)\r\n return false;\r\n var dirty = false;\r\n var rows = $ctrl.kendoGrid.dataSource._data;\r\n rows.forEach(function (row) {\r\n if (row.dirty)\r\n dirty = true;\r\n });\r\n return dirty;\r\n }\r\n\r\n function initGridOptions() {\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n navigatable: true,\r\n pageable: true,\r\n height: 580,\r\n columns: [\r\n { field: \"trimFullName\", title: \"{{ 'trim' | translate }}\", width: 110, sortable: true },\r\n { field: \"msrp\", title: \"{{ 'msrp' | translate }}\", format: \"{0:c0}\", width: 40, sortable: true, attributes: { style: \"text-align: right\" }, headerAttributes: { \"class\": \"align-center\" } },\r\n { field: \"destination\", title: \"{{ 'destination' | translate }}\", format: \"{0:c0}\", width: 40, attributes: { style: \"text-align: right\" }, headerAttributes: { \"class\": \"align-center\" } },\r\n { field: \"options\", title: \"{{ 'options' | translate }}\", format: \"{0:c0}\", width: 30, attributes: { style: \"text-align: right\" }, headerAttributes: { \"class\": \"align-center\" } },\r\n { field: \"sunroof\", title: \"{{ 'sunroofPackage' | translate }}\", format: \"{0:c0}\", width: 50, attributes: { style: \"text-align: right\" }, headerAttributes: { \"class\": \"align-center\" } },\r\n { field: \"automaticTransmission\", title: \"{{ 'automaticTransmission' | translate }}\", format: \"{0:c0}\", width: 50, attributes: { style: \"text-align: right\" }, headerAttributes: { \"class\": \"align-center\" } },\r\n { field: \"metallicPaint\", title: \"{{ 'metallicPaint' | translate }}\", format: \"{0:c0}\", width: 50, attributes: { style: \"text-align: right\" }, headerAttributes: { \"class\": \"align-center\" } },\r\n { field: \"gasGuzzlerTax\", title: \"{{ 'gasGuzzlerTax' | translate }}\", format: \"{0:c0}\", width: 50, attributes: { style: \"text-align: right\" }, headerAttributes: { \"class\": \"align-center\" } },\r\n { field: \"total\", title: \"{{ 'total' | translate }}\", template: totalTemplate, format: \"{0:c0}\", width: 40, attributes: { style: \"text-align: right\" }, headerAttributes: { \"class\": \"align-center\" } },\r\n {\r\n field: \"price\",\r\n title: \"{{ 'Overwrite' | translate }}\",\r\n template: priceTemplate,\r\n format: \"{0:c0}\",\r\n width: 60,\r\n attributes: { style: \"text-align: right\" },\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n {\r\n field: \"expirationDate\",\r\n title: \"{{ 'expireOn' | translate }}\",\r\n template: expirationDateTemplate,\r\n format: \"{0:d}\",\r\n width: 65,\r\n attributes: { style: \"text-align: right\" },\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n {\r\n field: \"destinationFeeEditable\",\r\n headerTemplate: \"{{ 'destinationFeeEditable' | translate }}\",\r\n template: destinationTemplate,\r\n format: \"{0:c0}\",\r\n attributes: { style: \"text-align: right\" },\r\n headerAttributes: { \"class\": \"align-center\" },\r\n width: 70\r\n }\r\n ],\r\n editable: true,\r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: true,\r\n reorderable: true,\r\n filterable: false\r\n }\r\n }\r\n\r\n function setOverwriteWarning(show) {\r\n $ctrl.showOverwriteWarning = $ctrl.hasO2O && show;\r\n }\r\n\r\n function onChange(e) {\r\n if (e.field === \"price\") {\r\n if (e.items[0].price != null) {\r\n setOverwriteWarning(true);\r\n }\r\n }\r\n }\r\n\r\n function anyOverrides(dataPrices) {\r\n var overridesFound = false;\r\n for (const row of dataPrices) {\r\n if (row.price != null) {\r\n overridesFound = true;\r\n break;\r\n }\r\n }\r\n return overridesFound;\r\n }\r\n\r\n function loadPrices() {\r\n var makeID = $ctrl.trimSelections.makeID;\r\n var yearID = $ctrl.trimSelections.yearID;\r\n var modelID = $ctrl.trimSelections.modelID ? $ctrl.trimSelections.modelID : 0;\r\n var trimID = $ctrl.trimSelections.trimID ? $ctrl.trimSelections.trimID : 0;\r\n\r\n return busy(\r\n \"Loading Prices\",\r\n dataEntryService.getDealerPrices($ctrl.selectedDealerId, makeID, yearID, modelID, trimID)\r\n .then((dataPrices) => {\r\n setOverwriteWarning(anyOverrides(dataPrices));\r\n\r\n //$(\"#gridDataEntryPrices\").empty();\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: dataPrices,\r\n schema: {\r\n model: {\r\n fields: {\r\n trimFullName: { type: \"string\", editable: false },\r\n msrp: { type: \"number\", editable: false },\r\n destination: { type: \"number\", editable: false },\r\n options: { type: \"number\", editable: false },\r\n sunroof: { type: \"number\", editable: false },\r\n automaticTransmission: { type: \"number\", editable: false },\r\n metallicPaint: { type: \"number\", editable: false },\r\n gasGuzzlerTax: { type: \"number\", editable: false },\r\n total: { type: \"number\", editable: false },\r\n price: { type: \"number\", editable: true },\r\n expirationDate: { type: \"date\", editable: true },\r\n destinationFeeEditable: { type: \"number\", editable: true }\r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: 50,\r\n change: onChange\r\n });\r\n\r\n switch ($ctrl.cultureName) {\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.frFR:\r\n case cultures.esUS:\r\n $ctrl.kendo.culture($ctrl.cultureName);\r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS);\r\n break;\r\n }\r\n\r\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date();\r\n\r\n $ctrl.showQuickAction = false;\r\n $ctrl.kendoGrid = $(\"#gridDataEntryPrices\").data(\"kendoGrid\");\r\n\r\n clearQuickAction();\r\n })\r\n );\r\n }\r\n\r\n function totalTemplate(e) {\r\n return \"\" + $ctrl.kendo.toString(e.total, 'C0') + \"\";\r\n }\r\n\r\n function destinationTemplate(e) {\r\n return \"
\" + $ctrl.kendo.toString(e.destinationFeeEditable, 'c0') + \"
\";\r\n }\r\n\r\n function priceTemplate(e) {\r\n updateExpirationValidationFlag(e);\r\n if (e.price) {\r\n if (e.price >= $ctrl.minPrice && e.price <= $ctrl.maxPrice)\r\n return \"
\" + $ctrl.kendo.toString(e.price, 'c0') + \"
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.price, 'c0') + \"
\";\r\n }\r\n else if (e.expirationDate) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\";\r\n }\r\n\r\n }\r\n\r\n function updateExpirationValidationFlag(e) {\r\n if (!e.expirationDate) {\r\n var grid = $(\"#gridDataEntryPrices\").data(\"kendoGrid\");\r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell\r\n if ($ctrl.countryId == dealerCountries.canada)\r\n cell = rowChildren.eq(9);\r\n else\r\n cell = rowChildren.eq(10);\r\n if (e.price) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n }\r\n\r\n\r\n function expirationDateTemplate(e) {\r\n updatePriceValidationFlag(e);\r\n var expirationDate = e.expirationDate ? e.expirationDate : '';\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n if (expirationDate) {\r\n var localeDateFilter = $filter('localeDate');\r\n var localeExpirationDate = localeDateFilter(expirationDate);\r\n if (expirationDate < today)\r\n return \"
\" + localeExpirationDate + \"
\";\r\n else\r\n return \"
\" + localeExpirationDate + \"
\";\r\n }\r\n else if (e.price) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\" + \"
\";\r\n }\r\n }\r\n\r\n function updatePriceValidationFlag(e) {\r\n if (!e.price) {\r\n var grid = $(\"#gridDataEntryPrices\").data(\"kendoGrid\");\r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell\r\n if ($ctrl.countryId == dealerCountries.canada)\r\n cell = rowChildren.eq(8);\r\n else\r\n cell = rowChildren.eq(9);\r\n if (e.expirationDate) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n }\r\n\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./data-entry-trade-ins.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport './data-entry-trade-ins.component.scss';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\n\r\n\r\nangular.module('AaApp.Opp').component('dataEntryTradeIns', {\r\n templateUrl: '/app/components/data-entry/data-entry-trade-ins.component.html',\r\n controller: DataEntryTradeInsController,\r\n bindings: {\r\n kendo: '<',\r\n }\r\n});\r\n\r\nfunction DataEntryTradeInsController($filter, $translate, $q, vehicleService, dealerService, dataEntryService,\r\n $uibModal, $document, logger, $element, $window, storageService, cultures, $logFactory) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n const localeCurrency = $filter('localeCurrency');\r\n const log = $logFactory.get();\r\n\r\n var tradeInsSetToOptions = {\r\n empty: \"N\",\r\n weekOne: \"1\",\r\n tradeValue: \"T\",\r\n overwrite: \"O\" \r\n }\r\n\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.trimSelections;\r\n $ctrl.setTrimSelections = setTrimSelections;\r\n $ctrl.showQuickAction = false;\r\n $ctrl.onShowQuickAction = onShowQuickAction;\r\n $ctrl.onHideQuickAction = onHideQuickAction;\r\n $ctrl.onPerformTradeIn = onPerformTradeIn;\r\n $ctrl.onClearTrade = onClearTrade;\r\n $ctrl.onPerformExpireDate = onPerformExpireDate;\r\n $ctrl.onClearExpireDate = onClearExpireDate;\r\n $ctrl.onSave = onSave;\r\n $ctrl.onCancel = onCancel;\r\n $ctrl.kendoGrid = null;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.extTradeValueSourceID = 0;\r\n $ctrl.weekColumns = {};\r\n $ctrl.screenWidth = 0;\r\n $ctrl.enableQuickAction = true;\r\n $ctrl.minPrice = 1000;\r\n $ctrl.maxPrice = 500000;\r\n $ctrl.tradeInsSetTo = tradeInsSetToOptions.empty;\r\n $ctrl.tradeInsPerformError = false;\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n\r\n $ctrl.dateOptions = {\r\n minDate: new Date(),\r\n startingDay: 0,\r\n showWeeks: false\r\n }\r\n\r\n getTranslations();\r\n initGridOptions();\r\n onDealerSelect();\r\n\r\n // $window can be injected into the controller\r\n $($window).on('resize', resizeHandler);\r\n\r\n // The $onDestroy method is called automatically by AngularJS when the component is being unloaded\r\n $ctrl.$onDestroy = function () {\r\n $($window).off('resize', resizeHandler);\r\n }\r\n }\r\n\r\n function resizeHandler() {\r\n $ctrl.screenWidth = null;\r\n setColumnWidths();\r\n }\r\n\r\n function getTranslations(){\r\n $q.all({\r\n 'currencySymbol': $translate('currencySymbol'),\r\n 'validationErrorMessage': $translate('validationErrorMessage')\r\n }).then(function (stuff) {\r\n $ctrl.currencySymbol = stuff.currencySymbol;\r\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\r\n })\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(previousValue) {\r\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\r\n\r\n if (isDataDirty()) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return $translate('saveWarningMessage');\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n modal.result.then(function () {\r\n \r\n return busy(\r\n \"Loading Trade-ins\", \r\n $q.all([\r\n vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false,255),\r\n ]).then((data) => {\r\n $ctrl.selectedMakeId = data[0][0].makeID;\r\n $ctrl.selectedYearId = data[1][0];\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: data[0][0].makeID,\r\n makeName: data[0][0].makeName,\r\n yearID: data[1][0],\r\n modelID: null,\r\n modelName: null,\r\n trimID: null,\r\n trimName: null\r\n };\r\n $ctrl.trimSelections = $ctrl.defaults;\r\n return loadTradeIns();\r\n })\r\n );\r\n })\r\n .catch(function () {\r\n $ctrl.selectedDealerId = previousValue;\r\n return false;\r\n });\r\n\r\n }\r\n else\r\n return busy(\r\n \"Loading Trade-ins\", \r\n $q.all([\r\n vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false,255),\r\n ]).then((data) => {\r\n $ctrl.selectedMakeId = data[0][0].makeID;\r\n $ctrl.selectedYearId = data[1][0];\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: data[0][0].makeID,\r\n makeName: data[0][0].makeName,\r\n yearID: data[1][0],\r\n modelID: null,\r\n modelName: null,\r\n trimID: null,\r\n trimName: null\r\n };\r\n $ctrl.trimSelections = $ctrl.defaults;\r\n return loadTradeIns();\r\n })\r\n );\r\n }\r\n\r\n function onShowQuickAction() {\r\n if (!$ctrl.enableQuickAction)\r\n $ctrl.enableQuickAction = true;\r\n $ctrl.showQuickAction = true;\r\n\r\n if (!$ctrl.tradeInsSetTo)\r\n $ctrl.tradeInsSetTo = tradeInsSetToOptions.empty;\r\n if (!$ctrl.tradeInsAdjMode)\r\n $ctrl.tradeInsAdjMode = \"%\";\r\n }\r\n\r\n function onHideQuickAction() {\r\n $ctrl.showQuickAction = false;\r\n }\r\n\r\n function clearQuickAction() {\r\n $ctrl.tradeInSetTo = tradeInsSetToOptions.empty;\r\n $ctrl.priceAdjMode = \"%\";\r\n $ctrl.priceAdjBy = null;\r\n $ctrl.expireSetTo = null;\r\n $ctrl.expireAdjBy = null;\r\n //remove from the DOM so yhe date field will be recreated as there is no easy way set the date to empty\r\n $ctrl.enableQuickAction = false;\r\n }\r\n\r\n function onPerformTradeIn() {\r\n if (($ctrl.tradeInsSetTo && $ctrl.tradeInsSetTo !== tradeInsSetToOptions.empty) && ($ctrl.tradeInsAdjBy || $ctrl.tradeInsAdjBy == 0)) {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if ($ctrl.tradeInsSetTo && $ctrl.tradeInsSetTo !== tradeInsSetToOptions.empty) {\r\n if ($ctrl.tradeInsSetTo === tradeInsSetToOptions.weekOne && $ctrl.extTradeValueSourceID === 0) \r\n row.dealerTradeValue = row.auctionWeek1; \r\n if ($ctrl.tradeInsSetTo === tradeInsSetToOptions.tradeValue) {\r\n if (row.tradeValue) {\r\n row.dealerTradeValue = row.tradeValue;\r\n }\r\n else {\r\n row.dealerTradeValue = row.estimated; \r\n }\r\n }\r\n if ($ctrl.tradeInsSetTo === tradeInsSetToOptions.overwrite) \r\n row.dealerTradeValue = row.dealerTradeValue;\r\n if ($ctrl.tradeInsAdjBy) {\r\n if ($ctrl.tradeInsAdjMode === \"%\")\r\n row.dealerTradeValue = Math.round(row.dealerTradeValue + (row.dealerTradeValue * ($ctrl.tradeInsAdjBy /100)));\r\n if ($ctrl.tradeInsAdjMode === $ctrl.currencySymbol) \r\n row.dealerTradeValue = row.dealerTradeValue + $ctrl.tradeInsAdjBy;\r\n }\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.tradeIn = true;\r\n else\r\n row.dirtyFields = { \"tradein\": true }\r\n }\r\n else {\r\n if (row.dealerTradeValue) {\r\n if ($ctrl.tradeInsAdjMode === \"%\") {\r\n row.dealerTradeValue = row.dealerTradeValue + row.dealerTradeValue * $ctrl.tradeInsAdjBy /100;\r\n }\r\n if ($ctrl.tradeInsAdjMode === $ctrl.currencySymbol) {\r\n row.dealerTradeValue = row.dealerTradeValue + $ctrl.tradeInsAdjBy;\r\n }\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.dealerTradeValue = true;\r\n else\r\n row.dirtyFields = { \"dealerTradeValue\": true }\r\n }\r\n \r\n }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n else\r\n {\r\n $ctrl.tradeInsPerformError = true;\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"validationError\";\r\n },\r\n message: function () {\r\n return $ctrl.validationErrorMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n }\r\n\r\n function onClearTrade() {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.dealerTradeValue) {\r\n row.dealerTradeValue = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.dealerTradeValue = true;\r\n else\r\n row.dirtyFields = { \"dealerTradeValue\": true }\r\n\r\n }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n\r\n function onPerformExpireDate() {\r\n if ($ctrl.expireSetTo || $ctrl.expireAdjBy) {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if ($ctrl.expireSetTo ) {\r\n row.dealerTradeExpirationDate = new Date($ctrl.expireSetTo);\r\n if ($ctrl.expireAdjBy)\r\n row.dealerTradeExpirationDate.setDate(row.dealerTradeExpirationDate.getDate() + $ctrl.expireAdjBy);\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.dealerTradeExpirationDate = true;\r\n else\r\n row.dirtyFields = { \"dealerTradeExpirationDate\": true }\r\n }\r\n else {\r\n if ($ctrl.expireAdjBy && row.dealerTradeExpirationDate) {\r\n row.dealerTradeExpirationDate.setDate(row.dealerTradeExpirationDate.getDate() + $ctrl.expireAdjBy); \r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.dealerTradeExpirationDate = true;\r\n else\r\n row.dirtyFields = { \"dealerValueExpirationDate\": true }\r\n }\r\n }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n }\r\n\r\n function onClearExpireDate() {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.dealerTradeExpirationDate) {\r\n row.dealerTradeExpirationDate = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.dealerTradeExpirationDate = true;\r\n else\r\n row.dirtyFields = { \"dealerTradeExpirationDate\": true }\r\n }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n\r\n function onSave() {\r\n\r\n if (!isDataValid()) {\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"validationError\";\r\n },\r\n message: function () {\r\n return $translate('validationErrorMessage');\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"readyToProcess\";\r\n },\r\n message: function () {\r\n return $translate('saveConfirmMessage');\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n \r\n modal.result.then(function () {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n var dirtyRows = [];\r\n rows.forEach(function (row) {\r\n if (row.dirty) {\r\n dirtyRows.push({\r\n trimID: row.trimID,\r\n insertDate: row.insertDate,\r\n dealerID: row.dealerID,\r\n dealerTradeValue: row.dealerTradeValue,\r\n dealerTradeExpirationDate: row.dealerTradeExpirationDate,\r\n });\r\n row.dirty = false;\r\n }\r\n });\r\n\r\n if (dirtyRows.length > 0) {\r\n return updateDealerTradeins(dirtyRows);\r\n } else {\r\n logger.success(\"changesSaved\");\r\n return $q.resolve();\r\n }\r\n })\r\n .catch(function () {\r\n return false;\r\n });\r\n }\r\n\r\n function onCancel() {\r\n $ctrl.kendoGrid.cancelChanges();\r\n }\r\n\r\n function updateDealerTradeins(tradeIns){\r\n return busy(\r\n \"Saving Trade-ins\",\r\n dataEntryService.updateDealerTradeins(tradeIns)\r\n .then(function (success) {\r\n logger.success(\"changesSaved\");\r\n return loadTradeIns();\r\n }).then(() => {\r\n \r\n }, function (error) {\r\n log.log(error);\r\n })\r\n );\r\n }\r\n\r\n function setTrimSelections(selections) {\r\n\r\n if (isDataDirty()) {\r\n \r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return $translate('saveWarningMessage');\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n $ctrl.trimSelections = selections;\r\n return loadTradeIns();\r\n })\r\n .catch(function () {\r\n if (selections.makeID != $ctrl.trimSelections.makeID \r\n || selections.yearID != $ctrl.trimSelections.yearID\r\n || selections.modelID != $ctrl.trimSelections.modelID\r\n || selections.trimID != $ctrl.trimSelections.trimID) {\r\n\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: $ctrl.trimSelections.makeID,\r\n makeName: $ctrl.trimSelections.makeName,\r\n yearID: $ctrl.trimSelections.yearID,\r\n modelID: $ctrl.trimSelections.modelID,\r\n modelName: $ctrl.trimSelections.modelName,\r\n trimID: $ctrl.trimSelections.trimID,\r\n trimName: $ctrl.trimSelections.trimName\r\n \r\n };\r\n }\r\n return;\r\n });\r\n }\r\n else {\r\n $ctrl.trimSelections = selections;\r\n return loadTradeIns();\r\n }\r\n }\r\n\r\n function isDataValid() {\r\n if (!$ctrl.kendoGrid) \r\n return true;\r\n var valid = true;\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if ((row.dealerTradeValue && !row.dealerTradeExpirationDate) || (!row.dealerTradeValue && row.dealerTradeExpirationDate))\r\n { log.log(row.dealerTradeValue + \" \" + row.dealerTradeExpirationDate);\r\n valid = false;\r\n }\r\n if ((row.dealerTradeValue && row.dealerTradeValue < $ctrl.minPrice) || (row.dealerTradeValue && row.dealerTradeValue > $ctrl.maxPrice))\r\n { log.log(row.dealerTradeValue + \" \" + row.dealerTradeExpirationDate);\r\n valid = false;\r\n }\r\n });\r\n return valid;\r\n }\r\n\r\n function isDataDirty() { \r\n if (!$ctrl.kendoGrid) \r\n return false;\r\n var dirty = false;\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.dirty)\r\n dirty = true;\r\n });\r\n return dirty;\r\n }\r\n\r\n function initGridOptions() {\r\n\r\n $ctrl.gridOptions = { \r\n dataSource: $ctrl.ds,\r\n navigatable: true,\r\n pageable: true,\r\n height: 583,\r\n columns: [\r\n { field: \"trimFullName\", title: \"{{ 'trim' | translate }}\", width: \"23%\", sortable: { allowUnsort: false }},\r\n { field: \"auctionWeek1\", title: \"{{ 'Week5OrGreater' | translate }}\", format: \"{0:c0}\", width: \"11%\", sortable: { allowUnsort: false }},\r\n { field: \"auctionWeek2\", title: \"{{ 'Week4to5' | translate }}\", format: \"{0:c0}\", width: \"11%\", sortable: { allowUnsort: false } },\r\n { field: \"auctionWeek3\", title: \"{{ 'Week2to3' | translate }}\", format: \"{0:c0}\", width: \"11%\", sortable: { allowUnsort: false } },\r\n { field: \"auctionWeek4\", title: \"{{ 'Week1' | translate }}\", format: \"{0:c0}\", width: \"11%\", sortable: { allowUnsort: false } },\r\n { field: \"tradeValue\", title: \"{{ 'TradeValueHeading' | translate}}\", template: tradeValueTemplate, width: \"11%\", sortable: { allowUnsort: false }\r\n },\r\n { field: \"dealerTradeValue\", \r\n title: \"{{ 'OverwriteValue' | translate }}\", \r\n template: dealerTradeValueTemplate, \r\n format: \"{0:c0}\", \r\n width: \"11%\", \r\n sortable: { allowUnsort: false }\r\n }\r\n ,\r\n { field: \"dealerTradeExpirationDate\", title: \"{{ 'expirationDate' | translate}}\", template: expirationDateTemplate, format: \"{0:d}\",width: \"11%\", sortable: { allowUnsort: false }}],\r\n editable: true,\r\n sortable: true,\r\n resizable: true,\r\n reorderable: true,\r\n filterable: false\r\n };\r\n\r\n }\r\n\r\n function tradeValueTemplate(row) {\r\n if (row.tradeValue) {\r\n return `${localeCurrency(row.tradeValue)}`;\r\n }\r\n else {\r\n var title = $translate.instant('ValueEstimated');\r\n return `\r\n ${localeCurrency(row.estimated)}*\r\n `;\r\n }\r\n\r\n\r\n }\r\n \r\n function loadTradeIns() {\r\n var makeID = $ctrl.trimSelections.makeID;\r\n var yearID = $ctrl.trimSelections.yearID;\r\n var modelID = $ctrl.trimSelections.modelID ? $ctrl.trimSelections.modelID : 0;\r\n var trimID = $ctrl.trimSelections.trimID ? $ctrl.trimSelections.trimID : 0;\r\n\r\n return busy(\r\n \"Loading Trade-ins\",\r\n dataEntryService.getDealerTradeIns($ctrl.selectedDealerId, makeID, yearID, modelID, trimID)\r\n .then((dataTradeIns) => { \r\n\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: dataTradeIns, \r\n schema: { \r\n model: {\r\n fields: {\r\n trimFullName: { type: \"string\", editable: false},\r\n auctionWeek1: { type: \"number\", editable: false},\r\n auctionWeek2: { type: \"number\", editable: false},\r\n auctionWeek3: { type: \"number\", editable: false},\r\n auctionWeek4: { type: \"number\", editable: false},\r\n tradeValue: { type: \"number\", editable: false},\r\n estimated: { type: \"number\", editable: false},\r\n dealerTradeValue: { type: \"number\", editable: true},\r\n dealerTradeExpirationDate: { type: \"date\", editable: true }\r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: 50\r\n }); \r\n\r\n // set the input settings for culture\r\n switch (cultureName){\r\n case cultures.enUS:\r\n $ctrl.kendo.culture(cultures.enUS); \r\n break;\r\n case cultures.enGB:\r\n $ctrl.kendo.culture(cultures.enGB); \r\n break;\r\n case cultures.enCA:\r\n $ctrl.kendo.culture(cultures.enCA); \r\n break;\r\n case cultures.frCA:\r\n $ctrl.kendo.culture(cultures.frCA);\r\n break;\r\n case cultures.frFR:\r\n $ctrl.kendo.culture(cultures.frFR);\r\n break;\r\n case cultures.esUS:\r\n $ctrl.kendo.culture(cultureName); \r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS); \r\n break; \r\n }\r\n \r\n if (dataTradeIns.length > 0) {\r\n $ctrl.extTradeValueSourceID = dataTradeIns[0].extTradeValueSourceID;\r\n }\r\n else { \r\n $ctrl.extTradeValueSourceID = 0; // AutoAlert\r\n }\r\n\r\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date(); \r\n $ctrl.showQuickAction = false;\r\n $ctrl.kendoGrid = $element.find(\"#gridDataEntryTradeIns\").data(\"kendoGrid\");\r\n setColumnWidths();\r\n\r\n // show/hide the week 1 option in trade set to values\r\n let weekOne = $element.find(\"#AuctionWeek1Option\");\r\n if($ctrl.extTradeValueSourceID === 0) {\r\n weekOne.show();\r\n }\r\n else {\r\n weekOne.hide();\r\n }\r\n })\r\n );\r\n }\r\n\r\n function setColumnWidths() {\r\n\r\n // toggle visibility based on extTradeValueSourceID\r\n var grid = $ctrl.kendoGrid;\r\n $ctrl.weekColumns = grid.columns.filter(item => item.field.match(/Week/)); \r\n if (!$ctrl.screenWidth) {\r\n if (!$ctrl.screenWidth || $ctrl.screenWidth < grid.element[0].scrollWidth) {\r\n $ctrl.screenWidth = grid.element[0].scrollWidth;\r\n }\r\n }\r\n\r\n // hide if the extTradeValueSourceID is not 0 (not AutoAlert)\r\n $ctrl.weekColumns.forEach(function(col,index) { \r\n if($ctrl.extTradeValueSourceID !== 0) { \r\n $ctrl.kendoGrid.hideColumn(col); \r\n }\r\n else { \r\n $ctrl.kendoGrid.showColumn(col); \r\n }\r\n\r\n });\r\n grid.columns.forEach(function(col,index) {\r\n var bt = $ctrl.extTradeValueSourceID;\r\n var isTrim = col.field === \"trimFullName\";\r\n var totalColumns = ($ctrl.extTradeValueSourceID === 0 ? 8 : 4);\r\n var columnWidth = $ctrl.screenWidth / totalColumns - 10; \r\n\r\n // the trim name column is longer than the others.\r\n col.width = bt ? \"25%\" : (isTrim ? \"23%\" : \"11%\");\r\n });\r\n }\r\n\r\n\r\n function dealerTradeValueTemplate(e) {\r\n updateExpirationValidationFlag(e);\r\n if (e.dealerTradeValue) {\r\n if (e.dealerTradeValue >= $ctrl.minPrice && e.dealerTradeValue <= $ctrl.maxPrice)\r\n return \"
\" + $ctrl.kendo.toString(e.dealerTradeValue, 'n0') + \"
\"; \r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.dealerTradeValue, 'n0') + \"
\"; \r\n }\r\n else if (e.dealerTradeExpirationDate) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\";\r\n }\r\n \r\n }\r\n\r\n function updateExpirationValidationFlag(e) {\r\n if (!e.dealerTradeExpirationDate) {\r\n var grid = $element.find(\"#gridDataEntryTradeins\").data(\"kendoGrid\");\r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell = rowChildren.eq(10);\r\n if (e.dealerTradeValue) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n }\r\n \r\n function expirationDateTemplate(e) {\r\n updateDealerValueValidationFlag(e);\r\n var expirationDate = e.dealerTradeExpirationDate ? e.dealerTradeExpirationDate : '';\r\n var today = new Date();\r\n today.setHours(0,0,0,0);\r\n if (expirationDate) {\r\n if (expirationDate < today ) \r\n return \"
\" + $ctrl.kendo.toString(expirationDate, 'd') + \"
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(expirationDate, 'd') + \"
\";\r\n }\r\n else if (e.dealerTradeValue) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\" + \"
\";\r\n }\r\n }\r\n\r\n function updateDealerValueValidationFlag(e) {\r\n if (!e.dealerTradeValue) {\r\n var grid = $(\"#gridDataEntryTradeins\").data(\"kendoGrid\");\r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell = rowChildren.eq(9);\r\n if (e.dealerTradeExpirationDate) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n }\r\n\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./data-entry-rebates.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport './data-entry-rebates.component.scss';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\n\r\nangular.module('AaApp.Opp').component('dataEntryRebates', {\r\n templateUrl: '/app/components/data-entry/data-entry-rebates.component.html',\r\n controller: DataEntryRebatesController,\r\n bindings: {\r\n kendo: '<',\r\n }\r\n});\r\n\r\nfunction DataEntryRebatesController($translate, $q, $filter, vehicleService, dealerService, dataEntryService, \r\n storageService, $uibModal, $document, saleTypes, cultures, logger, $logFactory) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.trimSelections;\r\n $ctrl.setTrimSelections = setTrimSelections;\r\n $ctrl.showQuickAction = false;\r\n $ctrl.onShowQuickAction = onShowQuickAction;\r\n $ctrl.onHideQuickAction = onHideQuickAction;\r\n $ctrl.onPerform = onPerform;\r\n $ctrl.onClear = onClear;\r\n $ctrl.onSave = onSave;\r\n $ctrl.onCancel = onCancel;\r\n $ctrl.kendoGrid = null;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.quickActionForOptions = [];\r\n $ctrl.rebateFor = null;\r\n\r\n $ctrl.min = 100;\r\n $ctrl.max = 50000;\r\n\r\n $ctrl.setLeaseColumn = setLeaseColumn;\r\n $ctrl.setRetailColumn = setRetailColumn;\r\n $ctrl.setBalloonColumn = setBalloonColumn;\r\n\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n\r\n $ctrl.dateOptions = {\r\n minDate: new Date(),\r\n startingDay: 0,\r\n showWeeks: false\r\n }\r\n\r\n $ctrl.quickActionForOptions = [\r\n {id: '0', name: 'allSaleTypes'},\r\n {id: '1', name: 'lease'},\r\n {id: '2', name: 'retail'},\r\n {id: '3', name: 'balloon'}\r\n ];\r\n\r\n $ctrl.rebateFor = $ctrl.quickActionForOptions[0].id;\r\n\r\n getTranslations(); \r\n\r\n onDealerSelect();\r\n }\r\n\r\n function getTranslations(){\r\n $q.all({\r\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\r\n 'saveWarningMessage': $translate('saveWarningMessage'),\r\n 'validationErrorMessage': $translate('validationErrorMessage'), \r\n 'lease': $translate('lease'),\r\n 'retail': $translate('retail'),\r\n 'balloon': $translate('balloon'),\r\n 'expireOn': $translate('expireOn'),\r\n 'trim': $translate('trim'),\r\n 'currencySymbol': $translate('currencySymbol')\r\n }).then(function (stuff) {\r\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\r\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\r\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\r\n $ctrl.lease = stuff.lease;\r\n $ctrl.retail = stuff.retail;\r\n $ctrl.balloon = stuff.balloon;\r\n $ctrl.expireOn = stuff.expireOn;\r\n $ctrl.trim = stuff.trim;\r\n $ctrl.currencySymbol = stuff.currencySymbol;\r\n initGridOptions();\r\n });\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(previousValue) {\r\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\r\n\r\n if (isDataDirty()) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return $ctrl.saveWarningMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\";\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n return busy(\r\n \"Loading Rebates\", \r\n $q.all([\r\n vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false),\r\n ]).then((data) => {\r\n $ctrl.selectedMakeId = data[0][0].makeID;\r\n $ctrl.selectedYearId = data[1][0];\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: data[0][0].makeID,\r\n makeName: data[0][0].makeName,\r\n yearID: data[1][0],\r\n modelID: null,\r\n modelName: null,\r\n trimID: null,\r\n trimName: null\r\n };\r\n $ctrl.trimSelections = $ctrl.defaults;\r\n return loadRebates();\r\n })\r\n );\r\n })\r\n .catch(function () {\r\n $ctrl.selectedDealerId = previousValue;\r\n return false;\r\n });\r\n\r\n }\r\n else\r\n return busy(\r\n \"Loading Rebates\", \r\n $q.all([\r\n vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false),\r\n ]).then((data) => {\r\n $ctrl.selectedMakeId = data[0][0].makeID;\r\n $ctrl.selectedYearId = data[1][0];\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: data[0][0].makeID,\r\n makeName: data[0][0].makeName,\r\n yearID: data[1][0],\r\n modelID: null,\r\n modelName: null,\r\n trimID: null,\r\n trimName: null\r\n };\r\n $ctrl.trimSelections = $ctrl.defaults;\r\n return loadRebates();\r\n })\r\n );\r\n }\r\n\r\n function onShowQuickAction() {\r\n $ctrl.showQuickAction = true;\r\n }\r\n\r\n function onHideQuickAction() {\r\n $ctrl.showQuickAction = false;\r\n }\r\n\r\n function clearQuickAction() {\r\n $ctrl.rebateFor = $ctrl.quickActionForOptions[0].id;\r\n $ctrl.expireSetTo = null;\r\n $ctrl.rebateSetAmount = null; \r\n }\r\n\r\n function setLeaseColumn(row, clearFlag)\r\n {\r\n if (clearFlag) {\r\n if (row.leaseRebate) {\r\n row.leaseRebate = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.leaseRebate = true;\r\n else\r\n row.dirtyFields = { \"leaseRebate\": true }\r\n }\r\n\r\n if (row.leaseExpirationDate) {\r\n row.leaseExpirationDate = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.leaseExpirationDate = true;\r\n else\r\n row.dirtyFields = { \"leaseExpirationDate\": true }\r\n }\r\n\r\n return;\r\n }\r\n\r\n if (!(row.leaseRebate && !($ctrl.rebateSetAmount !== null))) \r\n {\r\n row.leaseRebate = $ctrl.rebateSetAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.leaseRebate = true;\r\n else\r\n row.dirtyFields = { \"leaseRebate\": true };\r\n }\r\n\r\n if ($ctrl.expireSetTo) {\r\n row.leaseExpirationDate = new Date($ctrl.expireSetTo);\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.leaseExpirationDate = true;\r\n else\r\n row.dirtyFields = { \"leaseExpirationDate\": true }\r\n }\r\n }\r\n\r\n\r\n function setRetailColumn(row, clearFlag)\r\n { \r\n if (clearFlag) {\r\n if (row.retailRebate) {\r\n row.retailRebate = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.retailRebate = true;\r\n else\r\n row.dirtyFields = { \"retailRebate\": true }\r\n }\r\n\r\n if (row.retailExpirationDate) {\r\n row.retailExpirationDate = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.retailExpirationDate = true;\r\n else\r\n row.dirtyFields = { \"retailExpirationDate\": true }\r\n }\r\n\r\n return;\r\n }\r\n\r\n\r\n if (!(row.retailRebate && !($ctrl.rebateSetAmount !== null))) {\r\n row.retailRebate = $ctrl.rebateSetAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.retailRebate = true;\r\n else\r\n row.dirtyFields = { \"retailRebate\": true };\r\n }\r\n\r\n if ($ctrl.expireSetTo) {\r\n row.retailExpirationDate = new Date($ctrl.expireSetTo);\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.retailExpirationDate = true;\r\n else\r\n row.dirtyFields = { \"retailExpirationDate\": true }\r\n } \r\n }\r\n\r\n function setBalloonColumn(row, clearFlag)\r\n {\r\n if (clearFlag) {\r\n if (row.balloonRebate) {\r\n row.balloonRebate = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.balloonRebate = true;\r\n else\r\n row.dirtyFields = { \"balloonRebate\": true }\r\n }\r\n\r\n if (row.balloonExpirationDate) {\r\n row.balloonExpirationDate = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.balloonExpirationDate = true;\r\n else\r\n row.dirtyFields = { \"balloonExpirationDate\": true }\r\n }\r\n\r\n return;\r\n }\r\n\r\n if (!(row.balloonRebate && !($ctrl.rebateSetAmount !== null))) {\r\n row.balloonRebate = $ctrl.rebateSetAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.balloonRebate = true;\r\n else\r\n row.dirtyFields = { \"balloonRebate\": true };\r\n }\r\n\r\n if ($ctrl.expireSetTo) {\r\n row.balloonExpirationDate = new Date($ctrl.expireSetTo);\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.balloonExpirationDate = true;\r\n else\r\n row.dirtyFields = { \"balloonExpirationDate\": true }\r\n }\r\n }\r\n\r\n\r\n function onPerform() {\r\n if ($ctrl.rebateFor && $ctrl.rebateFor > -1){\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row){\r\n switch (parseInt($ctrl.rebateFor)) {\r\n case saleTypes.lease:\r\n $ctrl.setLeaseColumn(row, false);\r\n break;\r\n case saleTypes.retail:\r\n $ctrl.setRetailColumn(row, false);\r\n break;\r\n case saleTypes.balloon:\r\n $ctrl.setBalloonColumn(row, false);\r\n break;\r\n default:\r\n $ctrl.setLeaseColumn(row, false);\r\n $ctrl.setRetailColumn(row, false);\r\n $ctrl.setBalloonColumn(row, false);\r\n }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n }\r\n\r\n function onClear() {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row){\r\n switch (parseInt($ctrl.rebateFor)) {\r\n case saleTypes.lease:\r\n $ctrl.setLeaseColumn(row, true);\r\n break;\r\n case saleTypes.retail:\r\n $ctrl.setRetailColumn(row, true);\r\n break;\r\n case saleTypes.balloon:\r\n $ctrl.setBalloonColumn(row, true);\r\n break;\r\n default:\r\n $ctrl.setLeaseColumn(row, true);\r\n $ctrl.setRetailColumn(row, true);\r\n $ctrl.setBalloonColumn(row, true);\r\n }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n\r\n\r\n\r\n\r\n function onSave() {\r\n if (!isDataValid()) {\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"validationError\";\r\n },\r\n message: function () {\r\n return $ctrl.validationErrorMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\";\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"readyToProcess\";\r\n },\r\n message: function () {\r\n return $ctrl.saveConfirmMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\";\r\n }\r\n }\r\n });\r\n \r\n modal.result.then(function () {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n var dirtyRows = [];\r\n rows.forEach(function (row) {\r\n if (row.dirty) {\r\n dirtyRows.push({\r\n dealerID: row.dealerID,\r\n trimID: row.trimID,\r\n leaseDealerRebateID: row.leaseDealerRebateID, \r\n leaseSaleTypeID: row.leaseSaleTypeID, \r\n leaseRebate: row.leaseRebate, \r\n leaseExpirationDate: row.leaseExpirationDate, \r\n retailDealerRebateID: row.retailDealerRebateID,\r\n retailSaleTypeID: row.retailSaleTypeID,\r\n retailRebate: row.retailRebate,\r\n retailExpirationDate: row.retailExpirationDate,\t\r\n balloonDealerRebateID: row.balloonDealerRebateID,\r\n balloonSaleTypeID: row.balloonSaleTypeID,\r\n balloonRebate: row.balloonRebate,\r\n balloonExpirationDate: row.balloonExpirationDate,\r\n });\r\n row.dirty = false; \r\n }\r\n });\r\n if (dirtyRows.length > 0) {\r\n return updateDealerRebates(dirtyRows);\r\n } else {\r\n logger.success(\"changesSaved\");\r\n return $q.resolve();\r\n }\r\n })\r\n .catch(function () {\r\n return false;\r\n }); \r\n }\r\n\r\n function onCancel() {\r\n //$ctrl.kendoGrid.dataSource.cancelChanges();\r\n $ctrl.kendoGrid.cancelChanges();\r\n }\r\n\r\n function updateDealerRebates(rebates){\r\n return busy(\r\n \"Saving Rebates\",\r\n dataEntryService.updateDealerRebates(rebates)\r\n .then(function (success) {\r\n logger.success(\"changesSaved\");\r\n return loadRebates();\r\n }).then(() => {\r\n \r\n }, function (error) {\r\n log.log(error);\r\n })\r\n );\r\n }\r\n\r\n function setTrimSelections(selections) {\r\n if (isDataDirty()) {\r\n \r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return $ctrl.saveWarningMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\";\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n $ctrl.trimSelections = selections;\r\n return loadRebates();\r\n })\r\n .catch(function () {\r\n if (selections.makeID != $ctrl.trimSelections.makeID \r\n || selections.yearID != $ctrl.trimSelections.yearID\r\n || selections.modelID != $ctrl.trimSelections.modelID\r\n || selections.trimID != $ctrl.trimSelections.trimID) {\r\n\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: $ctrl.trimSelections.makeID,\r\n makeName: $ctrl.trimSelections.makeName,\r\n yearID: $ctrl.trimSelections.yearID,\r\n modelID: $ctrl.trimSelections.modelID,\r\n modelName: $ctrl.trimSelections.modelName,\r\n trimID: $ctrl.trimSelections.trimID,\r\n trimName: $ctrl.trimSelections.trimName\r\n \r\n };\r\n }\r\n return;\r\n });\r\n }\r\n else {\r\n $ctrl.trimSelections = selections;\r\n return loadRebates();\r\n }\r\n }\r\n\r\n function isDataValid() {\r\n if (!$ctrl.kendoGrid) \r\n return true;\r\n var valid = true;\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if ((row.leaseRebate && !row.leaseExpirationDate) || (!row.leaseRebate && row.leaseExpirationDate) ||\r\n (row.retailRebate && !row.retailExpirationDate) || (!row.retailRebate && row.retailExpirationDate) ||\r\n (row.balloonRebate && !row.balloonExpirationDate) || (!row.balloonRebate && row.balloonExpirationDate) ||\r\n (row.leaseRebate && row.leaseRebate < $ctrl.min) || (row.leaseRebate && row.leaseRebate > $ctrl.max) ||\r\n (row.retailRebate && row.retailRebate < $ctrl.min) || (row.retailRebate && row.retailRebate > $ctrl.max) ||\r\n (row.balloonRebate && row.balloonRebate < $ctrl.min) || (row.balloonRebate && row.balloonRebate > $ctrl.max))\r\n valid = false;\r\n });\r\n return valid;\r\n }\r\n\r\n function isDataDirty() {\r\n if (!$ctrl.kendoGrid) \r\n return false;\r\n var dirty = false;\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.dirty)\r\n dirty = true;\r\n });\r\n return dirty;\r\n }\r\n\r\n function initGridOptions(){\r\n\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n navigatable: true,\r\n pageable: true,\r\n height: 580,\r\n columns: [\r\n { field: \"trimFullName\", title: $ctrl.trim, width: 100 },\r\n { field: \"leaseRebate\", title: $ctrl.lease +\" (\"+$ctrl.currencySymbol+\")\", template: leaseRebateTemplate, format: \"{0:c0}\", width: 50 },\r\n { field: \"leaseExpirationDate\", title: $ctrl.expireOn, template: leaseExpirationDateTemplate, width: 50},\r\n { field: \"retailRebate\", title: $ctrl.retail + \" (\" + $ctrl.currencySymbol +\")\", template: retailRebateTemplate, format: \"{0:c0}\", width: 50 },\r\n { field: \"retailExpirationDate\", title: $ctrl.expireOn, template: retailExpirationDateTemplate, width: 50},\r\n { field: \"balloonRebate\", title: $ctrl.balloon + \" (\" + $ctrl.currencySymbol +\")\", template: balloonRebateTemplate, format: \"{0:c0}\", width: 50 },\r\n { field: \"balloonExpirationDate\", title: $ctrl.expireOn, template: balloonExpirationDateTemplate, width: 50}],\r\n editable: true,\r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: true,\r\n reorderable: true,\r\n filterable: false\r\n };\r\n\r\n }\r\n \r\n function loadRebates() {\r\n var makeID = $ctrl.trimSelections.makeID;\r\n var yearID = $ctrl.trimSelections.yearID;\r\n var modelID = $ctrl.trimSelections.modelID ? $ctrl.trimSelections.modelID : 0;\r\n var trimID = $ctrl.trimSelections.trimID ? $ctrl.trimSelections.trimID : 0;\r\n\r\n return busy(\r\n \"Loading Rebates\",\r\n dataEntryService.getDealerRebates($ctrl.selectedDealerId, makeID, yearID, modelID, trimID)\r\n .then((dataRebates) => { \r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: dataRebates, \r\n schema: {\r\n model: {\r\n fields: {\r\n trimFullName: { type: \"string\", editable: false},\r\n leaseRebate: { type: \"number\" , editable: true},\r\n leaseExpirationDate: { type: \"date\", editable: true },\r\n retailRebate: { type: \"number\" , editable: true},\r\n retailExpirationDate: { type: \"date\", editable: true },\r\n balloonRebate: { type: \"number\" , editable: true},\r\n balloonExpirationDate: { type: \"date\", editable: true },\r\n dealerID: { type: \"string\", editable: false},\r\n trimID: { type: \"string\", editable: false},\r\n leaseDealerRebateID: { type: \"string\", editable: false}, \r\n leaseSaleTypeID: { type: \"string\", editable: false},\r\n retailDealerRebateID: { type: \"string\", editable: false},\r\n retailSaleTypeID: { type: \"string\", editable: false},\r\n balloonDealerRebateID: { type: \"string\", editable: false},\r\n balloonSaleTypeID: { type: \"string\", editable: false},\r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: 50\r\n }); \r\n switch (cultureName){\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.esUS:\r\n case cultures.frFR:\r\n $ctrl.kendo.culture(cultureName); \r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS); \r\n break; \r\n }\r\n\r\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date(); \r\n\r\n $ctrl.showQuickAction = false;\r\n $ctrl.kendoGrid = $(\"#gridDataEntryRebates\").data(\"kendoGrid\");\r\n\r\n clearQuickAction(); \r\n })\r\n );\r\n }\r\n\r\n function leaseRebateTemplate(e) {\r\n // Validation Error Indicator\r\n if (!e.leaseExpirationDate) { \r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell = rowChildren.eq(2);\r\n if (e.leaseRebate) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n\r\n if (e.leaseRebate !== null) {\r\n if (e.leaseRebate >= $ctrl.min && e.leaseRebate <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.leaseRebate, 'n0') + \"
\"; \r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.leaseRebate, 'n0') + \"
\";\r\n }\r\n else if (e.leaseExpirationDate) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\";\r\n } \r\n }\r\n\r\n function leaseExpirationDateTemplate(e) {\r\n if (!e.leaseRebate) { \r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell = rowChildren.eq(1);\r\n if (e.leaseExpirationDate) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n\r\n var expirationDate = e.leaseExpirationDate ? e.leaseExpirationDate : '';\r\n var today = new Date();\r\n today.setHours(0,0,0,0); \r\n if (expirationDate) { \r\n var localeDateFilter = $filter('localeDate');\r\n var localeExpirationDate = localeDateFilter(expirationDate);\r\n if (expirationDate < today ) \r\n return \"
\" + localeExpirationDate + \"
\";\r\n else\r\n return \"
\" + localeExpirationDate + \"
\";\r\n }\r\n else if (e.leaseRebate) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\";\r\n }\r\n }\r\n\r\n\r\n function retailRebateTemplate(e) {\r\n // Validation Error Indicator\r\n if (!e.retailExpirationDate) { \r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell = rowChildren.eq(4);\r\n if (e.retailRebate) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n\r\n if (e.retailRebate !== null) {\r\n if (e.retailRebate >= $ctrl.min && e.retailRebate <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.retailRebate, 'n0') + \"
\"; \r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.retailRebate, 'n0') + \"
\";\r\n }\r\n else if (e.retailExpirationDate) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\";\r\n } \r\n }\r\n\r\n function retailExpirationDateTemplate(e) {\r\n if (!e.retailRebate) { \r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell = rowChildren.eq(3);\r\n if (e.retailExpirationDate) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n\r\n var expirationDate = e.retailExpirationDate ? e.retailExpirationDate : '';\r\n var today = new Date();\r\n today.setHours(0,0,0,0);\r\n if (expirationDate) {\r\n var localeDateFilter = $filter('localeDate');\r\n var localeExpirationDate = localeDateFilter(expirationDate);\r\n if (expirationDate < today ) \r\n return \"
\" + localeExpirationDate + \"
\";\r\n else\r\n return \"
\" + localeExpirationDate + \"
\";\r\n }\r\n else if (e.retailRebate) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\";\r\n }\r\n }\r\n\r\n\r\n function balloonRebateTemplate(e) {\r\n // Validation Error Indicator\r\n if (!e.balloonExpirationDate) { \r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell = rowChildren.eq(6);\r\n if (e.balloonRebate) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n\r\n if (e.balloonRebate !== null) {\r\n if (e.balloonRebate >= $ctrl.min && e.balloonRebate <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.balloonRebate, 'n0') + \"
\"; \r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.balloonRebate, 'n0') + \"
\"; \r\n }\r\n else if (e.balloonExpirationDate) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\";\r\n } \r\n }\r\n\r\n function balloonExpirationDateTemplate(e) {\r\n if (!e.balloonRebate) {\r\n var grid = $(\"#gridDataEntryPrices\").data(\"kendoGrid\");\r\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\r\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\r\n var cell = rowChildren.eq(5);\r\n if (e.balloonExpirationDate) {\r\n cell.html(\"
\");\r\n }\r\n else {\r\n cell.html(\"
\");\r\n }\r\n }\r\n\r\n var expirationDate = e.balloonExpirationDate ? e.balloonExpirationDate : '';\r\n var today = new Date();\r\n today.setHours(0,0,0,0);\r\n if (expirationDate) {\r\n var localeDateFilter = $filter('localeDate');\r\n var localeExpirationDate = localeDateFilter(expirationDate);\r\n if (expirationDate < today ) \r\n return \"
\" + localeExpirationDate + \"
\";\r\n else\r\n return \"
\" + localeExpirationDate + \"
\";\r\n }\r\n else if (e.balloonRebate) {\r\n return \"
\";\r\n }\r\n else {\r\n return \"
\";\r\n }\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./data-entry-rates.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport './data-entry-rates.component.scss';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\n\r\nangular.module('AaApp.Opp').component('dataEntryRates', {\r\n templateUrl: '/app/components/data-entry/data-entry-rates.component.html',\r\n controller: DataEntryRatesController,\r\n bindings: {\r\n kendo: '<',\r\n }\r\n});\r\n\r\n\r\nfunction DataEntryRatesController($translate, $scope, $q, $filter, vehicleService, dealerService, dataEntryService, storageService, $uibModal, $document, saleTypes, cultures, logger) {\r\n \"ngInject\";\r\n\r\n const $ctrl = this;\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.onNotifyUnsavedData = onNotifyUnsavedData;\r\n\r\n\r\n $ctrl.isOverAllowanceNotSaved = false;\r\n $ctrl.isMarkUpNotSaved = false;\r\n $ctrl.isUsedRatesNotSaved = false;\r\n $ctrl.currentTab = 1;\r\n \r\n function onNotifyUnsavedData(result) { \r\n if (result.tab == \"markUp\") $ctrl.isMarkUpNotSaved = result.value;\r\n if (result.tab == \"overAllowance\") $ctrl.isOverAllowanceNotSaved = result.value;\r\n if (result.tab == \"usedRates\") $ctrl.isUsedRatesNotSaved = result.value;\r\n }\r\n\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n $ctrl.tabDealerId = $ctrl.selectedDealerId;\r\n\r\n getTranslations();\r\n }\r\n\r\n function getTranslations() { \r\n $q.all({\r\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\r\n 'saveWarningMessage': $translate('saveWarningMessage'),\r\n }).then(function (stuff) {\r\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\r\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\r\n });\r\n }\r\n\r\n\r\n\r\n function onDealerSelect(previousValue) { \r\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\r\n\r\n if ($ctrl.isOverAllowanceNotSaved || $ctrl.isMarkUpNotSaved || $ctrl.isUsedRatesNotSaved) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return $ctrl.saveWarningMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\";\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () { \r\n $ctrl.tabDealerId = $ctrl.selectedDealerId;\r\n $ctrl.isOverAllowanceNotSaved = false;\r\n $ctrl.isMarkUpNotSaved = false;\r\n $ctrl.isUsedRatesNotSaved = false;\r\n })\r\n .catch(function () {\r\n $ctrl.selectedDealerId = previousValue;\r\n });\r\n\r\n }\r\n else { \r\n $ctrl.tabDealerId = $ctrl.selectedDealerId;\r\n }\r\n }\r\n\r\n\r\n\r\n} \r\n","\n/* injects from baggage-loader */\nrequire('./data-entry-alerts.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport './data-entry-alerts.component.scss';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\n\r\nangular.module('AaApp.Opp').component('dataEntryAlerts', {\r\n templateUrl: '/app/components/data-entry/data-entry-alerts.component.html',\r\n controller: DataEntryAlertsController,\r\n bindings: {\r\n kendo: '<',\r\n }\r\n});\r\n\r\nfunction DataEntryAlertsController($translate, $q, vehicleService, dealerService, userService, dataEntryService, storageService,\r\n $uibModal, $document, logger, cultures, $logFactory, modules) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.trimSelections;\r\n $ctrl.setTrimSelections = setTrimSelections;\r\n $ctrl.showQuickAction = false;\r\n $ctrl.onShowQuickAction = onShowQuickAction;\r\n $ctrl.onHideQuickAction = onHideQuickAction;\r\n $ctrl.onPerform = onPerform;\r\n $ctrl.onClear = onClear;\r\n $ctrl.imposeMinMax = imposeMinMax;\r\n $ctrl.showDisabledTooltip = showDisabledTooltip;\r\n \r\n $ctrl.onSave = onSave;\r\n $ctrl.onCancel = onCancel;\r\n $ctrl.kendoGrid = null;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.minTolerance = 50;\r\n $ctrl.maxTolerance = 150;\r\n $ctrl.minMonth = 6;\r\n $ctrl.maxMonth = 99;\r\n //$ctrl.countryId;\r\n $ctrl.cultureName;\r\n\r\n $ctrl.alertLeaseSetTo = null;\r\n $ctrl.alertRetailSetTo = null;\r\n $ctrl.flexAlertLeaseSetTo = null;\r\n $ctrl.flexAlertRetailSetTo = null;\r\n $ctrl.flexMonthSetTo = null;\r\n\r\n $ctrl.isFordAlert = false;\r\n $ctrl.editsDisabledTooltip = null;\r\n $ctrl.gridPageSize = 50;\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n\r\n userService.getUserProfile()\r\n .then(function (userProfile) {\r\n //$ctrl.countryId = userProfile.countryId;\r\n $ctrl.cultureName = userProfile.cultureName;\r\n $ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\r\n getTranslations();\r\n initGridOptions();\r\n onDealerSelect();\r\n })\r\n }\r\n\r\n function getTranslations() {\r\n $q.all({\r\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\r\n 'saveWarningMessage': $translate('saveWarningMessage'),\r\n 'currencySymbol': $translate('currencySymbol'),\r\n 'validationErrorMessage': $translate('validationErrorMessage'),\r\n 'editsDisabledTooltip': $translate('fordToleranceEditsDisabled')\r\n }).then(function (stuff) {\r\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\r\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\r\n $ctrl.currencySymbol = stuff.currencySymbol;\r\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\r\n $ctrl.editsDisabledTooltip = stuff.editsDisabledTooltip;\r\n })\r\n\r\n }\r\n\r\n function showDisabledTooltip() {\r\n if ($ctrl.isFordAlert)\r\n return $ctrl.editsDisabledTooltip;\r\n else\r\n return null;\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(previousValue) {\r\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\r\n\r\n if (isDataDirty()) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return $ctrl.saveWarningMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n return busy(\r\n \"Loading Tolerances\",\r\n $q.all([\r\n vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false),\r\n ]).then((data) => {\r\n $ctrl.selectedMakeId = data[0][0].makeID;\r\n //$ctrl.countryId = data[0][0].countryId;\r\n var currentYear = new Date().getFullYear();\r\n $ctrl.selectedYearId = data[1][0];\r\n if ($ctrl.selectedYearId != currentYear)\r\n $ctrl.selectedYearId = currentYear;\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: data[0][0].makeID,\r\n makeName: data[0][0].makeName,\r\n yearID: $ctrl.selectedYearId,\r\n modelID: null,\r\n modelName: null,\r\n trimID: null,\r\n trimName: null\r\n };\r\n $ctrl.trimSelections = $ctrl.defaults;\r\n $ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\r\n return loadTolerances();\r\n })\r\n );\r\n })\r\n .catch(function () {\r\n $ctrl.selectedDealerId = previousValue;\r\n return false;\r\n });\r\n\r\n }\r\n else\r\n return busy(\r\n \"Loading Tolerances\",\r\n $q.all([\r\n vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false),\r\n ]).then((data) => {\r\n $ctrl.selectedMakeId = data[0][0].makeID;\r\n //$ctrl.countryId = data[0][0].countryId;\r\n var currentYear = new Date().getFullYear();\r\n $ctrl.selectedYearId = data[1][0];\r\n if ($ctrl.selectedYearId != currentYear)\r\n $ctrl.selectedYearId = currentYear;\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: data[0][0].makeID,\r\n makeName: data[0][0].makeName,\r\n yearID: $ctrl.selectedYearId,\r\n modelID: null,\r\n modelName: null,\r\n trimID: null,\r\n trimName: null\r\n };\r\n $ctrl.trimSelections = $ctrl.defaults;\r\n $ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\r\n return loadTolerances();\r\n })\r\n );\r\n }\r\n\r\n function onShowQuickAction() {\r\n $ctrl.showQuickAction = true;\r\n\r\n if (!$ctrl.alertLeaseSetTo)\r\n $ctrl.alertLeaseSetTo = null;\r\n if (!$ctrl.alertRetailSetTo)\r\n $ctrl.alertRetailSetTo = null;\r\n if (!$ctrl.flexAlertLeaseSetTo)\r\n $ctrl.flexAlertLeaseSetTo = null;\r\n if (!$ctrl.flexAlertRetailSetTo)\r\n $ctrl.flexAlertRetailSetTo = null;\r\n if (!$ctrl.flexMonthSetTo)\r\n $ctrl.flexMonthSetTo = null;\r\n }\r\n\r\n function onHideQuickAction() {\r\n $ctrl.showQuickAction = false;\r\n }\r\n\r\n function clearQuickAction() {\r\n $ctrl.alertLeaseSetTo = null;\r\n $ctrl.alertRetailSetTo = null;\r\n $ctrl.flexAlertLeaseSetTo = null;\r\n $ctrl.flexAlertRetailSetTo = null;\r\n $ctrl.flexMonthSetTo = null;\r\n }\r\n\r\n function onPerform(columnName, setToValue) {\r\n if (setToValue && setToValue !== null) {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n row[columnName] = setToValue;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields[columnName] = true;\r\n else\r\n row.dirtyFields = { columnName: true }\r\n });\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n }\r\n\r\n function onClear(columnName) {\r\n var rows = $ctrl.kendoGrid.dataSource.data();\r\n rows.forEach(function (row) {\r\n row.dirty = true;\r\n\r\n switch (columnName) {\r\n case 'leaseAlertTolerance':\r\n row['leaseAlertTolerance'] = row['leaseAlertToleranceDefault']\r\n case 'retailAlertTolerance':\r\n row['retailAlertTolerance'] = row['retailAlertToleranceDefault']\r\n case 'leaseFlexAlertTolerance':\r\n row['leaseFlexAlertTolerance'] = row['leaseFlexAlertToleranceDefault']\r\n case 'retailFlexAlertTolerance':\r\n row['retailFlexAlertTolerance'] = row['retailFlexAlertToleranceDefault']\r\n case 'flexMonthsTolerance':\r\n row['flexMonthsTolerance'] = row['flexMonthsToleranceDefault']\r\n }\r\n\r\n if (row.dirtyFields)\r\n row.dirtyFields[columnName] = true;\r\n else\r\n row.dirtyFields = { columnName: true }\r\n\r\n });\r\n\r\n $ctrl.kendoGrid.refresh();\r\n }\r\n\r\n function imposeMinMax(e) {\r\n if (e.target.value != \"\") {\r\n if (parseInt(e.target.value) < parseInt(e.target.min)) {\r\n e.target.value = e.target.min;\r\n }\r\n if (parseInt(e.target.value) > parseInt(e.target.max)) {\r\n e.target.value = e.target.max;\r\n }\r\n\r\n return parseInt(e.target.value);\r\n }\r\n else {\r\n return null;\r\n }\r\n }\r\n\r\n function onSave() {\r\n\r\n if (!isDataValid()) {\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"validationError\";\r\n },\r\n message: function () {\r\n return $ctrl.validationErrorMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"readyToProcess\";\r\n },\r\n message: function () {\r\n return $ctrl.saveConfirmMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n var rows = $ctrl.kendoGrid.dataSource._data;\r\n var overrides = [];\r\n rows.forEach(function (row) {\r\n\r\n // if any values equal the default set them to null in overrides\r\n row.leaseAlertTolerance = row.leaseAlertTolerance == row.leaseAlertToleranceDefault ? null : row.leaseAlertTolerance;\r\n row.retailAlertTolerance = row.retailAlertTolerance == row.retailAlertToleranceDefault ? null : row.retailAlertTolerance;\r\n row.leaseFlexAlertTolerance = row.leaseFlexAlertTolerance == row.leaseFlexAlertToleranceDefault ? null : row.leaseFlexAlertTolerance;\r\n row.retailFlexAlertTolerance = row.retailFlexAlertTolerance == row.retailFlexAlertToleranceDefault ? null : row.retailFlexAlertTolerance;\r\n row.flexMonthsTolerance = row.flexMonthsTolerance == row.flexMonthsToleranceDefault ? null : row.flexMonthsTolerance;\r\n\r\n // overrides includes all rows from grid. If all tolerance values are null in a row it should be deleted by AlertMiner\r\n overrides.push({\r\n trimID: row.trimID,\r\n leaseAlertTolerance: row.leaseAlertTolerance,\r\n retailAlertTolerance: row.retailAlertTolerance,\r\n leaseFlexAlertTolerance: row.leaseFlexAlertTolerance,\r\n retailFlexAlertTolerance: row.retailFlexAlertTolerance,\r\n flexMonthsTolerance: row.flexMonthsTolerance,\r\n modifiedBy: row.modifiedBy,\r\n modifiedDate: row.modifiedDate,\r\n isModified: row.dirty\r\n });\r\n row.dirty = false;\r\n });\r\n if (overrides.length > 0) {\r\n return updateAlertTolerances(overrides);\r\n } else {\r\n logger.success(\"changesSaved\");\r\n return $q.resolve();\r\n }\r\n })\r\n .catch(function () {\r\n return false;\r\n });\r\n }\r\n\r\n function rowHasOverride(row) {\r\n if ((row.leaseAlertTolerance != null && row.leaseAlertTolerance != row.leaseAlertToleranceDefault) ||\r\n (row.retailAlertTolerance != null && row.retailAlertTolerance != row.retailAlertToleranceDefault) ||\r\n (row.leaseFlexAlertTolerance != null && row.leaseFlexAlertTolerance != row.leaseFlexAlertToleranceDefault) ||\r\n (row.retailFlexAlertTolerance != null && row.retailFlexAlertTolerance != row.retailFlexAlertToleranceDefault) ||\r\n (row.flexMonthsTolerance != null && row.flexMonthsTolerance != row.flexMonthsToleranceDefault)) {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n\r\n function onCancel() {\r\n $ctrl.kendoGrid.cancelChanges();\r\n }\r\n\r\n function updateAlertTolerances(overrides) {\r\n return busy(\r\n \"Saving Tolerances\",\r\n dealerService.UpdateDealerAlertTolerances($ctrl.selectedDealerId, overrides)\r\n .then(function (success) {\r\n logger.success(\"changesSaved\");\r\n return loadTolerances();\r\n }).then(() => {\r\n\r\n }, function (error) {\r\n log.log(error);\r\n })\r\n );\r\n return loadTolerances();\r\n }\r\n\r\n function setTrimSelections(selections) {\r\n\r\n if (isDataDirty()) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return $ctrl.saveWarningMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n $ctrl.trimSelections = selections;\r\n return loadTolerances();\r\n })\r\n .catch(function () {\r\n if (selections.makeID != $ctrl.trimSelections.makeID\r\n || selections.yearID != $ctrl.trimSelections.yearID\r\n || selections.modelID != $ctrl.trimSelections.modelID\r\n || selections.trimID != $ctrl.trimSelections.trimID) {\r\n\r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: $ctrl.trimSelections.makeID,\r\n makeName: $ctrl.trimSelections.makeName,\r\n yearID: $ctrl.trimSelections.yearID,\r\n modelID: $ctrl.trimSelections.modelID,\r\n modelName: $ctrl.trimSelections.modelName,\r\n trimID: $ctrl.trimSelections.trimID,\r\n trimName: $ctrl.trimSelections.trimName\r\n };\r\n }\r\n return;\r\n });\r\n }\r\n else {\r\n $ctrl.trimSelections = selections;\r\n return loadTolerances();\r\n }\r\n }\r\n\r\n function isDataValid() {\r\n if (!$ctrl.kendoGrid)\r\n return true;\r\n var valid = true;\r\n var rows = $ctrl.kendoGrid.dataSource._data;\r\n //rows.forEach(function (row) {\r\n // if ((row.price && !row.expirationDate || !row.price && row.expirationDate)\r\n // || row.price && (row.price < $ctrl.minPrice || row.price > $ctrl.maxPrice))\r\n // valid = false;\r\n //});\r\n return valid;\r\n }\r\n\r\n function isDataDirty() {\r\n if (!$ctrl.kendoGrid)\r\n return false;\r\n var dirty = false;\r\n var rows = $ctrl.kendoGrid.dataSource._data;\r\n for (var i = 0; i < rows.length; i++) {\r\n if (rows[i].dirty) {\r\n dirty = true;\r\n break;\r\n }\r\n }\r\n return dirty;\r\n }\r\n\r\n function initGridOptions() {\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n navigatable: true,\r\n pageable: true,\r\n height: 580,\r\n columns: [\r\n { field: \"trimFullName\", title: \"{{ 'trim' | translate }}\", width: 110, sortable: true },\r\n {\r\n title: \"{{ 'alertsToleranceColHeader' | translate }}\",\r\n headerAttributes: { style: \"text-align: center;\" },\r\n columns: [\r\n {\r\n field: \"leaseAlertTolerance\",\r\n title: \"{{ 'lease' | translate }}\",\r\n template: leaseAlertToleranceTemplate,\r\n editor: toleranceEditor,\r\n format: \"{0:n0}\",\r\n width: 60,\r\n attributes: { style: \"text-align: right\" },\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n {\r\n field: \"retailAlertTolerance\",\r\n title: \"{{ 'retail' | translate }}\",\r\n template: retailAlertToleranceTemplate,\r\n editor: toleranceEditor,\r\n format: \"{0:n0}\",\r\n width: 60,\r\n attributes: { style: \"text-align: right\" },\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n ]\r\n },\r\n {\r\n title: \"{{ 'flexAlertsToleranceColHeader' | translate }}\",\r\n headerAttributes: { style: \"text-align: center;\" },\r\n columns: [\r\n {\r\n field: \"leaseFlexAlertTolerance\",\r\n title: \"{{ 'lease' | translate }}\",\r\n template: leaseFlexAlertToleranceTemplate,\r\n editor: toleranceEditor,\r\n format: \"{0:n0}\",\r\n width: 60,\r\n attributes: { style: \"text-align: right\" },\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n {\r\n field: \"retailFlexAlertTolerance\",\r\n title: \"{{ 'retail' | translate }}\",\r\n template: retailFlexAlertToleranceTemplate,\r\n editor: toleranceEditor,\r\n format: \"{0:n0}\",\r\n width: 60,\r\n attributes: { style: \"text-align: right\" },\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n ]\r\n },\r\n {\r\n field: \"flexMonthsTolerance\",\r\n title: \"{{ 'flexMonthTolerance' | translate }}\",\r\n template: flexMonthsToleranceTemplate,\r\n editor: monthEditor,\r\n format: \"{0:n0}\",\r\n width: 60,\r\n attributes: { style: \"text-align: right\" },\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n ],\r\n editable: !$ctrl.isFordAlert,\r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: true,\r\n reorderable: false,\r\n filterable: false\r\n }\r\n }\r\n\r\n function mockGetDealerTolerances(dealerId, makeId, year, modelId, trimId) {\r\n var result = [\r\n {\r\n trimID: 454559,\r\n trimFullName: \"A 220W\",\r\n\r\n leaseAlertToleranceOverride: null,\r\n retailAlertToleranceOverride: null,\r\n leaseFlexAlertToleranceOverride: null,\r\n retailFlexAlertToleranceOverride: null,\r\n flexMonthsToleranceOverride: null,\r\n\r\n leaseAlertToleranceDefault: 120,\r\n retailAlertToleranceDefault: 120,\r\n leaseFlexAlertToleranceDefault: 110,\r\n retailFlexAlertToleranceDefault: 110,\r\n flexMonthsToleranceDefault: 12,\r\n modifiedDate: \"2019-07-15T22:44:03.313Z\",\r\n modifiedBy: 150092819\r\n\r\n },\r\n {\r\n trimID: 454560,\r\n trimFullName: \"A 220W 4MATIC\",\r\n\r\n leaseAlertToleranceOverride: null,\r\n retailAlertToleranceOverride: null,\r\n leaseFlexAlertToleranceOverride: null,\r\n retailFlexAlertToleranceOverride: null,\r\n flexMonthsToleranceOverride: 48,\r\n\r\n leaseAlertToleranceDefault: 120,\r\n retailAlertToleranceDefault: 120,\r\n leaseFlexAlertToleranceDefault: 110,\r\n retailFlexAlertToleranceDefault: 110,\r\n flexMonthsToleranceDefault: 12,\r\n modifiedDate: \"2019-07-15T22:44:03.313Z\",\r\n modifiedBy: 150092819\r\n }\r\n ];\r\n\r\n return Promise.resolve(result);\r\n }\r\n\r\n function loadTolerances() {\r\n var makeID = $ctrl.trimSelections.makeID;\r\n var yearID = $ctrl.trimSelections.yearID;\r\n var modelID = $ctrl.trimSelections.modelID ? $ctrl.trimSelections.modelID : 0;\r\n var trimID = $ctrl.trimSelections.trimID ? $ctrl.trimSelections.trimID : 0;\r\n\r\n return busy(\r\n \"Loading Tolerances\",\r\n //mockGetDealerTolerances($ctrl.selectedDealerId, makeID, yearID, modelID, trimID)\r\n dealerService.getDealerAlertTolerances($ctrl.selectedDealerId, makeID, yearID, modelID, trimID)\r\n .then((dataTolerances) => {\r\n\r\n $ctrl.kendoGrid = $(\"#gridDataEntryAlerts\").data(\"kendoGrid\");\r\n $ctrl.kendoGrid.setOptions({\r\n editable: !$ctrl.isFordAlert\r\n });\r\n\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: dataTolerances,\r\n schema: {\r\n model: {\r\n fields: {\r\n trimFullName: { type: \"string\", editable: false },\r\n leaseAlertTolerance: { type: \"number\", editable: true },\r\n retailAlertTolerance: { type: \"number\", editable: true },\r\n leaseFlexAlertTolerance: { type: \"number\", editable: true },\r\n retailFlexAlertTolerance: { type: \"number\", editable: true },\r\n flexMonthsTolerance: { type: \"number\", editable: true },\r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: $ctrl.gridPageSize\r\n });\r\n\r\n switch ($ctrl.cultureName) {\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.frFR:\r\n case cultures.esUS:\r\n $ctrl.kendo.culture($ctrl.cultureName);\r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS);\r\n break;\r\n }\r\n\r\n $ctrl.showQuickAction = false;\r\n clearQuickAction();\r\n })\r\n );\r\n }\r\n\r\n function toleranceEditor(container, options) {\r\n $('')\r\n .appendTo(container)\r\n .kendoNumericTextBox({\r\n decimals: 0,\r\n min: $ctrl.minTolerance,\r\n max: $ctrl.maxTolerance,\r\n restrictDecimals: true,\r\n format: \"n0\"\r\n });\r\n }\r\n\r\n function monthEditor(container, options) {\r\n $('')\r\n .appendTo(container)\r\n .kendoNumericTextBox({\r\n decimals: 0,\r\n min: $ctrl.minMonth,\r\n max: $ctrl.maxMonth,\r\n restrictDecimals: true,\r\n format: \"n0\"\r\n });\r\n }\r\n\r\n function leaseAlertToleranceTemplate(e) {\r\n\r\n if (!e.leaseAlertTolerance) {\r\n if (!e.initAlertLeaseSet) {\r\n e.initAlertLeaseSet = true;\r\n e.leaseAlertTolerance = e.leaseAlertToleranceOverride != null ? e.leaseAlertToleranceOverride : e.leaseAlertToleranceDefault;\r\n }\r\n else\r\n e.leaseAlertTolerance = e.leaseAlertToleranceDefault;\r\n }\r\n\r\n if (e.leaseAlertTolerance >= $ctrl.minTolerance && e.leaseAlertTolerance <= $ctrl.maxTolerance) {\r\n var isBold = (e.leaseAlertTolerance != e.leaseAlertToleranceDefault);\r\n var classes = \"edit-box\";\r\n if (isBold)\r\n classes = classes + \" override\";\r\n return \"
\" + $ctrl.kendo.toString(e.leaseAlertTolerance / 100, 'p0') + \"
\";\r\n }\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.leaseAlertTolerance / 100, 'p0') + \"
\";\r\n }\r\n\r\n function retailAlertToleranceTemplate(e) {\r\n if (!e.retailAlertTolerance) {\r\n if (!e.initAlertRetailSet) {\r\n e.initAlertRetailSet = true;\r\n e.retailAlertTolerance = e.retailAlertToleranceOverride != null ? e.retailAlertToleranceOverride : e.retailAlertToleranceDefault;\r\n }\r\n else\r\n e.retailAlertTolerance = e.retailAlertToleranceDefault;\r\n }\r\n\r\n if (e.retailAlertTolerance >= $ctrl.minTolerance && e.retailAlertTolerance <= $ctrl.maxTolerance) {\r\n var isBold = (e.retailAlertTolerance != e.retailAlertToleranceDefault);\r\n var classes = \"edit-box\";\r\n if (isBold)\r\n classes = classes + \" override\";\r\n return \"
\" + $ctrl.kendo.toString(e.retailAlertTolerance / 100, 'p0') + \"
\";\r\n }\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.retailAlertTolerance / 100, 'p0') + \"
\";\r\n }\r\n\r\n function leaseFlexAlertToleranceTemplate(e) {\r\n if (!e.leaseFlexAlertTolerance) {\r\n if (!e.initFlexAlertLeaseSet) {\r\n e.initFlexAlertLeaseSet = true;\r\n e.leaseFlexAlertTolerance = e.leaseFlexAlertToleranceOverride != null ? e.leaseFlexAlertToleranceOverride : e.leaseFlexAlertToleranceDefault;\r\n }\r\n else\r\n e.leaseFlexAlertTolerance = e.leaseFlexAlertToleranceDefault;\r\n }\r\n\r\n if (e.leaseFlexAlertTolerance >= $ctrl.minTolerance && e.leaseFlexAlertTolerance <= $ctrl.maxTolerance) {\r\n var isBold = (e.leaseFlexAlertTolerance != e.leaseFlexAlertToleranceDefault);\r\n var classes = \"edit-box\";\r\n if (isBold)\r\n classes = classes + \" override\";\r\n return \"
\" + $ctrl.kendo.toString(e.leaseFlexAlertTolerance / 100, 'p0') + \"
\";\r\n }\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.leaseFlexAlertTolerance / 100, 'p0') + \"
\";\r\n }\r\n\r\n function retailFlexAlertToleranceTemplate(e) {\r\n if (!e.retailFlexAlertTolerance) {\r\n if (!e.initFlexAlertRetailSet) {\r\n e.initFlexAlertRetailSet = true;\r\n e.retailFlexAlertTolerance = e.retailFlexAlertToleranceOverride != null ? e.retailFlexAlertToleranceOverride : e.retailFlexAlertToleranceDefault;\r\n }\r\n else\r\n e.retailFlexAlertTolerance = e.retailFlexAlertToleranceDefault;\r\n }\r\n\r\n if (e.retailFlexAlertTolerance >= $ctrl.minTolerance && e.retailFlexAlertTolerance <= $ctrl.maxTolerance) {\r\n var isBold = (e.retailFlexAlertTolerance != e.retailFlexAlertToleranceDefault);\r\n var classes = \"edit-box\";\r\n if (isBold)\r\n classes = classes + \" override\";\r\n return \"
\" + $ctrl.kendo.toString(e.retailFlexAlertTolerance / 100, 'p0') + \"
\";\r\n }\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.retailFlexAlertTolerance / 100, 'p0') + \"
\";\r\n }\r\n\r\n function flexMonthsToleranceTemplate(e) {\r\n if (!e.flexMonthsTolerance) {\r\n if (!e.initFlexMonthSet) {\r\n e.initFlexMonthSet = true;\r\n e.flexMonthsTolerance = e.flexMonthsToleranceOverride != null ? e.flexMonthsToleranceOverride : e.flexMonthsToleranceDefault;\r\n }\r\n else\r\n e.flexMonthsTolerance = e.flexMonthsToleranceDefault;\r\n }\r\n\r\n if (e.flexMonthsTolerance >= $ctrl.minMonth && e.flexMonthsTolerance <= $ctrl.maxMonth) {\r\n var isBold = (e.flexMonthsTolerance != e.flexMonthsToleranceDefault);\r\n var classes = \"edit-box\";\r\n if (isBold)\r\n classes = classes + \" override\";\r\n return \"
\" + $ctrl.kendo.toString(e.flexMonthsTolerance, 'n0') + \"
\";\r\n }\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.flexMonthsTolerance, 'n0') + \"
\";\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./data-entry-rates-rate-mark-ups.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\n\r\nangular.module('AaApp.Opp').component('dataEntryRatesRateMarkUp', {\r\n templateUrl: '/app/components/data-entry/data-entry-rates-rate-mark-ups.component.html',\r\n controller: DataEntryRatesRateMarkUpController,\r\n bindings: {\r\n kendo: '<',\r\n dealerId: '<',\r\n onNotifyUnsavedData: '&',\r\n }\r\n});\r\n\r\n\r\nfunction DataEntryRatesRateMarkUpController($translate, $q, dataEntryService, storageService, userService, dealerCountries, \r\n $uibModal, $document, cultures, logger, $logFactory) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.onDealerSelect = onDealerSelect; \r\n \r\n $ctrl.onSave = onSave;\r\n $ctrl.onCancel = onCancel;\r\n $ctrl.kendoGrid = getKendoGrid;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n\r\n // For USA\r\n $ctrl.minStdLease = 0;\r\n $ctrl.maxStdLease = 0.01;\r\n\r\n //For Others\r\n $ctrl.minStdAprLease = 0;\r\n $ctrl.maxStdAprLease = 24;\r\n\r\n\r\n $ctrl.minStdAprRetail = 0;\r\n $ctrl.maxStdAprRetail = 20;\r\n\r\n $ctrl.countryId;\r\n $ctrl.cultureName;\r\n\r\n $ctrl.moneyFactorCheck = false;\r\n\r\n function onChanges(changes) {\r\n if (changes && changes.dealerId) {\r\n if (changes.dealerId.currentValue) {\r\n $ctrl.selectedDealerId = changes.dealerId.currentValue;\r\n getTranslations();\r\n onDealerSelect();\r\n }\r\n }\r\n }\r\n\r\n\r\n function init() { \r\n userService.getUserProfile()\r\n .then(function (userProfile) {\r\n $ctrl.countryId = userProfile.countryId;\r\n $ctrl.cultureName = userProfile.cultureName;\r\n $ctrl.moneyFactorCheck = ($ctrl.countryId == dealerCountries.usa);\r\n });\r\n }\r\n\r\n function getTranslations() {\r\n $q.all({\r\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\r\n 'saveWarningMessage': $translate('saveWarningMessage'),\r\n 'validationErrorMessage': $translate('validationErrorMessage'),\r\n 'bankMake': $translate('bankMake'),\r\n 'stdLeaseRateMarkUp': $translate('standardLease'),\r\n 'stdRetailRateMarkUp': $translate('standardRetail'),\r\n 'specLeaselRateMarkUp': $translate('specialLease'),\r\n 'cpoRateMarkUp': $translate('cpoRate'),\r\n 'specRetailRateMarkUp': $translate('specialRetail'),\r\n }).then(function (stuff) {\r\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\r\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\r\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\r\n $ctrl.bankMake = stuff.bankMake;\r\n $ctrl.stdLeaseRateMarkUp = stuff.stdLeaseRateMarkUp;\r\n $ctrl.stdRetailRateMarkUp = stuff.stdRetailRateMarkUp;\r\n $ctrl.specLeaselRateMarkUp = stuff.specLeaselRateMarkUp;\r\n $ctrl.cpoRateMarkUp = stuff.cpoRateMarkUp;\r\n $ctrl.specRetailRateMarkUp = stuff.specRetailRateMarkUp;\r\n\r\n initGridOptions();\r\n });\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(previousValue) {\r\n return loadRates();\r\n }\r\n\r\n\r\n function onSave() { \r\n if (!isDataValid()) {\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"validationError\";\r\n },\r\n message: function () {\r\n return $ctrl.validationErrorMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\";\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"readyToProcess\";\r\n },\r\n message: function () {\r\n return $ctrl.saveConfirmMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\";\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n var dirtyRows = [];\r\n \r\n rows.forEach(function (row) {\r\n if (row.dirty) {\r\n dirtyRows.push({ \r\n stdLeaseRateMarkUp: setLeaseAmount(row.stdLeaseRateMarkUp),\r\n stdRetailRateMarkUp: setRetailCPOAmount(row.stdRetailRateMarkUp),\r\n specLeaselRateMarkUp: setLeaseAmount(row.specLeaselRateMarkUp),\r\n specRetailRateMarkUp: setRetailCPOAmount(row.specRetailRateMarkUp),\r\n cpoRateMarkUp: setRetailCPOAmount(row.cpoRateMarkUp),\r\n bankID: row.bankID,\r\n dealerMakeRegionID: row.dealerMakeRegionID,\r\n dealerMakeRegion_DealerMakeRegionID: row.dealerMakeRegion_DealerMakeRegionID,\r\n makeID: row.makeID,\r\n makeName: row.makeName,\r\n });\r\n row.dirty = false;\r\n }\r\n }); \r\n if (dirtyRows.length > 0) {\r\n return updateDealerRateMarkUps(dirtyRows);\r\n } else {\r\n logger.success(\"changesSaved\");\r\n return $q.resolve();\r\n }\r\n })\r\n .catch(function () {\r\n return false;\r\n });\r\n }\r\n\r\n function setRetailCPOAmount(amount) {\r\n if (!amount)\r\n return 0;\r\n else\r\n return amount;\r\n }\r\n\r\n\r\n function setLeaseAmount(amount) {\r\n\r\n if (!amount) return 0;\r\n\r\n if (!$ctrl.moneyFactorCheck && amount) {\r\n return amount / 2400;\r\n }\r\n else\r\n return amount;\r\n }\r\n\r\n\r\n function onCancel() { \r\n $ctrl.kendoGrid().cancelChanges();\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"markUp\", value: false } });\r\n }\r\n\r\n\r\n\r\n function updateDealerRateMarkUps(rates) {\r\n return busy(\r\n \"Saving Rates\",\r\n dataEntryService.updateDealerRateMarkUps(rates)\r\n .then(function (success) {\r\n logger.success(\"changesSaved\");\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"markUp\", value: false } });\r\n return loadRates();\r\n }).then(() => {\r\n\r\n }, function (error) {\r\n log.log(error);\r\n })\r\n );\r\n }\r\n\r\n\r\n\r\n function isDataValid() {\r\n if (!$ctrl.kendoGrid())\r\n return true;\r\n var valid = true;\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n rows.forEach(function (row) {\r\n if ($ctrl.moneyFactorCheck) {\r\n if ((row.stdLeaseRateMarkUp && row.stdLeaseRateMarkUp < $ctrl.minStdLease) || (row.stdLeaseRateMarkUp && row.stdLeaseRateMarkUp > $ctrl.maxStdLease) ||\r\n (row.specLeaselRateMarkUp && row.specLeaselRateMarkUp < $ctrl.minStdLease) || (row.specLeaselRateMarkUp && row.specLeaselRateMarkUp > $ctrl.maxStdLease))\r\n valid = false;\r\n }\r\n else {\r\n if ((row.stdLeaseRateMarkUp && row.stdLeaseRateMarkUp < $ctrl.minStdAprLease) || (row.stdLeaseRateMarkUp && row.stdLeaseRateMarkUp > $ctrl.maxStdAprLease) ||\r\n (row.specLeaselRateMarkUp && row.specLeaselRateMarkUp < $ctrl.minStdAprLease) || (row.specLeaselRateMarkUp && row.specLeaselRateMarkUp > $ctrl.maxStdAprLease))\r\n valid = false;\r\n }\r\n\r\n\r\n if ((row.stdRetailRateMarkUp && row.stdRetailRateMarkUp < $ctrl.minStdAprRetail) || (row.stdRetailRateMarkUp && row.stdRetailRateMarkUp > $ctrl.maxStdAprRetail) ||\r\n (row.specRetailRateMarkUp && row.specRetailRateMarkUp < $ctrl.minStdAprRetail) || (row.specRetailRateMarkUp && row.specRetailRateMarkUp > $ctrl.maxStdAprRetail) ||\r\n (row.cpoRateMarkUp && row.cpoRateMarkUp < $ctrl.minStdAprRetail) || (row.cpoRateMarkUp && row.cpoRateMarkUp > $ctrl.maxStdAprRetail))\r\n valid = false;\r\n\r\n });\r\n return valid;\r\n }\r\n\r\n function isDataDirty() {\r\n if (!$ctrl.kendoGrid())\r\n return false;\r\n var dirty = false;\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.dirty)\r\n dirty = true;\r\n });\r\n return dirty;\r\n }\r\n\r\n function initGridOptions() {\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n navigatable: true,\r\n pageable: false,\r\n height: 330,\r\n columns: [\r\n {\r\n field: \"bankName\",\r\n template: bankMakeTemplate,\r\n sortable: {\r\n compare: bankMakeSorting\r\n },\r\n title: $ctrl.bankMake, width: 100\r\n },\r\n {\r\n field: \"stdLeaseRateMarkUp\",\r\n template: stdLeaseRateMarkUpTemplate, title: $ctrl.stdLeaseRateMarkUp, editor: numericEditor5, width: 50, \r\n headerAttributes: { \"class\": \"align-right\" }\r\n },\r\n { field: \"stdRetailRateMarkUp\", template: stdRetailRateMarkUpTemplate, title: $ctrl.stdRetailRateMarkUp, width: 50, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"specLeaselRateMarkUp\", template: specLeaselRateMarkUpTemplate, title: $ctrl.specLeaselRateMarkUp, editor: numericEditor5, width: 50, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"specRetailRateMarkUp\", template: specRetailRateMarkUpTemplate, title: $ctrl.specRetailRateMarkUp, width: 50, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"cpoRateMarkUp\", template: cpoRateMarkUpTemplate, title: $ctrl.cpoRateMarkUp, width: 50, headerAttributes: { \"class\": \"align-right\" } }\r\n ], \r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: false,\r\n reorderable: true,\r\n filterable: false,\r\n editable: \"incell\",\r\n cellClose: function (e) {\r\n if (isDataDirty()) {\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"markUp\", value: true } });\r\n }\r\n }\r\n };\r\n\r\n }\r\n\r\n\r\n function numericEditor5(container, options) {\r\n $('')\r\n .appendTo(container)\r\n .kendoNumericTextBox({\r\n format: \"n5\",\r\n decimals: 5\r\n });\r\n }\r\n\r\n\r\n function bankMakeSorting(a, b) {\r\n if (a.bankName > b.bankName)\r\n return 1;\r\n else\r\n return -1;\r\n }\r\n\r\n\r\n function bankMakeTemplate(e) {\r\n return e.bankName + \" - \" + e.makeName;\r\n }\r\n\r\n function stdLeaseRateMarkUpTemplate(e) {\r\n if (!e.stdLeaseRateMarkUp)\r\n {\r\n if (e.stdLeaseRateMarkUp == 0)\r\n {\r\n if ($ctrl.moneyFactorCheck)\r\n return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n0') + \"
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n0') + \"%
\";\r\n } \r\n else\r\n return \"
\";\r\n } \r\n else { \r\n if ($ctrl.moneyFactorCheck) {\r\n if (e.stdLeaseRateMarkUp >= $ctrl.minStdLease && e.stdLeaseRateMarkUp <= $ctrl.maxStdLease)\r\n return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n5') + \"
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n5') + \"
\";\r\n }\r\n else {\r\n if (e.stdLeaseRateMarkUp >= $ctrl.minStdAprLease && e.stdLeaseRateMarkUp <= $ctrl.maxStdAprLease)\r\n return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n2') + \"%
\";\r\n }\r\n }\r\n }\r\n\r\n\r\n function stdRetailRateMarkUpTemplate(e) {\r\n if (!e.stdRetailRateMarkUp)\r\n {\r\n if (e.stdRetailRateMarkUp == 0)\r\n return \"
\" + $ctrl.kendo.toString(e.stdRetailRateMarkUp, 'n0') + \"%
\";\r\n else\r\n return \"
\";\r\n }\r\n else {\r\n if (e.stdRetailRateMarkUp >= $ctrl.minStdAprRetail && e.stdRetailRateMarkUp <= $ctrl.maxStdAprRetail)\r\n return \"
\" + $ctrl.kendo.toString(e.stdRetailRateMarkUp, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.stdRetailRateMarkUp, 'n2') + \"%
\";\r\n }\r\n }\r\n\r\n function specLeaselRateMarkUpTemplate(e) {\r\n if (!e.specLeaselRateMarkUp)\r\n {\r\n if (e.specLeaselRateMarkUp == 0)\r\n {\r\n if ($ctrl.moneyFactorCheck)\r\n return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n0') + \"
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n0') + \"%
\";\r\n } \r\n else\r\n return \"
\";\r\n }\r\n else {\r\n if ($ctrl.moneyFactorCheck) {\r\n if (e.specLeaselRateMarkUp >= $ctrl.minStdLease && e.specLeaselRateMarkUp <= $ctrl.maxStdLease)\r\n return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n5') + \"
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n5') + \"
\";\r\n }\r\n else {\r\n if (e.specLeaselRateMarkUp >= $ctrl.minStdAprLease && e.specLeaselRateMarkUp <= $ctrl.maxStdAprLease)\r\n return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n2') + \"%
\";\r\n }\r\n }\r\n }\r\n\r\n function specRetailRateMarkUpTemplate(e) {\r\n if (!e.specRetailRateMarkUp)\r\n {\r\n if (e.specRetailRateMarkUp == 0)\r\n return \"
\" + $ctrl.kendo.toString(e.specRetailRateMarkUp, 'n0') + \"%
\";\r\n else\r\n return \"
\";\r\n }\r\n else {\r\n if (e.specRetailRateMarkUp >= $ctrl.minStdAprRetail && e.specRetailRateMarkUp <= $ctrl.maxStdAprRetail)\r\n return \"
\" + $ctrl.kendo.toString(e.specRetailRateMarkUp, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.specRetailRateMarkUp, 'n2') + \"%
\";\r\n }\r\n }\r\n\r\n function cpoRateMarkUpTemplate(e) {\r\n if (!e.cpoRateMarkUp)\r\n {\r\n if (e.cpoRateMarkUp == 0)\r\n return \"
\" + $ctrl.kendo.toString(e.cpoRateMarkUp, 'n0') + \"%
\";\r\n else\r\n return \"
\";\r\n }\r\n else {\r\n if (e.cpoRateMarkUp >= $ctrl.minStdAprRetail && e.cpoRateMarkUp <= $ctrl.maxStdAprRetail)\r\n return \"
\" + $ctrl.kendo.toString(e.cpoRateMarkUp, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.cpoRateMarkUp, 'n2') + \"%
\";\r\n }\r\n }\r\n\r\n\r\n function processData(data) {\r\n if (!$ctrl.moneyFactorCheck) {\r\n data.forEach(function (item, index, arr) {\r\n if (item.specLeaselRateMarkUp) arr[index].specLeaselRateMarkUp = item.specLeaselRateMarkUp * 2400;\r\n if (item.stdLeaseRateMarkUp) arr[index].stdLeaseRateMarkUp = item.stdLeaseRateMarkUp * 2400;\r\n });\r\n } \r\n return data;\r\n }\r\n\r\n\r\n\r\n\r\n function loadRates() {\r\n\r\n return busy(\r\n \"Loading Rates\",\r\n dataEntryService.getRateMarkUps($ctrl.selectedDealerId)\r\n .then((data) => { \r\n var markupData = processData(data);\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: markupData,\r\n schema: {\r\n model: {\r\n fields: {\r\n bankMake: { type: \"string\", editable: false },\r\n stdLeaseRateMarkUp: { type: \"number\", editable: true },\r\n stdRetailRateMarkUp: { type: \"number\", editable: true },\r\n specLeaselRateMarkUp: { type: \"number\", editable: true },\r\n specRetailRateMarkUp: { type: \"number\", editable: true },\r\n cpoRateMarkUp: { type: \"number\", editable: true },\r\n bankID: { type: \"string\", editable: false },\r\n dealerMakeRegionID: { type: \"string\", editable: false },\r\n dealerMakeRegion_DealerMakeRegionID: { type: \"string\", editable: false },\r\n makeID: { type: \"string\", editable: false },\r\n makeName: { type: \"string\", editable: false },\r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: 50\r\n });\r\n\r\n switch (cultureName) {\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.esUS:\r\n $ctrl.kendo.culture(cultureName);\r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS);\r\n break;\r\n }\r\n\r\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date();\r\n \r\n //$ctrl.kendoGrid = $(\"#gridDataEntryRateMarkUps\").data(\"kendoGrid\");\r\n\r\n })\r\n );\r\n }\r\n\r\n function getKendoGrid() {\r\n return $(\"#gridDataEntryRateMarkUps\").data(\"kendoGrid\");\r\n }\r\n} \r\n","\n/* injects from baggage-loader */\nrequire('./data-entry-rates-over-allowance.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\n\r\nangular.module('AaApp.Opp').component('dataEntryRatesOverAllowance', {\r\n templateUrl: '/app/components/data-entry/data-entry-rates-over-allowance.component.html',\r\n controller: DataEntryRatesOverAllowanceController,\r\n bindings: {\r\n kendo: '<',\r\n dealerId: '<',\r\n onNotifyUnsavedData: '&',\r\n }\r\n});\r\n\r\n\r\nfunction DataEntryRatesOverAllowanceController($translate, $q, dataEntryService, storageService, \r\n $uibModal, $document, cultures, logger, $logFactory) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.trimSelections;\r\n\r\n $ctrl.onSave = onSave;\r\n $ctrl.onCancel = onCancel;\r\n $ctrl.kendoGrid = getKendoGrid;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n\r\n $ctrl.min = 80;\r\n $ctrl.max = 200;\r\n\r\n\r\n\r\n function onChanges(changes) {\r\n if (changes && changes.dealerId) {\r\n if (changes.dealerId.currentValue) {\r\n $ctrl.selectedDealerId = changes.dealerId.currentValue;\r\n getTranslations();\r\n onDealerSelect();\r\n } \r\n }\r\n }\r\n\r\n\r\n function init() { \r\n }\r\n\r\n function getTranslations() {\r\n $q.all({\r\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\r\n 'saveWarningMessage': $translate('saveWarningMessage'),\r\n 'validationErrorMessage': $translate('validationErrorMessage'),\r\n 'lease': $translate('lease'),\r\n 'retail': $translate('retail'),\r\n 'balloon': $translate('balloon'),\r\n 'expireOn': $translate('expireOn'),\r\n 'tier': $translate('tier'),\r\n 'bankMake': $translate('bankMake'),\r\n }).then(function (stuff) {\r\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\r\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\r\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\r\n $ctrl.lease = stuff.lease;\r\n $ctrl.retail = stuff.retail;\r\n $ctrl.balloon = stuff.balloon;\r\n $ctrl.expireOn = stuff.expireOn;\r\n $ctrl.tier = stuff.tier;\r\n $ctrl.bankMake = stuff.bankMake;\r\n\r\n initGridOptions();\r\n });\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(previousValue) {\r\n return loadOverAllowance();\r\n }\r\n\r\n\r\n function onSave() { \r\n\r\n if (!isDataValid()) {\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"validationError\";\r\n },\r\n message: function () {\r\n return $ctrl.validationErrorMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\";\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"readyToProcess\";\r\n },\r\n message: function () {\r\n return $ctrl.saveConfirmMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\";\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n var dirtyRows = [];\r\n\r\n rows.forEach(function (row) {\r\n if (row.dirty) {\r\n dirtyRows.push({\r\n id: row.id,\r\n tier: row.tier,\r\n bankId: row.bankId,\r\n bankName: row.bankName,\r\n leaseAllowance: Math.round(row.lease),\r\n isLeaseAllowanceChanged: (row.dirtyFields.lease == true),\r\n retailAllowance: Math.round(row.retail),\r\n isRetailAllowanceChanged: (row.dirtyFields.retail == true),\r\n balloonAllowance: Math.round(row.balloon),\r\n isBalloonAllowanceChanged: (row.dirtyFields.balloon == true),\r\n makeID: row.makeID,\r\n makeName: row.makeName,\r\n });\r\n row.dirty = false;\r\n }\r\n });\r\n if (dirtyRows.length > 0) {\r\n return updateDealerOverAllowance(dirtyRows);\r\n } else {\r\n logger.success(\"changesSaved\");\r\n return $q.resolve();\r\n }\r\n })\r\n .catch(function () {\r\n return false;\r\n });\r\n }\r\n\r\n function onCancel() {\r\n $ctrl.kendoGrid().cancelChanges();\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"overAllowance\", value: false } });\r\n }\r\n\r\n\r\n\r\n function updateDealerOverAllowance(overAllowance) {\r\n return busy(\r\n \"Saving\",\r\n dataEntryService.updateDealerOverAllowance(overAllowance)\r\n .then(function (success) {\r\n logger.success(\"changesSaved\");\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"overAllowance\", value: false } });\r\n return loadOverAllowance();\r\n }).then(() => {\r\n\r\n }, function (error) {\r\n log.log(error);\r\n })\r\n );\r\n }\r\n\r\n\r\n\r\n function isDataValid() { \r\n if (!$ctrl.kendoGrid())\r\n return true;\r\n var valid = true;\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n rows.forEach(function (row) {\r\n if ((row.lease && row.lease < $ctrl.min) || (row.lease && row.lease > $ctrl.max) ||\r\n (row.retail && row.retail < $ctrl.min) || (row.retail && row.retail > $ctrl.max) ||\r\n (row.balloon && row.balloon < $ctrl.min) || (row.balloon && row.balloon > $ctrl.max))\r\n valid = false;\r\n });\r\n return valid;\r\n }\r\n\r\n function isDataDirty() {\r\n if (!$ctrl.kendoGrid())\r\n return false;\r\n var dirty = false;\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.dirty)\r\n dirty = true;\r\n });\r\n return dirty;\r\n }\r\n\r\n function initGridOptions() {\r\n\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n navigatable: true,\r\n pageable: false,\r\n height: 330,\r\n columns: [\r\n {\r\n field: \"bankName\", template: BankMakeTemplate, title: $ctrl.bankMake, width: 100,\r\n sortable: {\r\n compare: bankMakeSorting\r\n },\r\n editable: false\r\n },\r\n { field: \"tier\", title: $ctrl.tier, width: 10, sortable: true },\r\n { field: \"lease\", template: LeaseTemplate, title: $ctrl.lease, editor: allowanceEditor, width: 50, sortable: true, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"retail\", template: RetailTemplate, title: $ctrl.retail, editor: allowanceEditor, width: 50, sortable: true, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"balloon\", template: BalloonTemplate, title: $ctrl.balloon, editor: allowanceEditor, width: 50, sortable: true, headerAttributes: { \"class\": \"align-right\" } },\r\n ], \r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: false,\r\n reorderable: true,\r\n filterable: false,\r\n editable: \"incell\",\r\n cellClose: function (e) {\r\n if (isDataDirty()) {\r\n $ctrl.onNotifyUnsavedData({result: { tab: \"overAllowance\", value: true }});\r\n }\r\n }\r\n };\r\n\r\n }\r\n\r\n function allowanceEditor(container, options) {\r\n $('')\r\n .appendTo(container)\r\n .kendoNumericTextBox({\r\n decimals: 0,\r\n min: $ctrl.min,\r\n max: $ctrl.max,\r\n restrictDecimals: true,\r\n format: \"n0\"\r\n });\r\n }\r\n\r\n function bankMakeSorting(a, b) {\r\n if (a.bankName > b.bankName)\r\n return 1;\r\n else\r\n return -1;\r\n }\r\n\r\n function LeaseTemplate(e) { \r\n if (!e.lease) {\r\n if (!e.initLeaseSet) {\r\n e.initLeaseSet = true;\r\n e.lease = e.leaseAllowance != null ? e.leaseAllowance : e.leaseAllowanceBankDefault;\r\n }\r\n else\r\n e.lease = e.leaseAllowanceBankDefault; \r\n }\r\n\r\n var isBold = (e.lease != e.leaseAllowanceBankDefault);\r\n\r\n if (e.lease >= $ctrl.min && e.lease <= $ctrl.max) {\r\n if (isBold) \r\n return \"
\" + $ctrl.kendo.toString(e.lease, 'n0') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.lease, 'n0') + \"%
\";\r\n }\r\n \r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.lease, 'n0') + \"%
\";\r\n \r\n }\r\n\r\n function RetailTemplate(e) {\r\n if (!e.retail) {\r\n\r\n if (!e.initRetailSet) {\r\n e.initRetailSet = true;\r\n e.retail = e.retailAllowance != null ? e.retailAllowance : e.retailAllowanceBankDefault;\r\n }\r\n else\r\n e.retail = e.retailAllowanceBankDefault;\r\n }\r\n\r\n var isBold = (e.retail != e.retailAllowanceBankDefault);\r\n\r\n if (e.retail >= $ctrl.min && e.retail <= $ctrl.max)\r\n if (isBold)\r\n return \"
\" + $ctrl.kendo.toString(e.retail, 'n0') + \"%
\";\r\n else \r\n return \"
\" + $ctrl.kendo.toString(e.retail, 'n0') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.retail, 'n0') + \"%
\"; \r\n }\r\n\r\n\r\n function BalloonTemplate(e) {\r\n if (!e.balloon) {\r\n if (!e.initBalloonSet) {\r\n e.initBalloonSet = true;\r\n e.balloon = e.balloonAllowance != null ? e.balloonAllowance : e.balloonAllowanceBankDefault;\r\n }\r\n else\r\n e.balloon = e.balloonAllowanceBankDefault;\r\n }\r\n\r\n var isBold = (e.balloon != e.balloonAllowanceBankDefault);\r\n\r\n if (e.balloon >= $ctrl.min && e.balloon <= $ctrl.max)\r\n if (isBold)\r\n return \"
\" + $ctrl.kendo.toString(e.balloon, 'n0') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.balloon, 'n0') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.balloon, 'n0') + \"%
\";\r\n \r\n }\r\n\r\n\r\n function BankMakeTemplate(e)\r\n {\r\n return e.bankName + \" - \" + e.makeName;\r\n }\r\n\r\n\r\n function processData(overAllowanceData) {\r\n var temp = [];\r\n \r\n if (overAllowanceData.length > 0) {\r\n\r\n overAllowanceData.forEach(function (item) {\r\n temp.push({\r\n \"tier\": \"T1+\",\r\n \"id\": item.id,\r\n \"bankId\": item.bankId,\r\n \"bankName\": item.bankName,\r\n \"makeId\": item.makeId,\r\n \"makeName\": item.makeName,\r\n \"retailAllowance\": item.t1pRetailAllowance,\r\n \"leaseAllowance\": item.t1pLeaseAllowance,\r\n \"balloonAllowance\": item.t1pBalloonAllowance,\r\n \"retailAllowanceBankDefault\": item.t1pRetailAllowanceBankDefault,\r\n \"leaseAllowanceBankDefault\": item.t1pLeaseAllowanceBankDefault,\r\n \"balloonAllowanceBankDefault\": item.t1pBalloonAllowanceBankDefault,\r\n });\r\n\r\n temp.push({\r\n \"tier\": \"T1\",\r\n \"id\": item.id,\r\n \"bankId\": item.bankId,\r\n \"bankName\": item.bankName,\r\n \"makeId\": item.makeId,\r\n \"makeName\": item.makeName,\r\n \"retailAllowance\": item.t1RetailAllowance,\r\n \"leaseAllowance\": item.t1LeaseAllowance,\r\n \"balloonAllowance\": item.t1BalloonAllowance,\r\n \"retailAllowanceBankDefault\": item.t1RetailAllowanceBankDefault,\r\n \"leaseAllowanceBankDefault\": item.t1LeaseAllowanceBankDefault,\r\n \"balloonAllowanceBankDefault\": item.t1BalloonAllowanceBankDefault,\r\n });\r\n\r\n temp.push({\r\n \"tier\": \"T2\",\r\n \"id\": item.id,\r\n \"bankId\": item.bankId,\r\n \"bankName\": item.bankName,\r\n \"makeId\": item.makeId,\r\n \"makeName\": item.makeName,\r\n \"retailAllowance\": item.t2RetailAllowance,\r\n \"leaseAllowance\": item.t2LeaseAllowance,\r\n \"balloonAllowance\": item.t2BalloonAllowance,\r\n \"retailAllowanceBankDefault\": item.t2RetailAllowanceBankDefault,\r\n \"leaseAllowanceBankDefault\": item.t2LeaseAllowanceBankDefault,\r\n \"balloonAllowanceBankDefault\": item.t2BalloonAllowanceBankDefault\r\n });\r\n });\r\n\r\n }\r\n \r\n return temp;\r\n }\r\n\r\n\r\n\r\n function loadOverAllowance() {\r\n\r\n return busy(\r\n \"Loading\",\r\n dataEntryService.getDealerOverAllowances($ctrl.selectedDealerId)\r\n .then((data) => {\r\n var overAllowanceData = processData(data);\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: overAllowanceData,\r\n schema: {\r\n model: {\r\n fields: {\r\n id: { type: \"string\", editable: false },\r\n bankName: { type: \"string\", editable: false },\r\n tier: { type: \"string\", editable: false },\r\n lease: { type: \"number\", editable: true },\r\n retail: { type: \"number\", editable: true },\r\n balloon: { type: \"number\", editable: true },\r\n bankID: { type: \"string\", editable: false }, \r\n makeID: { type: \"string\", editable: false },\r\n makeName: { type: \"string\", editable: false }, \r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: 50\r\n });\r\n\r\n switch (cultureName) {\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.esUS:\r\n $ctrl.kendo.culture(cultureName);\r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS);\r\n break;\r\n }\r\n\r\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date();\r\n\r\n //$ctrl.kendoGrid = $(\"#gridDataEntryOverAllowance\").data(\"kendoGrid\");\r\n\r\n })\r\n );\r\n }\r\n\r\n function getKendoGrid() {\r\n return $(\"#gridDataEntryOverAllowance\").data(\"kendoGrid\");\r\n }\r\n} \r\n","\n/* injects from baggage-loader */\nrequire('./data-entry-rates-used-rates.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\n\r\nangular.module('AaApp.Opp').component('dataEntryRatesUsedRates', {\r\n templateUrl: '/app/components/data-entry/data-entry-rates-used-rates.component.html',\r\n controller: DataEntryRatesUsedRatesController,\r\n bindings: {\r\n kendo: '<',\r\n dealerId: '<',\r\n onNotifyUnsavedData: '&',\r\n }\r\n});\r\n\r\n\r\nfunction DataEntryRatesUsedRatesController($translate, $q, dealerService, dataEntryService, storageService, $uibModal, \r\n $document, cultures, logger, $logFactory) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.trimSelections;\r\n\r\n $ctrl.onSave = onSave;\r\n $ctrl.onCancel = onCancel;\r\n $ctrl.kendoGrid = getKendoGrid;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n\r\n $ctrl.showQuickAction = false;\r\n $ctrl.onShowQuickAction = onShowQuickAction;\r\n $ctrl.onHideQuickAction = onHideQuickAction;\r\n $ctrl.onPerform = onPerform;\r\n $ctrl.onClear = onClear;\r\n\r\n $ctrl.quickActionToTermChange = quickActionToTermChange;\r\n $ctrl.quickActionToYearChange = quickActionToYearChange;\r\n\r\n $ctrl.min = 0;\r\n $ctrl.max = 24;\r\n \r\n\r\n $ctrl.enableDealerUsedRates = false;\r\n\r\n\r\n\r\n function onChanges(changes) {\r\n if (changes && changes.dealerId) {\r\n if (changes.dealerId.currentValue) {\r\n $ctrl.selectedDealerId = changes.dealerId.currentValue;\r\n\r\n dealerService.getDealerSettings($ctrl.selectedDealerId)\r\n .then(function (settings) {\r\n $ctrl.enableDealerUsedRates = settings.enableDealerUsedRates;\r\n getTranslations();\r\n onDealerSelect();\r\n });\r\n }\r\n }\r\n }\r\n\r\n function init() {\r\n $ctrl.fromTerm = [24, 30, 36, 42, 48, 54, 60, 66, 72, 84];\r\n $ctrl.toTerm = [24, 30, 36, 42, 48, 54, 60, 66, 72, 84];\r\n $ctrl.quickActionFromTerm = 24;\r\n $ctrl.quickActionToTerm = 84;\r\n\r\n var yearList = [];\r\n var startYear = (new Date()).getUTCFullYear();\r\n var endYear = startYear - 9;\r\n for (var y=endYear; y <= startYear; y++) yearList.push(y);\r\n\r\n yearList.reverse();\r\n\r\n $ctrl.fromYear = yearList;\r\n $ctrl.toYear = yearList;\r\n\r\n $ctrl.quickActionFromYear = startYear;\r\n $ctrl.quickActionToYear = endYear;\r\n }\r\n\r\n function quickActionToYearChange() {\r\n $ctrl.fromYear = $ctrl.toYear.filter(function (item) { return item >= $ctrl.quickActionToYear; }); \r\n }\r\n\r\n function quickActionToTermChange() { \r\n $ctrl.fromTerm = $ctrl.toTerm.filter(function (item) { return item <= $ctrl.quickActionToTerm; });\r\n }\r\n\r\n\r\n \r\n function onPerform() {\r\n if ($ctrl.rateAmount2 == null) return;\r\n\r\n var amount = $ctrl.rateAmount2.replace(\",\", \".\");\r\n amount = parseFloat(amount);\r\n\r\n if (isNaN(amount)) return;\r\n\r\n $ctrl.rateAmount = amount;\r\n\r\n if (typeof $ctrl.rateAmount !== 'undefined' && $ctrl.rateAmount > -1) {\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n \r\n for (var i=$ctrl.quickActionToYear; i<=$ctrl.quickActionFromYear; i++) { \r\n rows.forEach(function (row) {\r\n if (i == row.year) {\r\n for (var t = $ctrl.quickActionFromTerm; t <= $ctrl.quickActionToTerm; t++) {\r\n if (t == 24) {\r\n row.rate24 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate24 = true;\r\n else\r\n row.dirtyFields = { \"rate24\": true };\r\n }\r\n \r\n if (t == 30) {\r\n row.rate30 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate30 = true;\r\n else\r\n row.dirtyFields = { \"rate30\": true };\r\n }\r\n \r\n if (t == 36) {\r\n row.rate36 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate36 = true;\r\n else\r\n row.dirtyFields = { \"rate36\": true };\r\n }\r\n \r\n if (t == 42) {\r\n row.rate42 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate42 = true;\r\n else\r\n row.dirtyFields = { \"rate42\": true };\r\n }\r\n \r\n if (t == 48) {\r\n row.rate48 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate48 = true;\r\n else\r\n row.dirtyFields = { \"rate48\": true };\r\n }\r\n \r\n if (t == 54) {\r\n row.rate54 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate54 = true;\r\n else\r\n row.dirtyFields = { \"rate54\": true };\r\n }\r\n \r\n if (t == 60) {\r\n row.rate60 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate60 = true;\r\n else\r\n row.dirtyFields = { \"rate60\": true };\r\n }\r\n \r\n if (t == 66) {\r\n row.rate66 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate66 = true;\r\n else\r\n row.dirtyFields = { \"rate66\": true };\r\n }\r\n \r\n if (t == 72) {\r\n row.rate72 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate72 = true;\r\n else\r\n row.dirtyFields = { \"rate72\": true };\r\n } \r\n\r\n if (t == 84) {\r\n row.rate84 = $ctrl.rateAmount;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate84 = true;\r\n else\r\n row.dirtyFields = { \"rate84\": true };\r\n } \r\n }\r\n }\r\n });\r\n }\r\n\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"usedRates\", value: true } });\r\n $ctrl.kendoGrid().refresh();\r\n }\r\n }\r\n\r\n function onClear() { \r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.rate24 || row.rate24 == 0) {\r\n row.rate24 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate24 = true;\r\n else\r\n row.dirtyFields = { \"rate24\": true }\r\n }\r\n\r\n if (row.rate30 || row.rate30 == 0) {\r\n row.rate30 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate30 = true;\r\n else\r\n row.dirtyFields = { \"rate30\": true }\r\n }\r\n\r\n if (row.rate36 || row.rate36 == 0) {\r\n row.rate36 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate36 = true;\r\n else\r\n row.dirtyFields = { \"rate36\": true }\r\n }\r\n\r\n if (row.rate42 || row.rate42 == 0) {\r\n row.rate42 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate42 = true;\r\n else\r\n row.dirtyFields = { \"rate42\": true }\r\n }\r\n\r\n if (row.rate48 || row.rate48 == 0) {\r\n row.rate48 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate48 = true;\r\n else\r\n row.dirtyFields = { \"rate48\": true }\r\n }\r\n\r\n if (row.rate54 || row.rate54 == 0) {\r\n row.rate54 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate54 = true;\r\n else\r\n row.dirtyFields = { \"rate54\": true }\r\n }\r\n\r\n if (row.rate60 || row.rate60 == 0) {\r\n row.rate60 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate60 = true;\r\n else\r\n row.dirtyFields = { \"rate60\": true }\r\n }\r\n\r\n if (row.rate66 || row.rate66 == 0) {\r\n row.rate66 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate66 = true;\r\n else\r\n row.dirtyFields = { \"rate66\": true }\r\n }\r\n\r\n if (row.rate72 || row.rate72 == 0) {\r\n row.rate72 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate72 = true;\r\n else\r\n row.dirtyFields = { \"rate72\": true }\r\n } \r\n\r\n if (row.rate84 || row.rate84 == 0) {\r\n row.rate84 = null;\r\n row.dirty = true;\r\n if (row.dirtyFields)\r\n row.dirtyFields.rate84 = true;\r\n else\r\n row.dirtyFields = { \"rate84\": true }\r\n } \r\n });\r\n $ctrl.kendoGrid().refresh();\r\n\r\n }\r\n\r\n\r\n function onShowQuickAction() {\r\n if (!$ctrl.enableDealerUsedRates) {\r\n gridLockedMessage();\r\n return;\r\n }\r\n\r\n $ctrl.showQuickAction = true;\r\n }\r\n\r\n function onHideQuickAction() {\r\n $ctrl.showQuickAction = false;\r\n }\r\n\r\n\r\n\r\n function getTranslations() {\r\n $q.all({\r\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\r\n 'saveWarningMessage': $translate('saveWarningMessage'),\r\n 'validationErrorMessage': $translate('validationErrorMessage'),\r\n 'lease': $translate('lease'),\r\n 'retail': $translate('retail'),\r\n 'balloon': $translate('balloon'),\r\n 'expireOn': $translate('expireOn'),\r\n 'year': $translate('year'),\r\n 'trim': $translate('trim'),\r\n 'termMonths': $translate('termMonths'),\r\n }).then(function (stuff) {\r\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\r\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\r\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\r\n $ctrl.lease = stuff.lease;\r\n $ctrl.retail = stuff.retail;\r\n $ctrl.balloon = stuff.balloon;\r\n $ctrl.expireOn = stuff.expireOn;\r\n $ctrl.trim = stuff.trim;\r\n $ctrl.year = stuff.year;\r\n $ctrl.termMonths = stuff.termMonths;\r\n\r\n initGridOptions();\r\n });\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(previousValue) {\r\n return loadUsedRates();\r\n\r\n }\r\n\r\n\r\n function gridLockedMessage() {\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return 'usedRatesTitle';\r\n },\r\n message: function () {\r\n return 'userRatesDealerSettingNotEnabledMessage';\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\";\r\n }\r\n }\r\n });\r\n }\r\n\r\n function onSave() {\r\n\r\n if (!$ctrl.enableDealerUsedRates) {\r\n gridLockedMessage();\r\n return;\r\n }\r\n\r\n\r\n if (!isDataValid()) {\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"validationError\";\r\n },\r\n message: function () {\r\n return $ctrl.validationErrorMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\";\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"readyToProcess\";\r\n },\r\n message: function () {\r\n return $ctrl.saveConfirmMessage;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\";\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n var dirtyRows = [];\r\n var isChanged = false;\r\n\r\n rows.forEach(function (row) { if (row.dirty) isChanged = true; });\r\n\r\n if (isChanged) {\r\n rows.forEach(function (row) {\r\n var year = row.year;\r\n if (row.rate24 && row.rate24 > 0) dirtyRows.push({ yearId: year, termId: 24, rate: row.rate24, dealerId: $ctrl.selectedDealerId });\r\n if (row.rate30 && row.rate30 > 0) dirtyRows.push({ yearId: year, termId: 30, rate: row.rate30, dealerId: $ctrl.selectedDealerId });\r\n if (row.rate36 && row.rate36 > 0) dirtyRows.push({ yearId: year, termId: 36, rate: row.rate36, dealerId: $ctrl.selectedDealerId });\r\n if (row.rate42 && row.rate42 > 0) dirtyRows.push({ yearId: year, termId: 42, rate: row.rate42, dealerId: $ctrl.selectedDealerId });\r\n if (row.rate48 && row.rate48 > 0) dirtyRows.push({ yearId: year, termId: 48, rate: row.rate48, dealerId: $ctrl.selectedDealerId });\r\n if (row.rate54 && row.rate54 > 0) dirtyRows.push({ yearId: year, termId: 54, rate: row.rate54, dealerId: $ctrl.selectedDealerId });\r\n if (row.rate60 && row.rate60 > 0) dirtyRows.push({ yearId: year, termId: 60, rate: row.rate60, dealerId: $ctrl.selectedDealerId });\r\n if (row.rate66 && row.rate66 > 0) dirtyRows.push({ yearId: year, termId: 66, rate: row.rate66, dealerId: $ctrl.selectedDealerId });\r\n if (row.rate72 && row.rate72 > 0) dirtyRows.push({ yearId: year, termId: 72, rate: row.rate72, dealerId: $ctrl.selectedDealerId });\r\n if (row.rate84 && row.rate84 > 0) dirtyRows.push({ yearId: year, termId: 84, rate: row.rate84, dealerId: $ctrl.selectedDealerId });\r\n row.dirty = false;\r\n }); \r\n if (dirtyRows.length > 0) {\r\n return updateDealerUsedRates(dirtyRows);\r\n } else {\r\n return deleteAllUsedRatesByDealerId();\r\n }\r\n }\r\n else {\r\n logger.success(\"changesSaved\");\r\n return $q.resolve();\r\n }\r\n })\r\n .catch(function () {\r\n return false;\r\n });\r\n }\r\n\r\n function onCancel() {\r\n $ctrl.kendoGrid().cancelChanges();\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"usedRates\", value: false } });\r\n }\r\n\r\n\r\n function deleteAllUsedRatesByDealerId() {\r\n return busy(\r\n \"Saving\",\r\n dataEntryService.deleteAllUsedRatesByDealerId($ctrl.selectedDealerId)\r\n .then(function (success) {\r\n logger.success(\"changesSaved\");\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"usedRates\", value: false } });\r\n return loadUsedRates();\r\n }).then(() => {\r\n\r\n }, function (error) {\r\n log.log(error);\r\n })\r\n );\r\n }\r\n\r\n function updateDealerUsedRates(usedRates) {\r\n return busy(\r\n \"Saving\",\r\n dataEntryService.updateDealerUsedRates(usedRates)\r\n .then(function (success) {\r\n logger.success(\"changesSaved\");\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"usedRates\", value: false } });\r\n return loadUsedRates();\r\n }).then(() => {\r\n\r\n }, function (error) {\r\n log.log(error);\r\n })\r\n );\r\n }\r\n\r\n\r\n function isDataValid() {\r\n if (!$ctrl.kendoGrid())\r\n return true;\r\n var valid = true;\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n rows.forEach(function (row) {\r\n if ((row.rate24 && row.rate24 < $ctrl.min) || (row.rate24 && row.rate24 > $ctrl.max) || (row.rate30 && row.rate30 < $ctrl.min) || (row.rate30 && row.rate30 > $ctrl.max) || \r\n (row.rate36 && row.rate36 < $ctrl.min) || (row.rate36 && row.rate36 > $ctrl.max) || (row.rate42 && row.rate42 < $ctrl.min) || (row.rate42 && row.rate42 > $ctrl.max) || \r\n (row.rate48 && row.rate48 < $ctrl.min) || (row.rate48 && row.rate48 > $ctrl.max) || (row.rate54 && row.rate54 < $ctrl.min) || (row.rate54 && row.rate54 > $ctrl.max) || \r\n (row.rate60 && row.rate60 < $ctrl.min) || (row.rate60 && row.rate60 > $ctrl.max) || (row.rate66 && row.rate66 < $ctrl.min) || (row.rate66 && row.rate66 > $ctrl.max) ||\r\n (row.rate72 && row.rate72 < $ctrl.min) || (row.rate72 && row.rate72 > $ctrl.max) || (row.rate84 && row.rate84 < $ctrl.min) || (row.rate84 && row.rate84 > $ctrl.max))\r\n valid = false;\r\n });\r\n return valid;\r\n }\r\n\r\n function isDataDirty() {\r\n if (!$ctrl.kendoGrid())\r\n return false;\r\n var dirty = false;\r\n var rows = $ctrl.kendoGrid().dataSource.data();\r\n rows.forEach(function (row) {\r\n if (row.dirty)\r\n dirty = true;\r\n });\r\n return dirty;\r\n }\r\n\r\n\r\n function initGridOptions() {\r\n\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n navigatable: true,\r\n pageable: false,\r\n height: 370,\r\n columns: [\r\n { field: \"year\", title: $ctrl.year, width: 100, sortable: false },\r\n { title: $ctrl.termMonths,\r\n headerAttributes: { style: \"text-align: center;\" },\r\n columns: [\r\n { field: \"rate24\", template: rate24Template, title: \"24\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"rate30\", template: rate30Template, title: \"30\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"rate36\", template: rate36Template, title: \"36\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n\r\n { field: \"rate42\", template: rate42Template, title: \"42\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"rate48\", template: rate48Template, title: \"48\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"rate54\", template: rate54Template, title: \"54\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n\r\n { field: \"rate60\", template: rate60Template, title: \"60\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"rate66\", template: rate66Template, title: \"66\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"rate72\", template: rate72Template, title: \"72\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n { field: \"rate84\", template: rate84Template, title: \"84\", width: 20, sortable: false, headerAttributes: { \"class\": \"align-right\" } },\r\n ]}\r\n ], \r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: false,\r\n reorderable: true,\r\n filterable: false,\r\n editable: \"incell\",\r\n cellClose: function (e) {\r\n if (isDataDirty()) {\r\n $ctrl.onNotifyUnsavedData({ result: { tab: \"usedRates\", value: true }});\r\n }\r\n },\r\n navigate: function (e) {\r\n if (!$ctrl.enableDealerUsedRates)\r\n gridLockedMessage();\r\n }\r\n };\r\n\r\n }\r\n\r\n\r\n\r\n function rate24Template(e) { \r\n if (!e.rate24 && e.rate24 != 0)\r\n return \"
\";\r\n else\r\n {\r\n if (e.rate24 >= $ctrl.min && e.rate24 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate24, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate24, 'n2') + \"%
\";\r\n \r\n }\r\n }\r\n\r\n function rate30Template(e) {\r\n if (!e.rate30 && e.rate30 != 0)\r\n return \"
\";\r\n else {\r\n if (e.rate30 >= $ctrl.min && e.rate30 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate30, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate30, 'n2') + \"%
\";\r\n\r\n }\r\n }\r\n\r\n function rate36Template(e) {\r\n if (!e.rate36 && e.rate36 != 0)\r\n return \"
\";\r\n else {\r\n if (e.rate36 >= $ctrl.min && e.rate36 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate36, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate36, 'n2') + \"%
\";\r\n }\r\n }\r\n\r\n function rate42Template(e) {\r\n if (!e.rate42 && e.rate42 != 0)\r\n return \"
\";\r\n else {\r\n if (e.rate42 >= $ctrl.min && e.rate42 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate42, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate42, 'n2') + \"%
\";\r\n }\r\n }\r\n\r\n function rate48Template(e) {\r\n if (!e.rate48 && e.rate48 != 0)\r\n return \"
\";\r\n else {\r\n if (e.rate48 >= $ctrl.min && e.rate48 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate48, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate48, 'n2') + \"%
\";\r\n }\r\n }\r\n\r\n function rate54Template(e) {\r\n if (!e.rate54 && e.rate54 != 0)\r\n return \"
\";\r\n else {\r\n if (e.rate54 >= $ctrl.min && e.rate54 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate54, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate54, 'n2') + \"%
\";\r\n\r\n }\r\n }\r\n\r\n function rate60Template(e) {\r\n if (!e.rate60 && e.rate60 != 0)\r\n return \"
\";\r\n else {\r\n if (e.rate60 >= $ctrl.min && e.rate60 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate60, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate60, 'n2') + \"%
\";\r\n\r\n }\r\n }\r\n\r\n function rate66Template(e) {\r\n if (!e.rate66 && e.rate66 != 0)\r\n return \"
\";\r\n else {\r\n if (e.rate66 >= $ctrl.min && e.rate66 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate66, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate66, 'n2') + \"%
\";\r\n\r\n }\r\n }\r\n\r\n function rate72Template(e) {\r\n if (!e.rate72 && e.rate72 != 0)\r\n return \"
\";\r\n else {\r\n if (e.rate72 >= $ctrl.min && e.rate72 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate72, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate72, 'n2') + \"%
\";\r\n }\r\n }\r\n\r\n function rate84Template(e) {\r\n if (!e.rate84 && e.rate84 != 0)\r\n return \"
\";\r\n else {\r\n if (e.rate84 >= $ctrl.min && e.rate84 <= $ctrl.max)\r\n return \"
\" + $ctrl.kendo.toString(e.rate84, 'n2') + \"%
\";\r\n else\r\n return \"
\" + $ctrl.kendo.toString(e.rate84, 'n2') + \"%
\";\r\n }\r\n }\r\n\r\n function processData(usedRatesData) { \r\n var gridData = [];\r\n var yearList = [];\r\n var temp = usedRatesData;\r\n var d = new Date();\r\n var startYear= d.getUTCFullYear(); \r\n var endYear = startYear - 10; \r\n for (var y = startYear; y > endYear; y--) yearList.push(y);\r\n\r\n yearList.forEach(function (ele2) { \r\n var rate24 = temp.filter(t => (t.termID == 24 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 24 && t.yearID == ele2))[0].rate : null;\r\n var rate30 = temp.filter(t => (t.termID == 30 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 30 && t.yearID == ele2))[0].rate : null;\r\n var rate36 = temp.filter(t => (t.termID == 36 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 36 && t.yearID == ele2))[0].rate : null;\r\n var rate42 = temp.filter(t => (t.termID == 42 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 42 && t.yearID == ele2))[0].rate : null;\r\n var rate48 = temp.filter(t => (t.termID == 48 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 48 && t.yearID == ele2))[0].rate : null;\r\n var rate54 = temp.filter(t => (t.termID == 54 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 54 && t.yearID == ele2))[0].rate : null;\r\n var rate60 = temp.filter(t => (t.termID == 60 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 60 && t.yearID == ele2))[0].rate : null;\r\n var rate66 = temp.filter(t => (t.termID == 66 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 66 && t.yearID == ele2))[0].rate : null;\r\n var rate72 = temp.filter(t => (t.termID == 72 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 72 && t.yearID == ele2))[0].rate : null; \r\n var rate84 = temp.filter(t => (t.termID == 84 && t.yearID == ele2)).length > 0 ? temp.filter(t => (t.termID == 84 && t.yearID == ele2))[0].rate : null; \r\n\r\n gridData.push({ \"year\": ele2, \"rate24\": rate24, \"rate30\": rate30, \"rate36\": rate36, \"rate42\": rate42, \"rate48\": rate48, \"rate54\": rate54, \"rate60\": rate60, \"rate66\": rate66, \r\n \"rate72\": rate72, \"rate84\": rate84,\r\n });\r\n\r\n });\r\n \r\n return gridData;\r\n }\r\n\r\n\r\n\r\n function loadUsedRates() {\r\n\r\n return busy(\r\n \"Loading\",\r\n dataEntryService.getDealerUsedRates($ctrl.selectedDealerId)\r\n .then((data) => {\r\n var usedRatesData = processData(data); \r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: usedRatesData,\r\n schema: {\r\n model: {\r\n fields: {\r\n year: { type: \"string\", editable: false },\r\n rate24: { type: \"number\", editable: $ctrl.enableDealerUsedRates },\r\n rate30: { type: \"number\", editable: $ctrl.enableDealerUsedRates },\r\n rate36: { type: \"number\", editable: $ctrl.enableDealerUsedRates },\r\n rate42: { type: \"number\", editable: $ctrl.enableDealerUsedRates },\r\n rate48: { type: \"number\", editable: $ctrl.enableDealerUsedRates },\r\n rate54: { type: \"number\", editable: $ctrl.enableDealerUsedRates },\r\n rate60: { type: \"number\", editable: $ctrl.enableDealerUsedRates },\r\n rate66: { type: \"number\", editable: $ctrl.enableDealerUsedRates },\r\n rate72: { type: \"number\", editable: $ctrl.enableDealerUsedRates },\r\n rate84: { type: \"number\", editable: $ctrl.enableDealerUsedRates }\r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: 50\r\n });\r\n\r\n switch (cultureName) {\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.esUS:\r\n $ctrl.kendo.culture(cultureName);\r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS);\r\n break;\r\n }\r\n\r\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date();\r\n\r\n //$ctrl.kendoGrid = $(\"#gridDataEntryUsedRates\").data(\"kendoGrid\");\r\n\r\n })\r\n );\r\n }\r\n\r\n function getKendoGrid() {\r\n return $(\"#gridDataEntryUsedRates\").data(\"kendoGrid\");\r\n }\r\n\r\n} \r\n","\n/* injects from baggage-loader */\nrequire('./admin-report-subscriptions.component.html');\n\nimport angular from 'angular';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\nimport reportSpecs from '../../constants/reports/report-specifications';\r\nimport './admin-report-subscriptions.component.scss';\r\nimport './admin.scss';\r\n\r\n\r\nangular.module('AaApp.Opp').component('adminReportSubscriptions', {\r\n templateUrl: '/app/components/admin/admin-report-subscriptions.component.html',\r\n controller: AdminReportSubscriptionsController,\r\n bindings: {\r\n }\r\n});\r\n\r\nfunction AdminReportSubscriptionsController(_, $translate, $q, $filter, dealerService, searchPresetService, pandoSurveyService, storageService, roles, $uibModal, $document, logger) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n\r\n $ctrl.onSave = onSave;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n\r\n $ctrl.pandoGroups = [];\r\n $ctrl.dealerReportSubscriptions = [];\r\n\r\n $ctrl.reportDealerPandoGroupSubscriptions = null;\r\n\r\n $ctrl.reportSubscriptions = [\r\n {\r\n \"reportName\" : \"salesGrossReportSubscriptionTitle\",\r\n \"reportId\": reportSpecs.salesGrossReport.id.toLowerCase(),\r\n \"subscriptionGM\": false,\r\n \"subscriptionSM\": false,\r\n \"sendToGroupID\": \"-1\",\r\n \"previousSendToGroupID\": \"-1\",\r\n \"sendToGroupIDEnabled\": false,\r\n \"previousSendToGroupIDEnabled\": false,\r\n \"reportSubscriptionId\": 0,\r\n \"showError\": false,\r\n },\r\n {\r\n \"reportName\": \"userActivityReportSubscriptionTitle\",\r\n \"reportId\": reportSpecs.userActivityReport.id.toLowerCase(),\r\n \"subscriptionGM\": false,\r\n \"subscriptionSM\": false,\r\n \"sendToGroupID\": \"-1\",\r\n \"previousSendToGroupID\": \"-1\",\r\n \"sendToGroupIDEnabled\": false,\r\n \"previousSendToGroupIDEnabled\": false,\r\n \"reportSubscriptionId\": 0,\r\n \"showError\": false,\r\n }\r\n ];\r\n \r\n $ctrl.reportSubscriptionRoles = [\r\n {\r\n \"title\": \"newGeneralManagers\",\r\n \"reportSubscriptionRoleId\": roles.generalManager\r\n },\r\n {\r\n \"title\": \"newSalesManagers\",\r\n \"reportSubscriptionRoleId\": roles.salesManager\r\n }];\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n $ctrl.selectedDealerName = $ctrl.dealers[0].name;\r\n\r\n onDealerSelect();\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n\r\n function onDealerSelect(value) {\r\n var dealerSelected = $ctrl.dealers.find(function (ele) {\r\n return ele.id == $ctrl.selectedDealerId;\r\n }); \r\n\r\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\r\n $ctrl.selectedDealerName = dealerSelected.name;\r\n\r\n return busy(\r\n \"Loading Data\",\r\n $q.all([ \r\n pandoSurveyService.getDealerAutoReportSubscription($ctrl.selectedDealerId),\r\n pandoSurveyService.getReportDealerPandoGroupSubscriptions($ctrl.selectedDealerId),\r\n searchPresetService.getPandoCustomStoreGroups($ctrl.selectedDealerId), \r\n ]).then((data) => {\r\n\r\n $ctrl.dealerReportSubscriptions = _.cloneDeep($ctrl.reportSubscriptions);\r\n \r\n let dealerAutoReportSubscription = data[0];\r\n $ctrl.reportDealerPandoGroupSubscriptions = data[1];\r\n $ctrl.pandoGroups = data[2];\r\n $ctrl.pandoGroups.unshift({ \"groupId\": \"-1\", \"groupMessagingType\": 0, \"groupName\": \"(Select Group)\" });\r\n \r\n\r\n if (dealerAutoReportSubscription) {\r\n dealerAutoReportSubscription.forEach(function (element) {\r\n $ctrl.dealerReportSubscriptions.forEach(function (ele) {\r\n if (element.reportID == ele.reportId && element.roleID == roles.generalManager) ele.subscriptionGM = true;\r\n if (element.reportID == ele.reportId && element.roleID == roles.salesManager) ele.subscriptionSM = true;\r\n });\r\n });\r\n }\r\n\r\n \r\n if ($ctrl.reportDealerPandoGroupSubscriptions) {\r\n $ctrl.reportDealerPandoGroupSubscriptions.forEach(function (element) {\r\n $ctrl.dealerReportSubscriptions.forEach(function (ele) {\r\n if (element.reportId == ele.reportId) {\r\n ele.sendToGroupID = element.sendToGroupID;\r\n ele.previousSendToGroupID = element.sendToGroupID;\r\n ele.sendToGroupIDEnabled = element.enabled;\r\n ele.previousSendToGroupIDEnabled = element.enabled;\r\n ele.reportSubscriptionId = element.reportSubscriptionId;\r\n }\r\n });\r\n });\r\n }\r\n \r\n })\r\n .catch(function () {\r\n $ctrl.errors = true;\r\n })\r\n );\r\n\r\n }\r\n\r\n function onSave() {\r\n var error = false;\r\n var promiseArray = [];\r\n var validationError = false;\r\n\r\n let reportSubscriptions = [];\r\n let pandoReportSubscriptions = [];\r\n let saleGrossReportSubscription = {\r\n \"reportId\": reportSpecs.salesGrossReport.id.toLowerCase(),\r\n \"dealerID\": $ctrl.selectedDealerId,\r\n \"makeID\": -1,\r\n \"type\": 3,\r\n \"enabled\": false,\r\n \"deliveryMethodEmail\": false,\r\n \"deliveryMethodPando\": true,\r\n \"reportSubscriptionPeriodPoint\": 10,\r\n \"subject\": \"AutoAlert Sales Gross Report - \" + $ctrl.selectedDealerName,\r\n \"periodicity\": 3,\r\n \"code\": \"PM\",\r\n \"reportSubscriptionId\": 0,\r\n };\r\n let userActivityReportSubscription = {\r\n \"reportId\": reportSpecs.userActivityReport.id.toLowerCase(),\r\n \"dealerID\": $ctrl.selectedDealerId,\r\n \"makeID\": -1,\r\n \"type\": 3,\r\n \"enabled\": false,\r\n \"deliveryMethodEmail\": false,\r\n \"deliveryMethodPando\": true,\r\n \"reportSubscriptionPeriodPoint\": 2,\r\n \"subject\": \"AutoAlert User Activity Report - \" + $ctrl.selectedDealerName,\r\n \"periodicity\": 2,\r\n \"code\": \"PW\",\r\n \"reportSubscriptionId\": 0,\r\n };\r\n\r\n $ctrl.dealerReportSubscriptions.forEach(function (ele) {\r\n if (ele.sendToGroupIDEnabled && ele.sendToGroupID == \"-1\") {\r\n ele.showError = true;\r\n validationError = true;\r\n } \r\n\r\n if (ele.subscriptionGM) {\r\n reportSubscriptions.push({ dealerID: $ctrl.selectedDealerId, roleID: roles.generalManager, reportID: ele.reportId })\r\n }\r\n if (ele.subscriptionSM) {\r\n reportSubscriptions.push({ dealerID: $ctrl.selectedDealerId, roleID: roles.salesManager, reportID: ele.reportId })\r\n }\r\n });\r\n\r\n if (validationError) {\r\n logger.warning(\"validationErrorMessage\");\r\n return false;\r\n }\r\n\r\n\r\n if (reportSubscriptions.length > 0) {\r\n var dataPromise1 = pandoSurveyService.updateDealerAutoReportSubscription(reportSubscriptions)\r\n promiseArray.push(dataPromise1);\r\n }\r\n else {\r\n var dataPromise2 = pandoSurveyService.removeDealerAutoReportSubscription($ctrl.selectedDealerId)\r\n promiseArray.push(dataPromise2);\r\n }\r\n\r\n\r\n $ctrl.dealerReportSubscriptions.forEach(function (ele) {\r\n if (ele.reportId == reportSpecs.salesGrossReport.id.toLowerCase()) {\r\n if (ele.sendToGroupIDEnabled) {\r\n if (ele.reportSubscriptionId == 0) {\r\n saleGrossReportSubscription.enabled = ele.sendToGroupIDEnabled; \r\n saleGrossReportSubscription.sendToGroupID = ele.sendToGroupID;\r\n var dataPromise3 = pandoSurveyService.addReportDealerPandoGroupSubscription(saleGrossReportSubscription)\r\n promiseArray.push(dataPromise3);\r\n }\r\n else {\r\n saleGrossReportSubscription.enabled = ele.sendToGroupIDEnabled;\r\n saleGrossReportSubscription.sendToGroupID = ele.sendToGroupID; \r\n saleGrossReportSubscription.reportSubscriptionId = ele.reportSubscriptionId;\r\n var dataPromise4 = pandoSurveyService.updateReportDealerPandoGroupSubscription(saleGrossReportSubscription)\r\n promiseArray.push(dataPromise4);\r\n }\r\n }\r\n else {\r\n if (ele.previousSendToGroupIDEnabled) {\r\n saleGrossReportSubscription.enabled = ele.sendToGroupIDEnabled;\r\n saleGrossReportSubscription.sendToGroupID = ele.previousSendToGroupID;\r\n saleGrossReportSubscription.reportSubscriptionId = ele.reportSubscriptionId;\r\n var dataPromise5 = pandoSurveyService.updateReportDealerPandoGroupSubscription(saleGrossReportSubscription)\r\n promiseArray.push(dataPromise5);\r\n }\r\n }\r\n\r\n }\r\n else if (ele.reportId == reportSpecs.userActivityReport.id.toLowerCase()) {\r\n\r\n if (ele.sendToGroupIDEnabled) {\r\n if (ele.reportSubscriptionId == 0) {\r\n userActivityReportSubscription.enabled = ele.sendToGroupIDEnabled;\r\n userActivityReportSubscription.sendToGroupID = ele.sendToGroupID;\r\n var dataPromise6 = pandoSurveyService.addReportDealerPandoGroupSubscription(userActivityReportSubscription)\r\n promiseArray.push(dataPromise6);\r\n\r\n }\r\n else {\r\n userActivityReportSubscription.enabled = ele.sendToGroupIDEnabled;\r\n userActivityReportSubscription.sendToGroupID = ele.sendToGroupID;\r\n userActivityReportSubscription.reportSubscriptionId = ele.reportSubscriptionId;\r\n var dataPromise7 = pandoSurveyService.updateReportDealerPandoGroupSubscription(userActivityReportSubscription)\r\n promiseArray.push(dataPromise7);\r\n }\r\n }\r\n else {\r\n if (ele.previousSendToGroupIDEnabled) {\r\n userActivityReportSubscription.enabled = ele.sendToGroupIDEnabled;\r\n userActivityReportSubscription.sendToGroupID = ele.previousSendToGroupID; \r\n userActivityReportSubscription.reportSubscriptionId = ele.reportSubscriptionId;\r\n var dataPromise8 = pandoSurveyService.updateReportDealerPandoGroupSubscription(userActivityReportSubscription)\r\n promiseArray.push(dataPromise8);\r\n }\r\n }\r\n }\r\n }); \r\n\r\n\r\n $q.all(promiseArray).then(function (dataArray) {\r\n }).then(function () { \r\n onDealerSelect();\r\n logger.success(\"changesSaved\"); \r\n })\r\n .catch(function (errorResponse) {\r\n onDealerSelect();\r\n logger.error(\"Error\"); \r\n });\r\n\r\n \r\n }\r\n\r\n}","import \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.promise\";\nimport \"regenerator-runtime/runtime\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es6.array.find-index\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.regexp.split\";\nDashboardManagerController.$inject = [\"activityService\", \"storageService\", \"customerEngagementService\", \"authorizationService\", \"searchService\", \"environmentVariables\", \"dealerService\", \"assetTypes\", \"saleTypes\"];\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n/* injects from baggage-loader */\nrequire('./dashboard-manager.component.html');\n\nimport angular from 'angular';\nimport moment from 'moment-timezone';\nimport { ApiActivityTypes } from '../../constants';\nimport { TimeZonesById, guessBrowserTimeZone } from '../../constants/time-zones';\nimport { widgetTypes } from '../../constants/widget-types';\nimport { EngagementEventGroups } from '../../constants/engagement-event-types.constant';\nimport './dashboard.scss';\nangular.module('AaApp.Opp').component('dashboardManager', {\n templateUrl: '/app/components/dashboard/dashboard-manager.component.html',\n controller: DashboardManagerController,\n bindings: {\n selectedDealerId: \"<\",\n userId: \"<\"\n }\n});\n\nfunction DashboardManagerController(activityService, storageService, customerEngagementService, authorizationService, searchService, environmentVariables, dealerService, assetTypes, saleTypes) {\n \"ngInject\";\n\n var $ctrl = this;\n var MAX_ROWS = environmentVariables.managerDashboardCustomerEngagementMaxRows || 50;\n $ctrl.showHotLeadsOnly = false;\n $ctrl.showNotWorkedOnly = false;\n $ctrl.permissions = {};\n $ctrl.$onChanges = $onChanges;\n $ctrl.closeCallback = closeCallback;\n $ctrl.refreshWidgets = refreshWidgets;\n $ctrl.hotLeadsOnlyChanged = filtersChanged;\n $ctrl.NotWorkedChanged = filtersChanged;\n $ctrl.$onInit = init;\n $ctrl.showReviewPro = false;\n $ctrl.showGeoAlert = false;\n $ctrl.getWidgetColumnTypesList = getWidgetColumnTypesList;\n $ctrl.getWidgetLink = getWidgetLink;\n $ctrl.moveWidgetToTop = moveWidgetToTop;\n $ctrl.setFavoriteWidget = setFavoriteWidget;\n $ctrl.saveCollapseState = saveCollapseState; //const standardColumnTypes = ['customerEngagement', 'opportunity', 'alertBlocks'];\n\n var reviewProColumnTypes = ['customerEngagement', 'opportunity', 'reviewRating'];\n var emailTextOneToOneColumnTypes = ['customerEngagement', 'opportunity', 'groupEngagement', 'alertBlocks', 'emailtext'];\n var serviceColumnTypes = ['customerEngagement', 'opportunity', 'service', 'alertBlocks'];\n var webColumnTypes = ['customerEngagement', 'opportunity', 'web', 'alertBlocks'];\n var geoAlertColumnTypes = ['customerEngagement', 'opportunity', 'geoAlert'];\n var upComingApptColumnTypes = ['customerEngagement', 'opportunity', 'alertBlocks', 'upcoming'];\n var isEuroLite = authorizationService.isEuroLite(); //TODO: refactor this to a centralized location.\n //Configuration\n\n $ctrl.leaseSaleTypes = [saleTypes.lease];\n $ctrl.retailSaleTypes = [saleTypes.retail, saleTypes.balloon];\n\n function setUpWidgets() {\n return _setUpWidgets.apply(this, arguments);\n }\n\n function _setUpWidgets() {\n _setUpWidgets = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee() {\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n $ctrl.widgets = [{\n widgetDefaultOrder: 1,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'retailWidgetTitle',\n widgetExpandToolTipKey: 'expandretail',\n widgetLink: $ctrl.getWidgetLink('retail'),\n columnTypes: $ctrl.getWidgetColumnTypesList('retail'),\n widgetDataService: retailWidgetDataService,\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n }, {\n widgetDefaultOrder: 2,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'leaseWidgetTitle',\n widgetExpandToolTipKey: 'expandlease',\n widgetLink: $ctrl.getWidgetLink('lease'),\n columnTypes: $ctrl.getWidgetColumnTypesList('lease'),\n widgetDataService: leaseWidgetDataService,\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n }, {\n widgetDefaultOrder: 3,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'emailText',\n widgetExpandToolTipKey: 'email',\n icon: 'email-sms',\n highEngagementDescription: 'emailTextHighEngagementDescription',\n detailViewLinkDisabled: true,\n columnTypes: emailTextOneToOneColumnTypes,\n widgetDataService: function widgetDataService(force) {\n return customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\n engagementEventGroupIds: [EngagementEventGroups.email, EngagementEventGroups.text, EngagementEventGroups.autoAssistant],\n take: MAX_ROWS,\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\n notWorkedOnly: $ctrl.showNotWorkedOnly,\n dealerId: $ctrl.selectedDealerId\n }).then(function (mappedResponse) {\n return mappedResponse.sort(function (a, b) {\n return new Date(b.eventDate) - new Date(a.eventDate);\n });\n });\n },\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n }, {\n widgetDefaultOrder: 4,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'upcomingAppointments',\n widgetExpandToolTipKey: 'upcomingAppointments',\n icon: 'aa-icon-core-calendar-icon-000000',\n highEngagementDescription: 'todaysAppointments',\n detailViewLinkDisabled: true,\n columnTypes: upComingApptColumnTypes,\n widgetDataService: getUpcomingAppointments,\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n }, {\n widgetDefaultOrder: 5,\n widgetType: widgetTypes.agenda,\n widgetTitleKey: 'agendaWidgetTitle',\n widgetExpandToolTipKey: 'expandagenda',\n widgetLink: 'activitiesAgenda',\n widgetDataService: agendaWidgetDataService,\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n }, {\n widgetDefaultOrder: 6,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'recentlyAssignedWidgetTitle',\n widgetExpandToolTipKey: 'expandrecentlyAssigned',\n widgetDataService: recentlyAssignedWidgetDataService,\n detailViewLinkDisabled: true,\n columnTypes: ['opportunity', 'alertBlocks', 'assignedDate'],\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n }, {\n widgetDefaultOrder: 7,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'service',\n widgetExpandToolTipKey: 'service',\n icon: 'aa-icon-service-drive',\n highEngagementDescription: 'serviceHighEngagementDescription',\n detailViewLinkDisabled: true,\n columnTypes: serviceColumnTypes,\n widgetDataService: function widgetDataService(force) {\n return customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\n engagementEventGroupIds: [EngagementEventGroups.service],\n take: MAX_ROWS,\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\n notWorkedOnly: $ctrl.showNotWorkedOnly,\n dealerId: $ctrl.selectedDealerId\n });\n },\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n }, {\n widgetDefaultOrder: 8,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'oneToOne',\n widgetExpandToolTipKey: 'oneToOne',\n icon: 'marketing-mailer-icon-white',\n highEngagementDescription: 'o2oHighEngagementDescription',\n detailViewLinkDisabled: true,\n columnTypes: emailTextOneToOneColumnTypes,\n widgetDataService: function widgetDataService(force) {\n return customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\n engagementEventGroupIds: [EngagementEventGroups.one2one, EngagementEventGroups.intelligentMarketing],\n take: MAX_ROWS,\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\n notWorkedOnly: $ctrl.showNotWorkedOnly,\n dealerId: $ctrl.selectedDealerId\n });\n },\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n }, {\n widgetDefaultOrder: 9,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'web',\n widgetExpandToolTipKey: 'web',\n icon: 'web',\n highEngagementDescription: 'webHighEngagementDescription',\n detailViewLinkDisabled: true,\n columnTypes: webColumnTypes,\n widgetDataService: function widgetDataService(force) {\n return customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\n engagementEventGroupIds: [EngagementEventGroups.web],\n take: MAX_ROWS,\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\n notWorkedOnly: $ctrl.showNotWorkedOnly,\n dealerId: $ctrl.selectedDealerId\n });\n },\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n }];\n _context.next = 3;\n return dealerService.getIsAssetEnabledForDealer(assetTypes.reviewBuilderPro, $ctrl.selectedDealerId);\n\n case 3:\n $ctrl.showReviewPro = _context.sent;\n\n if ($ctrl.showReviewPro === true) {\n $ctrl.widgets.push({\n widgetDefaultOrder: 10,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'reviews',\n widgetExpandToolTipKey: '',\n icon: 'reviews',\n highEngagementDescription: '',\n detailViewLinkDisabled: true,\n columnTypes: reviewProColumnTypes,\n widgetDataService: function widgetDataService(force) {\n return customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\n engagementEventGroupIds: [EngagementEventGroups.reviews],\n take: MAX_ROWS,\n hotLeadsOnly: 0,\n notWorkedOnly: $ctrl.showNotWorkedOnly,\n dealerId: $ctrl.selectedDealerId\n });\n },\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n });\n }\n\n _context.next = 7;\n return dealerService.getIsAssetEnabledForDealer(assetTypes.geoAlert, $ctrl.selectedDealerId);\n\n case 7:\n $ctrl.showGeoAlert = _context.sent;\n\n if ($ctrl.showGeoAlert === true) {\n $ctrl.widgets.push({\n widgetDefaultOrder: 11,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: 'geoAlert',\n widgetExpandToolTipKey: 'geoAlert',\n icon: 'geo-alert-icon-white',\n highEngagementDescription: 'geoAlertTypeActive',\n detailViewLinkDisabled: true,\n columnTypes: geoAlertColumnTypes,\n widgetDataService: function widgetDataService(force) {\n return customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\n engagementEventGroupIds: [EngagementEventGroups.geoAlert],\n take: MAX_ROWS,\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\n notWorkedOnly: $ctrl.showNotWorkedOnly,\n dealerId: $ctrl.selectedDealerId\n });\n },\n triggerRefresh: 0,\n isFavorite: false,\n isCollapsed: false\n });\n } // Get favorites from localstorage and re-order:\n\n\n showFavorites();\n showCollapseState();\n\n case 11:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n return _setUpWidgets.apply(this, arguments);\n }\n\n function showCollapseState() {\n var widgetStr = storageService.getItem('localPriorityCollapseState_' + $ctrl.userId);\n\n if (widgetStr != null) {\n var widgetList = widgetStr.split(\",\");\n widgetList.forEach(function (widget) {\n var widgetSetting = widget.split(\":\");\n var index = widgetSetting[0];\n var collapseState = widgetSetting[1];\n\n var widgetIndex = _.findIndex($ctrl.widgets, {\n widgetDefaultOrder: parseInt(index)\n });\n\n if (widgetIndex >= 0) {\n $ctrl.widgets[widgetIndex].isCollapsed = collapseState == \"1\" ? true : false;\n }\n });\n }\n }\n\n function showFavorites() {\n var favoritesStr = storageService.getItem('localPriorityDashFavs_' + $ctrl.userId);\n\n if (favoritesStr != null) {\n $ctrl.widgets.sort(byDefaultOrder);\n var favorites = favoritesStr.split(\",\");\n\n for (var i = favorites.length - 1; i >= 0; i--) {\n var index = _.findIndex($ctrl.widgets, {\n widgetDefaultOrder: parseInt(favorites[i])\n });\n\n if (index > 0) {\n $ctrl.widgets[index].isFavorite = true;\n moveWidgetToTop(index);\n }\n }\n }\n }\n\n function byDefaultOrder(object1, object2) {\n if (object1.widgetDefaultOrder < object2.widgetDefaultOrder) return -1;\n if (object1.widgetDefaultOrder > object2.widgetDefaultOrder) return 1;\n return 0;\n }\n\n function setFavoriteWidget(index, isOn) {\n // get index from order field:\n var widgetIndex = _.findIndex($ctrl.widgets, {\n widgetDefaultOrder: index\n });\n\n if (!isOn) {\n $ctrl.widgets[widgetIndex].isFavorite = false;\n } else {\n $ctrl.widgets[widgetIndex].isFavorite = true;\n moveWidgetToTop(widgetIndex);\n }\n\n saveFavorites();\n showFavorites();\n }\n\n function saveCollapseState(index, isCollapsed) {\n var collapseState = \"\";\n\n var widgetIndex = _.findIndex($ctrl.widgets, {\n widgetDefaultOrder: index\n });\n\n $ctrl.widgets[widgetIndex].isCollapsed = isCollapsed;\n $ctrl.widgets.forEach(function (widget) {\n collapseState = collapseState + \",\" + widget.widgetDefaultOrder + \":\" + (widget.isCollapsed ? \"1\" : \"0\");\n });\n storageService.setItem('localPriorityCollapseState_' + $ctrl.userId, collapseState.substring(1));\n }\n\n function saveFavorites() {\n var favorites = \"\";\n $ctrl.widgets.forEach(function (widget) {\n if (widget.isFavorite) {\n favorites = favorites + \",\" + widget.widgetDefaultOrder;\n }\n });\n storageService.setItem('localPriorityDashFavs_' + $ctrl.userId, favorites.substring(1));\n }\n\n function moveWidgetToTop(from) {\n $ctrl.widgets.splice(0, 0, $ctrl.widgets.splice(from, 1)[0]);\n }\n\n function init() {\n authorizationService.getDealSheetPermissions().then(function (data) {\n $ctrl.permissions = data;\n });\n }\n\n function $onChanges(changes) {\n if (changes.selectedDealerId) {\n setUpWidgets().then(function (result) {\n if (!changes.selectedDealerId.isFirstChange()) {\n refreshWidgets();\n }\n });\n }\n }\n\n function closeCallback(type) {\n //refresh\n switch (type) {\n case widgetTypes.lease:\n case widgetTypes.retail:\n case widgetTypes.newOpportunityChanges:\n $ctrl.refreshWidgets();\n break;\n\n case widgetTypes.agenda:\n case widgetTypes.recentlyAssigned:\n default:\n break;\n }\n }\n\n function refreshWidgets() {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = $ctrl.widgets[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var widget = _step.value;\n widget.triggerRefresh++;\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n\n function filtersChanged() {\n refreshWidgets();\n }\n\n function getWidgetLink(type) {\n if (isEuroLite) return 'euroliteopportunities';\n\n switch (type) {\n case 'lease':\n return 'opportunitiesLease';\n\n case 'retail':\n return 'opportunitiesRetail';\n }\n }\n\n function getWidgetColumnTypesList(type) {\n switch (type) {\n case 'lease':\n if (isEuroLite) return ['opportunity', 'alertBlocks'];else return ['opportunity', 'alertBlocks', 'apptOrRoDate', 'lease'];\n\n case 'retail':\n if (isEuroLite) return ['opportunity', 'alertBlocks'];else return ['opportunity', 'alertBlocks', 'apptOrRoDate', 'retail'];\n\n default:\n return ['opportunity', 'alertBlocks', 'apptOrRoDate'];\n }\n }\n\n function leaseWidgetDataService(flushCache) {\n return searchService.getOpenOpportunities($ctrl.selectedDealerId, $ctrl.leaseSaleTypes, flushCache);\n }\n\n function retailWidgetDataService(flushCache) {\n return searchService.getOpenOpportunities($ctrl.selectedDealerId, $ctrl.retailSaleTypes, flushCache);\n }\n\n function recentlyAssignedWidgetDataService(flushCache) {\n return searchService.getRecentlyAssignedOpportunities($ctrl.selectedDealerId, flushCache);\n }\n\n function agendaWidgetDataService(flushCache) {\n return activityService.getAgendaItems($ctrl.selectedDealerId, null, flushCache);\n }\n\n function getUpcomingAppointments() {\n // This ought to be the _dealer's_ time zone, not the user's, but we\n // don't have that info. We fall back to the browser's time zone if the\n // profile's time zone is not set.\n var timeZone = TimeZonesById[storageService.getItem('timezoneId')] || guessBrowserTimeZone();\n var now = moment();\n var startOfToday = now.clone().tz(timeZone.tzdbName).startOf('day');\n var dateTo = startOfToday.clone().add(30, 'days');\n return activityService.getAgendaItemsWithEntityData({\n dateFrom: startOfToday.toDate(),\n dateTo: dateTo.toDate(),\n activityTypes: [ApiActivityTypes.appointment],\n take: MAX_ROWS\n }).then(function (appts) {\n return appts.map(function (appt) {\n return _objectSpread({}, appt, {\n // Faking the highEngagement flag is easier than editing\n // dashboardOpportunitiesTable so it understands \"today\"\n highEngagement: moment(appt.dueDate).isSame(now, 'day')\n });\n });\n }).then(function (appts) {\n if ($ctrl.showHotLeadsOnly) {\n return appts.filter(function (appt) {\n return appt.highEngagement;\n });\n } else {\n return appts;\n }\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./dashboard-manager.component.html');\n\nimport angular from 'angular';\r\nimport moment from 'moment-timezone';\r\nimport { ApiActivityTypes } from '../../constants';\r\nimport { TimeZonesById, guessBrowserTimeZone } from '../../constants/time-zones';\r\nimport { widgetTypes } from '../../constants/widget-types';\r\nimport { EngagementEventGroups } from '../../constants/engagement-event-types.constant';\r\n\r\nimport './dashboard.scss';\r\n\r\nangular.module('AaApp.Opp').component('dashboardManager', {\r\n templateUrl: '/app/components/dashboard/dashboard-manager.component.html',\r\n controller: DashboardManagerController,\r\n bindings: { \r\n selectedDealerId : \"<\",\r\n userId: \"<\"\r\n }\r\n});\r\n\r\nfunction DashboardManagerController(activityService, storageService, \r\n customerEngagementService, authorizationService, searchService, environmentVariables, dealerService, assetTypes, saleTypes) {\r\n \"ngInject\";\r\n\r\n const $ctrl = this;\r\n const MAX_ROWS = environmentVariables.managerDashboardCustomerEngagementMaxRows || 50;\r\n\r\n $ctrl.showHotLeadsOnly = false;\r\n $ctrl.showNotWorkedOnly = false;\r\n $ctrl.permissions = {};\r\n $ctrl.$onChanges = $onChanges;\r\n\r\n $ctrl.closeCallback = closeCallback;\r\n $ctrl.refreshWidgets = refreshWidgets;\r\n $ctrl.hotLeadsOnlyChanged = filtersChanged;\r\n $ctrl.NotWorkedChanged = filtersChanged;\r\n $ctrl.$onInit = init;\r\n $ctrl.showReviewPro = false;\r\n $ctrl.showGeoAlert = false;\r\n $ctrl.getWidgetColumnTypesList = getWidgetColumnTypesList;\r\n $ctrl.getWidgetLink = getWidgetLink;\r\n $ctrl.moveWidgetToTop = moveWidgetToTop;\r\n $ctrl.setFavoriteWidget = setFavoriteWidget;\r\n $ctrl.saveCollapseState = saveCollapseState;\r\n\r\n\r\n //const standardColumnTypes = ['customerEngagement', 'opportunity', 'alertBlocks'];\r\n const reviewProColumnTypes = ['customerEngagement', 'opportunity', 'reviewRating'];\r\n const emailTextOneToOneColumnTypes = ['customerEngagement', 'opportunity', 'groupEngagement', 'alertBlocks', 'emailtext'];\r\n const serviceColumnTypes = ['customerEngagement', 'opportunity', 'service', 'alertBlocks'];\r\n const webColumnTypes = ['customerEngagement', 'opportunity', 'web', 'alertBlocks'];\r\n const geoAlertColumnTypes = ['customerEngagement', 'opportunity', 'geoAlert'];\r\n const upComingApptColumnTypes = ['customerEngagement', 'opportunity', 'alertBlocks', 'upcoming'];\r\n\r\n var isEuroLite = authorizationService.isEuroLite();\r\n\r\n //TODO: refactor this to a centralized location.\r\n //Configuration\r\n $ctrl.leaseSaleTypes = [saleTypes.lease];\r\n $ctrl.retailSaleTypes = [saleTypes.retail, saleTypes.balloon];\r\n\r\n\r\n async function setUpWidgets() {\r\n\r\n $ctrl.widgets = [\r\n {\r\n widgetDefaultOrder: 1,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'retailWidgetTitle',\r\n widgetExpandToolTipKey: 'expandretail',\r\n widgetLink: $ctrl.getWidgetLink('retail'),\r\n columnTypes: $ctrl.getWidgetColumnTypesList('retail'),\r\n widgetDataService: retailWidgetDataService,\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n },\r\n {\r\n widgetDefaultOrder: 2,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'leaseWidgetTitle',\r\n widgetExpandToolTipKey: 'expandlease',\r\n widgetLink: $ctrl.getWidgetLink('lease'),\r\n columnTypes: $ctrl.getWidgetColumnTypesList('lease'),\r\n widgetDataService: leaseWidgetDataService,\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n },\r\n {\r\n widgetDefaultOrder: 3,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'emailText',\r\n widgetExpandToolTipKey: 'email',\r\n icon: 'email-sms',\r\n highEngagementDescription: 'emailTextHighEngagementDescription',\r\n detailViewLinkDisabled: true,\r\n columnTypes: emailTextOneToOneColumnTypes,\r\n widgetDataService:\r\n (force) => customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\r\n engagementEventGroupIds: [EngagementEventGroups.email, EngagementEventGroups.text, EngagementEventGroups.autoAssistant],\r\n take: MAX_ROWS,\r\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\r\n notWorkedOnly: $ctrl.showNotWorkedOnly,\r\n dealerId: $ctrl.selectedDealerId,\r\n }).then(mappedResponse => {\r\n return mappedResponse.sort((a, b) => {\r\n return new Date(b.eventDate) - new Date(a.eventDate);\r\n })\r\n }),\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n },\r\n {\r\n widgetDefaultOrder: 4,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'upcomingAppointments',\r\n widgetExpandToolTipKey: 'upcomingAppointments',\r\n icon: 'aa-icon-core-calendar-icon-000000',\r\n highEngagementDescription: 'todaysAppointments',\r\n detailViewLinkDisabled: true,\r\n columnTypes: upComingApptColumnTypes,\r\n widgetDataService: getUpcomingAppointments,\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n },\r\n {\r\n widgetDefaultOrder: 5,\r\n widgetType: widgetTypes.agenda,\r\n widgetTitleKey: 'agendaWidgetTitle',\r\n widgetExpandToolTipKey: 'expandagenda',\r\n widgetLink: 'activitiesAgenda',\r\n widgetDataService: agendaWidgetDataService,\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n },\r\n {\r\n widgetDefaultOrder: 6,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'recentlyAssignedWidgetTitle',\r\n widgetExpandToolTipKey: 'expandrecentlyAssigned',\r\n widgetDataService: recentlyAssignedWidgetDataService,\r\n detailViewLinkDisabled: true,\r\n columnTypes: ['opportunity', 'alertBlocks', 'assignedDate'],\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n },\r\n {\r\n widgetDefaultOrder: 7,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'service',\r\n widgetExpandToolTipKey: 'service',\r\n icon: 'aa-icon-service-drive',\r\n highEngagementDescription: 'serviceHighEngagementDescription',\r\n detailViewLinkDisabled: true,\r\n columnTypes: serviceColumnTypes,\r\n widgetDataService:\r\n (force) => customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\r\n engagementEventGroupIds: [EngagementEventGroups.service],\r\n take: MAX_ROWS,\r\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\r\n notWorkedOnly: $ctrl.showNotWorkedOnly,\r\n dealerId: $ctrl.selectedDealerId,\r\n }),\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n },\r\n {\r\n widgetDefaultOrder: 8,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'oneToOne',\r\n widgetExpandToolTipKey: 'oneToOne',\r\n icon: 'marketing-mailer-icon-white',\r\n highEngagementDescription: 'o2oHighEngagementDescription',\r\n detailViewLinkDisabled: true,\r\n columnTypes: emailTextOneToOneColumnTypes,\r\n widgetDataService:\r\n (force) => customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\r\n engagementEventGroupIds: [EngagementEventGroups.one2one, EngagementEventGroups.intelligentMarketing],\r\n take: MAX_ROWS,\r\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\r\n notWorkedOnly: $ctrl.showNotWorkedOnly,\r\n dealerId: $ctrl.selectedDealerId,\r\n }),\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n },\r\n {\r\n widgetDefaultOrder: 9,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'web',\r\n widgetExpandToolTipKey: 'web',\r\n icon: 'web',\r\n highEngagementDescription: 'webHighEngagementDescription',\r\n detailViewLinkDisabled: true,\r\n columnTypes: webColumnTypes,\r\n widgetDataService:\r\n (force) => customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\r\n engagementEventGroupIds: [EngagementEventGroups.web],\r\n take: MAX_ROWS,\r\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\r\n notWorkedOnly: $ctrl.showNotWorkedOnly,\r\n dealerId: $ctrl.selectedDealerId,\r\n }),\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n },\r\n ];\r\n\r\n $ctrl.showReviewPro = await dealerService.getIsAssetEnabledForDealer(assetTypes.reviewBuilderPro, $ctrl.selectedDealerId);\r\n if ($ctrl.showReviewPro === true) {\r\n $ctrl.widgets.push(\r\n {\r\n widgetDefaultOrder: 10,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'reviews',\r\n widgetExpandToolTipKey: '',\r\n icon: 'reviews',\r\n highEngagementDescription: '',\r\n detailViewLinkDisabled: true,\r\n columnTypes: reviewProColumnTypes,\r\n widgetDataService:\r\n (force) => customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\r\n engagementEventGroupIds: [EngagementEventGroups.reviews],\r\n take: MAX_ROWS,\r\n hotLeadsOnly: 0,\r\n notWorkedOnly: $ctrl.showNotWorkedOnly,\r\n dealerId: $ctrl.selectedDealerId,\r\n }),\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n }\r\n );\r\n }\r\n\r\n $ctrl.showGeoAlert = await dealerService.getIsAssetEnabledForDealer(assetTypes.geoAlert, $ctrl.selectedDealerId);\r\n if ($ctrl.showGeoAlert === true) {\r\n $ctrl.widgets.push(\r\n {\r\n widgetDefaultOrder: 11,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: 'geoAlert',\r\n widgetExpandToolTipKey: 'geoAlert',\r\n icon: 'geo-alert-icon-white',\r\n highEngagementDescription: 'geoAlertTypeActive',\r\n detailViewLinkDisabled: true,\r\n columnTypes: geoAlertColumnTypes,\r\n widgetDataService:\r\n (force) => customerEngagementService.getCustomerEngagementByGroup($ctrl.selectedDealerId, {\r\n engagementEventGroupIds: [EngagementEventGroups.geoAlert],\r\n take: MAX_ROWS,\r\n hotLeadsOnly: $ctrl.showHotLeadsOnly,\r\n notWorkedOnly: $ctrl.showNotWorkedOnly,\r\n dealerId: $ctrl.selectedDealerId,\r\n }),\r\n triggerRefresh: 0,\r\n isFavorite: false,\r\n isCollapsed: false,\r\n }\r\n );\r\n }\r\n\r\n // Get favorites from localstorage and re-order:\r\n showFavorites();\r\n\r\n showCollapseState();\r\n }\r\n\r\n function showCollapseState() {\r\n var widgetStr = storageService.getItem('localPriorityCollapseState_' + $ctrl.userId);\r\n if (widgetStr != null) {\r\n var widgetList = widgetStr.split(\",\");\r\n\r\n widgetList.forEach(function (widget) {\r\n var widgetSetting = widget.split(\":\");\r\n var index = widgetSetting[0];\r\n var collapseState = widgetSetting[1];\r\n var widgetIndex = _.findIndex($ctrl.widgets, { widgetDefaultOrder: parseInt(index) });\r\n if (widgetIndex >= 0) {\r\n $ctrl.widgets[widgetIndex].isCollapsed = collapseState == \"1\" ? true : false;\r\n }\r\n });\r\n }\r\n }\r\n\r\n function showFavorites() {\r\n var favoritesStr = storageService.getItem('localPriorityDashFavs_' + $ctrl.userId);\r\n if (favoritesStr != null) {\r\n\r\n $ctrl.widgets.sort(byDefaultOrder);\r\n\r\n var favorites = favoritesStr.split(\",\");\r\n\r\n for (var i = favorites.length - 1; i >= 0; i--) {\r\n var index = _.findIndex($ctrl.widgets, { widgetDefaultOrder: parseInt(favorites[i]) });\r\n if (index > 0) {\r\n $ctrl.widgets[index].isFavorite = true;\r\n moveWidgetToTop(index);\r\n }\r\n }\r\n }\r\n }\r\n\r\n function byDefaultOrder(object1, object2) {\r\n if (object1.widgetDefaultOrder < object2.widgetDefaultOrder)\r\n return -1;\r\n if (object1.widgetDefaultOrder > object2.widgetDefaultOrder)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function setFavoriteWidget(index, isOn) {\r\n // get index from order field:\r\n var widgetIndex = _.findIndex($ctrl.widgets, { widgetDefaultOrder: index });\r\n\r\n if (!isOn) {\r\n $ctrl.widgets[widgetIndex].isFavorite = false;\r\n }\r\n else {\r\n $ctrl.widgets[widgetIndex].isFavorite = true;\r\n moveWidgetToTop(widgetIndex);\r\n }\r\n\r\n saveFavorites();\r\n showFavorites();\r\n }\r\n\r\n\r\n function saveCollapseState(index, isCollapsed) {\r\n var collapseState = \"\";\r\n \r\n var widgetIndex = _.findIndex($ctrl.widgets, { widgetDefaultOrder: index });\r\n $ctrl.widgets[widgetIndex].isCollapsed = isCollapsed;\r\n\r\n $ctrl.widgets.forEach(function (widget) {\r\n collapseState = collapseState + \",\" + widget.widgetDefaultOrder + \":\" + (widget.isCollapsed ? \"1\" : \"0\");\r\n });\r\n storageService.setItem('localPriorityCollapseState_' + $ctrl.userId, collapseState.substring(1));\r\n }\r\n\r\n\r\n function saveFavorites() {\r\n var favorites = \"\";\r\n $ctrl.widgets.forEach(function (widget) {\r\n if (widget.isFavorite) {\r\n favorites = favorites + \",\" + widget.widgetDefaultOrder;\r\n }\r\n });\r\n storageService.setItem('localPriorityDashFavs_' + $ctrl.userId, favorites.substring(1));\r\n }\r\n\r\n function moveWidgetToTop(from) {\r\n $ctrl.widgets.splice(0, 0, $ctrl.widgets.splice(from, 1)[0]);\r\n }\r\n\r\n function init() {\r\n authorizationService.getDealSheetPermissions().then(function (data){\r\n $ctrl.permissions = data;\r\n });\r\n }\r\n\r\n function $onChanges(changes) {\r\n if (changes.selectedDealerId) {\r\n setUpWidgets()\r\n .then(result => {\r\n if (!changes.selectedDealerId.isFirstChange()) {\r\n refreshWidgets();\r\n }\r\n });\r\n }\r\n }\r\n\r\n function closeCallback(type) {\r\n //refresh\r\n switch (type) {\r\n case widgetTypes.lease:\r\n case widgetTypes.retail:\r\n case widgetTypes.newOpportunityChanges:\r\n $ctrl.refreshWidgets();\r\n break;\r\n case widgetTypes.agenda:\r\n case widgetTypes.recentlyAssigned:\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n function refreshWidgets() {\r\n for (const widget of $ctrl.widgets) {\r\n widget.triggerRefresh++;\r\n }\r\n }\r\n\r\n function filtersChanged() {\r\n refreshWidgets();\r\n }\r\n\r\n function getWidgetLink(type) {\r\n if (isEuroLite)\r\n return 'euroliteopportunities';\r\n\r\n switch (type) {\r\n case 'lease':\r\n return 'opportunitiesLease';\r\n case 'retail':\r\n return 'opportunitiesRetail';\r\n }\r\n }\r\n\r\n function getWidgetColumnTypesList(type) {\r\n switch (type) {\r\n case 'lease':\r\n if (isEuroLite)\r\n return ['opportunity', 'alertBlocks'];\r\n else\r\n return ['opportunity', 'alertBlocks', 'apptOrRoDate', 'lease'];\r\n case 'retail':\r\n if (isEuroLite)\r\n return ['opportunity', 'alertBlocks'];\r\n else\r\n return ['opportunity', 'alertBlocks', 'apptOrRoDate', 'retail'];\r\n default:\r\n return ['opportunity', 'alertBlocks', 'apptOrRoDate'];\r\n }\r\n }\r\n\r\n function leaseWidgetDataService(flushCache) {\r\n return searchService.getOpenOpportunities($ctrl.selectedDealerId, $ctrl.leaseSaleTypes, flushCache);\r\n }\r\n\r\n function retailWidgetDataService(flushCache) {\r\n return searchService.getOpenOpportunities($ctrl.selectedDealerId, $ctrl.retailSaleTypes, flushCache);\r\n }\r\n\r\n function recentlyAssignedWidgetDataService(flushCache) {\r\n return searchService.getRecentlyAssignedOpportunities($ctrl.selectedDealerId, flushCache);\r\n }\r\n\r\n function agendaWidgetDataService(flushCache) {\r\n return activityService.getAgendaItems($ctrl.selectedDealerId, null, flushCache);\r\n }\r\n\r\n function getUpcomingAppointments() {\r\n // This ought to be the _dealer's_ time zone, not the user's, but we\r\n // don't have that info. We fall back to the browser's time zone if the\r\n // profile's time zone is not set.\r\n const timeZone = TimeZonesById[storageService.getItem('timezoneId')] || guessBrowserTimeZone();\r\n\r\n const now = moment();\r\n const startOfToday = now.clone().tz(timeZone.tzdbName).startOf('day');\r\n const dateTo = startOfToday.clone().add(30, 'days');\r\n\r\n return activityService.getAgendaItemsWithEntityData({\r\n dateFrom: startOfToday.toDate(),\r\n dateTo: dateTo.toDate(),\r\n activityTypes: [ ApiActivityTypes.appointment ],\r\n take: MAX_ROWS,\r\n }).then(appts => appts.map(appt => ({\r\n ...appt,\r\n // Faking the highEngagement flag is easier than editing\r\n // dashboardOpportunitiesTable so it understands \"today\"\r\n highEngagement: moment(appt.dueDate).isSame(now, 'day'),\r\n }))).then(appts => {\r\n if ($ctrl.showHotLeadsOnly) {\r\n return appts.filter(appt => appt.highEngagement)\r\n } else {\r\n return appts;\r\n }\r\n })\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./dashboard-opportunities.component.html');\n\nimport angular from 'angular';\r\n\r\nimport './dashboard.scss';\r\n\r\nangular.module('AaApp.Opp').component('dashboardOpportunities', {\r\n templateUrl: '/app/components/dashboard/dashboard-opportunities.component.html',\r\n controller: DashboardOpportunitiesController,\r\n bindings: {\r\n selectedDealerId: '<',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DashboardOpportunitiesController($state, $route, $rootScope, $translate, $translatePartialLoader, $sce, legacy, opportunityCountsService, userService, storageService,\r\n activityService, searchService, localePaths, alertTypeDescriptors, roles, saleTypes, widgetTypes, widgetTitleKeys, widgetExpandToolTipKeys,\r\n searchPresetService,authorizationService, modules) {\r\n\r\n const $ctrl = this;\r\n\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.$onChanges = $onChanges;\r\n //$ctrl.leaseWidgetDataService = leaseWidgetDataService;\r\n //$ctrl.retailWidgetDataService = retailWidgetDataService;\r\n //$ctrl.agendaWidgetDataService = agendaWidgetDataService;\r\n $ctrl.newOpportunityChangesWidgetDataService = newOpportunityChangesWidgetDataService;\r\n //$ctrl.recentlyAssignedWidgetDataService = recentlyAssignedWidgetDataService;\r\n $ctrl.getOpportunityCounts = getOpportunityCounts;\r\n\r\n $ctrl.getWidgetColumnTypesList = getWidgetColumnTypesList;\r\n //$ctrl.getWidgetLink = getWidgetLink;\r\n\r\n $ctrl.closeCallback = closeCallback;\r\n $ctrl.refreshWidgets = refreshWidgets;\r\n $ctrl.permissions = {};\r\n\r\n $ctrl.leftColumnWidgets = [];\r\n $ctrl.rightColumnWidgets = [];\r\n\r\n $ctrl.displayWidgets = [];\r\n\r\n\r\n //TODO: refactor this to a centralized location.\r\n //Configuration\r\n $ctrl.leaseSaleTypes = [saleTypes.lease];\r\n $ctrl.retailSaleTypes = [saleTypes.retail, saleTypes.balloon];\r\n\r\n //$ctrl.managerIndex = -1;\r\n $ctrl.iframeSource = $sce.trustAsResourceUrl(legacy.iframeUrl + '/Home/ContactUs');\r\n $ctrl.alertTypeDescriptors = alertTypeDescriptors;\r\n\r\n var isEuroLite = authorizationService.isEuroLite();\r\n\r\n //var agendaWidgetConfig = {\r\n // managerWidgetOrder: 4,\r\n // widgetType: widgetTypes.agenda,\r\n // widgetTitleKey: widgetTitleKeys.agenda,\r\n // widgetExpandToolTipKey: widgetExpandToolTipKeys.agenda,\r\n // widgetLink: 'activitiesAgenda',\r\n // widgetDataService: $ctrl.agendaWidgetDataService,\r\n // triggerRefresh: 0,\r\n //};\r\n //var recentlyAssignedConfig = {\r\n // managerWidgetOrder: 5,\r\n // widgetType: widgetTypes.opportunitiesTable,\r\n // widgetTitleKey: widgetTitleKeys.recentlyAssigned,\r\n // widgetExpandToolTipKey: widgetExpandToolTipKeys.recentlyAssigned,\r\n // widgetDataService: $ctrl.recentlyAssignedWidgetDataService,\r\n // detailViewLinkDisabled: true,\r\n // columnTypes: ['opportunity', 'alertBlocks', 'assignedDate'],\r\n // triggerRefresh: 0,\r\n //};\r\n\r\n //var leaseWidgetConfig = {\r\n // managerWidgetOrder: 1,\r\n // widgetType: widgetTypes.opportunitiesTable,\r\n // widgetTitleKey: widgetTitleKeys.lease,\r\n // widgetExpandToolTipKey: widgetExpandToolTipKeys.lease,\r\n // widgetLink: $ctrl.getWidgetLink('lease'), \r\n // columnTypes: $ctrl.getWidgetColumnTypesList('lease'),\r\n // widgetDataService: $ctrl.leaseWidgetDataService,\r\n // triggerRefresh: 0,\r\n //};\r\n\r\n //var retailWidgetConfig = {\r\n // managerWidgetOrder: 2,\r\n // widgetType: widgetTypes.opportunitiesTable,\r\n // widgetTitleKey: widgetTitleKeys.retail,\r\n // widgetExpandToolTipKey: widgetExpandToolTipKeys.retail,\r\n // widgetLink: $ctrl.getWidgetLink('retail'), \r\n // columnTypes: $ctrl.getWidgetColumnTypesList('retail'),\r\n // widgetDataService: $ctrl.retailWidgetDataService,\r\n // triggerRefresh: 0,\r\n //};\r\n\r\n var newOpportunityChangesConfig = {\r\n managerWidgetOrder: 3,\r\n widgetType: widgetTypes.opportunitiesTable,\r\n widgetTitleKey: widgetTitleKeys.newOpportunityChanges,\r\n widgetExpandToolTipKey: widgetExpandToolTipKeys.newOpportunityChanges,\r\n widgetDataService: $ctrl.newOpportunityChangesWidgetDataService,\r\n columnTypes: ['opportunity', 'alertBlocks', 'responsibleUserFullName'],\r\n detailViewLinkDisabled: true,\r\n triggerRefresh: 0,\r\n };\r\n\r\n var searchPresetCountConfig = {\r\n managerWidgetOrder: 7,\r\n widgetType: widgetTypes.searchPresetCounts,\r\n widgetTitleKey: widgetTitleKeys.opportunitySearches,\r\n widgetDataService: searchPresetCountWidgetDataService,\r\n detailViewLinkDisabled: true,\r\n triggerRefresh: 0,\r\n };\r\n\r\n function $onInit() {\r\n $translatePartialLoader.addPart(localePaths.general);\r\n $translatePartialLoader.addPart(localePaths.dashboard);\r\n\r\n userService.getUserProfile().then(function (data) {\r\n if (data == undefined) {\r\n $state.go('login');\r\n }\r\n $ctrl.roleId = data.roleId;\r\n\r\n var managerRoles = [\r\n roles.dealerAdmin,\r\n roles.generalManager,\r\n roles.salesManager,\r\n roles.financeAndInsuranceManager,\r\n roles.usedCarSalesManager,\r\n ];\r\n\r\n var moduleIds = storageService.getItem('moduleIds');\r\n if (moduleIds) {\r\n var searchPresentCountWidgetEnabled = moduleIds.indexOf(modules.search) > -1;\r\n }\r\n\r\n\r\n if (managerRoles.indexOf(data.roleId) >= 0) {\r\n if (searchPresentCountWidgetEnabled) {\r\n\r\n $ctrl.displayWidgets = [\r\n searchPresetCountConfig,\r\n newOpportunityChangesConfig,\r\n //leaseWidgetConfig,\r\n //retailWidgetConfig,\r\n //agendaWidgetConfig,\r\n //recentlyAssignedConfig,\r\n ];\r\n }\r\n else {\r\n $ctrl.displayWidgets = [\r\n newOpportunityChangesConfig,\r\n //leaseWidgetConfig,\r\n //retailWidgetConfig,\r\n //agendaWidgetConfig,\r\n //recentlyAssignedConfig,\r\n ];\r\n }\r\n }\r\n else {\r\n if (searchPresentCountWidgetEnabled) {\r\n $ctrl.displayWidgets = [\r\n searchPresetCountConfig,\r\n //agendaWidgetConfig,\r\n newOpportunityChangesConfig,\r\n //leaseWidgetConfig,\r\n //retailWidgetConfig,\r\n //recentlyAssignedConfig,\r\n ];\r\n }\r\n else {\r\n $ctrl.displayWidgets = [\r\n //agendaWidgetConfig,\r\n newOpportunityChangesConfig,\r\n //leaseWidgetConfig,\r\n //recentlyAssignedConfig,\r\n //retailWidgetConfig,\r\n ];\r\n }\r\n }\r\n\r\n\r\n\r\n\r\n\r\n if (!isEuroLite) {\r\n if (managerRoles.indexOf(data.roleId) >= 0) {\r\n if (searchPresentCountWidgetEnabled) {\r\n $ctrl.leftColumnWidgets = [\r\n //leaseWidgetConfig,\r\n newOpportunityChangesConfig,\r\n //recentlyAssignedConfig,\r\n ];\r\n $ctrl.rightColumnWidgets = [\r\n searchPresetCountConfig,\r\n //retailWidgetConfig,\r\n //agendaWidgetConfig,\r\n ];\r\n }\r\n else {\r\n $ctrl.leftColumnWidgets = [\r\n //leaseWidgetConfig,\r\n newOpportunityChangesConfig,\r\n //recentlyAssignedConfig\r\n ];\r\n\r\n $ctrl.rightColumnWidgets = [\r\n //retailWidgetConfig,\r\n //agendaWidgetConfig,\r\n ];\r\n\r\n }\r\n }\r\n else {\r\n if (searchPresentCountWidgetEnabled) {\r\n $ctrl.leftColumnWidgets = [\r\n //agendaWidgetConfig,\r\n //leaseWidgetConfig,\r\n newOpportunityChangesConfig,\r\n ];\r\n\r\n $ctrl.rightColumnWidgets = [\r\n searchPresetCountConfig,\r\n //recentlyAssignedConfig,\r\n //retailWidgetConfig,\r\n ];\r\n }\r\n else {\r\n $ctrl.leftColumnWidgets = [\r\n //agendaWidgetConfig,\r\n //leaseWidgetConfig,\r\n newOpportunityChangesConfig\r\n ];\r\n\r\n $ctrl.rightColumnWidgets = [\r\n //recentlyAssignedConfig,\r\n //retailWidgetConfig,\r\n ];\r\n }\r\n }\r\n }\r\n else {\r\n $ctrl.leftColumnWidgets = [ \r\n //leaseWidgetConfig,\r\n ];\r\n\r\n $ctrl.rightColumnWidgets = [\r\n //agendaWidgetConfig,\r\n //retailWidgetConfig,\r\n ];\r\n }\r\n });\r\n\r\n getOpportunityCounts(false);\r\n\r\n authorizationService.getDealSheetPermissions().then(function (data){\r\n $ctrl.permissions = data;\r\n });\r\n }\r\n\r\n\r\n //function getWidgetLink(type) {\r\n // if (isEuroLite)\r\n // return 'euroliteopportunities';\r\n\r\n // switch (type) {\r\n // case 'lease':\r\n // return 'opportunitiesLease';\r\n // case 'retail':\r\n // return 'opportunitiesRetail';\r\n // }\r\n //}\r\n\r\n\r\n function getWidgetColumnTypesList(type) { \r\n switch (type) {\r\n case 'lease':\r\n case 'retail':\r\n if (isEuroLite)\r\n return ['opportunity', 'alertBlocks'];\r\n else\r\n return ['opportunity', 'alertBlocks', 'apptOrRoDate'];\r\n default:\r\n return ['opportunity', 'alertBlocks', 'apptOrRoDate'];\r\n }\r\n }\r\n\r\n function getOpportunityCounts(flushCache) {\r\n $ctrl.widgetDataPromise = opportunityCountsService.getOpportunityCounts($ctrl.selectedDealerId, flushCache).then(function (data) {\r\n $ctrl.opportunityCounts = data;\r\n }); \r\n }\r\n\r\n function $onChanges(changes) {\r\n if (changes.selectedDealerId && !changes.selectedDealerId.isFirstChange()) {\r\n refreshAllWidgets();\r\n getOpportunityCounts();\r\n }\r\n }\r\n\r\n //function leaseWidgetDataService(flushCache) {\r\n // return searchService.getOpenOpportunities($ctrl.selectedDealerId, $ctrl.leaseSaleTypes, flushCache);\r\n //}\r\n\r\n //function retailWidgetDataService(flushCache) {\r\n // return searchService.getOpenOpportunities($ctrl.selectedDealerId, $ctrl.retailSaleTypes, flushCache);\r\n //}\r\n\r\n //function agendaWidgetDataService(flushCache) {\r\n // return activityService.getAgendaItems( $ctrl.selectedDealerId, null, flushCache);\r\n //}\r\n\r\n function newOpportunityChangesWidgetDataService(flushCache) {\r\n return searchService.getFreshOpportunities($ctrl.selectedDealerId, flushCache);\r\n }\r\n\r\n //function recentlyAssignedWidgetDataService(flushCache) {\r\n // return searchService.getRecentlyAssignedOpportunities($ctrl.selectedDealerId, flushCache);\r\n //}\r\n\r\n function searchPresetCountWidgetDataService(hardRefresh, widgetState) {\r\n const maxRowsDisplayed = widgetState && widgetState.maxRowsDisplayed;\r\n return searchPresetService.getDealerSearchPresetLayoutCounts(hardRefresh, $ctrl.selectedDealerId, maxRowsDisplayed);\r\n }\r\n\r\n function closeCallback(type) {\r\n //refresh\r\n switch (type) {\r\n case widgetTypes.lease:\r\n case widgetTypes.retail:\r\n case widgetTypes.newOpportunityChanges:\r\n $ctrl.refreshWidgets();\r\n break;\r\n case widgetTypes.agenda:\r\n case widgetTypes.recentlyAssigned:\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n function refreshAllWidgets() {\r\n if ($ctrl.leftColumnWidgets) {\r\n for (const widget of $ctrl.leftColumnWidgets) {\r\n widget.triggerRefresh++;\r\n }\r\n }\r\n if ($ctrl.rightColumnWidgets) {\r\n for (const widget of $ctrl.rightColumnWidgets) {\r\n widget.triggerRefresh++;\r\n }\r\n }\r\n }\r\n\r\n function refreshWidgets() {\r\n if ($ctrl.leftColumnWidgets) {\r\n for (var i = 0; i < $ctrl.leftColumnWidgets.length; i++) {\r\n if ($ctrl.leftColumnWidgets[i].widgetType === widgetTypes.agenda || $ctrl.leftColumnWidgets[i].widgetType === widgetTypes.recentlyAssigned) {\r\n $ctrl.leftColumnWidgets[i].triggerRefresh++;\r\n }\r\n }\r\n }\r\n\r\n if ($ctrl.rightColumnWidgets) {\r\n for (var k = 0; k < $ctrl.rightColumnWidgets.length; k++) {\r\n if ($ctrl.rightColumnWidgets[k].widgetType === widgetTypes.agenda || $ctrl.rightColumnWidgets[k].widgetType === widgetTypes.recentlyAssigned) {\r\n $ctrl.rightColumnWidgets[k].triggerRefresh++;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./dashboard.component.html');\n\nimport angular from 'angular';\r\nimport { Modules } from '../../constants/modules';\r\n\r\nimport './dashboard.scss';\r\n\r\nangular.module('AaApp.Opp').component('dashboard', {\r\n templateUrl: '/app/components/dashboard/dashboard.component.html',\r\n controller: DashboardController,\r\n bindings: {\r\n moduleIds: '<',\r\n }\r\n});\r\n\r\nfunction DashboardController($rootScope, dealerService, authorizationService, $state, globalIframeService, storageService, userService) {\r\n \"ngInject\";\r\n\r\n const $ctrl = this;\r\n\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.dealers;\r\n $ctrl.selectedDealerId = null;\r\n\r\n $ctrl.showQuickLinkPanel = true;\r\n\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n\r\n $ctrl.tabs = [];\r\n\r\n const isEuroLite = authorizationService.isEuroLite();\r\n const tabDefinitions = [\r\n {\r\n requiredModules: [],\r\n sref: 'dashboard.opportunities',\r\n translationKey: 'opportunitiesDashboardHeader',\r\n },\r\n {\r\n requiredModules: [Modules.managerDashboard],\r\n sref: 'dashboard.manager',\r\n translationKey: 'priorityOppDashboard',\r\n },\r\n ];\r\n\r\n function $onInit() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n\r\n $ctrl.selectedDealerId = storageService.getItem('selectedDealerId');\r\n\r\n // if no dealer has been selected yet and there is only one dealer or the selected dealer is no longer on the list of available dealers\r\n if (($ctrl.selectedDealerId == null && $ctrl.dealers.length == 1) || ($ctrl.selectedDealerId != null && !$ctrl.dealers.some(d => d.id == $ctrl.selectedDealerId)))\r\n $ctrl.selectedDealerId = $ctrl.dealers[0].id;\r\n\r\n const subscription = globalIframeService.subscribe(function ({ data }) {\r\n if (data && data['AUTOALERT_IFRAME_LOADED']) { // AA is ready show iframe\r\n $ctrl.IsVisible = true;\r\n }\r\n });\r\n $ctrl.$onDestroy = () => subscription.unsubscribe();\r\n\r\n userService.getUserProfile()\r\n .then(function (userProfile) {\r\n $ctrl.userId = userProfile.userId;\r\n })\r\n\r\n }\r\n\r\n function $onChanges(changes) {\r\n if (changes.moduleIds) {\r\n filterAvailableTabs(); \r\n }\r\n }\r\n\r\n function filterAvailableTabs() {\r\n $ctrl.showQuickLinkPanel = !isEuroLite;\r\n\r\n if (!isEuroLite)\r\n $ctrl.tabs = tabDefinitions.filter((def) => {\r\n // the user must have every required module\r\n return def.requiredModules.every(req => $ctrl.moduleIds.includes(req))\r\n });\r\n else\r\n $ctrl.tabs = tabDefinitions.filter((def) => { \r\n return def.sref == 'dashboard.opportunities';\r\n });\r\n\r\n }\r\n\r\n function onDealerSelect() {\r\n storageService.setItem('selectedDealerId', $ctrl.selectedDealerId);\r\n $state.go($state.current.name, { selectedDealerId : $ctrl.selectedDealerId });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./opportunity-block.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('opportunityBlock', {\r\n templateUrl: '/app/components/dashboard/opportunity-block.component.html',\r\n controller: OpportunityBlockController,\r\n bindings: {\r\n alertName: '@',\r\n alertCount: '@',\r\n cssClass: '@',\r\n selectedDealerId: '<',\r\n translateKey: '@'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction OpportunityBlockController($state, authorizationService, opportunityCountsService) {\r\n var $ctrl = this;\r\n //$ctrl.opportunities = {};\r\n\r\n $ctrl.goToState = goToState;\r\n \r\n function goToState() {\r\n const isEuroLite = authorizationService.isEuroLite();\r\n //logger.debug('block clicked for ' + 'opportunity' + $ctrl.alertName);\r\n\r\n if (!isEuroLite)\r\n $state.go('opportunities' + $ctrl.alertName.charAt(0).toUpperCase() + $ctrl.alertName.slice(1), { 'dealerId': $ctrl.selectedDealerId });\r\n else {\r\n var filter = { \"opportunityBlock\": $ctrl.alertName };\r\n $state.go('euroliteopportunities', { filter: filter });\r\n }\r\n\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./activity-actions.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('activityActions', {\r\n templateUrl: '/app/components/deal-sheet/activity-actions.component.html',\r\n controller: ActivityActionController,\r\n bindings: {\r\n opportunity: '<',\r\n users: '<',\r\n maxScheduleFutureDays: '<',\r\n permissions: '<',\r\n onAction: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ActivityActionController(ActivityActionEnum, dealSheetService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.ActivityActionEnum = ActivityActionEnum;\r\n $ctrl.openModal = openModal;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if ((changes.opportunity && changes.opportunity.currentValue || changes.users && changes.users.currentValue\r\n || changes.maxScheduleFutureDays && changes.maxScheduleFutureDays.currentValue) && ($ctrl.opportunity && $ctrl.users && $ctrl.maxScheduleFutureDays)) {\r\n $ctrl.scheduleModalParamObject = dealSheetService.getModalParamObject(\r\n null,\r\n $ctrl.opportunity.id,\r\n $ctrl.opportunity.customer ? $ctrl.opportunity.customer.dealerID : null,\r\n $ctrl.opportunity.assignedUserId,\r\n $ctrl.maxScheduleFutureDays,\r\n $ctrl.users,\r\n null,\r\n $ctrl.opportunity ? $ctrl.opportunity.ownerUserInfo : null);\r\n }\r\n }\r\n\r\n function openModal(modalType) {\r\n $ctrl.scheduleModalParamObject.modalType = modalType;\r\n dealSheetService.openScheduleModal($ctrl.scheduleModalParamObject, onAction);\r\n }\r\n\r\n function onAction() {\r\n $ctrl.onAction();\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./edit-upgrade-downgrade-multi-items-modal.component.html');\n\nimport angular from 'angular';\r\nimport './edit-upgrade-downgrade-multi-items-modal.component.scss';\r\nimport arrowIconPath from '../../../images/icon-arrow-right-charcoal.svg';\r\n\r\nangular.module('AaApp.Opp').component('editUpgradeDowngradeMultiItemsModal', {\r\n templateUrl: '/app/components/data-entry/replacement/edit-upgrade-downgrade-multi-items-modal.component.html',\r\n controller: editUpgradeDowngradeMultiItemsModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n//these controllers do not support dependency injection.\r\nfunction editUpgradeDowngradeMultiItemsModalController() {\r\n\r\n var $ctrl = this;\r\n\r\n //$ctrl.resolve is sent by the caller of this directive, and can be any JS object.\r\n // I'm using it to pass DI objects and input parameters.\r\n $ctrl.row = $ctrl.resolve.message.row;\r\n $ctrl.selectedDealerId = $ctrl.resolve.message.selectedDealerId;\r\n $ctrl.dataReplacementAdvanced = $ctrl.replacements = $ctrl.resolve.message.dataReplacementAdvanced;\r\n $ctrl.save = $ctrl.resolve.message.save;\r\n $ctrl.setTrimSelections = setTrimSelections;\r\n $ctrl.closeWrapper = closeWrapper;\r\n $ctrl.arrowIconPath = arrowIconPath;\r\n $ctrl.isError = false;\r\n $ctrl._ = $ctrl.resolve.message._;\r\n $ctrl.mapToItself = [];\r\n \r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: $ctrl.row.baseMakeID,\r\n makeName: $ctrl.row.baseMakeName,\r\n yearID: $ctrl.row.baseYearID,\r\n modelID: $ctrl.row.baseModelID,\r\n modelName: $ctrl.row.baseModelName,\r\n trimID: $ctrl.row.baseTrimID,\r\n trimName: $ctrl.row.baseTrimName\r\n };\r\n \r\n function setTrimSelections(selections) {\r\n $ctrl.defaults = selections;\r\n $ctrl.mapToItself = [];\r\n for (var i = 0; i < $ctrl.dataReplacementAdvanced.length; i++) {\r\n var item = $ctrl.dataReplacementAdvanced[i];\r\n if (item.existingYearID > selections.yearID) {\r\n $ctrl.mapToItself.push(item);\r\n }\r\n }\r\n $ctrl.replacements = $ctrl._.filter($ctrl.dataReplacementAdvanced, function (item) {\r\n return !$ctrl._.includes($ctrl.mapToItself, item);\r\n });\r\n\r\n $ctrl.isError = $ctrl.mapToItself.length > 0;\r\n\r\n $ctrl.resolve.submitButtonDisabled = $ctrl.defaults.trimID === $ctrl.row.baseTrimID;\r\n }\r\n\r\n $ctrl.resolve.submitButtonText = $ctrl.resolve.message.translations.previewChanges;\r\n $ctrl.isValidated = false;\r\n\r\n function closeWrapper() {\r\n if (!$ctrl.isValidated) {\r\n $ctrl.resolve.submitButtonText = \"submit\"\r\n $ctrl.isValidated = true;\r\n return;\r\n }\r\n\r\n var rowState = {\r\n replacements: $ctrl.replacements,\r\n mapToItself: $ctrl.mapToItself,\r\n row: $ctrl.row,\r\n replacementTrim: $ctrl.defaults\r\n }\r\n $ctrl.save(rowState);\r\n\r\n //The CLOSE() event should be called asyncronously, after the SAVE feature is successful.\r\n return $ctrl.close();\r\n }\r\n \r\n if ($ctrl.resolve.closeButtonVisible === undefined)\r\n $ctrl.resolve.closeButtonVisible = true;\r\n\r\n if ($ctrl.resolve.closeButtonText === undefined)\r\n $ctrl.resolve.closeButtonText = \"cancel\";\r\n\r\n if ($ctrl.resolve.submitButtonVisible === undefined)\r\n $ctrl.resolve.submitButtonVisible = true;\r\n\r\n if ($ctrl.resolve.submitButtonDisabled === undefined)\r\n $ctrl.resolve.submitButtonDisabled = false;\r\n\r\n if ($ctrl.resolve.submitButtonText === undefined)\r\n $ctrl.resolve.submitButtonText = \"yes\";\r\n\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./edit-upgrade-downgrade-modal.component.html');\n\nimport angular from 'angular';\r\nimport './edit-upgrade-downgrade-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('editUpgradeDowngradeModal', {\r\n templateUrl: '/app/components/data-entry/replacement/edit-upgrade-downgrade-modal.component.html',\r\n controller: editUpgradeDowngradeModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\nfunction editUpgradeDowngradeModalController() {\r\n \r\n var $ctrl = this;\r\n\r\n //$ctrl.resolve is sent by the caller of this directive, and can be any JS object.\r\n // I'm using it to enable DI and pass input parameters.\r\n $ctrl.row = $ctrl.resolve.message.row;\r\n $ctrl.selectedDealerId = $ctrl.resolve.message.selectedDealerId;\r\n $ctrl.save = $ctrl.resolve.message.save;\r\n $ctrl.setTrimSelections = setTrimSelections;\r\n $ctrl.closeWrapper = closeWrapper;\r\n\r\n $ctrl.upgrade = $ctrl.upgradeOriginal = getSelection(\"upgrade\");\r\n $ctrl.upgradeOverrideDefaults = $ctrl.upgradeOverrideValue = setDefaults(\"upgrade\");\r\n\r\n $ctrl.downgrade = $ctrl.downgradeOriginal = getSelection(\"downgrade\");\r\n $ctrl.downgradeOverrideDefaults = $ctrl.downgradeOverrideValue = setDefaults(\"downgrade\");\r\n\r\n $ctrl.upgradeRetailTolerance = $ctrl.upgradeRetailToleranceOriginal = $ctrl.row.upgradeRetailTolerance;\r\n $ctrl.upgradeLeaseTolerance = $ctrl.upgradeLeaseToleranceOriginal = $ctrl.row.upgradeLeaseTolerance;\r\n $ctrl.downgradeRetailTolerance = $ctrl.downgradeRetailToleranceOriginal = $ctrl.row.downgradeRetailTolerance;\r\n $ctrl.downgradeLeaseTolerance = $ctrl.downgradeLeaseToleranceOriginal = $ctrl.row.downgradeLeaseTolerance;\r\n\r\n $ctrl.invalidUpgradeLeaseTolerance = false;\r\n $ctrl.invalidUpgradeRetailTolerance = false;\r\n $ctrl.invalidDowngradeLeaseTolerance = false;\r\n $ctrl.invalidDowngradeRetailTolerance = false;\r\n\r\n function setTrimSelections(selections, upDown) {\r\n if (upDown == \"upgrade\") {\r\n $ctrl.upgradeOverrideValue = selections;\r\n $ctrl.upgrade = 'useOverride';\r\n }\r\n if (upDown == \"downgrade\") {\r\n $ctrl.downgradeOverrideValue = selections;\r\n $ctrl.downgrade = 'useOverride';\r\n }\r\n }\r\n\r\n function closeWrapper() {\r\n var rowState = {\r\n upgradeChanged: $ctrl.upgrade != $ctrl.upgradeOriginal || ($ctrl.upgrade == \"useOverride\" && (\r\n ($ctrl.upgradeOverrideDefaults.trimID != $ctrl.upgradeOverrideValue.trimID) ||\r\n $ctrl.upgradeRetailTolerance != $ctrl.upgradeRetailToleranceOriginal ||\r\n $ctrl.upgradeLeaseTolerance != $ctrl.upgradeLeaseToleranceOriginal\r\n )),\r\n upgradeSelection: $ctrl.upgrade,\r\n upgradeOverride: $ctrl.upgradeOverrideValue,\r\n\r\n downgradeChanged: $ctrl.downgrade != $ctrl.downgradeOriginal || ($ctrl.downgrade == \"useOverride\" && (\r\n ($ctrl.downgradeOverrideDefaults.trimID != $ctrl.downgradeOverrideValue.trimID) ||\r\n $ctrl.downgradeRetailTolerance != $ctrl.downgradeRetailToleranceOriginal ||\r\n $ctrl.downgradeLeaseTolerance != $ctrl.downgradeLeaseToleranceOriginal\r\n )),\r\n downgradeSelection: $ctrl.downgrade,\r\n downgradeOverride: $ctrl.downgradeOverrideValue,\r\n\r\n row: $ctrl.row,\r\n\r\n upgradeRetailTolerance: $ctrl.upgradeRetailTolerance,\r\n upgradeLeaseTolerance: $ctrl.upgradeLeaseTolerance,\r\n downgradeRetailTolerance: $ctrl.downgradeRetailTolerance,\r\n downgradeLeaseTolerance: $ctrl.downgradeLeaseTolerance\r\n }\r\n\r\n if (rowState.upgradeChanged || rowState.downgradeChanged) {\r\n $ctrl.invalidUpgradeLeaseTolerance = $ctrl.upgradeLeaseTolerance != null && ($ctrl.upgradeLeaseTolerance < 0 || $ctrl.upgradeLeaseTolerance > 200);\r\n $ctrl.invalidUpgradeRetailTolerance = $ctrl.upgradeRetailTolerance != null && ($ctrl.upgradeRetailTolerance < 0 || $ctrl.upgradeRetailTolerance > 200);\r\n $ctrl.invalidDowngradeLeaseTolerance = $ctrl.downgradeLeaseTolerance != null && ($ctrl.downgradeLeaseTolerance < 0 || $ctrl.downgradeLeaseTolerance > 200);\r\n $ctrl.invalidDowngradeRetailTolerance = $ctrl.downgradeRetailTolerance != null && ($ctrl.downgradeRetailTolerance < 0 || $ctrl.downgradeRetailTolerance > 200);\r\n\r\n if ($ctrl.invalidUpgradeLeaseTolerance || $ctrl.invalidUpgradeRetailTolerance || $ctrl.invalidDowngradeLeaseTolerance || $ctrl.invalidDowngradeRetailTolerance) {\r\n return;\r\n }\r\n }\r\n\r\n $ctrl.save(rowState);\r\n\r\n //The CLOSE() event should be called asyncronously, after the SAVE feature is successful.\r\n return $ctrl.close();\r\n }\r\n\r\n function getSelection(upDown) {\r\n if ($ctrl.row[upDown + \"OverrideExists\"] == true && $ctrl.row[upDown + \"OverrideTrimID\"] == null) return \"doNotOffer\";\r\n if ($ctrl.row[upDown + \"OverrideExists\"] == true && $ctrl.row[upDown + \"OverrideTrimID\"] > 0) return \"useOverride\";\r\n return \"useDefault\";\r\n }\r\n\r\n //Get the override trim. If override is null, get the default trim. If the default is null, get the base.\r\n function setDefaults(upDown) {\r\n\r\n var upgradeRetailTolerance = $ctrl.row[upDown + \"DefaultTrimID\"]\r\n\r\n\r\n if ($ctrl.row[upDown + \"OverrideTrimID\"] == null) {\r\n if ($ctrl.row[upDown + \"DefaultTrimID\"] == null) {\r\n return {\r\n vehicleTypes: 0,\r\n makeID: $ctrl.row.baseMakeID,\r\n makeName: $ctrl.row.baseMakeName,\r\n yearID: $ctrl.row.baseYearID,\r\n modelID: $ctrl.row.baseModelID,\r\n modelName: $ctrl.row.baseModelName,\r\n trimID: $ctrl.row.baseTrimID,\r\n trimName: $ctrl.row.baseTrimName\r\n };\r\n }\r\n return {\r\n vehicleTypes: 0,\r\n makeID: $ctrl.row[upDown + \"DefaultMakeID\"],\r\n makeName: $ctrl.row[upDown + \"DefaultMakeName\"],\r\n yearID: $ctrl.row[upDown + \"DefaultYearID\"],\r\n modelID: $ctrl.row[upDown + \"DefaultModelID\"],\r\n modelName: $ctrl.row[upDown + \"DefaultModelName\"],\r\n trimID: $ctrl.row[upDown + \"DefaultTrimID\"],\r\n trimName: $ctrl.row[upDown + \"DefaultTrimName\"]\r\n };\r\n }\r\n return {\r\n vehicleTypes: 0,\r\n makeID: $ctrl.row[upDown + \"OverrideMakeID\"],\r\n makeName: $ctrl.row[upDown + \"OverrideMakeName\"],\r\n yearID: $ctrl.row[upDown + \"OverrideYearID\"],\r\n modelID: $ctrl.row[upDown + \"OverrideModelID\"],\r\n modelName: $ctrl.row[upDown + \"OverrideModelName\"],\r\n trimID: $ctrl.row[upDown + \"OverrideTrimID\"],\r\n trimName: $ctrl.row[upDown + \"OverrideTrimName\"]\r\n }\r\n\r\n }\r\n\r\n\r\n if ($ctrl.resolve.closeButtonVisible === undefined)\r\n $ctrl.resolve.closeButtonVisible = true;\r\n\r\n if ($ctrl.resolve.closeButtonText === undefined)\r\n $ctrl.resolve.closeButtonText = \"cancel\";\r\n\r\n if ($ctrl.resolve.submitButtonVisible === undefined)\r\n $ctrl.resolve.submitButtonVisible = true;\r\n\r\n if ($ctrl.resolve.submitButtonDisabled === undefined)\r\n $ctrl.resolve.submitButtonDisabled = false;\r\n\r\n if ($ctrl.resolve.submitButtonText === undefined)\r\n $ctrl.resolve.submitButtonText = \"yes\";\r\n\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./edit-replacements-advanced-modal.component.html');\n\nimport angular from 'angular';\r\nimport './edit-upgrade-downgrade-multi-items-modal.component.scss';\r\nimport { forEach } from '@uirouter/core';\r\n\r\nangular.module('AaApp.Opp').component('editReplacementsAdvancedModal', {\r\n templateUrl: '/app/components/data-entry/replacement/edit-replacements-advanced-modal.component.html',\r\n controller: editReplacementsAdvancedModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\nfunction editReplacementsAdvancedModalController() {\r\n var $ctrl = this;\r\n\r\n //$ctrl.resolve is sent by the caller of this directive, and can be any JS object.\r\n // I'm using it to enable DI and pass input parameters.\r\n $ctrl.row = $ctrl.resolve.message.row;\r\n $ctrl.selectedDealerId = $ctrl.resolve.message.selectedDealerId;\r\n $ctrl.save = $ctrl.resolve.message.save;\r\n\r\n $ctrl.setTrimSelections = setTrimSelections;\r\n $ctrl.closeWrapper = closeWrapper;\r\n $ctrl.invalidReplacementYear = false;\r\n \r\n $ctrl.defaults = {\r\n vehicleTypes: 0,\r\n makeID: $ctrl.row.replacementMakeID,\r\n makeName: $ctrl.row.replacementMakeName,\r\n yearID: $ctrl.row.replacementYearID,\r\n modelID: $ctrl.row.replacementModelID,\r\n modelName: $ctrl.row.replacementModelName,\r\n trimID: $ctrl.row.newTrimID,\r\n trimName: $ctrl.row.replacementTrimName\r\n };\r\n \r\n function setTrimSelections(selections) {\r\n $ctrl.defaults = selections;\r\n if ($ctrl.defaults.yearID < $ctrl.row.existingYearID) {\r\n $ctrl.invalidReplacementYear = true;\r\n } else {\r\n $ctrl.invalidReplacementYear = false;\r\n }\r\n $ctrl.resolve.submitButtonDisabled = $ctrl.defaults.trimID === $ctrl.row.newTrimID || $ctrl.invalidReplacementYear;\r\n }\r\n\r\n function closeWrapper() {\r\n var rowState = {\r\n row: $ctrl.row,\r\n replacementTrim: $ctrl.defaults\r\n }\r\n $ctrl.save(rowState);\r\n return $ctrl.close();\r\n }\r\n \r\n if ($ctrl.resolve.closeButtonVisible === undefined)\r\n $ctrl.resolve.closeButtonVisible = true;\r\n\r\n if ($ctrl.resolve.closeButtonText === undefined)\r\n $ctrl.resolve.closeButtonText = \"cancel\";\r\n\r\n if ($ctrl.resolve.submitButtonVisible === undefined)\r\n $ctrl.resolve.submitButtonVisible = true;\r\n\r\n if ($ctrl.resolve.submitButtonDisabled === undefined)\r\n $ctrl.resolve.submitButtonDisabled = false;\r\n\r\n if ($ctrl.resolve.submitButtonText === undefined)\r\n $ctrl.resolve.submitButtonText = \"yes\";\r\n\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./data-entry-frame.component.html');\n\nimport angular from 'angular';\r\n\r\nimport './data-entry-frame.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('dataEntryFrame', {\r\n templateUrl: '/app/components/data-entry/data-entry-frame.component.html',\r\n controller: DataEntryFrameController,\r\n bindings: {\r\n }\r\n});\r\n\r\nfunction DataEntryFrameController() {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n}\r\n","import \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.promise.finally\";\nDataEntryPricesController.$inject = [\"$translate\", \"$q\", \"vehicleService\", \"dealerService\", \"userService\", \"dataEntryService\", \"storageService\", \"priceSetToOptions\", \"$uibModal\", \"$document\", \"logger\", \"dealerCountries\", \"cultures\", \"assetTypes\", \"$filter\", \"$logFactory\"];\n\n/* injects from baggage-loader */\nrequire('./data-entry-prices.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport './data-entry-prices.component.scss';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nangular.module('AaApp.Opp').component('dataEntryPrices', {\n templateUrl: '/app/components/data-entry/data-entry-prices.component.html',\n controller: DataEntryPricesController,\n bindings: {\n kendo: '<'\n }\n});\n\nfunction DataEntryPricesController($translate, $q, vehicleService, dealerService, userService, dataEntryService, storageService, priceSetToOptions, $uibModal, $document, logger, dealerCountries, cultures, assetTypes, $filter, $logFactory) {\n \"ngInject\";\n\n var $ctrl = this;\n var log = $logFactory.get();\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.trimSelections;\n $ctrl.setTrimSelections = setTrimSelections;\n $ctrl.showQuickAction = false;\n $ctrl.onShowQuickAction = onShowQuickAction;\n $ctrl.onHideQuickAction = onHideQuickAction;\n $ctrl.onPerformPrice = onPerformPrice;\n $ctrl.onClearPrice = onClearPrice;\n $ctrl.onPerformExpireDate = onPerformExpireDate;\n $ctrl.onClearExpireDate = onClearExpireDate;\n $ctrl.onSave = onSave;\n $ctrl.onCancel = onCancel;\n $ctrl.kendoGrid = null;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.minPrice = 10000;\n $ctrl.maxPrice = 500000;\n $ctrl.countryId;\n $ctrl.cultureName;\n $ctrl.pricePerformError = false;\n $ctrl.showOverwriteWarning = false;\n $ctrl.hasO2O = false;\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n $ctrl.dateOptions = {\n minDate: new Date(),\n startingDay: 0,\n showWeeks: false\n };\n userService.getUserProfile().then(function (userProfile) {\n $ctrl.countryId = userProfile.countryId;\n $ctrl.cultureName = userProfile.cultureName;\n getTranslations();\n initGridOptions();\n onDealerSelect();\n });\n }\n\n function getTranslations() {\n $q.all({\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\n 'saveWarningMessage': $translate('saveWarningMessage'),\n 'currencySymbol': $translate('currencySymbol'),\n 'validationErrorMessage': $translate('validationErrorMessage')\n }).then(function (stuff) {\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\n $ctrl.currencySymbol = stuff.currencySymbol;\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\n });\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(previousValue) {\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\n\n if (isDataDirty()) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return $ctrl.saveWarningMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n return busy(\"Loading Prices\", $q.all([vehicleService.getMakes($ctrl.selectedDealerId, null), vehicleService.getYearIDs($ctrl.selectedDealerId, false), dealerService.getIsAssetEnabledForDealer(assetTypes.oneToOne, $ctrl.selectedDealerId)]).then(function (data) {\n $ctrl.selectedMakeId = data[0][0].makeID; //$ctrl.countryId = data[0][0].countryId;\n\n var currentYear = new Date().getFullYear();\n $ctrl.selectedYearId = data[1][0];\n if ($ctrl.selectedYearId != currentYear) $ctrl.selectedYearId = currentYear;\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: data[0][0].makeID,\n makeName: data[0][0].makeName,\n yearID: $ctrl.selectedYearId,\n modelID: null,\n modelName: null,\n trimID: null,\n trimName: null\n };\n $ctrl.trimSelections = $ctrl.defaults;\n $ctrl.hasO2O = data[2];\n return loadPrices();\n }));\n }).catch(function () {\n $ctrl.selectedDealerId = previousValue;\n return false;\n });\n } else return busy(\"Loading Prices\", $q.all([vehicleService.getMakes($ctrl.selectedDealerId, null), vehicleService.getYearIDs($ctrl.selectedDealerId, false), dealerService.getIsAssetEnabledForDealer(assetTypes.oneToOne, $ctrl.selectedDealerId)]).then(function (data) {\n $ctrl.selectedMakeId = data[0][0].makeID; //$ctrl.countryId = data[0][0].countryId;\n\n var currentYear = new Date().getFullYear();\n $ctrl.selectedYearId = data[1][0];\n if ($ctrl.selectedYearId != currentYear) $ctrl.selectedYearId = currentYear;\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: data[0][0].makeID,\n makeName: data[0][0].makeName,\n yearID: $ctrl.selectedYearId,\n modelID: null,\n modelName: null,\n trimID: null,\n trimName: null\n };\n $ctrl.trimSelections = $ctrl.defaults;\n $ctrl.hasO2O = data[2];\n return loadPrices();\n }));\n }\n\n function onShowQuickAction() {\n $ctrl.showQuickAction = true;\n if (!$ctrl.priceSetTo) $ctrl.priceSetTo = priceSetToOptions.empty;\n if (!$ctrl.priceAdjMode) $ctrl.priceAdjMode = \"%\";\n }\n\n function onHideQuickAction() {\n $ctrl.showQuickAction = false;\n }\n\n function clearQuickAction() {\n $ctrl.priceSetTo = priceSetToOptions.empty;\n $ctrl.priceAdjMode = \"%\";\n $ctrl.priceAdjBy = null;\n $ctrl.expireSetTo = null;\n $ctrl.expireAdjBy = null;\n }\n\n function onPerformPrice() {\n if ($ctrl.priceSetTo && $ctrl.priceSetTo !== priceSetToOptions.empty && ($ctrl.priceAdjBy || $ctrl.priceAdjBy == 0)) {\n $ctrl.pricePerformError = false;\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if ($ctrl.priceSetTo && $ctrl.priceSetTo !== priceSetToOptions.empty) {\n if ($ctrl.priceSetTo === priceSetToOptions.totalPrice) row.price = row.total;\n if ($ctrl.priceSetTo === priceSetToOptions.msrp) row.price = row.msrp;\n\n if ($ctrl.priceAdjBy) {\n if ($ctrl.priceAdjMode === \"%\") row.price = Math.round(row.price + row.price * $ctrl.priceAdjBy / 100);\n if ($ctrl.priceAdjMode === $ctrl.currencySymbol) row.price = row.price + $ctrl.priceAdjBy;\n }\n\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.price = true;else row.dirtyFields = {\n \"price\": true\n };\n } else {\n if (row.price) {\n if ($ctrl.priceAdjMode === \"%\") row.price = row.price + row.price * $ctrl.priceAdjBy / 100;\n if ($ctrl.priceAdjMode === $ctrl.currencySymbol) row.price = row.price + $ctrl.priceAdjBy;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.price = true;else row.dirtyFields = {\n \"price\": true\n };\n }\n }\n });\n setOverwriteWarning(true);\n $ctrl.kendoGrid.refresh();\n } else {\n $ctrl.pricePerformError = true;\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"validationError\";\n },\n message: function message() {\n return $ctrl.validationErrorMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\"; // translation key\n }\n }\n });\n return;\n }\n }\n\n function onClearPrice() {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if (row.price) {\n row.price = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.price = true;else row.dirtyFields = {\n \"price\": true\n };\n }\n });\n $ctrl.kendoGrid.refresh();\n }\n\n function onPerformExpireDate() {\n if ($ctrl.expireSetTo || $ctrl.expireAdjBy) {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if ($ctrl.expireSetTo) {\n row.expirationDate = new Date($ctrl.expireSetTo);\n if ($ctrl.expireAdjBy) row.expirationDate.setDate(row.expirationDate.getDate() + $ctrl.expireAdjBy);\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.expirationDate = true;else row.dirtyFields = {\n \"expirationDate\": true\n };\n } else {\n if ($ctrl.expireAdjBy && row.expirationDate) {\n row.expirationDate.setDate(row.expirationDate.getDate() + $ctrl.expireAdjBy);\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.expirationDate = true;else row.dirtyFields = {\n \"expirationDate\": true\n };\n }\n }\n });\n $ctrl.kendoGrid.refresh();\n }\n }\n\n function onClearExpireDate() {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if (row.expirationDate) {\n row.expirationDate = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.expirationDate = true;else row.dirtyFields = {\n \"expirationDate\": true\n };\n }\n });\n $ctrl.kendoGrid.refresh();\n }\n\n function onSave() {\n if (!isDataValid()) {\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"validationError\";\n },\n message: function message() {\n return $ctrl.validationErrorMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\"; // translation key\n }\n }\n });\n return;\n }\n\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"readyToProcess\";\n },\n message: function message() {\n return $ctrl.saveConfirmMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n var rows = $ctrl.kendoGrid.dataSource._data;\n var dirtyRows = [];\n rows.forEach(function (row) {\n if (row.dirty) {\n dirtyRows.push({\n dealerPriceID: row.dealerPriceID,\n insertDate: row.insertDate,\n dealerID: row.dealerID,\n trimID: row.trimID,\n price: row.price,\n expirationDate: row.expirationDate,\n destinationFee: row.destinationFeeEditable\n });\n row.dirty = false;\n }\n });\n\n if (dirtyRows.length > 0) {\n return updateDealerPrices(dirtyRows);\n } else {\n logger.success(\"changesSaved\");\n return $q.resolve();\n }\n }).catch(function () {\n return false;\n });\n }\n\n function onCancel() {\n $ctrl.kendoGrid.cancelChanges();\n setOverwriteWarning(anyOverrides($ctrl.kendoGrid.dataSource._data));\n }\n\n function updateDealerPrices(prices) {\n return busy(\"Saving Prices\", dataEntryService.updateDealerPrices(prices).then(function (success) {\n logger.success(\"changesSaved\");\n return loadPrices();\n }).then(function () {}, function (error) {\n log.log(error);\n }));\n }\n\n function setTrimSelections(selections) {\n if (isDataDirty()) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return $ctrl.saveWarningMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n $ctrl.trimSelections = selections;\n return loadPrices();\n }).catch(function () {\n if (selections.makeID != $ctrl.trimSelections.makeID || selections.yearID != $ctrl.trimSelections.yearID || selections.modelID != $ctrl.trimSelections.modelID || selections.trimID != $ctrl.trimSelections.trimID) {\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: $ctrl.trimSelections.makeID,\n makeName: $ctrl.trimSelections.makeName,\n yearID: $ctrl.trimSelections.yearID,\n modelID: $ctrl.trimSelections.modelID,\n modelName: $ctrl.trimSelections.modelName,\n trimID: $ctrl.trimSelections.trimID,\n trimName: $ctrl.trimSelections.trimName\n };\n }\n\n return;\n });\n } else {\n $ctrl.trimSelections = selections;\n return loadPrices();\n }\n }\n\n function isDataValid() {\n if (!$ctrl.kendoGrid) return true;\n var valid = true;\n var rows = $ctrl.kendoGrid.dataSource._data;\n rows.forEach(function (row) {\n if (row.price && !row.expirationDate || !row.price && row.expirationDate || row.price && (row.price < $ctrl.minPrice || row.price > $ctrl.maxPrice)) valid = false;\n });\n return valid;\n }\n\n function isDataDirty() {\n if (!$ctrl.kendoGrid) return false;\n var dirty = false;\n var rows = $ctrl.kendoGrid.dataSource._data;\n rows.forEach(function (row) {\n if (row.dirty) dirty = true;\n });\n return dirty;\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n navigatable: true,\n pageable: true,\n height: 580,\n columns: [{\n field: \"trimFullName\",\n title: \"{{ 'trim' | translate }}\",\n width: 110,\n sortable: true\n }, {\n field: \"msrp\",\n title: \"{{ 'msrp' | translate }}\",\n format: \"{0:c0}\",\n width: 40,\n sortable: true,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"destination\",\n title: \"{{ 'destination' | translate }}\",\n format: \"{0:c0}\",\n width: 40,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"options\",\n title: \"{{ 'options' | translate }}\",\n format: \"{0:c0}\",\n width: 30,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"sunroof\",\n title: \"{{ 'sunroofPackage' | translate }}\",\n format: \"{0:c0}\",\n width: 50,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"automaticTransmission\",\n title: \"{{ 'automaticTransmission' | translate }}\",\n format: \"{0:c0}\",\n width: 50,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"metallicPaint\",\n title: \"{{ 'metallicPaint' | translate }}\",\n format: \"{0:c0}\",\n width: 50,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"gasGuzzlerTax\",\n title: \"{{ 'gasGuzzlerTax' | translate }}\",\n format: \"{0:c0}\",\n width: 50,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"total\",\n title: \"{{ 'total' | translate }}\",\n template: totalTemplate,\n format: \"{0:c0}\",\n width: 40,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"price\",\n title: \"{{ 'Overwrite' | translate }}\",\n template: priceTemplate,\n format: \"{0:c0}\",\n width: 60,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"expirationDate\",\n title: \"{{ 'expireOn' | translate }}\",\n template: expirationDateTemplate,\n format: \"{0:d}\",\n width: 65,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"destinationFeeEditable\",\n headerTemplate: \"{{ 'destinationFeeEditable' | translate }}\",\n template: destinationTemplate,\n format: \"{0:c0}\",\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n },\n width: 70\n }],\n editable: true,\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: true,\n reorderable: true,\n filterable: false\n };\n }\n\n function setOverwriteWarning(show) {\n $ctrl.showOverwriteWarning = $ctrl.hasO2O && show;\n }\n\n function onChange(e) {\n if (e.field === \"price\") {\n if (e.items[0].price != null) {\n setOverwriteWarning(true);\n }\n }\n }\n\n function anyOverrides(dataPrices) {\n var overridesFound = false;\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = dataPrices[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var row = _step.value;\n\n if (row.price != null) {\n overridesFound = true;\n break;\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return overridesFound;\n }\n\n function loadPrices() {\n var makeID = $ctrl.trimSelections.makeID;\n var yearID = $ctrl.trimSelections.yearID;\n var modelID = $ctrl.trimSelections.modelID ? $ctrl.trimSelections.modelID : 0;\n var trimID = $ctrl.trimSelections.trimID ? $ctrl.trimSelections.trimID : 0;\n return busy(\"Loading Prices\", dataEntryService.getDealerPrices($ctrl.selectedDealerId, makeID, yearID, modelID, trimID).then(function (dataPrices) {\n setOverwriteWarning(anyOverrides(dataPrices)); //$(\"#gridDataEntryPrices\").empty();\n\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: dataPrices,\n schema: {\n model: {\n fields: {\n trimFullName: {\n type: \"string\",\n editable: false\n },\n msrp: {\n type: \"number\",\n editable: false\n },\n destination: {\n type: \"number\",\n editable: false\n },\n options: {\n type: \"number\",\n editable: false\n },\n sunroof: {\n type: \"number\",\n editable: false\n },\n automaticTransmission: {\n type: \"number\",\n editable: false\n },\n metallicPaint: {\n type: \"number\",\n editable: false\n },\n gasGuzzlerTax: {\n type: \"number\",\n editable: false\n },\n total: {\n type: \"number\",\n editable: false\n },\n price: {\n type: \"number\",\n editable: true\n },\n expirationDate: {\n type: \"date\",\n editable: true\n },\n destinationFeeEditable: {\n type: \"number\",\n editable: true\n }\n }\n }\n },\n batch: true,\n pageSize: 50,\n change: onChange\n });\n\n switch ($ctrl.cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.frFR:\n case cultures.esUS:\n $ctrl.kendo.culture($ctrl.cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date();\n $ctrl.showQuickAction = false;\n $ctrl.kendoGrid = $(\"#gridDataEntryPrices\").data(\"kendoGrid\");\n clearQuickAction();\n }));\n }\n\n function totalTemplate(e) {\n return \"\" + $ctrl.kendo.toString(e.total, 'C0') + \"\";\n }\n\n function destinationTemplate(e) {\n return \"
\" + $ctrl.kendo.toString(e.destinationFeeEditable, 'c0') + \"
\";\n }\n\n function priceTemplate(e) {\n updateExpirationValidationFlag(e);\n\n if (e.price) {\n if (e.price >= $ctrl.minPrice && e.price <= $ctrl.maxPrice) return \"
\" + $ctrl.kendo.toString(e.price, 'c0') + \"
\";else return \"
\" + $ctrl.kendo.toString(e.price, 'c0') + \"
\";\n } else if (e.expirationDate) {\n return \"
\";\n } else {\n return \"
\";\n }\n }\n\n function updateExpirationValidationFlag(e) {\n if (!e.expirationDate) {\n var grid = $(\"#gridDataEntryPrices\").data(\"kendoGrid\");\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell;\n if ($ctrl.countryId == dealerCountries.canada) cell = rowChildren.eq(9);else cell = rowChildren.eq(10);\n\n if (e.price) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n }\n\n function expirationDateTemplate(e) {\n updatePriceValidationFlag(e);\n var expirationDate = e.expirationDate ? e.expirationDate : '';\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n\n if (expirationDate) {\n var localeDateFilter = $filter('localeDate');\n var localeExpirationDate = localeDateFilter(expirationDate);\n if (expirationDate < today) return \"
\" + localeExpirationDate + \"
\";else return \"
\" + localeExpirationDate + \"
\";\n } else if (e.price) {\n return \"
\";\n } else {\n return \"
\" + \"
\";\n }\n }\n\n function updatePriceValidationFlag(e) {\n if (!e.price) {\n var grid = $(\"#gridDataEntryPrices\").data(\"kendoGrid\");\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell;\n if ($ctrl.countryId == dealerCountries.canada) cell = rowChildren.eq(8);else cell = rowChildren.eq(9);\n\n if (e.expirationDate) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n }\n}","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.regexp.match\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.promise.finally\";\nDataEntryTradeInsController.$inject = [\"$filter\", \"$translate\", \"$q\", \"vehicleService\", \"dealerService\", \"dataEntryService\", \"$uibModal\", \"$document\", \"logger\", \"$element\", \"$window\", \"storageService\", \"cultures\", \"$logFactory\"];\n\n/* injects from baggage-loader */\nrequire('./data-entry-trade-ins.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport './data-entry-trade-ins.component.scss';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nangular.module('AaApp.Opp').component('dataEntryTradeIns', {\n templateUrl: '/app/components/data-entry/data-entry-trade-ins.component.html',\n controller: DataEntryTradeInsController,\n bindings: {\n kendo: '<'\n }\n});\n\nfunction DataEntryTradeInsController($filter, $translate, $q, vehicleService, dealerService, dataEntryService, $uibModal, $document, logger, $element, $window, storageService, cultures, $logFactory) {\n \"ngInject\";\n\n var $ctrl = this;\n var localeCurrency = $filter('localeCurrency');\n var log = $logFactory.get();\n var tradeInsSetToOptions = {\n empty: \"N\",\n weekOne: \"1\",\n tradeValue: \"T\",\n overwrite: \"O\"\n };\n var cultureName = storageService.getItem('cultureName') || 'en-US';\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.trimSelections;\n $ctrl.setTrimSelections = setTrimSelections;\n $ctrl.showQuickAction = false;\n $ctrl.onShowQuickAction = onShowQuickAction;\n $ctrl.onHideQuickAction = onHideQuickAction;\n $ctrl.onPerformTradeIn = onPerformTradeIn;\n $ctrl.onClearTrade = onClearTrade;\n $ctrl.onPerformExpireDate = onPerformExpireDate;\n $ctrl.onClearExpireDate = onClearExpireDate;\n $ctrl.onSave = onSave;\n $ctrl.onCancel = onCancel;\n $ctrl.kendoGrid = null;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.extTradeValueSourceID = 0;\n $ctrl.weekColumns = {};\n $ctrl.screenWidth = 0;\n $ctrl.enableQuickAction = true;\n $ctrl.minPrice = 1000;\n $ctrl.maxPrice = 500000;\n $ctrl.tradeInsSetTo = tradeInsSetToOptions.empty;\n $ctrl.tradeInsPerformError = false;\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n $ctrl.dateOptions = {\n minDate: new Date(),\n startingDay: 0,\n showWeeks: false\n };\n getTranslations();\n initGridOptions();\n onDealerSelect(); // $window can be injected into the controller\n\n $($window).on('resize', resizeHandler); // The $onDestroy method is called automatically by AngularJS when the component is being unloaded\n\n $ctrl.$onDestroy = function () {\n $($window).off('resize', resizeHandler);\n };\n }\n\n function resizeHandler() {\n $ctrl.screenWidth = null;\n setColumnWidths();\n }\n\n function getTranslations() {\n $q.all({\n 'currencySymbol': $translate('currencySymbol'),\n 'validationErrorMessage': $translate('validationErrorMessage')\n }).then(function (stuff) {\n $ctrl.currencySymbol = stuff.currencySymbol;\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\n });\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(previousValue) {\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\n\n if (isDataDirty()) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return $translate('saveWarningMessage');\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n return busy(\"Loading Trade-ins\", $q.all([vehicleService.getMakes($ctrl.selectedDealerId, null), vehicleService.getYearIDs($ctrl.selectedDealerId, false, 255)]).then(function (data) {\n $ctrl.selectedMakeId = data[0][0].makeID;\n $ctrl.selectedYearId = data[1][0];\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: data[0][0].makeID,\n makeName: data[0][0].makeName,\n yearID: data[1][0],\n modelID: null,\n modelName: null,\n trimID: null,\n trimName: null\n };\n $ctrl.trimSelections = $ctrl.defaults;\n return loadTradeIns();\n }));\n }).catch(function () {\n $ctrl.selectedDealerId = previousValue;\n return false;\n });\n } else return busy(\"Loading Trade-ins\", $q.all([vehicleService.getMakes($ctrl.selectedDealerId, null), vehicleService.getYearIDs($ctrl.selectedDealerId, false, 255)]).then(function (data) {\n $ctrl.selectedMakeId = data[0][0].makeID;\n $ctrl.selectedYearId = data[1][0];\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: data[0][0].makeID,\n makeName: data[0][0].makeName,\n yearID: data[1][0],\n modelID: null,\n modelName: null,\n trimID: null,\n trimName: null\n };\n $ctrl.trimSelections = $ctrl.defaults;\n return loadTradeIns();\n }));\n }\n\n function onShowQuickAction() {\n if (!$ctrl.enableQuickAction) $ctrl.enableQuickAction = true;\n $ctrl.showQuickAction = true;\n if (!$ctrl.tradeInsSetTo) $ctrl.tradeInsSetTo = tradeInsSetToOptions.empty;\n if (!$ctrl.tradeInsAdjMode) $ctrl.tradeInsAdjMode = \"%\";\n }\n\n function onHideQuickAction() {\n $ctrl.showQuickAction = false;\n }\n\n function clearQuickAction() {\n $ctrl.tradeInSetTo = tradeInsSetToOptions.empty;\n $ctrl.priceAdjMode = \"%\";\n $ctrl.priceAdjBy = null;\n $ctrl.expireSetTo = null;\n $ctrl.expireAdjBy = null; //remove from the DOM so yhe date field will be recreated as there is no easy way set the date to empty\n\n $ctrl.enableQuickAction = false;\n }\n\n function onPerformTradeIn() {\n if ($ctrl.tradeInsSetTo && $ctrl.tradeInsSetTo !== tradeInsSetToOptions.empty && ($ctrl.tradeInsAdjBy || $ctrl.tradeInsAdjBy == 0)) {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if ($ctrl.tradeInsSetTo && $ctrl.tradeInsSetTo !== tradeInsSetToOptions.empty) {\n if ($ctrl.tradeInsSetTo === tradeInsSetToOptions.weekOne && $ctrl.extTradeValueSourceID === 0) row.dealerTradeValue = row.auctionWeek1;\n\n if ($ctrl.tradeInsSetTo === tradeInsSetToOptions.tradeValue) {\n if (row.tradeValue) {\n row.dealerTradeValue = row.tradeValue;\n } else {\n row.dealerTradeValue = row.estimated;\n }\n }\n\n if ($ctrl.tradeInsSetTo === tradeInsSetToOptions.overwrite) row.dealerTradeValue = row.dealerTradeValue;\n\n if ($ctrl.tradeInsAdjBy) {\n if ($ctrl.tradeInsAdjMode === \"%\") row.dealerTradeValue = Math.round(row.dealerTradeValue + row.dealerTradeValue * ($ctrl.tradeInsAdjBy / 100));\n if ($ctrl.tradeInsAdjMode === $ctrl.currencySymbol) row.dealerTradeValue = row.dealerTradeValue + $ctrl.tradeInsAdjBy;\n }\n\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.tradeIn = true;else row.dirtyFields = {\n \"tradein\": true\n };\n } else {\n if (row.dealerTradeValue) {\n if ($ctrl.tradeInsAdjMode === \"%\") {\n row.dealerTradeValue = row.dealerTradeValue + row.dealerTradeValue * $ctrl.tradeInsAdjBy / 100;\n }\n\n if ($ctrl.tradeInsAdjMode === $ctrl.currencySymbol) {\n row.dealerTradeValue = row.dealerTradeValue + $ctrl.tradeInsAdjBy;\n }\n\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.dealerTradeValue = true;else row.dirtyFields = {\n \"dealerTradeValue\": true\n };\n }\n }\n });\n $ctrl.kendoGrid.refresh();\n } else {\n $ctrl.tradeInsPerformError = true;\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"validationError\";\n },\n message: function message() {\n return $ctrl.validationErrorMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\"; // translation key\n }\n }\n });\n return;\n }\n }\n\n function onClearTrade() {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if (row.dealerTradeValue) {\n row.dealerTradeValue = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.dealerTradeValue = true;else row.dirtyFields = {\n \"dealerTradeValue\": true\n };\n }\n });\n $ctrl.kendoGrid.refresh();\n }\n\n function onPerformExpireDate() {\n if ($ctrl.expireSetTo || $ctrl.expireAdjBy) {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if ($ctrl.expireSetTo) {\n row.dealerTradeExpirationDate = new Date($ctrl.expireSetTo);\n if ($ctrl.expireAdjBy) row.dealerTradeExpirationDate.setDate(row.dealerTradeExpirationDate.getDate() + $ctrl.expireAdjBy);\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.dealerTradeExpirationDate = true;else row.dirtyFields = {\n \"dealerTradeExpirationDate\": true\n };\n } else {\n if ($ctrl.expireAdjBy && row.dealerTradeExpirationDate) {\n row.dealerTradeExpirationDate.setDate(row.dealerTradeExpirationDate.getDate() + $ctrl.expireAdjBy);\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.dealerTradeExpirationDate = true;else row.dirtyFields = {\n \"dealerValueExpirationDate\": true\n };\n }\n }\n });\n $ctrl.kendoGrid.refresh();\n }\n }\n\n function onClearExpireDate() {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if (row.dealerTradeExpirationDate) {\n row.dealerTradeExpirationDate = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.dealerTradeExpirationDate = true;else row.dirtyFields = {\n \"dealerTradeExpirationDate\": true\n };\n }\n });\n $ctrl.kendoGrid.refresh();\n }\n\n function onSave() {\n if (!isDataValid()) {\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"validationError\";\n },\n message: function message() {\n return $translate('validationErrorMessage');\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\"; // translation key\n }\n }\n });\n return;\n }\n\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"readyToProcess\";\n },\n message: function message() {\n return $translate('saveConfirmMessage');\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n var rows = $ctrl.kendoGrid.dataSource.data();\n var dirtyRows = [];\n rows.forEach(function (row) {\n if (row.dirty) {\n dirtyRows.push({\n trimID: row.trimID,\n insertDate: row.insertDate,\n dealerID: row.dealerID,\n dealerTradeValue: row.dealerTradeValue,\n dealerTradeExpirationDate: row.dealerTradeExpirationDate\n });\n row.dirty = false;\n }\n });\n\n if (dirtyRows.length > 0) {\n return updateDealerTradeins(dirtyRows);\n } else {\n logger.success(\"changesSaved\");\n return $q.resolve();\n }\n }).catch(function () {\n return false;\n });\n }\n\n function onCancel() {\n $ctrl.kendoGrid.cancelChanges();\n }\n\n function updateDealerTradeins(tradeIns) {\n return busy(\"Saving Trade-ins\", dataEntryService.updateDealerTradeins(tradeIns).then(function (success) {\n logger.success(\"changesSaved\");\n return loadTradeIns();\n }).then(function () {}, function (error) {\n log.log(error);\n }));\n }\n\n function setTrimSelections(selections) {\n if (isDataDirty()) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return $translate('saveWarningMessage');\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n $ctrl.trimSelections = selections;\n return loadTradeIns();\n }).catch(function () {\n if (selections.makeID != $ctrl.trimSelections.makeID || selections.yearID != $ctrl.trimSelections.yearID || selections.modelID != $ctrl.trimSelections.modelID || selections.trimID != $ctrl.trimSelections.trimID) {\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: $ctrl.trimSelections.makeID,\n makeName: $ctrl.trimSelections.makeName,\n yearID: $ctrl.trimSelections.yearID,\n modelID: $ctrl.trimSelections.modelID,\n modelName: $ctrl.trimSelections.modelName,\n trimID: $ctrl.trimSelections.trimID,\n trimName: $ctrl.trimSelections.trimName\n };\n }\n\n return;\n });\n } else {\n $ctrl.trimSelections = selections;\n return loadTradeIns();\n }\n }\n\n function isDataValid() {\n if (!$ctrl.kendoGrid) return true;\n var valid = true;\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if (row.dealerTradeValue && !row.dealerTradeExpirationDate || !row.dealerTradeValue && row.dealerTradeExpirationDate) {\n log.log(row.dealerTradeValue + \" \" + row.dealerTradeExpirationDate);\n valid = false;\n }\n\n if (row.dealerTradeValue && row.dealerTradeValue < $ctrl.minPrice || row.dealerTradeValue && row.dealerTradeValue > $ctrl.maxPrice) {\n log.log(row.dealerTradeValue + \" \" + row.dealerTradeExpirationDate);\n valid = false;\n }\n });\n return valid;\n }\n\n function isDataDirty() {\n if (!$ctrl.kendoGrid) return false;\n var dirty = false;\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if (row.dirty) dirty = true;\n });\n return dirty;\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n navigatable: true,\n pageable: true,\n height: 583,\n columns: [{\n field: \"trimFullName\",\n title: \"{{ 'trim' | translate }}\",\n width: \"23%\",\n sortable: {\n allowUnsort: false\n }\n }, {\n field: \"auctionWeek1\",\n title: \"{{ 'Week5OrGreater' | translate }}\",\n format: \"{0:c0}\",\n width: \"11%\",\n sortable: {\n allowUnsort: false\n }\n }, {\n field: \"auctionWeek2\",\n title: \"{{ 'Week4to5' | translate }}\",\n format: \"{0:c0}\",\n width: \"11%\",\n sortable: {\n allowUnsort: false\n }\n }, {\n field: \"auctionWeek3\",\n title: \"{{ 'Week2to3' | translate }}\",\n format: \"{0:c0}\",\n width: \"11%\",\n sortable: {\n allowUnsort: false\n }\n }, {\n field: \"auctionWeek4\",\n title: \"{{ 'Week1' | translate }}\",\n format: \"{0:c0}\",\n width: \"11%\",\n sortable: {\n allowUnsort: false\n }\n }, {\n field: \"tradeValue\",\n title: \"{{ 'TradeValueHeading' | translate}}\",\n template: tradeValueTemplate,\n width: \"11%\",\n sortable: {\n allowUnsort: false\n }\n }, {\n field: \"dealerTradeValue\",\n title: \"{{ 'OverwriteValue' | translate }}\",\n template: dealerTradeValueTemplate,\n format: \"{0:c0}\",\n width: \"11%\",\n sortable: {\n allowUnsort: false\n }\n }, {\n field: \"dealerTradeExpirationDate\",\n title: \"{{ 'expirationDate' | translate}}\",\n template: expirationDateTemplate,\n format: \"{0:d}\",\n width: \"11%\",\n sortable: {\n allowUnsort: false\n }\n }],\n editable: true,\n sortable: true,\n resizable: true,\n reorderable: true,\n filterable: false\n };\n }\n\n function tradeValueTemplate(row) {\n if (row.tradeValue) {\n return \"\".concat(localeCurrency(row.tradeValue));\n } else {\n var title = $translate.instant('ValueEstimated');\n return \"\\n \").concat(localeCurrency(row.estimated), \"*\\n \");\n }\n }\n\n function loadTradeIns() {\n var makeID = $ctrl.trimSelections.makeID;\n var yearID = $ctrl.trimSelections.yearID;\n var modelID = $ctrl.trimSelections.modelID ? $ctrl.trimSelections.modelID : 0;\n var trimID = $ctrl.trimSelections.trimID ? $ctrl.trimSelections.trimID : 0;\n return busy(\"Loading Trade-ins\", dataEntryService.getDealerTradeIns($ctrl.selectedDealerId, makeID, yearID, modelID, trimID).then(function (dataTradeIns) {\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: dataTradeIns,\n schema: {\n model: {\n fields: {\n trimFullName: {\n type: \"string\",\n editable: false\n },\n auctionWeek1: {\n type: \"number\",\n editable: false\n },\n auctionWeek2: {\n type: \"number\",\n editable: false\n },\n auctionWeek3: {\n type: \"number\",\n editable: false\n },\n auctionWeek4: {\n type: \"number\",\n editable: false\n },\n tradeValue: {\n type: \"number\",\n editable: false\n },\n estimated: {\n type: \"number\",\n editable: false\n },\n dealerTradeValue: {\n type: \"number\",\n editable: true\n },\n dealerTradeExpirationDate: {\n type: \"date\",\n editable: true\n }\n }\n }\n },\n batch: true,\n pageSize: 50\n }); // set the input settings for culture\n\n switch (cultureName) {\n case cultures.enUS:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n\n case cultures.enGB:\n $ctrl.kendo.culture(cultures.enGB);\n break;\n\n case cultures.enCA:\n $ctrl.kendo.culture(cultures.enCA);\n break;\n\n case cultures.frCA:\n $ctrl.kendo.culture(cultures.frCA);\n break;\n\n case cultures.frFR:\n $ctrl.kendo.culture(cultures.frFR);\n break;\n\n case cultures.esUS:\n $ctrl.kendo.culture(cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n\n if (dataTradeIns.length > 0) {\n $ctrl.extTradeValueSourceID = dataTradeIns[0].extTradeValueSourceID;\n } else {\n $ctrl.extTradeValueSourceID = 0; // AutoAlert\n }\n\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date();\n $ctrl.showQuickAction = false;\n $ctrl.kendoGrid = $element.find(\"#gridDataEntryTradeIns\").data(\"kendoGrid\");\n setColumnWidths(); // show/hide the week 1 option in trade set to values\n\n var weekOne = $element.find(\"#AuctionWeek1Option\");\n\n if ($ctrl.extTradeValueSourceID === 0) {\n weekOne.show();\n } else {\n weekOne.hide();\n }\n }));\n }\n\n function setColumnWidths() {\n // toggle visibility based on extTradeValueSourceID\n var grid = $ctrl.kendoGrid;\n $ctrl.weekColumns = grid.columns.filter(function (item) {\n return item.field.match(/Week/);\n });\n\n if (!$ctrl.screenWidth) {\n if (!$ctrl.screenWidth || $ctrl.screenWidth < grid.element[0].scrollWidth) {\n $ctrl.screenWidth = grid.element[0].scrollWidth;\n }\n } // hide if the extTradeValueSourceID is not 0 (not AutoAlert)\n\n\n $ctrl.weekColumns.forEach(function (col, index) {\n if ($ctrl.extTradeValueSourceID !== 0) {\n $ctrl.kendoGrid.hideColumn(col);\n } else {\n $ctrl.kendoGrid.showColumn(col);\n }\n });\n grid.columns.forEach(function (col, index) {\n var bt = $ctrl.extTradeValueSourceID;\n var isTrim = col.field === \"trimFullName\";\n var totalColumns = $ctrl.extTradeValueSourceID === 0 ? 8 : 4;\n var columnWidth = $ctrl.screenWidth / totalColumns - 10; // the trim name column is longer than the others.\n\n col.width = bt ? \"25%\" : isTrim ? \"23%\" : \"11%\";\n });\n }\n\n function dealerTradeValueTemplate(e) {\n updateExpirationValidationFlag(e);\n\n if (e.dealerTradeValue) {\n if (e.dealerTradeValue >= $ctrl.minPrice && e.dealerTradeValue <= $ctrl.maxPrice) return \"
\" + $ctrl.kendo.toString(e.dealerTradeValue, 'n0') + \"
\";else return \"
\" + $ctrl.kendo.toString(e.dealerTradeValue, 'n0') + \"
\";\n } else if (e.dealerTradeExpirationDate) {\n return \"
\";\n } else {\n return \"
\";\n }\n }\n\n function updateExpirationValidationFlag(e) {\n if (!e.dealerTradeExpirationDate) {\n var grid = $element.find(\"#gridDataEntryTradeins\").data(\"kendoGrid\");\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell = rowChildren.eq(10);\n\n if (e.dealerTradeValue) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n }\n\n function expirationDateTemplate(e) {\n updateDealerValueValidationFlag(e);\n var expirationDate = e.dealerTradeExpirationDate ? e.dealerTradeExpirationDate : '';\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n\n if (expirationDate) {\n if (expirationDate < today) return \"
\" + $ctrl.kendo.toString(expirationDate, 'd') + \"
\";else return \"
\" + $ctrl.kendo.toString(expirationDate, 'd') + \"
\";\n } else if (e.dealerTradeValue) {\n return \"
\";\n } else {\n return \"
\" + \"
\";\n }\n }\n\n function updateDealerValueValidationFlag(e) {\n if (!e.dealerTradeValue) {\n var grid = $(\"#gridDataEntryTradeins\").data(\"kendoGrid\");\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell = rowChildren.eq(9);\n\n if (e.dealerTradeExpirationDate) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n }\n}","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.promise.finally\";\nDataEntryRebatesController.$inject = [\"$translate\", \"$q\", \"$filter\", \"vehicleService\", \"dealerService\", \"dataEntryService\", \"storageService\", \"$uibModal\", \"$document\", \"saleTypes\", \"cultures\", \"logger\", \"$logFactory\"];\n\n/* injects from baggage-loader */\nrequire('./data-entry-rebates.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport './data-entry-rebates.component.scss';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nangular.module('AaApp.Opp').component('dataEntryRebates', {\n templateUrl: '/app/components/data-entry/data-entry-rebates.component.html',\n controller: DataEntryRebatesController,\n bindings: {\n kendo: '<'\n }\n});\n\nfunction DataEntryRebatesController($translate, $q, $filter, vehicleService, dealerService, dataEntryService, storageService, $uibModal, $document, saleTypes, cultures, logger, $logFactory) {\n \"ngInject\";\n\n var $ctrl = this;\n var log = $logFactory.get();\n var cultureName = storageService.getItem('cultureName') || 'en-US';\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.trimSelections;\n $ctrl.setTrimSelections = setTrimSelections;\n $ctrl.showQuickAction = false;\n $ctrl.onShowQuickAction = onShowQuickAction;\n $ctrl.onHideQuickAction = onHideQuickAction;\n $ctrl.onPerform = onPerform;\n $ctrl.onClear = onClear;\n $ctrl.onSave = onSave;\n $ctrl.onCancel = onCancel;\n $ctrl.kendoGrid = null;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.quickActionForOptions = [];\n $ctrl.rebateFor = null;\n $ctrl.min = 100;\n $ctrl.max = 50000;\n $ctrl.setLeaseColumn = setLeaseColumn;\n $ctrl.setRetailColumn = setRetailColumn;\n $ctrl.setBalloonColumn = setBalloonColumn;\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n $ctrl.dateOptions = {\n minDate: new Date(),\n startingDay: 0,\n showWeeks: false\n };\n $ctrl.quickActionForOptions = [{\n id: '0',\n name: 'allSaleTypes'\n }, {\n id: '1',\n name: 'lease'\n }, {\n id: '2',\n name: 'retail'\n }, {\n id: '3',\n name: 'balloon'\n }];\n $ctrl.rebateFor = $ctrl.quickActionForOptions[0].id;\n getTranslations();\n onDealerSelect();\n }\n\n function getTranslations() {\n $q.all({\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\n 'saveWarningMessage': $translate('saveWarningMessage'),\n 'validationErrorMessage': $translate('validationErrorMessage'),\n 'lease': $translate('lease'),\n 'retail': $translate('retail'),\n 'balloon': $translate('balloon'),\n 'expireOn': $translate('expireOn'),\n 'trim': $translate('trim'),\n 'currencySymbol': $translate('currencySymbol')\n }).then(function (stuff) {\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\n $ctrl.lease = stuff.lease;\n $ctrl.retail = stuff.retail;\n $ctrl.balloon = stuff.balloon;\n $ctrl.expireOn = stuff.expireOn;\n $ctrl.trim = stuff.trim;\n $ctrl.currencySymbol = stuff.currencySymbol;\n initGridOptions();\n });\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(previousValue) {\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\n\n if (isDataDirty()) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return $ctrl.saveWarningMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\";\n }\n }\n });\n modal.result.then(function () {\n return busy(\"Loading Rebates\", $q.all([vehicleService.getMakes($ctrl.selectedDealerId, null), vehicleService.getYearIDs($ctrl.selectedDealerId, false)]).then(function (data) {\n $ctrl.selectedMakeId = data[0][0].makeID;\n $ctrl.selectedYearId = data[1][0];\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: data[0][0].makeID,\n makeName: data[0][0].makeName,\n yearID: data[1][0],\n modelID: null,\n modelName: null,\n trimID: null,\n trimName: null\n };\n $ctrl.trimSelections = $ctrl.defaults;\n return loadRebates();\n }));\n }).catch(function () {\n $ctrl.selectedDealerId = previousValue;\n return false;\n });\n } else return busy(\"Loading Rebates\", $q.all([vehicleService.getMakes($ctrl.selectedDealerId, null), vehicleService.getYearIDs($ctrl.selectedDealerId, false)]).then(function (data) {\n $ctrl.selectedMakeId = data[0][0].makeID;\n $ctrl.selectedYearId = data[1][0];\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: data[0][0].makeID,\n makeName: data[0][0].makeName,\n yearID: data[1][0],\n modelID: null,\n modelName: null,\n trimID: null,\n trimName: null\n };\n $ctrl.trimSelections = $ctrl.defaults;\n return loadRebates();\n }));\n }\n\n function onShowQuickAction() {\n $ctrl.showQuickAction = true;\n }\n\n function onHideQuickAction() {\n $ctrl.showQuickAction = false;\n }\n\n function clearQuickAction() {\n $ctrl.rebateFor = $ctrl.quickActionForOptions[0].id;\n $ctrl.expireSetTo = null;\n $ctrl.rebateSetAmount = null;\n }\n\n function setLeaseColumn(row, clearFlag) {\n if (clearFlag) {\n if (row.leaseRebate) {\n row.leaseRebate = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.leaseRebate = true;else row.dirtyFields = {\n \"leaseRebate\": true\n };\n }\n\n if (row.leaseExpirationDate) {\n row.leaseExpirationDate = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.leaseExpirationDate = true;else row.dirtyFields = {\n \"leaseExpirationDate\": true\n };\n }\n\n return;\n }\n\n if (!(row.leaseRebate && !($ctrl.rebateSetAmount !== null))) {\n row.leaseRebate = $ctrl.rebateSetAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.leaseRebate = true;else row.dirtyFields = {\n \"leaseRebate\": true\n };\n }\n\n if ($ctrl.expireSetTo) {\n row.leaseExpirationDate = new Date($ctrl.expireSetTo);\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.leaseExpirationDate = true;else row.dirtyFields = {\n \"leaseExpirationDate\": true\n };\n }\n }\n\n function setRetailColumn(row, clearFlag) {\n if (clearFlag) {\n if (row.retailRebate) {\n row.retailRebate = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.retailRebate = true;else row.dirtyFields = {\n \"retailRebate\": true\n };\n }\n\n if (row.retailExpirationDate) {\n row.retailExpirationDate = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.retailExpirationDate = true;else row.dirtyFields = {\n \"retailExpirationDate\": true\n };\n }\n\n return;\n }\n\n if (!(row.retailRebate && !($ctrl.rebateSetAmount !== null))) {\n row.retailRebate = $ctrl.rebateSetAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.retailRebate = true;else row.dirtyFields = {\n \"retailRebate\": true\n };\n }\n\n if ($ctrl.expireSetTo) {\n row.retailExpirationDate = new Date($ctrl.expireSetTo);\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.retailExpirationDate = true;else row.dirtyFields = {\n \"retailExpirationDate\": true\n };\n }\n }\n\n function setBalloonColumn(row, clearFlag) {\n if (clearFlag) {\n if (row.balloonRebate) {\n row.balloonRebate = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.balloonRebate = true;else row.dirtyFields = {\n \"balloonRebate\": true\n };\n }\n\n if (row.balloonExpirationDate) {\n row.balloonExpirationDate = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.balloonExpirationDate = true;else row.dirtyFields = {\n \"balloonExpirationDate\": true\n };\n }\n\n return;\n }\n\n if (!(row.balloonRebate && !($ctrl.rebateSetAmount !== null))) {\n row.balloonRebate = $ctrl.rebateSetAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.balloonRebate = true;else row.dirtyFields = {\n \"balloonRebate\": true\n };\n }\n\n if ($ctrl.expireSetTo) {\n row.balloonExpirationDate = new Date($ctrl.expireSetTo);\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.balloonExpirationDate = true;else row.dirtyFields = {\n \"balloonExpirationDate\": true\n };\n }\n }\n\n function onPerform() {\n if ($ctrl.rebateFor && $ctrl.rebateFor > -1) {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n switch (parseInt($ctrl.rebateFor)) {\n case saleTypes.lease:\n $ctrl.setLeaseColumn(row, false);\n break;\n\n case saleTypes.retail:\n $ctrl.setRetailColumn(row, false);\n break;\n\n case saleTypes.balloon:\n $ctrl.setBalloonColumn(row, false);\n break;\n\n default:\n $ctrl.setLeaseColumn(row, false);\n $ctrl.setRetailColumn(row, false);\n $ctrl.setBalloonColumn(row, false);\n }\n });\n $ctrl.kendoGrid.refresh();\n }\n }\n\n function onClear() {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n switch (parseInt($ctrl.rebateFor)) {\n case saleTypes.lease:\n $ctrl.setLeaseColumn(row, true);\n break;\n\n case saleTypes.retail:\n $ctrl.setRetailColumn(row, true);\n break;\n\n case saleTypes.balloon:\n $ctrl.setBalloonColumn(row, true);\n break;\n\n default:\n $ctrl.setLeaseColumn(row, true);\n $ctrl.setRetailColumn(row, true);\n $ctrl.setBalloonColumn(row, true);\n }\n });\n $ctrl.kendoGrid.refresh();\n }\n\n function onSave() {\n if (!isDataValid()) {\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"validationError\";\n },\n message: function message() {\n return $ctrl.validationErrorMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\";\n }\n }\n });\n return;\n }\n\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"readyToProcess\";\n },\n message: function message() {\n return $ctrl.saveConfirmMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\";\n }\n }\n });\n modal.result.then(function () {\n var rows = $ctrl.kendoGrid.dataSource.data();\n var dirtyRows = [];\n rows.forEach(function (row) {\n if (row.dirty) {\n dirtyRows.push({\n dealerID: row.dealerID,\n trimID: row.trimID,\n leaseDealerRebateID: row.leaseDealerRebateID,\n leaseSaleTypeID: row.leaseSaleTypeID,\n leaseRebate: row.leaseRebate,\n leaseExpirationDate: row.leaseExpirationDate,\n retailDealerRebateID: row.retailDealerRebateID,\n retailSaleTypeID: row.retailSaleTypeID,\n retailRebate: row.retailRebate,\n retailExpirationDate: row.retailExpirationDate,\n balloonDealerRebateID: row.balloonDealerRebateID,\n balloonSaleTypeID: row.balloonSaleTypeID,\n balloonRebate: row.balloonRebate,\n balloonExpirationDate: row.balloonExpirationDate\n });\n row.dirty = false;\n }\n });\n\n if (dirtyRows.length > 0) {\n return updateDealerRebates(dirtyRows);\n } else {\n logger.success(\"changesSaved\");\n return $q.resolve();\n }\n }).catch(function () {\n return false;\n });\n }\n\n function onCancel() {\n //$ctrl.kendoGrid.dataSource.cancelChanges();\n $ctrl.kendoGrid.cancelChanges();\n }\n\n function updateDealerRebates(rebates) {\n return busy(\"Saving Rebates\", dataEntryService.updateDealerRebates(rebates).then(function (success) {\n logger.success(\"changesSaved\");\n return loadRebates();\n }).then(function () {}, function (error) {\n log.log(error);\n }));\n }\n\n function setTrimSelections(selections) {\n if (isDataDirty()) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return $ctrl.saveWarningMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\";\n }\n }\n });\n modal.result.then(function () {\n $ctrl.trimSelections = selections;\n return loadRebates();\n }).catch(function () {\n if (selections.makeID != $ctrl.trimSelections.makeID || selections.yearID != $ctrl.trimSelections.yearID || selections.modelID != $ctrl.trimSelections.modelID || selections.trimID != $ctrl.trimSelections.trimID) {\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: $ctrl.trimSelections.makeID,\n makeName: $ctrl.trimSelections.makeName,\n yearID: $ctrl.trimSelections.yearID,\n modelID: $ctrl.trimSelections.modelID,\n modelName: $ctrl.trimSelections.modelName,\n trimID: $ctrl.trimSelections.trimID,\n trimName: $ctrl.trimSelections.trimName\n };\n }\n\n return;\n });\n } else {\n $ctrl.trimSelections = selections;\n return loadRebates();\n }\n }\n\n function isDataValid() {\n if (!$ctrl.kendoGrid) return true;\n var valid = true;\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if (row.leaseRebate && !row.leaseExpirationDate || !row.leaseRebate && row.leaseExpirationDate || row.retailRebate && !row.retailExpirationDate || !row.retailRebate && row.retailExpirationDate || row.balloonRebate && !row.balloonExpirationDate || !row.balloonRebate && row.balloonExpirationDate || row.leaseRebate && row.leaseRebate < $ctrl.min || row.leaseRebate && row.leaseRebate > $ctrl.max || row.retailRebate && row.retailRebate < $ctrl.min || row.retailRebate && row.retailRebate > $ctrl.max || row.balloonRebate && row.balloonRebate < $ctrl.min || row.balloonRebate && row.balloonRebate > $ctrl.max) valid = false;\n });\n return valid;\n }\n\n function isDataDirty() {\n if (!$ctrl.kendoGrid) return false;\n var dirty = false;\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n if (row.dirty) dirty = true;\n });\n return dirty;\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n navigatable: true,\n pageable: true,\n height: 580,\n columns: [{\n field: \"trimFullName\",\n title: $ctrl.trim,\n width: 100\n }, {\n field: \"leaseRebate\",\n title: $ctrl.lease + \" (\" + $ctrl.currencySymbol + \")\",\n template: leaseRebateTemplate,\n format: \"{0:c0}\",\n width: 50\n }, {\n field: \"leaseExpirationDate\",\n title: $ctrl.expireOn,\n template: leaseExpirationDateTemplate,\n width: 50\n }, {\n field: \"retailRebate\",\n title: $ctrl.retail + \" (\" + $ctrl.currencySymbol + \")\",\n template: retailRebateTemplate,\n format: \"{0:c0}\",\n width: 50\n }, {\n field: \"retailExpirationDate\",\n title: $ctrl.expireOn,\n template: retailExpirationDateTemplate,\n width: 50\n }, {\n field: \"balloonRebate\",\n title: $ctrl.balloon + \" (\" + $ctrl.currencySymbol + \")\",\n template: balloonRebateTemplate,\n format: \"{0:c0}\",\n width: 50\n }, {\n field: \"balloonExpirationDate\",\n title: $ctrl.expireOn,\n template: balloonExpirationDateTemplate,\n width: 50\n }],\n editable: true,\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: true,\n reorderable: true,\n filterable: false\n };\n }\n\n function loadRebates() {\n var makeID = $ctrl.trimSelections.makeID;\n var yearID = $ctrl.trimSelections.yearID;\n var modelID = $ctrl.trimSelections.modelID ? $ctrl.trimSelections.modelID : 0;\n var trimID = $ctrl.trimSelections.trimID ? $ctrl.trimSelections.trimID : 0;\n return busy(\"Loading Rebates\", dataEntryService.getDealerRebates($ctrl.selectedDealerId, makeID, yearID, modelID, trimID).then(function (dataRebates) {\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: dataRebates,\n schema: {\n model: {\n fields: {\n trimFullName: {\n type: \"string\",\n editable: false\n },\n leaseRebate: {\n type: \"number\",\n editable: true\n },\n leaseExpirationDate: {\n type: \"date\",\n editable: true\n },\n retailRebate: {\n type: \"number\",\n editable: true\n },\n retailExpirationDate: {\n type: \"date\",\n editable: true\n },\n balloonRebate: {\n type: \"number\",\n editable: true\n },\n balloonExpirationDate: {\n type: \"date\",\n editable: true\n },\n dealerID: {\n type: \"string\",\n editable: false\n },\n trimID: {\n type: \"string\",\n editable: false\n },\n leaseDealerRebateID: {\n type: \"string\",\n editable: false\n },\n leaseSaleTypeID: {\n type: \"string\",\n editable: false\n },\n retailDealerRebateID: {\n type: \"string\",\n editable: false\n },\n retailSaleTypeID: {\n type: \"string\",\n editable: false\n },\n balloonDealerRebateID: {\n type: \"string\",\n editable: false\n },\n balloonSaleTypeID: {\n type: \"string\",\n editable: false\n }\n }\n }\n },\n batch: true,\n pageSize: 50\n });\n\n switch (cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.esUS:\n case cultures.frFR:\n $ctrl.kendo.culture(cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date();\n $ctrl.showQuickAction = false;\n $ctrl.kendoGrid = $(\"#gridDataEntryRebates\").data(\"kendoGrid\");\n clearQuickAction();\n }));\n }\n\n function leaseRebateTemplate(e) {\n // Validation Error Indicator\n if (!e.leaseExpirationDate) {\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell = rowChildren.eq(2);\n\n if (e.leaseRebate) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n\n if (e.leaseRebate !== null) {\n if (e.leaseRebate >= $ctrl.min && e.leaseRebate <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.leaseRebate, 'n0') + \"
\";else return \"
\" + $ctrl.kendo.toString(e.leaseRebate, 'n0') + \"
\";\n } else if (e.leaseExpirationDate) {\n return \"
\";\n } else {\n return \"
\";\n }\n }\n\n function leaseExpirationDateTemplate(e) {\n if (!e.leaseRebate) {\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell = rowChildren.eq(1);\n\n if (e.leaseExpirationDate) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n\n var expirationDate = e.leaseExpirationDate ? e.leaseExpirationDate : '';\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n\n if (expirationDate) {\n var localeDateFilter = $filter('localeDate');\n var localeExpirationDate = localeDateFilter(expirationDate);\n if (expirationDate < today) return \"
\" + localeExpirationDate + \"
\";else return \"
\" + localeExpirationDate + \"
\";\n } else if (e.leaseRebate) {\n return \"
\";\n } else {\n return \"
\";\n }\n }\n\n function retailRebateTemplate(e) {\n // Validation Error Indicator\n if (!e.retailExpirationDate) {\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell = rowChildren.eq(4);\n\n if (e.retailRebate) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n\n if (e.retailRebate !== null) {\n if (e.retailRebate >= $ctrl.min && e.retailRebate <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.retailRebate, 'n0') + \"
\";else return \"
\" + $ctrl.kendo.toString(e.retailRebate, 'n0') + \"
\";\n } else if (e.retailExpirationDate) {\n return \"
\";\n } else {\n return \"
\";\n }\n }\n\n function retailExpirationDateTemplate(e) {\n if (!e.retailRebate) {\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell = rowChildren.eq(3);\n\n if (e.retailExpirationDate) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n\n var expirationDate = e.retailExpirationDate ? e.retailExpirationDate : '';\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n\n if (expirationDate) {\n var localeDateFilter = $filter('localeDate');\n var localeExpirationDate = localeDateFilter(expirationDate);\n if (expirationDate < today) return \"
\" + localeExpirationDate + \"
\";else return \"
\" + localeExpirationDate + \"
\";\n } else if (e.retailRebate) {\n return \"
\";\n } else {\n return \"
\";\n }\n }\n\n function balloonRebateTemplate(e) {\n // Validation Error Indicator\n if (!e.balloonExpirationDate) {\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell = rowChildren.eq(6);\n\n if (e.balloonRebate) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n\n if (e.balloonRebate !== null) {\n if (e.balloonRebate >= $ctrl.min && e.balloonRebate <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.balloonRebate, 'n0') + \"
\";else return \"
\" + $ctrl.kendo.toString(e.balloonRebate, 'n0') + \"
\";\n } else if (e.balloonExpirationDate) {\n return \"
\";\n } else {\n return \"
\";\n }\n }\n\n function balloonExpirationDateTemplate(e) {\n if (!e.balloonRebate) {\n var grid = $(\"#gridDataEntryPrices\").data(\"kendoGrid\");\n var row = $ctrl.kendoGrid.tbody.find(\"tr[data-uid='\" + e.uid + \"']\");\n var rowChildren = $(row.children('td[role=\"gridcell\"]'));\n var cell = rowChildren.eq(5);\n\n if (e.balloonExpirationDate) {\n cell.html(\"
\");\n } else {\n cell.html(\"
\");\n }\n }\n\n var expirationDate = e.balloonExpirationDate ? e.balloonExpirationDate : '';\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n\n if (expirationDate) {\n var localeDateFilter = $filter('localeDate');\n var localeExpirationDate = localeDateFilter(expirationDate);\n if (expirationDate < today) return \"
\" + localeExpirationDate + \"
\";else return \"
\" + localeExpirationDate + \"
\";\n } else if (e.balloonRebate) {\n return \"
\";\n } else {\n return \"
\";\n }\n }\n}","DataEntryRatesController.$inject = [\"$translate\", \"$scope\", \"$q\", \"$filter\", \"vehicleService\", \"dealerService\", \"dataEntryService\", \"storageService\", \"$uibModal\", \"$document\", \"saleTypes\", \"cultures\", \"logger\"];\n\n/* injects from baggage-loader */\nrequire('./data-entry-rates.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport './data-entry-rates.component.scss';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nangular.module('AaApp.Opp').component('dataEntryRates', {\n templateUrl: '/app/components/data-entry/data-entry-rates.component.html',\n controller: DataEntryRatesController,\n bindings: {\n kendo: '<'\n }\n});\n\nfunction DataEntryRatesController($translate, $scope, $q, $filter, vehicleService, dealerService, dataEntryService, storageService, $uibModal, $document, saleTypes, cultures, logger) {\n \"ngInject\";\n\n var $ctrl = this;\n var cultureName = storageService.getItem('cultureName') || 'en-US';\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.onNotifyUnsavedData = onNotifyUnsavedData;\n $ctrl.isOverAllowanceNotSaved = false;\n $ctrl.isMarkUpNotSaved = false;\n $ctrl.isUsedRatesNotSaved = false;\n $ctrl.currentTab = 1;\n\n function onNotifyUnsavedData(result) {\n if (result.tab == \"markUp\") $ctrl.isMarkUpNotSaved = result.value;\n if (result.tab == \"overAllowance\") $ctrl.isOverAllowanceNotSaved = result.value;\n if (result.tab == \"usedRates\") $ctrl.isUsedRatesNotSaved = result.value;\n }\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n $ctrl.tabDealerId = $ctrl.selectedDealerId;\n getTranslations();\n }\n\n function getTranslations() {\n $q.all({\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\n 'saveWarningMessage': $translate('saveWarningMessage')\n }).then(function (stuff) {\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\n });\n }\n\n function onDealerSelect(previousValue) {\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\n\n if ($ctrl.isOverAllowanceNotSaved || $ctrl.isMarkUpNotSaved || $ctrl.isUsedRatesNotSaved) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return $ctrl.saveWarningMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\";\n }\n }\n });\n modal.result.then(function () {\n $ctrl.tabDealerId = $ctrl.selectedDealerId;\n $ctrl.isOverAllowanceNotSaved = false;\n $ctrl.isMarkUpNotSaved = false;\n $ctrl.isUsedRatesNotSaved = false;\n }).catch(function () {\n $ctrl.selectedDealerId = previousValue;\n });\n } else {\n $ctrl.tabDealerId = $ctrl.selectedDealerId;\n }\n }\n}","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.promise\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.promise.finally\";\nDataEntryAlertsController.$inject = [\"$translate\", \"$q\", \"vehicleService\", \"dealerService\", \"userService\", \"dataEntryService\", \"storageService\", \"$uibModal\", \"$document\", \"logger\", \"cultures\", \"$logFactory\", \"modules\"];\n\n/* injects from baggage-loader */\nrequire('./data-entry-alerts.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport './data-entry-alerts.component.scss';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nangular.module('AaApp.Opp').component('dataEntryAlerts', {\n templateUrl: '/app/components/data-entry/data-entry-alerts.component.html',\n controller: DataEntryAlertsController,\n bindings: {\n kendo: '<'\n }\n});\n\nfunction DataEntryAlertsController($translate, $q, vehicleService, dealerService, userService, dataEntryService, storageService, $uibModal, $document, logger, cultures, $logFactory, modules) {\n \"ngInject\";\n\n var $ctrl = this;\n var log = $logFactory.get();\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.trimSelections;\n $ctrl.setTrimSelections = setTrimSelections;\n $ctrl.showQuickAction = false;\n $ctrl.onShowQuickAction = onShowQuickAction;\n $ctrl.onHideQuickAction = onHideQuickAction;\n $ctrl.onPerform = onPerform;\n $ctrl.onClear = onClear;\n $ctrl.imposeMinMax = imposeMinMax;\n $ctrl.showDisabledTooltip = showDisabledTooltip;\n $ctrl.onSave = onSave;\n $ctrl.onCancel = onCancel;\n $ctrl.kendoGrid = null;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.minTolerance = 50;\n $ctrl.maxTolerance = 150;\n $ctrl.minMonth = 6;\n $ctrl.maxMonth = 99; //$ctrl.countryId;\n\n $ctrl.cultureName;\n $ctrl.alertLeaseSetTo = null;\n $ctrl.alertRetailSetTo = null;\n $ctrl.flexAlertLeaseSetTo = null;\n $ctrl.flexAlertRetailSetTo = null;\n $ctrl.flexMonthSetTo = null;\n $ctrl.isFordAlert = false;\n $ctrl.editsDisabledTooltip = null;\n $ctrl.gridPageSize = 50;\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n userService.getUserProfile().then(function (userProfile) {\n //$ctrl.countryId = userProfile.countryId;\n $ctrl.cultureName = userProfile.cultureName;\n $ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\n getTranslations();\n initGridOptions();\n onDealerSelect();\n });\n }\n\n function getTranslations() {\n $q.all({\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\n 'saveWarningMessage': $translate('saveWarningMessage'),\n 'currencySymbol': $translate('currencySymbol'),\n 'validationErrorMessage': $translate('validationErrorMessage'),\n 'editsDisabledTooltip': $translate('fordToleranceEditsDisabled')\n }).then(function (stuff) {\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\n $ctrl.currencySymbol = stuff.currencySymbol;\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\n $ctrl.editsDisabledTooltip = stuff.editsDisabledTooltip;\n });\n }\n\n function showDisabledTooltip() {\n if ($ctrl.isFordAlert) return $ctrl.editsDisabledTooltip;else return null;\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(previousValue) {\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\n\n if (isDataDirty()) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return $ctrl.saveWarningMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n return busy(\"Loading Tolerances\", $q.all([vehicleService.getMakes($ctrl.selectedDealerId, null), vehicleService.getYearIDs($ctrl.selectedDealerId, false)]).then(function (data) {\n $ctrl.selectedMakeId = data[0][0].makeID; //$ctrl.countryId = data[0][0].countryId;\n\n var currentYear = new Date().getFullYear();\n $ctrl.selectedYearId = data[1][0];\n if ($ctrl.selectedYearId != currentYear) $ctrl.selectedYearId = currentYear;\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: data[0][0].makeID,\n makeName: data[0][0].makeName,\n yearID: $ctrl.selectedYearId,\n modelID: null,\n modelName: null,\n trimID: null,\n trimName: null\n };\n $ctrl.trimSelections = $ctrl.defaults;\n $ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\n return loadTolerances();\n }));\n }).catch(function () {\n $ctrl.selectedDealerId = previousValue;\n return false;\n });\n } else return busy(\"Loading Tolerances\", $q.all([vehicleService.getMakes($ctrl.selectedDealerId, null), vehicleService.getYearIDs($ctrl.selectedDealerId, false)]).then(function (data) {\n $ctrl.selectedMakeId = data[0][0].makeID; //$ctrl.countryId = data[0][0].countryId;\n\n var currentYear = new Date().getFullYear();\n $ctrl.selectedYearId = data[1][0];\n if ($ctrl.selectedYearId != currentYear) $ctrl.selectedYearId = currentYear;\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: data[0][0].makeID,\n makeName: data[0][0].makeName,\n yearID: $ctrl.selectedYearId,\n modelID: null,\n modelName: null,\n trimID: null,\n trimName: null\n };\n $ctrl.trimSelections = $ctrl.defaults;\n $ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\n return loadTolerances();\n }));\n }\n\n function onShowQuickAction() {\n $ctrl.showQuickAction = true;\n if (!$ctrl.alertLeaseSetTo) $ctrl.alertLeaseSetTo = null;\n if (!$ctrl.alertRetailSetTo) $ctrl.alertRetailSetTo = null;\n if (!$ctrl.flexAlertLeaseSetTo) $ctrl.flexAlertLeaseSetTo = null;\n if (!$ctrl.flexAlertRetailSetTo) $ctrl.flexAlertRetailSetTo = null;\n if (!$ctrl.flexMonthSetTo) $ctrl.flexMonthSetTo = null;\n }\n\n function onHideQuickAction() {\n $ctrl.showQuickAction = false;\n }\n\n function clearQuickAction() {\n $ctrl.alertLeaseSetTo = null;\n $ctrl.alertRetailSetTo = null;\n $ctrl.flexAlertLeaseSetTo = null;\n $ctrl.flexAlertRetailSetTo = null;\n $ctrl.flexMonthSetTo = null;\n }\n\n function onPerform(columnName, setToValue) {\n if (setToValue && setToValue !== null) {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n row[columnName] = setToValue;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields[columnName] = true;else row.dirtyFields = {\n columnName: true\n };\n });\n $ctrl.kendoGrid.refresh();\n }\n }\n\n function onClear(columnName) {\n var rows = $ctrl.kendoGrid.dataSource.data();\n rows.forEach(function (row) {\n row.dirty = true;\n\n switch (columnName) {\n case 'leaseAlertTolerance':\n row['leaseAlertTolerance'] = row['leaseAlertToleranceDefault'];\n\n case 'retailAlertTolerance':\n row['retailAlertTolerance'] = row['retailAlertToleranceDefault'];\n\n case 'leaseFlexAlertTolerance':\n row['leaseFlexAlertTolerance'] = row['leaseFlexAlertToleranceDefault'];\n\n case 'retailFlexAlertTolerance':\n row['retailFlexAlertTolerance'] = row['retailFlexAlertToleranceDefault'];\n\n case 'flexMonthsTolerance':\n row['flexMonthsTolerance'] = row['flexMonthsToleranceDefault'];\n }\n\n if (row.dirtyFields) row.dirtyFields[columnName] = true;else row.dirtyFields = {\n columnName: true\n };\n });\n $ctrl.kendoGrid.refresh();\n }\n\n function imposeMinMax(e) {\n if (e.target.value != \"\") {\n if (parseInt(e.target.value) < parseInt(e.target.min)) {\n e.target.value = e.target.min;\n }\n\n if (parseInt(e.target.value) > parseInt(e.target.max)) {\n e.target.value = e.target.max;\n }\n\n return parseInt(e.target.value);\n } else {\n return null;\n }\n }\n\n function onSave() {\n if (!isDataValid()) {\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"validationError\";\n },\n message: function message() {\n return $ctrl.validationErrorMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\"; // translation key\n }\n }\n });\n return;\n }\n\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"readyToProcess\";\n },\n message: function message() {\n return $ctrl.saveConfirmMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n var rows = $ctrl.kendoGrid.dataSource._data;\n var overrides = [];\n rows.forEach(function (row) {\n // if any values equal the default set them to null in overrides\n row.leaseAlertTolerance = row.leaseAlertTolerance == row.leaseAlertToleranceDefault ? null : row.leaseAlertTolerance;\n row.retailAlertTolerance = row.retailAlertTolerance == row.retailAlertToleranceDefault ? null : row.retailAlertTolerance;\n row.leaseFlexAlertTolerance = row.leaseFlexAlertTolerance == row.leaseFlexAlertToleranceDefault ? null : row.leaseFlexAlertTolerance;\n row.retailFlexAlertTolerance = row.retailFlexAlertTolerance == row.retailFlexAlertToleranceDefault ? null : row.retailFlexAlertTolerance;\n row.flexMonthsTolerance = row.flexMonthsTolerance == row.flexMonthsToleranceDefault ? null : row.flexMonthsTolerance; // overrides includes all rows from grid. If all tolerance values are null in a row it should be deleted by AlertMiner\n\n overrides.push({\n trimID: row.trimID,\n leaseAlertTolerance: row.leaseAlertTolerance,\n retailAlertTolerance: row.retailAlertTolerance,\n leaseFlexAlertTolerance: row.leaseFlexAlertTolerance,\n retailFlexAlertTolerance: row.retailFlexAlertTolerance,\n flexMonthsTolerance: row.flexMonthsTolerance,\n modifiedBy: row.modifiedBy,\n modifiedDate: row.modifiedDate,\n isModified: row.dirty\n });\n row.dirty = false;\n });\n\n if (overrides.length > 0) {\n return updateAlertTolerances(overrides);\n } else {\n logger.success(\"changesSaved\");\n return $q.resolve();\n }\n }).catch(function () {\n return false;\n });\n }\n\n function rowHasOverride(row) {\n if (row.leaseAlertTolerance != null && row.leaseAlertTolerance != row.leaseAlertToleranceDefault || row.retailAlertTolerance != null && row.retailAlertTolerance != row.retailAlertToleranceDefault || row.leaseFlexAlertTolerance != null && row.leaseFlexAlertTolerance != row.leaseFlexAlertToleranceDefault || row.retailFlexAlertTolerance != null && row.retailFlexAlertTolerance != row.retailFlexAlertToleranceDefault || row.flexMonthsTolerance != null && row.flexMonthsTolerance != row.flexMonthsToleranceDefault) {\n return true;\n } else return false;\n }\n\n function onCancel() {\n $ctrl.kendoGrid.cancelChanges();\n }\n\n function updateAlertTolerances(overrides) {\n return busy(\"Saving Tolerances\", dealerService.UpdateDealerAlertTolerances($ctrl.selectedDealerId, overrides).then(function (success) {\n logger.success(\"changesSaved\");\n return loadTolerances();\n }).then(function () {}, function (error) {\n log.log(error);\n }));\n return loadTolerances();\n }\n\n function setTrimSelections(selections) {\n if (isDataDirty()) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return $ctrl.saveWarningMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n $ctrl.trimSelections = selections;\n return loadTolerances();\n }).catch(function () {\n if (selections.makeID != $ctrl.trimSelections.makeID || selections.yearID != $ctrl.trimSelections.yearID || selections.modelID != $ctrl.trimSelections.modelID || selections.trimID != $ctrl.trimSelections.trimID) {\n $ctrl.defaults = {\n vehicleTypes: 0,\n makeID: $ctrl.trimSelections.makeID,\n makeName: $ctrl.trimSelections.makeName,\n yearID: $ctrl.trimSelections.yearID,\n modelID: $ctrl.trimSelections.modelID,\n modelName: $ctrl.trimSelections.modelName,\n trimID: $ctrl.trimSelections.trimID,\n trimName: $ctrl.trimSelections.trimName\n };\n }\n\n return;\n });\n } else {\n $ctrl.trimSelections = selections;\n return loadTolerances();\n }\n }\n\n function isDataValid() {\n if (!$ctrl.kendoGrid) return true;\n var valid = true;\n var rows = $ctrl.kendoGrid.dataSource._data; //rows.forEach(function (row) {\n // if ((row.price && !row.expirationDate || !row.price && row.expirationDate)\n // || row.price && (row.price < $ctrl.minPrice || row.price > $ctrl.maxPrice))\n // valid = false;\n //});\n\n return valid;\n }\n\n function isDataDirty() {\n if (!$ctrl.kendoGrid) return false;\n var dirty = false;\n var rows = $ctrl.kendoGrid.dataSource._data;\n\n for (var i = 0; i < rows.length; i++) {\n if (rows[i].dirty) {\n dirty = true;\n break;\n }\n }\n\n return dirty;\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n navigatable: true,\n pageable: true,\n height: 580,\n columns: [{\n field: \"trimFullName\",\n title: \"{{ 'trim' | translate }}\",\n width: 110,\n sortable: true\n }, {\n title: \"{{ 'alertsToleranceColHeader' | translate }}\",\n headerAttributes: {\n style: \"text-align: center;\"\n },\n columns: [{\n field: \"leaseAlertTolerance\",\n title: \"{{ 'lease' | translate }}\",\n template: leaseAlertToleranceTemplate,\n editor: toleranceEditor,\n format: \"{0:n0}\",\n width: 60,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"retailAlertTolerance\",\n title: \"{{ 'retail' | translate }}\",\n template: retailAlertToleranceTemplate,\n editor: toleranceEditor,\n format: \"{0:n0}\",\n width: 60,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }]\n }, {\n title: \"{{ 'flexAlertsToleranceColHeader' | translate }}\",\n headerAttributes: {\n style: \"text-align: center;\"\n },\n columns: [{\n field: \"leaseFlexAlertTolerance\",\n title: \"{{ 'lease' | translate }}\",\n template: leaseFlexAlertToleranceTemplate,\n editor: toleranceEditor,\n format: \"{0:n0}\",\n width: 60,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"retailFlexAlertTolerance\",\n title: \"{{ 'retail' | translate }}\",\n template: retailFlexAlertToleranceTemplate,\n editor: toleranceEditor,\n format: \"{0:n0}\",\n width: 60,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }]\n }, {\n field: \"flexMonthsTolerance\",\n title: \"{{ 'flexMonthTolerance' | translate }}\",\n template: flexMonthsToleranceTemplate,\n editor: monthEditor,\n format: \"{0:n0}\",\n width: 60,\n attributes: {\n style: \"text-align: right\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }],\n editable: !$ctrl.isFordAlert,\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: true,\n reorderable: false,\n filterable: false\n };\n }\n\n function mockGetDealerTolerances(dealerId, makeId, year, modelId, trimId) {\n var result = [{\n trimID: 454559,\n trimFullName: \"A 220W\",\n leaseAlertToleranceOverride: null,\n retailAlertToleranceOverride: null,\n leaseFlexAlertToleranceOverride: null,\n retailFlexAlertToleranceOverride: null,\n flexMonthsToleranceOverride: null,\n leaseAlertToleranceDefault: 120,\n retailAlertToleranceDefault: 120,\n leaseFlexAlertToleranceDefault: 110,\n retailFlexAlertToleranceDefault: 110,\n flexMonthsToleranceDefault: 12,\n modifiedDate: \"2019-07-15T22:44:03.313Z\",\n modifiedBy: 150092819\n }, {\n trimID: 454560,\n trimFullName: \"A 220W 4MATIC\",\n leaseAlertToleranceOverride: null,\n retailAlertToleranceOverride: null,\n leaseFlexAlertToleranceOverride: null,\n retailFlexAlertToleranceOverride: null,\n flexMonthsToleranceOverride: 48,\n leaseAlertToleranceDefault: 120,\n retailAlertToleranceDefault: 120,\n leaseFlexAlertToleranceDefault: 110,\n retailFlexAlertToleranceDefault: 110,\n flexMonthsToleranceDefault: 12,\n modifiedDate: \"2019-07-15T22:44:03.313Z\",\n modifiedBy: 150092819\n }];\n return Promise.resolve(result);\n }\n\n function loadTolerances() {\n var makeID = $ctrl.trimSelections.makeID;\n var yearID = $ctrl.trimSelections.yearID;\n var modelID = $ctrl.trimSelections.modelID ? $ctrl.trimSelections.modelID : 0;\n var trimID = $ctrl.trimSelections.trimID ? $ctrl.trimSelections.trimID : 0;\n return busy(\"Loading Tolerances\", //mockGetDealerTolerances($ctrl.selectedDealerId, makeID, yearID, modelID, trimID)\n dealerService.getDealerAlertTolerances($ctrl.selectedDealerId, makeID, yearID, modelID, trimID).then(function (dataTolerances) {\n $ctrl.kendoGrid = $(\"#gridDataEntryAlerts\").data(\"kendoGrid\");\n $ctrl.kendoGrid.setOptions({\n editable: !$ctrl.isFordAlert\n });\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: dataTolerances,\n schema: {\n model: {\n fields: {\n trimFullName: {\n type: \"string\",\n editable: false\n },\n leaseAlertTolerance: {\n type: \"number\",\n editable: true\n },\n retailAlertTolerance: {\n type: \"number\",\n editable: true\n },\n leaseFlexAlertTolerance: {\n type: \"number\",\n editable: true\n },\n retailFlexAlertTolerance: {\n type: \"number\",\n editable: true\n },\n flexMonthsTolerance: {\n type: \"number\",\n editable: true\n }\n }\n }\n },\n batch: true,\n pageSize: $ctrl.gridPageSize\n });\n\n switch ($ctrl.cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.frFR:\n case cultures.esUS:\n $ctrl.kendo.culture($ctrl.cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n\n $ctrl.showQuickAction = false;\n clearQuickAction();\n }));\n }\n\n function toleranceEditor(container, options) {\n $('').appendTo(container).kendoNumericTextBox({\n decimals: 0,\n min: $ctrl.minTolerance,\n max: $ctrl.maxTolerance,\n restrictDecimals: true,\n format: \"n0\"\n });\n }\n\n function monthEditor(container, options) {\n $('').appendTo(container).kendoNumericTextBox({\n decimals: 0,\n min: $ctrl.minMonth,\n max: $ctrl.maxMonth,\n restrictDecimals: true,\n format: \"n0\"\n });\n }\n\n function leaseAlertToleranceTemplate(e) {\n if (!e.leaseAlertTolerance) {\n if (!e.initAlertLeaseSet) {\n e.initAlertLeaseSet = true;\n e.leaseAlertTolerance = e.leaseAlertToleranceOverride != null ? e.leaseAlertToleranceOverride : e.leaseAlertToleranceDefault;\n } else e.leaseAlertTolerance = e.leaseAlertToleranceDefault;\n }\n\n if (e.leaseAlertTolerance >= $ctrl.minTolerance && e.leaseAlertTolerance <= $ctrl.maxTolerance) {\n var isBold = e.leaseAlertTolerance != e.leaseAlertToleranceDefault;\n var classes = \"edit-box\";\n if (isBold) classes = classes + \" override\";\n return \"
\" + $ctrl.kendo.toString(e.leaseAlertTolerance / 100, 'p0') + \"
\";\n } else return \"
\" + $ctrl.kendo.toString(e.leaseAlertTolerance / 100, 'p0') + \"
\";\n }\n\n function retailAlertToleranceTemplate(e) {\n if (!e.retailAlertTolerance) {\n if (!e.initAlertRetailSet) {\n e.initAlertRetailSet = true;\n e.retailAlertTolerance = e.retailAlertToleranceOverride != null ? e.retailAlertToleranceOverride : e.retailAlertToleranceDefault;\n } else e.retailAlertTolerance = e.retailAlertToleranceDefault;\n }\n\n if (e.retailAlertTolerance >= $ctrl.minTolerance && e.retailAlertTolerance <= $ctrl.maxTolerance) {\n var isBold = e.retailAlertTolerance != e.retailAlertToleranceDefault;\n var classes = \"edit-box\";\n if (isBold) classes = classes + \" override\";\n return \"
\" + $ctrl.kendo.toString(e.retailAlertTolerance / 100, 'p0') + \"
\";\n } else return \"
\" + $ctrl.kendo.toString(e.retailAlertTolerance / 100, 'p0') + \"
\";\n }\n\n function leaseFlexAlertToleranceTemplate(e) {\n if (!e.leaseFlexAlertTolerance) {\n if (!e.initFlexAlertLeaseSet) {\n e.initFlexAlertLeaseSet = true;\n e.leaseFlexAlertTolerance = e.leaseFlexAlertToleranceOverride != null ? e.leaseFlexAlertToleranceOverride : e.leaseFlexAlertToleranceDefault;\n } else e.leaseFlexAlertTolerance = e.leaseFlexAlertToleranceDefault;\n }\n\n if (e.leaseFlexAlertTolerance >= $ctrl.minTolerance && e.leaseFlexAlertTolerance <= $ctrl.maxTolerance) {\n var isBold = e.leaseFlexAlertTolerance != e.leaseFlexAlertToleranceDefault;\n var classes = \"edit-box\";\n if (isBold) classes = classes + \" override\";\n return \"
\" + $ctrl.kendo.toString(e.leaseFlexAlertTolerance / 100, 'p0') + \"
\";\n } else return \"
\" + $ctrl.kendo.toString(e.leaseFlexAlertTolerance / 100, 'p0') + \"
\";\n }\n\n function retailFlexAlertToleranceTemplate(e) {\n if (!e.retailFlexAlertTolerance) {\n if (!e.initFlexAlertRetailSet) {\n e.initFlexAlertRetailSet = true;\n e.retailFlexAlertTolerance = e.retailFlexAlertToleranceOverride != null ? e.retailFlexAlertToleranceOverride : e.retailFlexAlertToleranceDefault;\n } else e.retailFlexAlertTolerance = e.retailFlexAlertToleranceDefault;\n }\n\n if (e.retailFlexAlertTolerance >= $ctrl.minTolerance && e.retailFlexAlertTolerance <= $ctrl.maxTolerance) {\n var isBold = e.retailFlexAlertTolerance != e.retailFlexAlertToleranceDefault;\n var classes = \"edit-box\";\n if (isBold) classes = classes + \" override\";\n return \"
\" + $ctrl.kendo.toString(e.retailFlexAlertTolerance / 100, 'p0') + \"
\";\n } else return \"
\" + $ctrl.kendo.toString(e.retailFlexAlertTolerance / 100, 'p0') + \"
\";\n }\n\n function flexMonthsToleranceTemplate(e) {\n if (!e.flexMonthsTolerance) {\n if (!e.initFlexMonthSet) {\n e.initFlexMonthSet = true;\n e.flexMonthsTolerance = e.flexMonthsToleranceOverride != null ? e.flexMonthsToleranceOverride : e.flexMonthsToleranceDefault;\n } else e.flexMonthsTolerance = e.flexMonthsToleranceDefault;\n }\n\n if (e.flexMonthsTolerance >= $ctrl.minMonth && e.flexMonthsTolerance <= $ctrl.maxMonth) {\n var isBold = e.flexMonthsTolerance != e.flexMonthsToleranceDefault;\n var classes = \"edit-box\";\n if (isBold) classes = classes + \" override\";\n return \"
\" + $ctrl.kendo.toString(e.flexMonthsTolerance, 'n0') + \"
\";\n } else return \"
\" + $ctrl.kendo.toString(e.flexMonthsTolerance, 'n0') + \"
\";\n }\n}","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.promise.finally\";\nDataEntryRatesRateMarkUpController.$inject = [\"$translate\", \"$q\", \"dataEntryService\", \"storageService\", \"userService\", \"dealerCountries\", \"$uibModal\", \"$document\", \"cultures\", \"logger\", \"$logFactory\"];\n\n/* injects from baggage-loader */\nrequire('./data-entry-rates-rate-mark-ups.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nangular.module('AaApp.Opp').component('dataEntryRatesRateMarkUp', {\n templateUrl: '/app/components/data-entry/data-entry-rates-rate-mark-ups.component.html',\n controller: DataEntryRatesRateMarkUpController,\n bindings: {\n kendo: '<',\n dealerId: '<',\n onNotifyUnsavedData: '&'\n }\n});\n\nfunction DataEntryRatesRateMarkUpController($translate, $q, dataEntryService, storageService, userService, dealerCountries, $uibModal, $document, cultures, logger, $logFactory) {\n \"ngInject\";\n\n var $ctrl = this;\n var log = $logFactory.get();\n var cultureName = storageService.getItem('cultureName') || 'en-US';\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.onSave = onSave;\n $ctrl.onCancel = onCancel;\n $ctrl.kendoGrid = getKendoGrid;\n $ctrl.busyIndicator = new BusyIndicator(); // For USA\n\n $ctrl.minStdLease = 0;\n $ctrl.maxStdLease = 0.01; //For Others\n\n $ctrl.minStdAprLease = 0;\n $ctrl.maxStdAprLease = 24;\n $ctrl.minStdAprRetail = 0;\n $ctrl.maxStdAprRetail = 20;\n $ctrl.countryId;\n $ctrl.cultureName;\n $ctrl.moneyFactorCheck = false;\n\n function onChanges(changes) {\n if (changes && changes.dealerId) {\n if (changes.dealerId.currentValue) {\n $ctrl.selectedDealerId = changes.dealerId.currentValue;\n getTranslations();\n onDealerSelect();\n }\n }\n }\n\n function init() {\n userService.getUserProfile().then(function (userProfile) {\n $ctrl.countryId = userProfile.countryId;\n $ctrl.cultureName = userProfile.cultureName;\n $ctrl.moneyFactorCheck = $ctrl.countryId == dealerCountries.usa;\n });\n }\n\n function getTranslations() {\n $q.all({\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\n 'saveWarningMessage': $translate('saveWarningMessage'),\n 'validationErrorMessage': $translate('validationErrorMessage'),\n 'bankMake': $translate('bankMake'),\n 'stdLeaseRateMarkUp': $translate('standardLease'),\n 'stdRetailRateMarkUp': $translate('standardRetail'),\n 'specLeaselRateMarkUp': $translate('specialLease'),\n 'cpoRateMarkUp': $translate('cpoRate'),\n 'specRetailRateMarkUp': $translate('specialRetail')\n }).then(function (stuff) {\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\n $ctrl.bankMake = stuff.bankMake;\n $ctrl.stdLeaseRateMarkUp = stuff.stdLeaseRateMarkUp;\n $ctrl.stdRetailRateMarkUp = stuff.stdRetailRateMarkUp;\n $ctrl.specLeaselRateMarkUp = stuff.specLeaselRateMarkUp;\n $ctrl.cpoRateMarkUp = stuff.cpoRateMarkUp;\n $ctrl.specRetailRateMarkUp = stuff.specRetailRateMarkUp;\n initGridOptions();\n });\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(previousValue) {\n return loadRates();\n }\n\n function onSave() {\n if (!isDataValid()) {\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"validationError\";\n },\n message: function message() {\n return $ctrl.validationErrorMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\";\n }\n }\n });\n return;\n }\n\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"readyToProcess\";\n },\n message: function message() {\n return $ctrl.saveConfirmMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\";\n }\n }\n });\n modal.result.then(function () {\n var rows = $ctrl.kendoGrid().dataSource.data();\n var dirtyRows = [];\n rows.forEach(function (row) {\n if (row.dirty) {\n dirtyRows.push({\n stdLeaseRateMarkUp: setLeaseAmount(row.stdLeaseRateMarkUp),\n stdRetailRateMarkUp: setRetailCPOAmount(row.stdRetailRateMarkUp),\n specLeaselRateMarkUp: setLeaseAmount(row.specLeaselRateMarkUp),\n specRetailRateMarkUp: setRetailCPOAmount(row.specRetailRateMarkUp),\n cpoRateMarkUp: setRetailCPOAmount(row.cpoRateMarkUp),\n bankID: row.bankID,\n dealerMakeRegionID: row.dealerMakeRegionID,\n dealerMakeRegion_DealerMakeRegionID: row.dealerMakeRegion_DealerMakeRegionID,\n makeID: row.makeID,\n makeName: row.makeName\n });\n row.dirty = false;\n }\n });\n\n if (dirtyRows.length > 0) {\n return updateDealerRateMarkUps(dirtyRows);\n } else {\n logger.success(\"changesSaved\");\n return $q.resolve();\n }\n }).catch(function () {\n return false;\n });\n }\n\n function setRetailCPOAmount(amount) {\n if (!amount) return 0;else return amount;\n }\n\n function setLeaseAmount(amount) {\n if (!amount) return 0;\n\n if (!$ctrl.moneyFactorCheck && amount) {\n return amount / 2400;\n } else return amount;\n }\n\n function onCancel() {\n $ctrl.kendoGrid().cancelChanges();\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"markUp\",\n value: false\n }\n });\n }\n\n function updateDealerRateMarkUps(rates) {\n return busy(\"Saving Rates\", dataEntryService.updateDealerRateMarkUps(rates).then(function (success) {\n logger.success(\"changesSaved\");\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"markUp\",\n value: false\n }\n });\n return loadRates();\n }).then(function () {}, function (error) {\n log.log(error);\n }));\n }\n\n function isDataValid() {\n if (!$ctrl.kendoGrid()) return true;\n var valid = true;\n var rows = $ctrl.kendoGrid().dataSource.data();\n rows.forEach(function (row) {\n if ($ctrl.moneyFactorCheck) {\n if (row.stdLeaseRateMarkUp && row.stdLeaseRateMarkUp < $ctrl.minStdLease || row.stdLeaseRateMarkUp && row.stdLeaseRateMarkUp > $ctrl.maxStdLease || row.specLeaselRateMarkUp && row.specLeaselRateMarkUp < $ctrl.minStdLease || row.specLeaselRateMarkUp && row.specLeaselRateMarkUp > $ctrl.maxStdLease) valid = false;\n } else {\n if (row.stdLeaseRateMarkUp && row.stdLeaseRateMarkUp < $ctrl.minStdAprLease || row.stdLeaseRateMarkUp && row.stdLeaseRateMarkUp > $ctrl.maxStdAprLease || row.specLeaselRateMarkUp && row.specLeaselRateMarkUp < $ctrl.minStdAprLease || row.specLeaselRateMarkUp && row.specLeaselRateMarkUp > $ctrl.maxStdAprLease) valid = false;\n }\n\n if (row.stdRetailRateMarkUp && row.stdRetailRateMarkUp < $ctrl.minStdAprRetail || row.stdRetailRateMarkUp && row.stdRetailRateMarkUp > $ctrl.maxStdAprRetail || row.specRetailRateMarkUp && row.specRetailRateMarkUp < $ctrl.minStdAprRetail || row.specRetailRateMarkUp && row.specRetailRateMarkUp > $ctrl.maxStdAprRetail || row.cpoRateMarkUp && row.cpoRateMarkUp < $ctrl.minStdAprRetail || row.cpoRateMarkUp && row.cpoRateMarkUp > $ctrl.maxStdAprRetail) valid = false;\n });\n return valid;\n }\n\n function isDataDirty() {\n if (!$ctrl.kendoGrid()) return false;\n var dirty = false;\n var rows = $ctrl.kendoGrid().dataSource.data();\n rows.forEach(function (row) {\n if (row.dirty) dirty = true;\n });\n return dirty;\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n navigatable: true,\n pageable: false,\n height: 330,\n columns: [{\n field: \"bankName\",\n template: bankMakeTemplate,\n sortable: {\n compare: bankMakeSorting\n },\n title: $ctrl.bankMake,\n width: 100\n }, {\n field: \"stdLeaseRateMarkUp\",\n template: stdLeaseRateMarkUpTemplate,\n title: $ctrl.stdLeaseRateMarkUp,\n editor: numericEditor5,\n width: 50,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"stdRetailRateMarkUp\",\n template: stdRetailRateMarkUpTemplate,\n title: $ctrl.stdRetailRateMarkUp,\n width: 50,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"specLeaselRateMarkUp\",\n template: specLeaselRateMarkUpTemplate,\n title: $ctrl.specLeaselRateMarkUp,\n editor: numericEditor5,\n width: 50,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"specRetailRateMarkUp\",\n template: specRetailRateMarkUpTemplate,\n title: $ctrl.specRetailRateMarkUp,\n width: 50,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"cpoRateMarkUp\",\n template: cpoRateMarkUpTemplate,\n title: $ctrl.cpoRateMarkUp,\n width: 50,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }],\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: false,\n reorderable: true,\n filterable: false,\n editable: \"incell\",\n cellClose: function cellClose(e) {\n if (isDataDirty()) {\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"markUp\",\n value: true\n }\n });\n }\n }\n };\n }\n\n function numericEditor5(container, options) {\n $('').appendTo(container).kendoNumericTextBox({\n format: \"n5\",\n decimals: 5\n });\n }\n\n function bankMakeSorting(a, b) {\n if (a.bankName > b.bankName) return 1;else return -1;\n }\n\n function bankMakeTemplate(e) {\n return e.bankName + \" - \" + e.makeName;\n }\n\n function stdLeaseRateMarkUpTemplate(e) {\n if (!e.stdLeaseRateMarkUp) {\n if (e.stdLeaseRateMarkUp == 0) {\n if ($ctrl.moneyFactorCheck) return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n0') + \"
\";else return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n0') + \"%
\";\n } else return \"
\";\n } else {\n if ($ctrl.moneyFactorCheck) {\n if (e.stdLeaseRateMarkUp >= $ctrl.minStdLease && e.stdLeaseRateMarkUp <= $ctrl.maxStdLease) return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n5') + \"
\";else return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n5') + \"
\";\n } else {\n if (e.stdLeaseRateMarkUp >= $ctrl.minStdAprLease && e.stdLeaseRateMarkUp <= $ctrl.maxStdAprLease) return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.stdLeaseRateMarkUp, 'n2') + \"%
\";\n }\n }\n }\n\n function stdRetailRateMarkUpTemplate(e) {\n if (!e.stdRetailRateMarkUp) {\n if (e.stdRetailRateMarkUp == 0) return \"
\" + $ctrl.kendo.toString(e.stdRetailRateMarkUp, 'n0') + \"%
\";else return \"
\";\n } else {\n if (e.stdRetailRateMarkUp >= $ctrl.minStdAprRetail && e.stdRetailRateMarkUp <= $ctrl.maxStdAprRetail) return \"
\" + $ctrl.kendo.toString(e.stdRetailRateMarkUp, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.stdRetailRateMarkUp, 'n2') + \"%
\";\n }\n }\n\n function specLeaselRateMarkUpTemplate(e) {\n if (!e.specLeaselRateMarkUp) {\n if (e.specLeaselRateMarkUp == 0) {\n if ($ctrl.moneyFactorCheck) return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n0') + \"
\";else return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n0') + \"%
\";\n } else return \"
\";\n } else {\n if ($ctrl.moneyFactorCheck) {\n if (e.specLeaselRateMarkUp >= $ctrl.minStdLease && e.specLeaselRateMarkUp <= $ctrl.maxStdLease) return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n5') + \"
\";else return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n5') + \"
\";\n } else {\n if (e.specLeaselRateMarkUp >= $ctrl.minStdAprLease && e.specLeaselRateMarkUp <= $ctrl.maxStdAprLease) return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.specLeaselRateMarkUp, 'n2') + \"%
\";\n }\n }\n }\n\n function specRetailRateMarkUpTemplate(e) {\n if (!e.specRetailRateMarkUp) {\n if (e.specRetailRateMarkUp == 0) return \"
\" + $ctrl.kendo.toString(e.specRetailRateMarkUp, 'n0') + \"%
\";else return \"
\";\n } else {\n if (e.specRetailRateMarkUp >= $ctrl.minStdAprRetail && e.specRetailRateMarkUp <= $ctrl.maxStdAprRetail) return \"
\" + $ctrl.kendo.toString(e.specRetailRateMarkUp, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.specRetailRateMarkUp, 'n2') + \"%
\";\n }\n }\n\n function cpoRateMarkUpTemplate(e) {\n if (!e.cpoRateMarkUp) {\n if (e.cpoRateMarkUp == 0) return \"
\" + $ctrl.kendo.toString(e.cpoRateMarkUp, 'n0') + \"%
\";else return \"
\";\n } else {\n if (e.cpoRateMarkUp >= $ctrl.minStdAprRetail && e.cpoRateMarkUp <= $ctrl.maxStdAprRetail) return \"
\" + $ctrl.kendo.toString(e.cpoRateMarkUp, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.cpoRateMarkUp, 'n2') + \"%
\";\n }\n }\n\n function processData(data) {\n if (!$ctrl.moneyFactorCheck) {\n data.forEach(function (item, index, arr) {\n if (item.specLeaselRateMarkUp) arr[index].specLeaselRateMarkUp = item.specLeaselRateMarkUp * 2400;\n if (item.stdLeaseRateMarkUp) arr[index].stdLeaseRateMarkUp = item.stdLeaseRateMarkUp * 2400;\n });\n }\n\n return data;\n }\n\n function loadRates() {\n return busy(\"Loading Rates\", dataEntryService.getRateMarkUps($ctrl.selectedDealerId).then(function (data) {\n var markupData = processData(data);\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: markupData,\n schema: {\n model: {\n fields: {\n bankMake: {\n type: \"string\",\n editable: false\n },\n stdLeaseRateMarkUp: {\n type: \"number\",\n editable: true\n },\n stdRetailRateMarkUp: {\n type: \"number\",\n editable: true\n },\n specLeaselRateMarkUp: {\n type: \"number\",\n editable: true\n },\n specRetailRateMarkUp: {\n type: \"number\",\n editable: true\n },\n cpoRateMarkUp: {\n type: \"number\",\n editable: true\n },\n bankID: {\n type: \"string\",\n editable: false\n },\n dealerMakeRegionID: {\n type: \"string\",\n editable: false\n },\n dealerMakeRegion_DealerMakeRegionID: {\n type: \"string\",\n editable: false\n },\n makeID: {\n type: \"string\",\n editable: false\n },\n makeName: {\n type: \"string\",\n editable: false\n }\n }\n }\n },\n batch: true,\n pageSize: 50\n });\n\n switch (cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.esUS:\n $ctrl.kendo.culture(cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date(); //$ctrl.kendoGrid = $(\"#gridDataEntryRateMarkUps\").data(\"kendoGrid\");\n }));\n }\n\n function getKendoGrid() {\n return $(\"#gridDataEntryRateMarkUps\").data(\"kendoGrid\");\n }\n}","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.promise.finally\";\nDataEntryRatesOverAllowanceController.$inject = [\"$translate\", \"$q\", \"dataEntryService\", \"storageService\", \"$uibModal\", \"$document\", \"cultures\", \"logger\", \"$logFactory\"];\n\n/* injects from baggage-loader */\nrequire('./data-entry-rates-over-allowance.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nangular.module('AaApp.Opp').component('dataEntryRatesOverAllowance', {\n templateUrl: '/app/components/data-entry/data-entry-rates-over-allowance.component.html',\n controller: DataEntryRatesOverAllowanceController,\n bindings: {\n kendo: '<',\n dealerId: '<',\n onNotifyUnsavedData: '&'\n }\n});\n\nfunction DataEntryRatesOverAllowanceController($translate, $q, dataEntryService, storageService, $uibModal, $document, cultures, logger, $logFactory) {\n \"ngInject\";\n\n var $ctrl = this;\n var log = $logFactory.get();\n var cultureName = storageService.getItem('cultureName') || 'en-US';\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.trimSelections;\n $ctrl.onSave = onSave;\n $ctrl.onCancel = onCancel;\n $ctrl.kendoGrid = getKendoGrid;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.min = 80;\n $ctrl.max = 200;\n\n function onChanges(changes) {\n if (changes && changes.dealerId) {\n if (changes.dealerId.currentValue) {\n $ctrl.selectedDealerId = changes.dealerId.currentValue;\n getTranslations();\n onDealerSelect();\n }\n }\n }\n\n function init() {}\n\n function getTranslations() {\n $q.all({\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\n 'saveWarningMessage': $translate('saveWarningMessage'),\n 'validationErrorMessage': $translate('validationErrorMessage'),\n 'lease': $translate('lease'),\n 'retail': $translate('retail'),\n 'balloon': $translate('balloon'),\n 'expireOn': $translate('expireOn'),\n 'tier': $translate('tier'),\n 'bankMake': $translate('bankMake')\n }).then(function (stuff) {\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\n $ctrl.lease = stuff.lease;\n $ctrl.retail = stuff.retail;\n $ctrl.balloon = stuff.balloon;\n $ctrl.expireOn = stuff.expireOn;\n $ctrl.tier = stuff.tier;\n $ctrl.bankMake = stuff.bankMake;\n initGridOptions();\n });\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(previousValue) {\n return loadOverAllowance();\n }\n\n function onSave() {\n if (!isDataValid()) {\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"validationError\";\n },\n message: function message() {\n return $ctrl.validationErrorMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\";\n }\n }\n });\n return;\n }\n\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"readyToProcess\";\n },\n message: function message() {\n return $ctrl.saveConfirmMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\";\n }\n }\n });\n modal.result.then(function () {\n var rows = $ctrl.kendoGrid().dataSource.data();\n var dirtyRows = [];\n rows.forEach(function (row) {\n if (row.dirty) {\n dirtyRows.push({\n id: row.id,\n tier: row.tier,\n bankId: row.bankId,\n bankName: row.bankName,\n leaseAllowance: Math.round(row.lease),\n isLeaseAllowanceChanged: row.dirtyFields.lease == true,\n retailAllowance: Math.round(row.retail),\n isRetailAllowanceChanged: row.dirtyFields.retail == true,\n balloonAllowance: Math.round(row.balloon),\n isBalloonAllowanceChanged: row.dirtyFields.balloon == true,\n makeID: row.makeID,\n makeName: row.makeName\n });\n row.dirty = false;\n }\n });\n\n if (dirtyRows.length > 0) {\n return updateDealerOverAllowance(dirtyRows);\n } else {\n logger.success(\"changesSaved\");\n return $q.resolve();\n }\n }).catch(function () {\n return false;\n });\n }\n\n function onCancel() {\n $ctrl.kendoGrid().cancelChanges();\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"overAllowance\",\n value: false\n }\n });\n }\n\n function updateDealerOverAllowance(overAllowance) {\n return busy(\"Saving\", dataEntryService.updateDealerOverAllowance(overAllowance).then(function (success) {\n logger.success(\"changesSaved\");\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"overAllowance\",\n value: false\n }\n });\n return loadOverAllowance();\n }).then(function () {}, function (error) {\n log.log(error);\n }));\n }\n\n function isDataValid() {\n if (!$ctrl.kendoGrid()) return true;\n var valid = true;\n var rows = $ctrl.kendoGrid().dataSource.data();\n rows.forEach(function (row) {\n if (row.lease && row.lease < $ctrl.min || row.lease && row.lease > $ctrl.max || row.retail && row.retail < $ctrl.min || row.retail && row.retail > $ctrl.max || row.balloon && row.balloon < $ctrl.min || row.balloon && row.balloon > $ctrl.max) valid = false;\n });\n return valid;\n }\n\n function isDataDirty() {\n if (!$ctrl.kendoGrid()) return false;\n var dirty = false;\n var rows = $ctrl.kendoGrid().dataSource.data();\n rows.forEach(function (row) {\n if (row.dirty) dirty = true;\n });\n return dirty;\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n navigatable: true,\n pageable: false,\n height: 330,\n columns: [{\n field: \"bankName\",\n template: BankMakeTemplate,\n title: $ctrl.bankMake,\n width: 100,\n sortable: {\n compare: bankMakeSorting\n },\n editable: false\n }, {\n field: \"tier\",\n title: $ctrl.tier,\n width: 10,\n sortable: true\n }, {\n field: \"lease\",\n template: LeaseTemplate,\n title: $ctrl.lease,\n editor: allowanceEditor,\n width: 50,\n sortable: true,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"retail\",\n template: RetailTemplate,\n title: $ctrl.retail,\n editor: allowanceEditor,\n width: 50,\n sortable: true,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"balloon\",\n template: BalloonTemplate,\n title: $ctrl.balloon,\n editor: allowanceEditor,\n width: 50,\n sortable: true,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }],\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: false,\n reorderable: true,\n filterable: false,\n editable: \"incell\",\n cellClose: function cellClose(e) {\n if (isDataDirty()) {\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"overAllowance\",\n value: true\n }\n });\n }\n }\n };\n }\n\n function allowanceEditor(container, options) {\n $('').appendTo(container).kendoNumericTextBox({\n decimals: 0,\n min: $ctrl.min,\n max: $ctrl.max,\n restrictDecimals: true,\n format: \"n0\"\n });\n }\n\n function bankMakeSorting(a, b) {\n if (a.bankName > b.bankName) return 1;else return -1;\n }\n\n function LeaseTemplate(e) {\n if (!e.lease) {\n if (!e.initLeaseSet) {\n e.initLeaseSet = true;\n e.lease = e.leaseAllowance != null ? e.leaseAllowance : e.leaseAllowanceBankDefault;\n } else e.lease = e.leaseAllowanceBankDefault;\n }\n\n var isBold = e.lease != e.leaseAllowanceBankDefault;\n\n if (e.lease >= $ctrl.min && e.lease <= $ctrl.max) {\n if (isBold) return \"
\" + $ctrl.kendo.toString(e.lease, 'n0') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.lease, 'n0') + \"%
\";\n } else return \"
\" + $ctrl.kendo.toString(e.lease, 'n0') + \"%
\";\n }\n\n function RetailTemplate(e) {\n if (!e.retail) {\n if (!e.initRetailSet) {\n e.initRetailSet = true;\n e.retail = e.retailAllowance != null ? e.retailAllowance : e.retailAllowanceBankDefault;\n } else e.retail = e.retailAllowanceBankDefault;\n }\n\n var isBold = e.retail != e.retailAllowanceBankDefault;\n if (e.retail >= $ctrl.min && e.retail <= $ctrl.max) {\n if (isBold) return \"
\" + $ctrl.kendo.toString(e.retail, 'n0') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.retail, 'n0') + \"%
\";\n } else return \"
\" + $ctrl.kendo.toString(e.retail, 'n0') + \"%
\";\n }\n\n function BalloonTemplate(e) {\n if (!e.balloon) {\n if (!e.initBalloonSet) {\n e.initBalloonSet = true;\n e.balloon = e.balloonAllowance != null ? e.balloonAllowance : e.balloonAllowanceBankDefault;\n } else e.balloon = e.balloonAllowanceBankDefault;\n }\n\n var isBold = e.balloon != e.balloonAllowanceBankDefault;\n if (e.balloon >= $ctrl.min && e.balloon <= $ctrl.max) {\n if (isBold) return \"
\" + $ctrl.kendo.toString(e.balloon, 'n0') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.balloon, 'n0') + \"%
\";\n } else return \"
\" + $ctrl.kendo.toString(e.balloon, 'n0') + \"%
\";\n }\n\n function BankMakeTemplate(e) {\n return e.bankName + \" - \" + e.makeName;\n }\n\n function processData(overAllowanceData) {\n var temp = [];\n\n if (overAllowanceData.length > 0) {\n overAllowanceData.forEach(function (item) {\n temp.push({\n \"tier\": \"T1+\",\n \"id\": item.id,\n \"bankId\": item.bankId,\n \"bankName\": item.bankName,\n \"makeId\": item.makeId,\n \"makeName\": item.makeName,\n \"retailAllowance\": item.t1pRetailAllowance,\n \"leaseAllowance\": item.t1pLeaseAllowance,\n \"balloonAllowance\": item.t1pBalloonAllowance,\n \"retailAllowanceBankDefault\": item.t1pRetailAllowanceBankDefault,\n \"leaseAllowanceBankDefault\": item.t1pLeaseAllowanceBankDefault,\n \"balloonAllowanceBankDefault\": item.t1pBalloonAllowanceBankDefault\n });\n temp.push({\n \"tier\": \"T1\",\n \"id\": item.id,\n \"bankId\": item.bankId,\n \"bankName\": item.bankName,\n \"makeId\": item.makeId,\n \"makeName\": item.makeName,\n \"retailAllowance\": item.t1RetailAllowance,\n \"leaseAllowance\": item.t1LeaseAllowance,\n \"balloonAllowance\": item.t1BalloonAllowance,\n \"retailAllowanceBankDefault\": item.t1RetailAllowanceBankDefault,\n \"leaseAllowanceBankDefault\": item.t1LeaseAllowanceBankDefault,\n \"balloonAllowanceBankDefault\": item.t1BalloonAllowanceBankDefault\n });\n temp.push({\n \"tier\": \"T2\",\n \"id\": item.id,\n \"bankId\": item.bankId,\n \"bankName\": item.bankName,\n \"makeId\": item.makeId,\n \"makeName\": item.makeName,\n \"retailAllowance\": item.t2RetailAllowance,\n \"leaseAllowance\": item.t2LeaseAllowance,\n \"balloonAllowance\": item.t2BalloonAllowance,\n \"retailAllowanceBankDefault\": item.t2RetailAllowanceBankDefault,\n \"leaseAllowanceBankDefault\": item.t2LeaseAllowanceBankDefault,\n \"balloonAllowanceBankDefault\": item.t2BalloonAllowanceBankDefault\n });\n });\n }\n\n return temp;\n }\n\n function loadOverAllowance() {\n return busy(\"Loading\", dataEntryService.getDealerOverAllowances($ctrl.selectedDealerId).then(function (data) {\n var overAllowanceData = processData(data);\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: overAllowanceData,\n schema: {\n model: {\n fields: {\n id: {\n type: \"string\",\n editable: false\n },\n bankName: {\n type: \"string\",\n editable: false\n },\n tier: {\n type: \"string\",\n editable: false\n },\n lease: {\n type: \"number\",\n editable: true\n },\n retail: {\n type: \"number\",\n editable: true\n },\n balloon: {\n type: \"number\",\n editable: true\n },\n bankID: {\n type: \"string\",\n editable: false\n },\n makeID: {\n type: \"string\",\n editable: false\n },\n makeName: {\n type: \"string\",\n editable: false\n }\n }\n }\n },\n batch: true,\n pageSize: 50\n });\n\n switch (cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.esUS:\n $ctrl.kendo.culture(cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date(); //$ctrl.kendoGrid = $(\"#gridDataEntryOverAllowance\").data(\"kendoGrid\");\n }));\n }\n\n function getKendoGrid() {\n return $(\"#gridDataEntryOverAllowance\").data(\"kendoGrid\");\n }\n}","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es7.promise.finally\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.regexp.replace\";\nDataEntryRatesUsedRatesController.$inject = [\"$translate\", \"$q\", \"dealerService\", \"dataEntryService\", \"storageService\", \"$uibModal\", \"$document\", \"cultures\", \"logger\", \"$logFactory\"];\n\n/* injects from baggage-loader */\nrequire('./data-entry-rates-used-rates.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nangular.module('AaApp.Opp').component('dataEntryRatesUsedRates', {\n templateUrl: '/app/components/data-entry/data-entry-rates-used-rates.component.html',\n controller: DataEntryRatesUsedRatesController,\n bindings: {\n kendo: '<',\n dealerId: '<',\n onNotifyUnsavedData: '&'\n }\n});\n\nfunction DataEntryRatesUsedRatesController($translate, $q, dealerService, dataEntryService, storageService, $uibModal, $document, cultures, logger, $logFactory) {\n \"ngInject\";\n\n var $ctrl = this;\n var log = $logFactory.get();\n var cultureName = storageService.getItem('cultureName') || 'en-US';\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.trimSelections;\n $ctrl.onSave = onSave;\n $ctrl.onCancel = onCancel;\n $ctrl.kendoGrid = getKendoGrid;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.showQuickAction = false;\n $ctrl.onShowQuickAction = onShowQuickAction;\n $ctrl.onHideQuickAction = onHideQuickAction;\n $ctrl.onPerform = onPerform;\n $ctrl.onClear = onClear;\n $ctrl.quickActionToTermChange = quickActionToTermChange;\n $ctrl.quickActionToYearChange = quickActionToYearChange;\n $ctrl.min = 0;\n $ctrl.max = 24;\n $ctrl.enableDealerUsedRates = false;\n\n function onChanges(changes) {\n if (changes && changes.dealerId) {\n if (changes.dealerId.currentValue) {\n $ctrl.selectedDealerId = changes.dealerId.currentValue;\n dealerService.getDealerSettings($ctrl.selectedDealerId).then(function (settings) {\n $ctrl.enableDealerUsedRates = settings.enableDealerUsedRates;\n getTranslations();\n onDealerSelect();\n });\n }\n }\n }\n\n function init() {\n $ctrl.fromTerm = [24, 30, 36, 42, 48, 54, 60, 66, 72, 84];\n $ctrl.toTerm = [24, 30, 36, 42, 48, 54, 60, 66, 72, 84];\n $ctrl.quickActionFromTerm = 24;\n $ctrl.quickActionToTerm = 84;\n var yearList = [];\n var startYear = new Date().getUTCFullYear();\n var endYear = startYear - 9;\n\n for (var y = endYear; y <= startYear; y++) {\n yearList.push(y);\n }\n\n yearList.reverse();\n $ctrl.fromYear = yearList;\n $ctrl.toYear = yearList;\n $ctrl.quickActionFromYear = startYear;\n $ctrl.quickActionToYear = endYear;\n }\n\n function quickActionToYearChange() {\n $ctrl.fromYear = $ctrl.toYear.filter(function (item) {\n return item >= $ctrl.quickActionToYear;\n });\n }\n\n function quickActionToTermChange() {\n $ctrl.fromTerm = $ctrl.toTerm.filter(function (item) {\n return item <= $ctrl.quickActionToTerm;\n });\n }\n\n function onPerform() {\n if ($ctrl.rateAmount2 == null) return;\n var amount = $ctrl.rateAmount2.replace(\",\", \".\");\n amount = parseFloat(amount);\n if (isNaN(amount)) return;\n $ctrl.rateAmount = amount;\n\n if (typeof $ctrl.rateAmount !== 'undefined' && $ctrl.rateAmount > -1) {\n var rows = $ctrl.kendoGrid().dataSource.data();\n\n for (var i = $ctrl.quickActionToYear; i <= $ctrl.quickActionFromYear; i++) {\n rows.forEach(function (row) {\n if (i == row.year) {\n for (var t = $ctrl.quickActionFromTerm; t <= $ctrl.quickActionToTerm; t++) {\n if (t == 24) {\n row.rate24 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate24 = true;else row.dirtyFields = {\n \"rate24\": true\n };\n }\n\n if (t == 30) {\n row.rate30 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate30 = true;else row.dirtyFields = {\n \"rate30\": true\n };\n }\n\n if (t == 36) {\n row.rate36 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate36 = true;else row.dirtyFields = {\n \"rate36\": true\n };\n }\n\n if (t == 42) {\n row.rate42 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate42 = true;else row.dirtyFields = {\n \"rate42\": true\n };\n }\n\n if (t == 48) {\n row.rate48 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate48 = true;else row.dirtyFields = {\n \"rate48\": true\n };\n }\n\n if (t == 54) {\n row.rate54 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate54 = true;else row.dirtyFields = {\n \"rate54\": true\n };\n }\n\n if (t == 60) {\n row.rate60 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate60 = true;else row.dirtyFields = {\n \"rate60\": true\n };\n }\n\n if (t == 66) {\n row.rate66 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate66 = true;else row.dirtyFields = {\n \"rate66\": true\n };\n }\n\n if (t == 72) {\n row.rate72 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate72 = true;else row.dirtyFields = {\n \"rate72\": true\n };\n }\n\n if (t == 84) {\n row.rate84 = $ctrl.rateAmount;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate84 = true;else row.dirtyFields = {\n \"rate84\": true\n };\n }\n }\n }\n });\n }\n\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"usedRates\",\n value: true\n }\n });\n $ctrl.kendoGrid().refresh();\n }\n }\n\n function onClear() {\n var rows = $ctrl.kendoGrid().dataSource.data();\n rows.forEach(function (row) {\n if (row.rate24 || row.rate24 == 0) {\n row.rate24 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate24 = true;else row.dirtyFields = {\n \"rate24\": true\n };\n }\n\n if (row.rate30 || row.rate30 == 0) {\n row.rate30 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate30 = true;else row.dirtyFields = {\n \"rate30\": true\n };\n }\n\n if (row.rate36 || row.rate36 == 0) {\n row.rate36 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate36 = true;else row.dirtyFields = {\n \"rate36\": true\n };\n }\n\n if (row.rate42 || row.rate42 == 0) {\n row.rate42 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate42 = true;else row.dirtyFields = {\n \"rate42\": true\n };\n }\n\n if (row.rate48 || row.rate48 == 0) {\n row.rate48 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate48 = true;else row.dirtyFields = {\n \"rate48\": true\n };\n }\n\n if (row.rate54 || row.rate54 == 0) {\n row.rate54 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate54 = true;else row.dirtyFields = {\n \"rate54\": true\n };\n }\n\n if (row.rate60 || row.rate60 == 0) {\n row.rate60 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate60 = true;else row.dirtyFields = {\n \"rate60\": true\n };\n }\n\n if (row.rate66 || row.rate66 == 0) {\n row.rate66 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate66 = true;else row.dirtyFields = {\n \"rate66\": true\n };\n }\n\n if (row.rate72 || row.rate72 == 0) {\n row.rate72 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate72 = true;else row.dirtyFields = {\n \"rate72\": true\n };\n }\n\n if (row.rate84 || row.rate84 == 0) {\n row.rate84 = null;\n row.dirty = true;\n if (row.dirtyFields) row.dirtyFields.rate84 = true;else row.dirtyFields = {\n \"rate84\": true\n };\n }\n });\n $ctrl.kendoGrid().refresh();\n }\n\n function onShowQuickAction() {\n if (!$ctrl.enableDealerUsedRates) {\n gridLockedMessage();\n return;\n }\n\n $ctrl.showQuickAction = true;\n }\n\n function onHideQuickAction() {\n $ctrl.showQuickAction = false;\n }\n\n function getTranslations() {\n $q.all({\n 'saveConfirmMessage': $translate('saveConfirmMessage'),\n 'saveWarningMessage': $translate('saveWarningMessage'),\n 'validationErrorMessage': $translate('validationErrorMessage'),\n 'lease': $translate('lease'),\n 'retail': $translate('retail'),\n 'balloon': $translate('balloon'),\n 'expireOn': $translate('expireOn'),\n 'year': $translate('year'),\n 'trim': $translate('trim'),\n 'termMonths': $translate('termMonths')\n }).then(function (stuff) {\n $ctrl.saveConfirmMessage = stuff.saveConfirmMessage;\n $ctrl.saveWarningMessage = stuff.saveWarningMessage;\n $ctrl.validationErrorMessage = stuff.validationErrorMessage;\n $ctrl.lease = stuff.lease;\n $ctrl.retail = stuff.retail;\n $ctrl.balloon = stuff.balloon;\n $ctrl.expireOn = stuff.expireOn;\n $ctrl.trim = stuff.trim;\n $ctrl.year = stuff.year;\n $ctrl.termMonths = stuff.termMonths;\n initGridOptions();\n });\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(previousValue) {\n return loadUsedRates();\n }\n\n function gridLockedMessage() {\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return 'usedRatesTitle';\n },\n message: function message() {\n return 'userRatesDealerSettingNotEnabledMessage';\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\";\n }\n }\n });\n }\n\n function onSave() {\n if (!$ctrl.enableDealerUsedRates) {\n gridLockedMessage();\n return;\n }\n\n if (!isDataValid()) {\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"validationError\";\n },\n message: function message() {\n return $ctrl.validationErrorMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\";\n }\n }\n });\n return;\n }\n\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"readyToProcess\";\n },\n message: function message() {\n return $ctrl.saveConfirmMessage;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\";\n }\n }\n });\n modal.result.then(function () {\n var rows = $ctrl.kendoGrid().dataSource.data();\n var dirtyRows = [];\n var isChanged = false;\n rows.forEach(function (row) {\n if (row.dirty) isChanged = true;\n });\n\n if (isChanged) {\n rows.forEach(function (row) {\n var year = row.year;\n if (row.rate24 && row.rate24 > 0) dirtyRows.push({\n yearId: year,\n termId: 24,\n rate: row.rate24,\n dealerId: $ctrl.selectedDealerId\n });\n if (row.rate30 && row.rate30 > 0) dirtyRows.push({\n yearId: year,\n termId: 30,\n rate: row.rate30,\n dealerId: $ctrl.selectedDealerId\n });\n if (row.rate36 && row.rate36 > 0) dirtyRows.push({\n yearId: year,\n termId: 36,\n rate: row.rate36,\n dealerId: $ctrl.selectedDealerId\n });\n if (row.rate42 && row.rate42 > 0) dirtyRows.push({\n yearId: year,\n termId: 42,\n rate: row.rate42,\n dealerId: $ctrl.selectedDealerId\n });\n if (row.rate48 && row.rate48 > 0) dirtyRows.push({\n yearId: year,\n termId: 48,\n rate: row.rate48,\n dealerId: $ctrl.selectedDealerId\n });\n if (row.rate54 && row.rate54 > 0) dirtyRows.push({\n yearId: year,\n termId: 54,\n rate: row.rate54,\n dealerId: $ctrl.selectedDealerId\n });\n if (row.rate60 && row.rate60 > 0) dirtyRows.push({\n yearId: year,\n termId: 60,\n rate: row.rate60,\n dealerId: $ctrl.selectedDealerId\n });\n if (row.rate66 && row.rate66 > 0) dirtyRows.push({\n yearId: year,\n termId: 66,\n rate: row.rate66,\n dealerId: $ctrl.selectedDealerId\n });\n if (row.rate72 && row.rate72 > 0) dirtyRows.push({\n yearId: year,\n termId: 72,\n rate: row.rate72,\n dealerId: $ctrl.selectedDealerId\n });\n if (row.rate84 && row.rate84 > 0) dirtyRows.push({\n yearId: year,\n termId: 84,\n rate: row.rate84,\n dealerId: $ctrl.selectedDealerId\n });\n row.dirty = false;\n });\n\n if (dirtyRows.length > 0) {\n return updateDealerUsedRates(dirtyRows);\n } else {\n return deleteAllUsedRatesByDealerId();\n }\n } else {\n logger.success(\"changesSaved\");\n return $q.resolve();\n }\n }).catch(function () {\n return false;\n });\n }\n\n function onCancel() {\n $ctrl.kendoGrid().cancelChanges();\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"usedRates\",\n value: false\n }\n });\n }\n\n function deleteAllUsedRatesByDealerId() {\n return busy(\"Saving\", dataEntryService.deleteAllUsedRatesByDealerId($ctrl.selectedDealerId).then(function (success) {\n logger.success(\"changesSaved\");\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"usedRates\",\n value: false\n }\n });\n return loadUsedRates();\n }).then(function () {}, function (error) {\n log.log(error);\n }));\n }\n\n function updateDealerUsedRates(usedRates) {\n return busy(\"Saving\", dataEntryService.updateDealerUsedRates(usedRates).then(function (success) {\n logger.success(\"changesSaved\");\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"usedRates\",\n value: false\n }\n });\n return loadUsedRates();\n }).then(function () {}, function (error) {\n log.log(error);\n }));\n }\n\n function isDataValid() {\n if (!$ctrl.kendoGrid()) return true;\n var valid = true;\n var rows = $ctrl.kendoGrid().dataSource.data();\n rows.forEach(function (row) {\n if (row.rate24 && row.rate24 < $ctrl.min || row.rate24 && row.rate24 > $ctrl.max || row.rate30 && row.rate30 < $ctrl.min || row.rate30 && row.rate30 > $ctrl.max || row.rate36 && row.rate36 < $ctrl.min || row.rate36 && row.rate36 > $ctrl.max || row.rate42 && row.rate42 < $ctrl.min || row.rate42 && row.rate42 > $ctrl.max || row.rate48 && row.rate48 < $ctrl.min || row.rate48 && row.rate48 > $ctrl.max || row.rate54 && row.rate54 < $ctrl.min || row.rate54 && row.rate54 > $ctrl.max || row.rate60 && row.rate60 < $ctrl.min || row.rate60 && row.rate60 > $ctrl.max || row.rate66 && row.rate66 < $ctrl.min || row.rate66 && row.rate66 > $ctrl.max || row.rate72 && row.rate72 < $ctrl.min || row.rate72 && row.rate72 > $ctrl.max || row.rate84 && row.rate84 < $ctrl.min || row.rate84 && row.rate84 > $ctrl.max) valid = false;\n });\n return valid;\n }\n\n function isDataDirty() {\n if (!$ctrl.kendoGrid()) return false;\n var dirty = false;\n var rows = $ctrl.kendoGrid().dataSource.data();\n rows.forEach(function (row) {\n if (row.dirty) dirty = true;\n });\n return dirty;\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n navigatable: true,\n pageable: false,\n height: 370,\n columns: [{\n field: \"year\",\n title: $ctrl.year,\n width: 100,\n sortable: false\n }, {\n title: $ctrl.termMonths,\n headerAttributes: {\n style: \"text-align: center;\"\n },\n columns: [{\n field: \"rate24\",\n template: rate24Template,\n title: \"24\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"rate30\",\n template: rate30Template,\n title: \"30\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"rate36\",\n template: rate36Template,\n title: \"36\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"rate42\",\n template: rate42Template,\n title: \"42\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"rate48\",\n template: rate48Template,\n title: \"48\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"rate54\",\n template: rate54Template,\n title: \"54\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"rate60\",\n template: rate60Template,\n title: \"60\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"rate66\",\n template: rate66Template,\n title: \"66\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"rate72\",\n template: rate72Template,\n title: \"72\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"rate84\",\n template: rate84Template,\n title: \"84\",\n width: 20,\n sortable: false,\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }]\n }],\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: false,\n reorderable: true,\n filterable: false,\n editable: \"incell\",\n cellClose: function cellClose(e) {\n if (isDataDirty()) {\n $ctrl.onNotifyUnsavedData({\n result: {\n tab: \"usedRates\",\n value: true\n }\n });\n }\n },\n navigate: function navigate(e) {\n if (!$ctrl.enableDealerUsedRates) gridLockedMessage();\n }\n };\n }\n\n function rate24Template(e) {\n if (!e.rate24 && e.rate24 != 0) return \"
\";else {\n if (e.rate24 >= $ctrl.min && e.rate24 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate24, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate24, 'n2') + \"%
\";\n }\n }\n\n function rate30Template(e) {\n if (!e.rate30 && e.rate30 != 0) return \"
\";else {\n if (e.rate30 >= $ctrl.min && e.rate30 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate30, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate30, 'n2') + \"%
\";\n }\n }\n\n function rate36Template(e) {\n if (!e.rate36 && e.rate36 != 0) return \"
\";else {\n if (e.rate36 >= $ctrl.min && e.rate36 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate36, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate36, 'n2') + \"%
\";\n }\n }\n\n function rate42Template(e) {\n if (!e.rate42 && e.rate42 != 0) return \"
\";else {\n if (e.rate42 >= $ctrl.min && e.rate42 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate42, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate42, 'n2') + \"%
\";\n }\n }\n\n function rate48Template(e) {\n if (!e.rate48 && e.rate48 != 0) return \"
\";else {\n if (e.rate48 >= $ctrl.min && e.rate48 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate48, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate48, 'n2') + \"%
\";\n }\n }\n\n function rate54Template(e) {\n if (!e.rate54 && e.rate54 != 0) return \"
\";else {\n if (e.rate54 >= $ctrl.min && e.rate54 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate54, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate54, 'n2') + \"%
\";\n }\n }\n\n function rate60Template(e) {\n if (!e.rate60 && e.rate60 != 0) return \"
\";else {\n if (e.rate60 >= $ctrl.min && e.rate60 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate60, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate60, 'n2') + \"%
\";\n }\n }\n\n function rate66Template(e) {\n if (!e.rate66 && e.rate66 != 0) return \"
\";else {\n if (e.rate66 >= $ctrl.min && e.rate66 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate66, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate66, 'n2') + \"%
\";\n }\n }\n\n function rate72Template(e) {\n if (!e.rate72 && e.rate72 != 0) return \"
\";else {\n if (e.rate72 >= $ctrl.min && e.rate72 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate72, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate72, 'n2') + \"%
\";\n }\n }\n\n function rate84Template(e) {\n if (!e.rate84 && e.rate84 != 0) return \"
\";else {\n if (e.rate84 >= $ctrl.min && e.rate84 <= $ctrl.max) return \"
\" + $ctrl.kendo.toString(e.rate84, 'n2') + \"%
\";else return \"
\" + $ctrl.kendo.toString(e.rate84, 'n2') + \"%
\";\n }\n }\n\n function processData(usedRatesData) {\n var gridData = [];\n var yearList = [];\n var temp = usedRatesData;\n var d = new Date();\n var startYear = d.getUTCFullYear();\n var endYear = startYear - 10;\n\n for (var y = startYear; y > endYear; y--) {\n yearList.push(y);\n }\n\n yearList.forEach(function (ele2) {\n var rate24 = temp.filter(function (t) {\n return t.termID == 24 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 24 && t.yearID == ele2;\n })[0].rate : null;\n var rate30 = temp.filter(function (t) {\n return t.termID == 30 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 30 && t.yearID == ele2;\n })[0].rate : null;\n var rate36 = temp.filter(function (t) {\n return t.termID == 36 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 36 && t.yearID == ele2;\n })[0].rate : null;\n var rate42 = temp.filter(function (t) {\n return t.termID == 42 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 42 && t.yearID == ele2;\n })[0].rate : null;\n var rate48 = temp.filter(function (t) {\n return t.termID == 48 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 48 && t.yearID == ele2;\n })[0].rate : null;\n var rate54 = temp.filter(function (t) {\n return t.termID == 54 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 54 && t.yearID == ele2;\n })[0].rate : null;\n var rate60 = temp.filter(function (t) {\n return t.termID == 60 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 60 && t.yearID == ele2;\n })[0].rate : null;\n var rate66 = temp.filter(function (t) {\n return t.termID == 66 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 66 && t.yearID == ele2;\n })[0].rate : null;\n var rate72 = temp.filter(function (t) {\n return t.termID == 72 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 72 && t.yearID == ele2;\n })[0].rate : null;\n var rate84 = temp.filter(function (t) {\n return t.termID == 84 && t.yearID == ele2;\n }).length > 0 ? temp.filter(function (t) {\n return t.termID == 84 && t.yearID == ele2;\n })[0].rate : null;\n gridData.push({\n \"year\": ele2,\n \"rate24\": rate24,\n \"rate30\": rate30,\n \"rate36\": rate36,\n \"rate42\": rate42,\n \"rate48\": rate48,\n \"rate54\": rate54,\n \"rate60\": rate60,\n \"rate66\": rate66,\n \"rate72\": rate72,\n \"rate84\": rate84\n });\n });\n return gridData;\n }\n\n function loadUsedRates() {\n return busy(\"Loading\", dataEntryService.getDealerUsedRates($ctrl.selectedDealerId).then(function (data) {\n var usedRatesData = processData(data);\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: usedRatesData,\n schema: {\n model: {\n fields: {\n year: {\n type: \"string\",\n editable: false\n },\n rate24: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n },\n rate30: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n },\n rate36: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n },\n rate42: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n },\n rate48: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n },\n rate54: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n },\n rate60: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n },\n rate66: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n },\n rate72: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n },\n rate84: {\n type: \"number\",\n editable: $ctrl.enableDealerUsedRates\n }\n }\n }\n },\n batch: true,\n pageSize: 50\n });\n\n switch (cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.esUS:\n $ctrl.kendo.culture(cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n\n $(\"#k-datepicker\").kendoDatePicker.widget.fn.options.min = new Date(); //$ctrl.kendoGrid = $(\"#gridDataEntryUsedRates\").data(\"kendoGrid\");\n }));\n }\n\n function getKendoGrid() {\n return $(\"#gridDataEntryUsedRates\").data(\"kendoGrid\");\n }\n}","import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es7.promise.finally\";\nimport \"core-js/modules/es6.function.name\";\nAdminReportSubscriptionsController.$inject = [\"_\", \"$translate\", \"$q\", \"$filter\", \"dealerService\", \"searchPresetService\", \"pandoSurveyService\", \"storageService\", \"roles\", \"$uibModal\", \"$document\", \"logger\"];\n\n/* injects from baggage-loader */\nrequire('./admin-report-subscriptions.component.html');\n\nimport angular from 'angular';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nimport reportSpecs from '../../constants/reports/report-specifications';\nimport './admin-report-subscriptions.component.scss';\nimport './admin.scss';\nangular.module('AaApp.Opp').component('adminReportSubscriptions', {\n templateUrl: '/app/components/admin/admin-report-subscriptions.component.html',\n controller: AdminReportSubscriptionsController,\n bindings: {}\n});\n\nfunction AdminReportSubscriptionsController(_, $translate, $q, $filter, dealerService, searchPresetService, pandoSurveyService, storageService, roles, $uibModal, $document, logger) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.onSave = onSave;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.pandoGroups = [];\n $ctrl.dealerReportSubscriptions = [];\n $ctrl.reportDealerPandoGroupSubscriptions = null;\n $ctrl.reportSubscriptions = [{\n \"reportName\": \"salesGrossReportSubscriptionTitle\",\n \"reportId\": reportSpecs.salesGrossReport.id.toLowerCase(),\n \"subscriptionGM\": false,\n \"subscriptionSM\": false,\n \"sendToGroupID\": \"-1\",\n \"previousSendToGroupID\": \"-1\",\n \"sendToGroupIDEnabled\": false,\n \"previousSendToGroupIDEnabled\": false,\n \"reportSubscriptionId\": 0,\n \"showError\": false\n }, {\n \"reportName\": \"userActivityReportSubscriptionTitle\",\n \"reportId\": reportSpecs.userActivityReport.id.toLowerCase(),\n \"subscriptionGM\": false,\n \"subscriptionSM\": false,\n \"sendToGroupID\": \"-1\",\n \"previousSendToGroupID\": \"-1\",\n \"sendToGroupIDEnabled\": false,\n \"previousSendToGroupIDEnabled\": false,\n \"reportSubscriptionId\": 0,\n \"showError\": false\n }];\n $ctrl.reportSubscriptionRoles = [{\n \"title\": \"newGeneralManagers\",\n \"reportSubscriptionRoleId\": roles.generalManager\n }, {\n \"title\": \"newSalesManagers\",\n \"reportSubscriptionRoleId\": roles.salesManager\n }];\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n $ctrl.selectedDealerName = $ctrl.dealers[0].name;\n onDealerSelect();\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(value) {\n var dealerSelected = $ctrl.dealers.find(function (ele) {\n return ele.id == $ctrl.selectedDealerId;\n });\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\n $ctrl.selectedDealerName = dealerSelected.name;\n return busy(\"Loading Data\", $q.all([pandoSurveyService.getDealerAutoReportSubscription($ctrl.selectedDealerId), pandoSurveyService.getReportDealerPandoGroupSubscriptions($ctrl.selectedDealerId), searchPresetService.getPandoCustomStoreGroups($ctrl.selectedDealerId)]).then(function (data) {\n $ctrl.dealerReportSubscriptions = _.cloneDeep($ctrl.reportSubscriptions);\n var dealerAutoReportSubscription = data[0];\n $ctrl.reportDealerPandoGroupSubscriptions = data[1];\n $ctrl.pandoGroups = data[2];\n $ctrl.pandoGroups.unshift({\n \"groupId\": \"-1\",\n \"groupMessagingType\": 0,\n \"groupName\": \"(Select Group)\"\n });\n\n if (dealerAutoReportSubscription) {\n dealerAutoReportSubscription.forEach(function (element) {\n $ctrl.dealerReportSubscriptions.forEach(function (ele) {\n if (element.reportID == ele.reportId && element.roleID == roles.generalManager) ele.subscriptionGM = true;\n if (element.reportID == ele.reportId && element.roleID == roles.salesManager) ele.subscriptionSM = true;\n });\n });\n }\n\n if ($ctrl.reportDealerPandoGroupSubscriptions) {\n $ctrl.reportDealerPandoGroupSubscriptions.forEach(function (element) {\n $ctrl.dealerReportSubscriptions.forEach(function (ele) {\n if (element.reportId == ele.reportId) {\n ele.sendToGroupID = element.sendToGroupID;\n ele.previousSendToGroupID = element.sendToGroupID;\n ele.sendToGroupIDEnabled = element.enabled;\n ele.previousSendToGroupIDEnabled = element.enabled;\n ele.reportSubscriptionId = element.reportSubscriptionId;\n }\n });\n });\n }\n }).catch(function () {\n $ctrl.errors = true;\n }));\n }\n\n function onSave() {\n var error = false;\n var promiseArray = [];\n var validationError = false;\n var reportSubscriptions = [];\n var pandoReportSubscriptions = [];\n var saleGrossReportSubscription = {\n \"reportId\": reportSpecs.salesGrossReport.id.toLowerCase(),\n \"dealerID\": $ctrl.selectedDealerId,\n \"makeID\": -1,\n \"type\": 3,\n \"enabled\": false,\n \"deliveryMethodEmail\": false,\n \"deliveryMethodPando\": true,\n \"reportSubscriptionPeriodPoint\": 10,\n \"subject\": \"AutoAlert Sales Gross Report - \" + $ctrl.selectedDealerName,\n \"periodicity\": 3,\n \"code\": \"PM\",\n \"reportSubscriptionId\": 0\n };\n var userActivityReportSubscription = {\n \"reportId\": reportSpecs.userActivityReport.id.toLowerCase(),\n \"dealerID\": $ctrl.selectedDealerId,\n \"makeID\": -1,\n \"type\": 3,\n \"enabled\": false,\n \"deliveryMethodEmail\": false,\n \"deliveryMethodPando\": true,\n \"reportSubscriptionPeriodPoint\": 2,\n \"subject\": \"AutoAlert User Activity Report - \" + $ctrl.selectedDealerName,\n \"periodicity\": 2,\n \"code\": \"PW\",\n \"reportSubscriptionId\": 0\n };\n $ctrl.dealerReportSubscriptions.forEach(function (ele) {\n if (ele.sendToGroupIDEnabled && ele.sendToGroupID == \"-1\") {\n ele.showError = true;\n validationError = true;\n }\n\n if (ele.subscriptionGM) {\n reportSubscriptions.push({\n dealerID: $ctrl.selectedDealerId,\n roleID: roles.generalManager,\n reportID: ele.reportId\n });\n }\n\n if (ele.subscriptionSM) {\n reportSubscriptions.push({\n dealerID: $ctrl.selectedDealerId,\n roleID: roles.salesManager,\n reportID: ele.reportId\n });\n }\n });\n\n if (validationError) {\n logger.warning(\"validationErrorMessage\");\n return false;\n }\n\n if (reportSubscriptions.length > 0) {\n var dataPromise1 = pandoSurveyService.updateDealerAutoReportSubscription(reportSubscriptions);\n promiseArray.push(dataPromise1);\n } else {\n var dataPromise2 = pandoSurveyService.removeDealerAutoReportSubscription($ctrl.selectedDealerId);\n promiseArray.push(dataPromise2);\n }\n\n $ctrl.dealerReportSubscriptions.forEach(function (ele) {\n if (ele.reportId == reportSpecs.salesGrossReport.id.toLowerCase()) {\n if (ele.sendToGroupIDEnabled) {\n if (ele.reportSubscriptionId == 0) {\n saleGrossReportSubscription.enabled = ele.sendToGroupIDEnabled;\n saleGrossReportSubscription.sendToGroupID = ele.sendToGroupID;\n var dataPromise3 = pandoSurveyService.addReportDealerPandoGroupSubscription(saleGrossReportSubscription);\n promiseArray.push(dataPromise3);\n } else {\n saleGrossReportSubscription.enabled = ele.sendToGroupIDEnabled;\n saleGrossReportSubscription.sendToGroupID = ele.sendToGroupID;\n saleGrossReportSubscription.reportSubscriptionId = ele.reportSubscriptionId;\n var dataPromise4 = pandoSurveyService.updateReportDealerPandoGroupSubscription(saleGrossReportSubscription);\n promiseArray.push(dataPromise4);\n }\n } else {\n if (ele.previousSendToGroupIDEnabled) {\n saleGrossReportSubscription.enabled = ele.sendToGroupIDEnabled;\n saleGrossReportSubscription.sendToGroupID = ele.previousSendToGroupID;\n saleGrossReportSubscription.reportSubscriptionId = ele.reportSubscriptionId;\n var dataPromise5 = pandoSurveyService.updateReportDealerPandoGroupSubscription(saleGrossReportSubscription);\n promiseArray.push(dataPromise5);\n }\n }\n } else if (ele.reportId == reportSpecs.userActivityReport.id.toLowerCase()) {\n if (ele.sendToGroupIDEnabled) {\n if (ele.reportSubscriptionId == 0) {\n userActivityReportSubscription.enabled = ele.sendToGroupIDEnabled;\n userActivityReportSubscription.sendToGroupID = ele.sendToGroupID;\n var dataPromise6 = pandoSurveyService.addReportDealerPandoGroupSubscription(userActivityReportSubscription);\n promiseArray.push(dataPromise6);\n } else {\n userActivityReportSubscription.enabled = ele.sendToGroupIDEnabled;\n userActivityReportSubscription.sendToGroupID = ele.sendToGroupID;\n userActivityReportSubscription.reportSubscriptionId = ele.reportSubscriptionId;\n var dataPromise7 = pandoSurveyService.updateReportDealerPandoGroupSubscription(userActivityReportSubscription);\n promiseArray.push(dataPromise7);\n }\n } else {\n if (ele.previousSendToGroupIDEnabled) {\n userActivityReportSubscription.enabled = ele.sendToGroupIDEnabled;\n userActivityReportSubscription.sendToGroupID = ele.previousSendToGroupID;\n userActivityReportSubscription.reportSubscriptionId = ele.reportSubscriptionId;\n var dataPromise8 = pandoSurveyService.updateReportDealerPandoGroupSubscription(userActivityReportSubscription);\n promiseArray.push(dataPromise8);\n }\n }\n }\n });\n $q.all(promiseArray).then(function (dataArray) {}).then(function () {\n onDealerSelect();\n logger.success(\"changesSaved\");\n }).catch(function (errorResponse) {\n onDealerSelect();\n logger.error(\"Error\");\n });\n }\n}","import \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.regexp.search\";\nDashboardOpportunitiesController.$inject = [\"$state\", \"$route\", \"$rootScope\", \"$translate\", \"$translatePartialLoader\", \"$sce\", \"legacy\", \"opportunityCountsService\", \"userService\", \"storageService\", \"activityService\", \"searchService\", \"localePaths\", \"alertTypeDescriptors\", \"roles\", \"saleTypes\", \"widgetTypes\", \"widgetTitleKeys\", \"widgetExpandToolTipKeys\", \"searchPresetService\", \"authorizationService\", \"modules\"];\n\n/* injects from baggage-loader */\nrequire('./dashboard-opportunities.component.html');\n\nimport angular from 'angular';\nimport './dashboard.scss';\nangular.module('AaApp.Opp').component('dashboardOpportunities', {\n templateUrl: '/app/components/dashboard/dashboard-opportunities.component.html',\n controller: DashboardOpportunitiesController,\n bindings: {\n selectedDealerId: '<'\n }\n});\n/* @ngInject */\n\nfunction DashboardOpportunitiesController($state, $route, $rootScope, $translate, $translatePartialLoader, $sce, legacy, opportunityCountsService, userService, storageService, activityService, searchService, localePaths, alertTypeDescriptors, roles, saleTypes, widgetTypes, widgetTitleKeys, widgetExpandToolTipKeys, searchPresetService, authorizationService, modules) {\n var $ctrl = this;\n $ctrl.$onInit = $onInit;\n $ctrl.$onChanges = $onChanges; //$ctrl.leaseWidgetDataService = leaseWidgetDataService;\n //$ctrl.retailWidgetDataService = retailWidgetDataService;\n //$ctrl.agendaWidgetDataService = agendaWidgetDataService;\n\n $ctrl.newOpportunityChangesWidgetDataService = newOpportunityChangesWidgetDataService; //$ctrl.recentlyAssignedWidgetDataService = recentlyAssignedWidgetDataService;\n\n $ctrl.getOpportunityCounts = getOpportunityCounts;\n $ctrl.getWidgetColumnTypesList = getWidgetColumnTypesList; //$ctrl.getWidgetLink = getWidgetLink;\n\n $ctrl.closeCallback = closeCallback;\n $ctrl.refreshWidgets = refreshWidgets;\n $ctrl.permissions = {};\n $ctrl.leftColumnWidgets = [];\n $ctrl.rightColumnWidgets = [];\n $ctrl.displayWidgets = []; //TODO: refactor this to a centralized location.\n //Configuration\n\n $ctrl.leaseSaleTypes = [saleTypes.lease];\n $ctrl.retailSaleTypes = [saleTypes.retail, saleTypes.balloon]; //$ctrl.managerIndex = -1;\n\n $ctrl.iframeSource = $sce.trustAsResourceUrl(legacy.iframeUrl + '/Home/ContactUs');\n $ctrl.alertTypeDescriptors = alertTypeDescriptors;\n var isEuroLite = authorizationService.isEuroLite(); //var agendaWidgetConfig = {\n // managerWidgetOrder: 4,\n // widgetType: widgetTypes.agenda,\n // widgetTitleKey: widgetTitleKeys.agenda,\n // widgetExpandToolTipKey: widgetExpandToolTipKeys.agenda,\n // widgetLink: 'activitiesAgenda',\n // widgetDataService: $ctrl.agendaWidgetDataService,\n // triggerRefresh: 0,\n //};\n //var recentlyAssignedConfig = {\n // managerWidgetOrder: 5,\n // widgetType: widgetTypes.opportunitiesTable,\n // widgetTitleKey: widgetTitleKeys.recentlyAssigned,\n // widgetExpandToolTipKey: widgetExpandToolTipKeys.recentlyAssigned,\n // widgetDataService: $ctrl.recentlyAssignedWidgetDataService,\n // detailViewLinkDisabled: true,\n // columnTypes: ['opportunity', 'alertBlocks', 'assignedDate'],\n // triggerRefresh: 0,\n //};\n //var leaseWidgetConfig = {\n // managerWidgetOrder: 1,\n // widgetType: widgetTypes.opportunitiesTable,\n // widgetTitleKey: widgetTitleKeys.lease,\n // widgetExpandToolTipKey: widgetExpandToolTipKeys.lease,\n // widgetLink: $ctrl.getWidgetLink('lease'), \n // columnTypes: $ctrl.getWidgetColumnTypesList('lease'),\n // widgetDataService: $ctrl.leaseWidgetDataService,\n // triggerRefresh: 0,\n //};\n //var retailWidgetConfig = {\n // managerWidgetOrder: 2,\n // widgetType: widgetTypes.opportunitiesTable,\n // widgetTitleKey: widgetTitleKeys.retail,\n // widgetExpandToolTipKey: widgetExpandToolTipKeys.retail,\n // widgetLink: $ctrl.getWidgetLink('retail'), \n // columnTypes: $ctrl.getWidgetColumnTypesList('retail'),\n // widgetDataService: $ctrl.retailWidgetDataService,\n // triggerRefresh: 0,\n //};\n\n var newOpportunityChangesConfig = {\n managerWidgetOrder: 3,\n widgetType: widgetTypes.opportunitiesTable,\n widgetTitleKey: widgetTitleKeys.newOpportunityChanges,\n widgetExpandToolTipKey: widgetExpandToolTipKeys.newOpportunityChanges,\n widgetDataService: $ctrl.newOpportunityChangesWidgetDataService,\n columnTypes: ['opportunity', 'alertBlocks', 'responsibleUserFullName'],\n detailViewLinkDisabled: true,\n triggerRefresh: 0\n };\n var searchPresetCountConfig = {\n managerWidgetOrder: 7,\n widgetType: widgetTypes.searchPresetCounts,\n widgetTitleKey: widgetTitleKeys.opportunitySearches,\n widgetDataService: searchPresetCountWidgetDataService,\n detailViewLinkDisabled: true,\n triggerRefresh: 0\n };\n\n function $onInit() {\n $translatePartialLoader.addPart(localePaths.general);\n $translatePartialLoader.addPart(localePaths.dashboard);\n userService.getUserProfile().then(function (data) {\n if (data == undefined) {\n $state.go('login');\n }\n\n $ctrl.roleId = data.roleId;\n var managerRoles = [roles.dealerAdmin, roles.generalManager, roles.salesManager, roles.financeAndInsuranceManager, roles.usedCarSalesManager];\n var moduleIds = storageService.getItem('moduleIds');\n\n if (moduleIds) {\n var searchPresentCountWidgetEnabled = moduleIds.indexOf(modules.search) > -1;\n }\n\n if (managerRoles.indexOf(data.roleId) >= 0) {\n if (searchPresentCountWidgetEnabled) {\n $ctrl.displayWidgets = [searchPresetCountConfig, newOpportunityChangesConfig];\n } else {\n $ctrl.displayWidgets = [newOpportunityChangesConfig];\n }\n } else {\n if (searchPresentCountWidgetEnabled) {\n $ctrl.displayWidgets = [searchPresetCountConfig, //agendaWidgetConfig,\n newOpportunityChangesConfig];\n } else {\n $ctrl.displayWidgets = [//agendaWidgetConfig,\n newOpportunityChangesConfig];\n }\n }\n\n if (!isEuroLite) {\n if (managerRoles.indexOf(data.roleId) >= 0) {\n if (searchPresentCountWidgetEnabled) {\n $ctrl.leftColumnWidgets = [//leaseWidgetConfig,\n newOpportunityChangesConfig];\n $ctrl.rightColumnWidgets = [searchPresetCountConfig];\n } else {\n $ctrl.leftColumnWidgets = [//leaseWidgetConfig,\n newOpportunityChangesConfig];\n $ctrl.rightColumnWidgets = [//retailWidgetConfig,\n //agendaWidgetConfig,\n ];\n }\n } else {\n if (searchPresentCountWidgetEnabled) {\n $ctrl.leftColumnWidgets = [//agendaWidgetConfig,\n //leaseWidgetConfig,\n newOpportunityChangesConfig];\n $ctrl.rightColumnWidgets = [searchPresetCountConfig];\n } else {\n $ctrl.leftColumnWidgets = [//agendaWidgetConfig,\n //leaseWidgetConfig,\n newOpportunityChangesConfig];\n $ctrl.rightColumnWidgets = [//recentlyAssignedConfig,\n //retailWidgetConfig,\n ];\n }\n }\n } else {\n $ctrl.leftColumnWidgets = [//leaseWidgetConfig,\n ];\n $ctrl.rightColumnWidgets = [//agendaWidgetConfig,\n //retailWidgetConfig,\n ];\n }\n });\n getOpportunityCounts(false);\n authorizationService.getDealSheetPermissions().then(function (data) {\n $ctrl.permissions = data;\n });\n } //function getWidgetLink(type) {\n // if (isEuroLite)\n // return 'euroliteopportunities';\n // switch (type) {\n // case 'lease':\n // return 'opportunitiesLease';\n // case 'retail':\n // return 'opportunitiesRetail';\n // }\n //}\n\n\n function getWidgetColumnTypesList(type) {\n switch (type) {\n case 'lease':\n case 'retail':\n if (isEuroLite) return ['opportunity', 'alertBlocks'];else return ['opportunity', 'alertBlocks', 'apptOrRoDate'];\n\n default:\n return ['opportunity', 'alertBlocks', 'apptOrRoDate'];\n }\n }\n\n function getOpportunityCounts(flushCache) {\n $ctrl.widgetDataPromise = opportunityCountsService.getOpportunityCounts($ctrl.selectedDealerId, flushCache).then(function (data) {\n $ctrl.opportunityCounts = data;\n });\n }\n\n function $onChanges(changes) {\n if (changes.selectedDealerId && !changes.selectedDealerId.isFirstChange()) {\n refreshAllWidgets();\n getOpportunityCounts();\n }\n } //function leaseWidgetDataService(flushCache) {\n // return searchService.getOpenOpportunities($ctrl.selectedDealerId, $ctrl.leaseSaleTypes, flushCache);\n //}\n //function retailWidgetDataService(flushCache) {\n // return searchService.getOpenOpportunities($ctrl.selectedDealerId, $ctrl.retailSaleTypes, flushCache);\n //}\n //function agendaWidgetDataService(flushCache) {\n // return activityService.getAgendaItems( $ctrl.selectedDealerId, null, flushCache);\n //}\n\n\n function newOpportunityChangesWidgetDataService(flushCache) {\n return searchService.getFreshOpportunities($ctrl.selectedDealerId, flushCache);\n } //function recentlyAssignedWidgetDataService(flushCache) {\n // return searchService.getRecentlyAssignedOpportunities($ctrl.selectedDealerId, flushCache);\n //}\n\n\n function searchPresetCountWidgetDataService(hardRefresh, widgetState) {\n var maxRowsDisplayed = widgetState && widgetState.maxRowsDisplayed;\n return searchPresetService.getDealerSearchPresetLayoutCounts(hardRefresh, $ctrl.selectedDealerId, maxRowsDisplayed);\n }\n\n function closeCallback(type) {\n //refresh\n switch (type) {\n case widgetTypes.lease:\n case widgetTypes.retail:\n case widgetTypes.newOpportunityChanges:\n $ctrl.refreshWidgets();\n break;\n\n case widgetTypes.agenda:\n case widgetTypes.recentlyAssigned:\n default:\n break;\n }\n }\n\n function refreshAllWidgets() {\n if ($ctrl.leftColumnWidgets) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = $ctrl.leftColumnWidgets[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var widget = _step.value;\n widget.triggerRefresh++;\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n\n if ($ctrl.rightColumnWidgets) {\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = $ctrl.rightColumnWidgets[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var _widget = _step2.value;\n _widget.triggerRefresh++;\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n }\n\n function refreshWidgets() {\n if ($ctrl.leftColumnWidgets) {\n for (var i = 0; i < $ctrl.leftColumnWidgets.length; i++) {\n if ($ctrl.leftColumnWidgets[i].widgetType === widgetTypes.agenda || $ctrl.leftColumnWidgets[i].widgetType === widgetTypes.recentlyAssigned) {\n $ctrl.leftColumnWidgets[i].triggerRefresh++;\n }\n }\n }\n\n if ($ctrl.rightColumnWidgets) {\n for (var k = 0; k < $ctrl.rightColumnWidgets.length; k++) {\n if ($ctrl.rightColumnWidgets[k].widgetType === widgetTypes.agenda || $ctrl.rightColumnWidgets[k].widgetType === widgetTypes.recentlyAssigned) {\n $ctrl.rightColumnWidgets[k].triggerRefresh++;\n }\n }\n }\n }\n}","\n/* injects from baggage-loader */\nrequire('./dashboard-widget.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\n(function () {\r\n angular.module('AaApp.Opp').component('dashboardWidget', {\r\n templateUrl: '/app/components/dashboard/dashboard-widget.component.html',\r\n controller: DashboardWidgetController,\r\n transclude: {\r\n 'widgetHeaderIcon': '?widgetHeaderIcon',\r\n 'widgetPreamble': '?widgetPreamble',\r\n },\r\n bindings: {\r\n widgetType: '<',\r\n widgetDefaultOrder: '<',\r\n isFavorite: '<',\r\n widgetLink: '<',\r\n widgetTitleKey: '<',\r\n widgetExpandText: '<',\r\n widgetDataService: '<',\r\n widgetExpandToolTipKey: '<',\r\n columnTypes: '<',\r\n detailViewLinkDisabled: '<',\r\n triggerRefresh: '<',\r\n roleId: '<',\r\n permissions: '<',\r\n selectedDealerId: '<',\r\n onCloseCallback: '&',\r\n showFavorites: '<',\r\n onSetFavorite: '&',\r\n isCollapsable: '<',\r\n isCollapsed: '<',\r\n onToggleCollapse: '&',\r\n }\r\n });\r\n\r\n /* @ngInject */\r\n function DashboardWidgetController($q, $state, widgetTypes, searchPresetService, userService, roles, tokenService, modules, authorizationService, dealerService, assetTypes) {\r\n const $ctrl = this;\r\n\r\n $ctrl.showOpportunitySearches;\r\n $ctrl.searchPresetLimit;\r\n $ctrl.dealerId;\r\n $ctrl.availablePresets;\r\n $ctrl.selectedPresets;\r\n $ctrl.refresh = refresh;\r\n $ctrl.saveSelectedSearchPresets = saveSelectedSearchPresets;\r\n $ctrl.pandoWorkflowIntegrationEnabled = userService.isModuleEnabledForAnyDealer(modules.pandoWorkflowIntegration) && tokenService.isMotoFuzeUser();\r\n $ctrl.isEuroLite = authorizationService.isEuroLite();\r\n $ctrl.pandoXEnabled = false;\r\n $ctrl.setFavorite = setFavorite;\r\n $ctrl.toggleCollapse = toggleCollapse;\r\n\r\n $ctrl.widgetTypes = widgetTypes;\r\n\r\n // widgetState an object that the widget itself can manage, and we will\r\n // pass into the widgetDataService function. Most widgets will not use\r\n // it, but searchPresetCounts needs it to keep track of how many items\r\n // are shown.\r\n $ctrl.widgetState = null;\r\n\r\n const isEuroLite = authorizationService.isEuroLite();\r\n\r\n\r\n $ctrl.$onInit = function () {\r\n $ctrl.roles = roles;\r\n $ctrl.searchPresetLimit = 5;\r\n\r\n userService.getUserProfile()\r\n .then(userProfile => {\r\n $ctrl.isEmployeeUser = userProfile.employeeUser;\r\n $ctrl.dealerId = userProfile.dealerIds[0];\r\n refresh(false);\r\n });\r\n\r\n $ctrl.leadAssignOwnerAccessEnabled = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.leadAssignOwnerAccess);\r\n }\r\n\r\n $ctrl.$onChanges = function (changes) {\r\n if (changes.triggerRefresh && $ctrl.triggerRefresh > 0) { \r\n refresh(false); \r\n }\r\n\r\n if ($ctrl.isCollapsable && changes.isCollapsed && $ctrl.isCollapsed == false) {\r\n refresh(false);\r\n }\r\n\r\n if (changes.selectedDealerId) { \r\n $ctrl.leadAssignOwnerAccessEnabled = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.leadAssignOwnerAccess);\r\n\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.pandoX, $ctrl.selectedDealerId)\r\n .then(isEnabled => {$ctrl.pandoXEnabled = isEnabled;})\r\n }\r\n }\r\n\r\n $ctrl.gotoState = function () { \r\n if (!isEuroLite)\r\n $state.go($ctrl.widgetLink, { dealerId: $ctrl.selectedDealerId });\r\n else {\r\n var filter = { \"type\": $ctrl.widgetTitleKey };\r\n $state.go($ctrl.widgetLink, { filter: filter });\r\n }\r\n\r\n }\r\n\r\n function refresh(hardRefresh) {\r\n\r\n if ($ctrl.isCollapsable) {\r\n if (hardRefresh && $ctrl.isCollapsed) {\r\n $ctrl.isCollapsed = false;\r\n }\r\n\r\n if ($ctrl.isCollapsed) { // don't make call to get data\r\n return;\r\n }\r\n }\r\n\r\n $ctrl.showOpportunitySearched = ($ctrl.widgetType == $ctrl.widgetTypes.searchPresetCounts \r\n && ($ctrl.selectedDealerId != null));\r\n $ctrl.widgetData = null;\r\n $ctrl.widgetDataPromise = $ctrl.widgetDataService(hardRefresh, $ctrl.widgetState).then(function (data) {\r\n $ctrl.widgetData = data;\r\n });\r\n return $ctrl.widgetDataPromise;\r\n }\r\n\r\n $ctrl.runDateChange = function (runDate) {\r\n $ctrl.runDate = runDate;\r\n }\r\n\r\n $ctrl.closeCallback = function (opId) {\r\n var type = $ctrl.widgetType;\r\n if (!type) { return; }\r\n refresh(false).then(function () {\r\n if (type === widgetTypes.agenda || type === widgetTypes.recentlyAssigned) { return; }\r\n if ($ctrl.widgetData) {\r\n var dsIndex = -1;\r\n dsIndex = _.findIndex($ctrl.widgetData, function (o) { return o.entityID === opId });\r\n if (dsIndex === -1) {\r\n $ctrl.onCloseCallback({ type: type });\r\n }\r\n }\r\n });\r\n }\r\n\r\n function saveSelectedSearchPresets(searchPresets) {\r\n searchPresetService.updateDealerSearchPresetLayouts(searchPresets.dealerId, searchPresets.selectedSearchPresets)\r\n .then(success => {\r\n if (success) {\r\n refresh(false);\r\n }\r\n })\r\n }\r\n\r\n function setFavorite(widgetDefaultOrder) {\r\n $ctrl.isFavorite = !$ctrl.isFavorite;\r\n $ctrl.onSetFavorite({ index: widgetDefaultOrder, isOn: $ctrl.isFavorite })\r\n }\r\n\r\n function toggleCollapse(widgetDefaultOrder) {\r\n $ctrl.isCollapsed = !$ctrl.isCollapsed;\r\n $ctrl.onToggleCollapse({ index: widgetDefaultOrder, isCollapsed: $ctrl.isCollapsed });\r\n }\r\n\r\n }\r\n})();\r\n","import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nDashboardController.$inject = [\"$rootScope\", \"dealerService\", \"authorizationService\", \"$state\", \"globalIframeService\", \"storageService\", \"userService\"];\n\n/* injects from baggage-loader */\nrequire('./dashboard.component.html');\n\nimport angular from 'angular';\nimport { Modules } from '../../constants/modules';\nimport './dashboard.scss';\nangular.module('AaApp.Opp').component('dashboard', {\n templateUrl: '/app/components/dashboard/dashboard.component.html',\n controller: DashboardController,\n bindings: {\n moduleIds: '<'\n }\n});\n\nfunction DashboardController($rootScope, dealerService, authorizationService, $state, globalIframeService, storageService, userService) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.$onInit = $onInit;\n $ctrl.$onChanges = $onChanges;\n $ctrl.dealers;\n $ctrl.selectedDealerId = null;\n $ctrl.showQuickLinkPanel = true;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.tabs = [];\n var isEuroLite = authorizationService.isEuroLite();\n var tabDefinitions = [{\n requiredModules: [],\n sref: 'dashboard.opportunities',\n translationKey: 'opportunitiesDashboardHeader'\n }, {\n requiredModules: [Modules.managerDashboard],\n sref: 'dashboard.manager',\n translationKey: 'priorityOppDashboard'\n }];\n\n function $onInit() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n $ctrl.selectedDealerId = storageService.getItem('selectedDealerId'); // if no dealer has been selected yet and there is only one dealer or the selected dealer is no longer on the list of available dealers\n\n if ($ctrl.selectedDealerId == null && $ctrl.dealers.length == 1 || $ctrl.selectedDealerId != null && !$ctrl.dealers.some(function (d) {\n return d.id == $ctrl.selectedDealerId;\n })) $ctrl.selectedDealerId = $ctrl.dealers[0].id;\n var subscription = globalIframeService.subscribe(function (_ref) {\n var data = _ref.data;\n\n if (data && data['AUTOALERT_IFRAME_LOADED']) {\n // AA is ready show iframe\n $ctrl.IsVisible = true;\n }\n });\n\n $ctrl.$onDestroy = function () {\n return subscription.unsubscribe();\n };\n\n userService.getUserProfile().then(function (userProfile) {\n $ctrl.userId = userProfile.userId;\n });\n }\n\n function $onChanges(changes) {\n if (changes.moduleIds) {\n filterAvailableTabs();\n }\n }\n\n function filterAvailableTabs() {\n $ctrl.showQuickLinkPanel = !isEuroLite;\n if (!isEuroLite) $ctrl.tabs = tabDefinitions.filter(function (def) {\n // the user must have every required module\n return def.requiredModules.every(function (req) {\n return $ctrl.moduleIds.includes(req);\n });\n });else $ctrl.tabs = tabDefinitions.filter(function (def) {\n return def.sref == 'dashboard.opportunities';\n });\n }\n\n function onDealerSelect() {\n storageService.setItem('selectedDealerId', $ctrl.selectedDealerId);\n $state.go($state.current.name, {\n selectedDealerId: $ctrl.selectedDealerId\n });\n }\n}","OpportunityBlockController.$inject = [\"$state\", \"authorizationService\", \"opportunityCountsService\"];\n\n/* injects from baggage-loader */\nrequire('./opportunity-block.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('opportunityBlock', {\n templateUrl: '/app/components/dashboard/opportunity-block.component.html',\n controller: OpportunityBlockController,\n bindings: {\n alertName: '@',\n alertCount: '@',\n cssClass: '@',\n selectedDealerId: '<',\n translateKey: '@'\n }\n});\n/* @ngInject */\n\nfunction OpportunityBlockController($state, authorizationService, opportunityCountsService) {\n var $ctrl = this; //$ctrl.opportunities = {};\n\n $ctrl.goToState = goToState;\n\n function goToState() {\n var isEuroLite = authorizationService.isEuroLite(); //logger.debug('block clicked for ' + 'opportunity' + $ctrl.alertName);\n\n if (!isEuroLite) $state.go('opportunities' + $ctrl.alertName.charAt(0).toUpperCase() + $ctrl.alertName.slice(1), {\n 'dealerId': $ctrl.selectedDealerId\n });else {\n var filter = {\n \"opportunityBlock\": $ctrl.alertName\n };\n $state.go('euroliteopportunities', {\n filter: filter\n });\n }\n }\n}","ActivityActionController.$inject = [\"ActivityActionEnum\", \"dealSheetService\"];\n\n/* injects from baggage-loader */\nrequire('./activity-actions.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('activityActions', {\n templateUrl: '/app/components/deal-sheet/activity-actions.component.html',\n controller: ActivityActionController,\n bindings: {\n opportunity: '<',\n users: '<',\n maxScheduleFutureDays: '<',\n permissions: '<',\n onAction: '&'\n }\n});\n/* @ngInject */\n\nfunction ActivityActionController(ActivityActionEnum, dealSheetService) {\n var $ctrl = this;\n $ctrl.ActivityActionEnum = ActivityActionEnum;\n $ctrl.openModal = openModal;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if ((changes.opportunity && changes.opportunity.currentValue || changes.users && changes.users.currentValue || changes.maxScheduleFutureDays && changes.maxScheduleFutureDays.currentValue) && $ctrl.opportunity && $ctrl.users && $ctrl.maxScheduleFutureDays) {\n $ctrl.scheduleModalParamObject = dealSheetService.getModalParamObject(null, $ctrl.opportunity.id, $ctrl.opportunity.customer ? $ctrl.opportunity.customer.dealerID : null, $ctrl.opportunity.assignedUserId, $ctrl.maxScheduleFutureDays, $ctrl.users, null, $ctrl.opportunity ? $ctrl.opportunity.ownerUserInfo : null);\n }\n }\n\n function openModal(modalType) {\n $ctrl.scheduleModalParamObject.modalType = modalType;\n dealSheetService.openScheduleModal($ctrl.scheduleModalParamObject, onAction);\n }\n\n function onAction() {\n $ctrl.onAction();\n }\n}","\n/* injects from baggage-loader */\nrequire('./activity.component.html');\n\nimport { RATING_ICONS, RATING_TITLES } from '../../constants/review-pro-rating';\r\nimport {ActivityTypes as activityTypes} from '../../constants';\r\n\r\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nangular.module('AaApp.Opp').component('activity', {\r\n templateUrl: '/app/components/deal-sheet/activity.component.html',\r\n controller: ActivityController,\r\n bindings: {\r\n activity: '<',\r\n type: '<',\r\n submittedBy: '<',\r\n assignedTo: '<',\r\n notes: '<',\r\n result: '<',\r\n templateName: '<',\r\n fileUrl: '<',\r\n submittedDateTime: '<',\r\n scheduledDateTime: '<',\r\n activityActionId: '<',\r\n firstOpenDate: '<',\r\n lastOpenDate: '<',\r\n totalCount: '<',\r\n emailFrom: '<',\r\n emailTo: '<',\r\n emailSubject: '<',\r\n contactPhone: '<',\r\n oneToOneKey: '<',\r\n typeOfCall: '<',\r\n templateEmailId: '<',\r\n accessCode: '<',\r\n fullName:'<',\r\n mobileView: '<'\r\n }\r\n});\r\n\r\nfunction ActivityController(\r\n activityResults, activitySubTypes,\r\n legacyService, templateService, customerProcessStatuses\r\n) {\r\n \"ngInject\";\r\n\r\n const $ctrl = this;\r\n $ctrl.activityTypeTranslateKeys;\r\n $ctrl.activityResultTranslateKeys;\r\n $ctrl.playableUrl = null;\r\n $ctrl.activityResults = activityResults;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.activitySubTypes = activitySubTypes;\r\n $ctrl.activityTypes = activityTypes;\r\n $ctrl.downloadUpgradeProposal = downloadUpgradeProposal;\r\n $ctrl.getIconClass = getIconClass;\r\n $ctrl.getProcessStatusClass = getProcessStatusClass;\r\n $ctrl.hasAudioLink = hasAudioLink;\r\n $ctrl.viewTemplateOutput = viewTemplateOutput;\r\n $ctrl.ratingIcon = null;\r\n $ctrl.ratingTitle = null;\r\n $ctrl.customerProcessStatuses = customerProcessStatuses;\r\n \r\n function onChanges(changes) {\r\n \r\n if ((changes.activity && \r\n changes.activity.currentValue && \r\n (changes.activity.currentValue.type == $ctrl.activityTypes.reviewProServiceRating || \r\n changes.activity.currentValue.type == $ctrl.activityTypes.reviewProSalesRating))) {\r\n $ctrl.ratingIcon = RATING_ICONS[$ctrl.activity.reviewRating];\r\n $ctrl.ratingTitle = RATING_TITLES[$ctrl.activity.reviewRating];\r\n }\r\n }\r\n\r\n function init() {\r\n $ctrl.activityTypeTranslateKeys = _.invert(activityTypes);\r\n $ctrl.activityResultTranslateKeys = _.assign({},\r\n _.invert(activityResults.phoneCall),\r\n _.invert(activityResults.appointment),\r\n _.invert(activityResults.note));\r\n }\r\n\r\n function downloadUpgradeProposal() {\r\n legacyService.downloadUpgradeProposalByActivity({\r\n activityId: $ctrl.activity.activityId\r\n })\r\n }\r\n\r\n function hasAudioLink() {\r\n return (isPhoneType() && hasRecordingUrl());\r\n }\r\n\r\n function hasRecordingUrl() {\r\n return ($ctrl.activity && $ctrl.activity.recordingUrl && $ctrl.activity.recordingUrl !== '');\r\n }\r\n\r\n function isPhoneType() {\r\n switch ($ctrl.type) {\r\n case activityTypes.logPhoneCall:\r\n case activityTypes.schedulePhoneCall:\r\n case activityTypes.scheduleAppointment:\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n function getProcessStatusClass(status) {\r\n var statusClass = '';\r\n switch (status) {\r\n case customerProcessStatuses.new:\r\n statusClass = 'process-status-new';\r\n break;\r\n case customerProcessStatuses.inProgress:\r\n case customerProcessStatuses.inProgressExternal:\r\n statusClass = 'process-status-in-progress';\r\n break;\r\n case customerProcessStatuses.success:\r\n statusClass = 'process-status-completed';\r\n break;\r\n case customerProcessStatuses.overdue:\r\n case customerProcessStatuses.cancelled:\r\n case customerProcessStatuses.autoCancelled:\r\n statusClass = 'process-status-overdue';\r\n break;\r\n case customerProcessStatuses.waiting:\r\n statusClass = 'process-status-waiting';\r\n break;\r\n default:\r\n statusClass = 'process-status-waiting';\r\n }\r\n\r\n return statusClass;\r\n }\r\n\r\n function getIconClass() {\r\n switch ($ctrl.type) {\r\n case activityTypes.logNote:\r\n case activityTypes.logCrmProspectAlert:\r\n case activityTypes.logCrmProspectStatus:\r\n case activityTypes.logCrmRemark:\r\n case activityTypes.logCrmShowroomRemark:\r\n case activityTypes.logCrmCustomerWillBeBack:\r\n case activityTypes.autofiDigitalRetailing:\r\n case activityTypes.autofiDigitalRetailingCreditApp:\r\n case activityTypes.autofiDigitalRetailingApptSched:\r\n case activityTypes.export:\r\n case activityTypes.appraisal:\r\n case activityTypes.dmsPush:\r\n return 'aa-icon-core-takenote-icon-000000';\r\n case activityTypes.logPhoneCall:\r\n case activityTypes.completePhoneCall:\r\n case activityTypes.expirePhoneCall:\r\n case activityTypes.logCrmInboundCall:\r\n case activityTypes.logCrmOutboundCall:\r\n return 'aa-icon-core-phone-icon-000000';\r\n case activityTypes.scheduleAppointment:\r\n case activityTypes.rescheduleAppointment:\r\n case activityTypes.reassignAppointment:\r\n case activityTypes.completeAppointment:\r\n case activityTypes.expireAppointment:\r\n case activityTypes.cancelAppointment:\r\n return 'aa-icon-core-calendar-icon-000000';\r\n case activityTypes.cancelPhoneCall:\r\n case activityTypes.schedulePhoneCall:\r\n case activityTypes.reschedulePhoneCall:\r\n case activityTypes.reassignPhoneCall:\r\n return 'aa-icon-core-schedule-phone-call-000002';\r\n case activityTypes.printTemplate:\r\n return 'aa-icon-core-print-icon-000000';\r\n case activityTypes.printOfferLetter:\r\n return 'aa-icon-view-offer-letter';\r\n case activityTypes.pushToCrm:\r\n return 'aa-icon-core-send-icon-000000';\r\n case activityTypes.sendOneToOneMail:\r\n case activityTypes.sendOneToOneEmail:\r\n case activityTypes.sendPartnerExportMail:\r\n case activityTypes.purlView:\r\n case activityTypes.purlSubmit:\r\n case activityTypes.facebookAdded:\r\n case activityTypes.facebookVerified:\r\n return 'aa-icon-1-2-1-icon-46';\r\n case activityTypes.logCrmOutboundEmail:\r\n case activityTypes.logCrmInboundEmail:\r\n case activityTypes.sendCrmLetter:\r\n case activityTypes.sendEmailTemplate:\r\n case activityTypes.sendEmail:\r\n case activityTypes.emailReply:\r\n case activityTypes.emailReplyCustomer:\r\n case activityTypes.emailReplyDealer:\r\n return 'aa-icon-core-email-icon-000000';\r\n case activityTypes.sendCrmReminder:\r\n return 'aa-icon-aa-core-icons-copy-48';\r\n case activityTypes.sendCrmTextMessage:\r\n return 'aa-icon-aa-core-icons-copy-47';\r\n case activityTypes.sentSLMEmailOffer:\r\n case activityTypes.pandoProcess:\r\n case activityTypes.customerPandoProcess:\r\n return 'aa-icon-pandoicon-1';\r\n case activityTypes.websiteEngaged:\r\n case activityTypes.websiteLeadSubmission:\r\n return 'web';\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n function viewTemplateOutput() {\r\n templateService.downloadPdf($ctrl.activity.templateOutputId, $ctrl.activity.templateName)\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./activity-list.component.html');\n\nimport angular from 'angular';\r\nimport {ActivityTypes as activityTypes} from '../../constants'\r\n\r\nangular.module('AaApp.Opp').component('activityList', {\r\n templateUrl: '/app/components/deal-sheet/activity-list.component.html',\r\n controller: ActivityListController,\r\n bindings: {\r\n activities: '<',\r\n permissions: '<',\r\n status: '<',\r\n users: '<',\r\n opportunityId: '<',\r\n onScheduleSubmit: '&',\r\n assignedUserFullName: '<',\r\n assignedUserId: '<',\r\n maxScheduleFutureDays: '<',\r\n ownerUserInfo: '<',\r\n defaultTab: '<',\r\n expirationDate: '<',\r\n hasReviewPro: '<',\r\n hasGeoAlert: '<',\r\n hasAutoAssist: '<',\r\n onSetAsDefault: '&',\r\n isEuroLite: '<',\r\n fullName:'<',\r\n onRefresh: '&',\r\n mobileView: '<',\r\n dealerId: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ActivityListController(\r\n opportunityStatuses, ActivityActionEnum, activityStatusTypes, localePaths,\r\n $translatePartialLoader, \r\n dealSheetService, dealSheetTabs\r\n) {\r\n const $ctrl = this;\r\n\r\n $ctrl.tabs = dealSheetTabs;\r\n $ctrl.activityTypes = activityTypes;\r\n $ctrl.opportunityStatuses = opportunityStatuses;\r\n $ctrl.nextAction = nextAction;\r\n $ctrl.rescheduleAction = rescheduleAction;\r\n $ctrl.reassignAction = reassignAction;\r\n $ctrl.cancelAction = cancelAction;\r\n\r\n $ctrl.$onInit = onInit;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.latestScheduledActivity;\r\n $ctrl.scheduleModalParamObject = null;\r\n $ctrl.isCall = isCall;\r\n $ctrl.isAppointment = isAppointment;\r\n\r\n $translatePartialLoader.addPart(localePaths.oneToOne);\r\n\r\n function onChanges(changes) {\r\n $ctrl.scheduleModalParamObject = dealSheetService.getModalParamObject(null, $ctrl.opportunityId, null, $ctrl.assignedUserId, $ctrl.maxScheduleFutureDays, $ctrl.users, null, $ctrl.ownerUserInfo ? $ctrl.ownerUserInfo : null, $ctrl.expirationDate);\r\n if (changes.hasReviewPro && changes.hasReviewPro.currentValue) {\r\n enableModule('reviewProGroup');\r\n }\r\n if (changes.hasGeoAlert && changes.hasGeoAlert.currentValue) {\r\n enableModule('geoAlertGroup');\r\n }\r\n if (changes.activities && changes.activities.currentValue) {\r\n $ctrl.latestScheduledActivity = getLatestScheduledActivity();\r\n if ($ctrl.activities){\r\n $ctrl.masterActivities = [];\r\n $ctrl.filteredActivities = [];\r\n for (var i = 0; i < $ctrl.activities.length; i++) {\r\n if ($ctrl.activities[i].type == $ctrl.activityTypes.reviewProServiceRating ||\r\n $ctrl.activities[i].type == $ctrl.activityTypes.reviewProSalesRating) {\r\n enableModule('reviewProGroup');\r\n }\r\n if ($ctrl.activities[i].type == $ctrl.activityTypes.geoAlertActive ||\r\n $ctrl.activities[i].type == $ctrl.activityTypes.geoAlertCampaign) {\r\n enableModule('geoAlertGroup');\r\n }\r\n $ctrl.masterActivities.push($ctrl.activities[i]);\r\n $ctrl.masterActivities[i].moduleGroupName = getModuleGroupName($ctrl.activities[i].type);\r\n $ctrl.masterActivities[i].listId = 5000 + i;\r\n }\r\n $ctrl.filterSelectedLogs();\r\n }\r\n }\r\n }\r\n\r\n function enableModule(key) {\r\n var foundModule = $ctrl.modules.filter(m=>m.key === key)[0];\r\n if (foundModule) {\r\n foundModule.enabled = true;\r\n }\r\n }\r\n\r\n function getFilteredActivities() {\r\n const activeModuleGroupNames = $ctrl.modules\r\n .filter(m => m.selected)\r\n .map(m => m.key);\r\n\r\n // If no filters are enabled, include everything\r\n if (activeModuleGroupNames.length == 0) {\r\n return $ctrl.masterActivities.slice();\r\n }\r\n\r\n return $ctrl.masterActivities.filter(activity => {\r\n return activeModuleGroupNames.includes(activity.moduleGroupName);\r\n });\r\n }\r\n\r\n function modalClick(modalType) {\r\n $ctrl.scheduleModalParamObject.modalType = modalType;\r\n $ctrl.scheduleModalParamObject.activityObject = $ctrl.latestScheduledActivity;\r\n dealSheetService.openScheduleModal($ctrl.scheduleModalParamObject, onScheduleCallApptSubmit);\r\n }\r\n\r\n function onScheduleCallApptSubmit() {\r\n $ctrl.onScheduleSubmit();\r\n }\r\n\r\n function nextAction() {\r\n modalClick(getCompleteActionType($ctrl.latestScheduledActivity.activityActionId));\r\n }\r\n\r\n function rescheduleAction() {\r\n modalClick(getRescheduleActionType($ctrl.latestScheduledActivity.activityActionId));\r\n }\r\n\r\n function reassignAction() {\r\n modalClick(getReAssignActionType($ctrl.latestScheduledActivity.activityActionId));\r\n }\r\n\r\n function cancelAction() {\r\n modalClick(getCancelActionType($ctrl.latestScheduledActivity.activityActionId));\r\n }\r\n\r\n // based on $ctrl.latestScheduledActivity.activityActionId remap dialog action type for Reschedule\r\n function getRescheduleActionType(sourceActionType) {\r\n switch (sourceActionType) {\r\n case ActivityActionEnum.Schedule_Call:\r\n case ActivityActionEnum.Reschedule_Call:\r\n case ActivityActionEnum.Reassign_Call:\r\n return ActivityActionEnum.Reschedule_Call;\r\n case ActivityActionEnum.Schedule_Appt:\r\n case ActivityActionEnum.Reschedule_Appt:\r\n case ActivityActionEnum.Reassign_Appt:\r\n return ActivityActionEnum.Reschedule_Appt;\r\n }\r\n }\r\n\r\n // based on $ctrl.latestScheduledActivity.activityActionId remap dialog action type for Reassign\r\n function getReAssignActionType(sourceActionType) {\r\n switch (sourceActionType) {\r\n case ActivityActionEnum.Schedule_Call:\r\n case ActivityActionEnum.Reschedule_Call:\r\n case ActivityActionEnum.Reassign_Call:\r\n return ActivityActionEnum.Reassign_Call;\r\n case ActivityActionEnum.Schedule_Appt:\r\n case ActivityActionEnum.Reschedule_Appt:\r\n case ActivityActionEnum.Reassign_Appt:\r\n return ActivityActionEnum.Reassign_Appt;\r\n }\r\n }\r\n\r\n // based on $ctrl.latestScheduledActivity.activityActionId remap dialog action type for Cancel\r\n function getCancelActionType(sourceActionType) {\r\n switch (sourceActionType) {\r\n case ActivityActionEnum.Schedule_Appt:\r\n case ActivityActionEnum.Reschedule_Appt:\r\n case ActivityActionEnum.Reassign_Appt:\r\n return ActivityActionEnum.Cancel_Appt;\r\n case ActivityActionEnum.Schedule_Call:\r\n case ActivityActionEnum.Reschedule_Call:\r\n case ActivityActionEnum.Reassign_Call:\r\n return ActivityActionEnum.Cancel_Call;\r\n }\r\n }\r\n\r\n // based on $ctrl.latestScheduledActivity.activityActionId remap dialog action type for Complete\r\n function getCompleteActionType(sourceActionType) {\r\n switch (sourceActionType) {\r\n case ActivityActionEnum.Schedule_Appt:\r\n case ActivityActionEnum.Reschedule_Appt:\r\n case ActivityActionEnum.Reassign_Appt:\r\n return ActivityActionEnum.Appointment_Completed;\r\n case ActivityActionEnum.Schedule_Call:\r\n case ActivityActionEnum.Reschedule_Call:\r\n case ActivityActionEnum.Reassign_Call:\r\n return ActivityActionEnum.Phone_Call_Completed;\r\n }\r\n }\r\n\r\n function isCall(sourceActionType) {\r\n switch (sourceActionType) {\r\n case ActivityActionEnum.Schedule_Call:\r\n case ActivityActionEnum.Reschedule_Call:\r\n case ActivityActionEnum.Reassign_Call:\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n function isAppointment(sourceActionType) {\r\n switch (sourceActionType) {\r\n case ActivityActionEnum.Schedule_Appt:\r\n case ActivityActionEnum.Reschedule_Appt:\r\n case ActivityActionEnum.Reassign_Appt:\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n function getLatestScheduledActivity() {\r\n var scheduledActivities = [];\r\n\r\n for (var i = 0; i < $ctrl.activities.length; i++) {\r\n var activity = $ctrl.activities[i];\r\n if (activity.activityStatusId != activityStatusTypes.completed) {\r\n if (activityScheduled(activity)) {\r\n scheduledActivities.push(activity);\r\n }\r\n }\r\n }\r\n\r\n scheduledActivities.sort(bySubmittedDateTime);\r\n return scheduledActivities.length > 0 ? scheduledActivities[scheduledActivities.length - 1] : null;\r\n }\r\n\r\n // sort criteria\r\n function bySubmittedDateTime(activity1, activity2) {\r\n return (new Date(activity1.submittedDateTime).getTime()) - (new Date(activity2.submittedDateTime).getTime());\r\n }\r\n\r\n function activityScheduled(activity) {\r\n switch (activity.type) {\r\n case ActivityActionEnum:\r\n case $ctrl.activityTypes.reschedulePhoneCall:\r\n case $ctrl.activityTypes.schedulePhoneCall:\r\n case $ctrl.activityTypes.reassignPhoneCall:\r\n case $ctrl.activityTypes.scheduleAppointment:\r\n case $ctrl.activityTypes.rescheduleAppointment:\r\n case $ctrl.activityTypes.reassignAppointment:\r\n\r\n return true;\r\n default:\r\n return false;\r\n }\r\n }\r\n\r\n\r\n $ctrl.modules = [];\r\n $ctrl.masterActivities = [];\r\n $ctrl.filteredActivities = [];\r\n\r\n function onInit () {\r\n $ctrl.modules = _setModules();\r\n }\r\n\r\n $ctrl.resetFilter = function() {\r\n for (const module of $ctrl.modules) {\r\n module.selected = false;\r\n // $ctrl.modules[i].iconClass = $ctrl.modules[i].iconClass.replace(\" icon-white\", \"\");\r\n }\r\n $ctrl.filteredActivities = getFilteredActivities();\r\n }\r\n\r\n $ctrl.filterSelectedLogs = function () {\r\n $ctrl.filteredActivities = getFilteredActivities();\r\n }\r\n\r\n function _setModules() {\r\n return [\r\n {\r\n key: 'appointmentGroup',\r\n moduleName: 'appointmentGroup',\r\n enabled: true,\r\n selected: false,\r\n iconClass: 'icon sm aa-icon-core-calendar-icon-000000',\r\n }, \r\n {\r\n key: 'phoneGroup',\r\n moduleName: 'phoneGroup',\r\n enabled: true,\r\n selected: false,\r\n iconClass: 'icon sm aa-icon-core-phone-icon-000000',\r\n }, \r\n {\r\n key: 'notesGroup',\r\n moduleName: 'notesGroup',\r\n enabled: true,\r\n selected: false,\r\n iconClass: 'icon sm aa-icon-core-takenote-icon-000000',\r\n }, \r\n {\r\n key: 'printGroup',\r\n moduleName: 'printGroup',\r\n enabled: true,\r\n selected: false,\r\n iconClass: 'icon sm aa-icon-core-print-icon-000000',\r\n }, \r\n {\r\n key: 'mailGroup',\r\n moduleName: 'mailGroup',\r\n enabled: true,\r\n selected: false,\r\n iconClass: 'icon sm',\r\n iconName: 'email-sms',\r\n }, \r\n {\r\n key: 'crmGroup',\r\n moduleName: 'crmGroup',\r\n enabled: true,\r\n selected: false,\r\n iconClass: 'icon sm aa-icon-core-send-icon-000000',\r\n }, \r\n {\r\n key: 'oneToOneGroup',\r\n moduleName: 'oneToOneGroup',\r\n enabled: true,\r\n selected: false,\r\n iconClass: 'icon sm aa-icon-1-2-1-icon-46',\r\n }, \r\n {\r\n key: 'pandoGroup',\r\n moduleName: 'pandoGroup',\r\n enabled: true,\r\n selected: false,\r\n iconClass: 'icon sm aa-icon-pandoicon-1',\r\n }, \r\n {\r\n key: 'webGroup',\r\n moduleName: 'web',\r\n enabled: true,\r\n selected: false,\r\n iconClass: 'icon sm',\r\n iconName: 'web',\r\n },\r\n {\r\n key: 'reviewProGroup',\r\n moduleName: 'reviewPro',\r\n enabled: false,\r\n selected: false,\r\n iconClass: 'icon sm',\r\n iconName: 'reviews',\r\n },\r\n {\r\n key: 'geoAlertGroup',\r\n moduleName: 'geoAlert',\r\n enabled: false,\r\n selected: false,\r\n iconClass: 'icon ',\r\n iconName: 'geoalert',\r\n }\r\n ];\r\n }\r\n \r\n function getModuleGroupName(activityType) {\r\n switch (activityType) {\r\n case activityTypes.logNote:\r\n case activityTypes.logCrmProspectAlert:\r\n case activityTypes.logCrmProspectStatus:\r\n case activityTypes.logCrmRemark:\r\n case activityTypes.logCrmShowroomRemark:\r\n case activityTypes.logCrmCustomerWillBeBack:\r\n case activityTypes.autofiDigitalRetailing:\r\n case activityTypes.autofiDigitalRetailingCreditApp:\r\n case activityTypes.autofiDigitalRetailingApptSched:\r\n case activityTypes.export:\r\n case activityTypes.appraisal:\r\n case activityTypes.dmsPush:\r\n return 'notesGroup';\r\n case activityTypes.logPhoneCall:\r\n case activityTypes.completePhoneCall:\r\n case activityTypes.expirePhoneCall:\r\n case activityTypes.logCrmInboundCall:\r\n case activityTypes.logCrmOutboundCall:\r\n return 'phoneGroup';\r\n case activityTypes.scheduleAppointment:\r\n case activityTypes.rescheduleAppointment:\r\n case activityTypes.reassignAppointment:\r\n case activityTypes.completeAppointment:\r\n case activityTypes.expireAppointment:\r\n case activityTypes.cancelAppointment:\r\n return 'appointmentGroup';\r\n case activityTypes.cancelPhoneCall:\r\n case activityTypes.schedulePhoneCall:\r\n case activityTypes.reschedulePhoneCall:\r\n case activityTypes.reassignPhoneCall:\r\n return 'phoneGroup';\r\n case activityTypes.printTemplate:\r\n return 'printGroup';\r\n case activityTypes.printOfferLetter:\r\n return 'printGroup';\r\n case activityTypes.sendOneToOneMail:\r\n case activityTypes.sendOneToOneEmail:\r\n case activityTypes.purlView:\r\n case activityTypes.purlSubmit:\r\n case activityTypes.sendIntelMrktMail:\r\n case activityTypes.sendIntelMrktEmail:\r\n case activityTypes.purlViewIntelMrkt:\r\n case activityTypes.purlSubmitIntelMrkt:\r\n case activityTypes.facebookAdded:\r\n case activityTypes.facebookVerified:\r\n case activityTypes.sendFordCreditMailers:\r\n case activityTypes.sendServiceMarketingMail:\r\n case activityTypes.sendServiceMarketingEmail:\r\n return 'oneToOneGroup';\r\n case activityTypes.logCrmOutboundEmail:\r\n case activityTypes.logCrmInboundEmail:\r\n case activityTypes.sendCrmLetter:\r\n case activityTypes.sendEmailTemplate:\r\n case activityTypes.sendEmail:\r\n case activityTypes.emailReply:\r\n case activityTypes.emailReplyCustomer:\r\n case activityTypes.emailReplyDealer:\r\n case activityTypes.textMessage:\r\n case activityTypes.autoAssistNewHotLead:\r\n case activityTypes.autoAssistCommSent:\r\n case activityTypes.autoAssistCustomerReplied:\r\n case activityTypes.sendCrmTextMessage:\r\n case activityTypes.crmInboundTextMessage:\r\n case activityTypes.crmOutboundTextMessage:\r\n return 'mailGroup';\r\n case activityTypes.pushToCrm:\r\n case activityTypes.sendCrmReminder:\r\n return 'crmGroup';\r\n case activityTypes.sentSLMEmailOffer:\r\n case activityTypes.pandoProcess:\r\n case activityTypes.customerPandoProcess:\r\n return 'pandoGroup';\r\n case activityTypes.websiteEngaged:\r\n case activityTypes.websiteLeadSubmission:\r\n return 'webGroup';\r\n case activityTypes.reviewProServiceRating:\r\n case activityTypes.reviewProSalesRating:\r\n return 'reviewProGroup';\r\n case activityTypes.geoAlertActive:\r\n case activityTypes.geoAlertCampaign:\r\n case activityTypes.geoAlertAd:\r\n return 'geoAlertGroup';\r\n\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./auto-assistant.component.html');\n\nimport angular from 'angular';\r\nimport {ActivityTypes as activityTypes} from '../../constants'\r\n\r\nangular.module('AaApp.Opp').component('autoAssistant', {\r\n templateUrl: '/app/components/deal-sheet/auto-assistant.component.html',\r\n controller: AutoAssistantController,\r\n bindings: {\r\n opportunityId: '<',\r\n dealerId: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction AutoAssistantController(\r\n toaster, messageTypes, $translate, successKey,\r\n $uibModal, $document,\r\n autoAssistantService\r\n) {\r\n const $ctrl = this;\r\n\r\n $ctrl.activityTypes = activityTypes;\r\n\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.endAutoAssistCommunication = endAutoAssistCommunication;\r\n $ctrl.getIsAutoAssistantConversationOpenVariable = getIsAutoAssistantConversationOpenVariable;\r\n $ctrl.getAutoAssistantConversation = getAutoAssistantConversation;\r\n $ctrl.isAutoAssistantConversationOpen = false;\r\n $ctrl.isLoaded = false;\r\n $ctrl.conversationTranslateButtonKey = \"viewFullConversation\";\r\n $ctrl.conversationTranslatePopoverKey = \"\";\r\n $ctrl.hasConversation = false;\r\n \r\n function onChanges() {\r\n if ($ctrl.opportunityId && !$ctrl.isLoaded) {\r\n $ctrl.isLoaded = true;\r\n autoAssistantService.getConversicaConversationStatuses($ctrl.dealerId, $ctrl.opportunityId).then(function (data) {\r\n if (data && data.length > 0) {\r\n var conversicaStatus = data.find((status) => status.entityId == $ctrl.opportunityId);\r\n if (conversicaStatus) {\r\n if (conversicaStatus.hasConversation) {\r\n $ctrl.hasConversation = true;\r\n $ctrl.conversationTranslateButtonKey = \"viewPastConversations\";\r\n if (conversicaStatus.isActive) {\r\n $ctrl.conversationTranslateButtonKey = \"viewCurrentConversation\";\r\n $ctrl.conversationTranslatePopoverKey = \"viewFullConversationPopoverText\";\r\n $ctrl.isAutoAssistantConversationOpen = true;\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n }\r\n \r\n function endAutoAssistCommunication() {\r\n if ($ctrl.isAutoAssistantConversationOpen) {\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"endCommunicationModalTitle\";\r\n },\r\n message: function () {\r\n return \"endCommunicationModalMessage\";\r\n },\r\n showSubmitButton: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"endCommunication\";\r\n },\r\n headerTextClass: function () {\r\n return 'modal-header-text end-auto-assist-modal-title';\r\n }\r\n }\r\n });\r\n\r\n //\"Yes\" clicked.\r\n modal.result.then(function () {\r\n endCommunicationAction();\r\n });\r\n }\r\n }\r\n\r\n function getIsAutoAssistantConversationOpenVariable() {\r\n return $ctrl.isAutoAssistantConversationOpen;\r\n }\r\n\r\n function endCommunicationAction() {\r\n autoAssistantService.endCommunication($ctrl.opportunityId).then(function () {\r\n $ctrl.isAutoAssistantConversationOpen = false;\r\n $translate([successKey, 'changesSaved']).then(function (translations) {\r\n toaster.pop({\r\n type: messageTypes.success,\r\n title: translations[successKey],\r\n body: translations['changesSaved']\r\n });\r\n });\r\n });\r\n }\r\n \r\n function getAutoAssistantConversation() {\r\n return autoAssistantService.getAutoAssistFullView($ctrl.dealerId, $ctrl.opportunityId);\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./alert-relevant-info.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('alertRelevantInfo', {\r\n templateUrl: '/app/components/deal-sheet/alert-relevant-info.component.html',\r\n controller: AlertRelevantInfoController,\r\n bindings: {\r\n alert: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction AlertRelevantInfoController(alertTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.alertTypes = alertTypes;\r\n $ctrl.absoluteValue = Math.abs;\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./alert-script-type-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('alertScriptTypeSelect', {\r\n templateUrl: '/app/components/deal-sheet/alert-script-type-select.component.html',\r\n controller: AlertScriptTypeSelectController,\r\n bindings: {\r\n alerts: '<',\r\n contract: '<',\r\n permissions: '<',\r\n isCrossMake: '<',\r\n showPrivateOfferScript: '<',\r\n showPrivateOfferPreApprovalScript: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction AlertScriptTypeSelectController(_, alertTypes, alertScriptTypes, saleTypes, conquestTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.selectedAlertScriptType;\r\n $ctrl.alertTypeKeys;\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.conquestTypes = conquestTypes;\r\n $ctrl.alertTypes = alertTypes;\r\n $ctrl.alertScriptTypes = alertScriptTypes;\r\n $ctrl.changeAlertType = changeAlertType;\r\n $ctrl.changeScriptType = changeScriptType;\r\n $ctrl.isConquestScript = isConquestScript;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function init() {\r\n $ctrl.alertTypeKeys = _.invert(alertTypes);\r\n }\r\n\r\n function onChanges(changes) {\r\n if (((changes.alerts && changes.alerts.currentValue) || (changes.contract && changes.contract.currentValue)\r\n || (changes.permissions && changes.permissions.currentValue)) && $ctrl.alerts && $ctrl.contract && $ctrl.permissions) {\r\n \r\n if ($ctrl.showPrivateOfferScript) {\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.privateOffer);\r\n }\r\n else if ($ctrl.showPrivateOfferPreApprovalScript) {\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.privateOfferWithPreApproval);\r\n }\r\n else {\r\n for (var i = 0; i < $ctrl.alerts.length; i++) {\r\n var alert = $ctrl.alerts[i];\r\n\r\n if (alert != null) {\r\n changeAlertType(alert.type);\r\n break;\r\n }\r\n }\r\n\r\n if (!$ctrl.selectedAlertScriptType) {\r\n if (isConquestScript()) {\r\n changeScriptType(alertScriptTypes.conquest);\r\n }\r\n else if ($ctrl.contract.saleType == saleTypes.cash) {\r\n changeScriptType(alertScriptTypes.cash);\r\n }\r\n else {\r\n changeScriptType(alertScriptTypes.phone);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n function changeScriptType(scriptType) {\r\n $ctrl.selectedAlertType = null;\r\n\r\n setSelectedAlertScriptType(scriptType);\r\n }\r\n\r\n function changeAlertType(alertType) {\r\n $ctrl.selectedAlertType = alertType;\r\n\r\n switch (alertType) {\r\n case alertTypes.alert:\r\n case alertTypes.flexAlert:\r\n if ($ctrl.isCrossMake) {\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.alertCrossMakeUsed);\r\n break;\r\n }\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.alert);\r\n break;\r\n case alertTypes.appointment:\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.appointment);\r\n break;\r\n case alertTypes.inMarket:\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.inMarket);\r\n break;\r\n case alertTypes.inMarketEngaged:\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.inMarketEngaged);\r\n break;\r\n case alertTypes.contractEnd:\r\n if ($ctrl.contract.saleType == saleTypes.lease) {\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.leaseEnd);\r\n break;\r\n }\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.contractEnd);\r\n break;\r\n case alertTypes.mileage:\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.mileage);\r\n break;\r\n case alertTypes.service:\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.service);\r\n break;\r\n case alertTypes.warranty:\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.warranty);\r\n break;\r\n default:\r\n setSelectedAlertScriptType($ctrl.alertScriptTypes.phone);\r\n }\r\n }\r\n\r\n function setSelectedAlertScriptType(alertScriptType) {\r\n $ctrl.selectedAlertScriptType = alertScriptType;\r\n\r\n $ctrl.onSelect({ alertScriptType: $ctrl.selectedAlertScriptType });\r\n }\r\n\r\n function isConquestScript() {\r\n if ($ctrl.contract && $ctrl.permissions) {\r\n return ($ctrl.contract.conquestType == conquestTypes.notConverted && $ctrl.permissions.editConquestContract)\r\n || ($ctrl.contract.conquestType == conquestTypes.creditConvert && $ctrl.permissions.editConquestContract\r\n && (!$ctrl.contract.term || !$ctrl.contract.paymentMinimum || !$ctrl.contract.paymentMaximum))\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./alert-script.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('alertScript', {\r\n templateUrl: '/app/components/deal-sheet/alert-script.component.html',\r\n controller: AlertScriptController,\r\n bindings: {\r\n type: '<',\r\n culture: '<',\r\n opportunity: '<',\r\n userFullName: '<',\r\n isCrossMake: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction AlertScriptController(_, alertScriptTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.alertScriptTypes = alertScriptTypes;\r\n $ctrl.alertScriptTypeKeys;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.alertScriptTypeKeys = _.invert(alertScriptTypes);\r\n }\r\n}\r\n","ActivityController.$inject = [\"activityResults\", \"activitySubTypes\", \"legacyService\", \"templateService\", \"customerProcessStatuses\"];\n\n/* injects from baggage-loader */\nrequire('./activity.component.html');\n\nimport { RATING_ICONS, RATING_TITLES } from '../../constants/review-pro-rating';\nimport { ActivityTypes as activityTypes } from '../../constants';\nimport angular from 'angular';\nimport _ from 'lodash';\nangular.module('AaApp.Opp').component('activity', {\n templateUrl: '/app/components/deal-sheet/activity.component.html',\n controller: ActivityController,\n bindings: {\n activity: '<',\n type: '<',\n submittedBy: '<',\n assignedTo: '<',\n notes: '<',\n result: '<',\n templateName: '<',\n fileUrl: '<',\n submittedDateTime: '<',\n scheduledDateTime: '<',\n activityActionId: '<',\n firstOpenDate: '<',\n lastOpenDate: '<',\n totalCount: '<',\n emailFrom: '<',\n emailTo: '<',\n emailSubject: '<',\n contactPhone: '<',\n oneToOneKey: '<',\n typeOfCall: '<',\n templateEmailId: '<',\n accessCode: '<',\n fullName: '<',\n mobileView: '<'\n }\n});\n\nfunction ActivityController(activityResults, activitySubTypes, legacyService, templateService, customerProcessStatuses) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.activityTypeTranslateKeys;\n $ctrl.activityResultTranslateKeys;\n $ctrl.playableUrl = null;\n $ctrl.activityResults = activityResults;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.activitySubTypes = activitySubTypes;\n $ctrl.activityTypes = activityTypes;\n $ctrl.downloadUpgradeProposal = downloadUpgradeProposal;\n $ctrl.getIconClass = getIconClass;\n $ctrl.getProcessStatusClass = getProcessStatusClass;\n $ctrl.hasAudioLink = hasAudioLink;\n $ctrl.viewTemplateOutput = viewTemplateOutput;\n $ctrl.ratingIcon = null;\n $ctrl.ratingTitle = null;\n $ctrl.customerProcessStatuses = customerProcessStatuses;\n\n function onChanges(changes) {\n if (changes.activity && changes.activity.currentValue && (changes.activity.currentValue.type == $ctrl.activityTypes.reviewProServiceRating || changes.activity.currentValue.type == $ctrl.activityTypes.reviewProSalesRating)) {\n $ctrl.ratingIcon = RATING_ICONS[$ctrl.activity.reviewRating];\n $ctrl.ratingTitle = RATING_TITLES[$ctrl.activity.reviewRating];\n }\n }\n\n function init() {\n $ctrl.activityTypeTranslateKeys = _.invert(activityTypes);\n $ctrl.activityResultTranslateKeys = _.assign({}, _.invert(activityResults.phoneCall), _.invert(activityResults.appointment), _.invert(activityResults.note));\n }\n\n function downloadUpgradeProposal() {\n legacyService.downloadUpgradeProposalByActivity({\n activityId: $ctrl.activity.activityId\n });\n }\n\n function hasAudioLink() {\n return isPhoneType() && hasRecordingUrl();\n }\n\n function hasRecordingUrl() {\n return $ctrl.activity && $ctrl.activity.recordingUrl && $ctrl.activity.recordingUrl !== '';\n }\n\n function isPhoneType() {\n switch ($ctrl.type) {\n case activityTypes.logPhoneCall:\n case activityTypes.schedulePhoneCall:\n case activityTypes.scheduleAppointment:\n return true;\n }\n\n return false;\n }\n\n function getProcessStatusClass(status) {\n var statusClass = '';\n\n switch (status) {\n case customerProcessStatuses.new:\n statusClass = 'process-status-new';\n break;\n\n case customerProcessStatuses.inProgress:\n case customerProcessStatuses.inProgressExternal:\n statusClass = 'process-status-in-progress';\n break;\n\n case customerProcessStatuses.success:\n statusClass = 'process-status-completed';\n break;\n\n case customerProcessStatuses.overdue:\n case customerProcessStatuses.cancelled:\n case customerProcessStatuses.autoCancelled:\n statusClass = 'process-status-overdue';\n break;\n\n case customerProcessStatuses.waiting:\n statusClass = 'process-status-waiting';\n break;\n\n default:\n statusClass = 'process-status-waiting';\n }\n\n return statusClass;\n }\n\n function getIconClass() {\n switch ($ctrl.type) {\n case activityTypes.logNote:\n case activityTypes.logCrmProspectAlert:\n case activityTypes.logCrmProspectStatus:\n case activityTypes.logCrmRemark:\n case activityTypes.logCrmShowroomRemark:\n case activityTypes.logCrmCustomerWillBeBack:\n case activityTypes.autofiDigitalRetailing:\n case activityTypes.autofiDigitalRetailingCreditApp:\n case activityTypes.autofiDigitalRetailingApptSched:\n case activityTypes.export:\n case activityTypes.appraisal:\n case activityTypes.dmsPush:\n return 'aa-icon-core-takenote-icon-000000';\n\n case activityTypes.logPhoneCall:\n case activityTypes.completePhoneCall:\n case activityTypes.expirePhoneCall:\n case activityTypes.logCrmInboundCall:\n case activityTypes.logCrmOutboundCall:\n return 'aa-icon-core-phone-icon-000000';\n\n case activityTypes.scheduleAppointment:\n case activityTypes.rescheduleAppointment:\n case activityTypes.reassignAppointment:\n case activityTypes.completeAppointment:\n case activityTypes.expireAppointment:\n case activityTypes.cancelAppointment:\n return 'aa-icon-core-calendar-icon-000000';\n\n case activityTypes.cancelPhoneCall:\n case activityTypes.schedulePhoneCall:\n case activityTypes.reschedulePhoneCall:\n case activityTypes.reassignPhoneCall:\n return 'aa-icon-core-schedule-phone-call-000002';\n\n case activityTypes.printTemplate:\n return 'aa-icon-core-print-icon-000000';\n\n case activityTypes.printOfferLetter:\n return 'aa-icon-view-offer-letter';\n\n case activityTypes.pushToCrm:\n return 'aa-icon-core-send-icon-000000';\n\n case activityTypes.sendOneToOneMail:\n case activityTypes.sendOneToOneEmail:\n case activityTypes.sendPartnerExportMail:\n case activityTypes.purlView:\n case activityTypes.purlSubmit:\n case activityTypes.facebookAdded:\n case activityTypes.facebookVerified:\n return 'aa-icon-1-2-1-icon-46';\n\n case activityTypes.logCrmOutboundEmail:\n case activityTypes.logCrmInboundEmail:\n case activityTypes.sendCrmLetter:\n case activityTypes.sendEmailTemplate:\n case activityTypes.sendEmail:\n case activityTypes.emailReply:\n case activityTypes.emailReplyCustomer:\n case activityTypes.emailReplyDealer:\n return 'aa-icon-core-email-icon-000000';\n\n case activityTypes.sendCrmReminder:\n return 'aa-icon-aa-core-icons-copy-48';\n\n case activityTypes.sendCrmTextMessage:\n return 'aa-icon-aa-core-icons-copy-47';\n\n case activityTypes.sentSLMEmailOffer:\n case activityTypes.pandoProcess:\n case activityTypes.customerPandoProcess:\n return 'aa-icon-pandoicon-1';\n\n case activityTypes.websiteEngaged:\n case activityTypes.websiteLeadSubmission:\n return 'web';\n\n default:\n return '';\n }\n }\n\n function viewTemplateOutput() {\n templateService.downloadPdf($ctrl.activity.templateOutputId, $ctrl.activity.templateName);\n }\n}","import \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nActivityListController.$inject = [\"opportunityStatuses\", \"ActivityActionEnum\", \"activityStatusTypes\", \"localePaths\", \"$translatePartialLoader\", \"dealSheetService\", \"dealSheetTabs\"];\n\n/* injects from baggage-loader */\nrequire('./activity-list.component.html');\n\nimport angular from 'angular';\nimport { ActivityTypes as activityTypes } from '../../constants';\nangular.module('AaApp.Opp').component('activityList', {\n templateUrl: '/app/components/deal-sheet/activity-list.component.html',\n controller: ActivityListController,\n bindings: {\n activities: '<',\n permissions: '<',\n status: '<',\n users: '<',\n opportunityId: '<',\n onScheduleSubmit: '&',\n assignedUserFullName: '<',\n assignedUserId: '<',\n maxScheduleFutureDays: '<',\n ownerUserInfo: '<',\n defaultTab: '<',\n expirationDate: '<',\n hasReviewPro: '<',\n hasGeoAlert: '<',\n hasAutoAssist: '<',\n onSetAsDefault: '&',\n isEuroLite: '<',\n fullName: '<',\n onRefresh: '&',\n mobileView: '<',\n dealerId: '<'\n }\n});\n/* @ngInject */\n\nfunction ActivityListController(opportunityStatuses, ActivityActionEnum, activityStatusTypes, localePaths, $translatePartialLoader, dealSheetService, dealSheetTabs) {\n var $ctrl = this;\n $ctrl.tabs = dealSheetTabs;\n $ctrl.activityTypes = activityTypes;\n $ctrl.opportunityStatuses = opportunityStatuses;\n $ctrl.nextAction = nextAction;\n $ctrl.rescheduleAction = rescheduleAction;\n $ctrl.reassignAction = reassignAction;\n $ctrl.cancelAction = cancelAction;\n $ctrl.$onInit = onInit;\n $ctrl.$onChanges = onChanges;\n $ctrl.latestScheduledActivity;\n $ctrl.scheduleModalParamObject = null;\n $ctrl.isCall = isCall;\n $ctrl.isAppointment = isAppointment;\n $translatePartialLoader.addPart(localePaths.oneToOne);\n\n function onChanges(changes) {\n $ctrl.scheduleModalParamObject = dealSheetService.getModalParamObject(null, $ctrl.opportunityId, null, $ctrl.assignedUserId, $ctrl.maxScheduleFutureDays, $ctrl.users, null, $ctrl.ownerUserInfo ? $ctrl.ownerUserInfo : null, $ctrl.expirationDate);\n\n if (changes.hasReviewPro && changes.hasReviewPro.currentValue) {\n enableModule('reviewProGroup');\n }\n\n if (changes.hasGeoAlert && changes.hasGeoAlert.currentValue) {\n enableModule('geoAlertGroup');\n }\n\n if (changes.activities && changes.activities.currentValue) {\n $ctrl.latestScheduledActivity = getLatestScheduledActivity();\n\n if ($ctrl.activities) {\n $ctrl.masterActivities = [];\n $ctrl.filteredActivities = [];\n\n for (var i = 0; i < $ctrl.activities.length; i++) {\n if ($ctrl.activities[i].type == $ctrl.activityTypes.reviewProServiceRating || $ctrl.activities[i].type == $ctrl.activityTypes.reviewProSalesRating) {\n enableModule('reviewProGroup');\n }\n\n if ($ctrl.activities[i].type == $ctrl.activityTypes.geoAlertActive || $ctrl.activities[i].type == $ctrl.activityTypes.geoAlertCampaign) {\n enableModule('geoAlertGroup');\n }\n\n $ctrl.masterActivities.push($ctrl.activities[i]);\n $ctrl.masterActivities[i].moduleGroupName = getModuleGroupName($ctrl.activities[i].type);\n $ctrl.masterActivities[i].listId = 5000 + i;\n }\n\n $ctrl.filterSelectedLogs();\n }\n }\n }\n\n function enableModule(key) {\n var foundModule = $ctrl.modules.filter(function (m) {\n return m.key === key;\n })[0];\n\n if (foundModule) {\n foundModule.enabled = true;\n }\n }\n\n function getFilteredActivities() {\n var activeModuleGroupNames = $ctrl.modules.filter(function (m) {\n return m.selected;\n }).map(function (m) {\n return m.key;\n }); // If no filters are enabled, include everything\n\n if (activeModuleGroupNames.length == 0) {\n return $ctrl.masterActivities.slice();\n }\n\n return $ctrl.masterActivities.filter(function (activity) {\n return activeModuleGroupNames.includes(activity.moduleGroupName);\n });\n }\n\n function modalClick(modalType) {\n $ctrl.scheduleModalParamObject.modalType = modalType;\n $ctrl.scheduleModalParamObject.activityObject = $ctrl.latestScheduledActivity;\n dealSheetService.openScheduleModal($ctrl.scheduleModalParamObject, onScheduleCallApptSubmit);\n }\n\n function onScheduleCallApptSubmit() {\n $ctrl.onScheduleSubmit();\n }\n\n function nextAction() {\n modalClick(getCompleteActionType($ctrl.latestScheduledActivity.activityActionId));\n }\n\n function rescheduleAction() {\n modalClick(getRescheduleActionType($ctrl.latestScheduledActivity.activityActionId));\n }\n\n function reassignAction() {\n modalClick(getReAssignActionType($ctrl.latestScheduledActivity.activityActionId));\n }\n\n function cancelAction() {\n modalClick(getCancelActionType($ctrl.latestScheduledActivity.activityActionId));\n } // based on $ctrl.latestScheduledActivity.activityActionId remap dialog action type for Reschedule\n\n\n function getRescheduleActionType(sourceActionType) {\n switch (sourceActionType) {\n case ActivityActionEnum.Schedule_Call:\n case ActivityActionEnum.Reschedule_Call:\n case ActivityActionEnum.Reassign_Call:\n return ActivityActionEnum.Reschedule_Call;\n\n case ActivityActionEnum.Schedule_Appt:\n case ActivityActionEnum.Reschedule_Appt:\n case ActivityActionEnum.Reassign_Appt:\n return ActivityActionEnum.Reschedule_Appt;\n }\n } // based on $ctrl.latestScheduledActivity.activityActionId remap dialog action type for Reassign\n\n\n function getReAssignActionType(sourceActionType) {\n switch (sourceActionType) {\n case ActivityActionEnum.Schedule_Call:\n case ActivityActionEnum.Reschedule_Call:\n case ActivityActionEnum.Reassign_Call:\n return ActivityActionEnum.Reassign_Call;\n\n case ActivityActionEnum.Schedule_Appt:\n case ActivityActionEnum.Reschedule_Appt:\n case ActivityActionEnum.Reassign_Appt:\n return ActivityActionEnum.Reassign_Appt;\n }\n } // based on $ctrl.latestScheduledActivity.activityActionId remap dialog action type for Cancel\n\n\n function getCancelActionType(sourceActionType) {\n switch (sourceActionType) {\n case ActivityActionEnum.Schedule_Appt:\n case ActivityActionEnum.Reschedule_Appt:\n case ActivityActionEnum.Reassign_Appt:\n return ActivityActionEnum.Cancel_Appt;\n\n case ActivityActionEnum.Schedule_Call:\n case ActivityActionEnum.Reschedule_Call:\n case ActivityActionEnum.Reassign_Call:\n return ActivityActionEnum.Cancel_Call;\n }\n } // based on $ctrl.latestScheduledActivity.activityActionId remap dialog action type for Complete\n\n\n function getCompleteActionType(sourceActionType) {\n switch (sourceActionType) {\n case ActivityActionEnum.Schedule_Appt:\n case ActivityActionEnum.Reschedule_Appt:\n case ActivityActionEnum.Reassign_Appt:\n return ActivityActionEnum.Appointment_Completed;\n\n case ActivityActionEnum.Schedule_Call:\n case ActivityActionEnum.Reschedule_Call:\n case ActivityActionEnum.Reassign_Call:\n return ActivityActionEnum.Phone_Call_Completed;\n }\n }\n\n function isCall(sourceActionType) {\n switch (sourceActionType) {\n case ActivityActionEnum.Schedule_Call:\n case ActivityActionEnum.Reschedule_Call:\n case ActivityActionEnum.Reassign_Call:\n return true;\n }\n\n return false;\n }\n\n function isAppointment(sourceActionType) {\n switch (sourceActionType) {\n case ActivityActionEnum.Schedule_Appt:\n case ActivityActionEnum.Reschedule_Appt:\n case ActivityActionEnum.Reassign_Appt:\n return true;\n }\n\n return false;\n }\n\n function getLatestScheduledActivity() {\n var scheduledActivities = [];\n\n for (var i = 0; i < $ctrl.activities.length; i++) {\n var activity = $ctrl.activities[i];\n\n if (activity.activityStatusId != activityStatusTypes.completed) {\n if (activityScheduled(activity)) {\n scheduledActivities.push(activity);\n }\n }\n }\n\n scheduledActivities.sort(bySubmittedDateTime);\n return scheduledActivities.length > 0 ? scheduledActivities[scheduledActivities.length - 1] : null;\n } // sort criteria\n\n\n function bySubmittedDateTime(activity1, activity2) {\n return new Date(activity1.submittedDateTime).getTime() - new Date(activity2.submittedDateTime).getTime();\n }\n\n function activityScheduled(activity) {\n switch (activity.type) {\n case ActivityActionEnum:\n case $ctrl.activityTypes.reschedulePhoneCall:\n case $ctrl.activityTypes.schedulePhoneCall:\n case $ctrl.activityTypes.reassignPhoneCall:\n case $ctrl.activityTypes.scheduleAppointment:\n case $ctrl.activityTypes.rescheduleAppointment:\n case $ctrl.activityTypes.reassignAppointment:\n return true;\n\n default:\n return false;\n }\n }\n\n $ctrl.modules = [];\n $ctrl.masterActivities = [];\n $ctrl.filteredActivities = [];\n\n function onInit() {\n $ctrl.modules = _setModules();\n }\n\n $ctrl.resetFilter = function () {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = $ctrl.modules[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var module = _step.value;\n module.selected = false; // $ctrl.modules[i].iconClass = $ctrl.modules[i].iconClass.replace(\" icon-white\", \"\");\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n $ctrl.filteredActivities = getFilteredActivities();\n };\n\n $ctrl.filterSelectedLogs = function () {\n $ctrl.filteredActivities = getFilteredActivities();\n };\n\n function _setModules() {\n return [{\n key: 'appointmentGroup',\n moduleName: 'appointmentGroup',\n enabled: true,\n selected: false,\n iconClass: 'icon sm aa-icon-core-calendar-icon-000000'\n }, {\n key: 'phoneGroup',\n moduleName: 'phoneGroup',\n enabled: true,\n selected: false,\n iconClass: 'icon sm aa-icon-core-phone-icon-000000'\n }, {\n key: 'notesGroup',\n moduleName: 'notesGroup',\n enabled: true,\n selected: false,\n iconClass: 'icon sm aa-icon-core-takenote-icon-000000'\n }, {\n key: 'printGroup',\n moduleName: 'printGroup',\n enabled: true,\n selected: false,\n iconClass: 'icon sm aa-icon-core-print-icon-000000'\n }, {\n key: 'mailGroup',\n moduleName: 'mailGroup',\n enabled: true,\n selected: false,\n iconClass: 'icon sm',\n iconName: 'email-sms'\n }, {\n key: 'crmGroup',\n moduleName: 'crmGroup',\n enabled: true,\n selected: false,\n iconClass: 'icon sm aa-icon-core-send-icon-000000'\n }, {\n key: 'oneToOneGroup',\n moduleName: 'oneToOneGroup',\n enabled: true,\n selected: false,\n iconClass: 'icon sm aa-icon-1-2-1-icon-46'\n }, {\n key: 'pandoGroup',\n moduleName: 'pandoGroup',\n enabled: true,\n selected: false,\n iconClass: 'icon sm aa-icon-pandoicon-1'\n }, {\n key: 'webGroup',\n moduleName: 'web',\n enabled: true,\n selected: false,\n iconClass: 'icon sm',\n iconName: 'web'\n }, {\n key: 'reviewProGroup',\n moduleName: 'reviewPro',\n enabled: false,\n selected: false,\n iconClass: 'icon sm',\n iconName: 'reviews'\n }, {\n key: 'geoAlertGroup',\n moduleName: 'geoAlert',\n enabled: false,\n selected: false,\n iconClass: 'icon ',\n iconName: 'geoalert'\n }];\n }\n\n function getModuleGroupName(activityType) {\n switch (activityType) {\n case activityTypes.logNote:\n case activityTypes.logCrmProspectAlert:\n case activityTypes.logCrmProspectStatus:\n case activityTypes.logCrmRemark:\n case activityTypes.logCrmShowroomRemark:\n case activityTypes.logCrmCustomerWillBeBack:\n case activityTypes.autofiDigitalRetailing:\n case activityTypes.autofiDigitalRetailingCreditApp:\n case activityTypes.autofiDigitalRetailingApptSched:\n case activityTypes.export:\n case activityTypes.appraisal:\n case activityTypes.dmsPush:\n return 'notesGroup';\n\n case activityTypes.logPhoneCall:\n case activityTypes.completePhoneCall:\n case activityTypes.expirePhoneCall:\n case activityTypes.logCrmInboundCall:\n case activityTypes.logCrmOutboundCall:\n return 'phoneGroup';\n\n case activityTypes.scheduleAppointment:\n case activityTypes.rescheduleAppointment:\n case activityTypes.reassignAppointment:\n case activityTypes.completeAppointment:\n case activityTypes.expireAppointment:\n case activityTypes.cancelAppointment:\n return 'appointmentGroup';\n\n case activityTypes.cancelPhoneCall:\n case activityTypes.schedulePhoneCall:\n case activityTypes.reschedulePhoneCall:\n case activityTypes.reassignPhoneCall:\n return 'phoneGroup';\n\n case activityTypes.printTemplate:\n return 'printGroup';\n\n case activityTypes.printOfferLetter:\n return 'printGroup';\n\n case activityTypes.sendOneToOneMail:\n case activityTypes.sendOneToOneEmail:\n case activityTypes.purlView:\n case activityTypes.purlSubmit:\n case activityTypes.sendIntelMrktMail:\n case activityTypes.sendIntelMrktEmail:\n case activityTypes.purlViewIntelMrkt:\n case activityTypes.purlSubmitIntelMrkt:\n case activityTypes.facebookAdded:\n case activityTypes.facebookVerified:\n case activityTypes.sendFordCreditMailers:\n case activityTypes.sendServiceMarketingMail:\n case activityTypes.sendServiceMarketingEmail:\n return 'oneToOneGroup';\n\n case activityTypes.logCrmOutboundEmail:\n case activityTypes.logCrmInboundEmail:\n case activityTypes.sendCrmLetter:\n case activityTypes.sendEmailTemplate:\n case activityTypes.sendEmail:\n case activityTypes.emailReply:\n case activityTypes.emailReplyCustomer:\n case activityTypes.emailReplyDealer:\n case activityTypes.textMessage:\n case activityTypes.autoAssistNewHotLead:\n case activityTypes.autoAssistCommSent:\n case activityTypes.autoAssistCustomerReplied:\n case activityTypes.sendCrmTextMessage:\n case activityTypes.crmInboundTextMessage:\n case activityTypes.crmOutboundTextMessage:\n return 'mailGroup';\n\n case activityTypes.pushToCrm:\n case activityTypes.sendCrmReminder:\n return 'crmGroup';\n\n case activityTypes.sentSLMEmailOffer:\n case activityTypes.pandoProcess:\n case activityTypes.customerPandoProcess:\n return 'pandoGroup';\n\n case activityTypes.websiteEngaged:\n case activityTypes.websiteLeadSubmission:\n return 'webGroup';\n\n case activityTypes.reviewProServiceRating:\n case activityTypes.reviewProSalesRating:\n return 'reviewProGroup';\n\n case activityTypes.geoAlertActive:\n case activityTypes.geoAlertCampaign:\n case activityTypes.geoAlertAd:\n return 'geoAlertGroup';\n\n default:\n return '';\n }\n }\n}","import \"core-js/modules/es6.array.find\";\nAutoAssistantController.$inject = [\"toaster\", \"messageTypes\", \"$translate\", \"successKey\", \"$uibModal\", \"$document\", \"autoAssistantService\"];\n\n/* injects from baggage-loader */\nrequire('./auto-assistant.component.html');\n\nimport angular from 'angular';\nimport { ActivityTypes as activityTypes } from '../../constants';\nangular.module('AaApp.Opp').component('autoAssistant', {\n templateUrl: '/app/components/deal-sheet/auto-assistant.component.html',\n controller: AutoAssistantController,\n bindings: {\n opportunityId: '<',\n dealerId: '<'\n }\n});\n/* @ngInject */\n\nfunction AutoAssistantController(toaster, messageTypes, $translate, successKey, $uibModal, $document, autoAssistantService) {\n var $ctrl = this;\n $ctrl.activityTypes = activityTypes;\n $ctrl.$onChanges = onChanges;\n $ctrl.endAutoAssistCommunication = endAutoAssistCommunication;\n $ctrl.getIsAutoAssistantConversationOpenVariable = getIsAutoAssistantConversationOpenVariable;\n $ctrl.getAutoAssistantConversation = getAutoAssistantConversation;\n $ctrl.isAutoAssistantConversationOpen = false;\n $ctrl.isLoaded = false;\n $ctrl.conversationTranslateButtonKey = \"viewFullConversation\";\n $ctrl.conversationTranslatePopoverKey = \"\";\n $ctrl.hasConversation = false;\n\n function onChanges() {\n if ($ctrl.opportunityId && !$ctrl.isLoaded) {\n $ctrl.isLoaded = true;\n autoAssistantService.getConversicaConversationStatuses($ctrl.dealerId, $ctrl.opportunityId).then(function (data) {\n if (data && data.length > 0) {\n var conversicaStatus = data.find(function (status) {\n return status.entityId == $ctrl.opportunityId;\n });\n\n if (conversicaStatus) {\n if (conversicaStatus.hasConversation) {\n $ctrl.hasConversation = true;\n $ctrl.conversationTranslateButtonKey = \"viewPastConversations\";\n\n if (conversicaStatus.isActive) {\n $ctrl.conversationTranslateButtonKey = \"viewCurrentConversation\";\n $ctrl.conversationTranslatePopoverKey = \"viewFullConversationPopoverText\";\n $ctrl.isAutoAssistantConversationOpen = true;\n }\n }\n }\n }\n });\n }\n }\n\n function endAutoAssistCommunication() {\n if ($ctrl.isAutoAssistantConversationOpen) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"endCommunicationModalTitle\";\n },\n message: function message() {\n return \"endCommunicationModalMessage\";\n },\n showSubmitButton: function showSubmitButton() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"endCommunication\";\n },\n headerTextClass: function headerTextClass() {\n return 'modal-header-text end-auto-assist-modal-title';\n }\n }\n }); //\"Yes\" clicked.\n\n modal.result.then(function () {\n endCommunicationAction();\n });\n }\n }\n\n function getIsAutoAssistantConversationOpenVariable() {\n return $ctrl.isAutoAssistantConversationOpen;\n }\n\n function endCommunicationAction() {\n autoAssistantService.endCommunication($ctrl.opportunityId).then(function () {\n $ctrl.isAutoAssistantConversationOpen = false;\n $translate([successKey, 'changesSaved']).then(function (translations) {\n toaster.pop({\n type: messageTypes.success,\n title: translations[successKey],\n body: translations['changesSaved']\n });\n });\n });\n }\n\n function getAutoAssistantConversation() {\n return autoAssistantService.getAutoAssistFullView($ctrl.dealerId, $ctrl.opportunityId);\n }\n}","AlertRelevantInfoController.$inject = [\"alertTypes\"];\n\n/* injects from baggage-loader */\nrequire('./alert-relevant-info.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('alertRelevantInfo', {\n templateUrl: '/app/components/deal-sheet/alert-relevant-info.component.html',\n controller: AlertRelevantInfoController,\n bindings: {\n alert: '<'\n }\n});\n/* @ngInject */\n\nfunction AlertRelevantInfoController(alertTypes) {\n var $ctrl = this;\n $ctrl.alertTypes = alertTypes;\n $ctrl.absoluteValue = Math.abs;\n}","AlertScriptTypeSelectController.$inject = [\"_\", \"alertTypes\", \"alertScriptTypes\", \"saleTypes\", \"conquestTypes\"];\n\n/* injects from baggage-loader */\nrequire('./alert-script-type-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('alertScriptTypeSelect', {\n templateUrl: '/app/components/deal-sheet/alert-script-type-select.component.html',\n controller: AlertScriptTypeSelectController,\n bindings: {\n alerts: '<',\n contract: '<',\n permissions: '<',\n isCrossMake: '<',\n showPrivateOfferScript: '<',\n showPrivateOfferPreApprovalScript: '<',\n onSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction AlertScriptTypeSelectController(_, alertTypes, alertScriptTypes, saleTypes, conquestTypes) {\n var $ctrl = this;\n $ctrl.selectedAlertScriptType;\n $ctrl.alertTypeKeys;\n $ctrl.saleTypes = saleTypes;\n $ctrl.conquestTypes = conquestTypes;\n $ctrl.alertTypes = alertTypes;\n $ctrl.alertScriptTypes = alertScriptTypes;\n $ctrl.changeAlertType = changeAlertType;\n $ctrl.changeScriptType = changeScriptType;\n $ctrl.isConquestScript = isConquestScript;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n\n function init() {\n $ctrl.alertTypeKeys = _.invert(alertTypes);\n }\n\n function onChanges(changes) {\n if ((changes.alerts && changes.alerts.currentValue || changes.contract && changes.contract.currentValue || changes.permissions && changes.permissions.currentValue) && $ctrl.alerts && $ctrl.contract && $ctrl.permissions) {\n if ($ctrl.showPrivateOfferScript) {\n setSelectedAlertScriptType($ctrl.alertScriptTypes.privateOffer);\n } else if ($ctrl.showPrivateOfferPreApprovalScript) {\n setSelectedAlertScriptType($ctrl.alertScriptTypes.privateOfferWithPreApproval);\n } else {\n for (var i = 0; i < $ctrl.alerts.length; i++) {\n var alert = $ctrl.alerts[i];\n\n if (alert != null) {\n changeAlertType(alert.type);\n break;\n }\n }\n\n if (!$ctrl.selectedAlertScriptType) {\n if (isConquestScript()) {\n changeScriptType(alertScriptTypes.conquest);\n } else if ($ctrl.contract.saleType == saleTypes.cash) {\n changeScriptType(alertScriptTypes.cash);\n } else {\n changeScriptType(alertScriptTypes.phone);\n }\n }\n }\n }\n }\n\n function changeScriptType(scriptType) {\n $ctrl.selectedAlertType = null;\n setSelectedAlertScriptType(scriptType);\n }\n\n function changeAlertType(alertType) {\n $ctrl.selectedAlertType = alertType;\n\n switch (alertType) {\n case alertTypes.alert:\n case alertTypes.flexAlert:\n if ($ctrl.isCrossMake) {\n setSelectedAlertScriptType($ctrl.alertScriptTypes.alertCrossMakeUsed);\n break;\n }\n\n setSelectedAlertScriptType($ctrl.alertScriptTypes.alert);\n break;\n\n case alertTypes.appointment:\n setSelectedAlertScriptType($ctrl.alertScriptTypes.appointment);\n break;\n\n case alertTypes.inMarket:\n setSelectedAlertScriptType($ctrl.alertScriptTypes.inMarket);\n break;\n\n case alertTypes.inMarketEngaged:\n setSelectedAlertScriptType($ctrl.alertScriptTypes.inMarketEngaged);\n break;\n\n case alertTypes.contractEnd:\n if ($ctrl.contract.saleType == saleTypes.lease) {\n setSelectedAlertScriptType($ctrl.alertScriptTypes.leaseEnd);\n break;\n }\n\n setSelectedAlertScriptType($ctrl.alertScriptTypes.contractEnd);\n break;\n\n case alertTypes.mileage:\n setSelectedAlertScriptType($ctrl.alertScriptTypes.mileage);\n break;\n\n case alertTypes.service:\n setSelectedAlertScriptType($ctrl.alertScriptTypes.service);\n break;\n\n case alertTypes.warranty:\n setSelectedAlertScriptType($ctrl.alertScriptTypes.warranty);\n break;\n\n default:\n setSelectedAlertScriptType($ctrl.alertScriptTypes.phone);\n }\n }\n\n function setSelectedAlertScriptType(alertScriptType) {\n $ctrl.selectedAlertScriptType = alertScriptType;\n $ctrl.onSelect({\n alertScriptType: $ctrl.selectedAlertScriptType\n });\n }\n\n function isConquestScript() {\n if ($ctrl.contract && $ctrl.permissions) {\n return $ctrl.contract.conquestType == conquestTypes.notConverted && $ctrl.permissions.editConquestContract || $ctrl.contract.conquestType == conquestTypes.creditConvert && $ctrl.permissions.editConquestContract && (!$ctrl.contract.term || !$ctrl.contract.paymentMinimum || !$ctrl.contract.paymentMaximum);\n }\n }\n}","AlertScriptController.$inject = [\"_\", \"alertScriptTypes\"];\n\n/* injects from baggage-loader */\nrequire('./alert-script.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('alertScript', {\n templateUrl: '/app/components/deal-sheet/alert-script.component.html',\n controller: AlertScriptController,\n bindings: {\n type: '<',\n culture: '<',\n opportunity: '<',\n userFullName: '<',\n isCrossMake: '<'\n }\n});\n/* @ngInject */\n\nfunction AlertScriptController(_, alertScriptTypes) {\n var $ctrl = this;\n $ctrl.alertScriptTypes = alertScriptTypes;\n $ctrl.alertScriptTypeKeys;\n $ctrl.$onInit = init;\n\n function init() {\n $ctrl.alertScriptTypeKeys = _.invert(alertScriptTypes);\n }\n}","\n/* injects from baggage-loader */\nrequire('./bank-rate.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('bankRate', {\r\n templateUrl: '/app/components/deal-sheet/contract/bank-rate.component.html',\r\n controller: BankRateController,\r\n bindings: {\r\n countryId: '<',\r\n bankName: '<',\r\n bankUrl: '<',\r\n apr: '<',\r\n moneyFactor: '<',\r\n saleType: '<',\r\n conquestType: '<',\r\n permissions: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction BankRateController($translate, saleTypes, dealerCountries) {\r\n var $ctrl = this;\r\n\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.dealerCountries = dealerCountries;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.$onInit = init;\r\n $ctrl.runOnce = false;\r\n\r\n function init() {\r\n if (!($ctrl.bankName)) {\r\n loadUnknownBankLabel();\r\n }\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.bankName && !changes.bankName.currentValue) {\r\n loadUnknownBankLabel();\r\n }\r\n\r\n if (changes.moneyFactor && changes.moneyFactor.currentValue != null) {\r\n $ctrl.runOnce = true;\r\n }\r\n\r\n if ($ctrl.countryId == $ctrl.dealerCountries.france && $ctrl.runOnce) {\r\n $ctrl.moneyFactor = $ctrl.moneyFactor * 2400;\r\n $ctrl.runOnce = false;\r\n }\r\n }\r\n\r\n\r\n function loadUnknownBankLabel() {\r\n $translate('unknown')\r\n .then((translation) => $ctrl.bankName = translation);\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./contract-dates.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('contractDates', {\r\n templateUrl: '/app/components/deal-sheet/contract/contract-dates.component.html',\r\n controller: ContractDatesController,\r\n bindings: {\r\n saleType: '<',\r\n startDate: '<',\r\n endDate: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ContractDatesController(saleTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.saleTypes = saleTypes;\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./contract-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('contractSelect', {\r\n templateUrl: '/app/components/deal-sheet/contract/contract-select.component.html',\r\n controller: ContractSelectController,\r\n bindings: {\r\n countryId: '<',\r\n contracts: '<',\r\n defaultTerm: '<',\r\n alertExists: '<',\r\n flexAlertExists: '<',\r\n permissions: '<',\r\n existingVehicleSaleType: '<',\r\n replacementContract: '<',\r\n showMobileView: '<',\r\n onSelect: '&',\r\n onOverride: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ContractSelectController(saleTypes, dealerCountries, _) {\r\n var $ctrl = this;\r\n $ctrl.offsetActive = false;\r\n $ctrl.refreshLinkActive = false;\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.dealerCountries = dealerCountries;\r\n $ctrl.setSelectedContract = setSelectedContract;\r\n $ctrl.anyContractsAreAlert = anyContractsAreAlert;\r\n $ctrl.updateDealsheetTerm = updateDealsheetTerm;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges() {\r\n // if a contract has an override term and we currently aren't showing a refresh\r\n // link or a starred term offset then select the offset conract and star it\r\n if ($ctrl.contracts) {\r\n if ($ctrl.contracts.some(function (o) { return o.useOverrideTerm === true; }) && !($ctrl.offsetActive === true || $ctrl.refreshLinkActive === true)) {\r\n $ctrl.selectedContract = _.find($ctrl.contracts, function (o) { return o.useOverrideTerm === true; });\r\n $ctrl.offsetActive = true;\r\n $ctrl.refreshLinkActive = true;\r\n }\r\n }\r\n }\r\n\r\n function setSelectedContract(contract) {\r\n if (!$ctrl.showMobileView && contract && contract.payment) {\r\n if ($ctrl.refreshLinkActive && contract == $ctrl.selectedContract) {\r\n return;\r\n } else {\r\n $ctrl.offsetActive = false;\r\n $ctrl.refreshLinkActive = true;\r\n $ctrl.selectedContract = contract;\r\n $ctrl.onSelect({ contract: contract });\r\n }\r\n }\r\n }\r\n\r\n function anyContractsAreAlert() {\r\n if ($ctrl.contracts) {\r\n return $ctrl.contracts.some(function (contract) { return contract.isAlert; });\r\n }\r\n }\r\n \r\n function updateDealsheetTerm(contract) {\r\n $ctrl.offsetActive = true;\r\n $ctrl.onOverride({ contract: contract });\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./delivery-monthly-mileage.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('deliveryMonthlyMileage', {\r\n templateUrl: '/app/components/deal-sheet/contract/delivery-monthly-mileage.component.html',\r\n controller: DeliveryMonthlyMileage,\r\n bindings: {\r\n delivery: '<',\r\n monthly: '<',\r\n conquestType: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DeliveryMonthlyMileage(conquestTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.conquestTypes = conquestTypes;\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./feature-comparison-features.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('featureComparisonFeatures', {\r\n templateUrl: '/app/components/deal-sheet/contract/feature-comparison-features.component.html',\r\n controller: FeatureComparisonFeaturesController,\r\n bindings: {\r\n featureComparison: '<',\r\n fuelEconomyComparison: '<',\r\n currentVehicle: '<',\r\n replacementVehicle: '<',\r\n countryId: '<',\r\n defaultTab: '<',\r\n onSetAsDefault: '&',\r\n printingFeatures: '<',\r\n onPrintFeatures: '&',\r\n }\r\n});\r\n\r\nfunction FeatureComparisonFeaturesController(_, $translatePartialLoader, localePaths, fuelTypes, dealSheetTabs) {\r\n \"ngInject\";\r\n var $ctrl = this;\r\n $ctrl.fuelTypes = fuelTypes;\r\n\r\n $translatePartialLoader.addPart(localePaths.featureComparison);\r\n\r\n $ctrl.tabs = dealSheetTabs;\r\n $ctrl.isShowItem = isShowItem;\r\n $ctrl.hasAdvantage = false;\r\n $ctrl.prepData = prepData;\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.rangeSelections = null;\r\n $ctrl.currentSelections = [null, null];\r\n $ctrl.currentRange = null;\r\n $ctrl.currentsavings = null;\r\n $ctrl.hasMultipleFuelTypes = false;\r\n $ctrl.showPrintFeaturesDialog = showPrintFeaturesDialog;\r\n\r\n $ctrl.slider = {\r\n value: 5,\r\n options: {\r\n showTicksValues: true,\r\n stepsArray: [],\r\n onChange: sliderChange\r\n }\r\n };\r\n\r\n\r\n function showPrintFeaturesDialog() {\r\n $ctrl.onPrintFeatures();\r\n }\r\n\r\n\r\n function sliderChange(sliderId, modelValue, highValue, pointerType) {\r\n var idx = _.findIndex($ctrl.rangeSelections, function (o) { return o.tickLabel == modelValue; });\r\n setCurrentSelections(idx);\r\n }\r\n\r\n function setCurrentSelections(idx) {\r\n $ctrl.currentsavings = null;\r\n if ($ctrl.fuelEconomyComparison.existingFuelEconomy) {\r\n $ctrl.currentSelections[0] = $ctrl.fuelEconomyComparison.existingFuelEconomy.fuelEstimateRanges[idx];\r\n } else {\r\n $ctrl.currentSelections[0] = null;\r\n }\r\n if ($ctrl.fuelEconomyComparison.replacementFuelEconomy) {\r\n $ctrl.currentSelections[1] = $ctrl.fuelEconomyComparison.replacementFuelEconomy.fuelEstimateRanges[idx];\r\n } else {\r\n $ctrl.currentSelections[1] = null;\r\n }\r\n $ctrl.currentRange = $ctrl.rangeSelections[idx].estimatedAnnualDistance;\r\n if ($ctrl.currentSelections[0] && $ctrl.currentSelections[1]) {\r\n var saving = $ctrl.currentSelections[0].estimatedAnnualFuelCost - $ctrl.currentSelections[1].estimatedAnnualFuelCost;\r\n if (saving > 0) {\r\n $ctrl.currentsavings = saving;\r\n }\r\n }\r\n }\r\n\r\n function setSteps(idx) {\r\n $ctrl.slider.options.stepsArray = [];\r\n _.forEach($ctrl.rangeSelections, function (val) { $ctrl.slider.options.stepsArray.push({ value: val.tickLabel }); });\r\n $ctrl.CurrentSelection = idx;\r\n $ctrl.slider.value = $ctrl.rangeSelections[idx].tickLabel;\r\n setCurrentSelections(idx);\r\n }\r\n\r\n function setupUxKeys(fuelEconomy, comparison) {\r\n fuelEconomy.alticon = null;\r\n fuelEconomy.alttransKey = null;\r\n \r\n if ($ctrl.hasMultipleFuelTypes && comparison) { // multi type logic\r\n switch (fuelEconomy.fuelTypeId) {\r\n case $ctrl.fuelTypes.cng:\r\n case $ctrl.fuelTypes.diesel:\r\n case $ctrl.fuelTypes.gas:\r\n // note: set icon in seperate swwitch below\r\n fuelEconomy.transKey = 'mpg';\r\n switch (comparison.fuelTypeId) {\r\n case $ctrl.fuelTypes.phev:\r\n case $ctrl.fuelTypes.electric:\r\n fuelEconomy.alticon = 'aa-icon-electric';\r\n fuelEconomy.alttransKey = 'mpge';\r\n break;\r\n case $ctrl.fuelTypes.cng:\r\n case $ctrl.fuelTypes.diesel:\r\n case $ctrl.fuelTypes.gas:\r\n default:\r\n break;\r\n }\r\n break;\r\n case $ctrl.fuelTypes.phev:\r\n case $ctrl.fuelTypes.electric:\r\n fuelEconomy.alticon = 'aa-icon-electric';\r\n fuelEconomy.alttransKey = 'mpge';\r\n fuelEconomy.transKey = 'mpg';\r\n switch (comparison.fuelTypeId) {\r\n case $ctrl.fuelTypes.cng:\r\n fuelEconomy.icon = 'aa-icon-cng';\r\n break;\r\n case $ctrl.fuelTypes.diesel:\r\n fuelEconomy.icon = 'aa-icon-diesel';\r\n break;\r\n case $ctrl.fuelTypes.gas:\r\n fuelEconomy.icon = 'aa-icon-gasoline';\r\n break;\r\n case $ctrl.fuelTypes.phev:\r\n case $ctrl.fuelTypes.electric:\r\n fuelEconomy.icon = 'aa-icon-gasoline';\r\n break;\r\n default:\r\n break;\r\n }\r\n break;\r\n default:\r\n break;\r\n }\r\n // note: 2nd switch helps eliminate duplicate inner switch code per DS ~JG\r\n switch (fuelEconomy.fuelTypeId) {\r\n case $ctrl.fuelTypes.cng:\r\n fuelEconomy.icon = 'aa-icon-cng';\r\n break;\r\n case $ctrl.fuelTypes.diesel:\r\n fuelEconomy.icon = 'aa-icon-diesel';\r\n break;\r\n case $ctrl.fuelTypes.gas:\r\n fuelEconomy.icon = 'aa-icon-gasoline';\r\n break;\r\n default:\r\n break;\r\n }\r\n } else { // single type logic\r\n switch (fuelEconomy.fuelTypeId) {\r\n case $ctrl.fuelTypes.cng:\r\n fuelEconomy.icon = 'aa-icon-cng';\r\n fuelEconomy.transKey = 'mpg';\r\n break;\r\n case $ctrl.fuelTypes.diesel:\r\n fuelEconomy.icon = 'aa-icon-diesel';\r\n fuelEconomy.transKey = 'mpg';\r\n break;\r\n case $ctrl.fuelTypes.phev:\r\n fuelEconomy.icon = 'aa-icon-electric';\r\n fuelEconomy.transKey = 'mpge';\r\n fuelEconomy.alticon = 'aa-icon-gasoline';\r\n fuelEconomy.alttransKey = 'mpg';\r\n break;\r\n case $ctrl.fuelTypes.electric:\r\n fuelEconomy.icon = 'aa-icon-electric';\r\n fuelEconomy.transKey = 'mpge';\r\n break;\r\n case $ctrl.fuelTypes.gas:\r\n default:\r\n fuelEconomy.icon = 'aa-icon-gasoline';\r\n fuelEconomy.transKey = 'mpg';\r\n break;\r\n }\r\n }\r\n }\r\n\r\n function $onChanges(changes) {\r\n if (changes && changes.featureComparison && changes.featureComparison.currentValue) {\r\n _.forEach(changes.featureComparison.currentValue.categories, function (o) {\r\n _.forEach(o.items, function (i) {\r\n i.existingVehicle.translate = checkData(i.existingVehicle.value);\r\n i.newVehicle.translate = checkData(i.newVehicle.value);\r\n i.isShowItem = isShowItem(i.featureId);\r\n });\r\n });\r\n }\r\n\r\n if (changes && changes.fuelEconomyComparison && changes.fuelEconomyComparison.currentValue) {\r\n if (changes.fuelEconomyComparison.currentValue.existingFuelEconomy && changes.fuelEconomyComparison.currentValue.replacementFuelEconomy) {\r\n if ((changes.fuelEconomyComparison.currentValue.existingFuelEconomy.combined && changes.fuelEconomyComparison.currentValue.existingFuelEconomy.combinedEquivalent) ||\r\n (changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.combined && changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.combinedEquivalent)) {\r\n $ctrl.hasMultipleFuelTypes = true;\r\n } else if ((changes.fuelEconomyComparison.currentValue.existingFuelEconomy.combined && changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.combinedEquivalent) ||\r\n (changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.combined && changes.fuelEconomyComparison.currentValue.existingFuelEconomy.combinedEquivalent)) {\r\n $ctrl.hasMultipleFuelTypes = true;\r\n } else { \r\n $ctrl.hasMultipleFuelTypes = false; \r\n }\r\n }\r\n\r\n if (changes.fuelEconomyComparison.currentValue.existingFuelEconomy) {\r\n setupUxKeys(changes.fuelEconomyComparison.currentValue.existingFuelEconomy, changes.fuelEconomyComparison.currentValue.replacementFuelEconomy);\r\n }\r\n if (changes.fuelEconomyComparison.currentValue.replacementFuelEconomy) {\r\n setupUxKeys(changes.fuelEconomyComparison.currentValue.replacementFuelEconomy, changes.fuelEconomyComparison.currentValue.existingFuelEconomy);\r\n }\r\n if (!changes.fuelEconomyComparison.currentValue.existingFuelEconomy && !changes.fuelEconomyComparison.currentValue.replacementFuelEconomy) {\r\n $ctrl.currentSelections[0] = null;\r\n $ctrl.currentSelections[1] = null;\r\n }\r\n\r\n switch (changes.fuelEconomyComparison.currentValue.eadSource) {\r\n case 1:\r\n $ctrl.rangeSelections = changes.fuelEconomyComparison.currentValue.existingFuelEconomy.fuelEstimateRanges;\r\n setSteps(changes.fuelEconomyComparison.currentValue.eadIndex);\r\n break;\r\n case 2:\r\n $ctrl.rangeSelections = changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.fuelEstimateRanges;\r\n setSteps(changes.fuelEconomyComparison.currentValue.eadIndex);\r\n break;\r\n default:\r\n $ctrl.rangeSelections = null;\r\n break;\r\n }\r\n } \r\n }\r\n\r\n function checkData(data) {\r\n var rslt = false;\r\n switch (data) {\r\n case '':\r\n case 'S':\r\n case 'O':\r\n rslt = true;\r\n break;\r\n }\r\n return rslt;\r\n }\r\n\r\n function prepData(data) {\r\n switch (data) {\r\n case '':\r\n return 'featureComparison_notAvailableLabel';\r\n case 'S':\r\n return 'featureComparison_standardLegend';\r\n case 'O':\r\n return 'featureComparison_optionalLegend';\r\n }\r\n return data;\r\n }\r\n\r\n function isShowItem(featureId) {\r\n // these id's have been identified by product as features that should be hidden in the Deal Sheet UI\r\n switch (featureId) {\r\n case 76:\r\n case 77:\r\n case 80:\r\n case 81:\r\n case 82:\r\n case 83:\r\n case 84:\r\n case 85:\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./msrp-type-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('msrpTypeSelect', {\r\n templateUrl: '/app/components/deal-sheet/contract/msrp-type-select.component.html',\r\n controller: MsrpTypeSelectController,\r\n bindings: {\r\n vehicle: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction MsrpTypeSelectController(msrpTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.msrpTypes = msrpTypes;\r\n $ctrl.selectedMsrpType = $ctrl.msrpTypes.average;\r\n $ctrl.onSelectionChange = onSelectionChange;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if (changes.vehicle && changes.vehicle.currentValue) {\r\n $ctrl.selectedMsrpType = $ctrl.vehicle.stockNo ? msrpTypes.inventory : msrpTypes.average;\r\n }\r\n }\r\n\r\n function onSelectionChange() {\r\n $ctrl.onSelect({ msrpType: $ctrl.selectedMsrpType });\r\n $ctrl.selectedMsrpType = $ctrl.vehicle.stockNo ? msrpTypes.inventory : msrpTypes.average;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./preferred-equity.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('preferredEquity', {\r\n templateUrl: '/app/components/deal-sheet/contract/preferred-equity.component.html',\r\n controller: PreferredEquityController,\r\n bindings: {\r\n value: '<',\r\n saleType: '<',\r\n isEuroLite:'<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction PreferredEquityController(saleTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.toolTipMessage = \"\";\r\n\r\n\r\n function onChanges() {\r\n\r\n if ($ctrl.saleType == saleTypes.retail)\r\n $ctrl.toolTipMessage = 'preferredEquityRetailBNPTooltip'; //\"retail\";\r\n\r\n if ($ctrl.saleType == saleTypes.lease)\r\n $ctrl.toolTipMessage = 'preferredEquityLeaseBNPTooltip'; //\"lease\";\r\n\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./rate-type-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('rateTypeSelect', {\r\n templateUrl: '/app/components/deal-sheet/contract/rate-type-select.component.html',\r\n controller: rateTypeSelectController,\r\n bindings: {\r\n 'default': '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction rateTypeSelectController(vehicleTypes) {\r\n var $ctrl = this;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.vehicleTypes = vehicleTypes;\r\n $ctrl.onSelectionChange = onSelectionChange;\r\n\r\n function onChanges(changes) {\r\n if (changes.default && changes.default.currentValue) {\r\n $ctrl.selectedRateType = $ctrl.default;\r\n }\r\n }\r\n\r\n function onSelectionChange() {\r\n if ($ctrl.onSelect) {\r\n $ctrl.onSelect({ rateType: $ctrl.selectedRateType });\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./replacement-contracts.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('replacementContracts', {\r\n templateUrl: '/app/components/deal-sheet/contract/replacement-contracts.component.html',\r\n controller: ReplacementContractDetailsController,\r\n bindings: {\r\n countryId: '<',\r\n opportunity: '<',\r\n availableContracts: '<',\r\n permissions: '<',\r\n replacementContract: '<',\r\n onSaleTypeChange: '&',\r\n onReplacementContractOverride: '&',\r\n showPullForward: '<',\r\n showMobileView: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReplacementContractDetailsController(_, $filter, saleTypes, opportunityService, environmentVariables, opportunity2Service) {\r\n var $ctrl = this;\r\n\r\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\r\n\r\n $ctrl.contracts;\r\n $ctrl.selectedContracts;\r\n $ctrl.availableSaleTypes;\r\n $ctrl.selectedSaleTypes;\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.saleTypeTranslateKeys;\r\n $ctrl.setSelectedSaleTypes = setSelectedSaleTypes;\r\n $ctrl.setSelectedContract = setSelectedContract;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.$onInit = onInit;\r\n $ctrl.setOverrideContract = setOverrideContract;\r\n $ctrl.showMobileView = false;\r\n\r\n function onInit() {\r\n $ctrl.saleTypeTranslateKeys = _.invert(saleTypes);\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.opportunity && changes.opportunity.currentValue) {\r\n opportunityService.addAlertsAsProperties($ctrl, $ctrl.opportunity.alerts);\r\n }\r\n\r\n if (changes.availableContracts && changes.availableContracts.currentValue) {\r\n setSelectedSaleTypes()\r\n $ctrl.availableSaleTypes = getAvailableSaleTypes($ctrl.availableContracts);\r\n $ctrl.banks = getBanks($ctrl.availableContracts);\r\n $ctrl.hasMultipleBanks = $ctrl.banks.length > 1;\r\n\r\n loadContracts();\r\n var term = $ctrl.opportunity.replacementContract && $ctrl.opportunity.replacementContract.term || undefined;\r\n $ctrl.selectedContracts = getDefaultContracts($ctrl.availableContracts, $ctrl.banks, $ctrl.availableSaleTypes, term);\r\n }\r\n }\r\n\r\n function setFilteredContracts(contracts, saleType, bankName, bankID) {\r\n if (!contracts)\r\n return;\r\n\r\n if (!$ctrl.hasMultipleBanks) {\r\n bankID = bankName = null;\r\n }\r\n }\r\n\r\n function setSelectedContract(bank, contract) {\r\n if (!$ctrl.showMobileView && bank && contract) {\r\n if ($ctrl.selectedContracts[bank.id] == null) {\r\n $ctrl.selectedContracts[bank.id] = {};\r\n }\r\n\r\n $ctrl.selectedContracts[bank.id][contract.saleType] = contract;\r\n }\r\n }\r\n\r\n function setOverrideContract(contract) {\r\n contract.useOverrideTerm = true;\r\n $ctrl.onReplacementContractOverride({ contract: contract });\r\n }\r\n\r\n function setSelectedSaleTypes(saleTypes) {\r\n if (saleTypes) {\r\n $ctrl.selectedSaleTypes = saleTypes.sort(bySaleType);\r\n }\r\n else {\r\n if ($ctrl.opportunity.replacementContract) {\r\n $ctrl.selectedSaleTypes = [$ctrl.opportunity.replacementContract.saleType];\r\n }\r\n else {\r\n var currentSaleType = $ctrl.opportunity.currentContract.saleType;\r\n if (currentSaleType) {\r\n var currentSaleTypeContracts = $filter('filter')($ctrl.availableContracts, { saleType: currentSaleType });\r\n\r\n if (currentSaleTypeContracts && currentSaleTypeContracts.length > 0) {\r\n $ctrl.selectedSaleTypes = [currentSaleType];\r\n }\r\n else {\r\n $ctrl.selectedSaleTypes = [$ctrl.saleTypes.retail];\r\n }\r\n }\r\n else {\r\n $ctrl.selectedSaleTypes = [$ctrl.saleTypes.retail];\r\n }\r\n }\r\n }\r\n\r\n $ctrl.onSaleTypeChange({ saleTypes: $ctrl.selectedSaleTypes });\r\n loadContracts();\r\n }\r\n\r\n function bySaleType(option1, option2) {\r\n if (option1 == $ctrl.saleTypes.retail) {\r\n return -1;\r\n }\r\n if (option2 == $ctrl.saleTypes.retail) {\r\n return 1;\r\n }\r\n\r\n return option1 - option2;\r\n\r\n }\r\n\r\n function getAvailableSaleTypes(contracts) {\r\n var availableSaleTypes = [];\r\n\r\n for (var i = 0; i < contracts.length; i++) {\r\n if (availableSaleTypes.indexOf(contracts[i].saleType) < 0) {\r\n availableSaleTypes.push(contracts[i].saleType);\r\n }\r\n }\r\n\r\n return availableSaleTypes;\r\n }\r\n\r\n function getBanks(contracts) {\r\n var uniqueBankContracts = $filter('unique')(contracts, 'bankID');\r\n var banks = [];\r\n\r\n if (!uniqueBankContracts || uniqueBankContracts.length == 0) {\r\n return [];\r\n }\r\n\r\n for (var i = 0; i < uniqueBankContracts.length; i++) {\r\n banks.push({\r\n id: uniqueBankContracts[i].bankID,\r\n name: uniqueBankContracts[i].bankName\r\n });\r\n }\r\n\r\n return banks;\r\n }\r\n\r\n function getDefaultContracts(contracts, banks, availableSaleTypes, term) {\r\n var defaultContracts = {};\r\n\r\n for (var i = 0; i < banks.length; i++) {\r\n for (var j = 0; j < availableSaleTypes.length; j++) {\r\n var defaultContract = $filter('filter')(contracts, { saleType: availableSaleTypes[j], term: term, bankID: banks[i].id });\r\n\r\n if (defaultContract && defaultContract.length > 0) {\r\n if (defaultContracts[banks[i].id] == null) {\r\n defaultContracts[banks[i].id] = {};\r\n }\r\n\r\n defaultContracts[banks[i].id][availableSaleTypes[j]] = defaultContract[0];\r\n }\r\n }\r\n }\r\n\r\n return defaultContracts;\r\n }\r\n\r\n function loadContracts() {\r\n if ($ctrl.selectedSaleTypes && $ctrl.selectedSaleTypes.length > 0) {\r\n $ctrl.contracts = getSynchronizedContracts($ctrl.availableContracts, $ctrl.selectedSaleTypes, $ctrl.banks);\r\n } else {\r\n $ctrl.contracts = $ctrl.availableContracts;\r\n }\r\n\r\n $ctrl.contractsByBankIdAndSaleType = groupByBankIdAndSaleType($ctrl.contracts)\r\n\r\n var bankNamesByBankId = $ctrl.banks ? _.fromPairs($ctrl.banks.map(function (b) { return [b.id, b.name] })) : {}\r\n _.forOwn($ctrl.contractsByBankIdAndSaleType, function (contractsBySaleType, bankID) {\r\n var bankName = bankNamesByBankId[bankID]\r\n _.forOwn(contractsBySaleType, function (contracts, saleType) {\r\n setFilteredContracts(contracts, saleType, bankName, bankID)\r\n })\r\n })\r\n }\r\n\r\n /**\r\n * Returns a nested dictionary to look up contracts\r\n * by bankID then by saleType. For example:\r\n * var groupedContracts = groupByBankIdAndSaleType(contracts)\r\n * var matchingContracts = groupedContracts[bankID][saleType]\r\n */\r\n function groupByBankIdAndSaleType(contracts) {\r\n var contractsByBankId = _.groupBy(contracts, function (c) { return c.bankID })\r\n\r\n return _.mapValues(contractsByBankId, function (cs) {\r\n return _.groupBy(cs, function (c) { return c.saleType })\r\n })\r\n }\r\n\r\n /**\r\n * Inserts dummy records into a set of contracts, so contracts with the\r\n * same term length display next to each other (36 month Retail is next\r\n * to 36 month Lease, etc.)\r\n */\r\n function getSynchronizedContracts(contracts, saleTypes, banks) {\r\n var synchronizedContracts = contracts.slice(0, contracts.length);\r\n\r\n synchronizedContracts.sort(bySaleTypeAndTermMonths);\r\n\r\n for (var i = 0; i < saleTypes.length; i++) {\r\n for (var j = i + 1; j < saleTypes.length; j++) {\r\n for (var k = 0; k < banks.length; k++) {\r\n if (saleTypes[i] != saleTypes[j]) {\r\n synchronizeContractTerms(synchronizedContracts, saleTypes[i], saleTypes[j], banks[k].id);\r\n }\r\n }\r\n }\r\n }\r\n\r\n synchronizedContracts.sort(bySaleTypeAndTermMonths);\r\n\r\n return synchronizedContracts;\r\n }\r\n\r\n function synchronizeContractTerms(contracts, saleType1, saleType2, bankID) {\r\n var termsToInsert = [];\r\n var i = 0;\r\n var j = 0;\r\n\r\n var filteredContracts1 = $filter('filter')(contracts, { saleType: saleType1, bankID: bankID });\r\n var filteredContracts2 = $filter('filter')(contracts, { saleType: saleType2, bankID: bankID });\r\n\r\n while (filteredContracts1.length > 0 && filteredContracts2.length > 0 && (i < filteredContracts1.length || j < filteredContracts2.length)) {\r\n if (!filteredContracts1[i]) {\r\n if (filteredContracts2[j] && filteredContracts2[j].payment) {\r\n termsToInsert.push({ bankID: filteredContracts1[0].bankID, saleType: filteredContracts1[0].saleType, term: filteredContracts2[j].term });\r\n }\r\n j++;\r\n }\r\n else if (!filteredContracts2[j]) {\r\n if (filteredContracts1[i] && filteredContracts1[i].payment) {\r\n termsToInsert.push({ bankID: filteredContracts2[0].bankID, saleType: filteredContracts2[0].saleType, term: filteredContracts1[i].term });\r\n }\r\n i++;\r\n }\r\n else if (filteredContracts1[i].term > filteredContracts2[j].term) {\r\n if (filteredContracts2[j] && filteredContracts2[j].payment) {\r\n termsToInsert.push({ bankID: filteredContracts1[0].bankID, saleType: filteredContracts1[0].saleType, term: filteredContracts2[j].term });\r\n }\r\n j++;\r\n }\r\n else if (filteredContracts1[i].term < filteredContracts2[j].term) {\r\n if (filteredContracts1[i] && filteredContracts1[i].payment) {\r\n termsToInsert.push({ bankID: filteredContracts2[0].bankID, saleType: filteredContracts2[0].saleType, term: filteredContracts1[i].term });\r\n }\r\n i++;\r\n }\r\n else if (filteredContracts1[i].term == filteredContracts2[j].term) {\r\n i++;\r\n j++;\r\n }\r\n }\r\n\r\n for (let ix = 0; ix < termsToInsert.length; ix++) {\r\n var termToInsert = termsToInsert[ix];\r\n\r\n if (!termExists(contracts, termToInsert.bankID, termToInsert.saleType, termToInsert.term)) {\r\n contracts.push(termToInsert);\r\n }\r\n }\r\n }\r\n\r\n function termExists(contracts, bankID, saleType, term) {\r\n for (var i = 0; i < contracts.length; i++) {\r\n var contract = contracts[i];\r\n\r\n if (contract.bankID == bankID && contract.saleType == saleType && contract.term == term) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n function bySaleTypeAndTermMonths(contract1, contract2) {\r\n if (contract1.saleType == contract2.saleType) {\r\n return contract1.term - contract2.term;\r\n } else {\r\n return contract1.saleType - contract2.saleType;\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./sale-type-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('saleTypeSelect', {\r\n templateUrl: '/app/components/deal-sheet/contract/sale-type-select.component.html',\r\n controller: SaleTypeSelect,\r\n bindings: {\r\n 'defaults': '<',\r\n options: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction SaleTypeSelect(_, saleTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.selections = {};\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.saleTypeTranslateKeys;\r\n $ctrl.onSelectionChange = onSelectionChange;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function init() {\r\n $ctrl.saleTypeTranslateKeys = _.invert(saleTypes);\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.defaults && changes.defaults.currentValue) {\r\n\r\n $ctrl.selections = {}\r\n $ctrl.defaults.forEach(function (saleType) {\r\n $ctrl.selections[saleType] = true\r\n })\r\n }\r\n\r\n if (changes.options && changes.options.currentValue) {\r\n $ctrl.options.sort(bySaleType);\r\n }\r\n }\r\n\r\n function bySaleType(option1, option2) {\r\n if (option1 == $ctrl.saleTypes.retail) {\r\n return -1;\r\n }\r\n if (option2 == $ctrl.saleTypes.retail) {\r\n return 1;\r\n }\r\n\r\n return option1 - option2;\r\n\r\n }\r\n\r\n function onSelectionChange() {\r\n var selectedSaleTypes = [];\r\n\r\n for (var property in $ctrl.selections) {\r\n if ($ctrl.selections.hasOwnProperty(property) && $ctrl.selections[property] == true) {\r\n selectedSaleTypes.push(Number(property));\r\n }\r\n }\r\n\r\n $ctrl.onSelect({ saleTypes: selectedSaleTypes });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./warranty-actions.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('warrantyActions', {\r\n templateUrl: '/app/components/deal-sheet/contract/warranty-actions.component.html',\r\n controller: WarrantyActionsController,\r\n bindings: {\r\n opportunity: '<',\r\n //vehicle: '<',\r\n //permissions: '<',\r\n renderAsButton: '<',\r\n refreshOpportunity: '&',\r\n startWorkingState: '&',\r\n stopWorkingState: '&'\r\n }\r\n});\r\n\r\nfunction WarrantyActionsController(mapUtils, vehicleService, activityService, activityRule, entityActionAccessEnum) {\r\n \"ngInject\";\r\n var $ctrl = this;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.onHasWarranty = onHasWarranty;\r\n $ctrl.onDoesntHaveWarranty = onDoesntHaveWarranty;\r\n $ctrl.onSoldWarranty = onSoldWarranty;\r\n $ctrl.onUndoSoldWarranty = onUndoSoldWarranty;\r\n\r\n $ctrl.showHasWarranty = false;\r\n $ctrl.showDoesntHaveWarranty = false;\r\n $ctrl.showSoldWarranty = false;\r\n $ctrl.showUndoSoldWarranty = false;\r\n\r\n function onChanges(changes) {\r\n if (changes.opportunity && changes.opportunity.currentValue) {\r\n\r\n $ctrl.showHasWarranty = mapUtils.hasActionAccess(changes.opportunity.currentValue.actionAccess, entityActionAccessEnum.showHasWarranty);\r\n $ctrl.showSoldWarranty = mapUtils.hasActionAccess(changes.opportunity.currentValue.actionAccess, entityActionAccessEnum.showSoldWarranty);\r\n $ctrl.showDoesntHaveWarranty = mapUtils.hasActionAccess(changes.opportunity.currentValue.actionAccess, entityActionAccessEnum.showDoesntHaveWarranty);\r\n $ctrl.showUndoSoldWarranty = mapUtils.hasActionAccess(changes.opportunity.currentValue.actionAccess, entityActionAccessEnum.showUndoSoldWarranty);\r\n }\r\n }\r\n\r\n function onHasWarranty() {\r\n $ctrl.startWorkingState();\r\n activityService.updateWarrantyStatus($ctrl.opportunity.id).then(\r\n function () {\r\n $ctrl.refreshOpportunity();\r\n },\r\n function () {\r\n throw { message: \"We encountered an error processing your request.\" };\r\n });\r\n }\r\n\r\n function onDoesntHaveWarranty() {\r\n $ctrl.startWorkingState();\r\n activityService.runActivityRule($ctrl.opportunity.id, [activityRule.Unmark_as_Has_Warranty]).then(\r\n function () {\r\n $ctrl.refreshOpportunity();\r\n },\r\n function () {\r\n throw { message: \"We encountered an error processing your request.\" };\r\n });\r\n }\r\n\r\n function onSoldWarranty() {\r\n $ctrl.startWorkingState();\r\n activityService.updateSoldWarranty($ctrl.opportunity.id).then(\r\n function () {\r\n $ctrl.refreshOpportunity();\r\n },\r\n function () {\r\n throw { message: \"We encountered an error processing your request.\" };\r\n });\r\n }\r\n\r\n function onUndoSoldWarranty() {\r\n $ctrl.startWorkingState();\r\n activityService.runActivityRule($ctrl.opportunity.id, [activityRule.Unmark_as_Has_Warranty, activityRule.Unmark_as_Warranty_Sold]).then(\r\n function () {\r\n $ctrl.refreshOpportunity();\r\n },\r\n function (error) {\r\n throw { message: \"We encountered an error processing your request.\" };\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./change-log.component.html');\n\nimport angular from 'angular';\r\nimport PricingPlanTypes from '../../constants/pricing-plan-types';\r\nimport ChangeLogType from '../../constants/change-log-type';\r\nimport _ from 'lodash';\r\n\r\n(function () {\r\n angular.module('AaApp.Opp').component('changeLog', {\r\n templateUrl: '/app/components/deal-sheet/change-log.component.html',\r\n controller: ChangeLogController,\r\n bindings: {\r\n opportunityId: '<',\r\n defaultTab: '<',\r\n onSetAsDefault: '&',\r\n currentTab: '<'\r\n }\r\n });\r\n\r\n /* @ngInject */\r\n function ChangeLogController(environmentVariables, opportunityService, opportunity2Service, $filter, $translate, dealSheetTabs) {\r\n var $ctrl = this;\r\n\r\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\r\n\r\n $ctrl.modules = [];\r\n $ctrl.masterChangeLogs = [];\r\n $ctrl.selectedChangeLogs = [];\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.refreshChangeLogs = refreshChangeLogs;\r\n $ctrl.changeLogLoadingPromise = null;\r\n\r\n $ctrl.$onInit = function () {\r\n $ctrl.tabs = dealSheetTabs;\r\n\r\n _setModules().then(function (modules) {\r\n $ctrl.modules = modules;\r\n });\r\n }\r\n\r\n $ctrl.filterSelectedLogs = function () {\r\n var selected = $ctrl.modules\r\n .filter(function (o) { return o.selected && o.enabled })\r\n .map(function (s) { return s.moduleName });\r\n var filteredLogs = $ctrl.masterChangeLogs.filter(function (o) {\r\n return selected.indexOf(o.module) > -1\r\n });\r\n $ctrl.selectedChangeLogs = filteredLogs;\r\n }\r\n\r\n function $onChanges(changes) {\r\n if (changes.opportunityId) {\r\n this.masterChangeLogs = [];\r\n this.selectedChangeLogs = [];\r\n }\r\n\r\n if (!changes || !changes.currentTab || changes.currentTab.currentValue !== dealSheetTabs.changeLog) { return; }\r\n\r\n if (!$ctrl.masterChangeLogs || $ctrl.masterChangeLogs.length === 0) {\r\n _getChangeLogs().then(_setModuleAccess);\r\n }\r\n\r\n }\r\n\r\n function refreshChangeLogs() {\r\n $ctrl.changeLogLoadingPromise = null;\r\n $ctrl.changeLogLoadingPromise = _getChangeLogs().then(_setModuleAccess);\r\n }\r\n\r\n function _getChangeLogs() {\r\n $ctrl.changeLogLoadingPromise = opportunityService.getChangeLogs($ctrl.opportunityId).then(formatChangeLogData);\r\n\r\n function formatChangeLogData(changeLogs) {\r\n\r\n for (var i = 0; i < changeLogs.length; i++) {\r\n if (changeLogs[i].data) {\r\n changeLogs[i].action += ': ' + changeLogs[i].data;\r\n }\r\n if (changeLogs[i].appendDate) {\r\n var appendedDate = $filter('localeDate')(changeLogs[i].appendDate);\r\n changeLogs[i].action += ' ' + appendedDate;\r\n }\r\n\r\n if (changeLogs[i].type == ChangeLogType.pricing) {\r\n var planTypes = _.invert(PricingPlanTypes);\r\n var plan = planTypes[changeLogs[i].action];\r\n changeLogs[i].action = $translate.instant('axzPlanPricingHistory', { pricingPlan: $translate.instant(plan) });\r\n }\r\n }\r\n $ctrl.masterChangeLogs = changeLogs;\r\n }\r\n return $ctrl.changeLogLoadingPromise;\r\n }\r\n\r\n function _setModuleAccess() {\r\n if ($ctrl.masterChangeLogs && $ctrl.masterChangeLogs.length > 0) {\r\n for (var i = 0; i < $ctrl.modules.length; i++) {\r\n var isEnabled = _.some($ctrl.masterChangeLogs, ['module', $ctrl.modules[i].moduleName]);\r\n $ctrl.modules[i].enabled = isEnabled;\r\n }\r\n $ctrl.filterSelectedLogs();\r\n }\r\n }\r\n\r\n function _setModules() {\r\n return $translate(['opportunityLogs', 'activityLogs', 'contactLogs', 'accessLogs', 'exportLogs'])\r\n .then(function (translations) {\r\n return [{\r\n key: 'opportunityLogs',\r\n moduleName: translations['opportunityLogs'],\r\n module: 'Opportunity',\r\n enabled: true,\r\n selected: true\r\n }, {\r\n key: 'activityLogs',\r\n moduleName: translations['activityLogs'],\r\n module: 'Activity',\r\n enabled: true,\r\n selected: true\r\n }, {\r\n key: 'contactLogs',\r\n moduleName: translations['contactLogs'],\r\n module: 'Contacts',\r\n enabled: true,\r\n selected: true\r\n }, {\r\n key: 'accessLogs',\r\n moduleName: translations['accessLogs'],\r\n module: 'Access',\r\n enabled: true,\r\n selected: true\r\n }, {\r\n key: 'exportLogs',\r\n moduleName: translations['exportLogs'],\r\n module: 'Export',\r\n enabled: true,\r\n selected: true\r\n }];\r\n });\r\n }\r\n\r\n }\r\n})();\r\n","\n/* injects from baggage-loader */\nrequire('./balance-to-maturity.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('balanceToMaturity', {\r\n templateUrl: '/app/components/deal-sheet/contract/balance-to-maturity.component.html',\r\n bindings: {\r\n value: '<'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./balloon-payment.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('balloonPayment', {\r\n templateUrl: '/app/components/deal-sheet/contract/balloon-payment.component.html',\r\n bindings: {\r\n value: '<'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./bank-name.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('bankName', {\r\n templateUrl: '/app/components/deal-sheet/contract/bank-name.component.html',\r\n bindings: {\r\n value: '<',\r\n url: '<',\r\n }\r\n});\r\n","BankRateController.$inject = [\"$translate\", \"saleTypes\", \"dealerCountries\"];\n\n/* injects from baggage-loader */\nrequire('./bank-rate.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('bankRate', {\n templateUrl: '/app/components/deal-sheet/contract/bank-rate.component.html',\n controller: BankRateController,\n bindings: {\n countryId: '<',\n bankName: '<',\n bankUrl: '<',\n apr: '<',\n moneyFactor: '<',\n saleType: '<',\n conquestType: '<',\n permissions: '<'\n }\n});\n/* @ngInject */\n\nfunction BankRateController($translate, saleTypes, dealerCountries) {\n var $ctrl = this;\n $ctrl.saleTypes = saleTypes;\n $ctrl.dealerCountries = dealerCountries;\n $ctrl.$onChanges = onChanges;\n $ctrl.$onInit = init;\n $ctrl.runOnce = false;\n\n function init() {\n if (!$ctrl.bankName) {\n loadUnknownBankLabel();\n }\n }\n\n function onChanges(changes) {\n if (changes.bankName && !changes.bankName.currentValue) {\n loadUnknownBankLabel();\n }\n\n if (changes.moneyFactor && changes.moneyFactor.currentValue != null) {\n $ctrl.runOnce = true;\n }\n\n if ($ctrl.countryId == $ctrl.dealerCountries.france && $ctrl.runOnce) {\n $ctrl.moneyFactor = $ctrl.moneyFactor * 2400;\n $ctrl.runOnce = false;\n }\n }\n\n function loadUnknownBankLabel() {\n $translate('unknown').then(function (translation) {\n return $ctrl.bankName = translation;\n });\n }\n}","ContractDatesController.$inject = [\"saleTypes\"];\n\n/* injects from baggage-loader */\nrequire('./contract-dates.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('contractDates', {\n templateUrl: '/app/components/deal-sheet/contract/contract-dates.component.html',\n controller: ContractDatesController,\n bindings: {\n saleType: '<',\n startDate: '<',\n endDate: '<'\n }\n});\n/* @ngInject */\n\nfunction ContractDatesController(saleTypes) {\n var $ctrl = this;\n $ctrl.saleTypes = saleTypes;\n}","import \"core-js/modules/es6.array.find\";\nContractSelectController.$inject = [\"saleTypes\", \"dealerCountries\", \"_\"];\n\n/* injects from baggage-loader */\nrequire('./contract-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('contractSelect', {\n templateUrl: '/app/components/deal-sheet/contract/contract-select.component.html',\n controller: ContractSelectController,\n bindings: {\n countryId: '<',\n contracts: '<',\n defaultTerm: '<',\n alertExists: '<',\n flexAlertExists: '<',\n permissions: '<',\n existingVehicleSaleType: '<',\n replacementContract: '<',\n showMobileView: '<',\n onSelect: '&',\n onOverride: '&'\n }\n});\n/* @ngInject */\n\nfunction ContractSelectController(saleTypes, dealerCountries, _) {\n var $ctrl = this;\n $ctrl.offsetActive = false;\n $ctrl.refreshLinkActive = false;\n $ctrl.saleTypes = saleTypes;\n $ctrl.dealerCountries = dealerCountries;\n $ctrl.setSelectedContract = setSelectedContract;\n $ctrl.anyContractsAreAlert = anyContractsAreAlert;\n $ctrl.updateDealsheetTerm = updateDealsheetTerm;\n $ctrl.$onChanges = onChanges;\n\n function onChanges() {\n // if a contract has an override term and we currently aren't showing a refresh\n // link or a starred term offset then select the offset conract and star it\n if ($ctrl.contracts) {\n if ($ctrl.contracts.some(function (o) {\n return o.useOverrideTerm === true;\n }) && !($ctrl.offsetActive === true || $ctrl.refreshLinkActive === true)) {\n $ctrl.selectedContract = _.find($ctrl.contracts, function (o) {\n return o.useOverrideTerm === true;\n });\n $ctrl.offsetActive = true;\n $ctrl.refreshLinkActive = true;\n }\n }\n }\n\n function setSelectedContract(contract) {\n if (!$ctrl.showMobileView && contract && contract.payment) {\n if ($ctrl.refreshLinkActive && contract == $ctrl.selectedContract) {\n return;\n } else {\n $ctrl.offsetActive = false;\n $ctrl.refreshLinkActive = true;\n $ctrl.selectedContract = contract;\n $ctrl.onSelect({\n contract: contract\n });\n }\n }\n }\n\n function anyContractsAreAlert() {\n if ($ctrl.contracts) {\n return $ctrl.contracts.some(function (contract) {\n return contract.isAlert;\n });\n }\n }\n\n function updateDealsheetTerm(contract) {\n $ctrl.offsetActive = true;\n $ctrl.onOverride({\n contract: contract\n });\n }\n}","DeliveryMonthlyMileage.$inject = [\"conquestTypes\"];\n\n/* injects from baggage-loader */\nrequire('./delivery-monthly-mileage.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('deliveryMonthlyMileage', {\n templateUrl: '/app/components/deal-sheet/contract/delivery-monthly-mileage.component.html',\n controller: DeliveryMonthlyMileage,\n bindings: {\n delivery: '<',\n monthly: '<',\n conquestType: '<'\n }\n});\n/* @ngInject */\n\nfunction DeliveryMonthlyMileage(conquestTypes) {\n var $ctrl = this;\n $ctrl.conquestTypes = conquestTypes;\n}","import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.find-index\";\nFeatureComparisonFeaturesController.$inject = [\"_\", \"$translatePartialLoader\", \"localePaths\", \"fuelTypes\", \"dealSheetTabs\"];\n\n/* injects from baggage-loader */\nrequire('./feature-comparison-features.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('featureComparisonFeatures', {\n templateUrl: '/app/components/deal-sheet/contract/feature-comparison-features.component.html',\n controller: FeatureComparisonFeaturesController,\n bindings: {\n featureComparison: '<',\n fuelEconomyComparison: '<',\n currentVehicle: '<',\n replacementVehicle: '<',\n countryId: '<',\n defaultTab: '<',\n onSetAsDefault: '&',\n printingFeatures: '<',\n onPrintFeatures: '&'\n }\n});\n\nfunction FeatureComparisonFeaturesController(_, $translatePartialLoader, localePaths, fuelTypes, dealSheetTabs) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.fuelTypes = fuelTypes;\n $translatePartialLoader.addPart(localePaths.featureComparison);\n $ctrl.tabs = dealSheetTabs;\n $ctrl.isShowItem = isShowItem;\n $ctrl.hasAdvantage = false;\n $ctrl.prepData = prepData;\n $ctrl.$onChanges = $onChanges;\n $ctrl.rangeSelections = null;\n $ctrl.currentSelections = [null, null];\n $ctrl.currentRange = null;\n $ctrl.currentsavings = null;\n $ctrl.hasMultipleFuelTypes = false;\n $ctrl.showPrintFeaturesDialog = showPrintFeaturesDialog;\n $ctrl.slider = {\n value: 5,\n options: {\n showTicksValues: true,\n stepsArray: [],\n onChange: sliderChange\n }\n };\n\n function showPrintFeaturesDialog() {\n $ctrl.onPrintFeatures();\n }\n\n function sliderChange(sliderId, modelValue, highValue, pointerType) {\n var idx = _.findIndex($ctrl.rangeSelections, function (o) {\n return o.tickLabel == modelValue;\n });\n\n setCurrentSelections(idx);\n }\n\n function setCurrentSelections(idx) {\n $ctrl.currentsavings = null;\n\n if ($ctrl.fuelEconomyComparison.existingFuelEconomy) {\n $ctrl.currentSelections[0] = $ctrl.fuelEconomyComparison.existingFuelEconomy.fuelEstimateRanges[idx];\n } else {\n $ctrl.currentSelections[0] = null;\n }\n\n if ($ctrl.fuelEconomyComparison.replacementFuelEconomy) {\n $ctrl.currentSelections[1] = $ctrl.fuelEconomyComparison.replacementFuelEconomy.fuelEstimateRanges[idx];\n } else {\n $ctrl.currentSelections[1] = null;\n }\n\n $ctrl.currentRange = $ctrl.rangeSelections[idx].estimatedAnnualDistance;\n\n if ($ctrl.currentSelections[0] && $ctrl.currentSelections[1]) {\n var saving = $ctrl.currentSelections[0].estimatedAnnualFuelCost - $ctrl.currentSelections[1].estimatedAnnualFuelCost;\n\n if (saving > 0) {\n $ctrl.currentsavings = saving;\n }\n }\n }\n\n function setSteps(idx) {\n $ctrl.slider.options.stepsArray = [];\n\n _.forEach($ctrl.rangeSelections, function (val) {\n $ctrl.slider.options.stepsArray.push({\n value: val.tickLabel\n });\n });\n\n $ctrl.CurrentSelection = idx;\n $ctrl.slider.value = $ctrl.rangeSelections[idx].tickLabel;\n setCurrentSelections(idx);\n }\n\n function setupUxKeys(fuelEconomy, comparison) {\n fuelEconomy.alticon = null;\n fuelEconomy.alttransKey = null;\n\n if ($ctrl.hasMultipleFuelTypes && comparison) {\n // multi type logic\n switch (fuelEconomy.fuelTypeId) {\n case $ctrl.fuelTypes.cng:\n case $ctrl.fuelTypes.diesel:\n case $ctrl.fuelTypes.gas:\n // note: set icon in seperate swwitch below\n fuelEconomy.transKey = 'mpg';\n\n switch (comparison.fuelTypeId) {\n case $ctrl.fuelTypes.phev:\n case $ctrl.fuelTypes.electric:\n fuelEconomy.alticon = 'aa-icon-electric';\n fuelEconomy.alttransKey = 'mpge';\n break;\n\n case $ctrl.fuelTypes.cng:\n case $ctrl.fuelTypes.diesel:\n case $ctrl.fuelTypes.gas:\n default:\n break;\n }\n\n break;\n\n case $ctrl.fuelTypes.phev:\n case $ctrl.fuelTypes.electric:\n fuelEconomy.alticon = 'aa-icon-electric';\n fuelEconomy.alttransKey = 'mpge';\n fuelEconomy.transKey = 'mpg';\n\n switch (comparison.fuelTypeId) {\n case $ctrl.fuelTypes.cng:\n fuelEconomy.icon = 'aa-icon-cng';\n break;\n\n case $ctrl.fuelTypes.diesel:\n fuelEconomy.icon = 'aa-icon-diesel';\n break;\n\n case $ctrl.fuelTypes.gas:\n fuelEconomy.icon = 'aa-icon-gasoline';\n break;\n\n case $ctrl.fuelTypes.phev:\n case $ctrl.fuelTypes.electric:\n fuelEconomy.icon = 'aa-icon-gasoline';\n break;\n\n default:\n break;\n }\n\n break;\n\n default:\n break;\n } // note: 2nd switch helps eliminate duplicate inner switch code per DS ~JG\n\n\n switch (fuelEconomy.fuelTypeId) {\n case $ctrl.fuelTypes.cng:\n fuelEconomy.icon = 'aa-icon-cng';\n break;\n\n case $ctrl.fuelTypes.diesel:\n fuelEconomy.icon = 'aa-icon-diesel';\n break;\n\n case $ctrl.fuelTypes.gas:\n fuelEconomy.icon = 'aa-icon-gasoline';\n break;\n\n default:\n break;\n }\n } else {\n // single type logic\n switch (fuelEconomy.fuelTypeId) {\n case $ctrl.fuelTypes.cng:\n fuelEconomy.icon = 'aa-icon-cng';\n fuelEconomy.transKey = 'mpg';\n break;\n\n case $ctrl.fuelTypes.diesel:\n fuelEconomy.icon = 'aa-icon-diesel';\n fuelEconomy.transKey = 'mpg';\n break;\n\n case $ctrl.fuelTypes.phev:\n fuelEconomy.icon = 'aa-icon-electric';\n fuelEconomy.transKey = 'mpge';\n fuelEconomy.alticon = 'aa-icon-gasoline';\n fuelEconomy.alttransKey = 'mpg';\n break;\n\n case $ctrl.fuelTypes.electric:\n fuelEconomy.icon = 'aa-icon-electric';\n fuelEconomy.transKey = 'mpge';\n break;\n\n case $ctrl.fuelTypes.gas:\n default:\n fuelEconomy.icon = 'aa-icon-gasoline';\n fuelEconomy.transKey = 'mpg';\n break;\n }\n }\n }\n\n function $onChanges(changes) {\n if (changes && changes.featureComparison && changes.featureComparison.currentValue) {\n _.forEach(changes.featureComparison.currentValue.categories, function (o) {\n _.forEach(o.items, function (i) {\n i.existingVehicle.translate = checkData(i.existingVehicle.value);\n i.newVehicle.translate = checkData(i.newVehicle.value);\n i.isShowItem = isShowItem(i.featureId);\n });\n });\n }\n\n if (changes && changes.fuelEconomyComparison && changes.fuelEconomyComparison.currentValue) {\n if (changes.fuelEconomyComparison.currentValue.existingFuelEconomy && changes.fuelEconomyComparison.currentValue.replacementFuelEconomy) {\n if (changes.fuelEconomyComparison.currentValue.existingFuelEconomy.combined && changes.fuelEconomyComparison.currentValue.existingFuelEconomy.combinedEquivalent || changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.combined && changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.combinedEquivalent) {\n $ctrl.hasMultipleFuelTypes = true;\n } else if (changes.fuelEconomyComparison.currentValue.existingFuelEconomy.combined && changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.combinedEquivalent || changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.combined && changes.fuelEconomyComparison.currentValue.existingFuelEconomy.combinedEquivalent) {\n $ctrl.hasMultipleFuelTypes = true;\n } else {\n $ctrl.hasMultipleFuelTypes = false;\n }\n }\n\n if (changes.fuelEconomyComparison.currentValue.existingFuelEconomy) {\n setupUxKeys(changes.fuelEconomyComparison.currentValue.existingFuelEconomy, changes.fuelEconomyComparison.currentValue.replacementFuelEconomy);\n }\n\n if (changes.fuelEconomyComparison.currentValue.replacementFuelEconomy) {\n setupUxKeys(changes.fuelEconomyComparison.currentValue.replacementFuelEconomy, changes.fuelEconomyComparison.currentValue.existingFuelEconomy);\n }\n\n if (!changes.fuelEconomyComparison.currentValue.existingFuelEconomy && !changes.fuelEconomyComparison.currentValue.replacementFuelEconomy) {\n $ctrl.currentSelections[0] = null;\n $ctrl.currentSelections[1] = null;\n }\n\n switch (changes.fuelEconomyComparison.currentValue.eadSource) {\n case 1:\n $ctrl.rangeSelections = changes.fuelEconomyComparison.currentValue.existingFuelEconomy.fuelEstimateRanges;\n setSteps(changes.fuelEconomyComparison.currentValue.eadIndex);\n break;\n\n case 2:\n $ctrl.rangeSelections = changes.fuelEconomyComparison.currentValue.replacementFuelEconomy.fuelEstimateRanges;\n setSteps(changes.fuelEconomyComparison.currentValue.eadIndex);\n break;\n\n default:\n $ctrl.rangeSelections = null;\n break;\n }\n }\n }\n\n function checkData(data) {\n var rslt = false;\n\n switch (data) {\n case '':\n case 'S':\n case 'O':\n rslt = true;\n break;\n }\n\n return rslt;\n }\n\n function prepData(data) {\n switch (data) {\n case '':\n return 'featureComparison_notAvailableLabel';\n\n case 'S':\n return 'featureComparison_standardLegend';\n\n case 'O':\n return 'featureComparison_optionalLegend';\n }\n\n return data;\n }\n\n function isShowItem(featureId) {\n // these id's have been identified by product as features that should be hidden in the Deal Sheet UI\n switch (featureId) {\n case 76:\n case 77:\n case 80:\n case 81:\n case 82:\n case 83:\n case 84:\n case 85:\n return false;\n }\n\n return true;\n }\n}","\n/* injects from baggage-loader */\nrequire('./feature-comparison-fuel.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('featureComparisonFuel', {\r\n templateUrl: '/app/components/deal-sheet/contract/feature-comparison-fuel.component.html',\r\n controller: FeatureComparisonFuelController,\r\n bindings: {\r\n fuelEconomy: '<',\r\n showMultiFuel: '<'\r\n }\r\n});\r\n\r\nfunction FeatureComparisonFuelController() {\r\n var $ctrl = this;\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./lease-mileage.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('leaseMileage', {\r\n templateUrl: '/app/components/deal-sheet/contract/lease-mileage.component.html',\r\n bindings: {\r\n allowedMileage: '<',\r\n estimatedMaturityMileage: '<',\r\n mileageAtDelivery: '<',\r\n alertExists: '<'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./loyalty-rebate.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('loyaltyRebate', {\r\n templateUrl: '/app/components/deal-sheet/contract/loyalty-rebate.component.html',\r\n bindings: {\r\n value: '<'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./monthly-mileage.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('monthlyMileage', {\r\n templateUrl: '/app/components/deal-sheet/contract/monthly-mileage.component.html',\r\n bindings: {\r\n value: '<'\r\n }\r\n});\r\n","MsrpTypeSelectController.$inject = [\"msrpTypes\"];\n\n/* injects from baggage-loader */\nrequire('./msrp-type-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('msrpTypeSelect', {\n templateUrl: '/app/components/deal-sheet/contract/msrp-type-select.component.html',\n controller: MsrpTypeSelectController,\n bindings: {\n vehicle: '<',\n onSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction MsrpTypeSelectController(msrpTypes) {\n var $ctrl = this;\n $ctrl.msrpTypes = msrpTypes;\n $ctrl.selectedMsrpType = $ctrl.msrpTypes.average;\n $ctrl.onSelectionChange = onSelectionChange;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if (changes.vehicle && changes.vehicle.currentValue) {\n $ctrl.selectedMsrpType = $ctrl.vehicle.stockNo ? msrpTypes.inventory : msrpTypes.average;\n }\n }\n\n function onSelectionChange() {\n $ctrl.onSelect({\n msrpType: $ctrl.selectedMsrpType\n });\n $ctrl.selectedMsrpType = $ctrl.vehicle.stockNo ? msrpTypes.inventory : msrpTypes.average;\n }\n}","\n/* injects from baggage-loader */\nrequire('./personalized-offer.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('personalizedOffer', {\r\n templateUrl: '/app/components/deal-sheet/contract/personalized-offer.component.html',\r\n bindings: {\r\n programDetails: '<'\r\n },\r\n controller: PersonalizedOfferController\r\n});\r\n\r\n/* @ngInject */\r\nfunction PersonalizedOfferController() {\r\n var $ctrl = this;\r\n}\r\n","PreferredEquityController.$inject = [\"saleTypes\"];\n\n/* injects from baggage-loader */\nrequire('./preferred-equity.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('preferredEquity', {\n templateUrl: '/app/components/deal-sheet/contract/preferred-equity.component.html',\n controller: PreferredEquityController,\n bindings: {\n value: '<',\n saleType: '<',\n isEuroLite: '<'\n }\n});\n/* @ngInject */\n\nfunction PreferredEquityController(saleTypes) {\n var $ctrl = this;\n $ctrl.$onChanges = onChanges;\n $ctrl.toolTipMessage = \"\";\n\n function onChanges() {\n if ($ctrl.saleType == saleTypes.retail) $ctrl.toolTipMessage = 'preferredEquityRetailBNPTooltip'; //\"retail\";\n\n if ($ctrl.saleType == saleTypes.lease) $ctrl.toolTipMessage = 'preferredEquityLeaseBNPTooltip'; //\"lease\";\n }\n}","\n/* injects from baggage-loader */\nrequire('./pull-forward.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('pullForward', {\r\n templateUrl: '/app/components/deal-sheet/contract/pull-forward.component.html',\r\n bindings: {\r\n value: '<'\r\n }\r\n});\r\n","rateTypeSelectController.$inject = [\"vehicleTypes\"];\n\n/* injects from baggage-loader */\nrequire('./rate-type-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('rateTypeSelect', {\n templateUrl: '/app/components/deal-sheet/contract/rate-type-select.component.html',\n controller: rateTypeSelectController,\n bindings: {\n 'default': '<',\n onSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction rateTypeSelectController(vehicleTypes) {\n var $ctrl = this;\n $ctrl.$onChanges = onChanges;\n $ctrl.vehicleTypes = vehicleTypes;\n $ctrl.onSelectionChange = onSelectionChange;\n\n function onChanges(changes) {\n if (changes.default && changes.default.currentValue) {\n $ctrl.selectedRateType = $ctrl.default;\n }\n }\n\n function onSelectionChange() {\n if ($ctrl.onSelect) {\n $ctrl.onSelect({\n rateType: $ctrl.selectedRateType\n });\n }\n }\n}","import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.array.sort\";\nReplacementContractDetailsController.$inject = [\"_\", \"$filter\", \"saleTypes\", \"opportunityService\", \"environmentVariables\", \"opportunity2Service\"];\n\n/* injects from baggage-loader */\nrequire('./replacement-contracts.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('replacementContracts', {\n templateUrl: '/app/components/deal-sheet/contract/replacement-contracts.component.html',\n controller: ReplacementContractDetailsController,\n bindings: {\n countryId: '<',\n opportunity: '<',\n availableContracts: '<',\n permissions: '<',\n replacementContract: '<',\n onSaleTypeChange: '&',\n onReplacementContractOverride: '&',\n showPullForward: '<',\n showMobileView: '<'\n }\n});\n/* @ngInject */\n\nfunction ReplacementContractDetailsController(_, $filter, saleTypes, opportunityService, environmentVariables, opportunity2Service) {\n var $ctrl = this;\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\n $ctrl.contracts;\n $ctrl.selectedContracts;\n $ctrl.availableSaleTypes;\n $ctrl.selectedSaleTypes;\n $ctrl.saleTypes = saleTypes;\n $ctrl.saleTypeTranslateKeys;\n $ctrl.setSelectedSaleTypes = setSelectedSaleTypes;\n $ctrl.setSelectedContract = setSelectedContract;\n $ctrl.$onChanges = onChanges;\n $ctrl.$onInit = onInit;\n $ctrl.setOverrideContract = setOverrideContract;\n $ctrl.showMobileView = false;\n\n function onInit() {\n $ctrl.saleTypeTranslateKeys = _.invert(saleTypes);\n }\n\n function onChanges(changes) {\n if (changes.opportunity && changes.opportunity.currentValue) {\n opportunityService.addAlertsAsProperties($ctrl, $ctrl.opportunity.alerts);\n }\n\n if (changes.availableContracts && changes.availableContracts.currentValue) {\n setSelectedSaleTypes();\n $ctrl.availableSaleTypes = getAvailableSaleTypes($ctrl.availableContracts);\n $ctrl.banks = getBanks($ctrl.availableContracts);\n $ctrl.hasMultipleBanks = $ctrl.banks.length > 1;\n loadContracts();\n var term = $ctrl.opportunity.replacementContract && $ctrl.opportunity.replacementContract.term || undefined;\n $ctrl.selectedContracts = getDefaultContracts($ctrl.availableContracts, $ctrl.banks, $ctrl.availableSaleTypes, term);\n }\n }\n\n function setFilteredContracts(contracts, saleType, bankName, bankID) {\n if (!contracts) return;\n\n if (!$ctrl.hasMultipleBanks) {\n bankID = bankName = null;\n }\n }\n\n function setSelectedContract(bank, contract) {\n if (!$ctrl.showMobileView && bank && contract) {\n if ($ctrl.selectedContracts[bank.id] == null) {\n $ctrl.selectedContracts[bank.id] = {};\n }\n\n $ctrl.selectedContracts[bank.id][contract.saleType] = contract;\n }\n }\n\n function setOverrideContract(contract) {\n contract.useOverrideTerm = true;\n $ctrl.onReplacementContractOverride({\n contract: contract\n });\n }\n\n function setSelectedSaleTypes(saleTypes) {\n if (saleTypes) {\n $ctrl.selectedSaleTypes = saleTypes.sort(bySaleType);\n } else {\n if ($ctrl.opportunity.replacementContract) {\n $ctrl.selectedSaleTypes = [$ctrl.opportunity.replacementContract.saleType];\n } else {\n var currentSaleType = $ctrl.opportunity.currentContract.saleType;\n\n if (currentSaleType) {\n var currentSaleTypeContracts = $filter('filter')($ctrl.availableContracts, {\n saleType: currentSaleType\n });\n\n if (currentSaleTypeContracts && currentSaleTypeContracts.length > 0) {\n $ctrl.selectedSaleTypes = [currentSaleType];\n } else {\n $ctrl.selectedSaleTypes = [$ctrl.saleTypes.retail];\n }\n } else {\n $ctrl.selectedSaleTypes = [$ctrl.saleTypes.retail];\n }\n }\n }\n\n $ctrl.onSaleTypeChange({\n saleTypes: $ctrl.selectedSaleTypes\n });\n loadContracts();\n }\n\n function bySaleType(option1, option2) {\n if (option1 == $ctrl.saleTypes.retail) {\n return -1;\n }\n\n if (option2 == $ctrl.saleTypes.retail) {\n return 1;\n }\n\n return option1 - option2;\n }\n\n function getAvailableSaleTypes(contracts) {\n var availableSaleTypes = [];\n\n for (var i = 0; i < contracts.length; i++) {\n if (availableSaleTypes.indexOf(contracts[i].saleType) < 0) {\n availableSaleTypes.push(contracts[i].saleType);\n }\n }\n\n return availableSaleTypes;\n }\n\n function getBanks(contracts) {\n var uniqueBankContracts = $filter('unique')(contracts, 'bankID');\n var banks = [];\n\n if (!uniqueBankContracts || uniqueBankContracts.length == 0) {\n return [];\n }\n\n for (var i = 0; i < uniqueBankContracts.length; i++) {\n banks.push({\n id: uniqueBankContracts[i].bankID,\n name: uniqueBankContracts[i].bankName\n });\n }\n\n return banks;\n }\n\n function getDefaultContracts(contracts, banks, availableSaleTypes, term) {\n var defaultContracts = {};\n\n for (var i = 0; i < banks.length; i++) {\n for (var j = 0; j < availableSaleTypes.length; j++) {\n var defaultContract = $filter('filter')(contracts, {\n saleType: availableSaleTypes[j],\n term: term,\n bankID: banks[i].id\n });\n\n if (defaultContract && defaultContract.length > 0) {\n if (defaultContracts[banks[i].id] == null) {\n defaultContracts[banks[i].id] = {};\n }\n\n defaultContracts[banks[i].id][availableSaleTypes[j]] = defaultContract[0];\n }\n }\n }\n\n return defaultContracts;\n }\n\n function loadContracts() {\n if ($ctrl.selectedSaleTypes && $ctrl.selectedSaleTypes.length > 0) {\n $ctrl.contracts = getSynchronizedContracts($ctrl.availableContracts, $ctrl.selectedSaleTypes, $ctrl.banks);\n } else {\n $ctrl.contracts = $ctrl.availableContracts;\n }\n\n $ctrl.contractsByBankIdAndSaleType = groupByBankIdAndSaleType($ctrl.contracts);\n var bankNamesByBankId = $ctrl.banks ? _.fromPairs($ctrl.banks.map(function (b) {\n return [b.id, b.name];\n })) : {};\n\n _.forOwn($ctrl.contractsByBankIdAndSaleType, function (contractsBySaleType, bankID) {\n var bankName = bankNamesByBankId[bankID];\n\n _.forOwn(contractsBySaleType, function (contracts, saleType) {\n setFilteredContracts(contracts, saleType, bankName, bankID);\n });\n });\n }\n /**\r\n * Returns a nested dictionary to look up contracts\r\n * by bankID then by saleType. For example:\r\n * var groupedContracts = groupByBankIdAndSaleType(contracts)\r\n * var matchingContracts = groupedContracts[bankID][saleType]\r\n */\n\n\n function groupByBankIdAndSaleType(contracts) {\n var contractsByBankId = _.groupBy(contracts, function (c) {\n return c.bankID;\n });\n\n return _.mapValues(contractsByBankId, function (cs) {\n return _.groupBy(cs, function (c) {\n return c.saleType;\n });\n });\n }\n /**\r\n * Inserts dummy records into a set of contracts, so contracts with the\r\n * same term length display next to each other (36 month Retail is next\r\n * to 36 month Lease, etc.)\r\n */\n\n\n function getSynchronizedContracts(contracts, saleTypes, banks) {\n var synchronizedContracts = contracts.slice(0, contracts.length);\n synchronizedContracts.sort(bySaleTypeAndTermMonths);\n\n for (var i = 0; i < saleTypes.length; i++) {\n for (var j = i + 1; j < saleTypes.length; j++) {\n for (var k = 0; k < banks.length; k++) {\n if (saleTypes[i] != saleTypes[j]) {\n synchronizeContractTerms(synchronizedContracts, saleTypes[i], saleTypes[j], banks[k].id);\n }\n }\n }\n }\n\n synchronizedContracts.sort(bySaleTypeAndTermMonths);\n return synchronizedContracts;\n }\n\n function synchronizeContractTerms(contracts, saleType1, saleType2, bankID) {\n var termsToInsert = [];\n var i = 0;\n var j = 0;\n var filteredContracts1 = $filter('filter')(contracts, {\n saleType: saleType1,\n bankID: bankID\n });\n var filteredContracts2 = $filter('filter')(contracts, {\n saleType: saleType2,\n bankID: bankID\n });\n\n while (filteredContracts1.length > 0 && filteredContracts2.length > 0 && (i < filteredContracts1.length || j < filteredContracts2.length)) {\n if (!filteredContracts1[i]) {\n if (filteredContracts2[j] && filteredContracts2[j].payment) {\n termsToInsert.push({\n bankID: filteredContracts1[0].bankID,\n saleType: filteredContracts1[0].saleType,\n term: filteredContracts2[j].term\n });\n }\n\n j++;\n } else if (!filteredContracts2[j]) {\n if (filteredContracts1[i] && filteredContracts1[i].payment) {\n termsToInsert.push({\n bankID: filteredContracts2[0].bankID,\n saleType: filteredContracts2[0].saleType,\n term: filteredContracts1[i].term\n });\n }\n\n i++;\n } else if (filteredContracts1[i].term > filteredContracts2[j].term) {\n if (filteredContracts2[j] && filteredContracts2[j].payment) {\n termsToInsert.push({\n bankID: filteredContracts1[0].bankID,\n saleType: filteredContracts1[0].saleType,\n term: filteredContracts2[j].term\n });\n }\n\n j++;\n } else if (filteredContracts1[i].term < filteredContracts2[j].term) {\n if (filteredContracts1[i] && filteredContracts1[i].payment) {\n termsToInsert.push({\n bankID: filteredContracts2[0].bankID,\n saleType: filteredContracts2[0].saleType,\n term: filteredContracts1[i].term\n });\n }\n\n i++;\n } else if (filteredContracts1[i].term == filteredContracts2[j].term) {\n i++;\n j++;\n }\n }\n\n for (var ix = 0; ix < termsToInsert.length; ix++) {\n var termToInsert = termsToInsert[ix];\n\n if (!termExists(contracts, termToInsert.bankID, termToInsert.saleType, termToInsert.term)) {\n contracts.push(termToInsert);\n }\n }\n }\n\n function termExists(contracts, bankID, saleType, term) {\n for (var i = 0; i < contracts.length; i++) {\n var contract = contracts[i];\n\n if (contract.bankID == bankID && contract.saleType == saleType && contract.term == term) {\n return true;\n }\n }\n\n return false;\n }\n\n function bySaleTypeAndTermMonths(contract1, contract2) {\n if (contract1.saleType == contract2.saleType) {\n return contract1.term - contract2.term;\n } else {\n return contract1.saleType - contract2.saleType;\n }\n }\n}","import \"core-js/modules/es6.number.constructor\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/web.dom.iterable\";\nSaleTypeSelect.$inject = [\"_\", \"saleTypes\"];\n\n/* injects from baggage-loader */\nrequire('./sale-type-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('saleTypeSelect', {\n templateUrl: '/app/components/deal-sheet/contract/sale-type-select.component.html',\n controller: SaleTypeSelect,\n bindings: {\n 'defaults': '<',\n options: '<',\n onSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction SaleTypeSelect(_, saleTypes) {\n var $ctrl = this;\n $ctrl.selections = {};\n $ctrl.saleTypes = saleTypes;\n $ctrl.saleTypeTranslateKeys;\n $ctrl.onSelectionChange = onSelectionChange;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n\n function init() {\n $ctrl.saleTypeTranslateKeys = _.invert(saleTypes);\n }\n\n function onChanges(changes) {\n if (changes.defaults && changes.defaults.currentValue) {\n $ctrl.selections = {};\n $ctrl.defaults.forEach(function (saleType) {\n $ctrl.selections[saleType] = true;\n });\n }\n\n if (changes.options && changes.options.currentValue) {\n $ctrl.options.sort(bySaleType);\n }\n }\n\n function bySaleType(option1, option2) {\n if (option1 == $ctrl.saleTypes.retail) {\n return -1;\n }\n\n if (option2 == $ctrl.saleTypes.retail) {\n return 1;\n }\n\n return option1 - option2;\n }\n\n function onSelectionChange() {\n var selectedSaleTypes = [];\n\n for (var property in $ctrl.selections) {\n if ($ctrl.selections.hasOwnProperty(property) && $ctrl.selections[property] == true) {\n selectedSaleTypes.push(Number(property));\n }\n }\n\n $ctrl.onSelect({\n saleTypes: selectedSaleTypes\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./salesperson-name.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('salespersonName', {\r\n templateUrl: '/app/components/deal-sheet/contract/salesperson-name.component.html',\r\n bindings: {\r\n value: '<'\r\n }\r\n});\r\n","WarrantyActionsController.$inject = [\"mapUtils\", \"vehicleService\", \"activityService\", \"activityRule\", \"entityActionAccessEnum\"];\n\n/* injects from baggage-loader */\nrequire('./warranty-actions.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('warrantyActions', {\n templateUrl: '/app/components/deal-sheet/contract/warranty-actions.component.html',\n controller: WarrantyActionsController,\n bindings: {\n opportunity: '<',\n //vehicle: '<',\n //permissions: '<',\n renderAsButton: '<',\n refreshOpportunity: '&',\n startWorkingState: '&',\n stopWorkingState: '&'\n }\n});\n\nfunction WarrantyActionsController(mapUtils, vehicleService, activityService, activityRule, entityActionAccessEnum) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.$onChanges = onChanges;\n $ctrl.onHasWarranty = onHasWarranty;\n $ctrl.onDoesntHaveWarranty = onDoesntHaveWarranty;\n $ctrl.onSoldWarranty = onSoldWarranty;\n $ctrl.onUndoSoldWarranty = onUndoSoldWarranty;\n $ctrl.showHasWarranty = false;\n $ctrl.showDoesntHaveWarranty = false;\n $ctrl.showSoldWarranty = false;\n $ctrl.showUndoSoldWarranty = false;\n\n function onChanges(changes) {\n if (changes.opportunity && changes.opportunity.currentValue) {\n $ctrl.showHasWarranty = mapUtils.hasActionAccess(changes.opportunity.currentValue.actionAccess, entityActionAccessEnum.showHasWarranty);\n $ctrl.showSoldWarranty = mapUtils.hasActionAccess(changes.opportunity.currentValue.actionAccess, entityActionAccessEnum.showSoldWarranty);\n $ctrl.showDoesntHaveWarranty = mapUtils.hasActionAccess(changes.opportunity.currentValue.actionAccess, entityActionAccessEnum.showDoesntHaveWarranty);\n $ctrl.showUndoSoldWarranty = mapUtils.hasActionAccess(changes.opportunity.currentValue.actionAccess, entityActionAccessEnum.showUndoSoldWarranty);\n }\n }\n\n function onHasWarranty() {\n $ctrl.startWorkingState();\n activityService.updateWarrantyStatus($ctrl.opportunity.id).then(function () {\n $ctrl.refreshOpportunity();\n }, function () {\n throw {\n message: \"We encountered an error processing your request.\"\n };\n });\n }\n\n function onDoesntHaveWarranty() {\n $ctrl.startWorkingState();\n activityService.runActivityRule($ctrl.opportunity.id, [activityRule.Unmark_as_Has_Warranty]).then(function () {\n $ctrl.refreshOpportunity();\n }, function () {\n throw {\n message: \"We encountered an error processing your request.\"\n };\n });\n }\n\n function onSoldWarranty() {\n $ctrl.startWorkingState();\n activityService.updateSoldWarranty($ctrl.opportunity.id).then(function () {\n $ctrl.refreshOpportunity();\n }, function () {\n throw {\n message: \"We encountered an error processing your request.\"\n };\n });\n }\n\n function onUndoSoldWarranty() {\n $ctrl.startWorkingState();\n activityService.runActivityRule($ctrl.opportunity.id, [activityRule.Unmark_as_Has_Warranty, activityRule.Unmark_as_Warranty_Sold]).then(function () {\n $ctrl.refreshOpportunity();\n }, function (error) {\n throw {\n message: \"We encountered an error processing your request.\"\n };\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./credit-inquiries.component.html');\n\nimport angular from 'angular';\r\nimport { DealerCountries as dealerCountries } from '../../constants/dealer-countries';\r\n\r\nangular.module('AaApp.Opp').component('creditInquiries', {\r\n templateUrl: '/app/components/deal-sheet/credit-inquiries.component.html',\r\n controller: CreditInquiriesController,\r\n bindings: {\r\n creditPrescreen: '<',\r\n creditPrescreenStatus: '<',\r\n creditPreApproval: '<',\r\n customerName: '<',\r\n permissions: '<',\r\n dealerSettings: '<',\r\n countryId: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CreditInquiriesController(creditPrescreenStatuses, creditPrescreenResultsKey, noCreditPrescreenDataKey) {\r\n var $ctrl = this;\r\n\r\n $ctrl.creditPrescreenResultsKey;\r\n $ctrl.noCreditPrescreenDataKey;\r\n $ctrl.creditPrescreenStatuses;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function init() {\r\n $ctrl.creditPrescreenResultsKey = creditPrescreenResultsKey;\r\n $ctrl.noCreditPrescreenDataKey = noCreditPrescreenDataKey;\r\n $ctrl.creditPrescreenStatuses = creditPrescreenStatuses;\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.creditPreApproval && changes.creditPreApproval.currentValue) {\r\n var goodThroughDate = new Date($ctrl.creditPreApproval.goodThruDate);\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n $ctrl.creditPreApprovalValid = ($ctrl.countryId == dealerCountries.usa && goodThroughDate >= today);\r\n $ctrl.creditPreQualifiedValid = ($ctrl.countryId == dealerCountries.canada && goodThroughDate >= today);\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./credit-prescreen.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('creditPrescreen', {\r\n templateUrl: '/app/components/deal-sheet/credit-prescreen.component.html',\r\n controller: CreditPrescreenController,\r\n bindings: {\r\n opportunityId: '<',\r\n status: '<',\r\n permissions: '<',\r\n moduleIds: '<',\r\n dealerSettings: '<',\r\n onPrescreen: '&',\r\n onStatusChange: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CreditPrescreenController($q, $translate, $timeout, logger, modules, warningTitleKey, creditPrescreenErrorKey, opportunityService, creditPrescreenStatuses, environmentVariables, opportunity2Service) {\r\n var $ctrl = this;\r\n\r\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\r\n\r\n $ctrl.submitPromise;\r\n $ctrl.submitted;\r\n $ctrl.completed;\r\n $ctrl.enabled;\r\n $ctrl.submit = submit;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.startPrescreenTime;\r\n $ctrl.currentPrescreenTime;\r\n const CHECK_STATUS_TIMEOUT = 30000;\r\n const CHECK_STATUS_INTERVAL = 5000;\r\n\r\n function onChanges(changes) {\r\n if ((changes.permissions || changes.moduleIds || changes.dealerSettings)\r\n && $ctrl.permissions && $ctrl.moduleIds && $ctrl.dealerSettings) {\r\n\r\n var enabled = $ctrl.permissions.requestCreditPrescreen\r\n && $ctrl.moduleIds.indexOf(modules.creditConvert) > -1\r\n && $ctrl.dealerSettings.useCreditSoftPull;\r\n\r\n if (enabled) {\r\n if ($ctrl.status) {\r\n if (($ctrl.status.status != null\r\n && $ctrl.status.status != creditPrescreenStatuses.error)\r\n && getDateDifferenceInDays(new Date($ctrl.status.requestDate), new Date()) < 30) {\r\n\r\n $ctrl.submitted = true;\r\n $ctrl.completed = true;\r\n }\r\n else if ($ctrl.status.status == creditPrescreenStatuses.error) {\r\n showErrorMessage();\r\n }\r\n else if ($ctrl.status.status == creditPrescreenStatuses.processing) {\r\n $ctrl.submitted = true;\r\n $ctrl.completed = false;\r\n var deferred = $q.defer();\r\n $ctrl.submitPromise = deferred.promise;\r\n\r\n checkStatus(deferred);\r\n }\r\n }\r\n\r\n $ctrl.enabled = true;\r\n }\r\n }\r\n }\r\n\r\n function submit() {\r\n var deferred = $q.defer();\r\n $ctrl.submitPromise = deferred.promise;\r\n $ctrl.submitted = true;\r\n\r\n $ctrl.count = 0;\r\n opportunityService.submitCreditPrescreenRequest($ctrl.opportunityId, $ctrl.permissions, $ctrl.moduleIds, $ctrl.dealerSettings)\r\n .then(function (success) {\r\n if (success) {\r\n $ctrl.startPrescreenTime = new Date();\r\n checkStatus(deferred);\r\n }\r\n else {\r\n $ctrl.submitted = false;\r\n deferred.reject(\"unsuccessful\");\r\n showErrorMessage();\r\n }\r\n })\r\n .catch(function (error) {\r\n $ctrl.submitted = false;\r\n deferred.reject(error);\r\n\r\n if (error && error.data && error.data[0] && error.data[0].errorMessage) {\r\n showErrorMessage(error.data[0].errorMessage);\r\n }\r\n else {\r\n showErrorMessage();\r\n }\r\n });\r\n }\r\n\r\n function checkStatus(deferred) {\r\n $ctrl.currentPrescreenTime = new Date();\r\n let elapsedTime = $ctrl.currentPrescreenTime - $ctrl.startPrescreenTime;\r\n\r\n if (elapsedTime > CHECK_STATUS_TIMEOUT) {\r\n $timeout.cancel(deferred);\r\n $ctrl.submitted = true;\r\n $ctrl.completed = true;\r\n\r\n $translate('creditPrescreenResponseTimeError').then(function (message) {\r\n showErrorMessage(message);\r\n });\r\n return;\r\n }\r\n\r\n opportunityService.getCreditPrescreenStatus($ctrl.opportunityId, $ctrl.moduleIds)\r\n .then(function (result) {\r\n if (result && (result.status == creditPrescreenStatuses.creditDataReceived || result.status == creditPrescreenStatuses.financialDataReceived)) {\r\n deferred.resolve();\r\n $ctrl.completed = true;\r\n $ctrl.onPrescreen();\r\n }\r\n else if (result && result.status == creditPrescreenStatuses.noDataReceived) {\r\n deferred.resolve();\r\n $ctrl.completed = true;\r\n $ctrl.onStatusChange({ status: result });\r\n }\r\n else if (result && result.status == creditPrescreenStatuses.error) {\r\n $ctrl.submitted = false;\r\n showErrorMessage();\r\n }\r\n else {\r\n $timeout(function () {\r\n checkStatus(deferred);\r\n }, CHECK_STATUS_INTERVAL);\r\n }\r\n });\r\n }\r\n\r\n function getDateDifferenceInDays(date1, date2) {\r\n var millisecondsPerDay = 1000 * 60 * 60 * 24;\r\n var utcDate1 = Date.UTC(date1.getFullYear(), date1.getMonth(), date1.getDate());\r\n var utcDate2 = Date.UTC(date2.getFullYear(), date2.getMonth(), date2.getDate());\r\n\r\n return Math.floor((utcDate2 - utcDate1) / millisecondsPerDay);\r\n }\r\n\r\n function showErrorMessage(message) {\r\n if (message) {\r\n logger.warning(message, null, warningTitleKey);\r\n }\r\n else {\r\n logger.warning(creditPrescreenErrorKey, null, warningTitleKey);\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./culture-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('cultureSelect', {\r\n templateUrl: '/app/components/deal-sheet/culture-select.component.html',\r\n controller: CultureSelectController,\r\n bindings: {\r\n countryId: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CultureSelectController($translate, $timeout, userService, dealerCountries, cultures) {\r\n var $ctrl = this;\r\n\r\n $ctrl.selectedCulture;\r\n $ctrl.cultures = cultures;\r\n $ctrl.dealerCountries = dealerCountries;\r\n $ctrl.changeCulture = changeCulture;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function init() {\r\n $ctrl.selectedCulture = userService.getCultureNameSync();\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.countryId && changes.countryId.currentValue) {\r\n if ($ctrl.countryId == $ctrl.dealerCountries.canada\r\n && ($ctrl.selectedCulture != $ctrl.cultures.enCA && $ctrl.selectedCulture != $ctrl.cultures.frCA)) {\r\n $ctrl.selectedCulture = $ctrl.cultures.enCA;\r\n }\r\n }\r\n }\r\n\r\n function changeCulture(culture) {\r\n if ($translate.getTranslationTable(culture)) {\r\n $ctrl.selectedCulture = culture;\r\n $ctrl.onSelect({ culture: $ctrl.selectedCulture });\r\n }\r\n else {\r\n $ctrl.selectedCulture = culture;\r\n\r\n $timeout(function () {\r\n $ctrl.selectedCulture = null;\r\n }, 100);\r\n\r\n $timeout(function () {\r\n $ctrl.selectedCulture = culture;\r\n $ctrl.onSelect({ culture: $ctrl.selectedCulture });\r\n }, 100);\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./customer-contact.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('customerContact', {\r\n templateUrl: '/app/components/deal-sheet/customer-contact.component.html',\r\n controller: CustomerContactController,\r\n bindings: {\r\n opportunity: '<',\r\n customer: '<',\r\n permissions: '<',\r\n dealerSettings: '<',\r\n openDate: '<',\r\n lastTouchedDate: '<',\r\n countryId: '<',\r\n onEmailSend: '&',\r\n isEuroLite: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CustomerContactController($q, $translate, $filter, $uibModal, $document, contactTypes, storageService, googleService, customerService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.openModalWithMap = openModalWithMap;\r\n $ctrl.customerAddress = '';\r\n $ctrl.addressCoordinatesSearched = false;\r\n $ctrl.hasCoords = false;\r\n $ctrl.cultureName = 'en-US';\r\n\r\n $ctrl.cultureDisplayName = null;\r\n\r\n function init() {\r\n getTranslations();\r\n $ctrl.cultureName = storageService.getItem('cultureName') || 'en-US';\r\n }\r\n\r\n function getTranslations() {\r\n $q.all({\r\n 'tel1Label': $translate('tel1Label'),\r\n 'tel2Label': $translate('tel2Label'),\r\n 'phoneCellLabel': $translate('phoneCellLabel'),\r\n 'phoneHomeLabel': $translate('phoneHomeLabel'),\r\n 'phoneWorkLabel': $translate('phoneWorkLabel'),\r\n 'preferredLanguageLabel': $translate('preferredLanguage'),\r\n }).then(function (trans) {\r\n if ($ctrl.isEuroLite) {\r\n $ctrl.phoneHomeLabel = trans.tel1Label;\r\n $ctrl.phoneCellLabel = trans.tel2Label;\r\n }\r\n else {\r\n $ctrl.phoneHomeLabel = trans.phoneHomeLabel;\r\n $ctrl.phoneCellLabel = trans.phoneCellLabel;\r\n }\r\n $ctrl.phoneWorkLabel = trans.phoneWorkLabel;\r\n $ctrl.preferredLanguageLabel = trans.preferredLanguageLabel;\r\n })\r\n }\r\n\r\n function onChanges(changes) {\r\n getCustomerAddress();\r\n\r\n if (changes.customer && changes.customer.currentValue) {\r\n $ctrl.homePhones = [];\r\n var homePhones = $filter('filter')($ctrl.customer.alternateContacts, { contactType: contactTypes.homePhone });\r\n $ctrl.homePhones = $ctrl.homePhones.concat(homePhones);\r\n $ctrl.homePhones = $filter('unique')($ctrl.homePhones, 'value');\r\n\r\n $ctrl.workPhones = [];\r\n var workPhones = $filter('filter')($ctrl.customer.alternateContacts, { contactType: contactTypes.workPhone });\r\n $ctrl.workPhones = $ctrl.workPhones.concat(workPhones);\r\n $ctrl.workPhones = $filter('unique')($ctrl.workPhones, 'value');\r\n\r\n $ctrl.cellPhones = [];\r\n var cellPhones = $filter('filter')($ctrl.customer.alternateContacts, { contactType: contactTypes.cellPhone });\r\n $ctrl.cellPhones = $ctrl.cellPhones.concat(cellPhones);\r\n $ctrl.cellPhones = $filter('unique')($ctrl.cellPhones, 'value');\r\n\r\n $ctrl.emails = [];\r\n var emails = $filter('filter')($ctrl.customer.alternateContacts, { contactType: contactTypes.email });\r\n $ctrl.emails = $ctrl.emails.concat(emails);\r\n $ctrl.emails = $filter('unique')($ctrl.emails, 'value');\r\n \r\n $ctrl.cultureDisplayName = customerService.getCustomerCultureByCode($ctrl.customer.preferredCultureName);\r\n }\r\n }\r\n\r\n function getCustomerAddress() {\r\n var Address1 = '';\r\n var Address2 = '';\r\n if ($ctrl.customer) {\r\n\r\n $ctrl.hasCoords = $ctrl.customer.address.streetAddress != null;\r\n\r\n if ($ctrl.customer.address.streetAddress)\r\n Address1 = $ctrl.customer.address.streetAddress\r\n else\r\n Address1 = '';\r\n\r\n if ($ctrl.customer.address.streetAddress2)\r\n Address2 = ' ' + $ctrl.customer.address.streetAddress2;\r\n else\r\n Address2 = ' ';\r\n\r\n $ctrl.customerAddress = Address1 + Address2;\r\n $ctrl.fullAddress = $ctrl.customerAddress + ', ' + $ctrl.customer.address.city + ', ' + $ctrl.customer.address.stateName + ', ' + $ctrl.customer.address.normalizedZipCode;\r\n }\r\n }\r\n \r\n function openModalWithMap(){\r\n var modalInstance = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n windowClass: 'large-modal',\r\n component: 'googleMapsModal',\r\n resolve: {\r\n address: function(){\r\n return $ctrl.fullAddress;\r\n }\r\n }\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./customer-email.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('customerEmail', {\r\n templateUrl: '/app/components/deal-sheet/customer-email.component.html',\r\n controller: CustomerEmailController,\r\n bindings: {\r\n permissions: '<',\r\n opportunity: '<',\r\n email: '<',\r\n displayTextKey: '<',\r\n doNotEmail: '<',\r\n countryId: '<',\r\n openDate: '<',\r\n lastTouchDate: '<',\r\n onEmailSend: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CustomerEmailController($q, $translate, dealSheetService, eulaModalService, legacyService, dealerService, featureToggleService, templateService, translateErrorKeys, logger) {\r\n var $ctrl = this;\r\n\r\n $ctrl.blankTemplateId;\r\n $ctrl.scheduleModalParamObject;\r\n $ctrl.showEmailLink = false;\r\n $ctrl.isTouchpointOk = true;\r\n\r\n $ctrl.getEmailTemplateUrl = getEmailTemplateUrl;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.displayText;\r\n $ctrl.preEmailValidation = preEmailValidation;\r\n\r\n function init() {\r\n $ctrl.blankTemplateId = 16720;\r\n eulaModalService.isEmailEnabled().then(isEnabled => $ctrl.showEmailLink = isEnabled);\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.displayTextKey || changes.email) {\r\n if ($ctrl.displayTextKey) {\r\n $translate($ctrl.displayTextKey).then(value => {\r\n $ctrl.displayText = value;\r\n })\r\n } else if ($ctrl.email) {\r\n $ctrl.displayText = $ctrl.email.value;\r\n }\r\n }\r\n\r\n if ((changes.countryId && changes.countryId.currentValue || changes.openDate && changes.openDate.currentValue\r\n || changes.lastTouchDate && changes.lastTouchDate.currentValue) && $ctrl.countryId && $ctrl.openDate && $ctrl.lastTouchDate) {\r\n\r\n var twoYearsAgo = new Date();\r\n twoYearsAgo.setFullYear(twoYearsAgo.getFullYear() - 2);\r\n $ctrl.isTouchpointOk = ((new Date($ctrl.lastTouchedDate) > twoYearsAgo)\r\n || (new Date($ctrl.openDate) > twoYearsAgo)\r\n || ($ctrl.countryId != 2)); //Canada Only\r\n }\r\n }\r\n\r\n function getEmailTemplateUrl() {\r\n $ctrl.url = legacyService.getPrintTemplateUrl($ctrl.opportunity, $ctrl.blankTemplateId, true);\r\n\r\n return preEmailValidation();\r\n //return $q.resolve(true);\r\n }\r\n\r\n function preEmailValidation(){\r\n return $q.all([\r\n eulaModalService.validateEula(),\r\n templateService.validateMaxEmailsPerDay($ctrl.opportunity.id)\r\n ]).then(function(response){\r\n var acceptedEula = response[0];\r\n var templateServiceResponse = response[1];\r\n\r\n //Shouldn't there be a warning message for EULA not accepted?\r\n if (!templateServiceResponse.data.success){\r\n $translate([translateErrorKeys.maxEmailsExceeded], { maxEmailsPerEntityPerDay: templateServiceResponse.data.maxEmailsPerEntityPerDay }).then(function(translation){\r\n logger.warning(\r\n translation.maxEmailsExceeded,\r\n null,\r\n null\r\n );\r\n });\r\n }\r\n if ($ctrl.opportunity.customer.doNotEmail){\r\n logger.warning(\"doNotEmailCheckedWarning\");\r\n }\r\n\r\n return acceptedEula && templateServiceResponse.data.success && !$ctrl.opportunity.customer.doNotEmail;\r\n });\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./customer-phone.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('customerPhone', {\r\n templateUrl: '/app/components/deal-sheet/customer-phone.component.html',\r\n controller: CustomerPhoneController,\r\n bindings: {\r\n phone: '<',\r\n dealerSettings: '<',\r\n doNotCall: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CustomerPhoneController(doNotCallStatusTypes) {\r\n var $ctrl = this;\r\n \r\n $ctrl.doNotCallStatusTypes = doNotCallStatusTypes;\r\n $ctrl.doNotCallStatusTranslateKeys;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.doNotCallStatusTranslateKeys = {};\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.notProcessed] = 'ndncNotProcessedAbbrev';\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.invalidNumber] = 'ndncInvalidNumberAbbrev';\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.notSubscribed] = 'ndncNotSubscribedAbbrev';\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.onDoNotCallList] = 'ndncOnDoNotCallListAbbrev';\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.offDoNotCallList] = 'ndncOffDoNotCallListAbbrev';\r\n }\r\n}\r\n","CreditInquiriesController.$inject = [\"creditPrescreenStatuses\", \"creditPrescreenResultsKey\", \"noCreditPrescreenDataKey\"];\n\n/* injects from baggage-loader */\nrequire('./credit-inquiries.component.html');\n\nimport angular from 'angular';\nimport { DealerCountries as dealerCountries } from '../../constants/dealer-countries';\nangular.module('AaApp.Opp').component('creditInquiries', {\n templateUrl: '/app/components/deal-sheet/credit-inquiries.component.html',\n controller: CreditInquiriesController,\n bindings: {\n creditPrescreen: '<',\n creditPrescreenStatus: '<',\n creditPreApproval: '<',\n customerName: '<',\n permissions: '<',\n dealerSettings: '<',\n countryId: '<'\n }\n});\n/* @ngInject */\n\nfunction CreditInquiriesController(creditPrescreenStatuses, creditPrescreenResultsKey, noCreditPrescreenDataKey) {\n var $ctrl = this;\n $ctrl.creditPrescreenResultsKey;\n $ctrl.noCreditPrescreenDataKey;\n $ctrl.creditPrescreenStatuses;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n\n function init() {\n $ctrl.creditPrescreenResultsKey = creditPrescreenResultsKey;\n $ctrl.noCreditPrescreenDataKey = noCreditPrescreenDataKey;\n $ctrl.creditPrescreenStatuses = creditPrescreenStatuses;\n }\n\n function onChanges(changes) {\n if (changes.creditPreApproval && changes.creditPreApproval.currentValue) {\n var goodThroughDate = new Date($ctrl.creditPreApproval.goodThruDate);\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n $ctrl.creditPreApprovalValid = $ctrl.countryId == dealerCountries.usa && goodThroughDate >= today;\n $ctrl.creditPreQualifiedValid = $ctrl.countryId == dealerCountries.canada && goodThroughDate >= today;\n }\n }\n}","\n/* injects from baggage-loader */\nrequire('./credit-prescreen-spinner.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('creditPrescreenSpinner', {\r\n templateUrl: '/app/components/deal-sheet/credit-prescreen-spinner.component.html',\r\n controller: CreditPrescreenSpinnerController\r\n});\r\n\r\nfunction CreditPrescreenSpinnerController() {\r\n // This is a dummy component, just necessary to get the build system to\r\n // compile the 'credit-prescreen-spinner.component.html' template,\r\n // which is used by the creditPrescreen component.\r\n}\r\n","CreditPrescreenController.$inject = [\"$q\", \"$translate\", \"$timeout\", \"logger\", \"modules\", \"warningTitleKey\", \"creditPrescreenErrorKey\", \"opportunityService\", \"creditPrescreenStatuses\", \"environmentVariables\", \"opportunity2Service\"];\n\n/* injects from baggage-loader */\nrequire('./credit-prescreen.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('creditPrescreen', {\n templateUrl: '/app/components/deal-sheet/credit-prescreen.component.html',\n controller: CreditPrescreenController,\n bindings: {\n opportunityId: '<',\n status: '<',\n permissions: '<',\n moduleIds: '<',\n dealerSettings: '<',\n onPrescreen: '&',\n onStatusChange: '&'\n }\n});\n/* @ngInject */\n\nfunction CreditPrescreenController($q, $translate, $timeout, logger, modules, warningTitleKey, creditPrescreenErrorKey, opportunityService, creditPrescreenStatuses, environmentVariables, opportunity2Service) {\n var $ctrl = this;\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\n $ctrl.submitPromise;\n $ctrl.submitted;\n $ctrl.completed;\n $ctrl.enabled;\n $ctrl.submit = submit;\n $ctrl.$onChanges = onChanges;\n $ctrl.startPrescreenTime;\n $ctrl.currentPrescreenTime;\n var CHECK_STATUS_TIMEOUT = 30000;\n var CHECK_STATUS_INTERVAL = 5000;\n\n function onChanges(changes) {\n if ((changes.permissions || changes.moduleIds || changes.dealerSettings) && $ctrl.permissions && $ctrl.moduleIds && $ctrl.dealerSettings) {\n var enabled = $ctrl.permissions.requestCreditPrescreen && $ctrl.moduleIds.indexOf(modules.creditConvert) > -1 && $ctrl.dealerSettings.useCreditSoftPull;\n\n if (enabled) {\n if ($ctrl.status) {\n if ($ctrl.status.status != null && $ctrl.status.status != creditPrescreenStatuses.error && getDateDifferenceInDays(new Date($ctrl.status.requestDate), new Date()) < 30) {\n $ctrl.submitted = true;\n $ctrl.completed = true;\n } else if ($ctrl.status.status == creditPrescreenStatuses.error) {\n showErrorMessage();\n } else if ($ctrl.status.status == creditPrescreenStatuses.processing) {\n $ctrl.submitted = true;\n $ctrl.completed = false;\n var deferred = $q.defer();\n $ctrl.submitPromise = deferred.promise;\n checkStatus(deferred);\n }\n }\n\n $ctrl.enabled = true;\n }\n }\n }\n\n function submit() {\n var deferred = $q.defer();\n $ctrl.submitPromise = deferred.promise;\n $ctrl.submitted = true;\n $ctrl.count = 0;\n opportunityService.submitCreditPrescreenRequest($ctrl.opportunityId, $ctrl.permissions, $ctrl.moduleIds, $ctrl.dealerSettings).then(function (success) {\n if (success) {\n $ctrl.startPrescreenTime = new Date();\n checkStatus(deferred);\n } else {\n $ctrl.submitted = false;\n deferred.reject(\"unsuccessful\");\n showErrorMessage();\n }\n }).catch(function (error) {\n $ctrl.submitted = false;\n deferred.reject(error);\n\n if (error && error.data && error.data[0] && error.data[0].errorMessage) {\n showErrorMessage(error.data[0].errorMessage);\n } else {\n showErrorMessage();\n }\n });\n }\n\n function checkStatus(deferred) {\n $ctrl.currentPrescreenTime = new Date();\n var elapsedTime = $ctrl.currentPrescreenTime - $ctrl.startPrescreenTime;\n\n if (elapsedTime > CHECK_STATUS_TIMEOUT) {\n $timeout.cancel(deferred);\n $ctrl.submitted = true;\n $ctrl.completed = true;\n $translate('creditPrescreenResponseTimeError').then(function (message) {\n showErrorMessage(message);\n });\n return;\n }\n\n opportunityService.getCreditPrescreenStatus($ctrl.opportunityId, $ctrl.moduleIds).then(function (result) {\n if (result && (result.status == creditPrescreenStatuses.creditDataReceived || result.status == creditPrescreenStatuses.financialDataReceived)) {\n deferred.resolve();\n $ctrl.completed = true;\n $ctrl.onPrescreen();\n } else if (result && result.status == creditPrescreenStatuses.noDataReceived) {\n deferred.resolve();\n $ctrl.completed = true;\n $ctrl.onStatusChange({\n status: result\n });\n } else if (result && result.status == creditPrescreenStatuses.error) {\n $ctrl.submitted = false;\n showErrorMessage();\n } else {\n $timeout(function () {\n checkStatus(deferred);\n }, CHECK_STATUS_INTERVAL);\n }\n });\n }\n\n function getDateDifferenceInDays(date1, date2) {\n var millisecondsPerDay = 1000 * 60 * 60 * 24;\n var utcDate1 = Date.UTC(date1.getFullYear(), date1.getMonth(), date1.getDate());\n var utcDate2 = Date.UTC(date2.getFullYear(), date2.getMonth(), date2.getDate());\n return Math.floor((utcDate2 - utcDate1) / millisecondsPerDay);\n }\n\n function showErrorMessage(message) {\n if (message) {\n logger.warning(message, null, warningTitleKey);\n } else {\n logger.warning(creditPrescreenErrorKey, null, warningTitleKey);\n }\n }\n}","\n/* injects from baggage-loader */\nrequire('./crm-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('crmAction', {\r\n templateUrl: '/app/components/deal-sheet/crm-action.component.html',\r\n bindings: {\r\n opportunityId: '<'\r\n }\r\n});\r\n","CultureSelectController.$inject = [\"$translate\", \"$timeout\", \"userService\", \"dealerCountries\", \"cultures\"];\n\n/* injects from baggage-loader */\nrequire('./culture-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('cultureSelect', {\n templateUrl: '/app/components/deal-sheet/culture-select.component.html',\n controller: CultureSelectController,\n bindings: {\n countryId: '<',\n onSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction CultureSelectController($translate, $timeout, userService, dealerCountries, cultures) {\n var $ctrl = this;\n $ctrl.selectedCulture;\n $ctrl.cultures = cultures;\n $ctrl.dealerCountries = dealerCountries;\n $ctrl.changeCulture = changeCulture;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n\n function init() {\n $ctrl.selectedCulture = userService.getCultureNameSync();\n }\n\n function onChanges(changes) {\n if (changes.countryId && changes.countryId.currentValue) {\n if ($ctrl.countryId == $ctrl.dealerCountries.canada && $ctrl.selectedCulture != $ctrl.cultures.enCA && $ctrl.selectedCulture != $ctrl.cultures.frCA) {\n $ctrl.selectedCulture = $ctrl.cultures.enCA;\n }\n }\n }\n\n function changeCulture(culture) {\n if ($translate.getTranslationTable(culture)) {\n $ctrl.selectedCulture = culture;\n $ctrl.onSelect({\n culture: $ctrl.selectedCulture\n });\n } else {\n $ctrl.selectedCulture = culture;\n $timeout(function () {\n $ctrl.selectedCulture = null;\n }, 100);\n $timeout(function () {\n $ctrl.selectedCulture = culture;\n $ctrl.onSelect({\n culture: $ctrl.selectedCulture\n });\n }, 100);\n }\n }\n}","CustomerContactController.$inject = [\"$q\", \"$translate\", \"$filter\", \"$uibModal\", \"$document\", \"contactTypes\", \"storageService\", \"googleService\", \"customerService\"];\n\n/* injects from baggage-loader */\nrequire('./customer-contact.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('customerContact', {\n templateUrl: '/app/components/deal-sheet/customer-contact.component.html',\n controller: CustomerContactController,\n bindings: {\n opportunity: '<',\n customer: '<',\n permissions: '<',\n dealerSettings: '<',\n openDate: '<',\n lastTouchedDate: '<',\n countryId: '<',\n onEmailSend: '&',\n isEuroLite: '<'\n }\n});\n/* @ngInject */\n\nfunction CustomerContactController($q, $translate, $filter, $uibModal, $document, contactTypes, storageService, googleService, customerService) {\n var $ctrl = this;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.openModalWithMap = openModalWithMap;\n $ctrl.customerAddress = '';\n $ctrl.addressCoordinatesSearched = false;\n $ctrl.hasCoords = false;\n $ctrl.cultureName = 'en-US';\n $ctrl.cultureDisplayName = null;\n\n function init() {\n getTranslations();\n $ctrl.cultureName = storageService.getItem('cultureName') || 'en-US';\n }\n\n function getTranslations() {\n $q.all({\n 'tel1Label': $translate('tel1Label'),\n 'tel2Label': $translate('tel2Label'),\n 'phoneCellLabel': $translate('phoneCellLabel'),\n 'phoneHomeLabel': $translate('phoneHomeLabel'),\n 'phoneWorkLabel': $translate('phoneWorkLabel'),\n 'preferredLanguageLabel': $translate('preferredLanguage')\n }).then(function (trans) {\n if ($ctrl.isEuroLite) {\n $ctrl.phoneHomeLabel = trans.tel1Label;\n $ctrl.phoneCellLabel = trans.tel2Label;\n } else {\n $ctrl.phoneHomeLabel = trans.phoneHomeLabel;\n $ctrl.phoneCellLabel = trans.phoneCellLabel;\n }\n\n $ctrl.phoneWorkLabel = trans.phoneWorkLabel;\n $ctrl.preferredLanguageLabel = trans.preferredLanguageLabel;\n });\n }\n\n function onChanges(changes) {\n getCustomerAddress();\n\n if (changes.customer && changes.customer.currentValue) {\n $ctrl.homePhones = [];\n var homePhones = $filter('filter')($ctrl.customer.alternateContacts, {\n contactType: contactTypes.homePhone\n });\n $ctrl.homePhones = $ctrl.homePhones.concat(homePhones);\n $ctrl.homePhones = $filter('unique')($ctrl.homePhones, 'value');\n $ctrl.workPhones = [];\n var workPhones = $filter('filter')($ctrl.customer.alternateContacts, {\n contactType: contactTypes.workPhone\n });\n $ctrl.workPhones = $ctrl.workPhones.concat(workPhones);\n $ctrl.workPhones = $filter('unique')($ctrl.workPhones, 'value');\n $ctrl.cellPhones = [];\n var cellPhones = $filter('filter')($ctrl.customer.alternateContacts, {\n contactType: contactTypes.cellPhone\n });\n $ctrl.cellPhones = $ctrl.cellPhones.concat(cellPhones);\n $ctrl.cellPhones = $filter('unique')($ctrl.cellPhones, 'value');\n $ctrl.emails = [];\n var emails = $filter('filter')($ctrl.customer.alternateContacts, {\n contactType: contactTypes.email\n });\n $ctrl.emails = $ctrl.emails.concat(emails);\n $ctrl.emails = $filter('unique')($ctrl.emails, 'value');\n $ctrl.cultureDisplayName = customerService.getCustomerCultureByCode($ctrl.customer.preferredCultureName);\n }\n }\n\n function getCustomerAddress() {\n var Address1 = '';\n var Address2 = '';\n\n if ($ctrl.customer) {\n $ctrl.hasCoords = $ctrl.customer.address.streetAddress != null;\n if ($ctrl.customer.address.streetAddress) Address1 = $ctrl.customer.address.streetAddress;else Address1 = '';\n if ($ctrl.customer.address.streetAddress2) Address2 = ' ' + $ctrl.customer.address.streetAddress2;else Address2 = ' ';\n $ctrl.customerAddress = Address1 + Address2;\n $ctrl.fullAddress = $ctrl.customerAddress + ', ' + $ctrl.customer.address.city + ', ' + $ctrl.customer.address.stateName + ', ' + $ctrl.customer.address.normalizedZipCode;\n }\n }\n\n function openModalWithMap() {\n var modalInstance = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n windowClass: 'large-modal',\n component: 'googleMapsModal',\n resolve: {\n address: function address() {\n return $ctrl.fullAddress;\n }\n }\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./customer-edit-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('customerEditAction', {\r\n templateUrl: '/app/components/deal-sheet/customer-edit-action.component.html',\r\n bindings: {\r\n customer: '<',\r\n permissions: '<',\r\n dealerSettings: '<',\r\n pricingPlan: '<',\r\n useIcon: '<',\r\n onCustomerEdit: '&',\r\n onCancel: '&'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./customer-edit.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\nimport PricingPlanTypes from '../../constants/pricing-plan-types';\r\nimport './customer-edit.component.scss';\r\n\r\n(function () {\r\n angular.module('AaApp.Opp').component('customerEdit', {\r\n templateUrl: '/app/components/deal-sheet/customer-edit.component.html',\r\n bindings: {\r\n customer: '<',\r\n dealerSettings: '<',\r\n permissions: '<',\r\n pricingPlanEnabled: '<',\r\n onEdit: '&'\r\n },\r\n controller: CustomerEditController,\r\n });\r\n\r\n /* @ngInject */\r\n function CustomerEditController($timeout, authorizationService, contactTypes, territories) {\r\n var $ctrl = this;\r\n\r\n $ctrl.selectedState;\r\n $ctrl.editableCustomer;\r\n $ctrl.countryId;\r\n\r\n $ctrl.selectedPricingPlan;\r\n $ctrl.pricingPlans;\r\n \r\n $ctrl.isFirstNameRequired = isFirstNameRequired;\r\n $ctrl.isLastNameRequired = isLastNameRequired;\r\n $ctrl.onCustomerEdit = onCustomerEdit;\r\n $ctrl.onPreferredContactChanged = onPreferredContactChanged;\r\n $ctrl.onAlternateContactChanged = onAlternateContactChanged;\r\n $ctrl.updateState = updateState;\r\n $ctrl.updatePricingPlan = updatePricingPlan;\r\n $ctrl.$onInit = init; \r\n \r\n $ctrl.$onChanges = function $onChanges() {\r\n updatePhoneNumberArrays();\r\n };\r\n\r\n function init() {\r\n if ($ctrl.pricingPlanEnabled) {\r\n\r\n $ctrl.pricingPlans = Object.entries(PricingPlanTypes).map(([name, id]) => ({ id, name }));\r\n\r\n if ($ctrl.customer.pricingPlanId) {\r\n $ctrl.selectedPricingPlan = _.find($ctrl.pricingPlans, (o) => { return o.id === $ctrl.customer.pricingPlanId } );\r\n } else {\r\n $ctrl.selectedPricingPlan = $ctrl.pricingPlans[0];\r\n }\r\n }\r\n\r\n $ctrl.states = territories;\r\n $ctrl.countryId = getCountryId();\r\n $ctrl.editableCustomer = getCustomerCopy();\r\n\r\n $ctrl.selectedState = {\r\n id: $ctrl.editableCustomer.address.stateId,\r\n name: $ctrl.editableCustomer.address.stateName\r\n };\r\n\r\n validateInitialCustomer();\r\n }\r\n\r\n function validateInitialCustomer() {\r\n if (!$ctrl.editableCustomer.companyName) {\r\n if (!$ctrl.editableCustomer.firstName && $ctrl.editableCustomer.lastName) {\r\n $timeout(function () {\r\n $ctrl.customerEditForm.firstName.$setDirty();\r\n $ctrl.onCustomerEdit();\r\n });\r\n }\r\n }\r\n }\r\n\r\n function getCustomerCopy() {\r\n var cloneCustomer = {\r\n id: $ctrl.customer.id,\r\n firstName : $ctrl.customer.firstName,\r\n middleName : $ctrl.customer.middleName,\r\n lastName : $ctrl.customer.lastName,\r\n companyName : $ctrl.customer.companyName,\r\n invalidContacts : $ctrl.customer.invalidContacts.slice(),\r\n alternateContacts: $ctrl.customer.alternateContacts.slice(),\r\n doNotCall : $ctrl.customer.doNotCall,\r\n doNotEmail : $ctrl.customer.doNotEmail,\r\n doNotMail: $ctrl.customer.doNotMail,\r\n doNotText: $ctrl.customer.doNotText,\r\n isFullCustomer : $ctrl.customer.isFullCustomer,\r\n isAddressNotValid : $ctrl.customer.isAddressNotValid,\r\n address: {\r\n streetAddress: $ctrl.customer.address.streetAddress,\r\n streetAddress2: $ctrl.customer.address.streetAddress2,\r\n city: $ctrl.customer.address.city,\r\n stateId: $ctrl.customer.address.stateId,\r\n stateName: $ctrl.customer.address.stateName,\r\n zipCode: $ctrl.customer.address.zipCode,\r\n normalizedZipCode: $ctrl.customer.address.normalizedZipCode\r\n },\r\n pricingPlanId: $ctrl.customer.pricingPlanID,\r\n // Create phony records for the UI if there is currenly no value\r\n homePhoneNumber : $ctrl.customer.homePhoneNumber || { isPreferred: true, contactType: contactTypes.homePhone },\r\n workPhoneNumber : $ctrl.customer.workPhoneNumber || { isPreferred: true, contactType: contactTypes.workPhone },\r\n cellPhoneNumber : $ctrl.customer.cellPhoneNumber || { isPreferred: true, contactType: contactTypes.cellPhone },\r\n emailAddress : $ctrl.customer.emailAddress || { isPreferred: true, contactType: contactTypes.email },\r\n preferredCultureName: $ctrl.customer.preferredCultureName\r\n };\r\n\r\n return cloneCustomer;\r\n }\r\n\r\n function updatePhoneNumberArrays() {\r\n if ($ctrl.customer && $ctrl.customer.alternateContacts) {\r\n $ctrl.alternateHomePhones = getAlternateContacts($ctrl.customer.alternateContacts, contactTypes.homePhone);\r\n $ctrl.alternateWorkPhones = getAlternateContacts($ctrl.customer.alternateContacts, contactTypes.workPhone);\r\n $ctrl.alternateCellPhones = getAlternateContacts($ctrl.customer.alternateContacts, contactTypes.cellPhone);\r\n $ctrl.alternateEmailAddresses = getAlternateContacts($ctrl.customer.alternateContacts, contactTypes.email);\r\n } else {\r\n $ctrl.alternateHomePhones = [];\r\n $ctrl.alternateWorkPhones = [];\r\n $ctrl.alternateCellPhones = [];\r\n $ctrl.alternateEmailAddresses = [];\r\n }\r\n }\r\n\r\n function onPreferredContactChanged(propertyName, change) {\r\n $ctrl.editableCustomer[propertyName] = change.currentValue;\r\n updateInvalidContacts(change.currentValue);\r\n onCustomerEdit();\r\n }\r\n\r\n function onAlternateContactChanged(propertyName, change) {\r\n var alternateContacts = $ctrl[propertyName].slice();\r\n\r\n // If the new number is marked as preferred, swap\r\n if (change.currentValue.isPreferred) {\r\n var preferredPropertyName = getPreferredPropertyName(change.currentValue.contactType);\r\n\r\n var preferredContact = $ctrl.editableCustomer[preferredPropertyName];\r\n if (preferredContact && preferredContact.value) {\r\n preferredContact.isPreferred = false;\r\n replaceOrAddContact(alternateContacts, change.previousValue, preferredContact);\r\n }\r\n\r\n $ctrl.editableCustomer[preferredPropertyName] = change.currentValue;\r\n } else {\r\n replaceOrAddContact(alternateContacts, change.previousValue, change.currentValue);\r\n }\r\n\r\n // Replace the array with a new value to trigger updates\r\n $ctrl[propertyName] = alternateContacts;\r\n updateInvalidContacts(change.currentValue);\r\n\r\n onCustomerEdit();\r\n\r\n function replaceOrAddContact(arr, previousValue, currentValue) {\r\n var ix = _.findIndex(arr, function (p) { return p.value == previousValue.value });\r\n if (ix > -1) {\r\n arr[ix] = currentValue;\r\n } else {\r\n arr.push(currentValue);\r\n }\r\n }\r\n\r\n function getPreferredPropertyName(contactType) {\r\n switch (contactType) {\r\n case contactTypes.homePhone: return 'homePhoneNumber';\r\n case contactTypes.workPhone: return 'workPhoneNumber';\r\n case contactTypes.cellPhone: return 'cellPhoneNumber';\r\n case contactTypes.email: return 'emailAddress';\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Updates the customer's invalidContacts array to match a changed contact.\r\n * If the contact is marked as bad, it will be added to invalidContacts, if necessary.\r\n * If the contact is marked as not-bad, it will be removed.\r\n * @param {Contact} contact - The contact which has been updated.\r\n */\r\n function updateInvalidContacts(contact) {\r\n if (contact && contact.value && contact.isBad) {\r\n if (!_.includes($ctrl.editableCustomer.invalidContacts, contact.value)) {\r\n $ctrl.editableCustomer.invalidContacts.push(contact.value);\r\n }\r\n } else {\r\n $ctrl.editableCustomer.invalidContacts = $ctrl.editableCustomer.invalidContacts.filter(function (c) { return c !== contact.value });\r\n }\r\n }\r\n\r\n function getAlternateContacts(contacts, contactType) {\r\n var uniqueContacts = [];\r\n contacts.forEach(function (candidate) {\r\n if (candidate.contactType == contactType\r\n && !candidate.isPreferred\r\n && !uniqueContacts.some(function(p) { return candidate.value == p.value })\r\n ) {\r\n uniqueContacts.push(candidate);\r\n }\r\n });\r\n return uniqueContacts;\r\n }\r\n\r\n function getCountryId() {\r\n return authorizationService.getUserCountryID();\r\n }\r\n\r\n function onCustomerEdit() {\r\n $ctrl.onEdit({ customer: $ctrl.editableCustomer, valid: $ctrl.customerEditForm.$valid });\r\n }\r\n\r\n function updateState() {\r\n $ctrl.editableCustomer.address.stateId = $ctrl.selectedState.id;\r\n $ctrl.editableCustomer.address.stateName = $ctrl.selectedState.abbreviation;\r\n\r\n $ctrl.onCustomerEdit();\r\n }\r\n\r\n function updatePricingPlan() {\r\n $ctrl.editableCustomer.pricingPlanId = $ctrl.selectedPricingPlan.id;\r\n $ctrl.onCustomerEdit();\r\n }\r\n\r\n function isFirstNameRequired() {\r\n return false; //for now, this is never required. #4565\r\n // if ($ctrl.editableCustomer && $ctrl.editableCustomer.companyName) {\r\n // return $ctrl.editableCustomer.lastName ? true : false;\r\n // } else {\r\n // return true;\r\n // }\r\n }\r\n\r\n function isLastNameRequired() {\r\n if ($ctrl.editableCustomer && $ctrl.editableCustomer.companyName) {\r\n return $ctrl.editableCustomer.firstName ? true : false;\r\n } else {\r\n return true;\r\n }\r\n }\r\n }\r\n})();\r\n","import \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/es6.array.find-index\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es7.object.entries\";\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n/* injects from baggage-loader */\nrequire('./customer-edit.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nimport PricingPlanTypes from '../../constants/pricing-plan-types';\nimport './customer-edit.component.scss';\n\n(function () {\n CustomerEditController.$inject = [\"$timeout\", \"authorizationService\", \"contactTypes\", \"territories\"];\n angular.module('AaApp.Opp').component('customerEdit', {\n templateUrl: '/app/components/deal-sheet/customer-edit.component.html',\n bindings: {\n customer: '<',\n dealerSettings: '<',\n permissions: '<',\n pricingPlanEnabled: '<',\n onEdit: '&'\n },\n controller: CustomerEditController\n });\n /* @ngInject */\n\n function CustomerEditController($timeout, authorizationService, contactTypes, territories) {\n var $ctrl = this;\n $ctrl.selectedState;\n $ctrl.editableCustomer;\n $ctrl.countryId;\n $ctrl.selectedPricingPlan;\n $ctrl.pricingPlans;\n $ctrl.isFirstNameRequired = isFirstNameRequired;\n $ctrl.isLastNameRequired = isLastNameRequired;\n $ctrl.onCustomerEdit = onCustomerEdit;\n $ctrl.onPreferredContactChanged = onPreferredContactChanged;\n $ctrl.onAlternateContactChanged = onAlternateContactChanged;\n $ctrl.updateState = updateState;\n $ctrl.updatePricingPlan = updatePricingPlan;\n $ctrl.$onInit = init;\n\n $ctrl.$onChanges = function $onChanges() {\n updatePhoneNumberArrays();\n };\n\n function init() {\n if ($ctrl.pricingPlanEnabled) {\n $ctrl.pricingPlans = Object.entries(PricingPlanTypes).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n name = _ref2[0],\n id = _ref2[1];\n\n return {\n id: id,\n name: name\n };\n });\n\n if ($ctrl.customer.pricingPlanId) {\n $ctrl.selectedPricingPlan = _.find($ctrl.pricingPlans, function (o) {\n return o.id === $ctrl.customer.pricingPlanId;\n });\n } else {\n $ctrl.selectedPricingPlan = $ctrl.pricingPlans[0];\n }\n }\n\n $ctrl.states = territories;\n $ctrl.countryId = getCountryId();\n $ctrl.editableCustomer = getCustomerCopy();\n $ctrl.selectedState = {\n id: $ctrl.editableCustomer.address.stateId,\n name: $ctrl.editableCustomer.address.stateName\n };\n validateInitialCustomer();\n }\n\n function validateInitialCustomer() {\n if (!$ctrl.editableCustomer.companyName) {\n if (!$ctrl.editableCustomer.firstName && $ctrl.editableCustomer.lastName) {\n $timeout(function () {\n $ctrl.customerEditForm.firstName.$setDirty();\n $ctrl.onCustomerEdit();\n });\n }\n }\n }\n\n function getCustomerCopy() {\n var cloneCustomer = {\n id: $ctrl.customer.id,\n firstName: $ctrl.customer.firstName,\n middleName: $ctrl.customer.middleName,\n lastName: $ctrl.customer.lastName,\n companyName: $ctrl.customer.companyName,\n invalidContacts: $ctrl.customer.invalidContacts.slice(),\n alternateContacts: $ctrl.customer.alternateContacts.slice(),\n doNotCall: $ctrl.customer.doNotCall,\n doNotEmail: $ctrl.customer.doNotEmail,\n doNotMail: $ctrl.customer.doNotMail,\n doNotText: $ctrl.customer.doNotText,\n isFullCustomer: $ctrl.customer.isFullCustomer,\n isAddressNotValid: $ctrl.customer.isAddressNotValid,\n address: {\n streetAddress: $ctrl.customer.address.streetAddress,\n streetAddress2: $ctrl.customer.address.streetAddress2,\n city: $ctrl.customer.address.city,\n stateId: $ctrl.customer.address.stateId,\n stateName: $ctrl.customer.address.stateName,\n zipCode: $ctrl.customer.address.zipCode,\n normalizedZipCode: $ctrl.customer.address.normalizedZipCode\n },\n pricingPlanId: $ctrl.customer.pricingPlanID,\n // Create phony records for the UI if there is currenly no value\n homePhoneNumber: $ctrl.customer.homePhoneNumber || {\n isPreferred: true,\n contactType: contactTypes.homePhone\n },\n workPhoneNumber: $ctrl.customer.workPhoneNumber || {\n isPreferred: true,\n contactType: contactTypes.workPhone\n },\n cellPhoneNumber: $ctrl.customer.cellPhoneNumber || {\n isPreferred: true,\n contactType: contactTypes.cellPhone\n },\n emailAddress: $ctrl.customer.emailAddress || {\n isPreferred: true,\n contactType: contactTypes.email\n },\n preferredCultureName: $ctrl.customer.preferredCultureName\n };\n return cloneCustomer;\n }\n\n function updatePhoneNumberArrays() {\n if ($ctrl.customer && $ctrl.customer.alternateContacts) {\n $ctrl.alternateHomePhones = getAlternateContacts($ctrl.customer.alternateContacts, contactTypes.homePhone);\n $ctrl.alternateWorkPhones = getAlternateContacts($ctrl.customer.alternateContacts, contactTypes.workPhone);\n $ctrl.alternateCellPhones = getAlternateContacts($ctrl.customer.alternateContacts, contactTypes.cellPhone);\n $ctrl.alternateEmailAddresses = getAlternateContacts($ctrl.customer.alternateContacts, contactTypes.email);\n } else {\n $ctrl.alternateHomePhones = [];\n $ctrl.alternateWorkPhones = [];\n $ctrl.alternateCellPhones = [];\n $ctrl.alternateEmailAddresses = [];\n }\n }\n\n function onPreferredContactChanged(propertyName, change) {\n $ctrl.editableCustomer[propertyName] = change.currentValue;\n updateInvalidContacts(change.currentValue);\n onCustomerEdit();\n }\n\n function onAlternateContactChanged(propertyName, change) {\n var alternateContacts = $ctrl[propertyName].slice(); // If the new number is marked as preferred, swap\n\n if (change.currentValue.isPreferred) {\n var preferredPropertyName = getPreferredPropertyName(change.currentValue.contactType);\n var preferredContact = $ctrl.editableCustomer[preferredPropertyName];\n\n if (preferredContact && preferredContact.value) {\n preferredContact.isPreferred = false;\n replaceOrAddContact(alternateContacts, change.previousValue, preferredContact);\n }\n\n $ctrl.editableCustomer[preferredPropertyName] = change.currentValue;\n } else {\n replaceOrAddContact(alternateContacts, change.previousValue, change.currentValue);\n } // Replace the array with a new value to trigger updates\n\n\n $ctrl[propertyName] = alternateContacts;\n updateInvalidContacts(change.currentValue);\n onCustomerEdit();\n\n function replaceOrAddContact(arr, previousValue, currentValue) {\n var ix = _.findIndex(arr, function (p) {\n return p.value == previousValue.value;\n });\n\n if (ix > -1) {\n arr[ix] = currentValue;\n } else {\n arr.push(currentValue);\n }\n }\n\n function getPreferredPropertyName(contactType) {\n switch (contactType) {\n case contactTypes.homePhone:\n return 'homePhoneNumber';\n\n case contactTypes.workPhone:\n return 'workPhoneNumber';\n\n case contactTypes.cellPhone:\n return 'cellPhoneNumber';\n\n case contactTypes.email:\n return 'emailAddress';\n }\n }\n }\n /**\r\n * Updates the customer's invalidContacts array to match a changed contact.\r\n * If the contact is marked as bad, it will be added to invalidContacts, if necessary.\r\n * If the contact is marked as not-bad, it will be removed.\r\n * @param {Contact} contact - The contact which has been updated.\r\n */\n\n\n function updateInvalidContacts(contact) {\n if (contact && contact.value && contact.isBad) {\n if (!_.includes($ctrl.editableCustomer.invalidContacts, contact.value)) {\n $ctrl.editableCustomer.invalidContacts.push(contact.value);\n }\n } else {\n $ctrl.editableCustomer.invalidContacts = $ctrl.editableCustomer.invalidContacts.filter(function (c) {\n return c !== contact.value;\n });\n }\n }\n\n function getAlternateContacts(contacts, contactType) {\n var uniqueContacts = [];\n contacts.forEach(function (candidate) {\n if (candidate.contactType == contactType && !candidate.isPreferred && !uniqueContacts.some(function (p) {\n return candidate.value == p.value;\n })) {\n uniqueContacts.push(candidate);\n }\n });\n return uniqueContacts;\n }\n\n function getCountryId() {\n return authorizationService.getUserCountryID();\n }\n\n function onCustomerEdit() {\n $ctrl.onEdit({\n customer: $ctrl.editableCustomer,\n valid: $ctrl.customerEditForm.$valid\n });\n }\n\n function updateState() {\n $ctrl.editableCustomer.address.stateId = $ctrl.selectedState.id;\n $ctrl.editableCustomer.address.stateName = $ctrl.selectedState.abbreviation;\n $ctrl.onCustomerEdit();\n }\n\n function updatePricingPlan() {\n $ctrl.editableCustomer.pricingPlanId = $ctrl.selectedPricingPlan.id;\n $ctrl.onCustomerEdit();\n }\n\n function isFirstNameRequired() {\n return false; //for now, this is never required. #4565\n // if ($ctrl.editableCustomer && $ctrl.editableCustomer.companyName) {\n // return $ctrl.editableCustomer.lastName ? true : false;\n // } else {\n // return true;\n // }\n }\n\n function isLastNameRequired() {\n if ($ctrl.editableCustomer && $ctrl.editableCustomer.companyName) {\n return $ctrl.editableCustomer.firstName ? true : false;\n } else {\n return true;\n }\n }\n }\n})();","\n/* injects from baggage-loader */\nrequire('./customer-name.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('customerName', {\r\n templateUrl: '/app/components/deal-sheet/customer-name.component.html',\r\n bindings: {\r\n customer: '<'\r\n }\r\n});\r\n","CustomerEmailController.$inject = [\"$q\", \"$translate\", \"dealSheetService\", \"eulaModalService\", \"legacyService\", \"dealerService\", \"featureToggleService\", \"templateService\", \"translateErrorKeys\", \"logger\"];\n\n/* injects from baggage-loader */\nrequire('./customer-email.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('customerEmail', {\n templateUrl: '/app/components/deal-sheet/customer-email.component.html',\n controller: CustomerEmailController,\n bindings: {\n permissions: '<',\n opportunity: '<',\n email: '<',\n displayTextKey: '<',\n doNotEmail: '<',\n countryId: '<',\n openDate: '<',\n lastTouchDate: '<',\n onEmailSend: '&'\n }\n});\n/* @ngInject */\n\nfunction CustomerEmailController($q, $translate, dealSheetService, eulaModalService, legacyService, dealerService, featureToggleService, templateService, translateErrorKeys, logger) {\n var $ctrl = this;\n $ctrl.blankTemplateId;\n $ctrl.scheduleModalParamObject;\n $ctrl.showEmailLink = false;\n $ctrl.isTouchpointOk = true;\n $ctrl.getEmailTemplateUrl = getEmailTemplateUrl;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.displayText;\n $ctrl.preEmailValidation = preEmailValidation;\n\n function init() {\n $ctrl.blankTemplateId = 16720;\n eulaModalService.isEmailEnabled().then(function (isEnabled) {\n return $ctrl.showEmailLink = isEnabled;\n });\n }\n\n function onChanges(changes) {\n if (changes.displayTextKey || changes.email) {\n if ($ctrl.displayTextKey) {\n $translate($ctrl.displayTextKey).then(function (value) {\n $ctrl.displayText = value;\n });\n } else if ($ctrl.email) {\n $ctrl.displayText = $ctrl.email.value;\n }\n }\n\n if ((changes.countryId && changes.countryId.currentValue || changes.openDate && changes.openDate.currentValue || changes.lastTouchDate && changes.lastTouchDate.currentValue) && $ctrl.countryId && $ctrl.openDate && $ctrl.lastTouchDate) {\n var twoYearsAgo = new Date();\n twoYearsAgo.setFullYear(twoYearsAgo.getFullYear() - 2);\n $ctrl.isTouchpointOk = new Date($ctrl.lastTouchedDate) > twoYearsAgo || new Date($ctrl.openDate) > twoYearsAgo || $ctrl.countryId != 2; //Canada Only\n }\n }\n\n function getEmailTemplateUrl() {\n $ctrl.url = legacyService.getPrintTemplateUrl($ctrl.opportunity, $ctrl.blankTemplateId, true);\n return preEmailValidation(); //return $q.resolve(true);\n }\n\n function preEmailValidation() {\n return $q.all([eulaModalService.validateEula(), templateService.validateMaxEmailsPerDay($ctrl.opportunity.id)]).then(function (response) {\n var acceptedEula = response[0];\n var templateServiceResponse = response[1]; //Shouldn't there be a warning message for EULA not accepted?\n\n if (!templateServiceResponse.data.success) {\n $translate([translateErrorKeys.maxEmailsExceeded], {\n maxEmailsPerEntityPerDay: templateServiceResponse.data.maxEmailsPerEntityPerDay\n }).then(function (translation) {\n logger.warning(translation.maxEmailsExceeded, null, null);\n });\n }\n\n if ($ctrl.opportunity.customer.doNotEmail) {\n logger.warning(\"doNotEmailCheckedWarning\");\n }\n\n return acceptedEula && templateServiceResponse.data.success && !$ctrl.opportunity.customer.doNotEmail;\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./customer-email-list.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('customerEmailList', {\r\n templateUrl: '/app/components/deal-sheet/customer-email-list.component.html',\r\n bindings: {\r\n permissions: '<',\r\n currentEmail: '<',\r\n emails: '<',\r\n opportunity: '<',\r\n countryId: '<',\r\n openDate: '<',\r\n lastTouchedDate: '<',\r\n doNotEmail: '<',\r\n onEmailSend: '&'\r\n }\r\n});\r\n","CustomerPhoneController.$inject = [\"doNotCallStatusTypes\"];\n\n/* injects from baggage-loader */\nrequire('./customer-phone.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('customerPhone', {\n templateUrl: '/app/components/deal-sheet/customer-phone.component.html',\n controller: CustomerPhoneController,\n bindings: {\n phone: '<',\n dealerSettings: '<',\n doNotCall: '<'\n }\n});\n/* @ngInject */\n\nfunction CustomerPhoneController(doNotCallStatusTypes) {\n var $ctrl = this;\n $ctrl.doNotCallStatusTypes = doNotCallStatusTypes;\n $ctrl.doNotCallStatusTranslateKeys;\n $ctrl.$onInit = init;\n\n function init() {\n $ctrl.doNotCallStatusTranslateKeys = {};\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.notProcessed] = 'ndncNotProcessedAbbrev';\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.invalidNumber] = 'ndncInvalidNumberAbbrev';\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.notSubscribed] = 'ndncNotSubscribedAbbrev';\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.onDoNotCallList] = 'ndncOnDoNotCallListAbbrev';\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.offDoNotCallList] = 'ndncOffDoNotCallListAbbrev';\n }\n}","\n/* injects from baggage-loader */\nrequire('./customer-phone-list.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('customerPhoneList', {\r\n templateUrl: '/app/components/deal-sheet/customer-phone-list.component.html',\r\n bindings: {\r\n currentPhone: '<',\r\n phones: '<',\r\n dealerSettings: '<'\r\n }\r\n});\r\n","import \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.regexp.replace\";\nDealSheetController.$inject = [\"$timeout\", \"$q\", \"$translate\", \"$translatePartialLoader\", \"$sce\", \"$scope\", \"$window\", \"$document\", \"$analytics\", \"$state\", \"logger\", \"$auth\", \"$uibModal\", \"$rootScope\", \"toaster\", \"dealSheetService\", \"opportunity2Service\", \"opportunityService\", \"vehicleService\", \"contractService\", \"authorizationService\", \"customerService\", \"globalIframeService\", \"userService\", \"dealerService\", \"activityService\", \"servicesService\", \"storageService\", \"eulaModalService\", \"searchService\", \"localePaths\", \"switchToNewDealSheetKey\", \"switchToClassicDealSheetKey\", \"dontHaveAccessWarningKey\", \"legacy\", \"dealSheetTabs\", \"saleTypes\", \"conquestTypes\", \"msrpTypes\", \"vehicleTypes\", \"alertScriptTypes\", \"activityRule\", \"analytics\", \"userProfileRoles\", \"modules\", \"submitDiscrepancySuccessMessageKey\", \"paymentTypes\", \"entityActionAccessEnum\", \"ActivityActionEnum\", \"activityResults\", \"tradeValueTypes\", \"vehicleActions\", \"opportunityStatuses\", \"environmentVariables\", \"pandoActionTypes\", \"assetTypes\", \"territories\", \"cultures\", \"fordFBATypes\", \"_\", \"mapUtils\"];\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/* injects from baggage-loader */\nrequire('./deal-sheet.component.html');\n\nimport angular from 'angular';\nimport { tokenMissing$ } from '../../modules/oidc-auth/events';\nimport pandoOnIconPath from '../../images/icon-pando-profile-on.svg';\nimport pandoOffIconPath from '../../images/icon-pando-profile-off.svg';\nimport './deal-sheet.scss';\nimport { ActivityTypes as activityTypes, ConquestTypes as conquestTypes } from '../../constants';\nimport { DealerCountries as dealerCountries } from '../../constants/dealer-countries';\nimport { forEach } from '@uirouter/core';\nangular.module('AaApp.Opp').component('dealSheet', {\n templateUrl: '/app/components/deal-sheet/deal-sheet.component.html',\n controller: DealSheetController,\n bindings: {\n opportunityId: '<',\n calculationType: '<',\n stockNo: '<',\n showLegacy: '<',\n closeButtonVisible: '<',\n newWindowButtonVisible: '<',\n close: '<',\n dismiss: '<'\n }\n});\n/* @ngInject */\n\nfunction DealSheetController( //angular services\n$timeout, $q, $translate, $translatePartialLoader, $sce, $scope, $window, $document, $analytics, $state, logger, $auth, $uibModal, $rootScope, toaster, //shared services\ndealSheetService, //other services\nopportunity2Service, opportunityService, vehicleService, contractService, authorizationService, customerService, globalIframeService, userService, dealerService, activityService, servicesService, storageService, eulaModalService, searchService, //$translate related\nlocalePaths, switchToNewDealSheetKey, switchToClassicDealSheetKey, dontHaveAccessWarningKey, //constants\nlegacy, dealSheetTabs, saleTypes, conquestTypes, msrpTypes, vehicleTypes, alertScriptTypes, activityRule, analytics, userProfileRoles, modules, submitDiscrepancySuccessMessageKey, paymentTypes, entityActionAccessEnum, ActivityActionEnum, activityResults, tradeValueTypes, vehicleActions, opportunityStatuses, environmentVariables, pandoActionTypes, assetTypes, territories, cultures, fordFBATypes, //Tools\n_, mapUtils) {\n // props\n var $ctrl = this;\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\n $ctrl.isSltUser;\n $ctrl.showExpirationDate;\n $ctrl.opportunityId;\n $ctrl.showVehicleNotPaidoff;\n $ctrl.isOfferEnabled;\n $ctrl.moduleIds;\n $ctrl.replacementStockNo;\n $ctrl.currentVehicle;\n $ctrl.currentContract;\n $ctrl.replacementVehicle;\n $ctrl.replacementContract;\n $ctrl.opportunity;\n $ctrl.activities;\n $ctrl.msrpTypes = msrpTypes;\n $ctrl.paymentTypes = paymentTypes;\n $ctrl.conquestTypes = conquestTypes;\n $ctrl.tabs = dealSheetTabs;\n $ctrl.permissions = {\n featureComparison: true,\n otherVehiclesOwned: true\n };\n $ctrl.newDealSheetReady = false;\n $ctrl.newDealSheetVisible = dealSheetService.modalDisplayState === 'new';\n $ctrl.serviceHistory = null;\n $ctrl.fuelEconomyComparison;\n $ctrl.featureComparison;\n $ctrl.relatedOpportunities;\n $ctrl.relatedOpportunitiesByVin;\n $ctrl.activityNotification = false;\n $ctrl.userProfileRoles = userProfileRoles;\n $ctrl.replacementColor;\n $ctrl.replacementInStockDays;\n $ctrl.pricingPlanEnabled;\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\n $ctrl.tradeValueTypes = tradeValueTypes;\n $ctrl.opportunityStatuses = opportunityStatuses;\n $ctrl.eulaModalService = eulaModalService;\n $ctrl.showPullForward = false;\n $ctrl.hasReviewPro = false;\n $ctrl.hasGeoAlert = false;\n $ctrl.showPrivateOfferScript;\n $ctrl.showPrivateOfferPreApprovalScript;\n $ctrl.states;\n $ctrl.cultureName;\n $ctrl.isFordAlert = false;\n $ctrl.isFordLincoln = false;\n $ctrl.printingFeatures = false;\n $ctrl.isVautoEnabled = false;\n $ctrl.isVinCueEnabled = false;\n $ctrl.isDmsPushValid = false;\n $ctrl.isEnterpriseCustomer = false;\n $ctrl.dealerGroupMakes;\n $ctrl.crossBrandConditionsMet = false;\n $ctrl.alternatesWithOvernightOffBrand = false; // VCI\n\n $ctrl.isVciAvailable = false; // methods\n\n $ctrl.$onInit = init;\n $ctrl.closeModal = closeModal;\n $ctrl.showNoRecommendedVehiclesMessage = showNoRecommendedVehiclesMessage;\n $ctrl.changeDealSheetView = changeDealSheetView;\n $ctrl.changeTab = changeTab;\n $ctrl.isDealSheetDirty = false;\n $ctrl.isDealsheetVersionChangeEnabled = legacy.isDealsheetVersionChangeEnabled;\n $ctrl.updateAssignedUser = updateAssignedUser;\n $ctrl.onActivityUpdate = onActivityUpdate;\n $ctrl.onTradeValueChange = onTradeValueChange;\n $ctrl.onPriceChange = onPriceChange;\n $ctrl.onMileageValueChange = onMileageValueChange;\n $ctrl.onWatchChange = onWatchChange;\n $ctrl.refreshOpportunity = refreshOpportunity;\n $ctrl.startWorkingState = startWorkingState;\n $ctrl.stopWorkingState = stopWorkingState;\n $ctrl.updateReplacementVehicleByMsrpType = updateReplacementVehicleByMsrpType;\n $ctrl.setReplacementVehicle = setReplacementVehicle;\n $ctrl.updateReplacementVehicleByTrim = updateReplacementVehicleByTrim;\n $ctrl.onScheduleSubmit = onScheduleSubmit;\n $ctrl.updateCustomer = updateCustomer;\n $ctrl.updateCustomerCancel = updateCustomerCancel;\n $ctrl.printVisible = printVisible;\n $ctrl.refreshTabs = refreshTabs;\n $ctrl.showPrintDialog = showPrintDialog;\n $ctrl.showFeaturePrintDialog = showFeaturePrintDialog;\n $ctrl.onMarkAsNLO = onMarkAsNLO;\n $ctrl.onFinancialUpdate = onFinancialUpdate;\n $ctrl.onOpenComparisonTab = onOpenComparisonTab;\n $ctrl.changeOpportunity = changeOpportunity;\n $ctrl.setReplacementVehicleType = setReplacementVehicleType;\n $ctrl.vehicleNotPaidOff = vehicleNotPaidOff;\n $ctrl.updatePayoff = updatePayoff;\n $ctrl.$onDestroy = onDestroy;\n $ctrl.reopen = reopen;\n $ctrl.onMarkAsSold = onMarkAsSold;\n $ctrl.markAsOnOrder = markAsOnOrder;\n $ctrl.unMarkAsOnOrder = unMarkAsOnOrder;\n $ctrl.getCreditConvertData = getCreditConvertData;\n $ctrl.otherVehicleHasAlerts;\n $ctrl.otherVehicleStatusClosed;\n $ctrl.submitDiscrepancy = submitDiscrepancy;\n $ctrl.setInventoryOrAverageReplacementVehicle = setInventoryOrAverageReplacementVehicle;\n $ctrl.setCreditPrescreenStatus = setCreditPrescreenStatus;\n $ctrl.onLogScheduleSubmit = onLogScheduleSubmit;\n $ctrl.setDefaultTab = setDefaultTab;\n $ctrl.onNoLongerOwns = onNoLongerOwns;\n $ctrl.onVehicleActionUpdate = onVehicleActionUpdate;\n $ctrl.isVehicleStatusVisible = isVehicleStatusVisible;\n $ctrl.setReplacementContractOverride = setReplacementContractOverride;\n $ctrl.funcKeydown = funcKeydown;\n $ctrl.setMVOVehicle = setMVOVehicle;\n $ctrl.logShortcut = logShortcut;\n $ctrl.openSmartVincentLink = openSmartVincentLink; // translations\n\n $translatePartialLoader.addPart(localePaths.dealSheet);\n $translatePartialLoader.addPart(localePaths.general); // spinner\n\n $ctrl.dealsheetWorking;\n $ctrl.loadingDealSheetText;\n $ctrl.hideWhenBusy = false; //customer-connect tab status\n\n $ctrl.isCustomerConnectOpen = false;\n $ctrl.OriginalTradeValue = null;\n $ctrl.isUserEditedTradeValue = false; // term override\n\n $ctrl.hasTermOverride = false;\n $ctrl.overrideTermInfo;\n $ctrl.mKey = 77; // pando connect\n\n $ctrl.isPandoOpen = false;\n $ctrl.pandoOnIcon = pandoOnIconPath;\n $ctrl.pandoOffIcon = pandoOffIconPath;\n $ctrl.onPandoActionClick = onPandoActionClick;\n $ctrl.isPandoConnectEnabled = environmentVariables.pandoDealSheetEnabled; //$ctrl.isPandoDealSheetProcessEnabled = environmentVariables.pandoDealSheetProcessEnabled;\n\n $ctrl.isPandoDealSheetProcessEnabled = false;\n $ctrl.pandoActionTypes = pandoActionTypes;\n $ctrl.toggleClick = toggleClick;\n $ctrl.LogActivityClick = LogActivityClick;\n $ctrl.autoRewardsUrl = null;\n $ctrl.vehicleActions = vehicleActions; // init defaults for auto assignment of owner and access infos\n\n $ctrl.isAutoAssignedOwner = false;\n $ctrl.autoAssignData = {\n fullName: null,\n icon: \"clipboard-assigned\",\n toolTip: \"\",\n date: null,\n labelText: \"accessLogs\",\n isAutoAssigned: false,\n autoAssignAccessSearch: null,\n autoAssignAccessDate: null\n };\n $ctrl.selectedReplacementVehicle = {\n selectedVehicleType: 'standardVehicle',\n alternateVehicleIndex: 0\n }; // hot trade\n\n $ctrl.displayHotTrade;\n $ctrl.hotTradeData;\n $ctrl.openHotTradeModal = openHotTradeModal;\n $ctrl.displayNlo = false;\n $ctrl.nloData = null;\n\n function getAutoRewardsUrl() {\n var url = null;\n\n if ($ctrl.dealerSettings.autoRewardAccountIdentifier && $ctrl.dealerSettings.autoRewardUserName && $ctrl.dealerSettings.autoRewardPassword && ($ctrl.opportunity.customer.lastName && $ctrl.opportunity.customer.firstName || $ctrl.opportunity.customer.lastName)) {\n url = environmentVariables.autoRewardsUrl;\n url = url.replace(\"{0}\", encodeURIComponent($ctrl.dealerSettings.autoRewardAccountIdentifier));\n url = url.replace(\"{1}\", encodeURIComponent($ctrl.dealerSettings.autoRewardUserName));\n url = url.replace(\"{2}\", encodeURIComponent($ctrl.dealerSettings.autoRewardPassword));\n url = url.replace(\"{3}\", encodeURIComponent($ctrl.opportunity.customer.lastName));\n url = url.replace(\"{4}\", encodeURIComponent($ctrl.opportunity.customer.firstName));\n }\n\n return url;\n }\n\n function LogActivityClick(value) {\n $ctrl.isPandoOpen = false;\n $ctrl.isCustomerConnectOpen = value;\n }\n\n function toggleClick(value) {\n $ctrl.onPandoActionClick($ctrl.pandoActionTypes.tab);\n }\n\n function onPandoActionClick(actionTypeSelected) {\n $ctrl.pandoActionTypeSelected = actionTypeSelected; // used in pando-customer-connect component.\n\n $ctrl.isCustomerConnectOpen = false;\n if (actionTypeSelected == $ctrl.pandoActionTypes.tab) $ctrl.isPandoOpen = !$ctrl.isPandoOpen;else $ctrl.isPandoOpen = true; // if Process or Message btn click just open.\n }\n\n function closeModal() {\n globalIframeService.postMessage({\n 'task': 'opportunity_refresh'\n });\n $ctrl.close();\n }\n\n function vehicleNotPaidOff() {\n $ctrl.startWorkingState();\n contractService.undoVehiclePaidOff($ctrl.opportunityId).then(function () {\n $ctrl.refreshOpportunity();\n }, function () {\n $ctrl.stopWorkingState();\n throw {\n message: \"We encountered an error processing your request.\"\n };\n }).catch(errorExit(dontHaveAccessWarningKey));\n }\n\n function resetDealSheet() {\n $ctrl.opportunityId = null;\n $ctrl.replacementStockNo = null;\n $ctrl.currentVehicle = null;\n $ctrl.currentContract = null;\n $ctrl.replacementVehicle = null;\n $ctrl.replacementContract = null;\n $ctrl.opportunity = null;\n $ctrl.activities = null;\n $ctrl.tabs = dealSheetTabs;\n $ctrl.permissions = {\n featureComparison: true,\n otherVehiclesOwned: true\n };\n $ctrl.newDealSheetReady = true;\n $ctrl.newDealSheetVisible = dealSheetService.modalDisplayState === 'new';\n $ctrl.serviceHistory = null;\n $ctrl.fuelEconomyComparison = null;\n $ctrl.relatedOpportunities = null;\n $ctrl.featureComparison = null;\n $ctrl.OriginalTradeValue = null;\n $ctrl.currentTab = null;\n }\n\n function changeOpportunity(opportunityId) {\n if ($ctrl.newWindowButtonVisible) {\n resetDealSheet();\n $ctrl.opportunityId = opportunityId;\n init();\n } else {\n $state.go('dealSheet', {\n opportunityId: opportunityId\n });\n }\n }\n\n function printVisible(x) {\n $ctrl.printShow = x;\n }\n\n function onOpenComparisonTab() {\n changeTab($ctrl.tabs.featureComparison);\n }\n\n function loadDealerSettings() {\n var dealerId = $ctrl.opportunity.dealerId;\n $ctrl.pricingPlanEnabled = userService.isDealerEnabledForModule(dealerId, modules.fordAXZPlanPricing);\n $ctrl.dealerSettings = $ctrl.opportunity.dealerSettings;\n return $q.resolve();\n }\n\n function errorExitWithCode(key) {\n $translate([key]).then(showWarningMessage);\n\n function showWarningMessage(translations) {\n logger.warning(translations[key]);\n }\n\n if ($ctrl.dismiss) {\n $ctrl.dismiss({\n $value: 'cancel'\n });\n } else {\n $state.go('home');\n }\n }\n\n function errorExit(key) {\n return function (response) {\n errorExitWithCode(key);\n };\n }\n\n function init() {\n // If the user isn't logged in, the tokenMissing$ is fired due to API calls\n // returning 401. We respond to that by (1) saving the current URL, (2)\n // redirecting to SSO, and (3) redirecting to the 'home' state.\n //\n // When the user loads the deal sheet from a URL, there's a race condition where\n // (1) happens before (3). This means we store the home URL (\"/\") instead of\n // the deal sheet URL (\"/alert-desk/deal-sheet/...\"), so the user doesn't get\n // redirected to the right place after they sign in.\n //\n // Firing tokenMissing$ here doesn't make sense, but it seems to fix the\n // timing issue.\n if (!$auth.isAuthenticated()) {\n tokenMissing$.next();\n return;\n }\n\n dealSheetService.modalDisplayState = 'new';\n $ctrl.conquestTypes = conquestTypes;\n $ctrl.vehicleTypes = vehicleTypes;\n $ctrl.vehicleTypeKeys = _.invert(vehicleTypes);\n $ctrl.saleTypeKeys = _.invert(saleTypes);\n $ctrl.alertScriptTypes = alertScriptTypes;\n $ctrl.alertScriptTypeKeys = _.invert(alertScriptTypes);\n $ctrl.states = territories;\n $ctrl.fordFBATypes = fordFBATypes;\n\n if ($ctrl.opportunityId) {\n $ctrl.dealsheetWorking = $q.defer().promise;\n\n if (dealSheetService.modalDisplayState === 'new') {\n $ctrl.isDealsheetVersionChangeEnabled = false;\n $ctrl.changeDealSheetLabel = switchToClassicDealSheetKey;\n $ctrl.newDealSheetVisible = true;\n $ctrl.hideWhenBusy = true;\n initNewDealSheet();\n } else {\n $ctrl.newDealSheetVisible = false;\n $ctrl.changeDealSheetLabel = switchToNewDealSheetKey;\n $ctrl.src = getLegacyDealSheet();\n $ctrl.dealsheetWorking = null;\n }\n }\n\n $translate('loadingDealSheet').then(function (translation) {\n return $ctrl.loadingDealSheetText = translation;\n });\n eulaModalService.isEmailEnabled().then(function (isEnabled) {\n return $ctrl.isEmailEnabled = isEnabled;\n });\n }\n\n function initNewDealSheet() {\n $ctrl.newDealSheetReady = false;\n $ctrl.contractReady = false;\n $ctrl.opportunityDetailsReady = false;\n return userService.getUserProfile().then(function (userProfile) {\n return $q.all({\n 'dealSheetPermissions': authorizationService.getDealSheetPermissions(),\n 'userProfile': $q.resolve(userProfile)\n });\n }).then(function (data) {\n $ctrl.permissions = data.dealSheetPermissions;\n $ctrl.permissions.featureComparison = true;\n $ctrl.permissions.otherVehiclesOwned = true;\n $ctrl.isSltUser = data.userProfile.isSltUser;\n var userProfile = $ctrl.userProfile = data.userProfile;\n $ctrl.cultureName = userProfile.cultureName;\n angular.element($window).on(\"keydown\", $ctrl.funcKeydown); // TODO: Pass this in via a binding\n\n $ctrl.moduleIds = storageService.getItem('moduleIds');\n return opportunityService.getOpportunity($ctrl.opportunityId, $ctrl.stockNo, $ctrl.calculationId, $ctrl.permissions, $ctrl.moduleIds).then(function (opportunity) {\n return setOpportunity(opportunity, userProfile);\n });\n }).catch(errorExit(dontHaveAccessWarningKey));\n }\n\n function setOpportunity(opportunity, userProfile) {\n $ctrl.opportunity = opportunity;\n SetCrossBrandConditionsMet();\n $ctrl.isVciAvailable = $ctrl.opportunity.currentVehicle.makeID == 84 || $ctrl.opportunity.currentVehicle.makeID == 85; // hot trade\n\n if ($ctrl.userProfile.countryId == dealerCountries.usa) {\n opportunityService.getVehicleTurnPredictor($ctrl.opportunityId).then(function (result) {\n if (result.hasData) {\n $ctrl.displayHotTrade = true;\n $ctrl.hotTradeData = result.data;\n } else {\n $ctrl.displayHotTrade = false;\n $ctrl.hotTradeData = null;\n }\n });\n } else {\n $ctrl.displayHotTrade = false;\n $ctrl.hotTradeData = null;\n } // use same module check as for wishlist:\n\n\n if ($ctrl.moduleIds.indexOf(modules.wishlist) > -1) {\n opportunityService.getActiveNLPNoLongerOwn($ctrl.opportunityId).then(function (result) {\n if (result && result.length > 0) {\n $ctrl.displayNlo = true;\n $ctrl.nloData = result;\n } else {\n $ctrl.displayNlo = false;\n $ctrl.nloData = null;\n }\n });\n } else {\n $ctrl.displayNlo = false;\n $ctrl.nloData = null;\n }\n\n $q.all({\n 'leadAssignment': $translate('leadAssignment'),\n 'date': $translate('date')\n }).then(function (stuff) {\n $ctrl.leadAssignmentLabel = stuff.leadAssignment;\n $ctrl.dateLabel = stuff.date; //load autoassigned data from returned service results\n\n $ctrl.isAutoAssignedOwner = $ctrl.opportunity.autoAssignOwner;\n if ($ctrl.opportunity.autoAssignOwnerSearch) $ctrl.autoOwnerLeadAssignmentToolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.opportunity.autoAssignOwnerSearch;\n $ctrl.dateSeparator = \": \";\n $ctrl.newLineSeparator = \"\\n\";\n $ctrl.autoAssignData.fullName = $ctrl.opportunity.autoAssignAccessUserName;\n $ctrl.autoAssignData.isAutoAssigned = $ctrl.autoAssignData.fullName != null;\n $ctrl.autoAssignData.autoAssignAccessSearch = $ctrl.opportunity.autoAssignAccessSearch;\n $ctrl.autoAssignData.autoAssignAccessDate = $ctrl.opportunity.autoAssignAccessDate;\n if ($ctrl.autoAssignData.autoAssignAccessSearch) $ctrl.autoAssignData.toolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.autoAssignData.autoAssignAccessSearch;\n var hasTextingModule = userService.isDealerEnabledForModule(opportunity.dealerId, modules.textMessaging);\n $ctrl.isTextingEnabled = hasTextingModule && ($ctrl.permissions.sendTextSales || $ctrl.permissions.sendTextService); ////TEST pando claim and Auto Assignment with mock data\n ////test auto owner\n //$ctrl.isAutoAssignedOwner = true;\n //$ctrl.opportunity.autoAssignOwnerSearch = \"OWNER TEST DATA 1234\";\n //$ctrl.opportunity.autoAssignOwnerDate = \"2018-09-14T00:00:00Z\";\n //if($ctrl.opportunity.autoAssignOwnerSearch)\n // $ctrl.autoOwnerLeadAssignmentToolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.opportunity.autoAssignOwnerSearch;\n //// test auto access\n //$ctrl.autoAssignData.isAutoAssigned = true ;\n //$ctrl.autoAssignData.fullName = $ctrl.autoAssignData.fullName == null ? \"Test User\" : $ctrl.autoAssignData.fullName;\n //$ctrl.autoAssignData.autoAssignAccessSearch = \"ACCESS TEST DATA 1234\";\n //$ctrl.autoAssignData.autoAssignAccessDate = \"2018-09-14T00:00:00Z\";\n //if($ctrl.autoAssignData.autoAssignAccessSearch)\n // $ctrl.autoAssignData.toolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.autoAssignData.autoAssignAccessSearch;\n //// test pando claim\n //$ctrl.opportunity.pandoClaim = {fullName:\"James Larson\", statusDateUTC:\"08/17/2018 9:18 AM\",statusID:\"100\"}\n });\n $ctrl.hasAutoAssist = false;\n dealerService.getIsAssetEnabledForDealer(assetTypes.autoAssistant, $ctrl.opportunity.dealerId).then(function (data) {\n $ctrl.hasAutoAssist = data;\n });\n $ctrl.hasReviewPro = false;\n dealerService.getIsAssetEnabledForDealer(assetTypes.reviewBuilderPro, $ctrl.opportunity.dealerId).then(function (data) {\n $ctrl.hasReviewPro = data;\n });\n $ctrl.hasGeoAlert = false;\n dealerService.getIsAssetEnabledForDealer(assetTypes.geoAlert, $ctrl.opportunity.dealerId).then(function (data) {\n $ctrl.hasGeoAlert = data;\n });\n dealSheetService.isVAutoEnabled($ctrl.opportunity.dealerId).then(function (data) {\n $ctrl.isVautoEnabled = data;\n });\n dealSheetService.isDmsPushValid($ctrl.opportunity.dealerId).then(function (data) {\n $ctrl.isDmsPushValid = data.status == 0;\n });\n dealSheetService.isVinCueEnabled($ctrl.opportunity.dealerId).then(function (data) {\n $ctrl.isVinCueEnabled = data;\n });\n if ($ctrl.OriginalTradeValue == null) $ctrl.OriginalTradeValue = $ctrl.opportunity.currentVehicle.tradeValue;\n\n if ($ctrl.isSltUser) {\n var expirationDateLimit = new Date();\n expirationDateLimit.setYear(expirationDateLimit.getFullYear() + 1);\n $ctrl.showExpirationDate = new Date($ctrl.opportunity.expirationDate) < expirationDateLimit;\n }\n\n $ctrl.showVehicleNotPaidoff = mapUtils.hasActionAccess($ctrl.opportunity.actionAccess, entityActionAccessEnum.showVehicleNotPaidoff);\n opportunityService.addAlertsAsProperties($ctrl, $ctrl.opportunity.alerts);\n setDocumentTitle();\n isOfferEnabled();\n checkPullForward();\n opportunityService.getOpportunitiesByVin($ctrl.opportunity.dealerId, $ctrl.opportunity.currentVehicle.vin).then(setRelatedOpportunitiesByVin);\n $ctrl.isDealSheetDirty = false;\n $ctrl.replacementStockNo = opportunity.replacementVehicle.stockNo;\n $ctrl.activityNotification = opportunityService.activityNotification.notify && opportunityService.activityNotification.triggered;\n var programDetails = null;\n if (opportunity.replacementContract) programDetails = opportunity.replacementContract.programDetails;\n var isPrivateOffer = programDetails != null && programDetails.some(function (p) {\n return p.isPrivateOffer;\n });\n var creditPreApproval = opportunity.creditPreApproval;\n $ctrl.isFordAlert = userService.isDealerEnabledForModule(opportunity.dealerId, modules.fordAlert);\n $ctrl.showPrivateOfferScript = $ctrl.isFordAlert && isPrivateOffer && !creditPreApproval;\n $ctrl.showPrivateOfferPreApprovalScript = $ctrl.isFordAlert && isPrivateOffer && creditPreApproval;\n\n if ($ctrl.showPrivateOfferScript) {\n $ctrl.selectedAlertScriptType = alertScriptTypes.privateoffer;\n searchService.getPrivateOfferInfo(opportunity.dealerId, opportunity.id).then(function (po) {\n opportunity.privateOfferInfo = po;\n });\n }\n\n if ($ctrl.showPrivateOfferPreApprovalScript) {\n $ctrl.selectedAlertScriptType = alertScriptTypes.privateOfferWithPreApproval;\n searchService.getPrivateOfferInfo(opportunity.dealerId, opportunity.id).then(function (po) {\n opportunity.privateOfferInfo = po;\n });\n }\n\n updateReplacementVehicleFuelCost(opportunity.replacementVehicle);\n loadDealerSettings().then(function (data) {\n $ctrl.autoRewardsUrl = getAutoRewardsUrl();\n\n if ($ctrl.dealerSettings.enableOffBrandMultiVehReplTolerances === false && $ctrl.opportunity.replacementVehicles && $ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles) {\n $ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles = $ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles.filter(function (v) {\n return v.level >= 901 && v.level <= 905;\n });\n\n if ($ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles.length > 0) {\n $ctrl.alternatesWithOvernightOffBrand = true;\n }\n }\n });\n opportunityService.getOpportunitiesByCustomerId($ctrl.opportunity.customerId).then(function (opportunities) {\n dealSheetService.getEntityEnterpriseCustomers($ctrl.opportunity.id).then(function (entityReport) {\n if (entityReport) {\n var enterpriseOpportunities = opportunityService.buildOpportunitiesFromEntityReport(entityReport);\n\n if (enterpriseOpportunities != null && enterpriseOpportunities.length > 0) {\n enterpriseOpportunities.forEach(function (enterpriseOpportunity) {\n var entityAlreadyInList = opportunities.some(function (entity) {\n return entity.id === enterpriseOpportunity.id;\n });\n\n if (!entityAlreadyInList) {\n $ctrl.isEnterpriseCustomer = true;\n opportunities.push(enterpriseOpportunity);\n }\n });\n }\n }\n\n $ctrl.relatedOpportunities = opportunities.filter(function (op) {\n return op.id != $ctrl.opportunity.id;\n }).map(function (op) {\n return _objectSpread({}, op, {\n alerts: op.alerts.map(function (type) {\n return {\n type: type\n };\n }) // see: interface Alert\n\n });\n });\n $ctrl.otherVehicleStatusClosed = $ctrl.relatedOpportunities.some(function (op) {\n return !op.status;\n });\n $ctrl.otherVehicleHasAlerts = $ctrl.relatedOpportunities.some(function (op) {\n return op.alerts.length > 0;\n });\n $ctrl.relatedOpportunities.sort( //serviceDate\n function (a, b) {\n //opp rank here\n if (a.opportunityRank > b.opportunityRank) {\n return -1;\n }\n\n if (a.opportunityRank < b.opportunityRank) {\n return 1;\n }\n\n if (a.currentVehicle.lastServiceDate > b.currentVehicle.lastServiceDate) {\n return -1;\n }\n\n if (a.currentVehicle.lastServiceDate < b.currentVehicle.lastServiceDate) {\n return 1;\n } //startDate\n\n\n if (a.currentContract.startDate > b.currentContract.startDate) {\n return -1;\n }\n\n if (a.currentContract.startDate < b.currentContract.startDate) {\n return 1;\n }\n\n return 0;\n });\n });\n });\n return $q.all({\n 'users': dealerService.getUsers(opportunity.dealerId),\n 'dealer': dealerService.getDealer(opportunity.dealerId)\n }).then(function (results) {\n return setUserDetails(userProfile, results.users, results.dealer);\n }).catch(errorExit(dontHaveAccessWarningKey));\n }\n\n function SetCrossBrandConditionsMet() {\n $ctrl.crossBrandConditionsMet = false;\n\n if (!$ctrl.opportunity.currentVehicle) {\n return;\n /*no current vehicle*/\n }\n\n if (!$ctrl.opportunity.replacementVehicle || !$ctrl.opportunity.replacementVehicle.makeName) {\n return;\n /*no replacement vehicle*/\n }\n\n if (!$ctrl.opportunity.currentContract) {\n return;\n /*no current Contract*/\n }\n\n if ($ctrl.opportunity.currentVehicle.yearID < new Date().getFullYear() - 7) {\n return;\n /*current vehicle year over 7 years old*/\n }\n\n if ($ctrl.opportunity.paidOff === true) {\n return;\n /*vehicle is paid off*/\n }\n\n if ($ctrl.opportunity.stillOwned === false) {\n return;\n /*vehicle no longer owned*/\n }\n\n if ($ctrl.opportunity.currentContract.paymentsMade < 7) {\n return;\n /*payments made not > 6*/\n }\n\n if (!$ctrl.opportunity.currentContract.saleType && ($ctrl.opportunity.currentContract.conquestType == conquestTypes.notConverted || $ctrl.opportunity.currentContract.conquestType == conquestTypes.creditConvert)) {\n return;\n /*conquest, no sale type and conquestType one of the two*/\n }\n\n $ctrl.crossBrandConditionsMet = true;\n }\n\n function isOfferEnabled() {\n var isUsedToUsed = $ctrl.opportunity.currentVehicle.type != vehicleTypes.new && $ctrl.opportunity.replacementVehicle.type != vehicleTypes.new;\n\n if (isUsedToUsed) {\n return false;\n }\n\n var isDealerEnabled = dealerService.getIsDealerOneToOneEnabled($ctrl.opportunity.dealerId);\n $ctrl.isOfferEnabled = isDealerEnabled ? $ctrl.opportunity.currentVehicle.replacementTrimID : false;\n }\n\n function funcKeydown($event) {\n if ($ctrl.userProfile.employeeUser) {\n if ($event.ctrlKey && $event.keyCode == $ctrl.mKey) {\n $ctrl.isDealsheetVersionChangeEnabled = true;\n $ctrl.changeDealSheetView();\n }\n }\n }\n\n function setDocumentTitle() {\n if (!$ctrl.newWindowButtonVisible && $ctrl.opportunity != null && $ctrl.opportunity.customer != null) {\n $document[0].title = ($ctrl.opportunity.customer.firstName || '') + ' ' + ($ctrl.opportunity.customer.middleName || '') + ' ' + ($ctrl.opportunity.customer.lastName || '');\n }\n }\n\n function checkPullForward() {\n $ctrl.showPullForward = false;\n\n if ($ctrl.opportunity != null && $ctrl.opportunity.replacementContract != null && $ctrl.opportunity.replacementContract.pullForwardAmount > 0) {\n var tradeEquity;\n if ($ctrl.opportunity.currentVehicle.tradeValue != null && $ctrl.opportunity.currentContract.payoffAmount != null) tradeEquity = $ctrl.opportunity.currentVehicle.tradeValue - $ctrl.opportunity.currentContract.payoffAmount;else tradeEquity = $ctrl.opportunity.currentVehicle.tradeValue;\n var btmEquity = -$ctrl.opportunity.currentContract.balanceToMaturity + $ctrl.opportunity.currentContract.dispositionFee + $ctrl.opportunity.replacementContract.pullForwardAmount;\n $ctrl.showPullForward = btmEquity > tradeEquity;\n }\n }\n\n function setRelatedOpportunitiesByVin(opportunities) {\n $ctrl.relatedOpportunitiesByVin = opportunities.filter(function (op) {\n return op.id != $ctrl.opportunityId.toLowerCase();\n }).map(function (op) {\n return _objectSpread({}, op, {\n alerts: op.alerts.map(function (type) {\n return {\n type: type\n };\n }) // see: interface Alert\n\n });\n });\n }\n\n function setUserDetails(userProfile, users, dealer) {\n //todo: just use the $ctrl.opportunity object for setting everything\n var makeDealerIds = [];\n var dealerGroupMakes = [];\n vehicleService.getMakes($ctrl.opportunity.dealerId, null).then(function (makes) {\n makeDealerIds = [$ctrl.opportunity.dealerId];\n dealerGroupMakes = makes.map(function (make) {\n return {\n makeId: make.makeID,\n makeName: make.makeName\n };\n });\n $ctrl.isFordLincoln = makes.some(function (m) {\n return environmentVariables.fordMakeIds.indexOf(m.makeID) > -1;\n }) || makes.some(function (m) {\n return environmentVariables.lincolnMakeIds.indexOf(m.makeID) > -1;\n });\n userProfile.dealerIds.forEach(function (dealerId) {\n if (makeDealerIds.includes(dealerId) == false) {\n makeDealerIds.push(dealerId);\n }\n });\n\n if ($ctrl.opportunity.dealerSettings.offBrandMakeIds) {\n vehicleService.getMakesMany($ctrl.opportunity.dealerSettings.offBrandMakeIds.split(\",\")).then(function (makes) {\n $ctrl.dealerGroupMakes = makes.map(function (make) {\n return {\n makeId: make.makeID,\n makeName: make.makeName\n };\n });\n });\n } else {\n $ctrl.dealerGroupMakes = dealerGroupMakes;\n }\n\n dealerService.getIsAssetEnabledForDealer(assetTypes.pandoDsButtonsOverride, $ctrl.opportunity.dealerId).then(function (hasPandoDsButtonsOverride) {\n $ctrl.isPandoConnectEnabled = environmentVariables.pandoDealSheetEnabled && (hasPandoDsButtonsOverride || !$ctrl.isFordLincoln || userProfile.countryId != dealerCountries.canada);\n });\n });\n $ctrl.opportunity.userProfile = userProfile;\n $ctrl.users = users;\n $ctrl.dealer = $ctrl.opportunity.dealer = dealer;\n $ctrl.newDealSheetReady = true;\n $ctrl.dealsheetWorking = null; //verifiy the user has signed EULA.if not return to Accept/decline EULA screen.\n\n if ($ctrl.userProfile == undefined || $ctrl.userProfile.eulaAcceptedDate == null || $ctrl.userProfile.eulaAcceptedDate == undefined) $state.go('login');\n\n if (!$ctrl.currentTab) {\n $ctrl.defaultTab = getDefaultTab();\n $ctrl.currentTab = $ctrl.defaultTab;\n $ctrl.changeTab($ctrl.currentTab);\n }\n }\n\n function getLegacyDealSheet() {\n var legacyUrl = '/AlertDesk/DealSheet/Show?e=' + $ctrl.opportunityId;\n\n if ($ctrl.calculationType) {\n legacyUrl += '&calc=' + $ctrl.calculationType;\n }\n\n if ($ctrl.stockNo) {\n legacyUrl += '&sn=' + $ctrl.stockNo;\n }\n\n if ($ctrl.newWindowButtonVisible) {\n legacyUrl += '&display=popup';\n }\n\n return $sce.trustAsResourceUrl(legacy.iframeUrl + legacyUrl);\n }\n\n function changeDealSheetView() {\n $ctrl.dealsheetWorking = $q.defer().promise;\n\n if (dealSheetService.modalDisplayState === 'new') {\n $ctrl.hideWhenBusy = false;\n dealSheetService.modalDisplayState = 'old';\n $ctrl.newDealSheetVisible = false;\n $ctrl.changeDealSheetLabel = switchToNewDealSheetKey;\n $ctrl.src = getLegacyDealSheet();\n $ctrl.dealsheetWorking = null;\n } else {\n $ctrl.src = \"\";\n dealSheetService.modalDisplayState = 'new';\n $ctrl.newDealSheetVisible = true;\n $ctrl.changeDealSheetLabel = switchToClassicDealSheetKey;\n initNewDealSheet();\n $ctrl.isDealsheetVersionChangeEnabled = false;\n }\n }\n\n function updateCustomerCancel() {\n // revert customer back to original settings since user selected cancel\n customerService.getCustomer($ctrl.opportunity.id).then(function (customer) {\n $ctrl.opportunity.customer = customer;\n });\n }\n\n function updateCustomer(customer) {\n $ctrl.startWorkingState();\n customerService.updateCustomer(customer).then(function (success) {\n if (success) {\n $ctrl.opportunity.customer = customer;\n reLoadOpportunity(1000);\n } else {\n $ctrl.stopWorkingState();\n }\n }, function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function updateAssignedUser(user) {\n $ctrl.startWorkingState();\n opportunityService.updateAssignedUser($ctrl.opportunity.id, user.id).then(function (success) {\n if (success) {\n $ctrl.opportunity.assignedUserId = user.id;\n $ctrl.opportunity.assignedUserFullName = user.fullName;\n }\n\n reloadOpportunityOnSuccess(true);\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function changeTab(tab) {\n if (tab === $ctrl.tabs.featureComparison) {\n updateReplacementVehicleFeatures($ctrl.opportunity.replacementVehicle);\n }\n\n $ctrl.currentTab = tab;\n\n var tabLabel = _.invert($ctrl.tabs)[tab];\n\n $analytics.eventTrack(analytics.actions.navigate, {\n category: analytics.categories.dealSheet,\n label: analytics.labels[tabLabel]\n });\n refreshTabs();\n }\n\n function refreshTabs() {\n $ctrl.tabLoadingPromise = null;\n\n switch ($ctrl.currentTab) {\n case $ctrl.tabs.activityAndNotes:\n {\n if ($ctrl.activityNotification) {\n $ctrl.activityNotification = false;\n opportunityService.resetActivityNotification();\n }\n\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\n break;\n }\n\n case $ctrl.tabs.featureComparison:\n {\n if ($ctrl.defaultTab == $ctrl.tabs.featureComparison) {\n $timeout(function () {\n $scope.$broadcast('rzSliderForceRender');\n }, 1000);\n } else {\n $timeout(function () {\n $scope.$broadcast('rzSliderForceRender');\n }, 200);\n }\n\n break;\n }\n\n case $ctrl.tabs.serviceHistory:\n {\n if (!$ctrl.serviceHistory) {\n $ctrl.tabLoadingPromise = servicesService.getServicesBy($ctrl.opportunity.id).then(function (data) {\n return $ctrl.serviceHistory = data;\n });\n }\n\n break;\n }\n }\n }\n\n function setActivities(activities) {\n $ctrl.activities = activities;\n }\n\n function onActivityUpdate(data) {\n if ($ctrl.activities && $ctrl.userProfile && $ctrl.userProfile.userFullName && data.collectionUrl && !$ctrl.userProfile.employeeUser) {\n var activity = {\n type: activityTypes.printOfferLetter,\n submittedByUserFullName: $ctrl.userProfile.userFullName,\n submittedDateTime: new Date(),\n fileUrl: data.collectionUrl\n };\n $ctrl.activities.splice(0, 0, activity);\n }\n }\n\n function onTradeValueChange(value, logged) {\n startWorkingState();\n $ctrl.isDealSheetDirty = true;\n if (value == null || value == \"\") value = 0;\n if ($ctrl.opportunity.currentVehicle.tradeValue != value) $ctrl.isUserEditedTradeValue = true;\n $ctrl.opportunity.currentVehicle.tradeValue = value;\n reCalculateVehicleEquity();\n reCalculateReplacementContract();\n\n if (logged) {\n opportunityService.logTradeValueChange($ctrl.opportunity.vehicleId, value);\n }\n }\n\n function reCalculateVehicleEquity() {\n var tradeValue = $ctrl.opportunity.currentVehicle.tradeValue;\n var payoffValue = $ctrl.opportunity.currentContract.payoffAmount ? $ctrl.opportunity.currentContract.payoffAmount : 0;\n $ctrl.opportunity.currentContract.equity = {\n tradeValue: tradeValue,\n equityValue: tradeValue - payoffValue\n };\n }\n\n function onPriceChange(value) {\n $ctrl.isDealSheetDirty = true;\n $ctrl.opportunity.replacementVehicle.price = value;\n startWorkingState(); // log price change\n\n opportunityService.addPriceOverrideChangeLog($ctrl.opportunity.vehicleId, value);\n reCalculateReplacementContract();\n }\n\n function onMileageValueChange(value) {\n $ctrl.isUserEditedTradeValue = false;\n reLoadOpportunity(1000);\n }\n\n function onFinancialUpdate() {\n startWorkingState();\n reLoadOpportunity(1000);\n changeTab($ctrl.tabs.alertsAndScripts);\n }\n\n function onMarkAsNLO(markAsNLO) {\n // call api to mark as NLO or decline NLO then refresh deal sheet:\n opportunityService.updateActiveNLPNoLongerOwn($ctrl.opportunityId, markAsNLO).then(function () {\n $ctrl.refreshOpportunity();\n $ctrl.stopWorkingState();\n });\n }\n\n function reCalculateReplacementContract() {\n if ($ctrl.opportunity.replacementContract && $ctrl.opportunity.replacementContract.useOverrideTerm) {\n // setup override term\n $ctrl.hasTermOverride = true;\n $ctrl.overrideTermInfo = {\n term: $ctrl.opportunity.replacementContract.term,\n saleType: $ctrl.opportunity.replacementContract.saleType,\n saleTypeName: $ctrl.opportunity.replacementContract.saleTypeName\n };\n }\n\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\n }\n\n function startWorkingState() {\n $ctrl.hideWhenBusy = true;\n $ctrl.dealsheetWorking = $q.defer().promise;\n }\n\n function stopWorkingState() {\n $ctrl.hideWhenBusy = false;\n $ctrl.dealsheetWorking = null;\n }\n\n function refreshOpportunity() {\n startWorkingState();\n reLoadOpportunity(10);\n }\n\n function reLoadOpportunity(waitTime) {\n $timeout(function () {\n opportunityService.getOpportunity($ctrl.opportunityId, $ctrl.stockNo, $ctrl.calculationId, $ctrl.permissions, $ctrl.moduleIds).then(function (opportunity) {\n setOpportunity(opportunity, $ctrl.userProfile);\n stopWorkingState();\n }, function () {\n stopWorkingState();\n throw {\n message: \"We encountered an error processing your request.\"\n };\n }).catch(errorExit(dontHaveAccessWarningKey));\n }, waitTime);\n }\n\n function onWatchChange(value) {\n if (value) {\n return opportunityService.markOpportunityWatched($ctrl.opportunityId).then(function () {\n $ctrl.opportunity.watched = true;\n });\n } else {\n return opportunityService.markOpportunityUnwatched($ctrl.opportunityId).then(function () {\n $ctrl.opportunity.watched = false;\n });\n }\n }\n\n function updateReplacementVehicleByMsrpType(msrpType) {\n if (msrpType == msrpTypes.inventory) {\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\n category: analytics.categories.dealSheet,\n label: analytics.labels.inventoryBestMatch\n });\n }\n\n if (msrpType == msrpTypes.average) {\n vehicleService.getAverageReplacementVehicle($ctrl.opportunity.dealerId, $ctrl.opportunity.vehicleId, $ctrl.opportunity.customer.pricingPlanId).then(setInventoryOrAverageReplacementVehicle);\n } else {\n if ($ctrl.replacementStockNo) {\n vehicleService.getReplacementVehicles($ctrl.opportunity.id, $ctrl.stockNo, $ctrl.opportunity.customer.pricingPlanId).then(function (replacementVehicles) {\n $ctrl.opportunity.replacementVehicles = replacementVehicles;\n setReplacementVehicle(replacementVehicles.standardVehicle);\n });\n } else {\n vehicleService.getInventoryReplacementVehicle($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.modelID, $ctrl.opportunity.replacementVehicle.trimID, $ctrl.opportunity.customer.pricingPlanId).then(setReplacementVehicle);\n }\n }\n }\n\n function setMVOVehicle(selectedMVOEventObject) {\n $ctrl.selectedReplacementVehicle = selectedMVOEventObject;\n\n switch (selectedMVOEventObject.selectedVehicleType) {\n case \"upgradeVehicle\":\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.upgradeVehicle);\n break;\n\n case \"downgradeVehicle\":\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.downgradeVehicle);\n break;\n\n case \"standardVehicle\":\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.standardVehicle);\n break;\n\n case \"alternateVehicle\":\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.alternateVehicles[selectedMVOEventObject.alternateVehicleIndex]);\n break;\n\n case \"offBrandVehicle\":\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles[selectedMVOEventObject.alternateVehicleIndex]);\n break;\n\n case \"onDemandVehicle\":\n setReplacementVehicle(selectedMVOEventObject.onDemandVehicle);\n break;\n }\n }\n\n function setReplacementVehicle(vehicle) {\n if (!vehicle) {\n $ctrl.showNoRecommendedVehiclesMessage();\n return;\n }\n\n $ctrl.startWorkingState();\n updateReplacementVehicleFuelCost(vehicle);\n $ctrl.featureComparison = null;\n\n if ($ctrl.pricingPlanEnabled && vehicle.pricingPlanID && vehicle.pricingPlanID > 0) {\n vehicle.price = vehicle.pricingPlanMsrp;\n }\n\n if (!vehicle.modelID) {\n vehicleService.getModelId(vehicle.trimID).then(function (modelID) {\n $ctrl.isDealSheetDirty = true;\n $ctrl.opportunity.replacementVehicle = vehicle;\n $ctrl.opportunity.replacementVehicle.modelID = modelID;\n $ctrl.opportunity.replacementVehicle.pricingPlanMsrp = vehicle.pricingPlanMsrp;\n updateReplacementVehicleImagePath();\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\n });\n } else {\n $ctrl.isDealSheetDirty = true;\n $ctrl.opportunity.replacementVehicle = vehicle;\n $ctrl.opportunity.replacementVehicle.pricingPlanMsrp = vehicle.pricingPlanMsrp;\n updateReplacementVehicleImagePath();\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\n }\n }\n\n function updateReplacementVehicleImagePath() {\n if (!$ctrl.opportunity.replacementVehicle.imagePath) {\n vehicleService.getVehicleImagePath($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID).then(function (imagePath) {\n $ctrl.opportunity.replacementVehicle.imagePath = imagePath;\n });\n }\n }\n\n function updateReplacementVehicleFuelCost(vehicle) {\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\n vehicleService.getFuelEconomyComparison(vehicle.trimID, $ctrl.opportunityId).then(function (data) {\n $ctrl.fuelEconomyComparison = data;\n }).catch(function () {\n $ctrl.fuelEconomyComparison = null;\n });\n } else {\n $ctrl.fuelEconomyComparison = null;\n }\n }\n\n function updateReplacementVehicleFeatures(vehicle) {\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\n vehicleService.getFeatureComparison(vehicle.trimID, $ctrl.opportunityId).then(function (data) {\n $ctrl.featureComparison = data;\n }).catch(function () {\n $ctrl.featureComparison = null;\n });\n } else {\n $ctrl.featureComparison = null;\n }\n }\n\n function updateReplacementVehicleByTrim(trim) {\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\n category: analytics.categories.dealSheet,\n label: analytics.labels.trimChange\n });\n $ctrl.startWorkingState();\n var trimIsValid = !(trim.yearID == \"\" || trim.makeID == \"\" || trim.modelID == \"\");\n\n if (trimIsValid) {\n var vehicle = {\n type: vehicleTypes.new,\n makeID: trim.makeID,\n makeName: trim.makeName,\n yearID: trim.yearID,\n modelID: trim.modelID,\n modelName: trim.modelName,\n trimID: trim.trimID,\n trimName: trim.trimName,\n trimFullName: trim.trimFullName,\n extID: trim.extID\n };\n updateReplacementVehicleFuelCost(vehicle);\n $ctrl.opportunity.replacementVehicle = vehicle;\n $ctrl.opportunity.isDealSheetDirty = true;\n vehicleService.getVehicleImagePath($ctrl.opportunity.dealerId, vehicle.trimID).then(function (imagePath) {\n $ctrl.opportunity.replacementVehicle.imagePath = imagePath;\n vehicleService.getTrimPlanPrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID, $ctrl.opportunity.customer.pricingPlanId).then(function (trimPriceInfo) {\n if ($ctrl.opportunity.customer.pricingPlanId > 0) {\n vehicle.pricingPlanMsrp = trimPriceInfo.newVehiclePrice;\n }\n\n setTrimPriceInfo(trimPriceInfo.newVehiclePrice, trimPriceInfo.sourceID, trimPriceInfo.sourceName);\n });\n vehicleService.getTrimPrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID).then(setReplacementVehicleMsrp);\n });\n }\n }\n\n function setTrimPriceInfo(price, trimPlanSourceId, trimPlanSourceName) {\n $ctrl.opportunity.replacementVehicle.trimPlanPriceSourceId = trimPlanSourceId;\n $ctrl.opportunity.replacementVehicle.trimPlanPriceSourceName = trimPlanSourceName;\n $ctrl.opportunity.replacementVehicle.price = price;\n }\n\n function setReplacementVehicleMsrp(msrp) {\n $ctrl.opportunity.replacementVehicle.msrp = msrp;\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\n\n if ($ctrl.opportunity.replacementVehicle.type == $ctrl.vehicleTypes.new && $ctrl.isFordAlert && $ctrl.isFordLincoln) {\n vehicleService.getInventoryBestMatchToTrim($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID, $ctrl.opportunity.replacementVehicle.msrp).then(function (avgVehicle) {\n if (avgVehicle != null) {\n setAvgVehicleVIN(avgVehicle.vin);\n }\n });\n }\n }\n\n function setAvgVehicleVIN(vin) {\n $ctrl.opportunity.replacementVehicle.bestTrimMatch_VIN = vin;\n }\n\n function setReplacementContracts(data) {\n if (data && data.contracts) {\n $ctrl.opportunity.replacementContracts = data.contracts;\n\n if ($ctrl.hasTermOverride && $ctrl.overrideTermInfo && $ctrl.overrideTermInfo.term) {\n // get override contract from term and set to replacement...\n var overrideContract = _.find(data.contracts, function (o) {\n return o.term === $ctrl.overrideTermInfo.term && o.saleType === $ctrl.overrideTermInfo.saleType;\n });\n\n if (overrideContract) {\n overrideContract.useOverrideTerm = true;\n $ctrl.opportunity.replacementContract = overrideContract;\n } else {\n $ctrl.opportunity.replacementContract = data.defaultContract;\n }\n\n $ctrl.hasTermOverride = false;\n } else {\n $ctrl.opportunity.replacementContract = data.defaultContract;\n }\n\n if ($ctrl.opportunity.replacementContract) {\n $ctrl.opportunity.replacementContract.vehicleType = $ctrl.opportunity.replacementVehicle.type;\n }\n } else {\n $ctrl.opportunity.replacementContracts = [];\n $ctrl.opportunity.replacementContract = null;\n }\n\n checkPullForward();\n stopWorkingState();\n }\n\n function setReplacementContractOverride(contract) {\n $ctrl.startWorkingState(); // persist vehile type from current replacement contract since contract does not persist it\n\n if ($ctrl.opportunity.replacementContract) {\n contract.vehicleType = $ctrl.opportunity.replacementContract.vehicleType;\n } else {\n contract.vehicleType = vehicleTypes.new;\n } // set replacement contract\n\n\n $ctrl.opportunity.replacementContract = contract;\n checkPullForward(); // log into change log\n\n opportunityService.addTermOverrideChangeLog($ctrl.opportunity.vehicleId, contract.term).then($ctrl.stopWorkingState, $ctrl.stopWorkingState);\n }\n\n function onLogScheduleSubmit(result) {\n if (!result) {\n return;\n } // user data entry error\n\n\n if (result == 'cancel') {\n // user canceled operation close accordian panel and reset Customer Connect to default\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\n return;\n } // submit user's activity changes\n\n\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\n startWorkingState();\n activityService.postActivitySubmitAction(result).then(function (data) {\n if (result.isFollowUpScheduleAppt) {\n logger.success(\"postActivityFollowupMsg\");\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Schedule_Appt;\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\n } else {\n logger.success(\"postActivitySuccessMsg\");\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\n } // if vehicle no longer owns\n\n\n if (result.resultID == activityResults.phoneCall.noLongerOwns || result.resultID == activityResults.note.noLongerOwns) {\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then(function () {\n $ctrl.refreshOpportunity();\n $ctrl.stopWorkingState();\n });\n } else onScheduleSubmit(); // if vehicle paid off\n\n\n if (result.resultID == activityResults.phoneCall.vehiclePaidOff) {\n activityService.updateVehiclePaidOff($ctrl.opportunityId).then(function () {\n $ctrl.refreshOpportunity();\n $ctrl.stopWorkingState();\n });\n }\n });\n }\n\n function onNoLongerOwns() {\n startWorkingState();\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then($ctrl.refreshOpportunity, $ctrl.stopWorkingState);\n }\n\n function onScheduleSubmit() {\n startWorkingState();\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\n $ctrl.refreshOpportunity();\n }\n\n function showPrintDialog() {\n activityService.runActivityRule($ctrl.opportunity.id, [activityRule.Print_Deal_Sheet]);\n\n if (!$ctrl.activities) {\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(function (activities) {\n $ctrl.activities = activities;\n $timeout($window.print, 250);\n });\n } else {\n $window.print();\n }\n }\n\n function showFeaturePrintDialog() {\n $ctrl.printingFeatures = true;\n $window.setTimeout(function () {\n $window.print();\n $ctrl.printingFeatures = false;\n }, 500);\n }\n\n function setReplacementVehicleType(vehicleType) {\n $ctrl.startWorkingState();\n $ctrl.isDealSheetDirty = true;\n $ctrl.opportunity.replacementVehicle.type = vehicleType;\n vehicleService.getAdjustedInventoryVehiclePrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.type, $ctrl.opportunity.replacementVehicle.msrp).then(function (price) {\n $ctrl.opportunity.replacementVehicle.price = price;\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(function (data) {\n return setReplacementContracts.call($ctrl, data);\n });\n });\n }\n\n function updatePayoff(payoffResult) {\n startWorkingState();\n contractService.updatePayoff($ctrl.opportunityId, payoffResult.payoffAmount, payoffResult.goodThroughDate).then(reloadOpportunityOnSuccess).catch(stopWorkingState);\n }\n\n function onDestroy() {\n opportunityService.resetActivityNotification();\n angular.element($window).off(\"keydown\", $ctrl.funcKeydown);\n }\n\n function reopen() {\n startWorkingState();\n opportunityService.reopenOpportunity($ctrl.opportunityId).then(reloadOpportunityOnSuccess);\n }\n\n function reloadOpportunityOnSuccess(success) {\n if (success) {\n reLoadOpportunity(0);\n } else {\n stopWorkingState();\n }\n }\n\n function onMarkAsSold() {\n startWorkingState();\n activityService.runActivityRule($ctrl.opportunityId, [activityRule.Mark_As_Sold, activityRule.Close]).then(function (response) {\n reloadOpportunityOnSuccess(true);\n }, function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function markAsOnOrder() {\n startWorkingState();\n activityService.runActivityRule($ctrl.opportunityId, [activityRule.Mark_As_On_Order]).then(function (response) {\n reloadOpportunityOnSuccess(true);\n }, function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function unMarkAsOnOrder() {\n startWorkingState();\n activityService.runActivityRule($ctrl.opportunityId, [activityRule.Unmark_As_On_Order]).then(function (response) {\n reloadOpportunityOnSuccess(true);\n }, function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function getCreditConvertData() {\n opportunityService.getCreditSoftPullResultAsync($ctrl.permissions, $ctrl.opportunityId).then(function (creditPrescreenResult) {\n $ctrl.opportunity.creditSoftPull = creditPrescreenResult;\n });\n opportunityService.getTags($ctrl.opportunityId).then(function (tags) {\n $ctrl.opportunity.tags = tags;\n });\n }\n\n function submitDiscrepancy(discrepancy) {\n $ctrl.dealsheetWorking = opportunityService.submitDiscrepancy($ctrl.opportunity, discrepancy).then(showSuccessMessage);\n\n function showSuccessMessage() {\n logger.success(submitDiscrepancySuccessMessageKey);\n }\n }\n\n function setInventoryOrAverageReplacementVehicle(vehicle) {\n $ctrl.selectedReplacementVehicle = null;\n setReplacementVehicle(vehicle);\n }\n\n function setCreditPrescreenStatus(status) {\n $ctrl.opportunity.creditPrescreenStatus = status;\n }\n\n function showNoRecommendedVehiclesMessage() {\n $ctrl.noRecommendedVehiclesMessageVisible = true;\n $timeout(function () {\n $ctrl.noRecommendedVehiclesMessageVisible = false;\n }, 5000);\n }\n\n function getDefaultTab() {\n var defaultTabs = storageService.getItem('defaultDealSheetTabs');\n var defaultTab;\n\n if (defaultTabs && defaultTabs[$ctrl.userProfile.userId]) {\n defaultTab = defaultTabs[$ctrl.userProfile.userId];\n } else {\n defaultTab = $ctrl.tabs.alertsAndScripts;\n }\n\n if (!isTabAccessible(defaultTab)) {\n defaultTab = getAccessibleTabs()[0];\n }\n\n return defaultTab;\n }\n\n function setDefaultTab() {\n var defaultTabs = storageService.getItem('defaultDealSheetTabs') || {};\n defaultTabs[$ctrl.userProfile.userId] = $ctrl.currentTab;\n storageService.setItem('defaultDealSheetTabs', defaultTabs);\n $ctrl.defaultTab = $ctrl.currentTab;\n }\n\n function getAccessibleTabs() {\n var accessibleTabs = [];\n var tabs = [$ctrl.tabs.alertsAndScripts, $ctrl.tabs.currentVehicleDetails, $ctrl.tabs.replacementVehicleDetails, $ctrl.tabs.featureComparison, $ctrl.tabs.activityAndNotes, $ctrl.tabs.serviceHistory, $ctrl.tabs.otherVehiclesOwned, $ctrl.tabs.changeLog];\n\n for (var i = 0; i < tabs.length; i++) {\n var tab = tabs[i];\n\n if (isTabAccessible(tab)) {\n accessibleTabs.push(tab);\n }\n }\n\n return accessibleTabs;\n }\n\n function isTabAccessible(tab) {\n switch (tab) {\n case $ctrl.tabs.alertsAndScripts:\n return $ctrl.permissions.viewAlertScripts;\n\n case $ctrl.tabs.currentVehicleDetails:\n return $ctrl.permissions.viewVehicle || $ctrl.permissions.viewContract;\n\n case $ctrl.tabs.replacementVehicleDetails:\n return $ctrl.permissions.payments;\n\n case $ctrl.tabs.dealHistory:\n return $ctrl.permissions.payments;\n\n case $ctrl.tabs.activityAndNotes:\n return $ctrl.permissions.activitiesLog;\n\n case $ctrl.tabs.serviceHistory:\n return $ctrl.permissions.serviceHistory;\n\n case $ctrl.tabs.otherVehiclesOwned:\n return $ctrl.userProfile.roleName != $ctrl.userProfileRoles.Sales_Associate && $ctrl.userProfile.roleName != $ctrl.userProfileRoles.Base_Sales_Associate;\n\n case $ctrl.tabs.changeLog:\n return $ctrl.permissions.viewChangeLog;\n\n default:\n return true;\n }\n }\n\n function onVehicleActionUpdate(vehicleActionUpdated) {\n $ctrl.startWorkingState();\n\n switch (vehicleActionUpdated) {\n case vehicleActions.doesNotOwnVehicle:\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then($ctrl.refreshOpportunity, $ctrl.stopWorkingState);\n break;\n\n case vehicleActions.vehiclePaidOff:\n activityService.updateVehiclePaidOff($ctrl.opportunityId).then($ctrl.refreshOpportunity, $ctrl.stopWorkingState);\n break;\n\n case vehicleActions.vehicleNotPaidOff:\n vehicleNotPaidOff();\n break;\n\n case vehicleActions.purchasedByDealer:\n activityService.updateVehiclePurchasedByDealer($ctrl.opportunityId).then($ctrl.refreshOpportunity, $ctrl.stopWorkingState);\n break;\n\n default:\n $ctrl.stopWorkingState();\n break;\n }\n }\n\n function isVehicleStatusVisible() {\n //if ($ctrl.opportunity){\n // if ($ctrl.opportunity.status == $ctrl.opportunityStatuses.closed)\n // return false;\n // if ($ctrl.opportunity.status == $ctrl.opportunityStatuses.sold)\n // return false;\n //}\n var availableChoices = 0;\n if ($ctrl.permissions.editMarkAsNotOwn) availableChoices++;\n if ($ctrl.permissions.editMarkAsPaidOff) availableChoices++;\n if ($ctrl.permissions.editMarkAsSold) availableChoices++;\n return availableChoices > 0 ? true : false;\n }\n\n function logShortcut() {\n $ctrl.isCustomerConnectOpen = true;\n }\n\n function openHotTradeModal() {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'hotTradeDetailsModal',\n appendTo: parentElem,\n resolve: {\n renderedPromise: function renderedPromise() {\n return {\n vehicle: $ctrl.opportunity.currentVehicle,\n hotTrade: $ctrl.hotTradeData\n };\n }\n }\n });\n return modalInstance;\n }\n\n function openSmartVincentLink() {\n if ($ctrl.opportunity.replacementVehicle.vin != null || $ctrl.opportunity.replacementVehicle.bestTrimMatch_VIN) {\n var market = \"USA\";\n var language = \"EN\";\n\n switch ($ctrl.cultureName) {\n case cultures.enUS:\n case cultures.enCA:\n language = \"EN\";\n break;\n\n case cultures.frCA:\n case cultures.frFR:\n language = \"FR\";\n break;\n\n default:\n language = \"EN\";\n break;\n }\n\n switch ($ctrl.cultureName) {\n case cultures.enUS:\n market = \"USA\";\n break;\n\n case cultures.enCA:\n case cultures.frCA:\n market = \"CAN\";\n break;\n\n default:\n market = \"USA\";\n break;\n }\n\n var smartVincentUrl = environmentVariables.smartVincentUrl;\n smartVincentUrl = smartVincentUrl.replace(\"{0}\", $ctrl.opportunity.replacementVehicle.vin != null ? $ctrl.opportunity.replacementVehicle.vin : $ctrl.opportunity.replacementVehicle.bestTrimMatch_VIN);\n smartVincentUrl = smartVincentUrl.replace(\"{1}\", market);\n smartVincentUrl = smartVincentUrl.replace(\"{2}\", language);\n\n if ($ctrl.opportunity.customer.lastName) {\n smartVincentUrl += \"&lastName=\" + encodeURIComponent($ctrl.opportunity.customer.lastName);\n }\n\n if ($ctrl.opportunity.customer.firstName) {\n smartVincentUrl += \"&firstName=\" + encodeURIComponent($ctrl.opportunity.customer.firstName);\n }\n\n if ($ctrl.opportunity.customer.address.streetAddress && $ctrl.opportunity.customer.address.streetAddress2) {\n smartVincentUrl += \"&street=\" + encodeURIComponent($ctrl.opportunity.customer.address.streetAddress + \", \" + $ctrl.opportunity.customer.address.streetAddress);\n } else if ($ctrl.opportunity.customer.address.streetAddress) {\n smartVincentUrl += \"&street=\" + encodeURIComponent($ctrl.opportunity.customer.address.streetAddress);\n }\n\n if ($ctrl.opportunity.customer.address.city) {\n smartVincentUrl += \"&city=\" + encodeURIComponent($ctrl.opportunity.customer.address.city);\n }\n\n if ($ctrl.opportunity.customer.address.stateName) {\n smartVincentUrl += \"&state=\" + $ctrl.opportunity.customer.address.stateName;\n }\n\n if ($ctrl.opportunity.customer.address.zipCode) {\n var zipCode = \"\";\n\n if ($ctrl.userProfile.countryId == dealerCountries.usa) {\n zipCode = $ctrl.opportunity.customer.address.normalizedZipCode;\n } else if ($ctrl.userProfile.countryId == dealerCountries.canada) {\n zipCode = $ctrl.opportunity.customer.address.zipCode.replace(/\\s+/g, '').substring(0, 6);\n } else {\n zipCode = $ctrl.opportunity.customer.address.zipCode;\n }\n\n smartVincentUrl += \"&zipCode=\" + encodeURIComponent(zipCode);\n }\n\n if ($ctrl.opportunity.customer.emailAddress && $ctrl.opportunity.customer.emailAddress.value) {\n smartVincentUrl += \"&email=\" + encodeURIComponent($ctrl.opportunity.customer.emailAddress.value);\n }\n\n if ($ctrl.opportunity.customer.companyName && $ctrl.opportunity.customer.companyName.length > 1) {\n // This is a business\n // if both a home and work phone put them in respective homePhone and businessPhone parameters:\n if ($ctrl.opportunity.customer.homePhoneNumber && $ctrl.opportunity.customer.homePhoneNumber.value && $ctrl.opportunity.customer.workPhoneNumber && $ctrl.opportunity.customer.workPhoneNumber.value) {\n smartVincentUrl += \"&homePhone=\" + encodeURIComponent($ctrl.opportunity.customer.homePhoneNumber.value);\n smartVincentUrl += \"&businessPhone=\" + encodeURIComponent($ctrl.opportunity.customer.workPhoneNumber.value);\n } else {\n // if only a home phone or work phone put it in both homePhone and businessPhone parameters:\n if ($ctrl.opportunity.customer.homePhoneNumber && $ctrl.opportunity.customer.homePhoneNumber.value) {\n smartVincentUrl += \"&homePhone=\" + encodeURIComponent($ctrl.opportunity.customer.homePhoneNumber.value);\n smartVincentUrl += \"&businessPhone=\" + encodeURIComponent($ctrl.opportunity.customer.homePhoneNumber.value);\n } else if ($ctrl.opportunity.customer.workPhoneNumber && $ctrl.opportunity.customer.workPhoneNumber.value) {\n smartVincentUrl += \"&homePhone=\" + encodeURIComponent($ctrl.opportunity.customer.workPhoneNumber.value);\n smartVincentUrl += \"&businessPhone=\" + encodeURIComponent($ctrl.opportunity.customer.workPhoneNumber.value);\n }\n }\n } else {\n // This is a regular customer, not a business. Put home and work numbers in respective homePhone and businessPhone parameters:\n if ($ctrl.opportunity.customer.homePhoneNumber && $ctrl.opportunity.customer.homePhoneNumber.value) {\n smartVincentUrl += \"&homePhone=\" + encodeURIComponent($ctrl.opportunity.customer.homePhoneNumber.value);\n }\n\n if ($ctrl.opportunity.customer.workPhoneNumber && $ctrl.opportunity.customer.workPhoneNumber.value) {\n smartVincentUrl += \"&businessPhone=\" + encodeURIComponent($ctrl.opportunity.customer.workPhoneNumber.value);\n }\n }\n\n console.log('smartVincent url: ' + smartVincentUrl);\n $window.open(smartVincentUrl, '_blank');\n }\n }\n}","\n/* injects from baggage-loader */\nrequire('./deal-sheet.component.html');\n\nimport angular from 'angular';\r\nimport { tokenMissing$ } from '../../modules/oidc-auth/events';\r\nimport pandoOnIconPath from '../../images/icon-pando-profile-on.svg';\r\nimport pandoOffIconPath from '../../images/icon-pando-profile-off.svg';\r\nimport './deal-sheet.scss';\r\nimport { ActivityTypes as activityTypes, ConquestTypes as conquestTypes } from '../../constants';\r\nimport { DealerCountries as dealerCountries } from '../../constants/dealer-countries';\r\nimport { forEach } from '@uirouter/core';\r\n\r\nangular.module('AaApp.Opp').component('dealSheet', {\r\n templateUrl: '/app/components/deal-sheet/deal-sheet.component.html',\r\n controller: DealSheetController,\r\n bindings: {\r\n opportunityId: '<',\r\n calculationType: '<',\r\n stockNo: '<',\r\n showLegacy: '<',\r\n closeButtonVisible: '<',\r\n newWindowButtonVisible: '<',\r\n close: '<',\r\n dismiss: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DealSheetController(\r\n //angular services\r\n $timeout, $q, $translate, $translatePartialLoader, $sce, $scope, $window, $document, $analytics, $state, logger, $auth, $uibModal, $rootScope, toaster,\r\n //shared services\r\n dealSheetService,\r\n\r\n //other services\r\n opportunity2Service, opportunityService, vehicleService, contractService, authorizationService, customerService, globalIframeService,\r\n userService, dealerService, activityService, servicesService, storageService, eulaModalService, searchService,\r\n\r\n //$translate related\r\n localePaths, switchToNewDealSheetKey, switchToClassicDealSheetKey, dontHaveAccessWarningKey,\r\n\r\n //constants\r\n legacy, dealSheetTabs, saleTypes, conquestTypes, msrpTypes, vehicleTypes, alertScriptTypes, activityRule, analytics, userProfileRoles, modules,\r\n submitDiscrepancySuccessMessageKey, paymentTypes, entityActionAccessEnum, ActivityActionEnum, activityResults, tradeValueTypes, vehicleActions, opportunityStatuses,\r\n environmentVariables, pandoActionTypes, assetTypes, territories, cultures, fordFBATypes,\r\n\r\n //Tools\r\n _, mapUtils) {\r\n\r\n // props\r\n\r\n var $ctrl = this;\r\n\r\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\r\n\r\n\r\n $ctrl.isSltUser;\r\n $ctrl.showExpirationDate;\r\n $ctrl.opportunityId;\r\n $ctrl.showVehicleNotPaidoff;\r\n $ctrl.isOfferEnabled;\r\n $ctrl.moduleIds;\r\n $ctrl.replacementStockNo;\r\n $ctrl.currentVehicle;\r\n $ctrl.currentContract;\r\n $ctrl.replacementVehicle;\r\n $ctrl.replacementContract;\r\n $ctrl.opportunity;\r\n $ctrl.activities;\r\n $ctrl.msrpTypes = msrpTypes;\r\n $ctrl.paymentTypes = paymentTypes;\r\n $ctrl.conquestTypes = conquestTypes;\r\n $ctrl.tabs = dealSheetTabs;\r\n $ctrl.permissions = { featureComparison: true, otherVehiclesOwned: true };\r\n $ctrl.newDealSheetReady = false;\r\n $ctrl.newDealSheetVisible = dealSheetService.modalDisplayState === 'new';\r\n $ctrl.serviceHistory = null;\r\n $ctrl.fuelEconomyComparison;\r\n $ctrl.featureComparison;\r\n $ctrl.relatedOpportunities;\r\n $ctrl.relatedOpportunitiesByVin;\r\n $ctrl.activityNotification = false;\r\n $ctrl.userProfileRoles = userProfileRoles;\r\n $ctrl.replacementColor;\r\n $ctrl.replacementInStockDays;\r\n $ctrl.pricingPlanEnabled;\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\r\n $ctrl.tradeValueTypes = tradeValueTypes;\r\n $ctrl.opportunityStatuses = opportunityStatuses;\r\n $ctrl.eulaModalService = eulaModalService;\r\n $ctrl.showPullForward = false;\r\n $ctrl.hasReviewPro = false;\r\n $ctrl.hasGeoAlert = false;\r\n $ctrl.showPrivateOfferScript;\r\n $ctrl.showPrivateOfferPreApprovalScript;\r\n $ctrl.states;\r\n $ctrl.cultureName;\r\n $ctrl.isFordAlert = false;\r\n $ctrl.isFordLincoln = false;\r\n $ctrl.printingFeatures = false;\r\n $ctrl.isVautoEnabled = false;\r\n $ctrl.isVinCueEnabled = false;\r\n $ctrl.isDmsPushValid = false;\r\n $ctrl.isEnterpriseCustomer = false;\r\n $ctrl.dealerGroupMakes;\r\n $ctrl.crossBrandConditionsMet = false;\r\n $ctrl.alternatesWithOvernightOffBrand = false;\r\n\r\n // VCI\r\n $ctrl.isVciAvailable = false;\r\n\r\n // methods\r\n $ctrl.$onInit = init;\r\n $ctrl.closeModal = closeModal;\r\n $ctrl.showNoRecommendedVehiclesMessage = showNoRecommendedVehiclesMessage;\r\n $ctrl.changeDealSheetView = changeDealSheetView;\r\n $ctrl.changeTab = changeTab;\r\n $ctrl.isDealSheetDirty = false;\r\n $ctrl.isDealsheetVersionChangeEnabled = legacy.isDealsheetVersionChangeEnabled;\r\n $ctrl.updateAssignedUser = updateAssignedUser;\r\n $ctrl.onActivityUpdate = onActivityUpdate;\r\n $ctrl.onTradeValueChange = onTradeValueChange;\r\n $ctrl.onPriceChange = onPriceChange;\r\n $ctrl.onMileageValueChange = onMileageValueChange;\r\n $ctrl.onWatchChange = onWatchChange;\r\n $ctrl.refreshOpportunity = refreshOpportunity;\r\n $ctrl.startWorkingState = startWorkingState;\r\n $ctrl.stopWorkingState = stopWorkingState;\r\n $ctrl.updateReplacementVehicleByMsrpType = updateReplacementVehicleByMsrpType;\r\n $ctrl.setReplacementVehicle = setReplacementVehicle;\r\n $ctrl.updateReplacementVehicleByTrim = updateReplacementVehicleByTrim;\r\n $ctrl.onScheduleSubmit = onScheduleSubmit;\r\n $ctrl.updateCustomer = updateCustomer;\r\n $ctrl.updateCustomerCancel = updateCustomerCancel;\r\n $ctrl.printVisible = printVisible;\r\n $ctrl.refreshTabs = refreshTabs;\r\n $ctrl.showPrintDialog = showPrintDialog;\r\n\r\n\r\n $ctrl.showFeaturePrintDialog = showFeaturePrintDialog;\r\n\r\n\r\n\r\n $ctrl.onMarkAsNLO = onMarkAsNLO;\r\n $ctrl.onFinancialUpdate = onFinancialUpdate;\r\n $ctrl.onOpenComparisonTab = onOpenComparisonTab;\r\n $ctrl.changeOpportunity = changeOpportunity;\r\n $ctrl.setReplacementVehicleType = setReplacementVehicleType;\r\n $ctrl.vehicleNotPaidOff = vehicleNotPaidOff;\r\n $ctrl.updatePayoff = updatePayoff;\r\n $ctrl.$onDestroy = onDestroy;\r\n $ctrl.reopen = reopen;\r\n $ctrl.onMarkAsSold = onMarkAsSold;\r\n $ctrl.markAsOnOrder = markAsOnOrder;\r\n $ctrl.unMarkAsOnOrder = unMarkAsOnOrder;\r\n $ctrl.getCreditConvertData = getCreditConvertData;\r\n $ctrl.otherVehicleHasAlerts;\r\n $ctrl.otherVehicleStatusClosed;\r\n $ctrl.submitDiscrepancy = submitDiscrepancy;\r\n $ctrl.setInventoryOrAverageReplacementVehicle = setInventoryOrAverageReplacementVehicle;\r\n $ctrl.setCreditPrescreenStatus = setCreditPrescreenStatus;\r\n $ctrl.onLogScheduleSubmit = onLogScheduleSubmit;\r\n $ctrl.setDefaultTab = setDefaultTab;\r\n $ctrl.onNoLongerOwns = onNoLongerOwns;\r\n $ctrl.onVehicleActionUpdate = onVehicleActionUpdate;\r\n $ctrl.isVehicleStatusVisible = isVehicleStatusVisible;\r\n $ctrl.setReplacementContractOverride = setReplacementContractOverride;\r\n $ctrl.funcKeydown = funcKeydown;\r\n $ctrl.setMVOVehicle = setMVOVehicle;\r\n $ctrl.logShortcut = logShortcut;\r\n $ctrl.openSmartVincentLink = openSmartVincentLink;\r\n\r\n // translations\r\n $translatePartialLoader.addPart(localePaths.dealSheet);\r\n $translatePartialLoader.addPart(localePaths.general);\r\n\r\n // spinner\r\n $ctrl.dealsheetWorking;\r\n $ctrl.loadingDealSheetText;\r\n $ctrl.hideWhenBusy = false;\r\n //customer-connect tab status\r\n $ctrl.isCustomerConnectOpen = false;\r\n\r\n $ctrl.OriginalTradeValue = null;\r\n $ctrl.isUserEditedTradeValue = false;\r\n // term override\r\n $ctrl.hasTermOverride = false;\r\n $ctrl.overrideTermInfo;\r\n\r\n $ctrl.mKey = 77;\r\n\r\n // pando connect\r\n $ctrl.isPandoOpen = false;\r\n $ctrl.pandoOnIcon = pandoOnIconPath;\r\n $ctrl.pandoOffIcon = pandoOffIconPath;\r\n $ctrl.onPandoActionClick = onPandoActionClick;\r\n $ctrl.isPandoConnectEnabled = environmentVariables.pandoDealSheetEnabled;\r\n //$ctrl.isPandoDealSheetProcessEnabled = environmentVariables.pandoDealSheetProcessEnabled;\r\n $ctrl.isPandoDealSheetProcessEnabled = false;\r\n $ctrl.pandoActionTypes = pandoActionTypes;\r\n $ctrl.toggleClick = toggleClick;\r\n $ctrl.LogActivityClick = LogActivityClick;\r\n $ctrl.autoRewardsUrl = null;\r\n\r\n $ctrl.vehicleActions = vehicleActions;\r\n\r\n // init defaults for auto assignment of owner and access infos\r\n $ctrl.isAutoAssignedOwner = false;\r\n $ctrl.autoAssignData = { fullName: null, icon: \"clipboard-assigned\", toolTip: \"\", date: null, labelText: \"accessLogs\", isAutoAssigned: false, autoAssignAccessSearch: null, autoAssignAccessDate: null }\r\n\r\n $ctrl.selectedReplacementVehicle = { selectedVehicleType: 'standardVehicle', alternateVehicleIndex: 0 };\r\n\r\n // hot trade\r\n $ctrl.displayHotTrade;\r\n $ctrl.hotTradeData;\r\n $ctrl.openHotTradeModal = openHotTradeModal;\r\n\r\n $ctrl.displayNlo = false;\r\n $ctrl.nloData = null;\r\n\r\n\r\n function getAutoRewardsUrl() {\r\n var url = null;\r\n\r\n if ($ctrl.dealerSettings.autoRewardAccountIdentifier &&\r\n $ctrl.dealerSettings.autoRewardUserName &&\r\n $ctrl.dealerSettings.autoRewardPassword &&\r\n (($ctrl.opportunity.customer.lastName && $ctrl.opportunity.customer.firstName) || $ctrl.opportunity.customer.lastName)) {\r\n url = environmentVariables.autoRewardsUrl;\r\n url = url.replace(\"{0}\", encodeURIComponent($ctrl.dealerSettings.autoRewardAccountIdentifier));\r\n url = url.replace(\"{1}\", encodeURIComponent($ctrl.dealerSettings.autoRewardUserName));\r\n url = url.replace(\"{2}\", encodeURIComponent($ctrl.dealerSettings.autoRewardPassword));\r\n url = url.replace(\"{3}\", encodeURIComponent($ctrl.opportunity.customer.lastName));\r\n url = url.replace(\"{4}\", encodeURIComponent($ctrl.opportunity.customer.firstName));\r\n }\r\n\r\n return url;\r\n }\r\n\r\n function LogActivityClick(value) {\r\n $ctrl.isPandoOpen = false;\r\n $ctrl.isCustomerConnectOpen = value;\r\n\r\n }\r\n\r\n function toggleClick(value) {\r\n $ctrl.onPandoActionClick($ctrl.pandoActionTypes.tab);\r\n }\r\n\r\n function onPandoActionClick(actionTypeSelected) {\r\n $ctrl.pandoActionTypeSelected = actionTypeSelected; // used in pando-customer-connect component.\r\n\r\n $ctrl.isCustomerConnectOpen = false;\r\n\r\n if (actionTypeSelected == $ctrl.pandoActionTypes.tab)\r\n $ctrl.isPandoOpen = !$ctrl.isPandoOpen;\r\n else\r\n $ctrl.isPandoOpen = true; // if Process or Message btn click just open.\r\n }\r\n\r\n function closeModal() {\r\n globalIframeService.postMessage({ 'task': 'opportunity_refresh' });\r\n $ctrl.close();\r\n }\r\n\r\n function vehicleNotPaidOff() {\r\n $ctrl.startWorkingState();\r\n contractService.undoVehiclePaidOff($ctrl.opportunityId).then(\r\n function () {\r\n $ctrl.refreshOpportunity();\r\n },\r\n function () {\r\n $ctrl.stopWorkingState();\r\n throw { message: \"We encountered an error processing your request.\" };\r\n })\r\n .catch(errorExit(dontHaveAccessWarningKey));\r\n }\r\n\r\n function resetDealSheet() {\r\n $ctrl.opportunityId = null;\r\n $ctrl.replacementStockNo = null;\r\n $ctrl.currentVehicle = null;\r\n $ctrl.currentContract = null;\r\n $ctrl.replacementVehicle = null;\r\n $ctrl.replacementContract = null;\r\n $ctrl.opportunity = null;\r\n $ctrl.activities = null;\r\n $ctrl.tabs = dealSheetTabs;\r\n $ctrl.permissions = { featureComparison: true, otherVehiclesOwned: true };\r\n $ctrl.newDealSheetReady = true;\r\n $ctrl.newDealSheetVisible = dealSheetService.modalDisplayState === 'new';\r\n $ctrl.serviceHistory = null;\r\n $ctrl.fuelEconomyComparison = null;\r\n $ctrl.relatedOpportunities = null;\r\n $ctrl.featureComparison = null;\r\n $ctrl.OriginalTradeValue = null;\r\n $ctrl.currentTab = null;\r\n }\r\n\r\n function changeOpportunity(opportunityId) {\r\n if ($ctrl.newWindowButtonVisible) {\r\n resetDealSheet();\r\n $ctrl.opportunityId = opportunityId;\r\n init();\r\n }\r\n else {\r\n $state.go('dealSheet', { opportunityId: opportunityId });\r\n }\r\n }\r\n\r\n function printVisible(x) {\r\n $ctrl.printShow = x;\r\n }\r\n\r\n function onOpenComparisonTab() {\r\n changeTab($ctrl.tabs.featureComparison);\r\n }\r\n\r\n function loadDealerSettings() {\r\n var dealerId = $ctrl.opportunity.dealerId;\r\n $ctrl.pricingPlanEnabled = userService.isDealerEnabledForModule(dealerId, modules.fordAXZPlanPricing);\r\n $ctrl.dealerSettings = $ctrl.opportunity.dealerSettings;\r\n return $q.resolve();\r\n }\r\n\r\n function errorExitWithCode(key) {\r\n $translate([key]).then(showWarningMessage);\r\n\r\n function showWarningMessage(translations) {\r\n logger.warning(translations[key]);\r\n }\r\n if ($ctrl.dismiss) {\r\n $ctrl.dismiss({ $value: 'cancel' });\r\n } else {\r\n $state.go('home');\r\n }\r\n }\r\n\r\n function errorExit(key) {\r\n return function (response) {\r\n errorExitWithCode(key);\r\n }\r\n }\r\n\r\n function init() {\r\n // If the user isn't logged in, the tokenMissing$ is fired due to API calls\r\n // returning 401. We respond to that by (1) saving the current URL, (2)\r\n // redirecting to SSO, and (3) redirecting to the 'home' state.\r\n //\r\n // When the user loads the deal sheet from a URL, there's a race condition where\r\n // (1) happens before (3). This means we store the home URL (\"/\") instead of\r\n // the deal sheet URL (\"/alert-desk/deal-sheet/...\"), so the user doesn't get\r\n // redirected to the right place after they sign in.\r\n //\r\n // Firing tokenMissing$ here doesn't make sense, but it seems to fix the\r\n // timing issue.\r\n if (!$auth.isAuthenticated()) {\r\n tokenMissing$.next();\r\n return;\r\n }\r\n dealSheetService.modalDisplayState = 'new';\r\n $ctrl.conquestTypes = conquestTypes;\r\n $ctrl.vehicleTypes = vehicleTypes;\r\n $ctrl.vehicleTypeKeys = _.invert(vehicleTypes);\r\n $ctrl.saleTypeKeys = _.invert(saleTypes);\r\n $ctrl.alertScriptTypes = alertScriptTypes;\r\n $ctrl.alertScriptTypeKeys = _.invert(alertScriptTypes);\r\n $ctrl.states = territories;\r\n $ctrl.fordFBATypes = fordFBATypes;\r\n\r\n if ($ctrl.opportunityId) {\r\n $ctrl.dealsheetWorking = $q.defer().promise;\r\n if (dealSheetService.modalDisplayState === 'new') {\r\n $ctrl.isDealsheetVersionChangeEnabled = false;\r\n $ctrl.changeDealSheetLabel = switchToClassicDealSheetKey;\r\n $ctrl.newDealSheetVisible = true;\r\n $ctrl.hideWhenBusy = true;\r\n initNewDealSheet();\r\n }\r\n else {\r\n $ctrl.newDealSheetVisible = false;\r\n $ctrl.changeDealSheetLabel = switchToNewDealSheetKey;\r\n $ctrl.src = getLegacyDealSheet();\r\n $ctrl.dealsheetWorking = null;\r\n }\r\n }\r\n\r\n $translate('loadingDealSheet')\r\n .then((translation) => $ctrl.loadingDealSheetText = translation);\r\n\r\n eulaModalService.isEmailEnabled().then(isEnabled => $ctrl.isEmailEnabled = isEnabled);\r\n }\r\n\r\n function initNewDealSheet() {\r\n $ctrl.newDealSheetReady = false;\r\n $ctrl.contractReady = false;\r\n $ctrl.opportunityDetailsReady = false;\r\n\r\n return userService.getUserProfile()\r\n .then(function (userProfile) {\r\n return $q.all({\r\n 'dealSheetPermissions': authorizationService.getDealSheetPermissions(),\r\n 'userProfile': $q.resolve(userProfile)\r\n })\r\n })\r\n .then(function (data) {\r\n $ctrl.permissions = data.dealSheetPermissions;\r\n $ctrl.permissions.featureComparison = true;\r\n $ctrl.permissions.otherVehiclesOwned = true;\r\n $ctrl.isSltUser = data.userProfile.isSltUser;\r\n var userProfile = $ctrl.userProfile = data.userProfile;\r\n\r\n $ctrl.cultureName = userProfile.cultureName;\r\n\r\n angular.element($window).on(\"keydown\", $ctrl.funcKeydown);\r\n\r\n // TODO: Pass this in via a binding\r\n $ctrl.moduleIds = storageService.getItem('moduleIds');\r\n\r\n return opportunityService.getOpportunity($ctrl.opportunityId, $ctrl.stockNo, $ctrl.calculationId, $ctrl.permissions, $ctrl.moduleIds)\r\n .then(function (opportunity) {\r\n return setOpportunity(opportunity, userProfile);\r\n });\r\n })\r\n .catch(errorExit(dontHaveAccessWarningKey));\r\n }\r\n\r\n function setOpportunity(opportunity, userProfile) {\r\n $ctrl.opportunity = opportunity;\r\n SetCrossBrandConditionsMet();\r\n $ctrl.isVciAvailable = ($ctrl.opportunity.currentVehicle.makeID == 84 || $ctrl.opportunity.currentVehicle.makeID == 85);\r\n // hot trade\r\n if ($ctrl.userProfile.countryId == dealerCountries.usa) {\r\n opportunityService.getVehicleTurnPredictor($ctrl.opportunityId).then(function (result) {\r\n if (result.hasData) {\r\n $ctrl.displayHotTrade = true;\r\n $ctrl.hotTradeData = result.data;\r\n } else {\r\n $ctrl.displayHotTrade = false;\r\n $ctrl.hotTradeData = null;\r\n }\r\n });\r\n } else {\r\n $ctrl.displayHotTrade = false;\r\n $ctrl.hotTradeData = null;\r\n }\r\n\r\n // use same module check as for wishlist:\r\n if ($ctrl.moduleIds.indexOf(modules.wishlist) > -1) {\r\n opportunityService.getActiveNLPNoLongerOwn($ctrl.opportunityId).then(function (result) {\r\n if (result && result.length > 0) {\r\n $ctrl.displayNlo = true;\r\n $ctrl.nloData = result;\r\n } else {\r\n $ctrl.displayNlo = false;\r\n $ctrl.nloData = null;\r\n }\r\n });\r\n }\r\n else {\r\n $ctrl.displayNlo = false;\r\n $ctrl.nloData = null;\r\n }\r\n\r\n $q.all({\r\n 'leadAssignment': $translate('leadAssignment'),\r\n 'date': $translate('date'),\r\n\r\n }).then(function (stuff) {\r\n $ctrl.leadAssignmentLabel = stuff.leadAssignment;\r\n $ctrl.dateLabel = stuff.date;\r\n\r\n //load autoassigned data from returned service results\r\n $ctrl.isAutoAssignedOwner = $ctrl.opportunity.autoAssignOwner;\r\n if ($ctrl.opportunity.autoAssignOwnerSearch)\r\n $ctrl.autoOwnerLeadAssignmentToolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.opportunity.autoAssignOwnerSearch;\r\n\r\n $ctrl.dateSeparator = \": \";\r\n $ctrl.newLineSeparator = \"\\n\";\r\n\r\n $ctrl.autoAssignData.fullName = $ctrl.opportunity.autoAssignAccessUserName;\r\n $ctrl.autoAssignData.isAutoAssigned = $ctrl.autoAssignData.fullName != null;\r\n $ctrl.autoAssignData.autoAssignAccessSearch = $ctrl.opportunity.autoAssignAccessSearch;\r\n $ctrl.autoAssignData.autoAssignAccessDate = $ctrl.opportunity.autoAssignAccessDate;\r\n if ($ctrl.autoAssignData.autoAssignAccessSearch)\r\n $ctrl.autoAssignData.toolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.autoAssignData.autoAssignAccessSearch;\r\n\r\n const hasTextingModule = userService.isDealerEnabledForModule(opportunity.dealerId, modules.textMessaging);\r\n $ctrl.isTextingEnabled = hasTextingModule && ($ctrl.permissions.sendTextSales || $ctrl.permissions.sendTextService);\r\n\r\n ////TEST pando claim and Auto Assignment with mock data\r\n\r\n ////test auto owner\r\n //$ctrl.isAutoAssignedOwner = true;\r\n //$ctrl.opportunity.autoAssignOwnerSearch = \"OWNER TEST DATA 1234\";\r\n //$ctrl.opportunity.autoAssignOwnerDate = \"2018-09-14T00:00:00Z\";\r\n //if($ctrl.opportunity.autoAssignOwnerSearch)\r\n // $ctrl.autoOwnerLeadAssignmentToolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.opportunity.autoAssignOwnerSearch;\r\n\r\n //// test auto access\r\n //$ctrl.autoAssignData.isAutoAssigned = true ;\r\n //$ctrl.autoAssignData.fullName = $ctrl.autoAssignData.fullName == null ? \"Test User\" : $ctrl.autoAssignData.fullName;\r\n //$ctrl.autoAssignData.autoAssignAccessSearch = \"ACCESS TEST DATA 1234\";\r\n //$ctrl.autoAssignData.autoAssignAccessDate = \"2018-09-14T00:00:00Z\";\r\n //if($ctrl.autoAssignData.autoAssignAccessSearch)\r\n // $ctrl.autoAssignData.toolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.autoAssignData.autoAssignAccessSearch;\r\n\r\n //// test pando claim\r\n //$ctrl.opportunity.pandoClaim = {fullName:\"James Larson\", statusDateUTC:\"08/17/2018 9:18 AM\",statusID:\"100\"}\r\n\r\n });\r\n\r\n $ctrl.hasAutoAssist = false;\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.autoAssistant, $ctrl.opportunity.dealerId)\r\n .then(function (data) {\r\n $ctrl.hasAutoAssist = data;\r\n });\r\n\r\n $ctrl.hasReviewPro = false;\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.reviewBuilderPro, $ctrl.opportunity.dealerId)\r\n .then(function (data) {\r\n $ctrl.hasReviewPro = data;\r\n });\r\n\r\n $ctrl.hasGeoAlert = false;\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.geoAlert, $ctrl.opportunity.dealerId)\r\n .then(function (data) {\r\n $ctrl.hasGeoAlert = data;\r\n });\r\n\r\n dealSheetService.isVAutoEnabled($ctrl.opportunity.dealerId)\r\n .then(data => {\r\n $ctrl.isVautoEnabled = data;\r\n });\r\n\r\n dealSheetService.isDmsPushValid($ctrl.opportunity.dealerId)\r\n .then(data => {\r\n $ctrl.isDmsPushValid = (data.status == 0);\r\n });\r\n\r\n dealSheetService.isVinCueEnabled($ctrl.opportunity.dealerId)\r\n .then(data => {\r\n $ctrl.isVinCueEnabled = data;\r\n });\r\n\r\n if ($ctrl.OriginalTradeValue == null)\r\n $ctrl.OriginalTradeValue = $ctrl.opportunity.currentVehicle.tradeValue;\r\n\r\n if ($ctrl.isSltUser) {\r\n var expirationDateLimit = new Date();\r\n expirationDateLimit.setYear(expirationDateLimit.getFullYear() + 1);\r\n\r\n $ctrl.showExpirationDate = new Date($ctrl.opportunity.expirationDate) < expirationDateLimit;\r\n }\r\n\r\n $ctrl.showVehicleNotPaidoff = mapUtils.hasActionAccess($ctrl.opportunity.actionAccess, entityActionAccessEnum.showVehicleNotPaidoff);\r\n opportunityService.addAlertsAsProperties($ctrl, $ctrl.opportunity.alerts);\r\n setDocumentTitle();\r\n isOfferEnabled();\r\n\r\n checkPullForward();\r\n\r\n opportunityService.getOpportunitiesByVin($ctrl.opportunity.dealerId, $ctrl.opportunity.currentVehicle.vin)\r\n .then(setRelatedOpportunitiesByVin);\r\n\r\n $ctrl.isDealSheetDirty = false;\r\n $ctrl.replacementStockNo = opportunity.replacementVehicle.stockNo;\r\n $ctrl.activityNotification = opportunityService.activityNotification.notify && opportunityService.activityNotification.triggered;\r\n\r\n var programDetails = null;\r\n\r\n if (opportunity.replacementContract)\r\n programDetails = opportunity.replacementContract.programDetails;\r\n\r\n var isPrivateOffer = (programDetails != null && programDetails.some(p => p.isPrivateOffer));\r\n var creditPreApproval = opportunity.creditPreApproval;\r\n $ctrl.isFordAlert = userService.isDealerEnabledForModule(opportunity.dealerId, modules.fordAlert);\r\n\r\n $ctrl.showPrivateOfferScript = ($ctrl.isFordAlert && isPrivateOffer && !creditPreApproval);\r\n $ctrl.showPrivateOfferPreApprovalScript = ($ctrl.isFordAlert && isPrivateOffer && creditPreApproval);\r\n\r\n if ($ctrl.showPrivateOfferScript) {\r\n $ctrl.selectedAlertScriptType = alertScriptTypes.privateoffer;\r\n\r\n searchService.getPrivateOfferInfo(opportunity.dealerId, opportunity.id).then(function (po) {\r\n opportunity.privateOfferInfo = po;\r\n });\r\n }\r\n\r\n if ($ctrl.showPrivateOfferPreApprovalScript) {\r\n $ctrl.selectedAlertScriptType = alertScriptTypes.privateOfferWithPreApproval;\r\n\r\n searchService.getPrivateOfferInfo(opportunity.dealerId, opportunity.id).then(function (po) {\r\n opportunity.privateOfferInfo = po;\r\n });\r\n }\r\n\r\n updateReplacementVehicleFuelCost(opportunity.replacementVehicle);\r\n\r\n loadDealerSettings()\r\n .then(function (data) {\r\n $ctrl.autoRewardsUrl = getAutoRewardsUrl();\r\n if ($ctrl.dealerSettings.enableOffBrandMultiVehReplTolerances === false &&\r\n $ctrl.opportunity.replacementVehicles && $ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles) {\r\n $ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles = $ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles.filter(v => v.level >= 901 && v.level <= 905);\r\n if ($ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles.length > 0) {\r\n $ctrl.alternatesWithOvernightOffBrand = true;\r\n }\r\n }\r\n\r\n });\r\n\r\n opportunityService.getOpportunitiesByCustomerId($ctrl.opportunity.customerId).then(\r\n function (opportunities) {\r\n dealSheetService.getEntityEnterpriseCustomers($ctrl.opportunity.id).then(entityReport => {\r\n if (entityReport) {\r\n const enterpriseOpportunities = opportunityService.buildOpportunitiesFromEntityReport(entityReport);\r\n if (enterpriseOpportunities != null && enterpriseOpportunities.length > 0) {\r\n enterpriseOpportunities.forEach((enterpriseOpportunity) => {\r\n let entityAlreadyInList = (opportunities.some(function (entity) {\r\n return entity.id === enterpriseOpportunity.id;\r\n }));\r\n if (!entityAlreadyInList) {\r\n $ctrl.isEnterpriseCustomer = true;\r\n opportunities.push(enterpriseOpportunity);\r\n }\r\n });\r\n }\r\n }\r\n $ctrl.relatedOpportunities = opportunities\r\n .filter(op => op.id != $ctrl.opportunity.id)\r\n .map(op => ({\r\n ...op,\r\n alerts: op.alerts.map(type => ({ type })), // see: interface Alert\r\n }));\r\n\r\n $ctrl.otherVehicleStatusClosed = $ctrl.relatedOpportunities.some(op => !op.status);\r\n $ctrl.otherVehicleHasAlerts = $ctrl.relatedOpportunities.some(op => op.alerts.length > 0);\r\n\r\n $ctrl.relatedOpportunities.sort(\r\n //serviceDate\r\n function (a, b) {\r\n //opp rank here\r\n if (a.opportunityRank > b.opportunityRank) {\r\n return -1;\r\n }\r\n if (a.opportunityRank < b.opportunityRank) {\r\n return 1;\r\n }\r\n\r\n if (a.currentVehicle.lastServiceDate > b.currentVehicle.lastServiceDate) {\r\n return -1;\r\n }\r\n if (a.currentVehicle.lastServiceDate < b.currentVehicle.lastServiceDate) {\r\n return 1;\r\n }\r\n //startDate\r\n if (a.currentContract.startDate > b.currentContract.startDate) {\r\n return -1;\r\n }\r\n if (a.currentContract.startDate < b.currentContract.startDate) {\r\n return 1;\r\n }\r\n return 0;\r\n }\r\n )\r\n });\r\n });\r\n\r\n\r\n\r\n return $q.all({\r\n 'users': dealerService.getUsers(opportunity.dealerId),\r\n 'dealer': dealerService.getDealer(opportunity.dealerId)\r\n }).then(function (results) {\r\n return setUserDetails(userProfile, results.users, results.dealer)\r\n }).catch(errorExit(dontHaveAccessWarningKey));\r\n }\r\n\r\n function SetCrossBrandConditionsMet() {\r\n $ctrl.crossBrandConditionsMet = false;\r\n\r\n if (!$ctrl.opportunity.currentVehicle) {\r\n return /*no current vehicle*/\r\n }\r\n if (!$ctrl.opportunity.replacementVehicle || !$ctrl.opportunity.replacementVehicle.makeName) {\r\n return /*no replacement vehicle*/\r\n }\r\n if (!$ctrl.opportunity.currentContract) {\r\n return /*no current Contract*/\r\n }\r\n if ($ctrl.opportunity.currentVehicle.yearID < new Date().getFullYear() - 7) {\r\n return /*current vehicle year over 7 years old*/\r\n }\r\n if ($ctrl.opportunity.paidOff === true) {\r\n return /*vehicle is paid off*/\r\n }\r\n if ($ctrl.opportunity.stillOwned === false) {\r\n return /*vehicle no longer owned*/\r\n }\r\n if ($ctrl.opportunity.currentContract.paymentsMade < 7) {\r\n return /*payments made not > 6*/\r\n }\r\n if (!$ctrl.opportunity.currentContract.saleType &&\r\n ($ctrl.opportunity.currentContract.conquestType == conquestTypes.notConverted || $ctrl.opportunity.currentContract.conquestType == conquestTypes.creditConvert)) {\r\n return /*conquest, no sale type and conquestType one of the two*/\r\n }\r\n\r\n $ctrl.crossBrandConditionsMet = true;\r\n }\r\n\r\n function isOfferEnabled() {\r\n var isUsedToUsed = $ctrl.opportunity.currentVehicle.type != vehicleTypes.new && $ctrl.opportunity.replacementVehicle.type != vehicleTypes.new;\r\n if (isUsedToUsed) {\r\n return false;\r\n }\r\n\r\n var isDealerEnabled = dealerService.getIsDealerOneToOneEnabled($ctrl.opportunity.dealerId);\r\n\r\n $ctrl.isOfferEnabled = isDealerEnabled ? $ctrl.opportunity.currentVehicle.replacementTrimID : false;\r\n }\r\n\r\n function funcKeydown($event) {\r\n if ($ctrl.userProfile.employeeUser) {\r\n if ($event.ctrlKey && $event.keyCode == $ctrl.mKey) {\r\n $ctrl.isDealsheetVersionChangeEnabled = true;\r\n $ctrl.changeDealSheetView();\r\n }\r\n }\r\n }\r\n\r\n function setDocumentTitle() {\r\n if (!$ctrl.newWindowButtonVisible && $ctrl.opportunity != null && $ctrl.opportunity.customer != null) {\r\n $document[0].title = ($ctrl.opportunity.customer.firstName || '') + ' '\r\n + ($ctrl.opportunity.customer.middleName || '') + ' '\r\n + ($ctrl.opportunity.customer.lastName || '');\r\n }\r\n }\r\n\r\n function checkPullForward() {\r\n $ctrl.showPullForward = false;\r\n if ($ctrl.opportunity != null && $ctrl.opportunity.replacementContract != null && $ctrl.opportunity.replacementContract.pullForwardAmount > 0) {\r\n var tradeEquity;\r\n if ($ctrl.opportunity.currentVehicle.tradeValue != null && $ctrl.opportunity.currentContract.payoffAmount != null)\r\n tradeEquity = $ctrl.opportunity.currentVehicle.tradeValue - $ctrl.opportunity.currentContract.payoffAmount;\r\n else\r\n tradeEquity = $ctrl.opportunity.currentVehicle.tradeValue;\r\n\r\n var btmEquity = -$ctrl.opportunity.currentContract.balanceToMaturity + $ctrl.opportunity.currentContract.dispositionFee + $ctrl.opportunity.replacementContract.pullForwardAmount;\r\n $ctrl.showPullForward = btmEquity > tradeEquity;\r\n }\r\n }\r\n\r\n function setRelatedOpportunitiesByVin(opportunities) {\r\n $ctrl.relatedOpportunitiesByVin = opportunities\r\n .filter(op => op.id != $ctrl.opportunityId.toLowerCase())\r\n .map(op => ({\r\n ...op,\r\n alerts: op.alerts.map(type => ({ type })), // see: interface Alert\r\n }));\r\n }\r\n\r\n function setUserDetails(userProfile, users, dealer) {\r\n //todo: just use the $ctrl.opportunity object for setting everything\r\n let makeDealerIds = [];\r\n let dealerGroupMakes = [];\r\n vehicleService.getMakes($ctrl.opportunity.dealerId, null).then((makes) => {\r\n makeDealerIds = [$ctrl.opportunity.dealerId];\r\n dealerGroupMakes = makes.map(make => { return { makeId: make.makeID, makeName: make.makeName } });\r\n $ctrl.isFordLincoln = makes.some(m => environmentVariables.fordMakeIds.indexOf(m.makeID) > -1) || makes.some(m => environmentVariables.lincolnMakeIds.indexOf(m.makeID) > -1);\r\n userProfile.dealerIds.forEach((dealerId) => {\r\n if (makeDealerIds.includes(dealerId) == false) {\r\n makeDealerIds.push(dealerId);\r\n }\r\n });\r\n if ($ctrl.opportunity.dealerSettings.offBrandMakeIds) {\r\n vehicleService.getMakesMany($ctrl.opportunity.dealerSettings.offBrandMakeIds.split(\",\")).then((makes) => {\r\n $ctrl.dealerGroupMakes = makes.map(make => { return { makeId: make.makeID, makeName: make.makeName } });\r\n });\r\n }\r\n else {\r\n $ctrl.dealerGroupMakes = dealerGroupMakes;\r\n }\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.pandoDsButtonsOverride, $ctrl.opportunity.dealerId).then((hasPandoDsButtonsOverride) => {\r\n $ctrl.isPandoConnectEnabled = environmentVariables.pandoDealSheetEnabled && \r\n (hasPandoDsButtonsOverride || (!$ctrl.isFordLincoln || userProfile.countryId != dealerCountries.canada));\r\n }); \r\n });\r\n\r\n $ctrl.opportunity.userProfile = userProfile;\r\n $ctrl.users = users;\r\n $ctrl.dealer = $ctrl.opportunity.dealer = dealer;\r\n\r\n $ctrl.newDealSheetReady = true;\r\n $ctrl.dealsheetWorking = null;\r\n\r\n //verifiy the user has signed EULA.if not return to Accept/decline EULA screen.\r\n if ($ctrl.userProfile == undefined || $ctrl.userProfile.eulaAcceptedDate == null || $ctrl.userProfile.eulaAcceptedDate == undefined)\r\n $state.go('login');\r\n\r\n if (!$ctrl.currentTab) {\r\n $ctrl.defaultTab = getDefaultTab();\r\n $ctrl.currentTab = $ctrl.defaultTab;\r\n $ctrl.changeTab($ctrl.currentTab);\r\n }\r\n }\r\n\r\n function getLegacyDealSheet() {\r\n var legacyUrl = '/AlertDesk/DealSheet/Show?e=' + $ctrl.opportunityId;\r\n\r\n if ($ctrl.calculationType) {\r\n legacyUrl += '&calc=' + $ctrl.calculationType;\r\n }\r\n\r\n if ($ctrl.stockNo) {\r\n legacyUrl += '&sn=' + $ctrl.stockNo;\r\n }\r\n\r\n if ($ctrl.newWindowButtonVisible) {\r\n legacyUrl += '&display=popup';\r\n }\r\n\r\n return $sce.trustAsResourceUrl(legacy.iframeUrl + legacyUrl);\r\n }\r\n\r\n function changeDealSheetView() {\r\n $ctrl.dealsheetWorking = $q.defer().promise;\r\n if (dealSheetService.modalDisplayState === 'new') {\r\n $ctrl.hideWhenBusy = false;\r\n dealSheetService.modalDisplayState = 'old';\r\n $ctrl.newDealSheetVisible = false;\r\n $ctrl.changeDealSheetLabel = switchToNewDealSheetKey;\r\n $ctrl.src = getLegacyDealSheet();\r\n $ctrl.dealsheetWorking = null;\r\n } else {\r\n $ctrl.src = \"\";\r\n dealSheetService.modalDisplayState = 'new';\r\n $ctrl.newDealSheetVisible = true;\r\n $ctrl.changeDealSheetLabel = switchToClassicDealSheetKey;\r\n initNewDealSheet();\r\n $ctrl.isDealsheetVersionChangeEnabled = false;\r\n }\r\n }\r\n\r\n function updateCustomerCancel() {\r\n // revert customer back to original settings since user selected cancel\r\n customerService.getCustomer($ctrl.opportunity.id).then(function (customer) {\r\n $ctrl.opportunity.customer = customer;\r\n });\r\n }\r\n\r\n function updateCustomer(customer) {\r\n $ctrl.startWorkingState();\r\n\r\n customerService.updateCustomer(customer).then(function (success) {\r\n if (success) {\r\n $ctrl.opportunity.customer = customer;\r\n reLoadOpportunity(1000);\r\n }\r\n else {\r\n $ctrl.stopWorkingState();\r\n }\r\n }, function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function updateAssignedUser(user) {\r\n $ctrl.startWorkingState();\r\n\r\n opportunityService.updateAssignedUser($ctrl.opportunity.id, user.id)\r\n .then(function (success) {\r\n if (success) {\r\n $ctrl.opportunity.assignedUserId = user.id;\r\n $ctrl.opportunity.assignedUserFullName = user.fullName;\r\n }\r\n reloadOpportunityOnSuccess(true);\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function changeTab(tab) {\r\n if (tab === $ctrl.tabs.featureComparison) {\r\n updateReplacementVehicleFeatures($ctrl.opportunity.replacementVehicle);\r\n }\r\n\r\n $ctrl.currentTab = tab;\r\n\r\n var tabLabel = _.invert($ctrl.tabs)[tab];\r\n\r\n $analytics.eventTrack(analytics.actions.navigate, {\r\n category: analytics.categories.dealSheet,\r\n label: analytics.labels[tabLabel]\r\n });\r\n\r\n refreshTabs();\r\n }\r\n\r\n function refreshTabs() {\r\n $ctrl.tabLoadingPromise = null;\r\n\r\n switch ($ctrl.currentTab) {\r\n case $ctrl.tabs.activityAndNotes: {\r\n if ($ctrl.activityNotification) {\r\n $ctrl.activityNotification = false;\r\n opportunityService.resetActivityNotification();\r\n }\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\r\n break;\r\n }\r\n\r\n case $ctrl.tabs.featureComparison: {\r\n if ($ctrl.defaultTab == $ctrl.tabs.featureComparison) {\r\n $timeout(function () {\r\n $scope.$broadcast('rzSliderForceRender');\r\n }, 1000);\r\n }\r\n else {\r\n $timeout(function () {\r\n $scope.$broadcast('rzSliderForceRender');\r\n }, 200);\r\n }\r\n break;\r\n }\r\n\r\n case $ctrl.tabs.serviceHistory: {\r\n if (!$ctrl.serviceHistory) {\r\n $ctrl.tabLoadingPromise = servicesService.getServicesBy($ctrl.opportunity.id)\r\n .then(data => $ctrl.serviceHistory = data);\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n\r\n function setActivities(activities) {\r\n $ctrl.activities = activities;\r\n }\r\n\r\n function onActivityUpdate(data) {\r\n if ($ctrl.activities\r\n && $ctrl.userProfile\r\n && $ctrl.userProfile.userFullName\r\n && data.collectionUrl\r\n && !$ctrl.userProfile.employeeUser) {\r\n var activity = {\r\n type: activityTypes.printOfferLetter,\r\n submittedByUserFullName: $ctrl.userProfile.userFullName,\r\n submittedDateTime: new Date(),\r\n fileUrl: data.collectionUrl\r\n };\r\n\r\n $ctrl.activities.splice(0, 0, activity);\r\n }\r\n }\r\n\r\n function onTradeValueChange(value, logged) {\r\n startWorkingState();\r\n $ctrl.isDealSheetDirty = true;\r\n if (value == null || value == \"\") value = 0;\r\n\r\n if ($ctrl.opportunity.currentVehicle.tradeValue != value)\r\n $ctrl.isUserEditedTradeValue = true;\r\n\r\n $ctrl.opportunity.currentVehicle.tradeValue = value;\r\n\r\n reCalculateVehicleEquity();\r\n reCalculateReplacementContract();\r\n if (logged) { opportunityService.logTradeValueChange($ctrl.opportunity.vehicleId, value); }\r\n }\r\n\r\n function reCalculateVehicleEquity() {\r\n var tradeValue = $ctrl.opportunity.currentVehicle.tradeValue;\r\n var payoffValue = $ctrl.opportunity.currentContract.payoffAmount ? $ctrl.opportunity.currentContract.payoffAmount : 0;\r\n $ctrl.opportunity.currentContract.equity = {\r\n tradeValue: tradeValue,\r\n equityValue: tradeValue - payoffValue\r\n };\r\n }\r\n\r\n function onPriceChange(value) {\r\n $ctrl.isDealSheetDirty = true;\r\n $ctrl.opportunity.replacementVehicle.price = value;\r\n startWorkingState();\r\n // log price change\r\n opportunityService.addPriceOverrideChangeLog($ctrl.opportunity.vehicleId, value);\r\n reCalculateReplacementContract();\r\n }\r\n\r\n function onMileageValueChange(value) {\r\n $ctrl.isUserEditedTradeValue = false;\r\n reLoadOpportunity(1000);\r\n }\r\n\r\n function onFinancialUpdate() {\r\n startWorkingState();\r\n reLoadOpportunity(1000);\r\n changeTab($ctrl.tabs.alertsAndScripts);\r\n }\r\n\r\n function onMarkAsNLO(markAsNLO) {\r\n // call api to mark as NLO or decline NLO then refresh deal sheet:\r\n opportunityService.updateActiveNLPNoLongerOwn($ctrl.opportunityId, markAsNLO).then(() => {\r\n $ctrl.refreshOpportunity();\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function reCalculateReplacementContract() {\r\n if ($ctrl.opportunity.replacementContract && $ctrl.opportunity.replacementContract.useOverrideTerm) {\r\n // setup override term\r\n $ctrl.hasTermOverride = true;\r\n $ctrl.overrideTermInfo = {\r\n term: $ctrl.opportunity.replacementContract.term,\r\n saleType: $ctrl.opportunity.replacementContract.saleType,\r\n saleTypeName: $ctrl.opportunity.replacementContract.saleTypeName\r\n };\r\n }\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\r\n }\r\n\r\n function startWorkingState() {\r\n $ctrl.hideWhenBusy = true;\r\n $ctrl.dealsheetWorking = $q.defer().promise;\r\n }\r\n\r\n function stopWorkingState() {\r\n $ctrl.hideWhenBusy = false;\r\n $ctrl.dealsheetWorking = null;\r\n }\r\n\r\n function refreshOpportunity() {\r\n startWorkingState();\r\n reLoadOpportunity(10);\r\n }\r\n\r\n function reLoadOpportunity(waitTime) {\r\n $timeout(function () {\r\n opportunityService.getOpportunity($ctrl.opportunityId, $ctrl.stockNo, $ctrl.calculationId, $ctrl.permissions, $ctrl.moduleIds)\r\n .then(function (opportunity) {\r\n setOpportunity(opportunity, $ctrl.userProfile);\r\n stopWorkingState();\r\n }, function () {\r\n stopWorkingState();\r\n throw { message: \"We encountered an error processing your request.\" };\r\n })\r\n .catch(errorExit(dontHaveAccessWarningKey));\r\n }, waitTime);\r\n }\r\n\r\n function onWatchChange(value) {\r\n if (value) {\r\n return opportunityService.markOpportunityWatched($ctrl.opportunityId)\r\n .then(function () {\r\n $ctrl.opportunity.watched = true;\r\n });\r\n } else {\r\n return opportunityService.markOpportunityUnwatched($ctrl.opportunityId)\r\n .then(function () {\r\n $ctrl.opportunity.watched = false;\r\n });\r\n }\r\n }\r\n\r\n\r\n function updateReplacementVehicleByMsrpType(msrpType) {\r\n\r\n if (msrpType == msrpTypes.inventory) {\r\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\r\n category: analytics.categories.dealSheet,\r\n label: analytics.labels.inventoryBestMatch\r\n });\r\n }\r\n\r\n if (msrpType == msrpTypes.average) {\r\n vehicleService.getAverageReplacementVehicle($ctrl.opportunity.dealerId, $ctrl.opportunity.vehicleId, $ctrl.opportunity.customer.pricingPlanId)\r\n .then(setInventoryOrAverageReplacementVehicle);\r\n } else {\r\n if ($ctrl.replacementStockNo) {\r\n vehicleService.getReplacementVehicles($ctrl.opportunity.id, $ctrl.stockNo, $ctrl.opportunity.customer.pricingPlanId)\r\n .then(function (replacementVehicles) {\r\n $ctrl.opportunity.replacementVehicles = replacementVehicles;\r\n setReplacementVehicle(replacementVehicles.standardVehicle);\r\n });\r\n } else {\r\n vehicleService.getInventoryReplacementVehicle(\r\n $ctrl.opportunity.dealerId,\r\n $ctrl.opportunity.replacementVehicle.modelID,\r\n $ctrl.opportunity.replacementVehicle.trimID,\r\n $ctrl.opportunity.customer.pricingPlanId\r\n ).then(setReplacementVehicle);\r\n }\r\n }\r\n }\r\n\r\n function setMVOVehicle(selectedMVOEventObject) {\r\n $ctrl.selectedReplacementVehicle = selectedMVOEventObject;\r\n\r\n switch (selectedMVOEventObject.selectedVehicleType) {\r\n case \"upgradeVehicle\":\r\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.upgradeVehicle);\r\n break;\r\n case \"downgradeVehicle\":\r\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.downgradeVehicle);\r\n break;\r\n case \"standardVehicle\":\r\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.standardVehicle);\r\n break;\r\n case \"alternateVehicle\":\r\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.alternateVehicles[selectedMVOEventObject.alternateVehicleIndex]);\r\n break;\r\n case \"offBrandVehicle\":\r\n setReplacementVehicle($ctrl.opportunity.replacementVehicles.offBrandAlternateVehicles[selectedMVOEventObject.alternateVehicleIndex]);\r\n break;\r\n case \"onDemandVehicle\":\r\n setReplacementVehicle(selectedMVOEventObject.onDemandVehicle);\r\n break;\r\n }\r\n }\r\n\r\n function setReplacementVehicle(vehicle) {\r\n if (!vehicle) {\r\n $ctrl.showNoRecommendedVehiclesMessage();\r\n return;\r\n }\r\n\r\n $ctrl.startWorkingState();\r\n\r\n updateReplacementVehicleFuelCost(vehicle);\r\n $ctrl.featureComparison = null;\r\n\r\n if ($ctrl.pricingPlanEnabled && vehicle.pricingPlanID && vehicle.pricingPlanID > 0) {\r\n vehicle.price = vehicle.pricingPlanMsrp;\r\n }\r\n\r\n if (!vehicle.modelID) {\r\n vehicleService.getModelId(vehicle.trimID).then(function (modelID) {\r\n $ctrl.isDealSheetDirty = true;\r\n $ctrl.opportunity.replacementVehicle = vehicle;\r\n $ctrl.opportunity.replacementVehicle.modelID = modelID;\r\n $ctrl.opportunity.replacementVehicle.pricingPlanMsrp = vehicle.pricingPlanMsrp;\r\n\r\n updateReplacementVehicleImagePath();\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions)\r\n .then(setReplacementContracts);\r\n });\r\n } else {\r\n $ctrl.isDealSheetDirty = true;\r\n $ctrl.opportunity.replacementVehicle = vehicle;\r\n $ctrl.opportunity.replacementVehicle.pricingPlanMsrp = vehicle.pricingPlanMsrp;\r\n\r\n updateReplacementVehicleImagePath();\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions)\r\n .then(setReplacementContracts);\r\n }\r\n }\r\n\r\n function updateReplacementVehicleImagePath() {\r\n if (!$ctrl.opportunity.replacementVehicle.imagePath) {\r\n vehicleService.getVehicleImagePath($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID)\r\n .then(function (imagePath) {\r\n $ctrl.opportunity.replacementVehicle.imagePath = imagePath;\r\n });\r\n }\r\n }\r\n\r\n function updateReplacementVehicleFuelCost(vehicle) {\r\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\r\n vehicleService.getFuelEconomyComparison(vehicle.trimID, $ctrl.opportunityId)\r\n .then(function (data) {\r\n $ctrl.fuelEconomyComparison = data;\r\n })\r\n .catch(function () { $ctrl.fuelEconomyComparison = null; });\r\n } else {\r\n $ctrl.fuelEconomyComparison = null;\r\n }\r\n }\r\n\r\n function updateReplacementVehicleFeatures(vehicle) {\r\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\r\n vehicleService.getFeatureComparison(vehicle.trimID, $ctrl.opportunityId)\r\n .then(function (data) {\r\n $ctrl.featureComparison = data;\r\n })\r\n .catch(function () { $ctrl.featureComparison = null; });\r\n } else {\r\n $ctrl.featureComparison = null;\r\n }\r\n }\r\n\r\n function updateReplacementVehicleByTrim(trim) {\r\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\r\n category: analytics.categories.dealSheet,\r\n label: analytics.labels.trimChange\r\n });\r\n\r\n $ctrl.startWorkingState();\r\n\r\n var trimIsValid = !(trim.yearID == \"\" || trim.makeID == \"\" || trim.modelID == \"\");\r\n if (trimIsValid) {\r\n var vehicle = {\r\n type: vehicleTypes.new,\r\n makeID: trim.makeID,\r\n makeName: trim.makeName,\r\n yearID: trim.yearID,\r\n modelID: trim.modelID,\r\n modelName: trim.modelName,\r\n trimID: trim.trimID,\r\n trimName: trim.trimName,\r\n trimFullName: trim.trimFullName,\r\n extID: trim.extID\r\n };\r\n updateReplacementVehicleFuelCost(vehicle);\r\n\r\n $ctrl.opportunity.replacementVehicle = vehicle;\r\n $ctrl.opportunity.isDealSheetDirty = true;\r\n\r\n vehicleService.getVehicleImagePath($ctrl.opportunity.dealerId, vehicle.trimID).then(function (imagePath) {\r\n $ctrl.opportunity.replacementVehicle.imagePath = imagePath;\r\n\r\n vehicleService.getTrimPlanPrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID, $ctrl.opportunity.customer.pricingPlanId)\r\n .then((trimPriceInfo) => {\r\n if ($ctrl.opportunity.customer.pricingPlanId > 0) {\r\n vehicle.pricingPlanMsrp = trimPriceInfo.newVehiclePrice;\r\n }\r\n setTrimPriceInfo(trimPriceInfo.newVehiclePrice, trimPriceInfo.sourceID, trimPriceInfo.sourceName);\r\n });\r\n\r\n vehicleService.getTrimPrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID)\r\n .then(setReplacementVehicleMsrp);\r\n\r\n });\r\n }\r\n }\r\n\r\n function setTrimPriceInfo(price, trimPlanSourceId, trimPlanSourceName) {\r\n $ctrl.opportunity.replacementVehicle.trimPlanPriceSourceId = trimPlanSourceId;\r\n $ctrl.opportunity.replacementVehicle.trimPlanPriceSourceName = trimPlanSourceName;\r\n $ctrl.opportunity.replacementVehicle.price = price;\r\n }\r\n\r\n function setReplacementVehicleMsrp(msrp) {\r\n $ctrl.opportunity.replacementVehicle.msrp = msrp;\r\n\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions)\r\n .then(setReplacementContracts);\r\n\r\n if ($ctrl.opportunity.replacementVehicle.type == $ctrl.vehicleTypes.new && $ctrl.isFordAlert && $ctrl.isFordLincoln) {\r\n vehicleService.getInventoryBestMatchToTrim($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID, $ctrl.opportunity.replacementVehicle.msrp)\r\n .then((avgVehicle) => {\r\n if (avgVehicle != null) {\r\n setAvgVehicleVIN(avgVehicle.vin);\r\n }\r\n });\r\n }\r\n }\r\n\r\n function setAvgVehicleVIN(vin) {\r\n $ctrl.opportunity.replacementVehicle.bestTrimMatch_VIN = vin;\r\n }\r\n\r\n function setReplacementContracts(data) {\r\n if (data && data.contracts) {\r\n $ctrl.opportunity.replacementContracts = data.contracts;\r\n if ($ctrl.hasTermOverride && $ctrl.overrideTermInfo && $ctrl.overrideTermInfo.term) {\r\n // get override contract from term and set to replacement...\r\n var overrideContract = _.find(data.contracts, function (o) { return o.term === $ctrl.overrideTermInfo.term && o.saleType === $ctrl.overrideTermInfo.saleType });\r\n if (overrideContract) {\r\n overrideContract.useOverrideTerm = true;\r\n $ctrl.opportunity.replacementContract = overrideContract;\r\n } else {\r\n $ctrl.opportunity.replacementContract = data.defaultContract;\r\n }\r\n $ctrl.hasTermOverride = false;\r\n } else {\r\n $ctrl.opportunity.replacementContract = data.defaultContract;\r\n }\r\n\r\n if ($ctrl.opportunity.replacementContract) {\r\n $ctrl.opportunity.replacementContract.vehicleType = $ctrl.opportunity.replacementVehicle.type;\r\n }\r\n } else {\r\n $ctrl.opportunity.replacementContracts = [];\r\n $ctrl.opportunity.replacementContract = null;\r\n }\r\n checkPullForward();\r\n stopWorkingState();\r\n }\r\n\r\n function setReplacementContractOverride(contract) {\r\n $ctrl.startWorkingState();\r\n // persist vehile type from current replacement contract since contract does not persist it\r\n if ($ctrl.opportunity.replacementContract) {\r\n contract.vehicleType = $ctrl.opportunity.replacementContract.vehicleType;\r\n } else {\r\n contract.vehicleType = vehicleTypes.new;\r\n }\r\n // set replacement contract\r\n $ctrl.opportunity.replacementContract = contract;\r\n checkPullForward();\r\n // log into change log\r\n opportunityService.addTermOverrideChangeLog($ctrl.opportunity.vehicleId, contract.term)\r\n .then($ctrl.stopWorkingState, $ctrl.stopWorkingState);\r\n }\r\n\r\n function onLogScheduleSubmit(result) {\r\n if (!result) { return; } // user data entry error\r\n\r\n if (result == 'cancel') {\r\n // user canceled operation close accordian panel and reset Customer Connect to default\r\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\r\n return;\r\n }\r\n\r\n // submit user's activity changes\r\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\r\n startWorkingState();\r\n activityService.postActivitySubmitAction(result)\r\n .then(function (data) {\r\n\r\n if (result.isFollowUpScheduleAppt) {\r\n logger.success(\"postActivityFollowupMsg\");\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Schedule_Appt;\r\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\r\n }\r\n else {\r\n logger.success(\"postActivitySuccessMsg\");\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\r\n }\r\n\r\n // if vehicle no longer owns\r\n if (result.resultID == activityResults.phoneCall.noLongerOwns || result.resultID == activityResults.note.noLongerOwns) {\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\r\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then(() => {\r\n $ctrl.refreshOpportunity();\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n else\r\n onScheduleSubmit();\r\n\r\n // if vehicle paid off\r\n if (result.resultID == activityResults.phoneCall.vehiclePaidOff) {\r\n activityService.updateVehiclePaidOff($ctrl.opportunityId)\r\n .then(() => {\r\n $ctrl.refreshOpportunity();\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n });\r\n }\r\n\r\n function onNoLongerOwns() {\r\n startWorkingState();\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\r\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then($ctrl.refreshOpportunity, $ctrl.stopWorkingState);\r\n }\r\n\r\n function onScheduleSubmit() {\r\n startWorkingState();\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\r\n $ctrl.refreshOpportunity();\r\n }\r\n\r\n function showPrintDialog() {\r\n activityService.runActivityRule($ctrl.opportunity.id, [activityRule.Print_Deal_Sheet]);\r\n if (!$ctrl.activities) {\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId)\r\n .then(function (activities) {\r\n $ctrl.activities = activities;\r\n $timeout($window.print, 250);\r\n });\r\n }\r\n else {\r\n $window.print();\r\n }\r\n }\r\n\r\n function showFeaturePrintDialog() {\r\n\r\n $ctrl.printingFeatures = true;\r\n $window.setTimeout(function () {\r\n $window.print();\r\n $ctrl.printingFeatures = false;\r\n }, 500);\r\n }\r\n\r\n function setReplacementVehicleType(vehicleType) {\r\n $ctrl.startWorkingState();\r\n\r\n $ctrl.isDealSheetDirty = true;\r\n $ctrl.opportunity.replacementVehicle.type = vehicleType;\r\n\r\n vehicleService.getAdjustedInventoryVehiclePrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.type, $ctrl.opportunity.replacementVehicle.msrp)\r\n .then(function (price) {\r\n $ctrl.opportunity.replacementVehicle.price = price;\r\n\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions)\r\n .then((data) => setReplacementContracts.call($ctrl, data));\r\n });\r\n }\r\n\r\n function updatePayoff(payoffResult) {\r\n startWorkingState();\r\n\r\n contractService.updatePayoff($ctrl.opportunityId, payoffResult.payoffAmount, payoffResult.goodThroughDate)\r\n .then(reloadOpportunityOnSuccess)\r\n .catch(stopWorkingState);\r\n }\r\n\r\n function onDestroy() {\r\n opportunityService.resetActivityNotification();\r\n angular.element($window).off(\"keydown\", $ctrl.funcKeydown);\r\n }\r\n\r\n function reopen() {\r\n startWorkingState();\r\n opportunityService.reopenOpportunity($ctrl.opportunityId)\r\n .then(reloadOpportunityOnSuccess);\r\n }\r\n\r\n function reloadOpportunityOnSuccess(success) {\r\n if (success) {\r\n reLoadOpportunity(0);\r\n }\r\n else {\r\n stopWorkingState();\r\n }\r\n }\r\n\r\n function onMarkAsSold() {\r\n startWorkingState();\r\n activityService.runActivityRule($ctrl.opportunityId, [activityRule.Mark_As_Sold, activityRule.Close])\r\n .then(function (response) {\r\n reloadOpportunityOnSuccess(true);\r\n },\r\n function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function markAsOnOrder() {\r\n startWorkingState();\r\n activityService.runActivityRule($ctrl.opportunityId, [activityRule.Mark_As_On_Order])\r\n .then(function (response) {\r\n reloadOpportunityOnSuccess(true);\r\n },\r\n function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function unMarkAsOnOrder() {\r\n startWorkingState();\r\n activityService.runActivityRule($ctrl.opportunityId, [activityRule.Unmark_As_On_Order])\r\n .then(function (response) {\r\n reloadOpportunityOnSuccess(true);\r\n },\r\n function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function getCreditConvertData() {\r\n opportunityService.getCreditSoftPullResultAsync($ctrl.permissions, $ctrl.opportunityId)\r\n .then(function (creditPrescreenResult) {\r\n $ctrl.opportunity.creditSoftPull = creditPrescreenResult;\r\n })\r\n\r\n opportunityService.getTags($ctrl.opportunityId)\r\n .then(function (tags) {\r\n $ctrl.opportunity.tags = tags;\r\n });\r\n }\r\n\r\n function submitDiscrepancy(discrepancy) {\r\n $ctrl.dealsheetWorking = opportunityService.submitDiscrepancy($ctrl.opportunity, discrepancy)\r\n .then(showSuccessMessage);\r\n\r\n function showSuccessMessage() {\r\n logger.success(submitDiscrepancySuccessMessageKey);\r\n }\r\n }\r\n\r\n function setInventoryOrAverageReplacementVehicle(vehicle) {\r\n $ctrl.selectedReplacementVehicle = null;\r\n\r\n setReplacementVehicle(vehicle);\r\n }\r\n\r\n function setCreditPrescreenStatus(status) {\r\n $ctrl.opportunity.creditPrescreenStatus = status;\r\n }\r\n\r\n function showNoRecommendedVehiclesMessage() {\r\n $ctrl.noRecommendedVehiclesMessageVisible = true;\r\n\r\n $timeout(function () {\r\n $ctrl.noRecommendedVehiclesMessageVisible = false;\r\n }, 5000);\r\n }\r\n\r\n function getDefaultTab() {\r\n var defaultTabs = storageService.getItem('defaultDealSheetTabs');\r\n var defaultTab;\r\n\r\n if (defaultTabs && defaultTabs[$ctrl.userProfile.userId]) {\r\n defaultTab = defaultTabs[$ctrl.userProfile.userId];\r\n }\r\n else {\r\n defaultTab = $ctrl.tabs.alertsAndScripts;\r\n }\r\n\r\n if (!isTabAccessible(defaultTab)) {\r\n defaultTab = getAccessibleTabs()[0];\r\n }\r\n\r\n return defaultTab;\r\n }\r\n\r\n function setDefaultTab() {\r\n var defaultTabs = storageService.getItem('defaultDealSheetTabs') || {};\r\n defaultTabs[$ctrl.userProfile.userId] = $ctrl.currentTab;\r\n\r\n storageService.setItem('defaultDealSheetTabs', defaultTabs);\r\n\r\n $ctrl.defaultTab = $ctrl.currentTab;\r\n }\r\n\r\n function getAccessibleTabs() {\r\n var accessibleTabs = [];\r\n var tabs = [\r\n $ctrl.tabs.alertsAndScripts,\r\n $ctrl.tabs.currentVehicleDetails,\r\n $ctrl.tabs.replacementVehicleDetails,\r\n $ctrl.tabs.featureComparison,\r\n $ctrl.tabs.activityAndNotes,\r\n $ctrl.tabs.serviceHistory,\r\n $ctrl.tabs.otherVehiclesOwned,\r\n $ctrl.tabs.changeLog\r\n ];\r\n\r\n for (var i = 0; i < tabs.length; i++) {\r\n var tab = tabs[i];\r\n\r\n if (isTabAccessible(tab)) {\r\n accessibleTabs.push(tab);\r\n }\r\n }\r\n\r\n return accessibleTabs;\r\n }\r\n\r\n function isTabAccessible(tab) {\r\n switch (tab) {\r\n case $ctrl.tabs.alertsAndScripts:\r\n return $ctrl.permissions.viewAlertScripts;\r\n case $ctrl.tabs.currentVehicleDetails:\r\n return $ctrl.permissions.viewVehicle || $ctrl.permissions.viewContract;\r\n case $ctrl.tabs.replacementVehicleDetails:\r\n return $ctrl.permissions.payments;\r\n case $ctrl.tabs.dealHistory:\r\n return $ctrl.permissions.payments;\r\n case $ctrl.tabs.activityAndNotes:\r\n return $ctrl.permissions.activitiesLog;\r\n case $ctrl.tabs.serviceHistory:\r\n return $ctrl.permissions.serviceHistory;\r\n case $ctrl.tabs.otherVehiclesOwned:\r\n return $ctrl.userProfile.roleName != $ctrl.userProfileRoles.Sales_Associate && $ctrl.userProfile.roleName != $ctrl.userProfileRoles.Base_Sales_Associate;\r\n case $ctrl.tabs.changeLog:\r\n return $ctrl.permissions.viewChangeLog;\r\n default:\r\n return true;\r\n }\r\n }\r\n\r\n function onVehicleActionUpdate(vehicleActionUpdated) {\r\n $ctrl.startWorkingState();\r\n switch (vehicleActionUpdated) {\r\n\r\n case vehicleActions.doesNotOwnVehicle:\r\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then($ctrl.refreshOpportunity, $ctrl.stopWorkingState);\r\n break;\r\n case vehicleActions.vehiclePaidOff:\r\n activityService.updateVehiclePaidOff($ctrl.opportunityId).then($ctrl.refreshOpportunity, $ctrl.stopWorkingState);\r\n break;\r\n case vehicleActions.vehicleNotPaidOff:\r\n vehicleNotPaidOff()\r\n break;\r\n case vehicleActions.purchasedByDealer:\r\n activityService.updateVehiclePurchasedByDealer($ctrl.opportunityId).then($ctrl.refreshOpportunity, $ctrl.stopWorkingState);\r\n break;\r\n default:\r\n $ctrl.stopWorkingState();\r\n break;\r\n }\r\n }\r\n\r\n function isVehicleStatusVisible() {\r\n\r\n //if ($ctrl.opportunity){\r\n // if ($ctrl.opportunity.status == $ctrl.opportunityStatuses.closed)\r\n // return false;\r\n\r\n // if ($ctrl.opportunity.status == $ctrl.opportunityStatuses.sold)\r\n // return false;\r\n //}\r\n\r\n var availableChoices = 0;\r\n\r\n if ($ctrl.permissions.editMarkAsNotOwn)\r\n availableChoices++;\r\n if ($ctrl.permissions.editMarkAsPaidOff)\r\n availableChoices++;\r\n if ($ctrl.permissions.editMarkAsSold)\r\n availableChoices++;\r\n\r\n return availableChoices > 0 ? true : false;\r\n }\r\n\r\n function logShortcut() {\r\n $ctrl.isCustomerConnectOpen = true;\r\n }\r\n\r\n function openHotTradeModal() {\r\n\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'hotTradeDetailsModal',\r\n appendTo: parentElem,\r\n resolve: {\r\n renderedPromise: function () {\r\n return {\r\n vehicle: $ctrl.opportunity.currentVehicle,\r\n hotTrade: $ctrl.hotTradeData\r\n };\r\n }\r\n }\r\n });\r\n\r\n return modalInstance;\r\n }\r\n\r\n function openSmartVincentLink() {\r\n\r\n if ($ctrl.opportunity.replacementVehicle.vin != null || $ctrl.opportunity.replacementVehicle.bestTrimMatch_VIN) {\r\n\r\n var market = \"USA\";\r\n var language = \"EN\";\r\n\r\n switch ($ctrl.cultureName) {\r\n case cultures.enUS:\r\n case cultures.enCA:\r\n language = \"EN\";\r\n break;\r\n case cultures.frCA:\r\n case cultures.frFR:\r\n language = \"FR\";\r\n break;\r\n default:\r\n language = \"EN\";\r\n break;\r\n }\r\n\r\n switch ($ctrl.cultureName) {\r\n case cultures.enUS:\r\n market = \"USA\";\r\n break;\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n market = \"CAN\";\r\n break;\r\n default:\r\n market = \"USA\";\r\n break;\r\n }\r\n\r\n var smartVincentUrl = environmentVariables.smartVincentUrl;\r\n\r\n smartVincentUrl = smartVincentUrl.replace(\"{0}\", $ctrl.opportunity.replacementVehicle.vin != null ? $ctrl.opportunity.replacementVehicle.vin : $ctrl.opportunity.replacementVehicle.bestTrimMatch_VIN);\r\n smartVincentUrl = smartVincentUrl.replace(\"{1}\", market);\r\n smartVincentUrl = smartVincentUrl.replace(\"{2}\", language);\r\n\r\n if ($ctrl.opportunity.customer.lastName) {\r\n smartVincentUrl += \"&lastName=\" + encodeURIComponent($ctrl.opportunity.customer.lastName);\r\n }\r\n if ($ctrl.opportunity.customer.firstName) {\r\n smartVincentUrl += \"&firstName=\" + encodeURIComponent($ctrl.opportunity.customer.firstName);\r\n }\r\n if ($ctrl.opportunity.customer.address.streetAddress && $ctrl.opportunity.customer.address.streetAddress2) {\r\n smartVincentUrl += \"&street=\" + encodeURIComponent($ctrl.opportunity.customer.address.streetAddress + \", \" + $ctrl.opportunity.customer.address.streetAddress);\r\n }\r\n else if ($ctrl.opportunity.customer.address.streetAddress) {\r\n smartVincentUrl += \"&street=\" + encodeURIComponent($ctrl.opportunity.customer.address.streetAddress);\r\n }\r\n if ($ctrl.opportunity.customer.address.city) {\r\n smartVincentUrl += \"&city=\" + encodeURIComponent($ctrl.opportunity.customer.address.city);\r\n }\r\n if ($ctrl.opportunity.customer.address.stateName) {\r\n smartVincentUrl += \"&state=\" + $ctrl.opportunity.customer.address.stateName;\r\n }\r\n if ($ctrl.opportunity.customer.address.zipCode) {\r\n var zipCode = \"\";\r\n if ($ctrl.userProfile.countryId == dealerCountries.usa) {\r\n zipCode = $ctrl.opportunity.customer.address.normalizedZipCode;\r\n }\r\n else if ($ctrl.userProfile.countryId == dealerCountries.canada) {\r\n zipCode = $ctrl.opportunity.customer.address.zipCode.replace(/\\s+/g, '').substring(0, 6);\r\n }\r\n else {\r\n zipCode = $ctrl.opportunity.customer.address.zipCode;\r\n }\r\n smartVincentUrl += \"&zipCode=\" + encodeURIComponent(zipCode);\r\n }\r\n if ($ctrl.opportunity.customer.emailAddress && $ctrl.opportunity.customer.emailAddress.value) {\r\n smartVincentUrl += \"&email=\" + encodeURIComponent($ctrl.opportunity.customer.emailAddress.value);\r\n }\r\n \r\n if ($ctrl.opportunity.customer.companyName && $ctrl.opportunity.customer.companyName.length > 1) { // This is a business\r\n // if both a home and work phone put them in respective homePhone and businessPhone parameters:\r\n if ($ctrl.opportunity.customer.homePhoneNumber && $ctrl.opportunity.customer.homePhoneNumber.value && $ctrl.opportunity.customer.workPhoneNumber && $ctrl.opportunity.customer.workPhoneNumber.value) {\r\n smartVincentUrl += \"&homePhone=\" + encodeURIComponent($ctrl.opportunity.customer.homePhoneNumber.value);\r\n smartVincentUrl += \"&businessPhone=\" + encodeURIComponent($ctrl.opportunity.customer.workPhoneNumber.value);\r\n }\r\n else {\r\n // if only a home phone or work phone put it in both homePhone and businessPhone parameters:\r\n if ($ctrl.opportunity.customer.homePhoneNumber && $ctrl.opportunity.customer.homePhoneNumber.value) {\r\n smartVincentUrl += \"&homePhone=\" + encodeURIComponent($ctrl.opportunity.customer.homePhoneNumber.value);\r\n smartVincentUrl += \"&businessPhone=\" + encodeURIComponent($ctrl.opportunity.customer.homePhoneNumber.value);\r\n }\r\n else if ($ctrl.opportunity.customer.workPhoneNumber && $ctrl.opportunity.customer.workPhoneNumber.value) {\r\n smartVincentUrl += \"&homePhone=\" + encodeURIComponent($ctrl.opportunity.customer.workPhoneNumber.value);\r\n smartVincentUrl += \"&businessPhone=\" + encodeURIComponent($ctrl.opportunity.customer.workPhoneNumber.value);\r\n }\r\n }\r\n }\r\n else { // This is a regular customer, not a business. Put home and work numbers in respective homePhone and businessPhone parameters:\r\n if ($ctrl.opportunity.customer.homePhoneNumber && $ctrl.opportunity.customer.homePhoneNumber.value) {\r\n smartVincentUrl += \"&homePhone=\" + encodeURIComponent($ctrl.opportunity.customer.homePhoneNumber.value);\r\n }\r\n if ($ctrl.opportunity.customer.workPhoneNumber && $ctrl.opportunity.customer.workPhoneNumber.value) {\r\n smartVincentUrl += \"&businessPhone=\" + encodeURIComponent($ctrl.opportunity.customer.workPhoneNumber.value);\r\n }\r\n }\r\n\r\n console.log('smartVincent url: ' + smartVincentUrl);\r\n $window.open(smartVincentUrl, '_blank');\r\n }\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./deal-sheet-vci.component.html');\n\nimport angular from 'angular';\r\nimport './deal-sheet-vci.component.scss';\r\nimport { forEach } from '@uirouter/core';\r\n\r\nangular.module('AaApp.Opp').component('dealSheetVci', {\r\n templateUrl: '/app/components/deal-sheet/deal-sheet-vci.component.html',\r\n controller: DealSheetVciController,\r\n bindings: {\r\n opportunityId: '<',\r\n dealerId: '<',\r\n makeId: '<',\r\n vin: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DealSheetVciController(\r\n //angular services\r\n $timeout, $q, $translate, $translatePartialLoader, $sce, $scope, $window, $document, $analytics, $state, $uibModal, logger, $auth, $rootScope, toaster,\r\n //shared services\r\n dealSheetService,\r\n\r\n //other services\r\n opportunity2Service, opportunityService, vehicleService, contractService, authorizationService, customerService, globalIframeService,\r\n userService, dealerService, activityService, servicesService, storageService, eulaModalService, searchService,\r\n\r\n //$translate related\r\n localePaths, switchToNewDealSheetKey, switchToClassicDealSheetKey, dontHaveAccessWarningKey,\r\n\r\n //constants\r\n legacy, dealSheetTabs, saleTypes, conquestTypes, msrpTypes, vehicleTypes, alertScriptTypes, activityRule, analytics, userProfileRoles, modules,\r\n submitDiscrepancySuccessMessageKey, paymentTypes, entityActionAccessEnum, ActivityActionEnum, activityResults, tradeValueTypes, vehicleActions, opportunityStatuses,\r\n environmentVariables, pandoActionTypes, assetTypes, territories, cultures, vciResultType,\r\n\r\n //Tools\r\n _, mapUtils) {\r\n\r\n // props\r\n\r\n var $ctrl = this;\r\n\r\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\r\n \r\n $ctrl.showVciDataClick = showVciDataClick;\r\n $ctrl.fixupString = fixupString;\r\n $ctrl.buildFullName = buildFullName;\r\n $ctrl.boolToYorN = boolToYorN;\r\n\r\n $ctrl.showVciDataSection = false;\r\n $ctrl.vciDataLoaded = false;\r\n $ctrl.vciDataDisplay = false;\r\n $ctrl.vciDataErrored = false;\r\n $ctrl.vciApiErrored = false;\r\n $ctrl.vciVinNotFound = false;\r\n $ctrl.vciOptedOutNonoriginatingDealer = false;\r\n $ctrl.vciOptedOutOriginatingDealer = false;\r\n $ctrl.vciData;\r\n \r\n $ctrl.dataloadWorking;\r\n\r\n $ctrl.sectionStates = {\r\n 0: false,\r\n 1: false,\r\n 2: true,\r\n 3: false,\r\n 4: false\r\n };\r\n\r\n console.log($ctrl);\r\n vehicleService.dealerMakeHasVciConfig($ctrl.dealerId, $ctrl.makeId).then((data) => {\r\n console.log(data);\r\n $ctrl.showVciDataSection = data;\r\n });\r\n\r\n function buildFullName(buyerBlock) {\r\n var rslt = \"\";\r\n if (buyerBlock.firstName) {\r\n rslt = buyerBlock.firstName + \" \";\r\n }\r\n if (buyerBlock.middleInitial) {\r\n rslt = rslt + buyerBlock.middleInitial + \" \";\r\n }\r\n if (buyerBlock.middleInitial) {\r\n rslt = rslt + buyerBlock.lastName;\r\n }\r\n return fixupString(rslt);\r\n }\r\n\r\n function fixupString (value) {\r\n if (value) {\r\n return value.trim().length == 0 ? \"N/A\" : value.trim();\r\n } else {\r\n return \"N/A\";\r\n }\r\n }\r\n\r\n function boolToYorN (value) {\r\n if (value) {\r\n return \"Y\";\r\n } else {\r\n return \"N\";\r\n }\r\n }\r\n\r\n function showVciDataClick() {\r\n console.log($ctrl.opportunityId, $ctrl.makeId, $ctrl.vin);\r\n $ctrl.vciApiErrored = false;\r\n $ctrl.dataloadWorking = $q.defer().promise;\r\n vehicleService.getVciMaturityData($ctrl.opportunityId, $ctrl.makeId, $ctrl.vin).then((data) => {\r\n console.log(data);\r\n switch (data.resultType) {\r\n case vciResultType.EulaRequired:\r\n showEulaRequiredModal();\r\n break;\r\n case vciResultType.NotConfigured:\r\n // should never get here\r\n $ctrl.vciDataErrored = true;\r\n $ctrl.vciVinNotFound = true;\r\n break;\r\n case vciResultType.OptedOutNonoriginatingDealer:\r\n $ctrl.vciOptedOutNonoriginatingDealer = true;\r\n $ctrl.vciDataErrored = true;\r\n break;\r\n case vciResultType.OptedOutOriginatingDealer:\r\n $ctrl.vciOptedOutOriginatingDealer = true;\r\n $ctrl.vciDataErrored = true;\r\n break;\r\n case vciResultType.GeneralError:\r\n case vciResultType.VinNotFound:\r\n $ctrl.vciDataErrored = true;\r\n $ctrl.vciVinNotFound = true;\r\n break;\r\n case vciResultType.HasData:\r\n $ctrl.vciData = data.detail;\r\n $ctrl.vciDataLoaded = true;\r\n $ctrl.vciDataDisplay = true;\r\n console.log('HasData');\r\n break;\r\n }\r\n $ctrl.dataloadWorking = null;\r\n })\r\n .catch(function (e) {\r\n $ctrl.vciApiErrored = true;\r\n $ctrl.dataloadWorking = null;\r\n }); ;\r\n }\r\n\r\n function showEulaRequiredModal() {\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'dealSheetVciEulaModal',\r\n windowClass: 'large-modal',\r\n resolve: {\r\n title: function () {\r\n return \"Volkswagen Credit EULA\"; //$translate.instant(\"oneToOneIntelligentMarketing\");\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n addVciEulaAccepted(); \r\n });\r\n }\r\n\r\n\r\n\r\n function addVciEulaAccepted() {\r\n vehicleService.addVciEulaAccepted().then((data) => {\r\n showVciDataClick();\r\n });\r\n }\r\n}","\n/* injects from baggage-loader */\nrequire('./deal-sheet-lite.component.html');\n\nimport angular from 'angular';\r\nimport pandoOnIconPath from '../../images/icon-pando-profile-on.svg';\r\nimport pandoOffIconPath from '../../images/icon-pando-profile-off.svg';\r\nimport './deal-sheet.scss';\r\n\r\nimport oneImage from '../../images/Capture1.png';\r\nimport twoImage from '../../images/Capture2.png';\r\n\r\n\r\n//NOTE: This code is designed as a prototype, and requires significant cleanup.\r\n\r\nangular.module('AaApp.Opp').component('dealSheetLite', {\r\n templateUrl: '/app/components/deal-sheet/deal-sheet-lite.component.html',\r\n controller: DealSheetLiteController,\r\n bindings: {\r\n opportunityId: '<',\r\n stockNo: '<', //optional\r\n close: '<', //optional\r\n dismiss: '<', //optional\r\n vwsearch: '<', //required, or OpportunityID is required\r\n resolve: '<'\r\n }\r\n});\r\n\r\n\r\n\r\n/* @ngInject */\r\nfunction DealSheetLiteController(\r\n //angular services\r\n $timeout, $q, $translate, $translatePartialLoader, $scope, $window, $analytics, $state, logger, $document,\r\n //shared services\r\n dealSheetService,\r\n\r\n //other services\r\n opportunity2Service, opportunityService, vehicleService, contractService, authorizationService, globalIframeService,\r\n userService, dealerService, activityService, storageService, eulaModalService, customerService, $logFactory, \r\n\r\n //$translate related\r\n localePaths, switchToNewDealSheetKey, switchToClassicDealSheetKey, dontHaveAccessWarningKey, dontHaveAccessExpiredKey,\r\n\r\n //constants\r\n legacy, dealSheetTabs, saleTypes, conquestTypes, msrpTypes, vehicleTypes, alertScriptTypes, activityRule, analytics, userProfileRoles, modules,\r\n submitDiscrepancySuccessMessageKey, paymentTypes, ActivityActionEnum, activityResults, tradeValueTypes, opportunityStatuses, alertTypes, entityActionAccessEnum,\r\n environmentVariables,\r\n\r\n //Tools\r\n _,\r\n mapUtils) \r\n \r\n{\r\n var $ctrl = this;\r\n\r\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\r\n\r\n const log = $logFactory.get();\r\n\r\n $ctrl.showLegacy = false;\r\n $ctrl.closeButtonVisible = true;\r\n $ctrl.newWindowButtonVisible = false;\r\n $ctrl.vehicleTypes = vehicleTypes;\r\n $ctrl.isTextingEnabled = false;\r\n\r\n //NEW BINDINGS:\r\n $ctrl.dealer;\r\n $ctrl.paymentTypes;\r\n $ctrl.vw_SearchRow = $ctrl.vwsearch || { opportunityId: $ctrl.opportunityId };\r\n $ctrl.onChange = $ctrl.onChange;\r\n $ctrl.alertExists = $ctrl.vw_SearchRow._Is_Alert == \"Yes\";\r\n $ctrl.flexAlertExists = $ctrl.vw_SearchRow._Is_Flex_Alert == \"Yes\";\r\n $ctrl.contractEndAlertExists = $ctrl.vw_SearchRow._Is_Contract_End == \"Yes\";\r\n\r\n $ctrl.NewUsedCpoToID = function(vehicleType){\r\n vehicleType = vehicleType.toString().toLowerCase();\r\n if (vehicleType == \"new\") return 0;\r\n if (vehicleType == \"used\") return 1;\r\n if (vehicleType == \"cpo\") return 2;\r\n return \"\";\r\n }\r\n $ctrl.toSaleTypeID = function(saleType){\r\n saleType = saleType.toString().toLowerCase();\r\n if (saleType == \"lease\") return 1;\r\n if (saleType == \"retail\") return 2;\r\n if (saleType == \"balloon\") return 3;\r\n if (saleType == \"cash\") return 4;\r\n if (saleType == \"onepay lease\") return 5;\r\n if (saleType == \"wholesale\") return 6;\r\n if (saleType == \"incomplete\") return 7;\r\n return \"\";\r\n }\r\n $ctrl.toYesNoTypeID = function(yesNoTypeName){\r\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\r\n if (yesNoTypeName == \"yes\") return 1;\r\n if (yesNoTypeName == \"no\") return 0;\r\n return 0;\r\n }\r\n $ctrl.nullIf = function(valueIfNull, defaultValue){\r\n if (valueIfNull) return null;\r\n return defaultValue;\r\n }\r\n $ctrl.toAlertTypeList = function(vw_search)\r\n {\r\n var alerts = [];\r\n if (vw_search.is_Alert == \"Yes\") pushAlert(alerts, alertTypes.alert, 'alert');\r\n if (vw_search.is_Appointment == \"Yes\") pushAlert(alerts, alertTypes.appointment, 'appointment');\r\n if (vw_search.is_Contract_End == \"Yes\") pushAlert(alerts, alertTypes.contractEnd, 'contractEnd');\r\n //if (vw_search.is_Conversion_Alert == \"Yes\") pushAlert(alerts, alertTypes.alert, 'alert');\r\n if (vw_search.is_Flex_Alert == \"Yes\") pushAlert(alerts, alertTypes.flexAlert, 'flexAlert');\r\n if (vw_search.is_In_Market == \"Yes\") pushAlert(alerts, alertTypes.inMarket, 'inMarket');\r\n if (vw_search.is_In_Market_Engaged == \"Yes\") pushAlert(alerts, alertTypes.inMarketEngaged, 'inMarketEngaged');\r\n if (vw_search.is_Mileage_Alert == \"Yes\") pushAlert(alerts, alertTypes.mileage, 'mileage');\r\n if (vw_search.is_Warranty_Alert == \"Yes\") pushAlert(alerts, alertTypes.warranty, 'warranty');\r\n\r\n return alerts;\r\n }\r\n $ctrl.showIfNotNullOrEmpty = function(defaultValue, item, obj){\r\n\r\n if (item != null && item != \"\")\r\n {\r\n if (obj != null) return obj; \r\n return item;\r\n }\r\n return defaultValue;\r\n }\r\n\r\n \r\n function pushAlert(arr, type, name){\r\n arr.push({\r\n type: type,\r\n typeName: name,\r\n translateKey: name + \"RelevantInfo\",\r\n details: $ctrl.opportunity.replacementVehicle,\r\n \r\n });\r\n }\r\n\r\n\r\n $ctrl.fuelEconomyComparison = {\r\n estimatedMonthlyCostDifference: $ctrl.vw_SearchRow.replacement_Monthly_Fuel_Difference\r\n }\r\n\r\n //**************************************************************************************\r\n //NOTE: This code is designed as a prototype, and requires significant cleanup.\r\n //TO clean this code up, first you must remove all of the current API calls, and\r\n //compare the data structure below with the required data structure.\r\n //Time Estimate: 1.5 days\r\n //**************************************************************************************\r\n //BIND TO OLD MODELS\r\n $ctrl.opportunityOverwrite = opportunityService.getOpportunityFromViewEntityId($ctrl.opportunityId, $ctrl.vw_SearchRow);\r\n\r\n $ctrl.permissions = {\r\n \"activitiesLog\": true,\r\n //\"editActivity\": true,\r\n //\"editAssignedUser\": true,\r\n //\"editConquestContract\": true,\r\n //\"editContract\": true,\r\n //\"editCustomer\": true,\r\n \"editDoNotContact\": true,\r\n \"editMarkAsNotOwn\": true,\r\n \"editMarkAsPaidOff\": true,\r\n \"editMarkAsSold\": true,\r\n //\"editMarkAsWarranty\": true,\r\n //\"editMarkAsWatch\": true,\r\n //\"editMileage\": true,\r\n //\"editPayoffAmount\": true,\r\n \"editPrice\": true,\r\n //\"emailTemplate\": true,\r\n \"featureComparison\": false,\r\n //\"manageSearches\": false,\r\n \"otherVehiclesOwned\": false,\r\n //\"paymentDetails\": true,\r\n \"payments\": true,\r\n \"postActivity\": true,\r\n //\"print\": true,\r\n //\"printTemplate\": true,\r\n //\"requestCreditPrescreen\": true,\r\n //\"serviceHistory\": true,\r\n //\"vehicleHistoryReports\": true,\r\n \"viewAlertScripts\": true,\r\n \"viewChangeLog\": true,\r\n \"viewContract\": true,\r\n \"viewCustomer\": true,\r\n \"viewInventory\": true,\r\n \"viewTradeValue\": true,\r\n \"viewVehicle\": true,\r\n //\"warranty\": true\r\n };\r\n \r\n $ctrl.vehicleTypeKeys = _.invert(vehicleTypes);\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.saleTypeKeys = _.invert(saleTypes);\r\n $ctrl.alertScriptTypes = alertScriptTypes;\r\n $ctrl.alertScriptTypeKeys = _.invert(alertScriptTypes);\r\n $ctrl.msrpTypes = msrpTypes;\r\n $ctrl.paymentTypes = paymentTypes;\r\n $ctrl.conquestTypes = conquestTypes;\r\n\r\n $ctrl.tabs = dealSheetTabs;\r\n $ctrl.newDealSheetReady = false;\r\n $ctrl.newDealSheetVisible = dealSheetService.modalDisplayState === 'new';\r\n $ctrl.serviceHistory = null;\r\n $ctrl.activityNotification = false;\r\n $ctrl.userProfileRoles = userProfileRoles;\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\r\n $ctrl.tradeValueTypes = tradeValueTypes;\r\n $ctrl.opportunityStatuses = opportunityStatuses;\r\n $ctrl.eulaModalService = eulaModalService;\r\n $ctrl.showPullForward = false;\r\n $ctrl.isEmailEnabled = false;\r\n\r\n // methods\r\n $ctrl.$onInit = init;\r\n $ctrl.closeModal = closeModal;\r\n $ctrl.changeTab = changeTab;\r\n $ctrl.showNoRecommendedVehiclesMessage = showNoRecommendedVehiclesMessage;\r\n $ctrl.isDealSheetDirty = false;\r\n $ctrl.isDealsheetVersionChangeEnabled = legacy.isDealsheetVersionChangeEnabled;\r\n $ctrl.updateAssignedUser = updateAssignedUser;\r\n $ctrl.onTradeValueChange = onTradeValueChange;\r\n $ctrl.onPriceChange = onPriceChange;\r\n $ctrl.onWatchChange = onWatchChange;\r\n $ctrl.startWorkingState = startWorkingState;\r\n $ctrl.stopWorkingState = stopWorkingState;\r\n $ctrl.setReplacementVehicle = setReplacementVehicle;\r\n $ctrl.updateReplacementVehicleByTrim = updateReplacementVehicleByTrim;\r\n $ctrl.onScheduleSubmit = onScheduleSubmit;\r\n $ctrl.showPrintDialog = showPrintDialog;\r\n $ctrl.setReplacementVehicleType = setReplacementVehicleType;\r\n $ctrl.$onDestroy = onDestroy;\r\n $ctrl.getCreditConvertData = getCreditConvertData;\r\n $ctrl.otherVehicleHasAlerts;\r\n $ctrl.otherVehicleStatusClosed;\r\n $ctrl.submitDiscrepancy = submitDiscrepancy;\r\n $ctrl.setInventoryReplacementVehicle = setInventoryReplacementVehicle;\r\n $ctrl.setCreditPrescreenStatus = setCreditPrescreenStatus;\r\n $ctrl.onLogScheduleSubmit = onLogScheduleSubmit;\r\n $ctrl.setDefaultTab = setDefaultTab;\r\n $ctrl.onNoLongerOwns= onNoLongerOwns;\r\n $ctrl.isVehicleStatusVisible = isVehicleStatusVisible;\r\n $ctrl.setReplacementContractOverride = setReplacementContractOverride;\r\n $ctrl.applyAndOperation = applyAndOperation;\r\n $ctrl.getDefaultTab = getDefaultTab;\r\n $ctrl.LogActivityClick = LogActivityClick;\r\n $ctrl.updateCustomer = updateCustomer;\r\n\r\n $ctrl.funcKeydown = funcKeydown;\r\n\r\n //translations\r\n $translatePartialLoader.addPart(localePaths.dealSheet);\r\n $translatePartialLoader.addPart(localePaths.general);\r\n\r\n // spinner\r\n $ctrl.dealsheetWorking;\r\n $ctrl.hideWhenBusy = false;\r\n\r\n //customer-connect tab status\r\n $ctrl.isCustomerConnectOpen = false;\r\n $ctrl.isUserEditedTradeValue = false;\r\n\r\n // term override\r\n $ctrl.hasTermOverride = false;\r\n $ctrl.overrideTermInfo;\r\n\r\n $ctrl.mKey = 77;\r\n function LogActivityClick(value) {\r\n $ctrl.isCustomerConnectOpen = value;\r\n }\r\n\r\n function closeModal() {\r\n globalIframeService.postMessage({ 'task': 'opportunity_refresh' });\r\n $ctrl.close();\r\n }\r\n\r\n function applyAndOperation(one, two)\r\n {\r\n if (one == null || two == null) return {};\r\n \r\n var response = {};\r\n for(var prop in one)\r\n {\r\n if (typeof(one[prop]) == 'boolean' && typeof(two[prop]) == 'boolean')\r\n {\r\n response[prop] = one[prop] && two[prop];\r\n }\r\n }\r\n return response;\r\n }\r\n\r\n //This belongs on the API level.\r\n function checkExpiration(dealSheetExpirationDate) {\r\n var todayDate = (new Date()).setHours(0, 0, 0, 0);\r\n var expirationDate = (new Date(dealSheetExpirationDate)).setHours(0, 0, 0, 0);\r\n return (todayDate > expirationDate);\r\n }\r\n\r\n function errorExitWithCode(key) {\r\n $translate([key]).then(showWarningMessage);\r\n\r\n function showWarningMessage(translations) {\r\n logger.warning(translations[key]);\r\n }\r\n if ($ctrl.dismiss) {\r\n $ctrl.dismiss({ $value: 'cancel' });\r\n } else {\r\n $state.go('home');\r\n }\r\n }\r\n\r\n function errorExit(key) {\r\n return function (response) {\r\n errorExitWithCode(key);\r\n }\r\n }\r\n\r\n function init() {\r\n $q.all({\r\n 'leadAssignment': $translate('leadAssignment'),\r\n 'date': $translate('date')\r\n }).then(function (translation) {\r\n $ctrl.leadAssignmentLabel = translation.leadAssignment;\r\n $ctrl.dateLabel = translation.date;\r\n });\r\n\r\n opportunityService.getOpportunityFromViewEntityId($ctrl.opportunityId, $ctrl.vw_SearchRow)\r\n .then(function(vw_search){\r\n $ctrl.opportunityOverwrite = opportunityService.getOpportunityFromView(vw_search);\r\n\r\n if ($ctrl.opportunityId) {\r\n $ctrl.dealsheetWorking = $q.defer().promise;\r\n if (dealSheetService.modalDisplayState === 'new') {\r\n $ctrl.isDealsheetVersionChangeEnabled = false;\r\n $ctrl.changeDealSheetLabel = switchToClassicDealSheetKey;\r\n $ctrl.newDealSheetVisible = true;\r\n $ctrl.hideWhenBusy = true;\r\n initNewDealSheet();\r\n }\r\n else {\r\n $ctrl.newDealSheetVisible = false;\r\n $ctrl.changeDealSheetLabel = switchToNewDealSheetKey;\r\n $ctrl.dealsheetWorking = null;\r\n }\r\n }\r\n });\r\n\r\n eulaModalService.isEmailEnabled().then(isEnabled => $ctrl.isEmailEnabled = isEnabled);\r\n }\r\n\r\n function initNewDealSheet() {\r\n $ctrl.newDealSheetReady = false;\r\n $ctrl.contractReady = false;\r\n $ctrl.opportunityDetailsReady = false;\r\n $ctrl.opportunity = $ctrl.opportunityOverwrite;\r\n return userService.getUserProfile()\r\n .then(function (userProfile) {\r\n return $q.all({\r\n 'dealSheetPermissions': authorizationService.getDealSheetPermissions(),\r\n 'userProfile': $q.resolve(userProfile),\r\n 'dealerSettings': dealerService.getDealerSettings($ctrl.opportunity.dealerId),\r\n 'users': dealerService.getUsers($ctrl.opportunity.dealerId),\r\n 'dealer': dealerService.getDealer($ctrl.opportunity.dealerId),\r\n 'saleExt': opportunityService.getSaleExtByEntityId($ctrl.opportunity.id)\r\n })\r\n })\r\n .then(function (data) {\r\n $ctrl.permissions = $ctrl.applyAndOperation($ctrl.permissions, data.dealSheetPermissions);\r\n $ctrl.userProfile = data.userProfile;\r\n $ctrl.dealerSettings = data.dealerSettings;\r\n $ctrl.saleExt = data.saleExt;\r\n\r\n $ctrl.moduleIds = storageService.getItem('moduleIds');\r\n $ctrl.pricingPlanEnabled = userService.isDealerEnabledForModule($ctrl.opportunity.dealerId, modules.fordAXZPlanPricing);\r\n\r\n $ctrl.isSltUser = data.userProfile.isSltUser;\r\n angular.element($window).on(\"keydown\", $ctrl.funcKeydown);\r\n\r\n if ($ctrl.dealerSettings.allowExpiration && checkExpiration($ctrl.opportunity.expirationDate)) {\r\n errorExitWithCode(dontHaveAccessExpiredKey);\r\n }\r\n\r\n $ctrl.opportunity.userProfile = $ctrl.userProfile;\r\n $ctrl.users = data.users;\r\n $ctrl.dealer = $ctrl.opportunity.dealer = data.dealer;\r\n $ctrl.newDealSheetReady = true;\r\n $ctrl.dealsheetWorking = null;\r\n \r\n const hasTextingModule = userService.isDealerEnabledForModule($ctrl.opportunity.dealerId, modules.textMessaging);\r\n $ctrl.isTextingEnabled = hasTextingModule && ($ctrl.permissions.sendTextSales || $ctrl.permissions.sendTextService);\r\n // For now set this to false until we determine that Lite should have this function:\r\n $ctrl.isTextingEnabled = false;\r\n\r\n $ctrl.defaultTab = $ctrl.getDefaultTab();\r\n $ctrl.changeTab($ctrl.defaultTab);\r\n\r\n if ($ctrl.opportunityOverwrite.replacementVehicle.makeID == null) //indicator that the replacement doesn't exist\r\n {\r\n vehicleService.getAverageReplacementVehicle($ctrl.opportunity.dealerId, $ctrl.opportunity.vehicleId, $ctrl.opportunity.customer.pricingPlanId)\r\n .then(setReplacementVehicle);\r\n }\r\n else{\r\n updateReplacementVehicleByTrim($ctrl.opportunity.replacementVehicle);\r\n }\r\n\r\n \r\n\r\n })\r\n .catch(errorExit(dontHaveAccessWarningKey));\r\n }\r\n\r\n function funcKeydown($event) {\r\n if ($ctrl.userProfile.employeeUser){\r\n if ($event.ctrlKey && $event.keyCode == $ctrl.mKey) {\r\n $ctrl.isDealsheetVersionChangeEnabled = true;\r\n }\r\n }\r\n }\r\n\r\n function updateCustomer(customer) {\r\n $ctrl.startWorkingState();\r\n log.log(customer);\r\n customerService.updateCustomer(customer).then(function (success) {\r\n if (success) {\r\n $ctrl.opportunity.customer = customer;\r\n reLoadOpportunity(1000);\r\n $ctrl.stopWorkingState();\r\n }\r\n else {\r\n $ctrl.stopWorkingState();\r\n }\r\n }, function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function updateAssignedUser(user) {\r\n $ctrl.startWorkingState();\r\n\r\n opportunityService.updateAssignedUser($ctrl.opportunity.id, user.id)\r\n .then(function (success) {\r\n if (success) {\r\n $ctrl.opportunity.assignedUserId = user.id;\r\n $ctrl.opportunity.assignedUserFullName = user.fullName;\r\n $ctrl.stopWorkingState();\r\n }\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function setActivities(activities) {\r\n $ctrl.activities = activities;\r\n }\r\n\r\n function onTradeValueChange(value, logged) {\r\n startWorkingState();\r\n $ctrl.isDealSheetDirty = true;\r\n $ctrl.opportunity.currentVehicle.tradeValue = value;\r\n $ctrl.isUserEditedTradeValue = true;\r\n reCalculateVehicleEquity();\r\n reCalculateReplacementContract();\r\n if (logged) { opportunityService.logTradeValueChange($ctrl.opportunity.vehicleId, value); }\r\n }\r\n\r\n function reCalculateVehicleEquity() {\r\n var tradeValue = $ctrl.opportunity.currentVehicle.tradeValue;\r\n var payoffValue = $ctrl.opportunity.currentContract.payoffAmount ? $ctrl.opportunity.currentContract.payoffAmount : 0;\r\n $ctrl.opportunity.currentContract.equity = {\r\n tradeValue: tradeValue,\r\n equityValue: tradeValue - payoffValue\r\n };\r\n }\r\n\r\n function onPriceChange(value) {\r\n $ctrl.isDealSheetDirty = true;\r\n $ctrl.opportunity.replacementVehicle.price = value;\r\n startWorkingState();\r\n // log price change\r\n opportunityService.addPriceOverrideChangeLog($ctrl.opportunity.vehicleId, value);\r\n reCalculateReplacementContract();\r\n }\r\n\r\n function reCalculateReplacementContract() {\r\n if ($ctrl.opportunity.replacementContract && $ctrl.opportunity.replacementContract.useOverrideTerm) {\r\n // setup override term\r\n $ctrl.hasTermOverride = true;\r\n $ctrl.overrideTermInfo = {\r\n term: $ctrl.opportunity.replacementContract.term,\r\n saleType: $ctrl.opportunity.replacementContract.saleType,\r\n saleTypeName: $ctrl.opportunity.replacementContract.saleTypeName\r\n };\r\n }\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\r\n }\r\n\r\n function startWorkingState() {\r\n $ctrl.hideWhenBusy = true;\r\n $ctrl.dealsheetWorking = $q.defer().promise;\r\n }\r\n\r\n function stopWorkingState() {\r\n $ctrl.hideWhenBusy = false;\r\n $ctrl.dealsheetWorking = null;\r\n }\r\n\r\n function onWatchChange(value) {\r\n if (value) {\r\n return opportunityService.markOpportunityWatched($ctrl.opportunityId)\r\n .then(function () {\r\n $ctrl.opportunity.watched = true;\r\n });\r\n } else {\r\n return opportunityService.markOpportunityUnwatched($ctrl.opportunityId)\r\n .then(function () {\r\n $ctrl.opportunity.watched = false;\r\n });\r\n }\r\n }\r\n\r\n function setReplacementVehicle(vehicle) {\r\n\r\n if (!vehicle) {\r\n $ctrl.showNoRecommendedVehiclesMessage();\r\n return;\r\n }\r\n\r\n $ctrl.startWorkingState();\r\n\r\n updateReplacementVehicleFuelCost(vehicle);\r\n $ctrl.featureComparison = null;\r\n\r\n if ($ctrl.pricingPlanEnabled && vehicle.pricingPlanID && vehicle.pricingPlanID > 0) {\r\n vehicle.price = vehicle.pricingPlanMsrp;\r\n }\r\n if (!vehicle.modelID) {\r\n vehicleService.getModelId(vehicle.trimID).then(function (modelID) {\r\n $ctrl.isDealSheetDirty = true;\r\n $ctrl.opportunity.replacementVehicle = vehicle;\r\n $ctrl.opportunity.replacementVehicle.modelID = modelID;\r\n updateReplacementVehicleImagePath();\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions)\r\n .then(setReplacementContracts);\r\n });\r\n } else {\r\n $ctrl.isDealSheetDirty = true;\r\n $ctrl.opportunity.replacementVehicle = vehicle;\r\n updateReplacementVehicleImagePath();\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions)\r\n .then(setReplacementContracts);\r\n }\r\n }\r\n\r\n function updateReplacementVehicleImagePath() {\r\n if (!$ctrl.opportunity.replacementVehicle.imagePath) {\r\n vehicleService.getVehicleImagePath($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID)\r\n .then(function (imagePath) {\r\n $ctrl.opportunity.replacementVehicle.imagePath = imagePath;\r\n });\r\n }\r\n }\r\n\r\n function updateReplacementVehicleFuelCost(vehicle) {\r\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\r\n vehicleService.getFuelEconomyComparison(vehicle.trimID, $ctrl.opportunityId)\r\n .then(function (data) {\r\n $ctrl.fuelEconomyComparison = data;\r\n })\r\n .catch(function () { $ctrl.fuelEconomyComparison = null; });\r\n } else {\r\n $ctrl.fuelEconomyComparison = null;\r\n }\r\n }\r\n\r\n function changeTab(tab) {\r\n if (tab === $ctrl.tabs.featureComparison) {\r\n updateReplacementVehicleFeatures($ctrl.opportunity.replacementVehicle);\r\n }\r\n\r\n $ctrl.currentTab = tab;\r\n\r\n var tabLabel = _.invert($ctrl.tabs)[tab];\r\n\r\n $analytics.eventTrack(analytics.actions.navigate, {\r\n category: analytics.categories.dealSheet,\r\n label: analytics.labels[tabLabel]\r\n });\r\n\r\n refreshTabs();\r\n }\r\n \r\n function refreshTabs() {\r\n $ctrl.tabLoadingPromise = null;\r\n\r\n if ($ctrl.currentTab == $ctrl.tabs.activityAndNotes) {\r\n if ($ctrl.activityNotification) {\r\n $ctrl.activityNotification = false;\r\n opportunityService.resetActivityNotification();\r\n }\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\r\n }\r\n if ($ctrl.currentTab == $ctrl.tabs.featureComparison) {\r\n if ($ctrl.defaultTab == $ctrl.tabs.featureComparison) {\r\n $timeout(function () {\r\n $scope.$broadcast('rzSliderForceRender');\r\n }, 1000);\r\n }\r\n else {\r\n $timeout(function () {\r\n $scope.$broadcast('rzSliderForceRender');\r\n }, 200);\r\n }\r\n }\r\n }\r\n\r\n function updateReplacementVehicleFeatures(vehicle) {\r\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\r\n vehicleService.getFeatureComparison(vehicle.trimID, $ctrl.opportunityId)\r\n .then(function (data) {\r\n $ctrl.featureComparison = data;\r\n })\r\n .catch(function () { $ctrl.featureComparison = null; });\r\n } else {\r\n $ctrl.featureComparison = null;\r\n }\r\n }\r\n\r\n function updateReplacementVehicleByTrim(trim) {\r\n\r\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\r\n category: analytics.categories.dealSheet,\r\n label: analytics.labels.trimChange\r\n });\r\n $ctrl.startWorkingState();\r\n $ctrl.opportunity.replacementVehicles = null;\r\n var trimIsValid = !(trim.yearID == \"\" || trim.makeID == \"\" || trim.modelID == \"\");\r\n if (trimIsValid)\r\n {\r\n var vehicle = {\r\n type: vehicleTypes.new,\r\n makeID: trim.makeID,\r\n makeName: trim.makeName,\r\n yearID: trim.yearID,\r\n modelID: trim.modelID,\r\n modelName: trim.modelName,\r\n trimID: trim.trimID,\r\n trimName: trim.trimName,\r\n trimFullName: trim.trimFullName,\r\n extID: trim.extID\r\n };\r\n updateReplacementVehicleFuelCost(vehicle);\r\n\r\n $ctrl.opportunity.replacementVehicle = vehicle;\r\n $ctrl.opportunity.isDealSheetDirty = true;\r\n\r\n if (!vehicle.imagePath) {\r\n vehicleService.getVehicleImagePath($ctrl.opportunity.dealerId, vehicle.trimID).then(function (imagePath) {\r\n $ctrl.opportunity.replacementVehicle.imagePath = imagePath;\r\n vehicleService.getTrimPrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID)\r\n .then(setReplacementVehicleMsrp);\r\n });\r\n }\r\n else {\r\n vehicleService.getTrimPrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID)\r\n .then(setReplacementVehicleMsrp);\r\n }\r\n }\r\n }\r\n\r\n function setReplacementVehicleMsrp(msrp) {\r\n\r\n $ctrl.opportunity.replacementVehicle.msrp = msrp;\r\n $ctrl.opportunity.replacementVehicle.price = msrp;\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions)\r\n .then(setReplacementContracts);\r\n }\r\n\r\n function setReplacementContracts(data) {\r\n\r\n if (data && data.contracts) {\r\n $ctrl.opportunity.replacementContracts = data.contracts;\r\n if ($ctrl.hasTermOverride && $ctrl.overrideTermInfo && $ctrl.overrideTermInfo.term) {\r\n // get override contract from term and set to replacement...\r\n var overrideContract = _.find(data.contracts, function (o) { return o.term === $ctrl.overrideTermInfo.term && o.saleType === $ctrl.overrideTermInfo.saleType });\r\n if (overrideContract) {\r\n overrideContract.useOverrideTerm = true;\r\n $ctrl.opportunity.replacementContract = overrideContract;\r\n } else {\r\n $ctrl.opportunity.replacementContract = data.defaultContract;\r\n }\r\n $ctrl.hasTermOverride = false;\r\n } else {\r\n $ctrl.opportunity.replacementContract = data.defaultContract;\r\n }\r\n\r\n if ($ctrl.opportunity.replacementContract) {\r\n $ctrl.opportunity.replacementContract.vehicleType = $ctrl.opportunity.replacementVehicle.type;\r\n\r\n }\r\n } else {\r\n $ctrl.opportunity.replacementContracts = [];\r\n $ctrl.opportunity.replacementContract = null;\r\n }\r\n stopWorkingState();\r\n }\r\n\r\n function setReplacementContractOverride(contract) {\r\n $ctrl.startWorkingState();\r\n // persist vehile type from current replacement contract since contract does not persist it\r\n if ($ctrl.opportunity.replacementContract) {\r\n contract.vehicleType = $ctrl.opportunity.replacementContract.vehicleType;\r\n } else {\r\n contract.vehicleType = vehicleTypes.new;\r\n }\r\n // set replacement contract\r\n $ctrl.opportunity.replacementContract = contract;\r\n // log into change log\r\n opportunityService.addTermOverrideChangeLog($ctrl.opportunity.vehicleId, contract.term)\r\n .then($ctrl.stopWorkingState, $ctrl.stopWorkingState);\r\n }\r\n\r\n function onLogScheduleSubmit(result) {\r\n\r\n if (!result) { return; } // user data entry error\r\n\r\n if (result == 'cancel') {\r\n // user canceled operation close accordian panel and reset Customer Connect to default\r\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\r\n return;\r\n }\r\n\r\n // submit user's activity changes\r\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\r\n startWorkingState();\r\n activityService.postActivitySubmitAction(result)\r\n .then(function (data) {\r\n if (result.isFollowUpScheduleAppt){\r\n logger.success(\"postActivityFollowupMsg\");\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Schedule_Appt;\r\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\r\n }\r\n else {\r\n logger.success(\"postActivitySuccessMsg\");\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\r\n }\r\n\r\n // if vehicle no longer owns\r\n if (result.resultID == activityResults.phoneCall.noLongerOwns || result.resultID == activityResults.note.noLongerOwns){\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\r\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then(() => {\r\n reLoadOpportunity();\r\n });\r\n }\r\n else\r\n onScheduleSubmit();\r\n\r\n // if vehicle paid off\r\n if (result.resultID == activityResults.phoneCall.vehiclePaidOff) {\r\n activityService.updateVehiclePaidOff($ctrl.opportunityId)\r\n .then(() => {\r\n reLoadOpportunity();\r\n });\r\n }\r\n });\r\n }\r\n\r\n function onNoLongerOwns() {\r\n startWorkingState();\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\r\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then(() => {\r\n reLoadOpportunity();\r\n });\r\n }\r\n\r\n function onScheduleSubmit() {\r\n startWorkingState();\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\r\n opportunityService.getOpportunity($ctrl.opportunityId, $ctrl.stockIdValue, $ctrl.calculationId, $ctrl.permissions, $ctrl.moduleIds)\r\n .then(setOpportunityStatus)\r\n .catch(errorExit(dontHaveAccessWarningKey));\r\n }\r\n\r\n function setOpportunityStatus(data) {\r\n if (data) {\r\n $ctrl.opportunity.status = data.status;\r\n $ctrl.opportunity.alerts = data.alerts;\r\n }\r\n stopWorkingState();\r\n }\r\n\r\n function showPrintDialog() {\r\n activityService.runActivityRule($ctrl.opportunity.id, [activityRule.Print_Deal_Sheet]);\r\n if (!$ctrl.activities) {\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId)\r\n .then(function (activities) {\r\n $ctrl.activities = activities;\r\n $timeout($window.print, 250);\r\n });\r\n }\r\n else {\r\n $window.print();\r\n }\r\n }\r\n\r\n function setReplacementVehicleType(vehicleType) {\r\n $ctrl.startWorkingState();\r\n\r\n $ctrl.isDealSheetDirty = true;\r\n $ctrl.opportunity.replacementVehicle.type = vehicleType;\r\n\r\n vehicleService.getAdjustedInventoryVehiclePrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.type, $ctrl.opportunity.replacementVehicle.msrp)\r\n .then(function (price) {\r\n $ctrl.opportunity.replacementVehicle.price = price;\r\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions)\r\n .then((data) => setReplacementContracts.call($ctrl, data));\r\n });\r\n }\r\n\r\n function onDestroy() {\r\n opportunityService.resetActivityNotification();\r\n angular.element($window).off(\"keydown\", $ctrl.funcKeydown);\r\n }\r\n\r\n function reLoadOpportunity(waitTime) {\r\n startWorkingState();\r\n $timeout(function () {\r\n opportunityService.getOpportunity($ctrl.opportunityId, $ctrl.stockNo, $ctrl.calculationId, $ctrl.permissions, $ctrl.moduleIds)\r\n .then(function (opportunity) {\r\n setOpportunity(opportunity, $ctrl.userProfile);\r\n stopWorkingState();\r\n }, function () {\r\n stopWorkingState();\r\n throw { message: \"We encountered an error processing your request.\" };\r\n })\r\n .catch(errorExit(dontHaveAccessWarningKey));\r\n }, waitTime);\r\n }\r\n\r\n\r\n function setOpportunity(opportunity) {\r\n $ctrl.opportunity = opportunity;\r\n\r\n //load autoassigned data from returned service results\r\n $ctrl.isAutoAssignedOwner = $ctrl.opportunity.autoAssignOwner;\r\n if ($ctrl.opportunity.autoAssignOwnerSearch)\r\n $ctrl.autoOwnerLeadAssignmentToolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.opportunity.autoAssignOwnerSearch;\r\n\r\n $ctrl.dateSeparator = \": \";\r\n $ctrl.newLineSeparator = \"\\n\";\r\n\r\n if ($ctrl.OriginalTradeValue == null)\r\n $ctrl.OriginalTradeValue = $ctrl.opportunity.currentVehicle.tradeValue;\r\n\r\n if ($ctrl.isSltUser) {\r\n var expirationDateLimit = new Date();\r\n expirationDateLimit.setYear(expirationDateLimit.getFullYear() + 1);\r\n\r\n $ctrl.showExpirationDate = new Date($ctrl.opportunity.expirationDate) < expirationDateLimit;\r\n }\r\n\r\n $ctrl.showVehicleNotPaidoff = mapUtils.hasActionAccess($ctrl.opportunity.actionAccess, entityActionAccessEnum.showVehicleNotPaidoff);\r\n opportunityService.addAlertsAsProperties($ctrl, $ctrl.opportunity.alerts);\r\n setDocumentTitle();\r\n\r\n $ctrl.isDealSheetDirty = false;\r\n $ctrl.replacementStockNo = opportunity.replacementVehicle.stockNo;\r\n $ctrl.activityNotification = opportunityService.activityNotification.notify && opportunityService.activityNotification.triggered;\r\n\r\n var programDetails = null;\r\n\r\n if (opportunity.replacementContract)\r\n programDetails = opportunity.replacementContract.programDetails;\r\n\r\n var isPrivateOffer = (programDetails != null && programDetails.some(p => p.isPrivateOffer));\r\n var creditPreApproval = opportunity.creditPreApproval;\r\n var isFordAlert = userService.isDealerEnabledForModule(opportunity.dealerId, modules.fordAlert);\r\n\r\n $ctrl.showPrivateOfferScript = (isFordAlert && isPrivateOffer && !creditPreApproval);\r\n $ctrl.showPrivateOfferPreApprovalScript = (isFordAlert && isPrivateOffer && creditPreApproval);\r\n updateReplacementVehicleFuelCost(opportunity.replacementVehicle);\r\n }\r\n\r\n function setDocumentTitle() {\r\n if (!$ctrl.newWindowButtonVisible && $ctrl.opportunity != null && $ctrl.opportunity.customer != null) {\r\n $document[0].title = ($ctrl.opportunity.customer.firstName || '') + ' '\r\n + ($ctrl.opportunity.customer.middleName || '') + ' '\r\n + ($ctrl.opportunity.customer.lastName || '');\r\n }\r\n }\r\n\r\n function getCreditConvertData() {\r\n opportunityService.getCreditSoftPullResultAsync($ctrl.permissions, $ctrl.opportunityId)\r\n .then(function (creditPrescreenResult) {\r\n $ctrl.opportunity.creditSoftPull = creditPrescreenResult;\r\n })\r\n\r\n opportunityService.getTags($ctrl.opportunityId)\r\n .then(function (tags) {\r\n $ctrl.opportunity.tags = tags;\r\n });\r\n }\r\n\r\n function submitDiscrepancy(discrepancy) {\r\n $ctrl.dealsheetWorking = opportunityService.submitDiscrepancy($ctrl.opportunity, discrepancy)\r\n .then(showSuccessMessage);\r\n\r\n function showSuccessMessage() {\r\n logger.success(submitDiscrepancySuccessMessageKey);\r\n }\r\n }\r\n\r\n function setInventoryReplacementVehicle(vehicle) {\r\n $ctrl.opportunity.replacementVehicles = null;\r\n setReplacementVehicle(vehicle);\r\n }\r\n\r\n function setCreditPrescreenStatus(status) {\r\n $ctrl.opportunity.creditPrescreenStatus = status;\r\n }\r\n\r\n function showNoRecommendedVehiclesMessage() {\r\n $ctrl.noRecommendedVehiclesMessageVisible = true;\r\n\r\n $timeout(function () {\r\n $ctrl.noRecommendedVehiclesMessageVisible = false;\r\n }, 5000);\r\n }\r\n\r\n function getDefaultTab() {\r\n var defaultTabs = storageService.getItem('defaultDealSheetTabs');\r\n var defaultTab;\r\n\r\n if (defaultTabs && defaultTabs[$ctrl.userProfile.userId]) {\r\n defaultTab = defaultTabs[$ctrl.userProfile.userId];\r\n }\r\n else {\r\n defaultTab = $ctrl.tabs.alertsAndScripts;\r\n }\r\n\r\n if (!isTabAccessible(defaultTab)) {\r\n defaultTab = getAccessibleTabs()[0];\r\n }\r\n\r\n return defaultTab;\r\n }\r\n\r\n function setDefaultTab() {\r\n var defaultTabs = storageService.getItem('defaultDealSheetTabs') || {};\r\n defaultTabs[$ctrl.userProfile.userId] = $ctrl.currentTab;\r\n\r\n storageService.setItem('defaultDealSheetTabs', defaultTabs);\r\n\r\n $ctrl.defaultTab = $ctrl.currentTab;\r\n }\r\n\r\n \r\n function getAccessibleTabs() {\r\n var accessibleTabs = [];\r\n var tabs = [\r\n $ctrl.tabs.alertsAndScripts,\r\n $ctrl.tabs.currentVehicleDetails,\r\n $ctrl.tabs.replacementVehicleDetails,\r\n $ctrl.tabs.featureComparison,\r\n $ctrl.tabs.activityAndNotes,\r\n $ctrl.tabs.serviceHistory,\r\n $ctrl.tabs.otherVehiclesOwned,\r\n $ctrl.tabs.changeLog\r\n ];\r\n\r\n for (var i = 0; i < tabs.length; i++) {\r\n var tab = tabs[i];\r\n\r\n if (isTabAccessible(tab)) {\r\n accessibleTabs.push(tab);\r\n }\r\n }\r\n\r\n return accessibleTabs;\r\n }\r\n\r\n function isTabAccessible(tab) {\r\n switch (tab) {\r\n case $ctrl.tabs.alertsAndScripts:\r\n return $ctrl.permissions.viewAlertScripts;\r\n case $ctrl.tabs.currentVehicleDetails:\r\n return $ctrl.permissions.viewVehicle || $ctrl.permissions.viewContract;\r\n case $ctrl.tabs.replacementVehicleDetails:\r\n return $ctrl.permissions.payments;\r\n case $ctrl.tabs.activityAndNotes:\r\n return $ctrl.permissions.activitiesLog;\r\n case $ctrl.tabs.serviceHistory:\r\n return $ctrl.permissions.serviceHistory;\r\n case $ctrl.tabs.otherVehiclesOwned:\r\n return $ctrl.userProfile.roleName != $ctrl.userProfileRoles.Sales_Associate && $ctrl.userProfile.roleName != $ctrl.userProfileRoles.Base_Sales_Associate;\r\n case $ctrl.tabs.changeLog:\r\n return $ctrl.permissions.viewChangeLog;\r\n default:\r\n return true;\r\n }\r\n }\r\n\r\n function isVehicleStatusVisible() {\r\n var availableChoices = 0;\r\n\r\n if ($ctrl.permissions.editMarkAsNotOwn)\r\n availableChoices++;\r\n if ($ctrl.permissions.editMarkAsPaidOff)\r\n availableChoices++;\r\n if ($ctrl.permissions.editMarkAsSold)\r\n availableChoices++;\r\n\r\n return availableChoices > 0 ? true : false;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./deal-sheet-tab-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('dealSheetTabSelect', {\r\n templateUrl: '/app/components/deal-sheet/deal-sheet-tab-select.component.html',\r\n controller: DealSheetTabSelectController,\r\n bindings: {\r\n 'default': '<',\r\n permissions: '<',\r\n showActivityIndicator: '<',\r\n showVehicleIndicator: '<',\r\n userRole: '<',\r\n current: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DealSheetTabSelectController(dealSheetTabs, userProfileRoles, authorizationService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.isEuroLite = false;\r\n $ctrl.tabs;\r\n $ctrl.userProfileRoles;\r\n $ctrl.changeTab = changeTab;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.tabs = dealSheetTabs;\r\n $ctrl.userProfileRoles = userProfileRoles;\r\n $ctrl.isEuroLite = authorizationService.isEuroLite();\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.default && changes.default.currentValue && !$ctrl.current) {\r\n $ctrl.current = $ctrl.default;\r\n }\r\n }\r\n\r\n function changeTab(tab) {\r\n $ctrl.current = tab;\r\n $ctrl.onSelect({ tab: tab });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./discrepancy-input.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('discrepancyInput', {\r\n templateUrl: '/app/components/deal-sheet/discrepancy-input.component.html',\r\n controller: DiscrepancyInputController,\r\n bindings: {\r\n countryId: '<',\r\n options: '<',\r\n onInput: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DiscrepancyInputController(_, discrepancyTypes, dealerCountries) {\r\n var $ctrl = this;\r\n\r\n $ctrl.discrepancyInputForm;\r\n $ctrl.selectedOption;\r\n $ctrl.expectedValue;\r\n $ctrl.discrepancyTypes;\r\n $ctrl.discrepancyTypeTranslateKeys;\r\n $ctrl.dealerCountries;\r\n $ctrl.onDiscrepancyInput = onDiscrepancyInput;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.dealerCountries = dealerCountries;\r\n $ctrl.discrepancyTypes = discrepancyTypes;\r\n $ctrl.discrepancyTypeTranslateKeys = _.invert(discrepancyTypes);\r\n }\r\n\r\n function onDiscrepancyInput() {\r\n var discrepancy = {\r\n type: $ctrl.selectedOption ? $ctrl.selectedOption.type : null,\r\n multiple: $ctrl.selectedOption ? $ctrl.selectedOption.multiple : false,\r\n currentValue: $ctrl.selectedOption ? $ctrl.selectedOption.value : null,\r\n expectedValue: $ctrl.expectedValue\r\n };\r\n\r\n $ctrl.onInput({ discrepancy: discrepancy, valid: $ctrl.discrepancyInputForm.$valid });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./email-template-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('emailTemplateAction', {\r\n templateUrl: '/app/components/deal-sheet/email-template-action.component.html',\r\n controller: EmailTemplateActionController,\r\n bindings: {\r\n opportunity: '<',\r\n permissions: '<',\r\n onComplete: '&',\r\n isEuroLite: '<',\r\n isShortcutButton: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction EmailTemplateActionController($q, legacyService, eulaModalService, featureToggleService, templateService, translateErrorKeys, $translate, logger) {\r\n var $ctrl = this;\r\n\r\n $ctrl.getUrl = getUrl;\r\n\r\n\r\n $ctrl.checkEULA = checkEULA; \r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.email = null;\r\n\r\n\r\n\r\n function onChanges(changes){\r\n if (changes.opportunity && changes.opportunity.customer && changes.opportunity.customer.emailAddress)\r\n $ctrl.email = $ctrl.opportunity.customer.emailAddress.value;\r\n }\r\n\r\n function checkEULA(){\r\n return $q.all([\r\n eulaModalService.validateEula(),\r\n templateService.validateMaxEmailsPerDay($ctrl.opportunity.id)\r\n ]).then(function(response){\r\n var acceptedEula = response[0];\r\n var templateServiceResponse = response[1];\r\n\r\n //Shouldn't there be a warning message for EULA not accepted?\r\n if (!templateServiceResponse.data.success){\r\n $translate([translateErrorKeys.maxEmailsExceeded], { maxEmailsPerEntityPerDay: templateServiceResponse.data.maxEmailsPerEntityPerDay }).then(function(translation){\r\n logger.warning(\r\n translation.maxEmailsExceeded,\r\n null,\r\n null\r\n );\r\n });\r\n }\r\n if ($ctrl.opportunity.customer.doNotEmail){\r\n logger.warning(\"doNotEmailCheckedWarning\");\r\n }\r\n\r\n return acceptedEula && templateServiceResponse.data.success && !$ctrl.opportunity.customer.doNotEmail;\r\n });\r\n }\r\n\r\n function getUrl() {\r\n return eulaModalService.validateEula()\r\n .then(function (accepted) {\r\n if (accepted) {\r\n $ctrl.url = legacyService.getPrintTemplateUrl($ctrl.opportunity);\r\n\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./facebook-profile-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('facebookProfileAction', {\r\n templateUrl: '/app/components/deal-sheet/facebook-profile-action.component.html',\r\n controller: FacebookProfileActionController,\r\n bindings: {\r\n email: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction FacebookProfileActionController(userService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.facebookUserId;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if (changes.email && changes.email.currentValue) {\r\n userService.getFacebookUserId($ctrl.email)\r\n .then(setFacebookUserId);\r\n }\r\n }\r\n\r\n function setFacebookUserId(userId) {\r\n $ctrl.facebookUserId = userId;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./facebook-photo.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('facebookPhoto', {\r\n templateUrl: '/app/components/deal-sheet/facebook-photo.component.html',\r\n controller: FacebookPhotoController,\r\n bindings: {\r\n email: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction FacebookPhotoController(userService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.facebookUserId;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if (changes.email && changes.email.currentValue) {\r\n userService.getFacebookUserId($ctrl.email)\r\n .then(setFacebookUserId);\r\n }\r\n }\r\n\r\n function setFacebookUserId(userId) {\r\n $ctrl.facebookUserId = userId;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./financial-edit-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('financialEditAction', {\r\n templateUrl: '/app/components/deal-sheet/financial-edit-action.component.html',\r\n controller: FinancialEditActionController,\r\n bindings: {\r\n contract: '<',\r\n opportunityId: '<',\r\n dealerId: '<',\r\n permissions: '<',\r\n assignedUserFullName: '<',\r\n onEdit: '&',\r\n opportunityType:'<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction FinancialEditActionController(conquestTypes, saleTypes, financialsService, $logFactory) {\r\n var $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n $ctrl.financials;\r\n $ctrl.conquestTypes = conquestTypes;\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.getFinancialData = getFinancialData;\r\n $ctrl.submitFinancialData = submitFinancialData;\r\n\r\n function getFinancialData() {\r\n return financialsService.getFinancialsData($ctrl.opportunityId, $ctrl.dealerId)\r\n .then(function (data) {\r\n if (data) {\r\n $ctrl.financials = {\r\n convert: data.convert,\r\n banks: data.banks,\r\n saleOptions: data.saleOptions,\r\n users: data.users,\r\n assignedUserFullName: $ctrl.assignedUserFullName,\r\n contract: $ctrl.contract,\r\n opportunityType: $ctrl.opportunityType\r\n };\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n });\r\n }\r\n\r\n function submitFinancialData(convert) {\r\n financialsService.submitConvertInfo(convert).then(function (data) {\r\n $ctrl.onEdit();\r\n }).catch(function () {\r\n log.log('submit financials error caught');\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./add-financial-info.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('addFinancialInfo', {\r\n templateUrl: '/app/components/deal-sheet/financial/add-financial-info.component.html',\r\n controller: AddFinancialInfoController,\r\n bindings: {\r\n financials: '<',\r\n reset: '<',\r\n onCheck: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction AddFinancialInfoController($timeout,opportunityTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = function () {\r\n _initDateOptions();\r\n _preProcessAssignTo();\r\n }\r\n\r\n $ctrl.calendarClick = function ($event) {\r\n $ctrl.status.opened = true;\r\n };\r\n\r\n // We're wrapping this in a Angular $timeout to insure the validation is performed in the next\r\n // event loop no matter what. There were times when the model values and input values weren't\r\n // synchronized causing inconsistent validation results.\r\n $ctrl.checkValidation = function () {\r\n $timeout(function () {\r\n $ctrl.onCheck({ isValid: $ctrl.financialForm.$valid && $ctrl.financialForm.$dirty});\r\n });\r\n }\r\n\r\n function _initDateOptions() {\r\n\r\n Date.prototype.addDays = function (days) {\r\n var dat = new Date(this.valueOf());\r\n dat.setDate(dat.getDate() + days);\r\n return dat;\r\n }\r\n var date = new Date();\r\n $ctrl.status = { opened: false };\r\n $ctrl.dateOptions = {\r\n formatYear: 'yy',\r\n maxDate: new Date(),\r\n startingDay: 0,\r\n showWeeks: false\r\n };\r\n $ctrl.minDate = date;\r\n $ctrl.maxDate = date.addDays(45);\r\n if (!$ctrl.financials.convert.dealDate || $ctrl.financials.convert.dealDate == '0001-01-01T00:00:00') {\r\n $ctrl.financials.convert.dealDate = date;\r\n } else {\r\n $ctrl.financials.convert.dealDate = new Date($ctrl.financials.convert.dealDate);\r\n }\r\n\r\n if ($ctrl.financials.opportunityType == opportunityTypes.conquest){\r\n $ctrl.financials.convert.dealDate = null;\r\n date = null;\r\n }\r\n \r\n }\r\n\r\n // We're doing this to see if we need to perform any kind of preprocessing of the Assign To. There\r\n // are 2 use cases where we need to do something.\r\n // 1. When the assignedUserFullName is null or empty. This is considered an orphaned user and we're\r\n // going to set $ctrl.financials.convert.soldByID = null to force an invalid Assign to on the form.\r\n // 2. When the currently assigned user id $ctrl.financials.convert.soldByID does not exist in the list\r\n // of users $ctrl.financials.users. This too is considered an orphaned user, but with a non-blank\r\n // assignedUserFullName we're assuming the user has been disabled (enabled = 0). In this case we're\r\n // going to add this user to $ctrl.financials.users so it shows up as selected on the form.\r\n function _preProcessAssignTo() {\r\n var assignedUserFullName = $ctrl.financials.assignedUserFullName;\r\n var users = $ctrl.financials.users;\r\n\r\n // force user to select user if originalOwnerUserID is null (orphan case) \r\n // or if originalOwnerUserID == defaultUserID which also indicates an orphan case\r\n // or the soldByID == defaultUserID indicating that the current owner is disabled and soldByID was set to defaultuserID\r\n if (assignedUserFullName === null ||\r\n assignedUserFullName.trim() === '' ||\r\n $ctrl.financials.convert.originalOwnerUserID == null ||\r\n $ctrl.financials.convert.originalOwnerUserID == $ctrl.financials.convert.defaultUserID ||\r\n $ctrl.financials.convert.soldByID == $ctrl.financials.convert.defaultUserID)\r\n {\r\n $ctrl.financials.convert.soldByID = null;\r\n return;\r\n }\r\n\r\n var assignedUserID = $ctrl.financials.convert.soldByID;\r\n for (var i = 0; i < users.length; i++) {\r\n if (users[i].id === assignedUserID) return;\r\n }\r\n users.push({ id: assignedUserID, fullName: assignedUserFullName });\r\n\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./financials-balloon-sale.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('financialsBalloonSale', {\r\n templateUrl: '/app/components/deal-sheet/financial/financials-balloon-sale.component.html',\r\n controller: FinancialsBalloonSaleController,\r\n bindings: {\r\n financials: '<',\r\n financialForm: '<',\r\n reset: '<',\r\n checkValidation: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction FinancialsBalloonSaleController($q, $timeout, $document, $uibModal, monthlyPaymentAmountKey, financedAmountKey, residualKey,\r\n financeFieldPromptTitleKey, financeFieldPromptMessageKey) {\r\n var $ctrl = this;\r\n\r\n $ctrl.balloonFields;\r\n $ctrl.promptActive;\r\n $ctrl.onBalloonFieldChange = onBalloonFieldChange;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.$onInit = init;\r\n\r\n function onChanges(changes) {\r\n if (changes.reset && !changes.reset.isFirstChange()) {\r\n resetFinancials();\r\n }\r\n }\r\n\r\n function init() {\r\n $ctrl.balloonFields = {\r\n payment: 1,\r\n financedAmount: 2,\r\n residual: 3\r\n };\r\n\r\n $ctrl.promptActive = false;\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n $ctrl.calc = function () {\r\n _doBalloonCalc();\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function _doBalloonCalc() {\r\n // if payment & amount & deferred set, no need to calc, just return\r\n if ($ctrl.financials.convert.balloonPayment && $ctrl.financials.convert.balloonAmount && $ctrl.financials.convert.balloonResidual) { return; }\r\n // if no term ID or apr, just return, they're required to do the following calcs...\r\n if (!$ctrl.financials.convert.termID || !$ctrl.financials.convert.balloonRate) { return; }\r\n // do calcs: payment, amount, residual\r\n if ($ctrl.financials.convert.balloonAmount && $ctrl.financials.convert.balloonResidual) {\r\n _balloonPaymentByAmountAprAndResidual();\r\n } else if ($ctrl.financials.convert.balloonPayment && $ctrl.financials.convert.balloonResidual) {\r\n _balloonAmountByPaymentAprAndResidual();\r\n } else if ($ctrl.financials.convert.balloonAmount && $ctrl.financials.convert.balloonPayment) {\r\n _balloonResidualByAmountAprAndPayment();\r\n } else { return; }\r\n }\r\n\r\n function _balloonPaymentByAmountAprAndResidual() {\r\n var amount = $ctrl.financials.convert.balloonAmount;\r\n var residual = $ctrl.financials.convert.balloonResidual;\r\n var complexRate = _balloonRateComplexPart();\r\n var power = _balloonPower();\r\n var payment = Math.ceil(complexRate * (amount * power - residual));\r\n $ctrl.financials.convert.balloonPayment = payment;\r\n }\r\n\r\n function _balloonAmountByPaymentAprAndResidual() {\r\n var payment = $ctrl.financials.convert.balloonPayment;\r\n var residual = $ctrl.financials.convert.balloonResidual;\r\n var complexRate = _balloonRateComplexPart();\r\n var power = _balloonPower();\r\n var amount = Math.ceil((payment / complexRate + residual) / power);\r\n $ctrl.financials.convert.balloonAmount = amount;\r\n }\r\n\r\n function _balloonResidualByAmountAprAndPayment() {\r\n var payment = $ctrl.financials.convert.balloonPayment;\r\n var amount = $ctrl.financials.convert.balloonAmount;\r\n var complexRate = _balloonRateComplexPart();\r\n var power = _balloonPower();\r\n var residual = Math.ceil(-(payment / complexRate - amount * power));\r\n $ctrl.financials.convert.balloonResidual = residual;\r\n }\r\n\r\n function _balloonRateComplexPart() {\r\n var apr = _balloonAprFromBalloonRate();\r\n var power = _balloonPower();\r\n var complexRate = apr / (power - 1);\r\n return complexRate;\r\n }\r\n\r\n function _balloonAprFromBalloonRate() {\r\n var rate = $ctrl.financials.convert.balloonRate;\r\n var apr = rate / 1200;\r\n return apr;\r\n }\r\n\r\n function _balloonPower() {\r\n var termId = $ctrl.financials.convert.termID;\r\n var apr = _balloonAprFromBalloonRate();\r\n var power = Math.pow(1 + apr, termId);\r\n return power;\r\n }\r\n\r\n function resetFinancials() {\r\n $ctrl.financials.convert.soldByID = null;\r\n $ctrl.financials.convert.selectedBank = null;\r\n $ctrl.financials.convert.termID = null;\r\n $ctrl.financials.convert.balloonPayment = null;\r\n $ctrl.financials.convert.balloonRate = null;\r\n $ctrl.financials.convert.balloonAmount = null;\r\n $ctrl.financials.convert.balloonResidual = null;\r\n $ctrl.financials.convert.cashDown = null;\r\n $ctrl.financials.convert.mileageAtDelivery = null;\r\n $ctrl.financials.convert.soldAsNew = true;\r\n $ctrl.financials.convert.hasExtWarranty = false;\r\n $ctrl.financialForm.$setPristine();\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function onBalloonFieldChange(balloonField) {\r\n if ($ctrl.financials.convert.balloonRate && $ctrl.financials.convert.balloonAmount && $ctrl.financials.convert.balloonResidual && $ctrl.financials.convert.balloonPayment) {\r\n if (!$ctrl.promptActive) {\r\n recalculateBalloonFields(balloonField);\r\n }\r\n }\r\n else {\r\n $ctrl.calc();\r\n }\r\n }\r\n\r\n function recalculateBalloonFields(balloonFieldChanged) {\r\n var promptFields = [];\r\n\r\n switch (balloonFieldChanged) {\r\n case $ctrl.balloonFields.payment:\r\n promptFields.push(\r\n { value: $ctrl.balloonFields.financedAmount, text: financedAmountKey },\r\n { value: $ctrl.balloonFields.residual, text: residualKey }\r\n );\r\n break;\r\n case $ctrl.balloonFields.financedAmount:\r\n promptFields.push(\r\n { value: $ctrl.balloonFields.payment, text: monthlyPaymentAmountKey },\r\n { value: $ctrl.balloonFields.residual, text: residualKey }\r\n );\r\n break;\r\n case $ctrl.balloonFields.residual:\r\n promptFields.push(\r\n { value: $ctrl.balloonFields.payment, text: monthlyPaymentAmountKey },\r\n { value: $ctrl.balloonFields.financedAmount, text: financedAmountKey }\r\n );\r\n break;\r\n default:\r\n return;\r\n }\r\n\r\n promptFieldToRecalculate(promptFields)\r\n .then(recalculateBalloonField)\r\n .catch(function () {\r\n recalculateBalloonField(balloonFieldChanged);\r\n });\r\n }\r\n\r\n function promptFieldToRecalculate(promptFields) {\r\n $ctrl.promptActive = true;\r\n\r\n var deferred = $q.defer();\r\n\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'selectModal',\r\n appendTo: parentElem,\r\n backdrop: 'static',\r\n keyboard: false,\r\n resolve: {\r\n title: function () {\r\n return financeFieldPromptTitleKey;\r\n },\r\n message: function () {\r\n return financeFieldPromptMessageKey;\r\n },\r\n options: function () {\r\n return promptFields;\r\n }\r\n }\r\n });\r\n\r\n modalInstance.closed.then(function () {\r\n $ctrl.promptActive = false;\r\n deferred.reject();\r\n });\r\n\r\n modalInstance.result.then(function (balloonFieldSelected) {\r\n deferred.resolve(balloonFieldSelected);\r\n });\r\n\r\n return deferred.promise;\r\n }\r\n\r\n function recalculateBalloonField(balloonField) {\r\n switch (balloonField) {\r\n case $ctrl.balloonFields.payment:\r\n _balloonPaymentByAmountAprAndResidual();\r\n break;\r\n case $ctrl.balloonFields.financedAmount:\r\n _balloonAmountByPaymentAprAndResidual();\r\n break;\r\n case $ctrl.balloonFields.residual:\r\n _balloonResidualByAmountAprAndPayment();\r\n break;\r\n default:\r\n return;\r\n }\r\n $ctrl.checkValidation();\r\n }\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./financials-cash-sale.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('financialsCashSale', {\r\n templateUrl: '/app/components/deal-sheet/financial/financials-cash-sale.component.html',\r\n controller: FinancialsCashSaleController,\r\n bindings: {\r\n financials: '<',\r\n financialForm: '<',\r\n reset: '<',\r\n checkValidation: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction FinancialsCashSaleController($timeout) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if (changes.reset && !changes.reset.isFirstChange()) {\r\n resetFinancials();\r\n }\r\n }\r\n\r\n $ctrl.$onInit = function () {\r\n $ctrl.checkValidation();\r\n };\r\n\r\n function resetFinancials() {\r\n $ctrl.financials.convert.soldByID = null;\r\n $ctrl.financials.convert.cashAmount = null;\r\n $ctrl.financials.convert.mileageAtDelivery = null;\r\n $ctrl.financials.convert.soldAsNew = true;\r\n $ctrl.financials.convert.hasExtWarranty = false;\r\n $ctrl.financialForm.$setPristine();\r\n\r\n $ctrl.checkValidation();\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./financials-lease-sale.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('financialsLeaseSale', {\r\n templateUrl: '/app/components/deal-sheet/financial/financials-lease-sale.component.html',\r\n controller: FinancialsLeaseSaleController,\r\n bindings: {\r\n financials: '<',\r\n financialForm: '<',\r\n reset: '<',\r\n checkValidation: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction FinancialsLeaseSaleController($timeout,opportunityTypes) {\r\n var $ctrl = this;\r\n \r\n $ctrl.$onChanges = onChanges;\r\n\r\n\r\n function onChanges(changes) {\r\n \r\n if (changes.reset && !changes.reset.isFirstChange()) {\r\n resetFinancials();\r\n }\r\n }\r\n\r\n $ctrl.$onInit = function () {\r\n $ctrl.financialForm.$setPristine();\r\n $ctrl.checkValidation();\r\n SetCalculationOpton();\r\n };\r\n\r\n $ctrl.calc = function () {\r\n if ($ctrl.financialForm.$dirty){\r\n _doLeaseCalc();\r\n $ctrl.checkValidation();\r\n }\r\n }\r\n\r\n function SetCalculationOpton(){\r\n if ($ctrl.financials.opportunityType == opportunityTypes.conquest){\r\n $ctrl.calculations = 1;\r\n //webui-6138 rule: display APR\r\n _getSetLeaseRate();\r\n }\r\n else {\r\n $ctrl.calculations = 2;\r\n }\r\n }\r\n\r\n function _doLeaseCalc() {\r\n \r\n if (!$ctrl.financials.convert.leaseTotalPayment) { return; }\r\n _calcBasePayment();\r\n if (!$ctrl.financials.convert.termID) { return; }\r\n var termId = $ctrl.financials.convert.termID;\r\n var basePayment = $ctrl.financials.convert.leaseBasePayment;\r\n\r\n var paymentsMade = _paymentsMade(termId);\r\n\r\n if ($ctrl.financials.convert.leasePayoff && paymentsMade) {\r\n var apr = _getSetLeaseMoneyFactor();\r\n _calcLeaseNetCapCost(basePayment, termId, apr, paymentsMade);\r\n _calcLeaseResidual(basePayment, $ctrl.financials.convert.leaseNetCapCost, apr, termId);\r\n\r\n } else if ($ctrl.financials.convert.leaseNetCapCost && $ctrl.financials.convert.leaseResidual) {\r\n _moneyFactorByAmtResidulaAndTerm(basePayment, termId);\r\n _leaseRateByMoneyFactor();\r\n } else { return; }\r\n }\r\n\r\n function _calcBasePayment() {\r\n var payment = $ctrl.financials.convert.leaseTotalPayment;\r\n if ($ctrl.financials.convert.taxMonthlyPayment) {\r\n payment = Math.ceil(payment / (100 + $ctrl.financials.convert.leaseTaxRate) * 100);\r\n }\r\n $ctrl.financials.convert.leaseBasePayment = payment;\r\n }\r\n\r\n function _paymentsMade(termId) {\r\n\r\n if (!$ctrl.financials.convert.dealDate){\r\n return;\r\n }\r\n\r\n var date = $ctrl.financials.convert.dealDate;\r\n var today = new Date();\r\n var oneMonth = 1000 * 60 * 60 * 24 * 30.42;\r\n var paymentsMade = Math.ceil((today.getTime() - date.getTime()) / oneMonth);\r\n if (paymentsMade < 0) {\r\n paymentsMade = 0;\r\n } else if (paymentsMade > termId) {\r\n return NaN;\r\n }\r\n return paymentsMade;\r\n }\r\n\r\n function _getSetLeaseRate() {\r\n\r\n if ($ctrl.financialForm.leaseRate && $ctrl.financialForm.leaseRate.$dirty \r\n && $ctrl.financials.convert.leaseRate > -1 && $ctrl.financials.opportunityType == opportunityTypes.conquest)\r\n return $ctrl.financials.convert.leaseRate;\r\n\r\n if (!$ctrl.financials.convert.leaseRate && $ctrl.financials.opportunityType == opportunityTypes.conquest) {\r\n $ctrl.financials.convert.leaseRate = 6.00;\r\n }\r\n\r\n return $ctrl.financials.convert.leaseRate;\r\n }\r\n\r\n function _getSetLeaseMoneyFactor() {\r\n var leaseRate = _getSetLeaseRate();\r\n var apr = Math.ceil((leaseRate / 2400) * 10000) / 10000;\r\n $ctrl.financials.convert.leaseMoneyFactor = apr;\r\n return apr;\r\n }\r\n\r\n function _calcLeaseNetCapCost(basePayment, termId, apr, paymentsMade) {\r\n var leaseNetCapCost = Math.ceil((basePayment + (1 - termId * apr) * $ctrl.financials.convert.leasePayoff / paymentsMade) / (2 * apr + (1 - termId * apr) / paymentsMade));\r\n $ctrl.financials.convert.leaseNetCapCost = leaseNetCapCost;\r\n }\r\n\r\n function _calcLeaseResidual(basePayment, leaseNetCapCost, apr, termId) {\r\n var leaseResidual = Math.ceil((basePayment - leaseNetCapCost * (apr + 1 / termId)) / (apr - 1 / termId));\r\n $ctrl.financials.convert.leaseResidual = leaseResidual\r\n }\r\n\r\n function _moneyFactorByAmtResidulaAndTerm(basePayment, termId) {\r\n var leaseNetCapCost = $ctrl.financials.convert.leaseNetCapCost;\r\n var residual = $ctrl.financials.convert.leaseResidual;\r\n var moneyFactor = Math.ceil(10000 * (basePayment - (leaseNetCapCost - residual) / termId) / (leaseNetCapCost + residual)) / 10000;\r\n $ctrl.financials.convert.leaseMoneyFactor = moneyFactor;\r\n }\r\n\r\n function _leaseRateByMoneyFactor() {\r\n var apr = $ctrl.financials.convert.leaseMoneyFactor;\r\n var leaseRate = Math.ceil(apr * 2400 * 100) / 100;\r\n $ctrl.financials.convert.leaseRate = leaseRate;\r\n }\r\n\r\n function resetFinancials() {\r\n $ctrl.financials.convert.soldByID = null;\r\n $ctrl.financials.convert.selectedBank = null;\r\n $ctrl.financials.convert.termID = null;\r\n $ctrl.financials.convert.taxMonthlyPayment = true;\r\n $ctrl.financials.convert.leaseTotalPayment = null;\r\n $ctrl.financials.convert.leasePayoff = null;\r\n $ctrl.financials.convert.leaseRate = null;\r\n $ctrl.financials.convert.leaseMoneyFactor = null;\r\n $ctrl.financials.convert.leaseNetCapCost = null;\r\n $ctrl.financials.convert.leaseResidual = null;\r\n $ctrl.financials.convert.leaseAnnualMiles = null;\r\n $ctrl.financials.convert.cashDown = null;\r\n $ctrl.financials.convert.mileageAtDelivery = null;\r\n $ctrl.financials.convert.soldAsNew = true;\r\n $ctrl.financialForm.$setPristine();\r\n\r\n\r\n\r\n\r\n $ctrl.checkValidation();\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./financials-retail-sale.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('financialsRetailSale', {\r\n templateUrl: '/app/components/deal-sheet/financial/financials-retail-sale.component.html',\r\n controller: FinancialsRetailSaleController,\r\n bindings: {\r\n financials: '<',\r\n financialForm: '<',\r\n reset: '<',\r\n checkValidation: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction FinancialsRetailSaleController($q, $timeout, $document, $uibModal, monthlyPaymentAmountKey, financedAmountKey, aprKey,\r\n financeFieldPromptTitleKey, financeFieldPromptMessageKey) {\r\n var $ctrl = this;\r\n\r\n $ctrl.retailFields;\r\n $ctrl.promptActive;\r\n $ctrl.onRetailFieldChange = onRetailFieldChange;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.$onInit = init;\r\n\r\n function onChanges(changes) {\r\n if (changes.reset && !changes.reset.isFirstChange()) {\r\n resetFinancials();\r\n }\r\n }\r\n\r\n function init() {\r\n $ctrl.retailFields = {\r\n payment: 1,\r\n financedAmount: 2,\r\n apr: 3\r\n };\r\n\r\n $ctrl.promptActive = false;\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n $ctrl.calcPurchaseRate = function () {\r\n $ctrl.financials.convert.purchaseRate = null;\r\n $ctrl.calc();\r\n }\r\n\r\n $ctrl.calc = function () {\r\n _doRetailCalc();\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function _doRetailCalc() {\r\n if (!$ctrl.financials.convert.termID) { return; }\r\n\r\n if ($ctrl.financials.convert.purchaseAmount && $ctrl.financials.convert.purchaseRate && !$ctrl.financials.convert.purchasePayment) {\r\n _retailPaymentByRateAndAmount();\r\n } else if ($ctrl.financials.convert.purchaseAmount && $ctrl.financials.convert.purchasePayment && !$ctrl.financials.convert.purchaseRate) {\r\n _retailRateByAmountAndPayment();\r\n } else if ($ctrl.financials.convert.purchaseRate && $ctrl.financials.convert.purchasePayment && !$ctrl.financials.convert.purchaseAmount) {\r\n _retailAmountByRateAndPayment();\r\n } else { return; }\r\n }\r\n\r\n function _retailRateByAmountAndPayment() {\r\n var termId = $ctrl.financials.convert.termID;\r\n var payment = $ctrl.financials.convert.purchasePayment;\r\n var amount = $ctrl.financials.convert.purchaseAmount;\r\n var rl = -0.001 / 1200;\r\n var rr = 30.00 / 1200;\r\n var iterationCount = 20; // max iteration count\r\n for (var i = 0; i <= iterationCount; i++) {\r\n if (i == iterationCount) { return ''; }\r\n var rm = (rr + rl) / 2;\r\n var amt_l = payment / (Math.pow(1 + rl, termId) * rl) * (Math.pow(1 + rl, termId) - 1);\r\n var amt_r = payment / (Math.pow(1 + rr, termId) * rr) * (Math.pow(1 + rr, termId) - 1);\r\n var amt_m = payment / (Math.pow(1 + rm, termId) * rm) * (Math.pow(1 + rm, termId) - 1);\r\n if (amount <= amt_l && amount >= amt_m) { rr = rm; } else { rl = rm; }\r\n if (Math.abs(amount - amt_m) < .5) { break; }\r\n }\r\n if (rl < 0) {\r\n rl = 0;\r\n rr = 0;\r\n }\r\n var result = Math.floor(((rr + rl) / 2) * 120000) / 100;\r\n $ctrl.financials.convert.purchaseRate = result;\r\n }\r\n\r\n function _retailAmountByRateAndPayment() {\r\n var termId = $ctrl.financials.convert.termID;\r\n var payment = $ctrl.financials.convert.purchasePayment;\r\n var apr = _getAprFromPurchaseRate();\r\n var power = Math.pow(1 + apr, termId);\r\n var result;\r\n if (apr > 0) {\r\n result = Math.ceil(payment / ((apr * power) / (power - 1)));\r\n } else {\r\n result = Math.ceil(payment * termId);\r\n }\r\n $ctrl.financials.convert.purchaseAmount = result;\r\n }\r\n\r\n function _retailPaymentByRateAndAmount() {\r\n var termId = $ctrl.financials.convert.termID;\r\n var amount = $ctrl.financials.convert.purchaseAmount;\r\n var apr = _getAprFromPurchaseRate();\r\n var power = Math.pow(1 + apr, termId);\r\n var result;\r\n if (apr > 0) {\r\n result = Math.ceil(amount * ((apr * power) / (power - 1)));\r\n } else {\r\n result = Math.ceil(amount / termId);\r\n }\r\n $ctrl.financials.convert.purchasePayment = result;\r\n }\r\n\r\n function _getAprFromPurchaseRate() {\r\n var rate = $ctrl.financials.convert.purchaseRate;\r\n var apr = rate / 1200;\r\n return apr;\r\n }\r\n\r\n function resetFinancials() {\r\n $ctrl.financials.convert.soldByID = null;\r\n $ctrl.financials.convert.selectedBank = null;\r\n $ctrl.financials.convert.termID = null;\r\n $ctrl.financials.convert.purchasePayment = null;\r\n $ctrl.financials.convert.purchaseRate = null;\r\n $ctrl.financials.convert.purchaseAmount = null;\r\n $ctrl.financials.convert.cashDown = null;\r\n $ctrl.financials.convert.mileageAtDelivery = null;\r\n $ctrl.financials.convert.soldAsNew = true;\r\n $ctrl.financials.convert.hasExtWarranty = false;\r\n $ctrl.financialForm.$setPristine();\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function onRetailFieldChange(retailField) {\r\n if ($ctrl.financials.convert.purchaseAmount && $ctrl.financials.convert.purchaseRate && $ctrl.financials.convert.purchasePayment) {\r\n if (!$ctrl.promptActive) {\r\n recalculateRetailFields(retailField);\r\n }\r\n }\r\n else {\r\n $ctrl.calc();\r\n }\r\n }\r\n\r\n function recalculateRetailFields(retailFieldChanged) {\r\n var promptFields = [];\r\n\r\n switch (retailFieldChanged) {\r\n case $ctrl.retailFields.payment:\r\n promptFields.push(\r\n { value: $ctrl.retailFields.financedAmount, text: financedAmountKey },\r\n { value: $ctrl.retailFields.apr, text: aprKey }\r\n );\r\n break;\r\n case $ctrl.retailFields.financedAmount:\r\n promptFields.push(\r\n { value: $ctrl.retailFields.payment, text: monthlyPaymentAmountKey },\r\n { value: $ctrl.retailFields.apr, text: aprKey }\r\n );\r\n break;\r\n case $ctrl.retailFields.apr:\r\n promptFields.push(\r\n { value: $ctrl.retailFields.payment, text: monthlyPaymentAmountKey },\r\n { value: $ctrl.retailFields.financedAmount, text: financedAmountKey }\r\n );\r\n break;\r\n default:\r\n return;\r\n }\r\n\r\n promptFieldToRecalculate(promptFields)\r\n .then(recalculateRetailField)\r\n .catch(function () {\r\n recalculateRetailField(retailFieldChanged);\r\n });\r\n }\r\n\r\n function promptFieldToRecalculate(promptFields) {\r\n $ctrl.promptActive = true;\r\n\r\n var deferred = $q.defer();\r\n\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'selectModal',\r\n appendTo: parentElem,\r\n backdrop: 'static',\r\n keyboard: false,\r\n resolve: {\r\n title: function () {\r\n return financeFieldPromptTitleKey;\r\n },\r\n message: function () {\r\n return financeFieldPromptMessageKey;\r\n },\r\n options: function () {\r\n return promptFields;\r\n }\r\n }\r\n });\r\n\r\n modalInstance.closed.then(function () {\r\n $ctrl.promptActive = false;\r\n deferred.reject();\r\n });\r\n\r\n modalInstance.result.then(function (retailFieldSelected) {\r\n deferred.resolve(retailFieldSelected);\r\n });\r\n\r\n return deferred.promise;\r\n }\r\n\r\n function recalculateRetailField(retailField) {\r\n switch (retailField) {\r\n case $ctrl.retailFields.payment:\r\n _retailPaymentByRateAndAmount();\r\n break;\r\n case $ctrl.retailFields.financedAmount:\r\n _retailAmountByRateAndPayment();\r\n break;\r\n case $ctrl.retailFields.apr:\r\n $ctrl.financials.convert.purchaseRate = null;\r\n _retailRateByAmountAndPayment();\r\n break;\r\n default:\r\n return;\r\n }\r\n $ctrl.checkValidation();\r\n }\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./log-call-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('logCallAction', {\r\n templateUrl: '/app/components/deal-sheet/log-call-action.component.html',\r\n controller: LogCallActionController,\r\n bindings: {\r\n opportunityId: '<',\r\n assignedUserId: '<',\r\n ownerUserInfo: '<',\r\n maxScheduleFutureDays: '<',\r\n users: '<',\r\n permissions: '<',\r\n onStart: '&',\r\n onSuccess: '&',\r\n onError: '&',\r\n onNoLongerOwns: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction LogCallActionController($document, $translate, $uibModal, toaster, activityService, dealSheetService, messageTypes, successKey, activityPostedKey, ActivityActionEnum, activityResults) {\r\n var $ctrl = this;\r\n\r\n $ctrl.activity;\r\n $ctrl.logCallError;\r\n $ctrl.resetLogCall;\r\n $ctrl.ActivityActionEnum = ActivityActionEnum;\r\n $ctrl.setActivity = setActivity;\r\n $ctrl.submitLogCall = submitLogCall;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if ($ctrl.opportunityId && $ctrl.maxScheduleFutureDays && $ctrl.users && $ctrl.ownerUserInfo) {\r\n $ctrl.scheduleModalParamObject = dealSheetService.getModalParamObject(null, $ctrl.opportunityId, null, $ctrl.assignedUserId, $ctrl.maxScheduleFutureDays,\r\n $ctrl.users, null, $ctrl.ownerUserInfo);\r\n }\r\n }\r\n\r\n function submitLogCall() {\r\n if (!$ctrl.activity) {\r\n $ctrl.logCallError = !$ctrl.logCallError;\r\n return;\r\n }\r\n\r\n var activityResultSold = 7;\r\n if ($ctrl.activity.resultID == activityResultSold) {\r\n $ctrl.onStart();\r\n }\r\n\r\n activityService.postActivitySubmitAction($ctrl.activity)\r\n .then(function (returnedData) {\r\n\r\n if (returnedData == 'followup-cancel') {\r\n onScheduleCallApptSubmit();\r\n return;\r\n }\r\n else if (returnedData != 'cancel' || returnedData != 'submit') {\r\n if (returnedData.followUpActions.length > 1) {\r\n openFollowUpActions(returnedData)\r\n }\r\n else if (returnedData.followUpActions.length > 0) {\r\n $ctrl.scheduleModalParamObject.modalType = returnedData.followUpActions[0].activityActionId;\r\n dealSheetService.openScheduleModal($ctrl.scheduleModalParamObject, onScheduleCallApptSubmit);\r\n }\r\n else {\r\n\r\n if (returnedData.activityId == ActivityActionEnum.Schedule_Call || returnedData.activityId == ActivityActionEnum.Schedule_Appt)\r\n onScheduleCallApptSubmit();\r\n else if ($ctrl.activity.resultID == activityResultSold) {\r\n $ctrl.resetLogCall = true;\r\n $ctrl.onSuccess();\r\n }\r\n else {\r\n if ($ctrl.activity.resultID == activityResults.phoneCall.noLongerOwns || $ctrl.activity.resultID == activityResults.note.noLongerOwns) {\r\n $ctrl.onNoLongerOwns();\r\n }\r\n $ctrl.resetLogCall = true;\r\n $translate([successKey, activityPostedKey]).then(function (translations) {\r\n toaster.pop({\r\n type: messageTypes.success,\r\n title: translations[successKey],\r\n body: translations[activityPostedKey]\r\n });\r\n })\r\n $ctrl.activity = null;\r\n }\r\n }\r\n }\r\n })\r\n .catch(function () {\r\n $ctrl.onError();\r\n $ctrl.activity = null;\r\n });\r\n }\r\n\r\n function onScheduleCallApptSubmit(returnKey) {\r\n if (returnKey == 'onVehicleSold') {\r\n $ctrl.resetLogCall = true;\r\n $ctrl.onSuccess();\r\n }\r\n else {\r\n $ctrl.resetLogCall = true;\r\n $translate([successKey, activityPostedKey]).then(function (translations) {\r\n toaster.pop({\r\n type: messageTypes.success,\r\n title: translations[successKey],\r\n body: translations[activityPostedKey]\r\n });\r\n })\r\n $ctrl.onSuccess();\r\n }\r\n }\r\n\r\n function openFollowUpActions(followUpActions) {\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: \"activityFollowUpModal\",\r\n appendTo: parentElem,\r\n resolve: {\r\n followUpActions: function () {\r\n return followUpActions;\r\n }\r\n }\r\n });\r\n\r\n modalInstance.result.then(function (modalType) {\r\n if (modalType != 'followup-cancel') {\r\n $ctrl.scheduleModalParamObject.modalType = modalType;\r\n dealSheetService.openScheduleModal($ctrl.scheduleModalParamObject, onScheduleCallApptSubmit);\r\n }\r\n else {\r\n onScheduleCallApptSubmit();\r\n }\r\n });\r\n }\r\n\r\n function setActivity(activity) {\r\n $ctrl.activity = activity;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./log-call.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nangular.module('AaApp.Opp').component('logCall', {\r\n templateUrl: '/app/components/deal-sheet/log-call.component.html',\r\n controller: LogCallController,\r\n bindings: {\r\n opportunityId: '<',\r\n permissions: '<',\r\n notesType: '<',\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n onLogCallEdit: '&',\r\n isReset: '<',\r\n isError: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction LogCallController($filter, \r\n logEmailSentTitleKey,\r\n postNotesTitleKey,\r\n logCallTitleKey,\r\n cancelTitleCallKey,\r\n cancelTitleApptKey,\r\n completeTitleCallKey,\r\n completeTitleApptKey,\r\n ActivityActionEnum, activityResultDescriptors) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onChanges = onChanges;\r\n\r\n\r\n $ctrl.onEdit = onEdit;\r\n $ctrl.isLogEmail = false;\r\n $ctrl.activity = null;\r\n $ctrl.onTypeOfCallSelect = onTypeOfCallSelect;\r\n $ctrl.removeFromActivityResults = removeFromActivityResults;\r\n $ctrl.errorMessage = \"\";\r\n\r\n // ActionResultSetID mapped to setID of json AutoAlert/API/activity-results.json\r\n var callActionResultSetID = 1;\r\n var apptActionResultSetID = 2;\r\n var noteActionResultSetID = 3;\r\n var emailActionResultSetID = -1;\r\n\r\n // models for display\r\n var noteObject = {\r\n call: { activityId: ActivityActionEnum.Log_Call, description: logCallTitleKey, resultType: callActionResultSetID, resultLabelKey: \"logCallResult\", isCallBoundTypeVisible: true },\r\n note: { activityId: ActivityActionEnum.Post_Note, description: postNotesTitleKey, resultType: noteActionResultSetID, resultLabelKey: \"postNotesResult\", isCallBoundTypeVisible: false },\r\n email: { activityId: ActivityActionEnum.Email_Sent, description: logEmailSentTitleKey, resultType: emailActionResultSetID, resultLabelKey: \"result\", isCallBoundTypeVisible: false },\r\n cancelCallActivity: { activityId: ActivityActionEnum.Cancel_Call, description: cancelTitleCallKey, resultType: emailActionResultSetID, resultLabelKey: \"result\", isCallBoundTypeVisible: false },\r\n cancelApptActivity: { activityId: ActivityActionEnum.Cancel_Appt, description: cancelTitleApptKey, resultType: emailActionResultSetID, resultLabelKey: \"result\", isCallBoundTypeVisible: false },\r\n completeCallActivity: { activityId: ActivityActionEnum.Phone_Call_Completed, description: completeTitleCallKey, resultType: callActionResultSetID, resultLabelKey: \"logCallResult\", isCallBoundTypeVisible: false },\r\n completeApptActivity: { activityId: ActivityActionEnum.Appointment_Completed, description: completeTitleApptKey, resultType: apptActionResultSetID, resultLabelKey: \"resultOfAppointment\", isCallBoundTypeVisible: false }\r\n }\r\n\r\n // model for UI\r\n $ctrl.activityResultsList = {};\r\n $ctrl.status = { opened: false };\r\n $ctrl.model = { notes: '', resultID: \"-1\", callBoundType: null };\r\n $ctrl.open = function ($event) {\r\n $ctrl.status.opened = true;\r\n };\r\n\r\n\r\n function onTypeOfCallSelect(data) {\r\n $ctrl.model.callBoundType = data; \r\n }\r\n\r\n function onChanges(changes) {\r\n\r\n if (changes.isReset && !changes.isReset.isFirstChange()) {\r\n $ctrl.model = { notes: '', resultID: \"-1\", callBoundType: $ctrl.model.callBoundType };\r\n $ctrl.errorMessage = \"\";\r\n }\r\n\r\n if (changes.isError && !changes.isError.isFirstChange()) {\r\n $ctrl.errorMessage = \"postnotesResultErrorMsg\";\r\n }\r\n\r\n\r\n\r\n if ($ctrl.resolve) {\r\n $ctrl.opportunityId = $ctrl.resolve.items.opportunityId;\r\n $ctrl.dealerId = $ctrl.resolve.items.dealerId;\r\n $ctrl.notesType = $ctrl.resolve.items.modalType;\r\n if ($ctrl.resolve.items.activityObject)\r\n $ctrl.activity = $ctrl.resolve.items.activityObject;\r\n\r\n }\r\n switch ($ctrl.notesType) {\r\n case ActivityActionEnum.Post_Note:\r\n $ctrl.currentNoteType = noteObject.note;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n setActivityResults();\r\n break;\r\n case ActivityActionEnum.Log_Call:\r\n $ctrl.currentNoteType = noteObject.call;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n setActivityResults();\r\n break;\r\n case ActivityActionEnum.Email_Sent:\r\n $ctrl.currentNoteType = noteObject.email;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n $ctrl.isLogEmail = true;\r\n break;\r\n case ActivityActionEnum.Cancel_Call:\r\n $ctrl.currentNoteType = noteObject.cancelCallActivity;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n $ctrl.isLogEmail = true;\r\n break;\r\n case ActivityActionEnum.Cancel_Appt:\r\n $ctrl.currentNoteType = noteObject.cancelApptActivity;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n $ctrl.isLogEmail = true;\r\n break;\r\n case ActivityActionEnum.Phone_Call_Completed:\r\n $ctrl.currentNoteType = noteObject.completeCallActivity;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n setActivityResults();\r\n break;\r\n case ActivityActionEnum.Appointment_Completed:\r\n $ctrl.currentNoteType = noteObject.completeApptActivity;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n setActivityResults();\r\n break;\r\n }\r\n\r\n\r\n }\r\n\r\n // set default selection and get drop down list\r\n function setActivityResults() {\r\n $ctrl.activityResultsList = $filter('filter')(activityResultDescriptors, { setID: $ctrl.currentNoteType.resultType });\r\n\r\n if ($ctrl.permissions) {\r\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsSold, 7);\r\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsSold, 11);\r\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsSold, 23);\r\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsPaidOff, 33);\r\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsNotOwn, 28);\r\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsNotOwn, 31);\r\n }\r\n\r\n $ctrl.model.resultID = -1 + \"\";\r\n }\r\n\r\n function removeFromActivityResults(hasPermission, activityResultId) {\r\n if (!hasPermission) {\r\n var index = _.findIndex($ctrl.activityResultsList, (item) => item.activityResultID == activityResultId);\r\n if (index > -1) {\r\n $ctrl.activityResultsList.splice(index, 1);\r\n }\r\n }\r\n }\r\n\r\n function onEdit() {\r\n if ($ctrl.model.resultID <= -1) {\r\n switch ($ctrl.notesType) {\r\n case ActivityActionEnum.Post_Note:\r\n case ActivityActionEnum.Log_Call:\r\n case ActivityActionEnum.Phone_Call_Completed:\r\n case ActivityActionEnum.Appointment_Completed:\r\n $ctrl.onLogCallEdit({ $value: null });\r\n return;\r\n }\r\n }\r\n\r\n //usSpinnerService.spin('post-notes-spinner');\r\n var recordId = null;\r\n if ($ctrl.activity)\r\n recordId = $ctrl.activity.activityId;\r\n\r\n // model to save\r\n var activity = {\r\n entityID: $ctrl.opportunityId,\r\n activityActionID: $ctrl.currentNoteType.activityId,\r\n notes: $ctrl.model.notes,\r\n resultID: $ctrl.model.resultID,\r\n activityId: recordId,\r\n activityActionSubTypeID: $ctrl.model.callBoundType\r\n }\r\n\r\n if (!activity.notes)\r\n activity.notes = '';\r\n\r\n if (activity.resultID == -1)\r\n activity.resultID = null;\r\n\r\n //fire event with activity that needs to be submitted\r\n $ctrl.onLogCallEdit({ $value: activity });\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./action-checkbox.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('actionCheckbox', {\r\n templateUrl: '/app/components/deal-sheet/action-checkbox.component.html',\r\n controller: ActionCheckboxController,\r\n bindings: {\r\n entityId: '<',\r\n displayNlo: '<',\r\n nloData: '<',\r\n status: '<',\r\n permissions: '<',\r\n action: '<',\r\n checkedAction: '<',\r\n onChange: '&',\r\n onNlo: '&',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ActionCheckboxController(opportunityStatuses, vehicleActions) {\r\n var $ctrl = this;\r\n\r\n $ctrl.visible;\r\n $ctrl.enabled;\r\n $ctrl.disabled;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.vehicleActions = vehicleActions;\r\n $ctrl.onMarkAsNLO = onMarkAsNLO;\r\n\r\n function onChanges(changes) {\r\n if (changes.status && changes.status.currentValue && $ctrl.permissions.editMarkAsSold) {\r\n $ctrl.visible = $ctrl.status != opportunityStatuses.closed;\r\n $ctrl.disabled = $ctrl.status == opportunityStatuses.sold || $ctrl.status == opportunityStatuses.closed;\r\n }\r\n if (changes.checkedAction && changes.checkedAction.currentValue) {\r\n if ($ctrl.action == $ctrl.vehicleActions.purchasedByDealer) {\r\n $ctrl.enabled = $ctrl.checkedAction == 72;\r\n }\r\n if ($ctrl.action == $ctrl.vehicleActions.doesNotOwnVehicle) {\r\n $ctrl.enabled = $ctrl.checkedAction == 26;\r\n }\r\n }\r\n }\r\n\r\n function onMarkAsNLO(e) {\r\n $ctrl.onNlo({ markAsNLO: e.markAsNLO });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./mark-as-sold.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('markAsSold', {\r\n templateUrl: '/app/components/deal-sheet/mark-as-sold.component.html',\r\n controller: MarkAsSoldController,\r\n bindings: {\r\n status: '<',\r\n permissions: '<',\r\n onChange: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction MarkAsSoldController(opportunityStatuses) {\r\n var $ctrl = this;\r\n\r\n $ctrl.visible;\r\n $ctrl.enabled;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if (changes.status && changes.status.currentValue && $ctrl.permissions.editMarkAsSold) {\r\n $ctrl.visible = $ctrl.status != opportunityStatuses.closed;\r\n $ctrl.enabled = $ctrl.status == opportunityStatuses.sold;\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./activity-follow-up-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('activityFollowUpModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/activity-follow-up-modal.component.html',\r\n controller: ActivityFollowUpController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ActivityFollowUpController($translate, $translatePartialLoader, scheduleTitleApptKey, scheduleTitleCallKey, ActivityActionEnum) {\r\n var $ctrl = this;\r\n\r\n $ctrl.submitFollowUpClick = submitFollowUpClick;\r\n $ctrl.cancelClick = cancelClick;\r\n\r\n $ctrl.followUpActions = [];\r\n\r\n // model for display buttons\r\n var uiButtonsTypes = {\r\n scheduleCall: { activityId: ActivityActionEnum.Schedule_Call, activityActionName: scheduleTitleCallKey, activityIcon: \"icon lg aa-icon-core-schedule-phone-call-000002\" },\r\n scheduleAppt: { activityId: ActivityActionEnum.Schedule_Appt, activityActionName: scheduleTitleApptKey, activityIcon: \"icon lg aa-icon-core-calendar-icon-000000\" },\r\n }\r\n\r\n $ctrl.followUpActions = getFollowUpUIModel($ctrl.resolve.followUpActions);\r\n\r\n\r\n function getFollowUpUIModel(actions) {\r\n for (var i = 0; i < actions.followUpActions.length ; i++) {\r\n if (actions.followUpActions[i].activityActionId == ActivityActionEnum.Schedule_Call)\r\n actions.followUpActions[i].displayData = uiButtonsTypes.scheduleCall;\r\n else if (actions.followUpActions[i].activityActionId == ActivityActionEnum.Schedule_Appt)\r\n actions.followUpActions[i].displayData = uiButtonsTypes.scheduleAppt;\r\n }\r\n return actions.followUpActions;\r\n }\r\n\r\n function cancelClick() {\r\n //$ctrl.dismiss({ $value: 'cancel' });\r\n $ctrl.close({ $value: 'followup-cancel' });\r\n }\r\n\r\n function submitFollowUpClick(selectedActivityId) {\r\n $ctrl.close({ $value: selectedActivityId });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./credit-soft-pull-result-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('creditSoftPullResultModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/credit-soft-pull-result-modal.component.html',\r\n controller: CreditSoftPullResultModalController,\r\n bindings: {\r\n close: '&',\r\n dismiss: '&',\r\n resolve: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CreditSoftPullResultModalController(_, creditTiers, $window) {\r\n var $ctrl = this;\r\n\r\n $ctrl.creditTierTranslateKeys;\r\n $ctrl.$onInit = init;\r\n $ctrl.getCreditReport = getCreditReport;\r\n\r\n function init() {\r\n $ctrl.creditTierTranslateKeys = _.invert(creditTiers);\r\n }\r\n\r\n function getCreditReport() {\r\n var wnd = $window.open(\"about:blank\", \"_blank\");\r\n wnd.document.write($ctrl.resolve.value.customReportHTML); \r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./customer-edit-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('customerEditModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/customer-edit-modal.component.html',\r\n controller: CustomerEditModal,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CustomerEditModal($uibModal, $document, optInConfirmationMessageKey, optInConfirmationTitleKey, $scope) {\r\n var $ctrl = this;\r\n\r\n $ctrl.originalCustomer;\r\n $ctrl.customer;\r\n $ctrl.validCustomer = true;\r\n $ctrl.onCustomerEdit = onCustomerEdit;\r\n $ctrl.submit = submit;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n if ($ctrl.resolve && $ctrl.resolve.customer) {\r\n $ctrl.originalCustomer = $ctrl.resolve.customer;\r\n $ctrl.customer = $ctrl.resolve.customer;\r\n }\r\n }\r\n\r\n function onCustomerEdit(customer, valid) {\r\n $ctrl.customer = customer;\r\n $ctrl.validCustomer = valid;\r\n }\r\n\r\n function submit() {\r\n if (($ctrl.originalCustomer.doNotCall && !$ctrl.customer.doNotCall) || ($ctrl.originalCustomer.doNotEmail && !$ctrl.customer.doNotEmail)\r\n || ($ctrl.originalCustomer.doNotMail && !$ctrl.customer.doNotMail)) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return optInConfirmationTitleKey;\r\n },\r\n message: function () {\r\n return optInConfirmationMessageKey;\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n $ctrl.close({ $value: $ctrl.customer });\r\n });\r\n } else {\r\n $ctrl.close({ $value: $ctrl.customer });\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./deal-sheet-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('dealSheetModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/deal-sheet-modal.component.html',\r\n controller: DealSheetModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DealSheetModalController($rootScope, globalIframeService) {\r\n var $ctrl = this;\r\n $ctrl.$onInit = $onInit;\r\n\r\n function $onInit() {\r\n const subscription = globalIframeService.subscribe(messageHandler);\r\n $ctrl.$onDestroy = () => subscription.unsubscribe();\r\n }\r\n\r\n // this is called from legacy popup deal sheet not the angular deal sheet.\r\n function messageHandler({ data }) {\r\n if (data['DEAL_SHEET_CLOSE']) {\r\n $ctrl.close();\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./deal-sheet-lite-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('dealSheetLiteModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/deal-sheet-lite-modal.component.html',\r\n controller: DealSheetLiteModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DealSheetLiteModalController($rootScope, globalIframeService) {\r\n var $ctrl = this;\r\n $ctrl.$onInit = $onInit;\r\n\r\n function $onInit() {\r\n const { unsubscribe } = globalIframeService.subscribe(messageHandler);\r\n $ctrl.$onDestroy = unsubscribe;\r\n }\r\n\r\n // this is called from legacy popup deal sheet not the angular deal sheet.\r\n function messageHandler({ data }) {\r\n if (data['DEAL_SHEET_CLOSE']) {\r\n $ctrl.close();\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./log-call-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('logCallModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/log-call-modal.component.html',\r\n controller: LogCallModal,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction LogCallModal(activityService, logCallTitleKey) {\r\n var $ctrl = this;\r\n $ctrl.prepareData = 0;\r\n $ctrl.activity = null;\r\n $ctrl.validCustomer = true;\r\n $ctrl.onLogCallEdit = onLogCallEdit;\r\n $ctrl.onSubmit = onSubmit;\r\n $ctrl.$onInit = init;\r\n $ctrl.logCallTitleKey = logCallTitleKey;\r\n $ctrl.LogCallError = false;\r\n\r\n function init() {\r\n if ($ctrl.resolve && $ctrl.resolve.customer) {\r\n $ctrl.customer = $ctrl.resolve.customer;\r\n }\r\n }\r\n\r\n function onLogCallEdit(data) {\r\n $ctrl.activity = data;\r\n }\r\n\r\n function onSubmit() {\r\n // process what needs to be done then fire close event;\r\n if (!$ctrl.activity) {\r\n // toggle binding and notify component to display error message\r\n $ctrl.LogCallError = !$ctrl.LogCallError;\r\n return;\r\n }\r\n\r\n $ctrl.submitting = activityService.postActivitySubmitAction($ctrl.activity)\r\n .then(function (data) {\r\n data.activityId = $ctrl.activity.activityActionID;\r\n data.activityResult = $ctrl.activity.resultID;\r\n $ctrl.submitting = null;\r\n $ctrl.activity = null;\r\n $ctrl.close({ $value: data });// pass follow-up actions to caller\r\n })\r\n .catch(function () {\r\n $ctrl.submitting = null;\r\n $ctrl.activity = null;\r\n });\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./post-notes.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('postNotes', {\r\n templateUrl: '/app/components/deal-sheet/modals/post-notes.component.html',\r\n controller: PostNotesController,\r\n bindings: {\r\n opportunityId: '<',\r\n notesType: '<',\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction PostNotesController($filter, $translate, $translatePartialLoader,\r\n logEmailSentTitleKey,\r\n postNotesTitleKey,\r\n logCallTitleKey,\r\n cancelTitleCallKey,\r\n cancelTitleApptKey,\r\n completeTitleCallKey,\r\n completeTitleApptKey,\r\n activityService, ActivityActionEnum, activitySubTypes, activityResultDescriptors, activityResults) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.submitClick = submitClick;\r\n $ctrl.cancelClick = cancelClick;\r\n $ctrl.postActivity = postActivity;\r\n $ctrl.isLogEmail = false;\r\n $ctrl.activity = null;\r\n $ctrl.onTypeOfCallSelect = onTypeOfCallSelect;\r\n\r\n // ActionResultSetID mapped to setID of json AutoAlert/API/activity-results.json\r\n var callActionResultSetID = 1;\r\n var apptActionResultSetID = 2;\r\n var noteActionResultSetID = 3;\r\n var emailActionResultSetID = -1;\r\n\r\n // models for display\r\n var noteObject = {\r\n call: { activityId: ActivityActionEnum.Log_Call, description: logCallTitleKey, resultType: callActionResultSetID, resultLabelKey: \"logCallResult\", isCallBoundTypeVisible: true },\r\n note: { activityId: ActivityActionEnum.Post_Note, description: postNotesTitleKey, resultType: noteActionResultSetID, resultLabelKey: \"postNotesResult\", isCallBoundTypeVisible: false },\r\n email: { activityId: ActivityActionEnum.Email_Sent, description: logEmailSentTitleKey, resultType: emailActionResultSetID, resultLabelKey: \"result\", isCallBoundTypeVisible: false },\r\n cancelCallActivity: { activityId: ActivityActionEnum.Cancel_Call, description: cancelTitleCallKey, resultType: emailActionResultSetID, resultLabelKey: \"result\", isCallBoundTypeVisible: false },\r\n cancelApptActivity: { activityId: ActivityActionEnum.Cancel_Appt, description: cancelTitleApptKey, resultType: emailActionResultSetID, resultLabelKey: \"result\", isCallBoundTypeVisible: false },\r\n completeCallActivity: { activityId: ActivityActionEnum.Phone_Call_Completed, description: completeTitleCallKey, resultType: callActionResultSetID, resultLabelKey: \"logCallResult\", isCallBoundTypeVisible: false },\r\n completeApptActivity: { activityId: ActivityActionEnum.Appointment_Completed, description: completeTitleApptKey, resultType: apptActionResultSetID, resultLabelKey: \"resultOfAppointment\", isCallBoundTypeVisible: false }\r\n }\r\n\r\n // model for UI\r\n $ctrl.activityResultsList = {};\r\n $ctrl.status = { opened: false };\r\n $ctrl.model = { notes: '', resultID: -1, callBoundType: null };\r\n $ctrl.open = function ($event) {\r\n $ctrl.status.opened = true;\r\n };\r\n\r\n function onTypeOfCallSelect(data) {\r\n $ctrl.model.callBoundType = data;\r\n }\r\n\r\n function onChanges() {\r\n if ($ctrl.resolve) {\r\n\r\n $ctrl.opportunityId = $ctrl.resolve.items.opportunityId;\r\n $ctrl.dealerId = $ctrl.resolve.items.dealerId;\r\n $ctrl.notesType = $ctrl.resolve.items.modalType;\r\n if ($ctrl.resolve.items.activityObject)\r\n $ctrl.activity = $ctrl.resolve.items.activityObject;\r\n\r\n }\r\n switch ($ctrl.notesType) {\r\n case ActivityActionEnum.Post_Note:\r\n $ctrl.currentNoteType = noteObject.note;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n setActivityResults();\r\n break;\r\n case ActivityActionEnum.Log_Call:\r\n $ctrl.currentNoteType = noteObject.call;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n setActivityResults();\r\n break;\r\n case ActivityActionEnum.Email_Sent:\r\n $ctrl.currentNoteType = noteObject.email;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n $ctrl.isLogEmail = true;\r\n break;\r\n case ActivityActionEnum.Cancel_Call:\r\n $ctrl.currentNoteType = noteObject.cancelCallActivity;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n $ctrl.isLogEmail = true;\r\n break;\r\n case ActivityActionEnum.Cancel_Appt:\r\n $ctrl.currentNoteType = noteObject.cancelApptActivity;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n $ctrl.isLogEmail = true;\r\n break;\r\n case ActivityActionEnum.Phone_Call_Completed:\r\n $ctrl.currentNoteType = noteObject.completeCallActivity;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n setActivityResults();\r\n break;\r\n case ActivityActionEnum.Appointment_Completed:\r\n $ctrl.currentNoteType = noteObject.completeApptActivity;\r\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\r\n setActivityResults();\r\n break;\r\n }\r\n }\r\n\r\n // set default selection and get drop down list\r\n function setActivityResults() {\r\n $ctrl.activityResultsList = $filter('filter')(activityResultDescriptors, { setID: $ctrl.currentNoteType.resultType });\r\n //$ctrl.model.resultID = $ctrl.activityResultsList[0].activityResultID + \"\";\r\n $ctrl.model.resultID = -1 + \"\";\r\n }\r\n\r\n function postActivity() {\r\n if ($ctrl.model.resultID <= -1) {\r\n switch ($ctrl.notesType) {\r\n case ActivityActionEnum.Post_Note:\r\n case ActivityActionEnum.Log_Call:\r\n case ActivityActionEnum.Phone_Call_Completed:\r\n case ActivityActionEnum.Appointment_Completed:\r\n $ctrl.errorMessage = \"postnotesResultErrorMsg\";\r\n return;\r\n }\r\n }\r\n\r\n //usSpinnerService.spin('post-notes-spinner');\r\n var recordId = null;\r\n if ($ctrl.activity)\r\n recordId = $ctrl.activity.activityId;\r\n\r\n // model to save\r\n var activity = {\r\n entityID: $ctrl.opportunityId,\r\n activityActionID: $ctrl.currentNoteType.activityId,\r\n notes: $ctrl.model.notes,\r\n resultID: $ctrl.model.resultID,\r\n activityId: recordId,\r\n activityActionSubTypeID: $ctrl.model.callBoundType\r\n }\r\n\r\n if (!activity.notes)\r\n activity.notes = '';\r\n\r\n if (activity.resultID == -1)\r\n activity.resultID = null;\r\n\r\n $ctrl.submitting = activityService.postActivitySubmitAction(activity)\r\n .then(function (data) {\r\n data.activityId = $ctrl.currentNoteType.activityId;\r\n data.activityResult = activity.resultID;\r\n $ctrl.submitting = null;\r\n $ctrl.model = { notes: '', resultID: -1 }\r\n\r\n // WEBUI-8085 - the following code was added here but at some point it might be preferable to refactor the code to have this be \r\n // part of a common service as this was copied from the deal-sheet component (onLogScheduleSubmit). onLogScheduleSubmit seems to work\r\n // a little differently though so it wasn't a clear choice to just call that.\r\n\r\n // if vehicle no longer owns\r\n if (activity.resultID == activityResults.phoneCall.noLongerOwns || activity.resultID == activityResults.note.noLongerOwns) {\r\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId)\r\n .then(() => {\r\n $ctrl.close({ $value: data });// pass follow-up actions to caller\r\n });\r\n }\r\n\r\n // if vehicle paid off\r\n else if (activity.resultID == activityResults.phoneCall.vehiclePaidOff) {\r\n activityService.updateVehiclePaidOff($ctrl.opportunityId)\r\n .then(() => {\r\n $ctrl.close({ $value: data });// pass follow-up actions to caller\r\n });\r\n }\r\n else {\r\n $ctrl.close({ $value: data });// pass follow-up actions to caller\r\n }\r\n });\r\n\r\n }\r\n\r\n function cancelClick() {\r\n $ctrl.dismiss({ $value: 'cancel' });\r\n }\r\n\r\n function submitClick() {\r\n postActivity();\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./push-to-crm.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('pushToCrm', {\r\n templateUrl: '/app/components/deal-sheet/modals/push-to-crm.component.html',\r\n controller: PushToCRMController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction PushToCRMController($filter, $translate, $translatePartialLoader, ActivityActionEnum, ActivityResultCodeEnum, activityService, localePaths, exception, logger, translateErrorKeys) {\r\n var $ctrl = this;\r\n\r\n $translatePartialLoader.addPart(localePaths.error);\r\n\r\n $ctrl.submit = function () {\r\n postToCrm();\r\n };\r\n\r\n $ctrl.cancel = function () {\r\n $ctrl.dismiss({ $value: 'cancel' });\r\n };\r\n\r\n function closeModal() {\r\n $ctrl.close({ $value: 'submit' });\r\n }\r\n\r\n function postToCrm() {\r\n\r\n var activity = {\r\n EntityID: $ctrl.resolve.opportunityId,\r\n ActivityActionID: ActivityActionEnum.Manual_Push_To_CRM,\r\n Notes: $ctrl.model ? $ctrl.model.notes : null\r\n }\r\n\r\n $ctrl.postSubmitActionPromise = activityService.postActivitySubmitAction(activity).then(setSubmitActionResult);\r\n }\r\n\r\n function setSubmitActionResult(result) {\r\n if (result.resultCode == ActivityResultCodeEnum.Push_To_Crm_Success) {\r\n $translate('PushToCrmSuccessMessage').then(function (successMessage) {\r\n logger.success(successMessage);\r\n });\r\n closeModal();\r\n }\r\n else if (result.resultCode == ActivityResultCodeEnum.Push_To_CRM_Fail_Permission) {\r\n $ctrl.isErrorNoPermission = true;\r\n }\r\n else if (result.resultCode == ActivityResultCodeEnum.Push_To_CRM_Fail_Delivery) {\r\n $ctrl.duplicationControlInDays = result.responseData.duplicationControlInDays;\r\n $ctrl.lastSentDate = $filter('localeDate')(result.responseData.lastSentDate);\r\n $ctrl.isErrorSentRecently = true;\r\n }\r\n else {\r\n $translate(translateErrorKeys.generalErrorMessageKey).then(function (translation) {\r\n exception.catcher(translation)(result);\r\n });\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./schedule.component.html');\n\nimport angular from 'angular';\r\nimport moment from 'moment';\r\n\r\nangular.module('AaApp.Opp').component('schedule', {\r\n templateUrl: '/app/components/deal-sheet/modals/schedule.component.html',\r\n controller: ScheduleController,\r\n bindings: {\r\n dealerId: '<',\r\n opportunityId: '<',\r\n scheduleType: '<',\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ScheduleController($filter, $translate, $translatePartialLoader, storageService, userService,\r\n scheduleTitleApptKey,\r\n scheduleTitleCallKey,\r\n rescheduleTitleCallKey,\r\n rescheduleTitleApptKey,\r\n reassignTitleCallKey,\r\n reassignTitleApptKey,\r\n scheduleAssignToErrorMsgKey,\r\n activityService,\r\n dateFormatService,\r\n ActivityActionEnum) {\r\n var $ctrl = this;\r\n\r\n //setup ui display object type for custom dialogbox\r\n var scheduleType = {\r\n scheduleCall: { activityId: ActivityActionEnum.Schedule_Call, description: scheduleTitleCallKey, IsAssignToVisible: true, IsDateVisible: true, IsTimeVisible: true, IsReminderVisible: true },\r\n scheduleAppt: { activityId: ActivityActionEnum.Schedule_Appt, description: scheduleTitleApptKey, IsAssignToVisible: true, IsDateVisible: true, IsTimeVisible: true, IsReminderVisible: true },\r\n rescheduleCall: { activityId: ActivityActionEnum.Reschedule_Call, description: rescheduleTitleCallKey, IsAssignToVisible: false, IsDateVisible: true, IsTimeVisible: true, IsReminderVisible: true },\r\n rescheduleAppt: { activityId: ActivityActionEnum.Reschedule_Appt, description: rescheduleTitleApptKey, IsAssignToVisible: false, IsDateVisible: true, IsTimeVisible: true, IsReminderVisible: true },\r\n reassignCall: { activityId: ActivityActionEnum.Reassign_Call, description: reassignTitleCallKey, IsAssignToVisible: true, IsDateVisible: false, IsTimeVisible: false, IsReminderVisible: false },\r\n reassignAppt: { activityId: ActivityActionEnum.Reassign_Appt, description: reassignTitleApptKey, IsAssignToVisible: true, IsDateVisible: false, IsTimeVisible: false, IsReminderVisible: false }\r\n }\r\n\r\n initModels();\r\n\r\n $ctrl.isSltUser;\r\n $ctrl.scheduleDueDateModel;\r\n $ctrl.submitting;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.submitClick = submitClick;\r\n $ctrl.cancelClick = cancelClick;\r\n $ctrl.calendarClick = calendarClick;\r\n $ctrl.postActivity = postActivity;\r\n $ctrl.dateFormat = dateFormatService.getDateFormatString();\r\n $ctrl.setScheduleDueDate = setScheduleDueDate;\r\n\r\n function initModels() {\r\n\r\n var savedCultureName = storageService.getItem('cultureName');\r\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n cultureName = cultureName.toLowerCase();\r\n\r\n $ctrl.editedActivityAssignToUser = null;\r\n $ctrl.currentLoginUserProfile = storageService.getItem('userProfile');\r\n $ctrl.validatedAssignee = {}\r\n $ctrl.validatedAssignee.isValid = false;\r\n $ctrl.validatedAssignee.index = -1;\r\n // default user choice\r\n\r\n // get's passed via resolve\r\n $ctrl.ownerId = null;\r\n $ctrl.owner = null;\r\n $ctrl.userList = [];\r\n $ctrl.activity = null;\r\n\r\n // owner info\r\n $ctrl.soldById = null;\r\n $ctrl.soldByName = null;\r\n $ctrl.soldByStatus = null;\r\n\r\n // setup time picker\r\n $ctrl.mytime = new Date();\r\n $ctrl.minDate = new Date();\r\n $ctrl.hstep = 1;\r\n $ctrl.mstep = 5;\r\n $ctrl.ismeridian = (cultureName == 'fr-fr') ? false : true;\r\n\r\n $ctrl.status = { opened: false };\r\n\r\n Date.prototype.addDays = function (days) {\r\n var dat = new Date(this.valueOf());\r\n dat.setDate(dat.getDate() + days);\r\n return dat;\r\n }\r\n\r\n var now = new Date();\r\n\r\n var dueDate = now.addDays(5 / (24 * 60));// add 5 min to current time\r\n $ctrl.model = {\r\n scheduleDueDate: dueDate,\r\n time: dueDate, //new Date(1, 1, 2000, dueDate.getHours(), dueDate.getMinutes()),\r\n notes: '',\r\n user: -1,\r\n sendReminder: false,\r\n userChoice: 'other'\r\n }\r\n }\r\n\r\n // Disable weekend selection\r\n function disabled(data) {\r\n var date = data.date,\r\n mode = data.mode;\r\n return mode === 'day' && (date.getDay() === 0 || date.getDay() === 6);\r\n }\r\n\r\n function calendarClick($event) {\r\n $ctrl.status.opened = true;\r\n }\r\n\r\n function onChanges() {\r\n if ($ctrl.resolve) {\r\n if ($ctrl.isSltUser == null) {\r\n userService.getUserProfile()\r\n .then(userProfile => {\r\n $ctrl.isSltUser = userProfile.isSltUser;\r\n updateModel();\r\n });\r\n }\r\n else {\r\n updateModel();\r\n }\r\n }\r\n }\r\n\r\n function updateModel() {\r\n\r\n $ctrl.opportunityId = $ctrl.resolve.items.opportunityId;\r\n $ctrl.dealerId = $ctrl.resolve.items.dealerId;\r\n $ctrl.scheduleType = $ctrl.resolve.items.modalType;\r\n $ctrl.maxFutureDays = $ctrl.resolve.items.maxScheduleFutureDays;\r\n $ctrl.ownerUserInfo = $ctrl.resolve.items.ownerUserInfoObject;\r\n\r\n var now = new Date();\r\n \r\n if ($ctrl.isSltUser) {\r\n var maxSltScheduleDays = 30;\r\n $ctrl.maxDate = $ctrl.resolve.items.expirationDate ? new Date($ctrl.resolve.items.expirationDate) : maxSltScheduleDays;\r\n }\r\n else {\r\n $ctrl.maxDate = now.addDays($ctrl.maxFutureDays);\r\n }\r\n\r\n $ctrl.dateOptions = {\r\n formatYear: 'yy',\r\n minDate: $ctrl.minDate,\r\n maxDate: $ctrl.maxDate,\r\n startingDay: 0,\r\n showWeeks: false\r\n };\r\n\r\n for (var i = 0; i < $ctrl.resolve.items.usersObject.length; i++) {\r\n //Must create a new array and not reference the binding\r\n //as it can change the parent array. filter and add only user's with type id 1 that is client\r\n if ($ctrl.resolve.items.usersObject[i].userTypeId == 1)\r\n $ctrl.userList.push($ctrl.resolve.items.usersObject[i]);\r\n }\r\n // sort it to ascending order by fullName\r\n $ctrl.userList.sort(dynamicSort(\"fullName\"));\r\n\r\n // get passed owner id\r\n $ctrl.ownerId = $ctrl.resolve.items.dealSheetOwnerId;\r\n\r\n // if activity is passed from parent\r\n if ($ctrl.resolve.items.activityObject)\r\n $ctrl.activity = $ctrl.resolve.items.activityObject;\r\n \r\n \r\n\r\n $ctrl.scheduleForm.$setValidity()\r\n \r\n setupScheduleDialogUX();\r\n }\r\n\r\n function setupScheduleDialogUX() {\r\n switch ($ctrl.scheduleType) {\r\n case ActivityActionEnum.Schedule_Call:\r\n //setup dialogUX\r\n $ctrl.currentScheduleType = scheduleType.scheduleCall;\r\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\r\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\r\n $ctrl.model.user = '-1';\r\n break;\r\n case ActivityActionEnum.Schedule_Appt:\r\n $ctrl.currentScheduleType = scheduleType.scheduleAppt;\r\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\r\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\r\n $ctrl.model.user = '-1';\r\n break;\r\n case ActivityActionEnum.Reschedule_Call:\r\n //activity is passed from parent\r\n $ctrl.currentScheduleType = scheduleType.rescheduleCall;\r\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\r\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\r\n $ctrl.editedActivityAssignToUser = getValidatedAssignToUserObject($ctrl.activity.assignedUserID, $ctrl.userList);\r\n if (!$ctrl.editedActivityAssignToUser.isValid)\r\n $ctrl.model.user = '-1';\r\n else\r\n $ctrl.model.user = $ctrl.editedActivityAssignToUser.id + '';\r\n break;\r\n case ActivityActionEnum.Reschedule_Appt:\r\n //activity is passed from parent\r\n $ctrl.currentScheduleType = scheduleType.rescheduleAppt;\r\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\r\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\r\n $ctrl.editedActivityAssignToUser = getValidatedAssignToUserObject($ctrl.activity.assignedUserID, $ctrl.userList);\r\n if (!$ctrl.editedActivityAssignToUser.isValid)\r\n $ctrl.model.user = '-1';\r\n else\r\n $ctrl.model.user = $ctrl.editedActivityAssignToUser.id + '';\r\n break;\r\n case ActivityActionEnum.Reassign_Call:\r\n //activity is passed from parent\r\n $ctrl.currentScheduleType = scheduleType.reassignCall;\r\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\r\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\r\n $ctrl.editedActivityAssignToUser = getValidatedAssignToUserObject($ctrl.activity.assignedUserID, $ctrl.userList);\r\n if (!$ctrl.editedActivityAssignToUser.isValid)\r\n $ctrl.model.user = '-1';\r\n else\r\n $ctrl.model.user = $ctrl.editedActivityAssignToUser.id + '';\r\n break;\r\n case ActivityActionEnum.Reassign_Appt:\r\n //activity is passed from parent\r\n $ctrl.currentScheduleType = scheduleType.reassignAppt;\r\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\r\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\r\n $ctrl.editedActivityAssignToUser = getValidatedAssignToUserObject($ctrl.activity.assignedUserID, $ctrl.userList);\r\n if (!$ctrl.editedActivityAssignToUser.isValid)\r\n $ctrl.model.user = '-1';\r\n else\r\n $ctrl.model.user = $ctrl.editedActivityAssignToUser.id + '';\r\n break;\r\n }\r\n\r\n $ctrl.dialogTitle = $ctrl.currentScheduleType.description;\r\n getAssignToSelectedState();\r\n }\r\n\r\n // based on rules of WEBUI-4465 ownerId is replaced with soldByid\r\n function getValidOwnerId(currentOwnerId) {\r\n\r\n currentOwnerId = getValidatedAssignToUserObject(currentOwnerId, $ctrl.userList).id;\r\n var userId = -1;\r\n\r\n if ($ctrl.ownerUserInfo) {\r\n if (currentOwnerId == -1 && $ctrl.ownerUserInfo.soldByUserId == null && $ctrl.ownerUserInfo.soldByUserFullName == null)\r\n return -1;\r\n\r\n if (currentOwnerId == -1 && $ctrl.ownerUserInfo.soldByUserId == null && $ctrl.ownerUserInfo.soldByUserFullName != null) {\r\n userId = getUserIdbyName($ctrl.ownerUserInfo.soldByUserFullName, $ctrl.userList);\r\n return userId;\r\n }\r\n\r\n if (currentOwnerId == -1 && $ctrl.ownerUserInfo.soldByUserId != null) {\r\n return $ctrl.ownerUserInfo.soldByUserId;\r\n }\r\n\r\n if (currentOwnerId != -1 && $ctrl.ownerUserInfo.ownerUserEnabled == false && $ctrl.ownerUserInfo.soldByUserId != null) {\r\n return $ctrl.ownerUserInfo.soldByUserId;\r\n }\r\n }\r\n\r\n return currentOwnerId;\r\n }\r\n\r\n function getUserIdbyName(userName, userList) {\r\n for (var i = 0; i < userList.length; i++) {\r\n if (userList[i].fullName.toLowerCase() == userName.toLowerCase()) {\r\n return userList[i].id;\r\n }\r\n }\r\n return -1;\r\n }\r\n\r\n function getValidatedAssignToUserObject(userID, userList) {\r\n var resultObj = {};\r\n resultObj.isValid = false;\r\n resultObj.index = -1;\r\n resultObj.fullName = null;\r\n resultObj.id = -1;\r\n\r\n for (var i = 0; i < userList.length; i++) {\r\n if (userList[i].id == userID) {\r\n resultObj.isValid = true;\r\n resultObj.index = i;\r\n resultObj.fullName = userList[i].fullName;\r\n resultObj.id = userList[i].id;\r\n return resultObj;\r\n }\r\n }\r\n return resultObj;\r\n }\r\n\r\n function getAssignToSelectedState() {\r\n\r\n if (!$ctrl.currentLoginUserProfile.employeeUser) {\r\n $ctrl.model.userChoice = 'self';\r\n if ($ctrl.currentLoginUserProfile.userId == $ctrl.owner.id) {\r\n $ctrl.owner.isValid = false;\r\n }\r\n\r\n return;\r\n }\r\n\r\n if ($ctrl.owner.isValid) {\r\n $ctrl.model.userChoice = 'owner';\r\n return;\r\n }\r\n\r\n $ctrl.model.userChoice = 'other';\r\n return;\r\n }\r\n\r\n // sort a list object based on property\r\n function dynamicSort(property) {\r\n var sortOrder = 1;\r\n if (property[0] === \"-\") {\r\n sortOrder = -1;\r\n property = property.substr(1);\r\n }\r\n return function (a, b) {\r\n var result = (a[property] < b[property]) ? -1 : (a[property] > b[property]) ? 1 : 0;\r\n return result * sortOrder;\r\n }\r\n }\r\n\r\n function postActivity() {\r\n\r\n var assignToUserId = -1;\r\n switch ($ctrl.model.userChoice) {\r\n case 'self':\r\n assignToUserId = $ctrl.currentLoginUserProfile.userId;\r\n break;\r\n case 'owner':\r\n assignToUserId = $ctrl.owner.id;\r\n break;\r\n case 'other':\r\n assignToUserId = $ctrl.model.user;\r\n break;\r\n }\r\n\r\n if (!assignToUserId) {\r\n $ctrl.errorMessage = scheduleAssignToErrorMsgKey;\r\n return;\r\n }\r\n\r\n if (assignToUserId == -1) {\r\n $ctrl.errorMessage = scheduleAssignToErrorMsgKey;\r\n return;\r\n }\r\n\r\n\r\n var dateTime = new Date($ctrl.model.scheduleDueDate.getFullYear(), $ctrl.model.scheduleDueDate.getMonth(), $ctrl.model.scheduleDueDate.getDate(),\r\n $ctrl.model.time.getHours(), $ctrl.model.time.getMinutes(), $ctrl.model.time.getSeconds());\r\n\r\n var recordId = null;\r\n if ($ctrl.activity)\r\n if ($ctrl.currentScheduleType.activityId != ActivityActionEnum.Schedule_Call && $ctrl.currentScheduleType.activityId != ActivityActionEnum.Schedule_Appt)\r\n recordId = $ctrl.activity.activityId;\r\n\r\n var activity = {\r\n entityID: $ctrl.opportunityId,\r\n activityActionID: $ctrl.currentScheduleType.activityId,\r\n notes: $ctrl.model.notes,\r\n assignTo: assignToUserId, //$ctrl.model.user,\r\n dueDate: moment(dateTime).format(\"YYYY-MM-DD[T]HH:mm:ss\"),\r\n sendReminder: $ctrl.model.sendReminder,\r\n activityId: recordId,\r\n activityActionSubTypeID: null\r\n }\r\n\r\n if (!activity.notes)\r\n activity.notes = '';\r\n\r\n $ctrl.submitting = activityService.postActivitySubmitAction(activity)\r\n .then(function (data) {\r\n data.activityId = $ctrl.currentScheduleType.activityId;\r\n $ctrl.submitting = null;\r\n $ctrl.close({ $value: data });\r\n });\r\n\r\n }\r\n\r\n function cancelClick() {\r\n $ctrl.close({ $value: 'followup-cancel' });\r\n }\r\n\r\n function submitClick() {\r\n postActivity();\r\n }\r\n\r\n function setScheduleDueDate(date, model) {\r\n $ctrl.model.scheduleDueDate = date;\r\n $ctrl.scheduleDueDateModel = model; \r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./update-mileage.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('updateMileage', {\r\n templateUrl: '/app/components/deal-sheet/modals/update-mileage.component.html',\r\n controller: UpdateMileageController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction UpdateMileageController($translate, $translatePartialLoader) {\r\n var $ctrl = this;\r\n\r\n $ctrl.dateModel;\r\n $ctrl.submitClick = submitClick;\r\n $ctrl.cancelClick = cancelClick;\r\n $ctrl.calendarClick = calendarClick;\r\n $ctrl.setDate = setDate;\r\n\r\n initModel();\r\n\r\n function initModel() {\r\n Date.prototype.addDays = function (days) {\r\n var dat = new Date(this.valueOf());\r\n dat.setDate(dat.getDate() + days);\r\n return dat;\r\n }\r\n var date = new Date();\r\n $ctrl.status = { opened: false };\r\n $ctrl.dateOptions = {\r\n formatYear: 'yy',\r\n maxDate: new Date(),\r\n startingDay: 0,\r\n showWeeks: false\r\n };\r\n $ctrl.minDate = date;\r\n \r\n var dueDate = date.addDays(5 / (24 * 60));// add 5 min to current time\r\n $ctrl.model = {\r\n date: dueDate,\r\n time: new Date(1, 1, 2000, dueDate.getHours(), dueDate.getMinutes()),\r\n mileage: ''\r\n }\r\n }\r\n\r\n function calendarClick($event) {\r\n $ctrl.status.opened = true;\r\n }\r\n\r\n function cancelClick() {\r\n $ctrl.dismiss({ $value: 'cancel' });\r\n }\r\n\r\n function submitClick() {\r\n $ctrl.close({ $value: { mileage: $ctrl.model.mileage, date: $ctrl.model.date } });\r\n }\r\n\r\n function setDate(date, model) {\r\n $ctrl.model.date = date;\r\n $ctrl.dateModel = model;\r\n\r\n $ctrl.mileageEditForm.$setValidity('custom', $ctrl.dateModel.valid)\r\n }\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./open-new-window.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('openNewWindow', {\r\n templateUrl: '/app/components/deal-sheet/open-new-window.component.html',\r\n controller: OpenNewWindowController,\r\n bindings: {\r\n opportunityId: '<',\r\n openLite: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction OpenNewWindowController($window, dealSheetService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.getDealSheetUrl = dealSheetService.getDealSheetUrl;\r\n $ctrl.openInNewWindow = openInNewWindow;\r\n\r\n function openInNewWindow() {\r\n var newWindowUrl = \"\";\r\n if ($ctrl.openLite){\r\n newWindowUrl = dealSheetService.getDealSheetLiteUrl($ctrl.opportunityId);\r\n }\r\n else{\r\n newWindowUrl = dealSheetService.getDealSheetUrl($ctrl.opportunityId);\r\n }\r\n $window.open(newWindowUrl, '_blank');\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./other-vehicles-owned.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('otherVehiclesOwned', {\r\n templateUrl: '/app/components/deal-sheet/other-vehicles-owned.component.html',\r\n controller: OtherVehiclesOwnedController,\r\n bindings: {\r\n relatedOpportunities: '<',\r\n defaultTab: '<',\r\n onSelect: '&',\r\n onSetAsDefault: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction OtherVehiclesOwnedController(_, opportunityTypes, saleTypes, alertIconClasses, dealSheetTabs) {\r\n var $ctrl = this;\r\n\r\n $ctrl.defaultTab;\r\n $ctrl.tabs;\r\n $ctrl.opportunityTypeTranslateKeys;\r\n $ctrl.saleTypeTranslateKeys;\r\n $ctrl.alertIconClasses\r\n\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.opportunityTypeTranslateKeys = _.invert(opportunityTypes);\r\n $ctrl.saleTypeTranslateKeys = _.invert(saleTypes);\r\n $ctrl.alertIconClasses = alertIconClasses;\r\n $ctrl.tabs = dealSheetTabs;\r\n }\r\n}\r\n","DealSheetVciController.$inject = [\"$timeout\", \"$q\", \"$translate\", \"$translatePartialLoader\", \"$sce\", \"$scope\", \"$window\", \"$document\", \"$analytics\", \"$state\", \"$uibModal\", \"logger\", \"$auth\", \"$rootScope\", \"toaster\", \"dealSheetService\", \"opportunity2Service\", \"opportunityService\", \"vehicleService\", \"contractService\", \"authorizationService\", \"customerService\", \"globalIframeService\", \"userService\", \"dealerService\", \"activityService\", \"servicesService\", \"storageService\", \"eulaModalService\", \"searchService\", \"localePaths\", \"switchToNewDealSheetKey\", \"switchToClassicDealSheetKey\", \"dontHaveAccessWarningKey\", \"legacy\", \"dealSheetTabs\", \"saleTypes\", \"conquestTypes\", \"msrpTypes\", \"vehicleTypes\", \"alertScriptTypes\", \"activityRule\", \"analytics\", \"userProfileRoles\", \"modules\", \"submitDiscrepancySuccessMessageKey\", \"paymentTypes\", \"entityActionAccessEnum\", \"ActivityActionEnum\", \"activityResults\", \"tradeValueTypes\", \"vehicleActions\", \"opportunityStatuses\", \"environmentVariables\", \"pandoActionTypes\", \"assetTypes\", \"territories\", \"cultures\", \"vciResultType\", \"_\", \"mapUtils\"];\n\n/* injects from baggage-loader */\nrequire('./deal-sheet-vci.component.html');\n\nimport angular from 'angular';\nimport './deal-sheet-vci.component.scss';\nimport { forEach } from '@uirouter/core';\nangular.module('AaApp.Opp').component('dealSheetVci', {\n templateUrl: '/app/components/deal-sheet/deal-sheet-vci.component.html',\n controller: DealSheetVciController,\n bindings: {\n opportunityId: '<',\n dealerId: '<',\n makeId: '<',\n vin: '<'\n }\n});\n/* @ngInject */\n\nfunction DealSheetVciController( //angular services\n$timeout, $q, $translate, $translatePartialLoader, $sce, $scope, $window, $document, $analytics, $state, $uibModal, logger, $auth, $rootScope, toaster, //shared services\ndealSheetService, //other services\nopportunity2Service, opportunityService, vehicleService, contractService, authorizationService, customerService, globalIframeService, userService, dealerService, activityService, servicesService, storageService, eulaModalService, searchService, //$translate related\nlocalePaths, switchToNewDealSheetKey, switchToClassicDealSheetKey, dontHaveAccessWarningKey, //constants\nlegacy, dealSheetTabs, saleTypes, conquestTypes, msrpTypes, vehicleTypes, alertScriptTypes, activityRule, analytics, userProfileRoles, modules, submitDiscrepancySuccessMessageKey, paymentTypes, entityActionAccessEnum, ActivityActionEnum, activityResults, tradeValueTypes, vehicleActions, opportunityStatuses, environmentVariables, pandoActionTypes, assetTypes, territories, cultures, vciResultType, //Tools\n_, mapUtils) {\n // props\n var $ctrl = this;\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\n $ctrl.showVciDataClick = showVciDataClick;\n $ctrl.fixupString = fixupString;\n $ctrl.buildFullName = buildFullName;\n $ctrl.boolToYorN = boolToYorN;\n $ctrl.showVciDataSection = false;\n $ctrl.vciDataLoaded = false;\n $ctrl.vciDataDisplay = false;\n $ctrl.vciDataErrored = false;\n $ctrl.vciApiErrored = false;\n $ctrl.vciVinNotFound = false;\n $ctrl.vciOptedOutNonoriginatingDealer = false;\n $ctrl.vciOptedOutOriginatingDealer = false;\n $ctrl.vciData;\n $ctrl.dataloadWorking;\n $ctrl.sectionStates = {\n 0: false,\n 1: false,\n 2: true,\n 3: false,\n 4: false\n };\n console.log($ctrl);\n vehicleService.dealerMakeHasVciConfig($ctrl.dealerId, $ctrl.makeId).then(function (data) {\n console.log(data);\n $ctrl.showVciDataSection = data;\n });\n\n function buildFullName(buyerBlock) {\n var rslt = \"\";\n\n if (buyerBlock.firstName) {\n rslt = buyerBlock.firstName + \" \";\n }\n\n if (buyerBlock.middleInitial) {\n rslt = rslt + buyerBlock.middleInitial + \" \";\n }\n\n if (buyerBlock.middleInitial) {\n rslt = rslt + buyerBlock.lastName;\n }\n\n return fixupString(rslt);\n }\n\n function fixupString(value) {\n if (value) {\n return value.trim().length == 0 ? \"N/A\" : value.trim();\n } else {\n return \"N/A\";\n }\n }\n\n function boolToYorN(value) {\n if (value) {\n return \"Y\";\n } else {\n return \"N\";\n }\n }\n\n function showVciDataClick() {\n console.log($ctrl.opportunityId, $ctrl.makeId, $ctrl.vin);\n $ctrl.vciApiErrored = false;\n $ctrl.dataloadWorking = $q.defer().promise;\n vehicleService.getVciMaturityData($ctrl.opportunityId, $ctrl.makeId, $ctrl.vin).then(function (data) {\n console.log(data);\n\n switch (data.resultType) {\n case vciResultType.EulaRequired:\n showEulaRequiredModal();\n break;\n\n case vciResultType.NotConfigured:\n // should never get here\n $ctrl.vciDataErrored = true;\n $ctrl.vciVinNotFound = true;\n break;\n\n case vciResultType.OptedOutNonoriginatingDealer:\n $ctrl.vciOptedOutNonoriginatingDealer = true;\n $ctrl.vciDataErrored = true;\n break;\n\n case vciResultType.OptedOutOriginatingDealer:\n $ctrl.vciOptedOutOriginatingDealer = true;\n $ctrl.vciDataErrored = true;\n break;\n\n case vciResultType.GeneralError:\n case vciResultType.VinNotFound:\n $ctrl.vciDataErrored = true;\n $ctrl.vciVinNotFound = true;\n break;\n\n case vciResultType.HasData:\n $ctrl.vciData = data.detail;\n $ctrl.vciDataLoaded = true;\n $ctrl.vciDataDisplay = true;\n console.log('HasData');\n break;\n }\n\n $ctrl.dataloadWorking = null;\n }).catch(function (e) {\n $ctrl.vciApiErrored = true;\n $ctrl.dataloadWorking = null;\n });\n ;\n }\n\n function showEulaRequiredModal() {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'dealSheetVciEulaModal',\n windowClass: 'large-modal',\n resolve: {\n title: function title() {\n return \"Volkswagen Credit EULA\"; //$translate.instant(\"oneToOneIntelligentMarketing\");\n }\n }\n });\n modal.result.then(function () {\n addVciEulaAccepted();\n });\n }\n\n function addVciEulaAccepted() {\n vehicleService.addVciEulaAccepted().then(function (data) {\n showVciDataClick();\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./deal-sheet-vci-eula-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('dealSheetVciEulaModal', {\r\n templateUrl: '/app/components/deal-sheet/deal-sheet-vci-eula-modal.component.html',\r\n controller: DealSheetVciEulaModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DealSheetVciEulaModalController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.doNotShow;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.doNotShow = false;\r\n }\r\n}\r\n\r\n","import \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.regexp.to-string\";\nDealSheetLiteController.$inject = [\"$timeout\", \"$q\", \"$translate\", \"$translatePartialLoader\", \"$scope\", \"$window\", \"$analytics\", \"$state\", \"logger\", \"$document\", \"dealSheetService\", \"opportunity2Service\", \"opportunityService\", \"vehicleService\", \"contractService\", \"authorizationService\", \"globalIframeService\", \"userService\", \"dealerService\", \"activityService\", \"storageService\", \"eulaModalService\", \"customerService\", \"$logFactory\", \"localePaths\", \"switchToNewDealSheetKey\", \"switchToClassicDealSheetKey\", \"dontHaveAccessWarningKey\", \"dontHaveAccessExpiredKey\", \"legacy\", \"dealSheetTabs\", \"saleTypes\", \"conquestTypes\", \"msrpTypes\", \"vehicleTypes\", \"alertScriptTypes\", \"activityRule\", \"analytics\", \"userProfileRoles\", \"modules\", \"submitDiscrepancySuccessMessageKey\", \"paymentTypes\", \"ActivityActionEnum\", \"activityResults\", \"tradeValueTypes\", \"opportunityStatuses\", \"alertTypes\", \"entityActionAccessEnum\", \"environmentVariables\", \"_\", \"mapUtils\"];\n\n/* injects from baggage-loader */\nrequire('./deal-sheet-lite.component.html');\n\nimport angular from 'angular';\nimport pandoOnIconPath from '../../images/icon-pando-profile-on.svg';\nimport pandoOffIconPath from '../../images/icon-pando-profile-off.svg';\nimport './deal-sheet.scss';\nimport oneImage from '../../images/Capture1.png';\nimport twoImage from '../../images/Capture2.png'; //NOTE: This code is designed as a prototype, and requires significant cleanup.\n\nangular.module('AaApp.Opp').component('dealSheetLite', {\n templateUrl: '/app/components/deal-sheet/deal-sheet-lite.component.html',\n controller: DealSheetLiteController,\n bindings: {\n opportunityId: '<',\n stockNo: '<',\n //optional\n close: '<',\n //optional\n dismiss: '<',\n //optional\n vwsearch: '<',\n //required, or OpportunityID is required\n resolve: '<'\n }\n});\n/* @ngInject */\n\nfunction DealSheetLiteController( //angular services\n$timeout, $q, $translate, $translatePartialLoader, $scope, $window, $analytics, $state, logger, $document, //shared services\ndealSheetService, //other services\nopportunity2Service, opportunityService, vehicleService, contractService, authorizationService, globalIframeService, userService, dealerService, activityService, storageService, eulaModalService, customerService, $logFactory, //$translate related\nlocalePaths, switchToNewDealSheetKey, switchToClassicDealSheetKey, dontHaveAccessWarningKey, dontHaveAccessExpiredKey, //constants\nlegacy, dealSheetTabs, saleTypes, conquestTypes, msrpTypes, vehicleTypes, alertScriptTypes, activityRule, analytics, userProfileRoles, modules, submitDiscrepancySuccessMessageKey, paymentTypes, ActivityActionEnum, activityResults, tradeValueTypes, opportunityStatuses, alertTypes, entityActionAccessEnum, environmentVariables, //Tools\n_, mapUtils) {\n var $ctrl = this;\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\n var log = $logFactory.get();\n $ctrl.showLegacy = false;\n $ctrl.closeButtonVisible = true;\n $ctrl.newWindowButtonVisible = false;\n $ctrl.vehicleTypes = vehicleTypes;\n $ctrl.isTextingEnabled = false; //NEW BINDINGS:\n\n $ctrl.dealer;\n $ctrl.paymentTypes;\n $ctrl.vw_SearchRow = $ctrl.vwsearch || {\n opportunityId: $ctrl.opportunityId\n };\n $ctrl.onChange = $ctrl.onChange;\n $ctrl.alertExists = $ctrl.vw_SearchRow._Is_Alert == \"Yes\";\n $ctrl.flexAlertExists = $ctrl.vw_SearchRow._Is_Flex_Alert == \"Yes\";\n $ctrl.contractEndAlertExists = $ctrl.vw_SearchRow._Is_Contract_End == \"Yes\";\n\n $ctrl.NewUsedCpoToID = function (vehicleType) {\n vehicleType = vehicleType.toString().toLowerCase();\n if (vehicleType == \"new\") return 0;\n if (vehicleType == \"used\") return 1;\n if (vehicleType == \"cpo\") return 2;\n return \"\";\n };\n\n $ctrl.toSaleTypeID = function (saleType) {\n saleType = saleType.toString().toLowerCase();\n if (saleType == \"lease\") return 1;\n if (saleType == \"retail\") return 2;\n if (saleType == \"balloon\") return 3;\n if (saleType == \"cash\") return 4;\n if (saleType == \"onepay lease\") return 5;\n if (saleType == \"wholesale\") return 6;\n if (saleType == \"incomplete\") return 7;\n return \"\";\n };\n\n $ctrl.toYesNoTypeID = function (yesNoTypeName) {\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\n if (yesNoTypeName == \"yes\") return 1;\n if (yesNoTypeName == \"no\") return 0;\n return 0;\n };\n\n $ctrl.nullIf = function (valueIfNull, defaultValue) {\n if (valueIfNull) return null;\n return defaultValue;\n };\n\n $ctrl.toAlertTypeList = function (vw_search) {\n var alerts = [];\n if (vw_search.is_Alert == \"Yes\") pushAlert(alerts, alertTypes.alert, 'alert');\n if (vw_search.is_Appointment == \"Yes\") pushAlert(alerts, alertTypes.appointment, 'appointment');\n if (vw_search.is_Contract_End == \"Yes\") pushAlert(alerts, alertTypes.contractEnd, 'contractEnd'); //if (vw_search.is_Conversion_Alert == \"Yes\") pushAlert(alerts, alertTypes.alert, 'alert');\n\n if (vw_search.is_Flex_Alert == \"Yes\") pushAlert(alerts, alertTypes.flexAlert, 'flexAlert');\n if (vw_search.is_In_Market == \"Yes\") pushAlert(alerts, alertTypes.inMarket, 'inMarket');\n if (vw_search.is_In_Market_Engaged == \"Yes\") pushAlert(alerts, alertTypes.inMarketEngaged, 'inMarketEngaged');\n if (vw_search.is_Mileage_Alert == \"Yes\") pushAlert(alerts, alertTypes.mileage, 'mileage');\n if (vw_search.is_Warranty_Alert == \"Yes\") pushAlert(alerts, alertTypes.warranty, 'warranty');\n return alerts;\n };\n\n $ctrl.showIfNotNullOrEmpty = function (defaultValue, item, obj) {\n if (item != null && item != \"\") {\n if (obj != null) return obj;\n return item;\n }\n\n return defaultValue;\n };\n\n function pushAlert(arr, type, name) {\n arr.push({\n type: type,\n typeName: name,\n translateKey: name + \"RelevantInfo\",\n details: $ctrl.opportunity.replacementVehicle\n });\n }\n\n $ctrl.fuelEconomyComparison = {\n estimatedMonthlyCostDifference: $ctrl.vw_SearchRow.replacement_Monthly_Fuel_Difference //**************************************************************************************\n //NOTE: This code is designed as a prototype, and requires significant cleanup.\n //TO clean this code up, first you must remove all of the current API calls, and\n //compare the data structure below with the required data structure.\n //Time Estimate: 1.5 days\n //**************************************************************************************\n //BIND TO OLD MODELS\n\n };\n $ctrl.opportunityOverwrite = opportunityService.getOpportunityFromViewEntityId($ctrl.opportunityId, $ctrl.vw_SearchRow);\n $ctrl.permissions = {\n \"activitiesLog\": true,\n //\"editActivity\": true,\n //\"editAssignedUser\": true,\n //\"editConquestContract\": true,\n //\"editContract\": true,\n //\"editCustomer\": true,\n \"editDoNotContact\": true,\n \"editMarkAsNotOwn\": true,\n \"editMarkAsPaidOff\": true,\n \"editMarkAsSold\": true,\n //\"editMarkAsWarranty\": true,\n //\"editMarkAsWatch\": true,\n //\"editMileage\": true,\n //\"editPayoffAmount\": true,\n \"editPrice\": true,\n //\"emailTemplate\": true,\n \"featureComparison\": false,\n //\"manageSearches\": false,\n \"otherVehiclesOwned\": false,\n //\"paymentDetails\": true,\n \"payments\": true,\n \"postActivity\": true,\n //\"print\": true,\n //\"printTemplate\": true,\n //\"requestCreditPrescreen\": true,\n //\"serviceHistory\": true,\n //\"vehicleHistoryReports\": true,\n \"viewAlertScripts\": true,\n \"viewChangeLog\": true,\n \"viewContract\": true,\n \"viewCustomer\": true,\n \"viewInventory\": true,\n \"viewTradeValue\": true,\n \"viewVehicle\": true //\"warranty\": true\n\n };\n $ctrl.vehicleTypeKeys = _.invert(vehicleTypes);\n $ctrl.saleTypes = saleTypes;\n $ctrl.saleTypeKeys = _.invert(saleTypes);\n $ctrl.alertScriptTypes = alertScriptTypes;\n $ctrl.alertScriptTypeKeys = _.invert(alertScriptTypes);\n $ctrl.msrpTypes = msrpTypes;\n $ctrl.paymentTypes = paymentTypes;\n $ctrl.conquestTypes = conquestTypes;\n $ctrl.tabs = dealSheetTabs;\n $ctrl.newDealSheetReady = false;\n $ctrl.newDealSheetVisible = dealSheetService.modalDisplayState === 'new';\n $ctrl.serviceHistory = null;\n $ctrl.activityNotification = false;\n $ctrl.userProfileRoles = userProfileRoles;\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\n $ctrl.tradeValueTypes = tradeValueTypes;\n $ctrl.opportunityStatuses = opportunityStatuses;\n $ctrl.eulaModalService = eulaModalService;\n $ctrl.showPullForward = false;\n $ctrl.isEmailEnabled = false; // methods\n\n $ctrl.$onInit = init;\n $ctrl.closeModal = closeModal;\n $ctrl.changeTab = changeTab;\n $ctrl.showNoRecommendedVehiclesMessage = showNoRecommendedVehiclesMessage;\n $ctrl.isDealSheetDirty = false;\n $ctrl.isDealsheetVersionChangeEnabled = legacy.isDealsheetVersionChangeEnabled;\n $ctrl.updateAssignedUser = updateAssignedUser;\n $ctrl.onTradeValueChange = onTradeValueChange;\n $ctrl.onPriceChange = onPriceChange;\n $ctrl.onWatchChange = onWatchChange;\n $ctrl.startWorkingState = startWorkingState;\n $ctrl.stopWorkingState = stopWorkingState;\n $ctrl.setReplacementVehicle = setReplacementVehicle;\n $ctrl.updateReplacementVehicleByTrim = updateReplacementVehicleByTrim;\n $ctrl.onScheduleSubmit = onScheduleSubmit;\n $ctrl.showPrintDialog = showPrintDialog;\n $ctrl.setReplacementVehicleType = setReplacementVehicleType;\n $ctrl.$onDestroy = onDestroy;\n $ctrl.getCreditConvertData = getCreditConvertData;\n $ctrl.otherVehicleHasAlerts;\n $ctrl.otherVehicleStatusClosed;\n $ctrl.submitDiscrepancy = submitDiscrepancy;\n $ctrl.setInventoryReplacementVehicle = setInventoryReplacementVehicle;\n $ctrl.setCreditPrescreenStatus = setCreditPrescreenStatus;\n $ctrl.onLogScheduleSubmit = onLogScheduleSubmit;\n $ctrl.setDefaultTab = setDefaultTab;\n $ctrl.onNoLongerOwns = onNoLongerOwns;\n $ctrl.isVehicleStatusVisible = isVehicleStatusVisible;\n $ctrl.setReplacementContractOverride = setReplacementContractOverride;\n $ctrl.applyAndOperation = applyAndOperation;\n $ctrl.getDefaultTab = getDefaultTab;\n $ctrl.LogActivityClick = LogActivityClick;\n $ctrl.updateCustomer = updateCustomer;\n $ctrl.funcKeydown = funcKeydown; //translations\n\n $translatePartialLoader.addPart(localePaths.dealSheet);\n $translatePartialLoader.addPart(localePaths.general); // spinner\n\n $ctrl.dealsheetWorking;\n $ctrl.hideWhenBusy = false; //customer-connect tab status\n\n $ctrl.isCustomerConnectOpen = false;\n $ctrl.isUserEditedTradeValue = false; // term override\n\n $ctrl.hasTermOverride = false;\n $ctrl.overrideTermInfo;\n $ctrl.mKey = 77;\n\n function LogActivityClick(value) {\n $ctrl.isCustomerConnectOpen = value;\n }\n\n function closeModal() {\n globalIframeService.postMessage({\n 'task': 'opportunity_refresh'\n });\n $ctrl.close();\n }\n\n function applyAndOperation(one, two) {\n if (one == null || two == null) return {};\n var response = {};\n\n for (var prop in one) {\n if (typeof one[prop] == 'boolean' && typeof two[prop] == 'boolean') {\n response[prop] = one[prop] && two[prop];\n }\n }\n\n return response;\n } //This belongs on the API level.\n\n\n function checkExpiration(dealSheetExpirationDate) {\n var todayDate = new Date().setHours(0, 0, 0, 0);\n var expirationDate = new Date(dealSheetExpirationDate).setHours(0, 0, 0, 0);\n return todayDate > expirationDate;\n }\n\n function errorExitWithCode(key) {\n $translate([key]).then(showWarningMessage);\n\n function showWarningMessage(translations) {\n logger.warning(translations[key]);\n }\n\n if ($ctrl.dismiss) {\n $ctrl.dismiss({\n $value: 'cancel'\n });\n } else {\n $state.go('home');\n }\n }\n\n function errorExit(key) {\n return function (response) {\n errorExitWithCode(key);\n };\n }\n\n function init() {\n $q.all({\n 'leadAssignment': $translate('leadAssignment'),\n 'date': $translate('date')\n }).then(function (translation) {\n $ctrl.leadAssignmentLabel = translation.leadAssignment;\n $ctrl.dateLabel = translation.date;\n });\n opportunityService.getOpportunityFromViewEntityId($ctrl.opportunityId, $ctrl.vw_SearchRow).then(function (vw_search) {\n $ctrl.opportunityOverwrite = opportunityService.getOpportunityFromView(vw_search);\n\n if ($ctrl.opportunityId) {\n $ctrl.dealsheetWorking = $q.defer().promise;\n\n if (dealSheetService.modalDisplayState === 'new') {\n $ctrl.isDealsheetVersionChangeEnabled = false;\n $ctrl.changeDealSheetLabel = switchToClassicDealSheetKey;\n $ctrl.newDealSheetVisible = true;\n $ctrl.hideWhenBusy = true;\n initNewDealSheet();\n } else {\n $ctrl.newDealSheetVisible = false;\n $ctrl.changeDealSheetLabel = switchToNewDealSheetKey;\n $ctrl.dealsheetWorking = null;\n }\n }\n });\n eulaModalService.isEmailEnabled().then(function (isEnabled) {\n return $ctrl.isEmailEnabled = isEnabled;\n });\n }\n\n function initNewDealSheet() {\n $ctrl.newDealSheetReady = false;\n $ctrl.contractReady = false;\n $ctrl.opportunityDetailsReady = false;\n $ctrl.opportunity = $ctrl.opportunityOverwrite;\n return userService.getUserProfile().then(function (userProfile) {\n return $q.all({\n 'dealSheetPermissions': authorizationService.getDealSheetPermissions(),\n 'userProfile': $q.resolve(userProfile),\n 'dealerSettings': dealerService.getDealerSettings($ctrl.opportunity.dealerId),\n 'users': dealerService.getUsers($ctrl.opportunity.dealerId),\n 'dealer': dealerService.getDealer($ctrl.opportunity.dealerId),\n 'saleExt': opportunityService.getSaleExtByEntityId($ctrl.opportunity.id)\n });\n }).then(function (data) {\n $ctrl.permissions = $ctrl.applyAndOperation($ctrl.permissions, data.dealSheetPermissions);\n $ctrl.userProfile = data.userProfile;\n $ctrl.dealerSettings = data.dealerSettings;\n $ctrl.saleExt = data.saleExt;\n $ctrl.moduleIds = storageService.getItem('moduleIds');\n $ctrl.pricingPlanEnabled = userService.isDealerEnabledForModule($ctrl.opportunity.dealerId, modules.fordAXZPlanPricing);\n $ctrl.isSltUser = data.userProfile.isSltUser;\n angular.element($window).on(\"keydown\", $ctrl.funcKeydown);\n\n if ($ctrl.dealerSettings.allowExpiration && checkExpiration($ctrl.opportunity.expirationDate)) {\n errorExitWithCode(dontHaveAccessExpiredKey);\n }\n\n $ctrl.opportunity.userProfile = $ctrl.userProfile;\n $ctrl.users = data.users;\n $ctrl.dealer = $ctrl.opportunity.dealer = data.dealer;\n $ctrl.newDealSheetReady = true;\n $ctrl.dealsheetWorking = null;\n var hasTextingModule = userService.isDealerEnabledForModule($ctrl.opportunity.dealerId, modules.textMessaging);\n $ctrl.isTextingEnabled = hasTextingModule && ($ctrl.permissions.sendTextSales || $ctrl.permissions.sendTextService); // For now set this to false until we determine that Lite should have this function:\n\n $ctrl.isTextingEnabled = false;\n $ctrl.defaultTab = $ctrl.getDefaultTab();\n $ctrl.changeTab($ctrl.defaultTab);\n\n if ($ctrl.opportunityOverwrite.replacementVehicle.makeID == null) //indicator that the replacement doesn't exist\n {\n vehicleService.getAverageReplacementVehicle($ctrl.opportunity.dealerId, $ctrl.opportunity.vehicleId, $ctrl.opportunity.customer.pricingPlanId).then(setReplacementVehicle);\n } else {\n updateReplacementVehicleByTrim($ctrl.opportunity.replacementVehicle);\n }\n }).catch(errorExit(dontHaveAccessWarningKey));\n }\n\n function funcKeydown($event) {\n if ($ctrl.userProfile.employeeUser) {\n if ($event.ctrlKey && $event.keyCode == $ctrl.mKey) {\n $ctrl.isDealsheetVersionChangeEnabled = true;\n }\n }\n }\n\n function updateCustomer(customer) {\n $ctrl.startWorkingState();\n log.log(customer);\n customerService.updateCustomer(customer).then(function (success) {\n if (success) {\n $ctrl.opportunity.customer = customer;\n reLoadOpportunity(1000);\n $ctrl.stopWorkingState();\n } else {\n $ctrl.stopWorkingState();\n }\n }, function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function updateAssignedUser(user) {\n $ctrl.startWorkingState();\n opportunityService.updateAssignedUser($ctrl.opportunity.id, user.id).then(function (success) {\n if (success) {\n $ctrl.opportunity.assignedUserId = user.id;\n $ctrl.opportunity.assignedUserFullName = user.fullName;\n $ctrl.stopWorkingState();\n }\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function setActivities(activities) {\n $ctrl.activities = activities;\n }\n\n function onTradeValueChange(value, logged) {\n startWorkingState();\n $ctrl.isDealSheetDirty = true;\n $ctrl.opportunity.currentVehicle.tradeValue = value;\n $ctrl.isUserEditedTradeValue = true;\n reCalculateVehicleEquity();\n reCalculateReplacementContract();\n\n if (logged) {\n opportunityService.logTradeValueChange($ctrl.opportunity.vehicleId, value);\n }\n }\n\n function reCalculateVehicleEquity() {\n var tradeValue = $ctrl.opportunity.currentVehicle.tradeValue;\n var payoffValue = $ctrl.opportunity.currentContract.payoffAmount ? $ctrl.opportunity.currentContract.payoffAmount : 0;\n $ctrl.opportunity.currentContract.equity = {\n tradeValue: tradeValue,\n equityValue: tradeValue - payoffValue\n };\n }\n\n function onPriceChange(value) {\n $ctrl.isDealSheetDirty = true;\n $ctrl.opportunity.replacementVehicle.price = value;\n startWorkingState(); // log price change\n\n opportunityService.addPriceOverrideChangeLog($ctrl.opportunity.vehicleId, value);\n reCalculateReplacementContract();\n }\n\n function reCalculateReplacementContract() {\n if ($ctrl.opportunity.replacementContract && $ctrl.opportunity.replacementContract.useOverrideTerm) {\n // setup override term\n $ctrl.hasTermOverride = true;\n $ctrl.overrideTermInfo = {\n term: $ctrl.opportunity.replacementContract.term,\n saleType: $ctrl.opportunity.replacementContract.saleType,\n saleTypeName: $ctrl.opportunity.replacementContract.saleTypeName\n };\n }\n\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\n }\n\n function startWorkingState() {\n $ctrl.hideWhenBusy = true;\n $ctrl.dealsheetWorking = $q.defer().promise;\n }\n\n function stopWorkingState() {\n $ctrl.hideWhenBusy = false;\n $ctrl.dealsheetWorking = null;\n }\n\n function onWatchChange(value) {\n if (value) {\n return opportunityService.markOpportunityWatched($ctrl.opportunityId).then(function () {\n $ctrl.opportunity.watched = true;\n });\n } else {\n return opportunityService.markOpportunityUnwatched($ctrl.opportunityId).then(function () {\n $ctrl.opportunity.watched = false;\n });\n }\n }\n\n function setReplacementVehicle(vehicle) {\n if (!vehicle) {\n $ctrl.showNoRecommendedVehiclesMessage();\n return;\n }\n\n $ctrl.startWorkingState();\n updateReplacementVehicleFuelCost(vehicle);\n $ctrl.featureComparison = null;\n\n if ($ctrl.pricingPlanEnabled && vehicle.pricingPlanID && vehicle.pricingPlanID > 0) {\n vehicle.price = vehicle.pricingPlanMsrp;\n }\n\n if (!vehicle.modelID) {\n vehicleService.getModelId(vehicle.trimID).then(function (modelID) {\n $ctrl.isDealSheetDirty = true;\n $ctrl.opportunity.replacementVehicle = vehicle;\n $ctrl.opportunity.replacementVehicle.modelID = modelID;\n updateReplacementVehicleImagePath();\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\n });\n } else {\n $ctrl.isDealSheetDirty = true;\n $ctrl.opportunity.replacementVehicle = vehicle;\n updateReplacementVehicleImagePath();\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\n }\n }\n\n function updateReplacementVehicleImagePath() {\n if (!$ctrl.opportunity.replacementVehicle.imagePath) {\n vehicleService.getVehicleImagePath($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID).then(function (imagePath) {\n $ctrl.opportunity.replacementVehicle.imagePath = imagePath;\n });\n }\n }\n\n function updateReplacementVehicleFuelCost(vehicle) {\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\n vehicleService.getFuelEconomyComparison(vehicle.trimID, $ctrl.opportunityId).then(function (data) {\n $ctrl.fuelEconomyComparison = data;\n }).catch(function () {\n $ctrl.fuelEconomyComparison = null;\n });\n } else {\n $ctrl.fuelEconomyComparison = null;\n }\n }\n\n function changeTab(tab) {\n if (tab === $ctrl.tabs.featureComparison) {\n updateReplacementVehicleFeatures($ctrl.opportunity.replacementVehicle);\n }\n\n $ctrl.currentTab = tab;\n\n var tabLabel = _.invert($ctrl.tabs)[tab];\n\n $analytics.eventTrack(analytics.actions.navigate, {\n category: analytics.categories.dealSheet,\n label: analytics.labels[tabLabel]\n });\n refreshTabs();\n }\n\n function refreshTabs() {\n $ctrl.tabLoadingPromise = null;\n\n if ($ctrl.currentTab == $ctrl.tabs.activityAndNotes) {\n if ($ctrl.activityNotification) {\n $ctrl.activityNotification = false;\n opportunityService.resetActivityNotification();\n }\n\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\n }\n\n if ($ctrl.currentTab == $ctrl.tabs.featureComparison) {\n if ($ctrl.defaultTab == $ctrl.tabs.featureComparison) {\n $timeout(function () {\n $scope.$broadcast('rzSliderForceRender');\n }, 1000);\n } else {\n $timeout(function () {\n $scope.$broadcast('rzSliderForceRender');\n }, 200);\n }\n }\n }\n\n function updateReplacementVehicleFeatures(vehicle) {\n if (vehicle && vehicle.trimID && vehicle.trimID > 0) {\n vehicleService.getFeatureComparison(vehicle.trimID, $ctrl.opportunityId).then(function (data) {\n $ctrl.featureComparison = data;\n }).catch(function () {\n $ctrl.featureComparison = null;\n });\n } else {\n $ctrl.featureComparison = null;\n }\n }\n\n function updateReplacementVehicleByTrim(trim) {\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\n category: analytics.categories.dealSheet,\n label: analytics.labels.trimChange\n });\n $ctrl.startWorkingState();\n $ctrl.opportunity.replacementVehicles = null;\n var trimIsValid = !(trim.yearID == \"\" || trim.makeID == \"\" || trim.modelID == \"\");\n\n if (trimIsValid) {\n var vehicle = {\n type: vehicleTypes.new,\n makeID: trim.makeID,\n makeName: trim.makeName,\n yearID: trim.yearID,\n modelID: trim.modelID,\n modelName: trim.modelName,\n trimID: trim.trimID,\n trimName: trim.trimName,\n trimFullName: trim.trimFullName,\n extID: trim.extID\n };\n updateReplacementVehicleFuelCost(vehicle);\n $ctrl.opportunity.replacementVehicle = vehicle;\n $ctrl.opportunity.isDealSheetDirty = true;\n\n if (!vehicle.imagePath) {\n vehicleService.getVehicleImagePath($ctrl.opportunity.dealerId, vehicle.trimID).then(function (imagePath) {\n $ctrl.opportunity.replacementVehicle.imagePath = imagePath;\n vehicleService.getTrimPrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID).then(setReplacementVehicleMsrp);\n });\n } else {\n vehicleService.getTrimPrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.trimID).then(setReplacementVehicleMsrp);\n }\n }\n }\n\n function setReplacementVehicleMsrp(msrp) {\n $ctrl.opportunity.replacementVehicle.msrp = msrp;\n $ctrl.opportunity.replacementVehicle.price = msrp;\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(setReplacementContracts);\n }\n\n function setReplacementContracts(data) {\n if (data && data.contracts) {\n $ctrl.opportunity.replacementContracts = data.contracts;\n\n if ($ctrl.hasTermOverride && $ctrl.overrideTermInfo && $ctrl.overrideTermInfo.term) {\n // get override contract from term and set to replacement...\n var overrideContract = _.find(data.contracts, function (o) {\n return o.term === $ctrl.overrideTermInfo.term && o.saleType === $ctrl.overrideTermInfo.saleType;\n });\n\n if (overrideContract) {\n overrideContract.useOverrideTerm = true;\n $ctrl.opportunity.replacementContract = overrideContract;\n } else {\n $ctrl.opportunity.replacementContract = data.defaultContract;\n }\n\n $ctrl.hasTermOverride = false;\n } else {\n $ctrl.opportunity.replacementContract = data.defaultContract;\n }\n\n if ($ctrl.opportunity.replacementContract) {\n $ctrl.opportunity.replacementContract.vehicleType = $ctrl.opportunity.replacementVehicle.type;\n }\n } else {\n $ctrl.opportunity.replacementContracts = [];\n $ctrl.opportunity.replacementContract = null;\n }\n\n stopWorkingState();\n }\n\n function setReplacementContractOverride(contract) {\n $ctrl.startWorkingState(); // persist vehile type from current replacement contract since contract does not persist it\n\n if ($ctrl.opportunity.replacementContract) {\n contract.vehicleType = $ctrl.opportunity.replacementContract.vehicleType;\n } else {\n contract.vehicleType = vehicleTypes.new;\n } // set replacement contract\n\n\n $ctrl.opportunity.replacementContract = contract; // log into change log\n\n opportunityService.addTermOverrideChangeLog($ctrl.opportunity.vehicleId, contract.term).then($ctrl.stopWorkingState, $ctrl.stopWorkingState);\n }\n\n function onLogScheduleSubmit(result) {\n if (!result) {\n return;\n } // user data entry error\n\n\n if (result == 'cancel') {\n // user canceled operation close accordian panel and reset Customer Connect to default\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\n return;\n } // submit user's activity changes\n\n\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\n startWorkingState();\n activityService.postActivitySubmitAction(result).then(function (data) {\n if (result.isFollowUpScheduleAppt) {\n logger.success(\"postActivityFollowupMsg\");\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Schedule_Appt;\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\n } else {\n logger.success(\"postActivitySuccessMsg\");\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\n } // if vehicle no longer owns\n\n\n if (result.resultID == activityResults.phoneCall.noLongerOwns || result.resultID == activityResults.note.noLongerOwns) {\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then(function () {\n reLoadOpportunity();\n });\n } else onScheduleSubmit(); // if vehicle paid off\n\n\n if (result.resultID == activityResults.phoneCall.vehiclePaidOff) {\n activityService.updateVehiclePaidOff($ctrl.opportunityId).then(function () {\n reLoadOpportunity();\n });\n }\n });\n }\n\n function onNoLongerOwns() {\n startWorkingState();\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then(function () {\n reLoadOpportunity();\n });\n }\n\n function onScheduleSubmit() {\n startWorkingState();\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(setActivities);\n opportunityService.getOpportunity($ctrl.opportunityId, $ctrl.stockIdValue, $ctrl.calculationId, $ctrl.permissions, $ctrl.moduleIds).then(setOpportunityStatus).catch(errorExit(dontHaveAccessWarningKey));\n }\n\n function setOpportunityStatus(data) {\n if (data) {\n $ctrl.opportunity.status = data.status;\n $ctrl.opportunity.alerts = data.alerts;\n }\n\n stopWorkingState();\n }\n\n function showPrintDialog() {\n activityService.runActivityRule($ctrl.opportunity.id, [activityRule.Print_Deal_Sheet]);\n\n if (!$ctrl.activities) {\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(function (activities) {\n $ctrl.activities = activities;\n $timeout($window.print, 250);\n });\n } else {\n $window.print();\n }\n }\n\n function setReplacementVehicleType(vehicleType) {\n $ctrl.startWorkingState();\n $ctrl.isDealSheetDirty = true;\n $ctrl.opportunity.replacementVehicle.type = vehicleType;\n vehicleService.getAdjustedInventoryVehiclePrice($ctrl.opportunity.dealerId, $ctrl.opportunity.replacementVehicle.type, $ctrl.opportunity.replacementVehicle.msrp).then(function (price) {\n $ctrl.opportunity.replacementVehicle.price = price;\n contractService.getReplacementContracts($ctrl.opportunity, $ctrl.permissions).then(function (data) {\n return setReplacementContracts.call($ctrl, data);\n });\n });\n }\n\n function onDestroy() {\n opportunityService.resetActivityNotification();\n angular.element($window).off(\"keydown\", $ctrl.funcKeydown);\n }\n\n function reLoadOpportunity(waitTime) {\n startWorkingState();\n $timeout(function () {\n opportunityService.getOpportunity($ctrl.opportunityId, $ctrl.stockNo, $ctrl.calculationId, $ctrl.permissions, $ctrl.moduleIds).then(function (opportunity) {\n setOpportunity(opportunity, $ctrl.userProfile);\n stopWorkingState();\n }, function () {\n stopWorkingState();\n throw {\n message: \"We encountered an error processing your request.\"\n };\n }).catch(errorExit(dontHaveAccessWarningKey));\n }, waitTime);\n }\n\n function setOpportunity(opportunity) {\n $ctrl.opportunity = opportunity; //load autoassigned data from returned service results\n\n $ctrl.isAutoAssignedOwner = $ctrl.opportunity.autoAssignOwner;\n if ($ctrl.opportunity.autoAssignOwnerSearch) $ctrl.autoOwnerLeadAssignmentToolTip = $ctrl.leadAssignmentLabel + \": \" + $ctrl.opportunity.autoAssignOwnerSearch;\n $ctrl.dateSeparator = \": \";\n $ctrl.newLineSeparator = \"\\n\";\n if ($ctrl.OriginalTradeValue == null) $ctrl.OriginalTradeValue = $ctrl.opportunity.currentVehicle.tradeValue;\n\n if ($ctrl.isSltUser) {\n var expirationDateLimit = new Date();\n expirationDateLimit.setYear(expirationDateLimit.getFullYear() + 1);\n $ctrl.showExpirationDate = new Date($ctrl.opportunity.expirationDate) < expirationDateLimit;\n }\n\n $ctrl.showVehicleNotPaidoff = mapUtils.hasActionAccess($ctrl.opportunity.actionAccess, entityActionAccessEnum.showVehicleNotPaidoff);\n opportunityService.addAlertsAsProperties($ctrl, $ctrl.opportunity.alerts);\n setDocumentTitle();\n $ctrl.isDealSheetDirty = false;\n $ctrl.replacementStockNo = opportunity.replacementVehicle.stockNo;\n $ctrl.activityNotification = opportunityService.activityNotification.notify && opportunityService.activityNotification.triggered;\n var programDetails = null;\n if (opportunity.replacementContract) programDetails = opportunity.replacementContract.programDetails;\n var isPrivateOffer = programDetails != null && programDetails.some(function (p) {\n return p.isPrivateOffer;\n });\n var creditPreApproval = opportunity.creditPreApproval;\n var isFordAlert = userService.isDealerEnabledForModule(opportunity.dealerId, modules.fordAlert);\n $ctrl.showPrivateOfferScript = isFordAlert && isPrivateOffer && !creditPreApproval;\n $ctrl.showPrivateOfferPreApprovalScript = isFordAlert && isPrivateOffer && creditPreApproval;\n updateReplacementVehicleFuelCost(opportunity.replacementVehicle);\n }\n\n function setDocumentTitle() {\n if (!$ctrl.newWindowButtonVisible && $ctrl.opportunity != null && $ctrl.opportunity.customer != null) {\n $document[0].title = ($ctrl.opportunity.customer.firstName || '') + ' ' + ($ctrl.opportunity.customer.middleName || '') + ' ' + ($ctrl.opportunity.customer.lastName || '');\n }\n }\n\n function getCreditConvertData() {\n opportunityService.getCreditSoftPullResultAsync($ctrl.permissions, $ctrl.opportunityId).then(function (creditPrescreenResult) {\n $ctrl.opportunity.creditSoftPull = creditPrescreenResult;\n });\n opportunityService.getTags($ctrl.opportunityId).then(function (tags) {\n $ctrl.opportunity.tags = tags;\n });\n }\n\n function submitDiscrepancy(discrepancy) {\n $ctrl.dealsheetWorking = opportunityService.submitDiscrepancy($ctrl.opportunity, discrepancy).then(showSuccessMessage);\n\n function showSuccessMessage() {\n logger.success(submitDiscrepancySuccessMessageKey);\n }\n }\n\n function setInventoryReplacementVehicle(vehicle) {\n $ctrl.opportunity.replacementVehicles = null;\n setReplacementVehicle(vehicle);\n }\n\n function setCreditPrescreenStatus(status) {\n $ctrl.opportunity.creditPrescreenStatus = status;\n }\n\n function showNoRecommendedVehiclesMessage() {\n $ctrl.noRecommendedVehiclesMessageVisible = true;\n $timeout(function () {\n $ctrl.noRecommendedVehiclesMessageVisible = false;\n }, 5000);\n }\n\n function getDefaultTab() {\n var defaultTabs = storageService.getItem('defaultDealSheetTabs');\n var defaultTab;\n\n if (defaultTabs && defaultTabs[$ctrl.userProfile.userId]) {\n defaultTab = defaultTabs[$ctrl.userProfile.userId];\n } else {\n defaultTab = $ctrl.tabs.alertsAndScripts;\n }\n\n if (!isTabAccessible(defaultTab)) {\n defaultTab = getAccessibleTabs()[0];\n }\n\n return defaultTab;\n }\n\n function setDefaultTab() {\n var defaultTabs = storageService.getItem('defaultDealSheetTabs') || {};\n defaultTabs[$ctrl.userProfile.userId] = $ctrl.currentTab;\n storageService.setItem('defaultDealSheetTabs', defaultTabs);\n $ctrl.defaultTab = $ctrl.currentTab;\n }\n\n function getAccessibleTabs() {\n var accessibleTabs = [];\n var tabs = [$ctrl.tabs.alertsAndScripts, $ctrl.tabs.currentVehicleDetails, $ctrl.tabs.replacementVehicleDetails, $ctrl.tabs.featureComparison, $ctrl.tabs.activityAndNotes, $ctrl.tabs.serviceHistory, $ctrl.tabs.otherVehiclesOwned, $ctrl.tabs.changeLog];\n\n for (var i = 0; i < tabs.length; i++) {\n var tab = tabs[i];\n\n if (isTabAccessible(tab)) {\n accessibleTabs.push(tab);\n }\n }\n\n return accessibleTabs;\n }\n\n function isTabAccessible(tab) {\n switch (tab) {\n case $ctrl.tabs.alertsAndScripts:\n return $ctrl.permissions.viewAlertScripts;\n\n case $ctrl.tabs.currentVehicleDetails:\n return $ctrl.permissions.viewVehicle || $ctrl.permissions.viewContract;\n\n case $ctrl.tabs.replacementVehicleDetails:\n return $ctrl.permissions.payments;\n\n case $ctrl.tabs.activityAndNotes:\n return $ctrl.permissions.activitiesLog;\n\n case $ctrl.tabs.serviceHistory:\n return $ctrl.permissions.serviceHistory;\n\n case $ctrl.tabs.otherVehiclesOwned:\n return $ctrl.userProfile.roleName != $ctrl.userProfileRoles.Sales_Associate && $ctrl.userProfile.roleName != $ctrl.userProfileRoles.Base_Sales_Associate;\n\n case $ctrl.tabs.changeLog:\n return $ctrl.permissions.viewChangeLog;\n\n default:\n return true;\n }\n }\n\n function isVehicleStatusVisible() {\n var availableChoices = 0;\n if ($ctrl.permissions.editMarkAsNotOwn) availableChoices++;\n if ($ctrl.permissions.editMarkAsPaidOff) availableChoices++;\n if ($ctrl.permissions.editMarkAsSold) availableChoices++;\n return availableChoices > 0 ? true : false;\n }\n}","DealSheetTabSelectController.$inject = [\"dealSheetTabs\", \"userProfileRoles\", \"authorizationService\"];\n\n/* injects from baggage-loader */\nrequire('./deal-sheet-tab-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('dealSheetTabSelect', {\n templateUrl: '/app/components/deal-sheet/deal-sheet-tab-select.component.html',\n controller: DealSheetTabSelectController,\n bindings: {\n 'default': '<',\n permissions: '<',\n showActivityIndicator: '<',\n showVehicleIndicator: '<',\n userRole: '<',\n current: '<',\n onSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction DealSheetTabSelectController(dealSheetTabs, userProfileRoles, authorizationService) {\n var $ctrl = this;\n $ctrl.isEuroLite = false;\n $ctrl.tabs;\n $ctrl.userProfileRoles;\n $ctrl.changeTab = changeTab;\n $ctrl.$onChanges = onChanges;\n $ctrl.$onInit = init;\n\n function init() {\n $ctrl.tabs = dealSheetTabs;\n $ctrl.userProfileRoles = userProfileRoles;\n $ctrl.isEuroLite = authorizationService.isEuroLite();\n }\n\n function onChanges(changes) {\n if (changes.default && changes.default.currentValue && !$ctrl.current) {\n $ctrl.current = $ctrl.default;\n }\n }\n\n function changeTab(tab) {\n $ctrl.current = tab;\n $ctrl.onSelect({\n tab: tab\n });\n }\n}","DiscrepancyInputController.$inject = [\"_\", \"discrepancyTypes\", \"dealerCountries\"];\n\n/* injects from baggage-loader */\nrequire('./discrepancy-input.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('discrepancyInput', {\n templateUrl: '/app/components/deal-sheet/discrepancy-input.component.html',\n controller: DiscrepancyInputController,\n bindings: {\n countryId: '<',\n options: '<',\n onInput: '&'\n }\n});\n/* @ngInject */\n\nfunction DiscrepancyInputController(_, discrepancyTypes, dealerCountries) {\n var $ctrl = this;\n $ctrl.discrepancyInputForm;\n $ctrl.selectedOption;\n $ctrl.expectedValue;\n $ctrl.discrepancyTypes;\n $ctrl.discrepancyTypeTranslateKeys;\n $ctrl.dealerCountries;\n $ctrl.onDiscrepancyInput = onDiscrepancyInput;\n $ctrl.$onInit = init;\n\n function init() {\n $ctrl.dealerCountries = dealerCountries;\n $ctrl.discrepancyTypes = discrepancyTypes;\n $ctrl.discrepancyTypeTranslateKeys = _.invert(discrepancyTypes);\n }\n\n function onDiscrepancyInput() {\n var discrepancy = {\n type: $ctrl.selectedOption ? $ctrl.selectedOption.type : null,\n multiple: $ctrl.selectedOption ? $ctrl.selectedOption.multiple : false,\n currentValue: $ctrl.selectedOption ? $ctrl.selectedOption.value : null,\n expectedValue: $ctrl.expectedValue\n };\n $ctrl.onInput({\n discrepancy: discrepancy,\n valid: $ctrl.discrepancyInputForm.$valid\n });\n }\n}","EmailTemplateActionController.$inject = [\"$q\", \"legacyService\", \"eulaModalService\", \"featureToggleService\", \"templateService\", \"translateErrorKeys\", \"$translate\", \"logger\"];\n\n/* injects from baggage-loader */\nrequire('./email-template-action.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('emailTemplateAction', {\n templateUrl: '/app/components/deal-sheet/email-template-action.component.html',\n controller: EmailTemplateActionController,\n bindings: {\n opportunity: '<',\n permissions: '<',\n onComplete: '&',\n isEuroLite: '<',\n isShortcutButton: '<'\n }\n});\n/* @ngInject */\n\nfunction EmailTemplateActionController($q, legacyService, eulaModalService, featureToggleService, templateService, translateErrorKeys, $translate, logger) {\n var $ctrl = this;\n $ctrl.getUrl = getUrl;\n $ctrl.checkEULA = checkEULA;\n $ctrl.$onChanges = onChanges;\n $ctrl.email = null;\n\n function onChanges(changes) {\n if (changes.opportunity && changes.opportunity.customer && changes.opportunity.customer.emailAddress) $ctrl.email = $ctrl.opportunity.customer.emailAddress.value;\n }\n\n function checkEULA() {\n return $q.all([eulaModalService.validateEula(), templateService.validateMaxEmailsPerDay($ctrl.opportunity.id)]).then(function (response) {\n var acceptedEula = response[0];\n var templateServiceResponse = response[1]; //Shouldn't there be a warning message for EULA not accepted?\n\n if (!templateServiceResponse.data.success) {\n $translate([translateErrorKeys.maxEmailsExceeded], {\n maxEmailsPerEntityPerDay: templateServiceResponse.data.maxEmailsPerEntityPerDay\n }).then(function (translation) {\n logger.warning(translation.maxEmailsExceeded, null, null);\n });\n }\n\n if ($ctrl.opportunity.customer.doNotEmail) {\n logger.warning(\"doNotEmailCheckedWarning\");\n }\n\n return acceptedEula && templateServiceResponse.data.success && !$ctrl.opportunity.customer.doNotEmail;\n });\n }\n\n function getUrl() {\n return eulaModalService.validateEula().then(function (accepted) {\n if (accepted) {\n $ctrl.url = legacyService.getPrintTemplateUrl($ctrl.opportunity);\n return true;\n } else {\n return false;\n }\n });\n }\n}","FacebookProfileActionController.$inject = [\"userService\"];\n\n/* injects from baggage-loader */\nrequire('./facebook-profile-action.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('facebookProfileAction', {\n templateUrl: '/app/components/deal-sheet/facebook-profile-action.component.html',\n controller: FacebookProfileActionController,\n bindings: {\n email: '<'\n }\n});\n/* @ngInject */\n\nfunction FacebookProfileActionController(userService) {\n var $ctrl = this;\n $ctrl.facebookUserId;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if (changes.email && changes.email.currentValue) {\n userService.getFacebookUserId($ctrl.email).then(setFacebookUserId);\n }\n }\n\n function setFacebookUserId(userId) {\n $ctrl.facebookUserId = userId;\n }\n}","FacebookPhotoController.$inject = [\"userService\"];\n\n/* injects from baggage-loader */\nrequire('./facebook-photo.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('facebookPhoto', {\n templateUrl: '/app/components/deal-sheet/facebook-photo.component.html',\n controller: FacebookPhotoController,\n bindings: {\n email: '<'\n }\n});\n/* @ngInject */\n\nfunction FacebookPhotoController(userService) {\n var $ctrl = this;\n $ctrl.facebookUserId;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if (changes.email && changes.email.currentValue) {\n userService.getFacebookUserId($ctrl.email).then(setFacebookUserId);\n }\n }\n\n function setFacebookUserId(userId) {\n $ctrl.facebookUserId = userId;\n }\n}","FinancialEditActionController.$inject = [\"conquestTypes\", \"saleTypes\", \"financialsService\", \"$logFactory\"];\n\n/* injects from baggage-loader */\nrequire('./financial-edit-action.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('financialEditAction', {\n templateUrl: '/app/components/deal-sheet/financial-edit-action.component.html',\n controller: FinancialEditActionController,\n bindings: {\n contract: '<',\n opportunityId: '<',\n dealerId: '<',\n permissions: '<',\n assignedUserFullName: '<',\n onEdit: '&',\n opportunityType: '<'\n }\n});\n/* @ngInject */\n\nfunction FinancialEditActionController(conquestTypes, saleTypes, financialsService, $logFactory) {\n var $ctrl = this;\n var log = $logFactory.get();\n $ctrl.financials;\n $ctrl.conquestTypes = conquestTypes;\n $ctrl.saleTypes = saleTypes;\n $ctrl.getFinancialData = getFinancialData;\n $ctrl.submitFinancialData = submitFinancialData;\n\n function getFinancialData() {\n return financialsService.getFinancialsData($ctrl.opportunityId, $ctrl.dealerId).then(function (data) {\n if (data) {\n $ctrl.financials = {\n convert: data.convert,\n banks: data.banks,\n saleOptions: data.saleOptions,\n users: data.users,\n assignedUserFullName: $ctrl.assignedUserFullName,\n contract: $ctrl.contract,\n opportunityType: $ctrl.opportunityType\n };\n return true;\n } else {\n return false;\n }\n });\n }\n\n function submitFinancialData(convert) {\n financialsService.submitConvertInfo(convert).then(function (data) {\n $ctrl.onEdit();\n }).catch(function () {\n log.log('submit financials error caught');\n });\n }\n}","AddFinancialInfoController.$inject = [\"$timeout\", \"opportunityTypes\"];\n\n/* injects from baggage-loader */\nrequire('./add-financial-info.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('addFinancialInfo', {\n templateUrl: '/app/components/deal-sheet/financial/add-financial-info.component.html',\n controller: AddFinancialInfoController,\n bindings: {\n financials: '<',\n reset: '<',\n onCheck: '&'\n }\n});\n/* @ngInject */\n\nfunction AddFinancialInfoController($timeout, opportunityTypes) {\n var $ctrl = this;\n\n $ctrl.$onInit = function () {\n _initDateOptions();\n\n _preProcessAssignTo();\n };\n\n $ctrl.calendarClick = function ($event) {\n $ctrl.status.opened = true;\n }; // We're wrapping this in a Angular $timeout to insure the validation is performed in the next\n // event loop no matter what. There were times when the model values and input values weren't\n // synchronized causing inconsistent validation results.\n\n\n $ctrl.checkValidation = function () {\n $timeout(function () {\n $ctrl.onCheck({\n isValid: $ctrl.financialForm.$valid && $ctrl.financialForm.$dirty\n });\n });\n };\n\n function _initDateOptions() {\n Date.prototype.addDays = function (days) {\n var dat = new Date(this.valueOf());\n dat.setDate(dat.getDate() + days);\n return dat;\n };\n\n var date = new Date();\n $ctrl.status = {\n opened: false\n };\n $ctrl.dateOptions = {\n formatYear: 'yy',\n maxDate: new Date(),\n startingDay: 0,\n showWeeks: false\n };\n $ctrl.minDate = date;\n $ctrl.maxDate = date.addDays(45);\n\n if (!$ctrl.financials.convert.dealDate || $ctrl.financials.convert.dealDate == '0001-01-01T00:00:00') {\n $ctrl.financials.convert.dealDate = date;\n } else {\n $ctrl.financials.convert.dealDate = new Date($ctrl.financials.convert.dealDate);\n }\n\n if ($ctrl.financials.opportunityType == opportunityTypes.conquest) {\n $ctrl.financials.convert.dealDate = null;\n date = null;\n }\n } // We're doing this to see if we need to perform any kind of preprocessing of the Assign To. There\n // are 2 use cases where we need to do something.\n // 1. When the assignedUserFullName is null or empty. This is considered an orphaned user and we're\n // going to set $ctrl.financials.convert.soldByID = null to force an invalid Assign to on the form.\n // 2. When the currently assigned user id $ctrl.financials.convert.soldByID does not exist in the list\n // of users $ctrl.financials.users. This too is considered an orphaned user, but with a non-blank\n // assignedUserFullName we're assuming the user has been disabled (enabled = 0). In this case we're\n // going to add this user to $ctrl.financials.users so it shows up as selected on the form.\n\n\n function _preProcessAssignTo() {\n var assignedUserFullName = $ctrl.financials.assignedUserFullName;\n var users = $ctrl.financials.users; // force user to select user if originalOwnerUserID is null (orphan case) \n // or if originalOwnerUserID == defaultUserID which also indicates an orphan case\n // or the soldByID == defaultUserID indicating that the current owner is disabled and soldByID was set to defaultuserID\n\n if (assignedUserFullName === null || assignedUserFullName.trim() === '' || $ctrl.financials.convert.originalOwnerUserID == null || $ctrl.financials.convert.originalOwnerUserID == $ctrl.financials.convert.defaultUserID || $ctrl.financials.convert.soldByID == $ctrl.financials.convert.defaultUserID) {\n $ctrl.financials.convert.soldByID = null;\n return;\n }\n\n var assignedUserID = $ctrl.financials.convert.soldByID;\n\n for (var i = 0; i < users.length; i++) {\n if (users[i].id === assignedUserID) return;\n }\n\n users.push({\n id: assignedUserID,\n fullName: assignedUserFullName\n });\n }\n}","FinancialsBalloonSaleController.$inject = [\"$q\", \"$timeout\", \"$document\", \"$uibModal\", \"monthlyPaymentAmountKey\", \"financedAmountKey\", \"residualKey\", \"financeFieldPromptTitleKey\", \"financeFieldPromptMessageKey\"];\n\n/* injects from baggage-loader */\nrequire('./financials-balloon-sale.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('financialsBalloonSale', {\n templateUrl: '/app/components/deal-sheet/financial/financials-balloon-sale.component.html',\n controller: FinancialsBalloonSaleController,\n bindings: {\n financials: '<',\n financialForm: '<',\n reset: '<',\n checkValidation: '&'\n }\n});\n/* @ngInject */\n\nfunction FinancialsBalloonSaleController($q, $timeout, $document, $uibModal, monthlyPaymentAmountKey, financedAmountKey, residualKey, financeFieldPromptTitleKey, financeFieldPromptMessageKey) {\n var $ctrl = this;\n $ctrl.balloonFields;\n $ctrl.promptActive;\n $ctrl.onBalloonFieldChange = onBalloonFieldChange;\n $ctrl.$onChanges = onChanges;\n $ctrl.$onInit = init;\n\n function onChanges(changes) {\n if (changes.reset && !changes.reset.isFirstChange()) {\n resetFinancials();\n }\n }\n\n function init() {\n $ctrl.balloonFields = {\n payment: 1,\n financedAmount: 2,\n residual: 3\n };\n $ctrl.promptActive = false;\n $ctrl.checkValidation();\n }\n\n $ctrl.calc = function () {\n _doBalloonCalc();\n\n $ctrl.checkValidation();\n };\n\n function _doBalloonCalc() {\n // if payment & amount & deferred set, no need to calc, just return\n if ($ctrl.financials.convert.balloonPayment && $ctrl.financials.convert.balloonAmount && $ctrl.financials.convert.balloonResidual) {\n return;\n } // if no term ID or apr, just return, they're required to do the following calcs...\n\n\n if (!$ctrl.financials.convert.termID || !$ctrl.financials.convert.balloonRate) {\n return;\n } // do calcs: payment, amount, residual\n\n\n if ($ctrl.financials.convert.balloonAmount && $ctrl.financials.convert.balloonResidual) {\n _balloonPaymentByAmountAprAndResidual();\n } else if ($ctrl.financials.convert.balloonPayment && $ctrl.financials.convert.balloonResidual) {\n _balloonAmountByPaymentAprAndResidual();\n } else if ($ctrl.financials.convert.balloonAmount && $ctrl.financials.convert.balloonPayment) {\n _balloonResidualByAmountAprAndPayment();\n } else {\n return;\n }\n }\n\n function _balloonPaymentByAmountAprAndResidual() {\n var amount = $ctrl.financials.convert.balloonAmount;\n var residual = $ctrl.financials.convert.balloonResidual;\n\n var complexRate = _balloonRateComplexPart();\n\n var power = _balloonPower();\n\n var payment = Math.ceil(complexRate * (amount * power - residual));\n $ctrl.financials.convert.balloonPayment = payment;\n }\n\n function _balloonAmountByPaymentAprAndResidual() {\n var payment = $ctrl.financials.convert.balloonPayment;\n var residual = $ctrl.financials.convert.balloonResidual;\n\n var complexRate = _balloonRateComplexPart();\n\n var power = _balloonPower();\n\n var amount = Math.ceil((payment / complexRate + residual) / power);\n $ctrl.financials.convert.balloonAmount = amount;\n }\n\n function _balloonResidualByAmountAprAndPayment() {\n var payment = $ctrl.financials.convert.balloonPayment;\n var amount = $ctrl.financials.convert.balloonAmount;\n\n var complexRate = _balloonRateComplexPart();\n\n var power = _balloonPower();\n\n var residual = Math.ceil(-(payment / complexRate - amount * power));\n $ctrl.financials.convert.balloonResidual = residual;\n }\n\n function _balloonRateComplexPart() {\n var apr = _balloonAprFromBalloonRate();\n\n var power = _balloonPower();\n\n var complexRate = apr / (power - 1);\n return complexRate;\n }\n\n function _balloonAprFromBalloonRate() {\n var rate = $ctrl.financials.convert.balloonRate;\n var apr = rate / 1200;\n return apr;\n }\n\n function _balloonPower() {\n var termId = $ctrl.financials.convert.termID;\n\n var apr = _balloonAprFromBalloonRate();\n\n var power = Math.pow(1 + apr, termId);\n return power;\n }\n\n function resetFinancials() {\n $ctrl.financials.convert.soldByID = null;\n $ctrl.financials.convert.selectedBank = null;\n $ctrl.financials.convert.termID = null;\n $ctrl.financials.convert.balloonPayment = null;\n $ctrl.financials.convert.balloonRate = null;\n $ctrl.financials.convert.balloonAmount = null;\n $ctrl.financials.convert.balloonResidual = null;\n $ctrl.financials.convert.cashDown = null;\n $ctrl.financials.convert.mileageAtDelivery = null;\n $ctrl.financials.convert.soldAsNew = true;\n $ctrl.financials.convert.hasExtWarranty = false;\n $ctrl.financialForm.$setPristine();\n $ctrl.checkValidation();\n }\n\n function onBalloonFieldChange(balloonField) {\n if ($ctrl.financials.convert.balloonRate && $ctrl.financials.convert.balloonAmount && $ctrl.financials.convert.balloonResidual && $ctrl.financials.convert.balloonPayment) {\n if (!$ctrl.promptActive) {\n recalculateBalloonFields(balloonField);\n }\n } else {\n $ctrl.calc();\n }\n }\n\n function recalculateBalloonFields(balloonFieldChanged) {\n var promptFields = [];\n\n switch (balloonFieldChanged) {\n case $ctrl.balloonFields.payment:\n promptFields.push({\n value: $ctrl.balloonFields.financedAmount,\n text: financedAmountKey\n }, {\n value: $ctrl.balloonFields.residual,\n text: residualKey\n });\n break;\n\n case $ctrl.balloonFields.financedAmount:\n promptFields.push({\n value: $ctrl.balloonFields.payment,\n text: monthlyPaymentAmountKey\n }, {\n value: $ctrl.balloonFields.residual,\n text: residualKey\n });\n break;\n\n case $ctrl.balloonFields.residual:\n promptFields.push({\n value: $ctrl.balloonFields.payment,\n text: monthlyPaymentAmountKey\n }, {\n value: $ctrl.balloonFields.financedAmount,\n text: financedAmountKey\n });\n break;\n\n default:\n return;\n }\n\n promptFieldToRecalculate(promptFields).then(recalculateBalloonField).catch(function () {\n recalculateBalloonField(balloonFieldChanged);\n });\n }\n\n function promptFieldToRecalculate(promptFields) {\n $ctrl.promptActive = true;\n var deferred = $q.defer();\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'selectModal',\n appendTo: parentElem,\n backdrop: 'static',\n keyboard: false,\n resolve: {\n title: function title() {\n return financeFieldPromptTitleKey;\n },\n message: function message() {\n return financeFieldPromptMessageKey;\n },\n options: function options() {\n return promptFields;\n }\n }\n });\n modalInstance.closed.then(function () {\n $ctrl.promptActive = false;\n deferred.reject();\n });\n modalInstance.result.then(function (balloonFieldSelected) {\n deferred.resolve(balloonFieldSelected);\n });\n return deferred.promise;\n }\n\n function recalculateBalloonField(balloonField) {\n switch (balloonField) {\n case $ctrl.balloonFields.payment:\n _balloonPaymentByAmountAprAndResidual();\n\n break;\n\n case $ctrl.balloonFields.financedAmount:\n _balloonAmountByPaymentAprAndResidual();\n\n break;\n\n case $ctrl.balloonFields.residual:\n _balloonResidualByAmountAprAndPayment();\n\n break;\n\n default:\n return;\n }\n\n $ctrl.checkValidation();\n }\n}","FinancialsCashSaleController.$inject = [\"$timeout\"];\n\n/* injects from baggage-loader */\nrequire('./financials-cash-sale.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('financialsCashSale', {\n templateUrl: '/app/components/deal-sheet/financial/financials-cash-sale.component.html',\n controller: FinancialsCashSaleController,\n bindings: {\n financials: '<',\n financialForm: '<',\n reset: '<',\n checkValidation: '&'\n }\n});\n/* @ngInject */\n\nfunction FinancialsCashSaleController($timeout) {\n var $ctrl = this;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if (changes.reset && !changes.reset.isFirstChange()) {\n resetFinancials();\n }\n }\n\n $ctrl.$onInit = function () {\n $ctrl.checkValidation();\n };\n\n function resetFinancials() {\n $ctrl.financials.convert.soldByID = null;\n $ctrl.financials.convert.cashAmount = null;\n $ctrl.financials.convert.mileageAtDelivery = null;\n $ctrl.financials.convert.soldAsNew = true;\n $ctrl.financials.convert.hasExtWarranty = false;\n $ctrl.financialForm.$setPristine();\n $ctrl.checkValidation();\n }\n}","FinancialsLeaseSaleController.$inject = [\"$timeout\", \"opportunityTypes\"];\n\n/* injects from baggage-loader */\nrequire('./financials-lease-sale.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('financialsLeaseSale', {\n templateUrl: '/app/components/deal-sheet/financial/financials-lease-sale.component.html',\n controller: FinancialsLeaseSaleController,\n bindings: {\n financials: '<',\n financialForm: '<',\n reset: '<',\n checkValidation: '&'\n }\n});\n/* @ngInject */\n\nfunction FinancialsLeaseSaleController($timeout, opportunityTypes) {\n var $ctrl = this;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if (changes.reset && !changes.reset.isFirstChange()) {\n resetFinancials();\n }\n }\n\n $ctrl.$onInit = function () {\n $ctrl.financialForm.$setPristine();\n $ctrl.checkValidation();\n SetCalculationOpton();\n };\n\n $ctrl.calc = function () {\n if ($ctrl.financialForm.$dirty) {\n _doLeaseCalc();\n\n $ctrl.checkValidation();\n }\n };\n\n function SetCalculationOpton() {\n if ($ctrl.financials.opportunityType == opportunityTypes.conquest) {\n $ctrl.calculations = 1; //webui-6138 rule: display APR\n\n _getSetLeaseRate();\n } else {\n $ctrl.calculations = 2;\n }\n }\n\n function _doLeaseCalc() {\n if (!$ctrl.financials.convert.leaseTotalPayment) {\n return;\n }\n\n _calcBasePayment();\n\n if (!$ctrl.financials.convert.termID) {\n return;\n }\n\n var termId = $ctrl.financials.convert.termID;\n var basePayment = $ctrl.financials.convert.leaseBasePayment;\n\n var paymentsMade = _paymentsMade(termId);\n\n if ($ctrl.financials.convert.leasePayoff && paymentsMade) {\n var apr = _getSetLeaseMoneyFactor();\n\n _calcLeaseNetCapCost(basePayment, termId, apr, paymentsMade);\n\n _calcLeaseResidual(basePayment, $ctrl.financials.convert.leaseNetCapCost, apr, termId);\n } else if ($ctrl.financials.convert.leaseNetCapCost && $ctrl.financials.convert.leaseResidual) {\n _moneyFactorByAmtResidulaAndTerm(basePayment, termId);\n\n _leaseRateByMoneyFactor();\n } else {\n return;\n }\n }\n\n function _calcBasePayment() {\n var payment = $ctrl.financials.convert.leaseTotalPayment;\n\n if ($ctrl.financials.convert.taxMonthlyPayment) {\n payment = Math.ceil(payment / (100 + $ctrl.financials.convert.leaseTaxRate) * 100);\n }\n\n $ctrl.financials.convert.leaseBasePayment = payment;\n }\n\n function _paymentsMade(termId) {\n if (!$ctrl.financials.convert.dealDate) {\n return;\n }\n\n var date = $ctrl.financials.convert.dealDate;\n var today = new Date();\n var oneMonth = 1000 * 60 * 60 * 24 * 30.42;\n var paymentsMade = Math.ceil((today.getTime() - date.getTime()) / oneMonth);\n\n if (paymentsMade < 0) {\n paymentsMade = 0;\n } else if (paymentsMade > termId) {\n return NaN;\n }\n\n return paymentsMade;\n }\n\n function _getSetLeaseRate() {\n if ($ctrl.financialForm.leaseRate && $ctrl.financialForm.leaseRate.$dirty && $ctrl.financials.convert.leaseRate > -1 && $ctrl.financials.opportunityType == opportunityTypes.conquest) return $ctrl.financials.convert.leaseRate;\n\n if (!$ctrl.financials.convert.leaseRate && $ctrl.financials.opportunityType == opportunityTypes.conquest) {\n $ctrl.financials.convert.leaseRate = 6.00;\n }\n\n return $ctrl.financials.convert.leaseRate;\n }\n\n function _getSetLeaseMoneyFactor() {\n var leaseRate = _getSetLeaseRate();\n\n var apr = Math.ceil(leaseRate / 2400 * 10000) / 10000;\n $ctrl.financials.convert.leaseMoneyFactor = apr;\n return apr;\n }\n\n function _calcLeaseNetCapCost(basePayment, termId, apr, paymentsMade) {\n var leaseNetCapCost = Math.ceil((basePayment + (1 - termId * apr) * $ctrl.financials.convert.leasePayoff / paymentsMade) / (2 * apr + (1 - termId * apr) / paymentsMade));\n $ctrl.financials.convert.leaseNetCapCost = leaseNetCapCost;\n }\n\n function _calcLeaseResidual(basePayment, leaseNetCapCost, apr, termId) {\n var leaseResidual = Math.ceil((basePayment - leaseNetCapCost * (apr + 1 / termId)) / (apr - 1 / termId));\n $ctrl.financials.convert.leaseResidual = leaseResidual;\n }\n\n function _moneyFactorByAmtResidulaAndTerm(basePayment, termId) {\n var leaseNetCapCost = $ctrl.financials.convert.leaseNetCapCost;\n var residual = $ctrl.financials.convert.leaseResidual;\n var moneyFactor = Math.ceil(10000 * (basePayment - (leaseNetCapCost - residual) / termId) / (leaseNetCapCost + residual)) / 10000;\n $ctrl.financials.convert.leaseMoneyFactor = moneyFactor;\n }\n\n function _leaseRateByMoneyFactor() {\n var apr = $ctrl.financials.convert.leaseMoneyFactor;\n var leaseRate = Math.ceil(apr * 2400 * 100) / 100;\n $ctrl.financials.convert.leaseRate = leaseRate;\n }\n\n function resetFinancials() {\n $ctrl.financials.convert.soldByID = null;\n $ctrl.financials.convert.selectedBank = null;\n $ctrl.financials.convert.termID = null;\n $ctrl.financials.convert.taxMonthlyPayment = true;\n $ctrl.financials.convert.leaseTotalPayment = null;\n $ctrl.financials.convert.leasePayoff = null;\n $ctrl.financials.convert.leaseRate = null;\n $ctrl.financials.convert.leaseMoneyFactor = null;\n $ctrl.financials.convert.leaseNetCapCost = null;\n $ctrl.financials.convert.leaseResidual = null;\n $ctrl.financials.convert.leaseAnnualMiles = null;\n $ctrl.financials.convert.cashDown = null;\n $ctrl.financials.convert.mileageAtDelivery = null;\n $ctrl.financials.convert.soldAsNew = true;\n $ctrl.financialForm.$setPristine();\n $ctrl.checkValidation();\n }\n}","FinancialsRetailSaleController.$inject = [\"$q\", \"$timeout\", \"$document\", \"$uibModal\", \"monthlyPaymentAmountKey\", \"financedAmountKey\", \"aprKey\", \"financeFieldPromptTitleKey\", \"financeFieldPromptMessageKey\"];\n\n/* injects from baggage-loader */\nrequire('./financials-retail-sale.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('financialsRetailSale', {\n templateUrl: '/app/components/deal-sheet/financial/financials-retail-sale.component.html',\n controller: FinancialsRetailSaleController,\n bindings: {\n financials: '<',\n financialForm: '<',\n reset: '<',\n checkValidation: '&'\n }\n});\n/* @ngInject */\n\nfunction FinancialsRetailSaleController($q, $timeout, $document, $uibModal, monthlyPaymentAmountKey, financedAmountKey, aprKey, financeFieldPromptTitleKey, financeFieldPromptMessageKey) {\n var $ctrl = this;\n $ctrl.retailFields;\n $ctrl.promptActive;\n $ctrl.onRetailFieldChange = onRetailFieldChange;\n $ctrl.$onChanges = onChanges;\n $ctrl.$onInit = init;\n\n function onChanges(changes) {\n if (changes.reset && !changes.reset.isFirstChange()) {\n resetFinancials();\n }\n }\n\n function init() {\n $ctrl.retailFields = {\n payment: 1,\n financedAmount: 2,\n apr: 3\n };\n $ctrl.promptActive = false;\n $ctrl.checkValidation();\n }\n\n $ctrl.calcPurchaseRate = function () {\n $ctrl.financials.convert.purchaseRate = null;\n $ctrl.calc();\n };\n\n $ctrl.calc = function () {\n _doRetailCalc();\n\n $ctrl.checkValidation();\n };\n\n function _doRetailCalc() {\n if (!$ctrl.financials.convert.termID) {\n return;\n }\n\n if ($ctrl.financials.convert.purchaseAmount && $ctrl.financials.convert.purchaseRate && !$ctrl.financials.convert.purchasePayment) {\n _retailPaymentByRateAndAmount();\n } else if ($ctrl.financials.convert.purchaseAmount && $ctrl.financials.convert.purchasePayment && !$ctrl.financials.convert.purchaseRate) {\n _retailRateByAmountAndPayment();\n } else if ($ctrl.financials.convert.purchaseRate && $ctrl.financials.convert.purchasePayment && !$ctrl.financials.convert.purchaseAmount) {\n _retailAmountByRateAndPayment();\n } else {\n return;\n }\n }\n\n function _retailRateByAmountAndPayment() {\n var termId = $ctrl.financials.convert.termID;\n var payment = $ctrl.financials.convert.purchasePayment;\n var amount = $ctrl.financials.convert.purchaseAmount;\n var rl = -0.001 / 1200;\n var rr = 30.00 / 1200;\n var iterationCount = 20; // max iteration count\n\n for (var i = 0; i <= iterationCount; i++) {\n if (i == iterationCount) {\n return '';\n }\n\n var rm = (rr + rl) / 2;\n var amt_l = payment / (Math.pow(1 + rl, termId) * rl) * (Math.pow(1 + rl, termId) - 1);\n var amt_r = payment / (Math.pow(1 + rr, termId) * rr) * (Math.pow(1 + rr, termId) - 1);\n var amt_m = payment / (Math.pow(1 + rm, termId) * rm) * (Math.pow(1 + rm, termId) - 1);\n\n if (amount <= amt_l && amount >= amt_m) {\n rr = rm;\n } else {\n rl = rm;\n }\n\n if (Math.abs(amount - amt_m) < .5) {\n break;\n }\n }\n\n if (rl < 0) {\n rl = 0;\n rr = 0;\n }\n\n var result = Math.floor((rr + rl) / 2 * 120000) / 100;\n $ctrl.financials.convert.purchaseRate = result;\n }\n\n function _retailAmountByRateAndPayment() {\n var termId = $ctrl.financials.convert.termID;\n var payment = $ctrl.financials.convert.purchasePayment;\n\n var apr = _getAprFromPurchaseRate();\n\n var power = Math.pow(1 + apr, termId);\n var result;\n\n if (apr > 0) {\n result = Math.ceil(payment / (apr * power / (power - 1)));\n } else {\n result = Math.ceil(payment * termId);\n }\n\n $ctrl.financials.convert.purchaseAmount = result;\n }\n\n function _retailPaymentByRateAndAmount() {\n var termId = $ctrl.financials.convert.termID;\n var amount = $ctrl.financials.convert.purchaseAmount;\n\n var apr = _getAprFromPurchaseRate();\n\n var power = Math.pow(1 + apr, termId);\n var result;\n\n if (apr > 0) {\n result = Math.ceil(amount * (apr * power / (power - 1)));\n } else {\n result = Math.ceil(amount / termId);\n }\n\n $ctrl.financials.convert.purchasePayment = result;\n }\n\n function _getAprFromPurchaseRate() {\n var rate = $ctrl.financials.convert.purchaseRate;\n var apr = rate / 1200;\n return apr;\n }\n\n function resetFinancials() {\n $ctrl.financials.convert.soldByID = null;\n $ctrl.financials.convert.selectedBank = null;\n $ctrl.financials.convert.termID = null;\n $ctrl.financials.convert.purchasePayment = null;\n $ctrl.financials.convert.purchaseRate = null;\n $ctrl.financials.convert.purchaseAmount = null;\n $ctrl.financials.convert.cashDown = null;\n $ctrl.financials.convert.mileageAtDelivery = null;\n $ctrl.financials.convert.soldAsNew = true;\n $ctrl.financials.convert.hasExtWarranty = false;\n $ctrl.financialForm.$setPristine();\n $ctrl.checkValidation();\n }\n\n function onRetailFieldChange(retailField) {\n if ($ctrl.financials.convert.purchaseAmount && $ctrl.financials.convert.purchaseRate && $ctrl.financials.convert.purchasePayment) {\n if (!$ctrl.promptActive) {\n recalculateRetailFields(retailField);\n }\n } else {\n $ctrl.calc();\n }\n }\n\n function recalculateRetailFields(retailFieldChanged) {\n var promptFields = [];\n\n switch (retailFieldChanged) {\n case $ctrl.retailFields.payment:\n promptFields.push({\n value: $ctrl.retailFields.financedAmount,\n text: financedAmountKey\n }, {\n value: $ctrl.retailFields.apr,\n text: aprKey\n });\n break;\n\n case $ctrl.retailFields.financedAmount:\n promptFields.push({\n value: $ctrl.retailFields.payment,\n text: monthlyPaymentAmountKey\n }, {\n value: $ctrl.retailFields.apr,\n text: aprKey\n });\n break;\n\n case $ctrl.retailFields.apr:\n promptFields.push({\n value: $ctrl.retailFields.payment,\n text: monthlyPaymentAmountKey\n }, {\n value: $ctrl.retailFields.financedAmount,\n text: financedAmountKey\n });\n break;\n\n default:\n return;\n }\n\n promptFieldToRecalculate(promptFields).then(recalculateRetailField).catch(function () {\n recalculateRetailField(retailFieldChanged);\n });\n }\n\n function promptFieldToRecalculate(promptFields) {\n $ctrl.promptActive = true;\n var deferred = $q.defer();\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'selectModal',\n appendTo: parentElem,\n backdrop: 'static',\n keyboard: false,\n resolve: {\n title: function title() {\n return financeFieldPromptTitleKey;\n },\n message: function message() {\n return financeFieldPromptMessageKey;\n },\n options: function options() {\n return promptFields;\n }\n }\n });\n modalInstance.closed.then(function () {\n $ctrl.promptActive = false;\n deferred.reject();\n });\n modalInstance.result.then(function (retailFieldSelected) {\n deferred.resolve(retailFieldSelected);\n });\n return deferred.promise;\n }\n\n function recalculateRetailField(retailField) {\n switch (retailField) {\n case $ctrl.retailFields.payment:\n _retailPaymentByRateAndAmount();\n\n break;\n\n case $ctrl.retailFields.financedAmount:\n _retailAmountByRateAndPayment();\n\n break;\n\n case $ctrl.retailFields.apr:\n $ctrl.financials.convert.purchaseRate = null;\n\n _retailRateByAmountAndPayment();\n\n break;\n\n default:\n return;\n }\n\n $ctrl.checkValidation();\n }\n}","LogCallActionController.$inject = [\"$document\", \"$translate\", \"$uibModal\", \"toaster\", \"activityService\", \"dealSheetService\", \"messageTypes\", \"successKey\", \"activityPostedKey\", \"ActivityActionEnum\", \"activityResults\"];\n\n/* injects from baggage-loader */\nrequire('./log-call-action.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('logCallAction', {\n templateUrl: '/app/components/deal-sheet/log-call-action.component.html',\n controller: LogCallActionController,\n bindings: {\n opportunityId: '<',\n assignedUserId: '<',\n ownerUserInfo: '<',\n maxScheduleFutureDays: '<',\n users: '<',\n permissions: '<',\n onStart: '&',\n onSuccess: '&',\n onError: '&',\n onNoLongerOwns: '&'\n }\n});\n/* @ngInject */\n\nfunction LogCallActionController($document, $translate, $uibModal, toaster, activityService, dealSheetService, messageTypes, successKey, activityPostedKey, ActivityActionEnum, activityResults) {\n var $ctrl = this;\n $ctrl.activity;\n $ctrl.logCallError;\n $ctrl.resetLogCall;\n $ctrl.ActivityActionEnum = ActivityActionEnum;\n $ctrl.setActivity = setActivity;\n $ctrl.submitLogCall = submitLogCall;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if ($ctrl.opportunityId && $ctrl.maxScheduleFutureDays && $ctrl.users && $ctrl.ownerUserInfo) {\n $ctrl.scheduleModalParamObject = dealSheetService.getModalParamObject(null, $ctrl.opportunityId, null, $ctrl.assignedUserId, $ctrl.maxScheduleFutureDays, $ctrl.users, null, $ctrl.ownerUserInfo);\n }\n }\n\n function submitLogCall() {\n if (!$ctrl.activity) {\n $ctrl.logCallError = !$ctrl.logCallError;\n return;\n }\n\n var activityResultSold = 7;\n\n if ($ctrl.activity.resultID == activityResultSold) {\n $ctrl.onStart();\n }\n\n activityService.postActivitySubmitAction($ctrl.activity).then(function (returnedData) {\n if (returnedData == 'followup-cancel') {\n onScheduleCallApptSubmit();\n return;\n } else if (returnedData != 'cancel' || returnedData != 'submit') {\n if (returnedData.followUpActions.length > 1) {\n openFollowUpActions(returnedData);\n } else if (returnedData.followUpActions.length > 0) {\n $ctrl.scheduleModalParamObject.modalType = returnedData.followUpActions[0].activityActionId;\n dealSheetService.openScheduleModal($ctrl.scheduleModalParamObject, onScheduleCallApptSubmit);\n } else {\n if (returnedData.activityId == ActivityActionEnum.Schedule_Call || returnedData.activityId == ActivityActionEnum.Schedule_Appt) onScheduleCallApptSubmit();else if ($ctrl.activity.resultID == activityResultSold) {\n $ctrl.resetLogCall = true;\n $ctrl.onSuccess();\n } else {\n if ($ctrl.activity.resultID == activityResults.phoneCall.noLongerOwns || $ctrl.activity.resultID == activityResults.note.noLongerOwns) {\n $ctrl.onNoLongerOwns();\n }\n\n $ctrl.resetLogCall = true;\n $translate([successKey, activityPostedKey]).then(function (translations) {\n toaster.pop({\n type: messageTypes.success,\n title: translations[successKey],\n body: translations[activityPostedKey]\n });\n });\n $ctrl.activity = null;\n }\n }\n }\n }).catch(function () {\n $ctrl.onError();\n $ctrl.activity = null;\n });\n }\n\n function onScheduleCallApptSubmit(returnKey) {\n if (returnKey == 'onVehicleSold') {\n $ctrl.resetLogCall = true;\n $ctrl.onSuccess();\n } else {\n $ctrl.resetLogCall = true;\n $translate([successKey, activityPostedKey]).then(function (translations) {\n toaster.pop({\n type: messageTypes.success,\n title: translations[successKey],\n body: translations[activityPostedKey]\n });\n });\n $ctrl.onSuccess();\n }\n }\n\n function openFollowUpActions(_followUpActions) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: \"activityFollowUpModal\",\n appendTo: parentElem,\n resolve: {\n followUpActions: function followUpActions() {\n return _followUpActions;\n }\n }\n });\n modalInstance.result.then(function (modalType) {\n if (modalType != 'followup-cancel') {\n $ctrl.scheduleModalParamObject.modalType = modalType;\n dealSheetService.openScheduleModal($ctrl.scheduleModalParamObject, onScheduleCallApptSubmit);\n } else {\n onScheduleCallApptSubmit();\n }\n });\n }\n\n function setActivity(activity) {\n $ctrl.activity = activity;\n }\n}","import \"core-js/modules/es6.array.find-index\";\nLogCallController.$inject = [\"$filter\", \"logEmailSentTitleKey\", \"postNotesTitleKey\", \"logCallTitleKey\", \"cancelTitleCallKey\", \"cancelTitleApptKey\", \"completeTitleCallKey\", \"completeTitleApptKey\", \"ActivityActionEnum\", \"activityResultDescriptors\"];\n\n/* injects from baggage-loader */\nrequire('./log-call.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nangular.module('AaApp.Opp').component('logCall', {\n templateUrl: '/app/components/deal-sheet/log-call.component.html',\n controller: LogCallController,\n bindings: {\n opportunityId: '<',\n permissions: '<',\n notesType: '<',\n resolve: '<',\n close: '&',\n dismiss: '&',\n onLogCallEdit: '&',\n isReset: '<',\n isError: '<'\n }\n});\n/* @ngInject */\n\nfunction LogCallController($filter, logEmailSentTitleKey, postNotesTitleKey, logCallTitleKey, cancelTitleCallKey, cancelTitleApptKey, completeTitleCallKey, completeTitleApptKey, ActivityActionEnum, activityResultDescriptors) {\n var $ctrl = this;\n $ctrl.$onChanges = onChanges;\n $ctrl.onEdit = onEdit;\n $ctrl.isLogEmail = false;\n $ctrl.activity = null;\n $ctrl.onTypeOfCallSelect = onTypeOfCallSelect;\n $ctrl.removeFromActivityResults = removeFromActivityResults;\n $ctrl.errorMessage = \"\"; // ActionResultSetID mapped to setID of json AutoAlert/API/activity-results.json\n\n var callActionResultSetID = 1;\n var apptActionResultSetID = 2;\n var noteActionResultSetID = 3;\n var emailActionResultSetID = -1; // models for display\n\n var noteObject = {\n call: {\n activityId: ActivityActionEnum.Log_Call,\n description: logCallTitleKey,\n resultType: callActionResultSetID,\n resultLabelKey: \"logCallResult\",\n isCallBoundTypeVisible: true\n },\n note: {\n activityId: ActivityActionEnum.Post_Note,\n description: postNotesTitleKey,\n resultType: noteActionResultSetID,\n resultLabelKey: \"postNotesResult\",\n isCallBoundTypeVisible: false\n },\n email: {\n activityId: ActivityActionEnum.Email_Sent,\n description: logEmailSentTitleKey,\n resultType: emailActionResultSetID,\n resultLabelKey: \"result\",\n isCallBoundTypeVisible: false\n },\n cancelCallActivity: {\n activityId: ActivityActionEnum.Cancel_Call,\n description: cancelTitleCallKey,\n resultType: emailActionResultSetID,\n resultLabelKey: \"result\",\n isCallBoundTypeVisible: false\n },\n cancelApptActivity: {\n activityId: ActivityActionEnum.Cancel_Appt,\n description: cancelTitleApptKey,\n resultType: emailActionResultSetID,\n resultLabelKey: \"result\",\n isCallBoundTypeVisible: false\n },\n completeCallActivity: {\n activityId: ActivityActionEnum.Phone_Call_Completed,\n description: completeTitleCallKey,\n resultType: callActionResultSetID,\n resultLabelKey: \"logCallResult\",\n isCallBoundTypeVisible: false\n },\n completeApptActivity: {\n activityId: ActivityActionEnum.Appointment_Completed,\n description: completeTitleApptKey,\n resultType: apptActionResultSetID,\n resultLabelKey: \"resultOfAppointment\",\n isCallBoundTypeVisible: false\n } // model for UI\n\n };\n $ctrl.activityResultsList = {};\n $ctrl.status = {\n opened: false\n };\n $ctrl.model = {\n notes: '',\n resultID: \"-1\",\n callBoundType: null\n };\n\n $ctrl.open = function ($event) {\n $ctrl.status.opened = true;\n };\n\n function onTypeOfCallSelect(data) {\n $ctrl.model.callBoundType = data;\n }\n\n function onChanges(changes) {\n if (changes.isReset && !changes.isReset.isFirstChange()) {\n $ctrl.model = {\n notes: '',\n resultID: \"-1\",\n callBoundType: $ctrl.model.callBoundType\n };\n $ctrl.errorMessage = \"\";\n }\n\n if (changes.isError && !changes.isError.isFirstChange()) {\n $ctrl.errorMessage = \"postnotesResultErrorMsg\";\n }\n\n if ($ctrl.resolve) {\n $ctrl.opportunityId = $ctrl.resolve.items.opportunityId;\n $ctrl.dealerId = $ctrl.resolve.items.dealerId;\n $ctrl.notesType = $ctrl.resolve.items.modalType;\n if ($ctrl.resolve.items.activityObject) $ctrl.activity = $ctrl.resolve.items.activityObject;\n }\n\n switch ($ctrl.notesType) {\n case ActivityActionEnum.Post_Note:\n $ctrl.currentNoteType = noteObject.note;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n setActivityResults();\n break;\n\n case ActivityActionEnum.Log_Call:\n $ctrl.currentNoteType = noteObject.call;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n setActivityResults();\n break;\n\n case ActivityActionEnum.Email_Sent:\n $ctrl.currentNoteType = noteObject.email;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n $ctrl.isLogEmail = true;\n break;\n\n case ActivityActionEnum.Cancel_Call:\n $ctrl.currentNoteType = noteObject.cancelCallActivity;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n $ctrl.isLogEmail = true;\n break;\n\n case ActivityActionEnum.Cancel_Appt:\n $ctrl.currentNoteType = noteObject.cancelApptActivity;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n $ctrl.isLogEmail = true;\n break;\n\n case ActivityActionEnum.Phone_Call_Completed:\n $ctrl.currentNoteType = noteObject.completeCallActivity;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n setActivityResults();\n break;\n\n case ActivityActionEnum.Appointment_Completed:\n $ctrl.currentNoteType = noteObject.completeApptActivity;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n setActivityResults();\n break;\n }\n } // set default selection and get drop down list\n\n\n function setActivityResults() {\n $ctrl.activityResultsList = $filter('filter')(activityResultDescriptors, {\n setID: $ctrl.currentNoteType.resultType\n });\n\n if ($ctrl.permissions) {\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsSold, 7);\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsSold, 11);\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsSold, 23);\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsPaidOff, 33);\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsNotOwn, 28);\n $ctrl.removeFromActivityResults($ctrl.permissions.editMarkAsNotOwn, 31);\n }\n\n $ctrl.model.resultID = -1 + \"\";\n }\n\n function removeFromActivityResults(hasPermission, activityResultId) {\n if (!hasPermission) {\n var index = _.findIndex($ctrl.activityResultsList, function (item) {\n return item.activityResultID == activityResultId;\n });\n\n if (index > -1) {\n $ctrl.activityResultsList.splice(index, 1);\n }\n }\n }\n\n function onEdit() {\n if ($ctrl.model.resultID <= -1) {\n switch ($ctrl.notesType) {\n case ActivityActionEnum.Post_Note:\n case ActivityActionEnum.Log_Call:\n case ActivityActionEnum.Phone_Call_Completed:\n case ActivityActionEnum.Appointment_Completed:\n $ctrl.onLogCallEdit({\n $value: null\n });\n return;\n }\n } //usSpinnerService.spin('post-notes-spinner');\n\n\n var recordId = null;\n if ($ctrl.activity) recordId = $ctrl.activity.activityId; // model to save\n\n var activity = {\n entityID: $ctrl.opportunityId,\n activityActionID: $ctrl.currentNoteType.activityId,\n notes: $ctrl.model.notes,\n resultID: $ctrl.model.resultID,\n activityId: recordId,\n activityActionSubTypeID: $ctrl.model.callBoundType\n };\n if (!activity.notes) activity.notes = '';\n if (activity.resultID == -1) activity.resultID = null; //fire event with activity that needs to be submitted\n\n $ctrl.onLogCallEdit({\n $value: activity\n });\n }\n}","ActionCheckboxController.$inject = [\"opportunityStatuses\", \"vehicleActions\"];\n\n/* injects from baggage-loader */\nrequire('./action-checkbox.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('actionCheckbox', {\n templateUrl: '/app/components/deal-sheet/action-checkbox.component.html',\n controller: ActionCheckboxController,\n bindings: {\n entityId: '<',\n displayNlo: '<',\n nloData: '<',\n status: '<',\n permissions: '<',\n action: '<',\n checkedAction: '<',\n onChange: '&',\n onNlo: '&'\n }\n});\n/* @ngInject */\n\nfunction ActionCheckboxController(opportunityStatuses, vehicleActions) {\n var $ctrl = this;\n $ctrl.visible;\n $ctrl.enabled;\n $ctrl.disabled;\n $ctrl.$onChanges = onChanges;\n $ctrl.vehicleActions = vehicleActions;\n $ctrl.onMarkAsNLO = onMarkAsNLO;\n\n function onChanges(changes) {\n if (changes.status && changes.status.currentValue && $ctrl.permissions.editMarkAsSold) {\n $ctrl.visible = $ctrl.status != opportunityStatuses.closed;\n $ctrl.disabled = $ctrl.status == opportunityStatuses.sold || $ctrl.status == opportunityStatuses.closed;\n }\n\n if (changes.checkedAction && changes.checkedAction.currentValue) {\n if ($ctrl.action == $ctrl.vehicleActions.purchasedByDealer) {\n $ctrl.enabled = $ctrl.checkedAction == 72;\n }\n\n if ($ctrl.action == $ctrl.vehicleActions.doesNotOwnVehicle) {\n $ctrl.enabled = $ctrl.checkedAction == 26;\n }\n }\n }\n\n function onMarkAsNLO(e) {\n $ctrl.onNlo({\n markAsNLO: e.markAsNLO\n });\n }\n}","MarkAsSoldController.$inject = [\"opportunityStatuses\"];\n\n/* injects from baggage-loader */\nrequire('./mark-as-sold.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('markAsSold', {\n templateUrl: '/app/components/deal-sheet/mark-as-sold.component.html',\n controller: MarkAsSoldController,\n bindings: {\n status: '<',\n permissions: '<',\n onChange: '&'\n }\n});\n/* @ngInject */\n\nfunction MarkAsSoldController(opportunityStatuses) {\n var $ctrl = this;\n $ctrl.visible;\n $ctrl.enabled;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if (changes.status && changes.status.currentValue && $ctrl.permissions.editMarkAsSold) {\n $ctrl.visible = $ctrl.status != opportunityStatuses.closed;\n $ctrl.enabled = $ctrl.status == opportunityStatuses.sold;\n }\n }\n}","\n/* injects from baggage-loader */\nrequire('./mark-as-on-order.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('markAsOnOrder', {\r\n templateUrl: '/app/components/deal-sheet/mark-as-on-order.component.html',\r\n controller: MarkAsOnOrderController,\r\n bindings: {\r\n onOrder: '<',\r\n permissions: '<',\r\n onChange: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction MarkAsOnOrderController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.visible;\r\n $ctrl.enabled;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if (changes.onOrder && changes.onOrder.currentValue) {\r\n //$ctrl.visible = $ctrl.status != opportunityStatuses.closed;\r\n $ctrl.enabled = $ctrl.onOrder;\r\n }\r\n }\r\n}\r\n","ActivityFollowUpController.$inject = [\"$translate\", \"$translatePartialLoader\", \"scheduleTitleApptKey\", \"scheduleTitleCallKey\", \"ActivityActionEnum\"];\n\n/* injects from baggage-loader */\nrequire('./activity-follow-up-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('activityFollowUpModal', {\n templateUrl: '/app/components/deal-sheet/modals/activity-follow-up-modal.component.html',\n controller: ActivityFollowUpController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction ActivityFollowUpController($translate, $translatePartialLoader, scheduleTitleApptKey, scheduleTitleCallKey, ActivityActionEnum) {\n var $ctrl = this;\n $ctrl.submitFollowUpClick = submitFollowUpClick;\n $ctrl.cancelClick = cancelClick;\n $ctrl.followUpActions = []; // model for display buttons\n\n var uiButtonsTypes = {\n scheduleCall: {\n activityId: ActivityActionEnum.Schedule_Call,\n activityActionName: scheduleTitleCallKey,\n activityIcon: \"icon lg aa-icon-core-schedule-phone-call-000002\"\n },\n scheduleAppt: {\n activityId: ActivityActionEnum.Schedule_Appt,\n activityActionName: scheduleTitleApptKey,\n activityIcon: \"icon lg aa-icon-core-calendar-icon-000000\"\n }\n };\n $ctrl.followUpActions = getFollowUpUIModel($ctrl.resolve.followUpActions);\n\n function getFollowUpUIModel(actions) {\n for (var i = 0; i < actions.followUpActions.length; i++) {\n if (actions.followUpActions[i].activityActionId == ActivityActionEnum.Schedule_Call) actions.followUpActions[i].displayData = uiButtonsTypes.scheduleCall;else if (actions.followUpActions[i].activityActionId == ActivityActionEnum.Schedule_Appt) actions.followUpActions[i].displayData = uiButtonsTypes.scheduleAppt;\n }\n\n return actions.followUpActions;\n }\n\n function cancelClick() {\n //$ctrl.dismiss({ $value: 'cancel' });\n $ctrl.close({\n $value: 'followup-cancel'\n });\n }\n\n function submitFollowUpClick(selectedActivityId) {\n $ctrl.close({\n $value: selectedActivityId\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./confirmation-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('confirmationModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/confirmation-modal.component.html',\r\n controller: confirmationModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\nfunction confirmationModalController() {\r\n\r\n var $ctrl = this;\r\n\r\n if ($ctrl.resolve.closeButtonVisible === undefined)\r\n $ctrl.resolve.closeButtonVisible = true;\r\n\r\n if ($ctrl.resolve.closeButtonText === undefined)\r\n $ctrl.resolve.closeButtonText = \"cancel\";\r\n\r\n if ($ctrl.resolve.submitButtonVisible === undefined)\r\n $ctrl.resolve.submitButtonVisible = true;\r\n\r\n if ($ctrl.resolve.submitButtonDisabled === undefined)\r\n $ctrl.resolve.submitButtonDisabled = false;\r\n\r\n if ($ctrl.resolve.submitButtonText === undefined)\r\n $ctrl.resolve.submitButtonText = \"yes\";\r\n\r\n if ($ctrl.resolve.headerTextClass === undefined) {\r\n $ctrl.resolve.headerTextClass = 'modal-header-text';\r\n }\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./credit-pre-approval-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('creditPreApprovalModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/credit-pre-approval-modal.component.html',\r\n bindings: {\r\n close: '&',\r\n dismiss: '&',\r\n resolve: '<'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./credit-pre-qualified-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('creditPreQualifiedModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/credit-pre-qualified-modal.component.html',\r\n bindings: {\r\n close: '&',\r\n dismiss: '&',\r\n resolve: '<'\r\n }\r\n});\r\n","CreditSoftPullResultModalController.$inject = [\"_\", \"creditTiers\", \"$window\"];\n\n/* injects from baggage-loader */\nrequire('./credit-soft-pull-result-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('creditSoftPullResultModal', {\n templateUrl: '/app/components/deal-sheet/modals/credit-soft-pull-result-modal.component.html',\n controller: CreditSoftPullResultModalController,\n bindings: {\n close: '&',\n dismiss: '&',\n resolve: '<'\n }\n});\n/* @ngInject */\n\nfunction CreditSoftPullResultModalController(_, creditTiers, $window) {\n var $ctrl = this;\n $ctrl.creditTierTranslateKeys;\n $ctrl.$onInit = init;\n $ctrl.getCreditReport = getCreditReport;\n\n function init() {\n $ctrl.creditTierTranslateKeys = _.invert(creditTiers);\n }\n\n function getCreditReport() {\n var wnd = $window.open(\"about:blank\", \"_blank\");\n wnd.document.write($ctrl.resolve.value.customReportHTML);\n }\n}","CustomerEditModal.$inject = [\"$uibModal\", \"$document\", \"optInConfirmationMessageKey\", \"optInConfirmationTitleKey\", \"$scope\"];\n\n/* injects from baggage-loader */\nrequire('./customer-edit-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('customerEditModal', {\n templateUrl: '/app/components/deal-sheet/modals/customer-edit-modal.component.html',\n controller: CustomerEditModal,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction CustomerEditModal($uibModal, $document, optInConfirmationMessageKey, optInConfirmationTitleKey, $scope) {\n var $ctrl = this;\n $ctrl.originalCustomer;\n $ctrl.customer;\n $ctrl.validCustomer = true;\n $ctrl.onCustomerEdit = onCustomerEdit;\n $ctrl.submit = submit;\n $ctrl.$onInit = init;\n\n function init() {\n if ($ctrl.resolve && $ctrl.resolve.customer) {\n $ctrl.originalCustomer = $ctrl.resolve.customer;\n $ctrl.customer = $ctrl.resolve.customer;\n }\n }\n\n function onCustomerEdit(customer, valid) {\n $ctrl.customer = customer;\n $ctrl.validCustomer = valid;\n }\n\n function submit() {\n if ($ctrl.originalCustomer.doNotCall && !$ctrl.customer.doNotCall || $ctrl.originalCustomer.doNotEmail && !$ctrl.customer.doNotEmail || $ctrl.originalCustomer.doNotMail && !$ctrl.customer.doNotMail) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return optInConfirmationTitleKey;\n },\n message: function message() {\n return optInConfirmationMessageKey;\n }\n }\n });\n modal.result.then(function () {\n $ctrl.close({\n $value: $ctrl.customer\n });\n });\n } else {\n $ctrl.close({\n $value: $ctrl.customer\n });\n }\n }\n}","DealSheetModalController.$inject = [\"$rootScope\", \"globalIframeService\"];\n\n/* injects from baggage-loader */\nrequire('./deal-sheet-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('dealSheetModal', {\n templateUrl: '/app/components/deal-sheet/modals/deal-sheet-modal.component.html',\n controller: DealSheetModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction DealSheetModalController($rootScope, globalIframeService) {\n var $ctrl = this;\n $ctrl.$onInit = $onInit;\n\n function $onInit() {\n var subscription = globalIframeService.subscribe(messageHandler);\n\n $ctrl.$onDestroy = function () {\n return subscription.unsubscribe();\n };\n } // this is called from legacy popup deal sheet not the angular deal sheet.\n\n\n function messageHandler(_ref) {\n var data = _ref.data;\n\n if (data['DEAL_SHEET_CLOSE']) {\n $ctrl.close();\n }\n }\n}","DealSheetLiteModalController.$inject = [\"$rootScope\", \"globalIframeService\"];\n\n/* injects from baggage-loader */\nrequire('./deal-sheet-lite-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('dealSheetLiteModal', {\n templateUrl: '/app/components/deal-sheet/modals/deal-sheet-lite-modal.component.html',\n controller: DealSheetLiteModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction DealSheetLiteModalController($rootScope, globalIframeService) {\n var $ctrl = this;\n $ctrl.$onInit = $onInit;\n\n function $onInit() {\n var _globalIframeService$ = globalIframeService.subscribe(messageHandler),\n unsubscribe = _globalIframeService$.unsubscribe;\n\n $ctrl.$onDestroy = unsubscribe;\n } // this is called from legacy popup deal sheet not the angular deal sheet.\n\n\n function messageHandler(_ref) {\n var data = _ref.data;\n\n if (data['DEAL_SHEET_CLOSE']) {\n $ctrl.close();\n }\n }\n}","\n/* injects from baggage-loader */\nrequire('./discrepancy-input-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('discrepancyInputModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/discrepancy-input-modal.component.html',\r\n controller: DiscrepancyInputModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DiscrepancyInputModalController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.discrepancy;\r\n $ctrl.discrepancyValid;\r\n $ctrl.setDiscrepancy = setDiscrepancy;\r\n\r\n function setDiscrepancy(discrepancy, valid) {\r\n $ctrl.discrepancy = discrepancy;\r\n $ctrl.discrepancyValid = valid;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./eula-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('eulaModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/eula-modal.component.html',\r\n controller: EulaModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction EulaModalController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.selection;\r\n $ctrl.onSelect = onSelect;\r\n $ctrl.setSelection = setSelection;\r\n\r\n function onSelect(selection) {\r\n $ctrl.selection = selection;\r\n }\r\n\r\n function setSelection(selection) {\r\n $ctrl.selection = selection;\r\n $ctrl.close({ $value: selection });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./financial-info-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('financialInfoModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/financial-info-modal.component.html',\r\n controller: FinancialInfoModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\nfunction FinancialInfoModalController() {\r\n var $ctrl = this;\r\n\r\n\r\n $ctrl.validFinancials = false;\r\n $ctrl.resetCounter;\r\n $ctrl.reset = reset;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.resetCounter = 1;\r\n }\r\n\r\n $ctrl.validationCheck = function (isValid) {\r\n $ctrl.validFinancials = isValid;\r\n }\r\n\r\n function reset() {\r\n $ctrl.resetCounter++;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./inventory-search-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('inventorySearchModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/inventory-search-modal.component.html',\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n","LogCallModal.$inject = [\"activityService\", \"logCallTitleKey\"];\n\n/* injects from baggage-loader */\nrequire('./log-call-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('logCallModal', {\n templateUrl: '/app/components/deal-sheet/modals/log-call-modal.component.html',\n controller: LogCallModal,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction LogCallModal(activityService, logCallTitleKey) {\n var $ctrl = this;\n $ctrl.prepareData = 0;\n $ctrl.activity = null;\n $ctrl.validCustomer = true;\n $ctrl.onLogCallEdit = onLogCallEdit;\n $ctrl.onSubmit = onSubmit;\n $ctrl.$onInit = init;\n $ctrl.logCallTitleKey = logCallTitleKey;\n $ctrl.LogCallError = false;\n\n function init() {\n if ($ctrl.resolve && $ctrl.resolve.customer) {\n $ctrl.customer = $ctrl.resolve.customer;\n }\n }\n\n function onLogCallEdit(data) {\n $ctrl.activity = data;\n }\n\n function onSubmit() {\n // process what needs to be done then fire close event;\n if (!$ctrl.activity) {\n // toggle binding and notify component to display error message\n $ctrl.LogCallError = !$ctrl.LogCallError;\n return;\n }\n\n $ctrl.submitting = activityService.postActivitySubmitAction($ctrl.activity).then(function (data) {\n data.activityId = $ctrl.activity.activityActionID;\n data.activityResult = $ctrl.activity.resultID;\n $ctrl.submitting = null;\n $ctrl.activity = null;\n $ctrl.close({\n $value: data\n }); // pass follow-up actions to caller\n }).catch(function () {\n $ctrl.submitting = null;\n $ctrl.activity = null;\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./message-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('messageModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/message-modal.component.html',\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n","PostNotesController.$inject = [\"$filter\", \"$translate\", \"$translatePartialLoader\", \"logEmailSentTitleKey\", \"postNotesTitleKey\", \"logCallTitleKey\", \"cancelTitleCallKey\", \"cancelTitleApptKey\", \"completeTitleCallKey\", \"completeTitleApptKey\", \"activityService\", \"ActivityActionEnum\", \"activitySubTypes\", \"activityResultDescriptors\", \"activityResults\"];\n\n/* injects from baggage-loader */\nrequire('./post-notes.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('postNotes', {\n templateUrl: '/app/components/deal-sheet/modals/post-notes.component.html',\n controller: PostNotesController,\n bindings: {\n opportunityId: '<',\n notesType: '<',\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction PostNotesController($filter, $translate, $translatePartialLoader, logEmailSentTitleKey, postNotesTitleKey, logCallTitleKey, cancelTitleCallKey, cancelTitleApptKey, completeTitleCallKey, completeTitleApptKey, activityService, ActivityActionEnum, activitySubTypes, activityResultDescriptors, activityResults) {\n var $ctrl = this;\n $ctrl.$onChanges = onChanges;\n $ctrl.submitClick = submitClick;\n $ctrl.cancelClick = cancelClick;\n $ctrl.postActivity = postActivity;\n $ctrl.isLogEmail = false;\n $ctrl.activity = null;\n $ctrl.onTypeOfCallSelect = onTypeOfCallSelect; // ActionResultSetID mapped to setID of json AutoAlert/API/activity-results.json\n\n var callActionResultSetID = 1;\n var apptActionResultSetID = 2;\n var noteActionResultSetID = 3;\n var emailActionResultSetID = -1; // models for display\n\n var noteObject = {\n call: {\n activityId: ActivityActionEnum.Log_Call,\n description: logCallTitleKey,\n resultType: callActionResultSetID,\n resultLabelKey: \"logCallResult\",\n isCallBoundTypeVisible: true\n },\n note: {\n activityId: ActivityActionEnum.Post_Note,\n description: postNotesTitleKey,\n resultType: noteActionResultSetID,\n resultLabelKey: \"postNotesResult\",\n isCallBoundTypeVisible: false\n },\n email: {\n activityId: ActivityActionEnum.Email_Sent,\n description: logEmailSentTitleKey,\n resultType: emailActionResultSetID,\n resultLabelKey: \"result\",\n isCallBoundTypeVisible: false\n },\n cancelCallActivity: {\n activityId: ActivityActionEnum.Cancel_Call,\n description: cancelTitleCallKey,\n resultType: emailActionResultSetID,\n resultLabelKey: \"result\",\n isCallBoundTypeVisible: false\n },\n cancelApptActivity: {\n activityId: ActivityActionEnum.Cancel_Appt,\n description: cancelTitleApptKey,\n resultType: emailActionResultSetID,\n resultLabelKey: \"result\",\n isCallBoundTypeVisible: false\n },\n completeCallActivity: {\n activityId: ActivityActionEnum.Phone_Call_Completed,\n description: completeTitleCallKey,\n resultType: callActionResultSetID,\n resultLabelKey: \"logCallResult\",\n isCallBoundTypeVisible: false\n },\n completeApptActivity: {\n activityId: ActivityActionEnum.Appointment_Completed,\n description: completeTitleApptKey,\n resultType: apptActionResultSetID,\n resultLabelKey: \"resultOfAppointment\",\n isCallBoundTypeVisible: false\n } // model for UI\n\n };\n $ctrl.activityResultsList = {};\n $ctrl.status = {\n opened: false\n };\n $ctrl.model = {\n notes: '',\n resultID: -1,\n callBoundType: null\n };\n\n $ctrl.open = function ($event) {\n $ctrl.status.opened = true;\n };\n\n function onTypeOfCallSelect(data) {\n $ctrl.model.callBoundType = data;\n }\n\n function onChanges() {\n if ($ctrl.resolve) {\n $ctrl.opportunityId = $ctrl.resolve.items.opportunityId;\n $ctrl.dealerId = $ctrl.resolve.items.dealerId;\n $ctrl.notesType = $ctrl.resolve.items.modalType;\n if ($ctrl.resolve.items.activityObject) $ctrl.activity = $ctrl.resolve.items.activityObject;\n }\n\n switch ($ctrl.notesType) {\n case ActivityActionEnum.Post_Note:\n $ctrl.currentNoteType = noteObject.note;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n setActivityResults();\n break;\n\n case ActivityActionEnum.Log_Call:\n $ctrl.currentNoteType = noteObject.call;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n setActivityResults();\n break;\n\n case ActivityActionEnum.Email_Sent:\n $ctrl.currentNoteType = noteObject.email;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n $ctrl.isLogEmail = true;\n break;\n\n case ActivityActionEnum.Cancel_Call:\n $ctrl.currentNoteType = noteObject.cancelCallActivity;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n $ctrl.isLogEmail = true;\n break;\n\n case ActivityActionEnum.Cancel_Appt:\n $ctrl.currentNoteType = noteObject.cancelApptActivity;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n $ctrl.isLogEmail = true;\n break;\n\n case ActivityActionEnum.Phone_Call_Completed:\n $ctrl.currentNoteType = noteObject.completeCallActivity;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n setActivityResults();\n break;\n\n case ActivityActionEnum.Appointment_Completed:\n $ctrl.currentNoteType = noteObject.completeApptActivity;\n $ctrl.dialogTitle = $ctrl.currentNoteType.description;\n setActivityResults();\n break;\n }\n } // set default selection and get drop down list\n\n\n function setActivityResults() {\n $ctrl.activityResultsList = $filter('filter')(activityResultDescriptors, {\n setID: $ctrl.currentNoteType.resultType\n }); //$ctrl.model.resultID = $ctrl.activityResultsList[0].activityResultID + \"\";\n\n $ctrl.model.resultID = -1 + \"\";\n }\n\n function postActivity() {\n if ($ctrl.model.resultID <= -1) {\n switch ($ctrl.notesType) {\n case ActivityActionEnum.Post_Note:\n case ActivityActionEnum.Log_Call:\n case ActivityActionEnum.Phone_Call_Completed:\n case ActivityActionEnum.Appointment_Completed:\n $ctrl.errorMessage = \"postnotesResultErrorMsg\";\n return;\n }\n } //usSpinnerService.spin('post-notes-spinner');\n\n\n var recordId = null;\n if ($ctrl.activity) recordId = $ctrl.activity.activityId; // model to save\n\n var activity = {\n entityID: $ctrl.opportunityId,\n activityActionID: $ctrl.currentNoteType.activityId,\n notes: $ctrl.model.notes,\n resultID: $ctrl.model.resultID,\n activityId: recordId,\n activityActionSubTypeID: $ctrl.model.callBoundType\n };\n if (!activity.notes) activity.notes = '';\n if (activity.resultID == -1) activity.resultID = null;\n $ctrl.submitting = activityService.postActivitySubmitAction(activity).then(function (data) {\n data.activityId = $ctrl.currentNoteType.activityId;\n data.activityResult = activity.resultID;\n $ctrl.submitting = null;\n $ctrl.model = {\n notes: '',\n resultID: -1 // WEBUI-8085 - the following code was added here but at some point it might be preferable to refactor the code to have this be \n // part of a common service as this was copied from the deal-sheet component (onLogScheduleSubmit). onLogScheduleSubmit seems to work\n // a little differently though so it wasn't a clear choice to just call that.\n // if vehicle no longer owns\n\n };\n\n if (activity.resultID == activityResults.phoneCall.noLongerOwns || activity.resultID == activityResults.note.noLongerOwns) {\n activityService.updateCustomerDoesNotOwnVehicle($ctrl.opportunityId).then(function () {\n $ctrl.close({\n $value: data\n }); // pass follow-up actions to caller\n });\n } // if vehicle paid off\n else if (activity.resultID == activityResults.phoneCall.vehiclePaidOff) {\n activityService.updateVehiclePaidOff($ctrl.opportunityId).then(function () {\n $ctrl.close({\n $value: data\n }); // pass follow-up actions to caller\n });\n } else {\n $ctrl.close({\n $value: data\n }); // pass follow-up actions to caller\n }\n });\n }\n\n function cancelClick() {\n $ctrl.dismiss({\n $value: 'cancel'\n });\n }\n\n function submitClick() {\n postActivity();\n }\n}","PushToCRMController.$inject = [\"$filter\", \"$translate\", \"$translatePartialLoader\", \"ActivityActionEnum\", \"ActivityResultCodeEnum\", \"activityService\", \"localePaths\", \"exception\", \"logger\", \"translateErrorKeys\"];\n\n/* injects from baggage-loader */\nrequire('./push-to-crm.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('pushToCrm', {\n templateUrl: '/app/components/deal-sheet/modals/push-to-crm.component.html',\n controller: PushToCRMController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction PushToCRMController($filter, $translate, $translatePartialLoader, ActivityActionEnum, ActivityResultCodeEnum, activityService, localePaths, exception, logger, translateErrorKeys) {\n var $ctrl = this;\n $translatePartialLoader.addPart(localePaths.error);\n\n $ctrl.submit = function () {\n postToCrm();\n };\n\n $ctrl.cancel = function () {\n $ctrl.dismiss({\n $value: 'cancel'\n });\n };\n\n function closeModal() {\n $ctrl.close({\n $value: 'submit'\n });\n }\n\n function postToCrm() {\n var activity = {\n EntityID: $ctrl.resolve.opportunityId,\n ActivityActionID: ActivityActionEnum.Manual_Push_To_CRM,\n Notes: $ctrl.model ? $ctrl.model.notes : null\n };\n $ctrl.postSubmitActionPromise = activityService.postActivitySubmitAction(activity).then(setSubmitActionResult);\n }\n\n function setSubmitActionResult(result) {\n if (result.resultCode == ActivityResultCodeEnum.Push_To_Crm_Success) {\n $translate('PushToCrmSuccessMessage').then(function (successMessage) {\n logger.success(successMessage);\n });\n closeModal();\n } else if (result.resultCode == ActivityResultCodeEnum.Push_To_CRM_Fail_Permission) {\n $ctrl.isErrorNoPermission = true;\n } else if (result.resultCode == ActivityResultCodeEnum.Push_To_CRM_Fail_Delivery) {\n $ctrl.duplicationControlInDays = result.responseData.duplicationControlInDays;\n $ctrl.lastSentDate = $filter('localeDate')(result.responseData.lastSentDate);\n $ctrl.isErrorSentRecently = true;\n } else {\n $translate(translateErrorKeys.generalErrorMessageKey).then(function (translation) {\n exception.catcher(translation)(result);\n });\n }\n }\n}","import \"core-js/modules/es6.array.sort\";\nScheduleController.$inject = [\"$filter\", \"$translate\", \"$translatePartialLoader\", \"storageService\", \"userService\", \"scheduleTitleApptKey\", \"scheduleTitleCallKey\", \"rescheduleTitleCallKey\", \"rescheduleTitleApptKey\", \"reassignTitleCallKey\", \"reassignTitleApptKey\", \"scheduleAssignToErrorMsgKey\", \"activityService\", \"dateFormatService\", \"ActivityActionEnum\"];\n\n/* injects from baggage-loader */\nrequire('./schedule.component.html');\n\nimport angular from 'angular';\nimport moment from 'moment';\nangular.module('AaApp.Opp').component('schedule', {\n templateUrl: '/app/components/deal-sheet/modals/schedule.component.html',\n controller: ScheduleController,\n bindings: {\n dealerId: '<',\n opportunityId: '<',\n scheduleType: '<',\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction ScheduleController($filter, $translate, $translatePartialLoader, storageService, userService, scheduleTitleApptKey, scheduleTitleCallKey, rescheduleTitleCallKey, rescheduleTitleApptKey, reassignTitleCallKey, reassignTitleApptKey, scheduleAssignToErrorMsgKey, activityService, dateFormatService, ActivityActionEnum) {\n var $ctrl = this; //setup ui display object type for custom dialogbox\n\n var scheduleType = {\n scheduleCall: {\n activityId: ActivityActionEnum.Schedule_Call,\n description: scheduleTitleCallKey,\n IsAssignToVisible: true,\n IsDateVisible: true,\n IsTimeVisible: true,\n IsReminderVisible: true\n },\n scheduleAppt: {\n activityId: ActivityActionEnum.Schedule_Appt,\n description: scheduleTitleApptKey,\n IsAssignToVisible: true,\n IsDateVisible: true,\n IsTimeVisible: true,\n IsReminderVisible: true\n },\n rescheduleCall: {\n activityId: ActivityActionEnum.Reschedule_Call,\n description: rescheduleTitleCallKey,\n IsAssignToVisible: false,\n IsDateVisible: true,\n IsTimeVisible: true,\n IsReminderVisible: true\n },\n rescheduleAppt: {\n activityId: ActivityActionEnum.Reschedule_Appt,\n description: rescheduleTitleApptKey,\n IsAssignToVisible: false,\n IsDateVisible: true,\n IsTimeVisible: true,\n IsReminderVisible: true\n },\n reassignCall: {\n activityId: ActivityActionEnum.Reassign_Call,\n description: reassignTitleCallKey,\n IsAssignToVisible: true,\n IsDateVisible: false,\n IsTimeVisible: false,\n IsReminderVisible: false\n },\n reassignAppt: {\n activityId: ActivityActionEnum.Reassign_Appt,\n description: reassignTitleApptKey,\n IsAssignToVisible: true,\n IsDateVisible: false,\n IsTimeVisible: false,\n IsReminderVisible: false\n }\n };\n initModels();\n $ctrl.isSltUser;\n $ctrl.scheduleDueDateModel;\n $ctrl.submitting;\n $ctrl.$onChanges = onChanges;\n $ctrl.submitClick = submitClick;\n $ctrl.cancelClick = cancelClick;\n $ctrl.calendarClick = calendarClick;\n $ctrl.postActivity = postActivity;\n $ctrl.dateFormat = dateFormatService.getDateFormatString();\n $ctrl.setScheduleDueDate = setScheduleDueDate;\n\n function initModels() {\n var savedCultureName = storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n cultureName = cultureName.toLowerCase();\n $ctrl.editedActivityAssignToUser = null;\n $ctrl.currentLoginUserProfile = storageService.getItem('userProfile');\n $ctrl.validatedAssignee = {};\n $ctrl.validatedAssignee.isValid = false;\n $ctrl.validatedAssignee.index = -1; // default user choice\n // get's passed via resolve\n\n $ctrl.ownerId = null;\n $ctrl.owner = null;\n $ctrl.userList = [];\n $ctrl.activity = null; // owner info\n\n $ctrl.soldById = null;\n $ctrl.soldByName = null;\n $ctrl.soldByStatus = null; // setup time picker\n\n $ctrl.mytime = new Date();\n $ctrl.minDate = new Date();\n $ctrl.hstep = 1;\n $ctrl.mstep = 5;\n $ctrl.ismeridian = cultureName == 'fr-fr' ? false : true;\n $ctrl.status = {\n opened: false\n };\n\n Date.prototype.addDays = function (days) {\n var dat = new Date(this.valueOf());\n dat.setDate(dat.getDate() + days);\n return dat;\n };\n\n var now = new Date();\n var dueDate = now.addDays(5 / (24 * 60)); // add 5 min to current time\n\n $ctrl.model = {\n scheduleDueDate: dueDate,\n time: dueDate,\n //new Date(1, 1, 2000, dueDate.getHours(), dueDate.getMinutes()),\n notes: '',\n user: -1,\n sendReminder: false,\n userChoice: 'other'\n };\n } // Disable weekend selection\n\n\n function disabled(data) {\n var date = data.date,\n mode = data.mode;\n return mode === 'day' && (date.getDay() === 0 || date.getDay() === 6);\n }\n\n function calendarClick($event) {\n $ctrl.status.opened = true;\n }\n\n function onChanges() {\n if ($ctrl.resolve) {\n if ($ctrl.isSltUser == null) {\n userService.getUserProfile().then(function (userProfile) {\n $ctrl.isSltUser = userProfile.isSltUser;\n updateModel();\n });\n } else {\n updateModel();\n }\n }\n }\n\n function updateModel() {\n $ctrl.opportunityId = $ctrl.resolve.items.opportunityId;\n $ctrl.dealerId = $ctrl.resolve.items.dealerId;\n $ctrl.scheduleType = $ctrl.resolve.items.modalType;\n $ctrl.maxFutureDays = $ctrl.resolve.items.maxScheduleFutureDays;\n $ctrl.ownerUserInfo = $ctrl.resolve.items.ownerUserInfoObject;\n var now = new Date();\n\n if ($ctrl.isSltUser) {\n var maxSltScheduleDays = 30;\n $ctrl.maxDate = $ctrl.resolve.items.expirationDate ? new Date($ctrl.resolve.items.expirationDate) : maxSltScheduleDays;\n } else {\n $ctrl.maxDate = now.addDays($ctrl.maxFutureDays);\n }\n\n $ctrl.dateOptions = {\n formatYear: 'yy',\n minDate: $ctrl.minDate,\n maxDate: $ctrl.maxDate,\n startingDay: 0,\n showWeeks: false\n };\n\n for (var i = 0; i < $ctrl.resolve.items.usersObject.length; i++) {\n //Must create a new array and not reference the binding\n //as it can change the parent array. filter and add only user's with type id 1 that is client\n if ($ctrl.resolve.items.usersObject[i].userTypeId == 1) $ctrl.userList.push($ctrl.resolve.items.usersObject[i]);\n } // sort it to ascending order by fullName\n\n\n $ctrl.userList.sort(dynamicSort(\"fullName\")); // get passed owner id\n\n $ctrl.ownerId = $ctrl.resolve.items.dealSheetOwnerId; // if activity is passed from parent\n\n if ($ctrl.resolve.items.activityObject) $ctrl.activity = $ctrl.resolve.items.activityObject;\n $ctrl.scheduleForm.$setValidity();\n setupScheduleDialogUX();\n }\n\n function setupScheduleDialogUX() {\n switch ($ctrl.scheduleType) {\n case ActivityActionEnum.Schedule_Call:\n //setup dialogUX\n $ctrl.currentScheduleType = scheduleType.scheduleCall;\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\n $ctrl.model.user = '-1';\n break;\n\n case ActivityActionEnum.Schedule_Appt:\n $ctrl.currentScheduleType = scheduleType.scheduleAppt;\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\n $ctrl.model.user = '-1';\n break;\n\n case ActivityActionEnum.Reschedule_Call:\n //activity is passed from parent\n $ctrl.currentScheduleType = scheduleType.rescheduleCall;\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\n $ctrl.editedActivityAssignToUser = getValidatedAssignToUserObject($ctrl.activity.assignedUserID, $ctrl.userList);\n if (!$ctrl.editedActivityAssignToUser.isValid) $ctrl.model.user = '-1';else $ctrl.model.user = $ctrl.editedActivityAssignToUser.id + '';\n break;\n\n case ActivityActionEnum.Reschedule_Appt:\n //activity is passed from parent\n $ctrl.currentScheduleType = scheduleType.rescheduleAppt;\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\n $ctrl.editedActivityAssignToUser = getValidatedAssignToUserObject($ctrl.activity.assignedUserID, $ctrl.userList);\n if (!$ctrl.editedActivityAssignToUser.isValid) $ctrl.model.user = '-1';else $ctrl.model.user = $ctrl.editedActivityAssignToUser.id + '';\n break;\n\n case ActivityActionEnum.Reassign_Call:\n //activity is passed from parent\n $ctrl.currentScheduleType = scheduleType.reassignCall;\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\n $ctrl.editedActivityAssignToUser = getValidatedAssignToUserObject($ctrl.activity.assignedUserID, $ctrl.userList);\n if (!$ctrl.editedActivityAssignToUser.isValid) $ctrl.model.user = '-1';else $ctrl.model.user = $ctrl.editedActivityAssignToUser.id + '';\n break;\n\n case ActivityActionEnum.Reassign_Appt:\n //activity is passed from parent\n $ctrl.currentScheduleType = scheduleType.reassignAppt;\n $ctrl.ownerId = getValidOwnerId($ctrl.ownerId);\n $ctrl.owner = getValidatedAssignToUserObject($ctrl.ownerId, $ctrl.userList);\n $ctrl.editedActivityAssignToUser = getValidatedAssignToUserObject($ctrl.activity.assignedUserID, $ctrl.userList);\n if (!$ctrl.editedActivityAssignToUser.isValid) $ctrl.model.user = '-1';else $ctrl.model.user = $ctrl.editedActivityAssignToUser.id + '';\n break;\n }\n\n $ctrl.dialogTitle = $ctrl.currentScheduleType.description;\n getAssignToSelectedState();\n } // based on rules of WEBUI-4465 ownerId is replaced with soldByid\n\n\n function getValidOwnerId(currentOwnerId) {\n currentOwnerId = getValidatedAssignToUserObject(currentOwnerId, $ctrl.userList).id;\n var userId = -1;\n\n if ($ctrl.ownerUserInfo) {\n if (currentOwnerId == -1 && $ctrl.ownerUserInfo.soldByUserId == null && $ctrl.ownerUserInfo.soldByUserFullName == null) return -1;\n\n if (currentOwnerId == -1 && $ctrl.ownerUserInfo.soldByUserId == null && $ctrl.ownerUserInfo.soldByUserFullName != null) {\n userId = getUserIdbyName($ctrl.ownerUserInfo.soldByUserFullName, $ctrl.userList);\n return userId;\n }\n\n if (currentOwnerId == -1 && $ctrl.ownerUserInfo.soldByUserId != null) {\n return $ctrl.ownerUserInfo.soldByUserId;\n }\n\n if (currentOwnerId != -1 && $ctrl.ownerUserInfo.ownerUserEnabled == false && $ctrl.ownerUserInfo.soldByUserId != null) {\n return $ctrl.ownerUserInfo.soldByUserId;\n }\n }\n\n return currentOwnerId;\n }\n\n function getUserIdbyName(userName, userList) {\n for (var i = 0; i < userList.length; i++) {\n if (userList[i].fullName.toLowerCase() == userName.toLowerCase()) {\n return userList[i].id;\n }\n }\n\n return -1;\n }\n\n function getValidatedAssignToUserObject(userID, userList) {\n var resultObj = {};\n resultObj.isValid = false;\n resultObj.index = -1;\n resultObj.fullName = null;\n resultObj.id = -1;\n\n for (var i = 0; i < userList.length; i++) {\n if (userList[i].id == userID) {\n resultObj.isValid = true;\n resultObj.index = i;\n resultObj.fullName = userList[i].fullName;\n resultObj.id = userList[i].id;\n return resultObj;\n }\n }\n\n return resultObj;\n }\n\n function getAssignToSelectedState() {\n if (!$ctrl.currentLoginUserProfile.employeeUser) {\n $ctrl.model.userChoice = 'self';\n\n if ($ctrl.currentLoginUserProfile.userId == $ctrl.owner.id) {\n $ctrl.owner.isValid = false;\n }\n\n return;\n }\n\n if ($ctrl.owner.isValid) {\n $ctrl.model.userChoice = 'owner';\n return;\n }\n\n $ctrl.model.userChoice = 'other';\n return;\n } // sort a list object based on property\n\n\n function dynamicSort(property) {\n var sortOrder = 1;\n\n if (property[0] === \"-\") {\n sortOrder = -1;\n property = property.substr(1);\n }\n\n return function (a, b) {\n var result = a[property] < b[property] ? -1 : a[property] > b[property] ? 1 : 0;\n return result * sortOrder;\n };\n }\n\n function postActivity() {\n var assignToUserId = -1;\n\n switch ($ctrl.model.userChoice) {\n case 'self':\n assignToUserId = $ctrl.currentLoginUserProfile.userId;\n break;\n\n case 'owner':\n assignToUserId = $ctrl.owner.id;\n break;\n\n case 'other':\n assignToUserId = $ctrl.model.user;\n break;\n }\n\n if (!assignToUserId) {\n $ctrl.errorMessage = scheduleAssignToErrorMsgKey;\n return;\n }\n\n if (assignToUserId == -1) {\n $ctrl.errorMessage = scheduleAssignToErrorMsgKey;\n return;\n }\n\n var dateTime = new Date($ctrl.model.scheduleDueDate.getFullYear(), $ctrl.model.scheduleDueDate.getMonth(), $ctrl.model.scheduleDueDate.getDate(), $ctrl.model.time.getHours(), $ctrl.model.time.getMinutes(), $ctrl.model.time.getSeconds());\n var recordId = null;\n if ($ctrl.activity) if ($ctrl.currentScheduleType.activityId != ActivityActionEnum.Schedule_Call && $ctrl.currentScheduleType.activityId != ActivityActionEnum.Schedule_Appt) recordId = $ctrl.activity.activityId;\n var activity = {\n entityID: $ctrl.opportunityId,\n activityActionID: $ctrl.currentScheduleType.activityId,\n notes: $ctrl.model.notes,\n assignTo: assignToUserId,\n //$ctrl.model.user,\n dueDate: moment(dateTime).format(\"YYYY-MM-DD[T]HH:mm:ss\"),\n sendReminder: $ctrl.model.sendReminder,\n activityId: recordId,\n activityActionSubTypeID: null\n };\n if (!activity.notes) activity.notes = '';\n $ctrl.submitting = activityService.postActivitySubmitAction(activity).then(function (data) {\n data.activityId = $ctrl.currentScheduleType.activityId;\n $ctrl.submitting = null;\n $ctrl.close({\n $value: data\n });\n });\n }\n\n function cancelClick() {\n $ctrl.close({\n $value: 'followup-cancel'\n });\n }\n\n function submitClick() {\n postActivity();\n }\n\n function setScheduleDueDate(date, model) {\n $ctrl.model.scheduleDueDate = date;\n $ctrl.scheduleDueDateModel = model;\n }\n}","\n/* injects from baggage-loader */\nrequire('./select-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('selectModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/select-modal.component.html',\r\n controller: SelectModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction SelectModalController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.selection\r\n $ctrl.onSelect = onSelect;\r\n\r\n function onSelect(selection) {\r\n $ctrl.selection = selection;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./show-full-conversation-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('showFullConversationModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/show-full-conversation-modal.component.html',\r\n controller: ShowFullConversationModal,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ShowFullConversationModal() {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.endCommunicationAction = endCommunicationAction;\r\n $ctrl.isAutoAssistantConversationOpen = false;\r\n\r\n function init() {\r\n $ctrl.isAutoAssistantConversationOpen = $ctrl.resolve.getIsAutoAssistantConversationOpenVariable();\r\n $ctrl.resolve.getAutoAssistantConversation().then(function (data) {\r\n $ctrl.body = data;\r\n });\r\n }\r\n\r\n function endCommunicationAction() {\r\n $ctrl.resolve.endAutoAssistCommunication();\r\n $ctrl.isAutoAssistantConversationOpen = false;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./service-detail-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('serviceDetailModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/service-detail-modal.component.html',\r\n controller: ServiceDetailModal,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ServiceDetailModal() {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.roId = $ctrl.resolve.roId;\r\n $ctrl.resolve.getServiceLineDetails($ctrl.resolve.dealerId, $ctrl.resolve.roId).then(function (data) {\r\n $ctrl.tableData = data;\r\n });\r\n }\r\n}\r\n","UpdateMileageController.$inject = [\"$translate\", \"$translatePartialLoader\"];\n\n/* injects from baggage-loader */\nrequire('./update-mileage.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('updateMileage', {\n templateUrl: '/app/components/deal-sheet/modals/update-mileage.component.html',\n controller: UpdateMileageController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction UpdateMileageController($translate, $translatePartialLoader) {\n var $ctrl = this;\n $ctrl.dateModel;\n $ctrl.submitClick = submitClick;\n $ctrl.cancelClick = cancelClick;\n $ctrl.calendarClick = calendarClick;\n $ctrl.setDate = setDate;\n initModel();\n\n function initModel() {\n Date.prototype.addDays = function (days) {\n var dat = new Date(this.valueOf());\n dat.setDate(dat.getDate() + days);\n return dat;\n };\n\n var date = new Date();\n $ctrl.status = {\n opened: false\n };\n $ctrl.dateOptions = {\n formatYear: 'yy',\n maxDate: new Date(),\n startingDay: 0,\n showWeeks: false\n };\n $ctrl.minDate = date;\n var dueDate = date.addDays(5 / (24 * 60)); // add 5 min to current time\n\n $ctrl.model = {\n date: dueDate,\n time: new Date(1, 1, 2000, dueDate.getHours(), dueDate.getMinutes()),\n mileage: ''\n };\n }\n\n function calendarClick($event) {\n $ctrl.status.opened = true;\n }\n\n function cancelClick() {\n $ctrl.dismiss({\n $value: 'cancel'\n });\n }\n\n function submitClick() {\n $ctrl.close({\n $value: {\n mileage: $ctrl.model.mileage,\n date: $ctrl.model.date\n }\n });\n }\n\n function setDate(date, model) {\n $ctrl.model.date = date;\n $ctrl.dateModel = model;\n $ctrl.mileageEditForm.$setValidity('custom', $ctrl.dateModel.valid);\n }\n}","\n/* injects from baggage-loader */\nrequire('./user-select-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('userSelectModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/user-select-modal.component.html',\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./vehicle-select-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('vehicleSelectModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/vehicle-select-modal.component.html',\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./view-customer-conversation-modal.component.html');\n\nimport angular from 'angular';\r\n(function () {\r\n angular.module('AaApp.Opp').component('viewCustomerConversationModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/view-customer-conversation-modal.component.html',\r\n controller: ViewCustomerConversationModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n });\r\n\r\n/* @ngInject */\r\n function ViewCustomerConversationModalController($sce) {\r\n var $ctrl = this;\r\n $ctrl.conversation = $sce.trustAsHtml($ctrl.resolve.conversation);\r\n }\r\n})();","\n/* injects from baggage-loader */\nrequire('./hot-trade-details-modal.component.html');\n\nimport angular from 'angular';\r\nimport './hot-trade-details-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('hotTradeDetailsModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/hot-trade-details-modal.component.html',\r\n controller: HotTradeDetailsModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\nfunction HotTradeDetailsModalController() {\r\n var $ctrl = this;\r\n $ctrl.titleText;\r\n $ctrl.hotTrade;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.titleText = getTitle($ctrl.resolve.renderedPromise.vehicle);\r\n $ctrl.hotTrade = $ctrl.resolve.renderedPromise.hotTrade;\r\n }\r\n\r\n $ctrl.validationCheck = function (isValid) {\r\n $ctrl.validFinancials = isValid;\r\n }\r\n\r\n function getTitle(vehicle) { \r\n return vehicle.yearID + ' ' + vehicle.makeName + ' ' + vehicle.trimFullName;\r\n }\r\n}\r\n","OpenNewWindowController.$inject = [\"$window\", \"dealSheetService\"];\n\n/* injects from baggage-loader */\nrequire('./open-new-window.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('openNewWindow', {\n templateUrl: '/app/components/deal-sheet/open-new-window.component.html',\n controller: OpenNewWindowController,\n bindings: {\n opportunityId: '<',\n openLite: '<'\n }\n});\n/* @ngInject */\n\nfunction OpenNewWindowController($window, dealSheetService) {\n var $ctrl = this;\n $ctrl.getDealSheetUrl = dealSheetService.getDealSheetUrl;\n $ctrl.openInNewWindow = openInNewWindow;\n\n function openInNewWindow() {\n var newWindowUrl = \"\";\n\n if ($ctrl.openLite) {\n newWindowUrl = dealSheetService.getDealSheetLiteUrl($ctrl.opportunityId);\n } else {\n newWindowUrl = dealSheetService.getDealSheetUrl($ctrl.opportunityId);\n }\n\n $window.open(newWindowUrl, '_blank');\n }\n}","\n/* injects from baggage-loader */\nrequire('./opportunity-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('opportunitySelect', {\r\n templateUrl: '/app/components/deal-sheet/opportunity-select.component.html',\r\n controller: OpportunitySelectController,\r\n bindings: {\r\n opportunities: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction OpportunitySelectController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.visible = true;\r\n}\r\n","OtherVehiclesOwnedController.$inject = [\"_\", \"opportunityTypes\", \"saleTypes\", \"alertIconClasses\", \"dealSheetTabs\"];\n\n/* injects from baggage-loader */\nrequire('./other-vehicles-owned.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('otherVehiclesOwned', {\n templateUrl: '/app/components/deal-sheet/other-vehicles-owned.component.html',\n controller: OtherVehiclesOwnedController,\n bindings: {\n relatedOpportunities: '<',\n defaultTab: '<',\n onSelect: '&',\n onSetAsDefault: '&'\n }\n});\n/* @ngInject */\n\nfunction OtherVehiclesOwnedController(_, opportunityTypes, saleTypes, alertIconClasses, dealSheetTabs) {\n var $ctrl = this;\n $ctrl.defaultTab;\n $ctrl.tabs;\n $ctrl.opportunityTypeTranslateKeys;\n $ctrl.saleTypeTranslateKeys;\n $ctrl.alertIconClasses;\n $ctrl.$onInit = init;\n\n function init() {\n $ctrl.opportunityTypeTranslateKeys = _.invert(opportunityTypes);\n $ctrl.saleTypeTranslateKeys = _.invert(saleTypes);\n $ctrl.alertIconClasses = alertIconClasses;\n $ctrl.tabs = dealSheetTabs;\n }\n}","PricingPlanClientController.$inject = [\"_\", \"$translate\"];\n\n/* injects from baggage-loader */\nrequire('./pricing-plan-client.component.html');\n\nimport angular from 'angular';\nimport PricingPlanTypes from '../../constants/pricing-plan-types';\nvar pricingActive = 'pricingActive';\nangular.module('AaApp.Opp').component('pricingPlanClient', {\n templateUrl: '/app/components/deal-sheet/pricing-plan-client.component.html',\n controller: PricingPlanClientController,\n bindings: {\n customer: '<',\n dealerSettings: '<',\n permissions: '<',\n pricingPlan: '<',\n onCustomerEdit: '&'\n }\n});\n/* @ngInject */\n\nfunction PricingPlanClientController(_, $translate) {\n var $ctrl = this;\n $ctrl.planTitle;\n $ctrl.showPricingPlan;\n\n $ctrl.$onChanges = function () {\n if ($ctrl.pricingPlan && $ctrl.customer && $ctrl.customer.pricingPlanId && $ctrl.customer.pricingPlanId > 0) {\n $ctrl.showPricingPlan = true;\n\n var planTypes = _.invert(PricingPlanTypes);\n\n var plan = planTypes[$ctrl.customer.pricingPlanId];\n $translate([plan, pricingActive]).then(function (result) {\n $ctrl.planTitle = result[plan] + ' ' + result[pricingActive];\n });\n } else {\n $ctrl.showPricingPlan = false;\n }\n };\n}","\n/* injects from baggage-loader */\nrequire('./pricing-plan-client.component.html');\n\nimport angular from 'angular';\r\nimport PricingPlanTypes from '../../constants/pricing-plan-types';\r\nconst pricingActive = 'pricingActive';\r\n\r\nangular.module('AaApp.Opp').component('pricingPlanClient', {\r\n templateUrl: '/app/components/deal-sheet/pricing-plan-client.component.html',\r\n controller: PricingPlanClientController,\r\n bindings: {\r\n customer: '<',\r\n dealerSettings: '<',\r\n permissions: '<',\r\n pricingPlan: '<',\r\n onCustomerEdit: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction PricingPlanClientController(_, $translate) {\r\n var $ctrl = this;\r\n\r\n $ctrl.planTitle;\r\n $ctrl.showPricingPlan;\r\n\r\n $ctrl.$onChanges = function() {\r\n if ($ctrl.pricingPlan && $ctrl.customer && $ctrl.customer.pricingPlanId && $ctrl.customer.pricingPlanId > 0) {\r\n $ctrl.showPricingPlan = true;\r\n var planTypes = _.invert(PricingPlanTypes);\r\n var plan = planTypes[$ctrl.customer.pricingPlanId];\r\n $translate([plan, pricingActive])\r\n .then(function (result) {\r\n $ctrl.planTitle = result[plan] + ' ' + result[pricingActive];\r\n });\r\n } else {\r\n $ctrl.showPricingPlan = false;\r\n }\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./print-offer.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('printOffer', {\r\n templateUrl: '/app/components/deal-sheet/print-offer.component.html',\r\n controller: PrintOfferController,\r\n bindings: {\r\n opportunityId: '<',\r\n showWarning: '<',\r\n onStart: '&',\r\n onFinish: '&',\r\n onActivityUpdate: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction PrintOfferController($q, printOfferBatchService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.showWarningMessage = showWarningMessage;\r\n $ctrl.printOffer = printOffer;\r\n\r\n function showWarningMessage() {\r\n if ($ctrl.showWarning) {\r\n return $q.resolve(true);\r\n }\r\n else {\r\n printOffer();\r\n\r\n return $q.resolve(false);\r\n }\r\n }\r\n\r\n function printOffer() {\r\n $ctrl.onStart();\r\n\r\n return printOfferBatchService.initiatePrint($ctrl.opportunityId)\r\n .then(function (data) {\r\n $ctrl.onFinish();\r\n\r\n $ctrl.onActivityUpdate({ $event: { data: data } });\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./print-upgrade-proposal.component.html');\n\nimport angular from 'angular';\r\nimport { downloadArraybufferResponse } from '../../utilities/http';\r\n\r\nangular.module('AaApp.Opp').component('printUpgradeProposal', {\r\n templateUrl: '/app/components/deal-sheet/print-upgrade-proposal.component.html',\r\n controller: PrintUpgradeProposalController,\r\n bindings: {\r\n opportunity: '<',\r\n onPrint: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction PrintUpgradeProposalController(saleTypes, legacyService, $window, translateErrorKeys, $translate) {\r\n var $ctrl = this;\r\n\r\n $ctrl.iPromiseIamThinking = null;\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.getUpgradeProposal = getUpgradeProposal;\r\n\r\n function getUpgradeProposal() {\r\n $ctrl.iPromiseIamThinking = legacyService.generateUpgradeProposal($ctrl.opportunity)\r\n .then(downloadArraybufferResponse({\r\n contentType: 'application/pdf',\r\n filename: 'UpgradeProposal_' + $ctrl.opportunity.id + '.pdf',\r\n }))\r\n .catch(function (err) {\r\n var translationKey = null;\r\n\r\n switch(err.message) {\r\n case \"popupBlockerEnabled\":\r\n translationKey = translateErrorKeys.popupBlockerEnabledErrorMessage;\r\n break;\r\n default:\r\n translationKey = translateErrorKeys.generalErrorMessageKey;\r\n break;\r\n }\r\n\r\n if (translationKey != null) {\r\n $translate(translationKey).then((response) => {\r\n alert(response);\r\n });\r\n }\r\n \r\n })\r\n .finally(function () {\r\n $ctrl.onPrint();\r\n });\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./reopen.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('reopen', {\r\n templateUrl: '/app/components/deal-sheet/reopen.component.html',\r\n controller: ReopenController,\r\n bindings: {\r\n status: '<',\r\n permissions: '<',\r\n onReopen: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReopenController(opportunityStatuses) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if (changes.status || changes.permissions) {\r\n if ($ctrl.status && $ctrl.permissions) {\r\n $ctrl.reopenEnabled = ($ctrl.status == opportunityStatuses.closed || $ctrl.status == opportunityStatuses.sold)\r\n && ($ctrl.permissions.editMarkAsNotOwn || $ctrl.permissions.editMarkAsSold);\r\n }\r\n else {\r\n $ctrl.reopenEnabled = false;\r\n }\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./report-discrepancy-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('reportDiscrepancyAction', {\r\n templateUrl: '/app/components/deal-sheet/report-discrepancy-action.component.html',\r\n controller: ReportDiscrepancyActionController,\r\n bindings: {\r\n countryId: '<',\r\n opportunity: '<',\r\n saleTypes: '<',\r\n onInput: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReportDiscrepancyActionController($q, $filter, currentVehicleKey, paymentsKey, discrepancyTypes, saleTypes, dealerCountries) {\r\n var $ctrl = this;\r\n\r\n $ctrl.options;\r\n $ctrl.getOptions = getOptions;\r\n\r\n function getOptions() {\r\n $ctrl.options = getDiscrepancyOptions();\r\n\r\n return $q.resolve(true);\r\n }\r\n\r\n function getDiscrepancyOptions() {\r\n var options = [\r\n {\r\n group: currentVehicleKey,\r\n type: discrepancyTypes.tradeValue,\r\n value: $ctrl.opportunity.currentVehicle.tradeValue\r\n },\r\n {\r\n group: currentVehicleKey,\r\n type: discrepancyTypes.payoffAmount,\r\n value: $ctrl.opportunity.currentContract.payoffAmount\r\n }\r\n ];\r\n\r\n if ($ctrl.saleTypes.indexOf(saleTypes.lease) > -1) {\r\n options.push(\r\n {\r\n group: paymentsKey,\r\n type: discrepancyTypes.leaseRate,\r\n multiple: true,\r\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.leaseRate, $ctrl.countryId == dealerCountries.usa)\r\n },\r\n {\r\n group: paymentsKey,\r\n type: discrepancyTypes.leaseFactoryRebate,\r\n multiple: true,\r\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.leaseFactoryRebate)\r\n },\r\n {\r\n group: paymentsKey,\r\n type: discrepancyTypes.leaseDealerRebate,\r\n multiple: true,\r\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.leaseDealerRebate)\r\n }\r\n );\r\n }\r\n\r\n if ($ctrl.saleTypes.indexOf(saleTypes.retail) > -1) {\r\n options.push(\r\n {\r\n group: paymentsKey,\r\n type: discrepancyTypes.retailRate,\r\n multiple: true,\r\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.retailRate)\r\n },\r\n {\r\n group: paymentsKey,\r\n type: discrepancyTypes.retailFactoryRebate,\r\n multiple: true,\r\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.retailFactoryRebate)\r\n },\r\n {\r\n group: paymentsKey,\r\n type: discrepancyTypes.retailDealerRebate,\r\n multiple: true,\r\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.retailDealerRebate)\r\n }\r\n );\r\n }\r\n\r\n if ($ctrl.saleTypes.indexOf(saleTypes.balloon) > -1) {\r\n options.push(\r\n {\r\n group: paymentsKey,\r\n type: discrepancyTypes.balloonRate,\r\n multiple: true,\r\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.balloonRate)\r\n },\r\n {\r\n group: paymentsKey,\r\n type: discrepancyTypes.balloonFactoryRebate,\r\n multiple: true,\r\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.balloonFactoryRebate)\r\n },\r\n {\r\n group: paymentsKey,\r\n type: discrepancyTypes.balloonDealerRebate,\r\n multiple: true,\r\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.balloonDealerRebate)\r\n }\r\n );\r\n }\r\n\r\n options.push(\r\n {\r\n type: discrepancyTypes.replacementVehicle,\r\n value: getReplacementVehicleInfo($ctrl.opportunity)\r\n },\r\n {\r\n type: discrepancyTypes.other\r\n }\r\n );\r\n\r\n return options;\r\n }\r\n\r\n function getValueList(contracts, discrepancyType, useMoneyFactor) {\r\n var rateList = [];\r\n\r\n for (var i = 0; i < contracts.length; i++) {\r\n var contract = contracts[i];\r\n\r\n var saleType;\r\n\r\n switch (discrepancyType) {\r\n case discrepancyTypes.leaseRate:\r\n case discrepancyTypes.leaseFactoryRebate:\r\n case discrepancyTypes.leaseDealerRebate:\r\n saleType = saleTypes.lease;\r\n break;\r\n case discrepancyTypes.retailRate:\r\n case discrepancyTypes.retailFactoryRebate:\r\n case discrepancyTypes.retailDealerRebate:\r\n saleType = saleTypes.retail;\r\n break;\r\n case discrepancyTypes.balloonRate:\r\n case discrepancyTypes.balloonFactoryRebate:\r\n case discrepancyTypes.balloonDealerRebate:\r\n saleType = saleTypes.balloon;\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n if (contract.saleType == saleType) {\r\n var current = {\r\n term: contract.term\r\n }\r\n\r\n switch (discrepancyType) {\r\n case discrepancyTypes.leaseRate:\r\n current.value = useMoneyFactor ? contract.moneyFactor : contract.apr;\r\n break;\r\n case discrepancyTypes.retailRate:\r\n case discrepancyTypes.balloonRate:\r\n current.value = contract.apr;\r\n break;\r\n case discrepancyTypes.leaseFactoryRebate:\r\n case discrepancyTypes.retailFactoryRebate:\r\n case discrepancyTypes.balloonFactoryRebate:\r\n current.value = contract.factoryRebate;\r\n break;\r\n case discrepancyTypes.leaseDealerRebate:\r\n case discrepancyTypes.retailDealerRebate:\r\n case discrepancyTypes.balloonDealerRebate:\r\n current.value = contract.dealerRebate;\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n rateList.push(current);\r\n }\r\n }\r\n\r\n return rateList;\r\n }\r\n\r\n function getReplacementVehicleInfo(opportunity) {\r\n var replacementInfo = opportunity.replacementVehicle.yearID + ', '\r\n + opportunity.replacementVehicle.makeName + ' '\r\n + opportunity.replacementVehicle.trimFullName\r\n + ' (' + $filter('localeCurrency')(opportunity.replacementVehicle.price) + ')';\r\n\r\n return replacementInfo;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./service-history.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('serviceHistory', {\r\n templateUrl: '/app/components/deal-sheet/service-history.component.html',\r\n controller: ServiceHistoryController,\r\n bindings: {\r\n history: '<',\r\n permissions: '<',\r\n defaultTab: '<',\r\n onSetAsDefault: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ServiceHistoryController($translate, generalNaKey, dealSheetTabs, servicesService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.tabs = dealSheetTabs;\r\n $ctrl.GetAdvisor = getAdvisor;\r\n $ctrl.GetAmount = getAmount;\r\n $ctrl.getServiceLineDetails = getServiceLineDetails;\r\n\r\n var naMessage = 'N/A';\r\n $translate(generalNaKey).then(function (value) {\r\n naMessage = value;\r\n }).catch(function (e) {\r\n });\r\n\r\n function getAdvisor(item) {\r\n if (!item) { return ''; }\r\n if (item.serviceAdvisorName && typeof (item.serviceAdvisorName) === 'string' && item.serviceAdvisorName.trim() !== '') { return item.serviceAdvisorName; }\r\n if (item.serviceAdvisorID && typeof (item.serviceAdvisorID) === 'string' && item.serviceAdvisorID.trim() !== '') { return item.serviceAdvisorID; }\r\n return '';\r\n }\r\n\r\n function getAmount(item, type) {\r\n\r\n if (!item || !type) { return naMessage; }\r\n switch (type) {\r\n case 'CP':\r\n if (!(typeof (item.customerPaid) === 'undefined' || item.customerPaid === null)) {\r\n return item.customerPaid;\r\n }\r\n break;\r\n case 'DP':\r\n if (!(typeof (item.dealerPaid) === 'undefined' || item.dealerPaid === null)) {\r\n return item.dealerPaid;\r\n }\r\n break;\r\n case 'WP':\r\n if (!(typeof (item.warrantyPaid) === 'undefined' || item.warrantyPaid === null)) {\r\n return item.warrantyPaid;\r\n }\r\n break;\r\n }\r\n return naMessage;\r\n }\r\n\r\n function getServiceLineDetails(dealerId, roId) {\r\n return servicesService.getServiceLineDetails(dealerId, roId);\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./inventory-search-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('inventorySearchAction', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/inventory-search-action.component.html',\r\n controller: InventorySearchActionController,\r\n bindings: {\r\n opportunity: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction InventorySearchActionController($q, $analytics, analytics) {\r\n var $ctrl = this;\r\n\r\n $ctrl.defaults;\r\n $ctrl.onVehicleSelect = onVehicleSelect;\r\n $ctrl.getDefaults = getDefaults;\r\n\r\n function getDefaults() {\r\n $ctrl.defaults = {\r\n saleTypes: [$ctrl.opportunity.currentContract.saleType],\r\n vehicleTypes: [$ctrl.opportunity.replacementVehicle.type],\r\n makeID: $ctrl.opportunity.replacementVehicle.makeID,\r\n makeName: $ctrl.opportunity.replacementVehicle.makeName,\r\n yearID: $ctrl.opportunity.replacementVehicle.yearID,\r\n modelID: $ctrl.opportunity.replacementVehicle.modelID,\r\n modelName: $ctrl.opportunity.replacementVehicle.modelName,\r\n trimID: $ctrl.opportunity.replacementVehicle.trimID,\r\n trimName: $ctrl.opportunity.replacementVehicle.trimName,\r\n term: $ctrl.opportunity.currentContract.term,\r\n payment: $ctrl.opportunity.currentContract.payment\r\n }\r\n\r\n return $q.resolve(true);\r\n }\r\n\r\n function onVehicleSelect(vehicle) {\r\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\r\n category: analytics.categories.dealSheet,\r\n label: analytics.labels.inventorySearch\r\n });\r\n\r\n $ctrl.onSelect({ vehicle: vehicle });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./inventory-search.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\nangular.module('AaApp.Opp').component('inventorySearch', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/inventory-search.component.html',\r\n controller: InventorySearchController,\r\n bindings: {\r\n opportunity: '<',\r\n dealerId: '<',\r\n defaults: '<',\r\n onVehicleSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction InventorySearchController(vehicleService, vehicleTypes, saleTypes, vehicleSelectColumns, $filter, toaster, $translate) {\r\n var $ctrl = this;\r\n var localeCurrencyFilter = $filter('localeCurrency');\r\n\r\n $ctrl.searchPromise\r\n $ctrl.vehicles;\r\n $ctrl.stockNo;\r\n $ctrl.displayColumns;\r\n $ctrl.selectedVehicleTypes;\r\n $ctrl.selectedSaleTypes = [];\r\n $ctrl.trimSelections;\r\n $ctrl.usePricingPlan;\r\n\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.setSelectedSaleTypes = setSelectedSaleTypes;\r\n $ctrl.setSelectedVehicleTypes = setSelectedVehicleTypes;\r\n $ctrl.setTrimSelections = setTrimSelections;\r\n $ctrl.searchByStockNo = searchByStockNo;\r\n $ctrl.searchByTrim = searchByTrim;\r\n $ctrl.resetFilters = resetFilters;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n $ctrl.termFilter = {\r\n min: 24,\r\n max: 48,\r\n options: {\r\n floor: 24,\r\n ceil: 96,\r\n step: 3,\r\n }\r\n }\r\n $ctrl.paymentFilter = {\r\n min: 100,\r\n max: 2000,\r\n options: {\r\n floor: 50,\r\n ceil: 3000,\r\n step: 50,\r\n }\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.defaults && changes.defaults.currentValue) {\r\n setTrimSelections($ctrl.defaults);\r\n setSelectedVehicleTypes($ctrl.defaults.vehicleTypes);\r\n setDefaultPaymentFilters($ctrl.defaults.term, $ctrl.defaults.payment, $ctrl.defaults.saleTypes);\r\n setPricingPlanStatus();\r\n }\r\n }\r\n\r\n function setPricingPlanStatus() {\r\n if ($ctrl.opportunity.customer.pricingPlanId && $ctrl.opportunity.customer.pricingPlanId > 0) {\r\n $ctrl.usePricingPlan = true;\r\n } else { $ctrl.usePricingPlan = false; }\r\n }\r\n\r\n function setDefaultPaymentFilters(term, payment, saleTypes) {\r\n if (term) {\r\n $ctrl.termFilter.min = Math.max($ctrl.termFilter.options.floor, term - 12)\r\n $ctrl.termFilter.max = Math.min($ctrl.termFilter.options.ceil, term + 12)\r\n } else {\r\n $ctrl.termFilter.min = 24\r\n $ctrl.termFilter.max = 48\r\n }\r\n\r\n if (payment) {\r\n var floor = $ctrl.paymentFilter.options.floor\r\n var ceil = $ctrl.paymentFilter.options.ceil\r\n var step = $ctrl.paymentFilter.options.step\r\n var validPayments = _.range(floor, ceil + 1, step)\r\n\r\n var lowerBound = findClosestValue(validPayments, payment * 0.90)\r\n var upperBound = findClosestValue(validPayments, payment * 1.10)\r\n\r\n $ctrl.paymentFilter.min = lowerBound\r\n $ctrl.paymentFilter.max = upperBound\r\n } else {\r\n $ctrl.paymentFilter.min = 250\r\n $ctrl.paymentFilter.max = 750\r\n }\r\n\r\n if (saleTypes) {\r\n setSelectedSaleTypes(saleTypes.slice())\r\n } else {\r\n setSelectedSaleTypes([saleTypes.lease])\r\n }\r\n\r\n function findClosestValue(values, candidate) {\r\n var distances = values\r\n .map(function (value) {\r\n return {\r\n value: value,\r\n distance: Math.abs(candidate-value)\r\n }\r\n })\r\n return _.head(\r\n _.sortBy(distances, function (v) { return v.distance })\r\n .map(function (v) { return v.value }))\r\n }\r\n }\r\n\r\n function resetFilters() {\r\n $ctrl.vehicles = null;\r\n\r\n // Replacing the `defaults` object with an identical object triggers\r\n // the $onChanges event in child components so they reset themselves.\r\n $ctrl.defaults = _.extend({}, $ctrl.defaults);\r\n $ctrl.defaults.vehicleTypes = $ctrl.defaults.vehicleTypes.slice();\r\n\r\n setDefaultPaymentFilters($ctrl.defaults.term, $ctrl.defaults.payment, $ctrl.defaults.saleTypes);\r\n setSelectedSaleTypes($ctrl.defaults.saleTypes);\r\n setSelectedVehicleTypes($ctrl.defaults.vehicleTypes);\r\n setTrimSelections($ctrl.defaults);\r\n }\r\n\r\n function setSelectedVehicleTypes(vehicleTypes) {\r\n if (vehicleTypes.length == 0) {\r\n $ctrl.selectedVehicleTypes = [vehicleTypes.new, vehicleTypes.used];\r\n } else {\r\n $ctrl.selectedVehicleTypes = vehicleTypes.slice();\r\n }\r\n }\r\n\r\n function setSelectedSaleTypes(saleTypes) {\r\n if (saleTypes) {\r\n $ctrl.selectedSaleTypes = saleTypes.slice()\r\n }\r\n }\r\n\r\n function setTrimSelections(selections) {\r\n $ctrl.trimSelections = selections;\r\n }\r\n\r\n function searchByStockNo() {\r\n if ($ctrl.stockNo) {\r\n $ctrl.vehicles = null;\r\n\r\n $ctrl.searchPromise = vehicleService.getInventoryVehicle($ctrl.stockNo, $ctrl.opportunity.id, $ctrl.opportunity.customer.pricingPlanId)\r\n .then(showSearchResults(false));\r\n }\r\n }\r\n\r\n function searchByTrim() {\r\n if ($ctrl.trimSelections) {\r\n $ctrl.vehicles = null;\r\n\r\n var getNewVehicles = $ctrl.selectedVehicleTypes.indexOf(vehicleTypes.new) >= 0;\r\n var getUsedVehicles = $ctrl.selectedVehicleTypes.indexOf(vehicleTypes.used) >= 0 || $ctrl.selectedVehicleTypes.indexOf(vehicleTypes.cpo) >= 0;\r\n var makeIDs = $ctrl.trimSelections.makeID ? [$ctrl.trimSelections.makeID] : [];\r\n var yearIDs = $ctrl.trimSelections.yearID ? [$ctrl.trimSelections.yearID] : [];\r\n\r\n var modelIDs = $ctrl.trimSelections.modelIDs;\r\n if (!modelIDs) {\r\n modelIDs = $ctrl.trimSelections.modelId ? [$ctrl.trimSelections.modelId] : [];\r\n }\r\n\r\n var trimIDs = $ctrl.trimSelections.trimIDs;\r\n if (!trimIDs) {\r\n trimIDs = $ctrl.trimSelections.trimID ? [$ctrl.trimSelections.trimID] : [];\r\n }\r\n\r\n var params = {\r\n dealerIds: [$ctrl.dealerId],\r\n getNewVehicles: getNewVehicles,\r\n getUsedVehicles: getUsedVehicles,\r\n makeIDs: makeIDs,\r\n yearIDs: yearIDs,\r\n modelIDs: modelIDs,\r\n trimIDs: trimIDs,\r\n saleTypes: $ctrl.paymentFiltersEnabled ? $ctrl.selectedSaleTypes : [], // empty means both\r\n minimumTermLength: $ctrl.paymentFiltersEnabled ? $ctrl.termFilter.min : null,\r\n maximumTermLength: $ctrl.paymentFiltersEnabled ? $ctrl.termFilter.max : null,\r\n minimumMonthlyPayment: $ctrl.paymentFiltersEnabled ? $ctrl.paymentFilter.min : null,\r\n maximumMonthlyPayment: $ctrl.paymentFiltersEnabled ? $ctrl.paymentFilter.max : null,\r\n pricingPlanId: $ctrl.usePricingPlan ? $ctrl.opportunity.customer.pricingPlanId : null,\r\n }\r\n\r\n $ctrl.searchPromise = vehicleService.getInventoryVehicles($ctrl.opportunity, params)\r\n .then(showSearchResults($ctrl.paymentFiltersEnabled));\r\n }\r\n }\r\n\r\n function showWarningMessage(translations) {\r\n toaster.pop('warning', translations.warningTitle, translations.missingInventoryTrimIDErrorMsg);\r\n }\r\n\r\n function showSearchResults(displayPaymentColumn) {\r\n return function showSearchResults(vehicles) {\r\n if (!vehicles) {\r\n $ctrl.vehicles = [];\r\n return;\r\n }\r\n\r\n if (Object.prototype.toString.call(vehicles) !== '[object Array]') {\r\n vehicles = [vehicles];\r\n }\r\n\r\n if (vehicles.length == 1 && vehicles[0].trimID == null) {\r\n $ctrl.vehicles = [];\r\n $translate(['warningTitle', 'missingInventoryTrimIDErrorMsg']).then(showWarningMessage);\r\n return;\r\n }\r\n\r\n $ctrl.vehicles = vehicles.sort(byDaysInStock);\r\n $ctrl.displayColumns = [\r\n vehicleSelectColumns.stockNo,\r\n vehicleSelectColumns.vehicleType,\r\n vehicleSelectColumns.trim,\r\n vehicleSelectColumns.year,\r\n vehicleSelectColumns.price,\r\n vehicleSelectColumns.mileage,\r\n vehicleSelectColumns.color,\r\n vehicleSelectColumns.options,\r\n vehicleSelectColumns.daysInStock\r\n ];\r\n if (displayPaymentColumn) {\r\n $ctrl.displayColumns.push(vehicleSelectColumns.payments)\r\n }\r\n }\r\n }\r\n\r\n function byDaysInStock(vehicle1, vehicle2) {\r\n return vehicle2.daysInStock - vehicle1.daysInStock;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./mileage.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('mileage', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/mileage.component.html',\r\n controller: MileageController,\r\n bindings: {\r\n value: '<',\r\n vehicleType: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction MileageController(vehicleTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.vehicleTypes = vehicleTypes;\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./recommended-vehicles-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('recommendedVehiclesAction', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/recommended-vehicles-action.component.html',\r\n controller: RecommendedVehiclesActionController,\r\n bindings: {\r\n opportunity: '<',\r\n pricingPlan: '<',\r\n onSelect: '&',\r\n onNoRecommendations: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction RecommendedVehiclesActionController($q, $analytics, vehicleService, vehicleSelectColumns, analytics) {\r\n var $ctrl = this;\r\n\r\n $ctrl.displayColumns;\r\n $ctrl.vehicles;\r\n $ctrl.pricingPlanId;\r\n $ctrl.getVehicles = getVehicles;\r\n $ctrl.onVehicleSelect = onVehicleSelect;\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.$onChanges = $onChanges;\r\n\r\n function $onChanges() {\r\n if ($ctrl.pricingPlan) {\r\n // When switching from one deal sheet to another, $ctrl.opportunity\r\n // sometimes gets set to null before this component is destroyed,\r\n // which causes a TypeError here.\r\n if ($ctrl.opportunity && $ctrl.opportunity.customer) {\r\n $ctrl.pricingPlanId = $ctrl.opportunity.customer.pricingPlanId;\r\n }\r\n }\r\n }\r\n\r\n function $onInit() {\r\n $ctrl.displayColumns = [\r\n vehicleSelectColumns.stockNo,\r\n vehicleSelectColumns.trim,\r\n vehicleSelectColumns.year,\r\n vehicleSelectColumns.price,\r\n vehicleSelectColumns.payments\r\n ];\r\n }\r\n\r\n function getVehicles() {\r\n return vehicleService.getInventoryReplacementVehicles($ctrl.opportunity)\r\n .then(setVehicles);\r\n }\r\n\r\n function setVehicles(vehicles) {\r\n if (vehicles && vehicles.length > 0) {\r\n $ctrl.vehicles = vehicles;\r\n return $q.resolve(true);\r\n }\r\n else {\r\n $ctrl.onNoRecommendations();\r\n\r\n return $q.resolve(false);\r\n }\r\n }\r\n\r\n function onVehicleSelect(vehicle) {\r\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\r\n category: analytics.categories.dealSheet,\r\n label: analytics.labels.inventoryRecommendation\r\n });\r\n\r\n $ctrl.onSelect({ vehicle: vehicle });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./stock-vehicle.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('stockVehicle', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/stock-vehicle.component.html',\r\n controller: StockVehicleController,\r\n bindings: {\r\n vehicle: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction StockVehicleController(vehicleTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.vehicleTypes = vehicleTypes;\r\n\r\n}","\n/* injects from baggage-loader */\nrequire('./trim-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('trimSelect', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/trim-select.component.html',\r\n controller: TrimSelectController,\r\n bindings: {\r\n dealerId: '<',\r\n defaults: '<',\r\n showBlankOptions: '<',\r\n showBlankModelTrimOptions: '<',\r\n showAllMakes: '<',\r\n showAllYears: '<',\r\n onSelect: '&',\r\n showWarningMessage: '<',\r\n showDefaultYears: '<',\r\n yearLimit: '<',\r\n showYearAsterisk: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction TrimSelectController(_, $q, $filter, vehicleService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.selectedMake;\r\n $ctrl.selectedYear;\r\n $ctrl.selectedModel;\r\n $ctrl.selectedTrim;\r\n $ctrl.makes;\r\n $ctrl.yearIDs;\r\n $ctrl.models;\r\n $ctrl.trims;\r\n $ctrl.updateModels = updateModels;\r\n $ctrl.updateTrims = updateTrims;\r\n $ctrl.onSelectionChange = onSelectionChange;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.isValidSelection = isValidSelection;\r\n \r\n\r\n function onChanges(changes) {\r\n if ($ctrl.dealerId && $ctrl.defaults) { \r\n $ctrl.selectedMake = { makeID: $ctrl.defaults.makeID, makeName: $ctrl.defaults.makeName };\r\n $ctrl.selectedModel = { modelID: $ctrl.defaults.modelID, modelName: $ctrl.defaults.modelName };\r\n $ctrl.selectedTrim = { trimID: $ctrl.defaults.trimID, trimName: $ctrl.defaults.trimName };\r\n $ctrl.selectedYear = $ctrl.defaults.yearID;\r\n $q.all([\r\n vehicleService.getMakes($ctrl.showAllMakes ? null : [$ctrl.dealerId], null),\r\n vehicleService.getModels($ctrl.defaults.makeID, $ctrl.defaults.yearID),\r\n vehicleService.getYearIDs($ctrl.dealerId, $ctrl.showDefaultYears, $ctrl.yearLimit),\r\n vehicleService.getTrims([$ctrl.defaults.modelID])\r\n ]).then((data) => {\r\n $ctrl.makes = data[0].sort(byMakeName);\r\n $ctrl.models = data[1].sort(byModelName);\r\n\r\n $ctrl.yearIDs = data[2].sort(descending);\r\n\r\n if(!$ctrl.yearLimit<255) {\r\n $ctrl.yearIDs.splice($ctrl.yearLimit, $ctrl.yearIDs.length - $ctrl.yearLimit);\r\n }\r\n if ($ctrl.yearIDs.indexOf($ctrl.selectedYear) < 0) {\r\n // If the \"allowable\" years doesn't include the\r\n // currently-selected year, add it (because it's probably\r\n // the replacement vehicle's year)\r\n $ctrl.yearIDs.unshift($ctrl.selectedYear);\r\n }\r\n\r\n $ctrl.trims = data[3].sort(byTrimName);\r\n\r\n //Set blank for all\r\n if ($ctrl.showBlankOptions) {\r\n $ctrl.makes.unshift({\r\n makeID: \"\",\r\n makeName: \"\"\r\n });\r\n $ctrl.models.unshift({\r\n modelID: \"\",\r\n modelName: \"\"\r\n });\r\n $ctrl.yearIDs.unshift(\"\");\r\n $ctrl.trims.unshift({\r\n trimID: \"\",\r\n trimName: \"\"\r\n });\r\n }\r\n\r\n //Set blank for Model Trim only\r\n if ($ctrl.showBlankModelTrimOptions) {\r\n $ctrl.models.unshift({\r\n modelID: \"\",\r\n modelName: \"\"\r\n });\r\n if (!$ctrl.selectedModel.modelID)\r\n $ctrl.selectedModel = $ctrl.models[0];\r\n $ctrl.trims.unshift({\r\n trimID: \"\",\r\n trimName: \"\"\r\n });\r\n if (!$ctrl.selectedTrim.trimID)\r\n $ctrl.selectedTrim = $ctrl.trims[0];\r\n }\r\n });\r\n }\r\n }\r\n\r\n function updateModels() {\r\n if (!$ctrl.selectedMake)\r\n return;\r\n if ($ctrl.selectedMake.makeID && $ctrl.selectedYear) {\r\n vehicleService.getModels($ctrl.selectedMake.makeID, $ctrl.selectedYear).then(setModels);\r\n }\r\n else if ($ctrl.selectedMake.makeID && !$ctrl.selectedYear) {\r\n vehicleService.getModelsByMakeId($ctrl.selectedMake.makeID).then(setModels);\r\n }\r\n else {\r\n setModels(null);\r\n }\r\n }\r\n\r\n function updateTrims() {\r\n if ($ctrl.selectedModel && $ctrl.selectedModel.modelID) {\r\n var modelIDs = getModelIds($ctrl.models, $ctrl.selectedModel.modelName);\r\n\r\n vehicleService.getTrims(modelIDs).then(setTrims);\r\n }\r\n else {\r\n setTrims(null);\r\n }\r\n }\r\n\r\n function getModelIds(models, modelName) {\r\n var ids = [];\r\n\r\n if (modelName) {\r\n models = models.filter(filterByModelName(modelName));\r\n\r\n for (var i = 0; i < models.length; i++) {\r\n ids.push(models[i].modelID);\r\n }\r\n }\r\n\r\n return ids;\r\n }\r\n\r\n function filterByModelName(modelName) {\r\n return function (model) {\r\n return model.modelName == modelName;\r\n };\r\n }\r\n\r\n function getTrimIds(trims, trimName) {\r\n var ids = [];\r\n\r\n if (trimName) {\r\n trims = trims.filter(filterByTrimName(trimName));\r\n\r\n for (var i = 0; i < trims.length; i++) {\r\n ids.push(trims[i].trimID);\r\n }\r\n }\r\n\r\n return ids;\r\n }\r\n\r\n function filterByTrimName(trimName) {\r\n return function (trim) {\r\n return trim.trimName == trimName;\r\n };\r\n }\r\n\r\n function onSelectionChange() {\r\n $ctrl.onSelect({\r\n selections: {\r\n makeID: $ctrl.selectedMake.makeID,\r\n makeName: $ctrl.selectedMake.makeName,\r\n modelID: $ctrl.selectedModel.modelID,\r\n modelIDs: getModelIds($ctrl.models, $ctrl.selectedModel.modelName),\r\n modelName: $ctrl.selectedModel.modelName,\r\n yearID: $ctrl.selectedYear,\r\n trimName: $ctrl.selectedTrim.trimName,\r\n trimID: $ctrl.selectedTrim.trimID,\r\n trimIDs: getTrimIds($ctrl.trims, $ctrl.selectedTrim.trimName),\r\n extID: $ctrl.selectedTrim.extID,\r\n trimFullName: $ctrl.selectedTrim.trimFullName\r\n }\r\n });\r\n }\r\n\r\n function setModels(models) {\r\n if (models && models.length > 0) {\r\n $ctrl.models = models;\r\n $ctrl.models.sort(byModelName);\r\n\r\n if ($ctrl.showBlankOptions || $ctrl.showBlankModelTrimOptions) {\r\n $ctrl.models.unshift({\r\n modelID: \"\",\r\n modelName: \"\"\r\n });\r\n }\r\n }\r\n else {\r\n $ctrl.models = [{\r\n modelID: \"\",\r\n modelName: \"\"\r\n }];\r\n }\r\n\r\n $ctrl.selectedModel = $ctrl.models[0];\r\n updateTrims();\r\n }\r\n\r\n function setTrims(trims) {\r\n if (trims && trims.length > 0) {\r\n $ctrl.trims = trims.sort(byTrimName);\r\n\r\n if ($ctrl.showBlankOptions || $ctrl.showBlankModelTrimOptions) {\r\n $ctrl.trims.unshift({\r\n trimID: \"\",\r\n trimName: \"\"\r\n });\r\n }\r\n\r\n }\r\n else {\r\n $ctrl.trims = [{\r\n trimID: \"\",\r\n trimName: \"\"\r\n }];\r\n }\r\n\r\n $ctrl.selectedTrim = $ctrl.trims[0];\r\n onSelectionChange();\r\n }\r\n\r\n function descending(number1, number2) {\r\n return number2 - number1;\r\n }\r\n\r\n function byMakeName(object1, object2) {\r\n if (object1.makeName < object2.makeName)\r\n return -1;\r\n if (object1.makeName > object2.makeName)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function byModelName(object1, object2) {\r\n if (object1.modelName < object2.modelName)\r\n return -1;\r\n if (object1.modelName > object2.modelName)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function byTrimName(object1, object2) {\r\n if (object1.trimName < object2.trimName)\r\n return -1;\r\n if (object1.trimName > object2.trimName)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function isValidSelection() {\r\n var yearSelectionIsValid = $ctrl.selectedYear == \"\";\r\n var isValidSelection = (\r\n yearSelectionIsValid\r\n ||\r\n !($ctrl.makes && $ctrl.makes.length == 1 && $ctrl.makes[0].makeID == \"\"\r\n || $ctrl.models && $ctrl.models.length == 1 && $ctrl.models[0].modelID == \"\"\r\n || $ctrl.trims && $ctrl.trims.length == 1 && $ctrl.trims[0].trimID == \"\")\r\n );\r\n return isValidSelection;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./vehicle-action-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('vehicleActionSelect', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/vehicle-action-select.component.html',\r\n controller: VehicleActionSelectController,\r\n bindings: {\r\n opportunityId: '<',\r\n status: '<',\r\n saleType: '<',\r\n paidOff: '<',\r\n paymentsRemaining: '<',\r\n permissions: '<',\r\n onStart: '&',\r\n onSuccess: '&',\r\n onError: '&',\r\n onSelect:'&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction VehicleActionSelectController(activityService, saleTypes, opportunityStatuses, vehicleActions) {\r\n var $ctrl = this;\r\n\r\n $ctrl.canVehicleBePaidOff;\r\n $ctrl.opportunityStatuses = opportunityStatuses;\r\n\r\n $ctrl.updateVehicleStatus = updateVehicleStatus;\r\n $ctrl.vehicleActions = vehicleActions;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.vehicleOptionStatus = \"-1\";\r\n\r\n function onChanges(changes) {\r\n if ((changes.saleType && changes.saleType.currentValue || changes.paidOff && changes.paidOff.currentValue != null\r\n || changes.paymentsRemaining && changes.paymentsRemaining.currentValue != null)\r\n && $ctrl.saleType && $ctrl.paidOff != null && $ctrl.paymentsRemaining != null) {\r\n $ctrl.canVehicleBePaidOff = !$ctrl.paidOff && $ctrl.paymentsRemaining > 0 && $ctrl.saleType != saleTypes.cash;\r\n }\r\n\r\n $ctrl.vehicleOptionStatus = \"-1\";\r\n }\r\n\r\n function updateVehicleStatus() {\r\n var vehicleStatusInt = parseInt($ctrl.vehicleOptionStatus);\r\n if ($ctrl.vehicleStatusInt == -1)\r\n return;\r\n\r\n $ctrl.onSelect({ action: vehicleStatusInt });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./vehicle-select.component.html');\n\nimport angular from 'angular';\r\nimport PricingPlanTypes from '../../../constants/pricing-plan-types';\r\n\r\nangular.module('AaApp.Opp').component('vehicleSelect', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/vehicle-select.component.html',\r\n controller: VehicleSelectController,\r\n bindings: {\r\n vehicles: '<',\r\n displayColumns: '<',\r\n pricingPlanId: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction VehicleSelectController(_, vehicleTypes, saleTypes, vehicleSelectColumns, $window) {\r\n var $ctrl = this;\r\n var userAgent = $window.navigator.userAgent;\r\n\r\n // if ipad browser than no need to add scroll bars.\r\n $ctrl.scrollBarClassName = userAgent.toLowerCase().search(\"ipad\") > -1? \"\" :\"instock-result\";\r\n\r\n $ctrl.saleTypes = saleTypes;\r\n $ctrl.vehicleSelectColumns = vehicleSelectColumns;\r\n $ctrl.displayColumnExists = displayColumnExists;\r\n $ctrl.getSortIconClassesForColumn = getSortIconClassesForColumn;\r\n $ctrl.getSortIconClassesForColumnType = getSortIconClassesForColumnType;\r\n $ctrl.toggleOrderByColumn = toggleOrderByColumn;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n // These are the sorting keys passed to the orderBy filter\r\n $ctrl.orderableColumns = {\r\n stockNo: 'stockNo',\r\n vehicleType: 'type',\r\n trim: 'trimName',\r\n year: 'yearID',\r\n price: 'price',\r\n mileage: 'odometer',\r\n color: function (v) { return v.exteriorColor + v.interiorColor },\r\n options: 'options',\r\n daysInStock: 'daysInStock',\r\n new_used_cpo: 'new_used_cpo',\r\n };\r\n\r\n // Defaults\r\n $ctrl.orderByColumn = $ctrl.orderableColumns.daysInStock;\r\n $ctrl.orderByDescending = true;\r\n\r\n\r\n function onChanges(changes) { \r\n if (changes.vehicles && changes.vehicles.currentValue) {\r\n $ctrl.instockVehicles = _.cloneDeep($ctrl.vehicles);\r\n $ctrl.instockVehicles = addCustomeSortField($ctrl.instockVehicles);\r\n }\r\n }\r\n\r\n\r\n function init() {\r\n $ctrl.instockVehicles = _.cloneDeep($ctrl.vehicles);\r\n $ctrl.vehicleTypeTranslateKeys = _.invert(vehicleTypes);\r\n $ctrl.pricingPlanTranslateKeys = _.invert(PricingPlanTypes);\r\n\r\n _.each($ctrl.pricingPlanTranslateKeys, function(key, i){\r\n if(key.indexOf('xPlan') != -1)\r\n $ctrl.pricingPlanTranslateKeys[i] = 'xPlan';\r\n });\r\n\r\n if (!$ctrl.displayColumns || $ctrl.displayColumns.length == 0) {\r\n $ctrl.displayColumns = [\r\n vehicleSelectColumns.stockNo,\r\n vehicleSelectColumns.vehicleType,\r\n vehicleSelectColumns.trim,\r\n vehicleSelectColumns.year,\r\n vehicleSelectColumns.price,\r\n vehicleSelectColumns.mileage,\r\n vehicleSelectColumns.color,\r\n vehicleSelectColumns.options,\r\n vehicleSelectColumns.daysInStock\r\n ];\r\n }\r\n }\r\n\r\n function addCustomeSortField(instockVehicles) {\r\n if (instockVehicles) {\r\n instockVehicles.forEach(function (ele) { \r\n ele.new_used_cpo = ele._IsNew ? 2 : ele.isCPO ? 1 : 3;\r\n });\r\n }\r\n return instockVehicles;\r\n }\r\n\r\n\r\n function displayColumnExists(column) {\r\n return $ctrl.displayColumns.indexOf(column) > -1;\r\n }\r\n\r\n function toggleOrderByColumn(column) { \r\n if (column === $ctrl.orderableColumns.vehicleType) {\r\n \r\n if ($ctrl.orderByColumn === $ctrl.orderableColumns.new_used_cpo) {\r\n $ctrl.orderByDescending = !$ctrl.orderByDescending;\r\n }\r\n else {\r\n $ctrl.orderByColumn = $ctrl.orderableColumns.new_used_cpo;\r\n }\r\n } \r\n else if ($ctrl.orderByColumn === column) {\r\n // If the column is already used for ordering, reverse the direction\r\n $ctrl.orderByDescending = !$ctrl.orderByDescending;\r\n }\r\n else {\r\n $ctrl.orderByColumn = column;\r\n // DaysInStock should sort \"oldest first\" (descending), all others are ascending\r\n $ctrl.orderByDescending = column === $ctrl.orderableColumns.daysInStock;\r\n }\r\n }\r\n\r\n function getSortIconClassesForColumnType(column) {\r\n return {\r\n 'invisible': $ctrl.orderByColumn !== $ctrl.orderableColumns.new_used_cpo,\r\n 'sorted-ascending': !$ctrl.orderByDescending,\r\n 'sorted-descending': $ctrl.orderByDescending\r\n }\r\n }\r\n\r\n function getSortIconClassesForColumn(column) {\r\n return {\r\n 'invisible': $ctrl.orderByColumn !== column,\r\n 'sorted-ascending': !$ctrl.orderByDescending,\r\n 'sorted-descending': $ctrl.orderByDescending\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./template-email-preview.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('templateEmailPreview', {\r\n templateUrl: '/app/components/deal-sheet/template-email-preview.component.html',\r\n controller: TemplateEmailPreviewController,\r\n bindings: { \r\n opportunityId: '<',\r\n templateId: '<',\r\n replMakeId: '<'\r\n }\r\n});\r\n\r\n\r\n/* @ngInject*/\r\nfunction TemplateEmailPreviewController($sce, templateService, storageService){\r\n\r\n const $ctrl = this;\r\n $ctrl.templateEmailContent;\r\n $ctrl.getTemplateEmailContent = getTemplateEmailContent;\r\n $ctrl.$onInit = onInit;\r\n\r\n function onInit() { \r\n $ctrl.content = templateService.retrievePreviewTemplate() \r\n $ctrl.emailContentPromise = this.getTemplateEmailContent();\r\n } \r\n\r\n function getTemplateEmailContent() {\r\n return templateService.getEmailPreviewContent($ctrl.opportunityId, $ctrl.templateId, $ctrl.content, $ctrl.replMakeId)\r\n .then(setTemplateEmailContent);\r\n }\r\n\r\n function setTemplateEmailContent(content) { \r\n $ctrl.templateEmailContent = $sce.trustAsHtml(content);\r\n $ctrl.emailContentPromise = null;\r\n return true;\r\n }\r\n\r\n}","import \"core-js/modules/es6.promise\";\nimport \"regenerator-runtime/runtime\";\nimport \"core-js/modules/es6.array.find\";\nSendEmailTemplateModalController.$inject = [\"$logFactory\", \"$q\", \"$sce\", \"$translate\", \"$uibModal\", \"$window\", \"contractService\", \"invalidMergeFieldErrorMsgKey\", \"legacyService\", \"logger\", \"messageTypes\", \"smtpProviderTypes\", \"templateEmail\", \"templateService\", \"toaster\", \"translateErrorKeys\", \"warningTitleKey\"];\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n/* injects from baggage-loader */\nrequire('./send-email-template-modal.component.html');\n\nimport angular from 'angular';\nimport { OpportunitiesModule } from '../../../core/opportunities.module';\nimport _ from 'lodash';\nimport { downloadArraybufferResponse } from '../../../utilities/http';\nOpportunitiesModule.component('sendEmailTemplateModal', {\n templateUrl: '/app/components/deal-sheet/modals/send-email-template-modal.component.html',\n controller: SendEmailTemplateModalController,\n bindings: {\n close: '&',\n resolve: '<',\n dismiss: '&'\n }\n});\n/* @ngInject*/\n\nfunction SendEmailTemplateModalController($logFactory, $q, $sce, $translate, $uibModal, $window, contractService, invalidMergeFieldErrorMsgKey, legacyService, logger, messageTypes, smtpProviderTypes, templateEmail, templateService, toaster, translateErrorKeys, warningTitleKey) {\n var $ctrl = this;\n var $log = $logFactory.get('emailTemplateModal');\n $ctrl.templates = [];\n $ctrl.template;\n $ctrl.templateBody;\n $ctrl.templateLetterheadImageUrl;\n $ctrl.toggleEditButtonKey = \"editEmailTemplate\";\n $ctrl.isEditableTemplate = false;\n $ctrl.$onInit = $onInit;\n $ctrl.$onChanges = $onChanges;\n $ctrl.changeTemplate = changeTemplate;\n $ctrl.downloadPdf = downloadPdf;\n $ctrl.archivePdf = archivePdf;\n $ctrl.onResultSendTestEmail = onResultSendTestEmail;\n $ctrl.onResultSendEmail = onResultSendEmail;\n $ctrl.getTemplateEmailContent = getTemplateEmailContent;\n $ctrl.emailDisabled = false;\n $ctrl.canSendEmail = true;\n $ctrl.disabledEmailTitle = \"\";\n $ctrl.doNotEmail;\n $ctrl.toast;\n $ctrl.dealerId;\n $ctrl.onEdit = onEdit;\n $ctrl.toggleEditTemplate = toggleEditTemplate;\n $ctrl.previewTemplate = previewTemplate;\n $ctrl.attachProposal = false;\n $ctrl.attachmentGenerationResponse = {};\n $ctrl.vehicleTypes = [];\n $ctrl.replMakeId;\n $ctrl.atForFromAddr = \"at\";\n\n function $onChanges(changes) {\n if (changes.resolve) {\n $ctrl.templateBody = $ctrl.resolve.value;\n }\n }\n\n function previewTemplate() {\n var templateBody = $ctrl.templateBody;\n if (templateBody == null) templateBody = \"\";\n templateService.storePreviewTemplate(templateBody);\n var newWindow = $window.open('about:blank');\n newWindow.location = templateService.getTemplateEmailPreviewUrl($ctrl.resolve.opportunity.id, $ctrl.template.id, $ctrl.replMakeId);\n }\n\n function toggleEditTemplate() {\n $ctrl.isEditableTemplate = !$ctrl.isEditableTemplate;\n if ($ctrl.isEditableTemplate) $ctrl.toggleEditButtonKey = \"cancelEditEmailTemplate\";else $ctrl.toggleEditButtonKey = \"editEmailTemplate\";\n }\n\n function $onInit() {\n var _this = this;\n\n $ctrl.emailDisabled = false;\n $ctrl.canSendEmail = true;\n\n if ($ctrl.toast) {\n toaster.clear($ctrl.toast);\n }\n\n $ctrl.dealerId = $ctrl.resolve.opportunity.dealerId;\n $ctrl.replMakeId = $ctrl.resolve.opportunity.replacementVehicle.makeID;\n this.workingPromise = templateService.getTemplatesForDealerId($ctrl.dealerId).then(function (templates) {\n _this.templates = templates;\n\n if (templates) {\n if ($ctrl.resolve.defaultTemplateId) {\n $ctrl.template = _.find(templates, {\n id: $ctrl.resolve.defaultTemplateId\n });\n toggleEditTemplate();\n }\n\n setDealerFromAddress();\n }\n });\n getTranslations();\n }\n\n function getTranslations() {\n $q.all({\n 'new': $translate('new'),\n 'used': $translate('used'),\n 'cpo': $translate('cpo'),\n 'atForFromAddr': $translate('atForFromAddr')\n }).then(function (translations) {\n $ctrl.vehicleTypes[0] = translations.new;\n $ctrl.vehicleTypes[1] = translations.used;\n $ctrl.vehicleTypes[2] = translations.cpo;\n $ctrl.atForFromAddr = translations.atForFromAddr;\n });\n }\n\n function changeTemplate() {\n var templateId = $ctrl.template.id;\n var opportunityId = $ctrl.resolve.opportunity.id;\n var replacement = $ctrl.resolve.opportunity.replacementVehicle;\n var vehicleColor = \"\";\n\n if (replacement.exteriorColor != null && replacement.interiorColor === null) {\n vehicleColor = replacement.exteriorColor;\n } else if (replacement.interiorColor != null && replacement.exteriorColor === null) {\n vehicleColor = ' / ' + replacement.interiorColor;\n } else if (replacement.exteriorColor != null && replacement.interiorColor != null) {\n vehicleColor = replacement.exteriorColor + ' / ' + replacement.interiorColor;\n }\n\n var replacementVehicle = {\n selectedMake: replacement.makeName,\n selectedModel: replacement.modelName,\n selectedYear: replacement.yearID,\n selectedTrim: replacement.trimName,\n selectedFullTrim: replacement.trimFullName,\n selectedNewUsed: $ctrl.vehicleTypes[replacement.type],\n selectedPrice: replacement.price,\n selectedMileage: replacement.odometer,\n selectedColor: vehicleColor,\n selectedStockNo: replacement.stockNo\n };\n $ctrl.workingPromise = templateService.getMergedTemplate({\n opportunityId: opportunityId,\n templateId: templateId,\n replacementVehicle: replacementVehicle\n }).then(function (template) {\n if (template.invalidMergeFields.length > 0) {\n var invalidFlds = \"\";\n\n for (var i = 0; i < template.invalidMergeFields.length; i++) {\n invalidFlds += \"
\" + template.invalidMergeFields[i];\n }\n\n $translate([warningTitleKey, invalidMergeFieldErrorMsgKey]).then(function (translations) {\n toaster.pop({\n type: messageTypes.warning,\n title: translations.warningTitle,\n body: translations.invalidMergeFieldErrorMsg + invalidFlds,\n timeout: 0,\n bodyOutputType: 'trustedHtml',\n showCloseButton: true\n });\n });\n }\n\n $ctrl.templateBody = template.templateBody;\n $ctrl.templateSubject = _.find($ctrl.templates, {\n id: templateId\n }).templateSubject;\n $ctrl.template.invalidMergeFields = template.invalidMergeFields;\n $ctrl.templateLetterheadImageUrl = template.templateLetterheadImageUrl;\n $ctrl.readOnlyText = $sce.trustAsHtml($ctrl.templateBody);\n });\n }\n\n function downloadPdf() {\n if (typeof $ctrl.templateOutputId == 'number') {\n throw new Error(\"Email template has not been filled.\");\n }\n\n var opportunityId = $ctrl.resolve.opportunity.id;\n logger.success(\"generatingPDF\");\n return templateService.createPdf(opportunityId, $ctrl.template, $ctrl.templateBody, $ctrl.templateLetterheadImageUrl).then(function (t) {\n $ctrl.templateOutput = t;\n return templateService.downloadPdf($ctrl.templateOutput.id, $ctrl.templateOutput.templateName);\n }).then(function () {\n $ctrl.readyToArchive = true;\n });\n }\n\n function archivePdf() {\n return templateService.archivePdf($ctrl.templateOutput.id).then(function () {\n return $ctrl.dismiss();\n });\n }\n\n function onResultSendTestEmail(edit) {\n onSendEmail(edit.subject, \"\", $ctrl.emailFromAddress, $ctrl.templateBody, true, edit.emailTo);\n }\n\n function onResultSendEmail(edit) {\n onSendEmail(edit.subject, edit.emailTo, $ctrl.emailFromAddress, $ctrl.templateBody, false, \"\");\n }\n\n function checkCanSendEmail() {\n if ($ctrl.emailDisabled) {\n logger.warning(\"emailDisabledWarning\");\n $ctrl.canSendEmail = false;\n return;\n }\n\n if ($ctrl.resolve.opportunity) {\n $ctrl.doNotEmail = $ctrl.resolve.opportunity.customer.doNotEmail;\n\n if ($ctrl.doNotEmail) {\n logger.warning(\"doNotEmailCheckedWarning\");\n $ctrl.canSendEmail = false;\n }\n }\n }\n\n function setDealerFromAddress() {\n templateService.getDealerOutboundEmailProviderInfo($ctrl.dealerId).then(function (result) {\n $ctrl.emailFromAddress = result == smtpProviderTypes.custom ? $ctrl.resolve.opportunity.userProfile.email : templateEmail.mailFrom;\n $ctrl.emailDisabled = result === smtpProviderTypes.none;\n checkCanSendEmail();\n });\n }\n\n function onSendEmail(_x, _x2, _x3, _x4, _x5, _x6) {\n return _onSendEmail.apply(this, arguments);\n }\n\n function _onSendEmail() {\n _onSendEmail = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee(subject, to, from, body, isTestEmail, testTo) {\n var upgradeProposalCalcParameters, outboundTemplateInfo, emailResponse;\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n if (!(typeof body === 'undefined' || body === null || body === '')) {\n _context.next = 4;\n break;\n }\n\n logger.warning(\"blankTemplateWarning\");\n _context.next = 21;\n break;\n\n case 4:\n upgradeProposalCalcParameters = null;\n\n if (!$ctrl.attachProposal) {\n _context.next = 9;\n break;\n }\n\n _context.next = 8;\n return legacyService.getCalculationParameters($ctrl.resolve.opportunity);\n\n case 8:\n upgradeProposalCalcParameters = _context.sent;\n\n case 9:\n outboundTemplateInfo = {\n userId: $ctrl.resolve.opportunity.userProfile.userId,\n entityID: $ctrl.resolve.opportunity.id,\n templateId: $ctrl.template.id,\n templateName: $ctrl.template.templateName,\n isTestEmail: isTestEmail,\n testToAddress: testTo,\n toAddress: to,\n subject: subject,\n contentHtml: body,\n maxEmailsPerEntityPerDay: 0,\n replMakeId: $ctrl.replMakeId\n };\n logger.success(\"sendingEmail\");\n _context.prev = 11;\n _context.next = 14;\n return templateService.sendEmail(outboundTemplateInfo, upgradeProposalCalcParameters);\n\n case 14:\n emailResponse = _context.sent;\n logger.success(\"emailSuccessMessage\");\n _context.next = 21;\n break;\n\n case 18:\n _context.prev = 18;\n _context.t0 = _context[\"catch\"](11);\n\n if (_context.t0.data.error.translationKey) {\n $translate(_context.t0.data.error.translationKey, _context.t0.data.error.translationParameters).then(function (message) {\n return logger.warning(message, null, \"emailErrorMessage\");\n }).catch(function (err) {\n return $log.error(err);\n });\n } else {\n logger.warning(_context.t0.data.error.message, null, \"emailErrorMessage\");\n }\n\n case 21:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this, [[11, 18]]);\n }));\n return _onSendEmail.apply(this, arguments);\n }\n\n function onEdit(action) {\n $ctrl.templateBody = action;\n $ctrl.readOnlyText = $sce.trustAsHtml($ctrl.templateBody);\n }\n\n function getTemplateEmailContent() {\n return $ctrl.workingPromise = templateService.getEmailPreviewContent($ctrl.resolve.opportunity.id, $ctrl.template.id, $ctrl.templateBody, $ctrl.replMakeId).then(setTemplateEmailContent);\n }\n\n function setTemplateEmailContent(content) {\n $ctrl.templateEmailContent = content;\n return true;\n }\n}","\n/* injects from baggage-loader */\nrequire('./send-email-template-modal.component.html');\n\nimport angular from 'angular'\r\nimport { OpportunitiesModule } from '../../../core/opportunities.module'\r\nimport _ from 'lodash';\r\nimport { downloadArraybufferResponse } from '../../../utilities/http';\r\n\r\nOpportunitiesModule.component('sendEmailTemplateModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/send-email-template-modal.component.html',\r\n controller: SendEmailTemplateModalController,\r\n bindings: {\r\n close: '&',\r\n resolve: '<',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject*/\r\nfunction SendEmailTemplateModalController(\r\n $logFactory,\r\n $q,\r\n $sce,\r\n $translate,\r\n $uibModal,\r\n $window,\r\n contractService,\r\n invalidMergeFieldErrorMsgKey,\r\n legacyService,\r\n logger,\r\n messageTypes,\r\n smtpProviderTypes,\r\n templateEmail,\r\n templateService,\r\n toaster,\r\n translateErrorKeys,\r\n warningTitleKey\r\n) {\r\n const $ctrl = this;\r\n const $log = $logFactory.get('emailTemplateModal');\r\n\r\n $ctrl.templates = [];\r\n $ctrl.template;\r\n $ctrl.templateBody;\r\n $ctrl.templateLetterheadImageUrl;\r\n $ctrl.toggleEditButtonKey = \"editEmailTemplate\";\r\n $ctrl.isEditableTemplate = false;\r\n\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.changeTemplate = changeTemplate;\r\n $ctrl.downloadPdf = downloadPdf;\r\n $ctrl.archivePdf = archivePdf;\r\n $ctrl.onResultSendTestEmail = onResultSendTestEmail;\r\n $ctrl.onResultSendEmail = onResultSendEmail;\r\n $ctrl.getTemplateEmailContent = getTemplateEmailContent;\r\n $ctrl.emailDisabled = false;\r\n $ctrl.canSendEmail = true;\r\n $ctrl.disabledEmailTitle = \"\";\r\n $ctrl.doNotEmail;\r\n $ctrl.toast;\r\n $ctrl.dealerId;\r\n $ctrl.onEdit = onEdit;\r\n $ctrl.toggleEditTemplate = toggleEditTemplate;\r\n $ctrl.previewTemplate = previewTemplate;\r\n $ctrl.attachProposal = false;\r\n $ctrl.attachmentGenerationResponse = {};\r\n $ctrl.vehicleTypes = [];\r\n $ctrl.replMakeId;\r\n $ctrl.atForFromAddr = \"at\";\r\n\r\n function $onChanges(changes) {\r\n if (changes.resolve) {\r\n $ctrl.templateBody = $ctrl.resolve.value;\r\n }\r\n }\r\n\r\n function previewTemplate() {\r\n var templateBody = $ctrl.templateBody;\r\n if (templateBody == null)\r\n templateBody = \"\";\r\n\r\n templateService.storePreviewTemplate(templateBody);\r\n\r\n var newWindow = $window.open('about:blank');\r\n newWindow.location = templateService.getTemplateEmailPreviewUrl($ctrl.resolve.opportunity.id, $ctrl.template.id, $ctrl.replMakeId);\r\n }\r\n\r\n function toggleEditTemplate() {\r\n $ctrl.isEditableTemplate = !$ctrl.isEditableTemplate;\r\n if ($ctrl.isEditableTemplate)\r\n $ctrl.toggleEditButtonKey = \"cancelEditEmailTemplate\";\r\n else\r\n $ctrl.toggleEditButtonKey = \"editEmailTemplate\";\r\n }\r\n\r\n function $onInit() {\r\n \r\n $ctrl.emailDisabled = false;\r\n $ctrl.canSendEmail = true;\r\n if ($ctrl.toast) {\r\n toaster.clear($ctrl.toast);\r\n }\r\n\r\n $ctrl.dealerId = $ctrl.resolve.opportunity.dealerId; \r\n $ctrl.replMakeId = $ctrl.resolve.opportunity.replacementVehicle.makeID;\r\n\r\n this.workingPromise = templateService.getTemplatesForDealerId($ctrl.dealerId)\r\n .then(templates => {\r\n this.templates = templates;\r\n if (templates) {\r\n if ($ctrl.resolve.defaultTemplateId) {\r\n $ctrl.template = _.find(templates, {id: $ctrl.resolve.defaultTemplateId});\r\n toggleEditTemplate();\r\n }\r\n setDealerFromAddress();\r\n }\r\n })\r\n\r\n getTranslations();\r\n }\r\n\r\n function getTranslations() {\r\n $q.all({\r\n 'new': $translate('new'),\r\n 'used': $translate('used'),\r\n 'cpo': $translate('cpo'),\r\n 'atForFromAddr': $translate('atForFromAddr'),\r\n }).then(function (translations) {\r\n $ctrl.vehicleTypes[0] = translations.new;\r\n $ctrl.vehicleTypes[1] = translations.used;\r\n $ctrl.vehicleTypes[2] = translations.cpo;\r\n $ctrl.atForFromAddr = translations.atForFromAddr;\r\n });\r\n }\r\n\r\n function changeTemplate() {\r\n const templateId = $ctrl.template.id;\r\n const opportunityId = $ctrl.resolve.opportunity.id;\r\n\r\n var replacement = $ctrl.resolve.opportunity.replacementVehicle;\r\n var vehicleColor = \"\";\r\n if (replacement.exteriorColor != null && replacement.interiorColor === null) {\r\n vehicleColor = replacement.exteriorColor;\r\n }\r\n else if (replacement.interiorColor != null && replacement.exteriorColor === null) {\r\n vehicleColor = ' / ' + replacement.interiorColor;\r\n }\r\n else if (replacement.exteriorColor != null && replacement.interiorColor != null) {\r\n vehicleColor = replacement.exteriorColor + ' / ' + replacement.interiorColor;\r\n }\r\n\r\n var replacementVehicle = {\r\n selectedMake: replacement.makeName,\r\n selectedModel: replacement.modelName,\r\n selectedYear: replacement.yearID,\r\n selectedTrim: replacement.trimName,\r\n selectedFullTrim: replacement.trimFullName,\r\n selectedNewUsed: $ctrl.vehicleTypes[replacement.type],\r\n selectedPrice: replacement.price,\r\n selectedMileage: replacement.odometer,\r\n selectedColor: vehicleColor,\r\n selectedStockNo: replacement.stockNo\r\n }\r\n\r\n $ctrl.workingPromise = templateService.getMergedTemplate({ opportunityId: opportunityId, templateId: templateId, replacementVehicle: replacementVehicle })\r\n .then(template => {\r\n if (template.invalidMergeFields.length > 0) {\r\n var invalidFlds = \"\";\r\n for (var i = 0; i < template.invalidMergeFields.length; i++) {\r\n invalidFlds += \"
\" + template.invalidMergeFields[i];\r\n }\r\n $translate([warningTitleKey, invalidMergeFieldErrorMsgKey]).then(function (translations) {\r\n toaster.pop({\r\n type: messageTypes.warning,\r\n title: translations.warningTitle,\r\n body: translations.invalidMergeFieldErrorMsg + invalidFlds,\r\n timeout: 0,\r\n bodyOutputType: 'trustedHtml',\r\n showCloseButton: true,\r\n\r\n });\r\n })\r\n }\r\n $ctrl.templateBody = template.templateBody;\r\n $ctrl.templateSubject = _.find($ctrl.templates, { id: templateId }).templateSubject;\r\n $ctrl.template.invalidMergeFields = template.invalidMergeFields; \r\n $ctrl.templateLetterheadImageUrl = template.templateLetterheadImageUrl;\r\n $ctrl.readOnlyText = $sce.trustAsHtml($ctrl.templateBody); \r\n })\r\n }\r\n\r\n function downloadPdf() {\r\n if (typeof $ctrl.templateOutputId == 'number') {\r\n throw new Error(\"Email template has not been filled.\");\r\n }\r\n const opportunityId = $ctrl.resolve.opportunity.id;\r\n logger.success(\"generatingPDF\");\r\n\r\n return templateService.createPdf(opportunityId, $ctrl.template, $ctrl.templateBody, $ctrl.templateLetterheadImageUrl)\r\n .then(t => {\r\n $ctrl.templateOutput = t;\r\n return templateService.downloadPdf($ctrl.templateOutput.id, $ctrl.templateOutput.templateName);\r\n })\r\n .then(() => { $ctrl.readyToArchive = true });\r\n }\r\n\r\n function archivePdf() {\r\n return templateService.archivePdf($ctrl.templateOutput.id)\r\n .then(() => $ctrl.dismiss());\r\n }\r\n\r\n function onResultSendTestEmail(edit) {\r\n onSendEmail(edit.subject,\"\" , $ctrl.emailFromAddress, $ctrl.templateBody, true, edit.emailTo);\r\n }\r\n\r\n function onResultSendEmail(edit){\r\n onSendEmail(edit.subject, edit.emailTo, $ctrl.emailFromAddress, $ctrl.templateBody, false,\"\");\r\n }\r\n\r\n function checkCanSendEmail() { \r\n if ($ctrl.emailDisabled) {\r\n logger.warning(\"emailDisabledWarning\");\r\n $ctrl.canSendEmail = false;\r\n return;\r\n }\r\n\r\n if ($ctrl.resolve.opportunity) {\r\n $ctrl.doNotEmail = $ctrl.resolve.opportunity.customer.doNotEmail;\r\n if ($ctrl.doNotEmail) {\r\n logger.warning(\"doNotEmailCheckedWarning\");\r\n $ctrl.canSendEmail = false;\r\n }\r\n }\r\n }\r\n\r\n function setDealerFromAddress() {\r\n templateService.getDealerOutboundEmailProviderInfo($ctrl.dealerId)\r\n .then((result) => {\r\n $ctrl.emailFromAddress = result == smtpProviderTypes.custom? $ctrl.resolve.opportunity.userProfile.email : templateEmail.mailFrom;\r\n $ctrl.emailDisabled = result === smtpProviderTypes.none;\r\n checkCanSendEmail();\r\n });\r\n }\r\n\r\n async function onSendEmail(subject, to, from, body, isTestEmail, testTo) {\r\n\r\n if (typeof body === 'undefined' || body === null || body === '') {\r\n logger.warning(\"blankTemplateWarning\");\r\n } else {\r\n\r\n let upgradeProposalCalcParameters = null;\r\n if ($ctrl.attachProposal) {\r\n upgradeProposalCalcParameters = await legacyService.getCalculationParameters($ctrl.resolve.opportunity);\r\n }\r\n var outboundTemplateInfo = {\r\n userId:$ctrl.resolve.opportunity.userProfile.userId,\r\n entityID: $ctrl.resolve.opportunity.id,\r\n templateId: $ctrl.template.id,\r\n templateName: $ctrl.template.templateName,\r\n isTestEmail: isTestEmail,\r\n testToAddress: testTo,\r\n toAddress: to,\r\n subject:subject,\r\n contentHtml:body,\r\n maxEmailsPerEntityPerDay: 0,\r\n replMakeId: $ctrl.replMakeId\r\n };\r\n\r\n logger.success(\"sendingEmail\");\r\n try {\r\n const emailResponse = await templateService.sendEmail(outboundTemplateInfo, upgradeProposalCalcParameters);\r\n\r\n logger.success(\"emailSuccessMessage\");\r\n }\r\n catch (response) {\r\n\r\n if (response.data.error.translationKey) {\r\n $translate(response.data.error.translationKey, response.data.error.translationParameters)\r\n .then((message) => logger.warning(message, null, \"emailErrorMessage\"))\r\n .catch(err => $log.error(err));\r\n } else {\r\n logger.warning(response.data.error.message, null, \"emailErrorMessage\");\r\n }\r\n\r\n }\r\n\r\n }\r\n }\r\n\r\n\r\n function onEdit(action){\r\n $ctrl.templateBody = action;\r\n $ctrl.readOnlyText = $sce.trustAsHtml($ctrl.templateBody);\r\n }\r\n\r\n function getTemplateEmailContent() {\r\n return $ctrl.workingPromise = templateService.getEmailPreviewContent($ctrl.resolve.opportunity.id, $ctrl.template.id, $ctrl.templateBody, $ctrl.replMakeId)\r\n .then(setTemplateEmailContent);\r\n }\r\n\r\n function setTemplateEmailContent(content) {\r\n $ctrl.templateEmailContent = content;\r\n\r\n return true;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./view-email-conversation-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('viewEmailConversationModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/view-email-conversation-modal.component.html',\r\n controller: viewEmailConversationModalController,\r\n bindings: {\r\n close: '&',\r\n resolve: '<',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction viewEmailConversationModalController($timeout) {\r\n var $ctrl = this;\r\n}\r\n\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./view-email-conversation-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('viewEmailConversationAction', {\r\n templateUrl: '/app/components/deal-sheet/view-email-conversation-action.component.html',\r\n controller: ViewEmailConversationActionController,\r\n bindings: {\r\n emailConversationItemId: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ViewEmailConversationActionController($q, activityService) {\r\n var $ctrl = this;\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./euro-lite-grid-layout-selector-modal.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\n\r\nangular.module('AaApp.Opp').component('euroLiteGridLayoutSelectorModal', {\r\n templateUrl: '/app/components/opportunities/modals/euro-lite-grid-layout-selector-modal.component.html',\r\n controller: euroLiteGridLayoutSelectorModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n checkColumnSelectionLimit: '&'\r\n }\r\n});\r\n\r\n\r\n/* @ngInject */\r\nfunction euroLiteGridLayoutSelectorModalController($translate, euroOpportunityGridLayout) {\r\n var $ctrl = this; \r\n\r\n $ctrl.$onInit = onInit;\r\n $ctrl.checkColumnSelectionLimit = checkColumnSelectionLimit;\r\n $ctrl.showLimitMsg = null;\r\n \r\n $ctrl.gridColumns = {};\r\n\r\n function checkColumnSelectionLimit() {\r\n var count = 0;\r\n $ctrl.gridColumns.forEach(function (ele) {\r\n ele.fields.forEach(function (item){\r\n if (item.selectable && item.isChecked) count++;\r\n })\r\n });\r\n\r\n if (count < 12) { \r\n $ctrl.showLimitMsg = null;\r\n $ctrl.close( {$value: $ctrl.gridColumns} ); \r\n }\r\n else {\r\n $translate('maxNumberOfColumnsAllowedis').then(function (successMessage) {\r\n $ctrl.showLimitMsg = successMessage + ' 11';\r\n });\r\n } \r\n }\r\n\r\n\r\n function onInit() {\r\n var gridColumns = _.cloneDeep(euroOpportunityGridLayout);\r\n var currentColumns = $ctrl.resolve.currentGridColumns;\r\n\r\n gridColumns.forEach(function (ele) {\r\n ele.fields.forEach(function (item) {\r\n item.isChecked = (currentColumns.indexOf(item.name) > -1) ? true : false;\r\n });\r\n }); \r\n\r\n $ctrl.gridColumns = gridColumns\r\n }\r\n\r\n}","\n/* injects from baggage-loader */\nrequire('./edit-contact.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('editContact', {\r\n templateUrl: '/app/components/edit-contact.component.html',\r\n controller: EditContactController,\r\n bindings: {\r\n contact: '<',\r\n dealerSettings: '<',\r\n onChange: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction EditContactController(_, $translate, contactTypes, doNotCallStatusTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.update = update;\r\n $ctrl.markAsBadChanged = markAsBadChanged;\r\n $ctrl.markAsPreferred = markAsPreferred;\r\n $ctrl.isPhoneNumber = isPhoneNumber;\r\n $ctrl.isEmailAddress = isEmailAddress;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.doNotCallStatusTypes = doNotCallStatusTypes;\r\n\r\n $ctrl.doNotCallStatusTranslateKeys = {};\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.notProcessed] = 'ndncNotProcessed';\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.invalidNumber] = 'ndncInvalidNumber';\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.notSubscribed] = 'ndncNotSubscribed';\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.onDoNotCallList] = 'ndncOnDoNotCallList';\r\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.offDoNotCallList] = 'ndncOffDoNotCallList';\r\n\r\n $ctrl.doNotCallStatusAbbrevTranslateKeys = {};\r\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.notProcessed] = 'ndncNotProcessedAbbrev';\r\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.invalidNumber] = 'ndncInvalidNumberAbbrev';\r\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.notSubscribed] = 'ndncNotSubscribedAbbrev';\r\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.onDoNotCallList] = 'ndncOnDoNotCallListAbbrev';\r\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.offDoNotCallList] = 'ndncOffDoNotCallListAbbrev';\r\n\r\n function onChanges(changes) {\r\n if (changes.contact && changes.contact.currentValue) {\r\n $ctrl.displayValue = $ctrl.contact.value;\r\n }\r\n }\r\n\r\n function isPhoneNumber() {\r\n return $ctrl.contact && (\r\n $ctrl.contact.contactType == contactTypes.homePhone ||\r\n $ctrl.contact.contactType == contactTypes.workPhone ||\r\n $ctrl.contact.contactType == contactTypes.cellPhone\r\n )\r\n }\r\n\r\n function isEmailAddress() {\r\n return $ctrl.contact && $ctrl.contact.contactType == contactTypes.email;\r\n }\r\n\r\n function update() {\r\n var newContact = _.extend({}, $ctrl.contact, { value: $ctrl.displayValue });\r\n sendOnChange(newContact);\r\n }\r\n\r\n function markAsBadChanged() {\r\n var value = $ctrl.contact.isBad;\r\n var newContact = _.extend({}, $ctrl.contact, { isBad: value });\r\n sendOnChange(newContact);\r\n }\r\n\r\n function markAsPreferred() {\r\n var newContact = _.extend({}, $ctrl.contact, { isPreferred: true });\r\n sendOnChange(newContact);\r\n }\r\n\r\n function sendOnChange(newContact) {\r\n // Same schema as Angular's $onChanges\r\n var change = {\r\n previousValue: $ctrl.contact,\r\n currentValue: newContact\r\n }\r\n $ctrl.onChange({ change: change });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./unauthorized.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('errorUnauthorized', {\r\n templateUrl: '/app/components/error/unauthorized.component.html',\r\n controller: ErrorUnauthorizedController,\r\n bindings: {\r\n reason: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ErrorUnauthorizedController(_, $q, $stateParams, $translate, $translatePartialLoader, storageService,\r\n localePaths, logger, translateErrorKeys, warningTitleKey) {\r\n var $ctrl = this;\r\n\r\n $translatePartialLoader.addPart(localePaths.error);\r\n\r\n let cultureName = storageService.getItem('cultureName') || $translate.use();\r\n $translate.use(cultureName).then(resolveErrorTranslations);\r\n\r\n function resolveErrorTranslations() {\r\n var translateObject = {\r\n title: translateErrorKeys.generalErrorTitleKey,\r\n reason: translateErrorKeys.unauthorizedAppErrorKey\r\n };\r\n\r\n if ($stateParams && $stateParams.errorState) {\r\n switch ($stateParams.errorState) {\r\n case 'disabled':\r\n translateObject.reason = translateErrorKeys.unauthorizedDisabledUserKey;\r\n break;\r\n case 'locked':\r\n translateObject.reason = translateErrorKeys.unauthorizedLockedUserKey;\r\n break;\r\n case 'invalidIPAddress':\r\n translateObject.reason = translateErrorKeys.invalidIPAddress;\r\n break;\r\n case 'noUserProfile':\r\n translateObject.reason = translateErrorKeys.unauthorizedNoUserProfileKey;\r\n break;\r\n case 'marketingSplash': // if EULA is declined or if we need to redirect user to marketing splash\r\n return;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n var translateArray = _.values(translateObject);\r\n $translate(translateArray).then(resolveTranslations(translateObject));\r\n }\r\n\r\n function resolveTranslations(translateObject) {\r\n return function showWarningMessage(translations) {\r\n logger.warning(\r\n translations[translateObject.reason],\r\n null,\r\n translations[translateObject.title]\r\n );\r\n }\r\n }\r\n}\r\n","PrintOfferController.$inject = [\"$q\", \"printOfferBatchService\"];\n\n/* injects from baggage-loader */\nrequire('./print-offer.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('printOffer', {\n templateUrl: '/app/components/deal-sheet/print-offer.component.html',\n controller: PrintOfferController,\n bindings: {\n opportunityId: '<',\n showWarning: '<',\n onStart: '&',\n onFinish: '&',\n onActivityUpdate: '&'\n }\n});\n/* @ngInject */\n\nfunction PrintOfferController($q, printOfferBatchService) {\n var $ctrl = this;\n $ctrl.showWarningMessage = showWarningMessage;\n $ctrl.printOffer = printOffer;\n\n function showWarningMessage() {\n if ($ctrl.showWarning) {\n return $q.resolve(true);\n } else {\n printOffer();\n return $q.resolve(false);\n }\n }\n\n function printOffer() {\n $ctrl.onStart();\n return printOfferBatchService.initiatePrint($ctrl.opportunityId).then(function (data) {\n $ctrl.onFinish();\n $ctrl.onActivityUpdate({\n $event: {\n data: data\n }\n });\n });\n }\n}","import \"core-js/modules/es7.promise.finally\";\nPrintUpgradeProposalController.$inject = [\"saleTypes\", \"legacyService\", \"$window\", \"translateErrorKeys\", \"$translate\"];\n\n/* injects from baggage-loader */\nrequire('./print-upgrade-proposal.component.html');\n\nimport angular from 'angular';\nimport { downloadArraybufferResponse } from '../../utilities/http';\nangular.module('AaApp.Opp').component('printUpgradeProposal', {\n templateUrl: '/app/components/deal-sheet/print-upgrade-proposal.component.html',\n controller: PrintUpgradeProposalController,\n bindings: {\n opportunity: '<',\n onPrint: '&'\n }\n});\n/* @ngInject */\n\nfunction PrintUpgradeProposalController(saleTypes, legacyService, $window, translateErrorKeys, $translate) {\n var $ctrl = this;\n $ctrl.iPromiseIamThinking = null;\n $ctrl.saleTypes = saleTypes;\n $ctrl.getUpgradeProposal = getUpgradeProposal;\n\n function getUpgradeProposal() {\n $ctrl.iPromiseIamThinking = legacyService.generateUpgradeProposal($ctrl.opportunity).then(downloadArraybufferResponse({\n contentType: 'application/pdf',\n filename: 'UpgradeProposal_' + $ctrl.opportunity.id + '.pdf'\n })).catch(function (err) {\n var translationKey = null;\n\n switch (err.message) {\n case \"popupBlockerEnabled\":\n translationKey = translateErrorKeys.popupBlockerEnabledErrorMessage;\n break;\n\n default:\n translationKey = translateErrorKeys.generalErrorMessageKey;\n break;\n }\n\n if (translationKey != null) {\n $translate(translationKey).then(function (response) {\n alert(response);\n });\n }\n }).finally(function () {\n $ctrl.onPrint();\n });\n }\n}","ReopenController.$inject = [\"opportunityStatuses\"];\n\n/* injects from baggage-loader */\nrequire('./reopen.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('reopen', {\n templateUrl: '/app/components/deal-sheet/reopen.component.html',\n controller: ReopenController,\n bindings: {\n status: '<',\n permissions: '<',\n onReopen: '&'\n }\n});\n/* @ngInject */\n\nfunction ReopenController(opportunityStatuses) {\n var $ctrl = this;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if (changes.status || changes.permissions) {\n if ($ctrl.status && $ctrl.permissions) {\n $ctrl.reopenEnabled = ($ctrl.status == opportunityStatuses.closed || $ctrl.status == opportunityStatuses.sold) && ($ctrl.permissions.editMarkAsNotOwn || $ctrl.permissions.editMarkAsSold);\n } else {\n $ctrl.reopenEnabled = false;\n }\n }\n }\n}","ReportDiscrepancyActionController.$inject = [\"$q\", \"$filter\", \"currentVehicleKey\", \"paymentsKey\", \"discrepancyTypes\", \"saleTypes\", \"dealerCountries\"];\n\n/* injects from baggage-loader */\nrequire('./report-discrepancy-action.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('reportDiscrepancyAction', {\n templateUrl: '/app/components/deal-sheet/report-discrepancy-action.component.html',\n controller: ReportDiscrepancyActionController,\n bindings: {\n countryId: '<',\n opportunity: '<',\n saleTypes: '<',\n onInput: '&'\n }\n});\n/* @ngInject */\n\nfunction ReportDiscrepancyActionController($q, $filter, currentVehicleKey, paymentsKey, discrepancyTypes, saleTypes, dealerCountries) {\n var $ctrl = this;\n $ctrl.options;\n $ctrl.getOptions = getOptions;\n\n function getOptions() {\n $ctrl.options = getDiscrepancyOptions();\n return $q.resolve(true);\n }\n\n function getDiscrepancyOptions() {\n var options = [{\n group: currentVehicleKey,\n type: discrepancyTypes.tradeValue,\n value: $ctrl.opportunity.currentVehicle.tradeValue\n }, {\n group: currentVehicleKey,\n type: discrepancyTypes.payoffAmount,\n value: $ctrl.opportunity.currentContract.payoffAmount\n }];\n\n if ($ctrl.saleTypes.indexOf(saleTypes.lease) > -1) {\n options.push({\n group: paymentsKey,\n type: discrepancyTypes.leaseRate,\n multiple: true,\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.leaseRate, $ctrl.countryId == dealerCountries.usa)\n }, {\n group: paymentsKey,\n type: discrepancyTypes.leaseFactoryRebate,\n multiple: true,\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.leaseFactoryRebate)\n }, {\n group: paymentsKey,\n type: discrepancyTypes.leaseDealerRebate,\n multiple: true,\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.leaseDealerRebate)\n });\n }\n\n if ($ctrl.saleTypes.indexOf(saleTypes.retail) > -1) {\n options.push({\n group: paymentsKey,\n type: discrepancyTypes.retailRate,\n multiple: true,\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.retailRate)\n }, {\n group: paymentsKey,\n type: discrepancyTypes.retailFactoryRebate,\n multiple: true,\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.retailFactoryRebate)\n }, {\n group: paymentsKey,\n type: discrepancyTypes.retailDealerRebate,\n multiple: true,\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.retailDealerRebate)\n });\n }\n\n if ($ctrl.saleTypes.indexOf(saleTypes.balloon) > -1) {\n options.push({\n group: paymentsKey,\n type: discrepancyTypes.balloonRate,\n multiple: true,\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.balloonRate)\n }, {\n group: paymentsKey,\n type: discrepancyTypes.balloonFactoryRebate,\n multiple: true,\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.balloonFactoryRebate)\n }, {\n group: paymentsKey,\n type: discrepancyTypes.balloonDealerRebate,\n multiple: true,\n value: getValueList($ctrl.opportunity.replacementContracts, discrepancyTypes.balloonDealerRebate)\n });\n }\n\n options.push({\n type: discrepancyTypes.replacementVehicle,\n value: getReplacementVehicleInfo($ctrl.opportunity)\n }, {\n type: discrepancyTypes.other\n });\n return options;\n }\n\n function getValueList(contracts, discrepancyType, useMoneyFactor) {\n var rateList = [];\n\n for (var i = 0; i < contracts.length; i++) {\n var contract = contracts[i];\n var saleType;\n\n switch (discrepancyType) {\n case discrepancyTypes.leaseRate:\n case discrepancyTypes.leaseFactoryRebate:\n case discrepancyTypes.leaseDealerRebate:\n saleType = saleTypes.lease;\n break;\n\n case discrepancyTypes.retailRate:\n case discrepancyTypes.retailFactoryRebate:\n case discrepancyTypes.retailDealerRebate:\n saleType = saleTypes.retail;\n break;\n\n case discrepancyTypes.balloonRate:\n case discrepancyTypes.balloonFactoryRebate:\n case discrepancyTypes.balloonDealerRebate:\n saleType = saleTypes.balloon;\n break;\n\n default:\n break;\n }\n\n if (contract.saleType == saleType) {\n var current = {\n term: contract.term\n };\n\n switch (discrepancyType) {\n case discrepancyTypes.leaseRate:\n current.value = useMoneyFactor ? contract.moneyFactor : contract.apr;\n break;\n\n case discrepancyTypes.retailRate:\n case discrepancyTypes.balloonRate:\n current.value = contract.apr;\n break;\n\n case discrepancyTypes.leaseFactoryRebate:\n case discrepancyTypes.retailFactoryRebate:\n case discrepancyTypes.balloonFactoryRebate:\n current.value = contract.factoryRebate;\n break;\n\n case discrepancyTypes.leaseDealerRebate:\n case discrepancyTypes.retailDealerRebate:\n case discrepancyTypes.balloonDealerRebate:\n current.value = contract.dealerRebate;\n break;\n\n default:\n break;\n }\n\n rateList.push(current);\n }\n }\n\n return rateList;\n }\n\n function getReplacementVehicleInfo(opportunity) {\n var replacementInfo = opportunity.replacementVehicle.yearID + ', ' + opportunity.replacementVehicle.makeName + ' ' + opportunity.replacementVehicle.trimFullName + ' (' + $filter('localeCurrency')(opportunity.replacementVehicle.price) + ')';\n return replacementInfo;\n }\n}","ServiceHistoryController.$inject = [\"$translate\", \"generalNaKey\", \"dealSheetTabs\", \"servicesService\"];\n\n/* injects from baggage-loader */\nrequire('./service-history.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('serviceHistory', {\n templateUrl: '/app/components/deal-sheet/service-history.component.html',\n controller: ServiceHistoryController,\n bindings: {\n history: '<',\n permissions: '<',\n defaultTab: '<',\n onSetAsDefault: '&'\n }\n});\n/* @ngInject */\n\nfunction ServiceHistoryController($translate, generalNaKey, dealSheetTabs, servicesService) {\n var $ctrl = this;\n $ctrl.tabs = dealSheetTabs;\n $ctrl.GetAdvisor = getAdvisor;\n $ctrl.GetAmount = getAmount;\n $ctrl.getServiceLineDetails = getServiceLineDetails;\n var naMessage = 'N/A';\n $translate(generalNaKey).then(function (value) {\n naMessage = value;\n }).catch(function (e) {});\n\n function getAdvisor(item) {\n if (!item) {\n return '';\n }\n\n if (item.serviceAdvisorName && typeof item.serviceAdvisorName === 'string' && item.serviceAdvisorName.trim() !== '') {\n return item.serviceAdvisorName;\n }\n\n if (item.serviceAdvisorID && typeof item.serviceAdvisorID === 'string' && item.serviceAdvisorID.trim() !== '') {\n return item.serviceAdvisorID;\n }\n\n return '';\n }\n\n function getAmount(item, type) {\n if (!item || !type) {\n return naMessage;\n }\n\n switch (type) {\n case 'CP':\n if (!(typeof item.customerPaid === 'undefined' || item.customerPaid === null)) {\n return item.customerPaid;\n }\n\n break;\n\n case 'DP':\n if (!(typeof item.dealerPaid === 'undefined' || item.dealerPaid === null)) {\n return item.dealerPaid;\n }\n\n break;\n\n case 'WP':\n if (!(typeof item.warrantyPaid === 'undefined' || item.warrantyPaid === null)) {\n return item.warrantyPaid;\n }\n\n break;\n }\n\n return naMessage;\n }\n\n function getServiceLineDetails(dealerId, roId) {\n return servicesService.getServiceLineDetails(dealerId, roId);\n }\n}","\n/* injects from baggage-loader */\nrequire('./user-select-action.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('userSelectAction', {\r\n templateUrl: '/app/components/deal-sheet/user-select-action.component.html',\r\n bindings: {\r\n defaultUser: '<',\r\n users: '<',\r\n permissions: '<',\r\n onSelect: '&',\r\n isActionMenu:'<'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./user-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('userSelect', {\r\n templateUrl: '/app/components/deal-sheet/user-select.component.html',\r\n controller: UserSelectController,\r\n bindings: {\r\n users: '<',\r\n defaultUserId: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction UserSelectController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.selectedUser;\r\n $ctrl.setSelectedUser = setSelectedUser;\r\n\r\n function setSelectedUser(user) {\r\n $ctrl.selectedUser = user;\r\n\r\n $ctrl.onSelect({ user: user });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./color.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('color', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/color.component.html',\r\n bindings: {\r\n interior: '<',\r\n exterior: '<'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./fuel-difference.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('fuelDifference', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/fuel-difference.component.html',\r\n controller: FuelDifferenceController,\r\n bindings: {\r\n fuelEconomyComparison: '<',\r\n onClick: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction FuelDifferenceController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.costDiffClass = costDiffClass;\r\n $ctrl.costDiffHasValue = costDiffHasValue;\r\n\r\n function costDiffHasValue() {\r\n return $ctrl.fuelEconomyComparison && $ctrl.fuelEconomyComparison.estimatedMonthlyCostDifference !== null;\r\n }\r\n\r\n function costDiffClass() {\r\n if (costDiffHasValue()) {\r\n return $ctrl.fuelEconomyComparison.estimatedMonthlyCostDifference === 0 ? 'base-fuel' :\r\n $ctrl.fuelEconomyComparison.estimatedMonthlyCostDifference > 0 ? 'down-fuel' : 'up-fuel';\r\n }\r\n return 'base-fuel';\r\n }\r\n}\r\n","InventorySearchActionController.$inject = [\"$q\", \"$analytics\", \"analytics\"];\n\n/* injects from baggage-loader */\nrequire('./inventory-search-action.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('inventorySearchAction', {\n templateUrl: '/app/components/deal-sheet/vehicle/inventory-search-action.component.html',\n controller: InventorySearchActionController,\n bindings: {\n opportunity: '<',\n onSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction InventorySearchActionController($q, $analytics, analytics) {\n var $ctrl = this;\n $ctrl.defaults;\n $ctrl.onVehicleSelect = onVehicleSelect;\n $ctrl.getDefaults = getDefaults;\n\n function getDefaults() {\n $ctrl.defaults = {\n saleTypes: [$ctrl.opportunity.currentContract.saleType],\n vehicleTypes: [$ctrl.opportunity.replacementVehicle.type],\n makeID: $ctrl.opportunity.replacementVehicle.makeID,\n makeName: $ctrl.opportunity.replacementVehicle.makeName,\n yearID: $ctrl.opportunity.replacementVehicle.yearID,\n modelID: $ctrl.opportunity.replacementVehicle.modelID,\n modelName: $ctrl.opportunity.replacementVehicle.modelName,\n trimID: $ctrl.opportunity.replacementVehicle.trimID,\n trimName: $ctrl.opportunity.replacementVehicle.trimName,\n term: $ctrl.opportunity.currentContract.term,\n payment: $ctrl.opportunity.currentContract.payment\n };\n return $q.resolve(true);\n }\n\n function onVehicleSelect(vehicle) {\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\n category: analytics.categories.dealSheet,\n label: analytics.labels.inventorySearch\n });\n $ctrl.onSelect({\n vehicle: vehicle\n });\n }\n}","import \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es6.regexp.to-string\";\nInventorySearchController.$inject = [\"vehicleService\", \"vehicleTypes\", \"saleTypes\", \"vehicleSelectColumns\", \"$filter\", \"toaster\", \"$translate\"];\n\n/* injects from baggage-loader */\nrequire('./inventory-search.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nangular.module('AaApp.Opp').component('inventorySearch', {\n templateUrl: '/app/components/deal-sheet/vehicle/inventory-search.component.html',\n controller: InventorySearchController,\n bindings: {\n opportunity: '<',\n dealerId: '<',\n defaults: '<',\n onVehicleSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction InventorySearchController(vehicleService, vehicleTypes, saleTypes, vehicleSelectColumns, $filter, toaster, $translate) {\n var $ctrl = this;\n var localeCurrencyFilter = $filter('localeCurrency');\n $ctrl.searchPromise;\n $ctrl.vehicles;\n $ctrl.stockNo;\n $ctrl.displayColumns;\n $ctrl.selectedVehicleTypes;\n $ctrl.selectedSaleTypes = [];\n $ctrl.trimSelections;\n $ctrl.usePricingPlan;\n $ctrl.saleTypes = saleTypes;\n $ctrl.setSelectedSaleTypes = setSelectedSaleTypes;\n $ctrl.setSelectedVehicleTypes = setSelectedVehicleTypes;\n $ctrl.setTrimSelections = setTrimSelections;\n $ctrl.searchByStockNo = searchByStockNo;\n $ctrl.searchByTrim = searchByTrim;\n $ctrl.resetFilters = resetFilters;\n $ctrl.$onChanges = onChanges;\n $ctrl.termFilter = {\n min: 24,\n max: 48,\n options: {\n floor: 24,\n ceil: 96,\n step: 3\n }\n };\n $ctrl.paymentFilter = {\n min: 100,\n max: 2000,\n options: {\n floor: 50,\n ceil: 3000,\n step: 50\n }\n };\n\n function onChanges(changes) {\n if (changes.defaults && changes.defaults.currentValue) {\n setTrimSelections($ctrl.defaults);\n setSelectedVehicleTypes($ctrl.defaults.vehicleTypes);\n setDefaultPaymentFilters($ctrl.defaults.term, $ctrl.defaults.payment, $ctrl.defaults.saleTypes);\n setPricingPlanStatus();\n }\n }\n\n function setPricingPlanStatus() {\n if ($ctrl.opportunity.customer.pricingPlanId && $ctrl.opportunity.customer.pricingPlanId > 0) {\n $ctrl.usePricingPlan = true;\n } else {\n $ctrl.usePricingPlan = false;\n }\n }\n\n function setDefaultPaymentFilters(term, payment, saleTypes) {\n if (term) {\n $ctrl.termFilter.min = Math.max($ctrl.termFilter.options.floor, term - 12);\n $ctrl.termFilter.max = Math.min($ctrl.termFilter.options.ceil, term + 12);\n } else {\n $ctrl.termFilter.min = 24;\n $ctrl.termFilter.max = 48;\n }\n\n if (payment) {\n var floor = $ctrl.paymentFilter.options.floor;\n var ceil = $ctrl.paymentFilter.options.ceil;\n var step = $ctrl.paymentFilter.options.step;\n\n var validPayments = _.range(floor, ceil + 1, step);\n\n var lowerBound = findClosestValue(validPayments, payment * 0.90);\n var upperBound = findClosestValue(validPayments, payment * 1.10);\n $ctrl.paymentFilter.min = lowerBound;\n $ctrl.paymentFilter.max = upperBound;\n } else {\n $ctrl.paymentFilter.min = 250;\n $ctrl.paymentFilter.max = 750;\n }\n\n if (saleTypes) {\n setSelectedSaleTypes(saleTypes.slice());\n } else {\n setSelectedSaleTypes([saleTypes.lease]);\n }\n\n function findClosestValue(values, candidate) {\n var distances = values.map(function (value) {\n return {\n value: value,\n distance: Math.abs(candidate - value)\n };\n });\n return _.head(_.sortBy(distances, function (v) {\n return v.distance;\n }).map(function (v) {\n return v.value;\n }));\n }\n }\n\n function resetFilters() {\n $ctrl.vehicles = null; // Replacing the `defaults` object with an identical object triggers\n // the $onChanges event in child components so they reset themselves.\n\n $ctrl.defaults = _.extend({}, $ctrl.defaults);\n $ctrl.defaults.vehicleTypes = $ctrl.defaults.vehicleTypes.slice();\n setDefaultPaymentFilters($ctrl.defaults.term, $ctrl.defaults.payment, $ctrl.defaults.saleTypes);\n setSelectedSaleTypes($ctrl.defaults.saleTypes);\n setSelectedVehicleTypes($ctrl.defaults.vehicleTypes);\n setTrimSelections($ctrl.defaults);\n }\n\n function setSelectedVehicleTypes(vehicleTypes) {\n if (vehicleTypes.length == 0) {\n $ctrl.selectedVehicleTypes = [vehicleTypes.new, vehicleTypes.used];\n } else {\n $ctrl.selectedVehicleTypes = vehicleTypes.slice();\n }\n }\n\n function setSelectedSaleTypes(saleTypes) {\n if (saleTypes) {\n $ctrl.selectedSaleTypes = saleTypes.slice();\n }\n }\n\n function setTrimSelections(selections) {\n $ctrl.trimSelections = selections;\n }\n\n function searchByStockNo() {\n if ($ctrl.stockNo) {\n $ctrl.vehicles = null;\n $ctrl.searchPromise = vehicleService.getInventoryVehicle($ctrl.stockNo, $ctrl.opportunity.id, $ctrl.opportunity.customer.pricingPlanId).then(showSearchResults(false));\n }\n }\n\n function searchByTrim() {\n if ($ctrl.trimSelections) {\n $ctrl.vehicles = null;\n var getNewVehicles = $ctrl.selectedVehicleTypes.indexOf(vehicleTypes.new) >= 0;\n var getUsedVehicles = $ctrl.selectedVehicleTypes.indexOf(vehicleTypes.used) >= 0 || $ctrl.selectedVehicleTypes.indexOf(vehicleTypes.cpo) >= 0;\n var makeIDs = $ctrl.trimSelections.makeID ? [$ctrl.trimSelections.makeID] : [];\n var yearIDs = $ctrl.trimSelections.yearID ? [$ctrl.trimSelections.yearID] : [];\n var modelIDs = $ctrl.trimSelections.modelIDs;\n\n if (!modelIDs) {\n modelIDs = $ctrl.trimSelections.modelId ? [$ctrl.trimSelections.modelId] : [];\n }\n\n var trimIDs = $ctrl.trimSelections.trimIDs;\n\n if (!trimIDs) {\n trimIDs = $ctrl.trimSelections.trimID ? [$ctrl.trimSelections.trimID] : [];\n }\n\n var params = {\n dealerIds: [$ctrl.dealerId],\n getNewVehicles: getNewVehicles,\n getUsedVehicles: getUsedVehicles,\n makeIDs: makeIDs,\n yearIDs: yearIDs,\n modelIDs: modelIDs,\n trimIDs: trimIDs,\n saleTypes: $ctrl.paymentFiltersEnabled ? $ctrl.selectedSaleTypes : [],\n // empty means both\n minimumTermLength: $ctrl.paymentFiltersEnabled ? $ctrl.termFilter.min : null,\n maximumTermLength: $ctrl.paymentFiltersEnabled ? $ctrl.termFilter.max : null,\n minimumMonthlyPayment: $ctrl.paymentFiltersEnabled ? $ctrl.paymentFilter.min : null,\n maximumMonthlyPayment: $ctrl.paymentFiltersEnabled ? $ctrl.paymentFilter.max : null,\n pricingPlanId: $ctrl.usePricingPlan ? $ctrl.opportunity.customer.pricingPlanId : null\n };\n $ctrl.searchPromise = vehicleService.getInventoryVehicles($ctrl.opportunity, params).then(showSearchResults($ctrl.paymentFiltersEnabled));\n }\n }\n\n function showWarningMessage(translations) {\n toaster.pop('warning', translations.warningTitle, translations.missingInventoryTrimIDErrorMsg);\n }\n\n function showSearchResults(displayPaymentColumn) {\n return function showSearchResults(vehicles) {\n if (!vehicles) {\n $ctrl.vehicles = [];\n return;\n }\n\n if (Object.prototype.toString.call(vehicles) !== '[object Array]') {\n vehicles = [vehicles];\n }\n\n if (vehicles.length == 1 && vehicles[0].trimID == null) {\n $ctrl.vehicles = [];\n $translate(['warningTitle', 'missingInventoryTrimIDErrorMsg']).then(showWarningMessage);\n return;\n }\n\n $ctrl.vehicles = vehicles.sort(byDaysInStock);\n $ctrl.displayColumns = [vehicleSelectColumns.stockNo, vehicleSelectColumns.vehicleType, vehicleSelectColumns.trim, vehicleSelectColumns.year, vehicleSelectColumns.price, vehicleSelectColumns.mileage, vehicleSelectColumns.color, vehicleSelectColumns.options, vehicleSelectColumns.daysInStock];\n\n if (displayPaymentColumn) {\n $ctrl.displayColumns.push(vehicleSelectColumns.payments);\n }\n };\n }\n\n function byDaysInStock(vehicle1, vehicle2) {\n return vehicle2.daysInStock - vehicle1.daysInStock;\n }\n}","MileageController.$inject = [\"vehicleTypes\"];\n\n/* injects from baggage-loader */\nrequire('./mileage.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('mileage', {\n templateUrl: '/app/components/deal-sheet/vehicle/mileage.component.html',\n controller: MileageController,\n bindings: {\n value: '<',\n vehicleType: '<'\n }\n});\n/* @ngInject */\n\nfunction MileageController(vehicleTypes) {\n var $ctrl = this;\n $ctrl.vehicleTypes = vehicleTypes;\n}","RecommendedVehiclesActionController.$inject = [\"$q\", \"$analytics\", \"vehicleService\", \"vehicleSelectColumns\", \"analytics\"];\n\n/* injects from baggage-loader */\nrequire('./recommended-vehicles-action.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('recommendedVehiclesAction', {\n templateUrl: '/app/components/deal-sheet/vehicle/recommended-vehicles-action.component.html',\n controller: RecommendedVehiclesActionController,\n bindings: {\n opportunity: '<',\n pricingPlan: '<',\n onSelect: '&',\n onNoRecommendations: '&'\n }\n});\n/* @ngInject */\n\nfunction RecommendedVehiclesActionController($q, $analytics, vehicleService, vehicleSelectColumns, analytics) {\n var $ctrl = this;\n $ctrl.displayColumns;\n $ctrl.vehicles;\n $ctrl.pricingPlanId;\n $ctrl.getVehicles = getVehicles;\n $ctrl.onVehicleSelect = onVehicleSelect;\n $ctrl.$onInit = $onInit;\n $ctrl.$onChanges = $onChanges;\n\n function $onChanges() {\n if ($ctrl.pricingPlan) {\n // When switching from one deal sheet to another, $ctrl.opportunity\n // sometimes gets set to null before this component is destroyed,\n // which causes a TypeError here.\n if ($ctrl.opportunity && $ctrl.opportunity.customer) {\n $ctrl.pricingPlanId = $ctrl.opportunity.customer.pricingPlanId;\n }\n }\n }\n\n function $onInit() {\n $ctrl.displayColumns = [vehicleSelectColumns.stockNo, vehicleSelectColumns.trim, vehicleSelectColumns.year, vehicleSelectColumns.price, vehicleSelectColumns.payments];\n }\n\n function getVehicles() {\n return vehicleService.getInventoryReplacementVehicles($ctrl.opportunity).then(setVehicles);\n }\n\n function setVehicles(vehicles) {\n if (vehicles && vehicles.length > 0) {\n $ctrl.vehicles = vehicles;\n return $q.resolve(true);\n } else {\n $ctrl.onNoRecommendations();\n return $q.resolve(false);\n }\n }\n\n function onVehicleSelect(vehicle) {\n $analytics.eventTrack(analytics.actions.changeReplacementVehicle, {\n category: analytics.categories.dealSheet,\n label: analytics.labels.inventoryRecommendation\n });\n $ctrl.onSelect({\n vehicle: vehicle\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./registration-number.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('registrationNumber', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/registration-number.component.html',\r\n bindings: {\r\n value: '<'\r\n }\r\n});\r\n","StockVehicleController.$inject = [\"vehicleTypes\"];\n\n/* injects from baggage-loader */\nrequire('./stock-vehicle.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('stockVehicle', {\n templateUrl: '/app/components/deal-sheet/vehicle/stock-vehicle.component.html',\n controller: StockVehicleController,\n bindings: {\n vehicle: '<'\n }\n});\n/* @ngInject */\n\nfunction StockVehicleController(vehicleTypes) {\n var $ctrl = this;\n $ctrl.vehicleTypes = vehicleTypes;\n}","import \"core-js/modules/es6.array.sort\";\nTrimSelectController.$inject = [\"_\", \"$q\", \"$filter\", \"vehicleService\"];\n\n/* injects from baggage-loader */\nrequire('./trim-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('trimSelect', {\n templateUrl: '/app/components/deal-sheet/vehicle/trim-select.component.html',\n controller: TrimSelectController,\n bindings: {\n dealerId: '<',\n defaults: '<',\n showBlankOptions: '<',\n showBlankModelTrimOptions: '<',\n showAllMakes: '<',\n showAllYears: '<',\n onSelect: '&',\n showWarningMessage: '<',\n showDefaultYears: '<',\n yearLimit: '<',\n showYearAsterisk: '<'\n }\n});\n/* @ngInject */\n\nfunction TrimSelectController(_, $q, $filter, vehicleService) {\n var $ctrl = this;\n $ctrl.selectedMake;\n $ctrl.selectedYear;\n $ctrl.selectedModel;\n $ctrl.selectedTrim;\n $ctrl.makes;\n $ctrl.yearIDs;\n $ctrl.models;\n $ctrl.trims;\n $ctrl.updateModels = updateModels;\n $ctrl.updateTrims = updateTrims;\n $ctrl.onSelectionChange = onSelectionChange;\n $ctrl.$onChanges = onChanges;\n $ctrl.isValidSelection = isValidSelection;\n\n function onChanges(changes) {\n if ($ctrl.dealerId && $ctrl.defaults) {\n $ctrl.selectedMake = {\n makeID: $ctrl.defaults.makeID,\n makeName: $ctrl.defaults.makeName\n };\n $ctrl.selectedModel = {\n modelID: $ctrl.defaults.modelID,\n modelName: $ctrl.defaults.modelName\n };\n $ctrl.selectedTrim = {\n trimID: $ctrl.defaults.trimID,\n trimName: $ctrl.defaults.trimName\n };\n $ctrl.selectedYear = $ctrl.defaults.yearID;\n $q.all([vehicleService.getMakes($ctrl.showAllMakes ? null : [$ctrl.dealerId], null), vehicleService.getModels($ctrl.defaults.makeID, $ctrl.defaults.yearID), vehicleService.getYearIDs($ctrl.dealerId, $ctrl.showDefaultYears, $ctrl.yearLimit), vehicleService.getTrims([$ctrl.defaults.modelID])]).then(function (data) {\n $ctrl.makes = data[0].sort(byMakeName);\n $ctrl.models = data[1].sort(byModelName);\n $ctrl.yearIDs = data[2].sort(descending);\n\n if (!$ctrl.yearLimit < 255) {\n $ctrl.yearIDs.splice($ctrl.yearLimit, $ctrl.yearIDs.length - $ctrl.yearLimit);\n }\n\n if ($ctrl.yearIDs.indexOf($ctrl.selectedYear) < 0) {\n // If the \"allowable\" years doesn't include the\n // currently-selected year, add it (because it's probably\n // the replacement vehicle's year)\n $ctrl.yearIDs.unshift($ctrl.selectedYear);\n }\n\n $ctrl.trims = data[3].sort(byTrimName); //Set blank for all\n\n if ($ctrl.showBlankOptions) {\n $ctrl.makes.unshift({\n makeID: \"\",\n makeName: \"\"\n });\n $ctrl.models.unshift({\n modelID: \"\",\n modelName: \"\"\n });\n $ctrl.yearIDs.unshift(\"\");\n $ctrl.trims.unshift({\n trimID: \"\",\n trimName: \"\"\n });\n } //Set blank for Model Trim only\n\n\n if ($ctrl.showBlankModelTrimOptions) {\n $ctrl.models.unshift({\n modelID: \"\",\n modelName: \"\"\n });\n if (!$ctrl.selectedModel.modelID) $ctrl.selectedModel = $ctrl.models[0];\n $ctrl.trims.unshift({\n trimID: \"\",\n trimName: \"\"\n });\n if (!$ctrl.selectedTrim.trimID) $ctrl.selectedTrim = $ctrl.trims[0];\n }\n });\n }\n }\n\n function updateModels() {\n if (!$ctrl.selectedMake) return;\n\n if ($ctrl.selectedMake.makeID && $ctrl.selectedYear) {\n vehicleService.getModels($ctrl.selectedMake.makeID, $ctrl.selectedYear).then(setModels);\n } else if ($ctrl.selectedMake.makeID && !$ctrl.selectedYear) {\n vehicleService.getModelsByMakeId($ctrl.selectedMake.makeID).then(setModels);\n } else {\n setModels(null);\n }\n }\n\n function updateTrims() {\n if ($ctrl.selectedModel && $ctrl.selectedModel.modelID) {\n var modelIDs = getModelIds($ctrl.models, $ctrl.selectedModel.modelName);\n vehicleService.getTrims(modelIDs).then(setTrims);\n } else {\n setTrims(null);\n }\n }\n\n function getModelIds(models, modelName) {\n var ids = [];\n\n if (modelName) {\n models = models.filter(filterByModelName(modelName));\n\n for (var i = 0; i < models.length; i++) {\n ids.push(models[i].modelID);\n }\n }\n\n return ids;\n }\n\n function filterByModelName(modelName) {\n return function (model) {\n return model.modelName == modelName;\n };\n }\n\n function getTrimIds(trims, trimName) {\n var ids = [];\n\n if (trimName) {\n trims = trims.filter(filterByTrimName(trimName));\n\n for (var i = 0; i < trims.length; i++) {\n ids.push(trims[i].trimID);\n }\n }\n\n return ids;\n }\n\n function filterByTrimName(trimName) {\n return function (trim) {\n return trim.trimName == trimName;\n };\n }\n\n function onSelectionChange() {\n $ctrl.onSelect({\n selections: {\n makeID: $ctrl.selectedMake.makeID,\n makeName: $ctrl.selectedMake.makeName,\n modelID: $ctrl.selectedModel.modelID,\n modelIDs: getModelIds($ctrl.models, $ctrl.selectedModel.modelName),\n modelName: $ctrl.selectedModel.modelName,\n yearID: $ctrl.selectedYear,\n trimName: $ctrl.selectedTrim.trimName,\n trimID: $ctrl.selectedTrim.trimID,\n trimIDs: getTrimIds($ctrl.trims, $ctrl.selectedTrim.trimName),\n extID: $ctrl.selectedTrim.extID,\n trimFullName: $ctrl.selectedTrim.trimFullName\n }\n });\n }\n\n function setModels(models) {\n if (models && models.length > 0) {\n $ctrl.models = models;\n $ctrl.models.sort(byModelName);\n\n if ($ctrl.showBlankOptions || $ctrl.showBlankModelTrimOptions) {\n $ctrl.models.unshift({\n modelID: \"\",\n modelName: \"\"\n });\n }\n } else {\n $ctrl.models = [{\n modelID: \"\",\n modelName: \"\"\n }];\n }\n\n $ctrl.selectedModel = $ctrl.models[0];\n updateTrims();\n }\n\n function setTrims(trims) {\n if (trims && trims.length > 0) {\n $ctrl.trims = trims.sort(byTrimName);\n\n if ($ctrl.showBlankOptions || $ctrl.showBlankModelTrimOptions) {\n $ctrl.trims.unshift({\n trimID: \"\",\n trimName: \"\"\n });\n }\n } else {\n $ctrl.trims = [{\n trimID: \"\",\n trimName: \"\"\n }];\n }\n\n $ctrl.selectedTrim = $ctrl.trims[0];\n onSelectionChange();\n }\n\n function descending(number1, number2) {\n return number2 - number1;\n }\n\n function byMakeName(object1, object2) {\n if (object1.makeName < object2.makeName) return -1;\n if (object1.makeName > object2.makeName) return 1;\n return 0;\n }\n\n function byModelName(object1, object2) {\n if (object1.modelName < object2.modelName) return -1;\n if (object1.modelName > object2.modelName) return 1;\n return 0;\n }\n\n function byTrimName(object1, object2) {\n if (object1.trimName < object2.trimName) return -1;\n if (object1.trimName > object2.trimName) return 1;\n return 0;\n }\n\n function isValidSelection() {\n var yearSelectionIsValid = $ctrl.selectedYear == \"\";\n var isValidSelection = yearSelectionIsValid || !($ctrl.makes && $ctrl.makes.length == 1 && $ctrl.makes[0].makeID == \"\" || $ctrl.models && $ctrl.models.length == 1 && $ctrl.models[0].modelID == \"\" || $ctrl.trims && $ctrl.trims.length == 1 && $ctrl.trims[0].trimID == \"\");\n return isValidSelection;\n }\n}","VehicleActionSelectController.$inject = [\"activityService\", \"saleTypes\", \"opportunityStatuses\", \"vehicleActions\"];\n\n/* injects from baggage-loader */\nrequire('./vehicle-action-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('vehicleActionSelect', {\n templateUrl: '/app/components/deal-sheet/vehicle/vehicle-action-select.component.html',\n controller: VehicleActionSelectController,\n bindings: {\n opportunityId: '<',\n status: '<',\n saleType: '<',\n paidOff: '<',\n paymentsRemaining: '<',\n permissions: '<',\n onStart: '&',\n onSuccess: '&',\n onError: '&',\n onSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction VehicleActionSelectController(activityService, saleTypes, opportunityStatuses, vehicleActions) {\n var $ctrl = this;\n $ctrl.canVehicleBePaidOff;\n $ctrl.opportunityStatuses = opportunityStatuses;\n $ctrl.updateVehicleStatus = updateVehicleStatus;\n $ctrl.vehicleActions = vehicleActions;\n $ctrl.$onChanges = onChanges;\n $ctrl.vehicleOptionStatus = \"-1\";\n\n function onChanges(changes) {\n if ((changes.saleType && changes.saleType.currentValue || changes.paidOff && changes.paidOff.currentValue != null || changes.paymentsRemaining && changes.paymentsRemaining.currentValue != null) && $ctrl.saleType && $ctrl.paidOff != null && $ctrl.paymentsRemaining != null) {\n $ctrl.canVehicleBePaidOff = !$ctrl.paidOff && $ctrl.paymentsRemaining > 0 && $ctrl.saleType != saleTypes.cash;\n }\n\n $ctrl.vehicleOptionStatus = \"-1\";\n }\n\n function updateVehicleStatus() {\n var vehicleStatusInt = parseInt($ctrl.vehicleOptionStatus);\n if ($ctrl.vehicleStatusInt == -1) return;\n $ctrl.onSelect({\n action: vehicleStatusInt\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./vehicle-equity.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('vehicleEquity', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/vehicle-equity.component.html',\r\n bindings: {\r\n permissions: '<',\r\n equity: '<'\r\n }\r\n});\r\n","import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.regexp.search\";\nVehicleSelectController.$inject = [\"_\", \"vehicleTypes\", \"saleTypes\", \"vehicleSelectColumns\", \"$window\"];\n\n/* injects from baggage-loader */\nrequire('./vehicle-select.component.html');\n\nimport angular from 'angular';\nimport PricingPlanTypes from '../../../constants/pricing-plan-types';\nangular.module('AaApp.Opp').component('vehicleSelect', {\n templateUrl: '/app/components/deal-sheet/vehicle/vehicle-select.component.html',\n controller: VehicleSelectController,\n bindings: {\n vehicles: '<',\n displayColumns: '<',\n pricingPlanId: '<',\n onSelect: '&'\n }\n});\n/* @ngInject */\n\nfunction VehicleSelectController(_, vehicleTypes, saleTypes, vehicleSelectColumns, $window) {\n var $ctrl = this;\n var userAgent = $window.navigator.userAgent; // if ipad browser than no need to add scroll bars.\n\n $ctrl.scrollBarClassName = userAgent.toLowerCase().search(\"ipad\") > -1 ? \"\" : \"instock-result\";\n $ctrl.saleTypes = saleTypes;\n $ctrl.vehicleSelectColumns = vehicleSelectColumns;\n $ctrl.displayColumnExists = displayColumnExists;\n $ctrl.getSortIconClassesForColumn = getSortIconClassesForColumn;\n $ctrl.getSortIconClassesForColumnType = getSortIconClassesForColumnType;\n $ctrl.toggleOrderByColumn = toggleOrderByColumn;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges; // These are the sorting keys passed to the orderBy filter\n\n $ctrl.orderableColumns = {\n stockNo: 'stockNo',\n vehicleType: 'type',\n trim: 'trimName',\n year: 'yearID',\n price: 'price',\n mileage: 'odometer',\n color: function color(v) {\n return v.exteriorColor + v.interiorColor;\n },\n options: 'options',\n daysInStock: 'daysInStock',\n new_used_cpo: 'new_used_cpo'\n }; // Defaults\n\n $ctrl.orderByColumn = $ctrl.orderableColumns.daysInStock;\n $ctrl.orderByDescending = true;\n\n function onChanges(changes) {\n if (changes.vehicles && changes.vehicles.currentValue) {\n $ctrl.instockVehicles = _.cloneDeep($ctrl.vehicles);\n $ctrl.instockVehicles = addCustomeSortField($ctrl.instockVehicles);\n }\n }\n\n function init() {\n $ctrl.instockVehicles = _.cloneDeep($ctrl.vehicles);\n $ctrl.vehicleTypeTranslateKeys = _.invert(vehicleTypes);\n $ctrl.pricingPlanTranslateKeys = _.invert(PricingPlanTypes);\n\n _.each($ctrl.pricingPlanTranslateKeys, function (key, i) {\n if (key.indexOf('xPlan') != -1) $ctrl.pricingPlanTranslateKeys[i] = 'xPlan';\n });\n\n if (!$ctrl.displayColumns || $ctrl.displayColumns.length == 0) {\n $ctrl.displayColumns = [vehicleSelectColumns.stockNo, vehicleSelectColumns.vehicleType, vehicleSelectColumns.trim, vehicleSelectColumns.year, vehicleSelectColumns.price, vehicleSelectColumns.mileage, vehicleSelectColumns.color, vehicleSelectColumns.options, vehicleSelectColumns.daysInStock];\n }\n }\n\n function addCustomeSortField(instockVehicles) {\n if (instockVehicles) {\n instockVehicles.forEach(function (ele) {\n ele.new_used_cpo = ele._IsNew ? 2 : ele.isCPO ? 1 : 3;\n });\n }\n\n return instockVehicles;\n }\n\n function displayColumnExists(column) {\n return $ctrl.displayColumns.indexOf(column) > -1;\n }\n\n function toggleOrderByColumn(column) {\n if (column === $ctrl.orderableColumns.vehicleType) {\n if ($ctrl.orderByColumn === $ctrl.orderableColumns.new_used_cpo) {\n $ctrl.orderByDescending = !$ctrl.orderByDescending;\n } else {\n $ctrl.orderByColumn = $ctrl.orderableColumns.new_used_cpo;\n }\n } else if ($ctrl.orderByColumn === column) {\n // If the column is already used for ordering, reverse the direction\n $ctrl.orderByDescending = !$ctrl.orderByDescending;\n } else {\n $ctrl.orderByColumn = column; // DaysInStock should sort \"oldest first\" (descending), all others are ascending\n\n $ctrl.orderByDescending = column === $ctrl.orderableColumns.daysInStock;\n }\n }\n\n function getSortIconClassesForColumnType(column) {\n return {\n 'invisible': $ctrl.orderByColumn !== $ctrl.orderableColumns.new_used_cpo,\n 'sorted-ascending': !$ctrl.orderByDescending,\n 'sorted-descending': $ctrl.orderByDescending\n };\n }\n\n function getSortIconClassesForColumn(column) {\n return {\n 'invisible': $ctrl.orderByColumn !== column,\n 'sorted-ascending': !$ctrl.orderByDescending,\n 'sorted-descending': $ctrl.orderByDescending\n };\n }\n}","\n/* injects from baggage-loader */\nrequire('./vehicle-type-select.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\n(function () { \r\n angular.module('AaApp.Opp').component('vehicleTypeSelect', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/vehicle-type-select.component.html',\r\n controller: VehicleTypeSelectController,\r\n bindings: {\r\n defaults: '<',\r\n onSelect: '&'\r\n }\r\n });\r\n\r\n /* @ngInject */\r\n function VehicleTypeSelectController(vehicleTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.newOptionSelected;\r\n $ctrl.usedOptionSelected;\r\n $ctrl.onSelectionChange = onSelectionChange;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if (changes.defaults && changes.defaults.currentValue) {\r\n if (!Array.isArray($ctrl.defaults)) {\r\n $ctrl.defaults = [$ctrl.defaults];\r\n }\r\n\r\n $ctrl.newOptionSelected = _.includes($ctrl.defaults, vehicleTypes.new);\r\n\r\n $ctrl.usedOptionSelected =\r\n _.includes($ctrl.defaults, vehicleTypes.used) ||\r\n _.includes($ctrl.defaults, vehicleTypes.cpo);\r\n }\r\n }\r\n\r\n function onSelectionChange() {\r\n var selections = [];\r\n\r\n if ($ctrl.newOptionSelected) {\r\n selections.push(vehicleTypes.new);\r\n }\r\n\r\n if ($ctrl.usedOptionSelected) {\r\n selections.push(vehicleTypes.used)\r\n }\r\n\r\n $ctrl.onSelect({ vehicleTypes: selections });\r\n }\r\n }\r\n})();\r\n","\n/* injects from baggage-loader */\nrequire('./vehicle-type.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\n(function () { \r\n angular.module('AaApp.Opp').component('vehicleType', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/vehicle-type.component.html',\r\n controller: VehicleTypeController,\r\n bindings: {\r\n value: '<',\r\n hasExtendedWarranty: '<',\r\n permissions: '<',\r\n conquestType: '<'\r\n }\r\n });\r\n\r\n /* @ngInject */\r\n function VehicleTypeController(conquestTypes, vehicleTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.vehicleTypeKeys;\r\n $ctrl.conquestTypes = conquestTypes;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.vehicleTypeKeys = _.invert(vehicleTypes);\r\n }\r\n }\r\n})();\r\n","\n/* injects from baggage-loader */\nrequire('./vin.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('vin', {\r\n templateUrl: '/app/components/deal-sheet/vehicle/vin.component.html',\r\n bindings: {\r\n value: '<',\r\n modelNumber: '<'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./watch.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('watch', {\r\n templateUrl: '/app/components/deal-sheet/watch.component.html',\r\n bindings: {\r\n value: '<',\r\n permissions: '<',\r\n onChange: '&'\r\n }\r\n});\r\n","\n/* injects from baggage-loader */\nrequire('./pando-process-claim-info.component.html');\n\nimport angular from 'angular';\r\n\r\n\r\nangular.module('AaApp.Opp').component('pandoProcessClaimInfo', {\r\n templateUrl: '/app/components/deal-sheet/pando-process-claim-info.component.html',\r\n controller: ProcessClaimInfoController,\r\n bindings: {\r\n claimInfo:'<',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ProcessClaimInfoController() {\r\n var $ctrl = this;\r\n $ctrl.dateSeparator = \": \";\r\n}","TemplateEmailPreviewController.$inject = [\"$sce\", \"templateService\", \"storageService\"];\n\n/* injects from baggage-loader */\nrequire('./template-email-preview.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('templateEmailPreview', {\n templateUrl: '/app/components/deal-sheet/template-email-preview.component.html',\n controller: TemplateEmailPreviewController,\n bindings: {\n opportunityId: '<',\n templateId: '<',\n replMakeId: '<'\n }\n});\n/* @ngInject*/\n\nfunction TemplateEmailPreviewController($sce, templateService, storageService) {\n var $ctrl = this;\n $ctrl.templateEmailContent;\n $ctrl.getTemplateEmailContent = getTemplateEmailContent;\n $ctrl.$onInit = onInit;\n\n function onInit() {\n $ctrl.content = templateService.retrievePreviewTemplate();\n $ctrl.emailContentPromise = this.getTemplateEmailContent();\n }\n\n function getTemplateEmailContent() {\n return templateService.getEmailPreviewContent($ctrl.opportunityId, $ctrl.templateId, $ctrl.content, $ctrl.replMakeId).then(setTemplateEmailContent);\n }\n\n function setTemplateEmailContent(content) {\n $ctrl.templateEmailContent = $sce.trustAsHtml(content);\n $ctrl.emailContentPromise = null;\n return true;\n }\n}","\n/* injects from baggage-loader */\nrequire('./auto-assigned-access.component.html');\n\nimport angular from 'angular';\r\n\r\n\r\nangular.module('AaApp.Opp').component('autoAssignedAccess', {\r\n templateUrl: '/app/components/deal-sheet/auto-assigned-access.component.html',\r\n controller: AutoAssignedAccessController,\r\n bindings: {\r\n autoAssignAccessInfo:'<',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction AutoAssignedAccessController() {\r\n var $ctrl = this;\r\n $ctrl.newLineSeparator = \"\\n\";\r\n $ctrl.dateSeparator = \": \";\r\n}","\n/* injects from baggage-loader */\nrequire('./email-info-edit.component.html');\n\nimport angular from 'angular';\r\n\r\n\r\n angular.module('AaApp.Opp').component('emailInfoEdit', {\r\n templateUrl: '/app/components/deal-sheet/email-info-edit.component.html',\r\n controller: SendTestEmailController,\r\n bindings: {\r\n userSubject: '<',\r\n emailFrom :'<',\r\n emailTo:'<',\r\n emailReplyTo:'<',\r\n isTest:'<',\r\n customerName:'<',\r\n userName:'<',\r\n onCloseCallback: '&',\r\n onEdit:'&'\r\n }\r\n });\r\n\r\n /* @ngInject */\r\n function SendTestEmailController() {\r\n var $ctrl = this;\r\n $ctrl.userEmailTo = \"\";\r\n $ctrl.onTestEmailEdit = onTestEmailEdit;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n if (!$ctrl.isTest && $ctrl.userSubject != '') {\r\n $ctrl.onEdit({ $value: true });\r\n }\r\n }\r\n\r\n function onTestEmailEdit(isEmailValid) {\r\n var finalEmailToAddress = \"\";\r\n\r\n if ($ctrl.userSubject == ''){\r\n $ctrl.onEdit({ $value: false });\r\n return;\r\n }\r\n\r\n if ($ctrl.isTest) {\r\n // if test email then validate input\r\n if ($ctrl.userEmailTo == ''){\r\n $ctrl.onEdit({ $value: false });\r\n return;\r\n }\r\n\r\n if (!isEmailValid){\r\n $ctrl.onEdit({ $value: false });\r\n return;\r\n }\r\n\r\n finalEmailToAddress = $ctrl.userEmailTo; // user changed address\r\n }\r\n else\r\n {\r\n finalEmailToAddress = $ctrl.emailTo; // the default\r\n }\r\n\r\n // model to save\r\n var userChanges = { subject: $ctrl.userSubject, emailTo: finalEmailToAddress} ;\r\n //fire event with user changes\r\n $ctrl.onEdit({ $value: true });\r\n $ctrl.onCloseCallback({ $result: userChanges });\r\n\r\n\r\n }\r\n\r\n }\r\n","\n/* injects from baggage-loader */\nrequire('./email-info-edit-modal.component.html');\n\nimport angular from 'angular';\r\n(function () {\r\n angular.module('AaApp.Opp').component('emailInfoEditModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/email-info-edit-modal.component.html',\r\n controller: SendTestEmailModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n });\r\n\r\n /* ngInject */\r\n function SendTestEmailModalController() {\r\n var $ctrl = this;\r\n\r\n }\r\n})();","viewEmailConversationModalController.$inject = [\"$timeout\"];\n\n/* injects from baggage-loader */\nrequire('./view-email-conversation-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('viewEmailConversationModal', {\n templateUrl: '/app/components/deal-sheet/modals/view-email-conversation-modal.component.html',\n controller: viewEmailConversationModalController,\n bindings: {\n close: '&',\n resolve: '<',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction viewEmailConversationModalController($timeout) {\n var $ctrl = this;\n}","ViewEmailConversationActionController.$inject = [\"$q\", \"activityService\"];\n\n/* injects from baggage-loader */\nrequire('./view-email-conversation-action.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('viewEmailConversationAction', {\n templateUrl: '/app/components/deal-sheet/view-email-conversation-action.component.html',\n controller: ViewEmailConversationActionController,\n bindings: {\n emailConversationItemId: '<'\n }\n});\n/* @ngInject */\n\nfunction ViewEmailConversationActionController($q, activityService) {\n var $ctrl = this;\n}","\n/* injects from baggage-loader */\nrequire('./view-customer-email-sent-modal.component.html');\n\nimport angular from 'angular';\r\n(function () {\r\n angular.module('AaApp.Opp').component('viewCustomerEmailSentModal', {\r\n templateUrl: '/app/components/deal-sheet/modals/view-customer-email-sent-modal.component.html',\r\n controller: ViewCustomerEmailSentModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n });\r\n\r\n /* ngInject */\r\n function ViewCustomerEmailSentModalController() {\r\n var $ctrl = this;\r\n\r\n }\r\n})();","\n/* injects from baggage-loader */\nrequire('./opportunity-block-horizontal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('opportunityBlockHorizontal', {\r\n templateUrl: '/app/components/opportunities/opportunity-block-horizontal.component.html',\r\n controller: opportunityBlockHorizontalController,\r\n bindings: {\r\n markSelectedAlerts: '<',\r\n alertName: '@',\r\n cssClass: '@',\r\n onClick: '&',\r\n translateKey: '@'\r\n }\r\n});\r\n\r\n\r\n/* @ngInject */\r\nfunction opportunityBlockHorizontalController() {\r\n var $ctrl = this; \r\n\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.onAlertSelect = onAlertSelect;\r\n $ctrl.selected = false;\r\n\r\n function $onChanges(changes){\r\n if (changes.markSelectedAlerts && changes.markSelectedAlerts.currentValue){\r\n \r\n if ($ctrl.markSelectedAlerts.length > 0) \r\n {\r\n if ($ctrl.markSelectedAlerts.indexOf($ctrl.alertName) > -1)\r\n $ctrl.selected = true;\r\n else\r\n $ctrl.selected = false;\r\n }\r\n else\r\n $ctrl.selected = false;\r\n\r\n }\r\n }\r\n\r\n\r\n function onAlertSelect(alert) {\r\n $ctrl.onClick({result: alert});\r\n }\r\n\r\n function $onInit() {\r\n $ctrl.selected = false;\r\n }\r\n}","import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\neuroLiteGridLayoutSelectorModalController.$inject = [\"$translate\", \"euroOpportunityGridLayout\"];\n\n/* injects from baggage-loader */\nrequire('./euro-lite-grid-layout-selector-modal.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nangular.module('AaApp.Opp').component('euroLiteGridLayoutSelectorModal', {\n templateUrl: '/app/components/opportunities/modals/euro-lite-grid-layout-selector-modal.component.html',\n controller: euroLiteGridLayoutSelectorModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&',\n checkColumnSelectionLimit: '&'\n }\n});\n/* @ngInject */\n\nfunction euroLiteGridLayoutSelectorModalController($translate, euroOpportunityGridLayout) {\n var $ctrl = this;\n $ctrl.$onInit = onInit;\n $ctrl.checkColumnSelectionLimit = checkColumnSelectionLimit;\n $ctrl.showLimitMsg = null;\n $ctrl.gridColumns = {};\n\n function checkColumnSelectionLimit() {\n var count = 0;\n $ctrl.gridColumns.forEach(function (ele) {\n ele.fields.forEach(function (item) {\n if (item.selectable && item.isChecked) count++;\n });\n });\n\n if (count < 12) {\n $ctrl.showLimitMsg = null;\n $ctrl.close({\n $value: $ctrl.gridColumns\n });\n } else {\n $translate('maxNumberOfColumnsAllowedis').then(function (successMessage) {\n $ctrl.showLimitMsg = successMessage + ' 11';\n });\n }\n }\n\n function onInit() {\n var gridColumns = _.cloneDeep(euroOpportunityGridLayout);\n\n var currentColumns = $ctrl.resolve.currentGridColumns;\n gridColumns.forEach(function (ele) {\n ele.fields.forEach(function (item) {\n item.isChecked = currentColumns.indexOf(item.name) > -1 ? true : false;\n });\n });\n $ctrl.gridColumns = gridColumns;\n }\n}","EditContactController.$inject = [\"_\", \"$translate\", \"contactTypes\", \"doNotCallStatusTypes\"];\n\n/* injects from baggage-loader */\nrequire('./edit-contact.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('editContact', {\n templateUrl: '/app/components/edit-contact.component.html',\n controller: EditContactController,\n bindings: {\n contact: '<',\n dealerSettings: '<',\n onChange: '&'\n }\n});\n/* @ngInject */\n\nfunction EditContactController(_, $translate, contactTypes, doNotCallStatusTypes) {\n var $ctrl = this;\n $ctrl.update = update;\n $ctrl.markAsBadChanged = markAsBadChanged;\n $ctrl.markAsPreferred = markAsPreferred;\n $ctrl.isPhoneNumber = isPhoneNumber;\n $ctrl.isEmailAddress = isEmailAddress;\n $ctrl.$onChanges = onChanges;\n $ctrl.doNotCallStatusTypes = doNotCallStatusTypes;\n $ctrl.doNotCallStatusTranslateKeys = {};\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.notProcessed] = 'ndncNotProcessed';\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.invalidNumber] = 'ndncInvalidNumber';\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.notSubscribed] = 'ndncNotSubscribed';\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.onDoNotCallList] = 'ndncOnDoNotCallList';\n $ctrl.doNotCallStatusTranslateKeys[doNotCallStatusTypes.offDoNotCallList] = 'ndncOffDoNotCallList';\n $ctrl.doNotCallStatusAbbrevTranslateKeys = {};\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.notProcessed] = 'ndncNotProcessedAbbrev';\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.invalidNumber] = 'ndncInvalidNumberAbbrev';\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.notSubscribed] = 'ndncNotSubscribedAbbrev';\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.onDoNotCallList] = 'ndncOnDoNotCallListAbbrev';\n $ctrl.doNotCallStatusAbbrevTranslateKeys[doNotCallStatusTypes.offDoNotCallList] = 'ndncOffDoNotCallListAbbrev';\n\n function onChanges(changes) {\n if (changes.contact && changes.contact.currentValue) {\n $ctrl.displayValue = $ctrl.contact.value;\n }\n }\n\n function isPhoneNumber() {\n return $ctrl.contact && ($ctrl.contact.contactType == contactTypes.homePhone || $ctrl.contact.contactType == contactTypes.workPhone || $ctrl.contact.contactType == contactTypes.cellPhone);\n }\n\n function isEmailAddress() {\n return $ctrl.contact && $ctrl.contact.contactType == contactTypes.email;\n }\n\n function update() {\n var newContact = _.extend({}, $ctrl.contact, {\n value: $ctrl.displayValue\n });\n\n sendOnChange(newContact);\n }\n\n function markAsBadChanged() {\n var value = $ctrl.contact.isBad;\n\n var newContact = _.extend({}, $ctrl.contact, {\n isBad: value\n });\n\n sendOnChange(newContact);\n }\n\n function markAsPreferred() {\n var newContact = _.extend({}, $ctrl.contact, {\n isPreferred: true\n });\n\n sendOnChange(newContact);\n }\n\n function sendOnChange(newContact) {\n // Same schema as Angular's $onChanges\n var change = {\n previousValue: $ctrl.contact,\n currentValue: newContact\n };\n $ctrl.onChange({\n change: change\n });\n }\n}","import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nErrorUnauthorizedController.$inject = [\"_\", \"$q\", \"$stateParams\", \"$translate\", \"$translatePartialLoader\", \"storageService\", \"localePaths\", \"logger\", \"translateErrorKeys\", \"warningTitleKey\"];\n\n/* injects from baggage-loader */\nrequire('./unauthorized.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('errorUnauthorized', {\n templateUrl: '/app/components/error/unauthorized.component.html',\n controller: ErrorUnauthorizedController,\n bindings: {\n reason: '<'\n }\n});\n/* @ngInject */\n\nfunction ErrorUnauthorizedController(_, $q, $stateParams, $translate, $translatePartialLoader, storageService, localePaths, logger, translateErrorKeys, warningTitleKey) {\n var $ctrl = this;\n $translatePartialLoader.addPart(localePaths.error);\n var cultureName = storageService.getItem('cultureName') || $translate.use();\n $translate.use(cultureName).then(resolveErrorTranslations);\n\n function resolveErrorTranslations() {\n var translateObject = {\n title: translateErrorKeys.generalErrorTitleKey,\n reason: translateErrorKeys.unauthorizedAppErrorKey\n };\n\n if ($stateParams && $stateParams.errorState) {\n switch ($stateParams.errorState) {\n case 'disabled':\n translateObject.reason = translateErrorKeys.unauthorizedDisabledUserKey;\n break;\n\n case 'locked':\n translateObject.reason = translateErrorKeys.unauthorizedLockedUserKey;\n break;\n\n case 'invalidIPAddress':\n translateObject.reason = translateErrorKeys.invalidIPAddress;\n break;\n\n case 'noUserProfile':\n translateObject.reason = translateErrorKeys.unauthorizedNoUserProfileKey;\n break;\n\n case 'marketingSplash':\n // if EULA is declined or if we need to redirect user to marketing splash\n return;\n\n default:\n break;\n }\n }\n\n var translateArray = _.values(translateObject);\n\n $translate(translateArray).then(resolveTranslations(translateObject));\n }\n\n function resolveTranslations(translateObject) {\n return function showWarningMessage(translations) {\n logger.warning(translations[translateObject.reason], null, translations[translateObject.title]);\n };\n }\n}","\n/* injects from baggage-loader */\nrequire('./header-wrapper.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\nimport { RejectType } from '@uirouter/core';\r\nimport { resizeHeader, showAutoAlertiFrame } from '../scripts/init';\r\nimport { loggedIn$, externalLoggedIn$ } from '../modules/oidc-auth/events'\r\n\r\nimport defaultLogoPath from '../images/autoalert-logo.png';\r\nimport fordLogoPath from '../images/autoalert-logo-ford.png';\r\nimport lincolnLogoPath from '../images/autoalert-logo-lincoln.png';\r\nimport { ProductTypes as productTypes } from '../constants';\r\nimport fordCanadaLogoPath from '../images/autoalert-logo-ford-canada.png';\r\nimport lincolnCanadaLogoPath from '../images/autoalert-logo-lincoln-canada.png';\r\n\r\nangular.module('AaApp.Opp').component('headerWrapper', {\r\n templateUrl: '/app/components/header-wrapper.component.html',\r\n controller: HeaderWrapperController\r\n});\r\n\r\n/* @ngInject */\r\nfunction HeaderWrapperController(\r\n // AngularJS stuff\r\n $route, $auth, $location, $window, $rootScope, $scope, $state, $translate,\r\n $translatePartialLoader, $transitions,\r\n\r\n // Configuration\r\n authorizationKeys, environmentVariables, headerLocalizationPath,\r\n localePaths, logger, menu, modules, dealerCountries,\r\n\r\n // Services\r\n authorizationService, crossDomainStorageService, dealSheetService,\r\n dealerService, globalIframeService, legacyService, menuService, storageService, tokenService,\r\n userService, vehicleService\r\n\r\n) {\r\n var $ctrl = this;\r\n\r\n $ctrl.state = $state;\r\n $ctrl.hasInventoryAccess = false;\r\n $ctrl.isEuroLite = false;\r\n $ctrl.isHeaderVisible = false;\r\n $ctrl.isAuthenticated = false;\r\n $ctrl.dealerListDisabled = false;\r\n $ctrl.onDealersChanged = onDealersChanged;\r\n $ctrl.onCustomerEngagementClicked = onCustomerEngagementClicked;\r\n $ctrl.logoPath;\r\n $ctrl.version = environmentVariables.version;\r\n\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.$onDestroy = $onDestroy;\r\n $ctrl.showSubmenu;\r\n $ctrl.productTypes = productTypes;\r\n\r\n $ctrl.userProfileMenuItems = getFilteredUserMenu();\r\n\r\n externalLoggedIn$.subscribe(e => {\r\n $onInit();\r\n });\r\n\r\n loggedIn$.subscribe(e => {\r\n $onInit();\r\n })\r\n\r\n $transitions.onEnter({}, function (transition) {\r\n disableDealerList(transition.to().name);\r\n });\r\n\r\n function disableDealerList(stateName) {\r\n var isDealSheetPage = stateName.toLowerCase().indexOf('dealsheet') > -1;\r\n $ctrl.dealerListDisabled = isDealSheetPage;\r\n }\r\n\r\n function onCustomerEngagementClicked(engagement) {\r\n dealSheetService.openDealSheetModal(engagement.opportunityId);\r\n }\r\n\r\n function onDealersChanged(dealerGroupId, dealerIds, dealers, dealerDisplayText) {\r\n dealerService.updateSelectedDealers(dealers, dealerGroupId, dealerDisplayText);\r\n\r\n // Don't display the \"dealer changed\" message in this window.\r\n try {\r\n $ctrl.selectedDealerIdsSubscription.unsubscribe();\r\n } catch (e) {\r\n logger.debug(e)\r\n }\r\n\r\n // The page will refresh upon receipt of the message Legacy sends\r\n // in response to this call.\r\n legacyService.sendChangeDealerMessageToIframe(dealerIds);\r\n }\r\n\r\n $ctrl.isProcessingAuthCallback = ($location.path().indexOf('/auth/callback') > -1);\r\n if ($ctrl.isProcessingAuthCallback)\r\n return;\r\n\r\n function $onInit() {\r\n $ctrl.disposeSiteMapLoaded = $rootScope.$on('RUN_USER_INIT.SITE_MAP_READY', function onSiteMapLoaded() {\r\n $ctrl.hasInventoryAccess = authorizationService.isAuthorized(authorizationKeys.Inventory);\r\n\r\n updateSelectedDealers();\r\n\r\n $ctrl.isEuroLite = authorizationService.isEuroLite();\r\n // Start this call immediately in case we need it\r\n const availableMakesPromise = vehicleService.getMakes($ctrl.dealerIds || [], null);\r\n userService.getUserProfile().then(function getUserProfileComplete(userProfile) {\r\n\r\n getLogoPath(userProfile.dealerModules, availableMakesPromise, userProfile.countryId)\r\n .then(logoPath => $ctrl.logoPath = logoPath)\r\n\r\n $ctrl.userProfile = userProfile;\r\n $ctrl.isEulaAccepted = (userProfile.eulaAcceptedDate != null);\r\n\r\n var dealerIDs = dealerService.getSelectedDealerIds();\r\n if (Array.isArray(dealerIDs) && dealerIDs.length)\r\n dealerService.getDealerSettings(dealerIDs[0])\r\n .then(function (settings) {\r\n $ctrl.productId = settings.productID;\r\n $ctrl.userProfileMenuItems = getFilteredUserMenu($ctrl.isAuthenticated, $ctrl.userProfile);\r\n });\r\n\r\n\r\n $translatePartialLoader.addPart(headerLocalizationPath);\r\n $translatePartialLoader.addPart(localePaths.general);\r\n\r\n resizeHeader($state.$current, globalIframeService);\r\n $rootScope.$broadcast('RUN_USER_INIT.REPOSITION_UI_VIEW');\r\n\r\n if (userProfile.walkmeSegments && userProfile.walkmeSegments.length > 0) {\r\n window.AA_WalkMe_Segments = {};\r\n userProfile.walkmeSegments.forEach((segment) => {\r\n window.AA_WalkMe_Segments[segment.SegmentId] = segment.SegmentValue;\r\n });\r\n }\r\n\r\n $ctrl.isCoreReady = true;\r\n $ctrl.menu = menu;\r\n });\r\n });\r\n\r\n $transitions.onSuccess({}, function (transition) {\r\n setSelectedTab();\r\n $ctrl.userProfileMenuItems = getFilteredUserMenu($ctrl.isAuthenticated, $ctrl.userProfile);\r\n });\r\n\r\n $ctrl.IsVisible = true;\r\n $ctrl.recentDealSheetsVisible = false;\r\n $ctrl.menu = menu;\r\n $ctrl.isReportTabEnabled = false;\r\n setSelectedTab();\r\n $ctrl.searchPresetsVisible = false;\r\n var isPublicState = $state.current.access == 'public'; // always false at this point in the cycle\r\n $ctrl.isAuthenticated = $auth.isAuthenticated();\r\n $ctrl.userProfileMenuItems = getFilteredUserMenu($ctrl.isAuthenticated, $ctrl.userProfile);\r\n\r\n $ctrl.isHeaderVisible = (isPublicState || $ctrl.isAuthenticated) && $ctrl.IsVisible == true;\r\n $ctrl.isEulaAccepted = false;\r\n\r\n const url = $location.url();\r\n const hiddenHeaderUrls = [\"auto-check\", \"car-fax\", \"carfax-authorize\", \"cfcallback\", \"car-proof\", \"template-email-preview\", \"mobile/deal-sheet\"]\r\n for (const urlPortion of hiddenHeaderUrls) {\r\n if (url.includes(urlPortion)) {\r\n $ctrl.isHeaderVisible = false;\r\n break;\r\n }\r\n }\r\n\r\n if (!$ctrl.isHeaderVisible)\r\n $ctrl.logoPath = defaultLogoPath;\r\n\r\n disableDealerList($state.$current.name);\r\n\r\n $ctrl.selectedDealerIdsSubscription = crossDomainStorageService.onchange('selectedDealers', function () {\r\n updateSelectedDealers();\r\n })\r\n\r\n if (url.includes(\"/email/\") && url.includes(\"code=\")) {// for Customer Unsubscribe and View In Browser sent emails\r\n $ctrl.isHeaderVisible = false;\r\n }\r\n\r\n function setSelectedTab() {\r\n $ctrl.selectedTab = $state.includes('reportsContainer') ? 'reports' : 'opportunities';\r\n if ($ctrl.selectedTab == 'reports') {\r\n $ctrl.showSubmenu = false;\r\n } else {\r\n $ctrl.showSubmenu = true;\r\n }\r\n }\r\n\r\n // check if slt user and page is conquests\r\n if ($location.url().indexOf(\"conquests\") > -1 && storageService.getItem('userProfile').isSltUser)\r\n $ctrl.isQuickSearchVisible = false\r\n else\r\n $ctrl.isQuickSearchVisible = true;\r\n }\r\n\r\n function $onDestroy() {\r\n $ctrl.disposeSiteMapLoaded();\r\n if ($ctrl.selectedDealerIdsSubscription) {\r\n $ctrl.selectedDealerIdsSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n function updateSelectedDealers() {\r\n $ctrl.dealerGroupId = dealerService.getSelectedDealerGroupId();\r\n $ctrl.dealerIds = dealerService.getSelectedDealerIds();\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n $ctrl.dealerDisplayText = dealerService.getDealerDisplayText();\r\n }\r\n\r\n function getFilteredUserMenu(isAuthenticated, userProfile) {\r\n var allItems = [\r\n {\r\n type: $state.current.name != 'userProfile' ? 'SREF' : '',\r\n translate: 'myProfile',\r\n sref: 'userProfile',\r\n },\r\n {\r\n type: 'SEPARATOR',\r\n }\r\n ];\r\n\r\n if (isAuthenticated != undefined && !isAuthenticated) {\r\n allItems.push({\r\n type: 'HREF',\r\n translate: 'login',\r\n icon: 'aa-icon-login',\r\n href: '#',\r\n action: function () {\r\n legacyService.sendLogOutMessage();\r\n $auth.signIn();\r\n },\r\n });\r\n }\r\n else {\r\n allItems.push({\r\n type: 'HREF',\r\n translate: 'logout',\r\n icon: 'aa-icon-logout',\r\n href: '#',\r\n action: function () {\r\n $auth.signOut();\r\n },\r\n });\r\n }\r\n\r\n if ($ctrl.productId && $ctrl.productId == productTypes.euroLite) {\r\n allItems = _.filter(allItems, function (item) { return item.translate != 'requestCallBack' });\r\n }\r\n\r\n if (isAuthenticated && userProfile && userProfile.userFullName) {\r\n return allItems;\r\n } else {\r\n // Remove My Profile\r\n return allItems.slice(1);\r\n }\r\n }\r\n\r\n function getLogoPath(moduleIds, availableMakesPromise, countryId) {\r\n\r\n if (!moduleIds || moduleIds.length === 0) {\r\n return Promise.resolve(defaultLogoPath);\r\n }\r\n\r\n const hasFordAlertModule = moduleIds.some(o => o.moduleID === modules.fordAlert);\r\n if (!hasFordAlertModule) {\r\n return Promise.resolve(defaultLogoPath);\r\n }\r\n\r\n return availableMakesPromise.then(availableMakes => {\r\n // A dealer is a \"Lincoln-only\" dealer if they:\r\n // 1. Have the FordAlert module\r\n // 2. Have Lincoln as a DealerMake\r\n // 3. Do NOT have Ford as a DealerMake\r\n const fordMakeIds = environmentVariables.fordMakeIds || [];\r\n const lincolnMakeIds = environmentVariables.lincolnMakeIds || [];\r\n\r\n const isLincolnDealer = availableMakes.some(m => lincolnMakeIds.includes(m.makeID));\r\n const isFordDealer = availableMakes.some(m => fordMakeIds.includes(m.makeID));\r\n\r\n var fordlogo = fordLogoPath;\r\n var lincolnlogo = lincolnLogoPath;\r\n\r\n // if canada then update logo images\r\n if (countryId == dealerCountries.canada) {\r\n fordlogo = fordCanadaLogoPath;\r\n lincolnlogo = lincolnCanadaLogoPath;\r\n }\r\n\r\n return (isLincolnDealer && !isFordDealer)\r\n ? lincolnlogo\r\n : fordlogo;\r\n })\r\n }\r\n\r\n $scope.$watch('$ctrl.isCoreReady', function () {\r\n let cultureName = storageService.getItem('cultureName');\r\n if (cultureName) {\r\n $translate.use(cultureName);\r\n }\r\n });\r\n\r\n globalIframeService.subscribe(function ({ data }, replyPort) {\r\n if (data['AUTOALERT_IFRAME_LOADED']) { // AA is ready show iframe\r\n $ctrl.IsVisible = true;\r\n $ctrl.isHeaderVisible = true;\r\n\r\n //todo: iframe code ---- remove when iframe is gone!\r\n showAutoAlertiFrame($state.$current);\r\n resizeHeader($state.$current, replyPort);\r\n }\r\n else if (data['EULA_ACCEPT']) {\r\n $ctrl.isEulaAccepted = true;\r\n storageService.setItem('userProfile', null);\r\n userService.getUserProfile().then(function (userProfile) {\r\n // no need to update profile since we have already set $ctrl.isEulaAccepted to true;\r\n // we need to call this so next time user logs in he gets data from updated DB not the cache.\r\n });\r\n }\r\n else if (data['EULA_DECLINE']) {\r\n $ctrl.isEulaAccepted = false;\r\n $state.go('errorUnauthorized', { errorState: 'marketingSplash' });\r\n }\r\n else if (data['PROFILE_UPDATED']) {\r\n storageService.setItem('userProfile', null);\r\n // getUserProfile(true) means force reload from the server\r\n userService.getUserProfile(true).then(function (profile) {\r\n if (profile)\r\n if ($ctrl.userProfile)\r\n $ctrl.userProfile.userFullName = profile.userFullName;\r\n });\r\n }\r\n });\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./quick-search.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('quickSearch', {\r\n templateUrl: '/app/components/header/quick-search.component.html',\r\n controller: QuickSearchController,\r\n bindings: {\r\n searchPresetsVisible: '='\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction QuickSearchController($state, $translate, $transitions, toaster, warningTitleKey, quickSearchWarningKey,\r\n quickSearchInvalidCharacterWarningKey) {\r\n var $ctrl = this;\r\n\r\n $ctrl.searchText;\r\n $ctrl.isSltUser;\r\n $ctrl.placeholder;\r\n $ctrl.searchOnKeyPress = searchOnKeyPress;\r\n $ctrl.searchOnButtonClick = searchOnButtonClick;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $transitions.onBefore({from: 'quickSearch'}, function (transition) {\r\n if (transition.to().name != 'quickSearch') {\r\n $ctrl.searchText = '';\r\n }\r\n });\r\n }\r\n\r\n function searchOnKeyPress(event) {\r\n if (event.which === 13) {\r\n trySearch();\r\n }\r\n }\r\n\r\n function searchOnButtonClick() {\r\n trySearch();\r\n }\r\n\r\n function trySearch() {\r\n if ($ctrl.toast) {\r\n toaster.clear($ctrl.toast);\r\n }\r\n\r\n if ($state.params.searchText == $ctrl.searchText) {\r\n $state.reload();\r\n }\r\n else {\r\n if ($ctrl.searchText && /[&#]/.test($ctrl.searchText)) {\r\n $translate([warningTitleKey, quickSearchInvalidCharacterWarningKey]).then(showWarningMessageInvalidCharacter);\r\n }\r\n else if ($ctrl.searchText && $ctrl.searchText.length >= 3) {\r\n search();\r\n } else {\r\n $translate([warningTitleKey, quickSearchWarningKey]).then(showWarningMessage);\r\n }\r\n }\r\n }\r\n\r\n function showWarningMessageInvalidCharacter(translations){\r\n $ctrl.toast = toaster.pop('warning', translations.warningTitle, translations.quickSearchInvalidCharacterWarning);\r\n }\r\n\r\n function showWarningMessage(translations) {\r\n $ctrl.toast = toaster.pop('warning', translations.warningTitle, translations.quickSearchWarning);\r\n }\r\n\r\n function search() {\r\n $state.go('quickSearch', { searchText: $ctrl.searchText });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./sub-menu.component.html');\n\nimport angular from 'angular';\r\nimport { resizeHeader } from '../../scripts/init';\r\n\r\nangular.module('AaApp.Opp').component('subMenu', {\r\n templateUrl: '/app/components/header/sub-menu.component.html',\r\n controller: SubMenuController,\r\n bindings: {\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction SubMenuController($rootScope, $state, $translatePartialLoader, $transitions, subMenuUnauthorized, globalIframeService, menuService, subMenuLocalizationPath, dealerService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.currentState;\r\n $ctrl.isActiveMenuItem = isActiveMenuItem;\r\n $ctrl.$onDestroy = $onDestroy;\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.removeClick = removeClick;\r\n $ctrl.navToMenuItem = navToMenuItem;\r\n $ctrl.showHideSubnav;\r\n\r\n $translatePartialLoader.addPart(subMenuLocalizationPath);\r\n\r\n function $onDestroy() {\r\n $ctrl.dispose();\r\n }\r\n\r\n function $onInit() {\r\n $ctrl.siteMap = subMenuUnauthorized;\r\n $ctrl.dispose = $rootScope.$on('RUN_USER_INIT.SITE_MAP_READY', function siteMapReady(userProfile) {\r\n var dealerIds = dealerService.getSelectedDealerIds();\r\n menuService.getSiteMap(dealerIds).then(setSiteMap);\r\n });\r\n\r\n $transitions.onSuccess({}, function (transition) {\r\n $ctrl.currentState = transition.to();\r\n });\r\n }\r\n\r\n function setSiteMap(siteMap) {\r\n $ctrl.siteMap = siteMap;\r\n resizeHeader($state.$current, globalIframeService);\r\n $rootScope.$broadcast('RUN_USER_INIT.REPOSITION_UI_VIEW');\r\n }\r\n\r\n function removeClick(e) {\r\n var removeCurrentTarget = document.getElementsByClassName(\"clicked\");\r\n var wrappedResult = angular.element(removeCurrentTarget);\r\n wrappedResult.removeClass(\"clicked\");\r\n }\r\n\r\n function navToMenuItem(location, event) {\r\n if (location == '#') {\r\n return;\r\n } else {\r\n var currentTarget = angular.element(event.target).parent().parent();\r\n\r\n if (currentTarget.hasClass('dropdown-menu')) {\r\n currentTarget.addClass(\"clicked\");\r\n } else {\r\n var dropDownElement = document.getElementsByClassName(\"dropdown-menu\");\r\n var wrappeddropDownElement = angular.element(dropDownElement);\r\n wrappeddropDownElement.addClass(\"clicked\");\r\n }\r\n }\r\n }\r\n\r\n function isActiveMenuItem(menuItem) {\r\n if ($ctrl.currentState) {\r\n if (menuItem.baseUrl == 'reports') {\r\n return $ctrl.currentState.url.startsWith('/' + menuItem.baseUrl + '/');\r\n }\r\n else {\r\n return $state.includes(menuItem.id) // matches states like \"dataEntry.prices\"\r\n || $ctrl.currentState.url.startsWith('/' + menuItem.baseUrl); // matches states like \"rates\" that don't have a parent state\r\n }\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./dealer-dropdown.component.html');\n\nimport angular from 'angular';\r\nimport './dealer-dropdown.component.scss';\r\n\r\n\r\nangular.module('AaApp.Opp').component('dealerDropdown', {\r\n templateUrl: '/app/components/dealer-dropdown.component.html',\r\n controller: DealerDropdownController,\r\n bindings: {\r\n selectedDealerId: '<',\r\n changeEvent: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DealerDropdownController(dealerService, storageService) {\r\n const $ctrl = this;\r\n $ctrl.$onInit = $onInit;\r\n\r\n $ctrl.selectedDealerId = null;\r\n $ctrl.dealers = [];\r\n $ctrl.changeEventWrapper = changeEventWrapper;\r\n\r\n function $onInit() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n }\r\n\r\n function changeEventWrapper() {\r\n storageService.setItem('selectedDealerId', $ctrl.selectedDealerId);\r\n $ctrl.changeEvent({ dealerId: $ctrl.selectedDealerId });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./email-unsubscribe.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('emailUnsubscribe', {\r\n templateUrl: '/app/components/email-unsubscribe.component.html',\r\n controller: EmailUnsubscribeController,\r\n bindings: {\r\n templateEmailId: '<',\r\n accessCode: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction EmailUnsubscribeController(templateService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.unsubscribe = unsubscribe;\r\n\r\n function init() {\r\n $ctrl.emailContentPromise = templateService.getEmailSubscription($ctrl.templateEmailId, $ctrl.accessCode) \r\n .then(setEmailSubscription);\r\n }\r\n\r\n function setEmailSubscription(emailSubscription) {\r\n $ctrl.emailSubscription = emailSubscription;\r\n $ctrl.emailContentPromise = null;\r\n }\r\n\r\n function unsubscribe() {\r\n $ctrl.emailContentPromise = templateService.disableEmailSubscription($ctrl.templateEmailId, $ctrl.accessCode)\r\n .then(() => {\r\n $ctrl.emailSubscription.doNotEmail = true; \r\n $ctrl.emailContentPromise = null;\r\n });\r\n }\r\n}","/* global window document */\nimport $ from 'jquery'\n\r\nif (!RedactorPlugins) var RedactorPlugins = {};\r\n\r\nwindow.RedactorPlugins.layout = {\r\n init: function () {\r\n var buttonName = 'layout';\r\n var dropdown = {};\r\n dropdown.insert_column_1 = { title: \"1 Column\", func: 'layoutButtonClick' };\r\n dropdown.insert_column_2 = { title: \"2 Columns\", func: 'layoutButtonClick' };\r\n dropdown.insert_column_3 = { title: \"3 Columns\", func: 'layoutButtonClick' };\r\n dropdown.separator_drop2 = { name: 'separator' };\r\n dropdown.delete_layout = { title: \"Delete Layout\", func: 'layoutDelete' };\r\n var mybutton = this.buttonAdd(buttonName, 'Layout', null, dropdown);\r\n this.buttonTagToActiveState(buttonName, 'table.redactor-layout-table')\r\n \r\n this.$editor.on('mouseup.redactor-plugin-layout keyup.redactor-plugin-layout', $.proxy(function () {\r\n var btn = this.buttonGet(buttonName);\r\n if (btn.hasClass('redactor_act')) {\r\n this.buttonInactive('table');\r\n }\r\n }, this)); \r\n },\r\n layoutButtonClick: function (buttonName) {\r\n var columnCount = parseInt(buttonName.charAt(buttonName.length - 1));\r\n this.selectionSave();\r\n this.layoutInsert(columnCount);\r\n },\r\n layoutInsert: function (columnCount) {\r\n this.bufferSet(false);\r\n var invisibileSpace = '​';\r\n var width = Math.ceil(628.00 / columnCount);\r\n var className = \"col-\" + columnCount\r\n var tableId = parseInt(Math.floor(Math.random() * 99999));\r\n var table = '';\r\n for (var col = 0; col < columnCount; col++) {\r\n table += '';\r\n }\r\n table += '
' + this.opts.invisibleSpace + '
';\r\n this.selectionRestore();\r\n this.insertHtmlAdvanced(table, true);\r\n this.selectionRestore();\r\n },\r\n layoutDelete: function () { \n var $table = $(this.getParent()).closest('table.redactor-layout-table');\n if (!this.isParentRedactor($table)) return false;\n if ($table.length == 0) return false;\n\n this.bufferSet();\n\n $table.remove();\n this.sync();\r\n }\r\n};","import \"core-js/modules/es6.promise\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.function.name\";\nHeaderWrapperController.$inject = [\"$route\", \"$auth\", \"$location\", \"$window\", \"$rootScope\", \"$scope\", \"$state\", \"$translate\", \"$translatePartialLoader\", \"$transitions\", \"authorizationKeys\", \"environmentVariables\", \"headerLocalizationPath\", \"localePaths\", \"logger\", \"menu\", \"modules\", \"dealerCountries\", \"authorizationService\", \"crossDomainStorageService\", \"dealSheetService\", \"dealerService\", \"globalIframeService\", \"legacyService\", \"menuService\", \"storageService\", \"tokenService\", \"userService\", \"vehicleService\"];\n\n/* injects from baggage-loader */\nrequire('./header-wrapper.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nimport { RejectType } from '@uirouter/core';\nimport { resizeHeader, showAutoAlertiFrame } from '../scripts/init';\nimport { loggedIn$, externalLoggedIn$ } from '../modules/oidc-auth/events';\nimport defaultLogoPath from '../images/autoalert-logo.png';\nimport fordLogoPath from '../images/autoalert-logo-ford.png';\nimport lincolnLogoPath from '../images/autoalert-logo-lincoln.png';\nimport { ProductTypes as productTypes } from '../constants';\nimport fordCanadaLogoPath from '../images/autoalert-logo-ford-canada.png';\nimport lincolnCanadaLogoPath from '../images/autoalert-logo-lincoln-canada.png';\nangular.module('AaApp.Opp').component('headerWrapper', {\n templateUrl: '/app/components/header-wrapper.component.html',\n controller: HeaderWrapperController\n});\n/* @ngInject */\n\nfunction HeaderWrapperController( // AngularJS stuff\n$route, $auth, $location, $window, $rootScope, $scope, $state, $translate, $translatePartialLoader, $transitions, // Configuration\nauthorizationKeys, environmentVariables, headerLocalizationPath, localePaths, logger, menu, modules, dealerCountries, // Services\nauthorizationService, crossDomainStorageService, dealSheetService, dealerService, globalIframeService, legacyService, menuService, storageService, tokenService, userService, vehicleService) {\n var $ctrl = this;\n $ctrl.state = $state;\n $ctrl.hasInventoryAccess = false;\n $ctrl.isEuroLite = false;\n $ctrl.isHeaderVisible = false;\n $ctrl.isAuthenticated = false;\n $ctrl.dealerListDisabled = false;\n $ctrl.onDealersChanged = onDealersChanged;\n $ctrl.onCustomerEngagementClicked = onCustomerEngagementClicked;\n $ctrl.logoPath;\n $ctrl.version = environmentVariables.version;\n $ctrl.$onInit = $onInit;\n $ctrl.$onDestroy = $onDestroy;\n $ctrl.showSubmenu;\n $ctrl.productTypes = productTypes;\n $ctrl.userProfileMenuItems = getFilteredUserMenu();\n externalLoggedIn$.subscribe(function (e) {\n $onInit();\n });\n loggedIn$.subscribe(function (e) {\n $onInit();\n });\n $transitions.onEnter({}, function (transition) {\n disableDealerList(transition.to().name);\n });\n\n function disableDealerList(stateName) {\n var isDealSheetPage = stateName.toLowerCase().indexOf('dealsheet') > -1;\n $ctrl.dealerListDisabled = isDealSheetPage;\n }\n\n function onCustomerEngagementClicked(engagement) {\n dealSheetService.openDealSheetModal(engagement.opportunityId);\n }\n\n function onDealersChanged(dealerGroupId, dealerIds, dealers, dealerDisplayText) {\n dealerService.updateSelectedDealers(dealers, dealerGroupId, dealerDisplayText); // Don't display the \"dealer changed\" message in this window.\n\n try {\n $ctrl.selectedDealerIdsSubscription.unsubscribe();\n } catch (e) {\n logger.debug(e);\n } // The page will refresh upon receipt of the message Legacy sends\n // in response to this call.\n\n\n legacyService.sendChangeDealerMessageToIframe(dealerIds);\n }\n\n $ctrl.isProcessingAuthCallback = $location.path().indexOf('/auth/callback') > -1;\n if ($ctrl.isProcessingAuthCallback) return;\n\n function $onInit() {\n $ctrl.disposeSiteMapLoaded = $rootScope.$on('RUN_USER_INIT.SITE_MAP_READY', function onSiteMapLoaded() {\n $ctrl.hasInventoryAccess = authorizationService.isAuthorized(authorizationKeys.Inventory);\n updateSelectedDealers();\n $ctrl.isEuroLite = authorizationService.isEuroLite(); // Start this call immediately in case we need it\n\n var availableMakesPromise = vehicleService.getMakes($ctrl.dealerIds || [], null);\n userService.getUserProfile().then(function getUserProfileComplete(userProfile) {\n getLogoPath(userProfile.dealerModules, availableMakesPromise, userProfile.countryId).then(function (logoPath) {\n return $ctrl.logoPath = logoPath;\n });\n $ctrl.userProfile = userProfile;\n $ctrl.isEulaAccepted = userProfile.eulaAcceptedDate != null;\n var dealerIDs = dealerService.getSelectedDealerIds();\n if (Array.isArray(dealerIDs) && dealerIDs.length) dealerService.getDealerSettings(dealerIDs[0]).then(function (settings) {\n $ctrl.productId = settings.productID;\n $ctrl.userProfileMenuItems = getFilteredUserMenu($ctrl.isAuthenticated, $ctrl.userProfile);\n });\n $translatePartialLoader.addPart(headerLocalizationPath);\n $translatePartialLoader.addPart(localePaths.general);\n resizeHeader($state.$current, globalIframeService);\n $rootScope.$broadcast('RUN_USER_INIT.REPOSITION_UI_VIEW');\n\n if (userProfile.walkmeSegments && userProfile.walkmeSegments.length > 0) {\n window.AA_WalkMe_Segments = {};\n userProfile.walkmeSegments.forEach(function (segment) {\n window.AA_WalkMe_Segments[segment.SegmentId] = segment.SegmentValue;\n });\n }\n\n $ctrl.isCoreReady = true;\n $ctrl.menu = menu;\n });\n });\n $transitions.onSuccess({}, function (transition) {\n setSelectedTab();\n $ctrl.userProfileMenuItems = getFilteredUserMenu($ctrl.isAuthenticated, $ctrl.userProfile);\n });\n $ctrl.IsVisible = true;\n $ctrl.recentDealSheetsVisible = false;\n $ctrl.menu = menu;\n $ctrl.isReportTabEnabled = false;\n setSelectedTab();\n $ctrl.searchPresetsVisible = false;\n var isPublicState = $state.current.access == 'public'; // always false at this point in the cycle\n\n $ctrl.isAuthenticated = $auth.isAuthenticated();\n $ctrl.userProfileMenuItems = getFilteredUserMenu($ctrl.isAuthenticated, $ctrl.userProfile);\n $ctrl.isHeaderVisible = (isPublicState || $ctrl.isAuthenticated) && $ctrl.IsVisible == true;\n $ctrl.isEulaAccepted = false;\n var url = $location.url();\n var hiddenHeaderUrls = [\"auto-check\", \"car-fax\", \"carfax-authorize\", \"cfcallback\", \"car-proof\", \"template-email-preview\", \"mobile/deal-sheet\"];\n\n for (var _i = 0; _i < hiddenHeaderUrls.length; _i++) {\n var urlPortion = hiddenHeaderUrls[_i];\n\n if (url.includes(urlPortion)) {\n $ctrl.isHeaderVisible = false;\n break;\n }\n }\n\n if (!$ctrl.isHeaderVisible) $ctrl.logoPath = defaultLogoPath;\n disableDealerList($state.$current.name);\n $ctrl.selectedDealerIdsSubscription = crossDomainStorageService.onchange('selectedDealers', function () {\n updateSelectedDealers();\n });\n\n if (url.includes(\"/email/\") && url.includes(\"code=\")) {\n // for Customer Unsubscribe and View In Browser sent emails\n $ctrl.isHeaderVisible = false;\n }\n\n function setSelectedTab() {\n $ctrl.selectedTab = $state.includes('reportsContainer') ? 'reports' : 'opportunities';\n\n if ($ctrl.selectedTab == 'reports') {\n $ctrl.showSubmenu = false;\n } else {\n $ctrl.showSubmenu = true;\n }\n } // check if slt user and page is conquests\n\n\n if ($location.url().indexOf(\"conquests\") > -1 && storageService.getItem('userProfile').isSltUser) $ctrl.isQuickSearchVisible = false;else $ctrl.isQuickSearchVisible = true;\n }\n\n function $onDestroy() {\n $ctrl.disposeSiteMapLoaded();\n\n if ($ctrl.selectedDealerIdsSubscription) {\n $ctrl.selectedDealerIdsSubscription.unsubscribe();\n }\n }\n\n function updateSelectedDealers() {\n $ctrl.dealerGroupId = dealerService.getSelectedDealerGroupId();\n $ctrl.dealerIds = dealerService.getSelectedDealerIds();\n $ctrl.dealers = dealerService.getSelectedDealers();\n $ctrl.dealerDisplayText = dealerService.getDealerDisplayText();\n }\n\n function getFilteredUserMenu(isAuthenticated, userProfile) {\n var allItems = [{\n type: $state.current.name != 'userProfile' ? 'SREF' : '',\n translate: 'myProfile',\n sref: 'userProfile'\n }, {\n type: 'SEPARATOR'\n }];\n\n if (isAuthenticated != undefined && !isAuthenticated) {\n allItems.push({\n type: 'HREF',\n translate: 'login',\n icon: 'aa-icon-login',\n href: '#',\n action: function action() {\n legacyService.sendLogOutMessage();\n $auth.signIn();\n }\n });\n } else {\n allItems.push({\n type: 'HREF',\n translate: 'logout',\n icon: 'aa-icon-logout',\n href: '#',\n action: function action() {\n $auth.signOut();\n }\n });\n }\n\n if ($ctrl.productId && $ctrl.productId == productTypes.euroLite) {\n allItems = _.filter(allItems, function (item) {\n return item.translate != 'requestCallBack';\n });\n }\n\n if (isAuthenticated && userProfile && userProfile.userFullName) {\n return allItems;\n } else {\n // Remove My Profile\n return allItems.slice(1);\n }\n }\n\n function getLogoPath(moduleIds, availableMakesPromise, countryId) {\n if (!moduleIds || moduleIds.length === 0) {\n return Promise.resolve(defaultLogoPath);\n }\n\n var hasFordAlertModule = moduleIds.some(function (o) {\n return o.moduleID === modules.fordAlert;\n });\n\n if (!hasFordAlertModule) {\n return Promise.resolve(defaultLogoPath);\n }\n\n return availableMakesPromise.then(function (availableMakes) {\n // A dealer is a \"Lincoln-only\" dealer if they:\n // 1. Have the FordAlert module\n // 2. Have Lincoln as a DealerMake\n // 3. Do NOT have Ford as a DealerMake\n var fordMakeIds = environmentVariables.fordMakeIds || [];\n var lincolnMakeIds = environmentVariables.lincolnMakeIds || [];\n var isLincolnDealer = availableMakes.some(function (m) {\n return lincolnMakeIds.includes(m.makeID);\n });\n var isFordDealer = availableMakes.some(function (m) {\n return fordMakeIds.includes(m.makeID);\n });\n var fordlogo = fordLogoPath;\n var lincolnlogo = lincolnLogoPath; // if canada then update logo images\n\n if (countryId == dealerCountries.canada) {\n fordlogo = fordCanadaLogoPath;\n lincolnlogo = lincolnCanadaLogoPath;\n }\n\n return isLincolnDealer && !isFordDealer ? lincolnlogo : fordlogo;\n });\n }\n\n $scope.$watch('$ctrl.isCoreReady', function () {\n var cultureName = storageService.getItem('cultureName');\n\n if (cultureName) {\n $translate.use(cultureName);\n }\n });\n globalIframeService.subscribe(function (_ref, replyPort) {\n var data = _ref.data;\n\n if (data['AUTOALERT_IFRAME_LOADED']) {\n // AA is ready show iframe\n $ctrl.IsVisible = true;\n $ctrl.isHeaderVisible = true; //todo: iframe code ---- remove when iframe is gone!\n\n showAutoAlertiFrame($state.$current);\n resizeHeader($state.$current, replyPort);\n } else if (data['EULA_ACCEPT']) {\n $ctrl.isEulaAccepted = true;\n storageService.setItem('userProfile', null);\n userService.getUserProfile().then(function (userProfile) {// no need to update profile since we have already set $ctrl.isEulaAccepted to true;\n // we need to call this so next time user logs in he gets data from updated DB not the cache.\n });\n } else if (data['EULA_DECLINE']) {\n $ctrl.isEulaAccepted = false;\n $state.go('errorUnauthorized', {\n errorState: 'marketingSplash'\n });\n } else if (data['PROFILE_UPDATED']) {\n storageService.setItem('userProfile', null); // getUserProfile(true) means force reload from the server\n\n userService.getUserProfile(true).then(function (profile) {\n if (profile) if ($ctrl.userProfile) $ctrl.userProfile.userFullName = profile.userFullName;\n });\n }\n });\n}","import \"core-js/modules/es6.function.name\";\nQuickSearchController.$inject = [\"$state\", \"$translate\", \"$transitions\", \"toaster\", \"warningTitleKey\", \"quickSearchWarningKey\", \"quickSearchInvalidCharacterWarningKey\"];\n\n/* injects from baggage-loader */\nrequire('./quick-search.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('quickSearch', {\n templateUrl: '/app/components/header/quick-search.component.html',\n controller: QuickSearchController,\n bindings: {\n searchPresetsVisible: '='\n }\n});\n/* @ngInject */\n\nfunction QuickSearchController($state, $translate, $transitions, toaster, warningTitleKey, quickSearchWarningKey, quickSearchInvalidCharacterWarningKey) {\n var $ctrl = this;\n $ctrl.searchText;\n $ctrl.isSltUser;\n $ctrl.placeholder;\n $ctrl.searchOnKeyPress = searchOnKeyPress;\n $ctrl.searchOnButtonClick = searchOnButtonClick;\n $ctrl.$onInit = init;\n\n function init() {\n $transitions.onBefore({\n from: 'quickSearch'\n }, function (transition) {\n if (transition.to().name != 'quickSearch') {\n $ctrl.searchText = '';\n }\n });\n }\n\n function searchOnKeyPress(event) {\n if (event.which === 13) {\n trySearch();\n }\n }\n\n function searchOnButtonClick() {\n trySearch();\n }\n\n function trySearch() {\n if ($ctrl.toast) {\n toaster.clear($ctrl.toast);\n }\n\n if ($state.params.searchText == $ctrl.searchText) {\n $state.reload();\n } else {\n if ($ctrl.searchText && /[&#]/.test($ctrl.searchText)) {\n $translate([warningTitleKey, quickSearchInvalidCharacterWarningKey]).then(showWarningMessageInvalidCharacter);\n } else if ($ctrl.searchText && $ctrl.searchText.length >= 3) {\n search();\n } else {\n $translate([warningTitleKey, quickSearchWarningKey]).then(showWarningMessage);\n }\n }\n }\n\n function showWarningMessageInvalidCharacter(translations) {\n $ctrl.toast = toaster.pop('warning', translations.warningTitle, translations.quickSearchInvalidCharacterWarning);\n }\n\n function showWarningMessage(translations) {\n $ctrl.toast = toaster.pop('warning', translations.warningTitle, translations.quickSearchWarning);\n }\n\n function search() {\n $state.go('quickSearch', {\n searchText: $ctrl.searchText\n });\n }\n}","import \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/es6.string.starts-with\";\nSubMenuController.$inject = [\"$rootScope\", \"$state\", \"$translatePartialLoader\", \"$transitions\", \"subMenuUnauthorized\", \"globalIframeService\", \"menuService\", \"subMenuLocalizationPath\", \"dealerService\"];\n\n/* injects from baggage-loader */\nrequire('./sub-menu.component.html');\n\nimport angular from 'angular';\nimport { resizeHeader } from '../../scripts/init';\nangular.module('AaApp.Opp').component('subMenu', {\n templateUrl: '/app/components/header/sub-menu.component.html',\n controller: SubMenuController,\n bindings: {}\n});\n/* @ngInject */\n\nfunction SubMenuController($rootScope, $state, $translatePartialLoader, $transitions, subMenuUnauthorized, globalIframeService, menuService, subMenuLocalizationPath, dealerService) {\n var $ctrl = this;\n $ctrl.currentState;\n $ctrl.isActiveMenuItem = isActiveMenuItem;\n $ctrl.$onDestroy = $onDestroy;\n $ctrl.$onInit = $onInit;\n $ctrl.removeClick = removeClick;\n $ctrl.navToMenuItem = navToMenuItem;\n $ctrl.showHideSubnav;\n $translatePartialLoader.addPart(subMenuLocalizationPath);\n\n function $onDestroy() {\n $ctrl.dispose();\n }\n\n function $onInit() {\n $ctrl.siteMap = subMenuUnauthorized;\n $ctrl.dispose = $rootScope.$on('RUN_USER_INIT.SITE_MAP_READY', function siteMapReady(userProfile) {\n var dealerIds = dealerService.getSelectedDealerIds();\n menuService.getSiteMap(dealerIds).then(setSiteMap);\n });\n $transitions.onSuccess({}, function (transition) {\n $ctrl.currentState = transition.to();\n });\n }\n\n function setSiteMap(siteMap) {\n $ctrl.siteMap = siteMap;\n resizeHeader($state.$current, globalIframeService);\n $rootScope.$broadcast('RUN_USER_INIT.REPOSITION_UI_VIEW');\n }\n\n function removeClick(e) {\n var removeCurrentTarget = document.getElementsByClassName(\"clicked\");\n var wrappedResult = angular.element(removeCurrentTarget);\n wrappedResult.removeClass(\"clicked\");\n }\n\n function navToMenuItem(location, event) {\n if (location == '#') {\n return;\n } else {\n var currentTarget = angular.element(event.target).parent().parent();\n\n if (currentTarget.hasClass('dropdown-menu')) {\n currentTarget.addClass(\"clicked\");\n } else {\n var dropDownElement = document.getElementsByClassName(\"dropdown-menu\");\n var wrappeddropDownElement = angular.element(dropDownElement);\n wrappeddropDownElement.addClass(\"clicked\");\n }\n }\n }\n\n function isActiveMenuItem(menuItem) {\n if ($ctrl.currentState) {\n if (menuItem.baseUrl == 'reports') {\n return $ctrl.currentState.url.startsWith('/' + menuItem.baseUrl + '/');\n } else {\n return $state.includes(menuItem.id) // matches states like \"dataEntry.prices\"\n || $ctrl.currentState.url.startsWith('/' + menuItem.baseUrl); // matches states like \"rates\" that don't have a parent state\n }\n }\n }\n}","DealerDropdownController.$inject = [\"dealerService\", \"storageService\"];\n\n/* injects from baggage-loader */\nrequire('./dealer-dropdown.component.html');\n\nimport angular from 'angular';\nimport './dealer-dropdown.component.scss';\nangular.module('AaApp.Opp').component('dealerDropdown', {\n templateUrl: '/app/components/dealer-dropdown.component.html',\n controller: DealerDropdownController,\n bindings: {\n selectedDealerId: '<',\n changeEvent: '&'\n }\n});\n/* @ngInject */\n\nfunction DealerDropdownController(dealerService, storageService) {\n var $ctrl = this;\n $ctrl.$onInit = $onInit;\n $ctrl.selectedDealerId = null;\n $ctrl.dealers = [];\n $ctrl.changeEventWrapper = changeEventWrapper;\n\n function $onInit() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n }\n\n function changeEventWrapper() {\n storageService.setItem('selectedDealerId', $ctrl.selectedDealerId);\n $ctrl.changeEvent({\n dealerId: $ctrl.selectedDealerId\n });\n }\n}","EmailUnsubscribeController.$inject = [\"templateService\"];\n\n/* injects from baggage-loader */\nrequire('./email-unsubscribe.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('emailUnsubscribe', {\n templateUrl: '/app/components/email-unsubscribe.component.html',\n controller: EmailUnsubscribeController,\n bindings: {\n templateEmailId: '<',\n accessCode: '<'\n }\n});\n/* @ngInject */\n\nfunction EmailUnsubscribeController(templateService) {\n var $ctrl = this;\n $ctrl.$onInit = init;\n $ctrl.unsubscribe = unsubscribe;\n\n function init() {\n $ctrl.emailContentPromise = templateService.getEmailSubscription($ctrl.templateEmailId, $ctrl.accessCode).then(setEmailSubscription);\n }\n\n function setEmailSubscription(emailSubscription) {\n $ctrl.emailSubscription = emailSubscription;\n $ctrl.emailContentPromise = null;\n }\n\n function unsubscribe() {\n $ctrl.emailContentPromise = templateService.disableEmailSubscription($ctrl.templateEmailId, $ctrl.accessCode).then(function () {\n $ctrl.emailSubscription.doNotEmail = true;\n $ctrl.emailContentPromise = null;\n });\n }\n}","import $ from 'jquery';\r\n\r\n// Source: http://stackoverflow.com/questions/2360655/jquery-event-handlers-always-execute-in-order-they-were-bound-any-way-around-t\r\n$.fn.bindFirst = function (name, fn) {\r\n // bind as you normally would\r\n // don't want to miss out on any jQuery magic\r\n this.on(name, fn);\r\n\r\n // Thanks to a comment by @Martin, adding support for\r\n // namespaced events too.\r\n this.each(function () {\r\n var handlers = $._data(this, 'events')[name.split('.')[0]];\r\n // take out the handler we just inserted from the end\r\n var handler = handlers.pop();\r\n // move it at the beginning\r\n handlers.splice(0, 0, handler);\r\n });\r\n};\r\n","/* global window */\r\nimport $ from 'jquery'\r\nimport './redactor.nobabel'\r\nimport './jquery.bind-first'\r\n\r\nif (!window.RedactorPlugins)\r\n window.RedactorPlugins = {};\r\n\r\nwindow.RedactorPlugins.linkVisibilityMessage = {\r\n init: function () {\r\n this.linkVisibilityMessageInsertLinkDialog();\r\n this.opts[\"modalOpenedCallback\"] = this.modalOpenedCallback;\r\n this.opts[\"modalClosedCallback\"]= this.modalClosedCallback;\r\n this.opts[\"imageUploadCallback\"] = this.imageUploadCallback;\r\n\r\n this.$editor.on(\"mousemove\", function () {\r\n var $resizingImg = $(\"#redactor-image-box img\");\r\n if ($resizingImg.length == 1) {\r\n $resizingImg.attr(\"height\", $resizingImg.height())\r\n .attr(\"width\", $resizingImg.width());\r\n }\r\n });\r\n\r\n // prevent moving img by dragging\r\n this.$editor.on(\"drop\", function () {\r\n return false;\r\n });\r\n },\r\n linkVisibilityMessageInsertLinkDialog: function () {\r\n this.opts.modal_link = String()\r\n + ''\r\n + '
'\r\n + ''\r\n + ''\r\n + '
';\r\n },\r\n imageUploadCallback: function ($image) {\r\n this.insertImageIntoLayoutTable($image);\r\n },\r\n modalOpenedCallback: function ($modal) {\r\n var modalId = $modal.find(\"section\").attr(\"id\");\r\n\r\n if (modalId == \"redactor-modal-link-insert\") {\r\n this.modalInsertLinkCallback($modal);\r\n } else if (modalId == \"redactor-modal-image-edit\") {\r\n this.modalEditImageCallback($modal);\r\n }\r\n },\r\n modalClosedCallback: function () {\r\n $(\".ui-tooltip.ui-state-error\").remove();\r\n },\r\n modalInsertLinkCallback: function () {\r\n var okText = this.opts.curLang.insert;\r\n var modalTitle = this.opts.curLang.link_insert;\r\n if (this.insert_link_node !== false) { /* editing existing link */\r\n okText = this.opts.curLang.save;\r\n modalTitle = this.opts.curLang.link_edit;\r\n }\r\n $(\"#redactor_insert_link_btn\").text(okText);\r\n $(\"#redactor_modal_header\").text(modalTitle);\r\n },\r\n modalEditImageCallback: function () {\r\n $(\"#redactor_modal_header\").text(\"Edit Image\");\r\n var $image = $(\"#redactor-image-box\").find(\"img\");\r\n\r\n // default to opening new link in new tab\r\n $(\"#redactor_link_blank\").prop(\"checked\", true)\r\n .parent(\"label\").css(\"visibility\", \"hidden\").css(\"height\", \"0\");\r\n\r\n // disable aligning; doesn't work for HTML email\r\n $(\"#redactor_form_image_align\").hide()\r\n .prev(\"label\").css(\"visibility\", \"hidden\").css(\"height\", \"0\");\r\n\r\n // LEFT and CENTER alignment that work for HTML email\r\n if ($image.closest(\".redactor-layout-table\").length > 0) {\r\n $(\"#redactor-modal-image-edit\").append('');\r\n }\r\n\r\n var currentAlignment = \"left\";\r\n if ($image.closest(\"td[align='center']\").length > 0) {\r\n currentAlignment = \"center\";\r\n }\r\n $(\"#redactor_table_image_align\").val(currentAlignment);\r\n\r\n $(\"#redactorSaveBtn\").bindFirst(\"click\", $.proxy(function () {\r\n //validate link\r\n var link = $.trim($(\"#redactor_file_link\").val());\r\n if (link !== \"\") {\r\n var pattern = '((xn--)?[a-z0-9]+(-[a-z0-9]+)*\\\\.)+[a-z]{2,}';\r\n var re = new RegExp('^(http|ftp|https)://' + pattern, 'i');\r\n var re2 = new RegExp('^' + pattern, 'i');\r\n\r\n if (link.search(re) == -1 && link.search(re2) == 0 && this.opts.linkProtocol) {\r\n link = this.opts.linkProtocol + link;\r\n }\r\n $(\"#redactor_file_link\").val(link)\r\n }\r\n }, this));\r\n\r\n $('#redactorSaveBtn').on(\"click\", $.proxy(function () {\r\n //alignment\r\n if ($(\"#redactor_table_image_align\").val() == \"center\") {\r\n $image.closest(\"td\").attr(\"align\", \"center\");\r\n } else {\r\n $image.closest(\"td\").removeAttr(\"align\");\r\n }\r\n\r\n this.sync();\r\n }, this));\r\n },\r\n insertImageIntoLayoutTable: function ($image) {\r\n if ($image.closest(\"table.redactor-layout-table\").length < 1) {\r\n var tableId = parseInt(Math.floor(Math.random() * 99999));\r\n var $table = $('
');\r\n $image.wrap($table);\r\n this.sync();\r\n }\r\n\r\n var $loadImg = $(\"\").attr(\"src\", \"\");\r\n $loadImg.attr(\"src\", $image.attr(\"src\"))\r\n .load(function () {\r\n $image.attr(\"height\", this.height)\r\n .attr(\"width\", this.width)\r\n .css(\"width\", this.width + \"px\");\r\n });\r\n }\r\n};\r\n","/* global window document */\r\nimport $ from 'jquery'\r\nimport './autoalert.redactor.button.scss'\r\n\r\nif (!window.RedactorPlugins)\r\n window.RedactorPlugins = {};\r\n\r\nwindow.RedactorPlugins.button = {\r\n buttonModalBody:\r\n '
'\r\n + '
Buttons will only be rendered in an email message. Any buttons will not be visible in PDF output.
'\r\n + '
'\r\n + ''\r\n + ''\r\n + ''\r\n + ''\r\n + '
'\r\n + '
',\r\n buttonNewModalFooter:\r\n '
'\r\n + ''\r\n + ''\r\n + '
',\r\n buttonEditModalFooter:\r\n '
'\r\n + ''\r\n + ''\r\n + ''\r\n + '
',\r\n init: function () {\r\n var $redactor = this;\r\n var buttonName = 'button';\r\n this.buttonAdd('button', 'Button', this.buttonButtonClick);\r\n this.buttonTagToActiveState(buttonName, 'div.redactor-button a');\r\n\r\n this.$editor.on(\"click\", \"div.redactor-button table\", function () {\r\n var $button = $(this).closest(\".redactor-button\");\r\n $redactor.linkObserverTooltipClose(false);\r\n if ($button.closest(\"#redactor-button-box\").length > 0) {\r\n return false;\r\n }\r\n $redactor.buttonEditControl($button);\r\n return false;\r\n });\r\n\r\n $(document).on('click.redactor-button-edit-hide', $.proxy(this.buttonEditControlHide, this));\r\n this.$editor.on('click.redactor-button-edit-hide', $.proxy(this.buttonEditControlHide, this));\r\n $(document).on('keydown.redactor-button-edit-hide', $.proxy(this.buttonEditControlHide, this));\r\n },\r\n buttonButtonClick: function () {\r\n this.selectionSave();\r\n\r\n this.$existingButton = $(this.getParent()).next(\"div.redactor-button\");\r\n var inEditMode = this.$existingButton.length == 1;\r\n\r\n var modalTitle = inEditMode ? \"Edit Button\" : \"Insert Button\";\r\n var content = this.buttonModalBody + (inEditMode ? this.buttonEditModalFooter : this.buttonNewModalFooter);\r\n this.modalInit(modalTitle, content, 460, $.proxy(function () {\r\n $('#redactor_button_url').focus();\r\n if (inEditMode) {\r\n $(\"#redactor_button_url\").val(this.$existingButton.find(\"a\").attr(\"href\"));\r\n $(\"#redactor_button_text\").val(this.$existingButton.find(\"a\").text());\r\n }\r\n\r\n $('#redactor_insert_button_btn').click($.proxy(this.buttonInsert, this));\r\n $('#redactor_button_delete_btn').click($.proxy(this.buttonRemove, this));\r\n }, this));\r\n },\r\n buttonEditControl: function ($button) {\r\n var buttonBox = $('');\r\n buttonBox.css({\r\n position: 'relative',\r\n display: 'block',\r\n lineHeight: 0,\r\n margin: '0 auto',\r\n outline: '1px dashed rgba(0, 0, 0, .6)'\r\n });\r\n buttonBox.attr('contenteditable', false);\r\n\r\n buttonBox.css({\r\n marginTop: $button[0].style.marginTop,\r\n marginBottom: $button[0].style.marginBottom,\r\n marginLeft: $button[0].style.marginLeft,\r\n marginRight: $button[0].style.marginRight\r\n });\r\n $button.css('margin', '');\r\n $button.css('opacity', .5).after(buttonBox);\r\n\r\n // editter\r\n var $buttonEditter = $('' + this.opts.curLang.edit + '');\r\n $buttonEditter.css({\r\n position: 'absolute',\r\n zIndex: 5,\r\n top: '50%',\r\n left: '50%',\r\n marginTop: '-11px',\r\n marginLeft: '-18px',\r\n lineHeight: 1,\r\n backgroundColor: '#000',\r\n color: '#fff',\r\n fontSize: '11px',\r\n padding: '7px 10px',\r\n cursor: 'pointer'\r\n });\r\n $buttonEditter.attr('contenteditable', false);\r\n $buttonEditter.on('click', $.proxy(this.buttonButtonClick, this));\r\n buttonBox.append($buttonEditter);\r\n buttonBox.append($button);\r\n\r\n return false;\r\n },\r\n buttonEditControlHide: function () {\r\n var buttonBox = this.$editor.find('#redactor-button-box');\r\n if (buttonBox.length == 0) {\r\n return;\r\n }\r\n\r\n this.$editor.find('#redactor-button-editter').remove();\r\n\r\n buttonBox.find('a').css({\r\n marginTop: buttonBox[0].style.marginTop,\r\n marginBottom: buttonBox[0].style.marginBottom,\r\n marginLeft: buttonBox[0].style.marginLeft,\r\n marginRight: buttonBox[0].style.marginRight\r\n });\r\n\r\n buttonBox.css('margin', '');\r\n buttonBox.find('.redactor-button').css('opacity', '');\r\n buttonBox.replaceWith(function () {\r\n return $(this).contents();\r\n });\r\n\r\n this.sync()\r\n },\r\n buttonInsert: function () {\r\n this.selectionRestore();\r\n var target = 'target=\"_blank\"';\r\n var link = $('#redactor_button_url').val();\r\n var text = $('#redactor_button_text').val();\r\n var pattern = '((xn--)?[a-z0-9]+(-[a-z0-9]+)*\\\\.)+[a-z]{2,}';\r\n var re = new RegExp('^(http|ftp|https)://' + pattern, 'i');\r\n var re2 = new RegExp('^' + pattern, 'i');\r\n\r\n if (link.search(re) == -1 && link.search(re2) == 0 && this.opts.linkProtocol) {\r\n link = this.opts.linkProtocol + link;\r\n }\r\n text = text.replace(/<|>/g, '');\r\n if (this.$existingButton.length == 1) {\r\n this.$existingButton.find(\"a\").attr(\"href\", link).text(text);\r\n } else {\r\n var html = '
' +\r\n '' +\r\n '' +\r\n '' +\r\n '' +\r\n '
' +\r\n '' +text + ''\r\n '
' +\r\n '
';\r\n this.insertHtmlAdvanced(html, true);\r\n }\r\n this.modalClose();\r\n this.sync();\r\n },\r\n buttonRemove: function () {\r\n this.selectionRestore();\r\n var $button = this.$existingButton;\r\n $button.remove();\r\n this.modalClose();\r\n this.sync();\r\n }\r\n};\r\n","/* global window document */\r\nimport $ from 'jquery'\r\n\r\nif (!RedactorPlugins) var RedactorPlugins = {};\r\n\r\nwindow.RedactorPlugins.fontcolor = {\r\n\tinit: function()\r\n\t{\r\n\t\tvar colors = [\r\n\t\t\t'#ffffff', '#000000', '#eeece1', '#1f497d', '#4f81bd', '#c0504d', '#9bbb59', '#8064a2', '#4bacc6', '#f79646', '#ffff00',\r\n\t\t\t'#f2f2f2', '#7f7f7f', '#ddd9c3', '#c6d9f0', '#dbe5f1', '#f2dcdb', '#ebf1dd', '#e5e0ec', '#dbeef3', '#fdeada', '#fff2ca',\r\n\t\t\t'#d8d8d8', '#595959', '#c4bd97', '#8db3e2', '#b8cce4', '#e5b9b7', '#d7e3bc', '#ccc1d9', '#b7dde8', '#fbd5b5', '#ffe694',\r\n\t\t\t'#bfbfbf', '#3f3f3f', '#938953', '#548dd4', '#95b3d7', '#d99694', '#c3d69b', '#b2a2c7', '#b7dde8', '#fac08f', '#f2c314',\r\n\t\t\t'#a5a5a5', '#262626', '#494429', '#17365d', '#366092', '#953734', '#76923c', '#5f497a', '#92cddc', '#e36c09', '#c09100',\r\n\t\t\t'#7f7f7f', '#0c0c0c', '#1d1b10', '#0f243e', '#244061', '#632423', '#4f6128', '#3f3151', '#31859b', '#974806', '#7f6000'\r\n\t\t];\r\n\r\n\t\tvar buttons = ['fontcolor', 'backcolor'];\r\n\r\n\t\tfor (var i = 0; i < 1; i++)\r\n\t\t{\r\n\t\t\tvar name = buttons[i];\r\n\r\n\t\t\tvar $dropdown = $('
');\r\n\r\n\t\t\tthis.pickerBuild($dropdown, name, colors);\r\n\t\t\t$(this.$toolbar).append($dropdown);\r\n\r\n\t\t\tvar btn = this.buttonAdd(name, this.opts.curLang[name], $.proxy(function(btnName, $button, btnObject, e)\r\n\t\t\t{\r\n\t\t\t\tthis.dropdownShow(e, btnName);\r\n\r\n\t\t\t}, this));\r\n\r\n\t\t\tbtn.data('dropdown', $dropdown);\r\n\t\t}\r\n\t},\r\n\tpickerBuild: function($dropdown, name, colors)\r\n\t{\r\n\t\tvar rule = 'color';\r\n\t\tif (name === 'backcolor') rule = 'background-color';\r\n\r\n\t\tvar _self = this;\r\n\t\tvar onSwatch = function(e)\r\n\t\t{\r\n\t\t\te.preventDefault();\r\n\r\n\t\t\tvar $this = $(this);\r\n\t\t\t_self.pickerSet($this.data('rule'), $this.attr('rel'));\r\n\r\n\t\t}\r\n\r\n\t\tvar len = colors.length;\r\n\t\tfor (var z = 0; z < len; z++)\r\n\t\t{\r\n\t\t\tvar color = colors[z];\r\n\r\n\t\t\tvar $swatch = $('');\r\n\t\t\t$swatch.css('background-color', color);\r\n\t\t\t$dropdown.append($swatch);\r\n\t\t\t$swatch.on('click', onSwatch);\r\n\t\t}\r\n\r\n\t\tvar $elNone = $('')\r\n\t\t.html(this.opts.curLang.none)\r\n\t\t.on('click', function(e)\r\n\t\t{\r\n\t\t\te.preventDefault();\r\n\t\t\t_self.pickerSet(rule, false);\r\n\t\t});\r\n\r\n\t\t$dropdown.append($elNone);\r\n\t},\r\n\tpickerSet: function(rule, type)\r\n\t{\r\n\t\tthis.bufferSet();\r\n\r\n\t\tthis.$editor.focus();\r\n\t\tthis.inlineRemoveStyle(rule);\r\n\t\tif (type !== false) this.inlineSetStyle(rule, type);\r\n\t\tif (this.opts.air) this.$air.fadeOut(100);\r\n\t\tthis.sync();\r\n\t}\r\n};","/* global window document */\r\nimport $ from 'jquery'\r\n\r\nif (!RedactorPlugins) var RedactorPlugins = {};\r\n\r\nwindow.RedactorPlugins.fontfamily = {\r\n\tinit: function ()\r\n\t{\r\n\t\tvar fonts = [ 'Arial', 'Helvetica', 'Georgia', 'Times New Roman', 'Monospace' ];\r\n\t\tvar that = this;\r\n\t\tvar dropdown = {};\r\n\r\n\t\t$.each(fonts, function(i, s)\r\n\t\t{\r\n\t\t\tdropdown['s' + i] = { title: s, callback: function() { that.setFontfamily(s); }};\r\n\t\t});\r\n\r\n\t\tdropdown['remove'] = { title: 'Remove font', callback: function() { that.resetFontfamily(); }};\r\n\r\n\t\tthis.buttonAdd('fontfamily', 'Change font family', false, dropdown);\r\n\t},\r\n\tsetFontfamily: function (value)\r\n\t{\r\n\t\tthis.inlineSetStyle('font-family', value);\r\n\t},\r\n\tresetFontfamily: function()\r\n\t{\r\n\t\tthis.inlineRemoveStyle('font-family');\r\n\t}\r\n};","/* global window document */\r\nimport $ from 'jquery'\r\n\r\nif (!RedactorPlugins) var RedactorPlugins = {};\r\n\r\nwindow.RedactorPlugins.fontsize = {\r\n\tinit: function()\r\n\t{\r\n\t\tvar fonts = [10, 11, 12, 14, 16, 18, 20, 24, 28, 30];\r\n\t\tvar that = this;\r\n\t\tvar dropdown = {};\r\n\r\n\t\t$.each(fonts, function(i, s)\r\n\t\t{\r\n\t\t\tdropdown['s' + i] = { title: s + 'px', callback: function() { that.setFontsize(s); } };\r\n\t\t});\r\n\r\n\t\tdropdown['remove'] = { title: 'Remove font size', callback: function() { that.resetFontsize(); } };\r\n\r\n\t\tthis.buttonAdd('fontsize', 'Change font size', false, dropdown);\r\n\t},\r\n\tsetFontsize: function(size)\r\n\t{\r\n\t\tthis.inlineSetStyle('font-size', size + 'px');\r\n\t},\r\n\tresetFontsize: function()\r\n\t{\r\n\t\tthis.inlineRemoveStyle('font-size');\r\n\t}\r\n};","\n/* injects from baggage-loader */\nrequire('./html-textarea.component.html');\n\nimport angular from 'angular'\r\nimport { OpportunitiesModule } from '../core/opportunities.module'\r\nimport '../scripts/redactor'\r\n\r\nOpportunitiesModule.component('htmlTextarea', {\r\n templateUrl: '/app/components/html-textarea.component.html',\r\n controller: HtmlTextareaController,\r\n bindings: {\r\n textValue: '@',\r\n onEdit: '&'\r\n }\r\n})\r\n\r\nfunction HtmlTextareaController($element, apiUrls, logger) {\r\n \"ngInject\";\r\n\r\n var $ctrl = this;\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.onUpdate = onUpdate;\r\n\r\n function $onChanges(changes) {\r\n if (changes.textValue) {\r\n let redactor = getRedactor();\r\n redactor.set($ctrl.textValue);\r\n }\r\n }\r\n\r\n function onUpdate() {\r\n let redactor = getRedactor();\r\n var data = redactor.get();\r\n if (data != \"\")\r\n $ctrl.onEdit({action:data});\r\n }\r\n\r\n function getRedactor() {\r\n return $ctrl.redactor = $ctrl.redactor || createRedactor();\r\n }\r\n \r\n function createRedactor() { \r\n const textArea = $element.find('.editor').redactor({\r\n linebreaks: true,\r\n buttons: ['html', 'formatting', 'bold', 'italic', 'image', 'unorderedlist', 'orderedlist', 'outdent', 'indent', 'table', 'link', 'alignment', 'horizontalrule'],\r\n plugins: ['button', 'layout', 'fontsize', 'fontfamily', 'fontcolor'], \r\n imageUpload: apiUrls.alertMiner + '/api/FileUpload/UploadImage',\r\n changeCallback: \r\n function () {\r\n $ctrl.textValue = this.get();\r\n $ctrl.onEdit({action:$ctrl.textValue});\r\n },\r\n uploadErrorCallback:\r\n function (data) { \r\n logger.warning(\"uploadFailedErrorMsg\");\r\n }\r\n });\r\n\r\n return textArea.data('redactor');\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./iframe.component.html');\n\nimport angular from 'angular';\r\nimport { ChildMessagePort } from '../utilities/messaging';\r\nimport { getUrlComponents } from '../utilities/url';\r\n\r\nangular.module('AaApp.Opp').component('aaIframe', {\r\n templateUrl: '/app/components/iframe.component.html',\r\n controller: IframeController,\r\n bindings: {\r\n src: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction IframeController($auth, $element, $sce, $state, $scope, globalIframeService, tokenService, $location, storageService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = $onInit;\r\n\r\n $ctrl.iframeShouldScroll = 'yes';\r\n $ctrl.iframeWidth = '100%';\r\n\r\n angular.element(\"#ui-view\").css({ 'margin-top': '0px' });\r\n // if this page is not a new report-tab report hide scroll\r\n if ($location.url().indexOf('-report') <= -1)\r\n angular.element('#aa-app')[0].style.overflowY = \"hidden\";\r\n\r\n if (isMobileiOS()) {\r\n $ctrl.iframeShouldScroll = 'no';\r\n $ctrl.iframeWidth = getMobileWidth();\r\n }\r\n\r\n var isAuthenticated = $auth.isAuthenticated();\r\n var isAutoAlertUser = tokenService.isAutoAlertUser();\r\n\r\n if (isAuthenticated && !isAutoAlertUser) {\r\n $state.go('errorUnauthorized');\r\n }\r\n\r\n\r\n // if logged in user verifiy the user has signed EULA.if not return to Accept/decline EULA screen. only allow 'user/profile' path\r\n if ($auth.isAuthenticated())\r\n {\r\n var userProfile = storageService.getItem('userProfile');\r\n if (userProfile) {\r\n if (userProfile.eulaAcceptedDate == null || userProfile.eulaAcceptedDate == undefined)\r\n if ($location.url().indexOf('user/profile') <= -1)\r\n $state.go('login');\r\n }\r\n }\r\n\r\n const originalUrl = $ctrl.src;\r\n $ctrl.src = $sce.trustAsResourceUrl($ctrl.src);\r\n\r\n function $onInit() {\r\n const iframe = $element.find('iframe')[0];\r\n const { origin } = getUrlComponents(originalUrl);\r\n const port = new ChildMessagePort(iframe, origin);\r\n globalIframeService.setCurrentMessagePort(port, $scope);\r\n\r\n $ctrl.$onDestroy = () => port.close();\r\n }\r\n\r\n function isMobileiOS() {\r\n var isTouchDevice = 'ontouchstart' in document.documentElement;\r\n var isOrientationValid = window.orientation != undefined;\r\n var isAppleDevice = navigator.vendor.toLowerCase().indexOf('apple') > -1;\r\n if (isTouchDevice && isOrientationValid && isAppleDevice)\r\n return true;\r\n else\r\n return false;\r\n }\r\n\r\n function getMobileWidth() {\r\n var orientation = window.orientation;\r\n switch (orientation) {\r\n case 0:\r\n case 180:\r\n return window.screen.width + \"px\";\r\n case 90:\r\n case -90:\r\n return window.screen.height + \"px\";\r\n\r\n }\r\n }\r\n\r\n function readDeviceOrientation() {\r\n $ctrl.iframeWidth = getMobileWidth();\r\n }\r\n\r\n\r\n if (isMobileiOS())\r\n window.onorientationchange = readDeviceOrientation;\r\n\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./legacy-iframe-support.component.html');\n\nimport angular from 'angular';\r\nimport { ChildMessagePort } from '../utilities/messaging';\r\nimport { getUrlComponents } from '../utilities/url';\r\n\r\nangular.module('AaApp.Opp').component('legacyIframeSupport', {\r\n templateUrl: '/app/components/legacy-iframe-support.component.html',\r\n controller: legacyIframeSupportController\r\n});\r\n\r\n/* @ngInject */\r\nfunction legacyIframeSupportController($auth, $element, $sce, $state, $location, $scope, globalIframeService, legacy, userService) {\r\n var $ctrl = this;\r\n\r\n const originalUrl = legacy.iframeUrl + '/Home/MessagingFrame';\r\n $ctrl.iframeSource = $sce.trustAsResourceUrl(originalUrl);\r\n\r\n $ctrl.$onInit = $onInit;\r\n\r\n function $onInit() {\r\n // if public pages return\r\n if (!$auth.isAuthenticated())\r\n return;\r\n\r\n const iframe = $element.find('iframe')[0];\r\n const { origin } = getUrlComponents(originalUrl);\r\n const port = new ChildMessagePort(iframe, origin);\r\n globalIframeService.setCurrentMessagePort(port, $scope);\r\n\r\n // if logged in user verifiy the user has signed EULA.if not return to Accept/decline EULA screen. only allow 'user/profile' path\r\n userService.getUserProfile()\r\n .then(userProfile => {\r\n if (!userProfile.eulaAcceptedDate && $location.url().indexOf('user/profile') <= -1)\r\n $state.go('login');\r\n });\r\n\r\n $ctrl.$onDestroy = () => port.close();\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./login.component.html');\n\nimport angular from 'angular';\r\nimport { ChildMessagePort } from '../utilities/messaging';\r\nimport { getUrlComponents } from '../utilities/url';\r\n\r\nangular.module('AaApp.Opp').component('login', {\r\n templateUrl: '/app/components/login.component.html',\r\n controller: LoginController\r\n});\r\n\r\n/* @ngInject */\r\nfunction LoginController($element, $sce, $scope, globalIframeService, legacy, legacyUrlMappings, userService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.src;\r\n $ctrl.$onInit = $onInit;\r\n\r\n function $onInit() {\r\n userService.logUserLogin();\r\n\r\n const loginUrl = legacy.iframeUrl + legacyUrlMappings['logIn'];\r\n $ctrl.src = $sce.trustAsResourceUrl(loginUrl);\r\n\r\n const iframe = $element.find('iframe')[0];\r\n const { origin } = getUrlComponents(loginUrl);\r\n const port = new ChildMessagePort(iframe, origin);\r\n globalIframeService.setCurrentMessagePort(port, $scope);\r\n\r\n $ctrl.$onDestroy = () => port.close();\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./open-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('openModal', {\r\n templateUrl: '/app/components/modals/open-modal.component.html',\r\n controller: OpenModalController,\r\n transclude: true,\r\n bindings: {\r\n component: '@',\r\n windowClass: '@',\r\n resolve: '<',\r\n onOpening: '&',\r\n onCancel: '&',\r\n onResult: '&'\r\n }\r\n})\r\n\r\n/* @ngInject */\r\nfunction OpenModalController($document, $timeout, $uibModal) {\r\n var $ctrl = this;\r\n\r\n $ctrl.open = open;\r\n\r\n $ctrl.currentDialog = null;\r\n\r\n function open() {\r\n if ($ctrl.component) {\r\n var onOpening = $ctrl.onOpening();\r\n\r\n if (onOpening) {\r\n onOpening.then(function (success) {\r\n if (success) {\r\n $timeout(function () {\r\n openModal();\r\n });\r\n }\r\n });\r\n }\r\n else {\r\n openModal();\r\n }\r\n }\r\n }\r\n\r\n function openModal() {\r\n var modalResolve = loadResolve($ctrl.resolve);\r\n // if launching the same skip.\r\n if ($ctrl.currentDialog == $ctrl.component)\r\n return;\r\n\r\n $ctrl.currentDialog = $ctrl.component;\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n windowClass: $ctrl.windowClass,\r\n component: $ctrl.component,\r\n resolve: modalResolve\r\n });\r\n\r\n modal.result\r\n .then(function (result) {\r\n $ctrl.currentDialog = null;\r\n $ctrl.onResult({ result: result });\r\n\r\n }, function () {\r\n $ctrl.currentDialog = null;\r\n $ctrl.onCancel();\r\n });\r\n }\r\n\r\n function loadResolve(resolve) {\r\n // Input: { a: 1, b: 2 }\r\n // Output: { a: () => 1, b: () => 2 }\r\n var modalResolve = {};\r\n\r\n for (var property in resolve) {\r\n if (resolve.hasOwnProperty(property)) {\r\n let value = resolve[property];\r\n\r\n modalResolve[property] = function () {\r\n return value;\r\n };\r\n }\r\n }\r\n\r\n return modalResolve;\r\n }\r\n}\r\n","import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.array.find\";\nBulkTemplateWizardModalController.$inject = [\"$element\", \"$logFactory\", \"$sce\", \"$scope\"];\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/* injects from baggage-loader */\nrequire('./bulk-template-wizard-modal.component.html');\n\nimport angular from 'angular';\nimport { ChildMessagePort } from '../../utilities/messaging';\nimport { getUrlComponents } from '../../utilities/url';\nimport \"./bulk-template-wizard-modal.component.scss\";\nangular.module('AaApp.Opp').component('bulkTemplateWizardModal', {\n templateUrl: '/app/components/modals/bulk-template-wizard-modal.component.html',\n controller: BulkTemplateWizardModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n\nfunction BulkTemplateWizardModalController($element, $logFactory, $sce, $scope) {\n \"ngInject\";\n\n var $ctrl = this;\n var $log = $logFactory.get('bulkTemplateWizard');\n $ctrl.$onInit = $onInit;\n var PASSTHROUGH_MESSAGE_TYPES = [\"SEARCH_PARAMETERS_REQ\"];\n $ctrl.buttons = {\n \"BACK\": {\n translationKey: 'back',\n onClick: onButtonClicked.bind(null, \"BACK\")\n },\n \"NEXT\": {\n translationKey: 'next',\n onClick: onButtonClicked.bind(null, \"NEXT\")\n },\n \"CLOSE\": {\n translationKey: 'close',\n onClick: onButtonClicked.bind(null, \"CLOSE\")\n },\n \"CANCEL\": {\n translationKey: 'cancel',\n onClick: onButtonClicked.bind(null, \"CANCEL\")\n },\n \"SEND_EMAIL\": {\n translationKey: 'sendEmail',\n onClick: onButtonClicked.bind(null, \"SEND_EMAIL\")\n },\n \"ARCHIVE_PDF\": {\n translationKey: 'archivePdfAndClose',\n onClick: onButtonClicked.bind(null, \"ARCHIVE_PDF\")\n },\n \"PRINT_PDF\": {\n translationKey: 'printToPdf',\n onClick: onButtonClicked.bind(null, \"PRINT_PDF\")\n }\n };\n\n function $onInit() {\n $ctrl.title = $ctrl.resolve.title;\n $ctrl.trustedUrl = $sce.trustAsResourceUrl($ctrl.resolve.src);\n\n var _getUrlComponents = getUrlComponents($ctrl.resolve.src),\n origin = _getUrlComponents.origin;\n\n if ($ctrl.resolve.onRendered) {\n $ctrl.resolve.onRendered.promise.then(function () {\n var iframe = $element.find('iframe')[0];\n $ctrl.port = new ChildMessagePort(iframe, origin, $scope);\n $ctrl.port.message$.subscribe(messageHandler);\n\n $ctrl.$onDestroy = function () {\n $ctrl.port.close();\n };\n });\n }\n }\n\n function onButtonClicked(button) {\n $ctrl.port.postMessage({\n type: \"DIALOG_BUTTON_CLICKED\",\n data: {\n button: button\n }\n });\n }\n\n function getSearchGridMessagePort() {\n return $ctrl.resolve.searchGridMessagePort;\n }\n\n function messageHandler(message) {\n if (PASSTHROUGH_MESSAGE_TYPES.includes(message.type)) {\n var port = getSearchGridMessagePort();\n var replyPort = message.replyPort;\n var forwardedMessage = {\n type: message.type,\n data: message.data\n };\n port.postRequest(forwardedMessage).then(function (reply) {\n $log.log(\"forwarding\", reply);\n replyPort.postMessage({\n type: reply.type,\n data: reply.data\n });\n });\n } else {\n switch (message.type) {\n case \"DIALOG_TITLE\":\n {\n var text = message.data.text;\n $log.debug(\"changing title\", text);\n $ctrl.title = text;\n break;\n }\n\n case \"DIALOG_BUTTON_CONFIGURE\":\n {\n var _message$data = message.data,\n button = _message$data.button,\n state = _message$data.state;\n $log.debug(\"changing buttons\", button, state);\n setButtonStateFromText(button, state);\n break;\n }\n\n case \"DIALOG_BUTTON_CLICK\":\n {\n var _button = message.data.button;\n $log.debug(\"clicking button\", _button);\n onButtonClicked(_button);\n break;\n }\n\n case \"DIALOG_CLOSE\":\n {\n $log.debug(\"closing dialog\");\n $ctrl.close();\n break;\n }\n\n case \"ALL_DIALOG_BUTTON_LOCK_UNLOCK\":\n {\n allButtonLockUnlock();\n break;\n }\n\n default:\n $log.debug(\"Unhandled message type\", message);\n }\n }\n }\n\n function allButtonLockUnlock() {\n $ctrl.buttons.CANCEL.disabled = !$ctrl.buttons.CANCEL.disabled;\n $ctrl.buttons.ARCHIVE_PDF.disabled = !$ctrl.buttons.ARCHIVE_PDF.disabled;\n $ctrl.buttons.PRINT_PDF.disabled = !$ctrl.buttons.PRINT_PDF.disabled;\n $ctrl.buttons.SEND_EMAIL.disabled = !$ctrl.buttons.SEND_EMAIL.disabled;\n }\n\n function setButtonStateFromText(button, stateName) {\n var currentState = $ctrl.buttons[button];\n $ctrl.buttons[button] = getState(currentState, stateName);\n\n function getState(currentState, newStateName) {\n switch (newStateName.toUpperCase()) {\n case \"VISIBLE\":\n return _objectSpread({}, currentState, {\n visible: true\n });\n\n case \"HIDDEN\":\n return _objectSpread({}, currentState, {\n visible: false\n });\n\n case \"ENABLED\":\n return _objectSpread({}, currentState, {\n visible: true,\n disabled: false\n });\n\n case \"DISABLED\":\n return _objectSpread({}, currentState, {\n visible: true,\n disabled: true\n });\n }\n }\n }\n}","\n/* injects from baggage-loader */\nrequire('./bulk-template-wizard-modal.component.html');\n\nimport angular from 'angular';\r\nimport { ChildMessagePort } from '../../utilities/messaging';\r\nimport { getUrlComponents } from '../../utilities/url';\r\n\r\nimport \"./bulk-template-wizard-modal.component.scss\";\r\n\r\nangular.module('AaApp.Opp').component('bulkTemplateWizardModal', {\r\n templateUrl: '/app/components/modals/bulk-template-wizard-modal.component.html',\r\n controller: BulkTemplateWizardModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\nfunction BulkTemplateWizardModalController(\r\n $element,\r\n $logFactory,\r\n $sce,\r\n $scope\r\n) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n const $log = $logFactory.get('bulkTemplateWizard');\r\n\r\n $ctrl.$onInit = $onInit;\r\n\r\n const PASSTHROUGH_MESSAGE_TYPES = [\r\n \"SEARCH_PARAMETERS_REQ\",\r\n ];\r\n\r\n $ctrl.buttons = {\r\n \"BACK\": {\r\n translationKey: 'back',\r\n onClick: onButtonClicked.bind(null, \"BACK\"),\r\n },\r\n \"NEXT\": {\r\n translationKey: 'next',\r\n onClick: onButtonClicked.bind(null, \"NEXT\"),\r\n },\r\n \"CLOSE\": {\r\n translationKey: 'close',\r\n onClick: onButtonClicked.bind(null, \"CLOSE\"),\r\n },\r\n \"CANCEL\": {\r\n translationKey: 'cancel',\r\n onClick: onButtonClicked.bind(null, \"CANCEL\"),\r\n },\r\n \"SEND_EMAIL\": {\r\n translationKey: 'sendEmail',\r\n onClick: onButtonClicked.bind(null, \"SEND_EMAIL\"),\r\n },\r\n \"ARCHIVE_PDF\": {\r\n translationKey: 'archivePdfAndClose',\r\n onClick: onButtonClicked.bind(null, \"ARCHIVE_PDF\"),\r\n },\r\n \"PRINT_PDF\": {\r\n translationKey: 'printToPdf',\r\n onClick: onButtonClicked.bind(null, \"PRINT_PDF\"),\r\n },\r\n };\r\n\r\n function $onInit() {\r\n $ctrl.title = $ctrl.resolve.title;\r\n\r\n $ctrl.trustedUrl = $sce.trustAsResourceUrl($ctrl.resolve.src);\r\n const { origin } = getUrlComponents($ctrl.resolve.src);\r\n\r\n if ($ctrl.resolve.onRendered) {\r\n $ctrl.resolve.onRendered.promise.then(() => {\r\n const iframe = $element.find('iframe')[0];\r\n $ctrl.port = new ChildMessagePort(iframe, origin, $scope);\r\n\r\n $ctrl.port.message$.subscribe(messageHandler);\r\n\r\n $ctrl.$onDestroy = () => {\r\n $ctrl.port.close();\r\n };\r\n });\r\n }\r\n }\r\n\r\n function onButtonClicked(button) {\r\n $ctrl.port.postMessage({\r\n type: \"DIALOG_BUTTON_CLICKED\",\r\n data: { button }\r\n })\r\n }\r\n\r\n function getSearchGridMessagePort() {\r\n return $ctrl.resolve.searchGridMessagePort;\r\n }\r\n\r\n function messageHandler(message) {\r\n if (PASSTHROUGH_MESSAGE_TYPES.includes(message.type)) {\r\n const port = getSearchGridMessagePort();\r\n const replyPort = message.replyPort;\r\n const forwardedMessage = { type: message.type, data: message.data };\r\n port.postRequest(forwardedMessage)\r\n .then(reply => {\r\n $log.log(\"forwarding\", reply)\r\n replyPort.postMessage({ type: reply.type, data: reply.data });\r\n });\r\n\r\n } else {\r\n switch (message.type) {\r\n case \"DIALOG_TITLE\": {\r\n const { text } = message.data;\r\n $log.debug(\"changing title\", text);\r\n $ctrl.title = text;\r\n break;\r\n }\r\n\r\n case \"DIALOG_BUTTON_CONFIGURE\": {\r\n const { button, state } = message.data;\r\n $log.debug(\"changing buttons\", button, state);\r\n setButtonStateFromText(button, state);\r\n break;\r\n }\r\n\r\n case \"DIALOG_BUTTON_CLICK\": {\r\n const { button } = message.data;\r\n $log.debug(\"clicking button\", button);\r\n onButtonClicked(button);\r\n break;\r\n }\r\n\r\n case \"DIALOG_CLOSE\": {\r\n $log.debug(\"closing dialog\")\r\n $ctrl.close();\r\n break;\r\n }\r\n\r\n case \"ALL_DIALOG_BUTTON_LOCK_UNLOCK\": { \r\n allButtonLockUnlock();\r\n break;\r\n }\r\n\r\n default:\r\n $log.debug(\"Unhandled message type\", message);\r\n }\r\n }\r\n }\r\n\r\n function allButtonLockUnlock() { \r\n $ctrl.buttons.CANCEL.disabled = !$ctrl.buttons.CANCEL.disabled;\r\n $ctrl.buttons.ARCHIVE_PDF.disabled = !$ctrl.buttons.ARCHIVE_PDF.disabled;\r\n $ctrl.buttons.PRINT_PDF.disabled = !$ctrl.buttons.PRINT_PDF.disabled;\r\n $ctrl.buttons.SEND_EMAIL.disabled = !$ctrl.buttons.SEND_EMAIL.disabled;\r\n }\r\n\r\n function setButtonStateFromText(button, stateName) {\r\n const currentState = $ctrl.buttons[button];\r\n $ctrl.buttons[button] = getState(currentState, stateName);\r\n\r\n function getState(currentState, newStateName) {\r\n switch (newStateName.toUpperCase()) {\r\n case \"VISIBLE\": return { ...currentState, visible: true };\r\n case \"HIDDEN\": return { ...currentState, visible: false };\r\n case \"ENABLED\": return { ...currentState, visible: true, disabled: false };\r\n case \"DISABLED\": return { ...currentState, visible: true, disabled: true };\r\n }\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./google-maps-modal.component.html');\n\nimport angular from 'angular';\r\n//import {getGoogle} from '../../services/google.service'\r\n\r\nangular.module('AaApp.Opp').component('googleMapsModal', {\r\n templateUrl: '/app/components/modals/google-maps-modal.component.html',\r\n controller: GoogleMapsModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n address: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction GoogleMapsModalController($q, googleService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n function init(changes) {\r\n $ctrl.address = $ctrl.resolve.address;\r\n\r\n return $q.all({\r\n responses: googleService.getCoordinates($ctrl.address),\r\n google: googleService.getGoogle()\r\n }).then((data) => setAddressCoordinates(data.responses, data.google),\r\n (error) => addressIsInvalid(error));\r\n }\r\n\r\n function addressIsInvalid(error){\r\n var node = document.createElement(\"div\");\r\n var textnode = document.createTextNode('The address was not found by Google Maps. Please correct the address and try again. Address: ' + $ctrl.address);\r\n node.appendChild(textnode);\r\n document.getElementById('map').appendChild(node);\r\n return null;\r\n }\r\n\r\n function setAddressCoordinates(responses, google){\r\n if (responses.results.length < 1) return addressIsInvalid();\r\n var coords = responses.results[0].geometry.location;\r\n\r\n var map = new google.maps.Map(document.getElementById('map'), {\r\n zoom: 20,\r\n center: coords,\r\n mapTypeId: 'satellite'\r\n });\r\n\r\n var marker = new google.maps.Marker({\r\n position: coords,\r\n map: map\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./dealer-make-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('dealerMakeSelect', {\r\n templateUrl: '/app/components/reports/dealer-make-select.component.html',\r\n controller: DealerMakeSelectController,\r\n bindings: {\r\n defaultDealerId: '<',\r\n defaultMakeId: '<',\r\n showDealers: '<',\r\n showMakes: '<',\r\n onSelect: '&',\r\n dealers: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction DealerMakeSelectController(dealerService, vehicleService, storageService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.selectedDealerId;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.updateMakes = updateMakes;\r\n $ctrl.onDealerMakeSelect = onDealerMakeSelect;\r\n $ctrl.hasSetDefaultDealerId = false;\r\n\r\n function init() {\r\n $ctrl.dealers = $ctrl.dealers ? $ctrl.dealers : dealerService.getSelectedDealers();\r\n if (!$ctrl.selectedDealerId) {\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n }\r\n }\r\n\r\n function onChanges(changes) {\r\n\r\n if (changes.defaultDealerId && typeof changes.defaultDealerId.currentValue == \"number\") { //&& $ctrl.hasSetDefaultDealerId == false\r\n $ctrl.hasSetDefaultDealerId = true;\r\n $ctrl.selectedDealerId = $ctrl.defaultDealerId;\r\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\r\n updateMakes($ctrl.defaultMakeId);\r\n }\r\n }\r\n\r\n function updateMakes(defaultMakeId) {\r\n vehicleService.getMakes($ctrl.selectedDealerId != null ? [$ctrl.selectedDealerId] : null, null)\r\n .then((makes) => {\r\n $ctrl.makes = getSimpleMakes(makes);\r\n\r\n if (defaultMakeId) {\r\n $ctrl.selectedMakeId = defaultMakeId;\r\n }\r\n else {\r\n $ctrl.selectedMakeId = $ctrl.makes[0].makeId;\r\n onDealerMakeSelect();\r\n }\r\n });\r\n }\r\n\r\n function getSimpleMakes(makes) {\r\n if (makes && makes.length > 0) {\r\n var simpleMakes = makes.map((make) => {\r\n return { makeId: make.makeID, makeName: make.makeName };\r\n });\r\n\r\n if (simpleMakes.length > 0) {\r\n simpleMakes.unshift({ makeId: -1, makeName: 'All Makes' });\r\n }\r\n return simpleMakes;\r\n } else {\r\n return [{ makeId: -1, makeName: 'All Makes' }];\r\n }\r\n }\r\n\r\n function onDealerMakeSelect() {\r\n $ctrl.onSelect({ dealerId: $ctrl.selectedDealerId, makeId: $ctrl.selectedMakeId });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./pando-survey-select.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('pandoSurveySelect', {\r\n templateUrl: '/app/components/reports/pando-survey-select.component.html',\r\n controller: PandoSurveySelectController,\r\n bindings: {\r\n defaultSurveyFamilyId: '<',\r\n defaultSurveyId: '<',\r\n showSurveySelectors: '<',\r\n onSelect: '&',\r\n onSetReportState: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction PandoSurveySelectController(_, $timeout, pandoSurveyService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.selectedSurveyFamilyId;\r\n $ctrl.selectedSurveyId;\r\n $ctrl.surveyFamilies;\r\n $ctrl.surveys;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.updateSurveys = updateSurveys;\r\n $ctrl.onSurveyFamilySurveySelect = onSurveyFamilySurveySelect;\r\n $ctrl.setReportState = setReportState;\r\n\r\n // reportState:\r\n // 0 = Report Unavailable\r\n // 1 = Report Available but no Survey Data available\r\n // 2 = Report Available and Survey Data available\r\n var REPORT_UNAVAILABLE = 0;\r\n var REPORT_AVAILABLE_WITH_NO_DATA = 1;\r\n var REPORT_AVAILABLE_WITH_DATA = 2;\r\n $ctrl.reportState;\r\n\r\n function init() {\r\n pandoSurveyService.getAccessibleSurveys()\r\n .then((surveyFamilies) => {\r\n if (surveyFamilies) {\r\n if (surveyFamilies.length > 0) {\r\n $ctrl.surveyFamilies = getSimpleSurveyFamilies(surveyFamilies);\r\n if (!$ctrl.selectedSurveyFamilyId) {\r\n $ctrl.selectedSurveyFamilyId = $ctrl.surveyFamilies[0].id;\r\n }\r\n $ctrl.surveys = getSimpleSurveys(surveyFamilies, $ctrl.selectedSurveyFamilyId);\r\n $ctrl.selectedSurveyId = $ctrl.surveys[0].id;\r\n setReportState(REPORT_AVAILABLE_WITH_DATA);\r\n } else {\r\n setReportState(REPORT_AVAILABLE_WITH_NO_DATA);\r\n }\r\n } else {\r\n setReportState(REPORT_UNAVAILABLE);\r\n }\r\n })\r\n .catch((response) => {\r\n setReportState(REPORT_UNAVAILABLE);\r\n })\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.defaultSurveyFamilyId && changes.defaultSurveyFamilyId.currentValue !== $ctrl.selectedSurveyFamilyId) {\r\n $ctrl.selectedSurveyFamilyId = $ctrl.defaultSurveyFamilyId;\r\n updateSurveys($ctrl.defaultSurveyId);\r\n }\r\n }\r\n\r\n function updateSurveys(defaultSurveyId) {\r\n pandoSurveyService.getAccessibleSurveys()\r\n .then((surveyFamilies) => {\r\n if (surveyFamilies && surveyFamilies.length > 0) {\r\n $ctrl.surveys = getSimpleSurveys(surveyFamilies, $ctrl.selectedSurveyFamilyId);\r\n\r\n if (defaultSurveyId) {\r\n $ctrl.selectedSurveyId = defaultSurveyId;\r\n }\r\n else {\r\n $ctrl.selectedSurveyId = $ctrl.surveys[0].id;\r\n onSurveyFamilySurveySelect();\r\n }\r\n setReportState(REPORT_AVAILABLE_WITH_DATA);\r\n } else {\r\n setReportState(REPORT_AVAILABLE_WITH_NO_DATA);\r\n }\r\n })\r\n .catch((response) => {\r\n setReportState(REPORT_UNAVAILABLE);\r\n })\r\n }\r\n\r\n function getSimpleSurveyFamilies(surveyFamilies) {\r\n if (surveyFamilies && surveyFamilies.length > 0) {\r\n return surveyFamilies.map(function (o) {\r\n return { id: o.ID, name: o.DisplayName }\r\n })\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n function getSimpleSurveys(surveyFamilies, surveyFamilyId) {\r\n if (surveyFamilies && surveyFamilies.length > 0) {\r\n var surveyFamily = _.find(surveyFamilies, (o) => { return o.ID === surveyFamilyId });\r\n return surveyFamily.Surveys.map(function (o) {\r\n return { id: o.ID, name: o.DisplayName, startDate: o.SurveyStartDT, endDate: o.SurveyEndDT }\r\n })\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n function setReportState(state) {\r\n $ctrl.reportState = state;\r\n $ctrl.onSetReportState({ state: state });\r\n }\r\n\r\n function onSurveyFamilySurveySelect() {\r\n $ctrl.onSelect({\r\n surveyFamilyId: $ctrl.selectedSurveyFamilyId,\r\n surveyId: $ctrl.selectedSurveyId,\r\n surveys: $ctrl.surveys,\r\n state: $ctrl.reportState\r\n });\r\n }\r\n}\r\n","import \"core-js/modules/es6.array.find\";\nHtmlTextareaController.$inject = [\"$element\", \"apiUrls\", \"logger\"];\n\n/* injects from baggage-loader */\nrequire('./html-textarea.component.html');\n\nimport angular from 'angular';\nimport { OpportunitiesModule } from '../core/opportunities.module';\nimport '../scripts/redactor';\nOpportunitiesModule.component('htmlTextarea', {\n templateUrl: '/app/components/html-textarea.component.html',\n controller: HtmlTextareaController,\n bindings: {\n textValue: '@',\n onEdit: '&'\n }\n});\n\nfunction HtmlTextareaController($element, apiUrls, logger) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.$onChanges = $onChanges;\n $ctrl.onUpdate = onUpdate;\n\n function $onChanges(changes) {\n if (changes.textValue) {\n var redactor = getRedactor();\n redactor.set($ctrl.textValue);\n }\n }\n\n function onUpdate() {\n var redactor = getRedactor();\n var data = redactor.get();\n if (data != \"\") $ctrl.onEdit({\n action: data\n });\n }\n\n function getRedactor() {\n return $ctrl.redactor = $ctrl.redactor || createRedactor();\n }\n\n function createRedactor() {\n var textArea = $element.find('.editor').redactor({\n linebreaks: true,\n buttons: ['html', 'formatting', 'bold', 'italic', 'image', 'unorderedlist', 'orderedlist', 'outdent', 'indent', 'table', 'link', 'alignment', 'horizontalrule'],\n plugins: ['button', 'layout', 'fontsize', 'fontfamily', 'fontcolor'],\n imageUpload: apiUrls.alertMiner + '/api/FileUpload/UploadImage',\n changeCallback: function changeCallback() {\n $ctrl.textValue = this.get();\n $ctrl.onEdit({\n action: $ctrl.textValue\n });\n },\n uploadErrorCallback: function uploadErrorCallback(data) {\n logger.warning(\"uploadFailedErrorMsg\");\n }\n });\n return textArea.data('redactor');\n }\n}","import \"core-js/modules/es6.array.find\";\nIframeController.$inject = [\"$auth\", \"$element\", \"$sce\", \"$state\", \"$scope\", \"globalIframeService\", \"tokenService\", \"$location\", \"storageService\"];\n\n/* injects from baggage-loader */\nrequire('./iframe.component.html');\n\nimport angular from 'angular';\nimport { ChildMessagePort } from '../utilities/messaging';\nimport { getUrlComponents } from '../utilities/url';\nangular.module('AaApp.Opp').component('aaIframe', {\n templateUrl: '/app/components/iframe.component.html',\n controller: IframeController,\n bindings: {\n src: '<'\n }\n});\n/* @ngInject */\n\nfunction IframeController($auth, $element, $sce, $state, $scope, globalIframeService, tokenService, $location, storageService) {\n var $ctrl = this;\n $ctrl.$onInit = $onInit;\n $ctrl.iframeShouldScroll = 'yes';\n $ctrl.iframeWidth = '100%';\n angular.element(\"#ui-view\").css({\n 'margin-top': '0px'\n }); // if this page is not a new report-tab report hide scroll\n\n if ($location.url().indexOf('-report') <= -1) angular.element('#aa-app')[0].style.overflowY = \"hidden\";\n\n if (isMobileiOS()) {\n $ctrl.iframeShouldScroll = 'no';\n $ctrl.iframeWidth = getMobileWidth();\n }\n\n var isAuthenticated = $auth.isAuthenticated();\n var isAutoAlertUser = tokenService.isAutoAlertUser();\n\n if (isAuthenticated && !isAutoAlertUser) {\n $state.go('errorUnauthorized');\n } // if logged in user verifiy the user has signed EULA.if not return to Accept/decline EULA screen. only allow 'user/profile' path\n\n\n if ($auth.isAuthenticated()) {\n var userProfile = storageService.getItem('userProfile');\n\n if (userProfile) {\n if (userProfile.eulaAcceptedDate == null || userProfile.eulaAcceptedDate == undefined) if ($location.url().indexOf('user/profile') <= -1) $state.go('login');\n }\n }\n\n var originalUrl = $ctrl.src;\n $ctrl.src = $sce.trustAsResourceUrl($ctrl.src);\n\n function $onInit() {\n var iframe = $element.find('iframe')[0];\n\n var _getUrlComponents = getUrlComponents(originalUrl),\n origin = _getUrlComponents.origin;\n\n var port = new ChildMessagePort(iframe, origin);\n globalIframeService.setCurrentMessagePort(port, $scope);\n\n $ctrl.$onDestroy = function () {\n return port.close();\n };\n }\n\n function isMobileiOS() {\n var isTouchDevice = 'ontouchstart' in document.documentElement;\n var isOrientationValid = window.orientation != undefined;\n var isAppleDevice = navigator.vendor.toLowerCase().indexOf('apple') > -1;\n if (isTouchDevice && isOrientationValid && isAppleDevice) return true;else return false;\n }\n\n function getMobileWidth() {\n var orientation = window.orientation;\n\n switch (orientation) {\n case 0:\n case 180:\n return window.screen.width + \"px\";\n\n case 90:\n case -90:\n return window.screen.height + \"px\";\n }\n }\n\n function readDeviceOrientation() {\n $ctrl.iframeWidth = getMobileWidth();\n }\n\n if (isMobileiOS()) window.onorientationchange = readDeviceOrientation;\n}","import \"core-js/modules/es6.array.find\";\nlegacyIframeSupportController.$inject = [\"$auth\", \"$element\", \"$sce\", \"$state\", \"$location\", \"$scope\", \"globalIframeService\", \"legacy\", \"userService\"];\n\n/* injects from baggage-loader */\nrequire('./legacy-iframe-support.component.html');\n\nimport angular from 'angular';\nimport { ChildMessagePort } from '../utilities/messaging';\nimport { getUrlComponents } from '../utilities/url';\nangular.module('AaApp.Opp').component('legacyIframeSupport', {\n templateUrl: '/app/components/legacy-iframe-support.component.html',\n controller: legacyIframeSupportController\n});\n/* @ngInject */\n\nfunction legacyIframeSupportController($auth, $element, $sce, $state, $location, $scope, globalIframeService, legacy, userService) {\n var $ctrl = this;\n var originalUrl = legacy.iframeUrl + '/Home/MessagingFrame';\n $ctrl.iframeSource = $sce.trustAsResourceUrl(originalUrl);\n $ctrl.$onInit = $onInit;\n\n function $onInit() {\n // if public pages return\n if (!$auth.isAuthenticated()) return;\n var iframe = $element.find('iframe')[0];\n\n var _getUrlComponents = getUrlComponents(originalUrl),\n origin = _getUrlComponents.origin;\n\n var port = new ChildMessagePort(iframe, origin);\n globalIframeService.setCurrentMessagePort(port, $scope); // if logged in user verifiy the user has signed EULA.if not return to Accept/decline EULA screen. only allow 'user/profile' path\n\n userService.getUserProfile().then(function (userProfile) {\n if (!userProfile.eulaAcceptedDate && $location.url().indexOf('user/profile') <= -1) $state.go('login');\n });\n\n $ctrl.$onDestroy = function () {\n return port.close();\n };\n }\n}","import \"core-js/modules/es6.array.find\";\nLoginController.$inject = [\"$element\", \"$sce\", \"$scope\", \"globalIframeService\", \"legacy\", \"legacyUrlMappings\", \"userService\"];\n\n/* injects from baggage-loader */\nrequire('./login.component.html');\n\nimport angular from 'angular';\nimport { ChildMessagePort } from '../utilities/messaging';\nimport { getUrlComponents } from '../utilities/url';\nangular.module('AaApp.Opp').component('login', {\n templateUrl: '/app/components/login.component.html',\n controller: LoginController\n});\n/* @ngInject */\n\nfunction LoginController($element, $sce, $scope, globalIframeService, legacy, legacyUrlMappings, userService) {\n var $ctrl = this;\n $ctrl.src;\n $ctrl.$onInit = $onInit;\n\n function $onInit() {\n userService.logUserLogin();\n var loginUrl = legacy.iframeUrl + legacyUrlMappings['logIn'];\n $ctrl.src = $sce.trustAsResourceUrl(loginUrl);\n var iframe = $element.find('iframe')[0];\n\n var _getUrlComponents = getUrlComponents(loginUrl),\n origin = _getUrlComponents.origin;\n\n var port = new ChildMessagePort(iframe, origin);\n globalIframeService.setCurrentMessagePort(port, $scope);\n\n $ctrl.$onDestroy = function () {\n return port.close();\n };\n }\n}","OpenModalController.$inject = [\"$document\", \"$timeout\", \"$uibModal\"];\n\n/* injects from baggage-loader */\nrequire('./open-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('openModal', {\n templateUrl: '/app/components/modals/open-modal.component.html',\n controller: OpenModalController,\n transclude: true,\n bindings: {\n component: '@',\n windowClass: '@',\n resolve: '<',\n onOpening: '&',\n onCancel: '&',\n onResult: '&'\n }\n});\n/* @ngInject */\n\nfunction OpenModalController($document, $timeout, $uibModal) {\n var $ctrl = this;\n $ctrl.open = open;\n $ctrl.currentDialog = null;\n\n function open() {\n if ($ctrl.component) {\n var onOpening = $ctrl.onOpening();\n\n if (onOpening) {\n onOpening.then(function (success) {\n if (success) {\n $timeout(function () {\n openModal();\n });\n }\n });\n } else {\n openModal();\n }\n }\n }\n\n function openModal() {\n var modalResolve = loadResolve($ctrl.resolve); // if launching the same skip.\n\n if ($ctrl.currentDialog == $ctrl.component) return;\n $ctrl.currentDialog = $ctrl.component;\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n windowClass: $ctrl.windowClass,\n component: $ctrl.component,\n resolve: modalResolve\n });\n modal.result.then(function (result) {\n $ctrl.currentDialog = null;\n $ctrl.onResult({\n result: result\n });\n }, function () {\n $ctrl.currentDialog = null;\n $ctrl.onCancel();\n });\n }\n\n function loadResolve(resolve) {\n // Input: { a: 1, b: 2 }\n // Output: { a: () => 1, b: () => 2 }\n var modalResolve = {};\n\n for (var property in resolve) {\n if (resolve.hasOwnProperty(property)) {\n (function () {\n var value = resolve[property];\n\n modalResolve[property] = function () {\n return value;\n };\n })();\n }\n }\n\n return modalResolve;\n }\n}","\n/* injects from baggage-loader */\nrequire('./announcement-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('announcementModal', {\r\n templateUrl: '/app/components/modals/announcement-modal.component.html',\r\n controller: AnnouncementModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction AnnouncementModalController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.doNotShow;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.doNotShow = false;\r\n }\r\n}\r\n\r\n","GoogleMapsModalController.$inject = [\"$q\", \"googleService\"];\n\n/* injects from baggage-loader */\nrequire('./google-maps-modal.component.html');\n\nimport angular from 'angular'; //import {getGoogle} from '../../services/google.service'\n\nangular.module('AaApp.Opp').component('googleMapsModal', {\n templateUrl: '/app/components/modals/google-maps-modal.component.html',\n controller: GoogleMapsModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&',\n address: '<'\n }\n});\n/* @ngInject */\n\nfunction GoogleMapsModalController($q, googleService) {\n var $ctrl = this;\n $ctrl.$onInit = init;\n\n function init(changes) {\n $ctrl.address = $ctrl.resolve.address;\n return $q.all({\n responses: googleService.getCoordinates($ctrl.address),\n google: googleService.getGoogle()\n }).then(function (data) {\n return setAddressCoordinates(data.responses, data.google);\n }, function (error) {\n return addressIsInvalid(error);\n });\n }\n\n function addressIsInvalid(error) {\n var node = document.createElement(\"div\");\n var textnode = document.createTextNode('The address was not found by Google Maps. Please correct the address and try again. Address: ' + $ctrl.address);\n node.appendChild(textnode);\n document.getElementById('map').appendChild(node);\n return null;\n }\n\n function setAddressCoordinates(responses, google) {\n if (responses.results.length < 1) return addressIsInvalid();\n var coords = responses.results[0].geometry.location;\n var map = new google.maps.Map(document.getElementById('map'), {\n zoom: 20,\n center: coords,\n mapTypeId: 'satellite'\n });\n var marker = new google.maps.Marker({\n position: coords,\n map: map\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./radio-group.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('radioGroup', {\r\n templateUrl: '/app/components/radio-group.component.html',\r\n controller: RadioGroupController,\r\n bindings: {\r\n options: '<',\r\n onSelect: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction RadioGroupController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.selection;\r\n $ctrl.onOptionSelect = onOptionSelect;\r\n\r\n function onOptionSelect() {\r\n $ctrl.onSelect({ selection: $ctrl.selection });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./lms-transcript-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('lmsTranscriptModal', {\r\n templateUrl: '/app/components/reports/modals/lms-transcript-modal.component.html',\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});","\n/* injects from baggage-loader */\nrequire('./lms-transcript.component.html');\n\nimport angular from 'angular';\r\n\r\n angular.module('AaApp.Opp').component('lmsTranscript', {\r\n templateUrl: '/app/components/reports/lms-transcript.component.html',\r\n controller: LmsTranscriptController,\r\n bindings: {\r\n transcript :'<'\r\n }\r\n });\r\n\r\n /* @ngInject */\r\n function LmsTranscriptController() {\r\n var $ctrl = this;\r\n $ctrl.today = new Date();\r\n }\r\n","DealerMakeSelectController.$inject = [\"dealerService\", \"vehicleService\", \"storageService\"];\n\n/* injects from baggage-loader */\nrequire('./dealer-make-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('dealerMakeSelect', {\n templateUrl: '/app/components/reports/dealer-make-select.component.html',\n controller: DealerMakeSelectController,\n bindings: {\n defaultDealerId: '<',\n defaultMakeId: '<',\n showDealers: '<',\n showMakes: '<',\n onSelect: '&',\n dealers: '<'\n }\n});\n/* @ngInject */\n\nfunction DealerMakeSelectController(dealerService, vehicleService, storageService) {\n var $ctrl = this;\n $ctrl.selectedDealerId;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.updateMakes = updateMakes;\n $ctrl.onDealerMakeSelect = onDealerMakeSelect;\n $ctrl.hasSetDefaultDealerId = false;\n\n function init() {\n $ctrl.dealers = $ctrl.dealers ? $ctrl.dealers : dealerService.getSelectedDealers();\n\n if (!$ctrl.selectedDealerId) {\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n }\n }\n\n function onChanges(changes) {\n if (changes.defaultDealerId && typeof changes.defaultDealerId.currentValue == \"number\") {\n //&& $ctrl.hasSetDefaultDealerId == false\n $ctrl.hasSetDefaultDealerId = true;\n $ctrl.selectedDealerId = $ctrl.defaultDealerId;\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\n updateMakes($ctrl.defaultMakeId);\n }\n }\n\n function updateMakes(defaultMakeId) {\n vehicleService.getMakes($ctrl.selectedDealerId != null ? [$ctrl.selectedDealerId] : null, null).then(function (makes) {\n $ctrl.makes = getSimpleMakes(makes);\n\n if (defaultMakeId) {\n $ctrl.selectedMakeId = defaultMakeId;\n } else {\n $ctrl.selectedMakeId = $ctrl.makes[0].makeId;\n onDealerMakeSelect();\n }\n });\n }\n\n function getSimpleMakes(makes) {\n if (makes && makes.length > 0) {\n var simpleMakes = makes.map(function (make) {\n return {\n makeId: make.makeID,\n makeName: make.makeName\n };\n });\n\n if (simpleMakes.length > 0) {\n simpleMakes.unshift({\n makeId: -1,\n makeName: 'All Makes'\n });\n }\n\n return simpleMakes;\n } else {\n return [{\n makeId: -1,\n makeName: 'All Makes'\n }];\n }\n }\n\n function onDealerMakeSelect() {\n $ctrl.onSelect({\n dealerId: $ctrl.selectedDealerId,\n makeId: $ctrl.selectedMakeId\n });\n }\n}","import \"core-js/modules/es6.array.find\";\nPandoSurveySelectController.$inject = [\"_\", \"$timeout\", \"pandoSurveyService\"];\n\n/* injects from baggage-loader */\nrequire('./pando-survey-select.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('pandoSurveySelect', {\n templateUrl: '/app/components/reports/pando-survey-select.component.html',\n controller: PandoSurveySelectController,\n bindings: {\n defaultSurveyFamilyId: '<',\n defaultSurveyId: '<',\n showSurveySelectors: '<',\n onSelect: '&',\n onSetReportState: '&'\n }\n});\n/* @ngInject */\n\nfunction PandoSurveySelectController(_, $timeout, pandoSurveyService) {\n var $ctrl = this;\n $ctrl.selectedSurveyFamilyId;\n $ctrl.selectedSurveyId;\n $ctrl.surveyFamilies;\n $ctrl.surveys;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.updateSurveys = updateSurveys;\n $ctrl.onSurveyFamilySurveySelect = onSurveyFamilySurveySelect;\n $ctrl.setReportState = setReportState; // reportState:\n // 0 = Report Unavailable\n // 1 = Report Available but no Survey Data available\n // 2 = Report Available and Survey Data available\n\n var REPORT_UNAVAILABLE = 0;\n var REPORT_AVAILABLE_WITH_NO_DATA = 1;\n var REPORT_AVAILABLE_WITH_DATA = 2;\n $ctrl.reportState;\n\n function init() {\n pandoSurveyService.getAccessibleSurveys().then(function (surveyFamilies) {\n if (surveyFamilies) {\n if (surveyFamilies.length > 0) {\n $ctrl.surveyFamilies = getSimpleSurveyFamilies(surveyFamilies);\n\n if (!$ctrl.selectedSurveyFamilyId) {\n $ctrl.selectedSurveyFamilyId = $ctrl.surveyFamilies[0].id;\n }\n\n $ctrl.surveys = getSimpleSurveys(surveyFamilies, $ctrl.selectedSurveyFamilyId);\n $ctrl.selectedSurveyId = $ctrl.surveys[0].id;\n setReportState(REPORT_AVAILABLE_WITH_DATA);\n } else {\n setReportState(REPORT_AVAILABLE_WITH_NO_DATA);\n }\n } else {\n setReportState(REPORT_UNAVAILABLE);\n }\n }).catch(function (response) {\n setReportState(REPORT_UNAVAILABLE);\n });\n }\n\n function onChanges(changes) {\n if (changes.defaultSurveyFamilyId && changes.defaultSurveyFamilyId.currentValue !== $ctrl.selectedSurveyFamilyId) {\n $ctrl.selectedSurveyFamilyId = $ctrl.defaultSurveyFamilyId;\n updateSurveys($ctrl.defaultSurveyId);\n }\n }\n\n function updateSurveys(defaultSurveyId) {\n pandoSurveyService.getAccessibleSurveys().then(function (surveyFamilies) {\n if (surveyFamilies && surveyFamilies.length > 0) {\n $ctrl.surveys = getSimpleSurveys(surveyFamilies, $ctrl.selectedSurveyFamilyId);\n\n if (defaultSurveyId) {\n $ctrl.selectedSurveyId = defaultSurveyId;\n } else {\n $ctrl.selectedSurveyId = $ctrl.surveys[0].id;\n onSurveyFamilySurveySelect();\n }\n\n setReportState(REPORT_AVAILABLE_WITH_DATA);\n } else {\n setReportState(REPORT_AVAILABLE_WITH_NO_DATA);\n }\n }).catch(function (response) {\n setReportState(REPORT_UNAVAILABLE);\n });\n }\n\n function getSimpleSurveyFamilies(surveyFamilies) {\n if (surveyFamilies && surveyFamilies.length > 0) {\n return surveyFamilies.map(function (o) {\n return {\n id: o.ID,\n name: o.DisplayName\n };\n });\n } else {\n return [];\n }\n }\n\n function getSimpleSurveys(surveyFamilies, surveyFamilyId) {\n if (surveyFamilies && surveyFamilies.length > 0) {\n var surveyFamily = _.find(surveyFamilies, function (o) {\n return o.ID === surveyFamilyId;\n });\n\n return surveyFamily.Surveys.map(function (o) {\n return {\n id: o.ID,\n name: o.DisplayName,\n startDate: o.SurveyStartDT,\n endDate: o.SurveyEndDT\n };\n });\n } else {\n return [];\n }\n }\n\n function setReportState(state) {\n $ctrl.reportState = state;\n $ctrl.onSetReportState({\n state: state\n });\n }\n\n function onSurveyFamilySurveySelect() {\n $ctrl.onSelect({\n surveyFamilyId: $ctrl.selectedSurveyFamilyId,\n surveyId: $ctrl.selectedSurveyId,\n surveys: $ctrl.surveys,\n state: $ctrl.reportState\n });\n }\n}","\n/* injects from baggage-loader */\n\nimport angular from 'angular';\r\n\r\nimport aaBadgeImagePath from '../../images/alertminerbadge.png';\r\nimport aaNoTrimImagePath from '../../images/vehicle-image-not-available.png';\r\nimport aaSLMImagePath from '../../images/logo-service-lead-management.svg';\r\nimport aaRepProImagePath from '../../images/logo-reputation-pro.svg';\r\nimport aaPandoImagePath from '../../images/logo-pando.svg';\r\nimport aaOneToOneImagePath from '../../images/logo-one-to-one.svg';\r\n\r\nangular.module('AaApp.Opp').component('reportRender', {\r\n controller: ReportRenderController,\r\n bindings: {\r\n reportData: '<',\r\n headerData: '<',\r\n reportLink: '<',\r\n passOptionalParameter: '<',\r\n openLmsTranscriptModal: '<'\r\n},\r\n template: '
'\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReportRenderController($sce) {\r\n var $ctrl = this;\r\n $ctrl.badgeImagePath = aaBadgeImagePath;\r\n $ctrl.noTrimImagePath = aaNoTrimImagePath;\r\n $ctrl.slmImagePath = aaSLMImagePath;\r\n $ctrl.repProImagePath = aaRepProImagePath;\r\n $ctrl.pandoImagePath = aaPandoImagePath;\r\n $ctrl.oneToOneImagePath = aaOneToOneImagePath;\r\n $ctrl.trustedReportData = null;\r\n\r\n $ctrl.$onChanges = function () {\r\n if ($ctrl.reportData) {\r\n $ctrl.trustedReportData = $sce.trustAsHtml($ctrl.reportData);\r\n }\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./reports-container.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('reportsContainer', {\r\n templateUrl: '/app/components/reports/reports-container.component.html',\r\n controller: reportsContainer,\r\n bindings: {\r\n kendo: '<',\r\n moduleIds: '<',\r\n selectedDealerIds: '<',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction reportsContainer(_, $timeout, $window, $transitions, reportsMenu) {\r\n var $ctrl = this;\r\n\r\n $ctrl.reportsMenuEnabled;\r\n $ctrl.reportsMenu = reportsMenu;\r\n $ctrl.reportsMenuVisible = true;\r\n $ctrl.reportsToggleMenu = reportsToggleMenu;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.reportsMenuEnabled = true;\r\n $transitions.onSuccess({}, function (transition) {\r\n $ctrl.reportsMenuEnabled = transition.to().name.indexOf('legacy') < 0;\r\n });\r\n }\r\n\r\n // Doing this to force a 'resize' event to be triggered so the report charts get redrawn\r\n function reportsToggleMenu() {\r\n $ctrl.reportsMenuVisible = !$ctrl.reportsMenuVisible;\r\n var event = null;\r\n try {\r\n event = new Event('resize');\r\n }\r\n catch (error) { // IE\r\n event = document.createEvent(\"Event\");\r\n event.initEvent(\"resize\", false, false);\r\n }\r\n $timeout(function () {\r\n $window.dispatchEvent(event);\r\n }, 100);\r\n }\r\n\r\n}\r\n","import \"core-js/modules/es6.array.from\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/es6.promise\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.set\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"regenerator-runtime/runtime\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.regexp.search\";\nimport \"core-js/modules/es6.function.name\";\nReportsMenuController.$inject = [\"_\", \"$state\", \"$location\", \"$transitions\", \"storageService\", \"reportService\", \"userService\", \"reportCategories\", \"dealerService\", \"environmentVariables\"];\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n/* injects from baggage-loader */\nrequire('./reports-menu.component.html');\n\nimport angular from 'angular';\nimport moment from 'moment-timezone';\nangular.module('AaApp.Opp').component('reportsMenu', {\n templateUrl: '/app/components/reports/reports-menu.component.html',\n controller: ReportsMenuController,\n bindings: {\n kendo: '<',\n moduleIds: '<'\n }\n});\n/* @ngInject */\n\nfunction ReportsMenuController(_, $state, $location, $transitions, storageService, reportService, userService, reportCategories, dealerService, environmentVariables) {\n var $ctrl = this;\n $ctrl.legacyExpirationDate;\n $ctrl.opportunitiesMenuVisible;\n $ctrl.communicationMenuVisible;\n $ctrl.oneToOneMenuVisible;\n $ctrl.autoAssistantMenuVisible;\n $ctrl.geoAlertMenuVisible;\n $ctrl.partnerExportMenuVisible;\n $ctrl.showBetaReports;\n $ctrl.oneToOneMenuDisabled;\n $ctrl.autoAssistantMenuDisabled;\n $ctrl.geoAlertMenuDisabled;\n $ctrl.partnerExportMenuDisabled;\n $ctrl.reportCategories;\n $ctrl.showLegacy;\n $ctrl.$state;\n $ctrl.isActiveMenuItem = isActiveMenuItem;\n $ctrl.$onInit = $onInit;\n $ctrl.$onChanges = $onChanges;\n $ctrl.showPerformanceReport = false;\n $ctrl.performanceReportMonthName;\n $ctrl.performanceReportYear;\n $ctrl.isAutoAlertEmployee = false;\n $ctrl.currentReportId;\n $ctrl.isActiveBetaMenuItem = isActiveBetaMenuItem;\n $ctrl.betaReportsMenu;\n $ctrl.betaReportCategories;\n $ctrl.performanceReportAvailable = false;\n $ctrl.monthlyPerformanceReportId;\n\n function $onInit() {\n $ctrl.legacyExpirationDate = new Date(2018, 0, 15);\n $ctrl.opportunitiesMenuVisible = true;\n $ctrl.communicationMenuVisible = false;\n $ctrl.oneToOneMenuDisabled = false;\n $ctrl.autoAssistantMenuDisabled = false;\n $ctrl.geoAlertMenuDisabled = false;\n $ctrl.partnerExportMenuDisabled = false;\n $ctrl.oneToOneMenuVisible = false;\n $ctrl.autoAssistantMenuVisible = false;\n $ctrl.geoAlertMenuVisible = false;\n $ctrl.partnerExportMenuVisible = false;\n $ctrl.showBetaReports = false;\n $ctrl.reportCategories = reportCategories;\n $ctrl.showLegacy = $state.current.name.indexOf('legacy') > -1 && $state.current.name.indexOf('legacyoneToOneReport') < 0; // temp for legacy one-to-one\n\n $ctrl.$state = $state;\n $ctrl.reportsMenu = reportService.getAuthorizedReports($ctrl.moduleIds);\n $ctrl.betaReportsMenu = [];\n setPerformanceReportMonthYear();\n loadMenu(); // Destroy all Kendo components so memory can be GC'd\n\n $transitions.onExit({}, function (transition, state) {\n if ($ctrl.kendo && (state.name == 'reportsContainer' || state.parent == 'reportsContainer')) {\n $ctrl.kendo.destroy('report-render');\n }\n });\n $transitions.onSuccess({}, function (transition) {\n $ctrl.showLegacy = transition.to().name.indexOf('legacy') > -1 && transition.to().name.indexOf('legacyoneToOneReport') < 0; // temp for legacy one-to-one\n\n loadMenu();\n\n if (transition.from().parent && transition.from().parent == 'reportsContainer' && (!transition.to().parent || transition.to().parent != 'reportsContainer')) {\n storageService.removeItem('reportHeaderData');\n }\n\n $ctrl.currentReportId = $location.search().id;\n });\n }\n\n function setPerformanceReportMonthYear() {\n var PERFORMANCE_REPORT_START_DAY = environmentVariables.showPerformanceReportDayOfMonth || 1;\n var cultureName = storageService.getItem('cultureName') || 'en-US';\n var now = moment().locale(cultureName);\n var dayOfMonth = now.date();\n var month = now.month();\n var prevMonth = month === 0 ? 11 : month - 1;\n var year = now.year();\n var prevYear = month === 0 ? year - 1 : year;\n $ctrl.showPerformanceReport = dayOfMonth >= PERFORMANCE_REPORT_START_DAY && $ctrl.performanceReportAvailable;\n $ctrl.performanceReportMonthName = now.month(prevMonth).format(\"MMMM\").toUpperCase();\n $ctrl.performanceReportYear = now.year(prevYear).format(\"YYYY\");\n }\n\n function loadMenu() {\n var currentMenuItem = _.find($ctrl.reportsMenu, {\n id: $state.current.name\n });\n\n if (currentMenuItem) {\n switch (currentMenuItem.category) {\n case reportCategories.opportunities:\n $ctrl.opportunitiesMenuVisible = true;\n break;\n\n case reportCategories.communication:\n $ctrl.communicationMenuVisible = true;\n break;\n\n case reportCategories.onetoone:\n $ctrl.oneToOneMenuVisible = true;\n break;\n\n case reportCategories.autoassistant:\n $ctrl.autoAssistantMenuVisible = true;\n break;\n\n case reportCategories.geoalert:\n $ctrl.geoAlertMenuVisible = true;\n break;\n\n case reportCategories.partnerExport:\n $ctrl.partnerExportMenuVisible = true;\n break;\n\n default:\n break;\n }\n }\n }\n\n function fixNullCategory(report, index, reports) {\n reports[index].CategoryName = \"Additional Reports\"; //set all Tableau reports to this category name\n }\n\n function $onChanges(changes) {\n if (changes) {\n userService.getUserProfile().then(\n /*#__PURE__*/\n function () {\n var _ref = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee(userProfile) {\n var isDealerOneTooneEnabled, isDealerAutoAssistantEnabled, isDealerGeoAlertEnabled;\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n $ctrl.reportsMenu = reportService.getAuthorizedReports($ctrl.moduleIds, userProfile.isSltUser);\n $ctrl.isAutoAlertEmployee = userProfile.employeeUser;\n $ctrl.betaReportsMenu = [];\n $ctrl.showBetaReports = false;\n reportService.getBetaReportList().then(function (results) {\n if (results && results.Success == true && results.Data && results.Data.length > 0) {\n results.Data.forEach(fixNullCategory);\n var tableauReports = [];\n results.Data.forEach(function (report) {\n if (report.Name == \"Monthly Performance Report\") {\n //Monthly Performance Report does not go into the tableauReports array\n $ctrl.monthlyPerformanceReportId = report.Id;\n $ctrl.performanceReportAvailable = true;\n } else {\n tableauReports.push(report);\n }\n });\n\n if (tableauReports.length > 0) {\n $ctrl.showBetaReports = true;\n }\n\n $ctrl.betaReportsMenu = tableauReports.sort(byCategoryThenReportName);\n $ctrl.currentReportId = $location.search().id;\n var currentBetaCategory = \"NO_CATEGORY\";\n\n if ($ctrl.currentReportId) {\n var currentReport = _.find($ctrl.betaReportsMenu, {\n Id: $ctrl.currentReportId\n });\n\n if (currentReport) {\n currentBetaCategory = currentReport.CategoryName;\n }\n }\n\n var categories = _toConsumableArray(new Set($ctrl.betaReportsMenu.map(function (r) {\n return r.CategoryName;\n })));\n\n $ctrl.betaReportCategories = categories.map(function (r) {\n var container = {};\n container.categoryName = r;\n container.isVisible = currentBetaCategory == r;\n return container;\n });\n setPerformanceReportMonthYear();\n }\n }); // If other code hasn't yet loaded the o2o status, we need to\n // load it before checking if o2o is enabled\n\n if (dealerService.dealersOneToOneStatusLoaded) {\n _context.next = 8;\n break;\n }\n\n _context.next = 8;\n return dealerService.getDealersOneToOneStatus();\n\n case 8:\n isDealerOneTooneEnabled = dealerService.getIsSomeDealerOneToOneEnabled();\n _context.next = 11;\n return dealerService.getIsSomeDealerAutoAssistantEnabled();\n\n case 11:\n isDealerAutoAssistantEnabled = _context.sent;\n _context.next = 14;\n return dealerService.getIsSomeDealerGeoAlertEnabled();\n\n case 14:\n isDealerGeoAlertEnabled = _context.sent;\n // show onetoone menu only for dealers who have onetoone enabled\n $ctrl.oneToOneMenuDisabled = !isDealerOneTooneEnabled;\n $ctrl.autoAssistantMenuDisabled = !isDealerAutoAssistantEnabled;\n $ctrl.geoAlertMenuDisabled = !isDealerGeoAlertEnabled;\n\n case 18:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }());\n }\n }\n\n function byCategoryThenReportName(report1, report2) {\n if (report1.CategoryName == report2.CategoryName) {\n if (report1.Name < report2.Name) return -1;\n if (report1.Name > report2.Name) return 1;\n return 0;\n } else {\n if (report1.CategoryName < report2.CategoryName) return -1;\n if (report1.CategoryName > report2.CategoryName) return 1;\n return 0;\n }\n }\n\n function isActiveMenuItem(menuItem) {\n return $state.current.url.indexOf(menuItem.url) > -1 || menuItem.url == \"/performance\" && $location.$$search.id == $ctrl.monthlyPerformanceReportId;\n }\n\n function isActiveBetaMenuItem(menuItem) {\n return $ctrl.currentReportId == menuItem.Id;\n }\n}","\n/* injects from baggage-loader */\nrequire('./reports-menu.component.html');\n\nimport angular from 'angular';\r\nimport moment from 'moment-timezone';\r\n\r\nangular.module('AaApp.Opp').component('reportsMenu', {\r\n templateUrl: '/app/components/reports/reports-menu.component.html',\r\n controller: ReportsMenuController,\r\n bindings: {\r\n kendo: '<',\r\n moduleIds: '<',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReportsMenuController(_, $state, $location, $transitions, storageService, reportService, userService, reportCategories, dealerService, environmentVariables) {\r\n var $ctrl = this;\r\n\r\n $ctrl.legacyExpirationDate;\r\n $ctrl.opportunitiesMenuVisible;\r\n $ctrl.communicationMenuVisible;\r\n $ctrl.oneToOneMenuVisible;\r\n $ctrl.autoAssistantMenuVisible;\r\n $ctrl.geoAlertMenuVisible;\r\n $ctrl.partnerExportMenuVisible;\r\n $ctrl.showBetaReports;\r\n $ctrl.oneToOneMenuDisabled;\r\n $ctrl.autoAssistantMenuDisabled;\r\n $ctrl.geoAlertMenuDisabled;\r\n $ctrl.partnerExportMenuDisabled;\r\n $ctrl.reportCategories;\r\n $ctrl.showLegacy;\r\n $ctrl.$state;\r\n $ctrl.isActiveMenuItem = isActiveMenuItem;\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.showPerformanceReport = false;\r\n $ctrl.performanceReportMonthName;\r\n $ctrl.performanceReportYear;\r\n $ctrl.isAutoAlertEmployee = false;\r\n $ctrl.currentReportId;\r\n $ctrl.isActiveBetaMenuItem = isActiveBetaMenuItem;\r\n $ctrl.betaReportsMenu;\r\n $ctrl.betaReportCategories;\r\n $ctrl.performanceReportAvailable = false;\r\n $ctrl.monthlyPerformanceReportId;\r\n\r\n function $onInit() {\r\n $ctrl.legacyExpirationDate = new Date(2018, 0, 15);\r\n $ctrl.opportunitiesMenuVisible = true;\r\n $ctrl.communicationMenuVisible = false;\r\n $ctrl.oneToOneMenuDisabled = false;\r\n $ctrl.autoAssistantMenuDisabled = false;\r\n $ctrl.geoAlertMenuDisabled = false;\r\n $ctrl.partnerExportMenuDisabled = false;\r\n $ctrl.oneToOneMenuVisible = false;\r\n $ctrl.autoAssistantMenuVisible = false;\r\n $ctrl.geoAlertMenuVisible = false;\r\n $ctrl.partnerExportMenuVisible = false;\r\n $ctrl.showBetaReports = false;\r\n $ctrl.reportCategories = reportCategories;\r\n $ctrl.showLegacy = ($state.current.name.indexOf('legacy') > -1 && $state.current.name.indexOf('legacyoneToOneReport') < 0); // temp for legacy one-to-one\r\n $ctrl.$state = $state;\r\n $ctrl.reportsMenu = reportService.getAuthorizedReports($ctrl.moduleIds);\r\n $ctrl.betaReportsMenu = [];\r\n\r\n setPerformanceReportMonthYear();\r\n \r\n loadMenu();\r\n\r\n // Destroy all Kendo components so memory can be GC'd\r\n $transitions.onExit({}, function (transition, state) {\r\n if ($ctrl.kendo && (state.name == 'reportsContainer' || state.parent == 'reportsContainer')) {\r\n $ctrl.kendo.destroy('report-render')\r\n }\r\n });\r\n\r\n $transitions.onSuccess({}, function (transition) {\r\n $ctrl.showLegacy = (transition.to().name.indexOf('legacy') > -1 && transition.to().name.indexOf('legacyoneToOneReport') < 0); // temp for legacy one-to-one\r\n\r\n loadMenu();\r\n\r\n if (transition.from().parent && transition.from().parent == 'reportsContainer'\r\n && (!transition.to().parent || transition.to().parent != 'reportsContainer')) {\r\n storageService.removeItem('reportHeaderData');\r\n }\r\n\r\n $ctrl.currentReportId = $location.search().id;\r\n });\r\n }\r\n\r\n function setPerformanceReportMonthYear() {\r\n const PERFORMANCE_REPORT_START_DAY = environmentVariables.showPerformanceReportDayOfMonth || 1;\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n var now = moment().locale(cultureName);\r\n var dayOfMonth = now.date();\r\n var month = now.month();\r\n var prevMonth = month === 0 ? 11 : month - 1;\r\n var year = now.year();\r\n var prevYear = month === 0 ? year - 1 : year;\r\n\r\n $ctrl.showPerformanceReport = (dayOfMonth >= PERFORMANCE_REPORT_START_DAY) && $ctrl.performanceReportAvailable;\r\n $ctrl.performanceReportMonthName = now.month(prevMonth).format(\"MMMM\").toUpperCase();\r\n $ctrl.performanceReportYear = now.year(prevYear).format(\"YYYY\");\r\n }\r\n\r\n function loadMenu() {\r\n var currentMenuItem = _.find($ctrl.reportsMenu, { id: $state.current.name });\r\n \r\n if (currentMenuItem) {\r\n switch (currentMenuItem.category) {\r\n case reportCategories.opportunities:\r\n $ctrl.opportunitiesMenuVisible = true;\r\n break;\r\n case reportCategories.communication:\r\n $ctrl.communicationMenuVisible = true;\r\n break;\r\n case reportCategories.onetoone:\r\n $ctrl.oneToOneMenuVisible = true;\r\n break;\r\n case reportCategories.autoassistant:\r\n $ctrl.autoAssistantMenuVisible = true;\r\n break;\r\n case reportCategories.geoalert:\r\n $ctrl.geoAlertMenuVisible = true;\r\n break;\r\n case reportCategories.partnerExport:\r\n $ctrl.partnerExportMenuVisible = true;\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n }\r\n\r\n function fixNullCategory(report, index, reports) {\r\n\r\n reports[index].CategoryName = \"Additional Reports\"; //set all Tableau reports to this category name\r\n }\r\n\r\n function $onChanges(changes) {\r\n\r\n if (changes) {\r\n userService.getUserProfile()\r\n .then(async (userProfile) => {\r\n $ctrl.reportsMenu = reportService.getAuthorizedReports($ctrl.moduleIds, userProfile.isSltUser);\r\n $ctrl.isAutoAlertEmployee = userProfile.employeeUser;\r\n $ctrl.betaReportsMenu = [];\r\n $ctrl.showBetaReports = false;\r\n\r\n reportService.getBetaReportList()\r\n .then((results) => {\r\n if (results && results.Success == true && results.Data && results.Data.length > 0) {\r\n results.Data.forEach(fixNullCategory);\r\n const tableauReports = [];\r\n results.Data.forEach((report) => {\r\n if (report.Name == \"Monthly Performance Report\") {\r\n //Monthly Performance Report does not go into the tableauReports array\r\n $ctrl.monthlyPerformanceReportId = report.Id;\r\n $ctrl.performanceReportAvailable = true;\r\n }\r\n else {\r\n tableauReports.push(report);\r\n }\r\n });\r\n if (tableauReports.length > 0) {\r\n $ctrl.showBetaReports = true;\r\n }\r\n\r\n $ctrl.betaReportsMenu = tableauReports.sort(byCategoryThenReportName);\r\n $ctrl.currentReportId = $location.search().id;\r\n\r\n var currentBetaCategory = \"NO_CATEGORY\";\r\n if ($ctrl.currentReportId) {\r\n var currentReport = _.find($ctrl.betaReportsMenu, { Id: $ctrl.currentReportId });\r\n if (currentReport) {\r\n currentBetaCategory = currentReport.CategoryName;\r\n }\r\n }\r\n\r\n let categories = [...new Set($ctrl.betaReportsMenu.map(r => r.CategoryName))];\r\n $ctrl.betaReportCategories = categories.map(r => {\r\n const container = {};\r\n container.categoryName = r;\r\n container.isVisible = (currentBetaCategory == r);\r\n return container;\r\n });\r\n\r\n setPerformanceReportMonthYear();\r\n }\r\n });\r\n\r\n // If other code hasn't yet loaded the o2o status, we need to\r\n // load it before checking if o2o is enabled\r\n if (!dealerService.dealersOneToOneStatusLoaded) {\r\n await dealerService.getDealersOneToOneStatus();\r\n }\r\n\r\n const isDealerOneTooneEnabled = dealerService.getIsSomeDealerOneToOneEnabled();\r\n const isDealerAutoAssistantEnabled = await dealerService.getIsSomeDealerAutoAssistantEnabled();\r\n const isDealerGeoAlertEnabled = await dealerService.getIsSomeDealerGeoAlertEnabled();\r\n\r\n // show onetoone menu only for dealers who have onetoone enabled\r\n $ctrl.oneToOneMenuDisabled = (!isDealerOneTooneEnabled);\r\n\r\n $ctrl.autoAssistantMenuDisabled = !isDealerAutoAssistantEnabled;\r\n $ctrl.geoAlertMenuDisabled = !isDealerGeoAlertEnabled;\r\n });\r\n }\r\n }\r\n\r\n function byCategoryThenReportName(report1, report2) {\r\n if (report1.CategoryName == report2.CategoryName) {\r\n if (report1.Name < report2.Name)\r\n return -1;\r\n if (report1.Name > report2.Name)\r\n return 1;\r\n return 0;\r\n\r\n } else {\r\n if (report1.CategoryName < report2.CategoryName)\r\n return -1;\r\n if (report1.CategoryName > report2.CategoryName)\r\n return 1;\r\n return 0;\r\n }\r\n }\r\n\r\n function isActiveMenuItem(menuItem) {\r\n return $state.current.url.indexOf(menuItem.url) > -1 || (menuItem.url == \"/performance\" && $location.$$search.id == $ctrl.monthlyPerformanceReportId); \r\n }\r\n\r\n function isActiveBetaMenuItem(menuItem) {\r\n return $ctrl.currentReportId == menuItem.Id;\r\n }\r\n}\r\n","ReportRenderController.$inject = [\"$sce\"];\n\n/* injects from baggage-loader */\nimport angular from 'angular';\nimport aaBadgeImagePath from '../../images/alertminerbadge.png';\nimport aaNoTrimImagePath from '../../images/vehicle-image-not-available.png';\nimport aaSLMImagePath from '../../images/logo-service-lead-management.svg';\nimport aaRepProImagePath from '../../images/logo-reputation-pro.svg';\nimport aaPandoImagePath from '../../images/logo-pando.svg';\nimport aaOneToOneImagePath from '../../images/logo-one-to-one.svg';\nangular.module('AaApp.Opp').component('reportRender', {\n controller: ReportRenderController,\n bindings: {\n reportData: '<',\n headerData: '<',\n reportLink: '<',\n passOptionalParameter: '<',\n openLmsTranscriptModal: '<'\n },\n template: '
'\n});\n/* @ngInject */\n\nfunction ReportRenderController($sce) {\n var $ctrl = this;\n $ctrl.badgeImagePath = aaBadgeImagePath;\n $ctrl.noTrimImagePath = aaNoTrimImagePath;\n $ctrl.slmImagePath = aaSLMImagePath;\n $ctrl.repProImagePath = aaRepProImagePath;\n $ctrl.pandoImagePath = aaPandoImagePath;\n $ctrl.oneToOneImagePath = aaOneToOneImagePath;\n $ctrl.trustedReportData = null;\n\n $ctrl.$onChanges = function () {\n if ($ctrl.reportData) {\n $ctrl.trustedReportData = $sce.trustAsHtml($ctrl.reportData);\n }\n };\n}","import \"core-js/modules/es6.function.name\";\nreportsContainer.$inject = [\"_\", \"$timeout\", \"$window\", \"$transitions\", \"reportsMenu\"];\n\n/* injects from baggage-loader */\nrequire('./reports-container.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('reportsContainer', {\n templateUrl: '/app/components/reports/reports-container.component.html',\n controller: reportsContainer,\n bindings: {\n kendo: '<',\n moduleIds: '<',\n selectedDealerIds: '<'\n }\n});\n/* @ngInject */\n\nfunction reportsContainer(_, $timeout, $window, $transitions, reportsMenu) {\n var $ctrl = this;\n $ctrl.reportsMenuEnabled;\n $ctrl.reportsMenu = reportsMenu;\n $ctrl.reportsMenuVisible = true;\n $ctrl.reportsToggleMenu = reportsToggleMenu;\n $ctrl.$onInit = init;\n\n function init() {\n $ctrl.reportsMenuEnabled = true;\n $transitions.onSuccess({}, function (transition) {\n $ctrl.reportsMenuEnabled = transition.to().name.indexOf('legacy') < 0;\n });\n } // Doing this to force a 'resize' event to be triggered so the report charts get redrawn\n\n\n function reportsToggleMenu() {\n $ctrl.reportsMenuVisible = !$ctrl.reportsMenuVisible;\n var event = null;\n\n try {\n event = new Event('resize');\n } catch (error) {\n // IE\n event = document.createEvent(\"Event\");\n event.initEvent(\"resize\", false, false);\n }\n\n $timeout(function () {\n $window.dispatchEvent(event);\n }, 100);\n }\n}","import \"regenerator-runtime/runtime\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.promise\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es6.array.find-index\";\nimport \"core-js/modules/es6.array.find\";\nReportsController.$inject = [\"_\", \"$q\", \"$state\", \"logger\", \"dateRangeTypes\", \"dealerService\", \"reportService\", \"dateFormatService\", \"vehicleService\", \"storageService\", \"pandoSurveyService\", \"assetTypes\", \"reportsMenu\", \"$translate\", \"$uibModal\", \"$document\", \"$logFactory\"];\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n/* injects from baggage-loader */\nrequire('./reports.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport JSZip from 'jszip';\nimport { saveAs } from 'file-saver';\nimport moment from 'moment';\nimport reportSpecs from '../../constants/reports/report-specifications';\nimport reportHeaders from '../../constants/reports/report-header-types';\nimport * as datetime from '../../utilities/datetime';\nimport './reports.scss';\nimport './reports.css'; // Two of the URLs in the mobile file are invalid (they point to non-existent files)\n// import '@progress/kendo-ui/css/mobile/kendo.blueopal.mobile.css'\n\nwindow.JSZip = JSZip; // Required for Kendo export to Excel\n\nwindow.moment = moment;\nangular.module('AaApp.Opp').component('reports', {\n templateUrl: '/app/components/reports/reports.component.html',\n controller: ReportsController,\n bindings: {\n kendo: '<',\n thisReportSpec: '<'\n }\n});\n/* @ngInject */\n\nfunction ReportsController(_, $q, $state, logger, dateRangeTypes, dealerService, reportService, dateFormatService, vehicleService, storageService, pandoSurveyService, assetTypes, reportsMenu, $translate, $uibModal, $document, $logFactory) {\n var $ctrl = this;\n var kendo; // Set in $onChanges\n\n var log = $logFactory.get();\n $ctrl.fordPilotDealerInfo;\n $ctrl.reportsEnabled = false;\n $ctrl.reportEnabled = false;\n $ctrl.optionalParams;\n $ctrl.reportPromise;\n $ctrl.reportRenderedData;\n $ctrl.reportSpecification;\n $ctrl.headerData = {\n dealerId: null,\n makeId: null,\n startDate: null,\n endDate: null,\n showReportSettings: false,\n showRefresh: false,\n dealers: [],\n makes: [],\n dateRanges: [],\n dateRangeTypes: [dateRangeTypes.day, dateRangeTypes.last7Days, dateRangeTypes.last30Days, dateRangeTypes.last90Days, dateRangeTypes.monthToDate, dateRangeTypes.yearToDate, dateRangeTypes.userInput],\n dateRangeTypeTranslateKeys: _.invert(dateRangeTypes),\n selectedDateRangeType: dateRangeTypes.last30Days,\n dateFormat: dateFormatService.getAlternateDateFormatString(),\n performanceReportDateRanges: []\n };\n $ctrl.headerData.dateRangeTypeTranslateKeys.day = 'yesterday';\n $ctrl.headerData.dateRangeTypeTranslateKeys.userInput = 'custom';\n $ctrl.headerData.dateRangeTypeTranslateKeys.MTD = 'MTD';\n $ctrl.headerData.dateRangeTypeTranslateKeys.YTD = 'YTD'; //Remove yesterday/day from list if no access to useractivity\n\n var accessTo = reportService.getAuthorizedReports(storageService.getItem('moduleIds'));\n var hasUserActivityAccess = accessTo.filter(function (x) {\n return x.id == 'userActivityReport';\n }).length > 0;\n\n if (!hasUserActivityAccess && $ctrl.headerData.dateRangeTypes.indexOf('D') > -1) {\n $ctrl.headerData.dateRangeTypes.splice($ctrl.headerData.dateRangeTypes.indexOf('D'), 1);\n }\n\n $ctrl.$onInit = init;\n $ctrl.$onChanges = $onChanges;\n $ctrl.changeDateRange = changeDateRange;\n $ctrl.datePickerSelection = datePickerSelection;\n $ctrl.generateReportExport = generateReportExport;\n $ctrl.loadReport = loadReport;\n $ctrl.loadReportPresetRange = loadReportPresetRange;\n $ctrl.reportNavigationCallback = reportNavigationCallback;\n $ctrl.updateMakes = updateMakes;\n $ctrl.updateSurveys = updateSurveys;\n $ctrl.passOptionalParameter = passOptionalParameter;\n $ctrl.onDealershipChanged = onDealershipChanged;\n $ctrl.openLmsTranscriptModal = openLmsTranscriptModal; // reportState:\n // 0 = Report Unavailable\n // 1 = Report Available but no Survey Data available\n // 2 = Report Available and Survey Data available\n\n $ctrl.REPORT_UNAVAILABLE = 0;\n $ctrl.REPORT_AVAILABLE_WITH_NO_DATA = 1;\n $ctrl.REPORT_AVAILABLE_WITH_DATA = 2;\n $ctrl.pandoReportState = $ctrl.REPORT_AVAILABLE_WITH_DATA;\n\n if ($state && $state.params) {\n // set local state params here\n if ($state.params.optionalParams) {\n $ctrl.optionalParams = $state.params.optionalParams;\n }\n } // default this to an emty array if it is not already set\n\n\n if (!$ctrl.optionalParams) {\n $ctrl.optionalParams = [];\n }\n\n function init() {\n var moduleIds = storageService.getItem('moduleIds');\n var authorizedReports = reportService.getAuthorizedReports(moduleIds);\n $ctrl.reportsEnabled = authorizedReports.length > 0;\n if (!$ctrl.reportsEnabled) return;\n var dateRangesTask = reportService.getDateRanges().then(function (dateRanges) {\n $ctrl.headerData.dateRanges = dateRanges;\n\n if ($ctrl.headerData.selectedDateRangeType != dateRangeTypes.userInput) {\n setPresetDateRange();\n }\n });\n var fordPilotStatusTask = reportService.getFordPilotStoreStatus().then(function (data) {\n $ctrl.fordPilotDealerInfo = data;\n });\n var reportHasEnterpriseVersion = $ctrl.thisReportSpec && $ctrl.thisReportSpec.enterprise;\n var dealers = dealerService.getSelectedDealers(reportHasEnterpriseVersion);\n $ctrl.headerData.dealers = dealers;\n var dealerMakesTask = getDealerMakes(dealers[0].id); // find out if user has permission to view dashboard report.\n\n var currentReport = _.find(reportsMenu, {\n 'id': $ctrl.thisReportSpec.titleKey\n });\n\n $ctrl.reportEnabled = reportService.isReportAuthorized(currentReport, moduleIds);\n if (!$ctrl.reportEnabled) return;\n var surveyTask = setPandoSurveyData();\n var perfRptTask = null;\n\n if ($ctrl.thisReportSpec.titleKey === reportSpecs.performanceReport.titleKey) {\n perfRptTask = getPerformanceReportAvailableMonths(dealers[0].id);\n }\n\n return $q.all([dateRangesTask, dealerMakesTask, fordPilotStatusTask, surveyTask, perfRptTask]).then(function () {\n loadHeaderData();\n\n if ($ctrl.thisReportSpec.titleKey === reportSpecs.performanceReport.titleKey) {\n // set date range for previous month\n $ctrl.headerData.selectedDateRangeType = dateRangeTypes.previousMonth;\n setPresetDateRange();\n }\n\n loadReport();\n });\n }\n\n function onDealershipChanged(options) {\n $ctrl.reportSpecification = getReportSpecForSelectedDealerId(options.dealerId);\n\n if ($ctrl.reportSpecification == reportSpecs.performanceReport) {\n return getPerformanceReportAvailableMonths(options.dealerId).then(function () {\n loadReport();\n });\n } else {\n loadReport();\n }\n }\n\n function $onChanges(changes) {\n if (changes.kendo && changes.kendo.currentValue) {\n kendo = changes.kendo.currentValue;\n }\n }\n\n function loadHeaderData() {\n var headerData = storageService.getItem('reportHeaderData');\n\n if (headerData) {\n if ($ctrl.headerData.dealers) {\n headerData.dealers = $ctrl.headerData.dealers;\n }\n\n if (!headerData.dealerId || headerData.dealers.findIndex(function (x) {\n return x.id == headerData.dealerId;\n }) < 0) {\n headerData.dealerId = headerData.dealers[0].id;\n }\n\n if ($ctrl.headerData.performanceReportDateRanges) {\n headerData.performanceReportDateRanges = $ctrl.headerData.performanceReportDateRanges;\n }\n\n $ctrl.headerData = headerData;\n if ($ctrl.optionalParams) updateOptionalParams(\"BaseUnits\", headerData.BaseUnits);\n } else {\n $ctrl.headerData.dealerId = $ctrl.headerData.dealers[0].id;\n\n if ($ctrl.surveyFamilies) {\n $ctrl.headerData.surveyFamilyId = $ctrl.headerData.surveyFamilies[0].id;\n $ctrl.headerData.surveyId = $ctrl.headerData.surveys[0].id;\n }\n }\n\n $ctrl.reportSpecification = getReportSpecForSelectedDealerId($ctrl.headerData.dealerId);\n }\n\n function getReportSpecForSelectedDealerId(selectedDealerId) {\n var reportHasEnterpriseVersion = $ctrl.thisReportSpec.enterprise;\n var hasSelectedEnterpriseReport = selectedDealerId === 0;\n return reportHasEnterpriseVersion && hasSelectedEnterpriseReport ? $ctrl.thisReportSpec.enterprise : $ctrl.thisReportSpec;\n }\n\n function getDealerMakes(dealerId) {\n return vehicleService.getMakes(dealerId != null ? [dealerId] : null, null).then(function (response) {\n $ctrl.headerData.makes = getSimpleMakes(response);\n $ctrl.headerData.makeId = $ctrl.headerData.makes[0].makeId;\n });\n }\n\n function getSimpleMakes(response) {\n if (response && response.length > 0) {\n var simpleMakes = response.map(function (o) {\n return {\n makeId: o.makeID,\n makeName: o.makeName\n };\n });\n\n if (simpleMakes.length > 0) {\n simpleMakes.unshift({\n makeId: -1,\n makeName: 'All Makes'\n });\n }\n\n return simpleMakes;\n } else {\n return [{\n makeId: -1,\n makeName: 'All Makes'\n }];\n }\n }\n\n function setPandoSurveyData(surveyFamilyId) {\n return pandoSurveyService.getAccessibleSurveys().then(function (surveyFamilies) {\n if (surveyFamilies) {\n if (surveyFamilies.length > 0) {\n $ctrl.headerData.surveyFamilies = getSimpleSurveyFamilies(surveyFamilies);\n $ctrl.headerData.surveyFamilyId = surveyFamilyId ? surveyFamilyId : $ctrl.headerData.surveyFamilies[0].id;\n $ctrl.headerData.surveys = getSimpleSurveys(surveyFamilies, $ctrl.headerData.surveyFamilyId);\n $ctrl.headerData.surveyId = $ctrl.headerData.surveys[0].id;\n $ctrl.pandoReportState = $ctrl.REPORT_AVAILABLE_WITH_DATA;\n } else {\n $ctrl.pandoReportState = $ctrl.REPORT_AVAILABLE_WITH_NO_DATA;\n }\n } else {\n $ctrl.pandoReportState = $ctrl.REPORT_UNAVAILABLE;\n }\n }).catch(function (response) {\n $ctrl.pandoReportState = $ctrl.REPORT_UNAVAILABLE;\n });\n }\n\n function getMonthYearLabel(date) {\n var cultureName = storageService.getItem('cultureName') || 'en-US';\n var startDate = moment(date, 'YYYY-M-D', true).locale(cultureName);\n return startDate.format(\"MMMM\") + \" \" + startDate.format(\"YYYY\");\n }\n\n function byDescendingDate(dateRange1, dateRange2) {\n if (moment(dateRange1.startDate, 'YYYY-M-D', true) > moment(dateRange2.startDate, 'YYYY-M-D', true)) {\n return -1;\n } else if (moment(dateRange1.startDate, 'YYYY-M-D', true) < moment(dateRange2.startDate, 'YYYY-M-D', true)) {\n return 1;\n } else {\n return 0;\n }\n }\n\n function getPerformanceReportAvailableMonths(dealerId) {\n return reportService.getPerformanceReportAvailableMonths(dealerId).then(function (results) {\n $ctrl.headerData.performanceReportDateRanges = [];\n\n if (results && results.length > 0) {\n // limit to 6 months:\n $ctrl.headerData.performanceReportDateRanges = results.sort(byDescendingDate).slice(0, 6).map(function (item) {\n return {\n startDate: item.startDate,\n endDate: item.endDate,\n text: getMonthYearLabel(item.startDate)\n };\n });\n }\n });\n }\n\n function getSimpleSurveyFamilies(surveyFamilies) {\n if (surveyFamilies && surveyFamilies.length > 0) {\n return surveyFamilies.map(function (o) {\n return {\n id: o.ID,\n name: o.DisplayName\n };\n });\n } else {\n return [];\n }\n }\n\n function getSimpleSurveys(surveyFamilies, surveyFamilyId) {\n if (surveyFamilies && surveyFamilies.length > 0) {\n var surveyFamily = _.find(surveyFamilies, function (o) {\n return o.ID === surveyFamilyId;\n });\n\n return surveyFamily.Surveys.map(function (o) {\n return {\n id: o.ID,\n name: o.DisplayName,\n startDate: o.SurveyStartDT,\n endDate: o.SurveyEndDT\n };\n });\n } else {\n return [];\n }\n }\n\n function setPerfReportDateRange(beginDate, endDate) {\n $ctrl.headerData.startDate = datetime.toSameLocalTimeInCurrentZone(new Date(beginDate));\n $ctrl.headerData.endDate = datetime.toSameLocalTimeInCurrentZone(new Date(endDate));\n }\n\n function setPresetDateRange() {\n if ($ctrl.headerData.selectedDateRangeType === dateRangeTypes.userInput) return;\n\n var selectedDateRange = _.find($ctrl.headerData.dateRanges, {\n code: $ctrl.headerData.selectedDateRangeType\n });\n\n $ctrl.headerData.startDate = datetime.toSameLocalTimeInCurrentZone(new Date(selectedDateRange.beginDate));\n $ctrl.headerData.endDate = datetime.toSameLocalTimeInCurrentZone(new Date(selectedDateRange.endDate));\n }\n\n function changeDateRange(dateRangeType) {\n $ctrl.headerData.selectedDateRangeType = dateRangeType;\n updateOptionalParams(\"DateRangeSelectionChanged\", true);\n setPresetDateRange();\n }\n\n function validDates() {\n return angular.isDate($ctrl.headerData.startDate) && angular.isDate($ctrl.headerData.endDate);\n }\n\n function datePickerSelection(isStart) {\n $ctrl.headerData.showRefresh = false;\n if (!validDates()) return;\n $ctrl.headerData.selectedDateRangeType = dateRangeTypes.userInput;\n\n if ($ctrl.reportSpecification.header == reportHeaders.singleDate) {\n // report is ran for 4 months starting with the first of the month, if end date is first, we roll back 1 day\n if ($ctrl.headerData.endDate.getDate() === 1) {\n var endDateTicks = new Date($ctrl.headerData.endDate).setDate(0);\n $ctrl.headerData.endDate = new Date(endDateTicks);\n }\n\n var startMonthIndex = $ctrl.headerData.endDate.getMonth() - 3;\n var startMonthTicks = new Date($ctrl.headerData.endDate).setMonth(startMonthIndex, 1);\n $ctrl.headerData.startDate = new Date(startMonthTicks);\n loadReport();\n } else {\n $ctrl.headerData.showRefresh = true;\n\n if ($ctrl.headerData.startDate > $ctrl.headerData.endDate) {\n if (isStart) {\n $ctrl.headerData.endDate = $ctrl.headerData.startDate;\n } else {\n $ctrl.headerData.startDate = $ctrl.headerData.endDate;\n }\n } else if (isInvalidDateRange()) {\n if (isStart) {\n var endDate = new Date($ctrl.headerData.startDate);\n endDate.setFullYear(endDate.getFullYear() + 1);\n $ctrl.headerData.endDate = endDate;\n } else {\n var startDate = new Date($ctrl.headerData.endDate);\n startDate.setFullYear(startDate.getFullYear() - 1);\n $ctrl.headerData.startDate = startDate;\n }\n }\n }\n\n updateOptionalParams(\"DateRangeSelectionChanged\", true);\n }\n\n function isInvalidDateRange() {\n var minDate = new Date($ctrl.headerData.endDate);\n minDate.setFullYear(minDate.getFullYear() - 1);\n var startDate = new Date($ctrl.headerData.startDate);\n return startDate < minDate;\n }\n\n function loadReportPresetRange(dateRangeType) {\n changeDateRange(dateRangeType);\n loadReport();\n }\n\n function updateMakes() {\n return getDealerMakes($ctrl.headerData.dealerId).then(loadReport);\n }\n\n function getDealerSelectionName() {\n var selectedDealer = _.find($ctrl.headerData.dealers, function (o) {\n return o.id === $ctrl.headerData.dealerId;\n });\n\n return selectedDealer.name;\n }\n\n function getMakeSelectionName() {\n var selectedMake = _.find($ctrl.headerData.makes, function (o) {\n return o.makeId === $ctrl.headerData.makeId;\n });\n\n return selectedMake ? selectedMake.makeName : '';\n }\n\n function updateSurveys() {\n return setPandoSurveyData($ctrl.headerData.surveyFamilyId).then(loadReport);\n }\n\n function getSurveyFamilySelectionName() {\n var selectedSurveyFamily = _.find($ctrl.headerData.surveyFamilies, function (s) {\n return s.id === $ctrl.headerData.surveyFamilyId;\n });\n\n return selectedSurveyFamily.name;\n }\n\n function getSurveySelectionName() {\n var selectedSurvey = _.find($ctrl.headerData.surveys, function (s) {\n return s.id === $ctrl.headerData.surveyId;\n });\n\n return selectedSurvey.name;\n }\n\n function showOneToOneExtraFields() {\n if ($ctrl.headerData.dealerId === 0) {\n return false;\n }\n\n if ($ctrl.fordPilotDealerInfo) {\n var dealerFordPilotStatus = _.find($ctrl.fordPilotDealerInfo, function (o) {\n return o.dealerID == $ctrl.headerData.dealerId;\n });\n\n return dealerFordPilotStatus.isFordPilotStore;\n } else {\n return false;\n }\n }\n\n function isDealerInFordNationalProgram() {\n if ($ctrl.headerData.dealerId === 0) {\n return $ctrl.fordPilotDealerInfo.some(function (d) {\n return d.isFordPilotStore;\n });\n }\n\n if ($ctrl.fordPilotDealerInfo) {\n var dealerFordPilotStatus = _.find($ctrl.fordPilotDealerInfo, function (o) {\n return o.dealerID == $ctrl.headerData.dealerId;\n });\n\n return dealerFordPilotStatus ? dealerFordPilotStatus.isFordPilotStore : false;\n } else {\n return false;\n }\n }\n\n function showSingleHeaderReportParam() {\n return $ctrl.headerData.dealers[0].id === 0;\n }\n\n function createReportParams(isExport, optionalParams) {\n var params = [];\n\n if (angular.isArray(optionalParams)) {\n for (var i = 0; i < optionalParams.length; i++) {\n params.push(optionalParams[i]);\n }\n }\n\n if (isExport) {\n var dealerName = getDealerSelectionName();\n var makeSelection = getMakeSelectionName();\n params.push({\n Key: 'DealerName',\n Value: dealerName\n }, {\n Key: 'Make',\n Value: makeSelection\n });\n }\n\n var isFnpDealer = isDealerInFordNationalProgram();\n\n switch ($ctrl.reportSpecification) {\n case reportSpecs.dashboardReport:\n var showSingleHeader = showSingleHeaderReportParam();\n var showO2OExtras = showOneToOneExtraFields();\n params.push({\n Key: 'MakeId',\n Value: $ctrl.headerData.makeId\n }, {\n Key: 'ShowO2OExtras',\n Value: showO2OExtras\n }, {\n Key: 'Code',\n Value: $ctrl.headerData.selectedDateRangeType\n }, {\n Key: 'ShowSingleHeader',\n Value: showSingleHeader\n });\n break;\n\n case reportSpecs.dashboardReport.enterprise:\n params.push({\n Key: 'MakeId',\n Value: $ctrl.headerData.makeId\n }, {\n Key: 'Code',\n Value: $ctrl.headerData.selectedDateRangeType\n });\n break;\n\n case reportSpecs.creditConvertReport:\n case reportSpecs.salesGrossReport:\n case reportSpecs.soldUnitsReport:\n case reportSpecs.salesGrossReport.enterprise:\n case reportSpecs.soldUnitsReport.enterprise:\n params.push({\n Key: 'isFnpDealer',\n Value: isFnpDealer\n }, {\n Key: 'MakeId',\n Value: $ctrl.headerData.makeId\n }, {\n Key: 'TimeHourOffset',\n Value: '7'\n }, {\n Key: 'ActiveTagSelectedTagIds',\n Value: $ctrl.headerData.ActiveTagSelectedTagIds\n });\n break;\n\n case reportSpecs.autoAssistantSoldUnitsReport:\n case reportSpecs.geoAlertSoldUnitsReport:\n case reportSpecs.onetoOneSoldUnitsReport:\n case reportSpecs.partnerExportSoldUnitsReport:\n params.push({\n Key: 'MakeId',\n Value: $ctrl.headerData.makeId\n }, {\n Key: 'TimeHourOffset',\n Value: '7'\n }, {\n Key: 'ActiveTagSelectedTagIds',\n Value: $ctrl.headerData.ActiveTagSelectedTagIds\n });\n break;\n\n case reportSpecs.inventoryReport:\n case reportSpecs.serviceDriveSalesPerformanceReport:\n case reportSpecs.dataCleanseReport:\n params.push({\n Key: 'MakeId',\n Value: $ctrl.headerData.makeId\n });\n break;\n\n case reportSpecs.certificationReport:\n case reportSpecs.certificationReport.enterprise:\n params.push({\n Key: 'TimeHourOffset',\n Value: '7'\n }, {\n Key: 'CertificateId',\n Value: '8'\n }); // For now we'll only be reporting on this certificate\n\n var isEnterprise = $ctrl.headerData.dealerId == 0;\n params.push({\n key: \"IsEnterprise\",\n Value: isEnterprise\n });\n break;\n\n case reportSpecs.userActivityReport:\n case reportSpecs.userActivityReport.enterprise:\n case reportSpecs.geoAlertSoldUnitsReport.enterprise:\n case reportSpecs.onetoOneSoldUnitsReport.enterprise:\n case reportSpecs.autoAssistantSoldUnitsReport.enterprise:\n case reportSpecs.serviceDriveSalesPerformanceReport.enterprise:\n case reportSpecs.serviceLaneTechnologyReport:\n case reportSpecs.autoAssistantActivityReport:\n params.push({\n Key: 'TimeHourOffset',\n Value: '7'\n });\n break;\n\n case reportSpecs.pandoSurveyReport:\n if ($ctrl.pandoReportState !== $ctrl.REPORT_AVAILABLE_WITH_DATA) return null;\n\n var survey = _.find($ctrl.headerData.surveys, function (o) {\n return o.id === $ctrl.headerData.surveyId;\n });\n\n params.push({\n Key: 'surveyId',\n Value: survey.id\n }, {\n Key: 'surveyName',\n Value: survey.name\n }, {\n Key: 'surveyStartDate',\n Value: survey.startDate\n }, {\n Key: 'surveyEndDate',\n Value: survey.endDate\n });\n break;\n\n default:\n break;\n }\n\n return params;\n }\n\n function loadReport(_x, _x2) {\n return _loadReport.apply(this, arguments);\n }\n\n function _loadReport() {\n _loadReport = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee(optionalParamKey, optionalParamValue) {\n var start, end, params, dealerId, isAutoAssistantEnabled, isGeoAlertEnabled, isNoLongerOwnsEnabled, isEmailAppendEnabled;\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n if (optionalParamKey && optionalParamValue) {\n updateOptionalParams(optionalParamKey, optionalParamValue);\n }\n\n $ctrl.headerData.showRefresh = false;\n\n if (validDates()) {\n _context.next = 4;\n break;\n }\n\n return _context.abrupt(\"return\");\n\n case 4:\n storageService.setItem('reportHeaderData', $ctrl.headerData);\n\n if ($ctrl.thisReportSpec.titleKey === \"performanceReport\") {//$ctrl.headerData.selectedDateRangeType = dateRangeTypes.previousMonth;\n //setPresetDateRange();\n //setPerfReportDateRange(beginDate, endDate);\n }\n\n start = reportService.toZuluStringFromLocalDate($ctrl.headerData.startDate);\n end = reportService.toZuluStringFromLocalDate($ctrl.headerData.endDate);\n params = createReportParams(false, $ctrl.optionalParams);\n\n if (params) {\n _context.next = 11;\n break;\n }\n\n return _context.abrupt(\"return\");\n\n case 11:\n dealerId = $ctrl.headerData.dealerId == 0 ? $ctrl.headerData.dealers[1].id : $ctrl.headerData.dealerId; // check if the dealership is Auto Assistant enabled for Auto Assistant Sold Units report.\n\n if (!($ctrl.reportSpecification.titleKey === \"autoAssistantSoldUnitsReport\")) {\n _context.next = 29;\n break;\n }\n\n _context.next = 15;\n return dealerService.getIsAssetEnabledForDealer(assetTypes.autoAssistant, dealerId);\n\n case 15:\n isAutoAssistantEnabled = _context.sent;\n\n if (isAutoAssistantEnabled) {\n _context.next = 25;\n break;\n }\n\n $ctrl.reportSpecification.header = reportHeaders.dealerOnly;\n $ctrl.reportSpecification.pdfExportEnabled = false;\n $ctrl.reportSpecification.excelExportEnabled = false;\n $ctrl.reportSpecification.subscriptionEnabled = false;\n setReportDisabledForDealerMessage();\n return _context.abrupt(\"return\");\n\n case 25:\n $ctrl.reportSpecification.header = reportHeaders.full;\n $ctrl.reportSpecification.pdfExportEnabled = true;\n $ctrl.reportSpecification.excelExportEnabled = true;\n $ctrl.reportSpecification.subscriptionEnabled = true;\n\n case 29:\n if (!($ctrl.reportSpecification.titleKey === \"geoAlertSoldUnitsReport\")) {\n _context.next = 46;\n break;\n }\n\n _context.next = 32;\n return dealerService.getIsAssetEnabledForDealer(assetTypes.geoAlert, dealerId);\n\n case 32:\n isGeoAlertEnabled = _context.sent;\n\n if (isGeoAlertEnabled) {\n _context.next = 42;\n break;\n }\n\n $ctrl.reportSpecification.header = reportHeaders.dealerOnly;\n $ctrl.reportSpecification.pdfExportEnabled = false;\n $ctrl.reportSpecification.excelExportEnabled = false;\n $ctrl.reportSpecification.subscriptionEnabled = false;\n setReportDisabledForDealerMessage();\n return _context.abrupt(\"return\");\n\n case 42:\n $ctrl.reportSpecification.header = reportHeaders.full;\n $ctrl.reportSpecification.pdfExportEnabled = true;\n $ctrl.reportSpecification.excelExportEnabled = true;\n $ctrl.reportSpecification.subscriptionEnabled = true;\n\n case 46:\n if (!($ctrl.reportSpecification.titleKey === \"onetoOneSoldUnitsReport\")) {\n _context.next = 60;\n break;\n }\n\n if (dealerService.getIsDealerOneToOneEnabled(dealerId)) {\n _context.next = 56;\n break;\n }\n\n $ctrl.reportSpecification.header = reportHeaders.dealerOnly;\n $ctrl.reportSpecification.pdfExportEnabled = false;\n $ctrl.reportSpecification.excelExportEnabled = false;\n $ctrl.reportSpecification.subscriptionEnabled = false;\n setReportDisabledForDealerMessage();\n return _context.abrupt(\"return\");\n\n case 56:\n $ctrl.reportSpecification.header = reportHeaders.full;\n $ctrl.reportSpecification.pdfExportEnabled = true;\n $ctrl.reportSpecification.excelExportEnabled = true;\n $ctrl.reportSpecification.subscriptionEnabled = true;\n\n case 60:\n if (!($ctrl.thisReportSpec.titleKey === \"dataCleanseReport\")) {\n _context.next = 71;\n break;\n }\n\n _context.next = 63;\n return dealerService.getIsDealerNoLongerOwnsEnabled(dealerId);\n\n case 63:\n isNoLongerOwnsEnabled = _context.sent;\n _context.next = 66;\n return dealerService.getIsDealerEmailAppendEnabled(dealerId);\n\n case 66:\n isEmailAppendEnabled = _context.sent;\n\n if (!(!isNoLongerOwnsEnabled && !isEmailAppendEnabled)) {\n _context.next = 71;\n break;\n }\n\n $ctrl.reportSpecification.header = reportHeaders.dealerOnly;\n setReportDisabledForDealerMessage();\n return _context.abrupt(\"return\");\n\n case 71:\n $ctrl.reportPromise = reportService.getReport($ctrl.reportSpecification, start, end, dealerId, 'html', params).then(function (reportRenderedData) {\n $ctrl.reportRenderedData = reportRenderedData;\n $ctrl.reportPromise = null;\n }).catch(function (response) {\n setReportUnavailableContent();\n });\n\n case 72:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n return _loadReport.apply(this, arguments);\n }\n\n function setReportUnavailableContent() {\n $translate(\"reportUnavailable\").then(function (response) {\n $ctrl.reportRenderedData = \"
\" + response + \"
\";\n $ctrl.reportPromise = null;\n });\n }\n\n function setReportDisabledForDealerMessage() {\n $translate($ctrl.reportSpecification.titleKey).then(function (reportTitle) {\n $translate(\"reportNotEnabledForDealer\", {\n reportName: reportTitle\n }).then(function (response) {\n $ctrl.reportRenderedData = \"
\" + response + \"
\";\n });\n });\n }\n\n function generateReportExport(type) {\n //temporary: In the future, we will simply call newReportExport(type) on all requests.\n switch ($ctrl.reportSpecification.titleKey) {\n case \"salesGrossReport\":\n case \"salesGrossEnterpriseReport\":\n case \"soldUnitsReport\":\n case \"soldUnitsEnterpriseReport\":\n case \"serviceDriveSalesPerformanceReport\":\n case \"serviceDriveEnterpriseReport\":\n case \"userActivityReport\":\n case \"userActivityEnterpriseReport\":\n case \"inventoryReport\":\n case \"autoAssistantSoldUnitsReport\":\n case \"autoAssistantSoldUnitsEnterpriseReport\":\n case \"autoAssistantActivityReport\":\n case \"geoAlertSoldUnitsReport\":\n case \"geoAlertSoldUnitsEnterpriseReport\":\n case \"onetoOneSoldUnitsReport\":\n case \"onetoOneSoldUnitsEnterpriseReport\":\n case \"certificationReport\":\n case \"certificationEnterpriseReport\":\n case \"pandoSurveyReport\":\n case \"pandoUserActivityReport\":\n case \"pandoUserActivityEnterpriseReport\":\n case \"dataCleanseReport\":\n case \"creditConvertReport\":\n case \"partnerExportSoldUnitsReport\":\n return newReportExport(type);\n\n default:\n return generateReportExportOld(type);\n }\n }\n\n function generateReportExportOld(type) {\n switch (type) {\n case 'pdf':\n return generatePdfExport();\n\n case 'excel':\n return generateExcelExport();\n\n default:\n logger.error(\"Unsupported export type: \" + type);\n }\n }\n\n function generatePdfExport() {\n // temporary...\n newReportExport('pdf');\n }\n\n function getReportTitleForExport() {\n function returnResult(title) {\n var result = title.replace(/ /g, '');\n return result;\n }\n\n return $translate($ctrl.reportSpecification.titleKey).then(returnResult);\n }\n\n function newReportExport(fileType) {\n var headerType = '';\n var extension = '';\n var info = '';\n\n switch (fileType) {\n case 'pdf':\n headerType = 'application/pdf';\n extension = \"pdf\";\n info = 'Summary';\n break;\n\n case 'excel':\n headerType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';\n extension = \"xlsx\";\n info = 'Details';\n break;\n\n default:\n logger.error(\"Unsupported export type: \" + fileType);\n }\n\n var date = moment(new Date()).format('YYYYMMDD');\n var start = reportService.toZuluStringFromLocalDate($ctrl.headerData.startDate);\n var end = reportService.toZuluStringFromLocalDate($ctrl.headerData.endDate);\n var params = createReportParams(true, $ctrl.optionalParams);\n var dealerId = $ctrl.headerData.dealerId == 0 ? $ctrl.headerData.dealers[1].id : $ctrl.headerData.dealerId; // create report export tasks\n\n var titleTask = getReportTitleForExport();\n var dataTask = reportService.getReport($ctrl.reportSpecification, start, end, dealerId, fileType, params); // run all tasks and save the result\n\n $ctrl.reportPromise = $q.all([titleTask, dataTask]).then(function (responses) {\n var title = responses[0];\n var response = responses[1];\n $ctrl.reportPromise = null;\n var fileName = \"\".concat(title, \"-\").concat(info, \"-\").concat(date, \".\").concat(extension);\n $ctrl.headerData.showReportSettings = false;\n\n try {\n var blob = new Blob([response.data], {\n type: headerType\n });\n saveAs(blob, fileName);\n } catch (e) {\n log.log(e);\n }\n }).catch(function (responses) {\n setReportUnavailableContent();\n });\n }\n\n function generateExcelExport() {\n // Need to save multiple grids in separate sheets in the same excel file\n // http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/excel/multiple-grid-export\n return getSheets().then(function (sheets) {\n if (sheets.length == 0) {\n // TODO: localize\n logger.info(\"This report cannot be exported to Excel\");\n return;\n }\n\n var fileName = createFileName('report', '.xlsx');\n var workbook = new kendo.ooxml.Workbook({\n sheets: sheets,\n fileName: fileName\n });\n return kendo.saveAs({\n fileName: fileName,\n dataURI: workbook.toDataURL()\n });\n });\n\n function getSheets() {\n var grids = $('.k-grid').not('.inner-grid');\n var promises = grids.map(function (i, el) {\n return new Promise(function (resolve, reject) {\n var grid = $(el).data('kendoGrid');\n grid.bind('excelExport', function (e) {\n e.preventDefault();\n\n try {\n var sheet = e.workbook.sheets[0];\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = sheet.columns[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var column = _step.value;\n column.width = 120;\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n resolve(sheet);\n } catch (e) {\n reject(e);\n }\n });\n grid.saveAsExcel();\n });\n });\n return Promise.all(promises);\n }\n\n function createFileName(name, extension) {\n return name + kendo.toString(new Date(), \" yyyy-MM-dd hh-mm-ss\") + extension;\n }\n }\n\n function reportNavigationCallback(reportInfo) {\n var report = reportSpecs[reportInfo.name];\n\n if (!report) {\n throw new Error('This report does not exist: ' + reportInfo.name);\n }\n\n $ctrl.reportSpecification = report;\n\n if (reportInfo.dealerId) {\n $ctrl.headerData.dealerId = reportInfo.dealerId;\n storageService.setItem('reportHeaderData', $ctrl.headerData);\n }\n\n switch ($ctrl.reportSpecification) {\n case reportSpecs.soldUnitsReport:\n case reportSpecs.salesGrossReport:\n updateOptionalParams('ShowValidatedOnly', reportInfo.validatedOnly);\n break;\n\n default:\n break;\n }\n\n $state.go(reportInfo.name, {\n optionalParams: $ctrl.optionalParams\n }, {\n reload: true,\n inherit: true,\n notify: true\n });\n }\n\n function passOptionalParameter(toggleInfo) {\n updateOptionalParams(toggleInfo.name, toggleInfo.value);\n $ctrl.headerData[toggleInfo.name] = toggleInfo.value;\n storageService.setItem('reportHeaderData', $ctrl.headerData);\n }\n\n function updateOptionalParams(key, value) {\n // if this key exists in optionalParams then update the value\n if ($ctrl.optionalParams.some(function (o) {\n return o.Key === key;\n })) {\n var idx = $ctrl.optionalParams.findIndex(function (o) {\n return o.Key === key;\n });\n $ctrl.optionalParams[idx].Value = value;\n } else {\n // otherwise add the key value pair to the optionalParms array\n $ctrl.optionalParams.push({\n Key: key,\n Value: value\n });\n }\n }\n\n function getLmsTranscript(userId) {\n return reportService.getLmsTranscript(userId).then(function (response) {\n return response.data;\n });\n }\n\n function openLmsTranscriptModal(userId) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n windowClass: 'large-modal',\n component: 'lmsTranscriptModal',\n resolve: {\n transcript: function transcript() {\n return getLmsTranscript(userId);\n }\n }\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./reports.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport JSZip from 'jszip';\r\nimport { saveAs } from 'file-saver';\r\nimport moment from 'moment';\r\n\r\nimport reportSpecs from '../../constants/reports/report-specifications';\r\nimport reportHeaders from '../../constants/reports/report-header-types';\r\nimport * as datetime from '../../utilities/datetime';\r\n\r\nimport './reports.scss';\r\nimport './reports.css';\r\n\r\n// Two of the URLs in the mobile file are invalid (they point to non-existent files)\r\n// import '@progress/kendo-ui/css/mobile/kendo.blueopal.mobile.css'\r\n\r\nwindow.JSZip = JSZip; // Required for Kendo export to Excel\r\nwindow.moment = moment;\r\n\r\nangular.module('AaApp.Opp').component('reports', {\r\n templateUrl: '/app/components/reports/reports.component.html',\r\n controller: ReportsController,\r\n bindings: {\r\n kendo: '<',\r\n thisReportSpec: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReportsController(_, $q, $state, logger, dateRangeTypes, dealerService, reportService, dateFormatService,\r\n vehicleService, storageService, pandoSurveyService, assetTypes, reportsMenu, $translate, $uibModal, $document, $logFactory) {\r\n var $ctrl = this;\r\n var kendo; // Set in $onChanges\r\n const log = $logFactory.get();\r\n\r\n $ctrl.fordPilotDealerInfo;\r\n $ctrl.reportsEnabled = false;\r\n $ctrl.reportEnabled = false;\r\n $ctrl.optionalParams;\r\n $ctrl.reportPromise;\r\n $ctrl.reportRenderedData;\r\n $ctrl.reportSpecification;\r\n $ctrl.headerData = {\r\n dealerId: null,\r\n makeId: null,\r\n startDate: null,\r\n endDate: null,\r\n showReportSettings: false,\r\n showRefresh: false,\r\n dealers: [],\r\n makes: [],\r\n dateRanges: [],\r\n dateRangeTypes: [\r\n dateRangeTypes.day,\r\n dateRangeTypes.last7Days,\r\n dateRangeTypes.last30Days,\r\n dateRangeTypes.last90Days,\r\n dateRangeTypes.monthToDate,\r\n dateRangeTypes.yearToDate,\r\n dateRangeTypes.userInput\r\n ],\r\n dateRangeTypeTranslateKeys: _.invert(dateRangeTypes),\r\n selectedDateRangeType: dateRangeTypes.last30Days,\r\n dateFormat: dateFormatService.getAlternateDateFormatString(),\r\n performanceReportDateRanges: []\r\n };\r\n $ctrl.headerData.dateRangeTypeTranslateKeys.day = 'yesterday';\r\n $ctrl.headerData.dateRangeTypeTranslateKeys.userInput = 'custom';\r\n $ctrl.headerData.dateRangeTypeTranslateKeys.MTD = 'MTD';\r\n $ctrl.headerData.dateRangeTypeTranslateKeys.YTD = 'YTD';\r\n\r\n //Remove yesterday/day from list if no access to useractivity\r\n var accessTo = reportService.getAuthorizedReports(storageService.getItem('moduleIds'));\r\n var hasUserActivityAccess = accessTo.filter((x) => {\r\n return x.id == 'userActivityReport';\r\n }).length > 0;\r\n if (!hasUserActivityAccess && $ctrl.headerData.dateRangeTypes.indexOf('D') > -1) {\r\n $ctrl.headerData.dateRangeTypes.splice($ctrl.headerData.dateRangeTypes.indexOf('D'), 1);\r\n }\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.changeDateRange = changeDateRange;\r\n $ctrl.datePickerSelection = datePickerSelection;\r\n $ctrl.generateReportExport = generateReportExport;\r\n $ctrl.loadReport = loadReport;\r\n $ctrl.loadReportPresetRange = loadReportPresetRange;\r\n $ctrl.reportNavigationCallback = reportNavigationCallback;\r\n $ctrl.updateMakes = updateMakes;\r\n $ctrl.updateSurveys = updateSurveys;\r\n $ctrl.passOptionalParameter = passOptionalParameter;\r\n $ctrl.onDealershipChanged = onDealershipChanged;\r\n $ctrl.openLmsTranscriptModal = openLmsTranscriptModal;\r\n\r\n // reportState:\r\n // 0 = Report Unavailable\r\n // 1 = Report Available but no Survey Data available\r\n // 2 = Report Available and Survey Data available\r\n $ctrl.REPORT_UNAVAILABLE = 0;\r\n $ctrl.REPORT_AVAILABLE_WITH_NO_DATA = 1;\r\n $ctrl.REPORT_AVAILABLE_WITH_DATA = 2;\r\n $ctrl.pandoReportState = $ctrl.REPORT_AVAILABLE_WITH_DATA;\r\n\r\n if ($state && $state.params) {\r\n // set local state params here\r\n if ($state.params.optionalParams) {\r\n $ctrl.optionalParams = $state.params.optionalParams;\r\n }\r\n }\r\n // default this to an emty array if it is not already set\r\n if (!$ctrl.optionalParams) {\r\n $ctrl.optionalParams = [];\r\n }\r\n\r\n function init() {\r\n var moduleIds = storageService.getItem('moduleIds');\r\n var authorizedReports = reportService.getAuthorizedReports(moduleIds)\r\n $ctrl.reportsEnabled = authorizedReports.length > 0;\r\n if (!$ctrl.reportsEnabled)\r\n return;\r\n\r\n var dateRangesTask = reportService.getDateRanges().then(function (dateRanges) {\r\n $ctrl.headerData.dateRanges = dateRanges;\r\n if ($ctrl.headerData.selectedDateRangeType != dateRangeTypes.userInput) {\r\n setPresetDateRange();\r\n }\r\n });\r\n\r\n var fordPilotStatusTask = reportService.getFordPilotStoreStatus().then(function (data) {\r\n $ctrl.fordPilotDealerInfo = data;\r\n });\r\n\r\n let reportHasEnterpriseVersion = $ctrl.thisReportSpec && $ctrl.thisReportSpec.enterprise;\r\n\r\n var dealers = dealerService.getSelectedDealers(reportHasEnterpriseVersion);\r\n $ctrl.headerData.dealers = dealers;\r\n\r\n var dealerMakesTask = getDealerMakes(dealers[0].id);\r\n\r\n // find out if user has permission to view dashboard report.\r\n var currentReport = _.find(reportsMenu, { 'id': $ctrl.thisReportSpec.titleKey });\r\n $ctrl.reportEnabled = reportService.isReportAuthorized(currentReport, moduleIds);\r\n if (!$ctrl.reportEnabled)\r\n return;\r\n\r\n var surveyTask = setPandoSurveyData();\r\n var perfRptTask = null;\r\n if ($ctrl.thisReportSpec.titleKey === reportSpecs.performanceReport.titleKey) {\r\n perfRptTask = getPerformanceReportAvailableMonths(dealers[0].id);\r\n }\r\n\r\n return $q.all([dateRangesTask, dealerMakesTask, fordPilotStatusTask, surveyTask, perfRptTask]).then(function () {\r\n loadHeaderData();\r\n if ($ctrl.thisReportSpec.titleKey === reportSpecs.performanceReport.titleKey) {\r\n // set date range for previous month\r\n $ctrl.headerData.selectedDateRangeType = dateRangeTypes.previousMonth;\r\n setPresetDateRange();\r\n }\r\n loadReport();\r\n });\r\n }\r\n\r\n function onDealershipChanged(options) {\r\n $ctrl.reportSpecification = getReportSpecForSelectedDealerId(options.dealerId);\r\n if ($ctrl.reportSpecification == reportSpecs.performanceReport) {\r\n return getPerformanceReportAvailableMonths(options.dealerId).then(function () {\r\n loadReport();\r\n });\r\n }\r\n else {\r\n loadReport();\r\n }\r\n }\r\n\r\n function $onChanges(changes) {\r\n if (changes.kendo && changes.kendo.currentValue) {\r\n kendo = changes.kendo.currentValue;\r\n }\r\n }\r\n\r\n function loadHeaderData() {\r\n var headerData = storageService.getItem('reportHeaderData');\r\n if (headerData) {\r\n if ($ctrl.headerData.dealers) {\r\n headerData.dealers = $ctrl.headerData.dealers;\r\n }\r\n if (!headerData.dealerId || headerData.dealers.findIndex(x => x.id == headerData.dealerId) < 0) {\r\n headerData.dealerId = headerData.dealers[0].id;\r\n }\r\n if ($ctrl.headerData.performanceReportDateRanges) {\r\n headerData.performanceReportDateRanges = $ctrl.headerData.performanceReportDateRanges;\r\n }\r\n $ctrl.headerData = headerData;\r\n if ($ctrl.optionalParams)\r\n updateOptionalParams(\"BaseUnits\", headerData.BaseUnits);\r\n } else {\r\n $ctrl.headerData.dealerId = $ctrl.headerData.dealers[0].id;\r\n if ($ctrl.surveyFamilies) {\r\n $ctrl.headerData.surveyFamilyId = $ctrl.headerData.surveyFamilies[0].id;\r\n $ctrl.headerData.surveyId = $ctrl.headerData.surveys[0].id;\r\n }\r\n }\r\n $ctrl.reportSpecification = getReportSpecForSelectedDealerId($ctrl.headerData.dealerId);\r\n }\r\n\r\n function getReportSpecForSelectedDealerId(selectedDealerId) {\r\n const reportHasEnterpriseVersion = $ctrl.thisReportSpec.enterprise;\r\n const hasSelectedEnterpriseReport = selectedDealerId === 0;\r\n return reportHasEnterpriseVersion && hasSelectedEnterpriseReport\r\n ? $ctrl.thisReportSpec.enterprise\r\n : $ctrl.thisReportSpec;\r\n }\r\n\r\n function getDealerMakes(dealerId) {\r\n return vehicleService.getMakes(dealerId != null ? [dealerId] : null, null).then(function (response) {\r\n $ctrl.headerData.makes = getSimpleMakes(response);\r\n $ctrl.headerData.makeId = $ctrl.headerData.makes[0].makeId;\r\n });\r\n }\r\n\r\n function getSimpleMakes(response) {\r\n if (response && response.length > 0) {\r\n var simpleMakes = response.map(function (o) {\r\n return { makeId: o.makeID, makeName: o.makeName }\r\n });\r\n if (simpleMakes.length > 0) {\r\n simpleMakes.unshift({ makeId: -1, makeName: 'All Makes' });\r\n }\r\n return simpleMakes;\r\n } else {\r\n return [{ makeId: -1, makeName: 'All Makes' }];\r\n }\r\n }\r\n\r\n function setPandoSurveyData(surveyFamilyId) {\r\n return pandoSurveyService.getAccessibleSurveys()\r\n .then((surveyFamilies) => {\r\n if (surveyFamilies) {\r\n if (surveyFamilies.length > 0) {\r\n $ctrl.headerData.surveyFamilies = getSimpleSurveyFamilies(surveyFamilies);\r\n $ctrl.headerData.surveyFamilyId = surveyFamilyId\r\n ? surveyFamilyId\r\n : $ctrl.headerData.surveyFamilies[0].id;\r\n\r\n $ctrl.headerData.surveys = getSimpleSurveys(surveyFamilies, $ctrl.headerData.surveyFamilyId);\r\n $ctrl.headerData.surveyId = $ctrl.headerData.surveys[0].id;\r\n $ctrl.pandoReportState = $ctrl.REPORT_AVAILABLE_WITH_DATA;\r\n } else {\r\n $ctrl.pandoReportState = $ctrl.REPORT_AVAILABLE_WITH_NO_DATA;\r\n }\r\n } else {\r\n $ctrl.pandoReportState = $ctrl.REPORT_UNAVAILABLE;\r\n }\r\n })\r\n .catch((response) => {\r\n $ctrl.pandoReportState = $ctrl.REPORT_UNAVAILABLE;\r\n })\r\n }\r\n\r\n function getMonthYearLabel(date) {\r\n const cultureName = storageService.getItem('cultureName') || 'en-US';\r\n var startDate = moment(date, 'YYYY-M-D', true).locale(cultureName);\r\n return startDate.format(\"MMMM\") + \" \" + startDate.format(\"YYYY\");\r\n }\r\n\r\n function byDescendingDate(dateRange1, dateRange2) {\r\n if (moment(dateRange1.startDate, 'YYYY-M-D', true) > moment(dateRange2.startDate, 'YYYY-M-D', true)) {\r\n return -1;\r\n } else if (moment(dateRange1.startDate, 'YYYY-M-D', true) < moment(dateRange2.startDate, 'YYYY-M-D', true)) {\r\n return 1;\r\n } else {\r\n return 0;\r\n }\r\n }\r\n\r\n function getPerformanceReportAvailableMonths(dealerId) {\r\n return reportService.getPerformanceReportAvailableMonths(dealerId)\r\n .then((results) => {\r\n $ctrl.headerData.performanceReportDateRanges = [];\r\n if (results && results.length > 0) {\r\n // limit to 6 months:\r\n $ctrl.headerData.performanceReportDateRanges = results.sort(byDescendingDate).slice(0, 6).map(item => ({\r\n startDate: item.startDate,\r\n endDate: item.endDate,\r\n text: getMonthYearLabel(item.startDate)\r\n }));\r\n }\r\n });\r\n }\r\n\r\n function getSimpleSurveyFamilies(surveyFamilies) {\r\n if (surveyFamilies && surveyFamilies.length > 0) {\r\n return surveyFamilies.map(function (o) {\r\n return { id: o.ID, name: o.DisplayName }\r\n })\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n function getSimpleSurveys(surveyFamilies, surveyFamilyId) {\r\n if (surveyFamilies && surveyFamilies.length > 0) {\r\n var surveyFamily = _.find(surveyFamilies, (o) => { return o.ID === surveyFamilyId });\r\n return surveyFamily.Surveys.map(function (o) {\r\n return { id: o.ID, name: o.DisplayName, startDate: o.SurveyStartDT, endDate: o.SurveyEndDT }\r\n })\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n function setPerfReportDateRange(beginDate, endDate) {\r\n\r\n $ctrl.headerData.startDate = datetime.toSameLocalTimeInCurrentZone(new Date(beginDate));\r\n $ctrl.headerData.endDate = datetime.toSameLocalTimeInCurrentZone(new Date(endDate));\r\n }\r\n\r\n function setPresetDateRange() {\r\n if ($ctrl.headerData.selectedDateRangeType === dateRangeTypes.userInput)\r\n return;\r\n\r\n var selectedDateRange = _.find($ctrl.headerData.dateRanges, { code: $ctrl.headerData.selectedDateRangeType });\r\n $ctrl.headerData.startDate = datetime.toSameLocalTimeInCurrentZone(new Date(selectedDateRange.beginDate));\r\n $ctrl.headerData.endDate = datetime.toSameLocalTimeInCurrentZone(new Date(selectedDateRange.endDate));\r\n }\r\n\r\n function changeDateRange(dateRangeType) {\r\n $ctrl.headerData.selectedDateRangeType = dateRangeType;\r\n updateOptionalParams(\"DateRangeSelectionChanged\", true);\r\n setPresetDateRange();\r\n }\r\n\r\n function validDates() {\r\n return angular.isDate($ctrl.headerData.startDate) && angular.isDate($ctrl.headerData.endDate);\r\n }\r\n\r\n function datePickerSelection(isStart) {\r\n $ctrl.headerData.showRefresh = false;\r\n if (!validDates()) return;\r\n\r\n $ctrl.headerData.selectedDateRangeType = dateRangeTypes.userInput;\r\n if ($ctrl.reportSpecification.header == reportHeaders.singleDate) {\r\n // report is ran for 4 months starting with the first of the month, if end date is first, we roll back 1 day\r\n if ($ctrl.headerData.endDate.getDate() === 1) {\r\n var endDateTicks = new Date($ctrl.headerData.endDate).setDate(0);\r\n $ctrl.headerData.endDate = new Date(endDateTicks);\r\n }\r\n var startMonthIndex = $ctrl.headerData.endDate.getMonth() - 3;\r\n var startMonthTicks = new Date($ctrl.headerData.endDate).setMonth(startMonthIndex, 1);\r\n $ctrl.headerData.startDate = new Date(startMonthTicks);\r\n loadReport();\r\n } else {\r\n $ctrl.headerData.showRefresh = true;\r\n if ($ctrl.headerData.startDate > $ctrl.headerData.endDate) {\r\n if (isStart) {\r\n $ctrl.headerData.endDate = $ctrl.headerData.startDate;\r\n } else {\r\n $ctrl.headerData.startDate = $ctrl.headerData.endDate;\r\n }\r\n }\r\n else if (isInvalidDateRange()) {\r\n if (isStart) {\r\n var endDate = new Date($ctrl.headerData.startDate);\r\n endDate.setFullYear(endDate.getFullYear() + 1);\r\n\r\n $ctrl.headerData.endDate = endDate;\r\n } else {\r\n var startDate = new Date($ctrl.headerData.endDate);\r\n startDate.setFullYear(startDate.getFullYear() - 1);\r\n\r\n $ctrl.headerData.startDate = startDate;\r\n }\r\n }\r\n }\r\n updateOptionalParams(\"DateRangeSelectionChanged\", true);\r\n }\r\n\r\n function isInvalidDateRange() {\r\n var minDate = new Date($ctrl.headerData.endDate);\r\n minDate.setFullYear(minDate.getFullYear() - 1);\r\n\r\n var startDate = new Date($ctrl.headerData.startDate);\r\n return startDate < minDate;\r\n }\r\n\r\n function loadReportPresetRange(dateRangeType) {\r\n changeDateRange(dateRangeType);\r\n loadReport();\r\n }\r\n\r\n function updateMakes() {\r\n return getDealerMakes($ctrl.headerData.dealerId).then(loadReport);\r\n }\r\n\r\n function getDealerSelectionName() {\r\n var selectedDealer = _.find($ctrl.headerData.dealers, function (o) { return o.id === $ctrl.headerData.dealerId });\r\n return selectedDealer.name;\r\n }\r\n\r\n function getMakeSelectionName() {\r\n var selectedMake = _.find($ctrl.headerData.makes, function (o) { return o.makeId === $ctrl.headerData.makeId });\r\n \r\n return (selectedMake) ? selectedMake.makeName : '';\r\n }\r\n\r\n function updateSurveys() {\r\n return setPandoSurveyData($ctrl.headerData.surveyFamilyId).then(loadReport);\r\n }\r\n\r\n function getSurveyFamilySelectionName() {\r\n var selectedSurveyFamily = _.find($ctrl.headerData.surveyFamilies, function (s) { return s.id === $ctrl.headerData.surveyFamilyId; });\r\n return selectedSurveyFamily.name;\r\n }\r\n\r\n function getSurveySelectionName() {\r\n var selectedSurvey = _.find($ctrl.headerData.surveys, function (s) { return s.id === $ctrl.headerData.surveyId; });\r\n return selectedSurvey.name;\r\n }\r\n\r\n function showOneToOneExtraFields() {\r\n if ($ctrl.headerData.dealerId === 0) { return false; }\r\n\r\n if ($ctrl.fordPilotDealerInfo) {\r\n var dealerFordPilotStatus = _.find($ctrl.fordPilotDealerInfo, function (o) { return o.dealerID == $ctrl.headerData.dealerId });\r\n return dealerFordPilotStatus.isFordPilotStore;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n function isDealerInFordNationalProgram() {\r\n if ($ctrl.headerData.dealerId === 0) {\r\n return $ctrl.fordPilotDealerInfo.some(function (d) { return d.isFordPilotStore; });\r\n }\r\n if ($ctrl.fordPilotDealerInfo) {\r\n var dealerFordPilotStatus = _.find($ctrl.fordPilotDealerInfo, function (o) { return o.dealerID == $ctrl.headerData.dealerId });\r\n return dealerFordPilotStatus ? dealerFordPilotStatus.isFordPilotStore : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n\r\n function showSingleHeaderReportParam() {\r\n return $ctrl.headerData.dealers[0].id === 0;\r\n }\r\n\r\n function createReportParams(isExport, optionalParams) {\r\n var params = [];\r\n if (angular.isArray(optionalParams)) {\r\n for (var i = 0; i < optionalParams.length; i++) {\r\n params.push(optionalParams[i]);\r\n }\r\n }\r\n if (isExport) {\r\n var dealerName = getDealerSelectionName();\r\n var makeSelection = getMakeSelectionName();\r\n params.push({ Key: 'DealerName', Value: dealerName }, { Key: 'Make', Value: makeSelection });\r\n }\r\n var isFnpDealer = isDealerInFordNationalProgram();\r\n switch ($ctrl.reportSpecification) {\r\n case reportSpecs.dashboardReport:\r\n var showSingleHeader = showSingleHeaderReportParam();\r\n var showO2OExtras = showOneToOneExtraFields();\r\n params.push({ Key: 'MakeId', Value: $ctrl.headerData.makeId }, { Key: 'ShowO2OExtras', Value: showO2OExtras }, { Key: 'Code', Value: $ctrl.headerData.selectedDateRangeType }, { Key: 'ShowSingleHeader', Value: showSingleHeader });\r\n break;\r\n case reportSpecs.dashboardReport.enterprise:\r\n params.push({ Key: 'MakeId', Value: $ctrl.headerData.makeId }, { Key: 'Code', Value: $ctrl.headerData.selectedDateRangeType });\r\n break;\r\n case reportSpecs.creditConvertReport:\r\n case reportSpecs.salesGrossReport:\r\n case reportSpecs.soldUnitsReport:\r\n case reportSpecs.salesGrossReport.enterprise:\r\n case reportSpecs.soldUnitsReport.enterprise:\r\n params.push({ Key: 'isFnpDealer', Value: isFnpDealer }, \r\n { Key: 'MakeId', Value: $ctrl.headerData.makeId }, \r\n { Key: 'TimeHourOffset', Value: '7' },\r\n { Key: 'ActiveTagSelectedTagIds', Value: $ctrl.headerData.ActiveTagSelectedTagIds});\r\n break;\r\n case reportSpecs.autoAssistantSoldUnitsReport:\r\n case reportSpecs.geoAlertSoldUnitsReport:\r\n case reportSpecs.onetoOneSoldUnitsReport:\r\n case reportSpecs.partnerExportSoldUnitsReport:\r\n params.push({ Key: 'MakeId', Value: $ctrl.headerData.makeId },\r\n { Key: 'TimeHourOffset', Value: '7' },\r\n { Key: 'ActiveTagSelectedTagIds', Value: $ctrl.headerData.ActiveTagSelectedTagIds});\r\n break;\r\n case reportSpecs.inventoryReport:\r\n case reportSpecs.serviceDriveSalesPerformanceReport:\r\n case reportSpecs.dataCleanseReport:\r\n params.push({ Key: 'MakeId', Value: $ctrl.headerData.makeId });\r\n break;\r\n case reportSpecs.certificationReport:\r\n case reportSpecs.certificationReport.enterprise:\r\n params.push({ Key: 'TimeHourOffset', Value: '7' }, { Key: 'CertificateId', Value: '8' }); // For now we'll only be reporting on this certificate\r\n var isEnterprise = ($ctrl.headerData.dealerId == 0);\r\n params.push({ key: \"IsEnterprise\", Value: isEnterprise });\r\n break;\r\n case reportSpecs.userActivityReport:\r\n case reportSpecs.userActivityReport.enterprise:\r\n case reportSpecs.geoAlertSoldUnitsReport.enterprise:\r\n case reportSpecs.onetoOneSoldUnitsReport.enterprise:\r\n case reportSpecs.autoAssistantSoldUnitsReport.enterprise:\r\n case reportSpecs.serviceDriveSalesPerformanceReport.enterprise:\r\n case reportSpecs.serviceLaneTechnologyReport:\r\n case reportSpecs.autoAssistantActivityReport:\r\n params.push({ Key: 'TimeHourOffset', Value: '7' });\r\n break;\r\n case reportSpecs.pandoSurveyReport:\r\n if ($ctrl.pandoReportState !== $ctrl.REPORT_AVAILABLE_WITH_DATA) return null;\r\n\r\n var survey = _.find($ctrl.headerData.surveys, function (o) { return o.id === $ctrl.headerData.surveyId; });\r\n params.push(\r\n { Key: 'surveyId', Value: survey.id },\r\n { Key: 'surveyName', Value: survey.name },\r\n { Key: 'surveyStartDate', Value: survey.startDate },\r\n { Key: 'surveyEndDate', Value: survey.endDate }\r\n );\r\n break;\r\n default:\r\n break;\r\n }\r\n return params;\r\n }\r\n\r\n async function loadReport(optionalParamKey, optionalParamValue) {\r\n if (optionalParamKey && optionalParamValue) {\r\n updateOptionalParams(optionalParamKey, optionalParamValue);\r\n }\r\n \r\n $ctrl.headerData.showRefresh = false;\r\n if (!validDates()) return;\r\n storageService.setItem('reportHeaderData', $ctrl.headerData);\r\n\r\n if ($ctrl.thisReportSpec.titleKey === \"performanceReport\") {\r\n //$ctrl.headerData.selectedDateRangeType = dateRangeTypes.previousMonth;\r\n //setPresetDateRange();\r\n //setPerfReportDateRange(beginDate, endDate);\r\n }\r\n var start = reportService.toZuluStringFromLocalDate($ctrl.headerData.startDate);\r\n var end = reportService.toZuluStringFromLocalDate($ctrl.headerData.endDate);\r\n var params = createReportParams(false, $ctrl.optionalParams);\r\n if (!params) return;\r\n var dealerId = $ctrl.headerData.dealerId == 0 ? $ctrl.headerData.dealers[1].id : $ctrl.headerData.dealerId;\r\n\r\n // check if the dealership is Auto Assistant enabled for Auto Assistant Sold Units report.\r\n if ($ctrl.reportSpecification.titleKey === \"autoAssistantSoldUnitsReport\") {\r\n var isAutoAssistantEnabled = await dealerService.getIsAssetEnabledForDealer(assetTypes.autoAssistant,dealerId);\r\n if (!isAutoAssistantEnabled) {\r\n $ctrl.reportSpecification.header = reportHeaders.dealerOnly;\r\n $ctrl.reportSpecification.pdfExportEnabled = false;\r\n $ctrl.reportSpecification.excelExportEnabled = false;\r\n $ctrl.reportSpecification.subscriptionEnabled = false;\r\n setReportDisabledForDealerMessage();\r\n return;\r\n }\r\n else {\r\n $ctrl.reportSpecification.header = reportHeaders.full;\r\n $ctrl.reportSpecification.pdfExportEnabled = true;\r\n $ctrl.reportSpecification.excelExportEnabled = true;\r\n $ctrl.reportSpecification.subscriptionEnabled = true;\r\n }\r\n }\r\n\r\n // check if the dealership is GeoAlert enabled for GeoAlert Sold Units report.\r\n if ($ctrl.reportSpecification.titleKey === \"geoAlertSoldUnitsReport\") {\r\n var isGeoAlertEnabled = await dealerService.getIsAssetEnabledForDealer(assetTypes.geoAlert,dealerId);\r\n if (!isGeoAlertEnabled) {\r\n $ctrl.reportSpecification.header = reportHeaders.dealerOnly;\r\n $ctrl.reportSpecification.pdfExportEnabled = false;\r\n $ctrl.reportSpecification.excelExportEnabled = false;\r\n $ctrl.reportSpecification.subscriptionEnabled = false;\r\n setReportDisabledForDealerMessage();\r\n return;\r\n }\r\n else {\r\n $ctrl.reportSpecification.header = reportHeaders.full;\r\n $ctrl.reportSpecification.pdfExportEnabled = true;\r\n $ctrl.reportSpecification.excelExportEnabled = true;\r\n $ctrl.reportSpecification.subscriptionEnabled = true;\r\n }\r\n }\r\n\r\n // check if the dealership is one-to-one enabled for onetoOne report.\r\n if ($ctrl.reportSpecification.titleKey === \"onetoOneSoldUnitsReport\") {\r\n if (!dealerService.getIsDealerOneToOneEnabled(dealerId)) {\r\n $ctrl.reportSpecification.header = reportHeaders.dealerOnly;\r\n $ctrl.reportSpecification.pdfExportEnabled = false;\r\n $ctrl.reportSpecification.excelExportEnabled = false;\r\n $ctrl.reportSpecification.subscriptionEnabled = false;\r\n setReportDisabledForDealerMessage();\r\n return;\r\n }\r\n else {\r\n $ctrl.reportSpecification.header = reportHeaders.full;\r\n $ctrl.reportSpecification.pdfExportEnabled = true;\r\n $ctrl.reportSpecification.excelExportEnabled = true;\r\n $ctrl.reportSpecification.subscriptionEnabled = true;\r\n }\r\n }\r\n\r\n // check if the dealership is NoLongerOwns or EmailAppend enabled for data cleanse report\r\n if ($ctrl.thisReportSpec.titleKey === \"dataCleanseReport\") {\r\n var isNoLongerOwnsEnabled = await dealerService.getIsDealerNoLongerOwnsEnabled(dealerId);\r\n var isEmailAppendEnabled = await dealerService.getIsDealerEmailAppendEnabled(dealerId);\r\n\r\n if (!isNoLongerOwnsEnabled && !isEmailAppendEnabled) {\r\n $ctrl.reportSpecification.header = reportHeaders.dealerOnly;\r\n setReportDisabledForDealerMessage();\r\n return;\r\n }\r\n }\r\n\r\n $ctrl.reportPromise = reportService.getReport($ctrl.reportSpecification, start, end, dealerId, 'html', params)\r\n .then(function (reportRenderedData) {\r\n $ctrl.reportRenderedData = reportRenderedData;\r\n $ctrl.reportPromise = null;\r\n })\r\n .catch((response) => {\r\n setReportUnavailableContent();\r\n });\r\n }\r\n\r\n function setReportUnavailableContent() {\r\n $translate(\"reportUnavailable\").then((response) => {\r\n $ctrl.reportRenderedData = \"
\" + response + \"
\";\r\n $ctrl.reportPromise = null;\r\n })\r\n }\r\n\r\n function setReportDisabledForDealerMessage() {\r\n\r\n $translate($ctrl.reportSpecification.titleKey).then((reportTitle) => {\r\n $translate(\"reportNotEnabledForDealer\", { reportName: reportTitle })\r\n .then((response) => {\r\n $ctrl.reportRenderedData = \"
\" + response + \"
\";\r\n });\r\n });\r\n }\r\n\r\n function generateReportExport(type) {\r\n //temporary: In the future, we will simply call newReportExport(type) on all requests.\r\n switch ($ctrl.reportSpecification.titleKey) {\r\n case \"salesGrossReport\":\r\n case \"salesGrossEnterpriseReport\":\r\n case \"soldUnitsReport\":\r\n case \"soldUnitsEnterpriseReport\":\r\n case \"serviceDriveSalesPerformanceReport\":\r\n case \"serviceDriveEnterpriseReport\":\r\n case \"userActivityReport\":\r\n case \"userActivityEnterpriseReport\":\r\n case \"inventoryReport\":\r\n case \"autoAssistantSoldUnitsReport\":\r\n case \"autoAssistantSoldUnitsEnterpriseReport\": \r\n case \"autoAssistantActivityReport\":\r\n case \"geoAlertSoldUnitsReport\":\r\n case \"geoAlertSoldUnitsEnterpriseReport\":\r\n case \"onetoOneSoldUnitsReport\":\r\n case \"onetoOneSoldUnitsEnterpriseReport\":\r\n case \"certificationReport\":\r\n case \"certificationEnterpriseReport\":\r\n case \"pandoSurveyReport\":\r\n case \"pandoUserActivityReport\":\r\n case \"pandoUserActivityEnterpriseReport\":\r\n case \"dataCleanseReport\":\r\n case \"creditConvertReport\":\r\n case \"partnerExportSoldUnitsReport\":\r\n return newReportExport(type);\r\n default:\r\n return generateReportExportOld(type);\r\n }\r\n\r\n }\r\n\r\n function generateReportExportOld(type) {\r\n switch (type) {\r\n case 'pdf':\r\n return generatePdfExport();\r\n case 'excel':\r\n return generateExcelExport();\r\n default:\r\n logger.error(\"Unsupported export type: \" + type);\r\n }\r\n }\r\n\r\n function generatePdfExport() {\r\n // temporary...\r\n newReportExport('pdf');\r\n }\r\n\r\n function getReportTitleForExport() {\r\n function returnResult(title) {\r\n var result = title.replace(/ /g, '');\r\n return result;\r\n }\r\n return $translate($ctrl.reportSpecification.titleKey).then(returnResult);\r\n }\r\n\r\n function newReportExport(fileType) {\r\n var headerType = '';\r\n var extension = '';\r\n var info = '';\r\n switch (fileType) {\r\n case 'pdf':\r\n headerType = 'application/pdf';\r\n extension = \"pdf\";\r\n info = 'Summary';\r\n break;\r\n case 'excel':\r\n headerType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';\r\n extension = \"xlsx\";\r\n info = 'Details';\r\n break;\r\n default:\r\n logger.error(\"Unsupported export type: \" + fileType);\r\n }\r\n var date = moment(new Date()).format('YYYYMMDD');\r\n var start = reportService.toZuluStringFromLocalDate($ctrl.headerData.startDate);\r\n var end = reportService.toZuluStringFromLocalDate($ctrl.headerData.endDate);\r\n var params = createReportParams(true, $ctrl.optionalParams);\r\n var dealerId = $ctrl.headerData.dealerId == 0 ? $ctrl.headerData.dealers[1].id : $ctrl.headerData.dealerId;\r\n // create report export tasks\r\n var titleTask = getReportTitleForExport();\r\n var dataTask = reportService.getReport($ctrl.reportSpecification, start, end, dealerId, fileType, params);\r\n // run all tasks and save the result\r\n $ctrl.reportPromise = $q.all([titleTask, dataTask]).then(function (responses) {\r\n var title = responses[0];\r\n var response = responses[1];\r\n $ctrl.reportPromise = null;\r\n var fileName = `${title}-${info}-${date}.${extension}`;\r\n $ctrl.headerData.showReportSettings = false;\r\n try {\r\n var blob = new Blob([response.data], { type: headerType });\r\n saveAs(blob, fileName);\r\n } catch (e) {\r\n log.log(e);\r\n }\r\n }).catch((responses) => {\r\n setReportUnavailableContent();\r\n });\r\n }\r\n\r\n function generateExcelExport() {\r\n // Need to save multiple grids in separate sheets in the same excel file\r\n // http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/excel/multiple-grid-export\r\n return getSheets().then(sheets => {\r\n if (sheets.length == 0) {\r\n // TODO: localize\r\n logger.info(\"This report cannot be exported to Excel\");\r\n return;\r\n }\r\n\r\n const fileName = createFileName('report', '.xlsx');\r\n const workbook = new kendo.ooxml.Workbook({ sheets, fileName });\r\n return kendo.saveAs({ fileName, dataURI: workbook.toDataURL() });\r\n });\r\n\r\n function getSheets() {\r\n const grids = $('.k-grid').not('.inner-grid');\r\n const promises = grids.map((i, el) => {\r\n return new Promise((resolve, reject) => {\r\n const grid = $(el).data('kendoGrid')\r\n grid.bind('excelExport', e => {\r\n e.preventDefault();\r\n try {\r\n const sheet = e.workbook.sheets[0];\r\n for (const column of sheet.columns) {\r\n column.width = 120;\r\n }\r\n resolve(sheet);\r\n } catch (e) {\r\n reject(e);\r\n }\r\n });\r\n grid.saveAsExcel();\r\n });\r\n });\r\n\r\n return Promise.all(promises);\r\n }\r\n\r\n function createFileName(name, extension) {\r\n return name + kendo.toString(new Date(), \" yyyy-MM-dd hh-mm-ss\") + extension;\r\n }\r\n }\r\n\r\n function reportNavigationCallback(reportInfo) {\r\n var report = reportSpecs[reportInfo.name];\r\n if (!report) { throw new Error('This report does not exist: ' + reportInfo.name); }\r\n\r\n $ctrl.reportSpecification = report;\r\n if (reportInfo.dealerId) {\r\n $ctrl.headerData.dealerId = reportInfo.dealerId;\r\n storageService.setItem('reportHeaderData', $ctrl.headerData);\r\n }\r\n\r\n switch ($ctrl.reportSpecification) {\r\n case reportSpecs.soldUnitsReport:\r\n case reportSpecs.salesGrossReport:\r\n updateOptionalParams('ShowValidatedOnly', reportInfo.validatedOnly);\r\n break;\r\n default:\r\n break;\r\n }\r\n $state.go(reportInfo.name, { optionalParams: $ctrl.optionalParams }, { reload: true, inherit: true, notify: true });\r\n }\r\n\r\n function passOptionalParameter(toggleInfo) {\r\n updateOptionalParams(toggleInfo.name, toggleInfo.value);\r\n $ctrl.headerData[toggleInfo.name] = toggleInfo.value;\r\n storageService.setItem('reportHeaderData', $ctrl.headerData);\r\n }\r\n\r\n function updateOptionalParams(key, value) {\r\n // if this key exists in optionalParams then update the value\r\n if ($ctrl.optionalParams.some(function (o) { return o.Key === key; })) {\r\n var idx = $ctrl.optionalParams.findIndex(function (o) { return o.Key === key });\r\n $ctrl.optionalParams[idx].Value = value;\r\n } else { // otherwise add the key value pair to the optionalParms array\r\n $ctrl.optionalParams.push({ Key: key, Value: value });\r\n }\r\n }\r\n\r\n function getLmsTranscript(userId) {\r\n return reportService.getLmsTranscript(userId)\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n function openLmsTranscriptModal(userId) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n windowClass: 'large-modal',\r\n component: 'lmsTranscriptModal',\r\n resolve: {\r\n transcript: function () {\r\n return getLmsTranscript(userId);\r\n }\r\n }\r\n });\r\n }\r\n\r\n}","import \"core-js/modules/es6.promise\";\nimport \"core-js/modules/es6.array.find\";\nimport \"regenerator-runtime/runtime\";\nBetaReportsController.$inject = [\"_\", \"$state\", \"$sce\", \"$location\", \"reportService\", \"tokenService\", \"apiUrls\", \"storageService\", \"userService\"];\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n/* injects from baggage-loader */\nrequire('./beta-reports.component.html');\n\nimport angular from 'angular';\nimport './reports.scss';\nimport './reports.css';\nangular.module('AaApp.Opp').component('betaReports', {\n templateUrl: '/app/components/reports/beta-reports.component.html',\n controller: BetaReportsController\n});\n/* @ngInject */\n\nfunction BetaReportsController(_, $state, $sce, $location, reportService, tokenService, apiUrls, storageService, userService) {\n var $ctrl = this;\n $ctrl.reportsEnabled = false;\n $ctrl.reportEnabled = true;\n $ctrl.reportId;\n $ctrl.reportName = \"\";\n $ctrl.viewUrl = \"\";\n $ctrl.reportIsFavorite = false;\n $ctrl.reportPromise;\n $ctrl.reportSpecification;\n $ctrl.tableauUrl;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.tableauToken;\n $ctrl.accountPlatformIds;\n\n if ($state && $state.params) {\n if ($state.params.id) {\n $ctrl.reportId = $state.params.id;\n }\n }\n\n function onChanges(changes) {\n if (changes) {\n getReportDetails();\n }\n }\n\n function init() {\n $ctrl.reportEnabled = true;\n var moduleIds = storageService.getItem('moduleIds');\n var authorizedReports = reportService.getAuthorizedReports(moduleIds);\n $ctrl.reportsEnabled = authorizedReports.length > 0;\n }\n\n function getReportDetails() {\n userService.getUserProfile().then(\n /*#__PURE__*/\n function () {\n var _ref = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee(userProfile) {\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n if (userProfile && userProfile.accountPlatformIds && userProfile.accountPlatformIds.length > 0) {\n $ctrl.accountPlatformIds = userProfile.accountPlatformIds.join(',');\n $ctrl.reportingPlatformIds = $ctrl.accountPlatformIds;\n }\n\n reportService.getBetaReportList().then(function (results) {\n if (results && results.Success == true && results.Data && results.Data.length > 0) {\n var reports = results.Data;\n\n var currentBetaReport = _.find(reports, {\n Id: $ctrl.reportId\n });\n\n if (currentBetaReport) {\n $ctrl.reportName = currentBetaReport.Name;\n $ctrl.reportIsFavorite = currentBetaReport.IsFavorite;\n $ctrl.viewUrl = currentBetaReport.ViewUrl;\n setReportUrl(currentBetaReport.IsEnterpriseReport);\n } else {\n $ctrl.reportEnabled = false;\n }\n } else {\n $ctrl.reportEnabled = false;\n }\n });\n\n case 2:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }());\n }\n\n function setReportUrl(isEnterpriseReport) {\n reportService.getTableauToken(isEnterpriseReport).then(function (results) {\n if (results && results.Success == true) {\n $ctrl.tableauToken = results.Data;\n var url = apiUrls.betaReportsUrl + $ctrl.viewUrl;\n $ctrl.tableauUrl = $sce.trustAsResourceUrl(url);\n }\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./beta-reports.component.html');\n\nimport angular from 'angular';\r\nimport './reports.scss';\r\nimport './reports.css';\r\n\r\nangular.module('AaApp.Opp').component('betaReports', {\r\n templateUrl: '/app/components/reports/beta-reports.component.html',\r\n controller: BetaReportsController,\r\n});\r\n\r\n/* @ngInject */\r\nfunction BetaReportsController(_, $state, $sce, $location, reportService, tokenService, apiUrls, storageService, userService) {\r\n var $ctrl = this;\r\n $ctrl.reportsEnabled = false;\r\n $ctrl.reportEnabled = true;\r\n $ctrl.reportId;\r\n $ctrl.reportName = \"\";\r\n $ctrl.viewUrl = \"\";\r\n $ctrl.reportIsFavorite = false;\r\n $ctrl.reportPromise;\r\n $ctrl.reportSpecification;\r\n $ctrl.tableauUrl;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.tableauToken;\r\n $ctrl.accountPlatformIds;\r\n\r\n if ($state && $state.params) {\r\n if ($state.params.id) {\r\n $ctrl.reportId = $state.params.id;\r\n }\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes) {\r\n getReportDetails();\r\n }\r\n }\r\n\r\n function init() {\r\n $ctrl.reportEnabled = true;\r\n var moduleIds = storageService.getItem('moduleIds');\r\n var authorizedReports = reportService.getAuthorizedReports(moduleIds)\r\n $ctrl.reportsEnabled = authorizedReports.length > 0;\r\n }\r\n\r\n function getReportDetails() {\r\n userService.getUserProfile()\r\n .then(async (userProfile) => {\r\n if (userProfile && userProfile.accountPlatformIds && userProfile.accountPlatformIds.length > 0) {\r\n $ctrl.accountPlatformIds = userProfile.accountPlatformIds.join(',');\r\n $ctrl.reportingPlatformIds = $ctrl.accountPlatformIds;\r\n }\r\n reportService.getBetaReportList()\r\n .then((results) => {\r\n if (results && results.Success == true && results.Data && results.Data.length > 0) {\r\n var reports = results.Data;\r\n var currentBetaReport = _.find(reports, { Id: $ctrl.reportId });\r\n if (currentBetaReport) {\r\n $ctrl.reportName = currentBetaReport.Name;\r\n $ctrl.reportIsFavorite = currentBetaReport.IsFavorite;\r\n $ctrl.viewUrl = currentBetaReport.ViewUrl;\r\n setReportUrl(currentBetaReport.IsEnterpriseReport);\r\n }\r\n else {\r\n $ctrl.reportEnabled = false;\r\n }\r\n }\r\n else {\r\n $ctrl.reportEnabled = false;\r\n }\r\n });\r\n });\r\n }\r\n\r\n function setReportUrl(isEnterpriseReport) {\r\n reportService.getTableauToken(isEnterpriseReport)\r\n .then((results) => {\r\n if (results && results.Success == true) {\r\n $ctrl.tableauToken = results.Data;\r\n var url = apiUrls.betaReportsUrl + $ctrl.viewUrl;\r\n $ctrl.tableauUrl = $sce.trustAsResourceUrl(url);\r\n }\r\n });\r\n\r\n }\r\n}","\n/* injects from baggage-loader */\nrequire('./reports-header.component.html');\n\nimport angular from 'angular';\r\nimport reportHeaders from '../../constants/reports/report-header-types';\r\nimport moment from 'moment';\r\n\r\nangular.module('AaApp.Opp').component('reportsHeader', {\r\n templateUrl: '/app/components/reports/reports-header.component.html',\r\n controller: ReportsHeaderController,\r\n bindings: {\r\n reportId: '<',\r\n reportTitle: '<',\r\n headerType: '<',\r\n headerData: '<',\r\n loadReport: '<',\r\n updateMakes: '<',\r\n loadReportPresetRange: '<',\r\n generateReportExport: '<',\r\n datePickerSelection: '<',\r\n reportSpecification: '<',\r\n onDealershipChanged: '&',\r\n\r\n isPandoReportAvailable: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReportsHeaderController($logFactory) {\r\n var $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n $ctrl.showDealerSelector;\r\n $ctrl.showMakeSelector;\r\n $ctrl.showDatesSelectors;\r\n $ctrl.showStartDateSelector;\r\n $ctrl.showDatePresets;\r\n $ctrl.showValidatedSelector;\r\n $ctrl.showSurveySelectors;\r\n $ctrl.startDatePickerVisible = false;\r\n $ctrl.endDatePickerVisible = false;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.reportSettingsToggle = reportSettingsToggle;\r\n $ctrl.setDatePickerVisiblity = setDatePickerVisiblity;\r\n $ctrl.onDealershipChangedWrapper = onDealershipChangedWrapper;\r\n $ctrl.setPandoReportState = setPandoReportState;\r\n $ctrl.setSurveyFamilySurveySelections = setSurveyFamilySurveySelections;\r\n $ctrl.showReportSettingsButton = false;\r\n $ctrl.isTabletDevice = false;\r\n $ctrl.onCalendarDateRangeSelect = onCalendarDateRangeSelect;\r\n $ctrl.onCalendarPresetDateRangeSelect = onCalendarPresetDateRangeSelect;\r\n $ctrl.onPerfReportDateRangeSelect = onPerfReportDateRangeSelect;\r\n $ctrl.perfReportDateRange;\r\n\r\n // 2/15/2017 as per product team we are showing the new calendar control in ipad\r\n // so no need to detect tablet;\r\n\r\n //if (window.navigator.userAgent.match(/iPhone|iPad|iPod/i))\r\n // $ctrl.isTabletDevice = true;\r\n //else\r\n // $ctrl.isTabletDevice = false;\r\n\r\n \r\n $ctrl.datePickerOptions = {\r\n startingDay: 0,\r\n showWeeks: false,\r\n minDate: null,\r\n maxDate: new Date()\r\n }\r\n\r\n function onChanges(changes) {\r\n $ctrl.showDealerSelector = true;\r\n $ctrl.showMakeSelector = false;\r\n $ctrl.showDatesSelectors = false;\r\n $ctrl.showStartDateSelector = false;\r\n $ctrl.showDatePresets = false;\r\n $ctrl.showValidatedSelector = false; \r\n $ctrl.showSurveySelectors = false; \r\n \r\n switch ($ctrl.headerType) {\r\n case reportHeaders.full:\r\n setFullHeaderTypeInputs();\r\n break;\r\n case reportHeaders.validatedFull:\r\n setValidatedFullHeaderTypeInputs();\r\n break;\r\n case reportHeaders.singleDate:\r\n setSingleDateHeaderTypeInputs();\r\n break;\r\n case reportHeaders.dealerOnly:\r\n setDealerOnlyHeaderTypeInputs();\r\n break;\r\n case reportHeaders.dealerOnlyNoSubscriptionDateSelector:\r\n setDealerOnlyHeaderTypeInputs();\r\n break;\r\n case reportHeaders.performanceReport:\r\n setPerformanceReportHeaderTypeInputs();\r\n break;\r\n case reportHeaders.dealerMake:\r\n setDealerMakeHeaderTypeInputs();\r\n break;\r\n case reportHeaders.dealerMakeNoSubscriptionDateSelector:\r\n setDealerMakeHeaderTypeInputs();\r\n break;\r\n case reportHeaders.dealerDatesPresets:\r\n setDealerDatesPresetsHeaderTypeInputs();\r\n break;\r\n case reportHeaders.pandoSurvey:\r\n setPandoSurveyTypeInputs();\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n setReportSettingsButtonVisiblity();\r\n\r\n //console.log(\"headerData\", $ctrl.headerData)\r\n }\r\n\r\n function setFullHeaderTypeInputs() {\r\n $ctrl.showMakeSelector = true;\r\n $ctrl.showDatesSelectors = true;\r\n $ctrl.showStartDateSelector = true;\r\n $ctrl.showDatePresets = true;\r\n }\r\n\r\n function setValidatedFullHeaderTypeInputs() {\r\n $ctrl.showMakeSelector = true;\r\n $ctrl.showDatesSelectors = true;\r\n $ctrl.showStartDateSelector = true;\r\n $ctrl.showDatePresets = true;\r\n }\r\n\r\n function setSingleDateHeaderTypeInputs() {\r\n $ctrl.showDatesSelectors = true;\r\n }\r\n\r\n function setDealerOnlyHeaderTypeInputs() {\r\n }\r\n\r\n function setDealerDatesPresetsHeaderTypeInputs() {\r\n $ctrl.showDatesSelectors = true;\r\n $ctrl.showStartDateSelector = true;\r\n $ctrl.showDatePresets = true;\r\n }\r\n\r\n function setPerformanceReportHeaderTypeInputs() {\r\n $ctrl.showPerformanceReportDateSelector = true;\r\n // set initial date range\r\n if ($ctrl.headerData.performanceReportDateRanges.length > 0) {\r\n $ctrl.perfReportDateRange = $ctrl.headerData.performanceReportDateRanges[0].startDate + \"|\" + $ctrl.headerData.performanceReportDateRanges[0].endDate;\r\n }\r\n }\r\n\r\n function setDealerMakeHeaderTypeInputs() {\r\n $ctrl.showMakeSelector = true;\r\n }\r\n\r\n function setPandoSurveyTypeInputs() {\r\n $ctrl.showDealerSelector = false;\r\n $ctrl.showSurveySelectors = true; \r\n }\r\n\r\n function reportSettingsToggle() {\r\n $ctrl.headerData.showReportSettings = !$ctrl.headerData.showReportSettings;\r\n }\r\n\r\n function setDatePickerVisiblity(isStart) {\r\n if (isStart) {\r\n $ctrl.startDatePickerVisible = true;\r\n } else {\r\n $ctrl.endDatePickerVisible = true;\r\n }\r\n }\r\n \r\n function onDealershipChangedWrapper(dealerId, makeId) {\r\n $ctrl.headerData.dealerId = dealerId;\r\n $ctrl.headerData.makeId = makeId;\r\n\r\n if ($ctrl.onDealershipChanged){\r\n $ctrl.onDealershipChanged({$onDealershipChanged:{ dealerId: dealerId, makeId: makeId }} );\r\n }\r\n }\r\n \r\n function setPandoReportState(state) {\r\n $ctrl.pandoReportState = state;\r\n }\r\n\r\n function setSurveyFamilySurveySelections(surveyFamilyId, surveyId, surveys, state) {\r\n $ctrl.headerData.surveyFamilyId = surveyFamilyId;\r\n $ctrl.headerData.surveyId = surveyId;\r\n $ctrl.headerData.surveys = surveys;\r\n $ctrl.pandoReportState = state;\r\n\r\n $ctrl.loadReport();\r\n }\r\n\r\n function setReportSettingsButtonVisiblity() {\r\n if ($ctrl.reportSpecification) {\r\n $ctrl.showReportSettingsButton = $ctrl.reportSpecification.pdfExportEnabled === true || \r\n $ctrl.reportSpecification.excelExportEnabled === true ||\r\n $ctrl.reportSpecification.subscriptionEnabled === true;\r\n }\r\n }\r\n\r\n function onCalendarDateRangeSelect(dateRange) {\r\n //console.log(dateRange);\r\n $ctrl.headerData.endDate = dateRange.end;\r\n $ctrl.headerData.startDate = dateRange.start;\r\n $ctrl.headerData.selectedDateRangeType = \"UI\";\r\n $ctrl.loadReport('DateRangeSelectionChanged', true);\r\n }\r\n\r\n function onCalendarPresetDateRangeSelect(presetDateType) {\r\n //console.log(presetDateType);\r\n $ctrl.headerData.selectedDateRangeType = presetDateType; \r\n $ctrl.loadReportPresetRange($ctrl.headerData.selectedDateRangeType);\r\n }\r\n\r\n function onPerfReportDateRangeSelect(dateRange) {\r\n log.log(\"dateRange change: \" + dateRange);\r\n var dates = dateRange.split(\"|\");\r\n $ctrl.headerData.startDate = moment(dates[0], 'YYYY-M-D', true).toDate();\r\n $ctrl.headerData.endDate = moment(dates[1], 'YYYY-M-D', true).toDate();\r\n $ctrl.loadReport('DateRangeSelectionChanged', true);\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./report-subscriptions-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('reportSubscriptionsModal', {\r\n templateUrl: '/app/components/reports/report-subscriptions-modal.component.html',\r\n controller: ReportSubscriptionsModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReportSubscriptionsModalController(reportSubscriptionViewTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.cancelSubscriptionEdit;\r\n $ctrl.addSubscription;\r\n $ctrl.updateSubscription;\r\n $ctrl.subscriptionCount;\r\n $ctrl.viewType;\r\n $ctrl.viewTypes;\r\n $ctrl.$onInit = init;\r\n $ctrl.onCancel = onCancel;\r\n\r\n function init() {\r\n $ctrl.viewTypes = reportSubscriptionViewTypes;\r\n }\r\n\r\n function onCancel() {\r\n if ($ctrl.viewType != $ctrl.viewTypes.list && $ctrl.subscriptionCount > 0) {\r\n $ctrl.cancelSubscriptionEdit();\r\n }\r\n else {\r\n $ctrl.dismiss();\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./report-subscriptions.component.html');\n\nimport angular from 'angular';\r\nimport { AllReportSpecs } from '../../constants/reports/report-specifications';\r\nimport _ from 'lodash';\r\n\r\nangular.module('AaApp.Opp').component('reportSubscriptions', {\r\n templateUrl: '/app/components/reports/report-subscriptions.component.html',\r\n controller: ReportSubscriptionsController,\r\n bindings: {\r\n defaults: '<',\r\n viewType: '<',\r\n addSubscription: '=',\r\n updateSubscription: '=',\r\n cancelSubscriptionEdit: '=',\r\n onSubscriptionsLoad: '&',\r\n onViewTypeChange: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReportSubscriptionsController(reportService, reportSubscriptionViewTypes, duplicateSubscriptionKey, logger) {\r\n var $ctrl = this;\r\n\r\n $ctrl.validateSubscriptionEditForm;\r\n $ctrl.viewTypes;\r\n $ctrl.editableSubscription;\r\n $ctrl.subscriptions;\r\n $ctrl.$onInit = init;\r\n $ctrl.editSubscription = editSubscription;\r\n $ctrl.toggleSubscription = toggleSubscription;\r\n $ctrl.deleteSubscription = deleteSubscription;\r\n\r\n function init() {\r\n $ctrl.viewTypes = reportSubscriptionViewTypes;\r\n $ctrl.addSubscription = addSubscription;\r\n $ctrl.updateSubscription = updateSubscription;\r\n $ctrl.cancelSubscriptionEdit = cancelSubscriptionEdit;\r\n\r\n loadSubscriptions();\r\n }\r\n\r\n function loadSubscriptions() {\r\n reportService.getSubscriptions()\r\n .then(setSubscriptions);\r\n }\r\n\r\n function getReportSpec(){\r\n\r\n }\r\n\r\n function setSubscriptions(subscriptions) {\r\n $ctrl.subscriptions = subscriptions;\r\n for (var i = 0; i < $ctrl.subscriptions.length; i++) {\r\n var subscription = $ctrl.subscriptions[i];\r\n var reportSpec = _.find(AllReportSpecs, (item) => item.id.toLowerCase() == subscription.reportId);\r\n subscription.translateKey = reportSpec.titleKey.replace(\"Enterprise\", \"\");\r\n subscription.isEnterprise = reportSpec.isEnterprise;\r\n subscription.showMake = true;\r\n if (reportSpec.isEnterprise){\r\n //show \"All Dealerships\" instead of the dealerName if this is an enterprise report. (this should eventually come from reportSpec instead of JS code)\r\n subscription.dealerName = \"All Dealerships\";\r\n subscription.dealerID = 0;\r\n subscription.showMake = false;\r\n }\r\n\r\n //hide \"make\" from view if \"All Dealerships\" is selected. (this should eventually come from reportSpec instead of JS code)\r\n switch (reportSpec.titleKey) {\r\n case \"userActivityReport\":\r\n case \"certificationReport\":\r\n case \"certificationEnterpriseReport\":\r\n case \"pandoUserActivityReport\":\r\n subscription.showMake = false;\r\n break;\r\n }\r\n }\r\n\r\n $ctrl.editableSubscription = null;\r\n $ctrl.onSubscriptionsLoad({ count: subscriptions.length });\r\n\r\n var viewType = subscriptions.length == 0 ? $ctrl.viewTypes.add : $ctrl.viewTypes.list;\r\n $ctrl.onViewTypeChange({ viewType: viewType });\r\n }\r\n\r\n function cancelSubscriptionEdit() {\r\n $ctrl.editableSubscription = null;\r\n $ctrl.onViewTypeChange({ viewType: $ctrl.viewTypes.list });\r\n }\r\n\r\n function editSubscription(subscription) {\r\n $ctrl.editableSubscription = subscription;\r\n $ctrl.onViewTypeChange({ viewType: $ctrl.viewTypes.edit });\r\n }\r\n\r\n function addSubscription() {\r\n var validationResult = $ctrl.validateSubscriptionEditForm();\r\n if (validationResult.valid) {\r\n if (isDuplicateSubscription(validationResult.subscription)) {\r\n logger.warning(duplicateSubscriptionKey);\r\n }\r\n else {\r\n reportService.addSubscription(validationResult.subscription)\r\n .then(loadSubscriptions);\r\n }\r\n }\r\n }\r\n\r\n function updateSubscription() {\r\n var validationResult = $ctrl.validateSubscriptionEditForm();\r\n var isUpdateSubscription = true;\r\n if (validationResult.valid) {\r\n if (validationResult.edited) {\r\n if (isDuplicateSubscription(validationResult.subscription, isUpdateSubscription)) {\r\n logger.warning(duplicateSubscriptionKey);\r\n }\r\n else {\r\n reportService.updateSubscription(validationResult.subscription)\r\n .then(loadSubscriptions);\r\n }\r\n }\r\n else {\r\n $ctrl.onViewTypeChange({ viewType: $ctrl.viewTypes.list });\r\n }\r\n }\r\n }\r\n\r\n function toggleSubscription(subscriptionId, enabled) {\r\n if (enabled) {\r\n reportService.enableSubscription(subscriptionId)\r\n .then(loadSubscriptions);\r\n }\r\n else {\r\n reportService.disableSubscription(subscriptionId)\r\n .then(loadSubscriptions);\r\n }\r\n }\r\n\r\n function deleteSubscription(subscriptionId) {\r\n reportService.deleteSubscription(subscriptionId)\r\n .then(loadSubscriptions);\r\n }\r\n\r\n function isDuplicateSubscription(subscription, isUpdateSubscription) {\r\n\r\n var duplicateSubscription = null;\r\n\r\n if (isUpdateSubscription) { // UPDATE Subscription\r\n duplicateSubscription = _.find($ctrl.subscriptions, {\r\n 'reportId': subscription.reportId.toLowerCase(),\r\n 'dealerID': subscription.dealerID,\r\n 'makeID': subscription.makeID,\r\n 'code': subscription.code,\r\n 'periodicity': subscription.periodicity,\r\n 'deliveryMethods': subscription.deliveryMethods,\r\n 'reportSubscriptionPeriodPoint': subscription.reportSubscriptionPeriodPoint\r\n });\r\n\r\n // user has only updated delivery method options\r\n if (duplicateSubscription)\r\n if (subscription.deliveryMethods.length != duplicateSubscription.deliveryMethods.length)\r\n return false;\r\n\r\n if (!duplicateSubscription) {\r\n duplicateSubscription = _.find($ctrl.subscriptions, {\r\n 'reportId': subscription.reportId.toLowerCase(),\r\n 'dealerID': subscription.dealerID,\r\n 'makeID': subscription.makeID,\r\n 'code': subscription.code,\r\n });\r\n\r\n if (duplicateSubscription) { // it's the same record but with diffrent optional params\r\n if (subscription.reportSubscriptionId == duplicateSubscription.reportSubscriptionId) {\r\n var isDeliveryduplicateSubscription = _.find([duplicateSubscription], {\r\n 'periodicity': subscription.periodicity,\r\n 'deliveryMethods': subscription.deliveryMethods,\r\n 'reportSubscriptionPeriodPoint': subscription.reportSubscriptionPeriodPoint\r\n });\r\n\r\n\r\n\r\n if (isDeliveryduplicateSubscription)\r\n return true;\r\n else \r\n return false;\r\n }\r\n }\r\n\r\n if (duplicateSubscription)\r\n return true;\r\n else\r\n return false;\r\n }\r\n return duplicateSubscription != null;\r\n }\r\n else { // ADD Subscription\r\n // WEBUI-6902 Removed Delivery method and schedule params from duplicate search criteria for ADD\r\n duplicateSubscription = _.find($ctrl.subscriptions, {\r\n 'reportId': subscription.reportId.toLowerCase(),\r\n 'dealerID': subscription.dealerID,\r\n 'makeID': subscription.makeID,\r\n 'code': subscription.code,\r\n });\r\n }\r\n\r\n return duplicateSubscription != null;\r\n\r\n\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./report-subscription-list.component.html');\n\nimport angular from 'angular';\r\nimport { ReportSpecsList } from '../../constants/reports/report-specifications';\r\nimport _ from 'lodash';\r\n\r\nangular.module('AaApp.Opp').component('reportSubscriptionList', {\r\n templateUrl: '/app/components/reports/report-subscription-list.component.html',\r\n controller: ReportSubscriptionListController,\r\n bindings: {\r\n subscriptions: '<',\r\n onSubscriptionToggle: '&',\r\n onSubscriptionEdit: '&',\r\n onSubscriptionDelete: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReportSubscriptionListController(dateRangeTypes, reportSubscriptionPeriods, $translate) {\r\n var $ctrl = this;\r\n\r\n $ctrl.dateRangeTypes;\r\n $ctrl.subscriptionPeriodTranslateKeys;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.$onInit = init;\r\n\r\n $ctrl.translateCodes = [];\r\n\r\n function init() {\r\n $ctrl.dateRangeTranslateKeys = _.invert(dateRangeTypes);\r\n $ctrl.subscriptionPeriodTranslateKeys = _.invert(reportSubscriptionPeriods);\r\n\r\n for (const subscription of $ctrl.subscriptions) {\r\n if (subscription.code == dateRangeTypes.day)\r\n subscription.translateCode = dateRangeTypes.previousDay;\r\n else\r\n subscription.translateCode = subscription.code;\r\n }\r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.subscriptions && changes.subscriptions.currentValue) {\r\n for (var i = 0; i < $ctrl.subscriptions.length; i++) {\r\n var subscription = $ctrl.subscriptions[i];\r\n //replace \"Enterprise\" to quickly and easily use the associated non-enterprise report version titleKey.\r\n var report = _.find(ReportSpecsList, (item) => item.id.toLowerCase() == subscription.reportId);\r\n if (!report)\r\n continue;\r\n subscription.translateKey = report.titleKey.replace(\"Enterprise\", \"\");\r\n subscription.hideDateRange = report.hideDateRange;\r\n }\r\n }\r\n }\r\n}","\n/* injects from baggage-loader */\nrequire('./report-subscription-edit.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\nimport reportSpecifications from '../../constants/reports/report-specifications';\r\nimport reportHeaderTypes from '../../constants/reports/report-header-types';\r\n\r\nangular.module('AaApp.Opp').component('reportSubscriptionEdit', {\r\n templateUrl: '/app/components/reports/report-subscription-edit.component.html',\r\n controller: ReportSubscriptionEditController,\r\n bindings: {\r\n subscription: '<',\r\n validate: '='\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ReportSubscriptionEditController($q, $translate, dealerService, reportService, storageService, dateRangeTypes, reportSubscriptionPeriods, reportSubscriptionSubjectKey, reportSubscriptionEnterpriseSubjectKey, userService, deliveryDateRangeOrdinalTypes, deliveryWeekDayTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.dealers;\r\n $ctrl.dateRangeTranslateKeys;\r\n $ctrl.subscriptionPeriods;\r\n $ctrl.editableSubscription;\r\n $ctrl.selectedReportId;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.updateSubscriptionPeriodPoint = updateSubscriptionPeriodPoint;\r\n $ctrl.updateSubscriptionSubject = updateSubscriptionSubject;\r\n $ctrl.setDealerMakeSelections = setDealerMakeSelections;\r\n $ctrl.onReportSelect = onReportSelect;\r\n $ctrl.getReportSpec = getReportSpec;\r\n $ctrl.setReportId = setReportId;\r\n $ctrl.onDeliveryEmail = onDeliveryEmail;\r\n $ctrl.onDeliveryPando = onDeliveryPando;\r\n\r\n $ctrl.isEmailValid;\r\n $ctrl.showEmailInvalidMsg;\r\n const emailDeliveryMethod = 0;\r\n const pandoDeliveryMethod = 1;\r\n\r\n function init() {\r\n $ctrl.previousDay = dateRangeTypes.previousDay;\r\n $ctrl.subscriptionPeriods = reportSubscriptionPeriods;\r\n $ctrl.dateRangeTranslateKeys = _.invert(dateRangeTypes);\r\n $ctrl.deliveryDateRangeOrdinalTypeKeys = _.invert(deliveryDateRangeOrdinalTypes);\r\n $ctrl.deliveryWeekDayTypeKeys = _.invert(deliveryWeekDayTypes);\r\n\r\n $ctrl.validate = validate;\r\n $ctrl.dateRanges = [\r\n { translateKey: dateRangeTypes.previousDay, value: dateRangeTypes.day }, //This entry is the only reason this has to be done this way.\r\n { translateKey: dateRangeTypes.previousWeek, value: dateRangeTypes.previousWeek },\r\n { translateKey: dateRangeTypes.previousMonth, value: dateRangeTypes.previousMonth },\r\n { translateKey: dateRangeTypes.previousQuarter, value: dateRangeTypes.previousQuarter },\r\n { translateKey: dateRangeTypes.last7Days, value: dateRangeTypes.last7Days },\r\n { translateKey: dateRangeTypes.last14Days, value: dateRangeTypes.last14Days },\r\n { translateKey: dateRangeTypes.last28Days, value: dateRangeTypes.last28Days },\r\n { translateKey: dateRangeTypes.last30Days, value: dateRangeTypes.last30Days },\r\n { translateKey: dateRangeTypes.monthToDate, value: dateRangeTypes.monthToDate },\r\n { translateKey: dateRangeTypes.quarterToDate, value: dateRangeTypes.quarterToDate },\r\n { translateKey: dateRangeTypes.yearToDate, value: dateRangeTypes.yearToDate }\r\n ];\r\n\r\n $ctrl.dateRangesWeekly = [\r\n\r\n deliveryWeekDayTypes.weekday1,\r\n deliveryWeekDayTypes.weekday2,\r\n deliveryWeekDayTypes.weekday3,\r\n deliveryWeekDayTypes.weekday4,\r\n deliveryWeekDayTypes.weekday5,\r\n deliveryWeekDayTypes.weekday6,\r\n deliveryWeekDayTypes.weekday7,\r\n ]\r\n\r\n $ctrl.dateRangesMonthly = [\r\n\r\n deliveryDateRangeOrdinalTypes.day1st,\r\n deliveryDateRangeOrdinalTypes.day2nd,\r\n deliveryDateRangeOrdinalTypes.day3rd,\r\n deliveryDateRangeOrdinalTypes.day4th,\r\n deliveryDateRangeOrdinalTypes.day5th,\r\n deliveryDateRangeOrdinalTypes.day6th,\r\n deliveryDateRangeOrdinalTypes.day7th,\r\n deliveryDateRangeOrdinalTypes.day8th,\r\n deliveryDateRangeOrdinalTypes.day9th,\r\n deliveryDateRangeOrdinalTypes.day10th,\r\n deliveryDateRangeOrdinalTypes.day11th,\r\n deliveryDateRangeOrdinalTypes.day12th,\r\n deliveryDateRangeOrdinalTypes.day13th,\r\n deliveryDateRangeOrdinalTypes.day14th,\r\n deliveryDateRangeOrdinalTypes.day15th,\r\n deliveryDateRangeOrdinalTypes.day16th,\r\n deliveryDateRangeOrdinalTypes.day17th,\r\n deliveryDateRangeOrdinalTypes.day18th,\r\n deliveryDateRangeOrdinalTypes.day19th,\r\n deliveryDateRangeOrdinalTypes.day20th,\r\n deliveryDateRangeOrdinalTypes.day21st,\r\n deliveryDateRangeOrdinalTypes.day22nd,\r\n deliveryDateRangeOrdinalTypes.day23rd,\r\n deliveryDateRangeOrdinalTypes.day24th,\r\n deliveryDateRangeOrdinalTypes.day25th,\r\n deliveryDateRangeOrdinalTypes.day26th,\r\n deliveryDateRangeOrdinalTypes.day27th,\r\n deliveryDateRangeOrdinalTypes.day28th,\r\n deliveryDateRangeOrdinalTypes.lastDayOfMonth\r\n ]\r\n \r\n $ctrl.reports = getAuthorizedReportSpecifications();\r\n $ctrl.selectedReportId = $ctrl.editableSubscription.reportId;\r\n\r\n $ctrl.editableSubscription.dateRange = _.find($ctrl.dateRanges, (item) => item.value == $ctrl.editableSubscription.code);\r\n\r\n var allTranslations = [];\r\n for (var i = 0; i < $ctrl.reports.length; i++) {\r\n var report = $ctrl.reports[i];\r\n allTranslations.push($translate(report.titleKey));\r\n if (report.enterprise && report.enterprise.id.toLowerCase() == $ctrl.editableSubscription.reportId.toLowerCase()) {\r\n $ctrl.selectedReportId = report.id.toLowerCase();\r\n }\r\n }\r\n validateEnterpriseDealerships();\r\n\r\n $q.all(allTranslations).then(function (translatedNames) {\r\n for (var i = 0; i < $ctrl.reports.length; i++) {\r\n $ctrl.reports[i].nameByCulture = translatedNames[i];\r\n }\r\n $ctrl.reports.sort(byReportTranslatedName);\r\n });\r\n }\r\n\r\n function byReportTranslatedName(object1, object2) {\r\n if (object1.nameByCulture.toLowerCase() < object2.nameByCulture.toLowerCase())\r\n return -1;\r\n if (object1.nameByCulture.toLowerCase() > object2.nameByCulture.toLowerCase())\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function onChanges(changes) {\r\n\r\n if (changes.subscription && changes.subscription.currentValue) {\r\n if (!$ctrl.dealers) {\r\n var showAllDealers = true; //TBD later. This will need to be set when other reports are in the list that do NOT have an enterprise report version.\r\n $ctrl.dealers = dealerService.getSelectedDealers(showAllDealers);\r\n }\r\n if (!$ctrl.reports) {\r\n $ctrl.reports = getAuthorizedReportSpecifications();\r\n }\r\n\r\n $ctrl.currentLoginUserProfile = storageService.getItem('userProfile');\r\n\r\n //reset email error flags\r\n $ctrl.isEmailValid = true;\r\n $ctrl.showEmailInvalidMsg = false;\r\n\r\n if (!$ctrl.currentLoginUserProfile.email) {\r\n $ctrl.isEmailValid = false;\r\n }\r\n\r\n setEditableSubscription($ctrl.subscription);\r\n\r\n enableMakeSelect();\r\n enableDateRangeSelect();\r\n }\r\n }\r\n\r\n function enableDateRangeSelect() {\r\n var headerType = $ctrl.getReportSpec($ctrl.editableSubscription.reportId).header;\r\n $ctrl.showDateRangeSelector = (headerType != reportHeaderTypes.dealerOnlyNoSubscriptionDateSelector\r\n && headerType != reportHeaderTypes.dealerMakeNoSubscriptionDateSelector);\r\n }\r\n\r\n function enableMakeSelect() {\r\n var headerType = $ctrl.getReportSpec($ctrl.editableSubscription.reportId).header;\r\n $ctrl.showMakes = headerType != reportHeaderTypes.dealerOnly && headerType != reportHeaderTypes.dealerDatesPresets\r\n && headerType != reportHeaderTypes.dealerOnlyNoSubscriptionDateSelector;\r\n }\r\n\r\n function getAuthorizedReportSpecifications() {\r\n var moduleIds = storageService.getItem('moduleIds');\r\n var authorizedReportsMenu = reportService.getAuthorizedReports(moduleIds);\r\n var authorizedReportSpecifications = getAuthorizedReportSpecificationsHelper(authorizedReportsMenu);\r\n return authorizedReportSpecifications;\r\n }\r\n\r\n function getAuthorizedReportSpecificationsHelper(authorizedReportsMenu) {\r\n var reportSpecsList = [];\r\n for (var report in reportSpecifications) {\r\n var reportSpec = reportSpecifications[report];\r\n if (reportSpec.subscriptionEnabled) {\r\n var index = _.findIndex(authorizedReportsMenu, { id: reportSpec.titleKey }); \r\n if (index > -1) {\r\n reportSpecsList.push(reportSpec);\r\n }\r\n }\r\n }\r\n return reportSpecsList;\r\n }\r\n\r\n function onDeliveryEmail() {\r\n if ($ctrl.subscriptionEditForm.deliveryMethodEmail.$dirty) {\r\n if ($ctrl.editableSubscription.deliveryMethods.indexOf(emailDeliveryMethod) == -1) {\r\n $ctrl.editableSubscription.deliveryMethods.push(emailDeliveryMethod);\r\n enableEmailValidation();\r\n }\r\n else {\r\n var indexEmail = $ctrl.editableSubscription.deliveryMethods.indexOf(emailDeliveryMethod);\r\n if (indexEmail > -1) $ctrl.editableSubscription.deliveryMethods.splice(indexEmail, 1);\r\n disableEmailValidation();\r\n }\r\n }\r\n }\r\n\r\n function onDeliveryPando() {\r\n if ($ctrl.subscriptionEditForm.deliveryMethodPando.$dirty) {\r\n if ($ctrl.editableSubscription.deliveryMethods.indexOf(pandoDeliveryMethod) == -1) {\r\n $ctrl.editableSubscription.deliveryMethods.push(pandoDeliveryMethod);\r\n disableEmailValidation();\r\n }\r\n else {\r\n var pandoIndex = $ctrl.editableSubscription.deliveryMethods.indexOf(pandoDeliveryMethod);\r\n if (pandoIndex > -1) $ctrl.editableSubscription.deliveryMethods.splice(pandoIndex, 1);\r\n }\r\n }\r\n }\r\n\r\n function enableEmailValidation() {\r\n\r\n if (!$ctrl.currentLoginUserProfile.email) {\r\n $ctrl.isEmailValid = false;\r\n $ctrl.showEmailInvalidMsg = true;\r\n $ctrl.subscriptionEditForm.deliveryMethodEmail.$invalid = true;\r\n }\r\n }\r\n\r\n function disableEmailValidation() {\r\n\r\n if (!$ctrl.currentLoginUserProfile.email) {\r\n var indexEmail = $ctrl.editableSubscription.deliveryMethods.indexOf(emailDeliveryMethod);\r\n if (indexEmail > -1) $ctrl.editableSubscription.deliveryMethods.splice(indexEmail, 1);\r\n $ctrl.editableSubscription.deliveryMethodEmail = false;\r\n $ctrl.isEmailValid = true;\r\n $ctrl.showEmailInvalidMsg = false;\r\n }\r\n\r\n }\r\n\r\n function addDefaultSubscriptionDateRangeCode() {\r\n var headerType = $ctrl.getReportSpec($ctrl.editableSubscription.reportId).header;\r\n if (headerType == reportHeaderTypes.dealerOnlyNoSubscriptionDateSelector ||\r\n headerType == reportHeaderTypes.dealerMakeNoSubscriptionDateSelector) {\r\n $ctrl.editableSubscription.code = dateRangeTypes.yearToDate;\r\n }\r\n }\r\n\r\n function setEditableSubscription(subscription) {\r\n\r\n $ctrl.isExistingSubscription = subscription.reportSubscriptionId != null;\r\n $ctrl.editableSubscription = _.cloneDeep(subscription);\r\n $ctrl.editableSubscription.reportId = $ctrl.editableSubscription.reportId.toLowerCase();\r\n\r\n addDefaultSubscriptionDateRangeCode();\r\n\r\n\r\n if (!subscription.type) {\r\n var userSubscriptionType = 1;\r\n $ctrl.editableSubscription.type = userSubscriptionType;\r\n }\r\n if (subscription.enabled == null) {\r\n $ctrl.editableSubscription.enabled = true;\r\n }\r\n\r\n var dealer = _.find($ctrl.dealers, { 'id': subscription.dealerID });\r\n if (!dealer) {\r\n $ctrl.editableSubscription.dealerID = $ctrl.dealers[0].id;\r\n }\r\n\r\n //defaults\r\n $ctrl.deliveryDayOfTheWeek = 2;\r\n $ctrl.deliveryDayOfTheMonth = 10;\r\n\r\n if ($ctrl.isExistingSubscription && subscription.deliveryMethods) {\r\n // UPDATE\r\n $ctrl.editableSubscription.deliveryMethods = [];\r\n if (subscription.deliveryMethods.indexOf(emailDeliveryMethod) > -1) {\r\n $ctrl.editableSubscription.deliveryMethodEmail = true;\r\n $ctrl.editableSubscription.deliveryMethods.push(emailDeliveryMethod);\r\n }\r\n if (subscription.deliveryMethods.indexOf(pandoDeliveryMethod) > -1) {\r\n $ctrl.editableSubscription.deliveryMethodPando = true;\r\n $ctrl.editableSubscription.deliveryMethods.push(pandoDeliveryMethod);\r\n }\r\n\r\n\r\n if ($ctrl.subscription.periodicity == reportSubscriptionPeriods.weekly) {\r\n $ctrl.deliveryDayOfTheWeek = $ctrl.subscription.reportSubscriptionPeriodPoint;\r\n }\r\n else if ($ctrl.subscription.periodicity == reportSubscriptionPeriods.monthly) {\r\n $ctrl.deliveryDayOfTheMonth = $ctrl.subscription.reportSubscriptionPeriodPoint;\r\n }\r\n }\r\n else {\r\n // INSERT\r\n $ctrl.editableSubscription.deliveryMethods = [];\r\n $ctrl.editableSubscription.deliveryMethodEmail = false;\r\n $ctrl.editableSubscription.deliveryMethodPando = false;\r\n }\r\n\r\n updateSubscriptionPeriodPoint();\r\n updateSubscriptionSubject();\r\n }\r\n\r\n function validate() {\r\n var headerType = $ctrl.getReportSpec($ctrl.editableSubscription.reportId).header;\r\n if (headerType != reportHeaderTypes.dealerOnlyNoSubscriptionDateSelector &&\r\n headerType != reportHeaderTypes.dealerMakeNoSubscriptionDateSelector) {\r\n $ctrl.subscriptionEditForm.dateRange.$setDirty();\r\n }\r\n\r\n $ctrl.subscriptionEditForm.deliverySchedule.$setDirty();\r\n\r\n $ctrl.subscriptionEditForm.deliveryMethodEmail.$setDirty();\r\n $ctrl.subscriptionEditForm.deliveryMethodPando.$setDirty();\r\n\r\n $ctrl.editableSubscription.code = $ctrl.editableSubscription.dateRange.value;\r\n\r\n var edited = $ctrl.subscription.reportId != $ctrl.editableSubscription.reportId || $ctrl.subscription.dealerID != $ctrl.editableSubscription.dealerID\r\n || $ctrl.subscription.makeID != $ctrl.editableSubscription.makeID || $ctrl.subscription.periodicity != $ctrl.editableSubscription.periodicity\r\n || $ctrl.subscription.code != $ctrl.editableSubscription.code\r\n || $ctrl.subscription.deliveryMethods.length != $ctrl.editableSubscription.deliveryMethods.length\r\n || ($ctrl.subscription.deliveryMethods.length > 0 && $ctrl.subscription.deliveryMethods[0] != $ctrl.editableSubscription.deliveryMethods[0])\r\n || $ctrl.subscription.reportSubscriptionPeriodPoint != $ctrl.editableSubscription.reportSubscriptionPeriodPoint\r\n \r\n return {\r\n valid: $ctrl.subscriptionEditForm.$valid && $ctrl.isEmailValid,\r\n subscription: $ctrl.editableSubscription,\r\n edited: edited\r\n };\r\n }\r\n\r\n function updateSubscriptionPeriodPoint() {\r\n var point;\r\n if ($ctrl.editableSubscription.periodicity == reportSubscriptionPeriods.weekly) {\r\n var weeklyDeliveryDay = $ctrl.deliveryDayOfTheWeek;\r\n point = weeklyDeliveryDay;\r\n }\r\n else if ($ctrl.editableSubscription.periodicity == reportSubscriptionPeriods.monthly) {\r\n var monthlyDeliveryDay = $ctrl.deliveryDayOfTheMonth;\r\n point = monthlyDeliveryDay;\r\n }\r\n else if ($ctrl.editableSubscription.periodicity == reportSubscriptionPeriods.daily) {\r\n var dailyDeliveryDay = 0;\r\n point = dailyDeliveryDay;\r\n }\r\n\r\n $ctrl.editableSubscription.reportSubscriptionPeriodPoint = point;\r\n }\r\n\r\n function getReportSpec(reportId) {\r\n reportId = reportId.toLowerCase();\r\n for (var i = 0; i < $ctrl.reports.length; i++) {\r\n var report = $ctrl.reports[i];\r\n if (report.enterprise && report.enterprise.id.toLowerCase() == reportId) {\r\n return report.enterprise;\r\n }\r\n if (report.id.toLowerCase() == reportId) {\r\n return report;\r\n }\r\n }\r\n }\r\n\r\n function updateSubscriptionSubject() {\r\n var reportSpecs = $ctrl.getReportSpec($ctrl.editableSubscription.reportId);\r\n var dealerName = _.find($ctrl.dealers, (dealer) => dealer.id == $ctrl.editableSubscription.dealerID).name;\r\n var up = userService.getUserProfile().then((userProfile) => {\r\n var subjectPickerResultKey = reportSpecs.isEnterprise ? reportSubscriptionEnterpriseSubjectKey : reportSubscriptionSubjectKey;\r\n $translate(reportSpecs.titleKey).then((reportTitle) => {\r\n $translate(subjectPickerResultKey, { reportName: reportTitle, dealerName: dealerName, dealerDisplayText: userProfile.dealerDisplayText })\r\n .then((subscriptionSubject) => { $ctrl.editableSubscription.subject = subscriptionSubject; });\r\n });\r\n });\r\n }\r\n\r\n function setReportId(dealerId) {\r\n if (dealerId == 0) {\r\n var config = $ctrl.getReportSpec($ctrl.selectedReportId);\r\n if (config.enterprise)\r\n $ctrl.editableSubscription.reportId = config.enterprise.id;\r\n } else {\r\n $ctrl.editableSubscription.reportId = $ctrl.selectedReportId;\r\n }\r\n }\r\n\r\n function setDealerMakeSelections(dealerId, makeId) {\r\n $ctrl.editableSubscription.dealerID = dealerId;\r\n $ctrl.editableSubscription.makeID = makeId;\r\n $ctrl.setReportId(dealerId);\r\n enableMakeSelect();\r\n updateSubscriptionSubject();\r\n }\r\n\r\n function onReportSelect() {\r\n validateEnterpriseDealerships();\r\n $ctrl.setReportId($ctrl.editableSubscription.dealerID);\r\n enableMakeSelect();\r\n enableDateRangeSelect();\r\n updateSubscriptionSubject();\r\n addDefaultSubscriptionDateRangeCode();\r\n }\r\n\r\n function validateEnterpriseDealerships() {\r\n var config = $ctrl.getReportSpec($ctrl.selectedReportId);\r\n var reportHasEnterpriseVersion = config && config.enterprise || config.isEnterprise ? true : false;\r\n $ctrl.dealers = dealerService.getSelectedDealers(reportHasEnterpriseVersion);\r\n\r\n if (!$ctrl.isExistingSubscription) {\r\n //if it's a ADD Subscription dialog {\r\n $ctrl.editableSubscription.dealerID = $ctrl.dealers[0].id;\r\n if (reportHasEnterpriseVersion && $ctrl.dealers.length > 1)\r\n $ctrl.showMakes = false;\r\n }\r\n }\r\n}","\n/* injects from baggage-loader */\nrequire('./template-email.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('templateEmail', {\r\n templateUrl: '/app/components/template-email.component.html',\r\n controller: TemplateEmailController,\r\n bindings: {\r\n templateEmailId: '<',\r\n accessCode: '<',\r\n isPreview:'<',\r\n emailConversationItemId:'<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction TemplateEmailController($q, $sce, templateService, activityService ) {\r\n var $ctrl = this;\r\n $ctrl.emailContentPromise;\r\n $ctrl.emailBodyContentHtml;\r\n $ctrl.$onInit = init;\r\n $ctrl.dealerUserPreviewClassName = \"\";\r\n\r\n /*\r\n\r\n This component is used for 3 options;\r\n 1) Used by customer to view email sent by dealer user via public page\r\n 2) Used by dealer user to view sent email to customer in portal\r\n 3) Used by dealer user to view email conversations. (emailConversationItemId is valid )\r\n\r\n */\r\n\r\n function init() {\r\n if ($ctrl.isPreview){\r\n $ctrl.dealerUserPreviewClassName = \" dealer-user-preview\";\r\n }\r\n\r\n if ($ctrl.accessCode) {\r\n $ctrl.emailContentPromise = templateService.getSentEmailContent($ctrl.templateEmailId, $ctrl.accessCode)\r\n .then(setEmailContent);\r\n }\r\n else\r\n getEmailConversationDetails();\r\n }\r\n\r\n\r\n function getEmailConversationDetails() { \r\n $ctrl.emailContentPromise = activityService.getEmailConversation($ctrl.emailConversationItemId)\r\n .then(setEmailConversationDetails);\r\n }\r\n\r\n function setEmailConversationDetails(emailDetails) { \r\n if (emailDetails) {\r\n var sentEmailObject = {emailBodyContentHtml : emailDetails};\r\n setEmailContent(sentEmailObject);\r\n }\r\n else {\r\n return $q.resolve(false);\r\n }\r\n }\r\n\r\n function setEmailContent(sentEmailObject) {\r\n // cleanup legacy jquery references from raw html\r\n sentEmailObject.emailBodyContentHtml = sentEmailObject.emailBodyContentHtml.replace('','');\r\n\r\n if (sentEmailObject.dealerAddress != null) {\r\n sentEmailObject.primaryAddress = {\r\n address1: sentEmailObject.dealerAddress.dealerAddress,\r\n address2: sentEmailObject.dealerAddress.dealerAddress2,\r\n city: sentEmailObject.dealerAddress.dealerCity,\r\n state: sentEmailObject.dealerAddress.dealerState,\r\n zipCode: sentEmailObject.dealerAddress.dealerZipCode\r\n }\r\n }\r\n else {\r\n sentEmailObject.primaryAddress = null;\r\n }\r\n\r\n // if dealer-user is previewing sent emails\r\n if ($ctrl.isPreview) {\r\n // if it's rendering for dealer user then remove legacy header and footer\r\n var addScriptToRemoveLegacyHeaderandFooter = \"\";\r\n }\r\n\r\n $ctrl.sentEmailObject = sentEmailObject;\r\n\r\n // if header image is already present in email body then remove it.\r\n if (sentEmailObject.emailBodyContentHtml.search(sentEmailObject.emailHeaderPath) > -1)\r\n $ctrl.sentEmailObject.emailHeaderPath = null;\r\n\r\n $ctrl.emailBodyContentHtml = $sce.trustAsHtml(sentEmailObject.emailBodyContentHtml + addScriptToRemoveLegacyHeaderandFooter);\r\n $ctrl.emailContentPromise = null;\r\n return $q.resolve(true);\r\n }\r\n}","import angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').filter('serviceDriveOffersFilter', serviceDriveOffersFilter);\r\n\r\n/* @ngInject */\r\nfunction serviceDriveOffersFilter($filter, moment) {\r\n return function (rows, searchText, isIncludePrintedChecked, dateStart) {\r\n var out = [];\r\n\r\n angular.forEach(rows, function (value, key) {\r\n if (value.customerFullName.toLowerCase().indexOf(searchText.toLowerCase()) !== -1 || (value.vin && value.vin.toLowerCase().indexOf(searchText.toLowerCase()) !== -1)) {\r\n if (isIncludePrintedChecked) {\r\n out.push(value);\r\n }\r\n //else if (!value.lastPrintedDate || moment(value.lastPrintedDate).isBefore(moment().startOf('day'))) {\r\n else if (!value.lastPrintedDate || !moment(value.lastPrintedDate).isSame(dateStart, 'day')) {\r\n out.push(value);\r\n }\r\n }\r\n });\r\n\r\n return out;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./service-drive-offers-print.modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('serviceDriveOffersPrintModalComponent', {\r\n templateUrl: '/app/components/service-drive/modals/service-drive-offers-print.modal.component.html',\r\n controller: ServiceDriveOffersModalController,\r\n bindings: {\r\n resolve: '<',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ServiceDriveOffersModalController(logger, $sce, $timeout, $window) {\r\n var $ctrl = this;\r\n\r\n //$timeout(function myfunction() {\r\n // window.location.href = 'http://google.com';\r\n //https://myupgradeoffer.com/print-offer-collection/7ef0530a24404fef91dc24eaac77ca96\r\n // $window.print();\r\n //}, 3000);\r\n\r\n //$window.print();\r\n $ctrl.$onInit = function () {\r\n logger.debug($ctrl.resolve.printUrl);\r\n $ctrl.closeModal = closeModal;\r\n\r\n if ($ctrl.resolve && $ctrl.resolve.printUrl) {\r\n $ctrl.printOfferIframeUrl = $sce.trustAsResourceUrl($ctrl.resolve.printUrl);\r\n }\r\n }\r\n\r\n function closeModal() {\r\n $ctrl.dismiss({ $value: 'close' });\r\n }\r\n}\r\n","import \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/web.dom.iterable\";\nServiceDriveOffersController.$inject = [\"_\", \"$filter\", \"$timeout\", \"$sce\", \"$rootScope\", \"moment\", \"$state\", \"$window\", \"$translate\", \"$translatePartialLoader\", \"localePaths\", \"printOfferBatchService\", \"translateErrorKeys\", \"warningTitleKey\", \"alertTypes\", \"dealSheetService\", \"logger\", \"searchService\", \"legacy\", \"dealSheetUrl\", \"dealerService\"];\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/* injects from baggage-loader */\nrequire('./service-drive-offers.component.html');\n\nimport angular from 'angular';\nimport './service-drive.scss';\nangular.module('AaApp.Opp').component('serviceDriveOffersComponent', {\n templateUrl: '/app/components/service-drive/service-drive-offers.component.html',\n controller: ServiceDriveOffersController,\n bindings: {}\n});\n/* @ngInject */\n\nfunction ServiceDriveOffersController( // angular and 3rd party modules\n_, $filter, $timeout, $sce, $rootScope, moment, $state, $window, //translate\n$translate, $translatePartialLoader, localePaths, printOfferBatchService, translateErrorKeys, warningTitleKey, //other providers\nalertTypes, dealSheetService, logger, searchService, legacy, dealSheetUrl, dealerService) {\n var $ctrl = this;\n var offers = [];\n $ctrl.setFilters = setFilters;\n $ctrl.$onInit = oneTimeInit();\n\n if (dealerService.dealersOneToOneStatusLoaded) {\n reset();\n }\n\n $rootScope.$on('RUN_USER_INIT.ONE_TO_ONE_READY', function onSiteMapLoaded() {\n var dealers = dealerService.getOneToOneEnabledDealerIds(); //console.log({ n: 'RUN_USER_INIT.ONE_TO_ONE_READY', d: dealers, ds: dealerService.dealersOneToOneStatusLoaded });\n\n if (dealers.length === 0) {\n $state.go('notFound');\n } else {\n if (!$ctrl.isReset) {\n reset();\n }\n }\n });\n\n function oneTimeInit() {\n //one time init\n $translatePartialLoader.addPart(localePaths.general);\n $translatePartialLoader.addPart(localePaths.error);\n $translatePartialLoader.addPart(localePaths.serviceDrive);\n $ctrl.resetButton = reset;\n $ctrl.isReset = false;\n $ctrl.alertStyle = alertStyle;\n $ctrl.clickTableRow = clickTableRow;\n $ctrl.filteredOffers = offers;\n $ctrl.getLatestDate = getLatestDate;\n $ctrl.openDealSheet = openDealSheet;\n $ctrl.printSelected = printSelected;\n $ctrl.resetSearchText = resetSearchText;\n $ctrl.showFutureAppointments = showFutureAppointments;\n $ctrl.toggleAllRows = toggleAllRows;\n $ctrl.updateOffers = updateOffers;\n $ctrl.iframeSource = $sce.trustAsResourceUrl(legacy.iframeUrl + '/Home/ContactUs');\n }\n\n function alertStyle(alert) {\n return \"fa fa\" + alert;\n }\n\n function clickTableRow(offer, e) {\n if (e.target.tagName === 'A') {\n var entityIds = [offer.entityID];\n initiatePrint(entityIds);\n } else if (e.target.tagName === 'INPUT') {\n if (e.target.checked) {\n $ctrl.selectedEntityIds.push(offer.entityID);\n } else {\n $ctrl.selectedEntityIds = $filter('filter')($ctrl.selectedEntityIds, function (value, index) {\n return value !== offer.entityID;\n });\n }\n } else {\n $ctrl.openDealSheet(offer.entityID);\n }\n }\n\n function getLatestDate(offer) {\n if (offer.roDate && !offer.scanDate) {\n return $filter('localeDateTime')(offer.roDate);\n } else if (offer.scanDate && !offer.roDate) {\n return $filter('localeDateTime')(offer.scanDate);\n } else if (!offer.scanDate && !offer.roDate) {\n return null;\n } else if (offer.scanDate && offer.roDate) {\n var scanDatePartOnly = moment(offer.scanDate).startOf('day');\n var roDatePartOnly = moment(offer.roDate).startOf('day');\n\n if (scanDatePartOnly.isAfter(roDatePartOnly)) {\n //only if scan datePart is later date, take it over roDate\n return $filter('localeDateTime')(offer.scanDate);\n } else {\n //even if same date, take roDate over scanDate\n return $filter('localeDateTime')(offer.roDate);\n }\n }\n }\n\n function getOneToOneEntities() {\n $ctrl.getOneToOneEntitiesInProgress = true;\n var params = {};\n var dealers = dealerService.getOneToOneEnabledDealerIds();\n\n if (dealers.length > 0) {\n params.dealers = dealers;\n } else {\n $state.go('notFound');\n }\n\n $ctrl.isReset = true;\n params.fromDate = moment($ctrl.dateStart).startOf('day').toDate();\n params.toDate = new Date(params.fromDate);\n params.toDate.setDate(params.fromDate.getDate() + 1); //params.toDate = moment(params.fromDate).add(1, 'days').date();\n\n params.offset = params.fromDate.getTimezoneOffset() * -1; //params.offset = params.fromDate.zone() * (-1);\n\n params.alerts = _.map($ctrl.selectedAlertTypes, 'value');\n $ctrl.getEntitiesPromise = searchService.getOneToOneEntities(params).then(function (data) {\n $ctrl.filteredOffers = data.map(function (offer) {\n return _objectSpread({}, offer, {\n alerts: offer.alerts.map(function (type) {\n return {\n type: type\n };\n })\n });\n });\n offers = $ctrl.filteredOffers;\n resetSearchText();\n $ctrl.getOneToOneEntitiesInProgress = false;\n });\n }\n\n function openDealSheet(entityId) {\n dealSheetService.openDealSheetModal(entityId);\n }\n\n function setFilters(result) {\n $ctrl.dateStart = result.dateStart;\n $ctrl.dateEnd = new Date();\n $ctrl.dateEnd.setDate($ctrl.dateStart.getDate() + 1);\n $ctrl.selectedAlertTypes = _.sortBy(result.selectedAlertTypes, 'value');\n getOneToOneEntities();\n }\n\n function initiatePrint(entityIds) {\n $ctrl.initiatePrintPromise = printOfferBatchService.initiatePrint(entityIds).then(function (data) {\n if (data) {\n getOneToOneEntities(); //updatePrintedDate(data.entityIds);\n //updateOffers();\n }\n });\n }\n\n function printSelected() {\n initiatePrint($ctrl.selectedEntityIds);\n }\n\n function reset() {\n //console.log('reset');\n $ctrl.alertsDropdown = {\n isopen: false\n };\n var date = new Date(); //var date = new Date(\"2016-08-05T07:00:00.000Z\");\n\n $ctrl.dateStart = date;\n $ctrl.dateEnd = new Date();\n $ctrl.dateEnd.setDate($ctrl.dateStart.getDate() + 1); //var date = moment().utc().startOf('day').toDate();\n //date.setHours(24, 0, 0, 0);\n\n $ctrl.selectedAlertTypes = [];\n $ctrl.selectedEntityIds = [];\n $ctrl.isIncludePrintedChecked = false;\n $ctrl.isAllSelected = false;\n resetSearchText();\n getOneToOneEntities();\n }\n\n function resetSearchText() {\n $ctrl.searchText = '';\n updateOffers();\n }\n\n function toggleAllRows() {\n if ($ctrl.isAllSelected) {\n angular.forEach($ctrl.filteredOffers, function (row) {\n if (row.replacementFullTrimName) {\n row.isSelected = true;\n $ctrl.selectedEntityIds.push(row.entityID);\n }\n });\n } else {\n angular.forEach($ctrl.filteredOffers, function (row) {\n row.isSelected = false;\n });\n $ctrl.selectedEntityIds = [];\n }\n }\n\n function showFutureAppointments() {\n $translate([translateErrorKeys.underConstructionKey, warningTitleKey]).then(function (translations) {\n logger.warning(translations[translateErrorKeys.underConstructionKey], null, null);\n });\n }\n\n function updateOffers() {\n //var startDate = moment().startOf('day').toDate();\n var startDate = $ctrl.dateStart;\n $ctrl.filteredOffers = $filter('serviceDriveOffersFilter')(offers, $ctrl.searchText, $ctrl.isIncludePrintedChecked, startDate); //var filteredAndSelectedRows = _.filter($ctrl.filteredOffers, ['isSelected', true]);\n //$ctrl.selectedEntityIds = _.map(filteredAndSelectedRows, 'entityID');\n }\n\n function updatePrintedDate(entityIds) {\n angular.forEach($ctrl.filteredOffers, function (row) {\n if (_.includes(entityIds, row.entityID)) {\n row.lastPrintedDate = new Date();\n }\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./service-drive-offers.component.html');\n\nimport angular from 'angular';\r\n\r\nimport './service-drive.scss';\r\n\r\nangular.module('AaApp.Opp').component('serviceDriveOffersComponent', {\r\n templateUrl: '/app/components/service-drive/service-drive-offers.component.html',\r\n controller: ServiceDriveOffersController,\r\n bindings: {\r\n\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ServiceDriveOffersController(\r\n // angular and 3rd party modules\r\n _, $filter, $timeout, $sce, $rootScope, moment, $state, $window,\r\n //translate\r\n $translate, $translatePartialLoader, localePaths, printOfferBatchService, translateErrorKeys, warningTitleKey,\r\n //other providers\r\n alertTypes, dealSheetService, logger, searchService, legacy, dealSheetUrl, dealerService) {\r\n var $ctrl = this;\r\n\r\n var offers = [];\r\n\r\n $ctrl.setFilters = setFilters;\r\n $ctrl.$onInit = oneTimeInit();\r\n if (dealerService.dealersOneToOneStatusLoaded) {\r\n reset();\r\n }\r\n $rootScope.$on('RUN_USER_INIT.ONE_TO_ONE_READY', function onSiteMapLoaded() {\r\n var dealers = dealerService.getOneToOneEnabledDealerIds();\r\n //console.log({ n: 'RUN_USER_INIT.ONE_TO_ONE_READY', d: dealers, ds: dealerService.dealersOneToOneStatusLoaded });\r\n if (dealers.length === 0) {\r\n $state.go('notFound');\r\n } else {\r\n if (!$ctrl.isReset) {\r\n reset();\r\n }\r\n }\r\n });\r\n\r\n function oneTimeInit() {\r\n //one time init\r\n $translatePartialLoader.addPart(localePaths.general);\r\n $translatePartialLoader.addPart(localePaths.error);\r\n $translatePartialLoader.addPart(localePaths.serviceDrive);\r\n $ctrl.resetButton = reset;\r\n $ctrl.isReset = false;\r\n\r\n $ctrl.alertStyle = alertStyle;\r\n $ctrl.clickTableRow = clickTableRow;\r\n $ctrl.filteredOffers = offers;\r\n $ctrl.getLatestDate = getLatestDate;\r\n $ctrl.openDealSheet = openDealSheet;\r\n $ctrl.printSelected = printSelected;\r\n $ctrl.resetSearchText = resetSearchText;\r\n $ctrl.showFutureAppointments = showFutureAppointments;\r\n $ctrl.toggleAllRows = toggleAllRows;\r\n $ctrl.updateOffers = updateOffers;\r\n\r\n $ctrl.iframeSource = $sce.trustAsResourceUrl(legacy.iframeUrl + '/Home/ContactUs');\r\n }\r\n\r\n function alertStyle(alert) {\r\n return \"fa fa\" + alert;\r\n }\r\n\r\n function clickTableRow(offer, e) {\r\n if (e.target.tagName === 'A') {\r\n var entityIds = [offer.entityID];\r\n initiatePrint(entityIds);\r\n }\r\n else if (e.target.tagName === 'INPUT') {\r\n if (e.target.checked) {\r\n $ctrl.selectedEntityIds.push(offer.entityID);\r\n }\r\n else {\r\n $ctrl.selectedEntityIds = $filter('filter')($ctrl.selectedEntityIds, function (value, index) {\r\n return value !== offer.entityID;\r\n });\r\n }\r\n }\r\n else {\r\n $ctrl.openDealSheet(offer.entityID);\r\n }\r\n }\r\n\r\n function getLatestDate(offer) {\r\n if (offer.roDate && !offer.scanDate) {\r\n return $filter('localeDateTime')(offer.roDate);\r\n } else if (offer.scanDate && !offer.roDate) {\r\n return $filter('localeDateTime')(offer.scanDate);\r\n } else if (!offer.scanDate && !offer.roDate) {\r\n return null;\r\n } else if (offer.scanDate && offer.roDate) {\r\n var scanDatePartOnly = moment(offer.scanDate).startOf('day');\r\n var roDatePartOnly = moment(offer.roDate).startOf('day');\r\n if (scanDatePartOnly.isAfter(roDatePartOnly)) {\r\n //only if scan datePart is later date, take it over roDate\r\n return $filter('localeDateTime')(offer.scanDate);\r\n }\r\n else {\r\n //even if same date, take roDate over scanDate\r\n return $filter('localeDateTime')(offer.roDate);\r\n }\r\n }\r\n }\r\n\r\n\r\n function getOneToOneEntities() {\r\n\r\n $ctrl.getOneToOneEntitiesInProgress = true;\r\n\r\n var params = {};\r\n\r\n var dealers = dealerService.getOneToOneEnabledDealerIds();\r\n\r\n if (dealers.length > 0) {\r\n params.dealers = dealers;\r\n } else {\r\n $state.go('notFound');\r\n }\r\n $ctrl.isReset = true;\r\n\r\n params.fromDate = moment($ctrl.dateStart).startOf('day').toDate();\r\n params.toDate = new Date(params.fromDate);\r\n params.toDate.setDate(params.fromDate.getDate() + 1);\r\n //params.toDate = moment(params.fromDate).add(1, 'days').date();\r\n params.offset = (params.fromDate.getTimezoneOffset()) * (-1);\r\n //params.offset = params.fromDate.zone() * (-1);\r\n params.alerts = _.map($ctrl.selectedAlertTypes, 'value');\r\n\r\n $ctrl.getEntitiesPromise = searchService.getOneToOneEntities(params).then(function (data) {\r\n $ctrl.filteredOffers = data.map(offer => ({\r\n ...offer,\r\n alerts: offer.alerts.map(type => ({ type }))\r\n }));\r\n\r\n offers = $ctrl.filteredOffers;\r\n resetSearchText();\r\n $ctrl.getOneToOneEntitiesInProgress = false;\r\n });\r\n }\r\n\r\n function openDealSheet(entityId) {\r\n dealSheetService.openDealSheetModal(entityId);\r\n }\r\n\r\n function setFilters(result) {\r\n $ctrl.dateStart = result.dateStart;\r\n $ctrl.dateEnd = new Date();\r\n $ctrl.dateEnd.setDate($ctrl.dateStart.getDate() + 1);\r\n $ctrl.selectedAlertTypes = _.sortBy(result.selectedAlertTypes, 'value');\r\n\r\n getOneToOneEntities();\r\n }\r\n\r\n function initiatePrint(entityIds) {\r\n $ctrl.initiatePrintPromise = printOfferBatchService.initiatePrint(entityIds)\r\n .then(function (data) {\r\n if (data) {\r\n getOneToOneEntities();\r\n //updatePrintedDate(data.entityIds);\r\n //updateOffers();\r\n }\r\n })\r\n }\r\n\r\n function printSelected() {\r\n initiatePrint($ctrl.selectedEntityIds);\r\n }\r\n\r\n function reset() {\r\n //console.log('reset');\r\n $ctrl.alertsDropdown = {\r\n isopen: false\r\n };\r\n\r\n var date = new Date();\r\n //var date = new Date(\"2016-08-05T07:00:00.000Z\");\r\n $ctrl.dateStart = date;\r\n $ctrl.dateEnd = new Date();\r\n $ctrl.dateEnd.setDate($ctrl.dateStart.getDate() + 1);\r\n //var date = moment().utc().startOf('day').toDate();\r\n //date.setHours(24, 0, 0, 0);\r\n\r\n $ctrl.selectedAlertTypes = [];\r\n $ctrl.selectedEntityIds = [];\r\n $ctrl.isIncludePrintedChecked = false;\r\n $ctrl.isAllSelected = false;\r\n resetSearchText();\r\n\r\n getOneToOneEntities();\r\n }\r\n\r\n function resetSearchText() {\r\n $ctrl.searchText = '';\r\n updateOffers();\r\n }\r\n\r\n function toggleAllRows() {\r\n if ($ctrl.isAllSelected) {\r\n angular.forEach($ctrl.filteredOffers, function (row) {\r\n if (row.replacementFullTrimName) {\r\n row.isSelected = true;\r\n $ctrl.selectedEntityIds.push(row.entityID);\r\n }\r\n });\r\n }\r\n else {\r\n angular.forEach($ctrl.filteredOffers, function (row) {\r\n row.isSelected = false;\r\n });\r\n\r\n $ctrl.selectedEntityIds = [];\r\n }\r\n }\r\n\r\n function showFutureAppointments() {\r\n $translate([translateErrorKeys.underConstructionKey, warningTitleKey])\r\n .then(function (translations) {\r\n logger.warning(\r\n translations[translateErrorKeys.underConstructionKey],\r\n null,\r\n null\r\n );\r\n });\r\n }\r\n\r\n function updateOffers() {\r\n //var startDate = moment().startOf('day').toDate();\r\n var startDate = $ctrl.dateStart;\r\n\r\n $ctrl.filteredOffers = $filter('serviceDriveOffersFilter')(offers, $ctrl.searchText, $ctrl.isIncludePrintedChecked, startDate);\r\n //var filteredAndSelectedRows = _.filter($ctrl.filteredOffers, ['isSelected', true]);\r\n //$ctrl.selectedEntityIds = _.map(filteredAndSelectedRows, 'entityID');\r\n }\r\n\r\n\r\n function updatePrintedDate(entityIds) {\r\n angular.forEach($ctrl.filteredOffers, function (row) {\r\n if (_.includes(entityIds, row.entityID)) {\r\n row.lastPrintedDate = new Date();\r\n }\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./third-party-report.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('thirdPartyReport', {\r\n templateUrl: '/app/components/third-party-report.component.html',\r\n controller: ThirdPartyReportController,\r\n bindings: {\r\n reportType: '<',\r\n opportunityId: '<',\r\n vin: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction ThirdPartyReportController(vehicleService, $window, $state) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = function () {\r\n switch ($ctrl.reportType) {\r\n case 'autoCheck':\r\n displayAutoCheckReport();\r\n break;\r\n case 'carFax':\r\n displayCarFaxReport();\r\n break;\r\n case 'carProof':\r\n displayCarProofReport();\r\n break;\r\n }\r\n }\r\n\r\n function displayAutoCheckReport() {\r\n vehicleService.getAutoCheckReport($ctrl.opportunityId, $ctrl.vin)\r\n .then(displayReport)\r\n .catch(function () {\r\n $state.go('home')\r\n });\r\n }\r\n\r\n function displayCarFaxReport() {\r\n vehicleService.getCarFaxReport($ctrl.opportunityId, $ctrl.vin)\r\n .then(displayReport)\r\n .catch(function () {\r\n $state.go('home')\r\n });\r\n }\r\n\r\n function displayCarProofReport() {\r\n vehicleService.getCarProofReport($ctrl.opportunityId, $ctrl.vin)\r\n .then(redirectToReport)\r\n .catch(function () {\r\n $state.go('home')\r\n });\r\n }\r\n\r\n function redirectToReport(uri) {\r\n $window.location.replace(uri);\r\n }\r\n\r\n function displayReport(report) {\r\n var iframe = angular.element('#third-party-report-iframe');\r\n var iframedoc = null;\r\n\r\n if (iframe[0].contentDocument)\r\n iframedoc = iframe[0].contentDocument;\r\n else if (iframe.contentWindow)\r\n iframedoc = iframe[0].contentWindow.document;\r\n\r\n if (iframedoc) {\r\n iframedoc.open();\r\n iframedoc.write(report);\r\n iframedoc.close();\r\n }\r\n }\r\n}\r\n\r\n","\n/* injects from baggage-loader */\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('carfaxCallback', {\r\n template: '
{{$ctrl.message}}
',\r\n controller: CarfaxCallbackController,\r\n bindings: {\r\n code: '<',\r\n state: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CarfaxCallbackController(vehicleService, $window) {\r\n var $ctrl = this;\r\n $ctrl.message = \"\"; \r\n\r\n $ctrl.$onInit = function () {\r\n getCarFaxReport(this.code, this.state);\r\n }\r\n\r\n function getCarFaxReport(code, state) {\r\n\r\n vehicleService.getCarFaxUrlFromAuthCode(code, state)\r\n .then((carfaxUrl) => {\r\n if (carfaxUrl.startsWith(\"ERROR:\")) {\r\n $ctrl.message = carfaxUrl;\r\n }\r\n else {\r\n $window.location.replace(carfaxUrl);\r\n }\r\n })\r\n .catch(function () {\r\n });\r\n }\r\n}\r\n\r\n","\n/* injects from baggage-loader */\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('carfaxAuthorize', {\r\n template: '
{{$ctrl.message}}
',\r\n controller: CarfaxAuthorizeController,\r\n bindings: {\r\n dealerId: '<',\r\n entityId: '<',\r\n vin: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction CarfaxAuthorizeController(vehicleService, $window) {\r\n var $ctrl = this;\r\n $ctrl.message = \"\"; \r\n\r\n $ctrl.$onInit = function () {\r\n getCarFaxReport(this.dealerId, this.entityId, this.vin);\r\n }\r\n\r\n function getCarFaxReport(dealerId, entityId, vin) {\r\n vehicleService.getCarFaxReportUrl(dealerId, entityId, vin)\r\n .then((carfaxUrl) => {\r\n if (carfaxUrl.startsWith(\"ERROR:\")) {\r\n $ctrl.message = carfaxUrl;\r\n }\r\n else {\r\n $window.location.replace(carfaxUrl);\r\n }\r\n })\r\n .catch(function () {\r\n });\r\n }\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./portal-footer.component.html');\n\nimport angular from 'angular';\r\nimport { ProductTypes } from '../constants';\r\n\r\nangular.module('AaApp.Opp').component('portalFooter', {\r\n templateUrl: '/app/components/portal-footer.component.html',\r\n controller: PortalFooterController,\r\n bindings: {\r\n year: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction PortalFooterController(dealerService, environmentVariables, $location) {\r\n var $ctrl = this;\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.year;\r\n $ctrl.isEuroLite = false;\r\n $ctrl.isFooterVisible = true;\r\n\r\n function $onInit() {\r\n $ctrl.year = new Date().getFullYear();\r\n var dealerIDs = dealerService.getSelectedDealerIds();\r\n if (Array.isArray(dealerIDs) && dealerIDs.length) {\r\n dealerService.getDealerSettings(dealerIDs[0])\r\n .then(function (settings) {\r\n if (settings.productID === ProductTypes.euroLite)\r\n $ctrl.isEuroLite = true;\r\n })\r\n .catch(err => {});\r\n }\r\n\r\n const url = $location.url();\r\n if ((url.includes('mobile') && url.includes('deal-sheet')) || url.includes('cfcallback') || url.includes('carfax-authorize') ) {\r\n $ctrl.isFooterVisible = false;\r\n }\r\n }\r\n\r\n}","\n/* injects from baggage-loader */\nrequire('./euroliteopportunities.component.html');\n\nimport angular from 'angular';\r\nimport moment from 'moment-timezone';\r\nimport $ from 'jquery';\r\nimport './euroliteopportunities.component.scss';\r\nimport { downloadArraybufferResponse } from '../../utilities/http';\r\nimport { ApiActivityTypes, ProductTypes } from '../../constants';\r\n\r\n\r\nangular.module('AaApp.Opp').component('euroLiteOpportunities', {\r\n templateUrl: '/app/components/opportunities/euroliteopportunities.component.html',\r\n controller: EuroLiteOpportunitiesController,\r\n bindings: {\r\n kendo: '<',\r\n opportunityId: '<',\r\n dealerIds: '<',\r\n filter: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction EuroLiteOpportunitiesController(\r\n \r\n $q, $filter, $uibModal, $document, $translate, $timeout, $state, _,\r\n dealSheetService, opportunity2Service, opportunityService, activityService, searchService, vehicleService, authorizationService, userService, dealerService, customerService, storageService, legacyService, dateFormatService,\r\n alertTypeDescriptorsEuroLite, ActivityActionEnum, activityResults, saleTypes, opportunityStatuses, widgetTitleKeys, authorizationKeys,\r\n logger, dealerCountries, stockNumberSearchService, $logFactory, environmentVariables, modules\r\n ) \r\n{\r\n\r\n \"ngInject\";\r\n const $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n var allFilters = [];\r\n var allOpportunityFilters = [];\r\n\r\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\r\n\r\n // props\r\n $ctrl.alertTypeDescriptorsEuroLite = alertTypeDescriptorsEuroLite;\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\r\n $ctrl.lastOpenedLogActivityRow = null;\r\n $ctrl.markSelectedAlerts = [];\r\n $ctrl.isAlertSelectedBefore = false;\r\n $ctrl.isFlexAlertSelectedBefore = false;\r\n $ctrl.cultureName = storageService.getItem('cultureName');\r\n $ctrl.dateFormat = dateFormatService.getDateTimeMomentFormatString();\r\n $ctrl.filterUnscheduledOnly_show = authorizationService.isAuthorized(authorizationKeys.Scheduled);\r\n $ctrl.isTextingEnabled = false;\r\n\r\n $ctrl.getAlertTranslations = getAlertTranslations;\r\n // binding events\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.refreshData = refreshData;\r\n\r\n // events\r\n $ctrl.onReloadGridDS = onReloadGridDS;\r\n\r\n // popup action menus\r\n $ctrl.onActionMenuMarkAsSoldClick = onActionMenuMarkAsSoldClick;\r\n $ctrl.onActionMenuLogActivityClick = onActionMenuLogActivityClick;\r\n $ctrl.onActionMenuActivityNotesClick = onActionMenuActivityNotesClick;\r\n\r\n //component events\r\n $ctrl.onReassignComplete = onReassignComplete;\r\n $ctrl.onLogActivityComplete = onLogActivityComplete;\r\n $ctrl.onUpdateCustomer = onUpdateCustomer;\r\n $ctrl.onActivityNotesClosed = onActivityNotesClosed;\r\n $ctrl.onSelectedOpportunityId = onSelectedOpportunityId;\r\n $ctrl.onOfferTemplateClick = onOfferTemplateClick;\r\n $ctrl.isLogActivityOpen = isLogActivityOpen;\r\n $ctrl.isActivityNotesOpen = isActivityNotesOpen;\r\n $ctrl.onActivityNotesScheduleActionComplete = onActivityNotesScheduleActionComplete;\r\n $ctrl.onGridRowChange = onGridRowChange;\r\n\r\n $ctrl.onUserCustomFilterClick = onUserCustomFilterClick;\r\n $ctrl.onUserCustomFilterKeyPress = onUserCustomFilterKeyPress;\r\n\r\n $ctrl.onLastActivityMouseOver = onLastActivityMouseOver;\r\n //grid events\r\n $ctrl.onGridLayoutChanges = onGridLayoutChanges;\r\n $ctrl.onFilterSelect = onFilterSelect;\r\n $ctrl.onAlertClick = onAlertClick;\r\n $ctrl.onHeaderFilterSelect = onHeaderFilterSelect;\r\n $ctrl.onFlagClicked = onFlagClicked;\r\n\r\n\r\n\r\n // spinner animation\r\n $ctrl.stopWorkingState = stopWorkingState;\r\n $ctrl.startWorkingState = startWorkingState;\r\n $ctrl.hideWhenBusy = false;\r\n $ctrl.dealsheetWorking = null;\r\n\r\n\r\n // Make model info Models\r\n $ctrl.makesSelected = []; \r\n $ctrl.alertsSelected = [];\r\n $ctrl.dealerMakesOptions = [];\r\n $ctrl.alertOptions = [];\r\n $ctrl.settingsMakesDropdown = { template: '{{option.name}}', smartButtonTextConverter(skip, option) { return option.name; }, checkBoxes: true, smartButtonMaxItems: 2, showCheckAll: false, showUncheckAll: false,};\r\n $ctrl.settingsAlertsDropdown = { template: '{{option.name}}', smartButtonTextConverter(skip, option) { return option.name; }, checkBoxes: true, smartButtonMaxItems: 2, showCheckAll: false, showUncheckAll: false,};\r\n\r\n $ctrl.currentGridColumns = [];\r\n\r\n $ctrl.filterNew = null;\r\n $ctrl.filterUsed = null;\r\n $ctrl.filterCash = null;\r\n $ctrl.filterLease = null;\r\n $ctrl.filterRetail = null;\r\n $ctrl.filterBalloon = null;\r\n $ctrl.filterUnreadOnly = null;\r\n $ctrl.filterUnscheduledOnly = null;\r\n $ctrl.filterFlaggedOnly = null;\r\n\r\n // grid details\r\n $ctrl.newDealSheetReady = false;\r\n $ctrl.contractReady = false;\r\n $ctrl.opportunityDetailsReady = false;\r\n $ctrl.permissions = null;\r\n $ctrl.isSltUser = null;\r\n $ctrl.moduleIds = null;\r\n $ctrl.customer = null;\r\n $ctrl.userProfile = null;\r\n $ctrl.users = null;\r\n $ctrl.dealerSettings = null;\r\n $ctrl.isCustomerConnectOpen = null;\r\n $ctrl.tabLoadingPromise = null;\r\n $ctrl.activities = null;\r\n $ctrl.isEuroLite = null;\r\n\r\n $ctrl.openedActivityOrNotesEntity = null;\r\n $ctrl.activities = null;\r\n $ctrl.isLogActivityOpen = false;\r\n $ctrl.isNotesOpen = false;\r\n\r\n var emailFieldName = null;\r\n var homePhoneFieldName = null;\r\n var cellPhoneFieldName = null;\r\n\r\n // grid\r\n $ctrl.opportunity = {id:null,assignedUserId:null, assignedUserFullName:null, customer: $ctrl.customer, dealerId:null, expirationDate:null }\r\n $ctrl.currentGridRow = null;\r\n $ctrl.currentEntityId = null;\r\n \r\n\r\n\r\n\r\n // detail tabs\r\n $ctrl.tabs = {\"LogActivity\":0,\"ActivityNotesList\":1};\r\n $ctrl.currentTab = null;\r\n\r\n $ctrl.dealerCountries = dealerCountries;\r\n\r\n\r\n var openEuroliteMarkAsSoldTranslationKey = \"euroliteMarkAsSoldPrompt\";\r\n var openEuroliteNewLogActivityTranslationKey = \"euroliteNewLogActivityandNotesPrompt\";\r\n\r\n\r\n\r\n function onLastActivityMouseOver(item) {\r\n activityService.getLastActivityDetails(item._EntityID)\r\n .then(function (activity) {\r\n if (activity) {\r\n var toolTipHtml = \"\"; \r\n\r\n if (activity.activityTypeID)\r\n {\r\n toolTipHtml += ' ';\r\n }\r\n if (activity.activityActionName)\r\n {\r\n toolTipHtml += \"\" + getLastActionKeys(activity.activityActionName, activity.activityActionID) + \" \" + $ctrl.by + \" \" + activity.insertUserFullName + \"

\";\r\n }\r\n if (activity.dueDate)\r\n {\r\n toolTipHtml += \"\" + $ctrl.dueDate + \": \" + moment(activity.dueDate).format($ctrl.dateFormat) + \"
\";\r\n }\r\n if (activity.responsibleUserFullName)\r\n {\r\n toolTipHtml += \"\" + $ctrl.assignedTo +\": \" + activity.responsibleUserFullName + \"
\";\r\n }\r\n if (activity.notes)\r\n {\r\n toolTipHtml += \"\" + activity.notes.substring(0,30) + \"....
\";\r\n }\r\n }\r\n item.lastActivityToolTipDesc = toolTipHtml;\r\n });\r\n }\r\n\r\n function getIconClass(type) {\r\n switch (type) {\r\n case ApiActivityTypes.note:\r\n return 'aa-icon-core-takenote-icon-000000';\r\n case ApiActivityTypes.phoneCall:\r\n return 'aa-icon-core-phone-icon-000000';\r\n case ApiActivityTypes.appointment:\r\n return 'aa-icon-core-calendar-icon-000000';\r\n case ApiActivityTypes.email:\r\n return 'aa-icon-core-email-icon-000000';\r\n default:\r\n return '';\r\n }\r\n } \r\n\r\n\r\n $ctrl.gridDataLoadingCompleted = 2;\r\n $ctrl.gridloaded = 0;\r\n $ctrl.matchedExternalEntityID = false;\r\n\r\n function onDataboundInitKendoGrid(e)\r\n {\r\n var dataSource = this.dataSource; \r\n this.element.find('tr.k-master-row').each(function() {\r\n var row = $(this); \r\n var data = dataSource.getByUid(row.data('uid'));\r\n row.find('.k-hierarchy-cell a')\r\n .css({ opacity: 0.0, cursor: 'default',width:'0px' })\r\n .attr(\"href\", \"\")\r\n });\r\n selectGrid();\r\n }\r\n\r\n function selectGrid(){\r\n $ctrl.gridloaded++;\r\n var grid = getKendoGrid();\r\n if ($ctrl.gridloaded == $ctrl.gridDataLoadingCompleted)\r\n { \r\n var gridData = grid.dataSource.data();\r\n var index = _.findIndex(gridData, {_EntityID: $ctrl.currentEntityId}) ; //gridData.findIndex(x => x._EntityID == $ctrl.currentEntityId);\r\n\r\n if (index > -1){\r\n var pageNum = Math.ceil((index + 1)/grid.dataSource.pageSize());\r\n $ctrl.matchedExternalEntityID = true;\r\n grid.dataSource.page(pageNum);\r\n }\r\n }\r\n\r\n if ($ctrl.matchedExternalEntityID){\r\n grid.items().each(function() {\r\n var data = grid.dataItem(this);\r\n if (data._EntityID == $ctrl.currentEntityId) {\r\n grid.select('tr[data-uid=\"' + data.uid + '\"]'); \r\n grid.content.animate({ scrollTop: grid.select().position().top }, 400);\r\n }\r\n });\r\n }\r\n }\r\n\r\n function onPagerPageChange(e){\r\n //if the user manually changed a page reset user state to null\r\n $ctrl.openedActivityOrNotesEntity = null; \r\n }\r\n\r\n\r\n function getAllCustomerSearchFilters() { \r\n let temp = null;\r\n let tempFilter = [];\r\n let qtypeOperator = \"and\";\r\n\r\n if ($ctrl.userCustomFilter && !/^[a-zA-Z0-9'\\- ]*$/.test($ctrl.userCustomFilter)) {\r\n logger.warning(\"invalidQuickSearchString\");\r\n return temp; \r\n }\r\n\r\n if ($ctrl.userCustomFilter && $ctrl.userCustomFilter.replace(/[ ]/g, '').length > 2) {\r\n let qtype = stockNumberSearchService.getProcessQueryString($ctrl.userCustomFilter);\r\n if (qtype.IsName) {\r\n $ctrl.userCustomFilter.split(\" \").forEach(function (element) {\r\n tempFilter.push({ \"field\": \"full_Name\", \"operator\": \"contains\", \"value\": element });\r\n });\r\n }\r\n else if (qtype.IsPhone) { //IsPhone is any number\r\n qtypeOperator = \"or\";\r\n tempFilter.push({ \"field\": \"cell_PhoneString\", \"operator\": \"contains\", \"value\": $ctrl.userCustomFilter.replace(/[ ]/g, '') });\r\n tempFilter.push({ \"field\": \"home_PhoneString\", \"operator\": \"contains\", \"value\": $ctrl.userCustomFilter.replace(/[ ]/g, '') });\r\n tempFilter.push({ \"field\": \"dmS_Deal_ID\", \"operator\": \"contains\", \"value\": $ctrl.userCustomFilter.replace(/[ ]/g, '') });\r\n tempFilter.push({ \"field\": \"zip_Code\", \"operator\": \"contains\", \"value\": $ctrl.userCustomFilter.replace(/[ ]/g, '') });\r\n }\r\n else if (qtype.IsVIN) {\r\n tempFilter.push({ \"field\": \"vin\", \"operator\": \"contains\", \"value\": $ctrl.userCustomFilter });\r\n }\r\n\r\n\r\n temp = { qtype: qtype, filter: tempFilter, qtypeOperator: qtypeOperator };\r\n }\r\n\r\n\r\n return temp; \r\n }\r\n\r\n function onUserCustomFilterKeyPress(event) {\r\n if (event.which === 13) { \r\n onUserCustomFilterClick();\r\n }\r\n }\r\n\r\n function checkMinSearch(minLength) {\r\n if (!$ctrl.userCustomFilter) return true; \r\n\r\n if ($ctrl.userCustomFilter && $ctrl.userCustomFilter.replace(/[ ]/g, '').length > minLength) {\r\n return true;\r\n }\r\n else {\r\n logger.warning(\"quickSearchWarning\");\r\n return false;\r\n }\r\n }\r\n\r\n function onUserCustomFilterClick() {\r\n if (checkMinSearch(2))\r\n onFilterSelect();\r\n }\r\n\r\n function onGridRowChange(e){\r\n var grid = e.sender;\r\n $ctrl.currentEntityId = grid.dataItem(grid.select())._EntityID;\r\n log.log(\"eurolite row entityid:\",$ctrl.currentEntityId);\r\n }\r\n\r\n function showMessage(messageKey){\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"customerRecord\";\r\n },\r\n message: function () {\r\n return messageKey;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\"; // translation key\r\n }\r\n }\r\n });\r\n }\r\n\r\n // User Column Settings -----------------------------------------\r\n function getUserColumnSettings(){\r\n return storageService.getItem('euroliteUserColumnSettings');\r\n }\r\n\r\n function setUserColumnSettings(columnNames){\r\n storageService.setItem('euroliteUserColumnSettings',columnNames);\r\n }\r\n\r\n function clearUserColumnSettings(){\r\n storageService.removeItem('euroliteUserColumnSettings');\r\n }\r\n\r\n\r\n\r\n // all inits ---------------------------------------------------\r\n function $onInit() {\r\n // if binding has valid opportunity id then select it.\r\n if ($ctrl.opportunityId){\r\n $ctrl.currentEntityId = $ctrl.opportunityId;\r\n log.log(\"activity or report row entityid:\",$ctrl.opportunityId);\r\n }\r\n\r\n\r\n $ctrl.startWorkingState();\r\n $ctrl.currentGridColumns = [\"_Opportunity_Rank\", \"_EntityWatched\", \"full_Name\", \"customer_Owner\", \"cell_Phone\", \"sale_Type\", \"current_Model_Name\", \"current_Model_Year\", \"Categories\", \"payment_Remaining\", \"payments_Made\", \"payment_Difference__\", \"performed_On\", \"offer\", \"actions\"];\r\n getTranslations();\r\n initSelectedOpportunityInfo();\r\n $ctrl.isAlertSelectedBefore = false;\r\n $ctrl.isFlexAlertSelectedBefore = false;\r\n }\r\n\r\n function getTranslations(){\r\n $q.all({\r\n 'alertName': $translate('alertName'),\r\n 'flexAlertName': $translate('flexAlertName'),\r\n 'warrantyName': $translate('warrantyName'),\r\n 'contractEndName': $translate('contractEndName'),\r\n 'noRecordsAvailable': $translate('noRecordsAvailable'),\r\n 'flag': $translate('flag'),\r\n 'score': $translate('score'),\r\n 'sortBy': $translate('sortBy'),\r\n 'allAlerts': $translate('allAlerts'),\r\n 'allMakes': $translate('allMakes'),\r\n 'owner': $translate('euroLiteOwner'),\r\n 'clientOwner': $translate('clientOwner'),\r\n 'full': $translate('full'),\r\n 'DealsheetPrintOfferCaption': $translate('DealsheetPrintOfferCaption'),\r\n 'fullName': $translate('fullName'),\r\n 'home': $translate('home'),\r\n 'customerHomePhone': $translate('customerHomePhone'),\r\n 'cell': $translate('cell'),\r\n 'phone1': $translate('phone1'),\r\n 'phone2': $translate('phone2'),\r\n 'customerCellPhone': $translate('customerCellPhone'),\r\n 'lastActivityTitle': $translate('lastActivityTitle'),\r\n 'lastActivityToolTip': $translate('lastActivityToolTip'),\r\n 'paymentsMadeTitle': $translate('paymentsMadeTitle'),\r\n 'paymentsMadeToolTip': $translate('paymentsMadeToolTip'),\r\n 'paymentsLeftTitle': $translate('paymentsLeftTitle'),\r\n 'paymentsLeftToolTip': $translate('paymentsLeftToolTip'),\r\n 'paymentsDifferenceTitle': $translate('paymentsDifferenceTitle'),\r\n 'paymentsDifferenceToolTip': $translate('paymentsDifferenceToolTip'),\r\n 'year': $translate('year'),\r\n 'model': $translate('model'),\r\n 'email': $translate('email'),\r\n 'saleType': $translate('saleType'),\r\n 'categories': $translate('categories'),\r\n 'action': $translate('action'),\r\n 'postNoteActivity' : $translate('postNoteActivity'),\r\n 'rescheduleActivity' : $translate('rescheduleActivity'),\r\n 'completedActivity': $translate('completedActivity'),\r\n 'reassigned' : $translate('reassigned'),\r\n 'canceled' : $translate('canceled'),\r\n 'cancelledAppointment' : $translate('cancelledAppointment'),\r\n 'cancelledCall' : $translate('cancelledCall'),\r\n 'loggedActivity' : $translate('loggedActivity'),\r\n 'scheduledCallActivity' : $translate('scheduledCallActivity'),\r\n 'expiredActivity' : $translate('expiredActivity'),\r\n 'loading' : $translate('loading'),\r\n 'bykey' : $translate('Bykey'),\r\n 'assignedTo' : $translate('assignedTo'),\r\n 'dueDate': $translate('dueDate'),\r\n 'dmsDealId': $translate('dmsDealId'),\r\n }).then(function (stuff) {\r\n $ctrl.alertName = stuff.alertName;\r\n $ctrl.flexAlertName = stuff.flexAlertName;\r\n $ctrl.warrantyName = stuff.warrantyName;\r\n $ctrl.contractEndName = stuff.contractEndName;\r\n $ctrl.noRecordsAvailable = stuff.noRecordsAvailable;\r\n $ctrl.flag = stuff.flag;\r\n $ctrl.score = stuff.score;\r\n $ctrl.sortBy = stuff.sortBy;\r\n $ctrl.allAlertsCaption = stuff.allAlerts;\r\n $ctrl.allMakesCaption = stuff.allMakes;\r\n $ctrl.owner = stuff.owner;\r\n $ctrl.clientOwner = $ctrl.sortBy + ' ' + stuff.clientOwner;\r\n $ctrl.full = stuff.full;\r\n $ctrl.offer = stuff.DealsheetPrintOfferCaption;\r\n $ctrl.fullName = $ctrl.sortBy + ' ' + stuff.fullName;\r\n $ctrl.home = stuff.home;\r\n $ctrl.customerHomePhone = $ctrl.sortBy + ' ' + stuff.phone1;\r\n $ctrl.cell = stuff.cell;\r\n\r\n $ctrl.phone1 = stuff.phone1;\r\n $ctrl.phone2 = stuff.phone2;\r\n\r\n $ctrl.customerCellPhone = $ctrl.sortBy + ' ' + stuff.phone2;\r\n $ctrl.lastActivityTitle = stuff.lastActivityTitle;\r\n $ctrl.lastActivityToolTip = $ctrl.sortBy + ' ' + stuff.lastActivityToolTip;\r\n $ctrl.paymentsMadeTitle = stuff.paymentsMadeTitle;\r\n $ctrl.paymentsMadeToolTip = $ctrl.sortBy + ' ' + stuff.paymentsMadeToolTip;\r\n $ctrl.paymentsLeftTitle = stuff.paymentsLeftTitle;\r\n $ctrl.paymentsLeftToolTip = $ctrl.sortBy + ' ' + stuff.paymentsLeftToolTip;\r\n $ctrl.paymentsDifferenceTitle = stuff.paymentsDifferenceTitle;\r\n $ctrl.paymentsDifferenceToolTip = $ctrl.sortBy + ' ' + stuff.paymentsDifferenceToolTip;\r\n $ctrl.year = stuff.year;\r\n $ctrl.model = stuff.model;\r\n $ctrl.email = stuff.email;\r\n $ctrl.saleType = stuff.saleType;\r\n $ctrl.dmsDealId = stuff.dmsDealId;\r\n $ctrl.categories = stuff.categories;\r\n $ctrl.action = stuff.action;\r\n\r\n $ctrl.postNoteActivity = stuff.postNoteActivity;\r\n $ctrl.rescheduleActivity = stuff.rescheduleActivity;\r\n $ctrl.completedActivity = stuff.completedActivity;\r\n $ctrl.reassigned = stuff.reassigned;\r\n $ctrl.canceled = stuff.canceled;\r\n $ctrl.cancelledAppointment = stuff.cancelledAppointment;\r\n $ctrl.cancelledCall = stuff.cancelledCall;\r\n $ctrl.loggedActivity = stuff.loggedActivity;\r\n $ctrl.scheduledCallActivity = stuff.scheduledCallActivity;\r\n $ctrl.expiredActivity = stuff.expiredActivity;\r\n $ctrl.loading = stuff.loading;\r\n $ctrl.by = stuff.bykey;\r\n $ctrl.assignedTo = stuff.assignedTo;\r\n $ctrl.dueDate = stuff.dueDate;\r\n\r\n initAlertDropDown();\r\n $ctrl.alertListTitle = $ctrl.allAlertsCaption;\r\n $ctrl.makeListSelected = $ctrl.allMakesCaption;\r\n })\r\n\r\n }\r\n\r\n\r\n function initSelectedOpportunityInfo() { \r\n\r\n return userService.getUserProfile()\r\n .then(function (userProfile) {\r\n return $q.all({\r\n 'dealSheetPermissions': authorizationService.getDealSheetPermissions(),\r\n 'userProfile': $q.resolve(userProfile),\r\n 'users': dealerService.getUsers($ctrl.dealerIds[0]),\r\n 'dealerSettings': dealerService.getDealerSettings($ctrl.dealerIds[0]) \r\n })\r\n })\r\n .then(function (data) {\r\n $ctrl.permissions = data.dealSheetPermissions;\r\n $ctrl.isSltUser = data.userProfile.isSltUser;\r\n $ctrl.userProfile = data.userProfile;\r\n $ctrl.users = data.users;\r\n $ctrl.dealerSettings = data.dealerSettings;\r\n //console.log('dealsettings',$ctrl.dealerSettings);\r\n\r\n //if not eurolite dealer switch to standard opportunity page\r\n if ($ctrl.dealerSettings.productID != ProductTypes.euroLite){\r\n $state.go('opportunities');\r\n return;\r\n }\r\n\r\n vehicleService.getMakes(data.userProfile.dealerIds[0], null)\r\n .then(function (dealerMakes) {\r\n $ctrl.dealerMakesOptions = dealerMakes.map(obj => {\r\n var rObj = {};\r\n rObj['id'] = obj.makeID;\r\n rObj['name'] = obj.makeName;\r\n return rObj;\r\n }); \r\n })\r\n .catch(function (error) {\r\n //console.log(error);\r\n });\r\n $ctrl.isEuroLite = $ctrl.dealerSettings.productID == ProductTypes.euroLite;\r\n initGridOptions();\r\n initGridDataSource(data.userProfile.dealerIds[0]);\r\n //$ctrl.stopWorkingState(); \r\n })\r\n .catch(function (error) {\r\n $ctrl.stopWorkingState(); \r\n //console.log(error);\r\n });\r\n }\r\n\r\n\r\n\r\n function initActionMenuTemplate(e){\r\n var actionTemplate = '
' ;\r\n actionTemplate += '' ;\r\n actionTemplate += '
    ' ;\r\n actionTemplate += '
  • ' ;\r\n actionTemplate += '
  • ';\r\n actionTemplate += '
  • ' ;\r\n actionTemplate += '
  • ' ; \r\n actionTemplate += '
' ;\r\n actionTemplate += '
' ;\r\n return actionTemplate;\r\n }\r\n\r\n\r\n\r\n function initGridOptions(){\r\n $ctrl.mainGridOptions = {\r\n \r\n height: 645,\r\n scrollable: true,\r\n resizable: true,\r\n sortable: true,\r\n filterable: false,\r\n pageable: {\r\n input: false,\r\n numeric: true,\r\n buttonCount: 5,\r\n pageSizes: [50, 75, 100],\r\n change: onPagerPageChange\r\n },\r\n columns: [\r\n { field: \"_Opportunity_Rank\", template: scoreTemplate, width: \"60px\" ,\r\n headerTemplate: '' + $ctrl.score + '',\r\n attributes: { style:\"text-align: center;\"},\r\n headerAttributes: { \"class\": \"align-right\" }\r\n },\r\n { field: \"_EntityWatched\", template: FlagTemplate, width: \"50px\" ,\r\n headerTemplate: '',\r\n attributes: { style:\"text-align: center;\"},\r\n headerAttributes: { \"class\": \"align-right\" }\r\n },\r\n { field: \"full_Name\", template: openDealsheetTemplate, width: \"140px\",\r\n headerTemplate: '' + $ctrl.full + '',\r\n },\r\n { field: \"customer_Owner\", template: \"#=data['customer_Owner']==null?'':data['customer_Owner']#\", width: \"140px\",\r\n headerTemplate: '' + $ctrl.owner + ''\r\n },\r\n { field: \"home_Phone\", template: HomePhoneTemplate, hidden: true, width: \"110px\",\r\n headerTemplate: '' + $ctrl.phone1 + ''\r\n },\r\n { field: \"cell_Phone\", template: CellPhoneTemplate , width: \"110px\",\r\n headerTemplate: '' + $ctrl.phone2 + ''\r\n },\r\n { field: \"sale_Type\", template: SaleTypeTemplate, width: \"80px\" ,\r\n headerTemplate: '' + $ctrl.saleType + ''\r\n },\r\n { field: \"dmS_Deal_ID\", template: \"#=data['dmS_Deal_ID']== null ? '' : data['dmS_Deal_ID']#\", hidden: true, width: \"140px\" ,\r\n headerTemplate: '' + $ctrl.dmsDealId + ''\r\n },\r\n { field: \"current_Model_Name\", template: \"#=data['current_Model_Name']==null?'':data['current_Model_Name']#\", width: \"90px\" ,\r\n headerTemplate: '' + $ctrl.model + ''\r\n },\r\n { field: \"current_Model_Year\", template: \"#=data['current_Model_Year']==null?'':data['current_Model_Year']#\", width: \"50px\" ,\r\n headerTemplate: '' + $ctrl.year + ''\r\n },\r\n { field: \"Categories\", template: CategoriesTemplate, width: \"100px\",\r\n sortable: { \r\n compare: categorySorting \r\n },\r\n headerTemplate: '' + $ctrl.categories + ''\r\n },\r\n { field: \"payment_Remaining\", template: \"#=data['payment_Remaining']==null?'':data['payment_Remaining']#\", width: \"80px\" ,\r\n headerTemplate: '' + $ctrl.paymentsLeftTitle + ''\r\n },\r\n { field: \"payments_Made\", template: \"#=data['payments_Made']==null?'':data['payments_Made']#\", width: \"85px\" ,\r\n headerTemplate: '' + $ctrl.paymentsMadeTitle + ''\r\n },\r\n { field: \"payment_Difference__\", template: PaymentDifferencePctTemplate, width: \"100px\" ,\r\n headerTemplate: '' + $ctrl.paymentsDifferenceTitle + ''\r\n },\r\n { field: \"performed_On\", template: PerformedOnTemplate, width: \"90px\",\r\n headerTemplate: '' + $ctrl.lastActivityTitle + ''\r\n },\r\n { field: \"offer\", template: OfferTemplate, width: \"60px\", sortable: false, \r\n headerTemplate: '' + $ctrl.offer + '',\r\n attributes: { style:\"text-align: center;\"},\r\n headerAttributes: { \"class\": \"align-right\"}\r\n },\r\n { field: \"actions\", width:\"120px\", template: initActionMenuTemplate, sortable: false ,\r\n headerTemplate: '' + $ctrl.action + ''\r\n } \r\n ], \r\n dataBound:onDataboundInitKendoGrid,\r\n selectable: true,\r\n noRecords: {\r\n template: '' + $ctrl.noRecordsAvailable + ''\r\n }\r\n }\r\n\r\n\r\n emailFieldName = \"email\".toLowerCase();\r\n homePhoneFieldName = \"home_Phone\".toLowerCase();\r\n cellPhoneFieldName = \"cell_Phone\".toLowerCase();\r\n\r\n }\r\n\r\n function initGridDataSource(dealerId) {\r\n\r\n var params = new Object();\r\n\r\n params.EntityIds = [];\r\n\r\n params.ReturnFields = [ \r\n '[_Customer Owner]', \r\n '[Replacement Monthly Fuel Difference]', \r\n '[Rate]', \r\n '[sold By Name]', \r\n '[real Payoff Amount]', \r\n '[lease Residual]', \r\n '[cash Down]', \r\n '[_YearID]', \r\n '[replacement New Used]', \r\n '[Replacement Stock No]', \r\n '[replacement MSRP]', \r\n '[replacement Make Name]', \r\n '[replacement Trim Name]', \r\n '[replacement Full Trim Name]', \r\n '[Replacement Model Name]',\r\n '[replacement Rate]', \r\n '[is Over Allowance]', \r\n '[replacement Loan Amount]', \r\n '[preferred Equity]', \r\n '[replacement Payment]', \r\n '[_is Alert]', \r\n '[_is Flex Alert]', \r\n '[_is Conversion Alert]', \r\n '[lease Total Allowed Miles]',\r\n '[cash Down]',\r\n '[Current Trim Name]',\r\n\r\n '[_BankID]',\r\n '[_Client]', \r\n '[_CustomerID]', \r\n '[_CssPriority]',\r\n '[_DealerID]', \r\n '[_EntityID]', \r\n '[_EntityRead]',\r\n '[_EntityScheduled]',\r\n '[_EntityTypeID]',\r\n '[_EntityWatched]',\r\n '[_MakeID]',\r\n '[_Opportunity Rank]',\r\n '[_OwnerUserID]',\r\n '[_SaleID]',\r\n '[_SaleTypeID]',\r\n '[_StateID]',\r\n '[_TrimID]',\r\n '[_VehicleID]', \r\n '[Address 2]',\r\n '[Address]',\r\n '[Assigned To]',\r\n '[AssignedToUserID]',\r\n '[Balance To Maturity]',\r\n '[Bank Name]',\r\n '[Cell Phone]',\r\n '[City]',\r\n '[Company Name]',\r\n '[Current Make Name]',\r\n '[Current Model Name]', \r\n '[Current Model Year]',\r\n '[Current Payment]',\r\n '[Customer Owner]', \r\n '[Deal Term]',\r\n '[Deal Date]',\r\n '[DMS Deal ID]',\r\n '[Do Not Call]',\r\n '[Do Not Email]',\r\n '[Email]',\r\n '[Estimated Payoff]',\r\n '[First Name]',\r\n '[Full Name]', \r\n '[Home Phone]',\r\n '[Is Alert]',\r\n '[Is Appointment]',\r\n '[Is Contract End]',\r\n '[Is Conversion Alert]',\r\n '[Is Flex Alert]',\r\n '[Is In-Market Engaged]',\r\n '[Is In-Market]',\r\n '[Is Mileage Alert]',\r\n '[Is Service]',\r\n '[Is Warranty Alert]', \r\n //IsConquest removed\r\n '[Last Name]',\r\n '[Last Payment Date]',\r\n '[Lease Net Cap Cost]',\r\n '[Middle Name]',\r\n '[New Used]',\r\n '[NormZipCode]',\r\n '[OpenDate]',\r\n '[Paid Off]',\r\n '[Payment Difference %]',\r\n '[Payment Remaining]',\r\n '[Payments Made]',\r\n '[Purchase Amount Financed]',\r\n '[RO Appt Date]',\r\n '[Replacement Term]',\r\n '[Replacement Model Year]',\r\n '[Replacement MSRP]',\r\n '[Replacement Sale Type]',\r\n '[Replacement Stock No]',\r\n '[ReplacementMakeID]',\r\n '[ReplacementTrimID]',\r\n '[Sale Type]', \r\n '[State]',\r\n '[Still Own]',\r\n '[Trade Value]',\r\n '[Vin]',\r\n '[Zip Code]',\r\n '[Recent Action]', \r\n '[Performed On]', \r\n '[Performed By]'\r\n ];\r\n\r\n params.DealerId = dealerId;\r\n\r\n params.Alerts = ['Alert', 'Flex', 'ContractEnd', 'Warranty'];\r\n\r\n params.CultureName = $ctrl.cultureName;\r\n\r\n return searchService.getEntitiesListCustom(params)\r\n .then(result => {\r\n var gridData = result;\r\n\r\n var localePhoneFilter = $filter('localePhone')\r\n\r\n gridData.forEach(function (e) {\r\n if (e.cell_Phone) \r\n e.cell_PhoneString = localePhoneFilter(e.cell_Phone).replace(/[ ]/g, '');\r\n else\r\n e.cell_PhoneString = ''; \r\n\r\n if (e.home_Phone)\r\n e.home_PhoneString = localePhoneFilter(e.home_Phone).replace(/[ ]/g, '');\r\n else\r\n e.home_PhoneString = '';\r\n });\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n pageSize: 50,\r\n data: gridData,\r\n model: {\r\n fields: {\r\n _opportunity_Rank: { field: \"_Opportunity_Rank\", type: \"number\" },\r\n full_name: { field: \"full_Name\", type: \"string\" },\r\n customer_owner: { field: \"customer_Owner\", type: \"string\" },\r\n sale_type: { field: \"sale_Type\", type: \"string\" },\r\n current_model_Name: { field: \"current_Model_Name\", type: \"string\" },\r\n current_model_Year: { field: \"current_Model_Year\", type: \"string\" },\r\n categories: { },\r\n payment_remaining: { field: \"payment_Remaining\", type: \"string\" },\r\n payments_made: { field: \"payments_Made\", type: \"string\" },\r\n payment_difference_pct: { field: \"payment_Difference__\", type: \"number\" },\r\n performed_On: { field: \"performed_On\", type: \"date\" },\r\n ro_Appt_Date: { field: \"ro_Appt_Date\", type: \"date\" },\r\n is_Alert: { field: \"is_Alert\", type: \"string\"},\r\n is_Flex_Alert: { field: \"is_Flex_Alert\", type: \"string\"},\r\n is_Warranty_Alert: { field: \"is_Warranty_Alert\", type: \"string\"},\r\n is_Contract_End: { field: \"is_Contract_End\", type: \"string\"},\r\n _MakeID: { field: \"_MakeID\", type: \"number\" },\r\n current_make_Name: { field: \"current_Make_Name\", type: \"string\" },\r\n\r\n _SaleTypeID: { field: \"_SaleTypeID\", type: \"number\" },\r\n dmS_Deal_ID: { field: \"dmS_Deal_ID\", type: \"string\" },\r\n zipCode: { field: \"zip_Code\", type: \"string\" },\r\n _EntityRead: { field: \"_EntityRead\", type: \"string\" },\r\n _EntityWatched: { field: \"_EntityWatched\", type: \"string\" },\r\n _EntityScheduled: { field: \"_EntityScheduled\", type: \"number\" },\r\n new_Used: { field: \"new_Used\", type: \"string\" },\r\n cell_PhoneString: { type: \"string\" },\r\n home_PhoneString: { type: \"string\" },\r\n\r\n }\r\n }\r\n });\r\n\r\n var userSettings = getUserColumnSettings();\r\n if (userSettings)\r\n $ctrl.onGridLayoutChanges(userSettings); \r\n\r\n var grid = $(\"#grid\").data(\"kendoGrid\");\r\n grid.setDataSource($ctrl.ds);\r\n\r\n if ($ctrl.filter) {\r\n if ($ctrl.filter.type) {\r\n if ($ctrl.filter.type == widgetTitleKeys.lease) {\r\n $ctrl.filterLease = true;\r\n $ctrl.filterUnscheduledOnly = true;\r\n }\r\n\r\n if ($ctrl.filter.type == widgetTitleKeys.retail) {\r\n $ctrl.filterRetail = true;\r\n $ctrl.filterBalloon = true;\r\n $ctrl.filterUnscheduledOnly = true;\r\n }\r\n\r\n onHeaderFilterSelect();\r\n grid.dataSource.filter({ \"logic\": \"and\", \"filters\": allFilters }); \r\n }\r\n else if ($ctrl.filter.opportunityBlock) {\r\n onAlertClick($ctrl.filter.opportunityBlock);\r\n grid.dataSource.filter({ \"logic\": \"and\", \"filters\": allOpportunityFilters }); \r\n }\r\n }\r\n else {\r\n grid.dataSource.filter({ \"logic\": \"and\", \"filters\": allFilters }); \r\n }\r\n\r\n grid.dataSource.read();\r\n\r\n $ctrl.stopWorkingState();\r\n\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function refreshData(data)\r\n {\r\n var gridData = data;\r\n var gridds = new $ctrl.kendo.data.DataSource({\r\n pageSize: 50,\r\n data: gridData,\r\n model: {\r\n fields: {\r\n _opportunity_Rank: { field: \"_Opportunity_Rank\", type: \"number\" },\r\n full_name: { field: \"full_Name\", type: \"string\" },\r\n customer_owner: { field: \"customer_Owner\", type: \"string\" },\r\n sale_type: { field: \"sale_Type\", type: \"string\" },\r\n current_model_Name: { field: \"current_Model_Name\", type: \"string\" },\r\n current_model_Year: { field: \"current_Model_Year\", type: \"string\" },\r\n categories: { },\r\n payment_remaining: { field: \"payment_Remaining\", type: \"string\" },\r\n payments_made: { field: \"payments_Made\", type: \"string\" },\r\n payment_difference_pct: { field: \"payment_Difference__\", type: \"number\" },\r\n performed_On: { field: \"performed_On\", type: \"date\" },\r\n ro_Appt_Date: { field: \"ro_Appt_Date\", type: \"date\" },\r\n is_Alert: { field: \"is_Alert\", type: \"string\"},\r\n is_Flex_Alert: { field: \"is_Flex_Alert\", type: \"string\"},\r\n is_Warranty_Alert: { field: \"is_Warranty_Alert\", type: \"string\"},\r\n is_Contract_End: { field: \"is_Contract_End\", type: \"string\"},\r\n _MakeID: { field: \"_MakeID\", type: \"number\" },\r\n current_make_Name: { field: \"current_Make_Name\", type: \"string\" },\r\n _SaleTypeID: { field: \"_SaleTypeID\", type: \"number\" },\r\n _EntityRead: { field: \"_EntityRead\", type: \"string\" },\r\n _EntityWatched: { field: \"_EntityWatched\", type: \"string\" },\r\n _EntityScheduled: { field: \"_EntityScheduled\", type: \"number\" },\r\n new_Used: { field: \"new_Used\", type: \"string\" },\r\n }\r\n }\r\n });\r\n\r\n var grid = getKendoGrid();\r\n grid.setDataSource(gridds);\r\n \r\n }\r\n\r\n function getAlertTranslations(alertName) { \r\n var result = ''; \r\n switch (alertName) \r\n {\r\n case 'alert':\r\n result = $ctrl.alertName;\r\n break;\r\n case 'flexAlert':\r\n result = $ctrl.flexAlertName;\r\n break;\r\n case 'warranty':\r\n result = $ctrl.warrantyName;\r\n break;\r\n case 'contractEnd':\r\n result = $ctrl.contractEndName;\r\n break;\r\n }\r\n return result;\r\n }\r\n\r\n\r\n function initAlertDropDown() {\r\n $ctrl.alertOptions = alertTypeDescriptorsEuroLite.map(o => {\r\n var rObj = {};\r\n rObj['id'] = o.id;\r\n rObj['name'] = getAlertTranslations(o.name); \r\n rObj['key'] = o.name;\r\n return rObj;\r\n }); \r\n }\r\n\r\n // event handlers ---------------------------------------------------\r\n\r\n function onReloadGridDS(){\r\n initGridDataSource($ctrl.userProfile.dealerIds[0]);\r\n }\r\n\r\n function onSelectedOpportunityId(row){\r\n var grid = getKendoGrid();\r\n grid.select(row);\r\n $ctrl.opportunity.id = row._EntityID;\r\n return true;\r\n \r\n }\r\n\r\n\r\n function categorySorting(a, b) {\r\n var aAlertListCount = 0;\r\n var bAlertListCount = 0;\r\n\r\n if (a.is_Alert == 'Yes') aAlertListCount++;\r\n if (a.is_Flex_Alert == 'Yes') aAlertListCount++;\r\n if (a.is_Warranty_Alert == 'Yes') aAlertListCount++;\r\n if (a.is_Contract_End == 'Yes') aAlertListCount++;\r\n\r\n if (b.is_Alert == 'Yes') bAlertListCount++;\r\n if (b.is_Flex_Alert == 'Yes') bAlertListCount++;\r\n if (b.is_Warranty_Alert == 'Yes') bAlertListCount++;\r\n if (b.is_Contract_End == 'Yes') bAlertListCount++;\r\n \r\n if (aAlertListCount == bAlertListCount == 1) \r\n {\r\n if (a.is_Alert == 'Yes' && b.is_Alert == 'Yes') return 0;\r\n if (a.is_Flex_Alert == 'Yes' && b.is_Flex_Alert == 'Yes') return 0;\r\n if (a.is_Contract_End == 'Yes' && b.is_Contract_End == 'Yes') return 0;\r\n if (a.is_Warranty_Alert == 'Yes' && b.is_Warranty_Alert == 'Yes') return 0;\r\n\r\n\r\n if (a.is_Alert == 'Yes') return 1;\r\n if (b.is_Alert == 'Yes') return -1;\r\n\r\n if (a.is_Flex_Alert == 'Yes') return 1;\r\n if (b.is_Flex_Alert == 'Yes') return -1;\r\n\r\n if (a.is_Contract_End == 'Yes') return 1;\r\n if (b.is_Contract_End == 'Yes') return -1;\r\n\r\n if (a.is_Warranty_Alert == 'Yes') return 1; \r\n if (b.is_Warranty_Alert == 'Yes') return -1; \r\n }\r\n\r\n if (aAlertListCount > bAlertListCount)\r\n return 1;\r\n else \r\n return -1;\r\n }\r\n\r\n //step 1 Notes\r\n function onActionMenuActivityNotesClick(id,row) {\r\n if ($ctrl.openedActivityOrNotesEntity != null) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return openEuroliteNewLogActivityTranslationKey;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n closeAllDetails();\r\n $ctrl.openedActivityOrNotesEntity = null;\r\n $ctrl.isLogActivityOpen = false;\r\n $ctrl.isNotesOpen = false;\r\n onActionOpenNotes(id,row);\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n else\r\n onActionOpenNotes(id,row);\r\n\r\n\r\n }\r\n\r\n //step 2 Notes\r\n function onActionOpenNotes(id,row){\r\n $ctrl.currentTab = $ctrl.tabs.ActivityNotesList;\r\n $ctrl.currentGridRow = row;\r\n $ctrl.currentEntityId = row._EntityID; // set this to retain selection after grid reloads\r\n $ctrl.gridloaded = 0; // set this to recheck paging after grid loads\r\n\r\n if ($ctrl.isNotesOpen == false && $ctrl.openedActivityOrNotesEntity == null){\r\n $ctrl.openedActivityOrNotesEntity = row._EntityID;\r\n $ctrl.isNotesOpen = true;\r\n }\r\n\r\n \r\n $ctrl.opportunity.id = id;\r\n $ctrl.opportunity.dealerId = $ctrl.userProfile.dealerIds[0];\r\n $ctrl.opportunity.uid = row.uid;\r\n\r\n $ctrl.startWorkingState();\r\n\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId)\r\n .then(function(activity){\r\n $ctrl.activities = activity;\r\n\r\n opportunityService.getOwnerUserInfo($ctrl.opportunity.id)\r\n .then(function (result) {\r\n \r\n var status;\r\n if (row._EntityScheduled) {\r\n status = opportunityStatuses.scheduled;\r\n } else if (row._EntitySold) {\r\n status = opportunityStatuses.sold;\r\n } else if (row._EntityClosed) {\r\n status = opportunityStatuses.closed;\r\n } else {\r\n status = opportunityStatuses.open;\r\n }\r\n\r\n $ctrl.currentTab = $ctrl.tabs.ActivityNotesList;\r\n $ctrl.opportunity.ownerUserInfo = result.data;\r\n $ctrl.opportunity.assignedUserId = row._OwnerUserID;\r\n $ctrl.opportunity.assignedUserFullName = row.full_name;\r\n $ctrl.opportunity.expirationDate = row.expirationDate;\r\n $ctrl.opportunity.status = status;\r\n\r\n $ctrl.lastOpenedLogActivityRow = row;\r\n var grid = getKendoGrid(); \r\n grid.expandRow(\"tr[data-uid='\" + row.uid + \"']\");\r\n grid.content.animate({ scrollTop: grid.select().position().top }, 400);\r\n $ctrl.stopWorkingState();\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n });\r\n }\r\n\r\n //step 3 Notes\r\n function onActivityNotesClosed(row){\r\n closeAllDetails();\r\n $ctrl.openedActivityOrNotesEntity = null;\r\n $ctrl.isLogActivityOpen = false;\r\n $ctrl.isNotesOpen = false;\r\n $ctrl.startWorkingState();\r\n \r\n //var grid = getKendoGrid(); \r\n //grid.bind(\"dataBound\", selectGrid);\r\n onReloadGridDS();\r\n\r\n }\r\n\r\n\r\n\r\n function onActivityNotesScheduleActionComplete() {\r\n $ctrl.startWorkingState();\r\n $ctrl.opportunity.status = opportunityStatuses.open;\r\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId)\r\n .then(function(activity){\r\n $ctrl.activities = activity;\r\n opportunityService.getOpportunityEntityOnly($ctrl.opportunity.id)\r\n .then(function(opportunity){\r\n \r\n $ctrl.opportunity.status = opportunity.status;\r\n $ctrl.stopWorkingState();\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n \r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n\r\n function onReassignComplete (user, id,row){\r\n $ctrl.currentGridRow = row;\r\n $ctrl.currentEntityId = row._EntityID;\r\n $ctrl.gridloaded = 0;\r\n $ctrl.startWorkingState();\r\n\r\n opportunityService.updateAssignedUser(id, user.id)\r\n .then(function (success) {\r\n if (success) {\r\n $ctrl.opportunity.assignedUserId = user.id;\r\n $ctrl.opportunity.assignedUserFullName = user.fullName;\r\n //var grid = getKendoGrid();\r\n //grid.bind(\"dataBound\", selectGrid);\r\n onReloadGridDS();\r\n }\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function onActionMarkAsSold (opportunityId){\r\n\r\n var dataMarkAsSold = {\r\n activityActionID:ActivityActionEnum.Log_Call,\r\n activityActionSubTypeID: 1,\r\n activityId:null,\r\n entityID: opportunityId,\r\n isFollowUpScheduleAppt:false,\r\n notes:\"\",\r\n resultID:activityResults.phoneCall.soldVehicle\r\n }\r\n\r\n onLogActivitySubmit(dataMarkAsSold);\r\n }\r\n\r\n function onActionMenuMarkAsSoldClick(opportunityId) {\r\n //step 2\r\n $ctrl.opportunity.id = opportunityId;\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return openEuroliteMarkAsSoldTranslationKey;\r\n },\r\n submitButtonText: function () {\r\n return \"confirm\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n onActionMarkAsSold($ctrl.opportunity.id);\r\n });\r\n\r\n }\r\n\r\n //step 1 log\r\n function onActionMenuLogActivityClick(id,row) {\r\n\r\n // user clicked submit, check if user has multiple opened edited Log activities: step 1, 2, 3\r\n if ($ctrl.openedActivityOrNotesEntity != null) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return openEuroliteNewLogActivityTranslationKey;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n closeAllDetails();\r\n $ctrl.openedActivityOrNotesEntity = null;\r\n $ctrl.isLogActivityOpen = false;\r\n $ctrl.isNotesOpen = false;\r\n onActionOpenLogActivity(id,row);\r\n });\r\n }\r\n else\r\n onActionOpenLogActivity(id,row);\r\n\r\n\r\n }\r\n //step 2 log\r\n function onActionOpenLogActivity (id,row){\r\n $ctrl.currentGridRow = row;\r\n $ctrl.currentEntityId = row._EntityID;\r\n $ctrl.gridloaded = 0;\r\n\r\n\r\n if ($ctrl.isLogActivityOpen == false && $ctrl.openedActivityOrNotesEntity == null){\r\n $ctrl.openedActivityOrNotesEntity = row._EntityID;\r\n $ctrl.isLogActivityOpen = true;\r\n }\r\n\r\n\r\n var grid = getKendoGrid();\r\n grid.select(row);\r\n $ctrl.opportunity.id = id;\r\n $ctrl.opportunity.uid = row.uid;\r\n $ctrl.startWorkingState();\r\n customerService.getCustomer($ctrl.opportunity.id)\r\n .then(function (customer){\r\n $ctrl.customer = customer;\r\n $ctrl.opportunity.customer = $ctrl.customer;\r\n opportunityService.getOwnerUserInfo($ctrl.opportunity.id)\r\n .then(function (result) {\r\n $ctrl.currentTab = $ctrl.tabs.LogActivity;\r\n $ctrl.opportunity.ownerUserInfo = result.data;\r\n $ctrl.opportunity.assignedUserId = row._OwnerUserID;\r\n\r\n const hasTextingModule = userService.isDealerEnabledForModule($ctrl.opportunity.dealerId, modules.textMessaging);\r\n $ctrl.isTextingEnabled = hasTextingModule && ($ctrl.permissions.sendTextSales || $ctrl.permissions.sendTextService);\r\n // For now set this to false until we determine that Lite should have this function:\r\n $ctrl.isTextingEnabled = false;\r\n\r\n $ctrl.lastOpenedLogActivityRow = row;\r\n grid.expandRow(\"tr[data-uid='\" + row.uid + \"']\");\r\n grid.content.animate({ scrollTop: grid.select().position().top }, 400);\r\n $ctrl.stopWorkingState();\r\n })\r\n .catch(function () {\r\n closeAllDetails();\r\n $ctrl.openedActivityOrNotesEntity = null;\r\n $ctrl.isLogActivityOpen = false;\r\n $ctrl.isNotesOpen = false;\r\n $ctrl.stopWorkingState();\r\n });\r\n });\r\n\r\n }\r\n //step 3 log\r\n function onLogActivityComplete(result) {\r\n\r\n var grid = getKendoGrid();\r\n if (!result) { return; } // user data entry error\r\n\r\n // user clicked cancel and passed grid row id\r\n if (result.uid && result.status == 'cancel'){\r\n closeAllDetails();\r\n $ctrl.openedActivityOrNotesEntity = null;\r\n $ctrl.isLogActivityOpen = false;\r\n $ctrl.isNotesOpen = false;\r\n return;\r\n }\r\n else\r\n { \r\n onLogActivitySubmit(result); //step 5\r\n }\r\n }\r\n //step 4 log\r\n function onLogActivityCompleteMarkAsSold(result) {\r\n \r\n \r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"pleaseConfirm\";\r\n },\r\n message: function () {\r\n return openEuroliteMarkAsSoldTranslationKey;\r\n },\r\n submitButtonText: function () {\r\n return \"confirm\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n onLogActivitySubmit(result); //step 5\r\n });\r\n\r\n }\r\n //step 5 log\r\n function onLogActivitySubmit(result) {\r\n //step 3\r\n\r\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\r\n startWorkingState();\r\n activityService.postActivitySubmitAction(result)\r\n .then(function (data) {\r\n if (result.isFollowUpScheduleAppt){\r\n logger.success(\"postActivityFollowupMsg\");\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Schedule_Appt;\r\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\r\n }\r\n else {\r\n logger.success(\"postActivitySuccessMsg\");\r\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\r\n }\r\n \r\n // if vehicle no longer owns\r\n if (result.resultID == activityResults.phoneCall.noLongerOwns || result.resultID == activityResults.note.noLongerOwns){\r\n activityService.updateCustomerDoesNotOwnVehicle(result.entityID);\r\n }\r\n // close panel after sumit\r\n var grid = getKendoGrid();\r\n closeAllDetails();\r\n $ctrl.openedActivityOrNotesEntity = null;\r\n $ctrl.isLogActivityOpen = false;\r\n $ctrl.isNotesOpen = false;\r\n //grid.bind(\"dataBound\", selectGrid);\r\n onReloadGridDS();\r\n })\r\n .catch(function () {\r\n closeAllDetails();\r\n $ctrl.openedActivityOrNotesEntity = null;\r\n $ctrl.isLogActivityOpen = false;\r\n $ctrl.isNotesOpen = false;\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function onUpdateCustomer(customer,row){\r\n\r\n $ctrl.startWorkingState();\r\n customerService.updateCustomer(customer).then(function (success) {\r\n if (success) {\r\n var homePhoneNumber = customer.homePhoneNumber && customer.homePhoneNumber.value != undefined ? customer.homePhoneNumber.value : null;\r\n var workPhoneNumber = customer.workPhoneNumber && customer.workPhoneNumber.value != undefined ? customer.workPhoneNumber.value : null;\r\n var cellPhoneNumber = customer.cellPhoneNumber && customer.cellPhoneNumber.value != undefined ? customer.cellPhoneNumber.value : null;\r\n var emailAddress = customer.emailAddress && customer.emailAddress.value != undefined ? customer.emailAddress.value : null;\r\n\r\n updateColumnInSelectedRow(\r\n [customer.doNotCall,customer.doNotCall,customer.doNotEmail],\r\n [homePhoneFieldName, cellPhoneFieldName,emailFieldName], \r\n [homePhoneNumber, cellPhoneNumber, emailAddress]);\r\n $ctrl.stopWorkingState();\r\n }\r\n else {\r\n $ctrl.stopWorkingState();\r\n }\r\n }, function (error) {\r\n //console.log(error);\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n\r\n function applyAlertFilter(alerts){ \r\n\r\n }\r\n\r\n function setActivities(activities) {\r\n $ctrl.activities = activities;\r\n }\r\n\r\n function onHeaderFilterSelect() {\r\n\r\n if ($ctrl.userCustomFilter && $ctrl.userCustomFilter.replace(/[ ]/g, '').length < 3) $ctrl.userCustomFilter = null;\r\n\r\n $ctrl.onFilterSelect();\r\n }\r\n\r\n function onAlertClick(result){ \r\n allOpportunityFilters = [];\r\n let headerFilters = headerFilterList();\r\n let customerQuickSearchFilters = getAllCustomerSearchFilters(); \r\n\r\n if ($ctrl.markSelectedAlerts.indexOf(result) > -1)\r\n {\r\n //$ctrl.markSelectedAlerts = [];\r\n //result = '';\r\n return;\r\n } \r\n else\r\n $ctrl.markSelectedAlerts = [result];\r\n\r\n var grid = $(\"#grid\").data(\"kendoGrid\");\r\n\r\n if (result == 'alert') {\r\n headerFilters.push(\r\n {\r\n \"field\": \"is_Alert\",\r\n \"operator\": \"eq\",\r\n \"value\": \"Yes\"\r\n });\r\n }\r\n else if (result == 'flexAlert') {\r\n headerFilters.push(\r\n {\r\n \"field\": \"is_Flex_Alert\",\r\n \"operator\": \"eq\",\r\n \"value\": \"Yes\"\r\n });\r\n }\r\n else if (result == 'warranty') {\r\n headerFilters.push(\r\n {\r\n \"field\": \"is_Warranty_Alert\",\r\n \"operator\": \"eq\",\r\n \"value\": \"Yes\"\r\n });\r\n }\r\n else if (result == 'contractEnd') {\r\n headerFilters.push(\r\n {\r\n \"field\": \"is_Contract_End\",\r\n \"operator\": \"eq\",\r\n \"value\": \"Yes\"\r\n }); \r\n }\r\n else {\r\n // Clear\r\n grid.dataSource.filter({});\r\n }\r\n\r\n $ctrl.alertsSelected = $ctrl.alertOptions.filter(a => a.key == result);\r\n\r\n if ($ctrl.alertsSelected.length > 0)\r\n $ctrl.alertListTitle = $ctrl.alertsSelected.map(x => x.name).sort().join(', ');\r\n else \r\n $ctrl.alertListTitle = $ctrl.allAlertsCaption;\r\n\r\n if (customerQuickSearchFilters) { \r\n headerFilters.push({ \"logic\": customerQuickSearchFilters.qtypeOperator, \"filters\": customerQuickSearchFilters.filter });\r\n } \r\n\r\n grid.dataSource.filter({ \"logic\": \"and\", \"filters\": headerFilters });\r\n \r\n allOpportunityFilters = grid.dataSource.filter().filters;\r\n grid.setDataSource(grid.dataSource);\r\n grid.dataSource.read();\r\n }\r\n\r\n\r\n function headerFilterList() {\r\n let filterList = [];\r\n\r\n let allOrMakeConditions = [];\r\n let allOrSaleTypeConditions = [];\r\n\r\n let makesList = $ctrl.makesSelected.map(x => x.name);\r\n\r\n if (makesList.length > -1) {\r\n makesList.forEach(function (item) {\r\n allOrMakeConditions.push({ \"field\": \"current_Make_Name\", \"operator\": \"eq\", \"value\": item });\r\n });\r\n }\r\n\r\n if (!($ctrl.filterUsed && $ctrl.filterNew)) {\r\n if ($ctrl.filterUsed)\r\n filterList.push({ \"field\": \"new_Used\", \"operator\": \"eq\", \"value\": \"Used\" });\r\n\r\n if ($ctrl.filterNew)\r\n filterList.push({ \"field\": \"new_Used\", \"operator\": \"eq\", \"value\": \"New\" });\r\n\r\n }\r\n\r\n\r\n if ($ctrl.filterCash) {\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.cash });\r\n }\r\n\r\n if ($ctrl.filterLease) {\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.lease });\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.onePayLease });\r\n }\r\n\r\n if ($ctrl.filterRetail) {\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.retail });\r\n }\r\n\r\n if ($ctrl.filterBalloon) {\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.balloon });\r\n }\r\n\r\n if ($ctrl.filterUnscheduledOnly) {\r\n filterList.push({ \"field\": \"_EntityScheduled\", \"operator\": \"eq\", \"value\": 0 });\r\n }\r\n\r\n if ($ctrl.filterUnreadOnly) {\r\n filterList.push({ \"field\": \"_EntityRead\", \"operator\": \"eq\", \"value\": 0 });\r\n }\r\n\r\n if ($ctrl.filterFlaggedOnly) {\r\n filterList.push({ \"field\": \"_EntityWatched\", \"operator\": \"eq\", \"value\": 1 });\r\n }\r\n\r\n\r\n if (allOrMakeConditions.length > 0) {\r\n filterList.push({ \"logic\": \"or\", \"filters\": allOrMakeConditions });\r\n }\r\n\r\n if (allOrSaleTypeConditions.length > 0) {\r\n filterList.push({ \"logic\": \"or\", \"filters\": allOrSaleTypeConditions });\r\n }\r\n\r\n return filterList;\r\n }\r\n\r\n function onFilterSelect() {\r\n $ctrl.startWorkingState(); \r\n let customerQuickSearchFilters = getAllCustomerSearchFilters();\r\n allFilters = [];\r\n var allOrMakeConditions = [];\r\n var allOrSaleTypeConditions = []; \r\n\r\n var isAlertSelectedAfter = ($ctrl.alertsSelected.map(x => x.key).indexOf('alert') > -1);\r\n var isFlexAlertSelectedAfter = ($ctrl.alertsSelected.map(x => x.key).indexOf('flexAlert') > -1);\r\n \r\n if (isAlertSelectedAfter && isFlexAlertSelectedAfter)\r\n {\r\n var index = -1;\r\n if ($ctrl.isAlertSelectedBefore) \r\n {\r\n // remove alert \r\n $ctrl.isAlertSelectedBefore = !$ctrl.isAlertSelectedBefore;\r\n $ctrl.isFlexAlertSelectedBefore = !$ctrl.isFlexAlertSelectedBefore;\r\n index = $ctrl.alertsSelected.map(x => x.key).indexOf('alert');\r\n $ctrl.alertsSelected.splice(index, 1); \r\n }\r\n else \r\n {\r\n // remove flexAlert\r\n $ctrl.isAlertSelectedBefore = !$ctrl.isAlertSelectedBefore;\r\n $ctrl.isFlexAlertSelectedBefore = !$ctrl.isFlexAlertSelectedBefore;\r\n index = $ctrl.alertsSelected.map(x => x.key).indexOf('flexAlert');\r\n $ctrl.alertsSelected.splice(index, 1); \r\n }\r\n }\r\n else \r\n {\r\n $ctrl.isAlertSelectedBefore = isAlertSelectedAfter;\r\n $ctrl.isFlexAlertSelectedBefore = isFlexAlertSelectedAfter; \r\n }\r\n\r\n var alertsList = $ctrl.alertsSelected.map(x => x.key); \r\n var makesList = $ctrl.makesSelected.map(x => x.name);\r\n \r\n if ($ctrl.alertsSelected.length > 0)\r\n $ctrl.alertListTitle = $ctrl.alertsSelected.map(x => x.name).sort().join(', ');\r\n else \r\n $ctrl.alertListTitle = $ctrl.allAlertsCaption; \r\n\r\n if ($ctrl.makesSelected.length > 0)\r\n $ctrl.makeListSelected = $ctrl.makesSelected.map(x => x.name).sort().join(', ');\r\n else\r\n $ctrl.makeListSelected = $ctrl.allMakesCaption; \r\n\r\n if (makesList.length > -1) \r\n {\r\n makesList.forEach( function (item) {\r\n allOrMakeConditions.push({ \"field\": \"current_Make_Name\", \"operator\": \"eq\", \"value\": item });\r\n });\r\n }\r\n\r\n if (alertsList.length > -1) { \r\n $ctrl.markSelectedAlerts = alertsList;\r\n alertsList.forEach(function (item) {\r\n if (item == \"alert\") {\r\n allFilters.push({ \"field\": \"is_Alert\", \"operator\": \"eq\", \"value\": \"Yes\" });\r\n }\r\n else if (item == \"flexAlert\") {\r\n allFilters.push({ \"field\": \"is_Flex_Alert\", \"operator\": \"eq\", \"value\": \"Yes\" });\r\n }\r\n else if (item == \"warranty\") {\r\n allFilters.push({ \"field\": \"is_Warranty_Alert\", \"operator\": \"eq\", \"value\": \"Yes\" });\r\n }\r\n else if (item == \"contractEnd\") {\r\n allFilters.push({ \"field\": \"is_Contract_End\", \"operator\": \"eq\", \"value\": \"Yes\" });\r\n }\r\n });\r\n }\r\n\r\n if (!($ctrl.filterUsed && $ctrl.filterNew))\r\n {\r\n if ($ctrl.filterUsed)\r\n allFilters.push({ \"field\": \"new_Used\", \"operator\": \"eq\", \"value\": \"Used\" });\r\n\r\n if ($ctrl.filterNew)\r\n allFilters.push({ \"field\": \"new_Used\", \"operator\": \"eq\", \"value\": \"New\" });\r\n\r\n }\r\n\r\n\r\n if ($ctrl.filterCash) \r\n {\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.cash });\r\n }\r\n\r\n if ($ctrl.filterLease) \r\n {\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.lease });\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.onePayLease });\r\n }\r\n\r\n if ($ctrl.filterRetail) \r\n {\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.retail });\r\n } \r\n\r\n if ($ctrl.filterBalloon)\r\n {\r\n allOrSaleTypeConditions.push({ \"field\": \"_SaleTypeID\", \"operator\": \"eq\", \"value\": saleTypes.balloon });\r\n } \r\n\r\n if ($ctrl.filterUnscheduledOnly)\r\n {\r\n allFilters.push({ \"field\": \"_EntityScheduled\", \"operator\": \"eq\", \"value\": 0 });\r\n }\r\n\r\n if ($ctrl.filterUnreadOnly) \r\n {\r\n allFilters.push({ \"field\": \"_EntityRead\", \"operator\": \"eq\", \"value\": 0 });\r\n }\r\n\r\n if ($ctrl.filterFlaggedOnly) \r\n {\r\n allFilters.push({ \"field\": \"_EntityWatched\", \"operator\": \"eq\", \"value\": 1 });\r\n }\r\n\r\n \r\n if (allOrMakeConditions.length > 0)\r\n {\r\n allFilters.push({ \"logic\": \"or\", \"filters\": allOrMakeConditions });\r\n }\r\n\r\n if (allOrSaleTypeConditions.length > 0)\r\n {\r\n allFilters.push({ \"logic\": \"or\", \"filters\": allOrSaleTypeConditions});\r\n }\r\n\r\n if (customerQuickSearchFilters) {\r\n allFilters.push({ \"logic\": customerQuickSearchFilters.qtypeOperator, \"filters\": customerQuickSearchFilters.filter }); \r\n } \r\n var grid = $(\"#grid\").data(\"kendoGrid\"); \r\n grid.dataSource.filter({ \"logic\": \"and\", \"filters\": allFilters});\r\n grid.setDataSource(grid.dataSource);\r\n grid.dataSource.read();\r\n\r\n $timeout(function () {\r\n $ctrl.stopWorkingState();\r\n }, 500); \r\n }\r\n\r\n function onGridLayoutChanges(result){\r\n setUserColumnSettings(result);\r\n var columnsSelected = [];\r\n var columnsHidden = [];\r\n \r\n result.forEach(function (ele) {\r\n ele.fields.forEach(function (item) { \r\n if (item.isChecked) \r\n columnsSelected.push(item.name);\r\n else\r\n columnsHidden.push(item.name);\r\n });\r\n });\r\n\r\n var grid = $(\"#grid\").data(\"kendoGrid\");\r\n columnsHidden.forEach(function (item) { grid.hideColumn(item); });\r\n columnsSelected.forEach(function (item) { grid.showColumn(item); });\r\n\r\n $ctrl.currentGridColumns = columnsSelected; \r\n \r\n }\r\n\r\n // grid helpers ---------------------------------------------------\r\n\r\n function isLogActivityOpen(rowId){\r\n\r\n }\r\n\r\n function isActivityNotesOpen(rowId){\r\n\r\n }\r\n\r\n function goToState(test) {\r\n var grid = getKendoGrid();\r\n grid.expandRow(\"tr[data-uid='\" + $ctrl.opportunity.uid + \"']\");\r\n }\r\n\r\n\r\n function startWorkingState() {\r\n $ctrl.hideWhenBusy = true;\r\n $ctrl.dealsheetWorking = $q.defer().promise;\r\n }\r\n\r\n function stopWorkingState() {\r\n $ctrl.hideWhenBusy = false;\r\n $ctrl.dealsheetWorking = null;\r\n }\r\n\r\n function closeAllDetails(){\r\n\r\n var grid = $(\"#grid\").data(\"kendoGrid\");\r\n $( \".k-master-row\" ).each(function( index ) {\r\n grid.collapseRow(this);\r\n });\r\n\r\n }\r\n\r\n function getKendoGrid() {\r\n return $(\"#grid\").data(\"kendoGrid\"); \r\n }\r\n\r\n function OfferTemplate(e) {\r\n var actionTemplate = '' ;\r\n\r\n return actionTemplate;\r\n }\r\n\r\n $ctrl.openDealsheetTemplate = openDealsheetTemplate;\r\n function openDealsheetTemplate(e){\r\n var template = \"\"+ e.full_Name + \"\";\r\n return template;\r\n }\r\n\r\n $ctrl.openDealSheet = openDealSheet;\r\n\r\n function openDealSheet(e) { \r\n dealSheetService.openDealSheetLiteModal(e, null, callBackDealSheetClosed);\r\n }\r\n\r\n function callBackDealSheetClosed() {\r\n startWorkingState();\r\n onReloadGridDS();\r\n }\r\n\r\n function onOfferTemplateClick(e){\r\n startWorkingState();\r\n var opportunity = {\r\n id: e._EntityID,\r\n type: e._EntityTypeID,\r\n stillOwned: e.still_Own == \"Yes\",\r\n dealerId: e._DealerID,\r\n paidOff: e.paid_Off == \"Yes\",\r\n currentContract: {\r\n saleID: e._SaleID,\r\n saleType: e._SaleTypeID,\r\n lastPaymentDate: e.last_Payment_Date,\r\n dealDate: e.deal_Date,\r\n payoffAmount: e.estimated_Payoff,\r\n bankID: e._BankID,\r\n adjustedBalance: e.balance_To_Maturity, //check\r\n term: e.deal_Term,\r\n paymentsRemaining: e.payment_Remaining,\r\n payment: e.current_Payment\r\n },\r\n replacementContract: {\r\n useOverrideTerm : false,\r\n term: e.replacement_Term\r\n },\r\n currentVehicle: {\r\n tradeValue: e.trade_Value,\r\n makeID: e._MakeID,\r\n trimID : e._TrimID,\r\n },\r\n replacementVehicle: {\r\n trimID : e.replacementTrimID, //not given replacement_Full_Trim_Name\r\n makeID : e.replacementMakeID, //not given replacement_Make_Name\r\n yearID : e.replacement_Model_Year, \r\n IsConquest : e._SaleTypeID == 3 ? 1 : 0,\r\n price : e.replacement_MSRP,\r\n type : e.replacement_Sale_Type,\r\n msrp : e.replacement_MSRP,\r\n stockNo : e.replacement_Stock_No,\r\n //odometer: e.odometer, //unknown\r\n //vin: e.vin\r\n },\r\n customer: {\r\n address: {\r\n stateId: e._StateID,\r\n normalizedZipCode: e.normZipCode\r\n }\r\n }\r\n }\r\n \r\n legacyService.generateUpgradeProposal(opportunity)\r\n .then(downloadArraybufferResponse({\r\n contentType: 'application/pdf',\r\n filename: 'UpgradeProposal_' + $ctrl.opportunity.id + '.pdf',\r\n }))\r\n .catch(function (err) {\r\n alert(\"We encountered a problem. Please try again later.\"); // todo: eliminate alert and localize/style error message\r\n log.log(err);\r\n })\r\n .finally(function () {\r\n stopWorkingState();\r\n });\r\n }\r\n\r\n function SaleTypeTemplate(e)\r\n {\r\n return e.sale_Type;\r\n }\r\n\r\n function CellPhoneTemplate(e) { \r\n if (!e.cell_Phone)\r\n return '';\r\n\r\n var localePhoneFilter = $filter('localePhone')\r\n if (e.do_Not_Call.toLowerCase() == \"yes\" || e.do_Not_Call.toLowerCase() == \"true\") \r\n return \"\" + localePhoneFilter(e.cell_Phone) + \"\";\r\n \r\n return localePhoneFilter(e.cell_Phone);\r\n }\r\n\r\n function EmailTemplate(e) {\r\n if (!e.email)\r\n return '';\r\n var email = e.email ? e.email : '';\r\n if (e.do_Not_Email.toLowerCase() == \"yes\" || e.do_Not_Email.toLowerCase() == \"true\") \r\n return \"\" + email + \"\";\r\n\r\n return email;\r\n }\r\n\r\n function onFlagClicked(data) {\r\n $ctrl.startWorkingState();\r\n\r\n var entityWatchStatus = data._EntityWatched;\r\n var newEntityWatchStatus = !entityWatchStatus;\r\n\r\n if (entityWatchStatus)\r\n {\r\n opportunityService.markOpportunityUnwatched(data._EntityID)\r\n .then(() => {\r\n data._EntityWatched = newEntityWatchStatus;\r\n\r\n var grid = getKendoGrid();\r\n $ctrl.refreshData(grid.dataSource.data());\r\n \r\n var row = $(\"tr[data-uid='\" + data.uid + \"']\");\r\n var children = $(row).children('td[role=\"gridcell\"]');\r\n var cell = children.eq(1); \r\n \r\n if (newEntityWatchStatus)\r\n {\r\n cell.children(0).children(0).removeClass(\"aa-icon-flag\");\r\n cell.children(0).children(0).addClass(\"aa-icon-flag-filled\");\r\n }\r\n else \r\n {\r\n cell.children(0).children(0).removeClass(\"aa-icon-flag-filled\");\r\n cell.children(0).children(0).addClass(\"aa-icon-flag\");\r\n }\r\n\r\n $ctrl.stopWorkingState();\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n }\r\n else \r\n {\r\n opportunityService.markOpportunityWatched(data._EntityID)\r\n .then(() => {\r\n data._EntityWatched = newEntityWatchStatus;\r\n \r\n var grid = getKendoGrid();\r\n $ctrl.refreshData(grid.dataSource.data());\r\n\r\n var row = $(\"tr[data-uid='\" + data.uid + \"']\");\r\n var children = $(row).children('td[role=\"gridcell\"]');\r\n var cell = children.eq(1);\r\n\r\n if (newEntityWatchStatus)\r\n {\r\n cell.children(0).children(0).removeClass(\"aa-icon-flag\");\r\n cell.children(0).children(0).addClass(\"aa-icon-flag-filled\");\r\n }\r\n else\r\n {\r\n cell.children(0).children(0).removeClass(\"aa-icon-flag-filled\");\r\n cell.children(0).children(0).addClass(\"aa-icon-flag\");\r\n }\r\n\r\n $ctrl.stopWorkingState();\r\n })\r\n .catch(function () {\r\n $ctrl.stopWorkingState();\r\n });\r\n } \r\n \r\n }\r\n\r\n function getLastActionKeys(data, activityActionID) {\r\n switch(data){\r\n case \"Post Note\":\r\n return $ctrl.postNoteActivity;\r\n case \"Log Call\":\r\n return $ctrl.loggedActivity;\r\n case \"Schedule Call\":\r\n case \"Schedule Appt\":\r\n return $ctrl.scheduledCallActivity;\r\n case \"Reschedule\":\r\n return $ctrl.rescheduleActivity;\r\n case \"Next Action\":\r\n return $ctrl.completedActivity;\r\n case \"Reassign\":\r\n return $ctrl.reassigned;\r\n case \"Cancel\":\r\n if (activityActionID == ActivityActionEnum.Cancel_Appt)\r\n return $ctrl.cancelledAppointment;\r\n else\r\n return $ctrl.cancelledCall;\r\n case \"Expire Phone Call\":\r\n case \"Expire Appointment\":\r\n return $ctrl.expiredActivity;\r\n default:\r\n return data;\r\n }\r\n }\r\n\r\n function PerformedOnTemplate(e){\r\n var html = '';\r\n if (e.performed_On)\r\n {\r\n if (!e.lastActivityToolTipDesc) e.lastActivityToolTipDesc = $ctrl.loading;\r\n html = '' + moment(e.performed_On).format('DD/MM/YYYY') + '';\r\n }\r\n\r\n return html;\r\n }\r\n\r\n function FlagTemplate(e) \r\n { \r\n var flagHtml = '';\r\n\r\n if (e._EntityWatched) \r\n flagHtml = \"\";\r\n else\r\n flagHtml = \"\";\r\n\r\n flagHtml = '' + flagHtml + ''; \r\n return flagHtml;\r\n }\r\n\r\n function HomePhoneTemplate(e) { \r\n if(!e.home_Phone)\r\n return '';\r\n\r\n var localePhoneFilter = $filter('localePhone')\r\n if (e.do_Not_Call.toLowerCase() == \"yes\") \r\n return \"\" + localePhoneFilter(e.home_Phone) + \"\"; \r\n return localePhoneFilter(e.home_Phone); \r\n }\r\n\r\n function CategoriesTemplate(e) {\r\n var alertHtml = '';\r\n\r\n if (e.is_Alert == 'Yes') alertHtml += '';\r\n if (e.is_Flex_Alert == 'Yes') alertHtml += '';\r\n if (e.is_Warranty_Alert == 'Yes') alertHtml += '';\r\n if (e.is_Contract_End == 'Yes') alertHtml += '';\r\n \r\n return alertHtml;\r\n }\r\n\r\n function PaymentDifferencePctTemplate(e) {\r\n var upOrDown = null;\r\n \r\n if (e.payment_Difference__ > 0)\r\n upOrDown = 'up';\r\n\r\n if (e.payment_Difference__ < 0)\r\n upOrDown = 'down';\r\n\r\n if (upOrDown != null)\r\n return \"\" + $ctrl.kendo.toString(e.payment_Difference__, 'n0') + '%' + \"\";\r\n\r\n return '0%';\r\n }\r\n\r\n function scoreTemplate(e) {\r\n var rank = e._Opportunity_Rank ? e._Opportunity_Rank : '0';\r\n return \"\" + rank + \"\" ;\r\n }\r\n\r\n // used for donot call and donot email states\r\n function updateColumnInSelectedRow(fieldStates, fieldNames, fieldValues ) {\r\n var grid = getKendoGrid();\r\n var selectedRow = grid.select();\r\n var rowChildren = $(selectedRow).children('td[role=\"gridcell\"]');\r\n var localePhoneFilter = $filter('localePhone');\r\n\r\n for (var i = 0; i < grid.columns.length; i++) {\r\n var column = grid.columns[i];\r\n var indexOfMatchField = fieldNames.indexOf(column.field.toLowerCase());\r\n if (indexOfMatchField > -1){\r\n var cell = rowChildren.eq(i);\r\n var renderValue = fieldValues[indexOfMatchField];\r\n // keep format\r\n if (fieldNames[indexOfMatchField] == homePhoneFieldName || fieldNames[indexOfMatchField] == cellPhoneFieldName)\r\n if (renderValue != null)\r\n renderValue = localePhoneFilter(renderValue);\r\n \r\n if (renderValue == null) renderValue =\"\";\r\n if (fieldStates[indexOfMatchField] == true)\r\n cell.html(\"\" + renderValue + \"\");\r\n else\r\n cell.html(renderValue);\r\n }\r\n }\r\n }\r\n\r\n\r\n\r\n // some kendo code reference\r\n\r\n // will be used in next version\r\n //var grid = $(\"#grid\").data(\"kendoGrid\");\r\n //var dataItem = grid.dataSource.get(2);\r\n //dataRow.set(fieldName,fieldValue); \r\n //var grid = $(\"#grid\").data(\"kendoGrid\");\r\n //var selectedItem = grid.dataItem(grid.select());\r\n //selectedItem.children().eq(2).addClass('phone-number');\r\n\r\n //var selectedRowIndex = selectedRow.index();\r\n //var dataItem = grid.dataItem(\"tbody tr:eq(\"+ selectedRowIndex + \")\");\r\n\r\n //grid.collapseRow(\"tr[data-uid='\" + result.uid + \"']\");\r\n //var grid = getKendoGrid();\r\n //grid.collapseRow(\"tr[data-uid='\" + row.uid + \"']\");\r\n //var index = $ctrl.activityNoteHistoryStack.indexOf(row.uid);\r\n //$ctrl.activityNoteHistoryStack.splice(index,1);\r\n //closeAllDetails();\r\n\r\n}","import \"core-js/modules/es6.regexp.split\";\nReportsHeaderController.$inject = [\"$logFactory\"];\n\n/* injects from baggage-loader */\nrequire('./reports-header.component.html');\n\nimport angular from 'angular';\nimport reportHeaders from '../../constants/reports/report-header-types';\nimport moment from 'moment';\nangular.module('AaApp.Opp').component('reportsHeader', {\n templateUrl: '/app/components/reports/reports-header.component.html',\n controller: ReportsHeaderController,\n bindings: {\n reportId: '<',\n reportTitle: '<',\n headerType: '<',\n headerData: '<',\n loadReport: '<',\n updateMakes: '<',\n loadReportPresetRange: '<',\n generateReportExport: '<',\n datePickerSelection: '<',\n reportSpecification: '<',\n onDealershipChanged: '&',\n isPandoReportAvailable: '<'\n }\n});\n/* @ngInject */\n\nfunction ReportsHeaderController($logFactory) {\n var $ctrl = this;\n var log = $logFactory.get();\n $ctrl.showDealerSelector;\n $ctrl.showMakeSelector;\n $ctrl.showDatesSelectors;\n $ctrl.showStartDateSelector;\n $ctrl.showDatePresets;\n $ctrl.showValidatedSelector;\n $ctrl.showSurveySelectors;\n $ctrl.startDatePickerVisible = false;\n $ctrl.endDatePickerVisible = false;\n $ctrl.$onChanges = onChanges;\n $ctrl.reportSettingsToggle = reportSettingsToggle;\n $ctrl.setDatePickerVisiblity = setDatePickerVisiblity;\n $ctrl.onDealershipChangedWrapper = onDealershipChangedWrapper;\n $ctrl.setPandoReportState = setPandoReportState;\n $ctrl.setSurveyFamilySurveySelections = setSurveyFamilySurveySelections;\n $ctrl.showReportSettingsButton = false;\n $ctrl.isTabletDevice = false;\n $ctrl.onCalendarDateRangeSelect = onCalendarDateRangeSelect;\n $ctrl.onCalendarPresetDateRangeSelect = onCalendarPresetDateRangeSelect;\n $ctrl.onPerfReportDateRangeSelect = onPerfReportDateRangeSelect;\n $ctrl.perfReportDateRange; // 2/15/2017 as per product team we are showing the new calendar control in ipad\n // so no need to detect tablet;\n //if (window.navigator.userAgent.match(/iPhone|iPad|iPod/i))\n // $ctrl.isTabletDevice = true;\n //else\n // $ctrl.isTabletDevice = false;\n\n $ctrl.datePickerOptions = {\n startingDay: 0,\n showWeeks: false,\n minDate: null,\n maxDate: new Date()\n };\n\n function onChanges(changes) {\n $ctrl.showDealerSelector = true;\n $ctrl.showMakeSelector = false;\n $ctrl.showDatesSelectors = false;\n $ctrl.showStartDateSelector = false;\n $ctrl.showDatePresets = false;\n $ctrl.showValidatedSelector = false;\n $ctrl.showSurveySelectors = false;\n\n switch ($ctrl.headerType) {\n case reportHeaders.full:\n setFullHeaderTypeInputs();\n break;\n\n case reportHeaders.validatedFull:\n setValidatedFullHeaderTypeInputs();\n break;\n\n case reportHeaders.singleDate:\n setSingleDateHeaderTypeInputs();\n break;\n\n case reportHeaders.dealerOnly:\n setDealerOnlyHeaderTypeInputs();\n break;\n\n case reportHeaders.dealerOnlyNoSubscriptionDateSelector:\n setDealerOnlyHeaderTypeInputs();\n break;\n\n case reportHeaders.performanceReport:\n setPerformanceReportHeaderTypeInputs();\n break;\n\n case reportHeaders.dealerMake:\n setDealerMakeHeaderTypeInputs();\n break;\n\n case reportHeaders.dealerMakeNoSubscriptionDateSelector:\n setDealerMakeHeaderTypeInputs();\n break;\n\n case reportHeaders.dealerDatesPresets:\n setDealerDatesPresetsHeaderTypeInputs();\n break;\n\n case reportHeaders.pandoSurvey:\n setPandoSurveyTypeInputs();\n break;\n\n default:\n break;\n }\n\n setReportSettingsButtonVisiblity(); //console.log(\"headerData\", $ctrl.headerData)\n }\n\n function setFullHeaderTypeInputs() {\n $ctrl.showMakeSelector = true;\n $ctrl.showDatesSelectors = true;\n $ctrl.showStartDateSelector = true;\n $ctrl.showDatePresets = true;\n }\n\n function setValidatedFullHeaderTypeInputs() {\n $ctrl.showMakeSelector = true;\n $ctrl.showDatesSelectors = true;\n $ctrl.showStartDateSelector = true;\n $ctrl.showDatePresets = true;\n }\n\n function setSingleDateHeaderTypeInputs() {\n $ctrl.showDatesSelectors = true;\n }\n\n function setDealerOnlyHeaderTypeInputs() {}\n\n function setDealerDatesPresetsHeaderTypeInputs() {\n $ctrl.showDatesSelectors = true;\n $ctrl.showStartDateSelector = true;\n $ctrl.showDatePresets = true;\n }\n\n function setPerformanceReportHeaderTypeInputs() {\n $ctrl.showPerformanceReportDateSelector = true; // set initial date range\n\n if ($ctrl.headerData.performanceReportDateRanges.length > 0) {\n $ctrl.perfReportDateRange = $ctrl.headerData.performanceReportDateRanges[0].startDate + \"|\" + $ctrl.headerData.performanceReportDateRanges[0].endDate;\n }\n }\n\n function setDealerMakeHeaderTypeInputs() {\n $ctrl.showMakeSelector = true;\n }\n\n function setPandoSurveyTypeInputs() {\n $ctrl.showDealerSelector = false;\n $ctrl.showSurveySelectors = true;\n }\n\n function reportSettingsToggle() {\n $ctrl.headerData.showReportSettings = !$ctrl.headerData.showReportSettings;\n }\n\n function setDatePickerVisiblity(isStart) {\n if (isStart) {\n $ctrl.startDatePickerVisible = true;\n } else {\n $ctrl.endDatePickerVisible = true;\n }\n }\n\n function onDealershipChangedWrapper(dealerId, makeId) {\n $ctrl.headerData.dealerId = dealerId;\n $ctrl.headerData.makeId = makeId;\n\n if ($ctrl.onDealershipChanged) {\n $ctrl.onDealershipChanged({\n $onDealershipChanged: {\n dealerId: dealerId,\n makeId: makeId\n }\n });\n }\n }\n\n function setPandoReportState(state) {\n $ctrl.pandoReportState = state;\n }\n\n function setSurveyFamilySurveySelections(surveyFamilyId, surveyId, surveys, state) {\n $ctrl.headerData.surveyFamilyId = surveyFamilyId;\n $ctrl.headerData.surveyId = surveyId;\n $ctrl.headerData.surveys = surveys;\n $ctrl.pandoReportState = state;\n $ctrl.loadReport();\n }\n\n function setReportSettingsButtonVisiblity() {\n if ($ctrl.reportSpecification) {\n $ctrl.showReportSettingsButton = $ctrl.reportSpecification.pdfExportEnabled === true || $ctrl.reportSpecification.excelExportEnabled === true || $ctrl.reportSpecification.subscriptionEnabled === true;\n }\n }\n\n function onCalendarDateRangeSelect(dateRange) {\n //console.log(dateRange);\n $ctrl.headerData.endDate = dateRange.end;\n $ctrl.headerData.startDate = dateRange.start;\n $ctrl.headerData.selectedDateRangeType = \"UI\";\n $ctrl.loadReport('DateRangeSelectionChanged', true);\n }\n\n function onCalendarPresetDateRangeSelect(presetDateType) {\n //console.log(presetDateType);\n $ctrl.headerData.selectedDateRangeType = presetDateType;\n $ctrl.loadReportPresetRange($ctrl.headerData.selectedDateRangeType);\n }\n\n function onPerfReportDateRangeSelect(dateRange) {\n log.log(\"dateRange change: \" + dateRange);\n var dates = dateRange.split(\"|\");\n $ctrl.headerData.startDate = moment(dates[0], 'YYYY-M-D', true).toDate();\n $ctrl.headerData.endDate = moment(dates[1], 'YYYY-M-D', true).toDate();\n $ctrl.loadReport('DateRangeSelectionChanged', true);\n }\n}","ReportSubscriptionsModalController.$inject = [\"reportSubscriptionViewTypes\"];\n\n/* injects from baggage-loader */\nrequire('./report-subscriptions-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('reportSubscriptionsModal', {\n templateUrl: '/app/components/reports/report-subscriptions-modal.component.html',\n controller: ReportSubscriptionsModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction ReportSubscriptionsModalController(reportSubscriptionViewTypes) {\n var $ctrl = this;\n $ctrl.cancelSubscriptionEdit;\n $ctrl.addSubscription;\n $ctrl.updateSubscription;\n $ctrl.subscriptionCount;\n $ctrl.viewType;\n $ctrl.viewTypes;\n $ctrl.$onInit = init;\n $ctrl.onCancel = onCancel;\n\n function init() {\n $ctrl.viewTypes = reportSubscriptionViewTypes;\n }\n\n function onCancel() {\n if ($ctrl.viewType != $ctrl.viewTypes.list && $ctrl.subscriptionCount > 0) {\n $ctrl.cancelSubscriptionEdit();\n } else {\n $ctrl.dismiss();\n }\n }\n}","import \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.array.find\";\nReportSubscriptionsController.$inject = [\"reportService\", \"reportSubscriptionViewTypes\", \"duplicateSubscriptionKey\", \"logger\"];\n\n/* injects from baggage-loader */\nrequire('./report-subscriptions.component.html');\n\nimport angular from 'angular';\nimport { AllReportSpecs } from '../../constants/reports/report-specifications';\nimport _ from 'lodash';\nangular.module('AaApp.Opp').component('reportSubscriptions', {\n templateUrl: '/app/components/reports/report-subscriptions.component.html',\n controller: ReportSubscriptionsController,\n bindings: {\n defaults: '<',\n viewType: '<',\n addSubscription: '=',\n updateSubscription: '=',\n cancelSubscriptionEdit: '=',\n onSubscriptionsLoad: '&',\n onViewTypeChange: '&'\n }\n});\n/* @ngInject */\n\nfunction ReportSubscriptionsController(reportService, reportSubscriptionViewTypes, duplicateSubscriptionKey, logger) {\n var $ctrl = this;\n $ctrl.validateSubscriptionEditForm;\n $ctrl.viewTypes;\n $ctrl.editableSubscription;\n $ctrl.subscriptions;\n $ctrl.$onInit = init;\n $ctrl.editSubscription = editSubscription;\n $ctrl.toggleSubscription = toggleSubscription;\n $ctrl.deleteSubscription = deleteSubscription;\n\n function init() {\n $ctrl.viewTypes = reportSubscriptionViewTypes;\n $ctrl.addSubscription = addSubscription;\n $ctrl.updateSubscription = updateSubscription;\n $ctrl.cancelSubscriptionEdit = cancelSubscriptionEdit;\n loadSubscriptions();\n }\n\n function loadSubscriptions() {\n reportService.getSubscriptions().then(setSubscriptions);\n }\n\n function getReportSpec() {}\n\n function setSubscriptions(subscriptions) {\n $ctrl.subscriptions = subscriptions;\n\n for (var i = 0; i < $ctrl.subscriptions.length; i++) {\n var subscription = $ctrl.subscriptions[i];\n\n var reportSpec = _.find(AllReportSpecs, function (item) {\n return item.id.toLowerCase() == subscription.reportId;\n });\n\n subscription.translateKey = reportSpec.titleKey.replace(\"Enterprise\", \"\");\n subscription.isEnterprise = reportSpec.isEnterprise;\n subscription.showMake = true;\n\n if (reportSpec.isEnterprise) {\n //show \"All Dealerships\" instead of the dealerName if this is an enterprise report. (this should eventually come from reportSpec instead of JS code)\n subscription.dealerName = \"All Dealerships\";\n subscription.dealerID = 0;\n subscription.showMake = false;\n } //hide \"make\" from view if \"All Dealerships\" is selected. (this should eventually come from reportSpec instead of JS code)\n\n\n switch (reportSpec.titleKey) {\n case \"userActivityReport\":\n case \"certificationReport\":\n case \"certificationEnterpriseReport\":\n case \"pandoUserActivityReport\":\n subscription.showMake = false;\n break;\n }\n }\n\n $ctrl.editableSubscription = null;\n $ctrl.onSubscriptionsLoad({\n count: subscriptions.length\n });\n var viewType = subscriptions.length == 0 ? $ctrl.viewTypes.add : $ctrl.viewTypes.list;\n $ctrl.onViewTypeChange({\n viewType: viewType\n });\n }\n\n function cancelSubscriptionEdit() {\n $ctrl.editableSubscription = null;\n $ctrl.onViewTypeChange({\n viewType: $ctrl.viewTypes.list\n });\n }\n\n function editSubscription(subscription) {\n $ctrl.editableSubscription = subscription;\n $ctrl.onViewTypeChange({\n viewType: $ctrl.viewTypes.edit\n });\n }\n\n function addSubscription() {\n var validationResult = $ctrl.validateSubscriptionEditForm();\n\n if (validationResult.valid) {\n if (isDuplicateSubscription(validationResult.subscription)) {\n logger.warning(duplicateSubscriptionKey);\n } else {\n reportService.addSubscription(validationResult.subscription).then(loadSubscriptions);\n }\n }\n }\n\n function updateSubscription() {\n var validationResult = $ctrl.validateSubscriptionEditForm();\n var isUpdateSubscription = true;\n\n if (validationResult.valid) {\n if (validationResult.edited) {\n if (isDuplicateSubscription(validationResult.subscription, isUpdateSubscription)) {\n logger.warning(duplicateSubscriptionKey);\n } else {\n reportService.updateSubscription(validationResult.subscription).then(loadSubscriptions);\n }\n } else {\n $ctrl.onViewTypeChange({\n viewType: $ctrl.viewTypes.list\n });\n }\n }\n }\n\n function toggleSubscription(subscriptionId, enabled) {\n if (enabled) {\n reportService.enableSubscription(subscriptionId).then(loadSubscriptions);\n } else {\n reportService.disableSubscription(subscriptionId).then(loadSubscriptions);\n }\n }\n\n function deleteSubscription(subscriptionId) {\n reportService.deleteSubscription(subscriptionId).then(loadSubscriptions);\n }\n\n function isDuplicateSubscription(subscription, isUpdateSubscription) {\n var duplicateSubscription = null;\n\n if (isUpdateSubscription) {\n // UPDATE Subscription\n duplicateSubscription = _.find($ctrl.subscriptions, {\n 'reportId': subscription.reportId.toLowerCase(),\n 'dealerID': subscription.dealerID,\n 'makeID': subscription.makeID,\n 'code': subscription.code,\n 'periodicity': subscription.periodicity,\n 'deliveryMethods': subscription.deliveryMethods,\n 'reportSubscriptionPeriodPoint': subscription.reportSubscriptionPeriodPoint\n }); // user has only updated delivery method options\n\n if (duplicateSubscription) if (subscription.deliveryMethods.length != duplicateSubscription.deliveryMethods.length) return false;\n\n if (!duplicateSubscription) {\n duplicateSubscription = _.find($ctrl.subscriptions, {\n 'reportId': subscription.reportId.toLowerCase(),\n 'dealerID': subscription.dealerID,\n 'makeID': subscription.makeID,\n 'code': subscription.code\n });\n\n if (duplicateSubscription) {\n // it's the same record but with diffrent optional params\n if (subscription.reportSubscriptionId == duplicateSubscription.reportSubscriptionId) {\n var isDeliveryduplicateSubscription = _.find([duplicateSubscription], {\n 'periodicity': subscription.periodicity,\n 'deliveryMethods': subscription.deliveryMethods,\n 'reportSubscriptionPeriodPoint': subscription.reportSubscriptionPeriodPoint\n });\n\n if (isDeliveryduplicateSubscription) return true;else return false;\n }\n }\n\n if (duplicateSubscription) return true;else return false;\n }\n\n return duplicateSubscription != null;\n } else {\n // ADD Subscription\n // WEBUI-6902 Removed Delivery method and schedule params from duplicate search criteria for ADD\n duplicateSubscription = _.find($ctrl.subscriptions, {\n 'reportId': subscription.reportId.toLowerCase(),\n 'dealerID': subscription.dealerID,\n 'makeID': subscription.makeID,\n 'code': subscription.code\n });\n }\n\n return duplicateSubscription != null;\n }\n}","import \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nReportSubscriptionListController.$inject = [\"dateRangeTypes\", \"reportSubscriptionPeriods\", \"$translate\"];\n\n/* injects from baggage-loader */\nrequire('./report-subscription-list.component.html');\n\nimport angular from 'angular';\nimport { ReportSpecsList } from '../../constants/reports/report-specifications';\nimport _ from 'lodash';\nangular.module('AaApp.Opp').component('reportSubscriptionList', {\n templateUrl: '/app/components/reports/report-subscription-list.component.html',\n controller: ReportSubscriptionListController,\n bindings: {\n subscriptions: '<',\n onSubscriptionToggle: '&',\n onSubscriptionEdit: '&',\n onSubscriptionDelete: '&'\n }\n});\n/* @ngInject */\n\nfunction ReportSubscriptionListController(dateRangeTypes, reportSubscriptionPeriods, $translate) {\n var $ctrl = this;\n $ctrl.dateRangeTypes;\n $ctrl.subscriptionPeriodTranslateKeys;\n $ctrl.$onChanges = onChanges;\n $ctrl.$onInit = init;\n $ctrl.translateCodes = [];\n\n function init() {\n $ctrl.dateRangeTranslateKeys = _.invert(dateRangeTypes);\n $ctrl.subscriptionPeriodTranslateKeys = _.invert(reportSubscriptionPeriods);\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = $ctrl.subscriptions[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var subscription = _step.value;\n if (subscription.code == dateRangeTypes.day) subscription.translateCode = dateRangeTypes.previousDay;else subscription.translateCode = subscription.code;\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n\n function onChanges(changes) {\n if (changes.subscriptions && changes.subscriptions.currentValue) {\n for (var i = 0; i < $ctrl.subscriptions.length; i++) {\n var subscription = $ctrl.subscriptions[i]; //replace \"Enterprise\" to quickly and easily use the associated non-enterprise report version titleKey.\n\n var report = _.find(ReportSpecsList, function (item) {\n return item.id.toLowerCase() == subscription.reportId;\n });\n\n if (!report) continue;\n subscription.translateKey = report.titleKey.replace(\"Enterprise\", \"\");\n subscription.hideDateRange = report.hideDateRange;\n }\n }\n }\n}","import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.array.find-index\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es6.array.find\";\nReportSubscriptionEditController.$inject = [\"$q\", \"$translate\", \"dealerService\", \"reportService\", \"storageService\", \"dateRangeTypes\", \"reportSubscriptionPeriods\", \"reportSubscriptionSubjectKey\", \"reportSubscriptionEnterpriseSubjectKey\", \"userService\", \"deliveryDateRangeOrdinalTypes\", \"deliveryWeekDayTypes\"];\n\n/* injects from baggage-loader */\nrequire('./report-subscription-edit.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nimport reportSpecifications from '../../constants/reports/report-specifications';\nimport reportHeaderTypes from '../../constants/reports/report-header-types';\nangular.module('AaApp.Opp').component('reportSubscriptionEdit', {\n templateUrl: '/app/components/reports/report-subscription-edit.component.html',\n controller: ReportSubscriptionEditController,\n bindings: {\n subscription: '<',\n validate: '='\n }\n});\n/* @ngInject */\n\nfunction ReportSubscriptionEditController($q, $translate, dealerService, reportService, storageService, dateRangeTypes, reportSubscriptionPeriods, reportSubscriptionSubjectKey, reportSubscriptionEnterpriseSubjectKey, userService, deliveryDateRangeOrdinalTypes, deliveryWeekDayTypes) {\n var $ctrl = this;\n $ctrl.dealers;\n $ctrl.dateRangeTranslateKeys;\n $ctrl.subscriptionPeriods;\n $ctrl.editableSubscription;\n $ctrl.selectedReportId;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges;\n $ctrl.updateSubscriptionPeriodPoint = updateSubscriptionPeriodPoint;\n $ctrl.updateSubscriptionSubject = updateSubscriptionSubject;\n $ctrl.setDealerMakeSelections = setDealerMakeSelections;\n $ctrl.onReportSelect = onReportSelect;\n $ctrl.getReportSpec = getReportSpec;\n $ctrl.setReportId = setReportId;\n $ctrl.onDeliveryEmail = onDeliveryEmail;\n $ctrl.onDeliveryPando = onDeliveryPando;\n $ctrl.isEmailValid;\n $ctrl.showEmailInvalidMsg;\n var emailDeliveryMethod = 0;\n var pandoDeliveryMethod = 1;\n\n function init() {\n $ctrl.previousDay = dateRangeTypes.previousDay;\n $ctrl.subscriptionPeriods = reportSubscriptionPeriods;\n $ctrl.dateRangeTranslateKeys = _.invert(dateRangeTypes);\n $ctrl.deliveryDateRangeOrdinalTypeKeys = _.invert(deliveryDateRangeOrdinalTypes);\n $ctrl.deliveryWeekDayTypeKeys = _.invert(deliveryWeekDayTypes);\n $ctrl.validate = validate;\n $ctrl.dateRanges = [{\n translateKey: dateRangeTypes.previousDay,\n value: dateRangeTypes.day\n }, //This entry is the only reason this has to be done this way.\n {\n translateKey: dateRangeTypes.previousWeek,\n value: dateRangeTypes.previousWeek\n }, {\n translateKey: dateRangeTypes.previousMonth,\n value: dateRangeTypes.previousMonth\n }, {\n translateKey: dateRangeTypes.previousQuarter,\n value: dateRangeTypes.previousQuarter\n }, {\n translateKey: dateRangeTypes.last7Days,\n value: dateRangeTypes.last7Days\n }, {\n translateKey: dateRangeTypes.last14Days,\n value: dateRangeTypes.last14Days\n }, {\n translateKey: dateRangeTypes.last28Days,\n value: dateRangeTypes.last28Days\n }, {\n translateKey: dateRangeTypes.last30Days,\n value: dateRangeTypes.last30Days\n }, {\n translateKey: dateRangeTypes.monthToDate,\n value: dateRangeTypes.monthToDate\n }, {\n translateKey: dateRangeTypes.quarterToDate,\n value: dateRangeTypes.quarterToDate\n }, {\n translateKey: dateRangeTypes.yearToDate,\n value: dateRangeTypes.yearToDate\n }];\n $ctrl.dateRangesWeekly = [deliveryWeekDayTypes.weekday1, deliveryWeekDayTypes.weekday2, deliveryWeekDayTypes.weekday3, deliveryWeekDayTypes.weekday4, deliveryWeekDayTypes.weekday5, deliveryWeekDayTypes.weekday6, deliveryWeekDayTypes.weekday7];\n $ctrl.dateRangesMonthly = [deliveryDateRangeOrdinalTypes.day1st, deliveryDateRangeOrdinalTypes.day2nd, deliveryDateRangeOrdinalTypes.day3rd, deliveryDateRangeOrdinalTypes.day4th, deliveryDateRangeOrdinalTypes.day5th, deliveryDateRangeOrdinalTypes.day6th, deliveryDateRangeOrdinalTypes.day7th, deliveryDateRangeOrdinalTypes.day8th, deliveryDateRangeOrdinalTypes.day9th, deliveryDateRangeOrdinalTypes.day10th, deliveryDateRangeOrdinalTypes.day11th, deliveryDateRangeOrdinalTypes.day12th, deliveryDateRangeOrdinalTypes.day13th, deliveryDateRangeOrdinalTypes.day14th, deliveryDateRangeOrdinalTypes.day15th, deliveryDateRangeOrdinalTypes.day16th, deliveryDateRangeOrdinalTypes.day17th, deliveryDateRangeOrdinalTypes.day18th, deliveryDateRangeOrdinalTypes.day19th, deliveryDateRangeOrdinalTypes.day20th, deliveryDateRangeOrdinalTypes.day21st, deliveryDateRangeOrdinalTypes.day22nd, deliveryDateRangeOrdinalTypes.day23rd, deliveryDateRangeOrdinalTypes.day24th, deliveryDateRangeOrdinalTypes.day25th, deliveryDateRangeOrdinalTypes.day26th, deliveryDateRangeOrdinalTypes.day27th, deliveryDateRangeOrdinalTypes.day28th, deliveryDateRangeOrdinalTypes.lastDayOfMonth];\n $ctrl.reports = getAuthorizedReportSpecifications();\n $ctrl.selectedReportId = $ctrl.editableSubscription.reportId;\n $ctrl.editableSubscription.dateRange = _.find($ctrl.dateRanges, function (item) {\n return item.value == $ctrl.editableSubscription.code;\n });\n var allTranslations = [];\n\n for (var i = 0; i < $ctrl.reports.length; i++) {\n var report = $ctrl.reports[i];\n allTranslations.push($translate(report.titleKey));\n\n if (report.enterprise && report.enterprise.id.toLowerCase() == $ctrl.editableSubscription.reportId.toLowerCase()) {\n $ctrl.selectedReportId = report.id.toLowerCase();\n }\n }\n\n validateEnterpriseDealerships();\n $q.all(allTranslations).then(function (translatedNames) {\n for (var i = 0; i < $ctrl.reports.length; i++) {\n $ctrl.reports[i].nameByCulture = translatedNames[i];\n }\n\n $ctrl.reports.sort(byReportTranslatedName);\n });\n }\n\n function byReportTranslatedName(object1, object2) {\n if (object1.nameByCulture.toLowerCase() < object2.nameByCulture.toLowerCase()) return -1;\n if (object1.nameByCulture.toLowerCase() > object2.nameByCulture.toLowerCase()) return 1;\n return 0;\n }\n\n function onChanges(changes) {\n if (changes.subscription && changes.subscription.currentValue) {\n if (!$ctrl.dealers) {\n var showAllDealers = true; //TBD later. This will need to be set when other reports are in the list that do NOT have an enterprise report version.\n\n $ctrl.dealers = dealerService.getSelectedDealers(showAllDealers);\n }\n\n if (!$ctrl.reports) {\n $ctrl.reports = getAuthorizedReportSpecifications();\n }\n\n $ctrl.currentLoginUserProfile = storageService.getItem('userProfile'); //reset email error flags\n\n $ctrl.isEmailValid = true;\n $ctrl.showEmailInvalidMsg = false;\n\n if (!$ctrl.currentLoginUserProfile.email) {\n $ctrl.isEmailValid = false;\n }\n\n setEditableSubscription($ctrl.subscription);\n enableMakeSelect();\n enableDateRangeSelect();\n }\n }\n\n function enableDateRangeSelect() {\n var headerType = $ctrl.getReportSpec($ctrl.editableSubscription.reportId).header;\n $ctrl.showDateRangeSelector = headerType != reportHeaderTypes.dealerOnlyNoSubscriptionDateSelector && headerType != reportHeaderTypes.dealerMakeNoSubscriptionDateSelector;\n }\n\n function enableMakeSelect() {\n var headerType = $ctrl.getReportSpec($ctrl.editableSubscription.reportId).header;\n $ctrl.showMakes = headerType != reportHeaderTypes.dealerOnly && headerType != reportHeaderTypes.dealerDatesPresets && headerType != reportHeaderTypes.dealerOnlyNoSubscriptionDateSelector;\n }\n\n function getAuthorizedReportSpecifications() {\n var moduleIds = storageService.getItem('moduleIds');\n var authorizedReportsMenu = reportService.getAuthorizedReports(moduleIds);\n var authorizedReportSpecifications = getAuthorizedReportSpecificationsHelper(authorizedReportsMenu);\n return authorizedReportSpecifications;\n }\n\n function getAuthorizedReportSpecificationsHelper(authorizedReportsMenu) {\n var reportSpecsList = [];\n\n for (var report in reportSpecifications) {\n var reportSpec = reportSpecifications[report];\n\n if (reportSpec.subscriptionEnabled) {\n var index = _.findIndex(authorizedReportsMenu, {\n id: reportSpec.titleKey\n });\n\n if (index > -1) {\n reportSpecsList.push(reportSpec);\n }\n }\n }\n\n return reportSpecsList;\n }\n\n function onDeliveryEmail() {\n if ($ctrl.subscriptionEditForm.deliveryMethodEmail.$dirty) {\n if ($ctrl.editableSubscription.deliveryMethods.indexOf(emailDeliveryMethod) == -1) {\n $ctrl.editableSubscription.deliveryMethods.push(emailDeliveryMethod);\n enableEmailValidation();\n } else {\n var indexEmail = $ctrl.editableSubscription.deliveryMethods.indexOf(emailDeliveryMethod);\n if (indexEmail > -1) $ctrl.editableSubscription.deliveryMethods.splice(indexEmail, 1);\n disableEmailValidation();\n }\n }\n }\n\n function onDeliveryPando() {\n if ($ctrl.subscriptionEditForm.deliveryMethodPando.$dirty) {\n if ($ctrl.editableSubscription.deliveryMethods.indexOf(pandoDeliveryMethod) == -1) {\n $ctrl.editableSubscription.deliveryMethods.push(pandoDeliveryMethod);\n disableEmailValidation();\n } else {\n var pandoIndex = $ctrl.editableSubscription.deliveryMethods.indexOf(pandoDeliveryMethod);\n if (pandoIndex > -1) $ctrl.editableSubscription.deliveryMethods.splice(pandoIndex, 1);\n }\n }\n }\n\n function enableEmailValidation() {\n if (!$ctrl.currentLoginUserProfile.email) {\n $ctrl.isEmailValid = false;\n $ctrl.showEmailInvalidMsg = true;\n $ctrl.subscriptionEditForm.deliveryMethodEmail.$invalid = true;\n }\n }\n\n function disableEmailValidation() {\n if (!$ctrl.currentLoginUserProfile.email) {\n var indexEmail = $ctrl.editableSubscription.deliveryMethods.indexOf(emailDeliveryMethod);\n if (indexEmail > -1) $ctrl.editableSubscription.deliveryMethods.splice(indexEmail, 1);\n $ctrl.editableSubscription.deliveryMethodEmail = false;\n $ctrl.isEmailValid = true;\n $ctrl.showEmailInvalidMsg = false;\n }\n }\n\n function addDefaultSubscriptionDateRangeCode() {\n var headerType = $ctrl.getReportSpec($ctrl.editableSubscription.reportId).header;\n\n if (headerType == reportHeaderTypes.dealerOnlyNoSubscriptionDateSelector || headerType == reportHeaderTypes.dealerMakeNoSubscriptionDateSelector) {\n $ctrl.editableSubscription.code = dateRangeTypes.yearToDate;\n }\n }\n\n function setEditableSubscription(subscription) {\n $ctrl.isExistingSubscription = subscription.reportSubscriptionId != null;\n $ctrl.editableSubscription = _.cloneDeep(subscription);\n $ctrl.editableSubscription.reportId = $ctrl.editableSubscription.reportId.toLowerCase();\n addDefaultSubscriptionDateRangeCode();\n\n if (!subscription.type) {\n var userSubscriptionType = 1;\n $ctrl.editableSubscription.type = userSubscriptionType;\n }\n\n if (subscription.enabled == null) {\n $ctrl.editableSubscription.enabled = true;\n }\n\n var dealer = _.find($ctrl.dealers, {\n 'id': subscription.dealerID\n });\n\n if (!dealer) {\n $ctrl.editableSubscription.dealerID = $ctrl.dealers[0].id;\n } //defaults\n\n\n $ctrl.deliveryDayOfTheWeek = 2;\n $ctrl.deliveryDayOfTheMonth = 10;\n\n if ($ctrl.isExistingSubscription && subscription.deliveryMethods) {\n // UPDATE\n $ctrl.editableSubscription.deliveryMethods = [];\n\n if (subscription.deliveryMethods.indexOf(emailDeliveryMethod) > -1) {\n $ctrl.editableSubscription.deliveryMethodEmail = true;\n $ctrl.editableSubscription.deliveryMethods.push(emailDeliveryMethod);\n }\n\n if (subscription.deliveryMethods.indexOf(pandoDeliveryMethod) > -1) {\n $ctrl.editableSubscription.deliveryMethodPando = true;\n $ctrl.editableSubscription.deliveryMethods.push(pandoDeliveryMethod);\n }\n\n if ($ctrl.subscription.periodicity == reportSubscriptionPeriods.weekly) {\n $ctrl.deliveryDayOfTheWeek = $ctrl.subscription.reportSubscriptionPeriodPoint;\n } else if ($ctrl.subscription.periodicity == reportSubscriptionPeriods.monthly) {\n $ctrl.deliveryDayOfTheMonth = $ctrl.subscription.reportSubscriptionPeriodPoint;\n }\n } else {\n // INSERT\n $ctrl.editableSubscription.deliveryMethods = [];\n $ctrl.editableSubscription.deliveryMethodEmail = false;\n $ctrl.editableSubscription.deliveryMethodPando = false;\n }\n\n updateSubscriptionPeriodPoint();\n updateSubscriptionSubject();\n }\n\n function validate() {\n var headerType = $ctrl.getReportSpec($ctrl.editableSubscription.reportId).header;\n\n if (headerType != reportHeaderTypes.dealerOnlyNoSubscriptionDateSelector && headerType != reportHeaderTypes.dealerMakeNoSubscriptionDateSelector) {\n $ctrl.subscriptionEditForm.dateRange.$setDirty();\n }\n\n $ctrl.subscriptionEditForm.deliverySchedule.$setDirty();\n $ctrl.subscriptionEditForm.deliveryMethodEmail.$setDirty();\n $ctrl.subscriptionEditForm.deliveryMethodPando.$setDirty();\n $ctrl.editableSubscription.code = $ctrl.editableSubscription.dateRange.value;\n var edited = $ctrl.subscription.reportId != $ctrl.editableSubscription.reportId || $ctrl.subscription.dealerID != $ctrl.editableSubscription.dealerID || $ctrl.subscription.makeID != $ctrl.editableSubscription.makeID || $ctrl.subscription.periodicity != $ctrl.editableSubscription.periodicity || $ctrl.subscription.code != $ctrl.editableSubscription.code || $ctrl.subscription.deliveryMethods.length != $ctrl.editableSubscription.deliveryMethods.length || $ctrl.subscription.deliveryMethods.length > 0 && $ctrl.subscription.deliveryMethods[0] != $ctrl.editableSubscription.deliveryMethods[0] || $ctrl.subscription.reportSubscriptionPeriodPoint != $ctrl.editableSubscription.reportSubscriptionPeriodPoint;\n return {\n valid: $ctrl.subscriptionEditForm.$valid && $ctrl.isEmailValid,\n subscription: $ctrl.editableSubscription,\n edited: edited\n };\n }\n\n function updateSubscriptionPeriodPoint() {\n var point;\n\n if ($ctrl.editableSubscription.periodicity == reportSubscriptionPeriods.weekly) {\n var weeklyDeliveryDay = $ctrl.deliveryDayOfTheWeek;\n point = weeklyDeliveryDay;\n } else if ($ctrl.editableSubscription.periodicity == reportSubscriptionPeriods.monthly) {\n var monthlyDeliveryDay = $ctrl.deliveryDayOfTheMonth;\n point = monthlyDeliveryDay;\n } else if ($ctrl.editableSubscription.periodicity == reportSubscriptionPeriods.daily) {\n var dailyDeliveryDay = 0;\n point = dailyDeliveryDay;\n }\n\n $ctrl.editableSubscription.reportSubscriptionPeriodPoint = point;\n }\n\n function getReportSpec(reportId) {\n reportId = reportId.toLowerCase();\n\n for (var i = 0; i < $ctrl.reports.length; i++) {\n var report = $ctrl.reports[i];\n\n if (report.enterprise && report.enterprise.id.toLowerCase() == reportId) {\n return report.enterprise;\n }\n\n if (report.id.toLowerCase() == reportId) {\n return report;\n }\n }\n }\n\n function updateSubscriptionSubject() {\n var reportSpecs = $ctrl.getReportSpec($ctrl.editableSubscription.reportId);\n\n var dealerName = _.find($ctrl.dealers, function (dealer) {\n return dealer.id == $ctrl.editableSubscription.dealerID;\n }).name;\n\n var up = userService.getUserProfile().then(function (userProfile) {\n var subjectPickerResultKey = reportSpecs.isEnterprise ? reportSubscriptionEnterpriseSubjectKey : reportSubscriptionSubjectKey;\n $translate(reportSpecs.titleKey).then(function (reportTitle) {\n $translate(subjectPickerResultKey, {\n reportName: reportTitle,\n dealerName: dealerName,\n dealerDisplayText: userProfile.dealerDisplayText\n }).then(function (subscriptionSubject) {\n $ctrl.editableSubscription.subject = subscriptionSubject;\n });\n });\n });\n }\n\n function setReportId(dealerId) {\n if (dealerId == 0) {\n var config = $ctrl.getReportSpec($ctrl.selectedReportId);\n if (config.enterprise) $ctrl.editableSubscription.reportId = config.enterprise.id;\n } else {\n $ctrl.editableSubscription.reportId = $ctrl.selectedReportId;\n }\n }\n\n function setDealerMakeSelections(dealerId, makeId) {\n $ctrl.editableSubscription.dealerID = dealerId;\n $ctrl.editableSubscription.makeID = makeId;\n $ctrl.setReportId(dealerId);\n enableMakeSelect();\n updateSubscriptionSubject();\n }\n\n function onReportSelect() {\n validateEnterpriseDealerships();\n $ctrl.setReportId($ctrl.editableSubscription.dealerID);\n enableMakeSelect();\n enableDateRangeSelect();\n updateSubscriptionSubject();\n addDefaultSubscriptionDateRangeCode();\n }\n\n function validateEnterpriseDealerships() {\n var config = $ctrl.getReportSpec($ctrl.selectedReportId);\n var reportHasEnterpriseVersion = config && config.enterprise || config.isEnterprise ? true : false;\n $ctrl.dealers = dealerService.getSelectedDealers(reportHasEnterpriseVersion);\n\n if (!$ctrl.isExistingSubscription) {\n //if it's a ADD Subscription dialog {\n $ctrl.editableSubscription.dealerID = $ctrl.dealers[0].id;\n if (reportHasEnterpriseVersion && $ctrl.dealers.length > 1) $ctrl.showMakes = false;\n }\n }\n}","import \"core-js/modules/es6.regexp.search\";\nimport \"core-js/modules/es6.regexp.replace\";\nTemplateEmailController.$inject = [\"$q\", \"$sce\", \"templateService\", \"activityService\"];\n\n/* injects from baggage-loader */\nrequire('./template-email.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('templateEmail', {\n templateUrl: '/app/components/template-email.component.html',\n controller: TemplateEmailController,\n bindings: {\n templateEmailId: '<',\n accessCode: '<',\n isPreview: '<',\n emailConversationItemId: '<'\n }\n});\n/* @ngInject */\n\nfunction TemplateEmailController($q, $sce, templateService, activityService) {\n var $ctrl = this;\n $ctrl.emailContentPromise;\n $ctrl.emailBodyContentHtml;\n $ctrl.$onInit = init;\n $ctrl.dealerUserPreviewClassName = \"\";\n /*\r\n This component is used for 3 options;\r\n 1) Used by customer to view email sent by dealer user via public page\r\n 2) Used by dealer user to view sent email to customer in portal\r\n 3) Used by dealer user to view email conversations. (emailConversationItemId is valid )\r\n */\n\n function init() {\n if ($ctrl.isPreview) {\n $ctrl.dealerUserPreviewClassName = \" dealer-user-preview\";\n }\n\n if ($ctrl.accessCode) {\n $ctrl.emailContentPromise = templateService.getSentEmailContent($ctrl.templateEmailId, $ctrl.accessCode).then(setEmailContent);\n } else getEmailConversationDetails();\n }\n\n function getEmailConversationDetails() {\n $ctrl.emailContentPromise = activityService.getEmailConversation($ctrl.emailConversationItemId).then(setEmailConversationDetails);\n }\n\n function setEmailConversationDetails(emailDetails) {\n if (emailDetails) {\n var sentEmailObject = {\n emailBodyContentHtml: emailDetails\n };\n setEmailContent(sentEmailObject);\n } else {\n return $q.resolve(false);\n }\n }\n\n function setEmailContent(sentEmailObject) {\n // cleanup legacy jquery references from raw html\n sentEmailObject.emailBodyContentHtml = sentEmailObject.emailBodyContentHtml.replace('', '');\n\n if (sentEmailObject.dealerAddress != null) {\n sentEmailObject.primaryAddress = {\n address1: sentEmailObject.dealerAddress.dealerAddress,\n address2: sentEmailObject.dealerAddress.dealerAddress2,\n city: sentEmailObject.dealerAddress.dealerCity,\n state: sentEmailObject.dealerAddress.dealerState,\n zipCode: sentEmailObject.dealerAddress.dealerZipCode\n };\n } else {\n sentEmailObject.primaryAddress = null;\n } // if dealer-user is previewing sent emails\n\n\n if ($ctrl.isPreview) {\n // if it's rendering for dealer user then remove legacy header and footer\n var addScriptToRemoveLegacyHeaderandFooter = \"\";\n }\n\n $ctrl.sentEmailObject = sentEmailObject; // if header image is already present in email body then remove it.\n\n if (sentEmailObject.emailBodyContentHtml.search(sentEmailObject.emailHeaderPath) > -1) $ctrl.sentEmailObject.emailHeaderPath = null;\n $ctrl.emailBodyContentHtml = $sce.trustAsHtml(sentEmailObject.emailBodyContentHtml + addScriptToRemoveLegacyHeaderandFooter);\n $ctrl.emailContentPromise = null;\n return $q.resolve(true);\n }\n}","import \"core-js/modules/web.dom.iterable\";\nserviceDriveOffersFilter.$inject = [\"$filter\", \"moment\"];\nimport angular from 'angular';\nangular.module('AaApp.Opp').filter('serviceDriveOffersFilter', serviceDriveOffersFilter);\n/* @ngInject */\n\nfunction serviceDriveOffersFilter($filter, moment) {\n return function (rows, searchText, isIncludePrintedChecked, dateStart) {\n var out = [];\n angular.forEach(rows, function (value, key) {\n if (value.customerFullName.toLowerCase().indexOf(searchText.toLowerCase()) !== -1 || value.vin && value.vin.toLowerCase().indexOf(searchText.toLowerCase()) !== -1) {\n if (isIncludePrintedChecked) {\n out.push(value);\n } //else if (!value.lastPrintedDate || moment(value.lastPrintedDate).isBefore(moment().startOf('day'))) {\n else if (!value.lastPrintedDate || !moment(value.lastPrintedDate).isSame(dateStart, 'day')) {\n out.push(value);\n }\n }\n });\n return out;\n };\n}","\n/* injects from baggage-loader */\nrequire('./service-drive-offers-filter.modal.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\n\r\n(function () {\r\n angular.module('AaApp.Opp').component('serviceDriveOffersFilterModal', {\r\n templateUrl: '/app/components/service-drive/modals/service-drive-offers-filter.modal.component.html',\r\n controller: OffersFiltersModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n },\r\n });\r\n\r\n /* @ngInject */\r\n function OffersFiltersModalController($filter, $translate, $translatePartialLoader,\r\n alertTypes, dateFormatService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = init();\r\n\r\n $ctrl.submit = function () {\r\n var result = {\r\n dateStart: $ctrl.dateStart.date,\r\n selectedAlertTypes: $ctrl.selectedAlertTypes\r\n }\r\n $ctrl.close({ $value: result });\r\n };\r\n\r\n $ctrl.cancel = function () {\r\n $ctrl.dismiss({ $value: 'cancel' });\r\n };\r\n\r\n function init() {\r\n $ctrl.dateFormat = dateFormatService.getDateFormatString();\r\n $ctrl.dateOptions = {\r\n maxDate: new Date(),\r\n startingDay: 0,\r\n showWeeks: false\r\n }\r\n\r\n // modal resolves\r\n $ctrl.dateStart = {\r\n calendarClick: calendarClick,\r\n date: $ctrl.resolve.dateStart,\r\n status : { opened: false }\r\n };\r\n $ctrl.selectedAlertTypes = $ctrl.resolve.selectedAlertTypes;\r\n\r\n $ctrl.alertTypes = _.map(alertTypes, function (value, prop) { return { prop: prop, value: value }; });\r\n\r\n //$ctrl.dateStart.date = $ctrl.resolve.dateStart;\r\n //$ctrl.dateStart.status = { opened: false };\r\n }\r\n\r\n\r\n function calendarClick($event) {\r\n $ctrl.dateStart.status.opened = true;\r\n }\r\n\r\n function closeModal() {\r\n $ctrl.close({ $value: 'submit' });\r\n }\r\n\r\n function setSubmitActionResult(result) {\r\n\r\n }\r\n }\r\n})();\r\n","ServiceDriveOffersModalController.$inject = [\"logger\", \"$sce\", \"$timeout\", \"$window\"];\n\n/* injects from baggage-loader */\nrequire('./service-drive-offers-print.modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('serviceDriveOffersPrintModalComponent', {\n templateUrl: '/app/components/service-drive/modals/service-drive-offers-print.modal.component.html',\n controller: ServiceDriveOffersModalController,\n bindings: {\n resolve: '<',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction ServiceDriveOffersModalController(logger, $sce, $timeout, $window) {\n var $ctrl = this; //$timeout(function myfunction() {\n // window.location.href = 'http://google.com';\n //https://myupgradeoffer.com/print-offer-collection/7ef0530a24404fef91dc24eaac77ca96\n // $window.print();\n //}, 3000);\n //$window.print();\n\n $ctrl.$onInit = function () {\n logger.debug($ctrl.resolve.printUrl);\n $ctrl.closeModal = closeModal;\n\n if ($ctrl.resolve && $ctrl.resolve.printUrl) {\n $ctrl.printOfferIframeUrl = $sce.trustAsResourceUrl($ctrl.resolve.printUrl);\n }\n };\n\n function closeModal() {\n $ctrl.dismiss({\n $value: 'close'\n });\n }\n}","import \"core-js/modules/es6.regexp.replace\";\nThirdPartyReportController.$inject = [\"vehicleService\", \"$window\", \"$state\"];\n\n/* injects from baggage-loader */\nrequire('./third-party-report.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('thirdPartyReport', {\n templateUrl: '/app/components/third-party-report.component.html',\n controller: ThirdPartyReportController,\n bindings: {\n reportType: '<',\n opportunityId: '<',\n vin: '<'\n }\n});\n/* @ngInject */\n\nfunction ThirdPartyReportController(vehicleService, $window, $state) {\n var $ctrl = this;\n\n $ctrl.$onInit = function () {\n switch ($ctrl.reportType) {\n case 'autoCheck':\n displayAutoCheckReport();\n break;\n\n case 'carFax':\n displayCarFaxReport();\n break;\n\n case 'carProof':\n displayCarProofReport();\n break;\n }\n };\n\n function displayAutoCheckReport() {\n vehicleService.getAutoCheckReport($ctrl.opportunityId, $ctrl.vin).then(displayReport).catch(function () {\n $state.go('home');\n });\n }\n\n function displayCarFaxReport() {\n vehicleService.getCarFaxReport($ctrl.opportunityId, $ctrl.vin).then(displayReport).catch(function () {\n $state.go('home');\n });\n }\n\n function displayCarProofReport() {\n vehicleService.getCarProofReport($ctrl.opportunityId, $ctrl.vin).then(redirectToReport).catch(function () {\n $state.go('home');\n });\n }\n\n function redirectToReport(uri) {\n $window.location.replace(uri);\n }\n\n function displayReport(report) {\n var iframe = angular.element('#third-party-report-iframe');\n var iframedoc = null;\n if (iframe[0].contentDocument) iframedoc = iframe[0].contentDocument;else if (iframe.contentWindow) iframedoc = iframe[0].contentWindow.document;\n\n if (iframedoc) {\n iframedoc.open();\n iframedoc.write(report);\n iframedoc.close();\n }\n }\n}","import \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.string.starts-with\";\nCarfaxCallbackController.$inject = [\"vehicleService\", \"$window\"];\n\n/* injects from baggage-loader */\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('carfaxCallback', {\n template: '
{{$ctrl.message}}
',\n controller: CarfaxCallbackController,\n bindings: {\n code: '<',\n state: '<'\n }\n});\n/* @ngInject */\n\nfunction CarfaxCallbackController(vehicleService, $window) {\n var $ctrl = this;\n $ctrl.message = \"\";\n\n $ctrl.$onInit = function () {\n getCarFaxReport(this.code, this.state);\n };\n\n function getCarFaxReport(code, state) {\n vehicleService.getCarFaxUrlFromAuthCode(code, state).then(function (carfaxUrl) {\n if (carfaxUrl.startsWith(\"ERROR:\")) {\n $ctrl.message = carfaxUrl;\n } else {\n $window.location.replace(carfaxUrl);\n }\n }).catch(function () {});\n }\n}","import \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.string.starts-with\";\nCarfaxAuthorizeController.$inject = [\"vehicleService\", \"$window\"];\n\n/* injects from baggage-loader */\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('carfaxAuthorize', {\n template: '
{{$ctrl.message}}
',\n controller: CarfaxAuthorizeController,\n bindings: {\n dealerId: '<',\n entityId: '<',\n vin: '<'\n }\n});\n/* @ngInject */\n\nfunction CarfaxAuthorizeController(vehicleService, $window) {\n var $ctrl = this;\n $ctrl.message = \"\";\n\n $ctrl.$onInit = function () {\n getCarFaxReport(this.dealerId, this.entityId, this.vin);\n };\n\n function getCarFaxReport(dealerId, entityId, vin) {\n vehicleService.getCarFaxReportUrl(dealerId, entityId, vin).then(function (carfaxUrl) {\n if (carfaxUrl.startsWith(\"ERROR:\")) {\n $ctrl.message = carfaxUrl;\n } else {\n $window.location.replace(carfaxUrl);\n }\n }).catch(function () {});\n }\n}","\n/* injects from baggage-loader */\nrequire('./toggle-button.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('toggleButton', {\r\n templateUrl: '/app/components/toggle-button.component.html',\r\n controller:ToggleButtonController,\r\n transclude: {\r\n 'icon': '?icon'\r\n },\r\n bindings: {\r\n onClick: '&',\r\n onIcon: '<',\r\n offIcon:'<',\r\n buttonState:'<',\r\n titleText:'@',\r\n }\r\n});\r\n\r\nfunction ToggleButtonController() {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n $ctrl.ngModel = false;\r\n $ctrl.isIcon = false;\r\n $ctrl.svgIcon = $ctrl.offIcon;\r\n\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.onToggle = onToggle;\r\n initIconState();\r\n\r\n function onChanges(changes){\r\n if(changes.buttonState){\r\n $ctrl.ngModel = $ctrl.buttonState;\r\n updateIcons();\r\n }\r\n }\r\n\r\n function initIconState(){\r\n if ($ctrl.offIcon && $ctrl.onIcon)\r\n $ctrl.isIcon = true;\r\n else\r\n $ctrl.isIcon = false;\r\n }\r\n\r\n function updateIcons(){\r\n if ($ctrl.ngModel)\r\n $ctrl.svgIcon = $ctrl.onIcon;\r\n else\r\n $ctrl.svgIcon = $ctrl.offIcon;\r\n }\r\n\r\n function onToggle(){// on user click\r\n updateIcons();\r\n $ctrl.onClick({$value:$ctrl.ngModel});\r\n }\r\n}\r\n\r\n\r\n/*\r\nThis component can be used to display two state standard button or tabs with icon only, text only, icon with text, icon with transcluded icon badge\r\nhere are some calling examples:\r\nTAB TEXT ONLY: \r\n\r\n\r\nICON ONLY TAB:\r\n \r\n\r\n\r\nTEXT ONLY BUTTON: \r\n\r\n\r\nICON ONLY BUTTON:\r\n\r\n\r\n\r\nICON ONLY BUTTON WITH TRANSCLUDED ADDITIONAL BADGE ICON:\r\n\r\n \r\n\r\n\r\nThis component is based on: \r\n*/\r\n","import \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nPortalFooterController.$inject = [\"dealerService\", \"environmentVariables\", \"$location\"];\n\n/* injects from baggage-loader */\nrequire('./portal-footer.component.html');\n\nimport angular from 'angular';\nimport { ProductTypes } from '../constants';\nangular.module('AaApp.Opp').component('portalFooter', {\n templateUrl: '/app/components/portal-footer.component.html',\n controller: PortalFooterController,\n bindings: {\n year: '<'\n }\n});\n/* @ngInject */\n\nfunction PortalFooterController(dealerService, environmentVariables, $location) {\n var $ctrl = this;\n $ctrl.$onInit = $onInit;\n $ctrl.year;\n $ctrl.isEuroLite = false;\n $ctrl.isFooterVisible = true;\n\n function $onInit() {\n $ctrl.year = new Date().getFullYear();\n var dealerIDs = dealerService.getSelectedDealerIds();\n\n if (Array.isArray(dealerIDs) && dealerIDs.length) {\n dealerService.getDealerSettings(dealerIDs[0]).then(function (settings) {\n if (settings.productID === ProductTypes.euroLite) $ctrl.isEuroLite = true;\n }).catch(function (err) {});\n }\n\n var url = $location.url();\n\n if (url.includes('mobile') && url.includes('deal-sheet') || url.includes('cfcallback') || url.includes('carfax-authorize')) {\n $ctrl.isFooterVisible = false;\n }\n }\n}","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es7.promise.finally\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.array.find-index\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.function.name\";\nEuroLiteOpportunitiesController.$inject = [\"$q\", \"$filter\", \"$uibModal\", \"$document\", \"$translate\", \"$timeout\", \"$state\", \"_\", \"dealSheetService\", \"opportunity2Service\", \"opportunityService\", \"activityService\", \"searchService\", \"vehicleService\", \"authorizationService\", \"userService\", \"dealerService\", \"customerService\", \"storageService\", \"legacyService\", \"dateFormatService\", \"alertTypeDescriptorsEuroLite\", \"ActivityActionEnum\", \"activityResults\", \"saleTypes\", \"opportunityStatuses\", \"widgetTitleKeys\", \"authorizationKeys\", \"logger\", \"dealerCountries\", \"stockNumberSearchService\", \"$logFactory\", \"environmentVariables\", \"modules\"];\n\n/* injects from baggage-loader */\nrequire('./euroliteopportunities.component.html');\n\nimport angular from 'angular';\nimport moment from 'moment-timezone';\nimport $ from 'jquery';\nimport './euroliteopportunities.component.scss';\nimport { downloadArraybufferResponse } from '../../utilities/http';\nimport { ApiActivityTypes, ProductTypes } from '../../constants';\nangular.module('AaApp.Opp').component('euroLiteOpportunities', {\n templateUrl: '/app/components/opportunities/euroliteopportunities.component.html',\n controller: EuroLiteOpportunitiesController,\n bindings: {\n kendo: '<',\n opportunityId: '<',\n dealerIds: '<',\n filter: '<'\n }\n});\n/* @ngInject */\n\nfunction EuroLiteOpportunitiesController($q, $filter, $uibModal, $document, $translate, $timeout, $state, _, dealSheetService, opportunity2Service, opportunityService, activityService, searchService, vehicleService, authorizationService, userService, dealerService, customerService, storageService, legacyService, dateFormatService, alertTypeDescriptorsEuroLite, ActivityActionEnum, activityResults, saleTypes, opportunityStatuses, widgetTitleKeys, authorizationKeys, logger, dealerCountries, stockNumberSearchService, $logFactory, environmentVariables, modules) {\n \"ngInject\";\n\n var $ctrl = this;\n var log = $logFactory.get();\n var allFilters = [];\n var allOpportunityFilters = [];\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService; // props\n\n $ctrl.alertTypeDescriptorsEuroLite = alertTypeDescriptorsEuroLite;\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\n $ctrl.lastOpenedLogActivityRow = null;\n $ctrl.markSelectedAlerts = [];\n $ctrl.isAlertSelectedBefore = false;\n $ctrl.isFlexAlertSelectedBefore = false;\n $ctrl.cultureName = storageService.getItem('cultureName');\n $ctrl.dateFormat = dateFormatService.getDateTimeMomentFormatString();\n $ctrl.filterUnscheduledOnly_show = authorizationService.isAuthorized(authorizationKeys.Scheduled);\n $ctrl.isTextingEnabled = false;\n $ctrl.getAlertTranslations = getAlertTranslations; // binding events\n\n $ctrl.$onInit = $onInit;\n $ctrl.refreshData = refreshData; // events\n\n $ctrl.onReloadGridDS = onReloadGridDS; // popup action menus\n\n $ctrl.onActionMenuMarkAsSoldClick = onActionMenuMarkAsSoldClick;\n $ctrl.onActionMenuLogActivityClick = onActionMenuLogActivityClick;\n $ctrl.onActionMenuActivityNotesClick = onActionMenuActivityNotesClick; //component events\n\n $ctrl.onReassignComplete = onReassignComplete;\n $ctrl.onLogActivityComplete = onLogActivityComplete;\n $ctrl.onUpdateCustomer = onUpdateCustomer;\n $ctrl.onActivityNotesClosed = onActivityNotesClosed;\n $ctrl.onSelectedOpportunityId = onSelectedOpportunityId;\n $ctrl.onOfferTemplateClick = onOfferTemplateClick;\n $ctrl.isLogActivityOpen = isLogActivityOpen;\n $ctrl.isActivityNotesOpen = isActivityNotesOpen;\n $ctrl.onActivityNotesScheduleActionComplete = onActivityNotesScheduleActionComplete;\n $ctrl.onGridRowChange = onGridRowChange;\n $ctrl.onUserCustomFilterClick = onUserCustomFilterClick;\n $ctrl.onUserCustomFilterKeyPress = onUserCustomFilterKeyPress;\n $ctrl.onLastActivityMouseOver = onLastActivityMouseOver; //grid events\n\n $ctrl.onGridLayoutChanges = onGridLayoutChanges;\n $ctrl.onFilterSelect = onFilterSelect;\n $ctrl.onAlertClick = onAlertClick;\n $ctrl.onHeaderFilterSelect = onHeaderFilterSelect;\n $ctrl.onFlagClicked = onFlagClicked; // spinner animation\n\n $ctrl.stopWorkingState = stopWorkingState;\n $ctrl.startWorkingState = startWorkingState;\n $ctrl.hideWhenBusy = false;\n $ctrl.dealsheetWorking = null; // Make model info Models\n\n $ctrl.makesSelected = [];\n $ctrl.alertsSelected = [];\n $ctrl.dealerMakesOptions = [];\n $ctrl.alertOptions = [];\n $ctrl.settingsMakesDropdown = {\n template: '{{option.name}}',\n smartButtonTextConverter: function smartButtonTextConverter(skip, option) {\n return option.name;\n },\n checkBoxes: true,\n smartButtonMaxItems: 2,\n showCheckAll: false,\n showUncheckAll: false\n };\n $ctrl.settingsAlertsDropdown = {\n template: '{{option.name}}',\n smartButtonTextConverter: function smartButtonTextConverter(skip, option) {\n return option.name;\n },\n checkBoxes: true,\n smartButtonMaxItems: 2,\n showCheckAll: false,\n showUncheckAll: false\n };\n $ctrl.currentGridColumns = [];\n $ctrl.filterNew = null;\n $ctrl.filterUsed = null;\n $ctrl.filterCash = null;\n $ctrl.filterLease = null;\n $ctrl.filterRetail = null;\n $ctrl.filterBalloon = null;\n $ctrl.filterUnreadOnly = null;\n $ctrl.filterUnscheduledOnly = null;\n $ctrl.filterFlaggedOnly = null; // grid details\n\n $ctrl.newDealSheetReady = false;\n $ctrl.contractReady = false;\n $ctrl.opportunityDetailsReady = false;\n $ctrl.permissions = null;\n $ctrl.isSltUser = null;\n $ctrl.moduleIds = null;\n $ctrl.customer = null;\n $ctrl.userProfile = null;\n $ctrl.users = null;\n $ctrl.dealerSettings = null;\n $ctrl.isCustomerConnectOpen = null;\n $ctrl.tabLoadingPromise = null;\n $ctrl.activities = null;\n $ctrl.isEuroLite = null;\n $ctrl.openedActivityOrNotesEntity = null;\n $ctrl.activities = null;\n $ctrl.isLogActivityOpen = false;\n $ctrl.isNotesOpen = false;\n var emailFieldName = null;\n var homePhoneFieldName = null;\n var cellPhoneFieldName = null; // grid\n\n $ctrl.opportunity = {\n id: null,\n assignedUserId: null,\n assignedUserFullName: null,\n customer: $ctrl.customer,\n dealerId: null,\n expirationDate: null\n };\n $ctrl.currentGridRow = null;\n $ctrl.currentEntityId = null; // detail tabs\n\n $ctrl.tabs = {\n \"LogActivity\": 0,\n \"ActivityNotesList\": 1\n };\n $ctrl.currentTab = null;\n $ctrl.dealerCountries = dealerCountries;\n var openEuroliteMarkAsSoldTranslationKey = \"euroliteMarkAsSoldPrompt\";\n var openEuroliteNewLogActivityTranslationKey = \"euroliteNewLogActivityandNotesPrompt\";\n\n function onLastActivityMouseOver(item) {\n activityService.getLastActivityDetails(item._EntityID).then(function (activity) {\n if (activity) {\n var toolTipHtml = \"\";\n\n if (activity.activityTypeID) {\n toolTipHtml += ' ';\n }\n\n if (activity.activityActionName) {\n toolTipHtml += \"\" + getLastActionKeys(activity.activityActionName, activity.activityActionID) + \" \" + $ctrl.by + \" \" + activity.insertUserFullName + \"

\";\n }\n\n if (activity.dueDate) {\n toolTipHtml += \"\" + $ctrl.dueDate + \": \" + moment(activity.dueDate).format($ctrl.dateFormat) + \"
\";\n }\n\n if (activity.responsibleUserFullName) {\n toolTipHtml += \"\" + $ctrl.assignedTo + \": \" + activity.responsibleUserFullName + \"
\";\n }\n\n if (activity.notes) {\n toolTipHtml += \"\" + activity.notes.substring(0, 30) + \"....
\";\n }\n }\n\n item.lastActivityToolTipDesc = toolTipHtml;\n });\n }\n\n function getIconClass(type) {\n switch (type) {\n case ApiActivityTypes.note:\n return 'aa-icon-core-takenote-icon-000000';\n\n case ApiActivityTypes.phoneCall:\n return 'aa-icon-core-phone-icon-000000';\n\n case ApiActivityTypes.appointment:\n return 'aa-icon-core-calendar-icon-000000';\n\n case ApiActivityTypes.email:\n return 'aa-icon-core-email-icon-000000';\n\n default:\n return '';\n }\n }\n\n $ctrl.gridDataLoadingCompleted = 2;\n $ctrl.gridloaded = 0;\n $ctrl.matchedExternalEntityID = false;\n\n function onDataboundInitKendoGrid(e) {\n var dataSource = this.dataSource;\n this.element.find('tr.k-master-row').each(function () {\n var row = $(this);\n var data = dataSource.getByUid(row.data('uid'));\n row.find('.k-hierarchy-cell a').css({\n opacity: 0.0,\n cursor: 'default',\n width: '0px'\n }).attr(\"href\", \"\");\n });\n selectGrid();\n }\n\n function selectGrid() {\n $ctrl.gridloaded++;\n var grid = getKendoGrid();\n\n if ($ctrl.gridloaded == $ctrl.gridDataLoadingCompleted) {\n var gridData = grid.dataSource.data();\n\n var index = _.findIndex(gridData, {\n _EntityID: $ctrl.currentEntityId\n }); //gridData.findIndex(x => x._EntityID == $ctrl.currentEntityId);\n\n\n if (index > -1) {\n var pageNum = Math.ceil((index + 1) / grid.dataSource.pageSize());\n $ctrl.matchedExternalEntityID = true;\n grid.dataSource.page(pageNum);\n }\n }\n\n if ($ctrl.matchedExternalEntityID) {\n grid.items().each(function () {\n var data = grid.dataItem(this);\n\n if (data._EntityID == $ctrl.currentEntityId) {\n grid.select('tr[data-uid=\"' + data.uid + '\"]');\n grid.content.animate({\n scrollTop: grid.select().position().top\n }, 400);\n }\n });\n }\n }\n\n function onPagerPageChange(e) {\n //if the user manually changed a page reset user state to null\n $ctrl.openedActivityOrNotesEntity = null;\n }\n\n function getAllCustomerSearchFilters() {\n var temp = null;\n var tempFilter = [];\n var qtypeOperator = \"and\";\n\n if ($ctrl.userCustomFilter && !/^[a-zA-Z0-9'\\- ]*$/.test($ctrl.userCustomFilter)) {\n logger.warning(\"invalidQuickSearchString\");\n return temp;\n }\n\n if ($ctrl.userCustomFilter && $ctrl.userCustomFilter.replace(/[ ]/g, '').length > 2) {\n var qtype = stockNumberSearchService.getProcessQueryString($ctrl.userCustomFilter);\n\n if (qtype.IsName) {\n $ctrl.userCustomFilter.split(\" \").forEach(function (element) {\n tempFilter.push({\n \"field\": \"full_Name\",\n \"operator\": \"contains\",\n \"value\": element\n });\n });\n } else if (qtype.IsPhone) {\n //IsPhone is any number\n qtypeOperator = \"or\";\n tempFilter.push({\n \"field\": \"cell_PhoneString\",\n \"operator\": \"contains\",\n \"value\": $ctrl.userCustomFilter.replace(/[ ]/g, '')\n });\n tempFilter.push({\n \"field\": \"home_PhoneString\",\n \"operator\": \"contains\",\n \"value\": $ctrl.userCustomFilter.replace(/[ ]/g, '')\n });\n tempFilter.push({\n \"field\": \"dmS_Deal_ID\",\n \"operator\": \"contains\",\n \"value\": $ctrl.userCustomFilter.replace(/[ ]/g, '')\n });\n tempFilter.push({\n \"field\": \"zip_Code\",\n \"operator\": \"contains\",\n \"value\": $ctrl.userCustomFilter.replace(/[ ]/g, '')\n });\n } else if (qtype.IsVIN) {\n tempFilter.push({\n \"field\": \"vin\",\n \"operator\": \"contains\",\n \"value\": $ctrl.userCustomFilter\n });\n }\n\n temp = {\n qtype: qtype,\n filter: tempFilter,\n qtypeOperator: qtypeOperator\n };\n }\n\n return temp;\n }\n\n function onUserCustomFilterKeyPress(event) {\n if (event.which === 13) {\n onUserCustomFilterClick();\n }\n }\n\n function checkMinSearch(minLength) {\n if (!$ctrl.userCustomFilter) return true;\n\n if ($ctrl.userCustomFilter && $ctrl.userCustomFilter.replace(/[ ]/g, '').length > minLength) {\n return true;\n } else {\n logger.warning(\"quickSearchWarning\");\n return false;\n }\n }\n\n function onUserCustomFilterClick() {\n if (checkMinSearch(2)) onFilterSelect();\n }\n\n function onGridRowChange(e) {\n var grid = e.sender;\n $ctrl.currentEntityId = grid.dataItem(grid.select())._EntityID;\n log.log(\"eurolite row entityid:\", $ctrl.currentEntityId);\n }\n\n function showMessage(messageKey) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"customerRecord\";\n },\n message: function message() {\n return messageKey;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\"; // translation key\n }\n }\n });\n } // User Column Settings -----------------------------------------\n\n\n function getUserColumnSettings() {\n return storageService.getItem('euroliteUserColumnSettings');\n }\n\n function setUserColumnSettings(columnNames) {\n storageService.setItem('euroliteUserColumnSettings', columnNames);\n }\n\n function clearUserColumnSettings() {\n storageService.removeItem('euroliteUserColumnSettings');\n } // all inits ---------------------------------------------------\n\n\n function $onInit() {\n // if binding has valid opportunity id then select it.\n if ($ctrl.opportunityId) {\n $ctrl.currentEntityId = $ctrl.opportunityId;\n log.log(\"activity or report row entityid:\", $ctrl.opportunityId);\n }\n\n $ctrl.startWorkingState();\n $ctrl.currentGridColumns = [\"_Opportunity_Rank\", \"_EntityWatched\", \"full_Name\", \"customer_Owner\", \"cell_Phone\", \"sale_Type\", \"current_Model_Name\", \"current_Model_Year\", \"Categories\", \"payment_Remaining\", \"payments_Made\", \"payment_Difference__\", \"performed_On\", \"offer\", \"actions\"];\n getTranslations();\n initSelectedOpportunityInfo();\n $ctrl.isAlertSelectedBefore = false;\n $ctrl.isFlexAlertSelectedBefore = false;\n }\n\n function getTranslations() {\n $q.all({\n 'alertName': $translate('alertName'),\n 'flexAlertName': $translate('flexAlertName'),\n 'warrantyName': $translate('warrantyName'),\n 'contractEndName': $translate('contractEndName'),\n 'noRecordsAvailable': $translate('noRecordsAvailable'),\n 'flag': $translate('flag'),\n 'score': $translate('score'),\n 'sortBy': $translate('sortBy'),\n 'allAlerts': $translate('allAlerts'),\n 'allMakes': $translate('allMakes'),\n 'owner': $translate('euroLiteOwner'),\n 'clientOwner': $translate('clientOwner'),\n 'full': $translate('full'),\n 'DealsheetPrintOfferCaption': $translate('DealsheetPrintOfferCaption'),\n 'fullName': $translate('fullName'),\n 'home': $translate('home'),\n 'customerHomePhone': $translate('customerHomePhone'),\n 'cell': $translate('cell'),\n 'phone1': $translate('phone1'),\n 'phone2': $translate('phone2'),\n 'customerCellPhone': $translate('customerCellPhone'),\n 'lastActivityTitle': $translate('lastActivityTitle'),\n 'lastActivityToolTip': $translate('lastActivityToolTip'),\n 'paymentsMadeTitle': $translate('paymentsMadeTitle'),\n 'paymentsMadeToolTip': $translate('paymentsMadeToolTip'),\n 'paymentsLeftTitle': $translate('paymentsLeftTitle'),\n 'paymentsLeftToolTip': $translate('paymentsLeftToolTip'),\n 'paymentsDifferenceTitle': $translate('paymentsDifferenceTitle'),\n 'paymentsDifferenceToolTip': $translate('paymentsDifferenceToolTip'),\n 'year': $translate('year'),\n 'model': $translate('model'),\n 'email': $translate('email'),\n 'saleType': $translate('saleType'),\n 'categories': $translate('categories'),\n 'action': $translate('action'),\n 'postNoteActivity': $translate('postNoteActivity'),\n 'rescheduleActivity': $translate('rescheduleActivity'),\n 'completedActivity': $translate('completedActivity'),\n 'reassigned': $translate('reassigned'),\n 'canceled': $translate('canceled'),\n 'cancelledAppointment': $translate('cancelledAppointment'),\n 'cancelledCall': $translate('cancelledCall'),\n 'loggedActivity': $translate('loggedActivity'),\n 'scheduledCallActivity': $translate('scheduledCallActivity'),\n 'expiredActivity': $translate('expiredActivity'),\n 'loading': $translate('loading'),\n 'bykey': $translate('Bykey'),\n 'assignedTo': $translate('assignedTo'),\n 'dueDate': $translate('dueDate'),\n 'dmsDealId': $translate('dmsDealId')\n }).then(function (stuff) {\n $ctrl.alertName = stuff.alertName;\n $ctrl.flexAlertName = stuff.flexAlertName;\n $ctrl.warrantyName = stuff.warrantyName;\n $ctrl.contractEndName = stuff.contractEndName;\n $ctrl.noRecordsAvailable = stuff.noRecordsAvailable;\n $ctrl.flag = stuff.flag;\n $ctrl.score = stuff.score;\n $ctrl.sortBy = stuff.sortBy;\n $ctrl.allAlertsCaption = stuff.allAlerts;\n $ctrl.allMakesCaption = stuff.allMakes;\n $ctrl.owner = stuff.owner;\n $ctrl.clientOwner = $ctrl.sortBy + ' ' + stuff.clientOwner;\n $ctrl.full = stuff.full;\n $ctrl.offer = stuff.DealsheetPrintOfferCaption;\n $ctrl.fullName = $ctrl.sortBy + ' ' + stuff.fullName;\n $ctrl.home = stuff.home;\n $ctrl.customerHomePhone = $ctrl.sortBy + ' ' + stuff.phone1;\n $ctrl.cell = stuff.cell;\n $ctrl.phone1 = stuff.phone1;\n $ctrl.phone2 = stuff.phone2;\n $ctrl.customerCellPhone = $ctrl.sortBy + ' ' + stuff.phone2;\n $ctrl.lastActivityTitle = stuff.lastActivityTitle;\n $ctrl.lastActivityToolTip = $ctrl.sortBy + ' ' + stuff.lastActivityToolTip;\n $ctrl.paymentsMadeTitle = stuff.paymentsMadeTitle;\n $ctrl.paymentsMadeToolTip = $ctrl.sortBy + ' ' + stuff.paymentsMadeToolTip;\n $ctrl.paymentsLeftTitle = stuff.paymentsLeftTitle;\n $ctrl.paymentsLeftToolTip = $ctrl.sortBy + ' ' + stuff.paymentsLeftToolTip;\n $ctrl.paymentsDifferenceTitle = stuff.paymentsDifferenceTitle;\n $ctrl.paymentsDifferenceToolTip = $ctrl.sortBy + ' ' + stuff.paymentsDifferenceToolTip;\n $ctrl.year = stuff.year;\n $ctrl.model = stuff.model;\n $ctrl.email = stuff.email;\n $ctrl.saleType = stuff.saleType;\n $ctrl.dmsDealId = stuff.dmsDealId;\n $ctrl.categories = stuff.categories;\n $ctrl.action = stuff.action;\n $ctrl.postNoteActivity = stuff.postNoteActivity;\n $ctrl.rescheduleActivity = stuff.rescheduleActivity;\n $ctrl.completedActivity = stuff.completedActivity;\n $ctrl.reassigned = stuff.reassigned;\n $ctrl.canceled = stuff.canceled;\n $ctrl.cancelledAppointment = stuff.cancelledAppointment;\n $ctrl.cancelledCall = stuff.cancelledCall;\n $ctrl.loggedActivity = stuff.loggedActivity;\n $ctrl.scheduledCallActivity = stuff.scheduledCallActivity;\n $ctrl.expiredActivity = stuff.expiredActivity;\n $ctrl.loading = stuff.loading;\n $ctrl.by = stuff.bykey;\n $ctrl.assignedTo = stuff.assignedTo;\n $ctrl.dueDate = stuff.dueDate;\n initAlertDropDown();\n $ctrl.alertListTitle = $ctrl.allAlertsCaption;\n $ctrl.makeListSelected = $ctrl.allMakesCaption;\n });\n }\n\n function initSelectedOpportunityInfo() {\n return userService.getUserProfile().then(function (userProfile) {\n return $q.all({\n 'dealSheetPermissions': authorizationService.getDealSheetPermissions(),\n 'userProfile': $q.resolve(userProfile),\n 'users': dealerService.getUsers($ctrl.dealerIds[0]),\n 'dealerSettings': dealerService.getDealerSettings($ctrl.dealerIds[0])\n });\n }).then(function (data) {\n $ctrl.permissions = data.dealSheetPermissions;\n $ctrl.isSltUser = data.userProfile.isSltUser;\n $ctrl.userProfile = data.userProfile;\n $ctrl.users = data.users;\n $ctrl.dealerSettings = data.dealerSettings; //console.log('dealsettings',$ctrl.dealerSettings);\n //if not eurolite dealer switch to standard opportunity page\n\n if ($ctrl.dealerSettings.productID != ProductTypes.euroLite) {\n $state.go('opportunities');\n return;\n }\n\n vehicleService.getMakes(data.userProfile.dealerIds[0], null).then(function (dealerMakes) {\n $ctrl.dealerMakesOptions = dealerMakes.map(function (obj) {\n var rObj = {};\n rObj['id'] = obj.makeID;\n rObj['name'] = obj.makeName;\n return rObj;\n });\n }).catch(function (error) {//console.log(error);\n });\n $ctrl.isEuroLite = $ctrl.dealerSettings.productID == ProductTypes.euroLite;\n initGridOptions();\n initGridDataSource(data.userProfile.dealerIds[0]); //$ctrl.stopWorkingState(); \n }).catch(function (error) {\n $ctrl.stopWorkingState(); //console.log(error);\n });\n }\n\n function initActionMenuTemplate(e) {\n var actionTemplate = '
';\n actionTemplate += '';\n actionTemplate += '
    ';\n actionTemplate += '
  • ';\n actionTemplate += '
  • ';\n actionTemplate += '
  • ';\n actionTemplate += '
  • ';\n actionTemplate += '
';\n actionTemplate += '
';\n return actionTemplate;\n }\n\n function initGridOptions() {\n $ctrl.mainGridOptions = {\n height: 645,\n scrollable: true,\n resizable: true,\n sortable: true,\n filterable: false,\n pageable: {\n input: false,\n numeric: true,\n buttonCount: 5,\n pageSizes: [50, 75, 100],\n change: onPagerPageChange\n },\n columns: [{\n field: \"_Opportunity_Rank\",\n template: scoreTemplate,\n width: \"60px\",\n headerTemplate: '' + $ctrl.score + '',\n attributes: {\n style: \"text-align: center;\"\n },\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"_EntityWatched\",\n template: FlagTemplate,\n width: \"50px\",\n headerTemplate: '',\n attributes: {\n style: \"text-align: center;\"\n },\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"full_Name\",\n template: openDealsheetTemplate,\n width: \"140px\",\n headerTemplate: '' + $ctrl.full + ''\n }, {\n field: \"customer_Owner\",\n template: \"#=data['customer_Owner']==null?'':data['customer_Owner']#\",\n width: \"140px\",\n headerTemplate: '' + $ctrl.owner + ''\n }, {\n field: \"home_Phone\",\n template: HomePhoneTemplate,\n hidden: true,\n width: \"110px\",\n headerTemplate: '' + $ctrl.phone1 + ''\n }, {\n field: \"cell_Phone\",\n template: CellPhoneTemplate,\n width: \"110px\",\n headerTemplate: '' + $ctrl.phone2 + ''\n }, {\n field: \"sale_Type\",\n template: SaleTypeTemplate,\n width: \"80px\",\n headerTemplate: '' + $ctrl.saleType + ''\n }, {\n field: \"dmS_Deal_ID\",\n template: \"#=data['dmS_Deal_ID']== null ? '' : data['dmS_Deal_ID']#\",\n hidden: true,\n width: \"140px\",\n headerTemplate: '' + $ctrl.dmsDealId + ''\n }, {\n field: \"current_Model_Name\",\n template: \"#=data['current_Model_Name']==null?'':data['current_Model_Name']#\",\n width: \"90px\",\n headerTemplate: '' + $ctrl.model + ''\n }, {\n field: \"current_Model_Year\",\n template: \"#=data['current_Model_Year']==null?'':data['current_Model_Year']#\",\n width: \"50px\",\n headerTemplate: '' + $ctrl.year + ''\n }, {\n field: \"Categories\",\n template: CategoriesTemplate,\n width: \"100px\",\n sortable: {\n compare: categorySorting\n },\n headerTemplate: '' + $ctrl.categories + ''\n }, {\n field: \"payment_Remaining\",\n template: \"#=data['payment_Remaining']==null?'':data['payment_Remaining']#\",\n width: \"80px\",\n headerTemplate: '' + $ctrl.paymentsLeftTitle + ''\n }, {\n field: \"payments_Made\",\n template: \"#=data['payments_Made']==null?'':data['payments_Made']#\",\n width: \"85px\",\n headerTemplate: '' + $ctrl.paymentsMadeTitle + ''\n }, {\n field: \"payment_Difference__\",\n template: PaymentDifferencePctTemplate,\n width: \"100px\",\n headerTemplate: '' + $ctrl.paymentsDifferenceTitle + ''\n }, {\n field: \"performed_On\",\n template: PerformedOnTemplate,\n width: \"90px\",\n headerTemplate: '' + $ctrl.lastActivityTitle + ''\n }, {\n field: \"offer\",\n template: OfferTemplate,\n width: \"60px\",\n sortable: false,\n headerTemplate: '' + $ctrl.offer + '',\n attributes: {\n style: \"text-align: center;\"\n },\n headerAttributes: {\n \"class\": \"align-right\"\n }\n }, {\n field: \"actions\",\n width: \"120px\",\n template: initActionMenuTemplate,\n sortable: false,\n headerTemplate: '' + $ctrl.action + ''\n }],\n dataBound: onDataboundInitKendoGrid,\n selectable: true,\n noRecords: {\n template: '' + $ctrl.noRecordsAvailable + ''\n }\n };\n emailFieldName = \"email\".toLowerCase();\n homePhoneFieldName = \"home_Phone\".toLowerCase();\n cellPhoneFieldName = \"cell_Phone\".toLowerCase();\n }\n\n function initGridDataSource(dealerId) {\n var params = new Object();\n params.EntityIds = [];\n params.ReturnFields = ['[_Customer Owner]', '[Replacement Monthly Fuel Difference]', '[Rate]', '[sold By Name]', '[real Payoff Amount]', '[lease Residual]', '[cash Down]', '[_YearID]', '[replacement New Used]', '[Replacement Stock No]', '[replacement MSRP]', '[replacement Make Name]', '[replacement Trim Name]', '[replacement Full Trim Name]', '[Replacement Model Name]', '[replacement Rate]', '[is Over Allowance]', '[replacement Loan Amount]', '[preferred Equity]', '[replacement Payment]', '[_is Alert]', '[_is Flex Alert]', '[_is Conversion Alert]', '[lease Total Allowed Miles]', '[cash Down]', '[Current Trim Name]', '[_BankID]', '[_Client]', '[_CustomerID]', '[_CssPriority]', '[_DealerID]', '[_EntityID]', '[_EntityRead]', '[_EntityScheduled]', '[_EntityTypeID]', '[_EntityWatched]', '[_MakeID]', '[_Opportunity Rank]', '[_OwnerUserID]', '[_SaleID]', '[_SaleTypeID]', '[_StateID]', '[_TrimID]', '[_VehicleID]', '[Address 2]', '[Address]', '[Assigned To]', '[AssignedToUserID]', '[Balance To Maturity]', '[Bank Name]', '[Cell Phone]', '[City]', '[Company Name]', '[Current Make Name]', '[Current Model Name]', '[Current Model Year]', '[Current Payment]', '[Customer Owner]', '[Deal Term]', '[Deal Date]', '[DMS Deal ID]', '[Do Not Call]', '[Do Not Email]', '[Email]', '[Estimated Payoff]', '[First Name]', '[Full Name]', '[Home Phone]', '[Is Alert]', '[Is Appointment]', '[Is Contract End]', '[Is Conversion Alert]', '[Is Flex Alert]', '[Is In-Market Engaged]', '[Is In-Market]', '[Is Mileage Alert]', '[Is Service]', '[Is Warranty Alert]', //IsConquest removed\n '[Last Name]', '[Last Payment Date]', '[Lease Net Cap Cost]', '[Middle Name]', '[New Used]', '[NormZipCode]', '[OpenDate]', '[Paid Off]', '[Payment Difference %]', '[Payment Remaining]', '[Payments Made]', '[Purchase Amount Financed]', '[RO Appt Date]', '[Replacement Term]', '[Replacement Model Year]', '[Replacement MSRP]', '[Replacement Sale Type]', '[Replacement Stock No]', '[ReplacementMakeID]', '[ReplacementTrimID]', '[Sale Type]', '[State]', '[Still Own]', '[Trade Value]', '[Vin]', '[Zip Code]', '[Recent Action]', '[Performed On]', '[Performed By]'];\n params.DealerId = dealerId;\n params.Alerts = ['Alert', 'Flex', 'ContractEnd', 'Warranty'];\n params.CultureName = $ctrl.cultureName;\n return searchService.getEntitiesListCustom(params).then(function (result) {\n var gridData = result;\n var localePhoneFilter = $filter('localePhone');\n gridData.forEach(function (e) {\n if (e.cell_Phone) e.cell_PhoneString = localePhoneFilter(e.cell_Phone).replace(/[ ]/g, '');else e.cell_PhoneString = '';\n if (e.home_Phone) e.home_PhoneString = localePhoneFilter(e.home_Phone).replace(/[ ]/g, '');else e.home_PhoneString = '';\n });\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n pageSize: 50,\n data: gridData,\n model: {\n fields: {\n _opportunity_Rank: {\n field: \"_Opportunity_Rank\",\n type: \"number\"\n },\n full_name: {\n field: \"full_Name\",\n type: \"string\"\n },\n customer_owner: {\n field: \"customer_Owner\",\n type: \"string\"\n },\n sale_type: {\n field: \"sale_Type\",\n type: \"string\"\n },\n current_model_Name: {\n field: \"current_Model_Name\",\n type: \"string\"\n },\n current_model_Year: {\n field: \"current_Model_Year\",\n type: \"string\"\n },\n categories: {},\n payment_remaining: {\n field: \"payment_Remaining\",\n type: \"string\"\n },\n payments_made: {\n field: \"payments_Made\",\n type: \"string\"\n },\n payment_difference_pct: {\n field: \"payment_Difference__\",\n type: \"number\"\n },\n performed_On: {\n field: \"performed_On\",\n type: \"date\"\n },\n ro_Appt_Date: {\n field: \"ro_Appt_Date\",\n type: \"date\"\n },\n is_Alert: {\n field: \"is_Alert\",\n type: \"string\"\n },\n is_Flex_Alert: {\n field: \"is_Flex_Alert\",\n type: \"string\"\n },\n is_Warranty_Alert: {\n field: \"is_Warranty_Alert\",\n type: \"string\"\n },\n is_Contract_End: {\n field: \"is_Contract_End\",\n type: \"string\"\n },\n _MakeID: {\n field: \"_MakeID\",\n type: \"number\"\n },\n current_make_Name: {\n field: \"current_Make_Name\",\n type: \"string\"\n },\n _SaleTypeID: {\n field: \"_SaleTypeID\",\n type: \"number\"\n },\n dmS_Deal_ID: {\n field: \"dmS_Deal_ID\",\n type: \"string\"\n },\n zipCode: {\n field: \"zip_Code\",\n type: \"string\"\n },\n _EntityRead: {\n field: \"_EntityRead\",\n type: \"string\"\n },\n _EntityWatched: {\n field: \"_EntityWatched\",\n type: \"string\"\n },\n _EntityScheduled: {\n field: \"_EntityScheduled\",\n type: \"number\"\n },\n new_Used: {\n field: \"new_Used\",\n type: \"string\"\n },\n cell_PhoneString: {\n type: \"string\"\n },\n home_PhoneString: {\n type: \"string\"\n }\n }\n }\n });\n var userSettings = getUserColumnSettings();\n if (userSettings) $ctrl.onGridLayoutChanges(userSettings);\n var grid = $(\"#grid\").data(\"kendoGrid\");\n grid.setDataSource($ctrl.ds);\n\n if ($ctrl.filter) {\n if ($ctrl.filter.type) {\n if ($ctrl.filter.type == widgetTitleKeys.lease) {\n $ctrl.filterLease = true;\n $ctrl.filterUnscheduledOnly = true;\n }\n\n if ($ctrl.filter.type == widgetTitleKeys.retail) {\n $ctrl.filterRetail = true;\n $ctrl.filterBalloon = true;\n $ctrl.filterUnscheduledOnly = true;\n }\n\n onHeaderFilterSelect();\n grid.dataSource.filter({\n \"logic\": \"and\",\n \"filters\": allFilters\n });\n } else if ($ctrl.filter.opportunityBlock) {\n onAlertClick($ctrl.filter.opportunityBlock);\n grid.dataSource.filter({\n \"logic\": \"and\",\n \"filters\": allOpportunityFilters\n });\n }\n } else {\n grid.dataSource.filter({\n \"logic\": \"and\",\n \"filters\": allFilters\n });\n }\n\n grid.dataSource.read();\n $ctrl.stopWorkingState();\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function refreshData(data) {\n var gridData = data;\n var gridds = new $ctrl.kendo.data.DataSource({\n pageSize: 50,\n data: gridData,\n model: {\n fields: {\n _opportunity_Rank: {\n field: \"_Opportunity_Rank\",\n type: \"number\"\n },\n full_name: {\n field: \"full_Name\",\n type: \"string\"\n },\n customer_owner: {\n field: \"customer_Owner\",\n type: \"string\"\n },\n sale_type: {\n field: \"sale_Type\",\n type: \"string\"\n },\n current_model_Name: {\n field: \"current_Model_Name\",\n type: \"string\"\n },\n current_model_Year: {\n field: \"current_Model_Year\",\n type: \"string\"\n },\n categories: {},\n payment_remaining: {\n field: \"payment_Remaining\",\n type: \"string\"\n },\n payments_made: {\n field: \"payments_Made\",\n type: \"string\"\n },\n payment_difference_pct: {\n field: \"payment_Difference__\",\n type: \"number\"\n },\n performed_On: {\n field: \"performed_On\",\n type: \"date\"\n },\n ro_Appt_Date: {\n field: \"ro_Appt_Date\",\n type: \"date\"\n },\n is_Alert: {\n field: \"is_Alert\",\n type: \"string\"\n },\n is_Flex_Alert: {\n field: \"is_Flex_Alert\",\n type: \"string\"\n },\n is_Warranty_Alert: {\n field: \"is_Warranty_Alert\",\n type: \"string\"\n },\n is_Contract_End: {\n field: \"is_Contract_End\",\n type: \"string\"\n },\n _MakeID: {\n field: \"_MakeID\",\n type: \"number\"\n },\n current_make_Name: {\n field: \"current_Make_Name\",\n type: \"string\"\n },\n _SaleTypeID: {\n field: \"_SaleTypeID\",\n type: \"number\"\n },\n _EntityRead: {\n field: \"_EntityRead\",\n type: \"string\"\n },\n _EntityWatched: {\n field: \"_EntityWatched\",\n type: \"string\"\n },\n _EntityScheduled: {\n field: \"_EntityScheduled\",\n type: \"number\"\n },\n new_Used: {\n field: \"new_Used\",\n type: \"string\"\n }\n }\n }\n });\n var grid = getKendoGrid();\n grid.setDataSource(gridds);\n }\n\n function getAlertTranslations(alertName) {\n var result = '';\n\n switch (alertName) {\n case 'alert':\n result = $ctrl.alertName;\n break;\n\n case 'flexAlert':\n result = $ctrl.flexAlertName;\n break;\n\n case 'warranty':\n result = $ctrl.warrantyName;\n break;\n\n case 'contractEnd':\n result = $ctrl.contractEndName;\n break;\n }\n\n return result;\n }\n\n function initAlertDropDown() {\n $ctrl.alertOptions = alertTypeDescriptorsEuroLite.map(function (o) {\n var rObj = {};\n rObj['id'] = o.id;\n rObj['name'] = getAlertTranslations(o.name);\n rObj['key'] = o.name;\n return rObj;\n });\n } // event handlers ---------------------------------------------------\n\n\n function onReloadGridDS() {\n initGridDataSource($ctrl.userProfile.dealerIds[0]);\n }\n\n function onSelectedOpportunityId(row) {\n var grid = getKendoGrid();\n grid.select(row);\n $ctrl.opportunity.id = row._EntityID;\n return true;\n }\n\n function categorySorting(a, b) {\n var aAlertListCount = 0;\n var bAlertListCount = 0;\n if (a.is_Alert == 'Yes') aAlertListCount++;\n if (a.is_Flex_Alert == 'Yes') aAlertListCount++;\n if (a.is_Warranty_Alert == 'Yes') aAlertListCount++;\n if (a.is_Contract_End == 'Yes') aAlertListCount++;\n if (b.is_Alert == 'Yes') bAlertListCount++;\n if (b.is_Flex_Alert == 'Yes') bAlertListCount++;\n if (b.is_Warranty_Alert == 'Yes') bAlertListCount++;\n if (b.is_Contract_End == 'Yes') bAlertListCount++;\n\n if (aAlertListCount == bAlertListCount == 1) {\n if (a.is_Alert == 'Yes' && b.is_Alert == 'Yes') return 0;\n if (a.is_Flex_Alert == 'Yes' && b.is_Flex_Alert == 'Yes') return 0;\n if (a.is_Contract_End == 'Yes' && b.is_Contract_End == 'Yes') return 0;\n if (a.is_Warranty_Alert == 'Yes' && b.is_Warranty_Alert == 'Yes') return 0;\n if (a.is_Alert == 'Yes') return 1;\n if (b.is_Alert == 'Yes') return -1;\n if (a.is_Flex_Alert == 'Yes') return 1;\n if (b.is_Flex_Alert == 'Yes') return -1;\n if (a.is_Contract_End == 'Yes') return 1;\n if (b.is_Contract_End == 'Yes') return -1;\n if (a.is_Warranty_Alert == 'Yes') return 1;\n if (b.is_Warranty_Alert == 'Yes') return -1;\n }\n\n if (aAlertListCount > bAlertListCount) return 1;else return -1;\n } //step 1 Notes\n\n\n function onActionMenuActivityNotesClick(id, row) {\n if ($ctrl.openedActivityOrNotesEntity != null) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return openEuroliteNewLogActivityTranslationKey;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n closeAllDetails();\n $ctrl.openedActivityOrNotesEntity = null;\n $ctrl.isLogActivityOpen = false;\n $ctrl.isNotesOpen = false;\n onActionOpenNotes(id, row);\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n } else onActionOpenNotes(id, row);\n } //step 2 Notes\n\n\n function onActionOpenNotes(id, row) {\n $ctrl.currentTab = $ctrl.tabs.ActivityNotesList;\n $ctrl.currentGridRow = row;\n $ctrl.currentEntityId = row._EntityID; // set this to retain selection after grid reloads\n\n $ctrl.gridloaded = 0; // set this to recheck paging after grid loads\n\n if ($ctrl.isNotesOpen == false && $ctrl.openedActivityOrNotesEntity == null) {\n $ctrl.openedActivityOrNotesEntity = row._EntityID;\n $ctrl.isNotesOpen = true;\n }\n\n $ctrl.opportunity.id = id;\n $ctrl.opportunity.dealerId = $ctrl.userProfile.dealerIds[0];\n $ctrl.opportunity.uid = row.uid;\n $ctrl.startWorkingState();\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(function (activity) {\n $ctrl.activities = activity;\n opportunityService.getOwnerUserInfo($ctrl.opportunity.id).then(function (result) {\n var status;\n\n if (row._EntityScheduled) {\n status = opportunityStatuses.scheduled;\n } else if (row._EntitySold) {\n status = opportunityStatuses.sold;\n } else if (row._EntityClosed) {\n status = opportunityStatuses.closed;\n } else {\n status = opportunityStatuses.open;\n }\n\n $ctrl.currentTab = $ctrl.tabs.ActivityNotesList;\n $ctrl.opportunity.ownerUserInfo = result.data;\n $ctrl.opportunity.assignedUserId = row._OwnerUserID;\n $ctrl.opportunity.assignedUserFullName = row.full_name;\n $ctrl.opportunity.expirationDate = row.expirationDate;\n $ctrl.opportunity.status = status;\n $ctrl.lastOpenedLogActivityRow = row;\n var grid = getKendoGrid();\n grid.expandRow(\"tr[data-uid='\" + row.uid + \"']\");\n grid.content.animate({\n scrollTop: grid.select().position().top\n }, 400);\n $ctrl.stopWorkingState();\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n });\n } //step 3 Notes\n\n\n function onActivityNotesClosed(row) {\n closeAllDetails();\n $ctrl.openedActivityOrNotesEntity = null;\n $ctrl.isLogActivityOpen = false;\n $ctrl.isNotesOpen = false;\n $ctrl.startWorkingState(); //var grid = getKendoGrid(); \n //grid.bind(\"dataBound\", selectGrid);\n\n onReloadGridDS();\n }\n\n function onActivityNotesScheduleActionComplete() {\n $ctrl.startWorkingState();\n $ctrl.opportunity.status = opportunityStatuses.open;\n $ctrl.tabLoadingPromise = activityService.getActivities($ctrl.opportunity.id, $ctrl.opportunity.dealerId, $ctrl.opportunity.customerId).then(function (activity) {\n $ctrl.activities = activity;\n opportunityService.getOpportunityEntityOnly($ctrl.opportunity.id).then(function (opportunity) {\n $ctrl.opportunity.status = opportunity.status;\n $ctrl.stopWorkingState();\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function onReassignComplete(user, id, row) {\n $ctrl.currentGridRow = row;\n $ctrl.currentEntityId = row._EntityID;\n $ctrl.gridloaded = 0;\n $ctrl.startWorkingState();\n opportunityService.updateAssignedUser(id, user.id).then(function (success) {\n if (success) {\n $ctrl.opportunity.assignedUserId = user.id;\n $ctrl.opportunity.assignedUserFullName = user.fullName; //var grid = getKendoGrid();\n //grid.bind(\"dataBound\", selectGrid);\n\n onReloadGridDS();\n }\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function onActionMarkAsSold(opportunityId) {\n var dataMarkAsSold = {\n activityActionID: ActivityActionEnum.Log_Call,\n activityActionSubTypeID: 1,\n activityId: null,\n entityID: opportunityId,\n isFollowUpScheduleAppt: false,\n notes: \"\",\n resultID: activityResults.phoneCall.soldVehicle\n };\n onLogActivitySubmit(dataMarkAsSold);\n }\n\n function onActionMenuMarkAsSoldClick(opportunityId) {\n //step 2\n $ctrl.opportunity.id = opportunityId;\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return openEuroliteMarkAsSoldTranslationKey;\n },\n submitButtonText: function submitButtonText() {\n return \"confirm\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n onActionMarkAsSold($ctrl.opportunity.id);\n });\n } //step 1 log\n\n\n function onActionMenuLogActivityClick(id, row) {\n // user clicked submit, check if user has multiple opened edited Log activities: step 1, 2, 3\n if ($ctrl.openedActivityOrNotesEntity != null) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return openEuroliteNewLogActivityTranslationKey;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n closeAllDetails();\n $ctrl.openedActivityOrNotesEntity = null;\n $ctrl.isLogActivityOpen = false;\n $ctrl.isNotesOpen = false;\n onActionOpenLogActivity(id, row);\n });\n } else onActionOpenLogActivity(id, row);\n } //step 2 log\n\n\n function onActionOpenLogActivity(id, row) {\n $ctrl.currentGridRow = row;\n $ctrl.currentEntityId = row._EntityID;\n $ctrl.gridloaded = 0;\n\n if ($ctrl.isLogActivityOpen == false && $ctrl.openedActivityOrNotesEntity == null) {\n $ctrl.openedActivityOrNotesEntity = row._EntityID;\n $ctrl.isLogActivityOpen = true;\n }\n\n var grid = getKendoGrid();\n grid.select(row);\n $ctrl.opportunity.id = id;\n $ctrl.opportunity.uid = row.uid;\n $ctrl.startWorkingState();\n customerService.getCustomer($ctrl.opportunity.id).then(function (customer) {\n $ctrl.customer = customer;\n $ctrl.opportunity.customer = $ctrl.customer;\n opportunityService.getOwnerUserInfo($ctrl.opportunity.id).then(function (result) {\n $ctrl.currentTab = $ctrl.tabs.LogActivity;\n $ctrl.opportunity.ownerUserInfo = result.data;\n $ctrl.opportunity.assignedUserId = row._OwnerUserID;\n var hasTextingModule = userService.isDealerEnabledForModule($ctrl.opportunity.dealerId, modules.textMessaging);\n $ctrl.isTextingEnabled = hasTextingModule && ($ctrl.permissions.sendTextSales || $ctrl.permissions.sendTextService); // For now set this to false until we determine that Lite should have this function:\n\n $ctrl.isTextingEnabled = false;\n $ctrl.lastOpenedLogActivityRow = row;\n grid.expandRow(\"tr[data-uid='\" + row.uid + \"']\");\n grid.content.animate({\n scrollTop: grid.select().position().top\n }, 400);\n $ctrl.stopWorkingState();\n }).catch(function () {\n closeAllDetails();\n $ctrl.openedActivityOrNotesEntity = null;\n $ctrl.isLogActivityOpen = false;\n $ctrl.isNotesOpen = false;\n $ctrl.stopWorkingState();\n });\n });\n } //step 3 log\n\n\n function onLogActivityComplete(result) {\n var grid = getKendoGrid();\n\n if (!result) {\n return;\n } // user data entry error\n // user clicked cancel and passed grid row id\n\n\n if (result.uid && result.status == 'cancel') {\n closeAllDetails();\n $ctrl.openedActivityOrNotesEntity = null;\n $ctrl.isLogActivityOpen = false;\n $ctrl.isNotesOpen = false;\n return;\n } else {\n onLogActivitySubmit(result); //step 5\n }\n } //step 4 log\n\n\n function onLogActivityCompleteMarkAsSold(result) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"pleaseConfirm\";\n },\n message: function message() {\n return openEuroliteMarkAsSoldTranslationKey;\n },\n submitButtonText: function submitButtonText() {\n return \"confirm\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n onLogActivitySubmit(result); //step 5\n });\n } //step 5 log\n\n\n function onLogActivitySubmit(result) {\n //step 3\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\n startWorkingState();\n activityService.postActivitySubmitAction(result).then(function (data) {\n if (result.isFollowUpScheduleAppt) {\n logger.success(\"postActivityFollowupMsg\");\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Schedule_Appt;\n $ctrl.isCustomerConnectOpen = !$ctrl.isCustomerConnectOpen;\n } else {\n logger.success(\"postActivitySuccessMsg\");\n $ctrl.defaultCustomerConnectAction = ActivityActionEnum.Log_Call;\n } // if vehicle no longer owns\n\n\n if (result.resultID == activityResults.phoneCall.noLongerOwns || result.resultID == activityResults.note.noLongerOwns) {\n activityService.updateCustomerDoesNotOwnVehicle(result.entityID);\n } // close panel after sumit\n\n\n var grid = getKendoGrid();\n closeAllDetails();\n $ctrl.openedActivityOrNotesEntity = null;\n $ctrl.isLogActivityOpen = false;\n $ctrl.isNotesOpen = false; //grid.bind(\"dataBound\", selectGrid);\n\n onReloadGridDS();\n }).catch(function () {\n closeAllDetails();\n $ctrl.openedActivityOrNotesEntity = null;\n $ctrl.isLogActivityOpen = false;\n $ctrl.isNotesOpen = false;\n $ctrl.stopWorkingState();\n });\n }\n\n function onUpdateCustomer(customer, row) {\n $ctrl.startWorkingState();\n customerService.updateCustomer(customer).then(function (success) {\n if (success) {\n var homePhoneNumber = customer.homePhoneNumber && customer.homePhoneNumber.value != undefined ? customer.homePhoneNumber.value : null;\n var workPhoneNumber = customer.workPhoneNumber && customer.workPhoneNumber.value != undefined ? customer.workPhoneNumber.value : null;\n var cellPhoneNumber = customer.cellPhoneNumber && customer.cellPhoneNumber.value != undefined ? customer.cellPhoneNumber.value : null;\n var emailAddress = customer.emailAddress && customer.emailAddress.value != undefined ? customer.emailAddress.value : null;\n updateColumnInSelectedRow([customer.doNotCall, customer.doNotCall, customer.doNotEmail], [homePhoneFieldName, cellPhoneFieldName, emailFieldName], [homePhoneNumber, cellPhoneNumber, emailAddress]);\n $ctrl.stopWorkingState();\n } else {\n $ctrl.stopWorkingState();\n }\n }, function (error) {//console.log(error);\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n }\n\n function applyAlertFilter(alerts) {}\n\n function setActivities(activities) {\n $ctrl.activities = activities;\n }\n\n function onHeaderFilterSelect() {\n if ($ctrl.userCustomFilter && $ctrl.userCustomFilter.replace(/[ ]/g, '').length < 3) $ctrl.userCustomFilter = null;\n $ctrl.onFilterSelect();\n }\n\n function onAlertClick(result) {\n allOpportunityFilters = [];\n var headerFilters = headerFilterList();\n var customerQuickSearchFilters = getAllCustomerSearchFilters();\n\n if ($ctrl.markSelectedAlerts.indexOf(result) > -1) {\n //$ctrl.markSelectedAlerts = [];\n //result = '';\n return;\n } else $ctrl.markSelectedAlerts = [result];\n\n var grid = $(\"#grid\").data(\"kendoGrid\");\n\n if (result == 'alert') {\n headerFilters.push({\n \"field\": \"is_Alert\",\n \"operator\": \"eq\",\n \"value\": \"Yes\"\n });\n } else if (result == 'flexAlert') {\n headerFilters.push({\n \"field\": \"is_Flex_Alert\",\n \"operator\": \"eq\",\n \"value\": \"Yes\"\n });\n } else if (result == 'warranty') {\n headerFilters.push({\n \"field\": \"is_Warranty_Alert\",\n \"operator\": \"eq\",\n \"value\": \"Yes\"\n });\n } else if (result == 'contractEnd') {\n headerFilters.push({\n \"field\": \"is_Contract_End\",\n \"operator\": \"eq\",\n \"value\": \"Yes\"\n });\n } else {\n // Clear\n grid.dataSource.filter({});\n }\n\n $ctrl.alertsSelected = $ctrl.alertOptions.filter(function (a) {\n return a.key == result;\n });\n if ($ctrl.alertsSelected.length > 0) $ctrl.alertListTitle = $ctrl.alertsSelected.map(function (x) {\n return x.name;\n }).sort().join(', ');else $ctrl.alertListTitle = $ctrl.allAlertsCaption;\n\n if (customerQuickSearchFilters) {\n headerFilters.push({\n \"logic\": customerQuickSearchFilters.qtypeOperator,\n \"filters\": customerQuickSearchFilters.filter\n });\n }\n\n grid.dataSource.filter({\n \"logic\": \"and\",\n \"filters\": headerFilters\n });\n allOpportunityFilters = grid.dataSource.filter().filters;\n grid.setDataSource(grid.dataSource);\n grid.dataSource.read();\n }\n\n function headerFilterList() {\n var filterList = [];\n var allOrMakeConditions = [];\n var allOrSaleTypeConditions = [];\n var makesList = $ctrl.makesSelected.map(function (x) {\n return x.name;\n });\n\n if (makesList.length > -1) {\n makesList.forEach(function (item) {\n allOrMakeConditions.push({\n \"field\": \"current_Make_Name\",\n \"operator\": \"eq\",\n \"value\": item\n });\n });\n }\n\n if (!($ctrl.filterUsed && $ctrl.filterNew)) {\n if ($ctrl.filterUsed) filterList.push({\n \"field\": \"new_Used\",\n \"operator\": \"eq\",\n \"value\": \"Used\"\n });\n if ($ctrl.filterNew) filterList.push({\n \"field\": \"new_Used\",\n \"operator\": \"eq\",\n \"value\": \"New\"\n });\n }\n\n if ($ctrl.filterCash) {\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.cash\n });\n }\n\n if ($ctrl.filterLease) {\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.lease\n });\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.onePayLease\n });\n }\n\n if ($ctrl.filterRetail) {\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.retail\n });\n }\n\n if ($ctrl.filterBalloon) {\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.balloon\n });\n }\n\n if ($ctrl.filterUnscheduledOnly) {\n filterList.push({\n \"field\": \"_EntityScheduled\",\n \"operator\": \"eq\",\n \"value\": 0\n });\n }\n\n if ($ctrl.filterUnreadOnly) {\n filterList.push({\n \"field\": \"_EntityRead\",\n \"operator\": \"eq\",\n \"value\": 0\n });\n }\n\n if ($ctrl.filterFlaggedOnly) {\n filterList.push({\n \"field\": \"_EntityWatched\",\n \"operator\": \"eq\",\n \"value\": 1\n });\n }\n\n if (allOrMakeConditions.length > 0) {\n filterList.push({\n \"logic\": \"or\",\n \"filters\": allOrMakeConditions\n });\n }\n\n if (allOrSaleTypeConditions.length > 0) {\n filterList.push({\n \"logic\": \"or\",\n \"filters\": allOrSaleTypeConditions\n });\n }\n\n return filterList;\n }\n\n function onFilterSelect() {\n $ctrl.startWorkingState();\n var customerQuickSearchFilters = getAllCustomerSearchFilters();\n allFilters = [];\n var allOrMakeConditions = [];\n var allOrSaleTypeConditions = [];\n var isAlertSelectedAfter = $ctrl.alertsSelected.map(function (x) {\n return x.key;\n }).indexOf('alert') > -1;\n var isFlexAlertSelectedAfter = $ctrl.alertsSelected.map(function (x) {\n return x.key;\n }).indexOf('flexAlert') > -1;\n\n if (isAlertSelectedAfter && isFlexAlertSelectedAfter) {\n var index = -1;\n\n if ($ctrl.isAlertSelectedBefore) {\n // remove alert \n $ctrl.isAlertSelectedBefore = !$ctrl.isAlertSelectedBefore;\n $ctrl.isFlexAlertSelectedBefore = !$ctrl.isFlexAlertSelectedBefore;\n index = $ctrl.alertsSelected.map(function (x) {\n return x.key;\n }).indexOf('alert');\n $ctrl.alertsSelected.splice(index, 1);\n } else {\n // remove flexAlert\n $ctrl.isAlertSelectedBefore = !$ctrl.isAlertSelectedBefore;\n $ctrl.isFlexAlertSelectedBefore = !$ctrl.isFlexAlertSelectedBefore;\n index = $ctrl.alertsSelected.map(function (x) {\n return x.key;\n }).indexOf('flexAlert');\n $ctrl.alertsSelected.splice(index, 1);\n }\n } else {\n $ctrl.isAlertSelectedBefore = isAlertSelectedAfter;\n $ctrl.isFlexAlertSelectedBefore = isFlexAlertSelectedAfter;\n }\n\n var alertsList = $ctrl.alertsSelected.map(function (x) {\n return x.key;\n });\n var makesList = $ctrl.makesSelected.map(function (x) {\n return x.name;\n });\n if ($ctrl.alertsSelected.length > 0) $ctrl.alertListTitle = $ctrl.alertsSelected.map(function (x) {\n return x.name;\n }).sort().join(', ');else $ctrl.alertListTitle = $ctrl.allAlertsCaption;\n if ($ctrl.makesSelected.length > 0) $ctrl.makeListSelected = $ctrl.makesSelected.map(function (x) {\n return x.name;\n }).sort().join(', ');else $ctrl.makeListSelected = $ctrl.allMakesCaption;\n\n if (makesList.length > -1) {\n makesList.forEach(function (item) {\n allOrMakeConditions.push({\n \"field\": \"current_Make_Name\",\n \"operator\": \"eq\",\n \"value\": item\n });\n });\n }\n\n if (alertsList.length > -1) {\n $ctrl.markSelectedAlerts = alertsList;\n alertsList.forEach(function (item) {\n if (item == \"alert\") {\n allFilters.push({\n \"field\": \"is_Alert\",\n \"operator\": \"eq\",\n \"value\": \"Yes\"\n });\n } else if (item == \"flexAlert\") {\n allFilters.push({\n \"field\": \"is_Flex_Alert\",\n \"operator\": \"eq\",\n \"value\": \"Yes\"\n });\n } else if (item == \"warranty\") {\n allFilters.push({\n \"field\": \"is_Warranty_Alert\",\n \"operator\": \"eq\",\n \"value\": \"Yes\"\n });\n } else if (item == \"contractEnd\") {\n allFilters.push({\n \"field\": \"is_Contract_End\",\n \"operator\": \"eq\",\n \"value\": \"Yes\"\n });\n }\n });\n }\n\n if (!($ctrl.filterUsed && $ctrl.filterNew)) {\n if ($ctrl.filterUsed) allFilters.push({\n \"field\": \"new_Used\",\n \"operator\": \"eq\",\n \"value\": \"Used\"\n });\n if ($ctrl.filterNew) allFilters.push({\n \"field\": \"new_Used\",\n \"operator\": \"eq\",\n \"value\": \"New\"\n });\n }\n\n if ($ctrl.filterCash) {\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.cash\n });\n }\n\n if ($ctrl.filterLease) {\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.lease\n });\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.onePayLease\n });\n }\n\n if ($ctrl.filterRetail) {\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.retail\n });\n }\n\n if ($ctrl.filterBalloon) {\n allOrSaleTypeConditions.push({\n \"field\": \"_SaleTypeID\",\n \"operator\": \"eq\",\n \"value\": saleTypes.balloon\n });\n }\n\n if ($ctrl.filterUnscheduledOnly) {\n allFilters.push({\n \"field\": \"_EntityScheduled\",\n \"operator\": \"eq\",\n \"value\": 0\n });\n }\n\n if ($ctrl.filterUnreadOnly) {\n allFilters.push({\n \"field\": \"_EntityRead\",\n \"operator\": \"eq\",\n \"value\": 0\n });\n }\n\n if ($ctrl.filterFlaggedOnly) {\n allFilters.push({\n \"field\": \"_EntityWatched\",\n \"operator\": \"eq\",\n \"value\": 1\n });\n }\n\n if (allOrMakeConditions.length > 0) {\n allFilters.push({\n \"logic\": \"or\",\n \"filters\": allOrMakeConditions\n });\n }\n\n if (allOrSaleTypeConditions.length > 0) {\n allFilters.push({\n \"logic\": \"or\",\n \"filters\": allOrSaleTypeConditions\n });\n }\n\n if (customerQuickSearchFilters) {\n allFilters.push({\n \"logic\": customerQuickSearchFilters.qtypeOperator,\n \"filters\": customerQuickSearchFilters.filter\n });\n }\n\n var grid = $(\"#grid\").data(\"kendoGrid\");\n grid.dataSource.filter({\n \"logic\": \"and\",\n \"filters\": allFilters\n });\n grid.setDataSource(grid.dataSource);\n grid.dataSource.read();\n $timeout(function () {\n $ctrl.stopWorkingState();\n }, 500);\n }\n\n function onGridLayoutChanges(result) {\n setUserColumnSettings(result);\n var columnsSelected = [];\n var columnsHidden = [];\n result.forEach(function (ele) {\n ele.fields.forEach(function (item) {\n if (item.isChecked) columnsSelected.push(item.name);else columnsHidden.push(item.name);\n });\n });\n var grid = $(\"#grid\").data(\"kendoGrid\");\n columnsHidden.forEach(function (item) {\n grid.hideColumn(item);\n });\n columnsSelected.forEach(function (item) {\n grid.showColumn(item);\n });\n $ctrl.currentGridColumns = columnsSelected;\n } // grid helpers ---------------------------------------------------\n\n\n function isLogActivityOpen(rowId) {}\n\n function isActivityNotesOpen(rowId) {}\n\n function goToState(test) {\n var grid = getKendoGrid();\n grid.expandRow(\"tr[data-uid='\" + $ctrl.opportunity.uid + \"']\");\n }\n\n function startWorkingState() {\n $ctrl.hideWhenBusy = true;\n $ctrl.dealsheetWorking = $q.defer().promise;\n }\n\n function stopWorkingState() {\n $ctrl.hideWhenBusy = false;\n $ctrl.dealsheetWorking = null;\n }\n\n function closeAllDetails() {\n var grid = $(\"#grid\").data(\"kendoGrid\");\n $(\".k-master-row\").each(function (index) {\n grid.collapseRow(this);\n });\n }\n\n function getKendoGrid() {\n return $(\"#grid\").data(\"kendoGrid\");\n }\n\n function OfferTemplate(e) {\n var actionTemplate = '';\n return actionTemplate;\n }\n\n $ctrl.openDealsheetTemplate = openDealsheetTemplate;\n\n function openDealsheetTemplate(e) {\n var template = \"\" + e.full_Name + \"\";\n return template;\n }\n\n $ctrl.openDealSheet = openDealSheet;\n\n function openDealSheet(e) {\n dealSheetService.openDealSheetLiteModal(e, null, callBackDealSheetClosed);\n }\n\n function callBackDealSheetClosed() {\n startWorkingState();\n onReloadGridDS();\n }\n\n function onOfferTemplateClick(e) {\n startWorkingState();\n var opportunity = {\n id: e._EntityID,\n type: e._EntityTypeID,\n stillOwned: e.still_Own == \"Yes\",\n dealerId: e._DealerID,\n paidOff: e.paid_Off == \"Yes\",\n currentContract: {\n saleID: e._SaleID,\n saleType: e._SaleTypeID,\n lastPaymentDate: e.last_Payment_Date,\n dealDate: e.deal_Date,\n payoffAmount: e.estimated_Payoff,\n bankID: e._BankID,\n adjustedBalance: e.balance_To_Maturity,\n //check\n term: e.deal_Term,\n paymentsRemaining: e.payment_Remaining,\n payment: e.current_Payment\n },\n replacementContract: {\n useOverrideTerm: false,\n term: e.replacement_Term\n },\n currentVehicle: {\n tradeValue: e.trade_Value,\n makeID: e._MakeID,\n trimID: e._TrimID\n },\n replacementVehicle: {\n trimID: e.replacementTrimID,\n //not given replacement_Full_Trim_Name\n makeID: e.replacementMakeID,\n //not given replacement_Make_Name\n yearID: e.replacement_Model_Year,\n IsConquest: e._SaleTypeID == 3 ? 1 : 0,\n price: e.replacement_MSRP,\n type: e.replacement_Sale_Type,\n msrp: e.replacement_MSRP,\n stockNo: e.replacement_Stock_No //odometer: e.odometer, //unknown\n //vin: e.vin\n\n },\n customer: {\n address: {\n stateId: e._StateID,\n normalizedZipCode: e.normZipCode\n }\n }\n };\n legacyService.generateUpgradeProposal(opportunity).then(downloadArraybufferResponse({\n contentType: 'application/pdf',\n filename: 'UpgradeProposal_' + $ctrl.opportunity.id + '.pdf'\n })).catch(function (err) {\n alert(\"We encountered a problem. Please try again later.\"); // todo: eliminate alert and localize/style error message\n\n log.log(err);\n }).finally(function () {\n stopWorkingState();\n });\n }\n\n function SaleTypeTemplate(e) {\n return e.sale_Type;\n }\n\n function CellPhoneTemplate(e) {\n if (!e.cell_Phone) return '';\n var localePhoneFilter = $filter('localePhone');\n if (e.do_Not_Call.toLowerCase() == \"yes\" || e.do_Not_Call.toLowerCase() == \"true\") return \"\" + localePhoneFilter(e.cell_Phone) + \"\";\n return localePhoneFilter(e.cell_Phone);\n }\n\n function EmailTemplate(e) {\n if (!e.email) return '';\n var email = e.email ? e.email : '';\n if (e.do_Not_Email.toLowerCase() == \"yes\" || e.do_Not_Email.toLowerCase() == \"true\") return \"\" + email + \"\";\n return email;\n }\n\n function onFlagClicked(data) {\n $ctrl.startWorkingState();\n var entityWatchStatus = data._EntityWatched;\n var newEntityWatchStatus = !entityWatchStatus;\n\n if (entityWatchStatus) {\n opportunityService.markOpportunityUnwatched(data._EntityID).then(function () {\n data._EntityWatched = newEntityWatchStatus;\n var grid = getKendoGrid();\n $ctrl.refreshData(grid.dataSource.data());\n var row = $(\"tr[data-uid='\" + data.uid + \"']\");\n var children = $(row).children('td[role=\"gridcell\"]');\n var cell = children.eq(1);\n\n if (newEntityWatchStatus) {\n cell.children(0).children(0).removeClass(\"aa-icon-flag\");\n cell.children(0).children(0).addClass(\"aa-icon-flag-filled\");\n } else {\n cell.children(0).children(0).removeClass(\"aa-icon-flag-filled\");\n cell.children(0).children(0).addClass(\"aa-icon-flag\");\n }\n\n $ctrl.stopWorkingState();\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n } else {\n opportunityService.markOpportunityWatched(data._EntityID).then(function () {\n data._EntityWatched = newEntityWatchStatus;\n var grid = getKendoGrid();\n $ctrl.refreshData(grid.dataSource.data());\n var row = $(\"tr[data-uid='\" + data.uid + \"']\");\n var children = $(row).children('td[role=\"gridcell\"]');\n var cell = children.eq(1);\n\n if (newEntityWatchStatus) {\n cell.children(0).children(0).removeClass(\"aa-icon-flag\");\n cell.children(0).children(0).addClass(\"aa-icon-flag-filled\");\n } else {\n cell.children(0).children(0).removeClass(\"aa-icon-flag-filled\");\n cell.children(0).children(0).addClass(\"aa-icon-flag\");\n }\n\n $ctrl.stopWorkingState();\n }).catch(function () {\n $ctrl.stopWorkingState();\n });\n }\n }\n\n function getLastActionKeys(data, activityActionID) {\n switch (data) {\n case \"Post Note\":\n return $ctrl.postNoteActivity;\n\n case \"Log Call\":\n return $ctrl.loggedActivity;\n\n case \"Schedule Call\":\n case \"Schedule Appt\":\n return $ctrl.scheduledCallActivity;\n\n case \"Reschedule\":\n return $ctrl.rescheduleActivity;\n\n case \"Next Action\":\n return $ctrl.completedActivity;\n\n case \"Reassign\":\n return $ctrl.reassigned;\n\n case \"Cancel\":\n if (activityActionID == ActivityActionEnum.Cancel_Appt) return $ctrl.cancelledAppointment;else return $ctrl.cancelledCall;\n\n case \"Expire Phone Call\":\n case \"Expire Appointment\":\n return $ctrl.expiredActivity;\n\n default:\n return data;\n }\n }\n\n function PerformedOnTemplate(e) {\n var html = '';\n\n if (e.performed_On) {\n if (!e.lastActivityToolTipDesc) e.lastActivityToolTipDesc = $ctrl.loading;\n html = '' + moment(e.performed_On).format('DD/MM/YYYY') + '';\n }\n\n return html;\n }\n\n function FlagTemplate(e) {\n var flagHtml = '';\n if (e._EntityWatched) flagHtml = \"\";else flagHtml = \"\";\n flagHtml = '' + flagHtml + '';\n return flagHtml;\n }\n\n function HomePhoneTemplate(e) {\n if (!e.home_Phone) return '';\n var localePhoneFilter = $filter('localePhone');\n if (e.do_Not_Call.toLowerCase() == \"yes\") return \"\" + localePhoneFilter(e.home_Phone) + \"\";\n return localePhoneFilter(e.home_Phone);\n }\n\n function CategoriesTemplate(e) {\n var alertHtml = '';\n if (e.is_Alert == 'Yes') alertHtml += '';\n if (e.is_Flex_Alert == 'Yes') alertHtml += '';\n if (e.is_Warranty_Alert == 'Yes') alertHtml += '';\n if (e.is_Contract_End == 'Yes') alertHtml += '';\n return alertHtml;\n }\n\n function PaymentDifferencePctTemplate(e) {\n var upOrDown = null;\n if (e.payment_Difference__ > 0) upOrDown = 'up';\n if (e.payment_Difference__ < 0) upOrDown = 'down';\n if (upOrDown != null) return \"\" + $ctrl.kendo.toString(e.payment_Difference__, 'n0') + '%' + \"\";\n return '0%';\n }\n\n function scoreTemplate(e) {\n var rank = e._Opportunity_Rank ? e._Opportunity_Rank : '0';\n return \"\" + rank + \"\";\n } // used for donot call and donot email states\n\n\n function updateColumnInSelectedRow(fieldStates, fieldNames, fieldValues) {\n var grid = getKendoGrid();\n var selectedRow = grid.select();\n var rowChildren = $(selectedRow).children('td[role=\"gridcell\"]');\n var localePhoneFilter = $filter('localePhone');\n\n for (var i = 0; i < grid.columns.length; i++) {\n var column = grid.columns[i];\n var indexOfMatchField = fieldNames.indexOf(column.field.toLowerCase());\n\n if (indexOfMatchField > -1) {\n var cell = rowChildren.eq(i);\n var renderValue = fieldValues[indexOfMatchField]; // keep format\n\n if (fieldNames[indexOfMatchField] == homePhoneFieldName || fieldNames[indexOfMatchField] == cellPhoneFieldName) if (renderValue != null) renderValue = localePhoneFilter(renderValue);\n if (renderValue == null) renderValue = \"\";\n if (fieldStates[indexOfMatchField] == true) cell.html(\"\" + renderValue + \"\");else cell.html(renderValue);\n }\n }\n } // some kendo code reference\n // will be used in next version\n //var grid = $(\"#grid\").data(\"kendoGrid\");\n //var dataItem = grid.dataSource.get(2);\n //dataRow.set(fieldName,fieldValue); \n //var grid = $(\"#grid\").data(\"kendoGrid\");\n //var selectedItem = grid.dataItem(grid.select());\n //selectedItem.children().eq(2).addClass('phone-number');\n //var selectedRowIndex = selectedRow.index();\n //var dataItem = grid.dataItem(\"tbody tr:eq(\"+ selectedRowIndex + \")\");\n //grid.collapseRow(\"tr[data-uid='\" + result.uid + \"']\");\n //var grid = getKendoGrid();\n //grid.collapseRow(\"tr[data-uid='\" + row.uid + \"']\");\n //var index = $ctrl.activityNoteHistoryStack.indexOf(row.uid);\n //$ctrl.activityNoteHistoryStack.splice(index,1);\n //closeAllDetails();\n\n}","\r\n// components\\search\\searchfilter-definitions.js \r\n\r\nexport const filterTypes = {\r\n \"TextBox\": 1,\r\n \"CheckBoxList\": 2,\r\n \"DropdownList\": 3,\r\n \"Date\": 4,\r\n \"Text\": 5,\r\n \"Title\": 6,\r\n \"TextBoxRange\": 7,\r\n \"EmptyLine\": 8,\r\n \"Separator\": 9,\r\n \"DatepickerRange\": 10,\r\n \"MultiSelectList\": 11,\r\n \"CollapseWidget\": 12,\r\n \"CustomTitle\": 13,\r\n}\r\n\r\nexport const filterSources = {\r\n \"Fixed\": 0,\r\n \"Tags\": 1,\r\n \"Makes\": 2,\r\n \"Years\": 3,\r\n \"AlertType\": 4,\r\n \"SoldBy\": 5,\r\n \"Owner\": 6,\r\n \"Models\": 7,\r\n \"Banks\": 8,\r\n \"Trims\": 9,\r\n \"NatRecallNos\": 10,\r\n \"MfgrRecallNos\": 11,\r\n \"RecallTypes\": 12,\r\n}\r\n\r\nexport const saveResponseCodes = {\r\n \"Success\": 0,\r\n \"SaveSearchError\": 1,\r\n \"GeneralError\": 2,\r\n \"NameAlreadyExists\": 3,\r\n \"ShareSearchError\": 4,\r\n \"UpdateDealerlayoutError\": 5\r\n}\r\n\r\nexport const filterNames = {\r\n \"AutoAssistantFrom\": \"AutoAssistantFrom\",\r\n \"AutoAssistantTo\": \"AutoAssistantTo\",\r\n \"BankID\": \"BankID\",\r\n \"Banks\": \"Banks\",\r\n \"Categories\": \"Categories\",\r\n \"CategoriesList\": \"CategoriesList\",\r\n \"CurrentRateFrom\": \"CurrentRateFrom\",\r\n \"CurrentRateTo\": \"CurrentRateTo\",\r\n \"CustomerAddress\": \"CustomerAddress\",\r\n \"CustomerEmail\": \"CustomerEmail\",\r\n \"emaillIsValid\": \"emailIsValid\",\r\n \"CustomerEngagementGroups\": \"CustomerEngagementGroups\",\r\n \"CustomerName\": \"CustomerName\",\r\n \"CustomerPhone\": \"CustomerPhone\",\r\n \"DealDateFrom\": \"DealDateFrom\",\r\n \"DealDateTo\": \"DealDateTo\",\r\n \"DealerID\": \"DealerID\",\r\n \"Dealers\": \"Dealers\",\r\n \"DealStatuses\": \"DealStatuses\",\r\n \"DealStatusID\": \"DealStatusID\",\r\n \"DirectAlertFrom\": \"DirectAlertFrom\",\r\n \"DirectAlertTo\": \"DirectAlertTo\",\r\n \"EndDateFrom\": \"EndDateFrom\",\r\n \"EndDateTo\": \"EndDateTo\",\r\n \"EquityFrom\": \"EquityFrom\",\r\n \"EquityTo\": \"EquityTo\",\r\n \"ExtColor\": \"ExtColor\",\r\n \"ExtWarranties\": \"ExtWarranties\",\r\n \"ExtWarrantyID\": \"ExtWarrantyID\",\r\n \"GeoAlertFrom\": \"GeoAlertFrom\",\r\n \"GeoAlertTo\": \"GeoAlertTo\",\r\n \"PartnerExportFrom\": \"PartnerExportFrom\",\r\n \"PartnerExportTo\": \"PartnerExportTo\",\r\n \"ServiceMarketingFrom\": \"ServiceMarketingFrom\",\r\n \"ServiceMarketingTo\": \"ServiceMarketingTo\",\r\n \"ServiceLeadManagementFrom\": \"ServiceLeadManagementFrom\",\r\n \"ServiceLeadManagementTo\": \"ServiceLeadManagementTo\",\r\n \"HasActivities\": \"HasActivities\",\r\n \"HasActivityDays\": \"HasActivityDays\",\r\n \"HasActivityID\": \"HasActivityID\",\r\n \"HasEngagementDays\": \"HasEngagementDays\",\r\n \"HasEngagementID\": \"HasEngagementID\",\r\n \"HasExportDays\": \"HasExportDays\",\r\n \"HasExportID\": \"HasExportID\",\r\n \"HasExports\": \"HasExports\",\r\n \"HasRODays\": \"HasRODays\",\r\n \"HasROID\": \"HasROID\",\r\n \"HasROs\": \"HasROs\",\r\n \"IntColor\": \"IntColor\",\r\n \"IntelMarketingFrom\": \"IntelMarketingFrom\",\r\n \"IntelMarketingTo\": \"IntelMarketingTo\",\r\n \"LayoutModuleName\": \"LayoutModuleName\",\r\n \"LayoutModuleTitle\": \"LayoutModuleTitle,\",\r\n \"LowerExisitingAPR\": \"LowerExistingAPR\",\r\n \"MakesList\": \"MakeID\",\r\n \"MappedTo\": \"MappedTo\",\r\n \"MappedToList\": \"MappedToList\",\r\n \"ModelName\": \"ModelName\",\r\n \"ModelsList\": \"Models\",\r\n \"MVO\": \"MVO\",\r\n \"NewRateFrom\": \"NewRateFrom\",\r\n \"NewRateTo\": \"NewRateTo\",\r\n \"OdometerFrom\": \"OdometerFrom\",\r\n \"OdometerTo\": \"OdometerTo\",\r\n \"OpportunityCreateDateFrom\": \"OpportunityCreateDateFrom\",\r\n \"OpportunityCreateDateTo\": \"OpportunityCreateDateTo\",\r\n \"OwnerIds\": \"OwnerIds\",\r\n \"Owners\": \"Owners\",\r\n \"Priorities\": \"Priorities\",\r\n \"PrioritiesList\": \"PrioritiesList\",\r\n \"PrivateOfferMax\": \"PrivateOfferMax\",\r\n \"PrivateOfferMin\": \"PrivateOfferMin\",\r\n \"RemainingFrom\": \"RemainingFrom\",\r\n \"RemainingTo\": \"RemainingTo\",\r\n \"RepairOrderDateFrom\": \"RepairOrderDateFrom\",\r\n \"RepairOrderDateTo\": \"RepairOrderDateTo\",\r\n \"Sale\": \"Sale\",\r\n \"SavedSearches\": \"SavedSearches\",\r\n \"ScoreMax\": \"ScoreMax\",\r\n \"ScoreMin\": \"ScoreMin\",\r\n \"ServiceAppointmentDateFrom\": \"ServiceAppointmentDateFrom\",\r\n \"ServiceAppointmentDateTo\": \"ServiceAppointmentDateTo\",\r\n \"ShowBalloon\": \"ShowBalloon\",\r\n \"ShowBlocksOnly\": \"ShowBlocksOnly\",\r\n \"ShowCash\": \"ShowCash\",\r\n \"ShowConquest\": \"ShowConquest\",\r\n \"ShowLease\": \"ShowLease\",\r\n \"ShowNative\": \"ShowNative\",\r\n \"ShowNewCars\": \"ShowNewCars\",\r\n \"ShowRetail\": \"ShowRetail\",\r\n \"ShowUsedCars\": \"ShowUsedCars\",\r\n \"SoldByName\": \"SoldByName\",\r\n \"SoldBys\": \"SoldBys\",\r\n \"Source\": \"Source\",\r\n \"Stages\": \"Stages\",\r\n \"StagesList\": \"StagesList\",\r\n \"Tags\": \"Tags\",\r\n \"TermFrom\": \"TermFrom\",\r\n \"TermTo\": \"TermTo\",\r\n \"TrimName\": \"TrimName\",\r\n \"UseAdvancedConditions\": \"UseAdvancedConditions\",\r\n \"VIN\": \"VIN\",\r\n \"YearsList\": \"Years\",\r\n \"ZipCode\": \"ZipCode\",\r\n \"ZipDistance\": \"ZipDistance\",\r\n \"ZipDistanceUnits\": \"ZipDistanceUnits\",\r\n \"NatRecallNo\": \"NatRecallNo\",\r\n \"MfgrRecallNo\": \"MfgrRecallNo\",\r\n \"RecallDateFrom\": \"RecallDateFrom\",\r\n \"RecallDateTo\": \"RecallDateTo\",\r\n \"VinRecallTypeID\": \"VinRecallTypeID\",\r\n \"ReplacementStockNo\": \"ReplacementStockNo\",\r\n \"IncludeVTPInSearch\": \"IncludeVTPInSearch\",\r\n}\r\n\r\nexport const searchFilters = [\r\n {\r\n \"filterType\": filterTypes.CustomTitle,\r\n \"cellSize\": 1,\r\n \"sectionID\": 0,\r\n \"displayNameKey\": \"search\",\r\n \"sectionIDToCollapse\": 1\r\n },\r\n {\r\n \"displayNameKey\": \"searchCategories\",\r\n \"hideDisplayName\": true,\r\n \"fieldName\": filterNames.Categories,\r\n \"filterType\": filterTypes.CheckBoxList,\r\n \"availableValuesUsefieldName\": true,\r\n \"tooltipText\": \"searchAlertTypeTooltip\",\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.Categories + \"1\",\r\n \"valueOverride\": \"alert\",\r\n \"value\": false,\r\n \"alertTypeId\": 100,\r\n },\r\n {\r\n \"name\": filterNames.Categories + \"2\",\r\n \"valueOverride\": \"flex\",\r\n \"value\": false,\r\n \"alertTypeId\": 200,\r\n },\r\n {\r\n \"name\": filterNames.Categories + \"3\",\r\n \"valueOverride\": \"inmarket\",\r\n \"value\": false,\r\n \"alertTypeId\": 400,\r\n },\r\n {\r\n \"name\": filterNames.Categories + \"4\",\r\n \"valueOverride\": \"inmarketengaged\",\r\n \"value\": false,\r\n \"alertTypeId\": 500,\r\n },\r\n {\r\n \"name\": filterNames.Categories + \"5\",\r\n \"valueOverride\": \"service\",\r\n \"value\": false,\r\n \"alertTypeId\": 700,\r\n },\r\n {\r\n \"name\": filterNames.Categories + \"6\",\r\n \"valueOverride\": \"appointment\",\r\n \"value\": false,\r\n \"alertTypeId\": 800,\r\n },\r\n {\r\n \"name\": filterNames.Categories + \"7\",\r\n \"valueOverride\": \"mileage\",\r\n \"value\": false,\r\n \"alertTypeId\": 900,\r\n },\r\n {\r\n \"name\": filterNames.Categories + \"8\",\r\n \"valueOverride\": \"warranty\",\r\n \"value\": false,\r\n \"alertTypeId\": 1000,\r\n },\r\n {\r\n \"name\": filterNames.Categories + \"9\",\r\n \"valueOverride\": \"contract-end\",\r\n \"value\": false,\r\n \"alertTypeId\": 600,\r\n }\r\n ],\r\n \"cellSize\": 4,\r\n \"sectionID\": 0,\r\n },\r\n {\r\n \"displayNameKey\": \"searchScore\",\r\n \"displayNameCssClass\": \"searchDisplayNameNarrow\",\r\n \"fieldNameMin\": filterNames.ScoreMin,\r\n \"fieldNameMax\": filterNames.ScoreMax,\r\n \"fieldName\": filterNames.Score,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"tooltipText\": \"searchScoreTooltip\",\r\n \"cellSize\": 3,\r\n \"separatorCharacter\": \"-\",\r\n \"sectionID\": 0,\r\n \"maxLength\": 3,\r\n },\r\n {\r\n \"displayNameKey\": \"searchTags\",\r\n \"displayNameCssClass\": \"searchDisplayNameNarrow\",\r\n \"filterSource\": filterSources.Tags,\r\n \"fieldName\": filterNames.Tags,\r\n \"filterType\": filterTypes.TextBox,\r\n \"cellSize\": 3,\r\n \"sectionID\": 0,\r\n \"availableValues\": [],\r\n \"maxLength\": 256,\r\n },\r\n {\r\n \"filterType\": filterTypes.CollapseWidget,\r\n \"sectionID\": 0,\r\n \"cellSize\": 1,\r\n sectionIDToCollapse: 1\r\n },\r\n {\r\n \"sectionID\": 0,\r\n \"cellSize\": 12,\r\n \"fieldCssClass\": \"fieldHeightSmall\"\r\n },\r\n {\r\n \"sectionID\": 0,\r\n \"cellSize\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"showBlocksOnly\",\r\n \"hideDisplayName\": true,\r\n \"displayNameCssClass\": \"searchDisplayNameMedium\",\r\n \"fieldName\": filterNames.ShowBlocksOnly,\r\n \"filterType\": filterTypes.CheckBoxList,\r\n \"availableValues\": [\r\n {\r\n \"name\": \"ShowOnlySelectedAlerts\",\r\n \"nameKey\": \"searchBlocksOnly\",\r\n \"value\": false,\r\n },\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 0,\r\n },\r\n {\r\n \"displayNameKey\": \"searchSaleType\",\r\n \"displayNameCssClass\": \"searchDisplayNameMedium\",\r\n \"fieldName\": filterNames.Sale,\r\n \"filterType\": filterTypes.CheckBoxList,\r\n \"availableValues\": [\r\n {\r\n \"name\": \"ShowCash\",\r\n \"nameKey\": \"searchCash\",\r\n \"value\": true,\r\n },\r\n {\r\n \"name\": \"ShowLease\",\r\n \"nameKey\": \"searchLease\",\r\n \"value\": true,\r\n },\r\n {\r\n \"name\": \"ShowRetail\",\r\n \"nameKey\": \"searchRetail\",\r\n \"value\": true,\r\n },\r\n {\r\n \"name\": \"ShowBalloon\",\r\n \"nameKey\": \"searchBalloon\",\r\n \"value\": true,\r\n },\r\n {\r\n \"name\": \"ShowLeaseBuyout\",\r\n \"nameKey\": \"searchLeaseBuyout\",\r\n \"value\": false,\r\n \"tooltipText\": \"searchLeaseBuyoutTooltip\"\r\n }\r\n ],\r\n \"cellSize\": 4,\r\n \"sectionID\": 0,\r\n },\r\n {\r\n \"filterId\": 2,\r\n \"displayNameKey\": \"searchType\",\r\n \"displayNameCssClass\": \"searchDisplayNameNarrow\",\r\n \"fieldName\": \"Type\",\r\n \"filterType\": filterTypes.CheckBoxList,\r\n \"availableValues\": [\r\n {\r\n \"name\": \"ShowNewCars\",\r\n \"nameKey\": \"searchNew\",\r\n \"value\": true,\r\n },\r\n {\r\n \"name\": \"ShowUsedCars\",\r\n \"nameKey\": \"searchUsed\",\r\n \"value\": true,\r\n }\r\n ],\r\n \"cellSize\": 4,\r\n \"sectionID\": 0,\r\n },\r\n //{\r\n // \"filterType\": filterTypes.EmptyLine,\r\n // \"sectionID\": 0,\r\n // \"cellSize\": 1,\r\n //},\r\n {\r\n \"filterType\": filterTypes.Title,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"filterType\": filterTypes.Separator,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"searchName\",\r\n \"fieldName\": filterNames.CustomerName,\r\n \"filterType\": filterTypes.TextBox,\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n \"maxLength\": 32,\r\n },\r\n {\r\n \"displayNameKey\": \"make\",\r\n \"fieldName\": filterNames.MakesList,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"filterSource\": filterSources.Makes,\r\n \"availableValues\": [\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"searchSoldBy\",\r\n \"fieldName\": filterNames.SoldBys,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"filterSource\": filterSources.SoldBy,\r\n \"availableValues\": [\r\n ],\r\n \"cellSize\": 6,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"searchAddress\",\r\n \"fieldName\": filterNames.CustomerAddress,\r\n \"filterType\": filterTypes.TextBox,\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n \"maxLength\": 64,\r\n },\r\n {\r\n \"displayNameKey\": \"year\",\r\n \"fieldName\": filterNames.YearsList,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"filterSource\": filterSources.Years,\r\n \"availableValues\": [\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"customerOwner\",\r\n \"fieldName\": filterNames.OwnerIds,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"filterSource\": filterSources.Owner,\r\n \"availableValues\": [\r\n ],\r\n \"cellSize\": 6,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"searchZipCode\",\r\n \"fieldNameMin\": filterNames.ZipCode,\r\n \"fieldNameMax\": filterNames.ZipDistance,\r\n \"fieldDefaultValues\": ['', '0'],\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"cellSize\": 3,\r\n \"separatorCharacter\": \"searchin\",\r\n \"rightCharacter\": \"unitofmeasure\",\r\n \"sectionID\": 1,\r\n \"maxLength\": 16,\r\n },\r\n {\r\n \"displayNameKey\": \"model\",\r\n \"fieldName\": filterNames.ModelsList,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"filterSource\": filterSources.Models,\r\n \"availableValues\": [\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"searchAlertPmt\",\r\n \"fieldName\": filterNames.Priorities,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"tooltipText\": \"searchAlertPmtTooltip\",\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.Priorities + \"1\",\r\n \"nameKey\": \"searchLow\",\r\n \"value\": \"L\"\r\n },\r\n {\r\n \"name\": filterNames.Priorities + \"2\",\r\n \"nameKey\": \"searchMedium\",\r\n \"value\": \"M\"\r\n },\r\n {\r\n \"name\": filterNames.Priorities + \"3\",\r\n \"nameKey\": \"searchHigh\",\r\n \"value\": \"H\"\r\n }\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n \"fieldDisabled\": true\r\n },\r\n {\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"searchPhone\",\r\n \"fieldName\": filterNames.CustomerPhone,\r\n \"filterType\": filterTypes.TextBox,\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n \"maxLength\": 16,\r\n },\r\n {\r\n \"displayNameKey\": \"searchTrim\",\r\n \"fieldName\": filterNames.TrimName,\r\n \"filterType\": filterTypes.TextBox,\r\n \"filterSource\": filterSources.Trims,\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n \"maxLength\": 64,\r\n },\r\n {\r\n \"cellSize\": 6,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"email\",\r\n \"fieldName\": filterNames.CustomerEmail,\r\n \"filterType\": filterTypes.TextBox,\r\n \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n \"maxLength\": 64,\r\n },\r\n {\r\n \"displayNameKey\": \"email\",\r\n \"fieldName\": filterNames.emailValid,\r\n \"filterType\": filterTypes.CheckBoxList,\r\n \"availableValues\": [\r\n {\r\n \"name\": \"CustomerEmailValid\",\r\n \"nameKey\": \"emailIsValid\",\r\n \"value\": false,\r\n }\r\n ], \"cellSize\": 3,\r\n \"sectionID\": 1,\r\n \"maxLength\": 64,\r\n },\r\n {\r\n \"cellSize\": 6,\r\n \"sectionID\": 1,\r\n },\r\n {\r\n \"displayNameKey\": \"vehicleLabel\",\r\n \"filterType\": filterTypes.Title,\r\n \"sectionID\": 2,\r\n \"sectionIDToCollapse\": 2\r\n },\r\n {\r\n \"filterId\": 2,\r\n \"displayNameKey\": \"searchStatus\",\r\n \"fieldName\": filterNames.DealStatusID,\r\n \"filterType\": filterTypes.DropdownList,\r\n \"availableValuesUsefieldName\": true,\r\n \"tooltipText\": \"searchStatusTooltip\",\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.DealStatusID + \"1\",\r\n \"nameText\": \"\",\r\n \"value\": \"AA\",\r\n \"groupName\": -1\r\n },\r\n {\r\n \"name\": filterNames.DealStatusID + \"2\",\r\n \"nameKey\": \"searchStillOwns\",\r\n \"value\": \"OA\",\r\n \"selected\": true,\r\n \"groupName\": -1\r\n },\r\n {\r\n \"name\": filterNames.DealStatusID + \"3\",\r\n \"nameKey\": \"searchOwnsPaidOff\",\r\n \"value\": \"OP\",\r\n \"groupName\": -1\r\n },\r\n {\r\n \"name\": filterNames.DealStatusID + \"4\",\r\n \"nameKey\": \"searchOwnsNotPaidOff\",\r\n \"value\": \"ON\",\r\n \"groupName\": -1\r\n },\r\n {\r\n \"name\": filterNames.DealStatusID + \"5\",\r\n \"nameKey\": \"searchNoLongerOwns\",\r\n \"value\": \"NP\",\r\n \"groupName\": -1\r\n },\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 2,\r\n\r\n },\r\n {\r\n \"displayNameKey\": \"searchExtColor\",\r\n \"fieldName\": filterNames.ExtColor,\r\n \"filterType\": filterTypes.TextBox,\r\n \"tooltipText\": \"searchExtColorTooltip\",\r\n \"cellSize\": 3,\r\n \"sectionID\": 2,\r\n },\r\n {\r\n \"displayNameKey\": \"searchRecentRO\",\r\n \"fieldNameMin\": filterNames.HasROID,\r\n \"fieldNameMax\": filterNames.HasRODays,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"cellSize\": 3,\r\n \"sectionID\": 2,\r\n \"separatorCharacter\": \"searchin\",\r\n \"tooltipText\": \"searchRecentROTooltip\",\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.HasROID + \"1\",\r\n \"nameKey\": \"\",\r\n \"value\": \"A\"\r\n },\r\n {\r\n \"name\": filterNames.HasROID + \"2\",\r\n \"nameKey\": \"searchNo\",\r\n \"value\": \"N\"\r\n },\r\n {\r\n \"name\": filterNames.HasROID + \"3\",\r\n \"nameKey\": \"searchHas\",\r\n \"value\": \"Y\"\r\n },\r\n ],\r\n \"maxLength\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"hotTrade\",\r\n \"hideDisplayName\": true,\r\n \"fieldName\": filterNames.IncludeVTPInSearch,\r\n \"filterType\": filterTypes.CheckBoxList,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.IncludeVTPInSearch,\r\n \"nameKey\": \"hotTrade\",\r\n \"value\": false\r\n },\r\n ],\r\n \"cellSize\": 2,\r\n \"sectionID\": 2,\r\n \"tooltipText\": \"hotTradeTooltip\"\r\n },\r\n {\r\n \"cellSize\": 1,\r\n \"sectionID\": 2,\r\n },\r\n {\r\n \"displayNameKey\": \"searchOdometer\",\r\n \"fieldNameMin\": filterNames.OdometerFrom,\r\n \"fieldNameMax\": filterNames.OdometerTo,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"tooltipText\": \"searchOdometerTooltip\",\r\n \"cellSize\": 3,\r\n \"separatorCharacter\": \"-\",\r\n \"sectionID\": 2,\r\n \"minValue\": 0,\r\n \"maxValue\": 10000000,\r\n \"maxLength\": 6,\r\n },\r\n {\r\n \"displayNameKey\": \"searchIntColor\",\r\n \"fieldName\": filterNames.IntColor,\r\n \"filterType\": filterTypes.TextBox,\r\n \"tooltipText\": \"searchIntColorTooltip\",\r\n \"cellSize\": 3,\r\n \"sectionID\": 2,\r\n \"maxLength\": 32\r\n },\r\n {\r\n \"displayNameKey\": \"searchRODate\",\r\n \"fieldNameMin\": filterNames.RepairOrderDateFrom,\r\n \"fieldNameMax\": filterNames.RepairOrderDateTo,\r\n \"tooltipText\": \"searchRODateTooltip\",\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"cellSize\": 6,\r\n \"sectionID\": 2,\r\n },\r\n {\r\n \"displayNameKey\": \"searchVIN\",\r\n \"fieldName\": filterNames.VIN,\r\n \"filterType\": filterTypes.TextBox,\r\n \"cellSize\": 3,\r\n \"sectionID\": 2,\r\n \"maxLength\": 17,\r\n },\r\n {\r\n \"displayNameKey\": \"searchWarranty\",\r\n \"fieldName\": filterNames.ExtWarrantyID,\r\n \"filterType\": filterTypes.DropdownList,\r\n \"tooltipText\": \"searchWarrantyTooltip\",\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.ExtWarrantyID + \"1\",\r\n \"nameText\": \"\",\r\n \"value\": \"A\",\r\n \"groupName\": -1\r\n },\r\n {\r\n \"name\": filterNames.ExtWarrantyID + \"2\",\r\n \"nameKey\": \"searchHasExtendedWarranty\",\r\n \"value\": \"Y\",\r\n \"groupName\": -1\r\n },\r\n {\r\n \"name\": filterNames.ExtWarrantyID + \"3\",\r\n \"nameKey\": \"searchHasNoExtendedWarranty\",\r\n \"value\": \"N\",\r\n \"groupName\": -1\r\n },\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 2,\r\n },\r\n\r\n {\r\n \"displayNameKey\": \"searchApptDate\",\r\n \"fieldNameMin\": filterNames.ServiceAppointmentDateFrom,\r\n \"fieldNameMax\": filterNames.ServiceAppointmentDateTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"searchApptDateTooltip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 2,\r\n },\r\n {\r\n \"displayNameKey\": \"Contract\",\r\n \"filterType\": filterTypes.Title,\r\n \"sectionID\": 3,\r\n \"sectionIDToCollapse\": 3\r\n },\r\n {\r\n \"displayNameKey\": \"searchTerm\",\r\n \"fieldNameMin\": filterNames.TermFrom,\r\n \"fieldNameMax\": filterNames.TermTo,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"cellSize\": 3,\r\n \"separatorCharacter\": \"-\",\r\n \"sectionID\": 3,\r\n \"tooltipText\": \"searchTermTooltip\",\r\n \"maxLength\": 2\r\n },\r\n {\r\n \"displayNameKey\": \"searchRate\",\r\n \"fieldNameMin\": filterNames.CurrentRateFrom,\r\n \"fieldNameMax\": filterNames.CurrentRateTo,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"cellSize\": 3,\r\n \"separatorCharacter\": \"-\",\r\n \"sectionID\": 3,\r\n \"tooltipText\": \"searchRateTooltip\",\r\n \"maxLength\": 7\r\n },\r\n {\r\n \"displayNameKey\": \"searchDealDate\",\r\n \"fieldNameMin\": filterNames.DealDateFrom,\r\n \"fieldNameMax\": filterNames.DealDateTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"cellSize\": 6,\r\n \"sectionID\": 3,\r\n \"tooltipText\": \"searchDealDateTooltip\"\r\n },\r\n {\r\n \"displayNameKey\": \"searchRemaining\",\r\n \"fieldNameMin\": filterNames.RemainingFrom,\r\n \"fieldNameMax\": filterNames.RemainingTo,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"cellSize\": 3,\r\n \"separatorCharacter\": \"-\",\r\n \"sectionID\": 3,\r\n \"tooltipText\": \"searchRemainingTooltip\",\r\n \"maxLength\": 2,\r\n },\r\n {\r\n \"displayNameKey\": \"searchBank\",\r\n \"fieldName\": filterNames.BankID,\r\n \"filterType\": filterTypes.DropdownList,\r\n \"filterSource\": filterSources.Banks,\r\n \"cellSize\": 3,\r\n \"availableValues\": [],\r\n \"sectionID\": 3,\r\n },\r\n {\r\n \"displayNameKey\": \"searchEndDate\",\r\n \"fieldNameMin\": filterNames.EndDateFrom,\r\n \"fieldNameMax\": filterNames.EndDateTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"searchEndDateTooltip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 3,\r\n },\r\n {\r\n \"displayNameKey\": \"Opportunity\",\r\n \"filterType\": filterTypes.Title,\r\n \"sectionID\": 4,\r\n \"sectionIDToCollapse\": 4\r\n },\r\n {\r\n \"displayNameKey\": \"searchSource\",\r\n \"fieldName\": filterNames.Source,\r\n \"filterType\": filterTypes.CheckBoxList,\r\n \"availableValues\": [\r\n {\r\n \"name\": \"ShowNative\",\r\n \"nameKey\": \"searchNative\",\r\n \"value\": true,\r\n \"tooltipText\": \"searchSourceNativeTooltip\"\r\n },\r\n {\r\n \"name\": \"ShowConquest\",\r\n \"nameKey\": \"searchServiceConquest\",\r\n \"value\": false,\r\n \"tooltipText\": \"searchSourceConquestTooltip\"\r\n },\r\n {\r\n \"name\": \"ShowConverted\",\r\n \"nameKey\": \"searchConverted\",\r\n \"value\": true,\r\n \"tooltipText\": \"searchSourceConvertedTooltip\"\r\n },\r\n ],\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"searchConversion\",\r\n \"hideDisplayName\": true,\r\n \"fieldName\": filterNames.Categories,\r\n \"filterType\": filterTypes.CheckBoxList,\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.Categories + \"10\",\r\n \"nameKey\": \"searchRetailLeaseConversion\",\r\n \"valueOverride\": \"conversion\",\r\n \"value\": false\r\n },\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n \"tooltipText\": \"searchRetailLeaseConversionTooltip\"\r\n },\r\n {\r\n \"sectionID\": 4,\r\n \"cellSize\": 3,\r\n },\r\n {\r\n \"displayNameKey\": \"searchEquity\",\r\n \"fieldNameMin\": filterNames.EquityFrom,\r\n \"fieldNameMax\": filterNames.EquityTo,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"tooltipText\": \"searchEquityTooltip\",\r\n \"cellSize\": 3,\r\n \"separatorCharacter\": \"-\",\r\n \"sectionID\": 4,\r\n \"regexFirst\": \"^[+-]?\\\\d+(\\\\.\\\\d{0}([eE](-[1-9]([0-9]*)?|[+]?\\\\d+))?)?$\",\r\n \"regexLast\": \"^[+-]?\\\\d+(\\\\.\\\\d{0}([eE](-[1-9]([0-9]*)?|[+]?\\\\d+))?)?$\",\r\n \"maxLength\": 5,\r\n },\r\n {\r\n \"displayNameKey\": \"searchMappedTo\",\r\n \"fieldName\": filterNames.MappedTo,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.MappedTo + \"1\",\r\n \"nameKey\": \"searchNew\",\r\n \"value\": \"N\"\r\n },\r\n {\r\n \"name\": filterNames.MappedTo + \"2\",\r\n \"nameKey\": \"searchUsed\",\r\n \"value\": \"U\"\r\n },\r\n {\r\n \"name\": filterNames.MappedTo + \"3\",\r\n \"nameKey\": \"searchCPO\",\r\n \"value\": \"C\"\r\n },\r\n {\r\n \"name\": filterNames.MappedTo + \"4\",\r\n \"nameKey\": \"searchCPOFordBlue\",\r\n \"value\": \"CB\"\r\n },\r\n {\r\n \"name\": filterNames.MappedTo + \"5\",\r\n \"nameKey\": \"searchCPOFordGold\",\r\n \"value\": \"CG\"\r\n },\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n \"tooltipText\": \"searchMappedToTooltip\"\r\n },\r\n {\r\n \"displayNameKey\": \"searchNewAlert\",\r\n \"displayNameCssClass\": \"searchDisplayNameWide2\",\r\n \"fieldNameMin\": filterNames.OpportunityCreateDateFrom,\r\n \"fieldNameMax\": filterNames.OpportunityCreateDateTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"searchNewAlertTooltip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"searchNewRate\",\r\n \"tooltipText\": \"searchNewRateTooltip\",\r\n \"fieldNameMin\": filterNames.NewRateFrom,\r\n \"fieldNameMax\": filterNames.NewRateTo,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"cellSize\": 3,\r\n \"separatorCharacter\": \"-\",\r\n \"sectionID\": 4,\r\n \"maxLength\": 7,\r\n },\r\n {\r\n \"displayNameKey\": \"replacementStockNo\",\r\n \"fieldName\": filterNames.ReplacementStockNo,\r\n \"filterType\": filterTypes.TextBox,\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n \"maxLength\": 64,\r\n },\r\n {\r\n \"displayNameKey\": \"searchOneToOne\",\r\n \"displayNameCssClass\": \"searchDisplayNameWide2\",\r\n \"fieldNameMin\": filterNames.DirectAlertFrom,\r\n \"fieldNameMax\": filterNames.DirectAlertTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"searchOneToOneTooltip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"searchStage\",\r\n \"fieldName\": filterNames.Stages,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.Stages + \"1\",\r\n \"nameKey\": \"searchOpen\",\r\n \"value\": \"O\",\r\n \"selected\": true\r\n },\r\n {\r\n \"name\": filterNames.Stages + \"2\",\r\n \"nameKey\": \"searchScheduled\",\r\n \"value\": \"S\",\r\n \"selected\": true\r\n },\r\n {\r\n \"name\": filterNames.Stages + \"3\",\r\n \"nameKey\": \"searchClosed\",\r\n \"value\": \"C\"\r\n },\r\n {\r\n \"name\": filterNames.Stages + \"4\",\r\n \"nameKey\": \"searchUnreadOnly\",\r\n \"value\": \"R\"\r\n },\r\n {\r\n \"name\": filterNames.Stages + \"5\",\r\n \"nameKey\": \"searchFlaggedOnly\",\r\n \"value\": \"F\"\r\n },\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"searchActivity\",\r\n \"fieldNameMin\": filterNames.HasActivityID,\r\n \"fieldNameMax\": filterNames.HasActivityDays,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n \"separatorCharacter\": \"searchin\",\r\n \"tooltipText\": \"searchActivityTooltip\",\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.HasActivityID + \"1\",\r\n \"nameKey\": \"\",\r\n \"value\": \"A\"\r\n },\r\n {\r\n \"name\": filterNames.HasActivityID + \"2\",\r\n \"nameKey\": \"searchNo\",\r\n \"value\": \"N\"\r\n },\r\n {\r\n \"name\": filterNames.HasActivityID + \"3\",\r\n \"nameKey\": \"searchHas\",\r\n \"value\": \"Y\"\r\n },\r\n ],\r\n \"maxLength\": 4\r\n }, \r\n {\r\n \"displayNameKey\": \"partnerExport\",\r\n \"displayNameCssClass\": \"searchDisplayNameWide2\",\r\n \"fieldNameMin\": filterNames.PartnerExportFrom,\r\n \"fieldNameMax\": filterNames.PartnerExportTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"partnerExportToolTip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"searchPrivateOffer\",\r\n \"fieldNameMin\": filterNames.PrivateOfferMin,\r\n \"fieldNameMax\": filterNames.PrivateOfferMax,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"tooltipText\": \"searchPrivateOfferTooltip\",\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n \"separatorCharacter\": \"-\",\r\n \"regexFirst\": \"^[+-]?\\\\d+(\\\\.\\\\d{1}([eE](-[1-9]([0-9]*)?|[+]?\\\\d+))?)?$\",\r\n \"regexLast\": \"^[+-]?\\\\d+(\\\\.\\\\d{1}([eE](-[1-9]([0-9]*)?|[+]?\\\\d+))?)?$\",\r\n \"maxLength\": 5,\r\n },\r\n {\r\n \"displayNameKey\": \"searchExported\",\r\n \"fieldNameMin\": filterNames.HasExportID,\r\n \"fieldNameMax\": filterNames.HasExportDays,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n \"separatorCharacter\": \"searchin\",\r\n \"availableValuesUsefieldName\": true,\r\n \"tooltipText\": \"searchExportedTooltip\",\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.HasExportID + \"1\",\r\n \"nameKey\": \"\",\r\n \"value\": \"A\"\r\n },\r\n {\r\n \"name\": filterNames.HasExportID + \"2\",\r\n \"nameKey\": \"searchNo\",\r\n \"value\": \"N\"\r\n },\r\n {\r\n \"name\": filterNames.HasExportID + \"3\",\r\n \"nameKey\": \"searchHas\",\r\n \"value\": \"Y\"\r\n },\r\n ],\r\n \"maxLength\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"AutoAssistant\",\r\n \"displayNameCssClass\": \"searchDisplayNameWide2\",\r\n \"fieldNameMin\": filterNames.AutoAssistantFrom,\r\n \"fieldNameMax\": filterNames.AutoAssistantTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"autoAssistantToolTip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"searchMVO\",\r\n \"fieldName\": filterNames.MVO,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.MVO + \"1\",\r\n \"nameKey\": \"searchMVOUpgradeOffers\",\r\n \"value\": \"U\"\r\n },\r\n {\r\n \"name\": filterNames.MVO + \"2\",\r\n \"nameKey\": \"searchMVODowngradeOffers\",\r\n \"value\": \"D\"\r\n },\r\n {\r\n \"name\": filterNames.MVO + \"3\",\r\n \"nameKey\": \"searchMVOAlternateOffers\",\r\n \"value\": \"A\"\r\n },\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n \"tooltipText\": \"searchMVOToTooltip\"\r\n },\r\n {\r\n \"displayNameKey\": \"geoAlert\",\r\n \"displayNameCssClass\": \"searchDisplayNameWide2\",\r\n \"fieldNameMin\": filterNames.GeoAlertFrom,\r\n \"fieldNameMax\": filterNames.GeoAlertTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"geoAlertToolTip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"serviceMarketing\",\r\n \"displayNameCssClass\": \"searchDisplayNameWide2\",\r\n \"fieldNameMin\": filterNames.ServiceMarketingFrom,\r\n \"fieldNameMax\": filterNames.ServiceMarketingTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"serviceMarketingToolTip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"serviceLeadManagement\",\r\n \"displayNameCssClass\": \"searchDisplayNameWide2\",\r\n \"fieldNameMin\": filterNames.ServiceLeadManagementFrom,\r\n \"fieldNameMax\": filterNames.ServiceLeadManagementTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"serviceLeadManagementToolTip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"cellSize\": 6,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"searchEngagement\",\r\n \"displayNameCssClass\": \"searchDisplayNameWide2\",\r\n \"fieldName\": filterNames.CustomerEngagementGroups,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"tooltipText\": \"searchEngagementTooltip\",\r\n \"fieldCssClass\": \"fieldWidthSmall2\",\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"1\",\r\n \"nameKey\": \"searchAutoAssist\",\r\n \"value\": \"7\"\r\n },\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"2\",\r\n \"nameKey\": \"email\",\r\n \"value\": \"2\"\r\n },\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"10\",\r\n \"nameKey\": \"geoAlert\",\r\n \"value\": \"9\"\r\n },\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"9\",\r\n \"nameKey\": \"intelligentMarketing\",\r\n \"value\": \"8\"\r\n },\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"3\",\r\n \"nameKey\": \"searchOneToOne\",\r\n \"value\": \"1\"\r\n },\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"4\",\r\n \"nameKey\": \"searchReviewPro\",\r\n \"value\": \"5\"\r\n },\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"5\",\r\n \"nameKey\": \"serviceName\",\r\n \"value\": \"4\"\r\n },\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"6\",\r\n \"nameKey\": \"searchTextSMS\",\r\n \"value\": \"6\"\r\n },\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"7\",\r\n \"nameKey\": \"searchWeb\",\r\n \"value\": \"3\"\r\n },\r\n {\r\n \"name\": filterNames.CustomerEngagementGroups + \"8\",\r\n \"nameKey\": \"searchHotEngagementsOnly\",\r\n \"value\": \"0\"\r\n },\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n },\r\n {\r\n \"displayNameKey\": \"HasEngagementID\",\r\n \"hideDisplayName\": true,\r\n \"fieldNameMin\": filterNames.HasEngagementID,\r\n \"fieldNameMax\": filterNames.HasEngagementDays,\r\n \"filterType\": filterTypes.TextBoxRange,\r\n \"tooltipText\": \"searchHasEngagementsTooltip\",\r\n \"cellSize\": 3,\r\n \"sectionID\": 4,\r\n \"separatorCharacter\": \"searchin\",\r\n \"availableValuesUsefieldName\": true,\r\n \"maxValue\": 180,\r\n \"availableValues\": [\r\n {\r\n \"name\": filterNames.HasEngagements + \"1\",\r\n \"nameKey\": \"\",\r\n \"value\": \"A\"\r\n },\r\n {\r\n \"name\": filterNames.HasEngagements + \"2\",\r\n \"nameKey\": \"searchNo\",\r\n \"value\": \"N\"\r\n },\r\n {\r\n \"name\": filterNames.HasEngagements + \"3\",\r\n \"nameKey\": \"searchHas\",\r\n \"value\": \"Y\"\r\n },\r\n ],\r\n \"maxLength\": 3\r\n },\r\n {\r\n \"displayNameKey\": \"recall\",\r\n \"filterType\": filterTypes.Title,\r\n \"sectionID\": 5,\r\n \"sectionIDToCollapse\": 5\r\n },\r\n {\r\n \"displayNameKey\": \"searchMfgrRecallNo\",\r\n \"fieldName\": filterNames.MfgrRecallNo,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"filterSource\": filterSources.MfgrRecallNos,\r\n \"tooltipText\": \"searchMfgrRecallNoTooltip\",\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 5,\r\n },\r\n {\r\n \"displayNameKey\": \"searchNatRecallNo\",\r\n \"fieldName\": filterNames.NatRecallNo,\r\n \"filterType\": filterTypes.MultiSelectList,\r\n \"filterSource\": filterSources.NatRecallNos,\r\n \"tooltipText\": \"searchNatRecallNoTooltip\",\r\n \"availableValuesUsefieldName\": true,\r\n \"availableValues\": [\r\n ],\r\n \"cellSize\": 3,\r\n \"sectionID\": 5,\r\n },\r\n {\r\n \"displayNameKey\": \"recallDate\",\r\n \"fieldNameMin\": filterNames.RecallDateFrom,\r\n \"fieldNameMax\": filterNames.RecallDateTo,\r\n \"filterType\": filterTypes.DatepickerRange,\r\n \"tooltipText\": \"recallDateToolTip\",\r\n \"cellSize\": 6,\r\n \"sectionID\": 5,\r\n },\r\n {\r\n \"displayNameKey\": \"recallType\",\r\n \"fieldName\": filterNames.VinRecallTypeID,\r\n \"filterType\": filterTypes.DropdownList,\r\n \"filterSource\": filterSources.RecallTypes,\r\n \"availableValues\": [],\r\n \"cellSize\": 6,\r\n \"sectionID\": 5,\r\n },\r\n]","\n/* injects from baggage-loader */\nrequire('./search-form.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\nimport './search-form.component.scss';\r\nimport { delay, TimeoutError } from \"../../utilities/promises\";\r\nimport { getUrlComponents } from \"../../utilities/url\"\r\nimport { ChildMessagePort } from '../../utilities/messaging';\r\nimport { searchFilters, filterTypes, filterNames, filterSources, saveResponseCodes } from './searchfilter-definitions';\r\nimport { AssetTypes } from '../../constants';\r\nimport { filter } from 'rxjs/operators';\r\nimport moment from 'moment';\r\n\r\nangular.module('AaApp.Opp').component('searchForm', {\r\n templateUrl: '/app/components/search/search-form.component.html',\r\n controller: SearchFormController,\r\n bindings: {\r\n presetId: '<',\r\n tagId: '<',\r\n dealerId: '<',\r\n activity: '<',\r\n selectedDealerId: '=',\r\n sectionStates: '=',\r\n onMenuSettingsChanged: '&'\r\n }\r\n});\r\n\r\n\r\n/* @ngInject */\r\nfunction SearchFormController($document, $q, $element, $scope, $state, $sce, $uibModal, $translate, searchService, searchPresetService, dealerService, vehicleService, userService, storageService,\r\n modules, legacy, urlHelper, dealSheetService, authorizationService, authorizationKeys, logger, $logFactory, environmentVariables) {\r\n const originalIframeUrl = legacy.iframeUrl + \"/AlertDesk/Search?showgridonly=true\";\r\n const bulkTemplateUrl = legacy.iframeUrl + \"/AlertDesk/BulkOutput/BulkOutputWizard\";\r\n const assetTypes = AssetTypes;\r\n\r\n var $ctrl = this;\r\n const log = $logFactory.get();\r\n\r\n $ctrl.searchFilters = searchFilters;\r\n $ctrl.searchFilterSections;\r\n $ctrl.filterTypes = filterTypes;\r\n $ctrl.filterSources = filterSources;\r\n $ctrl.filterNames = filterNames;\r\n $ctrl.$onInit = onInit;\r\n $ctrl.dealers;\r\n $ctrl.selectedDealer;\r\n $ctrl.openBulkTemplateWizard = openBulkTemplateWizard;\r\n $ctrl.performSearch = performSearch;\r\n $ctrl.performExport = performExport;\r\n $ctrl.performEpsilonExport = performEpsilonExport;\r\n $ctrl.performReassign = performReassign;\r\n $ctrl.performAddAccess = performAddAccess;\r\n $ctrl.showDirectAlertModal = showDirectAlertModal;\r\n $ctrl.performDirectAlert = performDirectAlert;\r\n $ctrl.printGrid = printGrid;\r\n $ctrl.saveSearch = saveSearch;\r\n $ctrl.saveLayout = saveLayout;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.searchGridMessagePort;\r\n $ctrl.savedSearchModel;\r\n $ctrl.searchConditionName = \"\";\r\n $ctrl.SearchCriteria = {};\r\n $ctrl.searchResultsForm = {};\r\n $ctrl.tagId;\r\n $ctrl.popOverText = {};\r\n $ctrl.values = {};\r\n $ctrl.fieldValidation = {};\r\n $ctrl.updateTooltip = updateTooltip;\r\n $ctrl.clearAll = clearAll;\r\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeUrl);\r\n $ctrl.exportLayout;\r\n $ctrl.dealsheetDomain;\r\n $ctrl.showExportLink = false;\r\n $ctrl.showPrintLink = false;\r\n $ctrl.AllowBatchReassigning = false;\r\n $ctrl.AllowBatchAccess = false;\r\n $ctrl.CanSwitchUserDealer = false;\r\n $ctrl.One2OneAccess = false;\r\n $ctrl.searchGridResultsReady = false;\r\n $ctrl.saveSearchBtnDisabled = false;\r\n $ctrl.moreBtnDisabled = false;\r\n $ctrl.oneToOneBtnDisabled = false;\r\n $ctrl.enableDirectAlertCampaigns = false;\r\n $ctrl.dealerSettings = [];\r\n $ctrl.resultsGridPromise;\r\n $ctrl.isMultipleDealers = false;\r\n $ctrl.isEmployeeUser = false;\r\n $ctrl.templateBtnDisabled = false;\r\n $ctrl.CanPrintTemplate = false;\r\n $ctrl.unitOfMeasureKey;\r\n $ctrl.isMetric = false;\r\n $ctrl.countryId;\r\n \r\n function getInvalidFields() {\r\n var invalidFields = '';\r\n\r\n for (var s in $ctrl.searchFilters) {\r\n var invalidField = null;\r\n\r\n var sf = $ctrl.searchFilters[s];\r\n\r\n // special field validation\r\n if (sf.fieldName == filterNames.CustomerEngagementGroups) {\r\n if ($ctrl.values[filterNames.CustomerEngagementGroups].length > 0) {\r\n $ctrl.fieldValidation[filterNames.HasEngagementDays] = ($ctrl.values[filterNames.HasEngagementDays] != null && $ctrl.values[filterNames.HasEngagementDays] > 0);\r\n $ctrl.fieldValidation[filterNames.HasEngagementID] = ($ctrl.values[filterNames.HasEngagementID] != \"A\");\r\n }\r\n else {\r\n $ctrl.fieldValidation[filterNames.HasEngagementID] = true;\r\n $ctrl.fieldValidation[filterNames.HasEngagementDays] = true;\r\n }\r\n }\r\n\r\n if (($ctrl.fieldValidation[sf.fieldName] != null && !$ctrl.fieldValidation[sf.fieldName]) ||\r\n ($ctrl.fieldValidation[sf.fieldNameMin] != null && !$ctrl.fieldValidation[sf.fieldNameMin]) ||\r\n ($ctrl.fieldValidation[sf.fieldNameMax] != null && !$ctrl.fieldValidation[sf.fieldNameMax]))\r\n invalidField = sf.displayNameKey;\r\n\r\n if (invalidField)\r\n invalidFields += $translate.instant(invalidField) + \", \";\r\n }\r\n\r\n if (invalidFields)\r\n invalidFields = invalidFields.slice(0, -2);\r\n\r\n return invalidFields;\r\n }\r\n\r\n $scope.$watch('$ctrl.presetId', function (newVal, oldVal, scope) {\r\n if (Number.isInteger($ctrl.presetId)) {\r\n loadSavedSearch();\r\n }\r\n });\r\n\r\n $scope.$watch(\r\n () => $ctrl.values[$ctrl.filterNames.MakesList],\r\n (newVal, oldVal, scope) => {\r\n getModelsByMakesYears();\r\n },\r\n true // compare arrays using angular.equals()\r\n )\r\n\r\n $scope.$watch(\r\n () => $ctrl.values[$ctrl.filterNames.YearsList],\r\n (newVal, oldVal, scope) => {\r\n getModelsByMakesYears();\r\n },\r\n true // compare arrays using angular.equals()\r\n )\r\n\r\n $scope.$watch(\r\n () => $ctrl.values[$ctrl.filterNames.ModelsList],\r\n (newVal, oldVal, scope) => {\r\n getTrims();\r\n },\r\n true // compare arrays using angular.equals()\r\n )\r\n\r\n $scope.$watch(\r\n () => $ctrl.values[$ctrl.filterNames.Categories],\r\n (newVal, oldVal, scope) => {\r\n var fieldDisabled = newVal == null || newVal[$ctrl.filterNames.Categories + \"1\"] == false;\r\n\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.fieldName == $ctrl.filterNames.Priorities;\r\n })[0];\r\n\r\n searchFilter.fieldDisabled = fieldDisabled;\r\n },\r\n true // compare arrays using angular.equals()\r\n )\r\n\r\n $scope.$watch(\r\n () => $ctrl.values[$ctrl.filterNames.CustomerEngagementGroups],\r\n (newVal, oldVal, scope) => {\r\n\r\n var result = (newVal == null || newVal.length == 0);\r\n\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.fieldNameMin == $ctrl.filterNames.HasEngagementID;\r\n })[0];\r\n\r\n searchFilter.fieldDisabled = result;\r\n },\r\n true // compare arrays using angular.equals()\r\n );\r\n\r\n $scope.$watch(\r\n () => $ctrl.values,\r\n (newVal, oldVal, scope) => {\r\n setDisabledUntilPerformSearch(true);\r\n },\r\n true // compare arrays using angular.equals()\r\n );\r\n\r\n function isFordAlert() {\r\n\r\n if ($ctrl.selectedDealerId == 0) {\r\n for (var d of $ctrl.dealers) {\r\n if (d.dealerId != 0) {\r\n if (userService.isDealerEnabledForModule(d.id, modules.fordAlert)) {\r\n return true;\r\n }\r\n }\r\n }\r\n }\r\n else\r\n return userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\r\n }\r\n\r\n function enableMvo(selectedDealerId) {\r\n var showMVO = false;\r\n\r\n var mvoField = $ctrl.searchFilters.find(function (filter) {\r\n return filter.fieldName == $ctrl.filterNames.MVO;\r\n });\r\n\r\n if (mvoField) {\r\n // if selectedDealerId is 0, all available dealers for user will be used:\r\n dealerService.getDealerFordInfo(selectedDealerId)\r\n .then(function (dealerFordInfo) {\r\n for (var i = 0; i < dealerFordInfo.length; i++) {\r\n var dealer = dealerFordInfo[i];\r\n var isUS = dealer.countryID == 1;\r\n // only show if ANY a) non-Ford/Lincoln dealer or b) Ford National Program US dealer\r\n if ((!dealer.hasLincolnMake && !dealer.hasFordMake) || (dealer.isFordAlert)) {\r\n showMVO = true;\r\n break;\r\n }\r\n }\r\n mvoField.isDisabled = !showMVO;\r\n });\r\n }\r\n }\r\n\r\n function onInit() {\r\n if ($ctrl.sectionStates === null || $ctrl.sectionStates === undefined)\r\n $ctrl.sectionStates = {\r\n 0: true,\r\n 1: true,\r\n 2: false,\r\n 3: false,\r\n 4: false,\r\n 5: false,\r\n };\r\n\r\n $ctrl.searchConditionName = \"\";\r\n $ctrl.showExportLink = false;\r\n $ctrl.showPrintLink = false;\r\n $ctrl.searchGridResultsReady = false;\r\n $ctrl.SearchCriteria = {};\r\n $ctrl.searchResultsForm = {};\r\n $ctrl.EnableDirectAlertCampaigns = false;\r\n\r\n $ctrl.AllowBatchReassigning = authorizationService.isAuthorized(authorizationKeys.AllowBatchReassigning);\r\n $ctrl.AllowBatchAccess = authorizationService.isAuthorized(authorizationKeys.AllowBatchAccess);\r\n $ctrl.CanSwitchUserDealer = authorizationService.isAuthorized(authorizationKeys.SwitchUserDealer);\r\n $ctrl.CanPrintTemplate = authorizationService.isAuthorized(authorizationKeys.PrintTemplate);\r\n $ctrl.One2OneAccess = authorizationService.isAuthorized(authorizationKeys.DirectAlert);\r\n\r\n $ctrl.searchFilterSections = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterType == $ctrl.filterTypes.Title || filter.filterType == $ctrl.filterTypes.CustomTitle;\r\n });\r\n\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n $ctrl.isMultipleDealers = ($ctrl.dealers.length > 1);\r\n if ($ctrl.dealers.length > 1) {\r\n $translate(['allDealerships']).then(function (translations) {\r\n $ctrl.dealers.unshift({ id: 0, name: translations.allDealerships });\r\n })\r\n }\r\n\r\n userService.getUserProfile()\r\n .then(userProfile => {\r\n $ctrl.isEmployeeUser = userProfile.employeeUser;\r\n $ctrl.countryId = userProfile.countryId;\r\n\r\n getMakes(userProfile.countryId);\r\n onInitOrLoad(); //moved from last line of this function to here, userProfile has to be available before calling this\r\n\r\n userService.getUserIsMetric(userProfile.countryId)\r\n .then(isMetric => {\r\n $ctrl.unitOfMeasureKey = (isMetric) ? \"KilometersLabelShort\" : \"MilesLabelShort\";\r\n $ctrl.isMetric = isMetric;\r\n });\r\n });\r\n\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n if (selectedDealerId > 0) {\r\n $ctrl.selectedDealerId = selectedDealerId;\r\n }\r\n else if ($ctrl.dealerId) {\r\n $ctrl.selectedDealerId = $ctrl.dealerId;\r\n }\r\n\r\n // if no dealer has been selected yet and there is only one dealer or the selected dealer is no longer on the list of available dealers\r\n if (($ctrl.selectedDealerId === null && $ctrl.dealers.length === 1) || ($ctrl.selectedDealerId > 0 && !$ctrl.dealers.some(d => d.id === $ctrl.selectedDealerId)))\r\n $ctrl.selectedDealerId = $ctrl.dealers[0].id;\r\n\r\n const iframe = $element.find(\".ifrmSearchResults\")[0];\r\n const origin = getUrlComponents(originalIframeUrl).origin;\r\n\r\n $ctrl.searchGridMessagePort = new ChildMessagePort(iframe, origin, $scope);\r\n $ctrl.searchGridMessagePort.message$.pipe(\r\n filter(data => data['DEAL_SHEET_URL']))\r\n .subscribe(data => {\r\n const url = data['DEAL_SHEET_URL'];\r\n dealSheetService.activeDealSheet = url + \"&snav=true\";\r\n const opportunityId = urlHelper.queryString(url).e;\r\n if (authorizationService.isEuroLite()) {\r\n $state.go('euroliteopportunities', { opportunityId });\r\n return;\r\n }\r\n dealSheetService.openDealSheetModal(opportunityId, url);\r\n });\r\n\r\n $ctrl.searchGridMessagePort.subscribe(function ({ data }, replyPort) {\r\n switch (data.type) {\r\n /*\r\n case \"SAVE_SEARCH_COMPLETED\":\r\n var result = data.data;\r\n if (result.status === 0 && result.searchID !== undefined) {\r\n $ctrl.presetId = result.searchID;\r\n logger.success(\"searchConditionsSaved\");\r\n }\r\n else {\r\n logger.warning(result.errorMessage);\r\n }\r\n break;\r\n */\r\n\r\n case \"EXPORT_LINK_VISIBILITY\":\r\n $ctrl.showExportLink = data.data.visible;\r\n break;\r\n case \"PRINT_LINK_VISIBILITY\":\r\n $ctrl.showPrintLink = data.data.visible;\r\n break;\r\n case \"SEARCH_RESULTS_READY\":\r\n $ctrl.searchGridResultsReady = true;\r\n setDisabledUntilPerformSearch(false);\r\n break;\r\n case \"SEARCH_REASSIGN_COMPLETED\":\r\n var reassignResult = data.data.reassignResult;\r\n if (reassignResult.Status === 0) {\r\n logger.success(\"searchReassignSuccessful\");\r\n performSearch();\r\n }\r\n else {\r\n logger.warning(reassignResult.Message);\r\n }\r\n break;\r\n case \"SEARCH_ADD_ACCESS_COMPLETED\":\r\n var addAccessResult = data.data.addAccessResult;\r\n if (addAccessResult.Status === 0) {\r\n logger.success(\"searchAddAccessSucessful\");\r\n //performSearch();\r\n }\r\n else {\r\n logger.warning(reassignResult.Message);\r\n }\r\n break;\r\n\r\n default:\r\n }\r\n })\r\n\r\n getYears();\r\n getBanks();\r\n getSoldBy();\r\n getOwners();\r\n getTags();\r\n getRecallNumbers();\r\n getRecallTypes();\r\n getDealerSettings($ctrl.selectedDealerId);\r\n\r\n for (var f in $ctrl.searchFilters) {\r\n var field = $ctrl.searchFilters[f];\r\n updateTooltip(field.displayNameKey, field.filterType, field.tooltipText, null, null);\r\n }\r\n\r\n if ($ctrl.tagId) {\r\n searchService.getTagsForDealers($ctrl.selectedDealerId)\r\n .then(function (tags) {\r\n var tag = _.find(tags, (o) => { return o.tagID == $ctrl.tagId });\r\n $ctrl.values[$ctrl.filterNames.Tags] = tag.tagText;\r\n $ctrl.values[\"Source\"][\"ShowConquest\"] = true;\r\n performSearch();\r\n });\r\n }\r\n\r\n $ctrl.$onDestroy = () => $ctrl.searchGridMessagePort.close();\r\n }\r\n\r\n function loadSavedSearch() {\r\n \r\n if ($ctrl.presetId != null) {\r\n initializeValues();\r\n searchPresetService.getSearchPreset($ctrl.presetId)\r\n .then(function (savedSearchPreset) {\r\n $ctrl.searchConditionName = savedSearchPreset.searchConditionName;\r\n if (savedSearchPreset.searchConditionText) {\r\n var savedSearchModel = JSON.parse(savedSearchPreset.searchConditionText);\r\n\r\n //if (savedSearchModel.MfgrRecallNo != null && !Array.isArray(savedSearchModel.MfgrRecallNo)) {\r\n // savedSearchModel.MfgrRecallNo = [savedSearchModel.MfgrRecallNo];\r\n //}\r\n //if (savedSearchModel.NatRecallNo != null && !Array.isArray(savedSearchModel.NatRecallNo)) {\r\n // savedSearchModel.NatRecallNo = [savedSearchModel.NatRecallNo];\r\n //}\r\n\r\n // convert legacy object to portal object\r\n var portalSearchModel = convertLegacyObjectToPortalSearch(savedSearchModel);\r\n\r\n // set selected values\r\n for (var i in portalSearchModel) {\r\n $ctrl.values[i] = portalSearchModel[i];\r\n }\r\n\r\n //WEBUI-7422 no parameter manipulation for the following two egde cases\r\n if (($ctrl.values[$ctrl.filterNames.HasActivityID] == \"Y\" && $ctrl.values[$ctrl.filterNames.HasActivityDays] <= 30) || $ctrl.values[$ctrl.filterNames.HasActivityID] == \"N\")\r\n $ctrl.activity = null;\r\n\r\n if (Number.isInteger($ctrl.activity)) {\r\n $ctrl.values[$ctrl.filterNames.HasActivityDays] = 30;\r\n if ($ctrl.activity == 1)\r\n $ctrl.values[$ctrl.filterNames.HasActivityID] = \"Y\";\r\n else\r\n $ctrl.values[$ctrl.filterNames.HasActivityID] = \"N\";\r\n //we set Activity only once when the form is loaded first time\r\n //$ctrl.activity = null;\r\n\r\n }\r\n\r\n setSectionsOpenCloseState(false);\r\n\r\n performSearch($ctrl.presetId);\r\n }\r\n }).catch(function (err) {\r\n logger.error(\"searchLoadSearchFailed\");\r\n $logFactory.log(err);\r\n });\r\n\r\n }\r\n\r\n onInitOrLoad();\r\n }\r\n\r\n function setSectionsOpenCloseState(state) {\r\n // open up all sections \r\n for (var section in $ctrl.sectionStates) {\r\n if (section > 0)\r\n $ctrl.sectionStates[section] = state; // change to false for prod\r\n }\r\n }\r\n\r\n function onInitOrLoad() {\r\n $ctrl.isFordAlert = isFordAlert();\r\n\r\n var privateOfferField = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.fieldNameMin == $ctrl.filterNames.PrivateOfferMin;\r\n });\r\n\r\n var privateOfferFieldsPopulated = $ctrl.values[filterNames.PrivateOfferMin] && $ctrl.values[filterNames.PrivateOfferMax];\r\n var privateOfferSearchInvalid = (!$ctrl.isFordAlert && privateOfferFieldsPopulated);\r\n privateOfferField[0].isDisabled = (!$ctrl.isFordAlert && !privateOfferFieldsPopulated);\r\n\r\n if (privateOfferSearchInvalid) {\r\n logger.error(\"searchPrivateOfferErrorMessage\");\r\n }\r\n \r\n if (!$ctrl.isFordAlert) {\r\n var mappedToField = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.fieldName == $ctrl.filterNames.MappedTo;\r\n });\r\n\r\n var keys = [\"searchCPOFordBlue\", \"searchCPOFordGold\"];\r\n var filteredList = mappedToField[0].availableValues.filter(m => !keys.includes(m.nameKey));\r\n mappedToField[0].availableValues = filteredList;\r\n }\r\n\r\n enableMvo($ctrl.selectedDealerId);\r\n }\r\n\r\n function openReassignModal(data) {\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'searchReassignModal',\r\n appendTo: parentElem,\r\n windowClass: 'search-reassign-modal',\r\n resolve: {\r\n data: function () {\r\n return data;\r\n },\r\n }\r\n });\r\n\r\n return modalInstance;\r\n }\r\n\r\n function openDirectAlertModal(data) {\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'searchDirectAlertModal',\r\n appendTo: parentElem,\r\n resolve: {\r\n data: function () {\r\n return data;\r\n },\r\n }\r\n });\r\n\r\n return modalInstance;\r\n }\r\n\r\n function openAddAccessModal(data) {\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'searchAddAccessModal',\r\n appendTo: parentElem,\r\n windowClass: 'search-add-access-modal',\r\n resolve: {\r\n data: function () {\r\n return data;\r\n },\r\n }\r\n });\r\n\r\n return modalInstance;\r\n }\r\n\r\n function openEpsilonExportModal(data) {\r\n\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n \r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'SearchExportEpsilonModal',\r\n appendTo: parentElem,\r\n windowClass: 'search-export-epsilon-modal',\r\n resolve: {\r\n renderedPromise: function () {\r\n return data;\r\n }\r\n }\r\n });\r\n\r\n return modalInstance;\r\n }\r\n\r\n function openEpsilonExportResultModal(data) {\r\n\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n \r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'searchExportEpsilonResultModal',\r\n appendTo: parentElem,\r\n windowClass: 'search-export-epsilon-result-modal',\r\n resolve: {\r\n renderedPromise: function () {\r\n return data;\r\n }\r\n }\r\n });\r\n\r\n return modalInstance;\r\n }\r\n\r\n function openExportModal(data) {\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'searchExportModal',\r\n appendTo: parentElem,\r\n windowClass: 'search-export-modal',\r\n resolve: {\r\n renderedPromise: function () {\r\n return data;\r\n },\r\n isFordAlert: $ctrl.isFordAlert,\r\n }\r\n });\r\n\r\n return modalInstance;\r\n }\r\n\r\n function openSaveLayoutModal(data) {\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'searchSaveLayoutModal',\r\n appendTo: parentElem,\r\n windowClass: 'search-save-layout-modal',\r\n resolve: {\r\n renderedPromise: function () {\r\n return data;\r\n },\r\n isFordAlert: $ctrl.isFordAlert,\r\n }\r\n });\r\n\r\n return modalInstance;\r\n }\r\n\r\n function openSaveSearchModal(data) {\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'searchSaveModal',\r\n appendTo: parentElem,\r\n resolve: {\r\n data: function () {\r\n return data;\r\n },\r\n }\r\n });\r\n\r\n return modalInstance;\r\n }\r\n\r\n function saveSearch() {\r\n const rendered = $q.defer();\r\n $ctrl.saveSearchModalInstance = openSaveSearchModal({\r\n rendered: rendered.promise,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n searchConditionName: $ctrl.searchConditionName,\r\n dealers: $ctrl.dealers\r\n });\r\n\r\n $ctrl.saveSearchModalInstance.rendered.then(function () {\r\n rendered.resolve();\r\n });\r\n\r\n $ctrl.saveSearchModalInstance.result.then(function (result) {\r\n saveUsersSearch(result);\r\n });\r\n }\r\n\r\n function saveUsersSearch(result) {\r\n var searchModel = convertPortalSearchToLegacyObject($ctrl.values);\r\n searchService.saveSearch(\r\n $ctrl.selectedDealerId, \r\n result.savedSearchName, \r\n result.autoShareSearch, \r\n result.autoShareSearchPosition, \r\n searchModel,\r\n result.assignPandoXRule,\r\n result.pandoXRuleQuantity,\r\n result.executePandoXImmediately,\r\n result.pandoXRuleCategoryId,\r\n result.searchActiveStartDate,\r\n result.searchActiveEndDate)\r\n .then(function (response) {\r\n\r\n var modalPopupText = '';\r\n var displayModal = false;\r\n\r\n if (response.responseCode == saveResponseCodes.ShareSearchError) {\r\n logger.error($translate.instant(\"searchSaveError\"));\r\n return;\r\n }\r\n else if (response.responseCode == saveResponseCodes.Success) {\r\n $ctrl.presetId = response.userSearchConditionID;\r\n\r\n if (response.dealerIdsAutoShared.length == 0 && response.dealerIdsShareSkipped.length == 0) {\r\n logger.success($translate.instant(\"changesSaved\"));\r\n return;\r\n }\r\n }\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'searchSaveResponseModal',\r\n resolve: {\r\n title: function () {\r\n return \"Message\";\r\n },\r\n saveResponse: function () { return response; },\r\n dealers: function () { return $ctrl.dealers; }\r\n }\r\n });\r\n });\r\n\r\n }\r\n\r\n function saveLayout() {\r\n const rendered = $q.defer();\r\n $ctrl.saveLayoutModalInstance = openSaveLayoutModal({\r\n rendered: rendered.promise,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n });\r\n\r\n $ctrl.saveLayoutModalInstance.rendered.then(function () {\r\n rendered.resolve();\r\n });\r\n\r\n $ctrl.saveLayoutModalInstance.result.then(function (result) {\r\n if (result.success === true) {\r\n $ctrl.exportLayout = result.exportLayout;\r\n // reload search results\r\n performSearch();\r\n\r\n logger.success(\"searchLayoutSaved\");\r\n }\r\n });\r\n }\r\n\r\n function printGrid() {\r\n // we need a 1 second timeout here to allow any popups to close. otherwise the print dialog will prevent any outstanding popups close events from triggering\r\n setTimeout(() => {\r\n var msg = {\r\n type: 'PERFORM_PRINT_GRID', data: {}\r\n };\r\n $ctrl.searchGridMessagePort.postMessage(msg);\r\n }, 1000);\r\n }\r\n\r\n function performReassign() {\r\n const rendered = $q.defer();\r\n var reassignModalInstance = openReassignModal({\r\n rendered: rendered.promise,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n dealsheetDomain: $ctrl.dealsheetDomain\r\n });\r\n\r\n reassignModalInstance.rendered.then(function () {\r\n rendered.resolve();\r\n });\r\n\r\n reassignModalInstance.result.then(function (result) {\r\n performBatchReassign(result.assignedUsers);\r\n });\r\n }\r\n\r\n function showDirectAlertModal() {\r\n const dealerId = $ctrl.selectedDealerId;\r\n if (typeof dealerId != 'number') {\r\n throw new Error(\"Must select a single dealer\");\r\n }\r\n\r\n performDirectAlert();\r\n //dealerService.getIsAssetEnabledForDealer(assetTypes.intelMarketing, dealerId)\r\n // .then(function (isEnabled) {\r\n // if (isEnabled) {\r\n // showOneToOneWarning();\r\n // } else {\r\n // performDirectAlert();\r\n // }\r\n // });\r\n }\r\n\r\n function showOneToOneWarning() {\r\n $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return $translate.instant(\"oneToOneIntelligentMarketing\");\r\n },\r\n message: function () {\r\n return \"intelMarketingConfirmationMessage\";\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\";\r\n }\r\n }\r\n });\r\n }\r\n\r\n function performDirectAlert() {\r\n const rendered = $q.defer();\r\n var modalInstance = openDirectAlertModal({\r\n rendered: rendered.promise,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n searchCriteria: $ctrl.SearchCriteria,\r\n searchResultsForm: $ctrl.searchResultsForm,\r\n });\r\n\r\n modalInstance.rendered.then(function () {\r\n rendered.resolve();\r\n });\r\n\r\n modalInstance.result.then(function (result) {\r\n $state.go('searchDirectAlert', { url: result.url });\r\n });\r\n }\r\n\r\n function performAddAccess() {\r\n const rendered = $q.defer();\r\n var addAccessModalInstance = openAddAccessModal({\r\n rendered: rendered.promise,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n dealsheetDomain: $ctrl.dealsheetDomain\r\n });\r\n\r\n addAccessModalInstance.rendered.then(function () {\r\n rendered.resolve();\r\n });\r\n\r\n addAccessModalInstance.result.then(function (result) {\r\n performBatchAddAccess(result.assignedUsers);\r\n });\r\n }\r\n\r\n function performBatchAddAccess(assignedUsers) {\r\n var msg = {\r\n type: 'PERFORM_BATCH_ADD_ACCESS', data: { assignedUsers: assignedUsers }\r\n };\r\n $ctrl.searchGridMessagePort.postMessage(msg);\r\n }\r\n\r\n function performBatchReassign(assignedUsers) {\r\n var msg = {\r\n type: 'PERFORM_BATCH_REASSIGN', data: { assignedUsers: assignedUsers }\r\n };\r\n $ctrl.searchGridMessagePort.postMessage(msg);\r\n }\r\n\r\n function performEpsilonExport() {\r\n var modalInstance = openEpsilonExportModal();\r\n modalInstance.result.then(function (result) {\r\n var dealerIds = [];\r\n\r\n $ctrl.resultsGridPromise = new $q(function (resolve, reject) {\r\n if ($ctrl.isMultipleDealers) {\r\n if (!$ctrl.selectedDealerId) { // null, undefined & 0 are all not truthy in JS\r\n dealerIds = Array.from($ctrl.dealers.filter(item => item.id != 0), x => x.id);\r\n } else {\r\n dealerIds.push($ctrl.selectedDealerId);\r\n }\r\n } else {\r\n dealerIds = Array.from($ctrl.dealers.filter(item => item.id != 0), x => x.id);;\r\n }\r\n var searchModel = convertPortalSearchToLegacyObject($ctrl.values);\r\n var campaignTypeName = result.campaignType == '5' ? result.campaignTypeName : \"\";\r\n searchService.createDealerCampaignExportAudience(searchModel, result.campaignType, dealerIds, campaignTypeName).then(function (data) {\r\n resolve();\r\n openEpsilonExportResultModal(data);\r\n }).catch(function (e) {reject(e)}); \r\n });\r\n });\r\n }\r\n\r\n function performExport() {\r\n const rendered = $q.defer();\r\n var exportModalInstance = openExportModal({\r\n rendered: rendered.promise,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n });\r\n\r\n exportModalInstance.rendered.then(function () {\r\n rendered.resolve();\r\n });\r\n\r\n exportModalInstance.result.then(function (result) {\r\n $ctrl.exportLayout = result.exportLayout;\r\n generateExport(result.exportLayout);\r\n });\r\n }\r\n\r\n function generateExport(exportLayout) {\r\n var msg = {\r\n type: 'EXPORT_GENERATE', data: { exportLayout: exportLayout }\r\n };\r\n $ctrl.searchGridMessagePort.postMessage(msg);\r\n }\r\n\r\n function updateMenuSettings(presetId, activity) {\r\n var settings = { selectedUserSearchConditionId: null };\r\n if (presetId && activity === null) {\r\n settings.selectedUserSearchConditionId = presetId;\r\n }\r\n $ctrl.onMenuSettingsChanged({ settings: settings });\r\n }\r\n\r\n function performSearch(presetId) {\r\n presetId = (typeof presetId !== 'undefined') ? presetId : null;\r\n\r\n updateMenuSettings(presetId, $ctrl.activity);\r\n\r\n $ctrl.activity = null;\r\n $ctrl.presetId = null;\r\n\r\n var invalidFields = getInvalidFields();\r\n if (!invalidFields) {\r\n $ctrl.values[$ctrl.filterNames.LayoutModuleName] = \"Search\";\r\n $ctrl.values[$ctrl.filterNames.LayoutModuleTitle] = \"Manage Search\";\r\n\r\n $ctrl.values[$ctrl.filterNames.ZipDistanceUnits] = ($ctrl.isMetric) ? \"kilometers\" : \"miles\";\r\n\r\n var json = convertPortalSearchToLegacyObject($ctrl.values);\r\n $ctrl.SearchCriteria = json;\r\n\r\n var msg = { 'task': 'perform_search', 'searchData': json };\r\n \r\n try {\r\n $ctrl.searchGridMessagePort.postMessage(msg);\r\n }\r\n catch (e) {\r\n // SEARCH_RESULTS_FAILED message will be triggered in this case. Do nothing.\r\n }\r\n\r\n $ctrl.resultsGridPromise = new $q(function (resolve, reject) {\r\n const sub = $ctrl.searchGridMessagePort.message$.subscribe(data => {\r\n if (data.type == \"PERFORM_SEARCH_COMPLETED\") {\r\n sub.unsubscribe();\r\n resolve();\r\n $ctrl.dealsheetDomain = data.data.dealsheetDomain;\r\n $ctrl.searchResultsForm = data.data.searchResultsForm;\r\n }\r\n\r\n if (data.type == \"SEARCH_RESULTS_FAILED\") {\r\n logger.error(\"searchInvalidFieldsMessageGeneric\");\r\n\r\n sub.unsubscribe();\r\n resolve();\r\n }\r\n\r\n });\r\n delay(30000).then(() => { // no search should take longer than 30 seconds\r\n sub.unsubscribe();\r\n reject(new TimeoutError());\r\n })\r\n });\r\n }\r\n else {\r\n var errorMessage = $translate.instant(\"searchInvalidFieldsMessage\") + \" \" + invalidFields;\r\n logger.error(errorMessage);\r\n setSectionsOpenCloseState(true);\r\n }\r\n }\r\n\r\n function getMakes(countryId) {\r\n vehicleService.getMakes(null, countryId)\r\n .then(function (dealerMakes) {\r\n if (dealerMakes) {\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.Makes;\r\n })[0];\r\n\r\n searchFilter.availableValues = dealerMakes.map(obj => {\r\n var rObj = {};\r\n rObj['value'] = obj.makeID;\r\n rObj['nameText'] = obj.makeName;\r\n return rObj;\r\n });\r\n }\r\n })\r\n .catch(function (error) {\r\n log.log(error);\r\n });\r\n }\r\n\r\n function getRecallNumbers() {\r\n vehicleService.getVinRecallNos($ctrl.selectedDealerId)\r\n .then(function (vinRecallNos) {\r\n if (vinRecallNos) {\r\n // MfgrRecallNos list\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.MfgrRecallNos;\r\n })[0];\r\n\r\n searchFilter.availableValues = vinRecallNos.mfgrRecallNos\r\n .filter(value => value != null)\r\n .map(value => {\r\n var rObj = {};\r\n rObj['value'] = value;\r\n rObj['nameText'] = value;\r\n rObj['groupName'] = -1;\r\n return rObj;\r\n });\r\n //searchFilter.availableValues.splice(0, 0, { value: \"\", nameText: \"\", groupName: -1 });\r\n\r\n // NatRecallNos list\r\n searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.NatRecallNos;\r\n })[0];\r\n\r\n searchFilter.availableValues = vinRecallNos.natRecallNos\r\n .filter(value => value != null)\r\n .map(value => {\r\n var rObj = {};\r\n rObj['value'] = value;\r\n rObj['nameText'] = value;\r\n rObj['groupName'] = -1;\r\n return rObj;\r\n });\r\n //searchFilter.availableValues.splice(0, 0, { value: \"\", nameText: \"\", groupName: -1 });\r\n }\r\n })\r\n .catch(function (error) {\r\n log.log(error);\r\n });\r\n }\r\n\r\n function getRecallTypes() {\r\n vehicleService.getVinRecallTypes()\r\n .then(function (vinRecallTypes) {\r\n if (vinRecallTypes) {\r\n // RecallType list\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.RecallTypes;\r\n })[0];\r\n\r\n searchFilter.availableValues = vinRecallTypes.map(rt => {\r\n var rObj = {};\r\n rObj['value'] = rt.vinRecallTypeId;\r\n rObj['nameText'] = rt.vinRecallTypeDescription;\r\n rObj['groupName'] = -1;\r\n return rObj;\r\n });\r\n searchFilter.availableValues.splice(0, 0, { value: \"\", nameText: \"\", groupName: -1 });\r\n }\r\n })\r\n .catch(function (error) {\r\n log.log(error);\r\n });\r\n }\r\n\r\n function getTags() {\r\n searchService.getTagsForDealers($ctrl.selectedDealerId)\r\n .then(function (tags) {\r\n if (tags) {\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.Tags;\r\n })[0];\r\n\r\n searchFilter.availableValues = tags.map(obj => {\r\n var rObj = {};\r\n rObj['value'] = obj.tagText;\r\n rObj['nameText'] = obj.tagText;\r\n return rObj;\r\n });\r\n\r\n // create distinct list of models\r\n searchFilter.availableValues = removeDuplicates(searchFilter.availableValues, \"value\");\r\n }\r\n });\r\n }\r\n\r\n function getTrims() {\r\n vehicleService.getTrimsByModels(getSelectedIds($ctrl.filterNames.ModelsList))\r\n .then(function (dealerTrims) {\r\n if (dealerTrims) {\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.Trims;\r\n })[0];\r\n\r\n searchFilter.availableValues = dealerTrims.map(obj => {\r\n var rObj = {};\r\n rObj['value'] = obj.trimName;\r\n rObj['nameText'] = obj.trimName;\r\n return rObj;\r\n });\r\n\r\n // create distinct list of models\r\n searchFilter.availableValues = removeDuplicates(searchFilter.availableValues, \"value\");\r\n // sort models\r\n searchFilter.availableValues = searchFilter.availableValues.sort(compareValues(\"value\"));\r\n }\r\n })\r\n .catch(function (error) {\r\n log.log(error);\r\n });\r\n }\r\n\r\n function getBanks() {\r\n searchService.getBankSelect($ctrl.selectedDealerId)\r\n .then(function (banks) {\r\n if (banks) {\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.Banks;\r\n })[0];\r\n\r\n searchFilter.availableValues = banks.map(obj => {\r\n var rObj = {};\r\n rObj[\"value\"] = (obj.bankSearchMask == null) ? obj.bankId : obj.bankSearchMask; // we need to use the bankName (not the ID) so the name matching capability will work. at starts with these characters.\r\n rObj['nameText'] = obj.bankName;\r\n rObj[\"groupName\"] = (obj.type == 0) ? $translate.instant(\"bankSelectType0\") : $translate.instant(\"bankSelectType1\");\r\n return rObj;\r\n });\r\n\r\n searchFilter.groupNames = [];\r\n for (var value in searchFilter.availableValues) {\r\n if (!searchFilter.groupNames.some(s => s == searchFilter.availableValues[value].groupName))\r\n searchFilter.groupNames.push(searchFilter.availableValues[value].groupName);\r\n }\r\n\r\n searchFilter.availableValues.splice(0, 0, { value: 0, nameText: \"\", groupName: -1 });\r\n\r\n $ctrl.values[$ctrl.filterNames.BankID] = \"0\";\r\n }\r\n })\r\n .catch(function (error) {\r\n log.log(error);\r\n });\r\n }\r\n\r\n function getSoldBy() {\r\n searchService.getSoldBySearchByDealers($ctrl.selectedDealerId)\r\n .then(function (soldByUsers) {\r\n if (soldByUsers) {\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.SoldBy;\r\n })[0];\r\n\r\n searchFilter.availableValues = soldByUsers.map(obj => {\r\n var rObj = {};\r\n rObj['value'] = obj.displayName;\r\n rObj['nameText'] = obj.displayName;\r\n return rObj;\r\n });\r\n }\r\n })\r\n .catch(function (error) {\r\n log.log(error);\r\n });\r\n }\r\n\r\n function getOwners() {\r\n userService.getUsers($ctrl.selectedDealerId)\r\n .then(function (users) {\r\n if (users) {\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.Owner;\r\n })[0];\r\n\r\n searchFilter.availableValues = users.map(obj => {\r\n var rObj = {};\r\n rObj['value'] = obj.id;\r\n rObj['nameText'] = obj.fullName;\r\n return rObj;\r\n });\r\n\r\n // sort models\r\n searchFilter.availableValues = searchFilter.availableValues.sort(compareValues(\"nameText\"));\r\n\r\n searchFilter.availableValues.splice(0, 0, { value: -1, nameText: \"[Orphans]\" }); // TODO: add translation\r\n }\r\n })\r\n .catch(function (error) {\r\n log.log(error);\r\n });\r\n }\r\n\r\n\r\n function getModelsByMakesYears() {\r\n var makeIds = getSelectedValue($ctrl.filterNames.MakesList);\r\n var years = getSelectedValue($ctrl.filterNames.YearsList);\r\n\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.Models;\r\n })[0];\r\n\r\n if (makeIds.length > 0 || years.length > 0) {\r\n vehicleService.getModelsByMakesYears(makeIds, years)\r\n .then(function (dealerModels) {\r\n // we need to pull and check makeId and years again because these values may have changed on another thread (such as searchFilter.availableValues = [] below) -Brad O. 2/4/2019\r\n makeIds = getSelectedValue($ctrl.filterNames.MakesList);\r\n years = getSelectedValue($ctrl.filterNames.YearsList);\r\n\r\n if (makeIds.length > 0 || years.length > 0) {\r\n if (dealerModels.length > 0) {\r\n searchFilter.availableValues = dealerModels.map(obj => {\r\n var rObj = {};\r\n rObj['value'] = obj.modelName;\r\n rObj['nameText'] = obj.modelName;\r\n rObj[\"id\"] = obj.modelID;\r\n return rObj;\r\n });\r\n\r\n // create distinct list of models\r\n searchFilter.availableValues = removeDuplicates(searchFilter.availableValues, \"value\");\r\n // sort models\r\n searchFilter.availableValues = searchFilter.availableValues.sort(compareValues(\"value\"));\r\n }\r\n else {\r\n $ctrl.values[searchFilter.fieldName] = [];\r\n searchFilter.availableValues = [];\r\n }\r\n }\r\n })\r\n .catch(function (error) {\r\n log.log(error);\r\n });\r\n }\r\n else {\r\n searchFilter.availableValues = [];\r\n $ctrl.values[searchFilter.fieldName] = [];\r\n }\r\n }\r\n\r\n function getYears() {\r\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\r\n return filter.filterSource == $ctrl.filterSources.Years;\r\n })[0];\r\n\r\n var currentYear = new Date().getFullYear();\r\n\r\n var yearValues = [];\r\n for (var i = currentYear + 1; i > currentYear - 10; i--) {\r\n var rObj = {};\r\n rObj['value'] = i;\r\n rObj[\"nameText\"] = i;\r\n\r\n yearValues.push(rObj);\r\n }\r\n\r\n searchFilter.availableValues = yearValues;\r\n }\r\n\r\n function getSelectedValue(fieldName) {\r\n var selectedValues = $ctrl.values[fieldName];\r\n\r\n var values = [];\r\n\r\n for (var v in selectedValues)\r\n values.push(selectedValues[v].value);\r\n\r\n return values;\r\n }\r\n\r\n function getSelectedIds(fieldName) {\r\n var selectedValues = $ctrl.values[fieldName];\r\n\r\n var ids = [];\r\n\r\n for (var v in selectedValues)\r\n ids.push(selectedValues[v].id);\r\n\r\n return ids;\r\n }\r\n\r\n function onDealerSelect() {\r\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\r\n getBanks();\r\n getSoldBy();\r\n getOwners();\r\n getTags();\r\n getRecallNumbers();\r\n getRecallTypes();\r\n getDealerSettings($ctrl.selectedDealerId);\r\n onInitOrLoad();\r\n }\r\n\r\n function getDealerSettings(dealerId) {\r\n if (dealerId <= 0 || dealerId === undefined) {\r\n return;\r\n }\r\n\r\n var index = _.findIndex($ctrl.dealerSettings, (d) => d.dealerId === $ctrl.selectedDealerId);\r\n if (index >= 0) {\r\n $ctrl.enableDirectAlertCampaigns = $ctrl.dealerSettings[index].enableDirectAlertCampaigns;\r\n }\r\n else {\r\n dealerService.getDealerSettings($ctrl.selectedDealerId)\r\n .then(function (settings) {\r\n settings.dealerId = $ctrl.selectedDealerId;\r\n $ctrl.dealerSettings.push(settings);\r\n $ctrl.enableDirectAlertCampaigns = settings.enableDirectAlertCampaigns;\r\n });\r\n }\r\n }\r\n \r\n function openBulkTemplateWizard() {\r\n const dealerId = $ctrl.selectedDealerId;\r\n if (typeof dealerId != 'number') {\r\n throw new Error(\"Must select a single dealer\");\r\n }\r\n\r\n const onRendered = $q.defer();\r\n const modal = $uibModal.open({\r\n component: \"bulkTemplateWizardModal\",\r\n size: 'lg',\r\n resolve: {\r\n onRendered: () => ({ promise: onRendered.promise }),\r\n src: () => `${bulkTemplateUrl}?dealerID=${dealerId}`,\r\n title: () => \"selectCustomers\",\r\n searchGridMessagePort: () => $ctrl.searchGridMessagePort,\r\n },\r\n });\r\n modal.rendered.then(() => onRendered.resolve());\r\n }\r\n\r\n function convertLegacyObjectToPortalSearch(legacyObj) {\r\n\r\n var portalObj = {};\r\n\r\n for (var s in $ctrl.searchFilters) {\r\n var sf = $ctrl.searchFilters[s];\r\n var selected;\r\n var av;\r\n\r\n switch (sf.filterType) {\r\n case $ctrl.filterTypes.TextBox:\r\n portalObj[sf.fieldName] = legacyObj[sf.fieldName];\r\n break;\r\n\r\n case $ctrl.filterTypes.TextBoxRange:\r\n portalObj[sf.fieldNameMin] = (legacyObj[sf.fieldNameMin] != null) ? \"\" + legacyObj[sf.fieldNameMin] : null;\r\n portalObj[sf.fieldNameMax] = (legacyObj[sf.fieldNameMax] != null) ? \"\" + legacyObj[sf.fieldNameMax] : null;\r\n break;\r\n\r\n case $ctrl.filterTypes.DatepickerRange:\r\n portalObj[sf.fieldNameMin] = (legacyObj[sf.fieldNameMin]) ? new Date(legacyObj[sf.fieldNameMin]) : null;\r\n portalObj[sf.fieldNameMax] = (legacyObj[sf.fieldNameMax]) ? new Date(legacyObj[sf.fieldNameMax]) : null;\r\n break;\r\n\r\n case $ctrl.filterTypes.DropdownList:\r\n portalObj[sf.fieldName] = legacyObj[sf.fieldName];\r\n break;\r\n\r\n case $ctrl.filterTypes.MultiSelectList:\r\n selected = legacyObj[sf.fieldName];\r\n\r\n portalObj[sf.fieldName] = [];\r\n\r\n for (var sel in selected) {\r\n av = sf.availableValues.filter(function (filter) {\r\n var value = (filter.valueOverride) ? filter.valueOverride : filter.value;\r\n return (value == selected[sel]);\r\n })[0];\r\n\r\n if (av != null)\r\n portalObj[sf.fieldName].push(av);\r\n else\r\n portalObj[sf.fieldName].push({ value: selected[sel] });\r\n }\r\n\r\n break;\r\n\r\n case $ctrl.filterTypes.CheckBoxList:\r\n if (!portalObj[sf.fieldName])\r\n portalObj[sf.fieldName] = {};\r\n\r\n for (var v in sf.availableValues) {\r\n av = sf.availableValues[v];\r\n var fieldName = (sf.availableValuesUsefieldName) ? sf.fieldName : av.name;\r\n selected = legacyObj[fieldName];\r\n\r\n if (selected != null) {\r\n if (sf.availableValuesUsefieldName) {\r\n portalObj[sf.fieldName][av.name] = selected.some(s => s == av.valueOverride);\r\n }\r\n else {\r\n portalObj[sf.fieldName][av.name] = selected;\r\n }\r\n }\r\n }\r\n\r\n break;\r\n }\r\n }\r\n\r\n legacyObj[$ctrl.filterNames.DealerID] = ($ctrl.selectedDealerId != null) ? $ctrl.selectedDealerId.toString() : \"0\";\r\n\r\n return portalObj;\r\n }\r\n\r\n function convertPortalSearchToLegacyObject(portalObj) {\r\n\r\n var legacyObj = {};\r\n\r\n for (var s in $ctrl.searchFilters) {\r\n var sf = $ctrl.searchFilters[s];\r\n var selected;\r\n\r\n switch (sf.filterType) {\r\n case $ctrl.filterTypes.TextBox:\r\n legacyObj[sf.fieldName] = portalObj[sf.fieldName];\r\n break;\r\n\r\n case $ctrl.filterTypes.TextBoxRange:\r\n legacyObj[sf.fieldNameMin] = portalObj[sf.fieldNameMin];\r\n legacyObj[sf.fieldNameMax] = portalObj[sf.fieldNameMax];\r\n break;\r\n\r\n case $ctrl.filterTypes.DatepickerRange:\r\n var fieldNameMin = (portalObj[sf.fieldNameMin]) ? portalObj[sf.fieldNameMin] : null;\r\n var fieldNameMax = (portalObj[sf.fieldNameMax]) ? portalObj[sf.fieldNameMax] : null;\r\n\r\n legacyObj[sf.fieldNameMin] = (fieldNameMin) ? moment(fieldNameMin).format(\"YYYY-MM-DD[T]HH:mm:ss\") : null;\r\n legacyObj[sf.fieldNameMax] = (fieldNameMax) ? moment(fieldNameMax).format(\"YYYY-MM-DD[T]HH:mm:ss\") : null;\r\n break;\r\n\r\n case $ctrl.filterTypes.DropdownList:\r\n legacyObj[sf.fieldName] = portalObj[sf.fieldName];\r\n break;\r\n\r\n case $ctrl.filterTypes.MultiSelectList:\r\n selected = portalObj[sf.fieldName];\r\n\r\n legacyObj[sf.fieldName] = [];\r\n\r\n for (var sel in selected) {\r\n legacyObj[sf.fieldName].push(selected[sel].value);\r\n }\r\n\r\n break;\r\n\r\n case $ctrl.filterTypes.CheckBoxList:\r\n if (sf.availableValuesUsefieldName) {\r\n if (!legacyObj[sf.fieldName])\r\n legacyObj[sf.fieldName] = [];\r\n }\r\n\r\n selected = portalObj[sf.fieldName];\r\n\r\n for (var v in sf.availableValues) {\r\n var av = sf.availableValues[v];\r\n\r\n if (selected != null && selected[av.name]) {\r\n var value = (av.valueOverride) ? av.valueOverride : selected[av.name];\r\n\r\n if (sf.availableValuesUsefieldName)\r\n legacyObj[sf.fieldName].push(value);\r\n else\r\n legacyObj[av.name] = value;\r\n }\r\n }\r\n\r\n break;\r\n }\r\n }\r\n\r\n legacyObj[$ctrl.filterNames.DealerID] = ($ctrl.selectedDealerId != null) ? $ctrl.selectedDealerId.toString() : \"0\";\r\n legacyObj[\"IsFordAlertDealer\"] = $ctrl.isFordAlert;\r\n legacyObj[$ctrl.filterNames.ZipDistanceUnits] = portalObj[$ctrl.filterNames.ZipDistanceUnits];\r\n\r\n if (portalObj[$ctrl.filterNames.ZipDistance] == null) {\r\n legacyObj[$ctrl.filterNames.ZipDistance] = \"0\";\r\n }\r\n\r\n return legacyObj;\r\n }\r\n\r\n function updateTooltip(displayNameKey, filterType, tooltipText, selectedValues, availableValues) {\r\n var selectedSummary = \"\";\r\n\r\n switch (filterType) {\r\n case $ctrl.filterTypes.MultiSelectList:\r\n if (selectedValues != null && selectedValues.length > 0) {\r\n for (var i in availableValues) {\r\n var av = availableValues[i];\r\n\r\n if (selectedValues.some(s => s.nameText == av.nameText))\r\n selectedSummary += av.nameText + \", \";\r\n }\r\n\r\n selectedSummary = selectedSummary.slice(0, -2); // remove final comma\r\n }\r\n\r\n if (selectedSummary)\r\n tooltipText = selectedSummary;\r\n\r\n break;\r\n }\r\n\r\n $ctrl.popOverText[displayNameKey] = tooltipText;\r\n }\r\n\r\n function clearAll() {\r\n initializeValues();\r\n }\r\n\r\n function initializeValues() {\r\n for (var f in $ctrl.searchFilters) {\r\n var field = $ctrl.searchFilters[f];\r\n\r\n // set tooltip\r\n updateTooltip(field.fieldName, field.filterType, field.tooltipText, null, null);\r\n field.triggerInit = true;\r\n }\r\n\r\n $ctrl.searchConditionName = \"\";\r\n }\r\n\r\n function removeDuplicates(myArr, prop) {\r\n return myArr.filter((obj, pos, arr) => {\r\n return arr.map(mapObj => mapObj[prop]).indexOf(obj[prop]) === pos;\r\n });\r\n }\r\n\r\n function compareValues(key, order = 'asc') {\r\n return function (a, b) {\r\n if (!a.hasOwnProperty(key) || !b.hasOwnProperty(key)) {\r\n // property doesn't exist on either object\r\n return 0;\r\n }\r\n\r\n const varA = (typeof a[key] === 'string') ?\r\n a[key].toUpperCase() : a[key];\r\n const varB = (typeof b[key] === 'string') ?\r\n b[key].toUpperCase() : b[key];\r\n\r\n let comparison = 0;\r\n if (varA > varB) {\r\n comparison = 1;\r\n } else if (varA < varB) {\r\n comparison = -1;\r\n }\r\n return (\r\n (order == 'desc') ? (comparison * -1) : comparison\r\n );\r\n };\r\n }\r\n\r\n function setDisabledUntilPerformSearch(value) {\r\n $ctrl.saveSearchBtnDisabled = ($ctrl.isEmployeeUser && $ctrl.isMultipleDealers) ? true : value;\r\n\r\n $ctrl.oneToOneBtnDisabled = ($ctrl.selectedDealerId == 0) ? true : value;\r\n $ctrl.templateBtnDisabled = ($ctrl.selectedDealerId == 0) ? true : value;\r\n\r\n $ctrl.moreBtnDisabled = value;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./ui-checkboxlist.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('uiCheckboxList', {\r\n templateUrl: '/app/components/search/ui-checkboxlist.component.html',\r\n controller: UICheckBoxList,\r\n bindings: {\r\n titleKey : '<',\r\n displayNameKey : '<',\r\n values: '<',\r\n hideDisplayName: '<',\r\n displayNameCssClass: '<',\r\n value: '=',\r\n triggerInit: '='\r\n } \r\n});\r\n\r\n/* @ngInject */\r\nfunction UICheckBoxList($scope, $state) {\r\n \r\n var $ctrl = this;\r\n $ctrl.$onInit = onInit;\r\n\r\n $scope.$watch('$ctrl.triggerInit', function(newVal, oldVal, scope) {\r\n if ($ctrl.triggerInit) {\r\n $ctrl.triggerInit = false;\r\n onInit();\r\n }\r\n });\r\n\r\n function onInit() {\r\n if (!$ctrl.displayNameCssClass)\r\n $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\r\n\r\n $ctrl.value = {};\r\n $ctrl.values.forEach(function(option) {\r\n $ctrl.value[option.name] = option.value;\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./ui-textbox.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('uiTextbox', {\r\n templateUrl: '/app/components/search/ui-textbox.component.html',\r\n controller: UITextBox,\r\n bindings: {\r\n displayNameKey: '<',\r\n displayNameCssClass: '<',\r\n value : '=',\r\n triggerInit : \"=\",\r\n availableValues: \"<\",\r\n maxLength: \"<\",\r\n isValid: \"=\",\r\n } \r\n});\r\n\r\n/* @ngInject */\r\nfunction UITextBox($scope, $state) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = onInit;\r\n $ctrl.validate = validate;\r\n\r\n $scope.$watch('$ctrl.triggerInit', function(newVal, oldVal, scope) {\r\n if ($ctrl.triggerInit) {\r\n $ctrl.triggerInit = false;\r\n onInit();\r\n }\r\n });\r\n\r\n function onInit() {\r\n if (!$ctrl.displayNameCssClass)\r\n $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\r\n\r\n $ctrl.value = \"\";\r\n }\r\n\r\n function validate() {\r\n if ($ctrl.value && $ctrl.value.value)\r\n $ctrl.value = $ctrl.value.value; // get rid of the object created by typeahead\r\n\r\n // disallow illegal characters\r\n var invalidCharacters = ['<'];\r\n\r\n var isValid = true;\r\n for (var c of invalidCharacters) {\r\n if ($ctrl.value && $ctrl.value.includes(c))\r\n isValid = false;\r\n }\r\n\r\n $ctrl.isValid = isValid;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./ui-dropdownlist.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('uiDropdownList', {\r\n templateUrl: '/app/components/search/ui-dropdownlist.component.html',\r\n controller: UIDropdownList,\r\n bindings: {\r\n fieldName: \"<\",\r\n displayNameKey: '<',\r\n displayNameCssClass: '<',\r\n values: '<',\r\n availableGroupNames: '<',\r\n value: '=',\r\n multiSelect: '<',\r\n includeDefaultOption: '<',\r\n isDisabled: \"<\",\r\n triggerInit: \"=\",\r\n onChanged: \"&\"\r\n } \r\n});\r\n\r\n/* @ngInject */\r\nfunction UIDropdownList($scope, $translate) {\r\n\r\n var $ctrl = this;\r\n\r\n $ctrl.multiSelect = ($ctrl.multiSelect) ? $ctrl.multiSelect : false;\r\n $ctrl.$onInit = onInit;\r\n\r\n $ctrl.onSelectionChanged = onSelectionChanged;\r\n\r\n $ctrl.settingsDropdown = {\r\n dropdownDisable: true,\r\n template: '{{option.nameText}}',\r\n smartButtonTextConverter(itemText, option) { return option.nameText; }, \r\n checkBoxes: true, \r\n smartButtonMaxItems: 5, \r\n showCheckAll: true, \r\n showUncheckAll: true, \r\n scrollable: true,\r\n idProperty: 'value'\r\n };\r\n\r\n $scope.$watch('$ctrl.triggerInit', function(newVal, oldVal, scope) {\r\n if ($ctrl.triggerInit) {\r\n $ctrl.triggerInit = false;\r\n onInit();\r\n }\r\n });\r\n\r\n $scope.$watch('$ctrl.values', function (newVal, oldVal, scope) {\r\n if ($ctrl.values) {\r\n for (const val of $ctrl.values) {\r\n if (val.nameKey) {\r\n val.nameText = $translate.instant(val.nameKey);\r\n }\r\n }\r\n }\r\n });\r\n\r\n function onInit() {\r\n\r\n if (!$ctrl.displayNameCssClass)\r\n $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\r\n\r\n if (!$ctrl.multiSelect && $ctrl.values.length > 0) {\r\n $ctrl.value = $ctrl.values[0].value;\r\n\r\n for (var ssav in $ctrl.values) {\r\n if ($ctrl.values[ssav].selected) {\r\n $ctrl.value = $ctrl.values[ssav].value;\r\n }\r\n }\r\n }\r\n\r\n if ($ctrl.multiSelect) {\r\n $ctrl.value = [];\r\n\r\n for (var msav in $ctrl.values) {\r\n if ($ctrl.values[msav].selected) {\r\n $ctrl.value.push($ctrl.values[msav]);\r\n }\r\n }\r\n }\r\n }\r\n\r\n function onSelectionChanged() {\r\n $ctrl.onChanged({selectedValues: $ctrl.value });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./ui-textbox-range.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('uiTextboxRange', {\r\n templateUrl: '/app/components/search/ui-textbox-range.component.html',\r\n controller: UITextBoxRange,\r\n bindings: {\r\n displayNameKey: \"<\",\r\n displayNameCssClass: \"<\",\r\n hideDisplayName : \"<\",\r\n separatorCharacter : \"<\",\r\n availableValues: '<',\r\n minValue: '<',\r\n maxValue: '<',\r\n fieldDefaultValues: '<',\r\n selectedValueFirst: \"=\",\r\n selectedValueLast: \"=\",\r\n isValidSelectedValueFirst:\"=\",\r\n isValidSelectedValueLast:\"=\",\r\n isDisabled: \"<\",\r\n rightCharacter: \"<\",\r\n triggerInit: \"=\",\r\n regexFirst: \"<\",\r\n regexLast: \"<\",\r\n maxLength: \"<\",\r\n unitOfMeasureKey: \"<\",\r\n } \r\n});\r\n\r\n/* @ngInject */\r\nfunction UITextBoxRange($scope, $state) {\r\n var $ctrl = this;\r\n $ctrl.selectedValueFirstCSSClass;\r\n $ctrl.selectedValueLastCSSClass;\r\n $ctrl.validate = validate;\r\n $ctrl.$onInit = onInit;\r\n \r\n $scope.$watch('$ctrl.triggerInit', function(newVal, oldVal, scope) {\r\n if ($ctrl.triggerInit) {\r\n $ctrl.triggerInit = false;\r\n onInit();\r\n }\r\n });\r\n\r\n $scope.$watch('$ctrl.isValidSelectedValueFirst', function(newVal, oldVal, scope) {\r\n SetValidationCSS();\r\n });\r\n\r\n $scope.$watch('$ctrl.isValidSelectedValueLast', function(newVal, oldVal, scope) {\r\n SetValidationCSS();\r\n });\r\n\r\n function onInit() {\r\n if (!$ctrl.displayNameCssClass)\r\n $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\r\n\r\n if ($ctrl.availableValues) {\r\n $ctrl.selectedValueFirst = $ctrl.availableValues[0].value;\r\n $ctrl.selectedValueLast = \"\";\r\n }\r\n else {\r\n $ctrl.selectedValueFirst = \"\";\r\n $ctrl.selectedValueLast = \"\";\r\n }\r\n\r\n if ($ctrl.fieldDefaultValues) {\r\n if ($ctrl.fieldDefaultValues[0])\r\n $ctrl.selectedValueFirst = $ctrl.fieldDefaultValues[0];\r\n\r\n if ($ctrl.fieldDefaultValues[1])\r\n $ctrl.selectedValueLast = $ctrl.fieldDefaultValues[1];\r\n }\r\n\r\n validate();\r\n }\r\n\r\n function validate() {\r\n $ctrl.isValidSelectedValueFirst = true;\r\n $ctrl.isValidSelectedValueLast = true;\r\n\r\n if (!$ctrl.availableValues && !$ctrl.rightCharacter) { // TODO: find better way to check if range validation should be done later\r\n $ctrl.selectedValueFirst = ($ctrl.selectedValueFirst) ? $ctrl.selectedValueFirst.replace(\",\", \"\") : null;\r\n\r\n $ctrl.isValid = isValid;\r\n\r\n if ($ctrl.minValue != null && parseFloat($ctrl.selectedValueFirst) < $ctrl.minValue) \r\n $ctrl.selectedValueFirst = $ctrl.minValue;\r\n\r\n if ($ctrl.selectedValueFirst && $ctrl.selectedValueLast) {\r\n $ctrl.isValidSelectedValueFirst = (parseFloat($ctrl.selectedValueFirst) <= parseFloat($ctrl.selectedValueLast));\r\n $ctrl.isValidSelectedValueLast = (parseFloat($ctrl.selectedValueFirst) <= parseFloat($ctrl.selectedValueLast));\r\n }\r\n\r\n // Regex validation\r\n if ($ctrl.isValidSelectedValueFirst && $ctrl.selectedValueFirst && $ctrl.regexFirst) {\r\n var reFirst = new RegExp($ctrl.regexFirst);\r\n $ctrl.isValidSelectedValueFirst = reFirst.test($ctrl.selectedValueFirst);\r\n }\r\n }\r\n\r\n // disallow illegal characters\r\n var invalidCharacters = ['<'];\r\n\r\n var isValid = true;\r\n for (var c of invalidCharacters) {\r\n if ($ctrl.selectedValueFirst && $ctrl.selectedValueFirst.includes(c))\r\n $ctrl.isValidSelectedValueFirst = false;\r\n\r\n if ($ctrl.selectedValueLast && $ctrl.selectedValueLast.includes(c))\r\n $ctrl.isValidSelectedValueLast = false;\r\n }\r\n\r\n\r\n $ctrl.selectedValueLast = ($ctrl.selectedValueLast) ? $ctrl.selectedValueLast.replace(\",\", \"\") : null;\r\n\r\n if ($ctrl.maxValue != null && parseFloat($ctrl.selectedValueLast) > $ctrl.maxValue) \r\n $ctrl.selectedValueLast = $ctrl.maxValue;\r\n\r\n if ($ctrl.isValidSelectedValueLast && $ctrl.selectedValueLast && $ctrl.regexLast) {\r\n var reLast = new RegExp($ctrl.regexLast);\r\n $ctrl.isValidSelectedValueLast = reLast.test($ctrl.selectedValueLast);\r\n }\r\n\r\n SetValidationCSS();\r\n }\r\n\r\n function SetValidationCSS() {\r\n $ctrl.selectedValueFirstCSSClass = ($ctrl.isValidSelectedValueFirst) ? \"valid\" : \"invalid\";\r\n $ctrl.selectedValueLastCSSClass = ($ctrl.isValidSelectedValueLast) ? \"valid\" : \"invalid\";\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./ui-datepicker-range.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('uiDatepickerRange', {\r\n templateUrl: '/app/components/search/ui-datepicker-range.component.html',\r\n controller: UIDatepickerRange,\r\n bindings: {\r\n displayNameKey : \"<\",\r\n displayNameCssClass: '<',\r\n selectedValueFirst: \"=\",\r\n selectedValueLast: \"=\",\r\n isValidSelectedValueFirst:\"=\",\r\n isValidSelectedValueLast:\"=\",\r\n triggerInit: \"=\",\r\n } \r\n});\r\n\r\n/* @ngInject */\r\nfunction UIDatepickerRange($scope, $state, dateFormatService) {\r\n var $ctrl = this;\r\n $ctrl.$onInit = onInit;\r\n $ctrl.selectedValueFirstCSSClass = \"searchDateInput valid\";\r\n $ctrl.selectedValueLastCSSClass = \"searchDateInput valid\";\r\n $ctrl.dateFormat;\r\n $ctrl.datePickerOptions = {\r\n startingDay: 0,\r\n showWeeks: false,\r\n minDate: null,\r\n maxDate: null\r\n }\r\n\r\n $ctrl.onInputValueFirst = onInputValueFirst;\r\n $ctrl.onInputValueLast = onInputValueLast;\r\n\r\n $scope.$watch('$ctrl.triggerInit', function(newVal, oldVal, scope) {\r\n if ($ctrl.triggerInit) {\r\n $ctrl.triggerInit = false;\r\n onInit();\r\n }\r\n });\r\n\r\n function onInit()\r\n {\r\n $ctrl.selectedValueFirst = null;\r\n $ctrl.selectedValueLast = null;\r\n\r\n if (!$ctrl.displayNameCssClass)\r\n $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\r\n\r\n\r\n $ctrl.dateFormat = dateFormatService.getDateFormatString();\r\n\r\n validate();\r\n }\r\n\r\n function onInputValueFirst(obj) {\r\n $ctrl.selectedValueFirst = angular.copy(obj);\r\n validate();\r\n } \r\n\r\n function onInputValueLast(obj) {\r\n $ctrl.selectedValueLast = angular.copy(obj);\r\n validate();\r\n }\r\n\r\n function validate() {\r\n $ctrl.isValidSelectedValueFirst = true;\r\n $ctrl.isValidSelectedValueLast = true;\r\n\r\n if ($ctrl.selectedValueFirst && $ctrl.selectedValueLast) {\r\n $ctrl.isValidSelectedValueFirst = ($ctrl.selectedValueFirst <= $ctrl.selectedValueLast);\r\n $ctrl.isValidSelectedValueLast = ($ctrl.selectedValueFirst <= $ctrl.selectedValueLast);\r\n }\r\n\r\n $ctrl.selectedValueFirstCSSClass = \"searchDateInput \" + (($ctrl.isValidSelectedValueFirst) ? \"valid\" : \"invalid\");\r\n $ctrl.selectedValueLastCSSClass = \"searchDateInput \" + (($ctrl.isValidSelectedValueLast) ? \"valid\" : \"invalid\");\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-menu.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\nimport $ from 'jquery';\r\nimport './search-menu.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchMenu', {\r\n templateUrl: '/app/components/search/search-menu.component.html',\r\n controller: SearchMenuController,\r\n bindings: {\r\n presetId: '<',\r\n //permissions: '<',\r\n selectedDealerId: '=',\r\n searchMenuVisible: '=',\r\n sectionStates: '<',\r\n presetSections: '=',\r\n currentView: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchMenuController($state, _, $q, $scope, searchPresetTypes, searchPresetService, userService,\r\n dealerService, authorizationService, modules, authorizationKeys, $uibModal, $document, $translate, assetTypes) {\r\n var $ctrl = this;\r\n\r\n $ctrl.selectedDealerId;\r\n $ctrl.searchPresets;\r\n $ctrl.userId;\r\n $ctrl.isAutoAlertEmployee;\r\n $ctrl.hasShareSearchAccess;\r\n $ctrl.leadAssignOwnerAccessEnabled;\r\n $ctrl.searchPresetTypes = searchPresetTypes;\r\n \r\n //Events\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.openSearchPreset = openSearchPreset;\r\n $ctrl.deleteSearchPreset = deleteSearchPreset;\r\n $ctrl.deleteSharedSearchPreset = deleteSharedSearchPreset;\r\n $ctrl.shareSearchPreset = shareSearchPreset;\r\n $ctrl.unshareSearchPreset = unshareSearchPreset;\r\n $ctrl.setView = setView;\r\n\r\n function $onInit() {\r\n if ($ctrl.presetSections == null)\r\n $ctrl.presetSections = {\r\n mySearchesMenuVisible: true,\r\n sharedSearchesMenuVisible: true,\r\n tagBasedSearchesMenuVisible: false,\r\n predefinedSearchesMenuVisible: false,\r\n };\r\n\r\n $ctrl.leadAssignOwnerAccessEnabled = false;\r\n $ctrl.pandoXEnabled = false;\r\n\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n // if there is only one dealer \r\n //if ($ctrl.dealers.length == 1) \r\n // $ctrl.selectedDealerId = $ctrl.dealers[0].id; \r\n\r\n userService.getUserProfile()\r\n .then(function (userProfile) {\r\n $ctrl.userId = userProfile.userId;\r\n $ctrl.isAutoAlertEmployee = userProfile.employeeUser;\r\n $ctrl.hasShareSearchAccess = (authorizationService.isAuthorized(authorizationKeys.ManageSearches) || userProfile.employeeUser);\r\n if ($ctrl.isAutoAlertEmployee && $ctrl.selectedDealerId) {\r\n dealerService.getDealerSettings($ctrl.selectedDealerId)\r\n .then(function (settings) {\r\n //Use dealer admin ID for AutoAlert Employee\r\n $ctrl.userId = settings.defaultUserID;\r\n searchPresetService.getSearchPresets().then(loadMenu);\r\n })\r\n }\r\n else {\r\n searchPresetService.getSearchPresets().then(loadMenu);\r\n }\r\n\r\n //this if moved from end of function to here, userProfile must be available before calling isDealerEnabledForModule\r\n if ($ctrl.dealers.length === 1) {\r\n $ctrl.leadAssignOwnerAccessEnabled = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.leadAssignOwnerAccess);\r\n }\r\n else {\r\n $ctrl.leadAssignOwnerAccessEnabled = userService.isModuleEnabledForAnyDealer(modules.leadAssignOwnerAccess);\r\n }\r\n })\r\n\r\n // Calling this without dealer id looks for the asset in any of the users dealers\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.pandoX, ($ctrl.dealers.length === 1) ? $ctrl.selectedDealerId : null)\r\n .then(isEnabled => { $ctrl.pandoXEnabled = isEnabled; })\r\n }\r\n\r\n function setView() {\r\n $ctrl.searchMenuVisible = false;\r\n $ctrl.presetId = null;\r\n\r\n switch ($ctrl.currentView) {\r\n case \"search\":\r\n $ctrl.currentView = \"manage\";\r\n $state.go(\"search.manage\", { selectedDealerId: $ctrl.selectedDealerId }, { reload: false });\r\n break;\r\n case \"manage\":\r\n default:\r\n $ctrl.currentView = \"search\";\r\n $state.go(\"search.form\", { dealerId: $ctrl.selectedDealerId, selectedDealerId: $ctrl.selectedDealerId, sectionStates: $ctrl.sectionStates }, { reload: \"search.form\" });\r\n }\r\n }\r\n\r\n $scope.$watch('$ctrl.presetId', function (newVal, oldVal, scope) {\r\n if (Number.isInteger(newVal) && newVal !== oldVal) {\r\n $ctrl.presetId = newVal;\r\n //reload menu from database as a new preset may be added to database\r\n searchPresetService.getSearchPresets()\r\n .then(loadMenu);\r\n }\r\n\r\n if (newVal === undefined || newVal === null) {\r\n $ctrl.presetId = null;\r\n }\r\n });\r\n\r\n function deleteSearchPreset(searchPreset) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"confirmDelete\";\r\n },\r\n message: function () {\r\n return $translate(\"deleteSearchWarningMessage\");\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n searchPresetService.deleteSearchPreset(searchPreset.userSearchConditionID)\r\n .then(function (response) {\r\n _.remove($ctrl.searchPresets, { userSearchConditionID: searchPreset.userSearchConditionID });\r\n })\r\n });\r\n }\r\n\r\n function deleteSharedSearchPreset(searchPreset) {\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"confirmDelete\";\r\n },\r\n message: function () {\r\n return $translate(\"deleteSharedSearchWarningMessage\");\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"continue\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n searchPresetService.deleteSearchPreset(searchPreset.userSearchConditionID)\r\n .then(function (response) {\r\n _.remove($ctrl.searchPresets, { userSearchConditionID: searchPreset.userSearchConditionID });\r\n })\r\n });\r\n\r\n }\r\n\r\n function shareSearchPreset(searchPreset) {\r\n\r\n if (isSearchNameDuplicate(searchPreset)) {\r\n var modal1 = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"shareSearch\";\r\n },\r\n message: function () {\r\n return $translate(\"duplicateSearchWarningMessage\");\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n closeButtonDisabled: function () {\r\n return true;\r\n },\r\n closeButtonText: function () {\r\n return \"ok\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n return;\r\n }\r\n\r\n searchPresetService.shareSearchPreset(searchPreset.userSearchConditionID)\r\n .then(function (response) {\r\n searchPreset.userSearchConditionGroupType = searchPresetTypes.dealer;\r\n $ctrl.sharedSearchesMenuVisible = true;\r\n })\r\n\r\n }\r\n\r\n function isSearchNameDuplicate(searchPreset) {\r\n\r\n var currentMenuItem = _.find($ctrl.searchPresets, (o) => { return o.searchConditionName == searchPreset.searchConditionName && o.userSearchConditionGroupType == searchPresetTypes.dealer });\r\n if (currentMenuItem)\r\n return true;\r\n else\r\n return false;\r\n\r\n }\r\n\r\n function unshareSearchPreset(searchPreset) {\r\n searchPresetService.unshareSearchPreset(searchPreset.userSearchConditionID)\r\n .then(function (response) {\r\n if ($ctrl.userId == searchPreset.userID) {\r\n searchPreset.userSearchConditionGroupType = searchPresetTypes.user;\r\n $ctrl.mySearchesMenuVisible = true;\r\n }\r\n else {\r\n _.remove($ctrl.searchPresets, { userSearchConditionID: searchPreset.userSearchConditionID });\r\n }\r\n\r\n })\r\n }\r\n\r\n function openSearchPreset(preset) {\r\n $ctrl.presetId = preset.userSearchConditionID;\r\n $state.go('search.form', { presetId: preset.userSearchConditionID, recentActivity: null }, { reload: 'search.form' });\r\n }\r\n\r\n function loadMenu(searchPresets) {\r\n\r\n //remove duplicate in multiple dealer mode\r\n $ctrl.searchPresets = _.uniqBy(searchPresets, 'userSearchConditionID');\r\n\r\n var currentMenuItem = _.find($ctrl.searchPresets, (o) => { return o.userSearchConditionID == $ctrl.presetId });\r\n\r\n if (currentMenuItem) {\r\n switch (currentMenuItem.userSearchConditionGroupType) {\r\n case searchPresetTypes.user:\r\n $ctrl.mySearchesMenuVisible = true;\r\n break;\r\n case searchPresetTypes.dealer:\r\n $ctrl.sharedSearchesMenuVisible = true;\r\n break;\r\n case searchPresetTypes.tag:\r\n $ctrl.tagBasedSearchesMenuVisible = true;\r\n break;\r\n case searchPresetTypes.common:\r\n $ctrl.predefinedSearchesMenuVisible = true;\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-container.component.html');\n\nimport angular from 'angular';\r\nimport './search-container.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchContainer', {\r\n templateUrl: '/app/components/search/search-container.component.html',\r\n controller: SearchContainer\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchContainer($state, dealerService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.searchMenuVisible = true;\r\n $ctrl.searchToggleMenu = searchToggleMenu;\r\n $ctrl.$onInit = init;\r\n $ctrl.permissions = {};\r\n $ctrl.selectedDealerId = 0;\r\n $ctrl.updateMenuSettings = updateMenuSettings;\r\n $ctrl.searchMenuPresetSections;\r\n $ctrl.selectedUserSearchConditionId;\r\n $ctrl.searchFormSectionStates;\r\n $ctrl.currentView = \"search\";\r\n\r\n function init() {\r\n $ctrl.searchFormSectionStates = {\r\n 0: true,\r\n 1: true,\r\n 2: false,\r\n 3: false,\r\n 4: false,\r\n };\r\n\r\n switch ($state.current.name) {\r\n case \"search.manage\":\r\n $ctrl.currentView = \"manage\";\r\n break;\r\n case \"search.form\":\r\n default:\r\n $ctrl.currentView = \"search\";\r\n }\r\n\r\n $ctrl.searchMenuPresetSections = {\r\n mySearchesMenuVisible: true,\r\n sharedSearchesMenuVisible: true,\r\n tagBasedSearchesMenuVisible: false,\r\n predefinedSearchesMenuVisible: false,\r\n };\r\n\r\n $ctrl.presetId = null;\r\n\r\n $ctrl.selectedDealerId = 0;\r\n var dealers = dealerService.getSelectedDealers();\r\n\r\n if (dealers.length === 1) {\r\n $ctrl.selectedDealerId = dealers[0].id;\r\n }\r\n else if (Number.isInteger($ctrl.dealerId)) {\r\n $ctrl.selectedDealerId = $ctrl.dealerId;\r\n }\r\n\r\n $ctrl.searchMenuVisible = false;\r\n\r\n }\r\n\r\n function updateMenuSettings(searchMenuSettings) {\r\n $ctrl.presetId = searchMenuSettings.selectedUserSearchConditionId;\r\n }\r\n\r\n function searchToggleMenu() {\r\n $ctrl.searchMenuVisible = !$ctrl.searchMenuVisible; \r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-manage-presets-container.component.html');\n\nimport angular from 'angular';\r\nimport './search-manage-presets-container.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchManagePresetsContainer', {\r\n templateUrl: '/app/components/search/search-manage-presets-container.component.html',\r\n controller: SearchManagePresetsContainer,\r\n bindings: {\r\n dealerId: '<',\r\n view: '<',\r\n kendo: '<',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchManagePresetsContainer(dealerService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.view = \"Manage\";\r\n\r\n var dealers = dealerService.getSelectedDealers();\r\n\r\n if (dealers.length === 1) {\r\n $ctrl.dealerId = dealers[0].id;\r\n }\r\n else if ($ctrl.dealerId === undefined || $ctrl.dealerId === null) {\r\n $ctrl.dealerId = 0;\r\n }\r\n\r\n }\r\n\r\n}\r\n","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.array.find-index\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.array.from\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/es6.number.constructor\";\nimport \"core-js/modules/es6.number.is-integer\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nSearchFormController.$inject = [\"$document\", \"$q\", \"$element\", \"$scope\", \"$state\", \"$sce\", \"$uibModal\", \"$translate\", \"searchService\", \"searchPresetService\", \"dealerService\", \"vehicleService\", \"userService\", \"storageService\", \"modules\", \"legacy\", \"urlHelper\", \"dealSheetService\", \"authorizationService\", \"authorizationKeys\", \"logger\", \"$logFactory\", \"environmentVariables\"];\n\n/* injects from baggage-loader */\nrequire('./search-form.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nimport './search-form.component.scss';\nimport { delay, TimeoutError } from \"../../utilities/promises\";\nimport { getUrlComponents } from \"../../utilities/url\";\nimport { ChildMessagePort } from '../../utilities/messaging';\nimport { searchFilters, filterTypes, filterNames, filterSources, saveResponseCodes } from './searchfilter-definitions';\nimport { AssetTypes } from '../../constants';\nimport { filter } from 'rxjs/operators';\nimport moment from 'moment';\nangular.module('AaApp.Opp').component('searchForm', {\n templateUrl: '/app/components/search/search-form.component.html',\n controller: SearchFormController,\n bindings: {\n presetId: '<',\n tagId: '<',\n dealerId: '<',\n activity: '<',\n selectedDealerId: '=',\n sectionStates: '=',\n onMenuSettingsChanged: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchFormController($document, $q, $element, $scope, $state, $sce, $uibModal, $translate, searchService, searchPresetService, dealerService, vehicleService, userService, storageService, modules, legacy, urlHelper, dealSheetService, authorizationService, authorizationKeys, logger, $logFactory, environmentVariables) {\n var originalIframeUrl = legacy.iframeUrl + \"/AlertDesk/Search?showgridonly=true\";\n var bulkTemplateUrl = legacy.iframeUrl + \"/AlertDesk/BulkOutput/BulkOutputWizard\";\n var assetTypes = AssetTypes;\n var $ctrl = this;\n var log = $logFactory.get();\n $ctrl.searchFilters = searchFilters;\n $ctrl.searchFilterSections;\n $ctrl.filterTypes = filterTypes;\n $ctrl.filterSources = filterSources;\n $ctrl.filterNames = filterNames;\n $ctrl.$onInit = onInit;\n $ctrl.dealers;\n $ctrl.selectedDealer;\n $ctrl.openBulkTemplateWizard = openBulkTemplateWizard;\n $ctrl.performSearch = performSearch;\n $ctrl.performExport = performExport;\n $ctrl.performEpsilonExport = performEpsilonExport;\n $ctrl.performReassign = performReassign;\n $ctrl.performAddAccess = performAddAccess;\n $ctrl.showDirectAlertModal = showDirectAlertModal;\n $ctrl.performDirectAlert = performDirectAlert;\n $ctrl.printGrid = printGrid;\n $ctrl.saveSearch = saveSearch;\n $ctrl.saveLayout = saveLayout;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.searchGridMessagePort;\n $ctrl.savedSearchModel;\n $ctrl.searchConditionName = \"\";\n $ctrl.SearchCriteria = {};\n $ctrl.searchResultsForm = {};\n $ctrl.tagId;\n $ctrl.popOverText = {};\n $ctrl.values = {};\n $ctrl.fieldValidation = {};\n $ctrl.updateTooltip = updateTooltip;\n $ctrl.clearAll = clearAll;\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeUrl);\n $ctrl.exportLayout;\n $ctrl.dealsheetDomain;\n $ctrl.showExportLink = false;\n $ctrl.showPrintLink = false;\n $ctrl.AllowBatchReassigning = false;\n $ctrl.AllowBatchAccess = false;\n $ctrl.CanSwitchUserDealer = false;\n $ctrl.One2OneAccess = false;\n $ctrl.searchGridResultsReady = false;\n $ctrl.saveSearchBtnDisabled = false;\n $ctrl.moreBtnDisabled = false;\n $ctrl.oneToOneBtnDisabled = false;\n $ctrl.enableDirectAlertCampaigns = false;\n $ctrl.dealerSettings = [];\n $ctrl.resultsGridPromise;\n $ctrl.isMultipleDealers = false;\n $ctrl.isEmployeeUser = false;\n $ctrl.templateBtnDisabled = false;\n $ctrl.CanPrintTemplate = false;\n $ctrl.unitOfMeasureKey;\n $ctrl.isMetric = false;\n $ctrl.countryId;\n\n function getInvalidFields() {\n var invalidFields = '';\n\n for (var s in $ctrl.searchFilters) {\n var invalidField = null;\n var sf = $ctrl.searchFilters[s]; // special field validation\n\n if (sf.fieldName == filterNames.CustomerEngagementGroups) {\n if ($ctrl.values[filterNames.CustomerEngagementGroups].length > 0) {\n $ctrl.fieldValidation[filterNames.HasEngagementDays] = $ctrl.values[filterNames.HasEngagementDays] != null && $ctrl.values[filterNames.HasEngagementDays] > 0;\n $ctrl.fieldValidation[filterNames.HasEngagementID] = $ctrl.values[filterNames.HasEngagementID] != \"A\";\n } else {\n $ctrl.fieldValidation[filterNames.HasEngagementID] = true;\n $ctrl.fieldValidation[filterNames.HasEngagementDays] = true;\n }\n }\n\n if ($ctrl.fieldValidation[sf.fieldName] != null && !$ctrl.fieldValidation[sf.fieldName] || $ctrl.fieldValidation[sf.fieldNameMin] != null && !$ctrl.fieldValidation[sf.fieldNameMin] || $ctrl.fieldValidation[sf.fieldNameMax] != null && !$ctrl.fieldValidation[sf.fieldNameMax]) invalidField = sf.displayNameKey;\n if (invalidField) invalidFields += $translate.instant(invalidField) + \", \";\n }\n\n if (invalidFields) invalidFields = invalidFields.slice(0, -2);\n return invalidFields;\n }\n\n $scope.$watch('$ctrl.presetId', function (newVal, oldVal, scope) {\n if (Number.isInteger($ctrl.presetId)) {\n loadSavedSearch();\n }\n });\n $scope.$watch(function () {\n return $ctrl.values[$ctrl.filterNames.MakesList];\n }, function (newVal, oldVal, scope) {\n getModelsByMakesYears();\n }, true // compare arrays using angular.equals()\n );\n $scope.$watch(function () {\n return $ctrl.values[$ctrl.filterNames.YearsList];\n }, function (newVal, oldVal, scope) {\n getModelsByMakesYears();\n }, true // compare arrays using angular.equals()\n );\n $scope.$watch(function () {\n return $ctrl.values[$ctrl.filterNames.ModelsList];\n }, function (newVal, oldVal, scope) {\n getTrims();\n }, true // compare arrays using angular.equals()\n );\n $scope.$watch(function () {\n return $ctrl.values[$ctrl.filterNames.Categories];\n }, function (newVal, oldVal, scope) {\n var fieldDisabled = newVal == null || newVal[$ctrl.filterNames.Categories + \"1\"] == false;\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.fieldName == $ctrl.filterNames.Priorities;\n })[0];\n searchFilter.fieldDisabled = fieldDisabled;\n }, true // compare arrays using angular.equals()\n );\n $scope.$watch(function () {\n return $ctrl.values[$ctrl.filterNames.CustomerEngagementGroups];\n }, function (newVal, oldVal, scope) {\n var result = newVal == null || newVal.length == 0;\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.fieldNameMin == $ctrl.filterNames.HasEngagementID;\n })[0];\n searchFilter.fieldDisabled = result;\n }, true // compare arrays using angular.equals()\n );\n $scope.$watch(function () {\n return $ctrl.values;\n }, function (newVal, oldVal, scope) {\n setDisabledUntilPerformSearch(true);\n }, true // compare arrays using angular.equals()\n );\n\n function isFordAlert() {\n if ($ctrl.selectedDealerId == 0) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = $ctrl.dealers[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var d = _step.value;\n\n if (d.dealerId != 0) {\n if (userService.isDealerEnabledForModule(d.id, modules.fordAlert)) {\n return true;\n }\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n } else return userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\n }\n\n function enableMvo(selectedDealerId) {\n var showMVO = false;\n var mvoField = $ctrl.searchFilters.find(function (filter) {\n return filter.fieldName == $ctrl.filterNames.MVO;\n });\n\n if (mvoField) {\n // if selectedDealerId is 0, all available dealers for user will be used:\n dealerService.getDealerFordInfo(selectedDealerId).then(function (dealerFordInfo) {\n for (var i = 0; i < dealerFordInfo.length; i++) {\n var dealer = dealerFordInfo[i];\n var isUS = dealer.countryID == 1; // only show if ANY a) non-Ford/Lincoln dealer or b) Ford National Program US dealer\n\n if (!dealer.hasLincolnMake && !dealer.hasFordMake || dealer.isFordAlert) {\n showMVO = true;\n break;\n }\n }\n\n mvoField.isDisabled = !showMVO;\n });\n }\n }\n\n function onInit() {\n if ($ctrl.sectionStates === null || $ctrl.sectionStates === undefined) $ctrl.sectionStates = {\n 0: true,\n 1: true,\n 2: false,\n 3: false,\n 4: false,\n 5: false\n };\n $ctrl.searchConditionName = \"\";\n $ctrl.showExportLink = false;\n $ctrl.showPrintLink = false;\n $ctrl.searchGridResultsReady = false;\n $ctrl.SearchCriteria = {};\n $ctrl.searchResultsForm = {};\n $ctrl.EnableDirectAlertCampaigns = false;\n $ctrl.AllowBatchReassigning = authorizationService.isAuthorized(authorizationKeys.AllowBatchReassigning);\n $ctrl.AllowBatchAccess = authorizationService.isAuthorized(authorizationKeys.AllowBatchAccess);\n $ctrl.CanSwitchUserDealer = authorizationService.isAuthorized(authorizationKeys.SwitchUserDealer);\n $ctrl.CanPrintTemplate = authorizationService.isAuthorized(authorizationKeys.PrintTemplate);\n $ctrl.One2OneAccess = authorizationService.isAuthorized(authorizationKeys.DirectAlert);\n $ctrl.searchFilterSections = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterType == $ctrl.filterTypes.Title || filter.filterType == $ctrl.filterTypes.CustomTitle;\n });\n $ctrl.dealers = dealerService.getSelectedDealers();\n $ctrl.isMultipleDealers = $ctrl.dealers.length > 1;\n\n if ($ctrl.dealers.length > 1) {\n $translate(['allDealerships']).then(function (translations) {\n $ctrl.dealers.unshift({\n id: 0,\n name: translations.allDealerships\n });\n });\n }\n\n userService.getUserProfile().then(function (userProfile) {\n $ctrl.isEmployeeUser = userProfile.employeeUser;\n $ctrl.countryId = userProfile.countryId;\n getMakes(userProfile.countryId);\n onInitOrLoad(); //moved from last line of this function to here, userProfile has to be available before calling this\n\n userService.getUserIsMetric(userProfile.countryId).then(function (isMetric) {\n $ctrl.unitOfMeasureKey = isMetric ? \"KilometersLabelShort\" : \"MilesLabelShort\";\n $ctrl.isMetric = isMetric;\n });\n });\n var selectedDealerId = storageService.getItem('selectedDealerId');\n\n if (selectedDealerId > 0) {\n $ctrl.selectedDealerId = selectedDealerId;\n } else if ($ctrl.dealerId) {\n $ctrl.selectedDealerId = $ctrl.dealerId;\n } // if no dealer has been selected yet and there is only one dealer or the selected dealer is no longer on the list of available dealers\n\n\n if ($ctrl.selectedDealerId === null && $ctrl.dealers.length === 1 || $ctrl.selectedDealerId > 0 && !$ctrl.dealers.some(function (d) {\n return d.id === $ctrl.selectedDealerId;\n })) $ctrl.selectedDealerId = $ctrl.dealers[0].id;\n var iframe = $element.find(\".ifrmSearchResults\")[0];\n var origin = getUrlComponents(originalIframeUrl).origin;\n $ctrl.searchGridMessagePort = new ChildMessagePort(iframe, origin, $scope);\n $ctrl.searchGridMessagePort.message$.pipe(filter(function (data) {\n return data['DEAL_SHEET_URL'];\n })).subscribe(function (data) {\n var url = data['DEAL_SHEET_URL'];\n dealSheetService.activeDealSheet = url + \"&snav=true\";\n var opportunityId = urlHelper.queryString(url).e;\n\n if (authorizationService.isEuroLite()) {\n $state.go('euroliteopportunities', {\n opportunityId: opportunityId\n });\n return;\n }\n\n dealSheetService.openDealSheetModal(opportunityId, url);\n });\n $ctrl.searchGridMessagePort.subscribe(function (_ref, replyPort) {\n var data = _ref.data;\n\n switch (data.type) {\n /*\r\n case \"SAVE_SEARCH_COMPLETED\":\r\n var result = data.data;\r\n if (result.status === 0 && result.searchID !== undefined) {\r\n $ctrl.presetId = result.searchID;\r\n logger.success(\"searchConditionsSaved\");\r\n }\r\n else {\r\n logger.warning(result.errorMessage);\r\n }\r\n break;\r\n */\n case \"EXPORT_LINK_VISIBILITY\":\n $ctrl.showExportLink = data.data.visible;\n break;\n\n case \"PRINT_LINK_VISIBILITY\":\n $ctrl.showPrintLink = data.data.visible;\n break;\n\n case \"SEARCH_RESULTS_READY\":\n $ctrl.searchGridResultsReady = true;\n setDisabledUntilPerformSearch(false);\n break;\n\n case \"SEARCH_REASSIGN_COMPLETED\":\n var reassignResult = data.data.reassignResult;\n\n if (reassignResult.Status === 0) {\n logger.success(\"searchReassignSuccessful\");\n performSearch();\n } else {\n logger.warning(reassignResult.Message);\n }\n\n break;\n\n case \"SEARCH_ADD_ACCESS_COMPLETED\":\n var addAccessResult = data.data.addAccessResult;\n\n if (addAccessResult.Status === 0) {\n logger.success(\"searchAddAccessSucessful\"); //performSearch();\n } else {\n logger.warning(reassignResult.Message);\n }\n\n break;\n\n default:\n }\n });\n getYears();\n getBanks();\n getSoldBy();\n getOwners();\n getTags();\n getRecallNumbers();\n getRecallTypes();\n getDealerSettings($ctrl.selectedDealerId);\n\n for (var f in $ctrl.searchFilters) {\n var field = $ctrl.searchFilters[f];\n updateTooltip(field.displayNameKey, field.filterType, field.tooltipText, null, null);\n }\n\n if ($ctrl.tagId) {\n searchService.getTagsForDealers($ctrl.selectedDealerId).then(function (tags) {\n var tag = _.find(tags, function (o) {\n return o.tagID == $ctrl.tagId;\n });\n\n $ctrl.values[$ctrl.filterNames.Tags] = tag.tagText;\n $ctrl.values[\"Source\"][\"ShowConquest\"] = true;\n performSearch();\n });\n }\n\n $ctrl.$onDestroy = function () {\n return $ctrl.searchGridMessagePort.close();\n };\n }\n\n function loadSavedSearch() {\n if ($ctrl.presetId != null) {\n initializeValues();\n searchPresetService.getSearchPreset($ctrl.presetId).then(function (savedSearchPreset) {\n $ctrl.searchConditionName = savedSearchPreset.searchConditionName;\n\n if (savedSearchPreset.searchConditionText) {\n var savedSearchModel = JSON.parse(savedSearchPreset.searchConditionText); //if (savedSearchModel.MfgrRecallNo != null && !Array.isArray(savedSearchModel.MfgrRecallNo)) {\n // savedSearchModel.MfgrRecallNo = [savedSearchModel.MfgrRecallNo];\n //}\n //if (savedSearchModel.NatRecallNo != null && !Array.isArray(savedSearchModel.NatRecallNo)) {\n // savedSearchModel.NatRecallNo = [savedSearchModel.NatRecallNo];\n //}\n // convert legacy object to portal object\n\n var portalSearchModel = convertLegacyObjectToPortalSearch(savedSearchModel); // set selected values\n\n for (var i in portalSearchModel) {\n $ctrl.values[i] = portalSearchModel[i];\n } //WEBUI-7422 no parameter manipulation for the following two egde cases\n\n\n if ($ctrl.values[$ctrl.filterNames.HasActivityID] == \"Y\" && $ctrl.values[$ctrl.filterNames.HasActivityDays] <= 30 || $ctrl.values[$ctrl.filterNames.HasActivityID] == \"N\") $ctrl.activity = null;\n\n if (Number.isInteger($ctrl.activity)) {\n $ctrl.values[$ctrl.filterNames.HasActivityDays] = 30;\n if ($ctrl.activity == 1) $ctrl.values[$ctrl.filterNames.HasActivityID] = \"Y\";else $ctrl.values[$ctrl.filterNames.HasActivityID] = \"N\"; //we set Activity only once when the form is loaded first time\n //$ctrl.activity = null;\n }\n\n setSectionsOpenCloseState(false);\n performSearch($ctrl.presetId);\n }\n }).catch(function (err) {\n logger.error(\"searchLoadSearchFailed\");\n $logFactory.log(err);\n });\n }\n\n onInitOrLoad();\n }\n\n function setSectionsOpenCloseState(state) {\n // open up all sections \n for (var section in $ctrl.sectionStates) {\n if (section > 0) $ctrl.sectionStates[section] = state; // change to false for prod\n }\n }\n\n function onInitOrLoad() {\n $ctrl.isFordAlert = isFordAlert();\n var privateOfferField = $ctrl.searchFilters.filter(function (filter) {\n return filter.fieldNameMin == $ctrl.filterNames.PrivateOfferMin;\n });\n var privateOfferFieldsPopulated = $ctrl.values[filterNames.PrivateOfferMin] && $ctrl.values[filterNames.PrivateOfferMax];\n var privateOfferSearchInvalid = !$ctrl.isFordAlert && privateOfferFieldsPopulated;\n privateOfferField[0].isDisabled = !$ctrl.isFordAlert && !privateOfferFieldsPopulated;\n\n if (privateOfferSearchInvalid) {\n logger.error(\"searchPrivateOfferErrorMessage\");\n }\n\n if (!$ctrl.isFordAlert) {\n var mappedToField = $ctrl.searchFilters.filter(function (filter) {\n return filter.fieldName == $ctrl.filterNames.MappedTo;\n });\n var keys = [\"searchCPOFordBlue\", \"searchCPOFordGold\"];\n var filteredList = mappedToField[0].availableValues.filter(function (m) {\n return !keys.includes(m.nameKey);\n });\n mappedToField[0].availableValues = filteredList;\n }\n\n enableMvo($ctrl.selectedDealerId);\n }\n\n function openReassignModal(_data) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'searchReassignModal',\n appendTo: parentElem,\n windowClass: 'search-reassign-modal',\n resolve: {\n data: function data() {\n return _data;\n }\n }\n });\n return modalInstance;\n }\n\n function openDirectAlertModal(_data2) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'searchDirectAlertModal',\n appendTo: parentElem,\n resolve: {\n data: function data() {\n return _data2;\n }\n }\n });\n return modalInstance;\n }\n\n function openAddAccessModal(_data3) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'searchAddAccessModal',\n appendTo: parentElem,\n windowClass: 'search-add-access-modal',\n resolve: {\n data: function data() {\n return _data3;\n }\n }\n });\n return modalInstance;\n }\n\n function openEpsilonExportModal(data) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'SearchExportEpsilonModal',\n appendTo: parentElem,\n windowClass: 'search-export-epsilon-modal',\n resolve: {\n renderedPromise: function renderedPromise() {\n return data;\n }\n }\n });\n return modalInstance;\n }\n\n function openEpsilonExportResultModal(data) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'searchExportEpsilonResultModal',\n appendTo: parentElem,\n windowClass: 'search-export-epsilon-result-modal',\n resolve: {\n renderedPromise: function renderedPromise() {\n return data;\n }\n }\n });\n return modalInstance;\n }\n\n function openExportModal(data) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'searchExportModal',\n appendTo: parentElem,\n windowClass: 'search-export-modal',\n resolve: {\n renderedPromise: function renderedPromise() {\n return data;\n },\n isFordAlert: $ctrl.isFordAlert\n }\n });\n return modalInstance;\n }\n\n function openSaveLayoutModal(data) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'searchSaveLayoutModal',\n appendTo: parentElem,\n windowClass: 'search-save-layout-modal',\n resolve: {\n renderedPromise: function renderedPromise() {\n return data;\n },\n isFordAlert: $ctrl.isFordAlert\n }\n });\n return modalInstance;\n }\n\n function openSaveSearchModal(_data4) {\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'searchSaveModal',\n appendTo: parentElem,\n resolve: {\n data: function data() {\n return _data4;\n }\n }\n });\n return modalInstance;\n }\n\n function saveSearch() {\n var rendered = $q.defer();\n $ctrl.saveSearchModalInstance = openSaveSearchModal({\n rendered: rendered.promise,\n selectedDealerId: $ctrl.selectedDealerId,\n searchConditionName: $ctrl.searchConditionName,\n dealers: $ctrl.dealers\n });\n $ctrl.saveSearchModalInstance.rendered.then(function () {\n rendered.resolve();\n });\n $ctrl.saveSearchModalInstance.result.then(function (result) {\n saveUsersSearch(result);\n });\n }\n\n function saveUsersSearch(result) {\n var searchModel = convertPortalSearchToLegacyObject($ctrl.values);\n searchService.saveSearch($ctrl.selectedDealerId, result.savedSearchName, result.autoShareSearch, result.autoShareSearchPosition, searchModel, result.assignPandoXRule, result.pandoXRuleQuantity, result.executePandoXImmediately, result.pandoXRuleCategoryId, result.searchActiveStartDate, result.searchActiveEndDate).then(function (response) {\n var modalPopupText = '';\n var displayModal = false;\n\n if (response.responseCode == saveResponseCodes.ShareSearchError) {\n logger.error($translate.instant(\"searchSaveError\"));\n return;\n } else if (response.responseCode == saveResponseCodes.Success) {\n $ctrl.presetId = response.userSearchConditionID;\n\n if (response.dealerIdsAutoShared.length == 0 && response.dealerIdsShareSkipped.length == 0) {\n logger.success($translate.instant(\"changesSaved\"));\n return;\n }\n }\n\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'searchSaveResponseModal',\n resolve: {\n title: function title() {\n return \"Message\";\n },\n saveResponse: function saveResponse() {\n return response;\n },\n dealers: function dealers() {\n return $ctrl.dealers;\n }\n }\n });\n });\n }\n\n function saveLayout() {\n var rendered = $q.defer();\n $ctrl.saveLayoutModalInstance = openSaveLayoutModal({\n rendered: rendered.promise,\n selectedDealerId: $ctrl.selectedDealerId\n });\n $ctrl.saveLayoutModalInstance.rendered.then(function () {\n rendered.resolve();\n });\n $ctrl.saveLayoutModalInstance.result.then(function (result) {\n if (result.success === true) {\n $ctrl.exportLayout = result.exportLayout; // reload search results\n\n performSearch();\n logger.success(\"searchLayoutSaved\");\n }\n });\n }\n\n function printGrid() {\n // we need a 1 second timeout here to allow any popups to close. otherwise the print dialog will prevent any outstanding popups close events from triggering\n setTimeout(function () {\n var msg = {\n type: 'PERFORM_PRINT_GRID',\n data: {}\n };\n $ctrl.searchGridMessagePort.postMessage(msg);\n }, 1000);\n }\n\n function performReassign() {\n var rendered = $q.defer();\n var reassignModalInstance = openReassignModal({\n rendered: rendered.promise,\n selectedDealerId: $ctrl.selectedDealerId,\n dealsheetDomain: $ctrl.dealsheetDomain\n });\n reassignModalInstance.rendered.then(function () {\n rendered.resolve();\n });\n reassignModalInstance.result.then(function (result) {\n performBatchReassign(result.assignedUsers);\n });\n }\n\n function showDirectAlertModal() {\n var dealerId = $ctrl.selectedDealerId;\n\n if (typeof dealerId != 'number') {\n throw new Error(\"Must select a single dealer\");\n }\n\n performDirectAlert(); //dealerService.getIsAssetEnabledForDealer(assetTypes.intelMarketing, dealerId)\n // .then(function (isEnabled) {\n // if (isEnabled) {\n // showOneToOneWarning();\n // } else {\n // performDirectAlert();\n // }\n // });\n }\n\n function showOneToOneWarning() {\n $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return $translate.instant(\"oneToOneIntelligentMarketing\");\n },\n message: function message() {\n return \"intelMarketingConfirmationMessage\";\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return false;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\";\n }\n }\n });\n }\n\n function performDirectAlert() {\n var rendered = $q.defer();\n var modalInstance = openDirectAlertModal({\n rendered: rendered.promise,\n selectedDealerId: $ctrl.selectedDealerId,\n searchCriteria: $ctrl.SearchCriteria,\n searchResultsForm: $ctrl.searchResultsForm\n });\n modalInstance.rendered.then(function () {\n rendered.resolve();\n });\n modalInstance.result.then(function (result) {\n $state.go('searchDirectAlert', {\n url: result.url\n });\n });\n }\n\n function performAddAccess() {\n var rendered = $q.defer();\n var addAccessModalInstance = openAddAccessModal({\n rendered: rendered.promise,\n selectedDealerId: $ctrl.selectedDealerId,\n dealsheetDomain: $ctrl.dealsheetDomain\n });\n addAccessModalInstance.rendered.then(function () {\n rendered.resolve();\n });\n addAccessModalInstance.result.then(function (result) {\n performBatchAddAccess(result.assignedUsers);\n });\n }\n\n function performBatchAddAccess(assignedUsers) {\n var msg = {\n type: 'PERFORM_BATCH_ADD_ACCESS',\n data: {\n assignedUsers: assignedUsers\n }\n };\n $ctrl.searchGridMessagePort.postMessage(msg);\n }\n\n function performBatchReassign(assignedUsers) {\n var msg = {\n type: 'PERFORM_BATCH_REASSIGN',\n data: {\n assignedUsers: assignedUsers\n }\n };\n $ctrl.searchGridMessagePort.postMessage(msg);\n }\n\n function performEpsilonExport() {\n var modalInstance = openEpsilonExportModal();\n modalInstance.result.then(function (result) {\n var dealerIds = [];\n $ctrl.resultsGridPromise = new $q(function (resolve, reject) {\n if ($ctrl.isMultipleDealers) {\n if (!$ctrl.selectedDealerId) {\n // null, undefined & 0 are all not truthy in JS\n dealerIds = Array.from($ctrl.dealers.filter(function (item) {\n return item.id != 0;\n }), function (x) {\n return x.id;\n });\n } else {\n dealerIds.push($ctrl.selectedDealerId);\n }\n } else {\n dealerIds = Array.from($ctrl.dealers.filter(function (item) {\n return item.id != 0;\n }), function (x) {\n return x.id;\n });\n ;\n }\n\n var searchModel = convertPortalSearchToLegacyObject($ctrl.values);\n var campaignTypeName = result.campaignType == '5' ? result.campaignTypeName : \"\";\n searchService.createDealerCampaignExportAudience(searchModel, result.campaignType, dealerIds, campaignTypeName).then(function (data) {\n resolve();\n openEpsilonExportResultModal(data);\n }).catch(function (e) {\n reject(e);\n });\n });\n });\n }\n\n function performExport() {\n var rendered = $q.defer();\n var exportModalInstance = openExportModal({\n rendered: rendered.promise,\n selectedDealerId: $ctrl.selectedDealerId\n });\n exportModalInstance.rendered.then(function () {\n rendered.resolve();\n });\n exportModalInstance.result.then(function (result) {\n $ctrl.exportLayout = result.exportLayout;\n generateExport(result.exportLayout);\n });\n }\n\n function generateExport(exportLayout) {\n var msg = {\n type: 'EXPORT_GENERATE',\n data: {\n exportLayout: exportLayout\n }\n };\n $ctrl.searchGridMessagePort.postMessage(msg);\n }\n\n function updateMenuSettings(presetId, activity) {\n var settings = {\n selectedUserSearchConditionId: null\n };\n\n if (presetId && activity === null) {\n settings.selectedUserSearchConditionId = presetId;\n }\n\n $ctrl.onMenuSettingsChanged({\n settings: settings\n });\n }\n\n function performSearch(presetId) {\n presetId = typeof presetId !== 'undefined' ? presetId : null;\n updateMenuSettings(presetId, $ctrl.activity);\n $ctrl.activity = null;\n $ctrl.presetId = null;\n var invalidFields = getInvalidFields();\n\n if (!invalidFields) {\n $ctrl.values[$ctrl.filterNames.LayoutModuleName] = \"Search\";\n $ctrl.values[$ctrl.filterNames.LayoutModuleTitle] = \"Manage Search\";\n $ctrl.values[$ctrl.filterNames.ZipDistanceUnits] = $ctrl.isMetric ? \"kilometers\" : \"miles\";\n var json = convertPortalSearchToLegacyObject($ctrl.values);\n $ctrl.SearchCriteria = json;\n var msg = {\n 'task': 'perform_search',\n 'searchData': json\n };\n\n try {\n $ctrl.searchGridMessagePort.postMessage(msg);\n } catch (e) {// SEARCH_RESULTS_FAILED message will be triggered in this case. Do nothing.\n }\n\n $ctrl.resultsGridPromise = new $q(function (resolve, reject) {\n var sub = $ctrl.searchGridMessagePort.message$.subscribe(function (data) {\n if (data.type == \"PERFORM_SEARCH_COMPLETED\") {\n sub.unsubscribe();\n resolve();\n $ctrl.dealsheetDomain = data.data.dealsheetDomain;\n $ctrl.searchResultsForm = data.data.searchResultsForm;\n }\n\n if (data.type == \"SEARCH_RESULTS_FAILED\") {\n logger.error(\"searchInvalidFieldsMessageGeneric\");\n sub.unsubscribe();\n resolve();\n }\n });\n delay(30000).then(function () {\n // no search should take longer than 30 seconds\n sub.unsubscribe();\n reject(new TimeoutError());\n });\n });\n } else {\n var errorMessage = $translate.instant(\"searchInvalidFieldsMessage\") + \" \" + invalidFields;\n logger.error(errorMessage);\n setSectionsOpenCloseState(true);\n }\n }\n\n function getMakes(countryId) {\n vehicleService.getMakes(null, countryId).then(function (dealerMakes) {\n if (dealerMakes) {\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.Makes;\n })[0];\n searchFilter.availableValues = dealerMakes.map(function (obj) {\n var rObj = {};\n rObj['value'] = obj.makeID;\n rObj['nameText'] = obj.makeName;\n return rObj;\n });\n }\n }).catch(function (error) {\n log.log(error);\n });\n }\n\n function getRecallNumbers() {\n vehicleService.getVinRecallNos($ctrl.selectedDealerId).then(function (vinRecallNos) {\n if (vinRecallNos) {\n // MfgrRecallNos list\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.MfgrRecallNos;\n })[0];\n searchFilter.availableValues = vinRecallNos.mfgrRecallNos.filter(function (value) {\n return value != null;\n }).map(function (value) {\n var rObj = {};\n rObj['value'] = value;\n rObj['nameText'] = value;\n rObj['groupName'] = -1;\n return rObj;\n }); //searchFilter.availableValues.splice(0, 0, { value: \"\", nameText: \"\", groupName: -1 });\n // NatRecallNos list\n\n searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.NatRecallNos;\n })[0];\n searchFilter.availableValues = vinRecallNos.natRecallNos.filter(function (value) {\n return value != null;\n }).map(function (value) {\n var rObj = {};\n rObj['value'] = value;\n rObj['nameText'] = value;\n rObj['groupName'] = -1;\n return rObj;\n }); //searchFilter.availableValues.splice(0, 0, { value: \"\", nameText: \"\", groupName: -1 });\n }\n }).catch(function (error) {\n log.log(error);\n });\n }\n\n function getRecallTypes() {\n vehicleService.getVinRecallTypes().then(function (vinRecallTypes) {\n if (vinRecallTypes) {\n // RecallType list\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.RecallTypes;\n })[0];\n searchFilter.availableValues = vinRecallTypes.map(function (rt) {\n var rObj = {};\n rObj['value'] = rt.vinRecallTypeId;\n rObj['nameText'] = rt.vinRecallTypeDescription;\n rObj['groupName'] = -1;\n return rObj;\n });\n searchFilter.availableValues.splice(0, 0, {\n value: \"\",\n nameText: \"\",\n groupName: -1\n });\n }\n }).catch(function (error) {\n log.log(error);\n });\n }\n\n function getTags() {\n searchService.getTagsForDealers($ctrl.selectedDealerId).then(function (tags) {\n if (tags) {\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.Tags;\n })[0];\n searchFilter.availableValues = tags.map(function (obj) {\n var rObj = {};\n rObj['value'] = obj.tagText;\n rObj['nameText'] = obj.tagText;\n return rObj;\n }); // create distinct list of models\n\n searchFilter.availableValues = removeDuplicates(searchFilter.availableValues, \"value\");\n }\n });\n }\n\n function getTrims() {\n vehicleService.getTrimsByModels(getSelectedIds($ctrl.filterNames.ModelsList)).then(function (dealerTrims) {\n if (dealerTrims) {\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.Trims;\n })[0];\n searchFilter.availableValues = dealerTrims.map(function (obj) {\n var rObj = {};\n rObj['value'] = obj.trimName;\n rObj['nameText'] = obj.trimName;\n return rObj;\n }); // create distinct list of models\n\n searchFilter.availableValues = removeDuplicates(searchFilter.availableValues, \"value\"); // sort models\n\n searchFilter.availableValues = searchFilter.availableValues.sort(compareValues(\"value\"));\n }\n }).catch(function (error) {\n log.log(error);\n });\n }\n\n function getBanks() {\n searchService.getBankSelect($ctrl.selectedDealerId).then(function (banks) {\n if (banks) {\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.Banks;\n })[0];\n searchFilter.availableValues = banks.map(function (obj) {\n var rObj = {};\n rObj[\"value\"] = obj.bankSearchMask == null ? obj.bankId : obj.bankSearchMask; // we need to use the bankName (not the ID) so the name matching capability will work. at starts with these characters.\n\n rObj['nameText'] = obj.bankName;\n rObj[\"groupName\"] = obj.type == 0 ? $translate.instant(\"bankSelectType0\") : $translate.instant(\"bankSelectType1\");\n return rObj;\n });\n searchFilter.groupNames = [];\n\n for (var value in searchFilter.availableValues) {\n if (!searchFilter.groupNames.some(function (s) {\n return s == searchFilter.availableValues[value].groupName;\n })) searchFilter.groupNames.push(searchFilter.availableValues[value].groupName);\n }\n\n searchFilter.availableValues.splice(0, 0, {\n value: 0,\n nameText: \"\",\n groupName: -1\n });\n $ctrl.values[$ctrl.filterNames.BankID] = \"0\";\n }\n }).catch(function (error) {\n log.log(error);\n });\n }\n\n function getSoldBy() {\n searchService.getSoldBySearchByDealers($ctrl.selectedDealerId).then(function (soldByUsers) {\n if (soldByUsers) {\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.SoldBy;\n })[0];\n searchFilter.availableValues = soldByUsers.map(function (obj) {\n var rObj = {};\n rObj['value'] = obj.displayName;\n rObj['nameText'] = obj.displayName;\n return rObj;\n });\n }\n }).catch(function (error) {\n log.log(error);\n });\n }\n\n function getOwners() {\n userService.getUsers($ctrl.selectedDealerId).then(function (users) {\n if (users) {\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.Owner;\n })[0];\n searchFilter.availableValues = users.map(function (obj) {\n var rObj = {};\n rObj['value'] = obj.id;\n rObj['nameText'] = obj.fullName;\n return rObj;\n }); // sort models\n\n searchFilter.availableValues = searchFilter.availableValues.sort(compareValues(\"nameText\"));\n searchFilter.availableValues.splice(0, 0, {\n value: -1,\n nameText: \"[Orphans]\"\n }); // TODO: add translation\n }\n }).catch(function (error) {\n log.log(error);\n });\n }\n\n function getModelsByMakesYears() {\n var makeIds = getSelectedValue($ctrl.filterNames.MakesList);\n var years = getSelectedValue($ctrl.filterNames.YearsList);\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.Models;\n })[0];\n\n if (makeIds.length > 0 || years.length > 0) {\n vehicleService.getModelsByMakesYears(makeIds, years).then(function (dealerModels) {\n // we need to pull and check makeId and years again because these values may have changed on another thread (such as searchFilter.availableValues = [] below) -Brad O. 2/4/2019\n makeIds = getSelectedValue($ctrl.filterNames.MakesList);\n years = getSelectedValue($ctrl.filterNames.YearsList);\n\n if (makeIds.length > 0 || years.length > 0) {\n if (dealerModels.length > 0) {\n searchFilter.availableValues = dealerModels.map(function (obj) {\n var rObj = {};\n rObj['value'] = obj.modelName;\n rObj['nameText'] = obj.modelName;\n rObj[\"id\"] = obj.modelID;\n return rObj;\n }); // create distinct list of models\n\n searchFilter.availableValues = removeDuplicates(searchFilter.availableValues, \"value\"); // sort models\n\n searchFilter.availableValues = searchFilter.availableValues.sort(compareValues(\"value\"));\n } else {\n $ctrl.values[searchFilter.fieldName] = [];\n searchFilter.availableValues = [];\n }\n }\n }).catch(function (error) {\n log.log(error);\n });\n } else {\n searchFilter.availableValues = [];\n $ctrl.values[searchFilter.fieldName] = [];\n }\n }\n\n function getYears() {\n var searchFilter = $ctrl.searchFilters.filter(function (filter) {\n return filter.filterSource == $ctrl.filterSources.Years;\n })[0];\n var currentYear = new Date().getFullYear();\n var yearValues = [];\n\n for (var i = currentYear + 1; i > currentYear - 10; i--) {\n var rObj = {};\n rObj['value'] = i;\n rObj[\"nameText\"] = i;\n yearValues.push(rObj);\n }\n\n searchFilter.availableValues = yearValues;\n }\n\n function getSelectedValue(fieldName) {\n var selectedValues = $ctrl.values[fieldName];\n var values = [];\n\n for (var v in selectedValues) {\n values.push(selectedValues[v].value);\n }\n\n return values;\n }\n\n function getSelectedIds(fieldName) {\n var selectedValues = $ctrl.values[fieldName];\n var ids = [];\n\n for (var v in selectedValues) {\n ids.push(selectedValues[v].id);\n }\n\n return ids;\n }\n\n function onDealerSelect() {\n storageService.setItem(\"selectedDealerId\", $ctrl.selectedDealerId);\n getBanks();\n getSoldBy();\n getOwners();\n getTags();\n getRecallNumbers();\n getRecallTypes();\n getDealerSettings($ctrl.selectedDealerId);\n onInitOrLoad();\n }\n\n function getDealerSettings(dealerId) {\n if (dealerId <= 0 || dealerId === undefined) {\n return;\n }\n\n var index = _.findIndex($ctrl.dealerSettings, function (d) {\n return d.dealerId === $ctrl.selectedDealerId;\n });\n\n if (index >= 0) {\n $ctrl.enableDirectAlertCampaigns = $ctrl.dealerSettings[index].enableDirectAlertCampaigns;\n } else {\n dealerService.getDealerSettings($ctrl.selectedDealerId).then(function (settings) {\n settings.dealerId = $ctrl.selectedDealerId;\n $ctrl.dealerSettings.push(settings);\n $ctrl.enableDirectAlertCampaigns = settings.enableDirectAlertCampaigns;\n });\n }\n }\n\n function openBulkTemplateWizard() {\n var dealerId = $ctrl.selectedDealerId;\n\n if (typeof dealerId != 'number') {\n throw new Error(\"Must select a single dealer\");\n }\n\n var _onRendered = $q.defer();\n\n var modal = $uibModal.open({\n component: \"bulkTemplateWizardModal\",\n size: 'lg',\n resolve: {\n onRendered: function onRendered() {\n return {\n promise: _onRendered.promise\n };\n },\n src: function src() {\n return \"\".concat(bulkTemplateUrl, \"?dealerID=\").concat(dealerId);\n },\n title: function title() {\n return \"selectCustomers\";\n },\n searchGridMessagePort: function searchGridMessagePort() {\n return $ctrl.searchGridMessagePort;\n }\n }\n });\n modal.rendered.then(function () {\n return _onRendered.resolve();\n });\n }\n\n function convertLegacyObjectToPortalSearch(legacyObj) {\n var portalObj = {};\n\n for (var s in $ctrl.searchFilters) {\n var sf = $ctrl.searchFilters[s];\n var selected;\n var av;\n\n switch (sf.filterType) {\n case $ctrl.filterTypes.TextBox:\n portalObj[sf.fieldName] = legacyObj[sf.fieldName];\n break;\n\n case $ctrl.filterTypes.TextBoxRange:\n portalObj[sf.fieldNameMin] = legacyObj[sf.fieldNameMin] != null ? \"\" + legacyObj[sf.fieldNameMin] : null;\n portalObj[sf.fieldNameMax] = legacyObj[sf.fieldNameMax] != null ? \"\" + legacyObj[sf.fieldNameMax] : null;\n break;\n\n case $ctrl.filterTypes.DatepickerRange:\n portalObj[sf.fieldNameMin] = legacyObj[sf.fieldNameMin] ? new Date(legacyObj[sf.fieldNameMin]) : null;\n portalObj[sf.fieldNameMax] = legacyObj[sf.fieldNameMax] ? new Date(legacyObj[sf.fieldNameMax]) : null;\n break;\n\n case $ctrl.filterTypes.DropdownList:\n portalObj[sf.fieldName] = legacyObj[sf.fieldName];\n break;\n\n case $ctrl.filterTypes.MultiSelectList:\n selected = legacyObj[sf.fieldName];\n portalObj[sf.fieldName] = [];\n\n for (var sel in selected) {\n av = sf.availableValues.filter(function (filter) {\n var value = filter.valueOverride ? filter.valueOverride : filter.value;\n return value == selected[sel];\n })[0];\n if (av != null) portalObj[sf.fieldName].push(av);else portalObj[sf.fieldName].push({\n value: selected[sel]\n });\n }\n\n break;\n\n case $ctrl.filterTypes.CheckBoxList:\n if (!portalObj[sf.fieldName]) portalObj[sf.fieldName] = {};\n\n for (var v in sf.availableValues) {\n av = sf.availableValues[v];\n var fieldName = sf.availableValuesUsefieldName ? sf.fieldName : av.name;\n selected = legacyObj[fieldName];\n\n if (selected != null) {\n if (sf.availableValuesUsefieldName) {\n portalObj[sf.fieldName][av.name] = selected.some(function (s) {\n return s == av.valueOverride;\n });\n } else {\n portalObj[sf.fieldName][av.name] = selected;\n }\n }\n }\n\n break;\n }\n }\n\n legacyObj[$ctrl.filterNames.DealerID] = $ctrl.selectedDealerId != null ? $ctrl.selectedDealerId.toString() : \"0\";\n return portalObj;\n }\n\n function convertPortalSearchToLegacyObject(portalObj) {\n var legacyObj = {};\n\n for (var s in $ctrl.searchFilters) {\n var sf = $ctrl.searchFilters[s];\n var selected;\n\n switch (sf.filterType) {\n case $ctrl.filterTypes.TextBox:\n legacyObj[sf.fieldName] = portalObj[sf.fieldName];\n break;\n\n case $ctrl.filterTypes.TextBoxRange:\n legacyObj[sf.fieldNameMin] = portalObj[sf.fieldNameMin];\n legacyObj[sf.fieldNameMax] = portalObj[sf.fieldNameMax];\n break;\n\n case $ctrl.filterTypes.DatepickerRange:\n var fieldNameMin = portalObj[sf.fieldNameMin] ? portalObj[sf.fieldNameMin] : null;\n var fieldNameMax = portalObj[sf.fieldNameMax] ? portalObj[sf.fieldNameMax] : null;\n legacyObj[sf.fieldNameMin] = fieldNameMin ? moment(fieldNameMin).format(\"YYYY-MM-DD[T]HH:mm:ss\") : null;\n legacyObj[sf.fieldNameMax] = fieldNameMax ? moment(fieldNameMax).format(\"YYYY-MM-DD[T]HH:mm:ss\") : null;\n break;\n\n case $ctrl.filterTypes.DropdownList:\n legacyObj[sf.fieldName] = portalObj[sf.fieldName];\n break;\n\n case $ctrl.filterTypes.MultiSelectList:\n selected = portalObj[sf.fieldName];\n legacyObj[sf.fieldName] = [];\n\n for (var sel in selected) {\n legacyObj[sf.fieldName].push(selected[sel].value);\n }\n\n break;\n\n case $ctrl.filterTypes.CheckBoxList:\n if (sf.availableValuesUsefieldName) {\n if (!legacyObj[sf.fieldName]) legacyObj[sf.fieldName] = [];\n }\n\n selected = portalObj[sf.fieldName];\n\n for (var v in sf.availableValues) {\n var av = sf.availableValues[v];\n\n if (selected != null && selected[av.name]) {\n var value = av.valueOverride ? av.valueOverride : selected[av.name];\n if (sf.availableValuesUsefieldName) legacyObj[sf.fieldName].push(value);else legacyObj[av.name] = value;\n }\n }\n\n break;\n }\n }\n\n legacyObj[$ctrl.filterNames.DealerID] = $ctrl.selectedDealerId != null ? $ctrl.selectedDealerId.toString() : \"0\";\n legacyObj[\"IsFordAlertDealer\"] = $ctrl.isFordAlert;\n legacyObj[$ctrl.filterNames.ZipDistanceUnits] = portalObj[$ctrl.filterNames.ZipDistanceUnits];\n\n if (portalObj[$ctrl.filterNames.ZipDistance] == null) {\n legacyObj[$ctrl.filterNames.ZipDistance] = \"0\";\n }\n\n return legacyObj;\n }\n\n function updateTooltip(displayNameKey, filterType, tooltipText, selectedValues, availableValues) {\n var selectedSummary = \"\";\n\n switch (filterType) {\n case $ctrl.filterTypes.MultiSelectList:\n if (selectedValues != null && selectedValues.length > 0) {\n for (var i in availableValues) {\n var av = availableValues[i];\n if (selectedValues.some(function (s) {\n return s.nameText == av.nameText;\n })) selectedSummary += av.nameText + \", \";\n }\n\n selectedSummary = selectedSummary.slice(0, -2); // remove final comma\n }\n\n if (selectedSummary) tooltipText = selectedSummary;\n break;\n }\n\n $ctrl.popOverText[displayNameKey] = tooltipText;\n }\n\n function clearAll() {\n initializeValues();\n }\n\n function initializeValues() {\n for (var f in $ctrl.searchFilters) {\n var field = $ctrl.searchFilters[f]; // set tooltip\n\n updateTooltip(field.fieldName, field.filterType, field.tooltipText, null, null);\n field.triggerInit = true;\n }\n\n $ctrl.searchConditionName = \"\";\n }\n\n function removeDuplicates(myArr, prop) {\n return myArr.filter(function (obj, pos, arr) {\n return arr.map(function (mapObj) {\n return mapObj[prop];\n }).indexOf(obj[prop]) === pos;\n });\n }\n\n function compareValues(key) {\n var order = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'asc';\n return function (a, b) {\n if (!a.hasOwnProperty(key) || !b.hasOwnProperty(key)) {\n // property doesn't exist on either object\n return 0;\n }\n\n var varA = typeof a[key] === 'string' ? a[key].toUpperCase() : a[key];\n var varB = typeof b[key] === 'string' ? b[key].toUpperCase() : b[key];\n var comparison = 0;\n\n if (varA > varB) {\n comparison = 1;\n } else if (varA < varB) {\n comparison = -1;\n }\n\n return order == 'desc' ? comparison * -1 : comparison;\n };\n }\n\n function setDisabledUntilPerformSearch(value) {\n $ctrl.saveSearchBtnDisabled = $ctrl.isEmployeeUser && $ctrl.isMultipleDealers ? true : value;\n $ctrl.oneToOneBtnDisabled = $ctrl.selectedDealerId == 0 ? true : value;\n $ctrl.templateBtnDisabled = $ctrl.selectedDealerId == 0 ? true : value;\n $ctrl.moreBtnDisabled = value;\n }\n}","import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/web.dom.iterable\";\nUICheckBoxList.$inject = [\"$scope\", \"$state\"];\n\n/* injects from baggage-loader */\nrequire('./ui-checkboxlist.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('uiCheckboxList', {\n templateUrl: '/app/components/search/ui-checkboxlist.component.html',\n controller: UICheckBoxList,\n bindings: {\n titleKey: '<',\n displayNameKey: '<',\n values: '<',\n hideDisplayName: '<',\n displayNameCssClass: '<',\n value: '=',\n triggerInit: '='\n }\n});\n/* @ngInject */\n\nfunction UICheckBoxList($scope, $state) {\n var $ctrl = this;\n $ctrl.$onInit = onInit;\n $scope.$watch('$ctrl.triggerInit', function (newVal, oldVal, scope) {\n if ($ctrl.triggerInit) {\n $ctrl.triggerInit = false;\n onInit();\n }\n });\n\n function onInit() {\n if (!$ctrl.displayNameCssClass) $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\n $ctrl.value = {};\n $ctrl.values.forEach(function (option) {\n $ctrl.value[option.name] = option.value;\n });\n }\n}","import \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nUITextBox.$inject = [\"$scope\", \"$state\"];\n\n/* injects from baggage-loader */\nrequire('./ui-textbox.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('uiTextbox', {\n templateUrl: '/app/components/search/ui-textbox.component.html',\n controller: UITextBox,\n bindings: {\n displayNameKey: '<',\n displayNameCssClass: '<',\n value: '=',\n triggerInit: \"=\",\n availableValues: \"<\",\n maxLength: \"<\",\n isValid: \"=\"\n }\n});\n/* @ngInject */\n\nfunction UITextBox($scope, $state) {\n var $ctrl = this;\n $ctrl.$onInit = onInit;\n $ctrl.validate = validate;\n $scope.$watch('$ctrl.triggerInit', function (newVal, oldVal, scope) {\n if ($ctrl.triggerInit) {\n $ctrl.triggerInit = false;\n onInit();\n }\n });\n\n function onInit() {\n if (!$ctrl.displayNameCssClass) $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\n $ctrl.value = \"\";\n }\n\n function validate() {\n if ($ctrl.value && $ctrl.value.value) $ctrl.value = $ctrl.value.value; // get rid of the object created by typeahead\n // disallow illegal characters\n\n var invalidCharacters = ['<'];\n var isValid = true;\n\n for (var _i = 0; _i < invalidCharacters.length; _i++) {\n var c = invalidCharacters[_i];\n if ($ctrl.value && $ctrl.value.includes(c)) isValid = false;\n }\n\n $ctrl.isValid = isValid;\n }\n}","import \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nUIDropdownList.$inject = [\"$scope\", \"$translate\"];\n\n/* injects from baggage-loader */\nrequire('./ui-dropdownlist.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('uiDropdownList', {\n templateUrl: '/app/components/search/ui-dropdownlist.component.html',\n controller: UIDropdownList,\n bindings: {\n fieldName: \"<\",\n displayNameKey: '<',\n displayNameCssClass: '<',\n values: '<',\n availableGroupNames: '<',\n value: '=',\n multiSelect: '<',\n includeDefaultOption: '<',\n isDisabled: \"<\",\n triggerInit: \"=\",\n onChanged: \"&\"\n }\n});\n/* @ngInject */\n\nfunction UIDropdownList($scope, $translate) {\n var $ctrl = this;\n $ctrl.multiSelect = $ctrl.multiSelect ? $ctrl.multiSelect : false;\n $ctrl.$onInit = onInit;\n $ctrl.onSelectionChanged = onSelectionChanged;\n $ctrl.settingsDropdown = {\n dropdownDisable: true,\n template: '{{option.nameText}}',\n smartButtonTextConverter: function smartButtonTextConverter(itemText, option) {\n return option.nameText;\n },\n checkBoxes: true,\n smartButtonMaxItems: 5,\n showCheckAll: true,\n showUncheckAll: true,\n scrollable: true,\n idProperty: 'value'\n };\n $scope.$watch('$ctrl.triggerInit', function (newVal, oldVal, scope) {\n if ($ctrl.triggerInit) {\n $ctrl.triggerInit = false;\n onInit();\n }\n });\n $scope.$watch('$ctrl.values', function (newVal, oldVal, scope) {\n if ($ctrl.values) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = $ctrl.values[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var val = _step.value;\n\n if (val.nameKey) {\n val.nameText = $translate.instant(val.nameKey);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n });\n\n function onInit() {\n if (!$ctrl.displayNameCssClass) $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\n\n if (!$ctrl.multiSelect && $ctrl.values.length > 0) {\n $ctrl.value = $ctrl.values[0].value;\n\n for (var ssav in $ctrl.values) {\n if ($ctrl.values[ssav].selected) {\n $ctrl.value = $ctrl.values[ssav].value;\n }\n }\n }\n\n if ($ctrl.multiSelect) {\n $ctrl.value = [];\n\n for (var msav in $ctrl.values) {\n if ($ctrl.values[msav].selected) {\n $ctrl.value.push($ctrl.values[msav]);\n }\n }\n }\n }\n\n function onSelectionChanged() {\n $ctrl.onChanged({\n selectedValues: $ctrl.value\n });\n }\n}","import \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nimport \"core-js/modules/es6.regexp.constructor\";\nimport \"core-js/modules/es6.regexp.replace\";\nUITextBoxRange.$inject = [\"$scope\", \"$state\"];\n\n/* injects from baggage-loader */\nrequire('./ui-textbox-range.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('uiTextboxRange', {\n templateUrl: '/app/components/search/ui-textbox-range.component.html',\n controller: UITextBoxRange,\n bindings: {\n displayNameKey: \"<\",\n displayNameCssClass: \"<\",\n hideDisplayName: \"<\",\n separatorCharacter: \"<\",\n availableValues: '<',\n minValue: '<',\n maxValue: '<',\n fieldDefaultValues: '<',\n selectedValueFirst: \"=\",\n selectedValueLast: \"=\",\n isValidSelectedValueFirst: \"=\",\n isValidSelectedValueLast: \"=\",\n isDisabled: \"<\",\n rightCharacter: \"<\",\n triggerInit: \"=\",\n regexFirst: \"<\",\n regexLast: \"<\",\n maxLength: \"<\",\n unitOfMeasureKey: \"<\"\n }\n});\n/* @ngInject */\n\nfunction UITextBoxRange($scope, $state) {\n var $ctrl = this;\n $ctrl.selectedValueFirstCSSClass;\n $ctrl.selectedValueLastCSSClass;\n $ctrl.validate = validate;\n $ctrl.$onInit = onInit;\n $scope.$watch('$ctrl.triggerInit', function (newVal, oldVal, scope) {\n if ($ctrl.triggerInit) {\n $ctrl.triggerInit = false;\n onInit();\n }\n });\n $scope.$watch('$ctrl.isValidSelectedValueFirst', function (newVal, oldVal, scope) {\n SetValidationCSS();\n });\n $scope.$watch('$ctrl.isValidSelectedValueLast', function (newVal, oldVal, scope) {\n SetValidationCSS();\n });\n\n function onInit() {\n if (!$ctrl.displayNameCssClass) $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\n\n if ($ctrl.availableValues) {\n $ctrl.selectedValueFirst = $ctrl.availableValues[0].value;\n $ctrl.selectedValueLast = \"\";\n } else {\n $ctrl.selectedValueFirst = \"\";\n $ctrl.selectedValueLast = \"\";\n }\n\n if ($ctrl.fieldDefaultValues) {\n if ($ctrl.fieldDefaultValues[0]) $ctrl.selectedValueFirst = $ctrl.fieldDefaultValues[0];\n if ($ctrl.fieldDefaultValues[1]) $ctrl.selectedValueLast = $ctrl.fieldDefaultValues[1];\n }\n\n validate();\n }\n\n function validate() {\n $ctrl.isValidSelectedValueFirst = true;\n $ctrl.isValidSelectedValueLast = true;\n\n if (!$ctrl.availableValues && !$ctrl.rightCharacter) {\n // TODO: find better way to check if range validation should be done later\n $ctrl.selectedValueFirst = $ctrl.selectedValueFirst ? $ctrl.selectedValueFirst.replace(\",\", \"\") : null;\n $ctrl.isValid = isValid;\n if ($ctrl.minValue != null && parseFloat($ctrl.selectedValueFirst) < $ctrl.minValue) $ctrl.selectedValueFirst = $ctrl.minValue;\n\n if ($ctrl.selectedValueFirst && $ctrl.selectedValueLast) {\n $ctrl.isValidSelectedValueFirst = parseFloat($ctrl.selectedValueFirst) <= parseFloat($ctrl.selectedValueLast);\n $ctrl.isValidSelectedValueLast = parseFloat($ctrl.selectedValueFirst) <= parseFloat($ctrl.selectedValueLast);\n } // Regex validation\n\n\n if ($ctrl.isValidSelectedValueFirst && $ctrl.selectedValueFirst && $ctrl.regexFirst) {\n var reFirst = new RegExp($ctrl.regexFirst);\n $ctrl.isValidSelectedValueFirst = reFirst.test($ctrl.selectedValueFirst);\n }\n } // disallow illegal characters\n\n\n var invalidCharacters = ['<'];\n var isValid = true;\n\n for (var _i = 0; _i < invalidCharacters.length; _i++) {\n var c = invalidCharacters[_i];\n if ($ctrl.selectedValueFirst && $ctrl.selectedValueFirst.includes(c)) $ctrl.isValidSelectedValueFirst = false;\n if ($ctrl.selectedValueLast && $ctrl.selectedValueLast.includes(c)) $ctrl.isValidSelectedValueLast = false;\n }\n\n $ctrl.selectedValueLast = $ctrl.selectedValueLast ? $ctrl.selectedValueLast.replace(\",\", \"\") : null;\n if ($ctrl.maxValue != null && parseFloat($ctrl.selectedValueLast) > $ctrl.maxValue) $ctrl.selectedValueLast = $ctrl.maxValue;\n\n if ($ctrl.isValidSelectedValueLast && $ctrl.selectedValueLast && $ctrl.regexLast) {\n var reLast = new RegExp($ctrl.regexLast);\n $ctrl.isValidSelectedValueLast = reLast.test($ctrl.selectedValueLast);\n }\n\n SetValidationCSS();\n }\n\n function SetValidationCSS() {\n $ctrl.selectedValueFirstCSSClass = $ctrl.isValidSelectedValueFirst ? \"valid\" : \"invalid\";\n $ctrl.selectedValueLastCSSClass = $ctrl.isValidSelectedValueLast ? \"valid\" : \"invalid\";\n }\n}","UIDatepickerRange.$inject = [\"$scope\", \"$state\", \"dateFormatService\"];\n\n/* injects from baggage-loader */\nrequire('./ui-datepicker-range.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('uiDatepickerRange', {\n templateUrl: '/app/components/search/ui-datepicker-range.component.html',\n controller: UIDatepickerRange,\n bindings: {\n displayNameKey: \"<\",\n displayNameCssClass: '<',\n selectedValueFirst: \"=\",\n selectedValueLast: \"=\",\n isValidSelectedValueFirst: \"=\",\n isValidSelectedValueLast: \"=\",\n triggerInit: \"=\"\n }\n});\n/* @ngInject */\n\nfunction UIDatepickerRange($scope, $state, dateFormatService) {\n var $ctrl = this;\n $ctrl.$onInit = onInit;\n $ctrl.selectedValueFirstCSSClass = \"searchDateInput valid\";\n $ctrl.selectedValueLastCSSClass = \"searchDateInput valid\";\n $ctrl.dateFormat;\n $ctrl.datePickerOptions = {\n startingDay: 0,\n showWeeks: false,\n minDate: null,\n maxDate: null\n };\n $ctrl.onInputValueFirst = onInputValueFirst;\n $ctrl.onInputValueLast = onInputValueLast;\n $scope.$watch('$ctrl.triggerInit', function (newVal, oldVal, scope) {\n if ($ctrl.triggerInit) {\n $ctrl.triggerInit = false;\n onInit();\n }\n });\n\n function onInit() {\n $ctrl.selectedValueFirst = null;\n $ctrl.selectedValueLast = null;\n if (!$ctrl.displayNameCssClass) $ctrl.displayNameCssClass = \"searchDisplayNameWide\";\n $ctrl.dateFormat = dateFormatService.getDateFormatString();\n validate();\n }\n\n function onInputValueFirst(obj) {\n $ctrl.selectedValueFirst = angular.copy(obj);\n validate();\n }\n\n function onInputValueLast(obj) {\n $ctrl.selectedValueLast = angular.copy(obj);\n validate();\n }\n\n function validate() {\n $ctrl.isValidSelectedValueFirst = true;\n $ctrl.isValidSelectedValueLast = true;\n\n if ($ctrl.selectedValueFirst && $ctrl.selectedValueLast) {\n $ctrl.isValidSelectedValueFirst = $ctrl.selectedValueFirst <= $ctrl.selectedValueLast;\n $ctrl.isValidSelectedValueLast = $ctrl.selectedValueFirst <= $ctrl.selectedValueLast;\n }\n\n $ctrl.selectedValueFirstCSSClass = \"searchDateInput \" + ($ctrl.isValidSelectedValueFirst ? \"valid\" : \"invalid\");\n $ctrl.selectedValueLastCSSClass = \"searchDateInput \" + ($ctrl.isValidSelectedValueLast ? \"valid\" : \"invalid\");\n }\n}","import \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.number.constructor\";\nimport \"core-js/modules/es6.number.is-integer\";\nSearchMenuController.$inject = [\"$state\", \"_\", \"$q\", \"$scope\", \"searchPresetTypes\", \"searchPresetService\", \"userService\", \"dealerService\", \"authorizationService\", \"modules\", \"authorizationKeys\", \"$uibModal\", \"$document\", \"$translate\", \"assetTypes\"];\n\n/* injects from baggage-loader */\nrequire('./search-menu.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nimport $ from 'jquery';\nimport './search-menu.component.scss';\nangular.module('AaApp.Opp').component('searchMenu', {\n templateUrl: '/app/components/search/search-menu.component.html',\n controller: SearchMenuController,\n bindings: {\n presetId: '<',\n //permissions: '<',\n selectedDealerId: '=',\n searchMenuVisible: '=',\n sectionStates: '<',\n presetSections: '=',\n currentView: '<'\n }\n});\n/* @ngInject */\n\nfunction SearchMenuController($state, _, $q, $scope, searchPresetTypes, searchPresetService, userService, dealerService, authorizationService, modules, authorizationKeys, $uibModal, $document, $translate, assetTypes) {\n var $ctrl = this;\n $ctrl.selectedDealerId;\n $ctrl.searchPresets;\n $ctrl.userId;\n $ctrl.isAutoAlertEmployee;\n $ctrl.hasShareSearchAccess;\n $ctrl.leadAssignOwnerAccessEnabled;\n $ctrl.searchPresetTypes = searchPresetTypes; //Events\n\n $ctrl.$onInit = $onInit;\n $ctrl.openSearchPreset = openSearchPreset;\n $ctrl.deleteSearchPreset = deleteSearchPreset;\n $ctrl.deleteSharedSearchPreset = deleteSharedSearchPreset;\n $ctrl.shareSearchPreset = shareSearchPreset;\n $ctrl.unshareSearchPreset = unshareSearchPreset;\n $ctrl.setView = setView;\n\n function $onInit() {\n if ($ctrl.presetSections == null) $ctrl.presetSections = {\n mySearchesMenuVisible: true,\n sharedSearchesMenuVisible: true,\n tagBasedSearchesMenuVisible: false,\n predefinedSearchesMenuVisible: false\n };\n $ctrl.leadAssignOwnerAccessEnabled = false;\n $ctrl.pandoXEnabled = false;\n $ctrl.dealers = dealerService.getSelectedDealers(); // if there is only one dealer \n //if ($ctrl.dealers.length == 1) \n // $ctrl.selectedDealerId = $ctrl.dealers[0].id; \n\n userService.getUserProfile().then(function (userProfile) {\n $ctrl.userId = userProfile.userId;\n $ctrl.isAutoAlertEmployee = userProfile.employeeUser;\n $ctrl.hasShareSearchAccess = authorizationService.isAuthorized(authorizationKeys.ManageSearches) || userProfile.employeeUser;\n\n if ($ctrl.isAutoAlertEmployee && $ctrl.selectedDealerId) {\n dealerService.getDealerSettings($ctrl.selectedDealerId).then(function (settings) {\n //Use dealer admin ID for AutoAlert Employee\n $ctrl.userId = settings.defaultUserID;\n searchPresetService.getSearchPresets().then(loadMenu);\n });\n } else {\n searchPresetService.getSearchPresets().then(loadMenu);\n } //this if moved from end of function to here, userProfile must be available before calling isDealerEnabledForModule\n\n\n if ($ctrl.dealers.length === 1) {\n $ctrl.leadAssignOwnerAccessEnabled = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.leadAssignOwnerAccess);\n } else {\n $ctrl.leadAssignOwnerAccessEnabled = userService.isModuleEnabledForAnyDealer(modules.leadAssignOwnerAccess);\n }\n }); // Calling this without dealer id looks for the asset in any of the users dealers\n\n dealerService.getIsAssetEnabledForDealer(assetTypes.pandoX, $ctrl.dealers.length === 1 ? $ctrl.selectedDealerId : null).then(function (isEnabled) {\n $ctrl.pandoXEnabled = isEnabled;\n });\n }\n\n function setView() {\n $ctrl.searchMenuVisible = false;\n $ctrl.presetId = null;\n\n switch ($ctrl.currentView) {\n case \"search\":\n $ctrl.currentView = \"manage\";\n $state.go(\"search.manage\", {\n selectedDealerId: $ctrl.selectedDealerId\n }, {\n reload: false\n });\n break;\n\n case \"manage\":\n default:\n $ctrl.currentView = \"search\";\n $state.go(\"search.form\", {\n dealerId: $ctrl.selectedDealerId,\n selectedDealerId: $ctrl.selectedDealerId,\n sectionStates: $ctrl.sectionStates\n }, {\n reload: \"search.form\"\n });\n }\n }\n\n $scope.$watch('$ctrl.presetId', function (newVal, oldVal, scope) {\n if (Number.isInteger(newVal) && newVal !== oldVal) {\n $ctrl.presetId = newVal; //reload menu from database as a new preset may be added to database\n\n searchPresetService.getSearchPresets().then(loadMenu);\n }\n\n if (newVal === undefined || newVal === null) {\n $ctrl.presetId = null;\n }\n });\n\n function deleteSearchPreset(searchPreset) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"confirmDelete\";\n },\n message: function message() {\n return $translate(\"deleteSearchWarningMessage\");\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n searchPresetService.deleteSearchPreset(searchPreset.userSearchConditionID).then(function (response) {\n _.remove($ctrl.searchPresets, {\n userSearchConditionID: searchPreset.userSearchConditionID\n });\n });\n });\n }\n\n function deleteSharedSearchPreset(searchPreset) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"confirmDelete\";\n },\n message: function message() {\n return $translate(\"deleteSharedSearchWarningMessage\");\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"continue\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n searchPresetService.deleteSearchPreset(searchPreset.userSearchConditionID).then(function (response) {\n _.remove($ctrl.searchPresets, {\n userSearchConditionID: searchPreset.userSearchConditionID\n });\n });\n });\n }\n\n function shareSearchPreset(searchPreset) {\n if (isSearchNameDuplicate(searchPreset)) {\n var modal1 = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"shareSearch\";\n },\n message: function message() {\n return $translate(\"duplicateSearchWarningMessage\");\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n closeButtonDisabled: function closeButtonDisabled() {\n return true;\n },\n closeButtonText: function closeButtonText() {\n return \"ok\"; // translation key\n }\n }\n });\n return;\n }\n\n searchPresetService.shareSearchPreset(searchPreset.userSearchConditionID).then(function (response) {\n searchPreset.userSearchConditionGroupType = searchPresetTypes.dealer;\n $ctrl.sharedSearchesMenuVisible = true;\n });\n }\n\n function isSearchNameDuplicate(searchPreset) {\n var currentMenuItem = _.find($ctrl.searchPresets, function (o) {\n return o.searchConditionName == searchPreset.searchConditionName && o.userSearchConditionGroupType == searchPresetTypes.dealer;\n });\n\n if (currentMenuItem) return true;else return false;\n }\n\n function unshareSearchPreset(searchPreset) {\n searchPresetService.unshareSearchPreset(searchPreset.userSearchConditionID).then(function (response) {\n if ($ctrl.userId == searchPreset.userID) {\n searchPreset.userSearchConditionGroupType = searchPresetTypes.user;\n $ctrl.mySearchesMenuVisible = true;\n } else {\n _.remove($ctrl.searchPresets, {\n userSearchConditionID: searchPreset.userSearchConditionID\n });\n }\n });\n }\n\n function openSearchPreset(preset) {\n $ctrl.presetId = preset.userSearchConditionID;\n $state.go('search.form', {\n presetId: preset.userSearchConditionID,\n recentActivity: null\n }, {\n reload: 'search.form'\n });\n }\n\n function loadMenu(searchPresets) {\n //remove duplicate in multiple dealer mode\n $ctrl.searchPresets = _.uniqBy(searchPresets, 'userSearchConditionID');\n\n var currentMenuItem = _.find($ctrl.searchPresets, function (o) {\n return o.userSearchConditionID == $ctrl.presetId;\n });\n\n if (currentMenuItem) {\n switch (currentMenuItem.userSearchConditionGroupType) {\n case searchPresetTypes.user:\n $ctrl.mySearchesMenuVisible = true;\n break;\n\n case searchPresetTypes.dealer:\n $ctrl.sharedSearchesMenuVisible = true;\n break;\n\n case searchPresetTypes.tag:\n $ctrl.tagBasedSearchesMenuVisible = true;\n break;\n\n case searchPresetTypes.common:\n $ctrl.predefinedSearchesMenuVisible = true;\n break;\n\n default:\n break;\n }\n }\n }\n}","import \"core-js/modules/es6.number.constructor\";\nimport \"core-js/modules/es6.number.is-integer\";\nimport \"core-js/modules/es6.function.name\";\nSearchContainer.$inject = [\"$state\", \"dealerService\"];\n\n/* injects from baggage-loader */\nrequire('./search-container.component.html');\n\nimport angular from 'angular';\nimport './search-container.component.scss';\nangular.module('AaApp.Opp').component('searchContainer', {\n templateUrl: '/app/components/search/search-container.component.html',\n controller: SearchContainer\n});\n/* @ngInject */\n\nfunction SearchContainer($state, dealerService) {\n var $ctrl = this;\n $ctrl.searchMenuVisible = true;\n $ctrl.searchToggleMenu = searchToggleMenu;\n $ctrl.$onInit = init;\n $ctrl.permissions = {};\n $ctrl.selectedDealerId = 0;\n $ctrl.updateMenuSettings = updateMenuSettings;\n $ctrl.searchMenuPresetSections;\n $ctrl.selectedUserSearchConditionId;\n $ctrl.searchFormSectionStates;\n $ctrl.currentView = \"search\";\n\n function init() {\n $ctrl.searchFormSectionStates = {\n 0: true,\n 1: true,\n 2: false,\n 3: false,\n 4: false\n };\n\n switch ($state.current.name) {\n case \"search.manage\":\n $ctrl.currentView = \"manage\";\n break;\n\n case \"search.form\":\n default:\n $ctrl.currentView = \"search\";\n }\n\n $ctrl.searchMenuPresetSections = {\n mySearchesMenuVisible: true,\n sharedSearchesMenuVisible: true,\n tagBasedSearchesMenuVisible: false,\n predefinedSearchesMenuVisible: false\n };\n $ctrl.presetId = null;\n $ctrl.selectedDealerId = 0;\n var dealers = dealerService.getSelectedDealers();\n\n if (dealers.length === 1) {\n $ctrl.selectedDealerId = dealers[0].id;\n } else if (Number.isInteger($ctrl.dealerId)) {\n $ctrl.selectedDealerId = $ctrl.dealerId;\n }\n\n $ctrl.searchMenuVisible = false;\n }\n\n function updateMenuSettings(searchMenuSettings) {\n $ctrl.presetId = searchMenuSettings.selectedUserSearchConditionId;\n }\n\n function searchToggleMenu() {\n $ctrl.searchMenuVisible = !$ctrl.searchMenuVisible;\n }\n}","SearchManagePresetsContainer.$inject = [\"dealerService\"];\n\n/* injects from baggage-loader */\nrequire('./search-manage-presets-container.component.html');\n\nimport angular from 'angular';\nimport './search-manage-presets-container.component.scss';\nangular.module('AaApp.Opp').component('searchManagePresetsContainer', {\n templateUrl: '/app/components/search/search-manage-presets-container.component.html',\n controller: SearchManagePresetsContainer,\n bindings: {\n dealerId: '<',\n view: '<',\n kendo: '<'\n }\n});\n/* @ngInject */\n\nfunction SearchManagePresetsContainer(dealerService) {\n var $ctrl = this;\n $ctrl.$onInit = init;\n\n function init() {\n $ctrl.view = \"Manage\";\n var dealers = dealerService.getSelectedDealers();\n\n if (dealers.length === 1) {\n $ctrl.dealerId = dealers[0].id;\n } else if ($ctrl.dealerId === undefined || $ctrl.dealerId === null) {\n $ctrl.dealerId = 0;\n }\n }\n}","\n/* injects from baggage-loader */\nrequire('./search-manage-presets.component.html');\n\nimport angular from 'angular';\r\nimport $ from 'jquery';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\nimport { PandoXRuleCategory, PandoXRuleCategoryReverse } from '../../constants';\r\n\r\nimport pencilIconPath from '../../images/icon-pencil-lake.svg';\r\nimport trashIconPath from '../../images/icon-trash-lake.svg';\r\nimport upDownArrowIconPath from '../../images/icon-arrow-up-down-lake.svg';\r\nimport warningSignPath from '../../images/icon-warning-lemon.svg';\r\n\r\nangular.module('AaApp.Opp').component('searchManagePresets', {\r\n templateUrl: '/app/components/search/search-manage-presets.component.html',\r\n controller: SearchManagePresets,\r\n bindings: {\r\n selectedDealerId: '=',\r\n dealerId: '<',\r\n kendo: '<',\r\n }\r\n});\r\n\r\nfunction SearchManagePresets(_, $translate, $q, dealerService, searchPresetService, pandoSurveyService, templateService, userService,\r\n smtpProviderTypes, modules, $uibModal, $document, $filter, toaster, messageTypes, successKey, logger) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.kendoGrid = null;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.ds = null;\r\n\r\n $ctrl.pandoXRuleCategory = PandoXRuleCategory;\r\n $ctrl.pandoXRuleCategoryReverse = PandoXRuleCategoryReverse;\r\n\r\n $ctrl.pandoXRuleCategoryArray = [];\r\n for (let category in $ctrl.pandoXRuleCategory) {\r\n $ctrl.pandoXRuleCategoryArray.push({\r\n CategoryName: $translate.instant(category),\r\n CategoryId: $ctrl.pandoXRuleCategory[category]\r\n });\r\n }\r\n\r\n $ctrl.isDealerPandoXEnabled = false;\r\n $ctrl.leadAssignOwnerAccessEnabled = false;\r\n $ctrl.pandoWorkflowTemplates = null;\r\n $ctrl.searchPresetData = null;\r\n $ctrl.pandoGroups = null;\r\n $ctrl.saveSelectedSearchPresets = saveSelectedSearchPresets;\r\n $ctrl.savePresetSettings = savePresetSettings;\r\n $ctrl.errors = false;\r\n $ctrl.readyToDisplay = false;\r\n $ctrl.templates;\r\n $ctrl.emailDisabled = false;\r\n $ctrl.hasTemplateErrors = false;\r\n $ctrl.hasActiveTemplate = false;\r\n\r\n function init() {\r\n if ($ctrl.dealerId) {\r\n $ctrl.selectedDealerId = $ctrl.dealerId;\r\n }\r\n\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n $ctrl.emailDisabled = false;\r\n $ctrl.hasTemplateErrors = false;\r\n $ctrl.hasActiveTemplate = false;\r\n getTranslations();\r\n }\r\n\r\n function getTranslations() {\r\n $q.all({\r\n 'srchPreClearInputsBtn': $translate('srchPreClearInputsBtn'),\r\n 'srchPreMissingGroup': $translate('srchPreMissingGroup'),\r\n 'srchPreMissingWorkflow': $translate('srchPreMissingWorkflow'),\r\n 'srchPreDeleteTitle': $translate('srchPreDeleteTitle'),\r\n 'srchPreDeleteMsg': $translate('srchPreDeleteMsg'),\r\n 'srchPreClearInputsTitle': $translate('srchPreClearInputsTitle'),\r\n 'srchPreClearInputsMsg': $translate('srchPreClearInputsMsg'),\r\n 'srchPreClearAutoMsg': $translate('srchPreClearAutoMsg'),\r\n 'srchPreDataErrorMsg': $translate('srchPreDataErrorMsg'),\r\n 'srchPreSelectDealership': $translate('srchPreSelectDealership'),\r\n 'srchPreSelectGroup': $translate('srchPreSelectGroup'),\r\n 'srchPreSelectProcess': $translate('srchPreSelectProcess'),\r\n 'srchPreSelectTemplate': $translate('srchPreSelectTemplate'),\r\n 'srchPreGroupLabel': $translate('srchPreGroupLabel'),\r\n 'srchPandoXPopupText': $translate('srchPandoXPopupText'),\r\n 'srchPreExecutePandoXLabel': $translate('srchPreExecutePandoXLabel'),\r\n 'srchPreCategoryLabel': $translate('srchPreCategoryLabel'),\r\n 'srchPreSelectCategory': $translate('srchPreSelectCategory'),\r\n 'srchPreExecutePandoXTooltip': $translate('srchPreExecutePandoXTooltip'),\r\n }).then(function (trans) {\r\n $ctrl.srchPreClearInputsBtn = trans.srchPreClearInputsBtn;\r\n $ctrl.srchPreMissingGroup = trans.srchPreMissingGroup;\r\n $ctrl.srchPreMissingWorkflow = trans.srchPreMissingWorkflow;\r\n $ctrl.srchPreDeleteTitle = trans.srchPreDeleteTitle;\r\n $ctrl.srchPreDeleteMsg = trans.srchPreDeleteMsg;\r\n $ctrl.srchPreClearInputsTitle = trans.srchPreClearInputsTitle;\r\n $ctrl.srchPreClearInputsMsg = trans.srchPreClearInputsMsg;\r\n $ctrl.srchPreClearAutoMsg = trans.srchPreClearAutoMsg;\r\n $ctrl.srchPreDataErrorMsg = trans.srchPreDataErrorMsg;\r\n $ctrl.srchPreSelectGroup = trans.srchPreSelectGroup;\r\n $ctrl.srchPreSelectProcess = trans.srchPreSelectProcess;\r\n $ctrl.srchPreSelectTemplate = trans.srchPreSelectTemplate;\r\n $ctrl.srchPreGroupLabel = trans.srchPreGroupLabel;\r\n $ctrl.srchPandoXPopupText = trans.srchPandoXPopupText;\r\n $ctrl.srchPreExecutePandoXLabel = trans.srchPreExecutePandoXLabel;\r\n $ctrl.srchPreCategoryLabel = trans.srchPreCategoryLabel;\r\n $ctrl.srchPreSelectCategory = trans.srchPreSelectCategory;\r\n $ctrl.srchPreExecutePandoXTooltip = trans.srchPreExecutePandoXTooltip;\r\n\r\n if ($ctrl.dealers.length > 1) {\r\n $ctrl.dealers.unshift({ id: 0, name: trans.srchPreSelectDealership });\r\n }\r\n\r\n onDealerSelect();\r\n renderGridToolbar();\r\n\r\n $ctrl.pandoXRuleCategoryArray.unshift({\r\n CategoryName: $ctrl.srchPreSelectCategory,\r\n CategoryId: \"-1\"\r\n });\r\n })\r\n }\r\n\r\n function onDealerSelect() {\r\n try {\r\n $ctrl.leadAssignOwnerAccessEnabled = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.leadAssignOwnerAccess);\r\n } catch (e) {\r\n $ctrl.leadAssignOwnerAccessEnabled = false;\r\n }\r\n\r\n if ($ctrl.selectedDealerId > 0) {\r\n populateData();\r\n }\r\n }\r\n\r\n function byTemplateName(object1, object2) {\r\n if (object1.templateName.toLowerCase() < object2.templateName.toLowerCase())\r\n return -1;\r\n if (object1.templateName.toLowerCase() > object2.templateName.toLowerCase())\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function populateData() {\r\n\r\n return busy(\r\n \"srchPreLoadingData\",\r\n $q.all([\r\n templateService.getNonEmptyTemplatesForDealerId($ctrl.selectedDealerId),\r\n templateService.getDealerOutboundEmailProviderInfo($ctrl.selectedDealerId),\r\n searchPresetService.getPandoCustomStoreGroups($ctrl.selectedDealerId),\r\n dealerService.getIsDealerPandoXEnabled($ctrl.selectedDealerId)\r\n ]).then((data) => {\r\n var groups = data[2];\r\n groups.unshift({ groupId: \"-1\", groupName: $ctrl.srchPreSelectGroup });\r\n $ctrl.pandoGroups = groups.map(item => ({\r\n GroupName: item.groupName,\r\n GroupId: item.groupId === null ? \"-1\" : item.groupId\r\n })); \r\n\r\n var templates = data[0].sort(byTemplateName);\r\n templates.unshift({ id: \"-1\", templateName: $ctrl.srchPreSelectTemplate, templateSubject: \"\" });\r\n $ctrl.templates = templates.map(item => ({\r\n TemplateName: item.templateName,\r\n TemplateSubject: item.templateSubject,\r\n TemplateId: item.id === null ? \"-1\" : item.id,\r\n }));\r\n\r\n var smtpMethod = data[1];\r\n $ctrl.emailDisabled = smtpMethod === smtpProviderTypes.none;\r\n\r\n $ctrl.isDealerPandoXEnabled = data[3];\r\n\r\n // Dealers with PandoX cannot use lead assignment\r\n if ($ctrl.isDealerPandoXEnabled) {\r\n $ctrl.leadAssignOwnerAccessEnabled = false;\r\n }\r\n })\r\n .then(() => {\r\n if (!$ctrl.isDealerPandoXEnabled) {\r\n return pandoSurveyService.getWorkflowTemplates($ctrl.selectedDealerId);\r\n }\r\n\r\n return Promise.resolve();\r\n })\r\n .then(workflows => {\r\n if (!workflows) {\r\n workflows = [];\r\n }\r\n\r\n workflows.unshift({ key: \"-1\", value: $ctrl.srchPreSelectProcess, disabled: true });\r\n $ctrl.pandoWorkflowTemplates = workflows.map(item => ({\r\n WorkflowInstanceId: item.key === null ? \"-1\" : item.key,\r\n WorkflowName: item.value\r\n }));\r\n\r\n initDataSource();\r\n initGridOptions();\r\n\r\n // we need to force a header refresh since we have dynamic elements in the header. As far as we can tell, setOptions is the only way to do this with kendo\r\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\r\n if (grid != null)\r\n grid.setOptions($ctrl.gridOptions);\r\n })\r\n .catch(function () {\r\n var groups = [];\r\n groups.unshift({ groupId: \"-1\", groupName: $ctrl.srchPreSelectGroup });\r\n\r\n $ctrl.pandoGroups = groups.map(item => ({\r\n GroupName: item.groupName,\r\n GroupId: item.groupId === null ? \"-1\" : item.groupId\r\n }));\r\n\r\n var workflows = [];\r\n workflows.unshift({ key: \"-1\", value: $ctrl.srchPreSelectProcess, disabled: true });\r\n $ctrl.pandoWorkflowTemplates = workflows.map(item => ({\r\n WorkflowInstanceId: item.key === null ? \"-1\" : item.key,\r\n WorkflowName: item.value\r\n }));\r\n\r\n var templates = [];\r\n templates.unshift({ id: \"-1\", templateName: $ctrl.srchPreSelectTemplate, templateSubject: \"\" });\r\n $ctrl.templates = templates.map(item => ({\r\n TemplateName: item.templateName,\r\n TemplateSubject: item.templateSubject,\r\n TemplateId: item.id === null ? \"-1\" : item.id,\r\n }));\r\n\r\n initDataSource();\r\n initGridOptions();\r\n })\r\n );\r\n }\r\n\r\n function getGroupName(groupId) {\r\n var group = _.find($ctrl.pandoGroups, { 'GroupId': groupId });\r\n return group ? group.GroupName : $ctrl.srchPreMissingGroup;\r\n }\r\n\r\n function getWorkflowName(templateId) {\r\n var template = _.find($ctrl.pandoWorkflowTemplates, { 'WorkflowInstanceId': templateId });\r\n return template ? template.WorkflowName : $ctrl.srchPreMissingWorkflow;\r\n }\r\n\r\n function byOrder(searchPreset1, searchPreset2) {\r\n return searchPreset1.order - searchPreset2.order;\r\n }\r\n\r\n function getSearchPresets() {\r\n return searchPresetService.getDealerSearchPresetLayouts($ctrl.selectedDealerId).then(function (data) {\r\n data.sort(byOrder);\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n \r\n $ctrl.searchPresetData = data.map(item => {\r\n\r\n var workflowName = \"\";\r\n var workflowInstanceId = \"-1\";\r\n var workflowMax = null;\r\n if (item.workflowTemplateId !== null) {\r\n workflowName = getWorkflowName(item.workflowTemplateId);\r\n workflowInstanceId = item.workflowTemplateId;\r\n workflowMax = item.workflowQuantity;\r\n }\r\n\r\n var ownerGroupName = \"\";\r\n var ownerGroupId = \"-1\";\r\n var ownerMax = null;\r\n if (item.ownerOverrideGroupId !== null) {\r\n ownerGroupName = getGroupName(item.ownerOverrideGroupId);\r\n ownerGroupId = item.ownerOverrideGroupId;\r\n ownerMax = item.ownerOverrideQuantity;\r\n }\r\n\r\n var accessGroupName = \"\";\r\n var accessGroupId = \"-1\";\r\n var accessMax = null;\r\n\r\n if (item.accessGrantGroupId !== null) {\r\n accessGroupName = getGroupName(item.accessGrantGroupId);\r\n accessGroupId = item.accessGrantGroupId;\r\n accessMax = item.accessGrantQuantity;\r\n }\r\n\r\n var pandoXCategoryName = \"\";\r\n var pandoXCategoryId = \"-1\";\r\n var pandoXRuleQuantity = null;\r\n\r\n if (item.ruleCategoryID !== null) {\r\n pandoXCategoryName = $ctrl.pandoXRuleCategoryReverse[item.ruleCategoryID];\r\n pandoXCategoryId = item.ruleCategoryID;\r\n pandoXRuleQuantity = item.pandoXRuleQuantity;\r\n }\r\n\r\n var ownerTemplate = _.find($ctrl.templates, { TemplateId: item.ownerOverrideTemplateID });\r\n var accessTemplate = _.find($ctrl.templates, { TemplateId: item.accessGrantTemplateID });\r\n\r\n return {\r\n Id: getKendoIdFromUserConditionId(item.userSearchConditionID),\r\n Name: item.searchConditionName,\r\n Order: item.order,\r\n Owner: { GroupName: ownerGroupName, GroupId: ownerGroupId },\r\n OwnerTemplate: { TemplateName: ownerTemplate == null ? \"\" : ownerTemplate.TemplateName, TemplateId: item.ownerOverrideTemplateID === null ? \"-1\" : item.ownerOverrideTemplateID },\r\n MaxOwnerEntries: ownerMax,\r\n Access: { GroupName: accessGroupName, GroupId: accessGroupId },\r\n AccessTemplate: { TemplateName: accessTemplate == null ? \"\" : accessTemplate.TemplateName, TemplateId: item.accessGrantTemplateID === null ? \"-1\" : item.accessGrantTemplateID },\r\n MaxAccessEntries: accessMax,\r\n AssignedWorkflow: { WorkflowName: workflowName, WorkflowInstanceId: workflowInstanceId },\r\n MaxAssignEntries: workflowMax,\r\n PandoX: { CategoryName: pandoXCategoryName, CategoryId: pandoXCategoryId },\r\n PandoXRuleQuantity: pandoXRuleQuantity,\r\n IsPriority: item.isPriority,\r\n SearchActiveStartDate: item.searchActiveStartDate,\r\n SearchActiveEndDate: item.searchActiveEndDate,\r\n InsertDateUtc: item.insertDateUtc\r\n }\r\n });\r\n return $ctrl.searchPresetData;\r\n });\r\n\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n const kendoUserConditionIdSpacer = 100;\r\n function getKendoIdFromUserConditionId(userConditionId) {\r\n return userConditionId + kendoUserConditionIdSpacer;\r\n }\r\n\r\n function getUserConditionIdFromKendoId(kendoId) {\r\n // necessary to prevent Id=0. Kendo treats as new record.\r\n return kendoId - kendoUserConditionIdSpacer;\r\n }\r\n\r\n function updatePresets(e) {\r\n var alldata = $('#gridManageSearches').data('kendoGrid').dataSource.data();\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n var allrows = alldata.map(p => (\r\n {\r\n dealerID: $ctrl.selectedDealerId,\r\n userSearchConditionID: getUserConditionIdFromKendoId(p.Id),\r\n order: p.Order,\r\n workflowTemplateId: p.AssignedWorkflow.WorkflowInstanceId === \"-1\" ? null : p.AssignedWorkflow.WorkflowInstanceId,\r\n workflowQuantity: p.MaxAssignEntries,\r\n pandoIntegrationEnabled: p.AssignedWorkflow.WorkflowInstanceId === \"-1\" ? false : true,\r\n ownerOverrideGroupId: (p.Owner === null || p.Owner.GroupId === \"-1\") ? null : p.Owner.GroupId,\r\n ownerOverrideQuantity: p.MaxOwnerEntries,\r\n ownerOverrideTemplateId: (p.OwnerTemplate === null || p.OwnerTemplate.TemplateId === \"-1\") ? null : p.OwnerTemplate.TemplateId,\r\n accessGrantGroupId: (p.Access === null || p.Access.GroupId === \"-1\") ? null : p.Access.GroupId,\r\n accessGrantQuantity: p.MaxAccessEntries,\r\n accessGrantTemplateId: (p.AccessTemplate === null || p.AccessTemplate.TemplateId === \"-1\") ? null : p.AccessTemplate.TemplateId,\r\n\r\n ruleCategoryID: (p.PandoX === null || p.PandoX.CategoryId === \"-1\") ? null : p.PandoX.CategoryId,\r\n pandoXRuleQuantity: p.PandoXRuleQuantity,\r\n isPriority: p.IsPriority,\r\n searchActiveStartDate: p.SearchActiveStartDate,\r\n searchActiveEndDate: p.SearchActiveEndDate,\r\n insertDateUtc: p.InsertDateUtc\r\n\r\n }));\r\n\r\n searchPresetService.updateDealerSearchPresetLayouts($ctrl.selectedDealerId, allrows)\r\n .then(success => {\r\n if (success) {\r\n if (e) e.success();\r\n }\r\n else {\r\n if (e) e.error(\"XHR response\", \"status code\", \"Error updating preset layouts.\");\r\n }\r\n })\r\n }\r\n\r\n function initDataSource() {\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n schema: {\r\n model: {\r\n id: \"Id\",\r\n fields: {\r\n Id: { type: \"number\", editable: false },\r\n Order: { type: \"number\", editable: true },\r\n Name: { type: \"string\", editable: false },\r\n Owner: { defaultValue: { GroupId: \"-1\", GroupName: \"\" }, editable: true },\r\n OwnerTemplate: { defaultValue: { TemplateId: \"-1\", TemplateName: \"\" }, editable: true },\r\n MaxOwnerEntries: { type: \"number\", editable: true },\r\n Access: { defaultValue: { GroupId: \"-1\", GroupName: \"\" }, editable: true },\r\n AccessTemplate: { defaultValue: { TemplateId: \"-1\", TemplateName: \"\" }, editable: true },\r\n MaxAccessEntries: { type: \"number\", format: \"{0:n0}\", editable: true },\r\n AssignedWorkflow: { defaultValue: { WorkflowInstanceId: \"-1\", WorkflowName: \"\" }, editable: true },\r\n MaxAssignEntries: { type: \"number\", format: \"{0:n0}\", editable: true },\r\n IsPriority: { type: \"boolean\", editable: false },\r\n PandoX: { defaultValue: { PandoXCategoryId: \"-1\", PandoXCategoryName: \"\" }, editable: true },\r\n PandoXRuleQuantity: { type: \"number\", format: \"{0:n0}\", editable: true },\r\n SearchActiveStartDate: { type: \"date\", editable: true },\r\n SearchActiveEndDate: { type: \"date\", editable: true },\r\n InsertDateUtc: { type: \"date\", editable: false },\r\n }\r\n }\r\n },\r\n sort: { field: \"Order\", dir: \"asc\" },\r\n change: onChange,\r\n transport: {\r\n read: function (e) {\r\n getSearchPresets()\r\n .then(searchList => {\r\n e.success(searchList);\r\n })\r\n },\r\n update: function (e) {\r\n updatePresets(e);\r\n },\r\n create: function (e) {\r\n e.success();\r\n },\r\n destroy: function (e) {\r\n reOrderData();\r\n updatePresets(e);\r\n }\r\n },\r\n error: function (e) {\r\n alert(\"Status: \" + e.status + \"; Error message: \" + e.errorThrown);\r\n }\r\n });\r\n\r\n }\r\n\r\n function reOrderData() {\r\n var data = $('#gridManageSearches').data('kendoGrid').dataSource.data();\r\n for (var i = 0; i < data.length; i++) {\r\n var row = data[i];\r\n row.Order = i + 1;\r\n }\r\n }\r\n\r\n function onChange(e) {\r\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\r\n\r\n if (e.items.length === 0)\r\n return;\r\n\r\n var dataItem = grid.dataSource.getByUid(e.items[0].uid);\r\n\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n \r\n if (e.action == \"itemchange\") {\r\n if (e.field === \"Owner\") {\r\n var owner = e.items[0].Owner;\r\n if (owner === null || owner.GroupId === \"-1\") {\r\n dataItem.set(\"MaxOwnerEntries\", null);\r\n }\r\n else {\r\n dataItem.set(\"MaxOwnerEntries\", 10);\r\n }\r\n }\r\n\r\n if (e.field === \"Access\") {\r\n var access = e.items[0].Access;\r\n if (access === null || access.GroupId === \"-1\") {\r\n dataItem.set(\"MaxAccessEntries\", null);\r\n }\r\n else {\r\n dataItem.set(\"MaxAccessEntries\", 10);\r\n }\r\n }\r\n\r\n if (e.field === \"AssignedWorkflow\") {\r\n var workflow = e.items[0].AssignedWorkflow;\r\n if (workflow === null || workflow.WorkflowInstanceId === \"-1\") {\r\n dataItem.set(\"MaxAssignEntries\", null);\r\n }\r\n else {\r\n dataItem.set(\"MaxAssignEntries\", 10);\r\n }\r\n }\r\n\r\n if (e.field === \"PandoX\") {\r\n var pandoX = e.items[0].PandoX;\r\n if (pandoX === null || pandoX.CategoryId === \"-1\") {\r\n dataItem.set(\"PandoXRuleQuantity\", null);\r\n }\r\n else {\r\n dataItem.set(\"PandoXRuleQuantity\", 10);\r\n }\r\n }\r\n }\r\n }\r\n\r\n function onRowBound() {\r\n setTimeout(function () {\r\n $(\".k-grid-update span\").removeClass(\"k-icon\").removeClass(\"k-i-check\"); //.addClass(\"btn btn-success\");\r\n $(\".k-grid-cancel span\").removeClass(\"k-icon\").removeClass(\"k-i-cancel\"); //.addClass(\"btn btn-danger\");\r\n $(\".k-grid-cancel\").css(\"margin-left\", \"5px\");\r\n CheckForTemplateErrors();\r\n }, 1);\r\n }\r\n\r\n function onDataBound() {\r\n AddDragDrop();\r\n ShowHideColumns();\r\n CheckForTemplateErrors();\r\n $ctrl.readyToDisplay = true;\r\n }\r\n\r\n // this function loops over all presets to see if any have template errors\r\n function CheckForTemplateErrors() {\r\n var data = $('#gridManageSearches').data('kendoGrid').dataSource.data();\r\n $ctrl.hasActiveTemplate = false;\r\n $ctrl.hasTemplateErrors = false;\r\n for (var i = 0; i < data.length; i++) {\r\n var row = data[i];\r\n var template = null;\r\n if (row.Owner.GroupName.length > 0 && row.Owner.GroupId != \"-1\" && row.OwnerTemplate.TemplateId != null && row.OwnerTemplate.TemplateId != \"-1\") {\r\n $ctrl.hasActiveTemplate = true;\r\n template = _.find($ctrl.templates, { TemplateId: row.OwnerTemplate.TemplateId });\r\n if (template != null) {\r\n $ctrl.hasTemplateErrors = template.TemplateSubject.length === 0;\r\n }\r\n }\r\n if (row.Access.GroupName.length > 0 && row.Access.GroupId != \"-1\" && row.AccessTemplate.TemplateId != null && row.AccessTemplate.TemplateId != \"-1\") {\r\n $ctrl.hasActiveTemplate = true;\r\n template = _.find($ctrl.templates, { TemplateId: row.AccessTemplate.TemplateId });\r\n if (template != null) {\r\n $ctrl.hasTemplateErrors = template.TemplateSubject.length === 0;\r\n }\r\n }\r\n if ($ctrl.hasTemplateErrors)\r\n break;\r\n }\r\n }\r\n\r\n function HasTemplateSubject(templateId) {\r\n var data = $('#gridManageSearches').data('kendoGrid').dataSource.data();\r\n var hasSubject = false;\r\n var template = _.find($ctrl.templates, { TemplateId: templateId });\r\n if (template != null) {\r\n hasSubject = template.TemplateSubject.length > 0;\r\n }\r\n return hasSubject;\r\n }\r\n\r\n function ShowHideColumns() {\r\n var grid = $('#gridManageSearches').data('kendoGrid');\r\n if (grid != undefined && grid != null) {\r\n if ($ctrl.leadAssignOwnerAccessEnabled === true) {\r\n grid.showColumn(\"Owner\");\r\n grid.showColumn(\"MaxOwnerEntries\");\r\n grid.showColumn(\"Access\");\r\n grid.showColumn(\"MaxAccessEntries\");\r\n }\r\n else {\r\n grid.hideColumn(\"Owner\");\r\n grid.hideColumn(\"MaxOwnerEntries\");\r\n grid.hideColumn(\"Access\");\r\n grid.hideColumn(\"MaxAccessEntries\");\r\n }\r\n\r\n if ($ctrl.isDealerPandoXEnabled) {\r\n grid.showColumn(\"PandoX\");\r\n grid.showColumn(\"PandoXRuleQuantity\");\r\n } else {\r\n grid.hideColumn(\"PandoX\");\r\n grid.hideColumn(\"PandoXRuleQuantity\");\r\n }\r\n }\r\n }\r\n\r\n function maxEntriesEditor(container, options) {\r\n $('')\r\n .appendTo(container)\r\n .kendoNumericTextBox({\r\n min: 0,\r\n max: 100,\r\n step: 1,\r\n format: \"n0\",\r\n decimals: 0\r\n });\r\n }\r\n\r\n function renderStartDateColumn(data) {\r\n var output = \"\";\r\n \r\n if (data.SearchActiveStartDate == null)\r\n return \"\";\r\n\r\n var textColor = \"auto\";\r\n if (startDateExpired(data.SearchActiveStartDate)) {\r\n textColor = \"red\";\r\n }\r\n var localeDateFilter = $filter('localeDate');\r\n var localeDate = localeDateFilter(data.SearchActiveStartDate);\r\n output += '' + localeDate + '';\r\n\r\n return output;\r\n }\r\n\r\n function renderEndDateColumn(data) {\r\n var output = \"\";\r\n \r\n if (data.SearchActiveEndDate == null)\r\n return \"\";\r\n\r\n var textColor = \"auto\";\r\n if (endDateExpired(data.SearchActiveEndDate)) {\r\n textColor = \"red\";\r\n }\r\n \r\n var localeDateFilter = $filter('localeDate');\r\n var localeDate = localeDateFilter(data.SearchActiveEndDate);\r\n output += '' + localeDate + '';\r\n\r\n return output;\r\n }\r\n\r\n\r\n function renderOwnerColumn(data) {\r\n var output = \"\";\r\n\r\n if (data.Owner.GroupName.length > 0 && data.Owner.GroupId != \"-1\") {\r\n output += '
' + $ctrl.srchPreGroupLabel + ':
';\r\n output += '' + data.Owner.GroupName + '';\r\n if (data.OwnerTemplate.TemplateName.length > 0 && data.OwnerTemplate.TemplateId != \"-1\") {\r\n var errorCodes = \"\";\r\n var hasSubject = HasTemplateSubject(data.OwnerTemplate.TemplateId);\r\n if (!hasSubject) {\r\n errorCodes = \"1\";\r\n }\r\n if ($ctrl.emailDisabled) {\r\n if (!hasSubject) errorCodes += \", \"\r\n errorCodes += \"2\"\r\n }\r\n\r\n output += '
';\r\n if (errorCodes.length > 0)\r\n output += '';\r\n\r\n output += ':  
';\r\n output += '' + data.OwnerTemplate.TemplateName + '';\r\n\r\n if (errorCodes.length > 0)\r\n output += \" \" + errorCodes + \"\";\r\n }\r\n }\r\n return output;\r\n }\r\n\r\n function renderAccessColumn(data) {\r\n var output = \"\";\r\n\r\n if (data.Access.GroupName.length > 0 && data.Access.GroupId != \"-1\") {\r\n var errorCodes = \"\";\r\n var hasSubject = HasTemplateSubject(data.AccessTemplate.TemplateId);\r\n if (!hasSubject) {\r\n errorCodes = \"1\";\r\n }\r\n if ($ctrl.emailDisabled) {\r\n if (!hasSubject) errorCodes += \", \"\r\n errorCodes += \"2\"\r\n }\r\n\r\n output += '
' + $ctrl.srchPreGroupLabel + ':
';\r\n output += '' + data.Access.GroupName + '';\r\n if (data.AccessTemplate.TemplateName.length > 0 && data.AccessTemplate.TemplateId != \"-1\") {\r\n output += '
';\r\n if (errorCodes.length > 0)\r\n output += '';\r\n output += ':  
';\r\n output += '' + data.AccessTemplate.TemplateName + '';\r\n\r\n if (errorCodes.length > 0)\r\n output += \" \" + errorCodes + \"\";\r\n }\r\n }\r\n return output;\r\n }\r\n\r\n function renderWorkflowColumn(data) {\r\n var output = \"\";\r\n\r\n if (data.AssignedWorkflow.WorkflowName.length > 0 && data.AssignedWorkflow.WorkflowInstanceId != \"-1\") {\r\n output = data.AssignedWorkflow.WorkflowName;\r\n }\r\n return output;\r\n }\r\n\r\n function renderPandoXProcessInitColumn(data) {\r\n var output = \"\";\r\n\r\n if (data.PandoX.CategoryName && data.PandoX.CategoryName.length > 0 &&\r\n data.PandoX.CategoryId && data.PandoX.CategoryId != \"-1\") {\r\n output += '
' + $ctrl.srchPreCategoryLabel + ':   
';\r\n output += '' + $translate.instant(data.PandoX.CategoryName) + '';\r\n }\r\n return output;\r\n }\r\n\r\n function ownerDropdown_change(e) {\r\n var value = this.value();\r\n\r\n if (value != \"-1\")\r\n $('#OwnerTemplateWrapper').show();\r\n else\r\n $('#OwnerTemplateWrapper').hide();\r\n CheckForTemplateErrors();\r\n }\r\n\r\n function accessDropdown_change(e) {\r\n var value = this.value();\r\n\r\n if (value != \"-1\")\r\n $('#AccessTemplateWrapper').show();\r\n else\r\n $('#AccessTemplateWrapper').hide();\r\n CheckForTemplateErrors();\r\n }\r\n\r\n function templateDropdown_change(e) {\r\n CheckForTemplateErrors();\r\n }\r\n\r\n function ownerEditor(container, options) {\r\n $('
' + $ctrl.srchPreGroupLabel + ':
').appendTo(container);\r\n $('')\r\n .appendTo(container);\r\n\r\n $(\"#\" + options.field).kendoDropDownList({\r\n autoBind: true,\r\n dataTextField: \"GroupName\",\r\n dataValueField: \"GroupId\",\r\n dataSource: $ctrl.pandoGroups,\r\n change: ownerDropdown_change\r\n });\r\n\r\n var templateHtml = '
:  
'\r\n templateHtml += '';\r\n templateHtml += '
';\r\n\r\n $(templateHtml).appendTo(container);\r\n\r\n $(\"#OwnerTemplate\").kendoDropDownList({\r\n autoBind: true,\r\n dataTextField: \"TemplateName\",\r\n dataValueField: \"TemplateId\",\r\n dataSource: $ctrl.templates,\r\n change: templateDropdown_change\r\n });\r\n\r\n if (options.model.Owner.GroupId != \"-1\") {\r\n $('#OwnerTemplateWrapper').show();\r\n }\r\n else {\r\n $('#OwnerTemplateWrapper').hide();\r\n }\r\n\r\n }\r\n\r\n function accessEditor(container, options) {\r\n $('
' + $ctrl.srchPreGroupLabel + ':
').appendTo(container);\r\n $('')\r\n .appendTo(container);\r\n\r\n $(\"#\" + options.field).kendoDropDownList({\r\n autoBind: true,\r\n dataTextField: \"GroupName\",\r\n dataValueField: \"GroupId\",\r\n dataSource: $ctrl.pandoGroups,\r\n change: accessDropdown_change\r\n });\r\n\r\n var templateHtml = '
:  
'\r\n templateHtml += '';\r\n templateHtml += '
';\r\n\r\n $(templateHtml).appendTo(container);\r\n\r\n $(\"#AccessTemplate\").kendoDropDownList({\r\n autoBind: true,\r\n dataTextField: \"TemplateName\",\r\n dataValueField: \"TemplateId\",\r\n dataSource: $ctrl.templates,\r\n change: templateDropdown_change\r\n });\r\n\r\n if (options.model.Access.GroupId != \"-1\") {\r\n $('#AccessTemplateWrapper').show();\r\n }\r\n else {\r\n $('#AccessTemplateWrapper').hide();\r\n }\r\n\r\n }\r\n\r\n function pandoXEditor(container, options) {\r\n $('
' + $ctrl.srchPreCategoryLabel + ':
').appendTo(container);\r\n $('')\r\n .appendTo(container);\r\n\r\n $(\"#\" + options.field).kendoDropDownList({\r\n autoBind: true,\r\n dataTextField: \"CategoryName\",\r\n dataValueField: \"CategoryId\",\r\n dataSource: $ctrl.pandoXRuleCategoryArray\r\n });\r\n }\r\n\r\n function workflowDropDownEditor(container, options) {\r\n $('')\r\n .appendTo(container)\r\n .kendoDropDownList({\r\n autoBind: true,\r\n dataTextField: \"WorkflowName\",\r\n dataValueField: \"WorkflowInstanceId\",\r\n dataSource: $ctrl.pandoWorkflowTemplates\r\n });\r\n }\r\n\r\n function initGridOptions() {\r\n var sixthColumn = { field: \"AssignedWorkflow\", title: \"Process Assignment\", width: \"15%\", editor: workflowDropDownEditor, template: function (dataItem) { return renderWorkflowColumn(dataItem); } };\r\n var seventhColumn = { field: \"MaxAssignEntries\", title: \"Daily Max\", width: \"5%\", editor: maxEntriesEditor, headerAttributes: { style: \"text-align: center;\" }, attributes: { style: \"text-align: center;\" } };\r\n\r\n if ($ctrl.isDealerPandoXEnabled) {\r\n sixthColumn = {\r\n field: \"PandoX\",\r\n headerTemplate: \"Inbox Process Initiation \",\r\n width: \"5%\",\r\n editor: pandoXEditor,\r\n template: function (dataItem) {\r\n return renderPandoXProcessInitColumn(dataItem);\r\n }\r\n };\r\n seventhColumn = { field: \"PandoXRuleQuantity\", title: \"Max / Run\", width: \"3%\", editor: maxEntriesEditor, headerAttributes: { style: \"text-align: center;\" }, attributes: { style: \"text-align: center;\" } };\r\n }\r\n\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n navigatable: false,\r\n pageable: false,\r\n scrollable: false,\r\n resizable: true,\r\n //height: 370,\r\n columns: [\r\n {\r\n field: \"Name\", title: \"Name\", width: \"20%\", sortable: false, attributes: { style: \"cursor: pointer;\" },\r\n template: \" #= Name #\"\r\n },\r\n {\r\n field: \"SearchActiveStartDate\",\r\n title: \"Start Date\",\r\n template: function (dataItem) { return renderStartDateColumn(dataItem); },\r\n format: \"{0:d}\",\r\n width: \"10\",\r\n },\r\n {\r\n field: \"SearchActiveEndDate\",\r\n title: \"End Date\",\r\n template: function (dataItem) { return renderEndDateColumn(dataItem); },\r\n format: \"{0:d}\",\r\n width: \"10\",\r\n },\r\n { hidden: !$ctrl.leadAssignOwnerAccessEnabled, field: \"Owner\", title: \"Owner\", width: \"20%\", editor: ownerEditor, template: function (dataItem) { return renderOwnerColumn(dataItem); } },\r\n { hidden: !$ctrl.leadAssignOwnerAccessEnabled, field: \"MaxOwnerEntries\", title: \"Daily Max\", width: \"5%\", editor: maxEntriesEditor, headerAttributes: { style: \"text-align: center;\" }, attributes: { style: \"text-align: center;\" } },\r\n { hidden: !$ctrl.leadAssignOwnerAccessEnabled, field: \"Access\", title: \"Access\", width: \"20%\", editor: accessEditor, template: function (dataItem) { return renderAccessColumn(dataItem); } },\r\n { hidden: !$ctrl.leadAssignOwnerAccessEnabled, field: \"MaxAccessEntries\", title: \"Daily Max\", width: \"5%\", editor: maxEntriesEditor, headerAttributes: { style: \"text-align: center;\" }, attributes: { style: \"text-align: center;\" } },\r\n sixthColumn,\r\n seventhColumn,\r\n {\r\n command:\r\n [{ name: \"edit\", template: \"\" },\r\n {\r\n name: \"Delete\",\r\n template: \"\",\r\n click: function (e) {\r\n e.preventDefault(); //prevent page scroll reset\r\n var tr = $(e.target).closest(\"tr\"); //get the row for deletion\r\n var data = this.dataItem(tr); //get the row data so it can be referred later\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return $ctrl.srchPreDeleteTitle;\r\n },\r\n message: function () {\r\n return $ctrl.srchPreDeleteMsg;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"confirm\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\r\n grid.dataSource.remove(data) //prepare a \"destroy\" request\r\n grid.dataSource.sync() //actually send the request (might be ommited if the autoSync option is enabled in the dataSource)\r\n });\r\n }\r\n },\r\n {\r\n name: \"Execute\",\r\n template: `${$ctrl.srchPreExecutePandoXLabel}`,\r\n click: function (e) {\r\n e.preventDefault();\r\n var tr = $(e.target).closest(\"tr\"); //get the row for deletion\r\n var data = this.dataItem(tr); //get the row data so it can be referred later\r\n executePandoXSearch(data);\r\n\r\n // Disable the execute button to limit users accidentally submitting many search executions\r\n $(e.target).addClass('k-state-disabled');\r\n },\r\n visible: function (dataItem) {\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n var startExpired = dataItem.SearchActiveStartDate != null && dataItem.SearchActiveStartDate > today;\r\n var endExpired = dataItem.SearchActiveEndDate != null && dataItem.SearchActiveEndDate < today;\r\n\r\n return (dataItem.PandoX\r\n && dataItem.PandoX.CategoryName\r\n && dataItem.PandoXRuleQuantity\r\n && dataItem.PandoXRuleQuantity > 0\r\n && !startExpired\r\n && !endExpired\r\n );\r\n }\r\n }],\r\n title: \"Actions\",\r\n width: \"3%\",\r\n headerAttributes: { style: \"text-align: center;\" }\r\n },\r\n ],\r\n editable: \"inline\",\r\n edit: onRowBound,\r\n dataBound: onDataBound,\r\n cancel: onRowBound,\r\n filterable: false\r\n };\r\n }\r\n\r\n function startDateExpired(startDate) {\r\n if (startDate == null)\r\n return false;\r\n\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n return startDate > today;\r\n }\r\n\r\n function endDateExpired(endDate) {\r\n if (endDate == null)\r\n return false;\r\n\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n return endDate < today;\r\n }\r\n\r\n function executePandoXSearch(data) {\r\n searchPresetService.executePandoXSearch($ctrl.selectedDealerId, getUserConditionIdFromKendoId(data.Id))\r\n .then(() => {\r\n const executeSuccessKey = 'srchPreExecutePandoXSuccess';\r\n $translate([executeSuccessKey]).then(function (translations) {\r\n toaster.pop({\r\n type: messageTypes.success,\r\n title: '',\r\n body: translations[executeSuccessKey],\r\n showCloseButton: false,\r\n });\r\n });\r\n });\r\n }\r\n\r\n function renderGridToolbar() {\r\n var element = $(\"#grid-toolbar\");\r\n\r\n element.kendoToolBar({\r\n resizable: false,\r\n items: [\r\n {\r\n type: \"button\",\r\n attributes: { style: \"float: right; margin-top: 2px; margin-right: 5px; font-size: 12px;\" },\r\n text: $ctrl.srchPreClearInputsBtn,\r\n click: function (e) {\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return $ctrl.srchPreClearInputsTitle;\r\n },\r\n message: function () {\r\n return $ctrl.srchPreClearInputsMsg;\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"confirm\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n var data = $('#gridManageSearches').data('kendoGrid').dataSource.data();\r\n\r\n for (var i = 0; i < data.length; i++) {\r\n var row = data[i];\r\n\r\n row.Owner.GroupId = \"-1\";\r\n row.Owner.GroupName = \"\";\r\n row.OwnerTemplate.TemplateId = \"-1\";\r\n row.OwnerTemplate.TemplateName = \"\";\r\n row.MaxOwnerEntries = null;\r\n\r\n row.Access.GroupId = \"-1\";\r\n row.Access.GroupName = \"\";\r\n row.AccessTemplate.TemplateId = \"-1\";\r\n row.AccessTemplate.TemplateName = \"\";\r\n row.MaxAccessEntries = null;\r\n\r\n row.PandoX.CategoryId = \"-1\";\r\n row.PandoX.CategoryName = \"\";\r\n row.PandoXRuleQuantity = null;\r\n\r\n row.AssignedWorkflow.WorkflowInstanceId = \"-1\";\r\n row.AssignedWorkflow.WorkflowName = \"\";\r\n row.MaxAssignEntries = null;\r\n row.SearchActiveStartDate = null;\r\n row.SearchActiveEndDate = null;\r\n }\r\n\r\n updatePresets();\r\n $('#gridManageSearches').data('kendoGrid').refresh();\r\n });\r\n }\r\n }\r\n ]\r\n });\r\n }\r\n\r\n function savePresetSettings(settings) {\r\n var clearOwnership = settings.clearOwnership,\r\n clearAccess = settings.clearAccess;\r\n\r\n if (!clearOwnership && !clearAccess)\r\n return;\r\n\r\n searchPresetService.updateAutoAssignments({ dealerID: $ctrl.selectedDealerId, resetOwnerAutoAssignments: clearOwnership, resetAccessAutoAssignments: clearAccess })\r\n .then(success => {\r\n if (success) {\r\n $translate([successKey]).then(function (translations) {\r\n toaster.pop({\r\n type: messageTypes.success,\r\n title: translations[successKey],\r\n body: $ctrl.srchPreClearAutoMsg,\r\n bodyOutputType: 'trustedHtml',\r\n showCloseButton: false,\r\n });\r\n })\r\n }\r\n })\r\n }\r\n\r\n function saveSelectedSearchPresets(searchPresets) {\r\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\r\n var data = grid.dataSource.data();\r\n\r\n var maxOrder = 0;\r\n if (data.length > 0) {\r\n maxOrder = Math.max.apply(Math, data.map(function (presets) { return presets.Order; }))\r\n }\r\n\r\n for (let i = 0; i < searchPresets.selectedSearchPresets.length; i++) {\r\n var searchPreset = searchPresets.selectedSearchPresets[i];\r\n data.push({\r\n Id: getKendoIdFromUserConditionId(searchPreset.userSearchConditionID),\r\n Name: searchPreset.searchConditionName,\r\n Order: ++maxOrder,\r\n Owner: { GroupName: \"\", GroupId: \"-1\" },\r\n OwnerTemplate: { TemplateName: \"\", TemplateId: \"-1\" },\r\n MaxOwnerEntries: null,\r\n Access: { GroupName: \"\", GroupId: \"-1\" },\r\n AccessTemplate: { TemplateName: \"\", TemplateId: \"-1\" },\r\n MaxAccessEntries: null,\r\n PandoX: { CategoryName: \"\", CategoryId: \"-1\" },\r\n PandoXRuleQuantity: null,\r\n AssignedWorkflow: { WorkflowName: \"\", WorkflowInstanceId: \"-1\" },\r\n MaxAssignEntries: null,\r\n IsPriority: searchPreset.isPriority,\r\n SearchActiveStartDate: searchPreset.searchActiveStartDate,\r\n SearchActiveEndDate: searchPreset.searchActiveEndDate,\r\n });\r\n }\r\n updatePresets();\r\n grid.refresh();\r\n }\r\n\r\n function hintElement(element) { // Customize the hint\r\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\"),\r\n table = grid.table.clone(),\r\n wrapperWidth = grid.wrapper.width(),\r\n wrapper = $(\"
\").width(wrapperWidth),\r\n hint;\r\n\r\n table.find(\"thead\").remove(); // Remove Grid's header from the hint\r\n table.find(\"tbody\").empty(); // Remove the existing rows from the hint\r\n table.wrap(wrapper); // Wrap the table\r\n table.append(element.clone().removeAttr(\"id\")); // Append the dragged element\r\n\r\n hint = table.parent().parent(); // Get the wrapper\r\n return hint; // Return the hint element\r\n }\r\n\r\n function AddDragDrop() {\r\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\r\n\r\n if (grid === undefined) return;\r\n\r\n grid.table.kendoSortable({\r\n hint: hintElement,\r\n cursor: \"move\",\r\n placeholder: function (element) {\r\n return element.clone().addClass(\"k-state-hover\").css(\"opacity\", 0.65);\r\n },\r\n container: \"#gridManageSearches tbody\",\r\n filter: \">tbody > tr:not(.k-grid-edit-row)\",\r\n change: function (e) {\r\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\"),\r\n oldIndex = e.oldIndex, // The old position\r\n newIndex = e.newIndex, // The new position\r\n view = grid.dataSource.view(),\r\n dataItem = grid.dataSource.getByUid(e.item.data(\"uid\")); // Retrieve the moved dataItem\r\n\r\n dataItem.Order = newIndex + 1; // Update the order\r\n dataItem.dirty = true;\r\n\r\n // Shift the order of the records\r\n if (oldIndex < newIndex) {\r\n for (var i = oldIndex + 1; i <= newIndex; i++) {\r\n view[i].Order--;\r\n view[i].dirty = true;\r\n }\r\n } else {\r\n for (var j = oldIndex - 1; j >= newIndex; j--) {\r\n view[j].Order++;\r\n view[j].dirty = true;\r\n }\r\n }\r\n\r\n grid.dataSource.sync();\r\n }\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-preset-selector.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\nimport './search-manage-presets.component.scss';\r\n\r\n\r\nangular.module('AaApp.Opp').component('searchPresetSelector', {\r\n templateUrl: '/app/components/search/search-preset-selector.component.html',\r\n controller: SearchPresetSelectorController,\r\n bindings: {\r\n selectedDealerId: '<',\r\n getSelections: '=',\r\n onSelection: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchPresetSelectorController($q, $translate, $timeout, searchPresetTypes, searchPresetService, dealerService, pandoSurveyService, tokenService, userService, modules) {\r\n var $ctrl = this;\r\n\r\n $ctrl.cachedAvailableSearchPresets;\r\n $ctrl.cachedSelectedSearchPresets;\r\n $ctrl.searchPresetTypeTranslateKeys;\r\n $ctrl.searchPresetTypes;\r\n $ctrl.availableSearchPresets;\r\n $ctrl.selectedSearchPresets;\r\n $ctrl.$onInit = init;\r\n $ctrl.filterAvailableSearchPresets = filterAvailableSearchPresets;\r\n $ctrl.searchPresetTypeList = null;\r\n $ctrl.filterSelectedPresets = filterSelectedPresets;\r\n $ctrl.searchPresetsSelections = [];\r\n $ctrl.hasSelections = false;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.isFordAlert = false;\r\n\r\n const maxNonPrioritySearch = 20;\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n if ($ctrl.selectedDealerId == null) $ctrl.selectedDealerId = $ctrl.dealers[0].id;\r\n\r\n $ctrl.getSelections = getSelections;\r\n $ctrl.cachedSelectedSearchPresets = [];\r\n $ctrl.searchPresetTypes = searchPresetTypes;\r\n\r\n $ctrl.searchPresetTypeTranslateKeys = _.invert(searchPresetTypes);\r\n onDealerSelect();\r\n }\r\n\r\n function filterSelectedPresets(searchPreset) {\r\n var selected = $ctrl.availableSearchPresets\r\n .filter(function (o) { return o.selected });\r\n\r\n var nonPrioritySelections = $ctrl.selectedSearchPresets.concat(selected).filter(obj => { return obj.isPriority === false });\r\n\r\n if (nonPrioritySelections.length > maxNonPrioritySearch) {\r\n $ctrl.errorMessageVisible = true;\r\n $timeout(() => $ctrl.errorMessageVisible = false, 3000);\r\n searchPreset.selected = false;\r\n }\r\n else {\r\n $ctrl.errorMessageVisible = false;\r\n }\r\n\r\n $ctrl.searchPresetsSelections = $ctrl.availableSearchPresets\r\n .filter(function (o) { return o.selected });\r\n $ctrl.hasSelections = ($ctrl.searchPresetsSelections.length > 0);\r\n onSelection();\r\n }\r\n\r\n function onSelection() {\r\n $ctrl.onSelection({ hasSelections: $ctrl.hasSelections });\r\n }\r\n\r\n function byOrder(searchPreset1, searchPreset2) {\r\n return searchPreset1.order - searchPreset2.order;\r\n }\r\n\r\n function bySearchConditionName(object1, object2) {\r\n if (object1.searchConditionName < object2.searchConditionName)\r\n return -1;\r\n if (object1.searchConditionName > object2.searchConditionName)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function getSelections() {\r\n\r\n if ($ctrl.searchPresetsSelections === undefined)\r\n {\r\n return {\r\n dealerId: $ctrl.selectedDealerId,\r\n selectedSearchPresets: []\r\n };\r\n }\r\n\r\n return {\r\n dealerId: $ctrl.selectedDealerId,\r\n selectedSearchPresets: $ctrl.searchPresetsSelections.sort(bySearchConditionName)\r\n };\r\n }\r\n\r\n function busy(translationKey, promise) {\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect() {\r\n $ctrl.availableSearchPresets = null;\r\n $ctrl.selectedSearchPresets = null;\r\n\r\n if ($ctrl.selectedDealerId) {\r\n\r\n $ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\r\n\r\n if ($ctrl.cachedAvailableSearchPresets && $ctrl.cachedSelectedSearchPresets) {\r\n filterSearchPresets();\r\n }\r\n else {\r\n\r\n return busy(\r\n \"Loading Searches\", \r\n $q.all({\r\n allpresets: searchPresetService.getSearchPresets(),\r\n previouslyselected: searchPresetService.getDealerSearchPresetLayouts($ctrl.selectedDealerId)\r\n }).then(setSearchPresets)\r\n );\r\n }\r\n }\r\n }\r\n\r\n function setSearchPresets(searchPresets) {\r\n if ($ctrl.cachedSelectedSearchPresets.length == 0) {\r\n $ctrl.cachedSelectedSearchPresets = searchPresets.previouslyselected;\r\n }\r\n if (!$ctrl.cachedAvailableSearchPresets) {\r\n $ctrl.cachedAvailableSearchPresets = searchPresets.allpresets;\r\n }\r\n filterSearchPresets();\r\n }\r\n\r\n function filterSearchPresets() {\r\n $ctrl.selectedSearchPresets = $ctrl.cachedSelectedSearchPresets.filter(preset => preset.dealerID == $ctrl.selectedDealerId).sort(byOrder);\r\n\r\n $ctrl.availableSearchPresets = _.differenceBy($ctrl.cachedAvailableSearchPresets, $ctrl.selectedSearchPresets, 'userSearchConditionID');\r\n\r\n $ctrl.searchPresetTypeList = [];\r\n\r\n if ($ctrl.availableSearchPresets.some(p => p.userSearchConditionGroupType == $ctrl.searchPresetTypes.dealer && p.dealerID == $ctrl.selectedDealerId)) \r\n $ctrl.searchPresetTypeList.push($ctrl.searchPresetTypes.dealer);\r\n\r\n if ($ctrl.availableSearchPresets.some(p => p.userSearchConditionGroupType == $ctrl.searchPresetTypes.common)) \r\n $ctrl.searchPresetTypeList.push($ctrl.searchPresetTypes.common);\r\n\r\n\r\n if ($ctrl.availableSearchPresets.some(p => p.userSearchConditionGroupType == $ctrl.searchPresetTypes.tag && p.dealerID == $ctrl.selectedDealerId)) \r\n $ctrl.searchPresetTypeList.push($ctrl.searchPresetTypes.tag);\r\n }\r\n\r\n function filterAvailableSearchPresets(searchPreset) {\r\n return searchPreset.userSearchConditionGroupType == $ctrl.searchPresetTypes.common\r\n || (searchPreset.userSearchConditionGroupType == $ctrl.searchPresetTypes.dealer && searchPreset.dealerID == $ctrl.selectedDealerId)\r\n || (searchPreset.userSearchConditionGroupType == $ctrl.searchPresetTypes.tag && searchPreset.dealerID == $ctrl.selectedDealerId);\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-preset-settings.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\nimport $ from 'jquery';\r\nimport './search-manage-presets.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchPresetSettings', {\r\n templateUrl: '/app/components/search/search-preset-settings.component.html',\r\n controller: SearchPresetSettingsController,\r\n bindings: {\r\n getSelections: '=',\r\n onSelection: '&',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchPresetSettingsController($q, $translate, $timeout, searchPresetTypes, searchPresetService, dealerService, pandoSurveyService, tokenService, userService, modules) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.clearOwnership;\r\n $ctrl.clearAccess;\r\n $ctrl.getSelections = getSelections;\r\n $ctrl.selectionsChanged = selectionsChanged;\r\n\r\n function init() {\r\n $ctrl.hasSelections = false;\r\n }\r\n\r\n function getSelections() {\r\n\r\n return {\r\n clearOwnership: $ctrl.clearOwnership === undefined ? false : $ctrl.clearOwnership, \r\n clearAccess: $ctrl.clearAccess === undefined ? false : $ctrl.clearAccess\r\n };\r\n }\r\n\r\n function selectionsChanged() {\r\n $ctrl.hasSelections = ($ctrl.clearOwnership === true || $ctrl.clearAccess === true);\r\n onSelection();\r\n }\r\n\r\n function onSelection() {\r\n $ctrl.onSelection({ hasSelections: $ctrl.hasSelections });\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-preset-settings-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('searchPresetSettingsModal', {\r\n templateUrl: '/app/components/search/search-preset-settings-modal.component.html',\r\n controller: SearchPresetSettingsModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchPresetSettingsModalController($uibModal, $document) {\r\n var $ctrl = this;\r\n\r\n $ctrl.getSelections;\r\n $ctrl.submit = submit;\r\n $ctrl.hasSelections;\r\n $ctrl.onSelection = onSelection;\r\n\r\n function submit() {\r\n var selections = $ctrl.getSelections();\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'confirmationModal',\r\n resolve: {\r\n title: function () {\r\n return \"Please Confirm\";\r\n },\r\n message: function () {\r\n return \"Are you sure you want to clear the selected auto-assignments from the entire portfolio? This action cannot be undone.\";\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"confirm\"; // translation key\r\n }\r\n }\r\n });\r\n\r\n modal.result.then(function () {\r\n $ctrl.close({ $value: { clearOwnership: selections.clearOwnership, clearAccess: selections.clearAccess } });\r\n });\r\n\r\n }\r\n\r\n function onSelection(hasSelections) {\r\n $ctrl.hasSelections = hasSelections;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-export-modal.component.html');\n\nimport angular from 'angular';\r\nimport { getUrlComponents } from \"../../utilities/url\"\r\nimport { ChildMessagePort } from '../../utilities/messaging';\r\nimport './search-export-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchExportModal', {\r\n templateUrl: '/app/components/search/search-export-modal.component.html',\r\n controller: SearchExportModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchExportModalController($element, $scope, $sce, legacy, $logFactory) {\r\n var $ctrl = this;\r\n\r\n const log = $logFactory.get();\r\n\r\n $ctrl.submit = submit;\r\n $ctrl.$onInit = onInit;\r\n const originalIframeExportUrl = legacy.iframeUrl + \"/AlertDesk/Search/Export\";\r\n $ctrl.selectedDealerId;\r\n $ctrl.iframeUrl;\r\n\r\n\r\n function onInit() {\r\n var rendered = $ctrl.resolve.renderedPromise.rendered;\r\n if ($ctrl.resolve.renderedPromise.selectedDealerId === undefined) {\r\n $ctrl.selectedDealerId = 0;\r\n }\r\n else {\r\n $ctrl.selectedDealerId = $ctrl.resolve.renderedPromise.selectedDealerId;\r\n }\r\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeExportUrl + \"?lm=Export&dealerID=\" + $ctrl.selectedDealerId + \"&fa=\" + $ctrl.resolve.isFordAlert);\r\n\r\n rendered.then(function () {\r\n const iframeExport = $element.find(\".ifrmSearchExport\")[0];\r\n const originExport = getUrlComponents(originalIframeExportUrl).origin;\r\n $ctrl.messageChannelExport = new ChildMessagePort(iframeExport, originExport, $scope);\r\n\r\n const subscription = $ctrl.messageChannelExport.subscribe(function ({ data }, replyPort) {\r\n if (data.type === \"EXPORT_SAVE_LAYOUT_COMPLETED\") { \r\n log.log(\"EXPORT_SAVE_LAYOUT_COMPLETED message received in Portal.\");\r\n $ctrl.close({ $value: { exportLayout: data.data.layoutData } });\r\n }\r\n })\r\n });\r\n }\r\n\r\n function submit() {\r\n var msg = {\r\n type: \"EXPORT_SAVE_LAYOUT\",\r\n data: {\r\n selectedDealerId: $ctrl.selectedDealerId\r\n }\r\n };\r\n $ctrl.messageChannelExport.postMessage(msg);\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-export-epsilon-modal.component.html');\n\nimport angular from 'angular';\r\nimport { getUrlComponents } from \"../../utilities/url\"\r\nimport { ChildMessagePort } from '../../utilities/messaging';\r\nimport './search-export-epsilon-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchExportEpsilonModal', {\r\n templateUrl: '/app/components/search/search-export-epsilon-modal.component.html',\r\n controller: SearchExportEpsilonModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchExportEpsilonModalController($element, $scope, $sce, legacy, $logFactory, searchService) {\r\n var $ctrl = this;\r\n\r\n const log = $logFactory.get();\r\n\r\n $ctrl.submit = submit;\r\n $ctrl.$onInit = onInit;\r\n $ctrl.requestsInWindow;\r\n $ctrl.showHistory;\r\n $ctrl.showError;\r\n $ctrl.campaignType;\r\n $ctrl.campaignTypeName;\r\n\r\n $ctrl.campaignTypeTranslateKey = campaignTypeTranslateKey;\r\n\r\n function campaignTypeTranslateKey(input) {\r\n if (input.toLowerCase() == 'call center') {\r\n return 'exportCampaignType_callCenter';\r\n } else {\r\n return 'exportCampaignType_' + input.toLowerCase()\r\n }\r\n }\r\n\r\n function onInit() {\r\n $ctrl.showHistory = true;\r\n $ctrl.showError = false;\r\n $ctrl.campaignType = \"0\";\r\n $ctrl.campaignTypeName = \"\";\r\n searchService.getDealerCampaignRequestsInWindow().then(function (windowData) {\r\n $ctrl.requestsInWindow = windowData;\r\n }); \r\n }\r\n\r\n function submit() {\r\n if (isInputValid()) {\r\n $ctrl.close({ $value: { success: true, campaignType: $ctrl.campaignType, campaignTypeName: $ctrl.campaignTypeName } });\r\n } else {\r\n $ctrl.showError = true;\r\n }\r\n }\r\n\r\n function isInputValid() {\r\n switch ($ctrl.campaignType) {\r\n case \"1\":\r\n case \"2\":\r\n case \"3\":\r\n case \"4\":\r\n case \"5\":\r\n return true;\r\n }\r\n return false;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-export-epsilon-result-modal.component.html');\n\nimport angular from 'angular';\r\nimport { getUrlComponents } from \"../../utilities/url\"\r\nimport { ChildMessagePort } from '../../utilities/messaging';\r\nimport './search-export-epsilon-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchExportEpsilonResultModal', {\r\n templateUrl: '/app/components/search/search-export-epsilon-result-modal.component.html',\r\n controller: SearchExportEpsilonResultModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchExportEpsilonResultModalController($element, $scope, $sce, legacy, $logFactory, searchService) {\r\n var $ctrl = this;\r\n\r\n const log = $logFactory.get();\r\n\r\n $ctrl.$onInit = onInit;\r\n $ctrl.requestsCreated;\r\n\r\n $ctrl.campaignTypeTranslateKey = campaignTypeTranslateKey;\r\n\r\n function campaignTypeTranslateKey(input) {\r\n if (input.toLowerCase() == 'call center') {\r\n return 'exportCampaignType_callCenter';\r\n } else {\r\n return 'exportCampaignType_' + input.toLowerCase()\r\n }\r\n }\r\n \r\n function onInit() {\r\n $ctrl.requestsCreated = $ctrl.resolve.renderedPromise;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-save-modal.component.html');\n\nimport angular from 'angular';\r\nimport './search-save-modal.component.scss';\r\nimport { PandoXRuleCategory } from '../../constants';\r\nimport { roundWithPrecision } from '../../utilities/math';\r\n\r\nangular.module('AaApp.Opp').component('searchSaveModal', {\r\n templateUrl: '/app/components/search/search-save-modal.component.html',\r\n controller: SearchSaveModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchSaveModalController(dealerService, userService, authorizationService, authorizationKeys) {\r\n var $ctrl = this;\r\n\r\n $ctrl.submit = submit;\r\n $ctrl.$onInit = onInit;\r\n $ctrl.pandoXCategoryChange = pandoXCategoryChange;\r\n $ctrl.autoShareSearchClicked = autoShareSearchClicked;\r\n $ctrl.pandoXRuleQuantityChanged = pandoXRuleQuantityChanged;\r\n $ctrl.selectedDealerId;\r\n $ctrl.iframeUrl;\r\n $ctrl.savedSearchName;\r\n $ctrl.autoShareSearch = false;\r\n $ctrl.autoShareSearchPosition = \"1\";\r\n $ctrl.hasShareSearchAccess = false;\r\n $ctrl.hasManageSearchAccess = false;\r\n $ctrl.assignPandoXRule = false;\r\n $ctrl.pandoXError = false;\r\n $ctrl.errorTooSmall = false;\r\n $ctrl.errorTooBig = false;\r\n\r\n $ctrl.assignPandoXRule = false;\r\n $ctrl.pandoXRuleCategory = PandoXRuleCategory;\r\n $ctrl.pandoXRuleQuantity;\r\n $ctrl.executePandoXImmediately;\r\n $ctrl.pandoXRuleCategoryId;\r\n $ctrl.isDealerPandoXEnabled = false;\r\n\r\n $ctrl.datePickerOptions = {\r\n startingDay: 0,\r\n showWeeks: false,\r\n minDate: null,\r\n maxDate: null\r\n }\r\n $ctrl.selectedValueFirstCSSClass = \"valid\";\r\n $ctrl.selectedValueLastCSSClass = \"valid\";\r\n $ctrl.useActiveDates = false;\r\n $ctrl.searchActiveStartDate = null;\r\n $ctrl.searchActiveEndDate = null;\r\n\r\n function onInit() {\r\n \r\n if ($ctrl.resolve.data.selectedDealerId === undefined) {\r\n $ctrl.selectedDealerId = 0;\r\n }\r\n else {\r\n $ctrl.selectedDealerId = $ctrl.resolve.data.selectedDealerId;\r\n }\r\n\r\n if ($ctrl.resolve.data.searchConditionName.length > 4) {\r\n $ctrl.savedSearchName = $ctrl.resolve.data.searchConditionName;\r\n }\r\n\r\n let continueLoop = true;\r\n let dealers = ($ctrl.selectedDealerId === 0) ? $ctrl.resolve.data.dealers : [{id:$ctrl.selectedDealerId}];\r\n for (let index = 0; index < dealers.length; index++) {\r\n const dealerId = dealers[index].id;\r\n\r\n if (!continueLoop) { break; }\r\n\r\n dealerService.getIsDealerPandoXEnabled(dealerId)\r\n .then(result => {\r\n if (result === true) {\r\n $ctrl.isDealerPandoXEnabled = result;\r\n continueLoop = false;\r\n }\r\n }); \r\n }\r\n\r\n userService.getUserProfile()\r\n .then(function (userProfile) {\r\n $ctrl.hasManageSearchAccess = (authorizationService.isAuthorized(authorizationKeys.ManageSearches) || userProfile.employeeUser);\r\n $ctrl.hasShareSearchAccess = (authorizationService.isAuthorized(authorizationKeys.ShareSearch) || userProfile.employeeUser);\r\n })\r\n\r\n }\r\n\r\n function autoShareSearchClicked(newValue) {\r\n if (newValue === false) {\r\n $ctrl.assignPandoXRule = false;\r\n }\r\n }\r\n\r\n function pandoXRuleQuantityChanged(newQuantity) {\r\n if (newQuantity >= 100) {\r\n $ctrl.pandoXRuleQuantity = 100;\r\n return;\r\n }\r\n\r\n $ctrl.pandoXRuleQuantity = roundWithPrecision(newQuantity, 0);\r\n }\r\n\r\n function pandoXCategoryChange() {\r\n $ctrl.pandoXRuleQuantity = 10;\r\n }\r\n\r\n function submit() {\r\n if (isInputValid()) {\r\n \r\n if (!$ctrl.autoShareSearch) {\r\n $ctrl.assignPandoXRule = null;\r\n $ctrl.pandoXRuleQuantity = null;\r\n $ctrl.executePandoXImmediately = null;\r\n $ctrl.pandoXRuleCategoryId = null;\r\n }\r\n\r\n if (!$ctrl.useActiveDates) {\r\n $ctrl.searchActiveStartDate = null;\r\n $ctrl.searchActiveEndDate = null;\r\n }\r\n\r\n $ctrl.close({ \r\n $value: { \r\n savedSearchName: $ctrl.savedSearchName, \r\n autoShareSearch: $ctrl.autoShareSearch, \r\n autoShareSearchPosition: $ctrl.autoShareSearchPosition,\r\n assignPandoXRule: $ctrl.assignPandoXRule,\r\n pandoXRuleQuantity: $ctrl.pandoXRuleQuantity,\r\n executePandoXImmediately: $ctrl.executePandoXImmediately,\r\n pandoXRuleCategoryId: $ctrl.pandoXRuleCategoryId,\r\n searchActiveStartDate: $ctrl.searchActiveStartDate,\r\n searchActiveEndDate: $ctrl.searchActiveEndDate,\r\n }\r\n });\r\n }\r\n }\r\n\r\n function isInputValid() {\r\n $ctrl.errorTooSmall = false;\r\n $ctrl.errorTooBig = false;\r\n $ctrl.pandoXError = false;\r\n $ctrl.invalidDates = false;\r\n\r\n if ($ctrl.savedSearchName === undefined || $ctrl.savedSearchName.length < 4) {\r\n $ctrl.errorTooSmall = true;\r\n return false;\r\n }\r\n\r\n if ($ctrl.savedSearchName.length > 64) {\r\n $ctrl.errorTooBig = true;\r\n return false;\r\n }\r\n\r\n if ($ctrl.assignPandoXRule) {\r\n if (!$ctrl.pandoXRuleCategoryId || !$ctrl.pandoXRuleQuantity ) {\r\n $ctrl.pandoXError = true;\r\n return false;\r\n }\r\n\r\n if ($ctrl.pandoXRuleQuantity < 1 || $ctrl.pandoXRuleQuantity > 100) {\r\n return false;\r\n }\r\n }\r\n\r\n if ($ctrl.useActiveDates) {\r\n if ($ctrl.searchActiveStartDate != null && $ctrl.searchActiveEndDate != null && (new Date($ctrl.searchActiveEndDate) < new Date($ctrl.searchActiveStartDate))) {\r\n $ctrl.invalidDates = true;\r\n return false;\r\n }\r\n }\r\n \r\n return true;\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-save-layout-modal.component.html');\n\nimport angular from 'angular';\r\nimport { getUrlComponents } from \"../../utilities/url\"\r\nimport { ChildMessagePort } from '../../utilities/messaging';\r\nimport './search-save-layout-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchSaveLayoutModal', {\r\n templateUrl: '/app/components/search/search-save-layout-modal.component.html',\r\n controller: SearchSaveLayoutModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchSaveLayoutModalController($element, $scope, $sce, $uibModal, $document, legacy, urlHelper) {\r\n var $ctrl = this;\r\n\r\n $ctrl.submit = submit;\r\n $ctrl.$onInit = onInit;\r\n const originalIframeLayoutUrl = legacy.iframeUrl + \"/AlertDesk/Search/Export\";\r\n $ctrl.selectedDealerId;\r\n $ctrl.iframeUrl;\r\n\r\n function onInit() {\r\n var rendered = $ctrl.resolve.renderedPromise.rendered;\r\n if ($ctrl.resolve.renderedPromise.selectedDealerId === undefined) {\r\n $ctrl.selectedDealerId = 0;\r\n }\r\n else {\r\n $ctrl.selectedDealerId = $ctrl.resolve.renderedPromise.selectedDealerId;\r\n }\r\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeLayoutUrl + \"?lm=Search&dealerID=\" + $ctrl.selectedDealerId + \"&fa=\" + $ctrl.resolve.isFordAlert);\r\n\r\n rendered.then(function () {\r\n const iframeLayout = $element.find(\".ifrmSearchLayout\")[0];\r\n const originLayout = getUrlComponents(originalIframeLayoutUrl).origin;\r\n $ctrl.messageChannelLayout = new ChildMessagePort(iframeLayout, originLayout, $scope);\r\n\r\n const subscription = $ctrl.messageChannelLayout.subscribe(function ({ data }, replyPort) {\r\n if (data.type === \"SEARCH_SAVE_LAYOUT_COMPLETED\") {\r\n //console.log(\"SEARCH_SAVE_LAYOUT_COMPLETED message received in Portal.\");\r\n $ctrl.close({ $value: { success: true, exportLayout: data.data.layoutData } });\r\n\r\n }\r\n })\r\n });\r\n }\r\n\r\n function submit() {\r\n var msg = {\r\n type: \"SEARCH_SAVE_LAYOUT\",\r\n data: {\r\n selectedDealerId: $ctrl.selectedDealerId\r\n }\r\n };\r\n $ctrl.messageChannelLayout.postMessage(msg);\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-reassign-modal.component.html');\n\nimport angular from 'angular';\r\nimport { getUrlComponents } from \"../../utilities/url\"\r\nimport { ChildMessagePort } from '../../utilities/messaging';\r\nimport './search-reassign-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchReassignModal', {\r\n templateUrl: '/app/components/search/search-reassign-modal.component.html',\r\n controller: SearchReassignModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchReassignModalController($element, $scope, $sce, $uibModal, $document, legacy, urlHelper) {\r\n var $ctrl = this;\r\n\r\n $ctrl.submit = submit;\r\n $ctrl.$onInit = onInit;\r\n const originalIframeUrl = legacy.iframeUrl + \"/AlertDesk/Search/SearchReassign\";\r\n $ctrl.selectedDealerId;\r\n $ctrl.iframeUrl;\r\n $ctrl.dealsheetDomain;\r\n\r\n\r\n function onInit() {\r\n var rendered = $ctrl.resolve.data.rendered;\r\n if ($ctrl.resolve.data.selectedDealerId === undefined) {\r\n $ctrl.selectedDealerId = 0;\r\n }\r\n else {\r\n $ctrl.selectedDealerId = $ctrl.resolve.data.selectedDealerId;\r\n }\r\n $ctrl.dealsheetDomain = $ctrl.resolve.data.dealsheetDomain;\r\n\r\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeUrl + \"?dealerID=\" + $ctrl.selectedDealerId + \"&ds=\" + $ctrl.dealsheetDomain);\r\n\r\n rendered.then(function () {\r\n const iframe = $element.find(\".ifrmSearchReassign\")[0];\r\n const origin = getUrlComponents(originalIframeUrl).origin;\r\n $ctrl.messageChannel = new ChildMessagePort(iframe, origin, $scope);\r\n\r\n $ctrl.messageChannel.subscribe(function ({ data }, replyPort) {\r\n if (data.type === \"SEARCH_REASSIGN_SELECTED_USERS\") {\r\n $ctrl.close({ $value: { assignedUsers: data.data.assignedUsers } });\r\n }\r\n })\r\n });\r\n }\r\n\r\n function submit() {\r\n var msg = {\r\n type: \"SEARCH_SUBMIT_REASSIGN\",\r\n data: {\r\n selectedDealerId: $ctrl.selectedDealerId\r\n }\r\n };\r\n $ctrl.messageChannel.postMessage(msg);\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-add-access-modal.component.html');\n\nimport angular from 'angular';\r\nimport { getUrlComponents } from \"../../utilities/url\"\r\nimport { ChildMessagePort } from '../../utilities/messaging';\r\nimport './search-add-access-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchAddAccessModal', {\r\n templateUrl: '/app/components/search/search-add-access-modal.component.html',\r\n controller: SearchAddAccessModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchAddAccessModalController($element, $scope, $sce, $uibModal, $document, legacy, urlHelper) {\r\n var $ctrl = this;\r\n\r\n $ctrl.submit = submit;\r\n $ctrl.$onInit = onInit;\r\n const originalIframeUrl = legacy.iframeUrl + \"/AlertDesk/Search/SearchAddAccess\";\r\n $ctrl.selectedDealerId;\r\n $ctrl.iframeUrl;\r\n $ctrl.dealsheetDomain;\r\n\r\n\r\n function onInit() {\r\n var rendered = $ctrl.resolve.data.rendered;\r\n if ($ctrl.resolve.data.selectedDealerId === undefined) {\r\n $ctrl.selectedDealerId = 0;\r\n }\r\n else {\r\n $ctrl.selectedDealerId = $ctrl.resolve.data.selectedDealerId;\r\n }\r\n $ctrl.dealsheetDomain = $ctrl.resolve.data.dealsheetDomain;\r\n\r\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeUrl + \"?dealerID=\" + $ctrl.selectedDealerId + \"&ds=\" + $ctrl.dealsheetDomain);\r\n\r\n rendered.then(function () {\r\n const iframe = $element.find(\".ifrmSearchAddAccess\")[0];\r\n const origin = getUrlComponents(originalIframeUrl).origin;\r\n $ctrl.messageChannel = new ChildMessagePort(iframe, origin, $scope);\r\n\r\n $ctrl.messageChannel.subscribe(function ({ data }, replyPort) {\r\n if (data.type === \"SEARCH_ADD_ACCESS_SELECTED_USERS\") {\r\n $ctrl.close({ $value: { assignedUsers: data.data.assignedUsers } });\r\n }\r\n })\r\n });\r\n }\r\n\r\n function submit() {\r\n var msg = {\r\n type: \"SEARCH_SUBMIT_ADD_ACCESS\",\r\n data: {\r\n selectedDealerId: $ctrl.selectedDealerId\r\n }\r\n };\r\n $ctrl.messageChannel.postMessage(msg);\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-direct-alert-modal.component.html');\n\nimport angular from 'angular';\r\nimport { getUrlComponents } from \"../../utilities/url\"\r\nimport { ChildMessagePort } from '../../utilities/messaging';\r\nimport './search-direct-alert-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchDirectAlertModal', {\r\n templateUrl: '/app/components/search/search-direct-alert-modal.component.html',\r\n controller: SearchDirectAlertModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchDirectAlertModalController($element, $scope, $sce, legacy) {\r\n var $ctrl = this;\r\n\r\n //$ctrl.submit = submit;\r\n $ctrl.$onInit = onInit;\r\n const originalIframeUrl = legacy.iframeUrl + \"/AlertDesk/Search/SearchDirectAlert\";\r\n $ctrl.selectedDealerId;\r\n $ctrl.iframeUrl;\r\n\r\n\r\n function onInit() {\r\n var rendered = $ctrl.resolve.data.rendered;\r\n if ($ctrl.resolve.data.selectedDealerId === undefined) {\r\n $ctrl.selectedDealerId = 0;\r\n }\r\n else {\r\n $ctrl.selectedDealerId = $ctrl.resolve.data.selectedDealerId;\r\n }\r\n\r\n var searchCriteria = $ctrl.resolve.data.searchCriteria;\r\n var searchResultsForm = $ctrl.resolve.data.searchResultsForm;\r\n\r\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeUrl + \"?dealerID=\" + $ctrl.selectedDealerId);\r\n\r\n rendered.then(function () {\r\n const iframe = $element.find(\".ifrmSearchDirectAlert\")[0];\r\n const origin = getUrlComponents(originalIframeUrl).origin;\r\n $ctrl.messageChannel = new ChildMessagePort(iframe, origin, $scope);\r\n\r\n var msg = {\r\n type: \"SEARCH_INIT_DIRECT_ALERT\",\r\n data: {\r\n searchCriteria: searchCriteria,\r\n searchResultsForm: searchResultsForm\r\n }\r\n };\r\n $ctrl.messageChannel.postMessage(msg);\r\n\r\n $ctrl.messageChannel.subscribe(function ({ data }, replyPort) {\r\n if (data.type === \"SEARCH_DIRECT_ALERT_COMPLETE\") {\r\n $ctrl.close({ $value: { url: data.data.url } });\r\n }\r\n })\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-directalert.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('searchDirectAlert', {\r\n templateUrl: '/app/components/search/search-directalert.component.html',\r\n controller: SearchDirectAlertController,\r\n bindings: {\r\n url: '<',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchDirectAlertController($sce) {\r\n var $ctrl = this;\r\n\r\n $ctrl.iframeUrl;\r\n $ctrl.$onInit = init;\r\n\r\n function init() {\r\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(decodeURIComponent($ctrl.url));\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./search-save-response-modal.component.html');\n\nimport angular from 'angular';\r\nimport { saveResponseCodes } from './searchfilter-definitions';\r\n\r\nimport './search-save-response-modal.component.scss';\r\n\r\nangular.module('AaApp.Opp').component('searchSaveResponseModal', {\r\n templateUrl: '/app/components/search/search-save-response-modal.component.html',\r\n controller: SaveSearchResponseModalController,\r\n bindings: {\r\n resolve: '<',\r\n saveSearchResponse: '<',\r\n close: '&',\r\n dismiss: '&'\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SaveSearchResponseModalController($element, $scope, $sce, $uibModal, $document, legacy, urlHelper) {\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = onInit;\r\n $ctrl.saveResponse = $ctrl.resolve.saveResponse;\r\n $ctrl.saveResponseCodes = saveResponseCodes;\r\n $ctrl.getDealerNameById = getDealerNameById;\r\n $ctrl.dealers = $ctrl.resolve.dealers;\r\n\r\n function onInit() {\r\n }\r\n\r\n function getDealerNameById(dealerId) {\r\n if ($ctrl.dealers != null) {\r\n var dealer = $ctrl.dealers.filter(d => d.id == dealerId);\r\n if (dealer.length > 0)\r\n return dealer[0].name; \r\n }\r\n\r\n return \"\"; // this should never happen\r\n }\r\n}\r\n","import \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es7.promise.finally\";\nWishListController.$inject = [\"$translate\", \"$q\", \"vehicleService\", \"dealerService\", \"userService\", \"dataEntryService\", \"storageService\", \"$uibModal\", \"$document\", \"cultures\", \"environmentVariables\", \"logger\", \"$timeout\", \"modules\", \"$filter\", \"_\"];\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/* injects from baggage-loader */\nrequire('./wish-list.component.html');\n\nimport angular from 'angular';\nimport './wish-list.component.scss';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nimport eyeIconPath from '../../images/icon-eye-lake.svg';\nimport $ from 'jquery';\nangular.module('AaApp.Opp').component('wishList', {\n templateUrl: '/app/components/wish-list/wish-list.component.html',\n controller: WishListController,\n bindings: {\n kendo: '<'\n }\n});\n\nfunction WishListController($translate, $q, vehicleService, dealerService, userService, dataEntryService, storageService, $uibModal, $document, cultures, environmentVariables, logger, $timeout, modules, $filter, _) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.setKendoCulture = setKendoCulture;\n $ctrl.loadWishLists = loadWishLists;\n $ctrl.loadDetails = loadDetails;\n $ctrl.getTranslations = getTranslations;\n $ctrl.dealerService = dealerService;\n $ctrl.vehicleService = vehicleService;\n $ctrl.environmentVariables = environmentVariables;\n $ctrl.displayTrimList = displayTrimList;\n $ctrl.displayDistributionList = displayDistributionList;\n $ctrl.saveModalData = saveModalData;\n $ctrl.wishListCriteria;\n $ctrl.cultureName;\n $ctrl.translations = {};\n $ctrl.trimList = [];\n $ctrl.editWishList = editWishList;\n $ctrl.users;\n $ctrl.distributionList;\n $ctrl.makes;\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n var selectedDealerId = storageService.getItem('selectedDealerId');\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\n $q.all([userService.getUserProfile(), $ctrl.getTranslations()]).then(function (data) {\n var userProfile = data[0];\n $ctrl.translations = data[1];\n $ctrl.cultureName = userProfile.cultureName;\n setKendoCulture();\n initGridOptions();\n onDealerSelect();\n });\n }\n\n function busy(translationKey, promise) {\n //global\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(dealerId) {\n if (dealerId > 0) {\n $ctrl.selectedDealerId = dealerId;\n storageService.setItem(\"selectedDealerId\", dealerId);\n }\n\n return busy($ctrl.translations.loadingMakeModelTrim, $q.all([$ctrl.vehicleService.getMakes($ctrl.selectedDealerId, null), userService.getUsersExt($ctrl.selectedDealerId)]).then(function (data) {\n $ctrl.makes = data[0];\n $ctrl.users = data[1].sort(byFullName);\n return loadWishLists();\n }));\n }\n\n function loadDetails(dealerId, dealerWishListID) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n windowClass: 'wish-list-matches-modal',\n component: 'wishListMatchesModal',\n resolve: {\n title: function title() {\n return $ctrl.translations.wishlistMatchesTitle;\n },\n message: function message() {\n return {\n dealerWishListID: dealerWishListID,\n selectedDealerId: dealerId,\n users: $ctrl.users,\n kendo: $ctrl.kendo,\n translations: $ctrl.translations\n };\n },\n closeButtonVisible: function closeButtonVisible() {\n return true;\n },\n submitButtonVisible: function submitButtonVisible() {\n return false;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n closeButtonText: function closeButtonText() {\n return \"close\"; // translation key\n }\n }\n });\n }\n\n function loadWishLists() {\n return busy($ctrl.translations.loadingWishlistData, dealerService.getDealerWishLists($ctrl.selectedDealerId).then(function (data) {\n $ctrl.wishListData = data;\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: $ctrl.wishListData,\n schema: {\n model: {\n id: 'dealerWishListID',\n fields: {\n dealerWishListID: {\n type: \"number\",\n editable: false\n },\n dealerID: {\n type: \"number\",\n editable: false\n },\n expirationDateUtc: {\n type: \"date\",\n editable: false\n },\n active: {\n type: \"boolean\",\n editable: false\n },\n distributionList: {\n type: \"array\",\n editable: false\n },\n createUserID: {\n type: \"number\",\n editable: false\n },\n createUserFullName: {\n type: \"string\",\n editable: false\n },\n modifyUserID: {\n type: \"number\",\n editable: false\n },\n modifyUserFullName: {\n type: \"string\",\n editable: false\n },\n createDateUtc: {\n type: \"date\",\n editable: false\n },\n modifyDateUtc: {\n type: \"date\",\n editable: false\n },\n searchObject: {\n type: \"array\",\n editable: false\n }\n }\n }\n },\n sort: {\n field: \"createDateUtc\",\n dir: \"desc\"\n },\n batch: true,\n pageSize: 20\n });\n }));\n }\n\n function saveModalData(modalState) {\n dealerService.saveDealerWishList(modalState).then(function () {\n logger.success(\"changesSaved\");\n onDealerSelect($ctrl.selectedDealerId);\n });\n }\n\n function editWishList(dealerWishlistID) {\n var row = $ctrl.ds.get(dealerWishlistID);\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'editWishListModal',\n size: 'lg',\n resolve: {\n title: function title() {\n return dealerWishlistID != null ? $ctrl.translations.editWishlist : $ctrl.translations.addVehicleToWishlist;\n },\n message: function message() {\n return {\n row: row,\n selectedDealerId: $ctrl.selectedDealerId,\n users: $ctrl.users,\n save: $ctrl.saveModalData,\n translations: $ctrl.translations\n };\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return true;\n },\n submitButtonText: function submitButtonText() {\n return dealerWishlistID != null ? $ctrl.translations.saveChanges : $ctrl.translations.addToWishlist;\n }\n }\n });\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n pageable: true,\n height: 500,\n columns: [{\n field: \"makeName\",\n title: $ctrl.translations.make,\n template: '{{dataItem.searchObject.makeName}}',\n width: \"10%\",\n sortable: {\n compare: function compare(a, b) {\n var first = a.searchObject.makeName;\n var second = b.searchObject.makeName;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"modelName\",\n title: $ctrl.translations.model,\n template: '{{dataItem.searchObject.modelName}}',\n width: \"10%\",\n sortable: {\n compare: function compare(a, b) {\n var first = a.searchObject.modelName;\n var second = b.searchObject.modelName;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"yearRange\",\n title: $ctrl.translations.year,\n template: yearRangeTemplate,\n width: \"8%\",\n attributes: {\n style: \"text-align: center\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n },\n sortable: {\n compare: function compare(a, b) {\n var first = a.searchObject.yearMin + \"-\" + a.searchObject.yearMax;\n var second = b.searchObject.yearMin + \"-\" + b.searchObject.yearMax;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, _defineProperty({\n field: \"trimList\",\n title: $ctrl.translations.trims,\n template: trimListTemplate,\n width: \"13%\",\n attributes: {\n style: \"font-size: 11pt\"\n },\n sortable: false\n }, \"sortable\", {\n compare: function compare(a, b) {\n var trims_a = \"\";\n var trims_b = \"\";\n\n if (a.searchObject.trimList && a.searchObject.trimList.length > 0) {\n var uniqueTrimsByNamea = $filter('unique')(a.searchObject.trimList, 'trimName');\n var trims_a = uniqueTrimsByNamea.map(function (t) {\n return t.trimName;\n }).sort();\n }\n\n if (b.searchObject.trimList && b.searchObject.trimList.length > 0) {\n var uniqueTrimsByNameb = $filter('unique')(b.searchObject.trimList, 'trimName');\n var trims_b = uniqueTrimsByNameb.map(function (t) {\n return t.trimName;\n }).sort();\n }\n\n var first = trims_a;\n var second = trims_b;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }), {\n field: \"odometerRange\",\n title: $ctrl.translations.odometer,\n template: odometorRangeTemplate,\n width: \"8%\",\n sortable: {\n compare: byOdometerRange\n }\n }, {\n field: \"createUserFullName\",\n title: $ctrl.translations.createdBy,\n width: \"12%\",\n sortable: true\n }, {\n field: \"createDateUtc\",\n title: $ctrl.translations.lblDateCreated,\n format: \"{0:d}\",\n width: \"8%\",\n sortable: true\n }, {\n field: \"expirationDate\",\n title: $ctrl.translations.expireOn,\n template: expirationDateTemplate,\n format: \"{0:d}\",\n width: \"7%\",\n sortable: {\n compare: function compare(a, b) {\n var first = a.expirationDateUtc ? a.expirationDateUtc : '';\n var second = b.expirationDateUtc ? b.expirationDateUtc : '';\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"active\",\n title: $ctrl.translations.wishlistActiveLabel,\n template: displayYesNo,\n width: \"4%\",\n sortable: {\n compare: function compare(a, b) {\n var first = displayYesNo(a);\n var second = displayYesNo(b);\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"notifyList\",\n title: $ctrl.translations.notify,\n template: notifyTemplate,\n width: \"6%\",\n sortable: false,\n attributes: {\n style: \"text-align: center\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"editWishList\",\n title: $ctrl.translations.edit,\n template: editWishListTemplate,\n width: \"4%\",\n sortable: false,\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }, {\n field: \"wishListResults\",\n title: $ctrl.translations.matches,\n template: detailLinkTemplate,\n width: \"6%\",\n sortable: false,\n attributes: {\n style: \"text-align: center\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }],\n //detailTemplate: kendo.template($(\"#detail-template\").html()),\n //detailInit: renderDetailsInnerGrid,\n editable: false,\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: true,\n reorderable: true,\n filterable: false\n };\n } //function renderDetailsInnerGrid(e) {\n // dealerService.GetDealerWishListLogs(e.data.dealerID, e.data.dealerWishListID, 50)\n // .then((data) => {\n // $ctrl.wishListMatches = data;\n // var config = {\n // dataSource: {\n // data: $ctrl.wishListMatches,\n // schema: {\n // model: {\n // id: 'dealerWishlistLogID',\n // fields: {\n // dealerWishlistLogID: { type: \"number\", editable: false },\n // dealerWishlistID: { type: \"number\", editable: false },\n // dealerID: { type: \"number\", editable: false },\n // serviceID: { type: \"number\", editable: false },\n // alerts: { type: \"array\", editable: false },\n // opportunityRank: { type: \"number\", editable: false },\n // resultDateUtc: { type: \"date\", editable: false },\n // distributionSent: { type: \"array\", editable: false },\n // notes: { type: \"string\", editable: false },\n // customerFullName: { type: \"string\", editable: false },\n // vin: { type: \"string\", editable: false },\n // yearID: { type: \"number\", editable: false },\n // odometer: { type: \"number\", editable: false },\n // trimName: { type: \"string\", editable: false },\n // rO_ID: { type: \"string\", editable: false },\n // distributionSent: { type: \"array\", editable: false },\n // }\n // }\n // },\n // batch: true,\n // pageSize: 20,\n // sort: {\n // field: \"resultDateUtc\",\n // dir: \"desc\"\n // }\n // },\n // pageable: true,\n // //height: 400,\n // columns: [\n // {\n // field: \"opportunityRank\",\n // title: \"Score\",\n // template: '#: opportunityRank #',\n // width: 12,\n // sortable: true\n // },\n // {\n // field: \"customerFullName\",\n // title: \"Customer\",\n // width: 30,\n // sortable: true,\n // },\n // {\n // field: \"alerts\",\n // title: \"Alerts\",\n // width: 30,\n // sortable: true,\n // },\n // {\n // field: \"vin\",\n // title: \"VIN\",\n // width: 40,\n // sortable: true,\n // },\n // {\n // field: \"yearID\",\n // title: \"Year\",\n // width: 15,\n // sortable: true,\n // },\n // {\n // field: \"odometer\",\n // title: \"Odometer\",\n // width: 18,\n // sortable: true,\n // },\n // {\n // field: \"trimName\",\n // title: \"Trim\",\n // width: 30,\n // sortable: true,\n // },\n // {\n // field: \"rO_ID\",\n // title: \"Service RO\",\n // width: 20,\n // sortable: true,\n // },\n // {\n // field: \"resultDateUtc\",\n // title: \"Date/Time\",\n // format: \"{0:MM-dd-yyyy hh:mm tt}\",\n // width: 35,\n // sortable: true,\n // },\n // //{\n // // field: \"notes\",\n // // title: \"Notes\",\n // // width: 40,\n // // sortable: true,\n // //},\n // {\n // field: \"distributionSent\",\n // title: \"Sent To\",\n // template: notifyTemplate,\n // width: 12,\n // sortable: false,\n // },\n // ],\n // editable: false,\n // sortable: {\n // mode: \"single\",\n // allowUnsort: false\n // },\n // resizable: true,\n // reorderable: true,\n // filterable: false\n // };\n // $(\"
\").appendTo(e.detailCell).kendoGrid(config);\n // });\n //}\n\n\n function byOdometerRange(o1, o2) {\n if (o1.searchObject.odometerMin == o2.searchObject.odometerMin) {\n if (o1.searchObject.odometerMax < o2.searchObject.odometerMax) return -1;\n if (o1.searchObject.odometerMax > o2.searchObject.odometerMax) return 1;\n return 0;\n } else {\n if (o1.searchObject.odometerMin < o2.searchObject.odometerMin) return -1;\n if (o1.searchObject.odometerMin > o2.searchObject.odometerMin) return 1;\n return 0;\n }\n }\n\n function byFullName(object1, object2) {\n var fullName1 = object1.fullName.toLowerCase();\n var fullName2 = object2.fullName.toLowerCase();\n if (fullName1 < fullName2) return -1;\n if (fullName1 > fullName2) return 1;\n return 0;\n }\n\n function displayTrimList(dealerWishListID) {\n var row = $ctrl.ds.get(dealerWishListID);\n $ctrl.trimList = row.searchObject.trimList.map(function (t) {\n return t.trimName;\n }).sort();\n }\n\n function displayDistributionList(dealerWishListID) {\n var row = $ctrl.ds.get(dealerWishListID);\n $ctrl.distributionList = row.distributionList.map(function (d) {\n return {\n userID: d,\n fullName: \"\",\n emailAddress: \"\"\n };\n });\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = $ctrl.users[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var user = _step.value;\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = $ctrl.distributionList[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var distUser = _step2.value;\n\n if (user.userID === distUser.userID) {\n distUser.fullName = user.fullName;\n distUser.emailAddress = user.email;\n }\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n $ctrl.distributionList.sort(byFullName);\n }\n\n function detailLinkTemplate(e) {\n var eyeball = \"{{$ctrl.translations.view}}\";\n return eyeball;\n }\n\n function yearRangeTemplate(e) {\n return \"\" + e.searchObject.yearMin + \" - \" + e.searchObject.yearMax + \"\";\n }\n\n function odometorRangeTemplate(e) {\n return \"\" + kendo.toString(e.searchObject.odometerMin, \"n0\") + \" - \" + kendo.toString(e.searchObject.odometerMax, \"n0\") + \"\";\n }\n\n function trimListTemplate(e) {\n if (!e.searchObject.trimList || e.searchObject.trimList.length == 0) return \"\";\n var uniqueTrimsByName = $filter('unique')(e.searchObject.trimList, 'trimName');\n var trims = uniqueTrimsByName.map(function (t) {\n return t.trimName;\n }).sort();\n\n if (uniqueTrimsByName.length > 2) {\n var trimString = trims.slice(0, 2).join(', ');\n var trimLink = \"
\" + trimString + \" ...
\";\n return trimLink;\n } else {\n var trimString = trims.join(', ');\n return trimString;\n }\n }\n\n function notifyTemplate(e) {\n var eyeball = \"
\";\n return eyeball;\n }\n\n function expirationDateTemplate(e) {\n var expirationDate = e.expirationDateUtc ? e.expirationDateUtc : '';\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n\n if (expirationDate) {\n var localeDateFilter = $filter('localeDate');\n var localeExpirationDate = localeDateFilter(expirationDate);\n if (expirationDate <= today) return \"\" + localeExpirationDate + \"\";else return \"\" + localeExpirationDate + \"\";\n } else {\n return \"\";\n }\n }\n\n function displayYesNo(e) {\n return e.active ? $ctrl.translations.yes : $ctrl.translations.searchNo;\n }\n\n function editWishListTemplate(e) {\n var template = \"
\";\n return template;\n }\n\n function setKendoCulture() {\n switch ($ctrl.cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.frFR:\n case cultures.esUS:\n $ctrl.kendo.culture($ctrl.cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n }\n\n function getTranslations() {\n return $q.all({\n 'loadingMakeModelTrim': $translate('loadingMakeModelTrim'),\n 'edit': $translate('edit'),\n 'saveChanges': $translate('saveChanges'),\n 'inventoryWishlist': $translate('inventoryWishlist'),\n 'dealerships': $translate('dealerships'),\n 'make': $translate('make'),\n 'model': $translate('model'),\n 'year': $translate('year'),\n 'trims': $translate('trims'),\n 'createdBy': $translate('createdBy'),\n 'lblDateCreated': $translate('lblDateCreated'),\n 'expireOn': $translate('expireOn'),\n 'notify': $translate('notify'),\n 'matches': $translate('matches'),\n 'view': $translate('view'),\n 'yes': $translate('yes'),\n 'searchNo': $translate('searchNo'),\n 'addVehicle': $translate('addVehicle'),\n 'addToWishlist': $translate('addToWishlist'),\n 'addVehicleToWishlist': $translate('addVehicleToWishlist'),\n 'chooseOne': $translate('chooseOne'),\n 'dateMustBeGreaterToday': $translate('dateMustBeGreaterToday'),\n 'editWishlist': $translate('editWishlist'),\n 'loadingWishlistData': $translate('loadingWishlistData'),\n 'loadingWishlistMatches': $translate('loadingWishlistMatches'),\n 'odometer': $translate('odometer'),\n 'odometerMinMaxRequired': $translate('odometerMinMaxRequired'),\n 'odometerRangeError': $translate('odometerRangeError'),\n 'toLabel': $translate('toLabel'),\n 'wishlistActiveLabel': $translate('wishlistActiveLabel'),\n 'wishlistFullListTooltip': $translate('wishlistFullListTooltip'),\n 'wishlistIsActiveLabel': $translate('wishlistIsActiveLabel'),\n 'wishlistMatchesTitle': $translate('wishlistMatchesTitle'),\n 'wishlistMatchingVehicles': $translate('wishlistMatchingVehicles'),\n 'wishlistNotificationExceeds': $translate('wishlistNotificationExceeds'),\n 'wishlistNotificationLabel': $translate('wishlistNotificationLabel'),\n 'wishlistNotificationReq': $translate('wishlistNotificationReq'),\n 'wishlistNotificationTooltip': $translate('wishlistNotificationTooltip'),\n 'wishlistRequirements': $translate('wishlistRequirements'),\n 'wishlistSelectedTrims': $translate('wishlistSelectedTrims'),\n 'wishlistTrimsLabel': $translate('wishlistTrimsLabel'),\n 'wishlistTrimExceeds': $translate('wishlistTrimExceeds'),\n 'yearsLabel': $translate('yearsLabel'),\n 'expirationDate': $translate('expirationDate'),\n 'validationRequired': $translate('validationRequired'),\n 'faalertletter': $translate('faalertletter'),\n 'flexAlertLetter': $translate('flexAlertLetter'),\n 'inMarketLetter': $translate('inMarketLetter'),\n 'inMarketEngagedLetter': $translate('inMarketEngagedLetter'),\n 'contractEndLetter': $translate('contractEndLetter'),\n 'serviceLetter': $translate('serviceLetter'),\n 'serviceAppointmentLetter': $translate('serviceAppointmentLetter'),\n 'mileageLetter': $translate('mileageLetter'),\n 'warrantyLetter': $translate('warrantyLetter'),\n 'repairOrderNumberColumnLabel': $translate('repairOrderNumberColumnLabel'),\n 'dateTime': $translate('dateTime'),\n 'sentTo': $translate('sentTo'),\n 'alertsLabel': $translate('alertsLabel'),\n 'score': $translate('score'),\n 'customerLabel': $translate('customerLabel'),\n 'vinLabel': $translate('vinLabel'),\n 'trim': $translate('trim'),\n 'yearRangeError': $translate('yearRangeError')\n });\n }\n}","\n/* injects from baggage-loader */\nrequire('./wish-list.component.html');\n\nimport angular from 'angular';\r\nimport './wish-list.component.scss';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\nimport eyeIconPath from '../../images/icon-eye-lake.svg';\r\nimport $ from 'jquery';\r\n\r\nangular.module('AaApp.Opp').component('wishList', {\r\n templateUrl: '/app/components/wish-list/wish-list.component.html',\r\n controller: WishListController,\r\n bindings: {\r\n kendo: '<',\r\n }\r\n});\r\n\r\nfunction WishListController(\r\n $translate,\r\n $q,\r\n vehicleService,\r\n dealerService,\r\n userService,\r\n dataEntryService,\r\n storageService,\r\n $uibModal,\r\n $document,\r\n cultures,\r\n environmentVariables,\r\n logger,\r\n $timeout,\r\n modules,\r\n $filter,\r\n _\r\n) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.setKendoCulture = setKendoCulture;\r\n $ctrl.loadWishLists = loadWishLists;\r\n $ctrl.loadDetails = loadDetails;\r\n $ctrl.getTranslations = getTranslations;\r\n $ctrl.dealerService = dealerService;\r\n $ctrl.vehicleService = vehicleService;\r\n $ctrl.environmentVariables = environmentVariables;\r\n $ctrl.displayTrimList = displayTrimList;\r\n $ctrl.displayDistributionList = displayDistributionList;\r\n $ctrl.saveModalData = saveModalData;\r\n $ctrl.wishListCriteria;\r\n $ctrl.cultureName;\r\n $ctrl.translations = {};\r\n $ctrl.trimList = [];\r\n $ctrl.editWishList = editWishList;\r\n $ctrl.users;\r\n $ctrl.distributionList;\r\n $ctrl.makes;\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n var selectedDealerId = storageService.getItem('selectedDealerId');\r\n $ctrl.selectedDealerId = selectedDealerId > 0 ? selectedDealerId : $ctrl.dealers[0].id;\r\n\r\n $q.all([\r\n userService.getUserProfile(),\r\n $ctrl.getTranslations(),\r\n ]).then((data) => {\r\n var userProfile = data[0];\r\n $ctrl.translations = data[1];\r\n\r\n $ctrl.cultureName = userProfile.cultureName;\r\n setKendoCulture();\r\n initGridOptions();\r\n onDealerSelect();\r\n });\r\n }\r\n \r\n function busy(translationKey, promise) { //global\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(dealerId) {\r\n if (dealerId > 0) {\r\n $ctrl.selectedDealerId = dealerId;\r\n storageService.setItem(\"selectedDealerId\", dealerId);\r\n } \r\n\r\n return busy(\r\n $ctrl.translations.loadingMakeModelTrim,\r\n $q.all([\r\n $ctrl.vehicleService.getMakes($ctrl.selectedDealerId, null),\r\n userService.getUsersExt($ctrl.selectedDealerId),\r\n ]).then((data) => {\r\n $ctrl.makes = data[0];\r\n $ctrl.users = data[1].sort(byFullName);\r\n\r\n return loadWishLists();\r\n })\r\n );\r\n }\r\n\r\n function loadDetails(dealerId, dealerWishListID) {\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n windowClass: 'wish-list-matches-modal',\r\n component: 'wishListMatchesModal',\r\n resolve: {\r\n title: function () {\r\n return $ctrl.translations.wishlistMatchesTitle;\r\n },\r\n message: function () {\r\n return {\r\n dealerWishListID: dealerWishListID,\r\n selectedDealerId: dealerId,\r\n users: $ctrl.users,\r\n kendo: $ctrl.kendo,\r\n translations: $ctrl.translations\r\n };\r\n },\r\n closeButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonVisible: function () {\r\n return false;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n closeButtonText: function () {\r\n return \"close\"; // translation key\r\n }\r\n }\r\n });\r\n }\r\n\r\n function loadWishLists() {\r\n return busy(\r\n $ctrl.translations.loadingWishlistData,\r\n dealerService.getDealerWishLists($ctrl.selectedDealerId)\r\n .then((data) => {\r\n $ctrl.wishListData = data;\r\n\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: $ctrl.wishListData,\r\n schema: {\r\n model: {\r\n id: 'dealerWishListID',\r\n fields: {\r\n dealerWishListID: { type: \"number\", editable: false },\r\n dealerID: { type: \"number\", editable: false },\r\n expirationDateUtc: { type: \"date\", editable: false },\r\n active: { type: \"boolean\", editable: false },\r\n distributionList: { type: \"array\", editable: false },\r\n createUserID: { type: \"number\", editable: false },\r\n createUserFullName: { type: \"string\", editable: false },\r\n modifyUserID: { type: \"number\", editable: false },\r\n modifyUserFullName: { type: \"string\", editable: false },\r\n createDateUtc: { type: \"date\", editable: false },\r\n modifyDateUtc: { type: \"date\", editable: false },\r\n searchObject: { type: \"array\", editable: false },\r\n }\r\n }\r\n },\r\n sort: { field: \"createDateUtc\", dir: \"desc\" },\r\n batch: true,\r\n pageSize: 20\r\n });\r\n })\r\n );\r\n }\r\n\r\n function saveModalData(modalState) {\r\n dealerService.saveDealerWishList(modalState)\r\n .then(function () {\r\n logger.success(\"changesSaved\");\r\n onDealerSelect($ctrl.selectedDealerId);\r\n });\r\n }\r\n\r\n function editWishList(dealerWishlistID) {\r\n var row = $ctrl.ds.get(dealerWishlistID);\r\n\r\n var modal = $uibModal.open({\r\n appendTo: angular.element($document[0].querySelector('#aa-app')),\r\n animation: true,\r\n component: 'editWishListModal',\r\n size: 'lg',\r\n resolve: {\r\n title: function () {\r\n return dealerWishlistID != null ? $ctrl.translations.editWishlist : $ctrl.translations.addVehicleToWishlist;\r\n },\r\n message: function () {\r\n return {\r\n row: row,\r\n selectedDealerId: $ctrl.selectedDealerId,\r\n users: $ctrl.users,\r\n save: $ctrl.saveModalData,\r\n translations: $ctrl.translations\r\n };\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return true;\r\n },\r\n submitButtonText: function () {\r\n return dealerWishlistID != null ? $ctrl.translations.saveChanges : $ctrl.translations.addToWishlist;\r\n }\r\n }\r\n });\r\n }\r\n\r\n function initGridOptions() {\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n pageable: true,\r\n height: 500,\r\n columns: [\r\n {\r\n field: \"makeName\",\r\n title: $ctrl.translations.make,\r\n template: '{{dataItem.searchObject.makeName}}',\r\n width: \"10%\",\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.searchObject.makeName;\r\n var second = b.searchObject.makeName;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"modelName\",\r\n title: $ctrl.translations.model,\r\n template: '{{dataItem.searchObject.modelName}}',\r\n width: \"10%\",\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.searchObject.modelName;\r\n var second = b.searchObject.modelName;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"yearRange\",\r\n title: $ctrl.translations.year,\r\n template: yearRangeTemplate,\r\n width: \"8%\",\r\n attributes: { style: \"text-align: center\" },\r\n headerAttributes: { \"class\": \"align-center\" },\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.searchObject.yearMin + \"-\" + a.searchObject.yearMax;\r\n var second = b.searchObject.yearMin + \"-\" + b.searchObject.yearMax;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"trimList\",\r\n title: $ctrl.translations.trims,\r\n template: trimListTemplate,\r\n width: \"13%\",\r\n attributes: { style: \"font-size: 11pt\" },\r\n sortable: false,\r\n sortable: {\r\n compare: function (a, b) {\r\n var trims_a = \"\";\r\n var trims_b = \"\";\r\n if (a.searchObject.trimList && a.searchObject.trimList.length > 0) {\r\n var uniqueTrimsByNamea = $filter('unique')(a.searchObject.trimList, 'trimName');\r\n var trims_a = uniqueTrimsByNamea.map(t => t.trimName).sort();\r\n }\r\n if (b.searchObject.trimList && b.searchObject.trimList.length > 0) {\r\n var uniqueTrimsByNameb = $filter('unique')(b.searchObject.trimList, 'trimName');\r\n var trims_b = uniqueTrimsByNameb.map(t => t.trimName).sort();\r\n }\r\n\r\n var first = trims_a;\r\n var second = trims_b;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"odometerRange\",\r\n title: $ctrl.translations.odometer,\r\n template: odometorRangeTemplate,\r\n width: \"8%\",\r\n sortable: {\r\n compare: byOdometerRange,\r\n },\r\n },\r\n { field: \r\n \"createUserFullName\",\r\n title: $ctrl.translations.createdBy,\r\n width: \"12%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"createDateUtc\",\r\n title: $ctrl.translations.lblDateCreated,\r\n format: \"{0:d}\",\r\n width: \"8%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"expirationDate\",\r\n title: $ctrl.translations.expireOn,\r\n template: expirationDateTemplate,\r\n format: \"{0:d}\",\r\n width: \"7%\",\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.expirationDateUtc ? a.expirationDateUtc : '';\r\n var second = b.expirationDateUtc ? b.expirationDateUtc : '';\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"active\",\r\n title: $ctrl.translations.wishlistActiveLabel,\r\n template: displayYesNo,\r\n width: \"4%\",\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = displayYesNo(a);\r\n var second = displayYesNo(b);\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"notifyList\",\r\n title: $ctrl.translations.notify,\r\n template: notifyTemplate,\r\n width: \"6%\",\r\n sortable: false,\r\n attributes: { style: \"text-align: center\" },\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n {\r\n field: \"editWishList\",\r\n title: $ctrl.translations.edit,\r\n template: editWishListTemplate,\r\n width: \"4%\",\r\n sortable: false,\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n {\r\n field: \"wishListResults\",\r\n title: $ctrl.translations.matches,\r\n template: detailLinkTemplate,\r\n width: \"6%\",\r\n sortable: false,\r\n attributes: { style: \"text-align: center\" },\r\n headerAttributes: { \"class\": \"align-center\" }\r\n },\r\n ],\r\n //detailTemplate: kendo.template($(\"#detail-template\").html()),\r\n //detailInit: renderDetailsInnerGrid,\r\n editable: false,\r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: true,\r\n reorderable: true,\r\n filterable: false\r\n }\r\n\r\n }\r\n\r\n //function renderDetailsInnerGrid(e) {\r\n // dealerService.GetDealerWishListLogs(e.data.dealerID, e.data.dealerWishListID, 50)\r\n // .then((data) => {\r\n // $ctrl.wishListMatches = data;\r\n // var config = {\r\n // dataSource: {\r\n // data: $ctrl.wishListMatches,\r\n // schema: {\r\n // model: {\r\n // id: 'dealerWishlistLogID',\r\n // fields: {\r\n // dealerWishlistLogID: { type: \"number\", editable: false },\r\n // dealerWishlistID: { type: \"number\", editable: false },\r\n // dealerID: { type: \"number\", editable: false },\r\n // serviceID: { type: \"number\", editable: false },\r\n // alerts: { type: \"array\", editable: false },\r\n // opportunityRank: { type: \"number\", editable: false },\r\n // resultDateUtc: { type: \"date\", editable: false },\r\n // distributionSent: { type: \"array\", editable: false },\r\n // notes: { type: \"string\", editable: false },\r\n // customerFullName: { type: \"string\", editable: false },\r\n // vin: { type: \"string\", editable: false },\r\n // yearID: { type: \"number\", editable: false },\r\n // odometer: { type: \"number\", editable: false },\r\n // trimName: { type: \"string\", editable: false },\r\n // rO_ID: { type: \"string\", editable: false },\r\n // distributionSent: { type: \"array\", editable: false },\r\n // }\r\n // }\r\n // },\r\n // batch: true,\r\n // pageSize: 20,\r\n // sort: {\r\n // field: \"resultDateUtc\",\r\n // dir: \"desc\"\r\n // }\r\n // },\r\n // pageable: true,\r\n // //height: 400,\r\n // columns: [\r\n // {\r\n // field: \"opportunityRank\",\r\n // title: \"Score\",\r\n // template: '#: opportunityRank #',\r\n // width: 12,\r\n // sortable: true\r\n // },\r\n // {\r\n // field: \"customerFullName\",\r\n // title: \"Customer\",\r\n // width: 30,\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: \"alerts\",\r\n // title: \"Alerts\",\r\n // width: 30,\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: \"vin\",\r\n // title: \"VIN\",\r\n // width: 40,\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: \"yearID\",\r\n // title: \"Year\",\r\n // width: 15,\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: \"odometer\",\r\n // title: \"Odometer\",\r\n // width: 18,\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: \"trimName\",\r\n // title: \"Trim\",\r\n // width: 30,\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: \"rO_ID\",\r\n // title: \"Service RO\",\r\n // width: 20,\r\n // sortable: true,\r\n // },\r\n // {\r\n // field: \"resultDateUtc\",\r\n // title: \"Date/Time\",\r\n // format: \"{0:MM-dd-yyyy hh:mm tt}\",\r\n // width: 35,\r\n // sortable: true,\r\n // },\r\n // //{\r\n // // field: \"notes\",\r\n // // title: \"Notes\",\r\n // // width: 40,\r\n // // sortable: true,\r\n // //},\r\n // {\r\n // field: \"distributionSent\",\r\n // title: \"Sent To\",\r\n // template: notifyTemplate,\r\n // width: 12,\r\n // sortable: false,\r\n // },\r\n // ],\r\n // editable: false,\r\n // sortable: {\r\n // mode: \"single\",\r\n // allowUnsort: false\r\n // },\r\n // resizable: true,\r\n // reorderable: true,\r\n // filterable: false\r\n // };\r\n // $(\"
\").appendTo(e.detailCell).kendoGrid(config);\r\n\r\n // });\r\n\r\n //}\r\n\r\n function byOdometerRange(o1, o2) {\r\n if (o1.searchObject.odometerMin == o2.searchObject.odometerMin) {\r\n if (o1.searchObject.odometerMax < o2.searchObject.odometerMax)\r\n return -1;\r\n if (o1.searchObject.odometerMax > o2.searchObject.odometerMax)\r\n return 1;\r\n return 0;\r\n }\r\n else {\r\n if (o1.searchObject.odometerMin < o2.searchObject.odometerMin)\r\n return -1;\r\n if (o1.searchObject.odometerMin > o2.searchObject.odometerMin)\r\n return 1;\r\n return 0;\r\n }\r\n }\r\n\r\n function byFullName(object1, object2) {\r\n var fullName1 = object1.fullName.toLowerCase();\r\n var fullName2 = object2.fullName.toLowerCase();\r\n if (fullName1 < fullName2)\r\n return -1;\r\n if (fullName1 > fullName2)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function displayTrimList(dealerWishListID) {\r\n var row = $ctrl.ds.get(dealerWishListID);\r\n $ctrl.trimList = row.searchObject.trimList.map(t => t.trimName).sort();\r\n }\r\n\r\n function displayDistributionList(dealerWishListID) {\r\n var row = $ctrl.ds.get(dealerWishListID);\r\n\r\n $ctrl.distributionList = row.distributionList.map(d => ({\r\n userID: d,\r\n fullName: \"\",\r\n emailAddress: \"\"\r\n }));\r\n \r\n for (let user of $ctrl.users) {\r\n for (let distUser of $ctrl.distributionList) {\r\n if (user.userID === distUser.userID) {\r\n distUser.fullName = user.fullName;\r\n distUser.emailAddress = user.email;\r\n }\r\n }\r\n }\r\n\r\n $ctrl.distributionList.sort(byFullName);\r\n }\r\n\r\n function detailLinkTemplate(e) {\r\n var eyeball = \"{{$ctrl.translations.view}}\";\r\n return eyeball;\r\n }\r\n\r\n function yearRangeTemplate(e) {\r\n return \"\" + e.searchObject.yearMin + \" - \" + e.searchObject.yearMax + \"\";\r\n }\r\n\r\n function odometorRangeTemplate(e) {\r\n return \"\" + kendo.toString(e.searchObject.odometerMin, \"n0\") + \" - \" + kendo.toString(e.searchObject.odometerMax, \"n0\") + \"\";\r\n }\r\n\r\n function trimListTemplate(e) {\r\n if (!e.searchObject.trimList || e.searchObject.trimList.length == 0)\r\n return \"\";\r\n\r\n var uniqueTrimsByName = $filter('unique')(e.searchObject.trimList, 'trimName');\r\n var trims = uniqueTrimsByName.map(t => t.trimName).sort();\r\n\r\n if (uniqueTrimsByName.length > 2) {\r\n var trimString = trims.slice(0, 2).join(', ');\r\n var trimLink = \"
\" + trimString + \" ...
\";\r\n return trimLink;\r\n }\r\n else {\r\n var trimString = trims.join(', ');\r\n return trimString;\r\n }\r\n\r\n }\r\n\r\n function notifyTemplate(e) {\r\n var eyeball = \"
\";\r\n return eyeball;\r\n }\r\n\r\n function expirationDateTemplate(e) {\r\n var expirationDate = e.expirationDateUtc ? e.expirationDateUtc : '';\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n if (expirationDate) {\r\n var localeDateFilter = $filter('localeDate');\r\n var localeExpirationDate = localeDateFilter(expirationDate);\r\n if (expirationDate <= today)\r\n return \"\" + localeExpirationDate + \"\";\r\n else\r\n return \"\" + localeExpirationDate + \"\";\r\n }\r\n else {\r\n return \"\";\r\n }\r\n }\r\n\r\n function displayYesNo(e) {\r\n return e.active ? $ctrl.translations.yes : $ctrl.translations.searchNo;\r\n }\r\n\r\n function editWishListTemplate(e) {\r\n var template = \"
\";\r\n return template;\r\n }\r\n\r\n function setKendoCulture() {\r\n switch ($ctrl.cultureName) {\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.frFR:\r\n case cultures.esUS:\r\n $ctrl.kendo.culture($ctrl.cultureName);\r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS);\r\n break;\r\n }\r\n }\r\n\r\n function getTranslations() {\r\n return $q.all({\r\n 'loadingMakeModelTrim': $translate('loadingMakeModelTrim'),\r\n 'edit': $translate('edit'),\r\n 'saveChanges': $translate('saveChanges'),\r\n 'inventoryWishlist': $translate('inventoryWishlist'),\r\n 'dealerships': $translate('dealerships'),\r\n 'make': $translate('make'),\r\n 'model': $translate('model'),\r\n 'year': $translate('year'),\r\n 'trims': $translate('trims'),\r\n 'createdBy': $translate('createdBy'),\r\n 'lblDateCreated': $translate('lblDateCreated'),\r\n 'expireOn': $translate('expireOn'),\r\n 'notify': $translate('notify'),\r\n 'matches': $translate('matches'),\r\n 'view': $translate('view'),\r\n 'yes': $translate('yes'),\r\n 'searchNo': $translate('searchNo'),\r\n 'addVehicle': $translate('addVehicle'),\r\n 'addToWishlist': $translate('addToWishlist'),\r\n 'addVehicleToWishlist': $translate('addVehicleToWishlist'),\r\n 'chooseOne': $translate('chooseOne'),\r\n 'dateMustBeGreaterToday': $translate('dateMustBeGreaterToday'),\r\n 'editWishlist': $translate('editWishlist'),\r\n 'loadingWishlistData': $translate('loadingWishlistData'),\r\n 'loadingWishlistMatches': $translate('loadingWishlistMatches'),\r\n 'odometer': $translate('odometer'),\r\n 'odometerMinMaxRequired': $translate('odometerMinMaxRequired'),\r\n 'odometerRangeError': $translate('odometerRangeError'),\r\n 'toLabel': $translate('toLabel'),\r\n 'wishlistActiveLabel': $translate('wishlistActiveLabel'),\r\n 'wishlistFullListTooltip': $translate('wishlistFullListTooltip'),\r\n 'wishlistIsActiveLabel': $translate('wishlistIsActiveLabel'),\r\n 'wishlistMatchesTitle': $translate('wishlistMatchesTitle'),\r\n 'wishlistMatchingVehicles': $translate('wishlistMatchingVehicles'),\r\n 'wishlistNotificationExceeds': $translate('wishlistNotificationExceeds'),\r\n 'wishlistNotificationLabel': $translate('wishlistNotificationLabel'),\r\n 'wishlistNotificationReq': $translate('wishlistNotificationReq'),\r\n 'wishlistNotificationTooltip': $translate('wishlistNotificationTooltip'),\r\n 'wishlistRequirements': $translate('wishlistRequirements'),\r\n 'wishlistSelectedTrims': $translate('wishlistSelectedTrims'),\r\n 'wishlistTrimsLabel': $translate('wishlistTrimsLabel'),\r\n 'wishlistTrimExceeds': $translate('wishlistTrimExceeds'),\r\n 'yearsLabel': $translate('yearsLabel'),\r\n 'expirationDate': $translate('expirationDate'),\r\n 'validationRequired': $translate('validationRequired'),\r\n 'faalertletter': $translate('faalertletter'),\r\n 'flexAlertLetter': $translate('flexAlertLetter'),\r\n 'inMarketLetter': $translate('inMarketLetter'),\r\n 'inMarketEngagedLetter': $translate('inMarketEngagedLetter'),\r\n 'contractEndLetter': $translate('contractEndLetter'),\r\n 'serviceLetter': $translate('serviceLetter'),\r\n 'serviceAppointmentLetter': $translate('serviceAppointmentLetter'),\r\n 'mileageLetter': $translate('mileageLetter'),\r\n 'warrantyLetter': $translate('warrantyLetter'),\r\n 'repairOrderNumberColumnLabel': $translate('repairOrderNumberColumnLabel'),\r\n 'dateTime': $translate('dateTime'),\r\n 'sentTo': $translate('sentTo'),\r\n 'alertsLabel': $translate('alertsLabel'),\r\n 'score': $translate('score'),\r\n 'customerLabel': $translate('customerLabel'),\r\n 'vinLabel': $translate('vinLabel'),\r\n 'trim': $translate('trim'),\r\n 'yearRangeError': $translate('yearRangeError'),\r\n });\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./edit-wish-list-modal.component.html');\n\nimport angular from 'angular';\r\nimport './edit-wish-list-modal.component.scss';\r\n//import $ from 'jquery';\r\n\r\nangular.module('AaApp.Opp').component('editWishListModal', {\r\n templateUrl: '/app/components/wish-list/edit-wish-list-modal.component.html',\r\n controller: editWishListModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction editWishListModalController(_, $q, $timeout, $filter, vehicleService) {\r\n var $ctrl = this;\r\n $ctrl.$onInit = init;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n //$ctrl.resolve is sent by the caller of this directive, and can be any JS object.\r\n // I'm using it to enable DI and pass input parameters.\r\n $ctrl.row = $ctrl.resolve.message.row;\r\n $ctrl.selectedDealerId = $ctrl.resolve.message.selectedDealerId;\r\n $ctrl.translations = $ctrl.resolve.message.translations;\r\n $ctrl.wishListCriteria;\r\n $ctrl.save = $ctrl.resolve.message.save;\r\n $ctrl.closeWrapper = closeWrapper;\r\n\r\n $ctrl.selectedMake;\r\n $ctrl.selectedModel;\r\n $ctrl.selectedYearMin;\r\n $ctrl.selectedYearMax;\r\n $ctrl.selectedTrims = [];\r\n $ctrl.selectedOdometerMin;\r\n $ctrl.selectedOdometerMax;\r\n $ctrl.selectedUsers = [];\r\n $ctrl.selectedExpirationDate;\r\n $ctrl.makes;\r\n $ctrl.models;\r\n $ctrl.yearIDs;\r\n $ctrl.updateModels = updateModels;\r\n $ctrl.updateTrims = updateTrims;\r\n $ctrl.showBlankOptions = false;\r\n $ctrl.showBlankModelTrimOptions = false;\r\n $ctrl.defaultExpirationDate;\r\n $ctrl.datePickerOptions = {\r\n startingDay: 0,\r\n showWeeks: false,\r\n minDate: null,\r\n maxDate: null\r\n };\r\n $ctrl.users = [];\r\n $ctrl.isActive = true;\r\n $ctrl.trims = [];\r\n $ctrl.trimList = [];\r\n $ctrl.showAllMakes = true;\r\n $ctrl.wishListCriteria;\r\n $ctrl.isEditMode = false;\r\n $ctrl.wishListEditForm;\r\n $ctrl.selectedTrimCount;\r\n $ctrl.validateTrimSelections = validateTrimSelections;\r\n $ctrl.validateUserSelections = validateUserSelections;\r\n $ctrl.validateExpirationDate = validateExpirationDate;\r\n $ctrl.validateYearSelections = validateYearSelections;\r\n $ctrl.validateOdometerSelections = validateOdometerSelections;\r\n $ctrl.yearChanged = yearChanged;\r\n $ctrl.distributionListTouched = false;\r\n $ctrl.expirationDateTouched = false;\r\n\r\n // We're wrapping this in a Angular $timeout to insure the validation is performed in the next\r\n // event loop no matter what. There were times when the model values and input values weren't\r\n // synchronized causing inconsistent validation results.\r\n $ctrl.checkValidation = function () {\r\n $timeout(function () {\r\n $ctrl.resolve.submitButtonDisabled = !($ctrl.wishListEditForm.$valid && $ctrl.wishListEditForm.$dirty);\r\n }, 20);\r\n }\r\n\r\n function init() {\r\n $ctrl.users = $ctrl.resolve.message.users.map(u => ({\r\n value: u.userID,\r\n nameText: u.fullName\r\n }));\r\n }\r\n \r\n function onChanges(changes) {\r\n // set default to 6 months from current date:\r\n $ctrl.selectedExpirationDate = $ctrl.defaultExpirationDate = new Date(new Date().setMonth(new Date().getMonth() + 6));\r\n\r\n $q.all([\r\n vehicleService.getMakes($ctrl.showAllMakes ? null : [$ctrl.selectedDealerId], null),\r\n vehicleService.getYearIDs($ctrl.selectedDealerId, false, $ctrl.yearLimit),\r\n ]).then((data) => {\r\n $ctrl.makes = data[0].sort(byMakeName);\r\n $ctrl.yearIDs = data[1].sort(descending);\r\n\r\n if ($ctrl.yearLimit && !($ctrl.yearLimit < 255)) {\r\n $ctrl.yearIDs.splice($ctrl.yearLimit, $ctrl.yearIDs.length - $ctrl.yearLimit);\r\n }\r\n\r\n if ($ctrl.row) { // data coming from EXISTING ROW:\r\n $ctrl.isEditMode = true;\r\n $ctrl.resolve.submitButtonDisabled = false;\r\n $ctrl.wishListEditForm.$setDirty();\r\n\r\n var row = $ctrl.row;\r\n\r\n $ctrl.wishListCriteria = {\r\n dealerWishListID: row.dealerWishListID,\r\n makeID: row.searchObject.makeID,\r\n makeName: row.searchObject.makeName,\r\n yearMin: row.searchObject.yearMin,\r\n yearMax: row.searchObject.yearMax,\r\n modelName: row.searchObject.modelName,\r\n modelIdList: row.searchObject.modelIdList,\r\n trimList: row.searchObject.trimList,\r\n odometerMin: row.searchObject.odometerMin,\r\n odometerMax: row.searchObject.odometerMax,\r\n distributionList: row.distributionList,\r\n active: row.active\r\n };\r\n \r\n $ctrl.selectedExpirationDate = $ctrl.defaultExpirationDate = row.expirationDateUtc;\r\n }\r\n else { // adding a NEW ROW:\r\n $ctrl.isEditMode = false;\r\n $ctrl.wishListEditForm.$setValidity('userReq', false);\r\n\r\n // Set defaults for adding a new wishlist record:\r\n $ctrl.wishListCriteria = {\r\n dealerWishListID: -1,\r\n makeID: null,\r\n makeName: null,\r\n yearMin: null,\r\n yearMax: null,\r\n modelName: null,\r\n modelIdList: [],\r\n trimList: [],\r\n odometerMin: null,\r\n odometerMax: null,\r\n distributionList: [],\r\n active: true\r\n };\r\n }\r\n\r\n if ($ctrl.selectedDealerId && $ctrl.wishListCriteria) {\r\n\r\n if ($ctrl.isEditMode) {\r\n $ctrl.selectedMake = { makeID: $ctrl.wishListCriteria.makeID, makeName: $ctrl.wishListCriteria.makeName };\r\n $ctrl.selectedModel = { modelName: $ctrl.wishListCriteria.modelName, modelIds: $ctrl.wishListCriteria.modelIdList };\r\n }\r\n $ctrl.distributionListTouched = false;\r\n $ctrl.expirationDateTouched = false;\r\n\r\n if ($ctrl.wishListCriteria.yearMin) {\r\n $ctrl.selectedYearMin = $ctrl.wishListCriteria.yearMin;\r\n }\r\n else {\r\n $ctrl.selectedYearMin = $ctrl.yearIDs[0];\r\n }\r\n if ($ctrl.wishListCriteria.yearMax) {\r\n $ctrl.selectedYearMax = $ctrl.wishListCriteria.yearMax;\r\n }\r\n else {\r\n $ctrl.selectedYearMax = $ctrl.yearIDs[0];\r\n }\r\n var years = _.range($ctrl.selectedYearMin, $ctrl.selectedYearMax + 1);\r\n\r\n\r\n if ($ctrl.wishListCriteria.odometerMin) {\r\n $ctrl.selectedOdometerMin = $ctrl.wishListCriteria.odometerMin;\r\n }\r\n if ($ctrl.wishListCriteria.odometerMax) {\r\n $ctrl.selectedOdometerMax = $ctrl.wishListCriteria.odometerMax;\r\n }\r\n\r\n if ($ctrl.wishListCriteria.distributionList && $ctrl.wishListCriteria.distributionList.length > 0) {\r\n $ctrl.selectedUsers = [];\r\n for (let user of $ctrl.users) {\r\n for (let distUserId of $ctrl.wishListCriteria.distributionList) {\r\n if (user.value === distUserId) {\r\n $ctrl.selectedUsers.push({\r\n value: user.value,\r\n nameText: user.nameText\r\n });\r\n }\r\n }\r\n }\r\n }\r\n\r\n $ctrl.isActive = $ctrl.wishListCriteria.active;\r\n\r\n if ($ctrl.wishListCriteria.makeID) {\r\n $q.all([\r\n vehicleService.getModelsByMakesYears([$ctrl.wishListCriteria.makeID], years),\r\n ]).then((data) => {\r\n var models = data[0];\r\n var uniqueModelsByName = $filter('unique')(models, 'modelName');\r\n\r\n $ctrl.models = uniqueModelsByName.map(m => ({\r\n modelName: m.modelName,\r\n modelIds: getModelIds(models, m.modelName)\r\n })).sort(byModelName);\r\n\r\n if ($ctrl.wishListCriteria.dealerWishListID) {\r\n updateTrims();\r\n }\r\n\r\n //Set blank for all\r\n if ($ctrl.showBlankOptions) {\r\n $ctrl.makes.unshift({\r\n makeID: \"\",\r\n makeName: \"\"\r\n });\r\n $ctrl.models.unshift({\r\n modelIds: [],\r\n modelName: \"\"\r\n });\r\n }\r\n\r\n //Set blank for Model Trim only\r\n if ($ctrl.showBlankModelTrimOptions) {\r\n $ctrl.models.unshift({\r\n modelIds: [],\r\n modelName: \"\"\r\n });\r\n if (!$ctrl.selectedModel.modelName)\r\n $ctrl.selectedModel = $ctrl.models[0];\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n function validateExpirationDate(e) {\r\n $ctrl.selectedExpirationDate = e;\r\n $ctrl.expirationDateTouched = true;\r\n var currentDate = new Date();\r\n if ($ctrl.selectedExpirationDate) {\r\n $ctrl.wishListEditForm.$setValidity('expirationDateReq', true);\r\n }\r\n else {\r\n $ctrl.wishListEditForm.$setValidity('expirationDateReq', false);\r\n }\r\n\r\n if (!$ctrl.isEditMode && $ctrl.selectedExpirationDate && $ctrl.selectedExpirationDate <= currentDate) {\r\n $ctrl.wishListEditForm.$setValidity('expirationDatePast', false);\r\n }\r\n else {\r\n $ctrl.wishListEditForm.$setValidity('expirationDatePast', true);\r\n }\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function validateTrimSelections() {\r\n if ($ctrl.selectedTrims && $ctrl.selectedTrims.length > 3) {\r\n $ctrl.wishListEditForm.$setValidity('trimCount', false);\r\n }\r\n else {\r\n $ctrl.wishListEditForm.$setValidity('trimCount', true);\r\n }\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function validateOdometerSelections() {\r\n if (parseInt($ctrl.selectedOdometerMin) >= parseInt($ctrl.selectedOdometerMax)) {\r\n $ctrl.wishListEditForm.$setValidity('odometerRange', false);\r\n }\r\n else {\r\n $ctrl.wishListEditForm.$setValidity('odometerRange', true);\r\n }\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function validateYearSelections() {\r\n if (parseInt($ctrl.selectedYearMin) > parseInt($ctrl.selectedYearMax)) {\r\n $ctrl.wishListEditForm.$setValidity('yearRange', false);\r\n }\r\n else {\r\n $ctrl.wishListEditForm.$setValidity('yearRange', true);\r\n }\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function validateUserSelections() {\r\n $ctrl.distributionListTouched = true;\r\n \r\n if ($ctrl.selectedUsers && $ctrl.selectedUsers.length > 0) {\r\n $ctrl.wishListEditForm.$setValidity('userReq', true);\r\n }\r\n else {\r\n $ctrl.wishListEditForm.$setValidity('userReq', false);\r\n }\r\n\r\n if ($ctrl.selectedUsers && $ctrl.selectedUsers.length > 20) {\r\n $ctrl.wishListEditForm.$setValidity('userMaxExceeded', false);\r\n }\r\n else {\r\n $ctrl.wishListEditForm.$setValidity('userMaxExceeded', true);\r\n }\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function yearChanged() {\r\n validateYearSelections();\r\n updateModels();\r\n }\r\n\r\n function descending(number1, number2) {\r\n return number2 - number1;\r\n }\r\n\r\n function byMakeName(object1, object2) {\r\n if (object1.makeName < object2.makeName)\r\n return -1;\r\n if (object1.makeName > object2.makeName)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function byModelName(object1, object2) {\r\n if (object1.modelName < object2.modelName)\r\n return -1;\r\n if (object1.modelName > object2.modelName)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function byTrimName(object1, object2) {\r\n if (object1.trimName < object2.trimName)\r\n return -1;\r\n if (object1.trimName > object2.trimName)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function updateModels() {\r\n // first clear out any selected models and trims\r\n $ctrl.models = [];\r\n $ctrl.selectedModel = null;\r\n $ctrl.trims = [];\r\n $ctrl.trimList = [];\r\n $ctrl.selectedTrims = [];\r\n\r\n $ctrl.checkValidation();\r\n\r\n if (!$ctrl.selectedMake)\r\n return;\r\n if ($ctrl.selectedMake.makeID && $ctrl.selectedYearMin && $ctrl.selectedYearMax) {\r\n var years = _.range($ctrl.selectedYearMin, $ctrl.selectedYearMax + 1);\r\n vehicleService.getModelsByMakesYears([$ctrl.selectedMake.makeID], years).then(setModels);\r\n }\r\n else {\r\n setModels(null);\r\n }\r\n }\r\n\r\n function updateTrims() {\r\n if ($ctrl.selectedModel && $ctrl.selectedModel.modelName) {\r\n vehicleService.getTrims($ctrl.selectedModel.modelIds).then(setTrims);\r\n }\r\n else {\r\n setTrims(null);\r\n }\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function setModels(models) {\r\n if (models && models.length > 0) {\r\n\r\n var uniqueModelsByName = $filter('unique')(models, 'modelName');\r\n\r\n $ctrl.models = uniqueModelsByName.map(m => ({\r\n modelName: m.modelName,\r\n modelIds: getModelIds(models, m.modelName)\r\n })).sort(byModelName);\r\n\r\n if ($ctrl.showBlankOptions || $ctrl.showBlankModelTrimOptions) {\r\n $ctrl.models.unshift({\r\n modelIds: [],\r\n modelName: \"\"\r\n });\r\n }\r\n }\r\n else {\r\n $ctrl.models = [{\r\n modelIds: [],\r\n modelName: \"\"\r\n }];\r\n }\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function setTrims(trims) {\r\n $ctrl.trims = [];\r\n $ctrl.trimList = [];\r\n $ctrl.selectedTrims = [];\r\n\r\n if (trims && trims.length > 0) {\r\n\r\n var uniqueTrimByName = $filter('unique')(trims, 'trimName');\r\n\r\n $ctrl.trims = uniqueTrimByName.map(t => ({\r\n trimName: t.trimName,\r\n trimIds: getTrimIds(trims, t.trimName)\r\n })).sort(byTrimName);\r\n\r\n }\r\n \r\n $ctrl.trimList = $ctrl.trims.map(t => ({\r\n value: t.trimIds.sort().join(','),\r\n nameText: t.trimName,\r\n }));\r\n\r\n if ($ctrl.wishListCriteria.trimList && $ctrl.wishListCriteria.trimList.length > 0) {\r\n\r\n $ctrl.selectedTrims = $ctrl.wishListCriteria.trimList.map(t => ({\r\n value: t.trimIdList.sort().join(','),\r\n nameText: t.trimName,\r\n }));\r\n }\r\n\r\n $ctrl.checkValidation();\r\n }\r\n\r\n function getModelIds(models, modelName) {\r\n var ids = [];\r\n\r\n if (modelName) {\r\n models = models.filter(filterByModelName(modelName));\r\n\r\n for (var i = 0; i < models.length; i++) {\r\n ids.push(models[i].modelID);\r\n }\r\n }\r\n\r\n return ids;\r\n }\r\n\r\n function getTrimIds(trims, trimName) {\r\n var ids = [];\r\n\r\n if (trimName) {\r\n trims = trims.filter(filterByTrimName(trimName));\r\n\r\n for (var i = 0; i < trims.length; i++) {\r\n ids.push(trims[i].trimID);\r\n }\r\n }\r\n\r\n return ids;\r\n }\r\n\r\n function filterByModelName(modelName) {\r\n return function (model) {\r\n return model.modelName == modelName;\r\n };\r\n }\r\n\r\n function filterByTrimName(trimName) {\r\n return function (trim) {\r\n return trim.trimName == trimName;\r\n };\r\n }\r\n\r\n function closeWrapper() {\r\n validateTrimSelections();\r\n validateUserSelections();\r\n $ctrl.checkValidation();\r\n if (!$ctrl.wishListEditForm.$valid)\r\n return;\r\n\r\n var rowState = {\r\n createUserFullName: null,\r\n modifyUserFullName: null,\r\n dealerWishListID: $ctrl.wishListCriteria.dealerWishListID,\r\n dealerID: $ctrl.selectedDealerId,\r\n expirationDateUtc: $ctrl.selectedExpirationDate,\r\n active: $ctrl.isActive,\r\n searchObject: {\r\n makeID: $ctrl.selectedMake.makeID,\r\n makeName: $ctrl.selectedMake.makeName,\r\n modelIdList: $ctrl.selectedModel.modelIds,\r\n modelName: $ctrl.selectedModel.modelName,\r\n yearMin: $ctrl.selectedYearMin,\r\n yearMax: $ctrl.selectedYearMax,\r\n odometerMin: $ctrl.selectedOdometerMin,\r\n odometerMax: $ctrl.selectedOdometerMax,\r\n trimList: $ctrl.selectedTrims.map(t => ({\r\n trimName: t.nameText,\r\n trimIdList: t.value.split(',')\r\n }))\r\n },\r\n distributionList: $ctrl.selectedUsers.map(u => u.value),\r\n createUserID: -1,\r\n createDateUtc: new Date(),\r\n modifyUserID: -1,\r\n modifyDateUtc: new Date()\r\n }\r\n\r\n $ctrl.save(rowState);\r\n\r\n ////The CLOSE() event should be called asyncronously, after the SAVE feature is successful.\r\n return $ctrl.close();\r\n }\r\n\r\n if ($ctrl.resolve.closeButtonVisible === undefined)\r\n $ctrl.resolve.closeButtonVisible = true;\r\n\r\n if ($ctrl.resolve.closeButtonText === undefined)\r\n $ctrl.resolve.closeButtonText = \"cancel\";\r\n\r\n if ($ctrl.resolve.submitButtonVisible === undefined)\r\n $ctrl.resolve.submitButtonVisible = true;\r\n\r\n if ($ctrl.resolve.submitButtonDisabled === undefined)\r\n $ctrl.resolve.submitButtonDisabled = false;\r\n\r\n if ($ctrl.resolve.submitButtonText === undefined)\r\n $ctrl.resolve.submitButtonText = \"yes\";\r\n}\r\n\r\n","import \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/es7.promise.finally\";\nimport \"core-js/modules/es6.array.find\";\nwishListMatchesModalController.$inject = [\"_\", \"$q\", \"$filter\", \"$translate\", \"cultures\", \"userService\", \"dealerService\", \"dealSheetService\"];\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/* injects from baggage-loader */\nrequire('./wish-list-matches-modal.component.html');\n\nimport angular from 'angular';\nimport './wish-list-matches-modal.component.scss';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nimport eyeIconPath from '../../images/icon-eye-lake.svg';\nangular.module('AaApp.Opp').component('wishListMatchesModal', {\n templateUrl: '/app/components/wish-list/wish-list-matches-modal.component.html',\n controller: wishListMatchesModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&',\n kendo: '<'\n }\n});\n/* @ngInject */\n\nfunction wishListMatchesModalController(_, $q, $filter, $translate, cultures, userService, dealerService, dealSheetService) {\n var $ctrl = this;\n $ctrl.$onInit = init;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.ds;\n $ctrl.gridOptions;\n $ctrl.cultureName;\n $ctrl.loadWishListMatches = loadWishListMatches;\n $ctrl.displayDistributionList = displayDistributionList;\n $ctrl.loadDealSheet = loadDealSheet;\n var MATCH_TAKE = 50; //$ctrl.resolve is sent by the caller of this directive, and can be any JS object.\n // I'm using it to enable DI and pass input parameters.\n\n $ctrl.selectedDealerId = $ctrl.resolve.message.selectedDealerId;\n $ctrl.dealerWishListID = $ctrl.resolve.message.dealerWishListID;\n $ctrl.translations = $ctrl.resolve.message.translations;\n $ctrl.users = $ctrl.resolve.message.users;\n $ctrl.kendo = $ctrl.resolve.message.kendo;\n $ctrl.wishListMatches;\n $ctrl.distributionList = [];\n $ctrl.renderAlerts = renderAlerts;\n var alertTypeHelper = {\n dataSource: [{\n id: \"100\",\n alerts: \"Alert\",\n code: 'alert',\n description: 'Alert',\n translateKey: 'faalertletter'\n }, {\n id: \"200\",\n alerts: \"Flex\",\n code: 'flexalert',\n description: 'Flex',\n translateKey: 'flexAlertLetter'\n }, {\n id: \"400\",\n alerts: \"In Market\",\n code: 'inmarket',\n description: 'In Market',\n translateKey: 'inMarketLetter'\n }, {\n id: \"500\",\n alerts: \"Engaged\",\n code: 'inmarketengaged',\n description: 'Engaged',\n translateKey: 'inMarketEngagedLetter'\n }, {\n id: \"600\",\n alerts: \"Contract End\",\n code: 'contractend',\n description: 'Contract End',\n translateKey: 'contractEndLetter'\n }, {\n id: \"700\",\n alerts: \"Service\",\n code: 'service',\n description: 'Service',\n translateKey: 'serviceLetter'\n }, {\n id: \"800\",\n alerts: \"Pending Service\",\n code: 'appointment',\n description: 'Pending Service',\n translateKey: 'serviceAppointmentLetter'\n }, {\n id: \"900\",\n alerts: \"Mileage\",\n code: 'mileage',\n description: 'Mileage',\n translateKey: 'mileageLetter'\n }, {\n id: \"1000\",\n alerts: \"Warranty\",\n code: 'warranty',\n description: 'Warranty',\n translateKey: 'warrantyLetter'\n }],\n getByDescription: function getByDescription(description) {\n var alert = null;\n\n if (typeof this.dataSource.find === \"function\") {\n alert = this.dataSource.find(function (item) {\n return item.description == description;\n });\n if (typeof alert === 'undefined') return null;\n return alert;\n } else {\n for (var i = 0; i < description.length; i++) {\n if (description[i].description == description) alert = description[i];\n }\n }\n\n return alert;\n },\n getById: function getById(id) {\n var alert = null;\n\n if (typeof this.dataSource.find === \"function\") {\n var alert = this.dataSource.find(function (item) {\n return item.id == id;\n });\n if (typeof alert === 'undefined') return null;\n return alert;\n } else {\n for (var i = 0; i < description.length; i++) {\n if (description[i].id == id) alert = description[i];\n }\n }\n\n return alert;\n }\n };\n\n function init() {\n $q.all([userService.getUserProfile()]).then(function (data) {\n var userProfile = data[0];\n $ctrl.cultureName = userProfile.cultureName;\n setKendoCulture();\n initGridOptions();\n loadWishListMatches($ctrl.selectedDealerId, $ctrl.dealerWishListID, MATCH_TAKE);\n });\n }\n\n function loadDealSheet(entityId) {\n dealSheetService.openDealSheetModal(entityId);\n }\n\n function renderCustomerLink(e) {\n if (e.entityID == null) return e.customerFullName;\n var dsLink = \"\" + e.customerFullName + \"\";\n return dsLink;\n }\n\n function renderAlerts(e) {\n if (e.alerts == null || e.alerts.length == 0) return \"\";\n var alerts = e.alerts;\n var alertCodes = new Array();\n var alertLetterTranslations = new Array();\n\n for (var i = 0; i < alerts.length; i++) {\n var alert = alertTypeHelper.getById(alerts[i]);\n\n if (alert !== null) {\n alertCodes.push(alert.code);\n alertLetterTranslations.push($ctrl.translations[alert.translateKey]);\n }\n }\n\n var data = {\n alertCodes: alertCodes,\n alertLetterTranslations: alertLetterTranslations\n };\n return renderTemplate(\"#alerts-template\", data);\n }\n\n function renderTemplate(templateId, data) {\n var templateContent = $(templateId).html();\n var template = $ctrl.kendo.template(templateContent);\n var html = template(data);\n return html;\n }\n\n function busy(translationKey, promise) {\n //global\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function loadWishListMatches(dealerId, dealerWishListID, take) {\n return busy($ctrl.translations.loadingWishlistMatches, dealerService.GetDealerWishListLogs(dealerId, dealerWishListID, take).then(function (data) {\n $ctrl.wishListMatches = data;\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: $ctrl.wishListMatches,\n schema: {\n model: {\n id: 'dealerWishlistLogID',\n fields: _defineProperty({\n dealerWishlistLogID: {\n type: \"number\",\n editable: false\n },\n dealerWishlistID: {\n type: \"number\",\n editable: false\n },\n dealerID: {\n type: \"number\",\n editable: false\n },\n serviceID: {\n type: \"number\",\n editable: false\n },\n entityID: {\n type: \"string\",\n editable: false\n },\n alerts: {\n type: \"array\",\n editable: false\n },\n opportunityRank: {\n type: \"number\",\n editable: false\n },\n resultDateUtc: {\n type: \"date\",\n editable: false\n },\n distributionSent: {\n type: \"array\",\n editable: false\n },\n notes: {\n type: \"string\",\n editable: false\n },\n customerFullName: {\n type: \"string\",\n editable: false\n },\n vin: {\n type: \"string\",\n editable: false\n },\n yearID: {\n type: \"number\",\n editable: false\n },\n odometer: {\n type: \"number\",\n editable: false\n },\n trimName: {\n type: \"string\",\n editable: false\n },\n trimFullName: {\n type: \"string\",\n editable: false\n },\n rO_ID: {\n type: \"string\",\n editable: false\n }\n }, \"distributionSent\", {\n type: \"array\",\n editable: false\n })\n }\n },\n batch: true,\n pageSize: 20\n });\n }));\n }\n\n function notifyTemplate(e) {\n var eyeball = \"
\";\n return eyeball;\n }\n\n function displayDistributionList(dealerWishListLogID) {\n var row = $ctrl.ds.get(dealerWishListLogID);\n $ctrl.distributionList = [];\n if (row.distributionSent == null || row.distributionSent.length == 0) return;\n $ctrl.distributionList = row.distributionSent.map(function (d) {\n return {\n userID: d,\n fullName: \"\",\n emailAddress: \"\"\n };\n });\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = $ctrl.users[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var user = _step.value;\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = $ctrl.distributionList[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var distUser = _step2.value;\n\n if (user.userID === distUser.userID) {\n distUser.fullName = user.fullName;\n distUser.emailAddress = user.email;\n }\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n $ctrl.distributionList.sort(byFullName);\n }\n\n function odometerTemplate(e) {\n var odometer = e.odometer ? e.odometer : '';\n\n if (odometer) {\n var localeNumberFilter = $filter('localeNumber');\n var localeOdometer = localeNumberFilter(odometer);\n return \"\" + localeOdometer + \"\";\n } else {\n return \"\";\n }\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n pageable: true,\n height: 400,\n columns: [{\n field: \"opportunityRank\",\n title: $ctrl.translations.score,\n template: '{{dataItem.opportunityRank}}',\n width: \"5%\",\n sortable: true\n }, {\n field: \"customerFullName\",\n title: $ctrl.translations.customerLabel,\n template: renderCustomerLink,\n width: \"15%\",\n sortable: true\n }, {\n field: \"alerts\",\n title: $ctrl.translations.alertsLabel,\n template: renderAlerts,\n width: \"13%\",\n sortable: false\n }, {\n field: \"vin\",\n title: $ctrl.translations.vinLabel,\n width: \"13%\",\n sortable: true\n }, {\n field: \"odometer\",\n title: $ctrl.translations.odometer,\n template: odometerTemplate,\n width: \"9%\",\n sortable: true\n }, {\n field: \"trimFullName\",\n title: $ctrl.translations.trim,\n template: '{{dataItem.yearID}}, {{dataItem.trimFullName}}',\n width: \"14%\",\n sortable: true\n }, {\n field: \"rO_ID\",\n title: $ctrl.translations.repairOrderNumberColumnLabel,\n width: \"11%\",\n sortable: true\n }, {\n field: \"resultDateUtc\",\n title: $ctrl.translations.dateTime,\n format: \"{0:MM-dd-yyyy hh:mm tt}\",\n width: \"13%\",\n sortable: true\n }, {\n field: \"distributionSent\",\n title: $ctrl.translations.sentTo,\n template: notifyTemplate,\n width: \"6%\",\n sortable: false\n }],\n editable: false,\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: true,\n reorderable: true,\n filterable: false\n };\n }\n\n function byFullName(object1, object2) {\n var fullName1 = object1.fullName.toLowerCase();\n var fullName2 = object2.fullName.toLowerCase();\n if (fullName1 < fullName2) return -1;\n if (fullName1 > fullName2) return 1;\n return 0;\n }\n\n function setKendoCulture() {\n switch ($ctrl.cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.frFR:\n case cultures.esUS:\n $ctrl.kendo.culture($ctrl.cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n }\n\n if ($ctrl.resolve.closeButtonVisible === undefined) $ctrl.resolve.closeButtonVisible = true;\n if ($ctrl.resolve.closeButtonText === undefined) $ctrl.resolve.closeButtonText = \"cancel\";\n if ($ctrl.resolve.submitButtonVisible === undefined) $ctrl.resolve.submitButtonVisible = true;\n if ($ctrl.resolve.submitButtonDisabled === undefined) $ctrl.resolve.submitButtonDisabled = false;\n if ($ctrl.resolve.submitButtonText === undefined) $ctrl.resolve.submitButtonText = \"yes\";\n}","\n/* injects from baggage-loader */\nrequire('./wish-list-matches-modal.component.html');\n\nimport angular from 'angular';\r\nimport './wish-list-matches-modal.component.scss';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\nimport eyeIconPath from '../../images/icon-eye-lake.svg';\r\n\r\nangular.module('AaApp.Opp').component('wishListMatchesModal', {\r\n templateUrl: '/app/components/wish-list/wish-list-matches-modal.component.html',\r\n controller: wishListMatchesModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&',\r\n kendo: '<',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction wishListMatchesModalController(_, $q, $filter, $translate, cultures, userService, dealerService, dealSheetService) {\r\n\r\n var $ctrl = this;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.ds;\r\n $ctrl.gridOptions;\r\n $ctrl.cultureName;\r\n $ctrl.loadWishListMatches = loadWishListMatches;\r\n $ctrl.displayDistributionList = displayDistributionList;\r\n $ctrl.loadDealSheet = loadDealSheet;\r\n\r\n const MATCH_TAKE = 50;\r\n\r\n //$ctrl.resolve is sent by the caller of this directive, and can be any JS object.\r\n // I'm using it to enable DI and pass input parameters.\r\n $ctrl.selectedDealerId = $ctrl.resolve.message.selectedDealerId;\r\n $ctrl.dealerWishListID = $ctrl.resolve.message.dealerWishListID;\r\n $ctrl.translations = $ctrl.resolve.message.translations;\r\n $ctrl.users = $ctrl.resolve.message.users;\r\n\r\n $ctrl.kendo = $ctrl.resolve.message.kendo;\r\n $ctrl.wishListMatches;\r\n $ctrl.distributionList = [];\r\n $ctrl.renderAlerts = renderAlerts;\r\n\r\n var alertTypeHelper = {\r\n dataSource: [\r\n { id: \"100\", alerts: \"Alert\", code: 'alert', description: 'Alert', translateKey: 'faalertletter' },\r\n { id: \"200\", alerts: \"Flex\", code: 'flexalert', description: 'Flex', translateKey: 'flexAlertLetter' },\r\n { id: \"400\", alerts: \"In Market\", code: 'inmarket', description: 'In Market', translateKey: 'inMarketLetter' },\r\n { id: \"500\", alerts: \"Engaged\", code: 'inmarketengaged', description: 'Engaged', translateKey: 'inMarketEngagedLetter' },\r\n { id: \"600\", alerts: \"Contract End\", code: 'contractend', description: 'Contract End', translateKey: 'contractEndLetter' },\r\n { id: \"700\", alerts: \"Service\", code: 'service', description: 'Service', translateKey: 'serviceLetter' },\r\n { id: \"800\", alerts: \"Pending Service\", code: 'appointment', description: 'Pending Service', translateKey: 'serviceAppointmentLetter' },\r\n { id: \"900\", alerts: \"Mileage\", code: 'mileage', description: 'Mileage', translateKey: 'mileageLetter' },\r\n { id: \"1000\", alerts: \"Warranty\", code: 'warranty', description: 'Warranty', translateKey: 'warrantyLetter' }\r\n ],\r\n\r\n getByDescription: function (description) {\r\n var alert = null;\r\n if (typeof this.dataSource.find === \"function\") {\r\n alert = this.dataSource.find(function (item) { return item.description == description; });\r\n if (typeof (alert) === 'undefined') return null;\r\n return alert;\r\n }\r\n else {\r\n for (var i = 0; i < description.length; i++) {\r\n if (description[i].description == description)\r\n alert = description[i];\r\n }\r\n }\r\n return alert;\r\n },\r\n\r\n getById: function (id) {\r\n var alert = null;\r\n if (typeof this.dataSource.find === \"function\") {\r\n var alert = this.dataSource.find(function (item) { return item.id == id; });\r\n if (typeof (alert) === 'undefined') return null;\r\n return alert;\r\n }\r\n else {\r\n for (var i = 0; i < description.length; i++) {\r\n if (description[i].id == id)\r\n alert = description[i];\r\n }\r\n }\r\n return alert;\r\n }\r\n }\r\n\r\n function init() {\r\n $q.all([\r\n userService.getUserProfile(),\r\n ]).then((data) => {\r\n var userProfile = data[0];\r\n $ctrl.cultureName = userProfile.cultureName;\r\n setKendoCulture();\r\n initGridOptions();\r\n loadWishListMatches($ctrl.selectedDealerId, $ctrl.dealerWishListID, MATCH_TAKE);\r\n });\r\n }\r\n\r\n function loadDealSheet(entityId) {\r\n dealSheetService.openDealSheetModal(entityId);\r\n }\r\n\r\n function renderCustomerLink(e) {\r\n if (e.entityID == null)\r\n return e.customerFullName;\r\n var dsLink = \"\" + e.customerFullName + \"\";\r\n return dsLink;\r\n }\r\n\r\n function renderAlerts(e) {\r\n if (e.alerts == null || e.alerts.length == 0)\r\n return \"\";\r\n\r\n var alerts = e.alerts;\r\n var alertCodes = new Array();\r\n var alertLetterTranslations = new Array();\r\n for (var i = 0; i < alerts.length; i++) {\r\n var alert = alertTypeHelper.getById(alerts[i]);\r\n if (alert !== null) { \r\n alertCodes.push(alert.code);\r\n alertLetterTranslations.push($ctrl.translations[alert.translateKey]);\r\n }\r\n }\r\n\r\n var data = {\r\n alertCodes: alertCodes,\r\n alertLetterTranslations: alertLetterTranslations\r\n }\r\n\r\n return renderTemplate(\"#alerts-template\", data);\r\n }\r\n\r\n function renderTemplate(templateId, data) {\r\n var templateContent = $(templateId).html();\r\n var template = $ctrl.kendo.template(templateContent);\r\n var html = template(data);\r\n return html;\r\n }\r\n\r\n function busy(translationKey, promise) { //global\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function loadWishListMatches(dealerId, dealerWishListID, take) {\r\n return busy(\r\n $ctrl.translations.loadingWishlistMatches,\r\n dealerService.GetDealerWishListLogs(dealerId, dealerWishListID, take)\r\n .then((data) => {\r\n $ctrl.wishListMatches = data;\r\n\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: $ctrl.wishListMatches,\r\n schema: {\r\n model: {\r\n id: 'dealerWishlistLogID',\r\n fields: {\r\n dealerWishlistLogID: { type: \"number\", editable: false },\r\n dealerWishlistID: { type: \"number\", editable: false },\r\n dealerID: { type: \"number\", editable: false },\r\n serviceID: { type: \"number\", editable: false },\r\n entityID: { type: \"string\", editable: false },\r\n alerts: { type: \"array\", editable: false },\r\n opportunityRank: { type: \"number\", editable: false },\r\n resultDateUtc: { type: \"date\", editable: false },\r\n distributionSent: { type: \"array\", editable: false },\r\n notes: { type: \"string\", editable: false },\r\n customerFullName: { type: \"string\", editable: false },\r\n vin: { type: \"string\", editable: false },\r\n yearID: { type: \"number\", editable: false },\r\n odometer: { type: \"number\", editable: false },\r\n trimName: { type: \"string\", editable: false },\r\n trimFullName: { type: \"string\", editable: false },\r\n rO_ID: { type: \"string\", editable: false },\r\n distributionSent: { type: \"array\", editable: false },\r\n }\r\n }\r\n },\r\n batch: true,\r\n pageSize: 20\r\n });\r\n })\r\n );\r\n }\r\n\r\n function notifyTemplate(e) {\r\n var eyeball = \"
\";\r\n return eyeball;\r\n }\r\n\r\n function displayDistributionList(dealerWishListLogID) {\r\n var row = $ctrl.ds.get(dealerWishListLogID);\r\n $ctrl.distributionList = [];\r\n\r\n if (row.distributionSent == null || row.distributionSent.length == 0)\r\n return;\r\n\r\n $ctrl.distributionList = row.distributionSent.map(d => ({\r\n userID: d,\r\n fullName: \"\",\r\n emailAddress: \"\"\r\n }));\r\n\r\n for (let user of $ctrl.users) {\r\n for (let distUser of $ctrl.distributionList) {\r\n if (user.userID === distUser.userID) {\r\n distUser.fullName = user.fullName;\r\n distUser.emailAddress = user.email;\r\n }\r\n }\r\n }\r\n\r\n $ctrl.distributionList.sort(byFullName);\r\n }\r\n\r\n function odometerTemplate(e) {\r\n var odometer = e.odometer ? e.odometer : '';\r\n if (odometer) {\r\n var localeNumberFilter = $filter('localeNumber');\r\n var localeOdometer = localeNumberFilter(odometer);\r\n return \"\" + localeOdometer + \"\";\r\n }\r\n else {\r\n return \"\";\r\n }\r\n }\r\n\r\n function initGridOptions() {\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n pageable: true,\r\n height: 400,\r\n columns: [\r\n {\r\n field: \"opportunityRank\",\r\n title: $ctrl.translations.score,\r\n template: '{{dataItem.opportunityRank}}',\r\n width: \"5%\",\r\n sortable: true\r\n },\r\n {\r\n field: \"customerFullName\",\r\n title: $ctrl.translations.customerLabel,\r\n template: renderCustomerLink,\r\n width: \"15%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"alerts\",\r\n title: $ctrl.translations.alertsLabel,\r\n template: renderAlerts,\r\n width: \"13%\",\r\n sortable: false,\r\n },\r\n {\r\n field: \"vin\",\r\n title: $ctrl.translations.vinLabel,\r\n width: \"13%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"odometer\",\r\n title: $ctrl.translations.odometer,\r\n template: odometerTemplate,\r\n width: \"9%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"trimFullName\",\r\n title: $ctrl.translations.trim,\r\n template: '{{dataItem.yearID}}, {{dataItem.trimFullName}}',\r\n width: \"14%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"rO_ID\",\r\n title: $ctrl.translations.repairOrderNumberColumnLabel,\r\n width: \"11%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"resultDateUtc\",\r\n title: $ctrl.translations.dateTime,\r\n format: \"{0:MM-dd-yyyy hh:mm tt}\",\r\n width: \"13%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"distributionSent\",\r\n title: $ctrl.translations.sentTo,\r\n template: notifyTemplate,\r\n width: \"6%\",\r\n sortable: false,\r\n },\r\n ],\r\n editable: false,\r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: true,\r\n reorderable: true,\r\n filterable: false\r\n }\r\n\r\n }\r\n\r\n function byFullName(object1, object2) {\r\n var fullName1 = object1.fullName.toLowerCase();\r\n var fullName2 = object2.fullName.toLowerCase();\r\n if (fullName1 < fullName2)\r\n return -1;\r\n if (fullName1 > fullName2)\r\n return 1;\r\n return 0;\r\n }\r\n\r\n function setKendoCulture() {\r\n switch ($ctrl.cultureName) {\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.frFR:\r\n case cultures.esUS:\r\n $ctrl.kendo.culture($ctrl.cultureName);\r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS);\r\n break;\r\n }\r\n }\r\n\r\n if ($ctrl.resolve.closeButtonVisible === undefined)\r\n $ctrl.resolve.closeButtonVisible = true;\r\n\r\n if ($ctrl.resolve.closeButtonText === undefined)\r\n $ctrl.resolve.closeButtonText = \"cancel\";\r\n\r\n if ($ctrl.resolve.submitButtonVisible === undefined)\r\n $ctrl.resolve.submitButtonVisible = true;\r\n\r\n if ($ctrl.resolve.submitButtonDisabled === undefined)\r\n $ctrl.resolve.submitButtonDisabled = false;\r\n\r\n if ($ctrl.resolve.submitButtonText === undefined)\r\n $ctrl.resolve.submitButtonText = \"yes\";\r\n\r\n}\r\n\r\n","\n/* injects from baggage-loader */\nrequire('./possible-nlo.component.html');\n\nimport angular from 'angular';\r\nimport './possible-nlo.component.scss';\r\nimport BusyIndicator from '../../utilities/BusyIndicator';\r\nimport $ from 'jquery';\r\n\r\nangular.module('AaApp.Opp').component('possibleNlo', {\r\n templateUrl: '/app/components/possible-nlo/possible-nlo.component.html',\r\n controller: PossibleNloController,\r\n bindings: {\r\n kendo: '<',\r\n }\r\n});\r\n\r\nfunction PossibleNloController(\r\n $translate,\r\n $q,\r\n dealerService,\r\n userService,\r\n dealSheetService,\r\n searchService,\r\n cultures,\r\n environmentVariables,\r\n logger,\r\n $filter,\r\n opportunity2Service,\r\n opportunityService,\r\n _\r\n) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n\r\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\r\n\r\n $ctrl.$onInit = init;\r\n $ctrl.onDealerSelect = onDealerSelect;\r\n $ctrl.busyIndicator = new BusyIndicator();\r\n $ctrl.setKendoCulture = setKendoCulture;\r\n $ctrl.loadNloData = loadNloData;\r\n $ctrl.getTranslations = getTranslations;\r\n $ctrl.environmentVariables = environmentVariables;\r\n $ctrl.cultureName;\r\n $ctrl.translations = {};\r\n $ctrl.users;\r\n $ctrl.childGridOptions = childGridOptions;\r\n $ctrl.loadDealSheet = loadDealSheet;\r\n\r\n function init() {\r\n $ctrl.dealers = dealerService.getSelectedDealers();\r\n $ctrl.selectedDealerId = $ctrl.dealers[0].id;\r\n\r\n $q.all([\r\n userService.getUserProfile(),\r\n $ctrl.getTranslations(),\r\n ]).then((data) => {\r\n var userProfile = data[0];\r\n $ctrl.translations = data[1];\r\n\r\n $ctrl.cultureName = userProfile.cultureName;\r\n setKendoCulture();\r\n initGridOptions();\r\n onDealerSelect();\r\n });\r\n }\r\n \r\n function busy(translationKey, promise) { //global\r\n $ctrl.busyMessage = null;\r\n $translate(translationKey)\r\n .then(translation => {\r\n $ctrl.busyMessage = translation;\r\n }, err => {\r\n $ctrl.busyMessage = translationKey;\r\n });\r\n\r\n const done = $ctrl.busyIndicator.start();\r\n return promise.finally(done);\r\n }\r\n\r\n function onDealerSelect(dealerId) {\r\n if (dealerId > 0) $ctrl.selectedDealerId = dealerId;\r\n\r\n loadNloData();\r\n\r\n }\r\n\r\n function setTestNloData() {\r\n var testData = [\r\n {\r\n entityID: 'A6496507-C998-E611-80D6-3CA82A11AF1E',\r\n dealerID: 1167,\r\n customerFullName: 'John Henderson',\r\n makeName: 'Honda',\r\n modelName: 'Accord',\r\n yearID: '2019',\r\n trimName: 'LX',\r\n maxInsertDateUtc: '07/04/2021 09:00:00',\r\n nloDetails: [\r\n {\r\n communicationSourceID: '001',\r\n communicationText: 'CUSTOMER SOLD CAR',\r\n insertDateUtc: '07/04/2021 09:00:00'\r\n },\r\n {\r\n communicationSourceID: '002',\r\n communicationText: 'Vehicle was sold',\r\n insertDateUtc: '06/28/2021 09:00:00'\r\n },\r\n {\r\n communicationSourceID: '003',\r\n communicationText: 'No longer owns vehicle',\r\n insertDateUtc: '06/14/2021 11:00:00'\r\n }\r\n ]\r\n },\r\n {\r\n entityID: 'A6496507-C998-E611-80D6-3CA82A11AF1E',\r\n dealerID: 1167,\r\n customerFullName: 'Jessica Smith',\r\n makeName: 'Mercedes-Benz',\r\n modelName: 'GLS',\r\n yearID: '2017',\r\n trimName: '',\r\n maxInsertDateUtc: '05/15/2021 09:00:00',\r\n nloDetails: [\r\n {\r\n communicationSourceID: '001',\r\n communicationText: 'CUSTOMER SOLD CAR',\r\n insertDateUtc: '07/04/2021 09:00:00'\r\n },\r\n {\r\n communicationSourceID: '001',\r\n communicationText: 'Customer no longer owns vehicle',\r\n insertDateUtc: '06/22/2021 10:30:00'\r\n }\r\n ]\r\n },\r\n {\r\n entityID: 'A6496507-C998-E611-80D6-3CA82A11AF1E',\r\n dealerID: 1167,\r\n customerFullName: 'Jason Williams',\r\n makeName: 'Mercedes-Benz',\r\n modelName: 'S',\r\n yearID: '2015',\r\n trimName: '',\r\n maxInsertDateUtc: '05/10/2021 09:00:00',\r\n nloDetails: [\r\n {\r\n communicationSourceID: '001',\r\n communicationText: 'CUSTOMER SOLD CAR',\r\n insertDateUtc: '07/10/2021 14:00:00'\r\n },\r\n {\r\n communicationSourceID: '001',\r\n communicationText: 'Sold car',\r\n insertDateUtc: '07/06/2021 15:00:00'\r\n },\r\n {\r\n communicationSourceID: '002',\r\n communicationText: 'Vehicle was sold',\r\n insertDateUtc: '06/28/2021 09:00:00'\r\n },\r\n {\r\n communicationSourceID: '003',\r\n communicationText: 'No longer owns vehicle',\r\n insertDateUtc: '06/14/2021 11:00:00'\r\n }\r\n ]\r\n }\r\n ];\r\n\r\n return testData;\r\n }\r\n\r\n function loadNloData() {\r\n return busy(\r\n $ctrl.translations.loading,\r\n searchService.getNoLongerOwnForDealer($ctrl.selectedDealerId)\r\n .then((data) => {\r\n $ctrl.nloData = data;\r\n\r\n //$ctrl.nloData = setTestNloData();\r\n\r\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\r\n data: $ctrl.nloData,\r\n schema: {\r\n model: {\r\n id: 'entityID',\r\n fields: {\r\n entityID: { type: \"string\", editable: false },\r\n dealerID: { type: \"number\", editable: false },\r\n customerFullName: { type: \"string\", editable: false },\r\n makeName: { type: \"string\", editable: false },\r\n modelName: { type: \"string\", editable: false },\r\n yearID: { type: \"string\", editable: false },\r\n trimName: { type: \"string\", editable: false },\r\n maxInsertDateUtc: { type: \"date\", editable: false },\r\n nloDetails: { type: \"array\", editable: false },\r\n }\r\n }\r\n },\r\n sort: { field: \"maxInsertDateUtc\", dir: \"desc\" },\r\n batch: false,\r\n pageSize: 20\r\n });\r\n })\r\n );\r\n }\r\n\r\n function initGridOptions() {\r\n $ctrl.gridOptions = {\r\n dataSource: $ctrl.ds,\r\n pageable: true,\r\n height: 550,\r\n columns: [\r\n {\r\n field: \"customerFullName\",\r\n title: $ctrl.translations.customerLabel,\r\n template: renderCustomerLink,\r\n width: \"14%\",\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.customerFullName.toLowerCase();\r\n var second = b.customerFullName.toLowerCase();\r\n first = first == null ? first = \"zzzz\" : first;\r\n second = second == null ? second = \"zzzz\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n }\r\n },\r\n {\r\n field: \"makeName\",\r\n title: $ctrl.translations.make,\r\n template: '{{dataItem.makeName}}',\r\n width: \"14%\",\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.makeName;\r\n var second = b.makeName;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n }\r\n },\r\n {\r\n field: \"yearID\",\r\n title: $ctrl.translations.year,\r\n width: \"8%\",\r\n attributes: { style: \"text-align: center\" },\r\n headerAttributes: { \"class\": \"align-center\" },\r\n sortable: true,\r\n },\r\n {\r\n field: \"modelName\",\r\n title: $ctrl.translations.model,\r\n template: '{{dataItem.modelName}}',\r\n width: \"14%\",\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.modelName;\r\n var second = b.modelName;\r\n first = first == null ? first = \"ZZZZ\" : first;\r\n second = second == null ? second = \"ZZZZ\" : second;\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n field: \"trimName\",\r\n title: $ctrl.translations.trim,\r\n width: \"23%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"maxInsertDateUtc\",\r\n title: $ctrl.translations.nloLatestDate,\r\n template: mostRecentDateTemplate,\r\n format: \"{0:d}\",\r\n width: \"14%\",\r\n sortable: {\r\n compare: function (a, b) {\r\n var first = a.maxInsertDateUtc ? a.maxInsertDateUtc : '';\r\n var second = b.maxInsertDateUtc ? b.maxInsertDateUtc : '';\r\n var answer = first < second ? -1 : 1;\r\n return answer;\r\n }\r\n },\r\n },\r\n {\r\n command: [\r\n {\r\n name: \"Mark\",\r\n text: $ctrl.translations.nlo_Mark,\r\n click: markAsNLO\r\n },\r\n {\r\n name: \"Decline\",\r\n text: $ctrl.translations.nlo_Decline,\r\n click: declineNLO\r\n }\r\n ],\r\n title: $ctrl.translations.actions,\r\n width: \"230px\",\r\n attributes: { style: \"text-align: center\" },\r\n headerAttributes: { \"class\": \"align-center\" },\r\n }\r\n ],\r\n editable: false,\r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: true,\r\n reorderable: true,\r\n filterable: false\r\n }\r\n\r\n }\r\n\r\n function loadDealSheet(entityId) {\r\n dealSheetService.openDealSheetModal(entityId);\r\n }\r\n\r\n function renderCustomerLink(e) {\r\n if (e.entityID == null)\r\n return e.customerFullName;\r\n var dsLink = \"\" + e.customerFullName + \"\";\r\n return dsLink;\r\n }\r\n\r\n function markAsNLO(e) {\r\n e.preventDefault(); //prevent page scroll reset\r\n var tr = $(e.target).closest(\"tr\");\r\n var data = this.dataItem(tr);\r\n\r\n updateNLO(data.entityID, true);\r\n }\r\n\r\n function declineNLO(e) {\r\n e.preventDefault(); //prevent page scroll reset\r\n var tr = $(e.target).closest(\"tr\");\r\n var data = this.dataItem(tr);\r\n\r\n updateNLO(data.entityID, false);\r\n }\r\n\r\n function updateNLO(entityId, agreed) {\r\n // call api to mark as NLO or decline NLO then refresh deal sheet:\r\n opportunityService.updateActiveNLPNoLongerOwn(entityId, agreed).then(() => {\r\n logger.success(\"changesSaved\");\r\n loadNloData();\r\n });\r\n }\r\n\r\n function childGridOptions(dataItem) {\r\n\r\n dataItem.nloDetails.forEach(item => {\r\n var transKey = 'nloCommSrc_' + item.communicationSourceID;\r\n item.communicationSource = $ctrl.translations[transKey];\r\n });\r\n\r\n var ds = new $ctrl.kendo.data.DataSource({\r\n data: dataItem.nloDetails,\r\n schema: {\r\n model: {\r\n fields: {\r\n insertDateUtc: { type: \"date\", editable: false },\r\n communicationSource: { type: \"string\", editable: false },\r\n communicationText: { type: \"string\", editable: false },\r\n }\r\n }\r\n },\r\n sort: { field: \"insertDateUtc\", dir: \"desc\" },\r\n batch: false,\r\n });\r\n\r\n return {\r\n dataSource: ds,\r\n pageable: false,\r\n columns: [\r\n {\r\n field: \"insertDateUtc\",\r\n title: $ctrl.translations.date,\r\n width: \"10%\",\r\n template: insertDateTemplate,\r\n format: \"{0:d}\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"communicationSource\",\r\n title: $ctrl.translations.source,\r\n width: \"10%\",\r\n sortable: true,\r\n },\r\n {\r\n field: \"communicationText\",\r\n title: $ctrl.translations.nloMessage,\r\n width: \"80%\",\r\n sortable: true,\r\n },\r\n ],\r\n editable: false,\r\n sortable: {\r\n mode: \"single\",\r\n allowUnsort: false\r\n },\r\n resizable: false,\r\n reorderable: false,\r\n filterable: false\r\n };\r\n }\r\n\r\n function mostRecentDateTemplate(e) {\r\n var dateUtc = e.maxInsertDateUtc ? e.maxInsertDateUtc : '';\r\n if (dateUtc) {\r\n var localeDateFilter = $filter('localeDate');\r\n var localeDate = localeDateFilter(dateUtc);\r\n return \"\" + localeDate + \"\";\r\n }\r\n else {\r\n return \"\";\r\n }\r\n }\r\n\r\n function insertDateTemplate(e) {\r\n var dateUtc = e.insertDateUtc ? e.insertDateUtc : '';\r\n if (dateUtc) {\r\n var localeDateFilter = $filter('localeDate');\r\n var localeDate = localeDateFilter(dateUtc);\r\n return \"\" + localeDate + \"\";\r\n }\r\n else {\r\n return \"\";\r\n }\r\n }\r\n\r\n function setKendoCulture() {\r\n switch ($ctrl.cultureName) {\r\n case cultures.enUS:\r\n case cultures.enGB:\r\n case cultures.enCA:\r\n case cultures.frCA:\r\n case cultures.frFR:\r\n case cultures.esUS:\r\n $ctrl.kendo.culture($ctrl.cultureName);\r\n break;\r\n default:\r\n $ctrl.kendo.culture(cultures.enUS);\r\n break;\r\n }\r\n }\r\n\r\n function getTranslations() {\r\n return $q.all({\r\n 'dealerships': $translate('dealerships'),\r\n 'make': $translate('make'),\r\n 'model': $translate('model'),\r\n 'year': $translate('year'),\r\n 'date': $translate('date'),\r\n 'loading': $translate('loading'),\r\n 'faalertletter': $translate('faalertletter'),\r\n 'flexAlertLetter': $translate('flexAlertLetter'),\r\n 'inMarketLetter': $translate('inMarketLetter'),\r\n 'inMarketEngagedLetter': $translate('inMarketEngagedLetter'),\r\n 'contractEndLetter': $translate('contractEndLetter'),\r\n 'serviceLetter': $translate('serviceLetter'),\r\n 'serviceAppointmentLetter': $translate('serviceAppointmentLetter'),\r\n 'mileageLetter': $translate('mileageLetter'),\r\n 'warrantyLetter': $translate('warrantyLetter'),\r\n 'customerLabel': $translate('customerLabel'),\r\n 'trim': $translate('trim'),\r\n 'source': $translate('source'),\r\n 'actions': $translate('actions'),\r\n 'nloCommSrc_001': $translate('nloCommSrc_001'),\r\n 'nloCommSrc_002': $translate('nloCommSrc_002'),\r\n 'nloCommSrc_003': $translate('nloCommSrc_003'),\r\n 'nlo_Mark': $translate('nlo_Mark'),\r\n 'nlo_Decline': $translate('nlo_Decline'),\r\n 'nloCommandBtnsTooltip': $translate('nloCommandBtnsTooltip'),\r\n 'nloMessage': $translate('nloMessage'),\r\n 'nloLatestDate': $translate('nloLatestDate'),\r\n });\r\n }\r\n}\r\n","import angular from 'angular';\r\nimport { OpportunitiesModule } from './opportunities.module';\r\n\r\nOpportunitiesModule.provider('exceptionHandler', function ExceptionHandlerProvider() {\r\n /* jshint validthis:true */\r\n this.config = {\r\n appErrorPrefix: undefined\r\n };\r\n\r\n this.configure = function (appErrorPrefix) {\r\n this.config.appErrorPrefix = appErrorPrefix;\r\n };\r\n\r\n this.$get = function () {\r\n return { config: this.config };\r\n };\r\n});\r\n\r\nOpportunitiesModule.config(function ($provide) {\r\n \"ngInject\";\r\n\r\n $provide.decorator('$exceptionHandler', function ExceptionHandlerDecorator($delegate, $injector, exceptionHandler) {\r\n \"ngInject\";\r\n return function (exception, cause) {\r\n const logger = $injector.get('logger');\r\n const coreApi = $injector.get('coreApi');\r\n\r\n if (shouldIgnoreError(exception)) {\r\n return;\r\n }\r\n\r\n // Error#message is not writeable, so we have to make a new error\r\n if (exception.message) {\r\n const appErrorPrefix = exceptionHandler.config.appErrorPrefix || '';\r\n exception = new AppError(appErrorPrefix + exception.message, exception);\r\n }\r\n\r\n $delegate(exception, cause);\r\n\r\n if ( exception.stack || cause) {\r\n const concatenatedException = `Exception: ${exception.stack}\\n\\nCause: ${cause}`;\r\n coreApi.api.Log.Log.POST(angular.toJson(concatenatedException.substring(0, 1000)));\r\n } \r\n\r\n const errorData = { exception, cause };\r\n logger.genericError(exception.message, errorData);\r\n\r\n };\r\n\r\n function shouldIgnoreError(exception) {\r\n if (exception instanceof MustBeCaughtNoToastError) {\r\n return true;\r\n }\r\n\r\n //remove template errors when it happens due to page redirect (support firefox)\r\n // reference https://github.com/angular/angular.js/issues/14219\r\n if (exception.message && exception.message.startsWith('[$compile:tpload]')) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n });\r\n});\r\n\r\nfunction AppError(message, error) {\r\n this.name = 'AppError';\r\n this.message = message;\r\n this.error = error;\r\n}\r\n\r\n/**\r\n * When thrown inside a promise callback, this error will not be logged by the\r\n * global $exceptionHandler. This is to avoid showing an unnecessary toast\r\n * message.\r\n *\r\n * If this error is thrown and not caught by application code, the error will\r\n * go unhandled.\r\n */\r\nexport function MustBeCaughtNoToastError(message) {\r\n if (!(this instanceof MustBeCaughtNoToastError))\r\n return new MustBeCaughtNoToastError(message);\r\n this.message = message;\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./customer-engagement-widget.component.html');\n\nimport angular from 'angular';\r\nimport {OpportunitiesModule} from '../../core/opportunities.module'\r\n\r\nOpportunitiesModule.component('customerEngagementWidget', {\r\n templateUrl: '/app/components/header/customer-engagement-widget.component.html',\r\n controller: CustomerEngagementWidgetController,\r\n bindings: {\r\n onCustomerEngagementClicked: '&',\r\n }\r\n});\r\n\r\nfunction CustomerEngagementWidgetController($logFactory, $timeout, $uibModal, customerEngagementService) {\r\n \"ngInject\";\r\n\r\n const $ctrl = this;\r\n const $log = $logFactory.get(\"customerEngagementWidget\");\r\n\r\n $ctrl.hoursBack = 24;\r\n $ctrl.filters = {};\r\n $ctrl.engagements = [];\r\n $ctrl.newEngagementsCount = 0;\r\n $ctrl.lastViewedDate;\r\n\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.show = show;\r\n $ctrl.onHoursBackChanged = onHoursBackChanged;\r\n\r\n function $onInit() {\r\n $timeout(checkForNewEngagements);\r\n\r\n const subscription =\r\n customerEngagementService.newEngagements\r\n .subscribe(evt => {\r\n const engagementTime = new Date(evt.data.engagementTimeUtc);\r\n if (!$ctrl.lastViewedDate || engagementTime > $ctrl.lastViewedDate) {\r\n $log.debug(\"incremented count\");\r\n $ctrl.newEngagementsCount = $ctrl.newEngagementsCount + 1;\r\n }\r\n });\r\n\r\n this.$onDestroy = () => subscription.unsubscribe();\r\n }\r\n\r\n function checkForNewEngagements() {\r\n customerEngagementService.getCustomerEngagement($ctrl.hoursBack)\r\n .then(({ lastViewedDate, engagements }) => {\r\n $log.debug(\"getCustomerEngagement:\", { lastViewedDate, engagements });\r\n $ctrl.lastViewedDate = lastViewedDate;\r\n $ctrl.engagements = sortEngagementsByDateDescending(engagements);\r\n $ctrl.newEngagementsCount = getNewEngagementsCount($ctrl.engagements);\r\n })\r\n\r\n function getNewEngagementsCount(engagements) {\r\n return engagements\r\n .filter(e => e.lastViewedCount > 0)\r\n .reduce((total, engagement) => total + engagement.lastViewedCount, 0);\r\n }\r\n }\r\n\r\n function show() {\r\n // Tell the server we've viewed everything, then mark it all as viewed\r\n // on our end\r\n customerEngagementService.markCustomerEngagementsViewed()\r\n .then(() => {\r\n $ctrl.newEngagementsCount = 0\r\n customerEngagementService.getCustomerEngagementLastViewed()\r\n .then((lastViewed) => {\r\n $ctrl.lastViewedDate = new Date(lastViewed.lastViewedDateUTC);\r\n $log.debug(\"new last viewed:\", $ctrl.lastViewedDate);\r\n });\r\n });\r\n\r\n $uibModal.open({\r\n component: 'customerEngagementWidgetWindow',\r\n size: 'mdsm', // medium-small\r\n resolve: {\r\n engagements: () => $ctrl.engagements,\r\n hoursBack: () => $ctrl.hoursBack,\r\n onHoursBackChanged: () => onHoursBackChanged,\r\n onCustomerEngagementClicked: () => $ctrl.onCustomerEngagementClicked\r\n }\r\n })\r\n }\r\n\r\n function onHoursBackChanged({ engagements, hoursBack }) {\r\n $ctrl.engagements = engagements;\r\n $ctrl.hoursBack = hoursBack;\r\n }\r\n}\r\n\r\nexport function sortEngagementsByDateDescending(engagements) {\r\n return engagements.slice().sort(function (a, b) {\r\n // subtracting Dates gives you the difference in milliseconds\r\n return b.eventDate - a.eventDate;\r\n });\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./customer-engagement-widget-window.component.html');\n\nimport { OpportunitiesModule } from '../../core/opportunities.module';\r\nimport moment from 'moment';\r\nimport { EngagementEventTypes, EngagementEventGroups } from '../../constants/engagement-event-types.constant';\r\nimport { sortEngagementsByDateDescending } from './customer-engagement-widget.component';\r\nimport { AssetTypes } from '../../constants';\r\n\r\nOpportunitiesModule.component('customerEngagementWidgetWindow', {\r\n templateUrl: '/app/components/header/customer-engagement-widget-window.component.html',\r\n controller: CustomerEngagementWidgetWindowController,\r\n bindings: {\r\n resolve: '<', // { engagements, hoursBack, onHoursBackChanged, onCustomerEngagementClicked }\r\n close: '&'\r\n },\r\n});\r\n\r\nfunction CustomerEngagementWidgetWindowController(customerEngagementService, $uibModal, $filter, dealerService) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n\r\n const assetTypes = AssetTypes;\r\n\r\n $ctrl.hoursBackOptions = [24, 48, 72];\r\n $ctrl.typeFilters = {};\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.applyFilters = applyFilters;\r\n $ctrl.engagementClicked = engagementClicked;\r\n $ctrl.highEngagementClicked = highEngagementClicked;\r\n $ctrl.iconClassForEngagement = iconClassForEngagement;\r\n $ctrl.iconNameForEngagement = iconNameForEngagement;\r\n $ctrl.descriptionForEngagement = descriptionForEngagement;\r\n $ctrl.setHoursBack = setHoursBack;\r\n $ctrl.$onInit = init;\r\n // Engagements are already sorted by eventDate so set this as the current sortBy field\r\n $ctrl.sortBy = \"eventDate\";\r\n $ctrl.sortEngagements = sortEngagements;\r\n $ctrl.showReviewPro = false;\r\n\r\n $ctrl.filteredItems = [];\r\n $ctrl.pagedItems = [];\r\n $ctrl.maxPageSize = 10;\r\n $ctrl.maxMinArrows = \"false\";\r\n $ctrl.onPagedItems = onPagedItems;\r\n $ctrl.onPagerChange = onPagerChange;\r\n $ctrl.iconClassForReviewRating = iconClassForReviewRating;\r\n $ctrl.engagementEventGroups = EngagementEventGroups;\r\n $ctrl.sortEngagements_StandAlone = sortEngagements_StandAlone;\r\n $ctrl.resetPage = false;\r\n $ctrl.onResetComplete = onResetComplete;\r\n $ctrl.lastViewedDate;\r\n\r\n var $translateFilter = $filter('translate');\r\n\r\n function init() {\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.geoAlert).then((geoAlertEnabled) => {\r\n $ctrl.showGeoAlert = geoAlertEnabled;\r\n });\r\n\r\n dealerService.getIsAssetEnabledForDealer(assetTypes.reviewBuilderPro).then((reviewProEnabled) => {\r\n $ctrl.showReviewPro = reviewProEnabled;\r\n });\r\n\r\n const subscription =\r\n customerEngagementService.newEngagements\r\n .subscribe(evt => {\r\n const engagementTime = new Date(evt.data.engagementTimeUtc);\r\n if (!$ctrl.lastViewedDate || engagementTime > $ctrl.lastViewedDate) {\r\n setHoursBack();\r\n }\r\n });\r\n\r\n this.$onDestroy = () => subscription.unsubscribe();\r\n }\r\n\r\n function $onChanges(changes) {\r\n if (changes.resolve) {\r\n applyFilters();\r\n setHoursBack();\r\n }\r\n }\r\n\r\n function engagementClicked(engagement) {\r\n $ctrl.resolve.onCustomerEngagementClicked({ engagement });\r\n }\r\n\r\n function highEngagementClicked(engagement, $event) {\r\n $event.stopPropagation();\r\n const dateFrom = getDateHoursBack($ctrl.resolve.hoursBack);\r\n\r\n engagement.workingPromise = customerEngagementService.getCustomerEngagementsByEntity(engagement.opportunityId, dateFrom, true)\r\n .then((engagements) => {\r\n \r\n engagements = engagements.map(function (engagement) {\r\n return {\r\n description: $translateFilter(descriptionForEngagement(engagement)),\r\n eventDate: engagement.eventDate,\r\n engagementEventGroupId: engagement.engagementEventGroupId,\r\n reviewRating: engagement.reviewRating,\r\n ratingIcon: engagement.ratingIcon,\r\n ratingTitle: engagement.ratingTitle\r\n }\r\n })\r\n\r\n $uibModal.open({\r\n component: 'customerEngagementsByEntityModal',\r\n size: 'sm', // small\r\n resolve: {\r\n customerFullName: () => engagement.customerFullName,\r\n engagements: () => engagements\r\n }\r\n });\r\n })\r\n }\r\n\r\n function iconNameForEngagement(engagement) {\r\n switch (engagement.engagementEventGroupId) {\r\n case EngagementEventGroups.one2one:\r\n return 'o2o-offer';\r\n case EngagementEventGroups.web:\r\n return 'web';\r\n case EngagementEventGroups.reviews:\r\n return 'reviews';\r\n case EngagementEventGroups.text:\r\n return 'sms';\r\n case EngagementEventGroups.autoAssistant:\r\n return 'auto-assistant';\r\n }\r\n }\r\n\r\n function iconClassForEngagement(engagement) {\r\n switch (engagement.engagementEventGroupId) {\r\n case EngagementEventGroups.email:\r\n return 'aa-icon-core-email-icon-000000';\r\n case EngagementEventGroups.service:\r\n return 'aa-icon-service-drive';\r\n case EngagementEventGroups.intelligentMarketing:\r\n return 'im-offer-arrow-icon-blue'\r\n case EngagementEventGroups.geoAlert:\r\n return 'geo-alert-icon-blue'\r\n }\r\n }\r\n\r\n function descriptionForEngagement(engagement) {\r\n switch (engagement.engagementEventTypeId) {\r\n case EngagementEventTypes.newServiceAppointment:\r\n return 'newServiceAppointment';\r\n case EngagementEventTypes.inService:\r\n return 'inService';\r\n case EngagementEventTypes.emailOpened:\r\n return 'emailOpened';\r\n case EngagementEventTypes.emailReplied:\r\n return 'emailReplied';\r\n case EngagementEventTypes.textMessageReplied:\r\n return 'textMessageReply';\r\n case EngagementEventTypes.websiteEngaged:\r\n return 'websiteEngaged';\r\n case EngagementEventTypes.websiteLeadSubmission:\r\n return 'websiteLeadSubmission';\r\n case EngagementEventTypes.purlView:\r\n return 'purlView';\r\n case EngagementEventTypes.purlLeadSubmission:\r\n return 'purlLeadSubmission';\r\n case EngagementEventTypes.onlineServiceReview:\r\n return 'onlineServiceReview';\r\n case EngagementEventTypes.onlineSalesReview:\r\n return 'onlineSalesReview';\r\n case EngagementEventTypes.customerRequestedContact:\r\n return 'repliedToAutoAssistant';\r\n case EngagementEventTypes.purlViewIM:\r\n return 'purlView';\r\n case EngagementEventTypes.purlLeadSubmissionIM:\r\n return 'purlLeadSubmission'; \r\n case EngagementEventTypes.activeGeoAlert:\r\n return 'geoAlertCustomer'; \r\n }\r\n }\r\n\r\n function setHoursBack() {\r\n const hoursBack = parseInt($ctrl.resolve.hoursBack);\r\n $ctrl.workingPromise = customerEngagementService.getCustomerEngagement(hoursBack)\r\n .then(({ lastViewedDate, engagements }) => {\r\n engagements = sortEngagementsByDateDescending(engagements);\r\n $ctrl.lastViewedDate = lastViewedDate;\r\n $ctrl.resolve.engagements = engagements;\r\n $ctrl.resolve.onHoursBackChanged({ engagements, hoursBack });\r\n applyFilters();\r\n })\r\n }\r\n\r\n function applyFilters() {\r\n $ctrl.filteredEngagements = getFilteredEngagements();\r\n sortEngagements($ctrl.sortBy); \r\n\r\n // for pagination\r\n $ctrl.filteredItems = $ctrl.filteredEngagements;\r\n onFilteredItems($ctrl.filteredItems);\r\n \r\n }\r\n\r\n function getFilteredEngagements() {\r\n return $ctrl.resolve.engagements.filter(filter);\r\n\r\n function filter(record) {\r\n return record\r\n && record.eventDate >= getDateHoursBack($ctrl.resolve.hoursBack)\r\n && (!shouldFilterByType() || filterByType(record))\r\n && (!shouldFilterByHighEngagement() || record.highEngagement)\r\n }\r\n\r\n function shouldFilterByType() {\r\n // Filter only if at least one filter is enabled\r\n return Object.values($ctrl.typeFilters).some(v => v);\r\n }\r\n\r\n function shouldFilterByHighEngagement() {\r\n return $ctrl.hotFilter;\r\n }\r\n\r\n function filterByType(record) {\r\n return ($ctrl.typeFilters.one2one && (record.one2oneCount || record.intelligentMarketingCount))\r\n || ($ctrl.typeFilters.email && record.emailCount)\r\n || ($ctrl.typeFilters.email && record.textMessageCount)\r\n || ($ctrl.typeFilters.email && record.autoAssistantCount)\r\n || ($ctrl.typeFilters.web && record.webCount)\r\n || ($ctrl.typeFilters.service && record.serviceCount)\r\n || ($ctrl.typeFilters.reviews && record.reviewCount)\r\n || ($ctrl.typeFilters.geoAlert && record.geoAlertCount);\r\n }\r\n }\r\n\r\n function getDateHoursBack(hoursBack) {\r\n return moment().subtract(hoursBack, 'hours').toDate();\r\n }\r\n\r\n function sortEngagements_StandAlone(field) {\r\n sortEngagements(field);\r\n $ctrl.filteredItems = $ctrl.filteredEngagements;\r\n $ctrl.resetPage = true;\r\n }\r\n\r\n function sortEngagements(field) {\r\n // Sort the data in descending order\r\n $ctrl.filteredEngagements.sort(function(a, b) { \r\n return b[field] - a[field];\r\n });\r\n\r\n }\r\n\r\n // modal pager control events\r\n function onPagerChange($value) { \r\n $ctrl.pager = $value;\r\n $ctrl.currentPage = $value.currentPage;\r\n $ctrl.totalPages = $value.totalPages;\r\n }\r\n\r\n function setPage(page) { \r\n $ctrl.resetPage = true;\r\n }\r\n\r\n function onResetComplete() {\r\n $ctrl.resetPage = false;\r\n }\r\n\r\n function onPagedItems($value) {\r\n $ctrl.pagedItems = $value;\r\n }\r\n\r\n function onFilteredItems($value) {\r\n $ctrl.filteredItems = $value;\r\n }\r\n\r\n\r\n function iconClassForReviewRating(onlineReviewRating) {\r\n return 'rating-' + onlineReviewRating + 'star';\r\n }\r\n\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./customer-engagements-by-entity-modal.component.html');\n\nimport angular from 'angular';\r\nimport {OpportunitiesModule} from '../../core/opportunities.module'\r\nimport { EngagementEventTypes, EngagementEventGroups } from '../../constants/engagement-event-types.constant';\r\n\r\nOpportunitiesModule.component('customerEngagementsByEntityModal', {\r\n templateUrl: '/app/components/header/customer-engagements-by-entity-modal.component.html',\r\n controller: CustomerEngagementsByEntityModalController,\r\n bindings: {\r\n resolve: '<', // { engagements, customerFullName }\r\n close: '&',\r\n },\r\n});\r\n\r\nfunction CustomerEngagementsByEntityModalController(customerEngagementService) {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n\r\n $ctrl.iconClassForReviewRating = iconClassForReviewRating;\r\n $ctrl.engagementEventGroups = EngagementEventGroups;\r\n\r\n function iconClassForReviewRating(onlineReviewRating) {\r\n return 'rating-' + onlineReviewRating + 'star';\r\n }\r\n\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./dealer-list.component.html');\n\nimport angular from 'angular';\r\nimport { OpportunitiesModule } from '../../core/opportunities.module';\r\n\r\nOpportunitiesModule.component('dealerList', {\r\n templateUrl: '/app/components/header/dealer-list.component.html',\r\n controller: DealerListController,\r\n bindings: {\r\n allowChanges: '<',\r\n isDisabled: '<',\r\n onDealersChanged: '&',\r\n }\r\n});\r\n\r\nfunction DealerListController($q, $document, $scope, $window, $uibModal, dealerService, storageService, _) {\r\n \"ngInject\";\r\n var $ctrl = this;\r\n\r\n //props\r\n $ctrl.errorMessage;\r\n $ctrl.visible = false;\r\n $ctrl.dealerSelections = {};\r\n $ctrl.IsReloadDialogOpen = false;\r\n $ctrl.noMatchFoundClick = false;\r\n $ctrl.selectionsAvailable;\r\n $ctrl.dealerIds = [];\r\n\r\n //methods\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.$onDestroy = $onDestroy;\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.toggleDealerList = toggleDealerList;\r\n $ctrl.setDealerSearchLimit = setDealerSearchLimit;\r\n $ctrl.selectAll = selectAll;\r\n $ctrl.removeAll = removeAll;\r\n $ctrl.cancelSelections = cancelSelections;\r\n $ctrl.changeDealers = changeDealers;\r\n $ctrl.noMatchSubmitChange = noMatchSubmitChange;\r\n $ctrl.selectDealerPromise;\r\n $ctrl.filterForEuroLite = filterForEuroLite;\r\n\r\n function sendOnDealersChanged(dealerGroupId, dealerIds, dealers, dealerDisplayText) {\r\n if ($ctrl.onDealersChanged) {\r\n $ctrl.onDealersChanged({\r\n dealerGroupId: dealerGroupId,\r\n dealerIds: dealerIds,\r\n dealers: dealers,\r\n dealerDisplayText: dealerDisplayText,\r\n });\r\n }\r\n }\r\n\r\n function noMatchSubmitChange(selectionsAvailable) {\r\n $ctrl.selectionsAvailable = selectionsAvailable;\r\n if ($ctrl.dealerSearchLimit > 0 && $ctrl.selectionsAvailable == 0) {\r\n var submitButton = $document[0].querySelector('.dealer-search-submit');\r\n submitButton.focus();\r\n }\r\n $ctrl.errorMessage = '';\r\n }\r\n\r\n function showReloadDialog() {\r\n $ctrl.IsReloadDialogOpen = true;\r\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\r\n var modalInstance = $uibModal.open({\r\n animation: true,\r\n component: 'confirmationModal',\r\n appendTo: parentElem,\r\n resolve: {\r\n title: function () {\r\n return \"dealerChangedTitle\"; // translation key\r\n },\r\n message: function () {\r\n return \"dealerChangedMsg\"; // translation key\r\n },\r\n submitButtonVisible: function () {\r\n return true;\r\n },\r\n submitButtonDisabled: function () {\r\n return false;\r\n },\r\n submitButtonText: function () {\r\n return \"ok\"; // translation key\r\n },\r\n closeButtonVisible: function () {\r\n return false;\r\n }\r\n }\r\n });\r\n\r\n modalInstance.result\r\n .then(function () {\r\n $window.location.reload()\r\n }, function () {\r\n $window.location.reload()\r\n });\r\n }\r\n\r\n function $onInit() {\r\n fetchAndSetDealers();\r\n\r\n // Reload the page if selectedDealerIds changes\r\n $ctrl.selectedDealersChangedSubscription = dealerService.onSelectedDealersChanged(value => {\r\n if (!$ctrl.IsReloadDialogOpen) {\r\n showReloadDialog();\r\n }\r\n });\r\n }\r\n\r\n function $onDestroy() {\r\n if ($ctrl.selectedDealersChangedSubscription) {\r\n $ctrl.selectedDealersChangedSubscription.unsubscribe();\r\n }\r\n }\r\n\r\n function $onChanges(changes) {\r\n $ctrl.dealerDisplayText = dealerService.getDealerDisplayText();\r\n if (changes.isDisabled) {\r\n $ctrl.errorMessage = $ctrl.isDisabled ? 'Changing dealers is not available on a Deal Sheet page.' : null;\r\n }\r\n\r\n function changeOrExistingValue(propertyChange, existingValue) {\r\n if (propertyChange) {\r\n return propertyChange.currentValue;\r\n } else {\r\n return existingValue;\r\n }\r\n }\r\n }\r\n\r\n function fetchAndSetDealers() {\r\n return dealerService.getDealers()\r\n .then((allowedDealers) => {\r\n $ctrl.dealerIds = dealerService.getSelectedDealerIds() || [];\r\n $ctrl.allowedDealers = allowedDealers;\r\n $ctrl.selectedDealers = allowedDealers.filter(d => $ctrl.dealerIds.includes(d.dealerID));\r\n $ctrl.dealerSelections.list = $ctrl.selectedDealers;\r\n $ctrl.setDealerSearchLimit();\r\n });\r\n }\r\n\r\n function toggleDealerList() {\r\n $ctrl.visible = !$ctrl.visible;\r\n $ctrl.dealerSelections.list = $ctrl.selectedDealers;\r\n $ctrl.errorMessage = '';\r\n\r\n $scope.$broadcast('DealerSelectFocus');\r\n\r\n if ($ctrl.visible) {\r\n fetchAndSetDealers(); \r\n };\r\n }\r\n \r\n function setDealerSearchLimit(searchText) {\r\n if (!($ctrl.dealerSearchLimit > 0 && $ctrl.selectionsAvailable == 0)) {\r\n if ($ctrl.dealerSelections && $ctrl.dealerSelections.list && $ctrl.dealerSelections.list.length > 0) {\r\n $ctrl.dealerSearchLimit = 50;\r\n }\r\n else if (searchText && searchText.length >= 2) {\r\n $ctrl.dealerSearchLimit = 30;\r\n }\r\n else {\r\n $ctrl.dealerSearchLimit = 0;\r\n }\r\n $scope.$broadcast('DealerSelectFocus');\r\n }\r\n }\r\n\r\n function cancelSelections () {\r\n $ctrl.dealerSelections.list = $ctrl.selectedDealers;\r\n $ctrl.visible = false;\r\n }\r\n\r\n function filterForEuroLite(dealers){\r\n var dealersForEuroLite = _.filter(dealers, function(ds){ return ds.productID == 5; });\r\n if (dealersForEuroLite.length > 0) {\r\n return dealersForEuroLite;\r\n }\r\n return dealers;\r\n }\r\n\r\n function changeDealers() {\r\n if ($ctrl.dealerSelections.list.length > 0 && $ctrl.selectedDealers.length > 0\r\n && $ctrl.dealerSelections.list.length == $ctrl.selectedDealers.length\r\n && isArrayEqual($ctrl.dealerSelections.list, $ctrl.selectedDealers, function(dealer) { return dealer.dealerID })) {\r\n return;\r\n }\r\n $ctrl.dealerSelections.list = filterForEuroLite($ctrl.dealerSelections.list);\r\n\r\n if ($ctrl.dealerSelections.list.length > 0) {\r\n $ctrl.selectDealerPromise = $q.defer();\r\n\r\n var dealerGroupId = $ctrl.dealerSelections.list[0].dealerGroupID;\r\n var dealerIds = getDealerIds($ctrl.dealerSelections.list);\r\n var selectedDealers = getSelectedDealersBasicInfo($ctrl.dealerSelections.list);\r\n var dealerDisplayText = $ctrl.dealerSelections.list.length > 1\r\n ? $ctrl.dealerSelections.list[0].dealerGroupName\r\n : $ctrl.dealerSelections.list[0].displayText;\r\n\r\n storageService.setItem(\"selectedDealerId\", $ctrl.dealerSelections.list.length == 1 ? $ctrl.dealerSelections.list[0].dealerID : 0);\r\n\r\n // Don't display the \"changed dealers\" message because, duh, we already know\r\n $ctrl.selectedDealersChangedSubscription && $ctrl.selectedDealersChangedSubscription.unsubscribe();\r\n\r\n sendOnDealersChanged(dealerGroupId, dealerIds, selectedDealers, dealerDisplayText);\r\n\r\n } else {\r\n $ctrl.errorMessage = 'Please select at least one dealer.';\r\n }\r\n }\r\n\r\n var isArrayEqual = function (array1, array2, selector) {\r\n selector = selector || function (a) { return a }\r\n\r\n // If the lengths are unequal, the arrays must be unequal\r\n if (array1.length != array2.length)\r\n return false;\r\n\r\n // For each element in array1, look for a matching element in array2\r\n for (var i in array1) {\r\n var control = selector(array1[i]);\r\n if (!array2.some(function(candidate) { return selector(candidate) === control })) {\r\n // If no matching element exists, the arrays are unequal\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n };\r\n\r\n function getSelectedDealersBasicInfo(dealers) {\r\n var info = dealers.map(function (s) {\r\n return { id: s.dealerID, name: s.displayText }\r\n });\r\n return info;\r\n }\r\n\r\n function getDealerIds (dealers) {\r\n var dealerIds = [];\r\n\r\n for (var i = 0; i < dealers.length; i++) {\r\n dealerIds.push(dealers[i].dealerID);\r\n }\r\n\r\n return dealerIds;\r\n }\r\n\r\n function selectAll() {\r\n if ($ctrl.dealerSelections.list.length > 0) {\r\n var dealerGroupId = $ctrl.dealerSelections.list[0].dealerGroupID;\r\n\r\n $ctrl.dealerSelections.list = $ctrl.allowedDealers\r\n .filter(function (d) { return d.dealerGroupID == dealerGroupId });\r\n }\r\n }\r\n\r\n function removeAll() {\r\n $ctrl.dealerSelections.list = [];\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./header.component.html');\n\nimport angular from 'angular';\r\nimport { ProductTypes as productTypes } from '../../constants';\r\nimport {OpportunitiesModule} from '../../core/opportunities.module'\r\n\r\nOpportunitiesModule.component('aaHeader', {\r\n templateUrl: '/app/components/header/header.component.html',\r\n controller: HeaderController,\r\n bindings: {\r\n allowChangingDealer: '<',\r\n isEulaAccepted: '<',\r\n isHeaderVisible: '<',\r\n selectedTab: '<',\r\n liveSupportDomain: '<',\r\n menu: '<',\r\n overrideLogoPath: '<',\r\n userFullName: '<',\r\n userMenuItems: '<',\r\n isAutoAlertUser: '<',\r\n isAuthenticated: '<',\r\n onDealersChanged: '&',\r\n onCustomerEngagementClicked: '&',\r\n productId: '<'\r\n },\r\n transclude: {\r\n 'userContext': '?headerUserContext',\r\n 'tabBarGutter': '?headerTabBarGutter',\r\n 'subMenu': '?headerSubMenu'\r\n }\r\n});\r\n\r\nfunction HeaderController(dealerService, $scope, environmentVariables, featureToggleService) {\r\n \"ngInject\";\r\n\r\n const $ctrl = this;\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.$onChanges = $onChanges;\r\n $ctrl.productTypes = productTypes;\r\n\r\n function $onInit() {\r\n $ctrl.pandoInboxEnabled = environmentVariables.pandoInboxEnabled;\r\n $ctrl.enableCustomerEngagementWidget = featureToggleService.customerEngagementWidget();\r\n }\r\n\r\n function $onChanges(changes) {\r\n if (changes.overrideLogoPath) {\r\n // The binding is `overrideLogoPath` instead of just `logoPath`\r\n // becuase we would rather let the header choose to fall back\r\n // to the default header, rather than forcing the app send in\r\n // the default header's path. But, if we do that, this happens:\r\n //\r\n // 1. This component renders bound to `undefined`, so it falls\r\n // back to the default logo.\r\n // 2. The app resolves a promise and discovers this is a Ford user,\r\n // so it changes the binding to the fordLogoPath.\r\n // 3. This component re-renders with the ford Log.\r\n //\r\n // So until we can find a way to fix this, we have the app\r\n // supplying both the default and Ford logo paths.\r\n $ctrl.logoPath = $ctrl.overrideLogoPath;\r\n $ctrl.pandoInboxEnabled = environmentVariables.pandoInboxEnabled;\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./live-support.component.html');\n\nimport { OpportunitiesModule } from \"../../core/opportunities.module\";\r\n\r\nOpportunitiesModule.component(\"liveSupport\", {\r\n templateUrl: \"/app/components/header/live-support.component.html\",\r\n bindings: {\r\n isAuthenticated: \"<\",\r\n domain: \"<\"\r\n },\r\n controller: LiveSupportController\r\n});\r\n\r\n/* @ngInject */\r\nfunction LiveSupportController($window, $timeout) {\r\n var $ctrl = this;\r\n\r\n //$ctrl.linkId = \"static_id\";\r\n\r\n $ctrl.$onInit = function () {\r\n //$timeout(prepareLiveSupport, 2000);\r\n\r\n var initESW = function (gslbBaseURL) {\r\n embedded_svc.settings.displayHelpButton = true; //Or false\r\n embedded_svc.settings.language = ''; //For example, enter 'en' or 'en-US'\r\n\r\n embedded_svc.settings.defaultMinimizedText = 'Live Support'; //(Defaults to Chat with an Expert)\r\n embedded_svc.settings.disabledMinimizedText = 'Submit A Case'; //(Defaults to Agent Offline)\r\n\r\n //embedded_svc.settings.loadingText = ''; //(Defaults to Loading)\r\n //embedded_svc.settings.storageDomain = 'yourdomain.com'; //(Sets the domain for your deployment so that visitors can navigate subdomains during a chat session)\r\n\r\n // Settings for Chat\r\n //embedded_svc.settings.directToButtonRouting = function(prechatFormData) {\r\n // Dynamically changes the button ID based on what the visitor enters in the pre-chat form.\r\n // Returns a valid button ID.\r\n //};\r\n //embedded_svc.settings.prepopulatedPrechatFields = {}; //Sets the auto-population of pre-chat form fields\r\n //embedded_svc.settings.fallbackRouting = []; //An array of button IDs, user IDs, or userId_buttonId\r\n\r\n embedded_svc.settings.offlineSupportMinimizedText = 'Submit A Case'; //(Defaults to Contact Us)\r\n embedded_svc.settings.enabledFeatures = ['LiveAgent'];\r\n embedded_svc.settings.entryFeature = 'LiveAgent';\r\n\r\n let chat = document.getElementById(\"aa-header-live-support\");\r\n embedded_svc.settings.targetElement = chat;\r\n\r\n embedded_svc.settings.extraPrechatInfo = [{\r\n \"entityName\": \"Case\",\r\n \"entityFieldMaps\": [{\r\n \"doCreate\": true,\r\n \"fieldName\": \"Status\",\r\n \"value\": \"Working\"\r\n }]\r\n }];\r\n\r\n embedded_svc.init(\r\n 'https://autoalert.my.salesforce.com',\r\n 'https://autoalert.my.salesforce-sites.com/',\r\n gslbBaseURL,\r\n '00Di0000000eHQ2',\r\n 'Chat',\r\n {\r\n baseLiveAgentContentURL: 'https://c.la3-core1.sfdc-lywfpd.salesforceliveagent.com/content',\r\n deploymentId: '572f3000000Cbfr',\r\n buttonId: '573f3000000Cbi2',\r\n baseLiveAgentURL: 'https://d.la3-core1.sfdc-lywfpd.salesforceliveagent.com/chat',\r\n eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04If3000000XZAHEA4_16f6d2b9055',\r\n isOfflineSupportEnabled: true\r\n }\r\n );\r\n };\r\n\r\n //initESW('https://service.force.com');\r\n\r\n if (!window.embedded_svc) {\r\n var s = document.createElement('script');\r\n s.setAttribute('src', 'https://autoalert.my.salesforce.com/embeddedservice/5.0/esw.min.js');\r\n s.onload = function () {\r\n initESW(null);\r\n };\r\n document.body.appendChild(s);\r\n } else {\r\n initESW('https://service.force.com');\r\n }\r\n\r\n };\r\n\r\n //function prepareLiveSupport() {\r\n // // liveagent loaded in index.html\r\n // liveagent.init(\r\n // \"https://d.la1-c2cs-iad.salesforceliveagent.com/chat\",\r\n // \"572c00000008Ogl\",\r\n // \"00Dc0000003l4N7\"\r\n // );\r\n\r\n // if (!$window._laq) {\r\n // $window._laq = [];\r\n // }\r\n // $window._laq.push(function() {\r\n // liveagent.showWhenOnline(\r\n // \"573c00000008P0W\",\r\n // document.getElementById(\"salesForcePlaceholder\")\r\n // );\r\n // liveagent.showWhenOffline(\r\n // \"573c00000008P0W\",\r\n // document.getElementById(\"salesForcePlaceholder\")\r\n // );\r\n // });\r\n\r\n // let chat = document.getElementById(\"salesForcePlaceholder\");\r\n // chat.classList.remove(\"disabled\");\r\n // chat.classList.add(\"enabled\");\r\n //}\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./main-menu.component.html');\n\nimport angular from 'angular';\r\nimport _ from 'lodash';\r\nimport { ProductTypes as productTypes } from '../../constants';\r\nimport {OpportunitiesModule} from '../../core/opportunities.module'\r\n\r\nOpportunitiesModule.component('mainMenu', {\r\n templateUrl: '/app/components/header/main-menu.component.html',\r\n controller: MainMenuController,\r\n bindings: {\r\n isEulaAccepted: '<',\r\n selectedTab: '<',\r\n productId: '<',\r\n menu: '<'\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction MainMenuController(storageService, userService) {\r\n var $ctrl = this;\r\n\r\n $ctrl.moduleIds;\r\n $ctrl.isSltUser;\r\n $ctrl.$onChanges = onChanges;\r\n\r\n function onChanges(changes) {\r\n if (changes.menu && changes.menu.currentValue || changes.productId) {\r\n removeInaccessibleMenuItems();\r\n }\r\n }\r\n\r\n function removeInaccessibleMenuItems() {\r\n if ($ctrl.productId == productTypes.euroLite){\r\n _.remove($ctrl.menu, {name: 'social'});\r\n _.remove($ctrl.menu, {name: 'campaigns'});\r\n _.remove($ctrl.menu, {name: 'communication'});\r\n }\r\n\r\n if ($ctrl.isSltUser == null) {\r\n userService.getUserProfile()\r\n .then(userProfile => {\r\n $ctrl.isSltUser = userProfile.isSltUser;\r\n\r\n if ($ctrl.isSltUser) {\r\n _.remove($ctrl.menu, {name: 'social'});\r\n _.remove($ctrl.menu, {name: 'campaigns'});\r\n }\r\n });\r\n }\r\n\r\n // WEBUI-7966 for now just remove in this component. Not clear if it might come back.\r\n // At some point we can totally remove from appSettings. 07/15/2019\r\n _.remove($ctrl.menu, { name: 'social' });\r\n }\r\n\r\n function convertToModuleIds(modules, dealerIds) {\r\n return modules.filter(function (module) {\r\n return _.some(_.intersection(module.moduleDealerIds, dealerIds))\r\n })\r\n .map(function (module) { return module.moduleId })\r\n }\r\n}\r\n","import \"core-js/modules/es7.promise.finally\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.promise\";\nimport \"core-js/modules/es6.array.sort\";\nSearchManagePresets.$inject = [\"_\", \"$translate\", \"$q\", \"dealerService\", \"searchPresetService\", \"pandoSurveyService\", \"templateService\", \"userService\", \"smtpProviderTypes\", \"modules\", \"$uibModal\", \"$document\", \"$filter\", \"toaster\", \"messageTypes\", \"successKey\", \"logger\"];\n\n/* injects from baggage-loader */\nrequire('./search-manage-presets.component.html');\n\nimport angular from 'angular';\nimport $ from 'jquery';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nimport { PandoXRuleCategory, PandoXRuleCategoryReverse } from '../../constants';\nimport pencilIconPath from '../../images/icon-pencil-lake.svg';\nimport trashIconPath from '../../images/icon-trash-lake.svg';\nimport upDownArrowIconPath from '../../images/icon-arrow-up-down-lake.svg';\nimport warningSignPath from '../../images/icon-warning-lemon.svg';\nangular.module('AaApp.Opp').component('searchManagePresets', {\n templateUrl: '/app/components/search/search-manage-presets.component.html',\n controller: SearchManagePresets,\n bindings: {\n selectedDealerId: '=',\n dealerId: '<',\n kendo: '<'\n }\n});\n\nfunction SearchManagePresets(_, $translate, $q, dealerService, searchPresetService, pandoSurveyService, templateService, userService, smtpProviderTypes, modules, $uibModal, $document, $filter, toaster, messageTypes, successKey, logger) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.kendoGrid = null;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.ds = null;\n $ctrl.pandoXRuleCategory = PandoXRuleCategory;\n $ctrl.pandoXRuleCategoryReverse = PandoXRuleCategoryReverse;\n $ctrl.pandoXRuleCategoryArray = [];\n\n for (var category in $ctrl.pandoXRuleCategory) {\n $ctrl.pandoXRuleCategoryArray.push({\n CategoryName: $translate.instant(category),\n CategoryId: $ctrl.pandoXRuleCategory[category]\n });\n }\n\n $ctrl.isDealerPandoXEnabled = false;\n $ctrl.leadAssignOwnerAccessEnabled = false;\n $ctrl.pandoWorkflowTemplates = null;\n $ctrl.searchPresetData = null;\n $ctrl.pandoGroups = null;\n $ctrl.saveSelectedSearchPresets = saveSelectedSearchPresets;\n $ctrl.savePresetSettings = savePresetSettings;\n $ctrl.errors = false;\n $ctrl.readyToDisplay = false;\n $ctrl.templates;\n $ctrl.emailDisabled = false;\n $ctrl.hasTemplateErrors = false;\n $ctrl.hasActiveTemplate = false;\n\n function init() {\n if ($ctrl.dealerId) {\n $ctrl.selectedDealerId = $ctrl.dealerId;\n }\n\n $ctrl.dealers = dealerService.getSelectedDealers();\n $ctrl.emailDisabled = false;\n $ctrl.hasTemplateErrors = false;\n $ctrl.hasActiveTemplate = false;\n getTranslations();\n }\n\n function getTranslations() {\n $q.all({\n 'srchPreClearInputsBtn': $translate('srchPreClearInputsBtn'),\n 'srchPreMissingGroup': $translate('srchPreMissingGroup'),\n 'srchPreMissingWorkflow': $translate('srchPreMissingWorkflow'),\n 'srchPreDeleteTitle': $translate('srchPreDeleteTitle'),\n 'srchPreDeleteMsg': $translate('srchPreDeleteMsg'),\n 'srchPreClearInputsTitle': $translate('srchPreClearInputsTitle'),\n 'srchPreClearInputsMsg': $translate('srchPreClearInputsMsg'),\n 'srchPreClearAutoMsg': $translate('srchPreClearAutoMsg'),\n 'srchPreDataErrorMsg': $translate('srchPreDataErrorMsg'),\n 'srchPreSelectDealership': $translate('srchPreSelectDealership'),\n 'srchPreSelectGroup': $translate('srchPreSelectGroup'),\n 'srchPreSelectProcess': $translate('srchPreSelectProcess'),\n 'srchPreSelectTemplate': $translate('srchPreSelectTemplate'),\n 'srchPreGroupLabel': $translate('srchPreGroupLabel'),\n 'srchPandoXPopupText': $translate('srchPandoXPopupText'),\n 'srchPreExecutePandoXLabel': $translate('srchPreExecutePandoXLabel'),\n 'srchPreCategoryLabel': $translate('srchPreCategoryLabel'),\n 'srchPreSelectCategory': $translate('srchPreSelectCategory'),\n 'srchPreExecutePandoXTooltip': $translate('srchPreExecutePandoXTooltip')\n }).then(function (trans) {\n $ctrl.srchPreClearInputsBtn = trans.srchPreClearInputsBtn;\n $ctrl.srchPreMissingGroup = trans.srchPreMissingGroup;\n $ctrl.srchPreMissingWorkflow = trans.srchPreMissingWorkflow;\n $ctrl.srchPreDeleteTitle = trans.srchPreDeleteTitle;\n $ctrl.srchPreDeleteMsg = trans.srchPreDeleteMsg;\n $ctrl.srchPreClearInputsTitle = trans.srchPreClearInputsTitle;\n $ctrl.srchPreClearInputsMsg = trans.srchPreClearInputsMsg;\n $ctrl.srchPreClearAutoMsg = trans.srchPreClearAutoMsg;\n $ctrl.srchPreDataErrorMsg = trans.srchPreDataErrorMsg;\n $ctrl.srchPreSelectGroup = trans.srchPreSelectGroup;\n $ctrl.srchPreSelectProcess = trans.srchPreSelectProcess;\n $ctrl.srchPreSelectTemplate = trans.srchPreSelectTemplate;\n $ctrl.srchPreGroupLabel = trans.srchPreGroupLabel;\n $ctrl.srchPandoXPopupText = trans.srchPandoXPopupText;\n $ctrl.srchPreExecutePandoXLabel = trans.srchPreExecutePandoXLabel;\n $ctrl.srchPreCategoryLabel = trans.srchPreCategoryLabel;\n $ctrl.srchPreSelectCategory = trans.srchPreSelectCategory;\n $ctrl.srchPreExecutePandoXTooltip = trans.srchPreExecutePandoXTooltip;\n\n if ($ctrl.dealers.length > 1) {\n $ctrl.dealers.unshift({\n id: 0,\n name: trans.srchPreSelectDealership\n });\n }\n\n onDealerSelect();\n renderGridToolbar();\n $ctrl.pandoXRuleCategoryArray.unshift({\n CategoryName: $ctrl.srchPreSelectCategory,\n CategoryId: \"-1\"\n });\n });\n }\n\n function onDealerSelect() {\n try {\n $ctrl.leadAssignOwnerAccessEnabled = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.leadAssignOwnerAccess);\n } catch (e) {\n $ctrl.leadAssignOwnerAccessEnabled = false;\n }\n\n if ($ctrl.selectedDealerId > 0) {\n populateData();\n }\n }\n\n function byTemplateName(object1, object2) {\n if (object1.templateName.toLowerCase() < object2.templateName.toLowerCase()) return -1;\n if (object1.templateName.toLowerCase() > object2.templateName.toLowerCase()) return 1;\n return 0;\n }\n\n function populateData() {\n return busy(\"srchPreLoadingData\", $q.all([templateService.getNonEmptyTemplatesForDealerId($ctrl.selectedDealerId), templateService.getDealerOutboundEmailProviderInfo($ctrl.selectedDealerId), searchPresetService.getPandoCustomStoreGroups($ctrl.selectedDealerId), dealerService.getIsDealerPandoXEnabled($ctrl.selectedDealerId)]).then(function (data) {\n var groups = data[2];\n groups.unshift({\n groupId: \"-1\",\n groupName: $ctrl.srchPreSelectGroup\n });\n $ctrl.pandoGroups = groups.map(function (item) {\n return {\n GroupName: item.groupName,\n GroupId: item.groupId === null ? \"-1\" : item.groupId\n };\n });\n var templates = data[0].sort(byTemplateName);\n templates.unshift({\n id: \"-1\",\n templateName: $ctrl.srchPreSelectTemplate,\n templateSubject: \"\"\n });\n $ctrl.templates = templates.map(function (item) {\n return {\n TemplateName: item.templateName,\n TemplateSubject: item.templateSubject,\n TemplateId: item.id === null ? \"-1\" : item.id\n };\n });\n var smtpMethod = data[1];\n $ctrl.emailDisabled = smtpMethod === smtpProviderTypes.none;\n $ctrl.isDealerPandoXEnabled = data[3]; // Dealers with PandoX cannot use lead assignment\n\n if ($ctrl.isDealerPandoXEnabled) {\n $ctrl.leadAssignOwnerAccessEnabled = false;\n }\n }).then(function () {\n if (!$ctrl.isDealerPandoXEnabled) {\n return pandoSurveyService.getWorkflowTemplates($ctrl.selectedDealerId);\n }\n\n return Promise.resolve();\n }).then(function (workflows) {\n if (!workflows) {\n workflows = [];\n }\n\n workflows.unshift({\n key: \"-1\",\n value: $ctrl.srchPreSelectProcess,\n disabled: true\n });\n $ctrl.pandoWorkflowTemplates = workflows.map(function (item) {\n return {\n WorkflowInstanceId: item.key === null ? \"-1\" : item.key,\n WorkflowName: item.value\n };\n });\n initDataSource();\n initGridOptions(); // we need to force a header refresh since we have dynamic elements in the header. As far as we can tell, setOptions is the only way to do this with kendo\n\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\n if (grid != null) grid.setOptions($ctrl.gridOptions);\n }).catch(function () {\n var groups = [];\n groups.unshift({\n groupId: \"-1\",\n groupName: $ctrl.srchPreSelectGroup\n });\n $ctrl.pandoGroups = groups.map(function (item) {\n return {\n GroupName: item.groupName,\n GroupId: item.groupId === null ? \"-1\" : item.groupId\n };\n });\n var workflows = [];\n workflows.unshift({\n key: \"-1\",\n value: $ctrl.srchPreSelectProcess,\n disabled: true\n });\n $ctrl.pandoWorkflowTemplates = workflows.map(function (item) {\n return {\n WorkflowInstanceId: item.key === null ? \"-1\" : item.key,\n WorkflowName: item.value\n };\n });\n var templates = [];\n templates.unshift({\n id: \"-1\",\n templateName: $ctrl.srchPreSelectTemplate,\n templateSubject: \"\"\n });\n $ctrl.templates = templates.map(function (item) {\n return {\n TemplateName: item.templateName,\n TemplateSubject: item.templateSubject,\n TemplateId: item.id === null ? \"-1\" : item.id\n };\n });\n initDataSource();\n initGridOptions();\n }));\n }\n\n function getGroupName(groupId) {\n var group = _.find($ctrl.pandoGroups, {\n 'GroupId': groupId\n });\n\n return group ? group.GroupName : $ctrl.srchPreMissingGroup;\n }\n\n function getWorkflowName(templateId) {\n var template = _.find($ctrl.pandoWorkflowTemplates, {\n 'WorkflowInstanceId': templateId\n });\n\n return template ? template.WorkflowName : $ctrl.srchPreMissingWorkflow;\n }\n\n function byOrder(searchPreset1, searchPreset2) {\n return searchPreset1.order - searchPreset2.order;\n }\n\n function getSearchPresets() {\n return searchPresetService.getDealerSearchPresetLayouts($ctrl.selectedDealerId).then(function (data) {\n data.sort(byOrder);\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n $ctrl.searchPresetData = data.map(function (item) {\n var workflowName = \"\";\n var workflowInstanceId = \"-1\";\n var workflowMax = null;\n\n if (item.workflowTemplateId !== null) {\n workflowName = getWorkflowName(item.workflowTemplateId);\n workflowInstanceId = item.workflowTemplateId;\n workflowMax = item.workflowQuantity;\n }\n\n var ownerGroupName = \"\";\n var ownerGroupId = \"-1\";\n var ownerMax = null;\n\n if (item.ownerOverrideGroupId !== null) {\n ownerGroupName = getGroupName(item.ownerOverrideGroupId);\n ownerGroupId = item.ownerOverrideGroupId;\n ownerMax = item.ownerOverrideQuantity;\n }\n\n var accessGroupName = \"\";\n var accessGroupId = \"-1\";\n var accessMax = null;\n\n if (item.accessGrantGroupId !== null) {\n accessGroupName = getGroupName(item.accessGrantGroupId);\n accessGroupId = item.accessGrantGroupId;\n accessMax = item.accessGrantQuantity;\n }\n\n var pandoXCategoryName = \"\";\n var pandoXCategoryId = \"-1\";\n var pandoXRuleQuantity = null;\n\n if (item.ruleCategoryID !== null) {\n pandoXCategoryName = $ctrl.pandoXRuleCategoryReverse[item.ruleCategoryID];\n pandoXCategoryId = item.ruleCategoryID;\n pandoXRuleQuantity = item.pandoXRuleQuantity;\n }\n\n var ownerTemplate = _.find($ctrl.templates, {\n TemplateId: item.ownerOverrideTemplateID\n });\n\n var accessTemplate = _.find($ctrl.templates, {\n TemplateId: item.accessGrantTemplateID\n });\n\n return {\n Id: getKendoIdFromUserConditionId(item.userSearchConditionID),\n Name: item.searchConditionName,\n Order: item.order,\n Owner: {\n GroupName: ownerGroupName,\n GroupId: ownerGroupId\n },\n OwnerTemplate: {\n TemplateName: ownerTemplate == null ? \"\" : ownerTemplate.TemplateName,\n TemplateId: item.ownerOverrideTemplateID === null ? \"-1\" : item.ownerOverrideTemplateID\n },\n MaxOwnerEntries: ownerMax,\n Access: {\n GroupName: accessGroupName,\n GroupId: accessGroupId\n },\n AccessTemplate: {\n TemplateName: accessTemplate == null ? \"\" : accessTemplate.TemplateName,\n TemplateId: item.accessGrantTemplateID === null ? \"-1\" : item.accessGrantTemplateID\n },\n MaxAccessEntries: accessMax,\n AssignedWorkflow: {\n WorkflowName: workflowName,\n WorkflowInstanceId: workflowInstanceId\n },\n MaxAssignEntries: workflowMax,\n PandoX: {\n CategoryName: pandoXCategoryName,\n CategoryId: pandoXCategoryId\n },\n PandoXRuleQuantity: pandoXRuleQuantity,\n IsPriority: item.isPriority,\n SearchActiveStartDate: item.searchActiveStartDate,\n SearchActiveEndDate: item.searchActiveEndDate,\n InsertDateUtc: item.insertDateUtc\n };\n });\n return $ctrl.searchPresetData;\n });\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n var kendoUserConditionIdSpacer = 100;\n\n function getKendoIdFromUserConditionId(userConditionId) {\n return userConditionId + kendoUserConditionIdSpacer;\n }\n\n function getUserConditionIdFromKendoId(kendoId) {\n // necessary to prevent Id=0. Kendo treats as new record.\n return kendoId - kendoUserConditionIdSpacer;\n }\n\n function updatePresets(e) {\n var alldata = $('#gridManageSearches').data('kendoGrid').dataSource.data();\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n var allrows = alldata.map(function (p) {\n return {\n dealerID: $ctrl.selectedDealerId,\n userSearchConditionID: getUserConditionIdFromKendoId(p.Id),\n order: p.Order,\n workflowTemplateId: p.AssignedWorkflow.WorkflowInstanceId === \"-1\" ? null : p.AssignedWorkflow.WorkflowInstanceId,\n workflowQuantity: p.MaxAssignEntries,\n pandoIntegrationEnabled: p.AssignedWorkflow.WorkflowInstanceId === \"-1\" ? false : true,\n ownerOverrideGroupId: p.Owner === null || p.Owner.GroupId === \"-1\" ? null : p.Owner.GroupId,\n ownerOverrideQuantity: p.MaxOwnerEntries,\n ownerOverrideTemplateId: p.OwnerTemplate === null || p.OwnerTemplate.TemplateId === \"-1\" ? null : p.OwnerTemplate.TemplateId,\n accessGrantGroupId: p.Access === null || p.Access.GroupId === \"-1\" ? null : p.Access.GroupId,\n accessGrantQuantity: p.MaxAccessEntries,\n accessGrantTemplateId: p.AccessTemplate === null || p.AccessTemplate.TemplateId === \"-1\" ? null : p.AccessTemplate.TemplateId,\n ruleCategoryID: p.PandoX === null || p.PandoX.CategoryId === \"-1\" ? null : p.PandoX.CategoryId,\n pandoXRuleQuantity: p.PandoXRuleQuantity,\n isPriority: p.IsPriority,\n searchActiveStartDate: p.SearchActiveStartDate,\n searchActiveEndDate: p.SearchActiveEndDate,\n insertDateUtc: p.InsertDateUtc\n };\n });\n searchPresetService.updateDealerSearchPresetLayouts($ctrl.selectedDealerId, allrows).then(function (success) {\n if (success) {\n if (e) e.success();\n } else {\n if (e) e.error(\"XHR response\", \"status code\", \"Error updating preset layouts.\");\n }\n });\n }\n\n function initDataSource() {\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n schema: {\n model: {\n id: \"Id\",\n fields: {\n Id: {\n type: \"number\",\n editable: false\n },\n Order: {\n type: \"number\",\n editable: true\n },\n Name: {\n type: \"string\",\n editable: false\n },\n Owner: {\n defaultValue: {\n GroupId: \"-1\",\n GroupName: \"\"\n },\n editable: true\n },\n OwnerTemplate: {\n defaultValue: {\n TemplateId: \"-1\",\n TemplateName: \"\"\n },\n editable: true\n },\n MaxOwnerEntries: {\n type: \"number\",\n editable: true\n },\n Access: {\n defaultValue: {\n GroupId: \"-1\",\n GroupName: \"\"\n },\n editable: true\n },\n AccessTemplate: {\n defaultValue: {\n TemplateId: \"-1\",\n TemplateName: \"\"\n },\n editable: true\n },\n MaxAccessEntries: {\n type: \"number\",\n format: \"{0:n0}\",\n editable: true\n },\n AssignedWorkflow: {\n defaultValue: {\n WorkflowInstanceId: \"-1\",\n WorkflowName: \"\"\n },\n editable: true\n },\n MaxAssignEntries: {\n type: \"number\",\n format: \"{0:n0}\",\n editable: true\n },\n IsPriority: {\n type: \"boolean\",\n editable: false\n },\n PandoX: {\n defaultValue: {\n PandoXCategoryId: \"-1\",\n PandoXCategoryName: \"\"\n },\n editable: true\n },\n PandoXRuleQuantity: {\n type: \"number\",\n format: \"{0:n0}\",\n editable: true\n },\n SearchActiveStartDate: {\n type: \"date\",\n editable: true\n },\n SearchActiveEndDate: {\n type: \"date\",\n editable: true\n },\n InsertDateUtc: {\n type: \"date\",\n editable: false\n }\n }\n }\n },\n sort: {\n field: \"Order\",\n dir: \"asc\"\n },\n change: onChange,\n transport: {\n read: function read(e) {\n getSearchPresets().then(function (searchList) {\n e.success(searchList);\n });\n },\n update: function update(e) {\n updatePresets(e);\n },\n create: function create(e) {\n e.success();\n },\n destroy: function destroy(e) {\n reOrderData();\n updatePresets(e);\n }\n },\n error: function error(e) {\n alert(\"Status: \" + e.status + \"; Error message: \" + e.errorThrown);\n }\n });\n }\n\n function reOrderData() {\n var data = $('#gridManageSearches').data('kendoGrid').dataSource.data();\n\n for (var i = 0; i < data.length; i++) {\n var row = data[i];\n row.Order = i + 1;\n }\n }\n\n function onChange(e) {\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\n if (e.items.length === 0) return;\n var dataItem = grid.dataSource.getByUid(e.items[0].uid);\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n\n if (e.action == \"itemchange\") {\n if (e.field === \"Owner\") {\n var owner = e.items[0].Owner;\n\n if (owner === null || owner.GroupId === \"-1\") {\n dataItem.set(\"MaxOwnerEntries\", null);\n } else {\n dataItem.set(\"MaxOwnerEntries\", 10);\n }\n }\n\n if (e.field === \"Access\") {\n var access = e.items[0].Access;\n\n if (access === null || access.GroupId === \"-1\") {\n dataItem.set(\"MaxAccessEntries\", null);\n } else {\n dataItem.set(\"MaxAccessEntries\", 10);\n }\n }\n\n if (e.field === \"AssignedWorkflow\") {\n var workflow = e.items[0].AssignedWorkflow;\n\n if (workflow === null || workflow.WorkflowInstanceId === \"-1\") {\n dataItem.set(\"MaxAssignEntries\", null);\n } else {\n dataItem.set(\"MaxAssignEntries\", 10);\n }\n }\n\n if (e.field === \"PandoX\") {\n var pandoX = e.items[0].PandoX;\n\n if (pandoX === null || pandoX.CategoryId === \"-1\") {\n dataItem.set(\"PandoXRuleQuantity\", null);\n } else {\n dataItem.set(\"PandoXRuleQuantity\", 10);\n }\n }\n }\n }\n\n function onRowBound() {\n setTimeout(function () {\n $(\".k-grid-update span\").removeClass(\"k-icon\").removeClass(\"k-i-check\"); //.addClass(\"btn btn-success\");\n\n $(\".k-grid-cancel span\").removeClass(\"k-icon\").removeClass(\"k-i-cancel\"); //.addClass(\"btn btn-danger\");\n\n $(\".k-grid-cancel\").css(\"margin-left\", \"5px\");\n CheckForTemplateErrors();\n }, 1);\n }\n\n function onDataBound() {\n AddDragDrop();\n ShowHideColumns();\n CheckForTemplateErrors();\n $ctrl.readyToDisplay = true;\n } // this function loops over all presets to see if any have template errors\n\n\n function CheckForTemplateErrors() {\n var data = $('#gridManageSearches').data('kendoGrid').dataSource.data();\n $ctrl.hasActiveTemplate = false;\n $ctrl.hasTemplateErrors = false;\n\n for (var i = 0; i < data.length; i++) {\n var row = data[i];\n var template = null;\n\n if (row.Owner.GroupName.length > 0 && row.Owner.GroupId != \"-1\" && row.OwnerTemplate.TemplateId != null && row.OwnerTemplate.TemplateId != \"-1\") {\n $ctrl.hasActiveTemplate = true;\n template = _.find($ctrl.templates, {\n TemplateId: row.OwnerTemplate.TemplateId\n });\n\n if (template != null) {\n $ctrl.hasTemplateErrors = template.TemplateSubject.length === 0;\n }\n }\n\n if (row.Access.GroupName.length > 0 && row.Access.GroupId != \"-1\" && row.AccessTemplate.TemplateId != null && row.AccessTemplate.TemplateId != \"-1\") {\n $ctrl.hasActiveTemplate = true;\n template = _.find($ctrl.templates, {\n TemplateId: row.AccessTemplate.TemplateId\n });\n\n if (template != null) {\n $ctrl.hasTemplateErrors = template.TemplateSubject.length === 0;\n }\n }\n\n if ($ctrl.hasTemplateErrors) break;\n }\n }\n\n function HasTemplateSubject(templateId) {\n var data = $('#gridManageSearches').data('kendoGrid').dataSource.data();\n var hasSubject = false;\n\n var template = _.find($ctrl.templates, {\n TemplateId: templateId\n });\n\n if (template != null) {\n hasSubject = template.TemplateSubject.length > 0;\n }\n\n return hasSubject;\n }\n\n function ShowHideColumns() {\n var grid = $('#gridManageSearches').data('kendoGrid');\n\n if (grid != undefined && grid != null) {\n if ($ctrl.leadAssignOwnerAccessEnabled === true) {\n grid.showColumn(\"Owner\");\n grid.showColumn(\"MaxOwnerEntries\");\n grid.showColumn(\"Access\");\n grid.showColumn(\"MaxAccessEntries\");\n } else {\n grid.hideColumn(\"Owner\");\n grid.hideColumn(\"MaxOwnerEntries\");\n grid.hideColumn(\"Access\");\n grid.hideColumn(\"MaxAccessEntries\");\n }\n\n if ($ctrl.isDealerPandoXEnabled) {\n grid.showColumn(\"PandoX\");\n grid.showColumn(\"PandoXRuleQuantity\");\n } else {\n grid.hideColumn(\"PandoX\");\n grid.hideColumn(\"PandoXRuleQuantity\");\n }\n }\n }\n\n function maxEntriesEditor(container, options) {\n $('').appendTo(container).kendoNumericTextBox({\n min: 0,\n max: 100,\n step: 1,\n format: \"n0\",\n decimals: 0\n });\n }\n\n function renderStartDateColumn(data) {\n var output = \"\";\n if (data.SearchActiveStartDate == null) return \"\";\n var textColor = \"auto\";\n\n if (startDateExpired(data.SearchActiveStartDate)) {\n textColor = \"red\";\n }\n\n var localeDateFilter = $filter('localeDate');\n var localeDate = localeDateFilter(data.SearchActiveStartDate);\n output += '' + localeDate + '';\n return output;\n }\n\n function renderEndDateColumn(data) {\n var output = \"\";\n if (data.SearchActiveEndDate == null) return \"\";\n var textColor = \"auto\";\n\n if (endDateExpired(data.SearchActiveEndDate)) {\n textColor = \"red\";\n }\n\n var localeDateFilter = $filter('localeDate');\n var localeDate = localeDateFilter(data.SearchActiveEndDate);\n output += '' + localeDate + '';\n return output;\n }\n\n function renderOwnerColumn(data) {\n var output = \"\";\n\n if (data.Owner.GroupName.length > 0 && data.Owner.GroupId != \"-1\") {\n output += '
' + $ctrl.srchPreGroupLabel + ':
';\n output += '' + data.Owner.GroupName + '';\n\n if (data.OwnerTemplate.TemplateName.length > 0 && data.OwnerTemplate.TemplateId != \"-1\") {\n var errorCodes = \"\";\n var hasSubject = HasTemplateSubject(data.OwnerTemplate.TemplateId);\n\n if (!hasSubject) {\n errorCodes = \"1\";\n }\n\n if ($ctrl.emailDisabled) {\n if (!hasSubject) errorCodes += \", \";\n errorCodes += \"2\";\n }\n\n output += '
';\n if (errorCodes.length > 0) output += '';\n output += ':  
';\n output += '' + data.OwnerTemplate.TemplateName + '';\n if (errorCodes.length > 0) output += \" \" + errorCodes + \"\";\n }\n }\n\n return output;\n }\n\n function renderAccessColumn(data) {\n var output = \"\";\n\n if (data.Access.GroupName.length > 0 && data.Access.GroupId != \"-1\") {\n var errorCodes = \"\";\n var hasSubject = HasTemplateSubject(data.AccessTemplate.TemplateId);\n\n if (!hasSubject) {\n errorCodes = \"1\";\n }\n\n if ($ctrl.emailDisabled) {\n if (!hasSubject) errorCodes += \", \";\n errorCodes += \"2\";\n }\n\n output += '
' + $ctrl.srchPreGroupLabel + ':
';\n output += '' + data.Access.GroupName + '';\n\n if (data.AccessTemplate.TemplateName.length > 0 && data.AccessTemplate.TemplateId != \"-1\") {\n output += '
';\n if (errorCodes.length > 0) output += '';\n output += ':  
';\n output += '' + data.AccessTemplate.TemplateName + '';\n if (errorCodes.length > 0) output += \" \" + errorCodes + \"\";\n }\n }\n\n return output;\n }\n\n function renderWorkflowColumn(data) {\n var output = \"\";\n\n if (data.AssignedWorkflow.WorkflowName.length > 0 && data.AssignedWorkflow.WorkflowInstanceId != \"-1\") {\n output = data.AssignedWorkflow.WorkflowName;\n }\n\n return output;\n }\n\n function renderPandoXProcessInitColumn(data) {\n var output = \"\";\n\n if (data.PandoX.CategoryName && data.PandoX.CategoryName.length > 0 && data.PandoX.CategoryId && data.PandoX.CategoryId != \"-1\") {\n output += '
' + $ctrl.srchPreCategoryLabel + ':   
';\n output += '' + $translate.instant(data.PandoX.CategoryName) + '';\n }\n\n return output;\n }\n\n function ownerDropdown_change(e) {\n var value = this.value();\n if (value != \"-1\") $('#OwnerTemplateWrapper').show();else $('#OwnerTemplateWrapper').hide();\n CheckForTemplateErrors();\n }\n\n function accessDropdown_change(e) {\n var value = this.value();\n if (value != \"-1\") $('#AccessTemplateWrapper').show();else $('#AccessTemplateWrapper').hide();\n CheckForTemplateErrors();\n }\n\n function templateDropdown_change(e) {\n CheckForTemplateErrors();\n }\n\n function ownerEditor(container, options) {\n $('
' + $ctrl.srchPreGroupLabel + ':
').appendTo(container);\n $('').appendTo(container);\n $(\"#\" + options.field).kendoDropDownList({\n autoBind: true,\n dataTextField: \"GroupName\",\n dataValueField: \"GroupId\",\n dataSource: $ctrl.pandoGroups,\n change: ownerDropdown_change\n });\n var templateHtml = '
:  
';\n templateHtml += '';\n templateHtml += '
';\n $(templateHtml).appendTo(container);\n $(\"#OwnerTemplate\").kendoDropDownList({\n autoBind: true,\n dataTextField: \"TemplateName\",\n dataValueField: \"TemplateId\",\n dataSource: $ctrl.templates,\n change: templateDropdown_change\n });\n\n if (options.model.Owner.GroupId != \"-1\") {\n $('#OwnerTemplateWrapper').show();\n } else {\n $('#OwnerTemplateWrapper').hide();\n }\n }\n\n function accessEditor(container, options) {\n $('
' + $ctrl.srchPreGroupLabel + ':
').appendTo(container);\n $('').appendTo(container);\n $(\"#\" + options.field).kendoDropDownList({\n autoBind: true,\n dataTextField: \"GroupName\",\n dataValueField: \"GroupId\",\n dataSource: $ctrl.pandoGroups,\n change: accessDropdown_change\n });\n var templateHtml = '
:  
';\n templateHtml += '';\n templateHtml += '
';\n $(templateHtml).appendTo(container);\n $(\"#AccessTemplate\").kendoDropDownList({\n autoBind: true,\n dataTextField: \"TemplateName\",\n dataValueField: \"TemplateId\",\n dataSource: $ctrl.templates,\n change: templateDropdown_change\n });\n\n if (options.model.Access.GroupId != \"-1\") {\n $('#AccessTemplateWrapper').show();\n } else {\n $('#AccessTemplateWrapper').hide();\n }\n }\n\n function pandoXEditor(container, options) {\n $('
' + $ctrl.srchPreCategoryLabel + ':
').appendTo(container);\n $('').appendTo(container);\n $(\"#\" + options.field).kendoDropDownList({\n autoBind: true,\n dataTextField: \"CategoryName\",\n dataValueField: \"CategoryId\",\n dataSource: $ctrl.pandoXRuleCategoryArray\n });\n }\n\n function workflowDropDownEditor(container, options) {\n $('').appendTo(container).kendoDropDownList({\n autoBind: true,\n dataTextField: \"WorkflowName\",\n dataValueField: \"WorkflowInstanceId\",\n dataSource: $ctrl.pandoWorkflowTemplates\n });\n }\n\n function initGridOptions() {\n var sixthColumn = {\n field: \"AssignedWorkflow\",\n title: \"Process Assignment\",\n width: \"15%\",\n editor: workflowDropDownEditor,\n template: function template(dataItem) {\n return renderWorkflowColumn(dataItem);\n }\n };\n var seventhColumn = {\n field: \"MaxAssignEntries\",\n title: \"Daily Max\",\n width: \"5%\",\n editor: maxEntriesEditor,\n headerAttributes: {\n style: \"text-align: center;\"\n },\n attributes: {\n style: \"text-align: center;\"\n }\n };\n\n if ($ctrl.isDealerPandoXEnabled) {\n sixthColumn = {\n field: \"PandoX\",\n headerTemplate: \"Inbox Process Initiation \",\n width: \"5%\",\n editor: pandoXEditor,\n template: function template(dataItem) {\n return renderPandoXProcessInitColumn(dataItem);\n }\n };\n seventhColumn = {\n field: \"PandoXRuleQuantity\",\n title: \"Max / Run\",\n width: \"3%\",\n editor: maxEntriesEditor,\n headerAttributes: {\n style: \"text-align: center;\"\n },\n attributes: {\n style: \"text-align: center;\"\n }\n };\n }\n\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n navigatable: false,\n pageable: false,\n scrollable: false,\n resizable: true,\n //height: 370,\n columns: [{\n field: \"Name\",\n title: \"Name\",\n width: \"20%\",\n sortable: false,\n attributes: {\n style: \"cursor: pointer;\"\n },\n template: \" #= Name #\"\n }, {\n field: \"SearchActiveStartDate\",\n title: \"Start Date\",\n template: function template(dataItem) {\n return renderStartDateColumn(dataItem);\n },\n format: \"{0:d}\",\n width: \"10\"\n }, {\n field: \"SearchActiveEndDate\",\n title: \"End Date\",\n template: function template(dataItem) {\n return renderEndDateColumn(dataItem);\n },\n format: \"{0:d}\",\n width: \"10\"\n }, {\n hidden: !$ctrl.leadAssignOwnerAccessEnabled,\n field: \"Owner\",\n title: \"Owner\",\n width: \"20%\",\n editor: ownerEditor,\n template: function template(dataItem) {\n return renderOwnerColumn(dataItem);\n }\n }, {\n hidden: !$ctrl.leadAssignOwnerAccessEnabled,\n field: \"MaxOwnerEntries\",\n title: \"Daily Max\",\n width: \"5%\",\n editor: maxEntriesEditor,\n headerAttributes: {\n style: \"text-align: center;\"\n },\n attributes: {\n style: \"text-align: center;\"\n }\n }, {\n hidden: !$ctrl.leadAssignOwnerAccessEnabled,\n field: \"Access\",\n title: \"Access\",\n width: \"20%\",\n editor: accessEditor,\n template: function template(dataItem) {\n return renderAccessColumn(dataItem);\n }\n }, {\n hidden: !$ctrl.leadAssignOwnerAccessEnabled,\n field: \"MaxAccessEntries\",\n title: \"Daily Max\",\n width: \"5%\",\n editor: maxEntriesEditor,\n headerAttributes: {\n style: \"text-align: center;\"\n },\n attributes: {\n style: \"text-align: center;\"\n }\n }, sixthColumn, seventhColumn, {\n command: [{\n name: \"edit\",\n template: \"\"\n }, {\n name: \"Delete\",\n template: \"\",\n click: function click(e) {\n e.preventDefault(); //prevent page scroll reset\n\n var tr = $(e.target).closest(\"tr\"); //get the row for deletion\n\n var data = this.dataItem(tr); //get the row data so it can be referred later\n\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return $ctrl.srchPreDeleteTitle;\n },\n message: function message() {\n return $ctrl.srchPreDeleteMsg;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"confirm\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\n grid.dataSource.remove(data); //prepare a \"destroy\" request\n\n grid.dataSource.sync(); //actually send the request (might be ommited if the autoSync option is enabled in the dataSource)\n });\n }\n }, {\n name: \"Execute\",\n template: \"\").concat($ctrl.srchPreExecutePandoXLabel, \"\"),\n click: function click(e) {\n e.preventDefault();\n var tr = $(e.target).closest(\"tr\"); //get the row for deletion\n\n var data = this.dataItem(tr); //get the row data so it can be referred later\n\n executePandoXSearch(data); // Disable the execute button to limit users accidentally submitting many search executions\n\n $(e.target).addClass('k-state-disabled');\n },\n visible: function visible(dataItem) {\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n var startExpired = dataItem.SearchActiveStartDate != null && dataItem.SearchActiveStartDate > today;\n var endExpired = dataItem.SearchActiveEndDate != null && dataItem.SearchActiveEndDate < today;\n return dataItem.PandoX && dataItem.PandoX.CategoryName && dataItem.PandoXRuleQuantity && dataItem.PandoXRuleQuantity > 0 && !startExpired && !endExpired;\n }\n }],\n title: \"Actions\",\n width: \"3%\",\n headerAttributes: {\n style: \"text-align: center;\"\n }\n }],\n editable: \"inline\",\n edit: onRowBound,\n dataBound: onDataBound,\n cancel: onRowBound,\n filterable: false\n };\n }\n\n function startDateExpired(startDate) {\n if (startDate == null) return false;\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n return startDate > today;\n }\n\n function endDateExpired(endDate) {\n if (endDate == null) return false;\n var today = new Date();\n today.setHours(0, 0, 0, 0);\n return endDate < today;\n }\n\n function executePandoXSearch(data) {\n searchPresetService.executePandoXSearch($ctrl.selectedDealerId, getUserConditionIdFromKendoId(data.Id)).then(function () {\n var executeSuccessKey = 'srchPreExecutePandoXSuccess';\n $translate([executeSuccessKey]).then(function (translations) {\n toaster.pop({\n type: messageTypes.success,\n title: '',\n body: translations[executeSuccessKey],\n showCloseButton: false\n });\n });\n });\n }\n\n function renderGridToolbar() {\n var element = $(\"#grid-toolbar\");\n element.kendoToolBar({\n resizable: false,\n items: [{\n type: \"button\",\n attributes: {\n style: \"float: right; margin-top: 2px; margin-right: 5px; font-size: 12px;\"\n },\n text: $ctrl.srchPreClearInputsBtn,\n click: function click(e) {\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return $ctrl.srchPreClearInputsTitle;\n },\n message: function message() {\n return $ctrl.srchPreClearInputsMsg;\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"confirm\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n var data = $('#gridManageSearches').data('kendoGrid').dataSource.data();\n\n for (var i = 0; i < data.length; i++) {\n var row = data[i];\n row.Owner.GroupId = \"-1\";\n row.Owner.GroupName = \"\";\n row.OwnerTemplate.TemplateId = \"-1\";\n row.OwnerTemplate.TemplateName = \"\";\n row.MaxOwnerEntries = null;\n row.Access.GroupId = \"-1\";\n row.Access.GroupName = \"\";\n row.AccessTemplate.TemplateId = \"-1\";\n row.AccessTemplate.TemplateName = \"\";\n row.MaxAccessEntries = null;\n row.PandoX.CategoryId = \"-1\";\n row.PandoX.CategoryName = \"\";\n row.PandoXRuleQuantity = null;\n row.AssignedWorkflow.WorkflowInstanceId = \"-1\";\n row.AssignedWorkflow.WorkflowName = \"\";\n row.MaxAssignEntries = null;\n row.SearchActiveStartDate = null;\n row.SearchActiveEndDate = null;\n }\n\n updatePresets();\n $('#gridManageSearches').data('kendoGrid').refresh();\n });\n }\n }]\n });\n }\n\n function savePresetSettings(settings) {\n var clearOwnership = settings.clearOwnership,\n clearAccess = settings.clearAccess;\n if (!clearOwnership && !clearAccess) return;\n searchPresetService.updateAutoAssignments({\n dealerID: $ctrl.selectedDealerId,\n resetOwnerAutoAssignments: clearOwnership,\n resetAccessAutoAssignments: clearAccess\n }).then(function (success) {\n if (success) {\n $translate([successKey]).then(function (translations) {\n toaster.pop({\n type: messageTypes.success,\n title: translations[successKey],\n body: $ctrl.srchPreClearAutoMsg,\n bodyOutputType: 'trustedHtml',\n showCloseButton: false\n });\n });\n }\n });\n }\n\n function saveSelectedSearchPresets(searchPresets) {\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\n var data = grid.dataSource.data();\n var maxOrder = 0;\n\n if (data.length > 0) {\n maxOrder = Math.max.apply(Math, data.map(function (presets) {\n return presets.Order;\n }));\n }\n\n for (var i = 0; i < searchPresets.selectedSearchPresets.length; i++) {\n var searchPreset = searchPresets.selectedSearchPresets[i];\n data.push({\n Id: getKendoIdFromUserConditionId(searchPreset.userSearchConditionID),\n Name: searchPreset.searchConditionName,\n Order: ++maxOrder,\n Owner: {\n GroupName: \"\",\n GroupId: \"-1\"\n },\n OwnerTemplate: {\n TemplateName: \"\",\n TemplateId: \"-1\"\n },\n MaxOwnerEntries: null,\n Access: {\n GroupName: \"\",\n GroupId: \"-1\"\n },\n AccessTemplate: {\n TemplateName: \"\",\n TemplateId: \"-1\"\n },\n MaxAccessEntries: null,\n PandoX: {\n CategoryName: \"\",\n CategoryId: \"-1\"\n },\n PandoXRuleQuantity: null,\n AssignedWorkflow: {\n WorkflowName: \"\",\n WorkflowInstanceId: \"-1\"\n },\n MaxAssignEntries: null,\n IsPriority: searchPreset.isPriority,\n SearchActiveStartDate: searchPreset.searchActiveStartDate,\n SearchActiveEndDate: searchPreset.searchActiveEndDate\n });\n }\n\n updatePresets();\n grid.refresh();\n }\n\n function hintElement(element) {\n // Customize the hint\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\"),\n table = grid.table.clone(),\n wrapperWidth = grid.wrapper.width(),\n wrapper = $(\"
\").width(wrapperWidth),\n hint;\n table.find(\"thead\").remove(); // Remove Grid's header from the hint\n\n table.find(\"tbody\").empty(); // Remove the existing rows from the hint\n\n table.wrap(wrapper); // Wrap the table\n\n table.append(element.clone().removeAttr(\"id\")); // Append the dragged element\n\n hint = table.parent().parent(); // Get the wrapper\n\n return hint; // Return the hint element\n }\n\n function AddDragDrop() {\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\");\n if (grid === undefined) return;\n grid.table.kendoSortable({\n hint: hintElement,\n cursor: \"move\",\n placeholder: function placeholder(element) {\n return element.clone().addClass(\"k-state-hover\").css(\"opacity\", 0.65);\n },\n container: \"#gridManageSearches tbody\",\n filter: \">tbody > tr:not(.k-grid-edit-row)\",\n change: function change(e) {\n var grid = $(\"#gridManageSearches\").data(\"kendoGrid\"),\n oldIndex = e.oldIndex,\n // The old position\n newIndex = e.newIndex,\n // The new position\n view = grid.dataSource.view(),\n dataItem = grid.dataSource.getByUid(e.item.data(\"uid\")); // Retrieve the moved dataItem\n\n dataItem.Order = newIndex + 1; // Update the order\n\n dataItem.dirty = true; // Shift the order of the records\n\n if (oldIndex < newIndex) {\n for (var i = oldIndex + 1; i <= newIndex; i++) {\n view[i].Order--;\n view[i].dirty = true;\n }\n } else {\n for (var j = oldIndex - 1; j >= newIndex; j--) {\n view[j].Order++;\n view[j].dirty = true;\n }\n }\n\n grid.dataSource.sync();\n }\n });\n }\n}","import \"core-js/modules/es7.promise.finally\";\nimport \"core-js/modules/es6.array.sort\";\nSearchPresetSelectorController.$inject = [\"$q\", \"$translate\", \"$timeout\", \"searchPresetTypes\", \"searchPresetService\", \"dealerService\", \"pandoSurveyService\", \"tokenService\", \"userService\", \"modules\"];\n\n/* injects from baggage-loader */\nrequire('./search-preset-selector.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nimport './search-manage-presets.component.scss';\nangular.module('AaApp.Opp').component('searchPresetSelector', {\n templateUrl: '/app/components/search/search-preset-selector.component.html',\n controller: SearchPresetSelectorController,\n bindings: {\n selectedDealerId: '<',\n getSelections: '=',\n onSelection: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchPresetSelectorController($q, $translate, $timeout, searchPresetTypes, searchPresetService, dealerService, pandoSurveyService, tokenService, userService, modules) {\n var $ctrl = this;\n $ctrl.cachedAvailableSearchPresets;\n $ctrl.cachedSelectedSearchPresets;\n $ctrl.searchPresetTypeTranslateKeys;\n $ctrl.searchPresetTypes;\n $ctrl.availableSearchPresets;\n $ctrl.selectedSearchPresets;\n $ctrl.$onInit = init;\n $ctrl.filterAvailableSearchPresets = filterAvailableSearchPresets;\n $ctrl.searchPresetTypeList = null;\n $ctrl.filterSelectedPresets = filterSelectedPresets;\n $ctrl.searchPresetsSelections = [];\n $ctrl.hasSelections = false;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.isFordAlert = false;\n var maxNonPrioritySearch = 20;\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n if ($ctrl.selectedDealerId == null) $ctrl.selectedDealerId = $ctrl.dealers[0].id;\n $ctrl.getSelections = getSelections;\n $ctrl.cachedSelectedSearchPresets = [];\n $ctrl.searchPresetTypes = searchPresetTypes;\n $ctrl.searchPresetTypeTranslateKeys = _.invert(searchPresetTypes);\n onDealerSelect();\n }\n\n function filterSelectedPresets(searchPreset) {\n var selected = $ctrl.availableSearchPresets.filter(function (o) {\n return o.selected;\n });\n var nonPrioritySelections = $ctrl.selectedSearchPresets.concat(selected).filter(function (obj) {\n return obj.isPriority === false;\n });\n\n if (nonPrioritySelections.length > maxNonPrioritySearch) {\n $ctrl.errorMessageVisible = true;\n $timeout(function () {\n return $ctrl.errorMessageVisible = false;\n }, 3000);\n searchPreset.selected = false;\n } else {\n $ctrl.errorMessageVisible = false;\n }\n\n $ctrl.searchPresetsSelections = $ctrl.availableSearchPresets.filter(function (o) {\n return o.selected;\n });\n $ctrl.hasSelections = $ctrl.searchPresetsSelections.length > 0;\n onSelection();\n }\n\n function onSelection() {\n $ctrl.onSelection({\n hasSelections: $ctrl.hasSelections\n });\n }\n\n function byOrder(searchPreset1, searchPreset2) {\n return searchPreset1.order - searchPreset2.order;\n }\n\n function bySearchConditionName(object1, object2) {\n if (object1.searchConditionName < object2.searchConditionName) return -1;\n if (object1.searchConditionName > object2.searchConditionName) return 1;\n return 0;\n }\n\n function getSelections() {\n if ($ctrl.searchPresetsSelections === undefined) {\n return {\n dealerId: $ctrl.selectedDealerId,\n selectedSearchPresets: []\n };\n }\n\n return {\n dealerId: $ctrl.selectedDealerId,\n selectedSearchPresets: $ctrl.searchPresetsSelections.sort(bySearchConditionName)\n };\n }\n\n function busy(translationKey, promise) {\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect() {\n $ctrl.availableSearchPresets = null;\n $ctrl.selectedSearchPresets = null;\n\n if ($ctrl.selectedDealerId) {\n $ctrl.isFordAlert = userService.isDealerEnabledForModule($ctrl.selectedDealerId, modules.fordAlert);\n\n if ($ctrl.cachedAvailableSearchPresets && $ctrl.cachedSelectedSearchPresets) {\n filterSearchPresets();\n } else {\n return busy(\"Loading Searches\", $q.all({\n allpresets: searchPresetService.getSearchPresets(),\n previouslyselected: searchPresetService.getDealerSearchPresetLayouts($ctrl.selectedDealerId)\n }).then(setSearchPresets));\n }\n }\n }\n\n function setSearchPresets(searchPresets) {\n if ($ctrl.cachedSelectedSearchPresets.length == 0) {\n $ctrl.cachedSelectedSearchPresets = searchPresets.previouslyselected;\n }\n\n if (!$ctrl.cachedAvailableSearchPresets) {\n $ctrl.cachedAvailableSearchPresets = searchPresets.allpresets;\n }\n\n filterSearchPresets();\n }\n\n function filterSearchPresets() {\n $ctrl.selectedSearchPresets = $ctrl.cachedSelectedSearchPresets.filter(function (preset) {\n return preset.dealerID == $ctrl.selectedDealerId;\n }).sort(byOrder);\n $ctrl.availableSearchPresets = _.differenceBy($ctrl.cachedAvailableSearchPresets, $ctrl.selectedSearchPresets, 'userSearchConditionID');\n $ctrl.searchPresetTypeList = [];\n if ($ctrl.availableSearchPresets.some(function (p) {\n return p.userSearchConditionGroupType == $ctrl.searchPresetTypes.dealer && p.dealerID == $ctrl.selectedDealerId;\n })) $ctrl.searchPresetTypeList.push($ctrl.searchPresetTypes.dealer);\n if ($ctrl.availableSearchPresets.some(function (p) {\n return p.userSearchConditionGroupType == $ctrl.searchPresetTypes.common;\n })) $ctrl.searchPresetTypeList.push($ctrl.searchPresetTypes.common);\n if ($ctrl.availableSearchPresets.some(function (p) {\n return p.userSearchConditionGroupType == $ctrl.searchPresetTypes.tag && p.dealerID == $ctrl.selectedDealerId;\n })) $ctrl.searchPresetTypeList.push($ctrl.searchPresetTypes.tag);\n }\n\n function filterAvailableSearchPresets(searchPreset) {\n return searchPreset.userSearchConditionGroupType == $ctrl.searchPresetTypes.common || searchPreset.userSearchConditionGroupType == $ctrl.searchPresetTypes.dealer && searchPreset.dealerID == $ctrl.selectedDealerId || searchPreset.userSearchConditionGroupType == $ctrl.searchPresetTypes.tag && searchPreset.dealerID == $ctrl.selectedDealerId;\n }\n}","\n/* injects from baggage-loader */\nrequire('./search-preset-selector-modal.component.html');\n\nimport angular from 'angular';\r\n\r\nangular.module('AaApp.Opp').component('searchPresetSelectorModal', {\r\n templateUrl: '/app/components/search/search-preset-selector-modal.component.html',\r\n controller: SearchPresetSelectorModalController,\r\n bindings: {\r\n resolve: '<',\r\n close: '&',\r\n dismiss: '&'\r\n },\r\n});\r\n\r\n/* @ngInject */\r\nfunction SearchPresetSelectorModalController() {\r\n var $ctrl = this;\r\n\r\n $ctrl.selectedDealerId;\r\n $ctrl.getSelectedSearchPresets;\r\n $ctrl.submit = submit;\r\n $ctrl.hasSelections;\r\n $ctrl.onSelection = onSelection;\r\n\r\n function submit() {\r\n var selectedSearchPresets = $ctrl.getSelectedSearchPresets();\r\n\r\n $ctrl.close({ $value: selectedSearchPresets });\r\n }\r\n\r\n function onSelection(hasSelections) {\r\n $ctrl.hasSelections = hasSelections;\r\n }\r\n}\r\n","SearchPresetSettingsController.$inject = [\"$q\", \"$translate\", \"$timeout\", \"searchPresetTypes\", \"searchPresetService\", \"dealerService\", \"pandoSurveyService\", \"tokenService\", \"userService\", \"modules\"];\n\n/* injects from baggage-loader */\nrequire('./search-preset-settings.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nimport $ from 'jquery';\nimport './search-manage-presets.component.scss';\nangular.module('AaApp.Opp').component('searchPresetSettings', {\n templateUrl: '/app/components/search/search-preset-settings.component.html',\n controller: SearchPresetSettingsController,\n bindings: {\n getSelections: '=',\n onSelection: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchPresetSettingsController($q, $translate, $timeout, searchPresetTypes, searchPresetService, dealerService, pandoSurveyService, tokenService, userService, modules) {\n var $ctrl = this;\n $ctrl.$onInit = init;\n $ctrl.clearOwnership;\n $ctrl.clearAccess;\n $ctrl.getSelections = getSelections;\n $ctrl.selectionsChanged = selectionsChanged;\n\n function init() {\n $ctrl.hasSelections = false;\n }\n\n function getSelections() {\n return {\n clearOwnership: $ctrl.clearOwnership === undefined ? false : $ctrl.clearOwnership,\n clearAccess: $ctrl.clearAccess === undefined ? false : $ctrl.clearAccess\n };\n }\n\n function selectionsChanged() {\n $ctrl.hasSelections = $ctrl.clearOwnership === true || $ctrl.clearAccess === true;\n onSelection();\n }\n\n function onSelection() {\n $ctrl.onSelection({\n hasSelections: $ctrl.hasSelections\n });\n }\n}","SearchPresetSettingsModalController.$inject = [\"$uibModal\", \"$document\"];\n\n/* injects from baggage-loader */\nrequire('./search-preset-settings-modal.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('searchPresetSettingsModal', {\n templateUrl: '/app/components/search/search-preset-settings-modal.component.html',\n controller: SearchPresetSettingsModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchPresetSettingsModalController($uibModal, $document) {\n var $ctrl = this;\n $ctrl.getSelections;\n $ctrl.submit = submit;\n $ctrl.hasSelections;\n $ctrl.onSelection = onSelection;\n\n function submit() {\n var selections = $ctrl.getSelections();\n var modal = $uibModal.open({\n appendTo: angular.element($document[0].querySelector('#aa-app')),\n animation: true,\n component: 'confirmationModal',\n resolve: {\n title: function title() {\n return \"Please Confirm\";\n },\n message: function message() {\n return \"Are you sure you want to clear the selected auto-assignments from the entire portfolio? This action cannot be undone.\";\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"confirm\"; // translation key\n }\n }\n });\n modal.result.then(function () {\n $ctrl.close({\n $value: {\n clearOwnership: selections.clearOwnership,\n clearAccess: selections.clearAccess\n }\n });\n });\n }\n\n function onSelection(hasSelections) {\n $ctrl.hasSelections = hasSelections;\n }\n}","import \"core-js/modules/es6.array.find\";\nSearchExportModalController.$inject = [\"$element\", \"$scope\", \"$sce\", \"legacy\", \"$logFactory\"];\n\n/* injects from baggage-loader */\nrequire('./search-export-modal.component.html');\n\nimport angular from 'angular';\nimport { getUrlComponents } from \"../../utilities/url\";\nimport { ChildMessagePort } from '../../utilities/messaging';\nimport './search-export-modal.component.scss';\nangular.module('AaApp.Opp').component('searchExportModal', {\n templateUrl: '/app/components/search/search-export-modal.component.html',\n controller: SearchExportModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchExportModalController($element, $scope, $sce, legacy, $logFactory) {\n var $ctrl = this;\n var log = $logFactory.get();\n $ctrl.submit = submit;\n $ctrl.$onInit = onInit;\n var originalIframeExportUrl = legacy.iframeUrl + \"/AlertDesk/Search/Export\";\n $ctrl.selectedDealerId;\n $ctrl.iframeUrl;\n\n function onInit() {\n var rendered = $ctrl.resolve.renderedPromise.rendered;\n\n if ($ctrl.resolve.renderedPromise.selectedDealerId === undefined) {\n $ctrl.selectedDealerId = 0;\n } else {\n $ctrl.selectedDealerId = $ctrl.resolve.renderedPromise.selectedDealerId;\n }\n\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeExportUrl + \"?lm=Export&dealerID=\" + $ctrl.selectedDealerId + \"&fa=\" + $ctrl.resolve.isFordAlert);\n rendered.then(function () {\n var iframeExport = $element.find(\".ifrmSearchExport\")[0];\n var originExport = getUrlComponents(originalIframeExportUrl).origin;\n $ctrl.messageChannelExport = new ChildMessagePort(iframeExport, originExport, $scope);\n var subscription = $ctrl.messageChannelExport.subscribe(function (_ref, replyPort) {\n var data = _ref.data;\n\n if (data.type === \"EXPORT_SAVE_LAYOUT_COMPLETED\") {\n log.log(\"EXPORT_SAVE_LAYOUT_COMPLETED message received in Portal.\");\n $ctrl.close({\n $value: {\n exportLayout: data.data.layoutData\n }\n });\n }\n });\n });\n }\n\n function submit() {\n var msg = {\n type: \"EXPORT_SAVE_LAYOUT\",\n data: {\n selectedDealerId: $ctrl.selectedDealerId\n }\n };\n $ctrl.messageChannelExport.postMessage(msg);\n }\n}","SearchExportEpsilonModalController.$inject = [\"$element\", \"$scope\", \"$sce\", \"legacy\", \"$logFactory\", \"searchService\"];\n\n/* injects from baggage-loader */\nrequire('./search-export-epsilon-modal.component.html');\n\nimport angular from 'angular';\nimport { getUrlComponents } from \"../../utilities/url\";\nimport { ChildMessagePort } from '../../utilities/messaging';\nimport './search-export-epsilon-modal.component.scss';\nangular.module('AaApp.Opp').component('searchExportEpsilonModal', {\n templateUrl: '/app/components/search/search-export-epsilon-modal.component.html',\n controller: SearchExportEpsilonModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchExportEpsilonModalController($element, $scope, $sce, legacy, $logFactory, searchService) {\n var $ctrl = this;\n var log = $logFactory.get();\n $ctrl.submit = submit;\n $ctrl.$onInit = onInit;\n $ctrl.requestsInWindow;\n $ctrl.showHistory;\n $ctrl.showError;\n $ctrl.campaignType;\n $ctrl.campaignTypeName;\n $ctrl.campaignTypeTranslateKey = campaignTypeTranslateKey;\n\n function campaignTypeTranslateKey(input) {\n if (input.toLowerCase() == 'call center') {\n return 'exportCampaignType_callCenter';\n } else {\n return 'exportCampaignType_' + input.toLowerCase();\n }\n }\n\n function onInit() {\n $ctrl.showHistory = true;\n $ctrl.showError = false;\n $ctrl.campaignType = \"0\";\n $ctrl.campaignTypeName = \"\";\n searchService.getDealerCampaignRequestsInWindow().then(function (windowData) {\n $ctrl.requestsInWindow = windowData;\n });\n }\n\n function submit() {\n if (isInputValid()) {\n $ctrl.close({\n $value: {\n success: true,\n campaignType: $ctrl.campaignType,\n campaignTypeName: $ctrl.campaignTypeName\n }\n });\n } else {\n $ctrl.showError = true;\n }\n }\n\n function isInputValid() {\n switch ($ctrl.campaignType) {\n case \"1\":\n case \"2\":\n case \"3\":\n case \"4\":\n case \"5\":\n return true;\n }\n\n return false;\n }\n}","SearchExportEpsilonResultModalController.$inject = [\"$element\", \"$scope\", \"$sce\", \"legacy\", \"$logFactory\", \"searchService\"];\n\n/* injects from baggage-loader */\nrequire('./search-export-epsilon-result-modal.component.html');\n\nimport angular from 'angular';\nimport { getUrlComponents } from \"../../utilities/url\";\nimport { ChildMessagePort } from '../../utilities/messaging';\nimport './search-export-epsilon-modal.component.scss';\nangular.module('AaApp.Opp').component('searchExportEpsilonResultModal', {\n templateUrl: '/app/components/search/search-export-epsilon-result-modal.component.html',\n controller: SearchExportEpsilonResultModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchExportEpsilonResultModalController($element, $scope, $sce, legacy, $logFactory, searchService) {\n var $ctrl = this;\n var log = $logFactory.get();\n $ctrl.$onInit = onInit;\n $ctrl.requestsCreated;\n $ctrl.campaignTypeTranslateKey = campaignTypeTranslateKey;\n\n function campaignTypeTranslateKey(input) {\n if (input.toLowerCase() == 'call center') {\n return 'exportCampaignType_callCenter';\n } else {\n return 'exportCampaignType_' + input.toLowerCase();\n }\n }\n\n function onInit() {\n $ctrl.requestsCreated = $ctrl.resolve.renderedPromise;\n }\n}","SearchSaveModalController.$inject = [\"dealerService\", \"userService\", \"authorizationService\", \"authorizationKeys\"];\n\n/* injects from baggage-loader */\nrequire('./search-save-modal.component.html');\n\nimport angular from 'angular';\nimport './search-save-modal.component.scss';\nimport { PandoXRuleCategory } from '../../constants';\nimport { roundWithPrecision } from '../../utilities/math';\nangular.module('AaApp.Opp').component('searchSaveModal', {\n templateUrl: '/app/components/search/search-save-modal.component.html',\n controller: SearchSaveModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchSaveModalController(dealerService, userService, authorizationService, authorizationKeys) {\n var $ctrl = this;\n $ctrl.submit = submit;\n $ctrl.$onInit = onInit;\n $ctrl.pandoXCategoryChange = pandoXCategoryChange;\n $ctrl.autoShareSearchClicked = autoShareSearchClicked;\n $ctrl.pandoXRuleQuantityChanged = pandoXRuleQuantityChanged;\n $ctrl.selectedDealerId;\n $ctrl.iframeUrl;\n $ctrl.savedSearchName;\n $ctrl.autoShareSearch = false;\n $ctrl.autoShareSearchPosition = \"1\";\n $ctrl.hasShareSearchAccess = false;\n $ctrl.hasManageSearchAccess = false;\n $ctrl.assignPandoXRule = false;\n $ctrl.pandoXError = false;\n $ctrl.errorTooSmall = false;\n $ctrl.errorTooBig = false;\n $ctrl.assignPandoXRule = false;\n $ctrl.pandoXRuleCategory = PandoXRuleCategory;\n $ctrl.pandoXRuleQuantity;\n $ctrl.executePandoXImmediately;\n $ctrl.pandoXRuleCategoryId;\n $ctrl.isDealerPandoXEnabled = false;\n $ctrl.datePickerOptions = {\n startingDay: 0,\n showWeeks: false,\n minDate: null,\n maxDate: null\n };\n $ctrl.selectedValueFirstCSSClass = \"valid\";\n $ctrl.selectedValueLastCSSClass = \"valid\";\n $ctrl.useActiveDates = false;\n $ctrl.searchActiveStartDate = null;\n $ctrl.searchActiveEndDate = null;\n\n function onInit() {\n if ($ctrl.resolve.data.selectedDealerId === undefined) {\n $ctrl.selectedDealerId = 0;\n } else {\n $ctrl.selectedDealerId = $ctrl.resolve.data.selectedDealerId;\n }\n\n if ($ctrl.resolve.data.searchConditionName.length > 4) {\n $ctrl.savedSearchName = $ctrl.resolve.data.searchConditionName;\n }\n\n var continueLoop = true;\n var dealers = $ctrl.selectedDealerId === 0 ? $ctrl.resolve.data.dealers : [{\n id: $ctrl.selectedDealerId\n }];\n\n for (var index = 0; index < dealers.length; index++) {\n var dealerId = dealers[index].id;\n\n if (!continueLoop) {\n break;\n }\n\n dealerService.getIsDealerPandoXEnabled(dealerId).then(function (result) {\n if (result === true) {\n $ctrl.isDealerPandoXEnabled = result;\n continueLoop = false;\n }\n });\n }\n\n userService.getUserProfile().then(function (userProfile) {\n $ctrl.hasManageSearchAccess = authorizationService.isAuthorized(authorizationKeys.ManageSearches) || userProfile.employeeUser;\n $ctrl.hasShareSearchAccess = authorizationService.isAuthorized(authorizationKeys.ShareSearch) || userProfile.employeeUser;\n });\n }\n\n function autoShareSearchClicked(newValue) {\n if (newValue === false) {\n $ctrl.assignPandoXRule = false;\n }\n }\n\n function pandoXRuleQuantityChanged(newQuantity) {\n if (newQuantity >= 100) {\n $ctrl.pandoXRuleQuantity = 100;\n return;\n }\n\n $ctrl.pandoXRuleQuantity = roundWithPrecision(newQuantity, 0);\n }\n\n function pandoXCategoryChange() {\n $ctrl.pandoXRuleQuantity = 10;\n }\n\n function submit() {\n if (isInputValid()) {\n if (!$ctrl.autoShareSearch) {\n $ctrl.assignPandoXRule = null;\n $ctrl.pandoXRuleQuantity = null;\n $ctrl.executePandoXImmediately = null;\n $ctrl.pandoXRuleCategoryId = null;\n }\n\n if (!$ctrl.useActiveDates) {\n $ctrl.searchActiveStartDate = null;\n $ctrl.searchActiveEndDate = null;\n }\n\n $ctrl.close({\n $value: {\n savedSearchName: $ctrl.savedSearchName,\n autoShareSearch: $ctrl.autoShareSearch,\n autoShareSearchPosition: $ctrl.autoShareSearchPosition,\n assignPandoXRule: $ctrl.assignPandoXRule,\n pandoXRuleQuantity: $ctrl.pandoXRuleQuantity,\n executePandoXImmediately: $ctrl.executePandoXImmediately,\n pandoXRuleCategoryId: $ctrl.pandoXRuleCategoryId,\n searchActiveStartDate: $ctrl.searchActiveStartDate,\n searchActiveEndDate: $ctrl.searchActiveEndDate\n }\n });\n }\n }\n\n function isInputValid() {\n $ctrl.errorTooSmall = false;\n $ctrl.errorTooBig = false;\n $ctrl.pandoXError = false;\n $ctrl.invalidDates = false;\n\n if ($ctrl.savedSearchName === undefined || $ctrl.savedSearchName.length < 4) {\n $ctrl.errorTooSmall = true;\n return false;\n }\n\n if ($ctrl.savedSearchName.length > 64) {\n $ctrl.errorTooBig = true;\n return false;\n }\n\n if ($ctrl.assignPandoXRule) {\n if (!$ctrl.pandoXRuleCategoryId || !$ctrl.pandoXRuleQuantity) {\n $ctrl.pandoXError = true;\n return false;\n }\n\n if ($ctrl.pandoXRuleQuantity < 1 || $ctrl.pandoXRuleQuantity > 100) {\n return false;\n }\n }\n\n if ($ctrl.useActiveDates) {\n if ($ctrl.searchActiveStartDate != null && $ctrl.searchActiveEndDate != null && new Date($ctrl.searchActiveEndDate) < new Date($ctrl.searchActiveStartDate)) {\n $ctrl.invalidDates = true;\n return false;\n }\n }\n\n return true;\n }\n}","import \"core-js/modules/es6.array.find\";\nSearchSaveLayoutModalController.$inject = [\"$element\", \"$scope\", \"$sce\", \"$uibModal\", \"$document\", \"legacy\", \"urlHelper\"];\n\n/* injects from baggage-loader */\nrequire('./search-save-layout-modal.component.html');\n\nimport angular from 'angular';\nimport { getUrlComponents } from \"../../utilities/url\";\nimport { ChildMessagePort } from '../../utilities/messaging';\nimport './search-save-layout-modal.component.scss';\nangular.module('AaApp.Opp').component('searchSaveLayoutModal', {\n templateUrl: '/app/components/search/search-save-layout-modal.component.html',\n controller: SearchSaveLayoutModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchSaveLayoutModalController($element, $scope, $sce, $uibModal, $document, legacy, urlHelper) {\n var $ctrl = this;\n $ctrl.submit = submit;\n $ctrl.$onInit = onInit;\n var originalIframeLayoutUrl = legacy.iframeUrl + \"/AlertDesk/Search/Export\";\n $ctrl.selectedDealerId;\n $ctrl.iframeUrl;\n\n function onInit() {\n var rendered = $ctrl.resolve.renderedPromise.rendered;\n\n if ($ctrl.resolve.renderedPromise.selectedDealerId === undefined) {\n $ctrl.selectedDealerId = 0;\n } else {\n $ctrl.selectedDealerId = $ctrl.resolve.renderedPromise.selectedDealerId;\n }\n\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeLayoutUrl + \"?lm=Search&dealerID=\" + $ctrl.selectedDealerId + \"&fa=\" + $ctrl.resolve.isFordAlert);\n rendered.then(function () {\n var iframeLayout = $element.find(\".ifrmSearchLayout\")[0];\n var originLayout = getUrlComponents(originalIframeLayoutUrl).origin;\n $ctrl.messageChannelLayout = new ChildMessagePort(iframeLayout, originLayout, $scope);\n var subscription = $ctrl.messageChannelLayout.subscribe(function (_ref, replyPort) {\n var data = _ref.data;\n\n if (data.type === \"SEARCH_SAVE_LAYOUT_COMPLETED\") {\n //console.log(\"SEARCH_SAVE_LAYOUT_COMPLETED message received in Portal.\");\n $ctrl.close({\n $value: {\n success: true,\n exportLayout: data.data.layoutData\n }\n });\n }\n });\n });\n }\n\n function submit() {\n var msg = {\n type: \"SEARCH_SAVE_LAYOUT\",\n data: {\n selectedDealerId: $ctrl.selectedDealerId\n }\n };\n $ctrl.messageChannelLayout.postMessage(msg);\n }\n}","import \"core-js/modules/es6.array.find\";\nSearchReassignModalController.$inject = [\"$element\", \"$scope\", \"$sce\", \"$uibModal\", \"$document\", \"legacy\", \"urlHelper\"];\n\n/* injects from baggage-loader */\nrequire('./search-reassign-modal.component.html');\n\nimport angular from 'angular';\nimport { getUrlComponents } from \"../../utilities/url\";\nimport { ChildMessagePort } from '../../utilities/messaging';\nimport './search-reassign-modal.component.scss';\nangular.module('AaApp.Opp').component('searchReassignModal', {\n templateUrl: '/app/components/search/search-reassign-modal.component.html',\n controller: SearchReassignModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchReassignModalController($element, $scope, $sce, $uibModal, $document, legacy, urlHelper) {\n var $ctrl = this;\n $ctrl.submit = submit;\n $ctrl.$onInit = onInit;\n var originalIframeUrl = legacy.iframeUrl + \"/AlertDesk/Search/SearchReassign\";\n $ctrl.selectedDealerId;\n $ctrl.iframeUrl;\n $ctrl.dealsheetDomain;\n\n function onInit() {\n var rendered = $ctrl.resolve.data.rendered;\n\n if ($ctrl.resolve.data.selectedDealerId === undefined) {\n $ctrl.selectedDealerId = 0;\n } else {\n $ctrl.selectedDealerId = $ctrl.resolve.data.selectedDealerId;\n }\n\n $ctrl.dealsheetDomain = $ctrl.resolve.data.dealsheetDomain;\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeUrl + \"?dealerID=\" + $ctrl.selectedDealerId + \"&ds=\" + $ctrl.dealsheetDomain);\n rendered.then(function () {\n var iframe = $element.find(\".ifrmSearchReassign\")[0];\n var origin = getUrlComponents(originalIframeUrl).origin;\n $ctrl.messageChannel = new ChildMessagePort(iframe, origin, $scope);\n $ctrl.messageChannel.subscribe(function (_ref, replyPort) {\n var data = _ref.data;\n\n if (data.type === \"SEARCH_REASSIGN_SELECTED_USERS\") {\n $ctrl.close({\n $value: {\n assignedUsers: data.data.assignedUsers\n }\n });\n }\n });\n });\n }\n\n function submit() {\n var msg = {\n type: \"SEARCH_SUBMIT_REASSIGN\",\n data: {\n selectedDealerId: $ctrl.selectedDealerId\n }\n };\n $ctrl.messageChannel.postMessage(msg);\n }\n}","import \"core-js/modules/es6.array.find\";\nSearchAddAccessModalController.$inject = [\"$element\", \"$scope\", \"$sce\", \"$uibModal\", \"$document\", \"legacy\", \"urlHelper\"];\n\n/* injects from baggage-loader */\nrequire('./search-add-access-modal.component.html');\n\nimport angular from 'angular';\nimport { getUrlComponents } from \"../../utilities/url\";\nimport { ChildMessagePort } from '../../utilities/messaging';\nimport './search-add-access-modal.component.scss';\nangular.module('AaApp.Opp').component('searchAddAccessModal', {\n templateUrl: '/app/components/search/search-add-access-modal.component.html',\n controller: SearchAddAccessModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchAddAccessModalController($element, $scope, $sce, $uibModal, $document, legacy, urlHelper) {\n var $ctrl = this;\n $ctrl.submit = submit;\n $ctrl.$onInit = onInit;\n var originalIframeUrl = legacy.iframeUrl + \"/AlertDesk/Search/SearchAddAccess\";\n $ctrl.selectedDealerId;\n $ctrl.iframeUrl;\n $ctrl.dealsheetDomain;\n\n function onInit() {\n var rendered = $ctrl.resolve.data.rendered;\n\n if ($ctrl.resolve.data.selectedDealerId === undefined) {\n $ctrl.selectedDealerId = 0;\n } else {\n $ctrl.selectedDealerId = $ctrl.resolve.data.selectedDealerId;\n }\n\n $ctrl.dealsheetDomain = $ctrl.resolve.data.dealsheetDomain;\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeUrl + \"?dealerID=\" + $ctrl.selectedDealerId + \"&ds=\" + $ctrl.dealsheetDomain);\n rendered.then(function () {\n var iframe = $element.find(\".ifrmSearchAddAccess\")[0];\n var origin = getUrlComponents(originalIframeUrl).origin;\n $ctrl.messageChannel = new ChildMessagePort(iframe, origin, $scope);\n $ctrl.messageChannel.subscribe(function (_ref, replyPort) {\n var data = _ref.data;\n\n if (data.type === \"SEARCH_ADD_ACCESS_SELECTED_USERS\") {\n $ctrl.close({\n $value: {\n assignedUsers: data.data.assignedUsers\n }\n });\n }\n });\n });\n }\n\n function submit() {\n var msg = {\n type: \"SEARCH_SUBMIT_ADD_ACCESS\",\n data: {\n selectedDealerId: $ctrl.selectedDealerId\n }\n };\n $ctrl.messageChannel.postMessage(msg);\n }\n}","import \"core-js/modules/es6.array.find\";\nSearchDirectAlertModalController.$inject = [\"$element\", \"$scope\", \"$sce\", \"legacy\"];\n\n/* injects from baggage-loader */\nrequire('./search-direct-alert-modal.component.html');\n\nimport angular from 'angular';\nimport { getUrlComponents } from \"../../utilities/url\";\nimport { ChildMessagePort } from '../../utilities/messaging';\nimport './search-direct-alert-modal.component.scss';\nangular.module('AaApp.Opp').component('searchDirectAlertModal', {\n templateUrl: '/app/components/search/search-direct-alert-modal.component.html',\n controller: SearchDirectAlertModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SearchDirectAlertModalController($element, $scope, $sce, legacy) {\n var $ctrl = this; //$ctrl.submit = submit;\n\n $ctrl.$onInit = onInit;\n var originalIframeUrl = legacy.iframeUrl + \"/AlertDesk/Search/SearchDirectAlert\";\n $ctrl.selectedDealerId;\n $ctrl.iframeUrl;\n\n function onInit() {\n var rendered = $ctrl.resolve.data.rendered;\n\n if ($ctrl.resolve.data.selectedDealerId === undefined) {\n $ctrl.selectedDealerId = 0;\n } else {\n $ctrl.selectedDealerId = $ctrl.resolve.data.selectedDealerId;\n }\n\n var searchCriteria = $ctrl.resolve.data.searchCriteria;\n var searchResultsForm = $ctrl.resolve.data.searchResultsForm;\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(originalIframeUrl + \"?dealerID=\" + $ctrl.selectedDealerId);\n rendered.then(function () {\n var iframe = $element.find(\".ifrmSearchDirectAlert\")[0];\n var origin = getUrlComponents(originalIframeUrl).origin;\n $ctrl.messageChannel = new ChildMessagePort(iframe, origin, $scope);\n var msg = {\n type: \"SEARCH_INIT_DIRECT_ALERT\",\n data: {\n searchCriteria: searchCriteria,\n searchResultsForm: searchResultsForm\n }\n };\n $ctrl.messageChannel.postMessage(msg);\n $ctrl.messageChannel.subscribe(function (_ref, replyPort) {\n var data = _ref.data;\n\n if (data.type === \"SEARCH_DIRECT_ALERT_COMPLETE\") {\n $ctrl.close({\n $value: {\n url: data.data.url\n }\n });\n }\n });\n });\n }\n}","SearchDirectAlertController.$inject = [\"$sce\"];\n\n/* injects from baggage-loader */\nrequire('./search-directalert.component.html');\n\nimport angular from 'angular';\nangular.module('AaApp.Opp').component('searchDirectAlert', {\n templateUrl: '/app/components/search/search-directalert.component.html',\n controller: SearchDirectAlertController,\n bindings: {\n url: '<'\n }\n});\n/* @ngInject */\n\nfunction SearchDirectAlertController($sce) {\n var $ctrl = this;\n $ctrl.iframeUrl;\n $ctrl.$onInit = init;\n\n function init() {\n $ctrl.iframeUrl = $sce.trustAsResourceUrl(decodeURIComponent($ctrl.url));\n }\n}","import \"core-js/modules/es6.function.name\";\nSaveSearchResponseModalController.$inject = [\"$element\", \"$scope\", \"$sce\", \"$uibModal\", \"$document\", \"legacy\", \"urlHelper\"];\n\n/* injects from baggage-loader */\nrequire('./search-save-response-modal.component.html');\n\nimport angular from 'angular';\nimport { saveResponseCodes } from './searchfilter-definitions';\nimport './search-save-response-modal.component.scss';\nangular.module('AaApp.Opp').component('searchSaveResponseModal', {\n templateUrl: '/app/components/search/search-save-response-modal.component.html',\n controller: SaveSearchResponseModalController,\n bindings: {\n resolve: '<',\n saveSearchResponse: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction SaveSearchResponseModalController($element, $scope, $sce, $uibModal, $document, legacy, urlHelper) {\n var $ctrl = this;\n $ctrl.$onInit = onInit;\n $ctrl.saveResponse = $ctrl.resolve.saveResponse;\n $ctrl.saveResponseCodes = saveResponseCodes;\n $ctrl.getDealerNameById = getDealerNameById;\n $ctrl.dealers = $ctrl.resolve.dealers;\n\n function onInit() {}\n\n function getDealerNameById(dealerId) {\n if ($ctrl.dealers != null) {\n var dealer = $ctrl.dealers.filter(function (d) {\n return d.id == dealerId;\n });\n if (dealer.length > 0) return dealer[0].name;\n }\n\n return \"\"; // this should never happen\n }\n}","import \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es7.symbol.async-iterator\";\nimport \"core-js/modules/es6.symbol\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.sort\";\neditWishListModalController.$inject = [\"_\", \"$q\", \"$timeout\", \"$filter\", \"vehicleService\"];\n\n/* injects from baggage-loader */\nrequire('./edit-wish-list-modal.component.html');\n\nimport angular from 'angular';\nimport './edit-wish-list-modal.component.scss'; //import $ from 'jquery';\n\nangular.module('AaApp.Opp').component('editWishListModal', {\n templateUrl: '/app/components/wish-list/edit-wish-list-modal.component.html',\n controller: editWishListModalController,\n bindings: {\n resolve: '<',\n close: '&',\n dismiss: '&'\n }\n});\n/* @ngInject */\n\nfunction editWishListModalController(_, $q, $timeout, $filter, vehicleService) {\n var $ctrl = this;\n $ctrl.$onInit = init;\n $ctrl.$onChanges = onChanges; //$ctrl.resolve is sent by the caller of this directive, and can be any JS object.\n // I'm using it to enable DI and pass input parameters.\n\n $ctrl.row = $ctrl.resolve.message.row;\n $ctrl.selectedDealerId = $ctrl.resolve.message.selectedDealerId;\n $ctrl.translations = $ctrl.resolve.message.translations;\n $ctrl.wishListCriteria;\n $ctrl.save = $ctrl.resolve.message.save;\n $ctrl.closeWrapper = closeWrapper;\n $ctrl.selectedMake;\n $ctrl.selectedModel;\n $ctrl.selectedYearMin;\n $ctrl.selectedYearMax;\n $ctrl.selectedTrims = [];\n $ctrl.selectedOdometerMin;\n $ctrl.selectedOdometerMax;\n $ctrl.selectedUsers = [];\n $ctrl.selectedExpirationDate;\n $ctrl.makes;\n $ctrl.models;\n $ctrl.yearIDs;\n $ctrl.updateModels = updateModels;\n $ctrl.updateTrims = updateTrims;\n $ctrl.showBlankOptions = false;\n $ctrl.showBlankModelTrimOptions = false;\n $ctrl.defaultExpirationDate;\n $ctrl.datePickerOptions = {\n startingDay: 0,\n showWeeks: false,\n minDate: null,\n maxDate: null\n };\n $ctrl.users = [];\n $ctrl.isActive = true;\n $ctrl.trims = [];\n $ctrl.trimList = [];\n $ctrl.showAllMakes = true;\n $ctrl.wishListCriteria;\n $ctrl.isEditMode = false;\n $ctrl.wishListEditForm;\n $ctrl.selectedTrimCount;\n $ctrl.validateTrimSelections = validateTrimSelections;\n $ctrl.validateUserSelections = validateUserSelections;\n $ctrl.validateExpirationDate = validateExpirationDate;\n $ctrl.validateYearSelections = validateYearSelections;\n $ctrl.validateOdometerSelections = validateOdometerSelections;\n $ctrl.yearChanged = yearChanged;\n $ctrl.distributionListTouched = false;\n $ctrl.expirationDateTouched = false; // We're wrapping this in a Angular $timeout to insure the validation is performed in the next\n // event loop no matter what. There were times when the model values and input values weren't\n // synchronized causing inconsistent validation results.\n\n $ctrl.checkValidation = function () {\n $timeout(function () {\n $ctrl.resolve.submitButtonDisabled = !($ctrl.wishListEditForm.$valid && $ctrl.wishListEditForm.$dirty);\n }, 20);\n };\n\n function init() {\n $ctrl.users = $ctrl.resolve.message.users.map(function (u) {\n return {\n value: u.userID,\n nameText: u.fullName\n };\n });\n }\n\n function onChanges(changes) {\n // set default to 6 months from current date:\n $ctrl.selectedExpirationDate = $ctrl.defaultExpirationDate = new Date(new Date().setMonth(new Date().getMonth() + 6));\n $q.all([vehicleService.getMakes($ctrl.showAllMakes ? null : [$ctrl.selectedDealerId], null), vehicleService.getYearIDs($ctrl.selectedDealerId, false, $ctrl.yearLimit)]).then(function (data) {\n $ctrl.makes = data[0].sort(byMakeName);\n $ctrl.yearIDs = data[1].sort(descending);\n\n if ($ctrl.yearLimit && !($ctrl.yearLimit < 255)) {\n $ctrl.yearIDs.splice($ctrl.yearLimit, $ctrl.yearIDs.length - $ctrl.yearLimit);\n }\n\n if ($ctrl.row) {\n // data coming from EXISTING ROW:\n $ctrl.isEditMode = true;\n $ctrl.resolve.submitButtonDisabled = false;\n $ctrl.wishListEditForm.$setDirty();\n var row = $ctrl.row;\n $ctrl.wishListCriteria = {\n dealerWishListID: row.dealerWishListID,\n makeID: row.searchObject.makeID,\n makeName: row.searchObject.makeName,\n yearMin: row.searchObject.yearMin,\n yearMax: row.searchObject.yearMax,\n modelName: row.searchObject.modelName,\n modelIdList: row.searchObject.modelIdList,\n trimList: row.searchObject.trimList,\n odometerMin: row.searchObject.odometerMin,\n odometerMax: row.searchObject.odometerMax,\n distributionList: row.distributionList,\n active: row.active\n };\n $ctrl.selectedExpirationDate = $ctrl.defaultExpirationDate = row.expirationDateUtc;\n } else {\n // adding a NEW ROW:\n $ctrl.isEditMode = false;\n $ctrl.wishListEditForm.$setValidity('userReq', false); // Set defaults for adding a new wishlist record:\n\n $ctrl.wishListCriteria = {\n dealerWishListID: -1,\n makeID: null,\n makeName: null,\n yearMin: null,\n yearMax: null,\n modelName: null,\n modelIdList: [],\n trimList: [],\n odometerMin: null,\n odometerMax: null,\n distributionList: [],\n active: true\n };\n }\n\n if ($ctrl.selectedDealerId && $ctrl.wishListCriteria) {\n if ($ctrl.isEditMode) {\n $ctrl.selectedMake = {\n makeID: $ctrl.wishListCriteria.makeID,\n makeName: $ctrl.wishListCriteria.makeName\n };\n $ctrl.selectedModel = {\n modelName: $ctrl.wishListCriteria.modelName,\n modelIds: $ctrl.wishListCriteria.modelIdList\n };\n }\n\n $ctrl.distributionListTouched = false;\n $ctrl.expirationDateTouched = false;\n\n if ($ctrl.wishListCriteria.yearMin) {\n $ctrl.selectedYearMin = $ctrl.wishListCriteria.yearMin;\n } else {\n $ctrl.selectedYearMin = $ctrl.yearIDs[0];\n }\n\n if ($ctrl.wishListCriteria.yearMax) {\n $ctrl.selectedYearMax = $ctrl.wishListCriteria.yearMax;\n } else {\n $ctrl.selectedYearMax = $ctrl.yearIDs[0];\n }\n\n var years = _.range($ctrl.selectedYearMin, $ctrl.selectedYearMax + 1);\n\n if ($ctrl.wishListCriteria.odometerMin) {\n $ctrl.selectedOdometerMin = $ctrl.wishListCriteria.odometerMin;\n }\n\n if ($ctrl.wishListCriteria.odometerMax) {\n $ctrl.selectedOdometerMax = $ctrl.wishListCriteria.odometerMax;\n }\n\n if ($ctrl.wishListCriteria.distributionList && $ctrl.wishListCriteria.distributionList.length > 0) {\n $ctrl.selectedUsers = [];\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = $ctrl.users[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var user = _step.value;\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = $ctrl.wishListCriteria.distributionList[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var distUserId = _step2.value;\n\n if (user.value === distUserId) {\n $ctrl.selectedUsers.push({\n value: user.value,\n nameText: user.nameText\n });\n }\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n }\n\n $ctrl.isActive = $ctrl.wishListCriteria.active;\n\n if ($ctrl.wishListCriteria.makeID) {\n $q.all([vehicleService.getModelsByMakesYears([$ctrl.wishListCriteria.makeID], years)]).then(function (data) {\n var models = data[0];\n var uniqueModelsByName = $filter('unique')(models, 'modelName');\n $ctrl.models = uniqueModelsByName.map(function (m) {\n return {\n modelName: m.modelName,\n modelIds: getModelIds(models, m.modelName)\n };\n }).sort(byModelName);\n\n if ($ctrl.wishListCriteria.dealerWishListID) {\n updateTrims();\n } //Set blank for all\n\n\n if ($ctrl.showBlankOptions) {\n $ctrl.makes.unshift({\n makeID: \"\",\n makeName: \"\"\n });\n $ctrl.models.unshift({\n modelIds: [],\n modelName: \"\"\n });\n } //Set blank for Model Trim only\n\n\n if ($ctrl.showBlankModelTrimOptions) {\n $ctrl.models.unshift({\n modelIds: [],\n modelName: \"\"\n });\n if (!$ctrl.selectedModel.modelName) $ctrl.selectedModel = $ctrl.models[0];\n }\n });\n }\n }\n });\n }\n\n function validateExpirationDate(e) {\n $ctrl.selectedExpirationDate = e;\n $ctrl.expirationDateTouched = true;\n var currentDate = new Date();\n\n if ($ctrl.selectedExpirationDate) {\n $ctrl.wishListEditForm.$setValidity('expirationDateReq', true);\n } else {\n $ctrl.wishListEditForm.$setValidity('expirationDateReq', false);\n }\n\n if (!$ctrl.isEditMode && $ctrl.selectedExpirationDate && $ctrl.selectedExpirationDate <= currentDate) {\n $ctrl.wishListEditForm.$setValidity('expirationDatePast', false);\n } else {\n $ctrl.wishListEditForm.$setValidity('expirationDatePast', true);\n }\n\n $ctrl.checkValidation();\n }\n\n function validateTrimSelections() {\n if ($ctrl.selectedTrims && $ctrl.selectedTrims.length > 3) {\n $ctrl.wishListEditForm.$setValidity('trimCount', false);\n } else {\n $ctrl.wishListEditForm.$setValidity('trimCount', true);\n }\n\n $ctrl.checkValidation();\n }\n\n function validateOdometerSelections() {\n if (parseInt($ctrl.selectedOdometerMin) >= parseInt($ctrl.selectedOdometerMax)) {\n $ctrl.wishListEditForm.$setValidity('odometerRange', false);\n } else {\n $ctrl.wishListEditForm.$setValidity('odometerRange', true);\n }\n\n $ctrl.checkValidation();\n }\n\n function validateYearSelections() {\n if (parseInt($ctrl.selectedYearMin) > parseInt($ctrl.selectedYearMax)) {\n $ctrl.wishListEditForm.$setValidity('yearRange', false);\n } else {\n $ctrl.wishListEditForm.$setValidity('yearRange', true);\n }\n\n $ctrl.checkValidation();\n }\n\n function validateUserSelections() {\n $ctrl.distributionListTouched = true;\n\n if ($ctrl.selectedUsers && $ctrl.selectedUsers.length > 0) {\n $ctrl.wishListEditForm.$setValidity('userReq', true);\n } else {\n $ctrl.wishListEditForm.$setValidity('userReq', false);\n }\n\n if ($ctrl.selectedUsers && $ctrl.selectedUsers.length > 20) {\n $ctrl.wishListEditForm.$setValidity('userMaxExceeded', false);\n } else {\n $ctrl.wishListEditForm.$setValidity('userMaxExceeded', true);\n }\n\n $ctrl.checkValidation();\n }\n\n function yearChanged() {\n validateYearSelections();\n updateModels();\n }\n\n function descending(number1, number2) {\n return number2 - number1;\n }\n\n function byMakeName(object1, object2) {\n if (object1.makeName < object2.makeName) return -1;\n if (object1.makeName > object2.makeName) return 1;\n return 0;\n }\n\n function byModelName(object1, object2) {\n if (object1.modelName < object2.modelName) return -1;\n if (object1.modelName > object2.modelName) return 1;\n return 0;\n }\n\n function byTrimName(object1, object2) {\n if (object1.trimName < object2.trimName) return -1;\n if (object1.trimName > object2.trimName) return 1;\n return 0;\n }\n\n function updateModels() {\n // first clear out any selected models and trims\n $ctrl.models = [];\n $ctrl.selectedModel = null;\n $ctrl.trims = [];\n $ctrl.trimList = [];\n $ctrl.selectedTrims = [];\n $ctrl.checkValidation();\n if (!$ctrl.selectedMake) return;\n\n if ($ctrl.selectedMake.makeID && $ctrl.selectedYearMin && $ctrl.selectedYearMax) {\n var years = _.range($ctrl.selectedYearMin, $ctrl.selectedYearMax + 1);\n\n vehicleService.getModelsByMakesYears([$ctrl.selectedMake.makeID], years).then(setModels);\n } else {\n setModels(null);\n }\n }\n\n function updateTrims() {\n if ($ctrl.selectedModel && $ctrl.selectedModel.modelName) {\n vehicleService.getTrims($ctrl.selectedModel.modelIds).then(setTrims);\n } else {\n setTrims(null);\n }\n\n $ctrl.checkValidation();\n }\n\n function setModels(models) {\n if (models && models.length > 0) {\n var uniqueModelsByName = $filter('unique')(models, 'modelName');\n $ctrl.models = uniqueModelsByName.map(function (m) {\n return {\n modelName: m.modelName,\n modelIds: getModelIds(models, m.modelName)\n };\n }).sort(byModelName);\n\n if ($ctrl.showBlankOptions || $ctrl.showBlankModelTrimOptions) {\n $ctrl.models.unshift({\n modelIds: [],\n modelName: \"\"\n });\n }\n } else {\n $ctrl.models = [{\n modelIds: [],\n modelName: \"\"\n }];\n }\n\n $ctrl.checkValidation();\n }\n\n function setTrims(trims) {\n $ctrl.trims = [];\n $ctrl.trimList = [];\n $ctrl.selectedTrims = [];\n\n if (trims && trims.length > 0) {\n var uniqueTrimByName = $filter('unique')(trims, 'trimName');\n $ctrl.trims = uniqueTrimByName.map(function (t) {\n return {\n trimName: t.trimName,\n trimIds: getTrimIds(trims, t.trimName)\n };\n }).sort(byTrimName);\n }\n\n $ctrl.trimList = $ctrl.trims.map(function (t) {\n return {\n value: t.trimIds.sort().join(','),\n nameText: t.trimName\n };\n });\n\n if ($ctrl.wishListCriteria.trimList && $ctrl.wishListCriteria.trimList.length > 0) {\n $ctrl.selectedTrims = $ctrl.wishListCriteria.trimList.map(function (t) {\n return {\n value: t.trimIdList.sort().join(','),\n nameText: t.trimName\n };\n });\n }\n\n $ctrl.checkValidation();\n }\n\n function getModelIds(models, modelName) {\n var ids = [];\n\n if (modelName) {\n models = models.filter(filterByModelName(modelName));\n\n for (var i = 0; i < models.length; i++) {\n ids.push(models[i].modelID);\n }\n }\n\n return ids;\n }\n\n function getTrimIds(trims, trimName) {\n var ids = [];\n\n if (trimName) {\n trims = trims.filter(filterByTrimName(trimName));\n\n for (var i = 0; i < trims.length; i++) {\n ids.push(trims[i].trimID);\n }\n }\n\n return ids;\n }\n\n function filterByModelName(modelName) {\n return function (model) {\n return model.modelName == modelName;\n };\n }\n\n function filterByTrimName(trimName) {\n return function (trim) {\n return trim.trimName == trimName;\n };\n }\n\n function closeWrapper() {\n validateTrimSelections();\n validateUserSelections();\n $ctrl.checkValidation();\n if (!$ctrl.wishListEditForm.$valid) return;\n var rowState = {\n createUserFullName: null,\n modifyUserFullName: null,\n dealerWishListID: $ctrl.wishListCriteria.dealerWishListID,\n dealerID: $ctrl.selectedDealerId,\n expirationDateUtc: $ctrl.selectedExpirationDate,\n active: $ctrl.isActive,\n searchObject: {\n makeID: $ctrl.selectedMake.makeID,\n makeName: $ctrl.selectedMake.makeName,\n modelIdList: $ctrl.selectedModel.modelIds,\n modelName: $ctrl.selectedModel.modelName,\n yearMin: $ctrl.selectedYearMin,\n yearMax: $ctrl.selectedYearMax,\n odometerMin: $ctrl.selectedOdometerMin,\n odometerMax: $ctrl.selectedOdometerMax,\n trimList: $ctrl.selectedTrims.map(function (t) {\n return {\n trimName: t.nameText,\n trimIdList: t.value.split(',')\n };\n })\n },\n distributionList: $ctrl.selectedUsers.map(function (u) {\n return u.value;\n }),\n createUserID: -1,\n createDateUtc: new Date(),\n modifyUserID: -1,\n modifyDateUtc: new Date()\n };\n $ctrl.save(rowState); ////The CLOSE() event should be called asyncronously, after the SAVE feature is successful.\n\n return $ctrl.close();\n }\n\n if ($ctrl.resolve.closeButtonVisible === undefined) $ctrl.resolve.closeButtonVisible = true;\n if ($ctrl.resolve.closeButtonText === undefined) $ctrl.resolve.closeButtonText = \"cancel\";\n if ($ctrl.resolve.submitButtonVisible === undefined) $ctrl.resolve.submitButtonVisible = true;\n if ($ctrl.resolve.submitButtonDisabled === undefined) $ctrl.resolve.submitButtonDisabled = false;\n if ($ctrl.resolve.submitButtonText === undefined) $ctrl.resolve.submitButtonText = \"yes\";\n}","import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es7.promise.finally\";\nPossibleNloController.$inject = [\"$translate\", \"$q\", \"dealerService\", \"userService\", \"dealSheetService\", \"searchService\", \"cultures\", \"environmentVariables\", \"logger\", \"$filter\", \"opportunity2Service\", \"opportunityService\", \"_\"];\n\n/* injects from baggage-loader */\nrequire('./possible-nlo.component.html');\n\nimport angular from 'angular';\nimport './possible-nlo.component.scss';\nimport BusyIndicator from '../../utilities/BusyIndicator';\nimport $ from 'jquery';\nangular.module('AaApp.Opp').component('possibleNlo', {\n templateUrl: '/app/components/possible-nlo/possible-nlo.component.html',\n controller: PossibleNloController,\n bindings: {\n kendo: '<'\n }\n});\n\nfunction PossibleNloController($translate, $q, dealerService, userService, dealSheetService, searchService, cultures, environmentVariables, logger, $filter, opportunity2Service, opportunityService, _) {\n \"ngInject\";\n\n var $ctrl = this;\n var opportunityService = environmentVariables.opportunityServiceAng8Enabled ? opportunity2Service : opportunityService;\n $ctrl.$onInit = init;\n $ctrl.onDealerSelect = onDealerSelect;\n $ctrl.busyIndicator = new BusyIndicator();\n $ctrl.setKendoCulture = setKendoCulture;\n $ctrl.loadNloData = loadNloData;\n $ctrl.getTranslations = getTranslations;\n $ctrl.environmentVariables = environmentVariables;\n $ctrl.cultureName;\n $ctrl.translations = {};\n $ctrl.users;\n $ctrl.childGridOptions = childGridOptions;\n $ctrl.loadDealSheet = loadDealSheet;\n\n function init() {\n $ctrl.dealers = dealerService.getSelectedDealers();\n $ctrl.selectedDealerId = $ctrl.dealers[0].id;\n $q.all([userService.getUserProfile(), $ctrl.getTranslations()]).then(function (data) {\n var userProfile = data[0];\n $ctrl.translations = data[1];\n $ctrl.cultureName = userProfile.cultureName;\n setKendoCulture();\n initGridOptions();\n onDealerSelect();\n });\n }\n\n function busy(translationKey, promise) {\n //global\n $ctrl.busyMessage = null;\n $translate(translationKey).then(function (translation) {\n $ctrl.busyMessage = translation;\n }, function (err) {\n $ctrl.busyMessage = translationKey;\n });\n var done = $ctrl.busyIndicator.start();\n return promise.finally(done);\n }\n\n function onDealerSelect(dealerId) {\n if (dealerId > 0) $ctrl.selectedDealerId = dealerId;\n loadNloData();\n }\n\n function setTestNloData() {\n var testData = [{\n entityID: 'A6496507-C998-E611-80D6-3CA82A11AF1E',\n dealerID: 1167,\n customerFullName: 'John Henderson',\n makeName: 'Honda',\n modelName: 'Accord',\n yearID: '2019',\n trimName: 'LX',\n maxInsertDateUtc: '07/04/2021 09:00:00',\n nloDetails: [{\n communicationSourceID: '001',\n communicationText: 'CUSTOMER SOLD CAR',\n insertDateUtc: '07/04/2021 09:00:00'\n }, {\n communicationSourceID: '002',\n communicationText: 'Vehicle was sold',\n insertDateUtc: '06/28/2021 09:00:00'\n }, {\n communicationSourceID: '003',\n communicationText: 'No longer owns vehicle',\n insertDateUtc: '06/14/2021 11:00:00'\n }]\n }, {\n entityID: 'A6496507-C998-E611-80D6-3CA82A11AF1E',\n dealerID: 1167,\n customerFullName: 'Jessica Smith',\n makeName: 'Mercedes-Benz',\n modelName: 'GLS',\n yearID: '2017',\n trimName: '',\n maxInsertDateUtc: '05/15/2021 09:00:00',\n nloDetails: [{\n communicationSourceID: '001',\n communicationText: 'CUSTOMER SOLD CAR',\n insertDateUtc: '07/04/2021 09:00:00'\n }, {\n communicationSourceID: '001',\n communicationText: 'Customer no longer owns vehicle',\n insertDateUtc: '06/22/2021 10:30:00'\n }]\n }, {\n entityID: 'A6496507-C998-E611-80D6-3CA82A11AF1E',\n dealerID: 1167,\n customerFullName: 'Jason Williams',\n makeName: 'Mercedes-Benz',\n modelName: 'S',\n yearID: '2015',\n trimName: '',\n maxInsertDateUtc: '05/10/2021 09:00:00',\n nloDetails: [{\n communicationSourceID: '001',\n communicationText: 'CUSTOMER SOLD CAR',\n insertDateUtc: '07/10/2021 14:00:00'\n }, {\n communicationSourceID: '001',\n communicationText: 'Sold car',\n insertDateUtc: '07/06/2021 15:00:00'\n }, {\n communicationSourceID: '002',\n communicationText: 'Vehicle was sold',\n insertDateUtc: '06/28/2021 09:00:00'\n }, {\n communicationSourceID: '003',\n communicationText: 'No longer owns vehicle',\n insertDateUtc: '06/14/2021 11:00:00'\n }]\n }];\n return testData;\n }\n\n function loadNloData() {\n return busy($ctrl.translations.loading, searchService.getNoLongerOwnForDealer($ctrl.selectedDealerId).then(function (data) {\n $ctrl.nloData = data; //$ctrl.nloData = setTestNloData();\n\n $ctrl.ds = new $ctrl.kendo.data.DataSource({\n data: $ctrl.nloData,\n schema: {\n model: {\n id: 'entityID',\n fields: {\n entityID: {\n type: \"string\",\n editable: false\n },\n dealerID: {\n type: \"number\",\n editable: false\n },\n customerFullName: {\n type: \"string\",\n editable: false\n },\n makeName: {\n type: \"string\",\n editable: false\n },\n modelName: {\n type: \"string\",\n editable: false\n },\n yearID: {\n type: \"string\",\n editable: false\n },\n trimName: {\n type: \"string\",\n editable: false\n },\n maxInsertDateUtc: {\n type: \"date\",\n editable: false\n },\n nloDetails: {\n type: \"array\",\n editable: false\n }\n }\n }\n },\n sort: {\n field: \"maxInsertDateUtc\",\n dir: \"desc\"\n },\n batch: false,\n pageSize: 20\n });\n }));\n }\n\n function initGridOptions() {\n $ctrl.gridOptions = {\n dataSource: $ctrl.ds,\n pageable: true,\n height: 550,\n columns: [{\n field: \"customerFullName\",\n title: $ctrl.translations.customerLabel,\n template: renderCustomerLink,\n width: \"14%\",\n sortable: {\n compare: function compare(a, b) {\n var first = a.customerFullName.toLowerCase();\n var second = b.customerFullName.toLowerCase();\n first = first == null ? first = \"zzzz\" : first;\n second = second == null ? second = \"zzzz\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"makeName\",\n title: $ctrl.translations.make,\n template: '{{dataItem.makeName}}',\n width: \"14%\",\n sortable: {\n compare: function compare(a, b) {\n var first = a.makeName;\n var second = b.makeName;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"yearID\",\n title: $ctrl.translations.year,\n width: \"8%\",\n attributes: {\n style: \"text-align: center\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n },\n sortable: true\n }, {\n field: \"modelName\",\n title: $ctrl.translations.model,\n template: '{{dataItem.modelName}}',\n width: \"14%\",\n sortable: {\n compare: function compare(a, b) {\n var first = a.modelName;\n var second = b.modelName;\n first = first == null ? first = \"ZZZZ\" : first;\n second = second == null ? second = \"ZZZZ\" : second;\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n field: \"trimName\",\n title: $ctrl.translations.trim,\n width: \"23%\",\n sortable: true\n }, {\n field: \"maxInsertDateUtc\",\n title: $ctrl.translations.nloLatestDate,\n template: mostRecentDateTemplate,\n format: \"{0:d}\",\n width: \"14%\",\n sortable: {\n compare: function compare(a, b) {\n var first = a.maxInsertDateUtc ? a.maxInsertDateUtc : '';\n var second = b.maxInsertDateUtc ? b.maxInsertDateUtc : '';\n var answer = first < second ? -1 : 1;\n return answer;\n }\n }\n }, {\n command: [{\n name: \"Mark\",\n text: $ctrl.translations.nlo_Mark,\n click: markAsNLO\n }, {\n name: \"Decline\",\n text: $ctrl.translations.nlo_Decline,\n click: declineNLO\n }],\n title: $ctrl.translations.actions,\n width: \"230px\",\n attributes: {\n style: \"text-align: center\"\n },\n headerAttributes: {\n \"class\": \"align-center\"\n }\n }],\n editable: false,\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: true,\n reorderable: true,\n filterable: false\n };\n }\n\n function loadDealSheet(entityId) {\n dealSheetService.openDealSheetModal(entityId);\n }\n\n function renderCustomerLink(e) {\n if (e.entityID == null) return e.customerFullName;\n var dsLink = \"\" + e.customerFullName + \"\";\n return dsLink;\n }\n\n function markAsNLO(e) {\n e.preventDefault(); //prevent page scroll reset\n\n var tr = $(e.target).closest(\"tr\");\n var data = this.dataItem(tr);\n updateNLO(data.entityID, true);\n }\n\n function declineNLO(e) {\n e.preventDefault(); //prevent page scroll reset\n\n var tr = $(e.target).closest(\"tr\");\n var data = this.dataItem(tr);\n updateNLO(data.entityID, false);\n }\n\n function updateNLO(entityId, agreed) {\n // call api to mark as NLO or decline NLO then refresh deal sheet:\n opportunityService.updateActiveNLPNoLongerOwn(entityId, agreed).then(function () {\n logger.success(\"changesSaved\");\n loadNloData();\n });\n }\n\n function childGridOptions(dataItem) {\n dataItem.nloDetails.forEach(function (item) {\n var transKey = 'nloCommSrc_' + item.communicationSourceID;\n item.communicationSource = $ctrl.translations[transKey];\n });\n var ds = new $ctrl.kendo.data.DataSource({\n data: dataItem.nloDetails,\n schema: {\n model: {\n fields: {\n insertDateUtc: {\n type: \"date\",\n editable: false\n },\n communicationSource: {\n type: \"string\",\n editable: false\n },\n communicationText: {\n type: \"string\",\n editable: false\n }\n }\n }\n },\n sort: {\n field: \"insertDateUtc\",\n dir: \"desc\"\n },\n batch: false\n });\n return {\n dataSource: ds,\n pageable: false,\n columns: [{\n field: \"insertDateUtc\",\n title: $ctrl.translations.date,\n width: \"10%\",\n template: insertDateTemplate,\n format: \"{0:d}\",\n sortable: true\n }, {\n field: \"communicationSource\",\n title: $ctrl.translations.source,\n width: \"10%\",\n sortable: true\n }, {\n field: \"communicationText\",\n title: $ctrl.translations.nloMessage,\n width: \"80%\",\n sortable: true\n }],\n editable: false,\n sortable: {\n mode: \"single\",\n allowUnsort: false\n },\n resizable: false,\n reorderable: false,\n filterable: false\n };\n }\n\n function mostRecentDateTemplate(e) {\n var dateUtc = e.maxInsertDateUtc ? e.maxInsertDateUtc : '';\n\n if (dateUtc) {\n var localeDateFilter = $filter('localeDate');\n var localeDate = localeDateFilter(dateUtc);\n return \"\" + localeDate + \"\";\n } else {\n return \"\";\n }\n }\n\n function insertDateTemplate(e) {\n var dateUtc = e.insertDateUtc ? e.insertDateUtc : '';\n\n if (dateUtc) {\n var localeDateFilter = $filter('localeDate');\n var localeDate = localeDateFilter(dateUtc);\n return \"\" + localeDate + \"\";\n } else {\n return \"\";\n }\n }\n\n function setKendoCulture() {\n switch ($ctrl.cultureName) {\n case cultures.enUS:\n case cultures.enGB:\n case cultures.enCA:\n case cultures.frCA:\n case cultures.frFR:\n case cultures.esUS:\n $ctrl.kendo.culture($ctrl.cultureName);\n break;\n\n default:\n $ctrl.kendo.culture(cultures.enUS);\n break;\n }\n }\n\n function getTranslations() {\n return $q.all({\n 'dealerships': $translate('dealerships'),\n 'make': $translate('make'),\n 'model': $translate('model'),\n 'year': $translate('year'),\n 'date': $translate('date'),\n 'loading': $translate('loading'),\n 'faalertletter': $translate('faalertletter'),\n 'flexAlertLetter': $translate('flexAlertLetter'),\n 'inMarketLetter': $translate('inMarketLetter'),\n 'inMarketEngagedLetter': $translate('inMarketEngagedLetter'),\n 'contractEndLetter': $translate('contractEndLetter'),\n 'serviceLetter': $translate('serviceLetter'),\n 'serviceAppointmentLetter': $translate('serviceAppointmentLetter'),\n 'mileageLetter': $translate('mileageLetter'),\n 'warrantyLetter': $translate('warrantyLetter'),\n 'customerLabel': $translate('customerLabel'),\n 'trim': $translate('trim'),\n 'source': $translate('source'),\n 'actions': $translate('actions'),\n 'nloCommSrc_001': $translate('nloCommSrc_001'),\n 'nloCommSrc_002': $translate('nloCommSrc_002'),\n 'nloCommSrc_003': $translate('nloCommSrc_003'),\n 'nlo_Mark': $translate('nlo_Mark'),\n 'nlo_Decline': $translate('nlo_Decline'),\n 'nloCommandBtnsTooltip': $translate('nloCommandBtnsTooltip'),\n 'nloMessage': $translate('nloMessage'),\n 'nloLatestDate': $translate('nloLatestDate')\n });\n }\n}","import \"core-js/modules/es6.array.sort\";\nCustomerEngagementWidgetController.$inject = [\"$logFactory\", \"$timeout\", \"$uibModal\", \"customerEngagementService\"];\n\n/* injects from baggage-loader */\nrequire('./customer-engagement-widget.component.html');\n\nimport angular from 'angular';\nimport { OpportunitiesModule } from '../../core/opportunities.module';\nOpportunitiesModule.component('customerEngagementWidget', {\n templateUrl: '/app/components/header/customer-engagement-widget.component.html',\n controller: CustomerEngagementWidgetController,\n bindings: {\n onCustomerEngagementClicked: '&'\n }\n});\n\nfunction CustomerEngagementWidgetController($logFactory, $timeout, $uibModal, customerEngagementService) {\n \"ngInject\";\n\n var $ctrl = this;\n var $log = $logFactory.get(\"customerEngagementWidget\");\n $ctrl.hoursBack = 24;\n $ctrl.filters = {};\n $ctrl.engagements = [];\n $ctrl.newEngagementsCount = 0;\n $ctrl.lastViewedDate;\n $ctrl.$onInit = $onInit;\n $ctrl.show = show;\n $ctrl.onHoursBackChanged = _onHoursBackChanged;\n\n function $onInit() {\n $timeout(checkForNewEngagements);\n var subscription = customerEngagementService.newEngagements.subscribe(function (evt) {\n var engagementTime = new Date(evt.data.engagementTimeUtc);\n\n if (!$ctrl.lastViewedDate || engagementTime > $ctrl.lastViewedDate) {\n $log.debug(\"incremented count\");\n $ctrl.newEngagementsCount = $ctrl.newEngagementsCount + 1;\n }\n });\n\n this.$onDestroy = function () {\n return subscription.unsubscribe();\n };\n }\n\n function checkForNewEngagements() {\n customerEngagementService.getCustomerEngagement($ctrl.hoursBack).then(function (_ref) {\n var lastViewedDate = _ref.lastViewedDate,\n engagements = _ref.engagements;\n $log.debug(\"getCustomerEngagement:\", {\n lastViewedDate: lastViewedDate,\n engagements: engagements\n });\n $ctrl.lastViewedDate = lastViewedDate;\n $ctrl.engagements = sortEngagementsByDateDescending(engagements);\n $ctrl.newEngagementsCount = getNewEngagementsCount($ctrl.engagements);\n });\n\n function getNewEngagementsCount(engagements) {\n return engagements.filter(function (e) {\n return e.lastViewedCount > 0;\n }).reduce(function (total, engagement) {\n return total + engagement.lastViewedCount;\n }, 0);\n }\n }\n\n function show() {\n // Tell the server we've viewed everything, then mark it all as viewed\n // on our end\n customerEngagementService.markCustomerEngagementsViewed().then(function () {\n $ctrl.newEngagementsCount = 0;\n customerEngagementService.getCustomerEngagementLastViewed().then(function (lastViewed) {\n $ctrl.lastViewedDate = new Date(lastViewed.lastViewedDateUTC);\n $log.debug(\"new last viewed:\", $ctrl.lastViewedDate);\n });\n });\n $uibModal.open({\n component: 'customerEngagementWidgetWindow',\n size: 'mdsm',\n // medium-small\n resolve: {\n engagements: function engagements() {\n return $ctrl.engagements;\n },\n hoursBack: function hoursBack() {\n return $ctrl.hoursBack;\n },\n onHoursBackChanged: function onHoursBackChanged() {\n return _onHoursBackChanged;\n },\n onCustomerEngagementClicked: function onCustomerEngagementClicked() {\n return $ctrl.onCustomerEngagementClicked;\n }\n }\n });\n }\n\n function _onHoursBackChanged(_ref2) {\n var engagements = _ref2.engagements,\n hoursBack = _ref2.hoursBack;\n $ctrl.engagements = engagements;\n $ctrl.hoursBack = hoursBack;\n }\n}\n\nexport function sortEngagementsByDateDescending(engagements) {\n return engagements.slice().sort(function (a, b) {\n // subtracting Dates gives you the difference in milliseconds\n return b.eventDate - a.eventDate;\n });\n}","import \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.iterator\";\nimport \"core-js/modules/es7.object.values\";\nCustomerEngagementWidgetWindowController.$inject = [\"customerEngagementService\", \"$uibModal\", \"$filter\", \"dealerService\"];\n\n/* injects from baggage-loader */\nrequire('./customer-engagement-widget-window.component.html');\n\nimport { OpportunitiesModule } from '../../core/opportunities.module';\nimport moment from 'moment';\nimport { EngagementEventTypes, EngagementEventGroups } from '../../constants/engagement-event-types.constant';\nimport { sortEngagementsByDateDescending } from './customer-engagement-widget.component';\nimport { AssetTypes } from '../../constants';\nOpportunitiesModule.component('customerEngagementWidgetWindow', {\n templateUrl: '/app/components/header/customer-engagement-widget-window.component.html',\n controller: CustomerEngagementWidgetWindowController,\n bindings: {\n resolve: '<',\n // { engagements, hoursBack, onHoursBackChanged, onCustomerEngagementClicked }\n close: '&'\n }\n});\n\nfunction CustomerEngagementWidgetWindowController(customerEngagementService, $uibModal, $filter, dealerService) {\n \"ngInject\";\n\n var $ctrl = this;\n var assetTypes = AssetTypes;\n $ctrl.hoursBackOptions = [24, 48, 72];\n $ctrl.typeFilters = {};\n $ctrl.$onChanges = $onChanges;\n $ctrl.applyFilters = applyFilters;\n $ctrl.engagementClicked = engagementClicked;\n $ctrl.highEngagementClicked = highEngagementClicked;\n $ctrl.iconClassForEngagement = iconClassForEngagement;\n $ctrl.iconNameForEngagement = iconNameForEngagement;\n $ctrl.descriptionForEngagement = descriptionForEngagement;\n $ctrl.setHoursBack = setHoursBack;\n $ctrl.$onInit = init; // Engagements are already sorted by eventDate so set this as the current sortBy field\n\n $ctrl.sortBy = \"eventDate\";\n $ctrl.sortEngagements = sortEngagements;\n $ctrl.showReviewPro = false;\n $ctrl.filteredItems = [];\n $ctrl.pagedItems = [];\n $ctrl.maxPageSize = 10;\n $ctrl.maxMinArrows = \"false\";\n $ctrl.onPagedItems = onPagedItems;\n $ctrl.onPagerChange = onPagerChange;\n $ctrl.iconClassForReviewRating = iconClassForReviewRating;\n $ctrl.engagementEventGroups = EngagementEventGroups;\n $ctrl.sortEngagements_StandAlone = sortEngagements_StandAlone;\n $ctrl.resetPage = false;\n $ctrl.onResetComplete = onResetComplete;\n $ctrl.lastViewedDate;\n var $translateFilter = $filter('translate');\n\n function init() {\n dealerService.getIsAssetEnabledForDealer(assetTypes.geoAlert).then(function (geoAlertEnabled) {\n $ctrl.showGeoAlert = geoAlertEnabled;\n });\n dealerService.getIsAssetEnabledForDealer(assetTypes.reviewBuilderPro).then(function (reviewProEnabled) {\n $ctrl.showReviewPro = reviewProEnabled;\n });\n var subscription = customerEngagementService.newEngagements.subscribe(function (evt) {\n var engagementTime = new Date(evt.data.engagementTimeUtc);\n\n if (!$ctrl.lastViewedDate || engagementTime > $ctrl.lastViewedDate) {\n setHoursBack();\n }\n });\n\n this.$onDestroy = function () {\n return subscription.unsubscribe();\n };\n }\n\n function $onChanges(changes) {\n if (changes.resolve) {\n applyFilters();\n setHoursBack();\n }\n }\n\n function engagementClicked(engagement) {\n $ctrl.resolve.onCustomerEngagementClicked({\n engagement: engagement\n });\n }\n\n function highEngagementClicked(engagement, $event) {\n $event.stopPropagation();\n var dateFrom = getDateHoursBack($ctrl.resolve.hoursBack);\n engagement.workingPromise = customerEngagementService.getCustomerEngagementsByEntity(engagement.opportunityId, dateFrom, true).then(function (_engagements) {\n _engagements = _engagements.map(function (engagement) {\n return {\n description: $translateFilter(descriptionForEngagement(engagement)),\n eventDate: engagement.eventDate,\n engagementEventGroupId: engagement.engagementEventGroupId,\n reviewRating: engagement.reviewRating,\n ratingIcon: engagement.ratingIcon,\n ratingTitle: engagement.ratingTitle\n };\n });\n $uibModal.open({\n component: 'customerEngagementsByEntityModal',\n size: 'sm',\n // small\n resolve: {\n customerFullName: function customerFullName() {\n return engagement.customerFullName;\n },\n engagements: function engagements() {\n return _engagements;\n }\n }\n });\n });\n }\n\n function iconNameForEngagement(engagement) {\n switch (engagement.engagementEventGroupId) {\n case EngagementEventGroups.one2one:\n return 'o2o-offer';\n\n case EngagementEventGroups.web:\n return 'web';\n\n case EngagementEventGroups.reviews:\n return 'reviews';\n\n case EngagementEventGroups.text:\n return 'sms';\n\n case EngagementEventGroups.autoAssistant:\n return 'auto-assistant';\n }\n }\n\n function iconClassForEngagement(engagement) {\n switch (engagement.engagementEventGroupId) {\n case EngagementEventGroups.email:\n return 'aa-icon-core-email-icon-000000';\n\n case EngagementEventGroups.service:\n return 'aa-icon-service-drive';\n\n case EngagementEventGroups.intelligentMarketing:\n return 'im-offer-arrow-icon-blue';\n\n case EngagementEventGroups.geoAlert:\n return 'geo-alert-icon-blue';\n }\n }\n\n function descriptionForEngagement(engagement) {\n switch (engagement.engagementEventTypeId) {\n case EngagementEventTypes.newServiceAppointment:\n return 'newServiceAppointment';\n\n case EngagementEventTypes.inService:\n return 'inService';\n\n case EngagementEventTypes.emailOpened:\n return 'emailOpened';\n\n case EngagementEventTypes.emailReplied:\n return 'emailReplied';\n\n case EngagementEventTypes.textMessageReplied:\n return 'textMessageReply';\n\n case EngagementEventTypes.websiteEngaged:\n return 'websiteEngaged';\n\n case EngagementEventTypes.websiteLeadSubmission:\n return 'websiteLeadSubmission';\n\n case EngagementEventTypes.purlView:\n return 'purlView';\n\n case EngagementEventTypes.purlLeadSubmission:\n return 'purlLeadSubmission';\n\n case EngagementEventTypes.onlineServiceReview:\n return 'onlineServiceReview';\n\n case EngagementEventTypes.onlineSalesReview:\n return 'onlineSalesReview';\n\n case EngagementEventTypes.customerRequestedContact:\n return 'repliedToAutoAssistant';\n\n case EngagementEventTypes.purlViewIM:\n return 'purlView';\n\n case EngagementEventTypes.purlLeadSubmissionIM:\n return 'purlLeadSubmission';\n\n case EngagementEventTypes.activeGeoAlert:\n return 'geoAlertCustomer';\n }\n }\n\n function setHoursBack() {\n var hoursBack = parseInt($ctrl.resolve.hoursBack);\n $ctrl.workingPromise = customerEngagementService.getCustomerEngagement(hoursBack).then(function (_ref) {\n var lastViewedDate = _ref.lastViewedDate,\n engagements = _ref.engagements;\n engagements = sortEngagementsByDateDescending(engagements);\n $ctrl.lastViewedDate = lastViewedDate;\n $ctrl.resolve.engagements = engagements;\n $ctrl.resolve.onHoursBackChanged({\n engagements: engagements,\n hoursBack: hoursBack\n });\n applyFilters();\n });\n }\n\n function applyFilters() {\n $ctrl.filteredEngagements = getFilteredEngagements();\n sortEngagements($ctrl.sortBy); // for pagination\n\n $ctrl.filteredItems = $ctrl.filteredEngagements;\n onFilteredItems($ctrl.filteredItems);\n }\n\n function getFilteredEngagements() {\n return $ctrl.resolve.engagements.filter(filter);\n\n function filter(record) {\n return record && record.eventDate >= getDateHoursBack($ctrl.resolve.hoursBack) && (!shouldFilterByType() || filterByType(record)) && (!shouldFilterByHighEngagement() || record.highEngagement);\n }\n\n function shouldFilterByType() {\n // Filter only if at least one filter is enabled\n return Object.values($ctrl.typeFilters).some(function (v) {\n return v;\n });\n }\n\n function shouldFilterByHighEngagement() {\n return $ctrl.hotFilter;\n }\n\n function filterByType(record) {\n return $ctrl.typeFilters.one2one && (record.one2oneCount || record.intelligentMarketingCount) || $ctrl.typeFilters.email && record.emailCount || $ctrl.typeFilters.email && record.textMessageCount || $ctrl.typeFilters.email && record.autoAssistantCount || $ctrl.typeFilters.web && record.webCount || $ctrl.typeFilters.service && record.serviceCount || $ctrl.typeFilters.reviews && record.reviewCount || $ctrl.typeFilters.geoAlert && record.geoAlertCount;\n }\n }\n\n function getDateHoursBack(hoursBack) {\n return moment().subtract(hoursBack, 'hours').toDate();\n }\n\n function sortEngagements_StandAlone(field) {\n sortEngagements(field);\n $ctrl.filteredItems = $ctrl.filteredEngagements;\n $ctrl.resetPage = true;\n }\n\n function sortEngagements(field) {\n // Sort the data in descending order\n $ctrl.filteredEngagements.sort(function (a, b) {\n return b[field] - a[field];\n });\n } // modal pager control events\n\n\n function onPagerChange($value) {\n $ctrl.pager = $value;\n $ctrl.currentPage = $value.currentPage;\n $ctrl.totalPages = $value.totalPages;\n }\n\n function setPage(page) {\n $ctrl.resetPage = true;\n }\n\n function onResetComplete() {\n $ctrl.resetPage = false;\n }\n\n function onPagedItems($value) {\n $ctrl.pagedItems = $value;\n }\n\n function onFilteredItems($value) {\n $ctrl.filteredItems = $value;\n }\n\n function iconClassForReviewRating(onlineReviewRating) {\n return 'rating-' + onlineReviewRating + 'star';\n }\n}","CustomerEngagementsByEntityModalController.$inject = [\"customerEngagementService\"];\n\n/* injects from baggage-loader */\nrequire('./customer-engagements-by-entity-modal.component.html');\n\nimport angular from 'angular';\nimport { OpportunitiesModule } from '../../core/opportunities.module';\nimport { EngagementEventTypes, EngagementEventGroups } from '../../constants/engagement-event-types.constant';\nOpportunitiesModule.component('customerEngagementsByEntityModal', {\n templateUrl: '/app/components/header/customer-engagements-by-entity-modal.component.html',\n controller: CustomerEngagementsByEntityModalController,\n bindings: {\n resolve: '<',\n // { engagements, customerFullName }\n close: '&'\n }\n});\n\nfunction CustomerEngagementsByEntityModalController(customerEngagementService) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.iconClassForReviewRating = iconClassForReviewRating;\n $ctrl.engagementEventGroups = EngagementEventGroups;\n\n function iconClassForReviewRating(onlineReviewRating) {\n return 'rating-' + onlineReviewRating + 'star';\n }\n}","import \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\nDealerListController.$inject = [\"$q\", \"$document\", \"$scope\", \"$window\", \"$uibModal\", \"dealerService\", \"storageService\", \"_\"];\n\n/* injects from baggage-loader */\nrequire('./dealer-list.component.html');\n\nimport angular from 'angular';\nimport { OpportunitiesModule } from '../../core/opportunities.module';\nOpportunitiesModule.component('dealerList', {\n templateUrl: '/app/components/header/dealer-list.component.html',\n controller: DealerListController,\n bindings: {\n allowChanges: '<',\n isDisabled: '<',\n onDealersChanged: '&'\n }\n});\n\nfunction DealerListController($q, $document, $scope, $window, $uibModal, dealerService, storageService, _) {\n \"ngInject\";\n\n var $ctrl = this; //props\n\n $ctrl.errorMessage;\n $ctrl.visible = false;\n $ctrl.dealerSelections = {};\n $ctrl.IsReloadDialogOpen = false;\n $ctrl.noMatchFoundClick = false;\n $ctrl.selectionsAvailable;\n $ctrl.dealerIds = []; //methods\n\n $ctrl.$onInit = $onInit;\n $ctrl.$onDestroy = $onDestroy;\n $ctrl.$onChanges = $onChanges;\n $ctrl.toggleDealerList = toggleDealerList;\n $ctrl.setDealerSearchLimit = setDealerSearchLimit;\n $ctrl.selectAll = selectAll;\n $ctrl.removeAll = removeAll;\n $ctrl.cancelSelections = cancelSelections;\n $ctrl.changeDealers = changeDealers;\n $ctrl.noMatchSubmitChange = noMatchSubmitChange;\n $ctrl.selectDealerPromise;\n $ctrl.filterForEuroLite = filterForEuroLite;\n\n function sendOnDealersChanged(dealerGroupId, dealerIds, dealers, dealerDisplayText) {\n if ($ctrl.onDealersChanged) {\n $ctrl.onDealersChanged({\n dealerGroupId: dealerGroupId,\n dealerIds: dealerIds,\n dealers: dealers,\n dealerDisplayText: dealerDisplayText\n });\n }\n }\n\n function noMatchSubmitChange(selectionsAvailable) {\n $ctrl.selectionsAvailable = selectionsAvailable;\n\n if ($ctrl.dealerSearchLimit > 0 && $ctrl.selectionsAvailable == 0) {\n var submitButton = $document[0].querySelector('.dealer-search-submit');\n submitButton.focus();\n }\n\n $ctrl.errorMessage = '';\n }\n\n function showReloadDialog() {\n $ctrl.IsReloadDialogOpen = true;\n var parentElem = angular.element($document[0].querySelector('#aa-app'));\n var modalInstance = $uibModal.open({\n animation: true,\n component: 'confirmationModal',\n appendTo: parentElem,\n resolve: {\n title: function title() {\n return \"dealerChangedTitle\"; // translation key\n },\n message: function message() {\n return \"dealerChangedMsg\"; // translation key\n },\n submitButtonVisible: function submitButtonVisible() {\n return true;\n },\n submitButtonDisabled: function submitButtonDisabled() {\n return false;\n },\n submitButtonText: function submitButtonText() {\n return \"ok\"; // translation key\n },\n closeButtonVisible: function closeButtonVisible() {\n return false;\n }\n }\n });\n modalInstance.result.then(function () {\n $window.location.reload();\n }, function () {\n $window.location.reload();\n });\n }\n\n function $onInit() {\n fetchAndSetDealers(); // Reload the page if selectedDealerIds changes\n\n $ctrl.selectedDealersChangedSubscription = dealerService.onSelectedDealersChanged(function (value) {\n if (!$ctrl.IsReloadDialogOpen) {\n showReloadDialog();\n }\n });\n }\n\n function $onDestroy() {\n if ($ctrl.selectedDealersChangedSubscription) {\n $ctrl.selectedDealersChangedSubscription.unsubscribe();\n }\n }\n\n function $onChanges(changes) {\n $ctrl.dealerDisplayText = dealerService.getDealerDisplayText();\n\n if (changes.isDisabled) {\n $ctrl.errorMessage = $ctrl.isDisabled ? 'Changing dealers is not available on a Deal Sheet page.' : null;\n }\n\n function changeOrExistingValue(propertyChange, existingValue) {\n if (propertyChange) {\n return propertyChange.currentValue;\n } else {\n return existingValue;\n }\n }\n }\n\n function fetchAndSetDealers() {\n return dealerService.getDealers().then(function (allowedDealers) {\n $ctrl.dealerIds = dealerService.getSelectedDealerIds() || [];\n $ctrl.allowedDealers = allowedDealers;\n $ctrl.selectedDealers = allowedDealers.filter(function (d) {\n return $ctrl.dealerIds.includes(d.dealerID);\n });\n $ctrl.dealerSelections.list = $ctrl.selectedDealers;\n $ctrl.setDealerSearchLimit();\n });\n }\n\n function toggleDealerList() {\n $ctrl.visible = !$ctrl.visible;\n $ctrl.dealerSelections.list = $ctrl.selectedDealers;\n $ctrl.errorMessage = '';\n $scope.$broadcast('DealerSelectFocus');\n\n if ($ctrl.visible) {\n fetchAndSetDealers();\n }\n\n ;\n }\n\n function setDealerSearchLimit(searchText) {\n if (!($ctrl.dealerSearchLimit > 0 && $ctrl.selectionsAvailable == 0)) {\n if ($ctrl.dealerSelections && $ctrl.dealerSelections.list && $ctrl.dealerSelections.list.length > 0) {\n $ctrl.dealerSearchLimit = 50;\n } else if (searchText && searchText.length >= 2) {\n $ctrl.dealerSearchLimit = 30;\n } else {\n $ctrl.dealerSearchLimit = 0;\n }\n\n $scope.$broadcast('DealerSelectFocus');\n }\n }\n\n function cancelSelections() {\n $ctrl.dealerSelections.list = $ctrl.selectedDealers;\n $ctrl.visible = false;\n }\n\n function filterForEuroLite(dealers) {\n var dealersForEuroLite = _.filter(dealers, function (ds) {\n return ds.productID == 5;\n });\n\n if (dealersForEuroLite.length > 0) {\n return dealersForEuroLite;\n }\n\n return dealers;\n }\n\n function changeDealers() {\n if ($ctrl.dealerSelections.list.length > 0 && $ctrl.selectedDealers.length > 0 && $ctrl.dealerSelections.list.length == $ctrl.selectedDealers.length && isArrayEqual($ctrl.dealerSelections.list, $ctrl.selectedDealers, function (dealer) {\n return dealer.dealerID;\n })) {\n return;\n }\n\n $ctrl.dealerSelections.list = filterForEuroLite($ctrl.dealerSelections.list);\n\n if ($ctrl.dealerSelections.list.length > 0) {\n $ctrl.selectDealerPromise = $q.defer();\n var dealerGroupId = $ctrl.dealerSelections.list[0].dealerGroupID;\n var dealerIds = getDealerIds($ctrl.dealerSelections.list);\n var selectedDealers = getSelectedDealersBasicInfo($ctrl.dealerSelections.list);\n var dealerDisplayText = $ctrl.dealerSelections.list.length > 1 ? $ctrl.dealerSelections.list[0].dealerGroupName : $ctrl.dealerSelections.list[0].displayText;\n storageService.setItem(\"selectedDealerId\", $ctrl.dealerSelections.list.length == 1 ? $ctrl.dealerSelections.list[0].dealerID : 0); // Don't display the \"changed dealers\" message because, duh, we already know\n\n $ctrl.selectedDealersChangedSubscription && $ctrl.selectedDealersChangedSubscription.unsubscribe();\n sendOnDealersChanged(dealerGroupId, dealerIds, selectedDealers, dealerDisplayText);\n } else {\n $ctrl.errorMessage = 'Please select at least one dealer.';\n }\n }\n\n var isArrayEqual = function isArrayEqual(array1, array2, selector) {\n selector = selector || function (a) {\n return a;\n }; // If the lengths are unequal, the arrays must be unequal\n\n\n if (array1.length != array2.length) return false; // For each element in array1, look for a matching element in array2\n\n for (var i in array1) {\n var control = selector(array1[i]);\n\n if (!array2.some(function (candidate) {\n return selector(candidate) === control;\n })) {\n // If no matching element exists, the arrays are unequal\n return false;\n }\n }\n\n return true;\n };\n\n function getSelectedDealersBasicInfo(dealers) {\n var info = dealers.map(function (s) {\n return {\n id: s.dealerID,\n name: s.displayText\n };\n });\n return info;\n }\n\n function getDealerIds(dealers) {\n var dealerIds = [];\n\n for (var i = 0; i < dealers.length; i++) {\n dealerIds.push(dealers[i].dealerID);\n }\n\n return dealerIds;\n }\n\n function selectAll() {\n if ($ctrl.dealerSelections.list.length > 0) {\n var dealerGroupId = $ctrl.dealerSelections.list[0].dealerGroupID;\n $ctrl.dealerSelections.list = $ctrl.allowedDealers.filter(function (d) {\n return d.dealerGroupID == dealerGroupId;\n });\n }\n }\n\n function removeAll() {\n $ctrl.dealerSelections.list = [];\n }\n}","HeaderController.$inject = [\"dealerService\", \"$scope\", \"environmentVariables\", \"featureToggleService\"];\n\n/* injects from baggage-loader */\nrequire('./header.component.html');\n\nimport angular from 'angular';\nimport { ProductTypes as productTypes } from '../../constants';\nimport { OpportunitiesModule } from '../../core/opportunities.module';\nOpportunitiesModule.component('aaHeader', {\n templateUrl: '/app/components/header/header.component.html',\n controller: HeaderController,\n bindings: {\n allowChangingDealer: '<',\n isEulaAccepted: '<',\n isHeaderVisible: '<',\n selectedTab: '<',\n liveSupportDomain: '<',\n menu: '<',\n overrideLogoPath: '<',\n userFullName: '<',\n userMenuItems: '<',\n isAutoAlertUser: '<',\n isAuthenticated: '<',\n onDealersChanged: '&',\n onCustomerEngagementClicked: '&',\n productId: '<'\n },\n transclude: {\n 'userContext': '?headerUserContext',\n 'tabBarGutter': '?headerTabBarGutter',\n 'subMenu': '?headerSubMenu'\n }\n});\n\nfunction HeaderController(dealerService, $scope, environmentVariables, featureToggleService) {\n \"ngInject\";\n\n var $ctrl = this;\n $ctrl.$onInit = $onInit;\n $ctrl.$onChanges = $onChanges;\n $ctrl.productTypes = productTypes;\n\n function $onInit() {\n $ctrl.pandoInboxEnabled = environmentVariables.pandoInboxEnabled;\n $ctrl.enableCustomerEngagementWidget = featureToggleService.customerEngagementWidget();\n }\n\n function $onChanges(changes) {\n if (changes.overrideLogoPath) {\n // The binding is `overrideLogoPath` instead of just `logoPath`\n // becuase we would rather let the header choose to fall back\n // to the default header, rather than forcing the app send in\n // the default header's path. But, if we do that, this happens:\n //\n // 1. This component renders bound to `undefined`, so it falls\n // back to the default logo.\n // 2. The app resolves a promise and discovers this is a Ford user,\n // so it changes the binding to the fordLogoPath.\n // 3. This component re-renders with the ford Log.\n //\n // So until we can find a way to fix this, we have the app\n // supplying both the default and Ford logo paths.\n $ctrl.logoPath = $ctrl.overrideLogoPath;\n $ctrl.pandoInboxEnabled = environmentVariables.pandoInboxEnabled;\n }\n }\n}","LiveSupportController.$inject = [\"$window\", \"$timeout\"];\n\n/* injects from baggage-loader */\nrequire('./live-support.component.html');\n\nimport { OpportunitiesModule } from \"../../core/opportunities.module\";\nOpportunitiesModule.component(\"liveSupport\", {\n templateUrl: \"/app/components/header/live-support.component.html\",\n bindings: {\n isAuthenticated: \"<\",\n domain: \"<\"\n },\n controller: LiveSupportController\n});\n/* @ngInject */\n\nfunction LiveSupportController($window, $timeout) {\n var $ctrl = this; //$ctrl.linkId = \"static_id\";\n\n $ctrl.$onInit = function () {\n //$timeout(prepareLiveSupport, 2000);\n var initESW = function initESW(gslbBaseURL) {\n embedded_svc.settings.displayHelpButton = true; //Or false\n\n embedded_svc.settings.language = ''; //For example, enter 'en' or 'en-US'\n\n embedded_svc.settings.defaultMinimizedText = 'Live Support'; //(Defaults to Chat with an Expert)\n\n embedded_svc.settings.disabledMinimizedText = 'Submit A Case'; //(Defaults to Agent Offline)\n //embedded_svc.settings.loadingText = ''; //(Defaults to Loading)\n //embedded_svc.settings.storageDomain = 'yourdomain.com'; //(Sets the domain for your deployment so that visitors can navigate subdomains during a chat session)\n // Settings for Chat\n //embedded_svc.settings.directToButtonRouting = function(prechatFormData) {\n // Dynamically changes the button ID based on what the visitor enters in the pre-chat form.\n // Returns a valid button ID.\n //};\n //embedded_svc.settings.prepopulatedPrechatFields = {}; //Sets the auto-population of pre-chat form fields\n //embedded_svc.settings.fallbackRouting = []; //An array of button IDs, user IDs, or userId_buttonId\n\n embedded_svc.settings.offlineSupportMinimizedText = 'Submit A Case'; //(Defaults to Contact Us)\n\n embedded_svc.settings.enabledFeatures = ['LiveAgent'];\n embedded_svc.settings.entryFeature = 'LiveAgent';\n var chat = document.getElementById(\"aa-header-live-support\");\n embedded_svc.settings.targetElement = chat;\n embedded_svc.settings.extraPrechatInfo = [{\n \"entityName\": \"Case\",\n \"entityFieldMaps\": [{\n \"doCreate\": true,\n \"fieldName\": \"Status\",\n \"value\": \"Working\"\n }]\n }];\n embedded_svc.init('https://autoalert.my.salesforce.com', 'https://autoalert.my.salesforce-sites.com/', gslbBaseURL, '00Di0000000eHQ2', 'Chat', {\n baseLiveAgentContentURL: 'https://c.la3-core1.sfdc-lywfpd.salesforceliveagent.com/content',\n deploymentId: '572f3000000Cbfr',\n buttonId: '573f3000000Cbi2',\n baseLiveAgentURL: 'https://d.la3-core1.sfdc-lywfpd.salesforceliveagent.com/chat',\n eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04If3000000XZAHEA4_16f6d2b9055',\n isOfflineSupportEnabled: true\n });\n }; //initESW('https://service.force.com');\n\n\n if (!window.embedded_svc) {\n var s = document.createElement('script');\n s.setAttribute('src', 'https://autoalert.my.salesforce.com/embeddedservice/5.0/esw.min.js');\n\n s.onload = function () {\n initESW(null);\n };\n\n document.body.appendChild(s);\n } else {\n initESW('https://service.force.com');\n }\n }; //function prepareLiveSupport() {\n // // liveagent loaded in index.html\n // liveagent.init(\n // \"https://d.la1-c2cs-iad.salesforceliveagent.com/chat\",\n // \"572c00000008Ogl\",\n // \"00Dc0000003l4N7\"\n // );\n // if (!$window._laq) {\n // $window._laq = [];\n // }\n // $window._laq.push(function() {\n // liveagent.showWhenOnline(\n // \"573c00000008P0W\",\n // document.getElementById(\"salesForcePlaceholder\")\n // );\n // liveagent.showWhenOffline(\n // \"573c00000008P0W\",\n // document.getElementById(\"salesForcePlaceholder\")\n // );\n // });\n // let chat = document.getElementById(\"salesForcePlaceholder\");\n // chat.classList.remove(\"disabled\");\n // chat.classList.add(\"enabled\");\n //}\n\n}","MainMenuController.$inject = [\"storageService\", \"userService\"];\n\n/* injects from baggage-loader */\nrequire('./main-menu.component.html');\n\nimport angular from 'angular';\nimport _ from 'lodash';\nimport { ProductTypes as productTypes } from '../../constants';\nimport { OpportunitiesModule } from '../../core/opportunities.module';\nOpportunitiesModule.component('mainMenu', {\n templateUrl: '/app/components/header/main-menu.component.html',\n controller: MainMenuController,\n bindings: {\n isEulaAccepted: '<',\n selectedTab: '<',\n productId: '<',\n menu: '<'\n }\n});\n/* @ngInject */\n\nfunction MainMenuController(storageService, userService) {\n var $ctrl = this;\n $ctrl.moduleIds;\n $ctrl.isSltUser;\n $ctrl.$onChanges = onChanges;\n\n function onChanges(changes) {\n if (changes.menu && changes.menu.currentValue || changes.productId) {\n removeInaccessibleMenuItems();\n }\n }\n\n function removeInaccessibleMenuItems() {\n if ($ctrl.productId == productTypes.euroLite) {\n _.remove($ctrl.menu, {\n name: 'social'\n });\n\n _.remove($ctrl.menu, {\n name: 'campaigns'\n });\n\n _.remove($ctrl.menu, {\n name: 'communication'\n });\n }\n\n if ($ctrl.isSltUser == null) {\n userService.getUserProfile().then(function (userProfile) {\n $ctrl.isSltUser = userProfile.isSltUser;\n\n if ($ctrl.isSltUser) {\n _.remove($ctrl.menu, {\n name: 'social'\n });\n\n _.remove($ctrl.menu, {\n name: 'campaigns'\n });\n }\n });\n } // WEBUI-7966 for now just remove in this component. Not clear if it might come back.\n // At some point we can totally remove from appSettings. 07/15/2019\n\n\n _.remove($ctrl.menu, {\n name: 'social'\n });\n }\n\n function convertToModuleIds(modules, dealerIds) {\n return modules.filter(function (module) {\n return _.some(_.intersection(module.moduleDealerIds, dealerIds));\n }).map(function (module) {\n return module.moduleId;\n });\n }\n}","import \"core-js/modules/es6.promise\";\nimport \"core-js/modules/es6.function.name\";\nimport \"regenerator-runtime/runtime\";\nimport \"core-js/modules/es6.regexp.split\";\nPandoInboxController.$inject = [\"$rootScope\", \"pandoCommunicationService\", \"crossDomainStorageService\", \"dealerService\"];\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n/* injects from baggage-loader */\nrequire('./pando-inbox.component.html');\n\nimport angular from 'angular';\nimport Pubnub from 'pubnub';\nimport { OpportunitiesModule } from '../../core/opportunities.module';\nOpportunitiesModule.component('pandoInbox', {\n templateUrl: '/app/components/header/pando-inbox.component.html',\n controller: PandoInboxController,\n bindings: {\n isAutoAlertUser: '<'\n }\n});\n/* @ngInject */\n\nfunction PandoInboxController($rootScope, pandoCommunicationService, crossDomainStorageService, dealerService) {\n var $ctrl = this;\n $ctrl.$onInit = $onInit;\n $ctrl.isAvailable = null;\n $ctrl.Availability = null;\n $ctrl.unreadMessageCount = null; //$ctrl.loginUserChatId = null;\n\n $ctrl.messages = [];\n $ctrl.messageGroupIds = [];\n $ctrl.communicationUrl = null;\n var accountControlChannel = null;\n var userControlChannel = null;\n var inboxConfig = {}; //$ctrl.currentUserVenderInfo = null;\n\n $ctrl.loginUserId = null;\n var pandoMessaging = new PandoMessaging();\n\n function $onInit() {\n inboxConfig = pandoCommunicationService.getPandoInboxConfig();\n\n if (!inboxConfig.enabled) {\n $ctrl.pandoInboxEnabled = false;\n return;\n }\n\n $ctrl.pandoInboxEnabled = true;\n $ctrl.communicationUrl = inboxConfig.pandoInboxUrl;\n setupPubnubMessaging();\n } // setup pubnub\n\n\n function setupPubnubMessaging() {\n return pandoCommunicationService.getMessageVendorInfo($ctrl.isAutoAlertUser).then(function (vendorInfo) {\n if (vendorInfo) {\n // if user does not have subkey exit\n if (vendorInfo.SubscriptionKey == null || vendorInfo.SubscriptionKey == '') return; // if user does not have auth key exit\n\n if (vendorInfo.AuthorizationKey == null || vendorInfo.AuthorizationKey == '') return; //$ctrl.currentUserVenderInfo = vendorInfo;\n\n var userIds = vendorInfo.UserControl.split(\"-\");\n $ctrl.loginUserId = \"1:\" + userIds[2];\n accountControlChannel = vendorInfo.AccountControl;\n userControlChannel = vendorInfo.UserControl.UserControl;\n pandoMessaging.initPubnub(vendorInfo.SubscriptionKey, vendorInfo.AuthorizationKey, vendorInfo.Channels, vendorInfo.ChannelGroups);\n pandoMessaging.subscribe(pubnubMessageCallback);\n\n if ($ctrl.unreadMessageCount == null) {\n getApiMessageCount(); // call motofuze api to show count\n }\n\n $ctrl.isUserAuthorisedForPando = true;\n }\n }, function (error) {\n return null;\n });\n }\n\n function pubnubMessageCallback(_x) {\n return _pubnubMessageCallback.apply(this, arguments);\n }\n\n function _pubnubMessageCallback() {\n _pubnubMessageCallback = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee(msgResponseObject) {\n var rtid, dealers, dealerGroupId, selectedStores, i, dealerInfo, dealer, dealerDisplayText, data;\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n if (!(!msgResponseObject || !msgResponseObject.message || !msgResponseObject.message.rtid)) {\n _context.next = 2;\n break;\n }\n\n return _context.abrupt(\"return\");\n\n case 2:\n rtid = msgResponseObject.message.rtid;\n _context.t0 = rtid;\n _context.next = _context.t0 === 111 ? 6 : _context.t0 === 112 ? 6 : _context.t0 === 113 ? 6 : _context.t0 === 114 ? 6 : _context.t0 === 126 ? 6 : _context.t0 === 27 ? 8 : 26;\n break;\n\n case 6:\n // This list of values provieded by Satish on the KC team\n if (msgResponseObject.message.pn_apns && msgResponseObject.message.pn_apns.aps && msgResponseObject.message.pn_apns.aps.hasOwnProperty('badge')) {\n $ctrl.unreadMessageCount = msgResponseObject.message.pn_apns.aps.badge;\n }\n\n return _context.abrupt(\"break\", 26);\n\n case 8:\n if (!(msgResponseObject.message.msg && msgResponseObject.message.msg.SelectedStores)) {\n _context.next = 25;\n break;\n }\n\n dealers = [];\n dealerGroupId = msgResponseObject.message.msg.DealerGroupID;\n selectedStores = msgResponseObject.message.msg.SelectedStores;\n i = 0;\n\n case 13:\n if (!(i < selectedStores.length)) {\n _context.next = 22;\n break;\n }\n\n _context.next = 16;\n return fetchDealerInfo(selectedStores[i].DealerID);\n\n case 16:\n dealerInfo = _context.sent;\n dealer = {\n id: selectedStores[i].DealerID,\n name: dealerInfo ? dealerInfo.displayText : selectedStores[i].Name\n };\n dealers.push(dealer);\n\n case 19:\n i++;\n _context.next = 13;\n break;\n\n case 22:\n dealerDisplayText = msgResponseObject.message.msg.SelectedStores.length == 1 ? dealers[0].name : msgResponseObject.message.msg.Name; //dealerGroupName\n\n data = {\n dealers: dealers,\n dealerGroupId: dealerGroupId,\n dealerDisplayText: dealerDisplayText\n };\n crossDomainStorageService.setItem('selectedDealers', data);\n\n case 25:\n return _context.abrupt(\"break\", 26);\n\n case 26:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n return _pubnubMessageCallback.apply(this, arguments);\n }\n\n function fetchDealerInfo(_x2) {\n return _fetchDealerInfo.apply(this, arguments);\n } // first time call does not use pubnub but calls api to get messages\n\n\n function _fetchDealerInfo() {\n _fetchDealerInfo = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee2(dealerId) {\n var dealerInfo;\n return regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n dealerInfo = dealerService.getDealer(dealerId).then(function (dealerInfo) {\n return dealerInfo;\n });\n return _context2.abrupt(\"return\", dealerInfo);\n\n case 2:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this);\n }));\n return _fetchDealerInfo.apply(this, arguments);\n }\n\n function getApiMessageCount() {\n return pandoCommunicationService.getUnreadMessageCount($ctrl.isAutoAlertUser).then(function (result) {\n processApiMessageCollection(result);\n });\n } // display unread messages based on API call\n\n\n function processApiMessageCollection(data) {\n if (!data || !data.hasOwnProperty('msgcount')) return;\n $ctrl.unreadMessageCount = data.msgcount;\n }\n\n function getBadgeCountUserInfo(data, userId) {\n var badgeCount = typeof data.MessageBadgeCount != \"undefined\" ? data.MessageBadgeCount : '0';\n var senderId = userId ? userId : '';\n var groupName = data.GroupName ? data.GroupName : '';\n var groupId = data.GroupId ? data.GroupId : '';\n var messageBadgeCountUserInfo = {\n 'MessageBadgeCount': badgeCount,\n 'UserId': senderId,\n 'GroupName': groupName,\n 'GroupId': groupId\n };\n return messageBadgeCountUserInfo;\n }\n}\n\nfunction PandoMessaging() {\n // instantiating PubNub generates a UUID for you and stores it in localStorage\n // and reuses that UUID from localStorage on subsequent PubNub instantiations\n var uuid;\n var pubnub;\n var channels = [];\n var channelGroups = [];\n var pandoInboxUrl;\n\n function addListenerPubnub() {\n pubnub.addListener({\n // message events callback - handles all messages published to the subscribed channels\n message: function message(event) {\n sendPandoChatMessage(event);\n },\n // presence events callback - handles all presence events for all channels subscribed withPresence\n presence: function presence(event) {},\n // status events callback - handles network connectivity status events for all subscribed channels\n status: function status(event) {}\n });\n }\n\n function subscribePubnub() {\n // subscribe to the game channel and monitor presence events on that channel\n pubnub.subscribe({\n channels: channels,\n channelGroups: channelGroups,\n error: function error(_error) {//console.log(error);\n }\n });\n }\n\n var subscriptions = [];\n\n function sendPandoChatMessage(message) {\n for (var _i = 0; _i < subscriptions.length; _i++) {\n var fn = subscriptions[_i];\n\n try {\n fn(message);\n } catch (e) {//console.log(\"sendMessageToiFrame Error:\" + e);\n }\n }\n }\n\n return {\n initPubnub: function initPubnub(subKey, authKey, pandoChannels, pandoChannelGroups) {\n channels = pandoChannels;\n channelGroups = pandoChannelGroups;\n pubnub = new Pubnub({\n subscribeKey: subKey,\n authKey: authKey,\n //publishKey: PubNubSubscribeKey,\n ssl: true\n });\n uuid = pubnub.getUUID();\n addListenerPubnub();\n subscribePubnub();\n },\n subscribe: function subscribe(fn) {\n subscriptions.push(fn);\n return {\n unsubscribe: function unsubscribe() {\n var ix = subscriptions.indexOf(fn);\n\n if (ix > -1) {\n subscriptions.splice(ix, 1);\n }\n }\n };\n },\n quitPandoChat: function quitPandoChat() {\n pubnub.unsubscribe({\n channels: channels,\n channelGroups: channelGroups,\n callback: function callback(msg) {//console.log(msg);\n }\n });\n }\n };\n}","\n/* injects from baggage-loader */\nrequire('./pando-inbox.component.html');\n\nimport angular from 'angular';\r\nimport Pubnub from 'pubnub';\r\nimport { OpportunitiesModule } from '../../core/opportunities.module';\r\n\r\nOpportunitiesModule.component('pandoInbox', {\r\n templateUrl: '/app/components/header/pando-inbox.component.html',\r\n controller: PandoInboxController,\r\n bindings: {\r\n isAutoAlertUser: '<',\r\n }\r\n});\r\n\r\n/* @ngInject */\r\nfunction PandoInboxController($rootScope, pandoCommunicationService, crossDomainStorageService, dealerService) {\r\n var $ctrl = this;\r\n $ctrl.$onInit = $onInit;\r\n $ctrl.isAvailable = null;\r\n $ctrl.Availability = null;\r\n $ctrl.unreadMessageCount = null;\r\n //$ctrl.loginUserChatId = null;\r\n\r\n $ctrl.messages = [];\r\n $ctrl.messageGroupIds = [];\r\n $ctrl.communicationUrl = null;\r\n\r\n var accountControlChannel = null\r\n var userControlChannel = null\r\n var inboxConfig = {}\r\n //$ctrl.currentUserVenderInfo = null;\r\n $ctrl.loginUserId = null;\r\n\r\n const pandoMessaging = new PandoMessaging();\r\n\r\n function $onInit() {\r\n inboxConfig = pandoCommunicationService.getPandoInboxConfig();\r\n if (!inboxConfig.enabled) {\r\n $ctrl.pandoInboxEnabled = false;\r\n return;\r\n }\r\n\r\n $ctrl.pandoInboxEnabled = true;\r\n $ctrl.communicationUrl = inboxConfig.pandoInboxUrl;\r\n\r\n setupPubnubMessaging();\r\n }\r\n\r\n\r\n // setup pubnub\r\n function setupPubnubMessaging() {\r\n return pandoCommunicationService.getMessageVendorInfo($ctrl.isAutoAlertUser)\r\n .then(function (vendorInfo) {\r\n if (vendorInfo) {\r\n\r\n // if user does not have subkey exit\r\n if (vendorInfo.SubscriptionKey == null || vendorInfo.SubscriptionKey == '')\r\n return;\r\n // if user does not have auth key exit\r\n if (vendorInfo.AuthorizationKey == null || vendorInfo.AuthorizationKey == '')\r\n return;\r\n //$ctrl.currentUserVenderInfo = vendorInfo;\r\n var userIds = vendorInfo.UserControl.split(\"-\");\r\n $ctrl.loginUserId = \"1:\" + userIds[2];\r\n\r\n accountControlChannel = vendorInfo.AccountControl;\r\n userControlChannel = vendorInfo.UserControl.UserControl;\r\n pandoMessaging.initPubnub(vendorInfo.SubscriptionKey, vendorInfo.AuthorizationKey , vendorInfo.Channels,vendorInfo.ChannelGroups);\r\n \r\n\r\n pandoMessaging.subscribe(pubnubMessageCallback);\r\n if ($ctrl.unreadMessageCount == null) {\r\n getApiMessageCount(); // call motofuze api to show count\r\n }\r\n\r\n $ctrl.isUserAuthorisedForPando = true;\r\n }\r\n }, function(error) {\r\n return null;\r\n });\r\n }\r\n\r\n async function pubnubMessageCallback(msgResponseObject) {\r\n // console.log(msgResponseObject);\r\n if (!msgResponseObject || !msgResponseObject.message || !msgResponseObject.message.rtid) return;\r\n var rtid = msgResponseObject.message.rtid;\r\n switch (rtid) {\r\n case 111:\r\n case 112:\r\n case 113:\r\n case 114:\r\n case 126:\r\n // This list of values provieded by Satish on the KC team\r\n if (msgResponseObject.message.pn_apns && \r\n msgResponseObject.message.pn_apns.aps && \r\n msgResponseObject.message.pn_apns.aps.hasOwnProperty('badge')) {\r\n $ctrl.unreadMessageCount = msgResponseObject.message.pn_apns.aps.badge;\r\n }\r\n break;\r\n case 27:\r\n if (msgResponseObject.message.msg && msgResponseObject.message.msg.SelectedStores) {\r\n let dealers = [];\r\n let dealerGroupId = msgResponseObject.message.msg.DealerGroupID;\r\n let selectedStores = msgResponseObject.message.msg.SelectedStores;\r\n for (let i = 0; i < selectedStores.length; i++) {\r\n let dealerInfo = await fetchDealerInfo(selectedStores[i].DealerID);\r\n let dealer = { id: selectedStores[i].DealerID, name: dealerInfo ? dealerInfo.displayText : selectedStores[i].Name };\r\n dealers.push(dealer);\r\n }\r\n let dealerDisplayText = msgResponseObject.message.msg.SelectedStores.length == 1 ?\r\n dealers[0].name :\r\n msgResponseObject.message.msg.Name; //dealerGroupName\r\n let data = { dealers, dealerGroupId, dealerDisplayText };\r\n crossDomainStorageService.setItem('selectedDealers', data);\r\n }\r\n break;\r\n }\r\n }\r\n\r\n async function fetchDealerInfo(dealerId) {\r\n var dealerInfo = dealerService.getDealer(dealerId).then((dealerInfo) => {\r\n return dealerInfo\r\n });\r\n return dealerInfo;\r\n }\r\n\r\n // first time call does not use pubnub but calls api to get messages\r\n function getApiMessageCount() {\r\n return pandoCommunicationService.getUnreadMessageCount($ctrl.isAutoAlertUser)\r\n .then(function (result) {\r\n processApiMessageCollection(result);\r\n });\r\n }\r\n \r\n\r\n // display unread messages based on API call\r\n function processApiMessageCollection(data){\r\n if (!data || !data.hasOwnProperty('msgcount')) return;\r\n $ctrl.unreadMessageCount = data.msgcount;\r\n }\r\n\r\n function getBadgeCountUserInfo(data, userId) {\r\n var badgeCount = typeof (data.MessageBadgeCount) != \"undefined\" ? data.MessageBadgeCount: '0';\r\n var senderId = userId ? userId : '';\r\n var groupName = data.GroupName ? data.GroupName:'';\r\n var groupId = data.GroupId ? data.GroupId:'';\r\n var messageBadgeCountUserInfo = {'MessageBadgeCount': badgeCount, 'UserId': senderId, 'GroupName': groupName, 'GroupId': groupId};\r\n return messageBadgeCountUserInfo;\r\n }\r\n}\r\n\r\nfunction PandoMessaging() {\r\n\r\n // instantiating PubNub generates a UUID for you and stores it in localStorage\r\n // and reuses that UUID from localStorage on subsequent PubNub instantiations\r\n var uuid;\r\n var pubnub;\r\n var channels = [];\r\n var channelGroups = [];\r\n var pandoInboxUrl;\r\n\r\n\r\n function addListenerPubnub(){\r\n pubnub.addListener({\r\n // message events callback - handles all messages published to the subscribed channels\r\n message: function (event) {\r\n sendPandoChatMessage(event);\r\n },\r\n\r\n // presence events callback - handles all presence events for all channels subscribed withPresence\r\n presence: function (event) {\r\n\r\n },\r\n\r\n // status events callback - handles network connectivity status events for all subscribed channels\r\n status: function (event) {\r\n\r\n }\r\n });\r\n }\r\n\r\n function subscribePubnub(){\r\n // subscribe to the game channel and monitor presence events on that channel\r\n pubnub.subscribe({\r\n channels: channels,\r\n channelGroups: channelGroups,\r\n error: function (error) {\r\n //console.log(error);\r\n }\r\n });\r\n }\r\n\r\n const subscriptions = [];\r\n\r\n function sendPandoChatMessage(message) {\r\n for (const fn of subscriptions) {\r\n try {\r\n fn(message);\r\n } catch (e) {\r\n //console.log(\"sendMessageToiFrame Error:\" + e);\r\n }\r\n }\r\n }\r\n\r\n return {\r\n initPubnub(subKey,authKey,pandoChannels,pandoChannelGroups){\r\n channels = pandoChannels;\r\n channelGroups = pandoChannelGroups;\r\n pubnub = new Pubnub({\r\n subscribeKey: subKey,\r\n authKey: authKey,\r\n //publishKey: PubNubSubscribeKey,\r\n ssl: true\r\n });\r\n uuid = pubnub.getUUID();\r\n addListenerPubnub();\r\n subscribePubnub();\r\n },\r\n subscribe(fn) {\r\n subscriptions.push(fn);\r\n return {\r\n unsubscribe() {\r\n const ix = subscriptions.indexOf(fn);\r\n if (ix > -1) {\r\n subscriptions.splice(ix, 1);\r\n }\r\n }\r\n };\r\n },\r\n quitPandoChat() {\r\n pubnub.unsubscribe({\r\n channels: channels,\r\n channelGroups: channelGroups,\r\n callback: function (msg) {\r\n //console.log(msg);\r\n }\r\n });\r\n }\r\n }\r\n}\r\n","\n/* injects from baggage-loader */\nrequire('./pagination.component.html');\n\nimport angular from 'angular';\r\nimport { OpportunitiesModule } from '../core/opportunities.module';\r\nimport $ from 'jquery';\r\n\r\n\r\nOpportunitiesModule.component('pagination', {\r\n templateUrl: '/app/components/pagination.component.html',\r\n controller: PaginationController,\r\n bindings: {\r\n pagedItems: '<',\r\n pager: '<',\r\n filteredItems: '<',\r\n maxPageSize: '<',\r\n maxMinArrows: '<',\r\n maxMinPage: '<',\r\n onPageChanged: '&',\r\n onPagedItems: '&',\r\n onPagerChange: '&',\r\n setPage: '<',\r\n resetPage: '<',\r\n onResetComplete: '&'\r\n },\r\n});\r\n\r\nPaginationController.$inject = ['$scope']; \r\n\r\nfunction PaginationController($scope) {\r\n \"ngInject\";\r\n\r\n $scope.title = 'Test Pagination';\r\n const $ctrl = this;\r\n $ctrl.setPage = setPage;\r\n $ctrl.maxPageSize = 100;\r\n $ctrl.getDefaultPager = getDefaultPager;\r\n $ctrl.pageDownDisabled = false;\r\n $ctrl.pageUpDisabled = false;\r\n $ctrl.maxMinPage = false;\r\n $ctrl.maxMinArrows = false;\r\n $ctrl.$onChanges = onChanges;\r\n $ctrl.currentPage = -1;\r\n $ctrl.totalPages = 0;\r\n $ctrl.totalItems = 0;\r\n $ctrl.maxSize = 0;\r\n $scope.maxSize = $ctrl.maxSize; \r\n\r\n function GetPager(totalItems, newPage, $scope ) { \r\n\r\n // default to first page\r\n newPage = newPage || 1;\r\n\r\n // default page size is MaxPerPage\r\n var pageSize = $ctrl.maxPageSize;\r\n\r\n // calculate total pages\r\n var totalPages = Math.ceil(totalItems / pageSize);\r\n\r\n var startPage, endPage;\r\n \r\n // calculate start and end item indexes\r\n var startIndex = (newPage - 1) * pageSize;\r\n var endIndex = Math.min(startIndex + pageSize - 1, totalItems - 1);\r\n var arrayLimit = totalPages; // (endPage - startPage) + 1 > 5 ? 5 : (endPage - startPage) + 1;\r\n\r\n // create an array of pages to ng-repeat in the pager control\r\n var pages = Array.apply(null, Array(arrayLimit)).map(function (_, i) { return i;});\r\n \r\n // return object with all pager properties required by the view\r\n return {\r\n totalItems: totalItems,\r\n currentPage: newPage,\r\n pageSize: pageSize,\r\n totalPages: totalPages,\r\n startPage: startPage,\r\n endPage: endPage,\r\n startIndex: startIndex,\r\n endIndex: endIndex,\r\n pages: pages,\r\n isReset: false\r\n };\r\n\r\n }\r\n\r\n function getDefaultPager() {\r\n return {\r\n totalItems: 0,\r\n currentPage: -1,\r\n pageSize: 0,\r\n totalPages: 0,\r\n startPage: -1,\r\n endPage: -1,\r\n startIndex: -1,\r\n endIndex: -1,\r\n pages: []\r\n };\r\n }\r\n\r\n function setPage(newPage) { \r\n newPage = newPage ? newPage : ($scope.currentPage ? $scope.currentPage : 1);\r\n $ctrl.totalPages = Math.ceil($ctrl.filteredItems.length / $ctrl.maxPageSize);\r\n $scope.totalPages = $ctrl.totalPages;\r\n $scope.totalItems = $ctrl.filteredItems.length;\r\n\r\n $ctrl.pager = GetPager($ctrl.filteredItems ? $ctrl.filteredItems.length : 0, newPage);\r\n onPagerChange();\r\n \r\n $ctrl.currentPage = $scope.currentPage = newPage;\r\n\r\n // get current page of items\r\n $ctrl.pagedItems = $ctrl.filteredItems.slice($ctrl.pager.startIndex, $ctrl.pager.endIndex + 1);\r\n\r\n onPagedItems($ctrl.pagedItems,$ctrl.filteredItems.length);\r\n }\r\n\r\n function onPagerChange() {\r\n $ctrl.onPagerChange({\r\n $value: $ctrl.pager \r\n });\r\n \r\n }\r\n\r\n function onChanges(changes) {\r\n if (changes.filteredItems && changes.filteredItems.currentValue) {\r\n setPage(1);\r\n }\r\n\r\n if(changes.resetPage && changes.resetPage.currentValue == true) {\r\n setPage(1);\r\n $ctrl.resetPage = false;\r\n $ctrl.onResetComplete();\r\n }\r\n\r\n // these are for Internet Explorer to ensure the anchors do not cause the page to refresh\r\n $(\".pagination-prev a\").attr(\"href\", \"#\");\r\n $(\".pagination-next a\").attr(\"href\", \"#\");\r\n }\r\n\r\n function onPagedItems(pagedItems, totalItems) {\r\n $ctrl.onPagedItems({$value: pagedItems});\r\n $scope.totalItems = $ctrl.filteredItems.length;\r\n\r\n }\r\n\r\n}\r\n\r\n","PaginationController.$inject = [\"$scope\"];\n\n/* injects from baggage-loader */\nrequire('./pagination.component.html');\n\nimport angular from 'angular';\nimport { OpportunitiesModule } from '../core/opportunities.module';\nimport $ from 'jquery';\nOpportunitiesModule.component('pagination', {\n templateUrl: '/app/components/pagination.component.html',\n controller: PaginationController,\n bindings: {\n pagedItems: '<',\n pager: '<',\n filteredItems: '<',\n maxPageSize: '<',\n maxMinArrows: '<',\n maxMinPage: '<',\n onPageChanged: '&',\n onPagedItems: '&',\n onPagerChange: '&',\n setPage: '<',\n resetPage: '<',\n onResetComplete: '&'\n }\n});\nPaginationController.$inject = ['$scope'];\n\nfunction PaginationController($scope) {\n \"ngInject\";\n\n $scope.title = 'Test Pagination';\n var $ctrl = this;\n $ctrl.setPage = setPage;\n $ctrl.maxPageSize = 100;\n $ctrl.getDefaultPager = getDefaultPager;\n $ctrl.pageDownDisabled = false;\n $ctrl.pageUpDisabled = false;\n $ctrl.maxMinPage = false;\n $ctrl.maxMinArrows = false;\n $ctrl.$onChanges = onChanges;\n $ctrl.currentPage = -1;\n $ctrl.totalPages = 0;\n $ctrl.totalItems = 0;\n $ctrl.maxSize = 0;\n $scope.maxSize = $ctrl.maxSize;\n\n function GetPager(totalItems, newPage, $scope) {\n // default to first page\n newPage = newPage || 1; // default page size is MaxPerPage\n\n var pageSize = $ctrl.maxPageSize; // calculate total pages\n\n var totalPages = Math.ceil(totalItems / pageSize);\n var startPage, endPage; // calculate start and end item indexes\n\n var startIndex = (newPage - 1) * pageSize;\n var endIndex = Math.min(startIndex + pageSize - 1, totalItems - 1);\n var arrayLimit = totalPages; // (endPage - startPage) + 1 > 5 ? 5 : (endPage - startPage) + 1;\n // create an array of pages to ng-repeat in the pager control\n\n var pages = Array.apply(null, Array(arrayLimit)).map(function (_, i) {\n return i;\n }); // return object with all pager properties required by the view\n\n return {\n totalItems: totalItems,\n currentPage: newPage,\n pageSize: pageSize,\n totalPages: totalPages,\n startPage: startPage,\n endPage: endPage,\n startIndex: startIndex,\n endIndex: endIndex,\n pages: pages,\n isReset: false\n };\n }\n\n function getDefaultPager() {\n return {\n totalItems: 0,\n currentPage: -1,\n pageSize: 0,\n totalPages: 0,\n startPage: -1,\n endPage: -1,\n startIndex: -1,\n endIndex: -1,\n pages: []\n };\n }\n\n function setPage(newPage) {\n newPage = newPage ? newPage : $scope.currentPage ? $scope.currentPage : 1;\n $ctrl.totalPages = Math.ceil($ctrl.filteredItems.length / $ctrl.maxPageSize);\n $scope.totalPages = $ctrl.totalPages;\n $scope.totalItems = $ctrl.filteredItems.length;\n $ctrl.pager = GetPager($ctrl.filteredItems ? $ctrl.filteredItems.length : 0, newPage);\n onPagerChange();\n $ctrl.currentPage = $scope.currentPage = newPage; // get current page of items\n\n $ctrl.pagedItems = $ctrl.filteredItems.slice($ctrl.pager.startIndex, $ctrl.pager.endIndex + 1);\n onPagedItems($ctrl.pagedItems, $ctrl.filteredItems.length);\n }\n\n function onPagerChange() {\n $ctrl.onPagerChange({\n $value: $ctrl.pager\n });\n }\n\n function onChanges(changes) {\n if (changes.filteredItems && changes.filteredItems.currentValue) {\n setPage(1);\n }\n\n if (changes.resetPage && changes.resetPage.currentValue == true) {\n setPage(1);\n $ctrl.resetPage = false;\n $ctrl.onResetComplete();\n } // these are for Internet Explorer to ensure the anchors do not cause the page to refresh\n\n\n $(\".pagination-prev a\").attr(\"href\", \"#\");\n $(\".pagination-next a\").attr(\"href\", \"#\");\n }\n\n function onPagedItems(pagedItems, totalItems) {\n $ctrl.onPagedItems({\n $value: pagedItems\n });\n $scope.totalItems = $ctrl.filteredItems.length;\n }\n}","\n/* injects from baggage-loader */\nrequire('./filter-button.component.html');\n\nimport { OpportunitiesModule } from '../core/opportunities.module';\r\n\r\nOpportunitiesModule.component('filterButton', {\r\n templateUrl: '/app/components/filter-button.component.html',\r\n controller: FilterButtonController,\r\n transclude: {\r\n 'icon': '?filterButtonIcon',\r\n 'text': 'filterButtonText',\r\n },\r\n bindings: {\r\n ngModel: '=',\r\n ngChange: '&',\r\n moduleName: '<'\r\n }\r\n});\r\n\r\nfunction FilterButtonController() {\r\n \"ngInject\";\r\n const $ctrl = this;\r\n}\r\n","/* global window document */\r\nimport $ from 'jquery';\r\nwindow.$ = $;\r\n\r\nimport angular from 'angular';\r\n\r\n// This creates the module\r\nimport opportunities from './opportunities.module';\r\n\r\nimport '../constants/AutoAlert.AlertMiner.ServiceContract.Enums/ActivityResultCodeEnum';\r\nimport '../constants/activity-action-name-types';\r\nimport '../constants/activity-result-descriptors';\r\nimport '../constants/activity-types';\r\nimport '../constants/alert-icon-classes';\r\nimport '../constants/alert-script-types';\r\nimport '../constants/alert.types';\r\nimport '../constants/analytics';\r\nimport '../constants/api/activity-actions';\r\nimport '../constants/api/activity-rule';\r\nimport '../constants/vci-result-type';\r\nimport '../constants/api/activity-statuses';\r\nimport '../constants/api/activity-types';\r\nimport '../constants/api/crm-activity-types';\r\nimport '../constants/credit-prescreen-statuses';\r\nimport '../constants/credit-tiers';\r\nimport '../constants/cultures';\r\nimport '../constants/date-range-types';\r\nimport '../constants/defaults';\r\nimport '../constants/donotcall-status-types';\r\nimport '../constants/entityActionAccessEnum';\r\nimport '../constants/eula-response.types';\r\nimport '../constants/euro-opportunity-grid-layout';\r\nimport '../constants/fuel-types';\r\nimport '../constants/legacy-url-mappings';\r\nimport '../constants/message-types';\r\nimport '../constants/msrp-types';\r\nimport '../constants/price-set-to-options';\r\nimport '../constants/product-types';\r\nimport '../constants/reports/reports-menu';\r\nimport '../constants/reports/report-subscription-view-types';\r\nimport '../constants/reports/report-subscription-periods';\r\nimport '../constants/reports/report-categories';\r\nimport '../constants/roles';\r\nimport '../constants/router-states';\r\nimport '../constants/sale-types';\r\nimport '../constants/sub-menu-unauthorized';\r\nimport '../constants/tag-types';\r\nimport '../constants/territories';\r\nimport '../constants/translate-paths';\r\nimport '../constants/translate.keys';\r\nimport '../constants/userProfileRoles';\r\nimport '../constants/vehicle-select-columns';\r\nimport '../constants/widget-types';\r\nimport '../constants/vehicle-actions';\r\nimport '../constants/smtp-provider-types';\r\nimport '../constants/pando-action-types';\r\nimport '../constants/customer-activity-types';\r\nimport '../constants/engagement-event-types.constant';\r\n\r\n\r\n// import and map typescript constants to AngularJS\r\nimport {\r\n DealerCountries\r\n , Modules\r\n , SubMenu\r\n , TradeValueTypes\r\n , TimeZones\r\n , TimeZonesById\r\n , TimeZonesByTzdbName\r\n , DealSheetTabs\r\n , AlertTypes\r\n , AlertTypeDescriptors\r\n , AlertTypeDescriptorsEuroLite\r\n , TranslateErrorKeys\r\n , AuthorizationKeys\r\n , ContactTypes\r\n , SearchPresetTypes\r\n , AssetTypes\r\n , ActivityResultTypeDescriptors\r\n , ActivityStatusTypes\r\n , ActivityIconClasses\r\n , OpportunityStatuses\r\n , OpportunityTypes\r\n , DiscrepancyTypes\r\n , VehicleTypes\r\n , ConquestTypes \r\n , EulaStatusTypes\r\n , ActivitySubTypes\r\n , PaymentTypes\r\n , SaleTypes\r\n , ActivityActionEnum\r\n , ActivityResults\r\n , CustomerProcessStatuses\r\n , ActivityResultDescriptors\r\n , FordFBATypes\r\n} from '../constants';\r\n\r\nangular.module(opportunities).constant('dealerCountries', DealerCountries)\r\n .constant('modules', Modules)\r\n .constant('subMenu', SubMenu)\r\n .constant('tradeValueTypes', TradeValueTypes)\r\n .constant('timeZones', TimeZones)\r\n .constant('timeZonesById', TimeZonesById)\r\n .constant('timeZonesByTzdbName', TimeZonesByTzdbName)\r\n .constant('dealSheetTabs', DealSheetTabs)\r\n .constant('alertTypeDescriptorsEuroLite', AlertTypeDescriptorsEuroLite)\r\n .constant('alertTypeDescriptors', AlertTypeDescriptors)\r\n .constant('alertTypes', AlertTypes)\r\n .constant('translateErrorKeys', TranslateErrorKeys)\r\n .constant('authorizationKeys', AuthorizationKeys)\r\n .constant('contactTypes', ContactTypes)\r\n .constant('searchPresetTypes', SearchPresetTypes)\r\n .constant('assetTypes', AssetTypes)\r\n .constant('activityResultTypeDescriptors', ActivityResultTypeDescriptors)\r\n .constant('activityStatusTypes', ActivityStatusTypes)\r\n .constant('activityIconClasses', ActivityIconClasses)\r\n .constant('opportunityStatuses', OpportunityStatuses)\r\n .constant('opportunityTypes', OpportunityTypes)\r\n .constant('discrepancyTypes', DiscrepancyTypes)\r\n .constant('vehicleTypes', VehicleTypes)\r\n .constant('conquestTypes', ConquestTypes)\r\n .constant('eulaStatusTypes', EulaStatusTypes)\r\n .constant('activitySubTypes', ActivitySubTypes)\r\n .constant('paymentTypes', PaymentTypes)\r\n .constant('saleTypes', SaleTypes)\r\n .constant('ActivityActionEnum', ActivityActionEnum)\r\n .constant('activityResults', ActivityResults)\r\n .constant('customerProcessStatuses', CustomerProcessStatuses)\r\n .constant('activityResultDescriptors', ActivityResultDescriptors)\r\n .constant('fordFBATypes', FordFBATypes)\r\n\r\nimport {\r\n QuickSearchUrl\r\n , DealSheetUrl\r\n , SearchPresetUrl\r\n , UserProfileUrl\r\n , SubMenuLocalizationPath\r\n , WarningTitleKey\r\n , QuickSearchWarningKey\r\n , QuickSearchInvalidCharacterWarningKey\r\n , PageNotFoundKey} from '../core/constants';\r\n\r\nangular.module(opportunities).value('quickSearchUrl', QuickSearchUrl)\r\n .value('dealSheetUrl', DealSheetUrl)\r\n .value('searchPresetUrl', SearchPresetUrl)\r\n .value('userProfileUrl', UserProfileUrl)\r\n .value('subMenuLocalizationPath', SubMenuLocalizationPath)\r\n .value('warningTitleKey', WarningTitleKey)\r\n .value('quickSearchWarningKey', QuickSearchWarningKey)\r\n .value('quickSearchInvalidCharacterWarningKey', QuickSearchInvalidCharacterWarningKey)\r\n .value('pageNotFoundKey', PageNotFoundKey)\r\n\r\nimport '../constants';\r\n\r\nimport '../core/opportunities.config';\r\nimport '../core/opportunities.run';\r\nimport '../core/exception';\r\n\r\nimport '../directives/compile-template.directive';\r\nimport '../directives/currency-input.directive';\r\nimport '../directives/disable-click.directive';\r\nimport '../directives/fallback-src.directive';\r\nimport '../directives/min-date.directive';\r\nimport '../directives/max-date.directive';\r\nimport '../directives/number-input.directive';\r\nimport '../directives/percent-input.directive';\r\nimport '../directives/phone-number.directive';\r\n\r\nimport '../filters/locale-currency.filter';\r\nimport '../filters/locale-date-time-with-day.filter';\r\nimport '../filters/locale-date-time.filter';\r\nimport '../filters/locale-date.filter';\r\nimport '../filters/locale-decimal.filter';\r\nimport '../filters/locale-fuel-economy.filter';\r\nimport '../filters/locale-money-factor.filter';\r\nimport '../filters/locale-number.filter';\r\nimport '../filters/locale-phone.filter';\r\nimport '../filters/locale-rounded-currency.filter';\r\nimport '../filters/locale-time.filter';\r\nimport '../filters/trim.filter';\r\nimport '../filters/unique.filter';\r\nimport '../filters/elapsed-time.filter';\r\n\r\nimport '../scripts/constants';\r\nimport '../scripts/init';\r\nimport '../scripts/jquery-resizable.nobabel';\r\n\r\nimport '../utilities/lodash';\r\nimport '../utilities/map-utils';\r\nimport '../utilities/moment';\r\nimport '../utilities/url-helper';\r\n\r\nimport '../services/activity.service';\r\nimport '../services/contract.service';\r\nimport '../services/deal-sheet.service';\r\nimport '../services/eula-modal.service';\r\nimport '../services/external.service';\r\nimport '../services/feature-toggle.service';\r\nimport '../services/financials.service';\r\nimport '../services/global-iframe.service';\r\nimport '../services/google.service';\r\nimport '../services/legacy.service';\r\nimport '../services/opportunity-count.service';\r\nimport '../services/opportunity.service';\r\nimport '../services/pando-survey.service';\r\nimport '../services/print-offer-batch.service';\r\nimport '../services/recent-deal-sheet.service';\r\nimport '../services/report.service';\r\nimport '../services/search-preset.service';\r\nimport '../services/search.service';\r\nimport '../services/services.service';\r\nimport '../services/stock-number-search.service';\r\nimport '../services/template.service';\r\nimport '../services/vehicle.service';\r\n\r\n// Former Header Services\r\nimport '../services/core-api';\r\nimport '../services/dmspush-api';\r\nimport '../services/customer-engagement.service';\r\nimport '../services/dealer.service';\r\nimport '../services/log-factory.service';\r\nimport '../services/selected-dealers-injector.service';\r\n\r\nimport '../components/data-entry/replacement/data-entry-replacement-offers.component';\r\nimport '../components/data-entry/replacement/edit-upgrade-downgrade-multi-items-modal.component';\r\nimport '../components/data-entry/replacement/edit-upgrade-downgrade-modal.component';\r\nimport '../components/data-entry/replacement/data-entry-replacement-popover-list.component';\r\nimport '../components/data-entry/replacement/edit-replacements-advanced-modal.component';\r\n\r\nimport '../components/data-entry/data-entry-frame.component';\r\nimport '../components/data-entry/data-entry-prices.component';\r\nimport '../components/data-entry/data-entry-trade-ins.component';\r\nimport '../components/data-entry/data-entry-rebates.component';\r\nimport '../components/data-entry/data-entry-rates.component';\r\nimport '../components/data-entry/data-entry-alerts.component';\r\n\r\nimport '../components/data-entry/data-entry-rates-rate-mark-ups.component';\r\nimport '../components/data-entry/data-entry-rates-over-allowance.component';\r\nimport '../components/data-entry/data-entry-rates-used-rates.component';\r\n\r\n\r\nimport '../components/admin/admin-report-subscriptions.component';\r\nimport '../components/dashboard/dashboard-manager.component';\r\nimport '../components/dashboard/dashboard-opportunities.component';\r\nimport '../components/dashboard/dashboard-widget.component';\r\nimport '../components/dashboard/dashboard.component';\r\nimport '../components/dashboard/opportunity-block.component';\r\nimport '../components/dashboard/tagged-customers/tagged-customers.component';\r\nimport '../components/deal-sheet/activity-actions.component';\r\nimport '../components/deal-sheet/activity.component';\r\nimport '../components/deal-sheet/activity-list.component';\r\nimport '../components/deal-sheet/auto-assistant.component';\r\nimport '../components/deal-sheet/alert-relevant-info.component';\r\nimport '../components/deal-sheet/alert-script-type-select.component';\r\nimport '../components/deal-sheet/alert-script.component';\r\nimport '../components/deal-sheet/change-log.component';\r\nimport '../components/deal-sheet/contract/balance-to-maturity.component';\r\nimport '../components/deal-sheet/contract/balloon-payment.component';\r\nimport '../components/deal-sheet/contract/bank-name.component';\r\nimport '../components/deal-sheet/contract/bank-rate.component';\r\nimport '../components/deal-sheet/contract/contract-dates.component';\r\nimport '../components/deal-sheet/contract/contract-select.component';\r\nimport '../components/deal-sheet/contract/delivery-monthly-mileage.component';\r\nimport '../components/deal-sheet/contract/feature-comparison-features.component';\r\nimport '../components/deal-sheet/contract/feature-comparison-fuel.component';\r\nimport '../components/deal-sheet/contract/lease-mileage.component';\r\nimport '../components/deal-sheet/contract/loyalty-rebate.component';\r\nimport '../components/deal-sheet/contract/monthly-mileage.component';\r\nimport '../components/deal-sheet/contract/msrp-type-select.component';\r\nimport '../components/deal-sheet/contract/personalized-offer.component';\r\nimport '../components/deal-sheet/contract/preferred-equity.component';\r\nimport '../components/deal-sheet/contract/pull-forward.component';\r\nimport '../components/deal-sheet/contract/rate-type-select.component';\r\nimport '../components/deal-sheet/contract/replacement-contracts.component';\r\nimport '../components/deal-sheet/contract/sale-type-select.component';\r\nimport '../components/deal-sheet/contract/salesperson-name.component';\r\nimport '../components/deal-sheet/contract/warranty-actions.component';\r\nimport '../components/deal-sheet/credit-inquiries.component';\r\nimport '../components/deal-sheet/credit-prescreen-spinner.component';\r\nimport '../components/deal-sheet/credit-prescreen.component';\r\nimport '../components/deal-sheet/crm-action.component';\r\nimport '../components/deal-sheet/culture-select.component';\r\nimport '../components/deal-sheet/customer-contact.component';\r\nimport '../components/deal-sheet/customer-edit-action.component';\r\nimport '../components/deal-sheet/customer-edit.component';\r\nimport '../components/deal-sheet/customer-name.component';\r\nimport '../components/deal-sheet/customer-email.component';\r\nimport '../components/deal-sheet/customer-email-list.component';\r\nimport '../components/deal-sheet/customer-phone.component';\r\nimport '../components/deal-sheet/customer-phone-list.component';\r\nimport '../components/deal-sheet/deal-sheet.component';\r\nimport '../components/deal-sheet/deal-sheet-vci.component';\r\nimport '../components/deal-sheet/deal-sheet-vci-eula-modal.component';\r\nimport '../components/deal-sheet/deal-sheet-lite.component';\r\nimport '../components/deal-sheet/deal-sheet-tab-select.component';\r\nimport '../components/deal-sheet/discrepancy-input.component';\r\nimport '../components/deal-sheet/email-template-action.component';\r\nimport '../components/deal-sheet/facebook-profile-action.component';\r\nimport '../components/deal-sheet/facebook-photo.component';\r\nimport '../components/deal-sheet/financial-edit-action.component';\r\nimport '../components/deal-sheet/financial/add-financial-info.component';\r\nimport '../components/deal-sheet/financial/financials-balloon-sale.component';\r\nimport '../components/deal-sheet/financial/financials-cash-sale.component';\r\nimport '../components/deal-sheet/financial/financials-lease-sale.component';\r\nimport '../components/deal-sheet/financial/financials-retail-sale.component';\r\nimport '../components/deal-sheet/log-call-action.component';\r\nimport '../components/deal-sheet/log-call.component';\r\nimport '../components/deal-sheet/action-checkbox.component';\r\nimport '../components/deal-sheet/mark-as-sold.component';\r\nimport '../components/deal-sheet/mark-as-on-order.component';\r\nimport '../components/deal-sheet/modals/activity-follow-up-modal.component';\r\nimport '../components/deal-sheet/modals/confirmation-modal.component';\r\nimport '../components/deal-sheet/modals/credit-pre-approval-modal.component';\r\nimport '../components/deal-sheet/modals/credit-pre-qualified-modal.component';\r\nimport '../components/deal-sheet/modals/credit-soft-pull-result-modal.component';\r\nimport '../components/deal-sheet/modals/customer-edit-modal.component';\r\nimport '../components/deal-sheet/modals/deal-sheet-modal.component';\r\nimport '../components/deal-sheet/modals/deal-sheet-lite-modal.component';\r\nimport '../components/deal-sheet/modals/discrepancy-input-modal.component';\r\nimport '../components/deal-sheet/modals/eula-modal.component';\r\nimport '../components/deal-sheet/modals/financial-info-modal.component';\r\nimport '../components/deal-sheet/modals/inventory-search-modal.component';\r\nimport '../components/deal-sheet/modals/log-call-modal.component';\r\nimport '../components/deal-sheet/modals/message-modal.component';\r\nimport '../components/deal-sheet/modals/post-notes.component';\r\nimport '../components/deal-sheet/modals/push-to-crm.component';\r\nimport '../components/deal-sheet/modals/schedule.component';\r\nimport '../components/deal-sheet/modals/select-modal.component';\r\nimport '../components/deal-sheet/modals/show-full-conversation-modal.component';\r\nimport '../components/deal-sheet/modals/service-detail-modal.component';\r\nimport '../components/deal-sheet/modals/update-mileage.component';\r\nimport '../components/deal-sheet/modals/user-select-modal.component';\r\nimport '../components/deal-sheet/modals/vehicle-select-modal.component';\r\nimport '../components/deal-sheet/modals/view-customer-conversation-modal.component';\r\nimport '../components/deal-sheet/modals/hot-trade-details-modal.component';\r\nimport '../components/deal-sheet/open-new-window.component';\r\nimport '../components/deal-sheet/opportunity-select.component';\r\nimport '../components/deal-sheet/other-vehicles-owned.component';\r\nimport '../components/deal-sheet/pricing-plan-client.component';\r\nimport '../components/deal-sheet/print-offer.component';\r\nimport '../components/deal-sheet/print-upgrade-proposal.component';\r\nimport '../components/deal-sheet/reopen.component';\r\nimport '../components/deal-sheet/report-discrepancy-action.component';\r\nimport '../components/deal-sheet/service-history.component';\r\nimport '../components/deal-sheet/user-select-action.component';\r\nimport '../components/deal-sheet/user-select.component';\r\nimport '../components/deal-sheet/vehicle/color.component';\r\nimport '../components/deal-sheet/vehicle/fuel-difference.component';\r\nimport '../components/deal-sheet/vehicle/inventory-search-action.component';\r\nimport '../components/deal-sheet/vehicle/inventory-search.component';\r\nimport '../components/deal-sheet/vehicle/mileage.component';\r\nimport '../components/deal-sheet/vehicle/recommended-vehicles-action.component';\r\nimport '../components/deal-sheet/vehicle/registration-number.component';\r\nimport '../components/deal-sheet/vehicle/stock-vehicle.component';\r\nimport '../components/deal-sheet/vehicle/trim-select.component';\r\nimport '../components/deal-sheet/vehicle/vehicle-action-select.component';\r\nimport '../components/deal-sheet/vehicle/vehicle-equity.component';\r\nimport '../components/deal-sheet/vehicle/vehicle-select.component';\r\nimport '../components/deal-sheet/vehicle/vehicle-type-select.component';\r\nimport '../components/deal-sheet/vehicle/vehicle-type.component';\r\nimport '../components/deal-sheet/vehicle/vin.component';\r\nimport '../components/deal-sheet/watch.component';\r\nimport '../components/deal-sheet/pando-process-claim-info.component';\r\nimport '../components/deal-sheet/template-email-preview.component';\r\nimport '../components/deal-sheet/auto-assigned-access.component';\r\n\r\nimport '../components/deal-sheet/email-info-edit.component';\r\nimport '../components/deal-sheet/modals/email-info-edit-modal.component';\r\nimport '../components/deal-sheet/modals/send-email-template-modal.component';\r\nimport '../components/deal-sheet/modals/view-email-conversation-modal.component';\r\nimport '../components/deal-sheet/view-email-conversation-action.component';\r\nimport '../components/deal-sheet/modals/view-customer-email-sent-modal.component';\r\n\r\nimport '../components/opportunities/opportunity-block-horizontal.component';\r\nimport '../components/opportunities/modals/euro-lite-grid-layout-selector-modal.component';\r\n\r\nimport '../components/edit-contact.component';\r\nimport '../components/error/unauthorized.component';\r\nimport '../components/header-wrapper.component';\r\nimport '../components/header/quick-search.component';\r\nimport '../components/header/sub-menu.component';\r\n\r\nimport '../components/dealer-dropdown.component';\r\nimport '../components/email-unsubscribe.component';\r\nimport '../components/html-textarea.component';\r\nimport '../components/iframe.component';\r\nimport '../components/legacy-iframe-support.component';\r\nimport '../components/login.component';\r\nimport '../components/modals/open-modal.component';\r\nimport '../components/modals/announcement-modal.component';\r\nimport '../components/modals/bulk-template-wizard-modal.component';\r\nimport '../components/modals/google-maps-modal.component';\r\nimport '../components/radio-group.component';\r\nimport '../components/reports/modals/lms-transcript-modal.component';\r\nimport '../components/reports/lms-transcript.component';\r\nimport '../components/reports/dealer-make-select.component';\r\nimport '../components/reports/pando-survey-select.component';\r\nimport '../components/reports/report-render.component';\r\nimport '../components/reports/reports-container.component';\r\nimport '../components/reports/reports-menu.component';\r\nimport '../components/reports/reports.component';\r\nimport '../components/reports/beta-reports.component';\r\nimport '../components/reports/reports-header.component';\r\nimport '../components/reports/report-subscriptions-modal.component';\r\nimport '../components/reports/report-subscriptions.component';\r\nimport '../components/reports/report-subscription-list.component';\r\nimport '../components/reports/report-subscription-edit.component';\r\nimport '../components/template-email.component';\r\n\r\nimport '../components/service-drive/filters/service-drive-offers.filter';\r\nimport '../components/service-drive/modals/service-drive-offers-filter.modal.component';\r\nimport '../components/service-drive/modals/service-drive-offers-print.modal.component';\r\nimport '../components/service-drive/service-drive-offers.component';\r\nimport '../components/third-party-report.component';\r\nimport '../components/carfax-callback.component';\r\nimport '../components/carfax-authorize.component';\r\n\r\nimport '../components/toggle-button.component';\r\nimport '../components/portal-footer.component';\r\n\r\nimport \"../components/opportunities/euroliteopportunities.component\";\r\nimport \"../components/search/search-form.component\";\r\nimport \"../components/search/ui-checkboxlist.component\";\r\nimport \"../components/search/ui-textbox.component\";\r\nimport \"../components/search/ui-dropdownlist.component\";\r\nimport \"../components/search/ui-textbox-range.component\";\r\nimport \"../components/search/ui-datepicker-range.component\";\r\nimport \"../components/search/search-menu.component\";\r\nimport \"../components/search/search-container.component\";\r\n\r\nimport \"../components/search/search-manage-presets-container.component\";\r\nimport \"../components/search/search-manage-presets.component\";\r\nimport '../components/search/search-preset-selector.component';\r\nimport '../components/search/search-preset-selector-modal.component';\r\nimport '../components/search/search-preset-settings.component';\r\nimport '../components/search/search-preset-settings-modal.component';\r\nimport '../components/search/search-export-modal.component';\r\nimport '../components/search/search-export-epsilon-modal.component';\r\nimport '../components/search/search-export-epsilon-result-modal.component';\r\nimport '../components/search/search-save-modal.component';\r\nimport '../components/search/search-save-layout-modal.component';\r\nimport '../components/search/search-reassign-modal.component';\r\nimport '../components/search/search-add-access-modal.component';\r\nimport '../components/search/search-direct-alert-modal.component';\r\nimport '../components/search/search-directalert.component';\r\nimport '../components/search/search-save-response-modal.component';\r\nimport '../components/wish-list/wish-list.component';\r\nimport '../components/wish-list/edit-wish-list-modal.component';\r\nimport '../components/wish-list/wish-list-trim-list.component';\r\nimport '../components/wish-list/wish-list-distr-list.component';\r\nimport '../components/wish-list/wish-list-matches-modal.component';\r\nimport '../components/possible-nlo/possible-nlo.component';\r\n\r\nimport '../core/exception-handler.provider';\r\n\r\n// Formerly in header\r\nimport '../components/header/customer-engagement-widget.component';\r\nimport '../components/header/customer-engagement-widget-window.component';\r\nimport '../components/header/customer-engagements-by-entity-modal.component';\r\nimport '../components/header/dealer-list.component';\r\nimport '../components/header/header.component';\r\nimport '../components/header/live-support.component';\r\nimport '../components/header/main-menu.component';\r\n\r\nimport '../components/header/pando-inbox.component';\r\nimport '../components/pagination.component';\r\nimport '../components/filter-button.component';\r\n\r\n// bootstrap the app\r\nangular.module('AaApp', [opportunities]);\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar UserSearchConditionClientService = /** @class */ (function (_super) {\n __extends(UserSearchConditionClientService, _super);\n function UserSearchConditionClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n UserSearchConditionClientService.prototype.GetSearchesGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/UserSearchCondition/GetSearches\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n UserSearchConditionClientService.prototype.GetSearchesGET = function () {\n return this.GetSearchesGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param userSearchConditionId undefined\n */\n UserSearchConditionClientService.prototype.GetSearchModelByUsersearchconditionidGETResponse = function (userSearchConditionId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/UserSearchCondition/GetSearchModel/\" + userSearchConditionId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param userSearchConditionId undefined\n */\n UserSearchConditionClientService.prototype.GetSearchModelByUsersearchconditionidGET = function (userSearchConditionId) {\n return this.GetSearchModelByUsersearchconditionidGETResponse(userSearchConditionId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n UserSearchConditionClientService.prototype.GetSearchCountsPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/UserSearchCondition/GetSearchCounts\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n UserSearchConditionClientService.prototype.GetSearchCountsPOST = function (request) {\n return this.GetSearchCountsPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param luae undefined\n */\n UserSearchConditionClientService.prototype.FlushSearchCountsCacheByLuaeGETResponse = function (luae) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/UserSearchCondition/FlushSearchCountsCache/\" + luae), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param luae undefined\n */\n UserSearchConditionClientService.prototype.FlushSearchCountsCacheByLuaeGET = function (luae) {\n return this.FlushSearchCountsCacheByLuaeGETResponse(luae).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n UserSearchConditionClientService.prototype.GetDealerLayOutExtsGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/UserSearchCondition/GetDealerLayOutExts\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n UserSearchConditionClientService.prototype.GetDealerLayOutExtsGET = function () {\n return this.GetDealerLayOutExtsGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n UserSearchConditionClientService.prototype.GetActiveDealerLayOutExtsGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/UserSearchCondition/GetActiveDealerLayOutExts\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n UserSearchConditionClientService.prototype.GetActiveDealerLayOutExtsGET = function () {\n return this.GetActiveDealerLayOutExtsGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param userSearchConditionId undefined\n */\n UserSearchConditionClientService.prototype.ShareUserSearchConditionByUsersearchconditionidPOSTResponse = function (userSearchConditionId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/UserSearchCondition/ShareUserSearchCondition/\" + userSearchConditionId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param userSearchConditionId undefined\n */\n UserSearchConditionClientService.prototype.ShareUserSearchConditionByUsersearchconditionidPOST = function (userSearchConditionId) {\n return this.ShareUserSearchConditionByUsersearchconditionidPOSTResponse(userSearchConditionId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param userSearchConditionId undefined\n */\n UserSearchConditionClientService.prototype.UnshareUserSearchConditionByUsersearchconditionidPOSTResponse = function (userSearchConditionId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/UserSearchCondition/UnshareUserSearchCondition/\" + userSearchConditionId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param userSearchConditionId undefined\n */\n UserSearchConditionClientService.prototype.UnshareUserSearchConditionByUsersearchconditionidPOST = function (userSearchConditionId) {\n return this.UnshareUserSearchConditionByUsersearchconditionidPOSTResponse(userSearchConditionId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param userSearchConditionId undefined\n */\n UserSearchConditionClientService.prototype.DeleteUserSearchConditionByUsersearchconditionidPOSTResponse = function (userSearchConditionId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/UserSearchCondition/DeleteUserSearchCondition/\" + userSearchConditionId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param userSearchConditionId undefined\n */\n UserSearchConditionClientService.prototype.DeleteUserSearchConditionByUsersearchconditionidPOST = function (userSearchConditionId) {\n return this.DeleteUserSearchConditionByUsersearchconditionidPOSTResponse(userSearchConditionId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `UserSearchConditionClientService.UpdateDealerLayOutsByDealeridPOSTParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `layouts`:\n */\n UserSearchConditionClientService.prototype.UpdateDealerLayOutsByDealeridPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.layouts;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/UserSearchCondition/UpdateDealerLayOuts/\" + params.dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `UserSearchConditionClientService.UpdateDealerLayOutsByDealeridPOSTParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `layouts`:\n */\n UserSearchConditionClientService.prototype.UpdateDealerLayOutsByDealeridPOST = function (params) {\n return this.UpdateDealerLayOutsByDealeridPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param resets undefined\n */\n UserSearchConditionClientService.prototype.ResetAutoAssignmentsPOSTResponse = function (resets) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = resets;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/UserSearchCondition/ResetAutoAssignments\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param resets undefined\n */\n UserSearchConditionClientService.prototype.ResetAutoAssignmentsPOST = function (resets) {\n return this.ResetAutoAssignmentsPOSTResponse(resets).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `UserSearchConditionClientService.ExecutePandoXPOSTParams` containing the following parameters:\n *\n * - `userSearchConditionId`:\n *\n * - `dealerId`:\n */\n UserSearchConditionClientService.prototype.ExecutePandoXPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.userSearchConditionId != null)\n __params = __params.set('userSearchConditionId', params.userSearchConditionId.toString());\n if (params.dealerId != null)\n __params = __params.set('dealerId', params.dealerId.toString());\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/UserSearchCondition/ExecutePandoX\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `UserSearchConditionClientService.ExecutePandoXPOSTParams` containing the following parameters:\n *\n * - `userSearchConditionId`:\n *\n * - `dealerId`:\n */\n UserSearchConditionClientService.prototype.ExecutePandoXPOST = function (params) {\n return this.ExecutePandoXPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n UserSearchConditionClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/UserSearchCondition/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n UserSearchConditionClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n UserSearchConditionClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/UserSearchCondition/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n UserSearchConditionClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n UserSearchConditionClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/UserSearchCondition/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n UserSearchConditionClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n UserSearchConditionClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/UserSearchCondition\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n UserSearchConditionClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n UserSearchConditionClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/UserSearchCondition\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n UserSearchConditionClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n UserSearchConditionClientService.GetSearchesGETPath = '/api/UserSearchCondition/GetSearches';\n UserSearchConditionClientService.GetSearchModelByUsersearchconditionidGETPath = '/api/UserSearchCondition/GetSearchModel/{userSearchConditionId}';\n UserSearchConditionClientService.GetSearchCountsPOSTPath = '/api/UserSearchCondition/GetSearchCounts';\n UserSearchConditionClientService.FlushSearchCountsCacheByLuaeGETPath = '/api/UserSearchCondition/FlushSearchCountsCache/{luae}';\n UserSearchConditionClientService.GetDealerLayOutExtsGETPath = '/api/UserSearchCondition/GetDealerLayOutExts';\n UserSearchConditionClientService.GetActiveDealerLayOutExtsGETPath = '/api/UserSearchCondition/GetActiveDealerLayOutExts';\n UserSearchConditionClientService.ShareUserSearchConditionByUsersearchconditionidPOSTPath = '/api/UserSearchCondition/ShareUserSearchCondition/{userSearchConditionId}';\n UserSearchConditionClientService.UnshareUserSearchConditionByUsersearchconditionidPOSTPath = '/api/UserSearchCondition/UnshareUserSearchCondition/{userSearchConditionId}';\n UserSearchConditionClientService.DeleteUserSearchConditionByUsersearchconditionidPOSTPath = '/api/UserSearchCondition/DeleteUserSearchCondition/{userSearchConditionId}';\n UserSearchConditionClientService.UpdateDealerLayOutsByDealeridPOSTPath = '/api/UserSearchCondition/UpdateDealerLayOuts/{dealerId}';\n UserSearchConditionClientService.ResetAutoAssignmentsPOSTPath = '/api/UserSearchCondition/ResetAutoAssignments';\n UserSearchConditionClientService.ExecutePandoXPOSTPath = '/api/UserSearchCondition/ExecutePandoX';\n UserSearchConditionClientService.ByIdGETPath = '/api/UserSearchCondition/{id}';\n UserSearchConditionClientService.ByIdDELETEPath = '/api/UserSearchCondition/{id}';\n UserSearchConditionClientService.GetManyGETPath = '/api/UserSearchCondition/GetMany';\n UserSearchConditionClientService.PUTPath = '/api/UserSearchCondition';\n UserSearchConditionClientService.POSTPath = '/api/UserSearchCondition';\n UserSearchConditionClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function UserSearchConditionClientService_Factory() { return new UserSearchConditionClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: UserSearchConditionClientService, providedIn: \"root\" });\n return UserSearchConditionClientService;\n}(base_service_1.BaseService));\nexports.UserSearchConditionClientService = UserSearchConditionClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { UserSearchCountRequestOutDto } from '../models/user-search-count-request-out-dto';\r\nimport { UserSearchConditionDealerLayOutExtDto } from '../models/user-search-condition-dealer-lay-out-ext-dto';\r\nimport { ResetAutoAssignmentsDto } from '../models/reset-auto-assignments-dto';\r\nimport { UserSearchConditionDto } from '../models/user-search-condition-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass UserSearchConditionClientService extends __BaseService {\r\n static readonly GetSearchesGETPath = '/api/UserSearchCondition/GetSearches';\r\n static readonly GetSearchModelByUsersearchconditionidGETPath = '/api/UserSearchCondition/GetSearchModel/{userSearchConditionId}';\r\n static readonly GetSearchCountsPOSTPath = '/api/UserSearchCondition/GetSearchCounts';\r\n static readonly FlushSearchCountsCacheByLuaeGETPath = '/api/UserSearchCondition/FlushSearchCountsCache/{luae}';\r\n static readonly GetDealerLayOutExtsGETPath = '/api/UserSearchCondition/GetDealerLayOutExts';\r\n static readonly GetActiveDealerLayOutExtsGETPath = '/api/UserSearchCondition/GetActiveDealerLayOutExts';\r\n static readonly ShareUserSearchConditionByUsersearchconditionidPOSTPath = '/api/UserSearchCondition/ShareUserSearchCondition/{userSearchConditionId}';\r\n static readonly UnshareUserSearchConditionByUsersearchconditionidPOSTPath = '/api/UserSearchCondition/UnshareUserSearchCondition/{userSearchConditionId}';\r\n static readonly DeleteUserSearchConditionByUsersearchconditionidPOSTPath = '/api/UserSearchCondition/DeleteUserSearchCondition/{userSearchConditionId}';\r\n static readonly UpdateDealerLayOutsByDealeridPOSTPath = '/api/UserSearchCondition/UpdateDealerLayOuts/{dealerId}';\r\n static readonly ResetAutoAssignmentsPOSTPath = '/api/UserSearchCondition/ResetAutoAssignments';\r\n static readonly ExecutePandoXPOSTPath = '/api/UserSearchCondition/ExecutePandoX';\r\n static readonly ByIdGETPath = '/api/UserSearchCondition/{id}';\r\n static readonly ByIdDELETEPath = '/api/UserSearchCondition/{id}';\r\n static readonly GetManyGETPath = '/api/UserSearchCondition/GetMany';\r\n static readonly PUTPath = '/api/UserSearchCondition';\r\n static readonly POSTPath = '/api/UserSearchCondition';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n GetSearchesGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserSearchCondition/GetSearches`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n } GetSearchesGET(): __Observable {\r\n return this.GetSearchesGETResponse().pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param userSearchConditionId undefined\r\n */\r\n GetSearchModelByUsersearchconditionidGETResponse(userSearchConditionId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserSearchCondition/GetSearchModel/${userSearchConditionId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param userSearchConditionId undefined\r\n */\r\n GetSearchModelByUsersearchconditionidGET(userSearchConditionId: number): __Observable {\r\n return this.GetSearchModelByUsersearchconditionidGETResponse(userSearchConditionId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n GetSearchCountsPOSTResponse(request?: UserSearchCountRequestOutDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/UserSearchCondition/GetSearchCounts`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n GetSearchCountsPOST(request?: UserSearchCountRequestOutDto): __Observable {\r\n return this.GetSearchCountsPOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param luae undefined\r\n */\r\n FlushSearchCountsCacheByLuaeGETResponse(luae: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserSearchCondition/FlushSearchCountsCache/${luae}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param luae undefined\r\n */\r\n FlushSearchCountsCacheByLuaeGET(luae: number): __Observable {\r\n return this.FlushSearchCountsCacheByLuaeGETResponse(luae).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n GetDealerLayOutExtsGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserSearchCondition/GetDealerLayOutExts`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n } GetDealerLayOutExtsGET(): __Observable {\r\n return this.GetDealerLayOutExtsGETResponse().pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n GetActiveDealerLayOutExtsGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserSearchCondition/GetActiveDealerLayOutExts`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n } GetActiveDealerLayOutExtsGET(): __Observable {\r\n return this.GetActiveDealerLayOutExtsGETResponse().pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param userSearchConditionId undefined\r\n */\r\n ShareUserSearchConditionByUsersearchconditionidPOSTResponse(userSearchConditionId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/UserSearchCondition/ShareUserSearchCondition/${userSearchConditionId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param userSearchConditionId undefined\r\n */\r\n ShareUserSearchConditionByUsersearchconditionidPOST(userSearchConditionId: number): __Observable {\r\n return this.ShareUserSearchConditionByUsersearchconditionidPOSTResponse(userSearchConditionId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param userSearchConditionId undefined\r\n */\r\n UnshareUserSearchConditionByUsersearchconditionidPOSTResponse(userSearchConditionId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/UserSearchCondition/UnshareUserSearchCondition/${userSearchConditionId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param userSearchConditionId undefined\r\n */\r\n UnshareUserSearchConditionByUsersearchconditionidPOST(userSearchConditionId: number): __Observable {\r\n return this.UnshareUserSearchConditionByUsersearchconditionidPOSTResponse(userSearchConditionId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param userSearchConditionId undefined\r\n */\r\n DeleteUserSearchConditionByUsersearchconditionidPOSTResponse(userSearchConditionId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/UserSearchCondition/DeleteUserSearchCondition/${userSearchConditionId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param userSearchConditionId undefined\r\n */\r\n DeleteUserSearchConditionByUsersearchconditionidPOST(userSearchConditionId: number): __Observable {\r\n return this.DeleteUserSearchConditionByUsersearchconditionidPOSTResponse(userSearchConditionId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `UserSearchConditionClientService.UpdateDealerLayOutsByDealeridPOSTParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `layouts`:\r\n */\r\n UpdateDealerLayOutsByDealeridPOSTResponse(params: UserSearchConditionClientService.UpdateDealerLayOutsByDealeridPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n __body = params.layouts;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/UserSearchCondition/UpdateDealerLayOuts/${params.dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `UserSearchConditionClientService.UpdateDealerLayOutsByDealeridPOSTParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `layouts`:\r\n */\r\n UpdateDealerLayOutsByDealeridPOST(params: UserSearchConditionClientService.UpdateDealerLayOutsByDealeridPOSTParams): __Observable {\r\n return this.UpdateDealerLayOutsByDealeridPOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param resets undefined\r\n */\r\n ResetAutoAssignmentsPOSTResponse(resets?: ResetAutoAssignmentsDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = resets;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/UserSearchCondition/ResetAutoAssignments`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param resets undefined\r\n */\r\n ResetAutoAssignmentsPOST(resets?: ResetAutoAssignmentsDto): __Observable {\r\n return this.ResetAutoAssignmentsPOSTResponse(resets).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `UserSearchConditionClientService.ExecutePandoXPOSTParams` containing the following parameters:\r\n *\r\n * - `userSearchConditionId`:\r\n *\r\n * - `dealerId`:\r\n */\r\n ExecutePandoXPOSTResponse(params: UserSearchConditionClientService.ExecutePandoXPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.userSearchConditionId != null) __params = __params.set('userSearchConditionId', params.userSearchConditionId.toString());\r\n if (params.dealerId != null) __params = __params.set('dealerId', params.dealerId.toString());\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/UserSearchCondition/ExecutePandoX`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `UserSearchConditionClientService.ExecutePandoXPOSTParams` containing the following parameters:\r\n *\r\n * - `userSearchConditionId`:\r\n *\r\n * - `dealerId`:\r\n */\r\n ExecutePandoXPOST(params: UserSearchConditionClientService.ExecutePandoXPOSTParams): __Observable {\r\n return this.ExecutePandoXPOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserSearchCondition/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as UserSearchConditionDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/UserSearchCondition/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/UserSearchCondition/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: UserSearchConditionDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/UserSearchCondition`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: UserSearchConditionDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: UserSearchConditionDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/UserSearchCondition`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: UserSearchConditionDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as UserSearchConditionDto)\r\n );\r\n }\r\n}\r\n\r\nmodule UserSearchConditionClientService {\r\n\r\n /**\r\n * Parameters for UpdateDealerLayOutsByDealeridPOST\r\n */\r\n export interface UpdateDealerLayOutsByDealeridPOSTParams {\r\n dealerId: number;\r\n layouts?: Array;\r\n }\r\n\r\n /**\r\n * Parameters for ExecutePandoXPOST\r\n */\r\n export interface ExecutePandoXPOSTParams {\r\n userSearchConditionId?: number;\r\n dealerId?: number;\r\n }\r\n}\r\n\r\nexport { UserSearchConditionClientService }\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar CustomerContactHistoryClientService = /** @class */ (function (_super) {\n __extends(CustomerContactHistoryClientService, _super);\n function CustomerContactHistoryClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.GetCustomerAdditionalContactsByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/CustomerContactHistory/ByEntity/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.GetCustomerAdditionalContactsByEntityidGET = function (entityId) {\n return this.GetCustomerAdditionalContactsByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param customerId undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.GetCustomerAdditionalContactsByCustomeridGETResponse = function (customerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/CustomerContactHistory/ByCustomer/\" + customerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param customerId undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.GetCustomerAdditionalContactsByCustomeridGET = function (customerId) {\n return this.GetCustomerAdditionalContactsByCustomeridGETResponse(customerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/CustomerContactHistory/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n CustomerContactHistoryClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/CustomerContactHistory/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n CustomerContactHistoryClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/CustomerContactHistory/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n CustomerContactHistoryClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/CustomerContactHistory\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n CustomerContactHistoryClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/CustomerContactHistory\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n CustomerContactHistoryClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n CustomerContactHistoryClientService.GetCustomerAdditionalContactsByEntityidGETPath = '/api/CustomerContactHistory/ByEntity/{entityId}';\n CustomerContactHistoryClientService.GetCustomerAdditionalContactsByCustomeridGETPath = '/api/CustomerContactHistory/ByCustomer/{customerId}';\n CustomerContactHistoryClientService.ByIdGETPath = '/api/CustomerContactHistory/{id}';\n CustomerContactHistoryClientService.ByIdDELETEPath = '/api/CustomerContactHistory/{id}';\n CustomerContactHistoryClientService.GetManyGETPath = '/api/CustomerContactHistory/GetMany';\n CustomerContactHistoryClientService.PUTPath = '/api/CustomerContactHistory';\n CustomerContactHistoryClientService.POSTPath = '/api/CustomerContactHistory';\n CustomerContactHistoryClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function CustomerContactHistoryClientService_Factory() { return new CustomerContactHistoryClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: CustomerContactHistoryClientService, providedIn: \"root\" });\n return CustomerContactHistoryClientService;\n}(base_service_1.BaseService));\nexports.CustomerContactHistoryClientService = CustomerContactHistoryClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { CustomerAdditionalContactDto } from '../models/customer-additional-contact-dto';\r\nimport { CustomerContactHistoryDto } from '../models/customer-contact-history-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass CustomerContactHistoryClientService extends __BaseService {\r\n static readonly GetCustomerAdditionalContactsByEntityidGETPath = '/api/CustomerContactHistory/ByEntity/{entityId}';\r\n static readonly GetCustomerAdditionalContactsByCustomeridGETPath = '/api/CustomerContactHistory/ByCustomer/{customerId}';\r\n static readonly ByIdGETPath = '/api/CustomerContactHistory/{id}';\r\n static readonly ByIdDELETEPath = '/api/CustomerContactHistory/{id}';\r\n static readonly GetManyGETPath = '/api/CustomerContactHistory/GetMany';\r\n static readonly PUTPath = '/api/CustomerContactHistory';\r\n static readonly POSTPath = '/api/CustomerContactHistory';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetCustomerAdditionalContactsByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/CustomerContactHistory/ByEntity/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetCustomerAdditionalContactsByEntityidGET(entityId: string): __Observable> {\r\n return this.GetCustomerAdditionalContactsByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param customerId undefined\r\n * @return Success\r\n */\r\n GetCustomerAdditionalContactsByCustomeridGETResponse(customerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/CustomerContactHistory/ByCustomer/${customerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param customerId undefined\r\n * @return Success\r\n */\r\n GetCustomerAdditionalContactsByCustomeridGET(customerId: number): __Observable> {\r\n return this.GetCustomerAdditionalContactsByCustomeridGETResponse(customerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/CustomerContactHistory/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as CustomerContactHistoryDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/CustomerContactHistory/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/CustomerContactHistory/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: CustomerContactHistoryDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/CustomerContactHistory`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: CustomerContactHistoryDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: CustomerContactHistoryDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/CustomerContactHistory`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: CustomerContactHistoryDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as CustomerContactHistoryDto)\r\n );\r\n }\r\n}\r\n\r\nmodule CustomerContactHistoryClientService {\r\n}\r\n\r\nexport { CustomerContactHistoryClientService }\r\n","module.exports = __webpack_public_path__ + \"logo-one-to-one.5525a7ae56ced9425b1f.svg\";","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar ngx_modal_wrapper_service_1 = require(\"../../../../services/ngx-modal-wrapper.service\");\nvar payoff_input_modal_component_1 = require(\"../payoff-input-modal/payoff-input-modal.component\");\nvar PayoffComponent = /** @class */ (function () {\n function PayoffComponent(modalService, tService) {\n this.modalService = modalService;\n this.tService = tService;\n this.onPayoffChange = new core_1.EventEmitter();\n this.saleTypes = constants_1.SaleTypes;\n }\n PayoffComponent.prototype.ngOnInit = function () {\n };\n PayoffComponent.prototype.inputPayoffModal = function () {\n var _this = this;\n var initialState = {\n minPayoff: this.residualAmount,\n };\n this.bsModalRef = this.modalService.show(payoff_input_modal_component_1.PayoffInputModalComponent, { initialState: initialState });\n this.bsModalRef.content.onSaveChanges.subscribe(function (result) {\n _this.onPayoffChange.emit(result);\n });\n };\n return PayoffComponent;\n}());\nexports.PayoffComponent = PayoffComponent;\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { SaleTypes } from '../../../../constants';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { NgxModalWrapperService } from '../../../../services/ngx-modal-wrapper.service';\r\nimport { PayoffInputModalComponent } from '../payoff-input-modal/payoff-input-modal.component';\r\n\r\n@Component({\r\n selector: 'payoff',\r\n templateUrl: './payoff.component-ng.html',\r\n styleUrls: ['./payoff.component.scss']\r\n})\r\nexport class PayoffComponent implements OnInit {\r\n @Input() value: number;\r\n @Input() saleType: any;\r\n @Input() paymentsRemaining: any;\r\n @Input() paidOff: any;\r\n @Input() residualAmount: number;\r\n @Input() permissions: DealSheetPermissions;\r\n @Output() onPayoffChange = new EventEmitter();\r\n\r\n bsModalRef: BsModalRef;\r\n public saleTypes = SaleTypes;\r\n\r\n constructor(\r\n public modalService: NgxModalWrapperService,\r\n public tService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n public inputPayoffModal() {\r\n const initialState = {\r\n minPayoff: this.residualAmount,\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(PayoffInputModalComponent, { initialState });\r\n\r\n this.bsModalRef.content.onSaveChanges.subscribe((result: any) => {\r\n this.onPayoffChange.emit(result);\r\n });\r\n }\r\n\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./cash-paid.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./cash-paid.component\"));\nvar styles_CashPaidComponent = [i0.styles];\nvar RenderType_CashPaidComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CashPaidComponent, data: {} });\nexports.RenderType_CashPaidComponent = RenderType_CashPaidComponent;\nfunction View_CashPaidComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"cash-paid\"], [\"translate\", \"cashPaidLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"span\", [[\"class\", \"field-data qa-cash-paid-value\"], [\"id\", \"cash-paid\"]], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵppd(5, 1)], function (_ck, _v) { var currVal_0 = \"cashPaidLabel\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 4, 0, _ck(_v, 5, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_CashPaidComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleCurrencyPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CashPaidComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_CashPaidComponent_0 = View_CashPaidComponent_0;\nfunction View_CashPaidComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"cash-paid\", [], null, null, null, View_CashPaidComponent_0, RenderType_CashPaidComponent)), i1.ɵdid(1, 49152, null, 0, i6.CashPaidComponent, [i1.ElementRef, i1.Injector, i3.LocaleCurrencyPipe], null, null)], null, null); }\nexports.View_CashPaidComponent_Host_0 = View_CashPaidComponent_Host_0;\nvar CashPaidComponentNgFactory = i1.ɵccf(\"cash-paid\", i6.CashPaidComponent, View_CashPaidComponent_Host_0, { value: \"value\" }, {}, []);\nexports.CashPaidComponentNgFactory = CashPaidComponentNgFactory;\n","
\r\n \r\n {{value | localeCurrency}}\r\n
\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./projected-mileage.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../../../filters/locale-number.pipe\"));\nvar i5 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i6 = __importStar(require(\"./projected-mileage.component\"));\nvar styles_ProjectedMileageComponent = [i0.styles];\nvar RenderType_ProjectedMileageComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ProjectedMileageComponent, data: {} });\nexports.RenderType_ProjectedMileageComponent = RenderType_ProjectedMileageComponent;\nfunction View_ProjectedMileageComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"projected-mileage\"], [\"translate\", \"projectedMileageLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"span\", [[\"class\", \"field-data\"], [\"id\", \"projected-mileage\"]], [[8, \"textContent\", 0]], null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(5, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(6, { mileage: 0 }), i1.ɵppd(7, 1)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"projectedMileageLabel\"; _ck(_v, 2, 0, currVal_0); var currVal_2 = \"field-data\"; var currVal_3 = _ck(_v, 6, 0, _co.alertExists); _ck(_v, 5, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 3, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 3, 0, currVal_1); }); }\nfunction View_ProjectedMileageComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i4.LocaleNumberPipe, [i5.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ProjectedMileageComponent_1)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_ProjectedMileageComponent_0 = View_ProjectedMileageComponent_0;\nfunction View_ProjectedMileageComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"projected-mileage\", [], null, null, null, View_ProjectedMileageComponent_0, RenderType_ProjectedMileageComponent)), i1.ɵdid(1, 114688, null, 0, i6.ProjectedMileageComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ProjectedMileageComponent_Host_0 = View_ProjectedMileageComponent_Host_0;\nvar ProjectedMileageComponentNgFactory = i1.ɵccf(\"projected-mileage\", i6.ProjectedMileageComponent, View_ProjectedMileageComponent_Host_0, { value: \"value\", alertExists: \"alertExists\" }, {}, []);\nexports.ProjectedMileageComponentNgFactory = ProjectedMileageComponentNgFactory;\n","
\r\n \r\n \r\n
\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\nrequire('./_string-html')('fontcolor', function (createHTML) {\n return function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n };\n});\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar lodash_1 = __importDefault(require(\"lodash\"));\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar constants_1 = require(\"../../../../constants\");\nvar log_action_shortcut_service_1 = require(\"../../../../services/log-action-shortcut.service\");\nvar confirmation_modal_component_1 = require(\"../../modals/confirmation-modal/confirmation-modal.component\");\nvar CustomerConnectLogActionComponent = /** @class */ (function () {\n function CustomerConnectLogActionComponent(logActionShortcutService, bsModalService) {\n this.logActionShortcutService = logActionShortcutService;\n this.bsModalService = bsModalService;\n this.onLogScheduleSubmit = new core_1.EventEmitter();\n this.notesType = this.subAction;\n this.isLogEmail = false;\n this.activity = null;\n this.errorMessage = '';\n // ActionResultSetID mapped to setID of json AutoAlert/API/activity-results.json\n this.callActionResultSetID = 1;\n this.apptActionResultSetID = 2;\n this.noteActionResultSetID = 3;\n this.emailActionResultSetID = -1;\n this.translateKeys = constants_1.TranslateKeys;\n this.activityActionEnum = constants_1.ActivityActionEnum;\n // models for display\n this.noteObject = {\n call: {\n activityId: this.activityActionEnum.Log_Call,\n description: this.translateKeys.logCallTitleKey,\n resultType: this.callActionResultSetID,\n resultLabelKey: 'logCallResult',\n isCallBoundTypeVisible: true\n },\n note: {\n activityId: this.activityActionEnum.Post_Note,\n description: this.translateKeys.postNotesTitleKey,\n resultType: this.noteActionResultSetID,\n resultLabelKey: 'postNotesResult',\n isCallBoundTypeVisible: false\n },\n email: {\n activityId: this.activityActionEnum.Email_Sent,\n description: this.translateKeys.logEmailSentTitleKey,\n resultType: this.emailActionResultSetID,\n resultLabelKey: 'result',\n isCallBoundTypeVisible: false\n },\n cancelCallActivity: {\n activityId: this.activityActionEnum.Cancel_Call,\n description: this.translateKeys.cancelTitleCallKey,\n resultType: this.emailActionResultSetID,\n resultLabelKey: 'result',\n isCallBoundTypeVisible: false\n },\n cancelApptActivity: {\n activityId: this.activityActionEnum.Cancel_Appt,\n description: this.translateKeys.cancelTitleApptKey,\n resultType: this.emailActionResultSetID,\n resultLabelKey: 'result',\n isCallBoundTypeVisible: false\n },\n completeCallActivity: {\n activityId: this.activityActionEnum.Phone_Call_Completed,\n description: this.translateKeys.completeTitleCallKey,\n resultType: this.callActionResultSetID,\n resultLabelKey: 'logCallResult',\n isCallBoundTypeVisible: false\n },\n completeApptActivity: {\n activityId: this.activityActionEnum.Appointment_Completed,\n description: this.translateKeys.completeTitleApptKey,\n resultType: this.apptActionResultSetID,\n resultLabelKey: 'resultOfAppointment',\n isCallBoundTypeVisible: false\n }\n };\n // model for UI\n this.activityResultsList = {};\n this.activityResultsListColumn1 = [];\n this.activityResultsListColumn2 = [];\n this.status = { opened: false };\n this.model = { notes: '', resultID: -1, callBoundType: null, setScheduleAppt: false };\n }\n CustomerConnectLogActionComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.logActionShortcutService.$logShortcutAction.subscribe(function (activityActionEnum) {\n if (activityActionEnum) {\n _this.notesType = activityActionEnum;\n _this.handleNotesTypeChange();\n }\n });\n };\n // set default selection and get drop down list\n CustomerConnectLogActionComponent.prototype.setActivityResults = function () {\n var _this = this;\n this.activityResultsList = constants_1.ActivityResultDescriptors.filter(function (value) { return value.setID === _this.currentNoteType.resultType; });\n this.activityResultsListColumn1 = constants_1.ActivityResultDescriptors.filter(function (value) {\n return value.setID === _this.currentNoteType.resultType && value.column === 1;\n });\n this.activityResultsListColumn2 = constants_1.ActivityResultDescriptors.filter(function (value) {\n return value.setID === _this.currentNoteType.resultType && value.column === 2;\n });\n if (this.permissions) {\n this.removeFromActivityResults(this.permissions.editMarkAsSold, 7);\n this.removeFromActivityResults(this.permissions.editMarkAsSold, 11);\n this.removeFromActivityResults(this.permissions.editMarkAsSold, 23);\n this.removeFromActivityResults(this.permissions.editMarkAsPaidOff, 33);\n this.removeFromActivityResults(this.permissions.editMarkAsNotOwn, 28);\n this.removeFromActivityResults(this.permissions.editMarkAsNotOwn, 31);\n this.removeFromActivityResults(this.isEuroLite && this.currentNoteType === this.noteObject.note, 29);\n }\n this.model.resultID = -1;\n };\n CustomerConnectLogActionComponent.prototype.removeFromActivityResults = function (hasPermission, activityResultId) {\n if (!hasPermission) {\n var index = lodash_1.default.findIndex(this.activityResultsListColumn1, function (item) { return item.activityResultID === activityResultId; });\n if (index > -1) {\n this.activityResultsListColumn1.splice(index, 1);\n }\n var index2 = lodash_1.default.findIndex(this.activityResultsListColumn2, function (item) { return item.activityResultID === activityResultId; });\n if (index2 > -1) {\n this.activityResultsListColumn2.splice(index2, 1);\n }\n }\n };\n CustomerConnectLogActionComponent.prototype.onTypeOfCallSelect = function (data) {\n this.model.callBoundType = data;\n };\n CustomerConnectLogActionComponent.prototype.ngOnChanges = function (changes) {\n if (changes.isReset && !changes.isReset.isFirstChange()) {\n this.model = { notes: '', resultID: -1, callBoundType: null, setScheduleAppt: false };\n this.errorMessage = '';\n }\n if (changes.isError && !changes.isError.isFirstChange()) {\n this.errorMessage = 'postnotesResultErrorMsg';\n }\n if (this.subAction && this.dialogParams) {\n this.opportunityId = this.dialogParams.opportunityId;\n this.dealerId = this.dialogParams.dealerId;\n this.notesType = this.subAction;\n if (this.dialogParams.activityObject) {\n this.activity = this.dialogParams.activityObject;\n }\n }\n this.handleNotesTypeChange();\n };\n CustomerConnectLogActionComponent.prototype.handleNotesTypeChange = function () {\n switch (this.notesType) {\n case constants_1.ActivityActionEnum.Post_Note:\n this.currentNoteType = this.noteObject.note;\n this.dialogTitle = this.currentNoteType.description;\n this.setActivityResults();\n break;\n case constants_1.ActivityActionEnum.Log_Call:\n this.currentNoteType = this.noteObject.call;\n this.dialogTitle = this.currentNoteType.description;\n this.setActivityResults();\n break;\n case constants_1.ActivityActionEnum.Email_Sent:\n this.currentNoteType = this.noteObject.email;\n this.dialogTitle = this.currentNoteType.description;\n this.isLogEmail = true;\n break;\n case constants_1.ActivityActionEnum.Cancel_Call:\n this.currentNoteType = this.noteObject.cancelCallActivity;\n this.dialogTitle = this.currentNoteType.description;\n this.isLogEmail = true;\n break;\n case constants_1.ActivityActionEnum.Cancel_Appt:\n this.currentNoteType = this.noteObject.cancelApptActivity;\n this.dialogTitle = this.currentNoteType.description;\n this.isLogEmail = true;\n break;\n case constants_1.ActivityActionEnum.Phone_Call_Completed:\n this.currentNoteType = this.noteObject.completeCallActivity;\n this.dialogTitle = this.currentNoteType.description;\n this.setActivityResults();\n break;\n case constants_1.ActivityActionEnum.Appointment_Completed:\n this.currentNoteType = this.noteObject.completeApptActivity;\n this.dialogTitle = this.currentNoteType.description;\n this.setActivityResults();\n break;\n }\n };\n CustomerConnectLogActionComponent.prototype.onLogActivityCompleteMarkAsSold = function () {\n var _this = this;\n var modal = this.bsModalService.show(confirmation_modal_component_1.ConfirmationModalComponent, {\n animated: true,\n initialState: {\n title: 'pleaseConfirm',\n message: 'euroliteMarkAsSoldVehiclePaidOffNoLongerOwnsPrompt',\n submitButtonText: 'confirm'\n }\n });\n modal.content.onSubmit.subscribe(function () {\n _this.onPostSubmit();\n });\n };\n CustomerConnectLogActionComponent.prototype.onSubmit = function () {\n if (!this.isEuroLite) {\n this.onPostSubmit();\n return;\n }\n else {\n if (this.model.resultID === constants_1.ActivityResults.phoneCall.soldVehicle\n || this.model.resultID === constants_1.ActivityResults.note.soldVehicle\n || this.model.resultID === constants_1.ActivityResults.phoneCall.noLongerOwns\n || this.model.resultID === constants_1.ActivityResults.note.noLongerOwns\n || this.model.resultID === constants_1.ActivityResults.phoneCall.vehiclePaidOff\n || this.model.resultID === constants_1.ActivityResults.note.vehiclePaidOff) {\n this.onLogActivityCompleteMarkAsSold();\n }\n else {\n this.onPostSubmit();\n }\n }\n };\n CustomerConnectLogActionComponent.prototype.onPostSubmit = function () {\n if (this.model.resultID <= -1) {\n switch (this.notesType) {\n case constants_1.ActivityActionEnum.Post_Note:\n case constants_1.ActivityActionEnum.Log_Call:\n case constants_1.ActivityActionEnum.Phone_Call_Completed:\n case constants_1.ActivityActionEnum.Appointment_Completed:\n this.errorMessage = 'postnotesResultErrorMsg';\n this.onLogScheduleSubmit.emit(null); // bubble event to parent\n return;\n }\n }\n var recordId = null;\n if (this.activity) {\n recordId = this.activity.activityId;\n }\n var activity;\n // model to save\n if (this.notesType === constants_1.ActivityActionEnum.Post_Note) {\n activity = {\n entityID: this.opportunityId,\n activityActionID: this.currentNoteType.activityId,\n notes: this.model.notes,\n resultID: this.model.resultID,\n activityId: recordId,\n isFollowUpScheduleAppt: this.model.setScheduleAppt\n };\n }\n else if (this.notesType === constants_1.ActivityActionEnum.Log_Call) {\n activity = {\n entityID: this.opportunityId,\n activityActionID: this.currentNoteType.activityId,\n notes: this.model.notes,\n resultID: this.model.resultID,\n activityId: recordId,\n activityActionSubTypeID: this.model.callBoundType,\n isFollowUpScheduleAppt: this.model.setScheduleAppt\n };\n }\n if (!activity) {\n throw new Error('No activity to log, notesType not equal to Post_Note (1) or Log_Call (2)');\n }\n if (!activity.notes) {\n activity.notes = '';\n }\n if (this.dialogParams.uid) {\n activity.uid = this.dialogParams.uid;\n }\n if (activity.resultID === -1) {\n activity.resultID = null;\n }\n // fire event with activity that needs to be submitted\n this.onLogScheduleSubmit.emit(activity);\n this.resetUI();\n };\n CustomerConnectLogActionComponent.prototype.onCancel = function () {\n if (this.dialogParams.uid) {\n this.onLogScheduleSubmit.emit({ uid: this.dialogParams.uid, status: 'cancel' });\n }\n else {\n this.onLogScheduleSubmit.emit('cancel');\n }\n this.resetUI();\n };\n CustomerConnectLogActionComponent.prototype.resetUI = function () {\n this.status = { opened: false };\n this.model = { notes: '', resultID: -1, callBoundType: this.model.callBoundType, setScheduleAppt: false };\n this.model.setScheduleAppt = false;\n this.errorMessage = '';\n };\n return CustomerConnectLogActionComponent;\n}());\nexports.CustomerConnectLogActionComponent = CustomerConnectLogActionComponent;\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\r\nimport _ from 'lodash';\r\nimport { BsModalService, ModalOptions } from 'ngx-bootstrap/modal';\r\nimport { ActivityActionEnum, ActivityResultDescriptors, ActivityResults, TranslateKeys } from '../../../../constants';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { LogActionShortcutService } from '../../../../services/log-action-shortcut.service';\r\nimport { ConfirmationModalComponent } from '../../modals/confirmation-modal/confirmation-modal.component';\r\nimport { ScheduleModalParam } from '../ScheduleModalParam.interface';\r\n\r\ninterface NoteObject {\r\n call: NoteType;\r\n note: NoteType;\r\n email: NoteType;\r\n cancelCallActivity: NoteType;\r\n cancelApptActivity: NoteType;\r\n completeCallActivity: NoteType;\r\n completeApptActivity: NoteType;\r\n}\r\n\r\ninterface NoteType {\r\n activityId: number;\r\n description: string;\r\n resultType: number;\r\n resultLabelKey: string;\r\n isCallBoundTypeVisible: boolean;\r\n}\r\n\r\ninterface Activity {\r\n entityID: string;\r\n activityActionID: number;\r\n notes: string;\r\n resultID: number;\r\n activityId: number;\r\n activityActionSubTypeID: number;\r\n isFollowUpScheduleAppt: boolean;\r\n uid: number;\r\n}\r\n\r\n@Component({\r\n selector: 'customer-connect-log-action',\r\n templateUrl: './customer-connect-log-action.component-ng.html',\r\n styleUrls: ['./customer-connect-log-action.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CustomerConnectLogActionComponent implements OnInit, OnChanges {\r\n @Input() subAction: number;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() dialogParams: ScheduleModalParam;\r\n @Input() isReset: boolean;\r\n @Input() isError: boolean;\r\n @Output() onLogScheduleSubmit = new EventEmitter();\r\n @Input() isEuroLite: boolean;\r\n\r\n public notesType = this.subAction;\r\n\r\n isLogEmail = false;\r\n activity = null;\r\n errorMessage = '';\r\n\r\n // ActionResultSetID mapped to setID of json AutoAlert/API/activity-results.json\r\n callActionResultSetID = 1;\r\n apptActionResultSetID = 2;\r\n noteActionResultSetID = 3;\r\n emailActionResultSetID = -1;\r\n\r\n currentNoteType: NoteType;\r\n translateKeys = TranslateKeys;\r\n activityActionEnum = ActivityActionEnum;\r\n\r\n // models for display\r\n noteObject = {\r\n call: {\r\n activityId: this.activityActionEnum.Log_Call,\r\n description: this.translateKeys.logCallTitleKey,\r\n resultType: this.callActionResultSetID,\r\n resultLabelKey: 'logCallResult',\r\n isCallBoundTypeVisible: true\r\n },\r\n note: {\r\n activityId: this.activityActionEnum.Post_Note,\r\n description: this.translateKeys.postNotesTitleKey,\r\n resultType: this.noteActionResultSetID,\r\n resultLabelKey: 'postNotesResult',\r\n isCallBoundTypeVisible: false\r\n },\r\n email: {\r\n activityId: this.activityActionEnum.Email_Sent,\r\n description: this.translateKeys.logEmailSentTitleKey,\r\n resultType: this.emailActionResultSetID,\r\n resultLabelKey: 'result',\r\n isCallBoundTypeVisible: false\r\n },\r\n cancelCallActivity: {\r\n activityId: this.activityActionEnum.Cancel_Call,\r\n description: this.translateKeys.cancelTitleCallKey,\r\n resultType: this.emailActionResultSetID,\r\n resultLabelKey: 'result',\r\n isCallBoundTypeVisible: false\r\n },\r\n cancelApptActivity: {\r\n activityId: this.activityActionEnum.Cancel_Appt,\r\n description: this.translateKeys.cancelTitleApptKey,\r\n resultType: this.emailActionResultSetID,\r\n resultLabelKey: 'result',\r\n isCallBoundTypeVisible: false\r\n },\r\n completeCallActivity: {\r\n activityId: this.activityActionEnum.Phone_Call_Completed,\r\n description: this.translateKeys.completeTitleCallKey,\r\n resultType: this.callActionResultSetID,\r\n resultLabelKey: 'logCallResult',\r\n isCallBoundTypeVisible: false\r\n },\r\n completeApptActivity: {\r\n activityId: this.activityActionEnum.Appointment_Completed,\r\n description: this.translateKeys.completeTitleApptKey,\r\n resultType: this.apptActionResultSetID,\r\n resultLabelKey: 'resultOfAppointment',\r\n isCallBoundTypeVisible: false\r\n }\r\n } as NoteObject;\r\n\r\n // model for UI\r\n activityResultsList = {};\r\n activityResultsListColumn1 = [];\r\n activityResultsListColumn2 = [];\r\n\r\n status = { opened: false };\r\n model = { notes: '', resultID: -1, callBoundType: null, setScheduleAppt: false };\r\n\r\n opportunityId: string;\r\n dealerId: number;\r\n dialogTitle: string;\r\n\r\n constructor(private logActionShortcutService: LogActionShortcutService,\r\n private bsModalService: BsModalService) {\r\n }\r\n\r\n ngOnInit() {\r\n this.logActionShortcutService.$logShortcutAction.subscribe((activityActionEnum) => {\r\n if (activityActionEnum) {\r\n this.notesType = activityActionEnum;\r\n this.handleNotesTypeChange();\r\n }\r\n });\r\n }\r\n\r\n // set default selection and get drop down list\r\n setActivityResults(): void {\r\n this.activityResultsList = ActivityResultDescriptors.filter((value) => value.setID === this.currentNoteType.resultType);\r\n this.activityResultsListColumn1 = ActivityResultDescriptors.filter((value) => {\r\n return value.setID === this.currentNoteType.resultType && value.column === 1;\r\n });\r\n this.activityResultsListColumn2 = ActivityResultDescriptors.filter((value) => {\r\n return value.setID === this.currentNoteType.resultType && value.column === 2;\r\n });\r\n\r\n if (this.permissions) {\r\n this.removeFromActivityResults(this.permissions.editMarkAsSold, 7);\r\n this.removeFromActivityResults(this.permissions.editMarkAsSold, 11);\r\n this.removeFromActivityResults(this.permissions.editMarkAsSold, 23);\r\n this.removeFromActivityResults(this.permissions.editMarkAsPaidOff, 33);\r\n this.removeFromActivityResults(this.permissions.editMarkAsNotOwn, 28);\r\n this.removeFromActivityResults(this.permissions.editMarkAsNotOwn, 31);\r\n this.removeFromActivityResults(this.isEuroLite && this.currentNoteType === this.noteObject.note, 29);\r\n }\r\n\r\n this.model.resultID = -1;\r\n }\r\n\r\n removeFromActivityResults(hasPermission: boolean, activityResultId: number): void {\r\n if (!hasPermission) {\r\n const index = _.findIndex(this.activityResultsListColumn1, (item) => item.activityResultID === activityResultId);\r\n if (index > -1) {\r\n this.activityResultsListColumn1.splice(index, 1);\r\n }\r\n const index2 = _.findIndex(this.activityResultsListColumn2, (item) => item.activityResultID === activityResultId);\r\n if (index2 > -1) {\r\n this.activityResultsListColumn2.splice(index2, 1);\r\n }\r\n }\r\n }\r\n\r\n onTypeOfCallSelect(data): void {\r\n this.model.callBoundType = data;\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n\r\n if (changes.isReset && !changes.isReset.isFirstChange()) {\r\n this.model = { notes: '', resultID: -1, callBoundType: null, setScheduleAppt: false };\r\n this.errorMessage = '';\r\n }\r\n\r\n if (changes.isError && !changes.isError.isFirstChange()) {\r\n this.errorMessage = 'postnotesResultErrorMsg';\r\n }\r\n\r\n if (this.subAction && this.dialogParams) {\r\n this.opportunityId = this.dialogParams.opportunityId;\r\n this.dealerId = this.dialogParams.dealerId;\r\n this.notesType = this.subAction;\r\n if (this.dialogParams.activityObject) {\r\n this.activity = this.dialogParams.activityObject;\r\n }\r\n }\r\n\r\n this.handleNotesTypeChange();\r\n }\r\n\r\n handleNotesTypeChange(): void {\r\n switch (this.notesType) {\r\n\r\n case ActivityActionEnum.Post_Note:\r\n\r\n this.currentNoteType = this.noteObject.note;\r\n this.dialogTitle = this.currentNoteType.description;\r\n this.setActivityResults();\r\n break;\r\n case ActivityActionEnum.Log_Call:\r\n\r\n this.currentNoteType = this.noteObject.call;\r\n this.dialogTitle = this.currentNoteType.description;\r\n this.setActivityResults();\r\n break;\r\n case ActivityActionEnum.Email_Sent:\r\n this.currentNoteType = this.noteObject.email;\r\n this.dialogTitle = this.currentNoteType.description;\r\n this.isLogEmail = true;\r\n break;\r\n case ActivityActionEnum.Cancel_Call:\r\n this.currentNoteType = this.noteObject.cancelCallActivity;\r\n this.dialogTitle = this.currentNoteType.description;\r\n this.isLogEmail = true;\r\n break;\r\n case ActivityActionEnum.Cancel_Appt:\r\n this.currentNoteType = this.noteObject.cancelApptActivity;\r\n this.dialogTitle = this.currentNoteType.description;\r\n this.isLogEmail = true;\r\n break;\r\n case ActivityActionEnum.Phone_Call_Completed:\r\n this.currentNoteType = this.noteObject.completeCallActivity;\r\n this.dialogTitle = this.currentNoteType.description;\r\n this.setActivityResults();\r\n break;\r\n case ActivityActionEnum.Appointment_Completed:\r\n this.currentNoteType = this.noteObject.completeApptActivity;\r\n this.dialogTitle = this.currentNoteType.description;\r\n this.setActivityResults();\r\n break;\r\n }\r\n }\r\n\r\n onLogActivityCompleteMarkAsSold(): void {\r\n const modal = this.bsModalService.show(ConfirmationModalComponent, {\r\n animated: true,\r\n initialState: {\r\n title: 'pleaseConfirm',\r\n message: 'euroliteMarkAsSoldVehiclePaidOffNoLongerOwnsPrompt', // translation key\r\n submitButtonText: 'confirm'\r\n }\r\n } as ModalOptions);\r\n\r\n (modal.content as ConfirmationModalComponent).onSubmit.subscribe(() => {\r\n this.onPostSubmit();\r\n });\r\n }\r\n\r\n onSubmit(): void {\r\n if (!this.isEuroLite) {\r\n this.onPostSubmit();\r\n return;\r\n } else {\r\n\r\n if (this.model.resultID === ActivityResults.phoneCall.soldVehicle\r\n || this.model.resultID === ActivityResults.note.soldVehicle\r\n || this.model.resultID === ActivityResults.phoneCall.noLongerOwns\r\n || this.model.resultID === ActivityResults.note.noLongerOwns\r\n || this.model.resultID === ActivityResults.phoneCall.vehiclePaidOff\r\n || this.model.resultID === ActivityResults.note.vehiclePaidOff) {\r\n this.onLogActivityCompleteMarkAsSold();\r\n } else {\r\n this.onPostSubmit();\r\n }\r\n }\r\n }\r\n\r\n onPostSubmit(): void {\r\n if (this.model.resultID <= -1) {\r\n switch (this.notesType) {\r\n case ActivityActionEnum.Post_Note:\r\n case ActivityActionEnum.Log_Call:\r\n case ActivityActionEnum.Phone_Call_Completed:\r\n case ActivityActionEnum.Appointment_Completed:\r\n this.errorMessage = 'postnotesResultErrorMsg';\r\n this.onLogScheduleSubmit.emit(null); // bubble event to parent\r\n return;\r\n }\r\n }\r\n\r\n let recordId = null;\r\n if (this.activity) {\r\n recordId = this.activity.activityId;\r\n }\r\n\r\n let activity: Activity;\r\n // model to save\r\n if (this.notesType === ActivityActionEnum.Post_Note) {\r\n activity = {\r\n entityID: this.opportunityId,\r\n activityActionID: this.currentNoteType.activityId,\r\n notes: this.model.notes,\r\n resultID: this.model.resultID,\r\n activityId: recordId,\r\n isFollowUpScheduleAppt: this.model.setScheduleAppt\r\n } as Activity;\r\n } else if (this.notesType === ActivityActionEnum.Log_Call) {\r\n activity = {\r\n entityID: this.opportunityId,\r\n activityActionID: this.currentNoteType.activityId,\r\n notes: this.model.notes,\r\n resultID: this.model.resultID,\r\n activityId: recordId,\r\n activityActionSubTypeID: this.model.callBoundType,\r\n isFollowUpScheduleAppt: this.model.setScheduleAppt\r\n } as Activity;\r\n }\r\n\r\n if (!activity) {\r\n throw new Error('No activity to log, notesType not equal to Post_Note (1) or Log_Call (2)');\r\n }\r\n\r\n if (!activity.notes) {\r\n activity.notes = '';\r\n }\r\n\r\n if (this.dialogParams.uid) {\r\n activity.uid = this.dialogParams.uid;\r\n }\r\n\r\n if (activity.resultID === -1) {\r\n activity.resultID = null;\r\n }\r\n\r\n // fire event with activity that needs to be submitted\r\n this.onLogScheduleSubmit.emit(activity);\r\n this.resetUI();\r\n }\r\n\r\n onCancel(): void {\r\n if (this.dialogParams.uid) {\r\n this.onLogScheduleSubmit.emit({ uid: this.dialogParams.uid, status: 'cancel' });\r\n } else {\r\n this.onLogScheduleSubmit.emit('cancel');\r\n }\r\n\r\n this.resetUI();\r\n }\r\n\r\n\r\n resetUI(): void {\r\n this.status = { opened: false };\r\n this.model = { notes: '', resultID: -1, callBoundType: this.model.callBoundType, setScheduleAppt: false };\r\n this.model.setScheduleAppt = false;\r\n this.errorMessage = '';\r\n }\r\n\r\n}\r\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","var path = '/app/components/deal-sheet/modals/confirmation-modal.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"hot-trade-details-modal .table {\\n margin-bottom: 5px;\\n}\\nhot-trade-details-modal .center {\\n text-align: center;\\n}\\nhot-trade-details-modal .right {\\n text-align: right;\\n}\\nhot-trade-details-modal .red {\\n color: red;\\n}\\nhot-trade-details-modal .header-section {\\n border-bottom: solid 1px #ccc;\\n}\\nhot-trade-details-modal .footer-section {\\n border-top: solid 1px #ccc;\\n}\\nhot-trade-details-modal .row .padded {\\n padding-top: 10px;\\n padding-bottom: 10px;\\n}\\nhot-trade-details-modal .star-note {\\n font-size: small;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9kZWFsLXNoZWV0L21vZGFscy9DOlxcQXV0b0FsZXJ0XFx3b3Jrc3BhY2VcXEFsZXJ0TWluZXItUG9ydGFsX3JlbGVhc2VfNi42My4wXFxBdXRvQWxlcnQuUG9ydGFsLk9wcG9ydHVuaXRpZXMvc3JjXFxhcHBcXGNvbXBvbmVudHNcXGRlYWwtc2hlZXRcXG1vZGFsc1xcaG90LXRyYWRlLWRldGFpbHMtbW9kYWwuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvZGVhbC1zaGVldC9tb2RhbHMvaG90LXRyYWRlLWRldGFpbHMtbW9kYWwuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0k7RUFDSSxtQkFBQTtDQ0ZQO0FES0c7RUFDSSxtQkFBQTtDQ0hQO0FETUc7RUFDSSxrQkFBQTtDQ0pQO0FET0c7RUFDSSxXQUFBO0NDTFA7QURRRztFQUNJLDhCQUFBO0NDTlA7QURTRztFQUNJLDJCQUFBO0NDUFA7QURVRztFQUNJLGtCQUFBO0VBQ0EscUJBQUE7Q0NSUDtBRFdHO0VBQ0ksaUJBQUE7Q0NUUCIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvZGVhbC1zaGVldC9tb2RhbHMvaG90LXRyYWRlLWRldGFpbHMtbW9kYWwuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0IFwiLi4vLi4vLi4vc3R5bGVzL2FhLXZhcmlhYmxlc1wiO1xyXG5cclxuaG90L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XRhaWxzLW1vZGFsIC5oZWFkZXItc2VjdGlvbiB7XG4gIGJvcmRlci1ib3R0b206IHNvbGlkIDFweCAjY2NjO1xufVxuaG90LXRyYWRlLWRldGFpbHMtbW9kYWwgLmZvb3Rlci1zZWN0aW9uIHtcbiAgYm9yZGVyLXRvcDogc29saWQgMXB4ICNjY2M7XG59XG5ob3QtdHJhZGUtZGV0YWlscy1tb2RhbCAucm93IC5wYWRkZWQge1xuICBwYWRkaW5nLXRvcDogMTBweDtcbiAgcGFkZGluZy1ib3R0b206IDEwcHg7XG59XG5ob3QtdHJhZGUtZGV0YWlscy1tb2RhbCAuc3Rhci1ub3RlIHtcbiAgZm9udC1zaXplOiBzbWFsbDtcbn0iXX0= */\"","require('../modules/es6.reflect.apply');\nrequire('../modules/es6.reflect.construct');\nrequire('../modules/es6.reflect.define-property');\nrequire('../modules/es6.reflect.delete-property');\nrequire('../modules/es6.reflect.enumerate');\nrequire('../modules/es6.reflect.get');\nrequire('../modules/es6.reflect.get-own-property-descriptor');\nrequire('../modules/es6.reflect.get-prototype-of');\nrequire('../modules/es6.reflect.has');\nrequire('../modules/es6.reflect.is-extensible');\nrequire('../modules/es6.reflect.own-keys');\nrequire('../modules/es6.reflect.prevent-extensions');\nrequire('../modules/es6.reflect.set');\nrequire('../modules/es6.reflect.set-prototype-of');\nmodule.exports = require('../modules/_core').Reflect;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mobile-replacement-contract.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../contract/replacement-contracts/replacement-contracts.component\"));\nvar i3 = __importStar(require(\"./mobile-replacement-contract.component\"));\nvar i4 = __importStar(require(\"../../../../services/deal-sheet-data.service\"));\nvar i5 = __importStar(require(\"../../../../services/mobile-deal-sheet-data-caching.service\"));\nvar i6 = __importStar(require(\"@uirouter/core\"));\nvar styles_MobileReplacementContractComponent = [i0.styles];\nvar RenderType_MobileReplacementContractComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MobileReplacementContractComponent, data: {} });\nexports.RenderType_MobileReplacementContractComponent = RenderType_MobileReplacementContractComponent;\nfunction View_MobileReplacementContractComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"replacement-contracts\", [], null, null, null, null, null)), i1.ɵdid(1, 999424, null, 0, i2.ReplacementContractsComponent, [i1.ElementRef, i1.Injector], { countryId: [0, \"countryId\"], opportunity: [1, \"opportunity\"], availableContracts: [2, \"availableContracts\"], permissions: [3, \"permissions\"], showPullForward: [4, \"showPullForward\"], showMobileView: [5, \"showMobileView\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.countryId; var currVal_1 = _co.opportunity; var currVal_2 = _co.availableContracts; var currVal_3 = _co.permissions; var currVal_4 = _co.showPullForward; var currVal_5 = _co.showMobileView; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5); }, null); }\nexports.View_MobileReplacementContractComponent_0 = View_MobileReplacementContractComponent_0;\nfunction View_MobileReplacementContractComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mobile-replacement-contract\", [], null, null, null, View_MobileReplacementContractComponent_0, RenderType_MobileReplacementContractComponent)), i1.ɵdid(1, 245760, null, 0, i3.MobileReplacementContractComponent, [i4.DealSheetDataService, i5.MobileDealSheetDataCachingService, i6.Transition], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MobileReplacementContractComponent_Host_0 = View_MobileReplacementContractComponent_Host_0;\nvar MobileReplacementContractComponentNgFactory = i1.ɵccf(\"mobile-replacement-contract\", i3.MobileReplacementContractComponent, View_MobileReplacementContractComponent_Host_0, {}, {}, []);\nexports.MobileReplacementContractComponentNgFactory = MobileReplacementContractComponentNgFactory;\n","\r\n\r\n","\"use strict\";\n// import { Component, OnInit } from '@angular/core';\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// @Component({\n// selector: 'preferred-equity',\n// templateUrl: './preferred-equity.component.html',\n// styleUrls: ['./preferred-equity.component.scss']\n// })\n// export class PreferredEquityComponent implements OnInit {\n// constructor() { }\n// ngOnInit() {\n// }\n// }\nvar core_1 = require(\"@angular/core\");\nvar static_1 = require(\"@angular/upgrade/static\");\nvar PreferredEquityComponent = /** @class */ (function (_super) {\n __extends(PreferredEquityComponent, _super);\n function PreferredEquityComponent(elementRef, injector) {\n return _super.call(this, 'preferredEquity', elementRef, injector) || this;\n }\n return PreferredEquityComponent;\n}(static_1.UpgradeComponent));\nexports.PreferredEquityComponent = PreferredEquityComponent;\n","// import { Component, OnInit } from '@angular/core';\r\n\r\n// @Component({\r\n// selector: 'preferred-equity',\r\n// templateUrl: './preferred-equity.component.html',\r\n// styleUrls: ['./preferred-equity.component.scss']\r\n// })\r\n// export class PreferredEquityComponent implements OnInit {\r\n\r\n// constructor() { }\r\n\r\n// ngOnInit() {\r\n// }\r\n\r\n// }\r\n\r\nimport { Directive, ElementRef, Injector, Input } from '@angular/core';\r\nimport { UpgradeComponent } from '@angular/upgrade/static';\r\n\r\n@Directive({\r\n selector: 'preferred-equity'\r\n})\r\nexport class PreferredEquityComponent extends UpgradeComponent {\r\n @Input() value: any;\r\n @Input() saleType: any;\r\n @Input() isEuroLite: boolean;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n super('preferredEquity', elementRef, injector);\r\n }\r\n}","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".phone-icon[_ngcontent-%COMP%]{vertical-align:text-bottom!important;margin-top:5px;background:url(https://assets.autoalert.com/img/autoalert-icons/icon-phone-lake.svg) no-repeat;width:1em;height:36px;display:inline-block;line-height:1}\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar CustomerConnectDetailComponent = /** @class */ (function () {\n function CustomerConnectDetailComponent() {\n this.onLogScheduleSubmit = new core_1.EventEmitter();\n }\n CustomerConnectDetailComponent.prototype.ngOnInit = function () {\n };\n CustomerConnectDetailComponent.prototype.ngOnChanges = function (changes) {\n this.onActionSelect(this.action);\n };\n CustomerConnectDetailComponent.prototype.onActionSelect = function (actionSelected) {\n this.subAction = actionSelected;\n };\n return CustomerConnectDetailComponent;\n}());\nexports.CustomerConnectDetailComponent = CustomerConnectDetailComponent;\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { ScheduleModalParam } from '../ScheduleModalParam.interface';\r\n\r\n@Component({\r\n selector: 'customer-connect-detail',\r\n templateUrl: './customer-connect-detail.component-ng.html',\r\n styleUrls: ['./customer-connect-detail.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CustomerConnectDetailComponent implements OnInit, OnChanges {\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() isCustomerConnectOpen: boolean;\r\n @Input() action: any;\r\n @Input() dialogParams: ScheduleModalParam;\r\n @Input() actionTime: number;\r\n @Output() onLogScheduleSubmit = new EventEmitter();\r\n @Input() isEuroLite: boolean;\r\n\r\n public subAction: any;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.onActionSelect(this.action);\r\n }\r\n\r\n onActionSelect(actionSelected) {\r\n this.subAction = actionSelected;\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./dms-push.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i6 = __importStar(require(\"./dms-push.component\"));\nvar i7 = __importStar(require(\"../../../services/ngx-modal-wrapper.service\"));\nvar i8 = __importStar(require(\"../../../core/toaster-logger.service\"));\nvar styles_DmsPushComponent = [i0.styles];\nvar RenderType_DmsPushComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DmsPushComponent, data: {} });\nexports.RenderType_DmsPushComponent = RenderType_DmsPushComponent;\nfunction View_DmsPushComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"p\", [[\"class\", \"dmsPushTooltip\"]], [[8, \"innerHTML\", 1]], null, null, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"dmsPushTooltip\")); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_DmsPushComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"style\", \"margin-bottom:10px !important;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 2, \"button\", [[\"class\", \"btn btn-primary btn-sm\"], [\"placement\", \"top\"], [\"translate\", \"dmsOpenDialogButtonText\"], [\"triggers\", \"mouseenter:mouseleave\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.dmsPushModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), i1.ɵdid(3, 212992, null, 0, i3.PopoverDirective, [i3.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i4.ComponentLoaderFactory, i5.PositioningService], { popover: [0, \"popover\"], placement: [1, \"placement\"], triggers: [2, \"triggers\"] }, null), (_l()(), i1.ɵand(0, [[\"popDmsPushTemplate\", 2]], null, 0, null, View_DmsPushComponent_1))], function (_ck, _v) { var currVal_0 = \"dmsOpenDialogButtonText\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵnov(_v, 4); var currVal_2 = \"top\"; var currVal_3 = \"mouseenter:mouseleave\"; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3); }, null); }\nexports.View_DmsPushComponent_0 = View_DmsPushComponent_0;\nfunction View_DmsPushComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"dmsPush\", [], null, null, null, View_DmsPushComponent_0, RenderType_DmsPushComponent)), i1.ɵdid(1, 638976, null, 0, i6.DmsPushComponent, [i7.NgxModalWrapperService, i2.TranslateService, i8.ToasterLoggerService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DmsPushComponent_Host_0 = View_DmsPushComponent_Host_0;\nvar DmsPushComponentNgFactory = i1.ɵccf(\"dmsPush\", i6.DmsPushComponent, View_DmsPushComponent_Host_0, { dealerId: \"dealerId\", customer: \"customer\", states: \"states\", currentVin: \"currentVin\", currentTradeValue: \"currentTradeValue\", currentYear: \"currentYear\", currentMake: \"currentMake\", currentModel: \"currentModel\", currentMileage: \"currentMileage\", replacementVin: \"replacementVin\", replacementPrice: \"replacementPrice\", replacementSaleType: \"replacementSaleType\" }, {}, []);\nexports.DmsPushComponentNgFactory = DmsPushComponentNgFactory;\n","
\r\n \r\n
\r\n\r\n

\r\n
\r\n","'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {\n join: function join(separator) {\n return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n }\n});\n","// 19.1.2.13 Object.isSealed(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isSealed', function ($isSealed) {\n return function isSealed(it) {\n return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n };\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar window_ref_service_1 = require(\"./window-ref.service\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar constants_1 = require(\"../constants\");\nvar NamedLog = /** @class */ (function () {\n function NamedLog(windowRef, _name, debugEnabled) {\n if (debugEnabled === void 0) { debugEnabled = false; }\n this.windowRef = windowRef;\n this._name = _name;\n this.debugEnabled = debugEnabled;\n }\n Object.defineProperty(NamedLog.prototype, \"name\", {\n get: function () {\n return this._name;\n },\n enumerable: true,\n configurable: true\n });\n NamedLog.prototype.log = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n this._logImpl('log', args);\n };\n NamedLog.prototype.info = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n this._logImpl('info', args);\n };\n NamedLog.prototype.warn = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n this._logImpl('warn', args);\n };\n NamedLog.prototype.error = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n this._logImpl('error', args);\n };\n NamedLog.prototype.debug = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (this.debugEnabled) {\n this._logImpl('debug', args);\n }\n };\n NamedLog.prototype._logImpl = function (level, args) {\n var console = this.windowRef.console || {};\n var noop = function (dummyMessage) { };\n var logFunction = console[level] || console['log'] || noop;\n var message = this.prependName(this.name, args);\n // Support: IE only\n // console methods don't inherit from Function.prototype in IE so we can't\n // call `logFunction.apply(console, args)` directly. Stolen from AngularJs source\n return Function.prototype.apply.call(logFunction, console, message);\n };\n NamedLog.prototype.prependName = function (name, args) {\n if (name) {\n return [\"[\" + name + \"]\"].concat(args);\n }\n else {\n return args;\n }\n };\n return NamedLog;\n}());\nexports.NamedLog = NamedLog;\nvar LogFactory = /** @class */ (function () {\n function LogFactory(windowRef, storageService) {\n this.windowRef = windowRef;\n this.debugEnabled = false;\n var debugSetInLocalStorage = storageService.getItem('debug');\n this.debugEnabled = (debugSetInLocalStorage || constants_1.Settings.environmentVariables.logDebugEnabled);\n }\n LogFactory.prototype.get = function (name) {\n return new NamedLog(this.windowRef, name, this.debugEnabled);\n };\n return LogFactory;\n}());\nexports.LogFactory = LogFactory;\n","import { Injectable, Inject } from '@angular/core';\r\nimport { WINDOW_REF, WindowWrapper } from './window-ref.service';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\nimport { Settings } from '../constants';\r\n\r\nexport class NamedLog {\r\n constructor(private windowRef: Window, private _name?: string, private debugEnabled = false) {\r\n\r\n }\r\n\r\n get name(): string {\r\n return this._name;\r\n }\r\n\r\n log(...args: string[]) {\r\n this._logImpl('log', args);\r\n }\r\n\r\n info(...args: string[]) {\r\n this._logImpl('info', args);\r\n }\r\n\r\n warn(...args: string[]) {\r\n this._logImpl('warn', args);\r\n }\r\n\r\n error(...args: string[]) {\r\n this._logImpl('error', args);\r\n }\r\n\r\n debug(...args: string[]) {\r\n if (this.debugEnabled) {\r\n this._logImpl('debug', args);\r\n }\r\n }\r\n\r\n _logImpl(level: string, args: string[]) {\r\n const console = this.windowRef.console || {};\r\n const noop = function (dummyMessage) { };\r\n\r\n const logFunction = console[level] || console['log'] || noop;\r\n\r\n const message = this.prependName(this.name, args);\r\n\r\n // Support: IE only\r\n // console methods don't inherit from Function.prototype in IE so we can't\r\n // call `logFunction.apply(console, args)` directly. Stolen from AngularJs source\r\n return Function.prototype.apply.call(logFunction, console, message);\r\n }\r\n\r\n private prependName(name: string, args: string[]) {\r\n if (name) {\r\n return [`[${name}]`, ...args];\r\n } else {\r\n return args;\r\n }\r\n }\r\n}\r\n\r\n@Injectable()\r\nexport class LogFactory {\r\n constructor(@Inject(WINDOW_REF) private windowRef: WindowWrapper,\r\n storageService: StorageService) {\r\n const debugSetInLocalStorage = storageService.getItem('debug');\r\n this.debugEnabled = (debugSetInLocalStorage || Settings.environmentVariables.logDebugEnabled);\r\n }\r\n\r\n private debugEnabled = false;\r\n\r\n get(name?: string): NamedLog {\r\n return new NamedLog(this.windowRef, name, this.debugEnabled);\r\n }\r\n}\r\n\r\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","var path = '/app/components/deal-sheet/modals/financial-info-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n","module.exports = \"wish-list {\\n font-size: 11pt;\\n /* > .-formcontainer {\\n background-color: $frame-background-color;\\n }\\n */\\n}\\nwish-list label, wish-list .form-control {\\n font-size: 11pt;\\n}\\nwish-list .table > thead > tr > th,\\nwish-list .table > tbody > tr > th {\\n text-align: center;\\n font-weight: bold;\\n}\\nwish-list .table > thead > tr > th.th-group,\\nwish-list .table > tbody > tr > th.th-group {\\n border-bottom: solid 1px #1f8bd5;\\n color: #1f8bd5;\\n vertical-align: bottom;\\n}\\nwish-list .table > tbody > tr > th,\\nwish-list .table > tbody > tr > td {\\n text-align: center;\\n}\\nwish-list .table > tbody > tr > th.align-left,\\nwish-list .table > tbody > tr > td.align-left {\\n text-align: left;\\n}\\nwish-list .table > tbody > tr > th.align-right,\\nwish-list .table > tbody > tr > td.align-right {\\n text-align: right;\\n}\\nwish-list td {\\n padding-bottom: 5px;\\n}\\nwish-list .float-right {\\n float: right;\\n padding-right: 15px;\\n}\\nwish-list .padding-left {\\n padding-left: 20px;\\n}\\nwish-list .margin-left {\\n margin-left: 10px;\\n}\\nwish-list .page-title {\\n padding: 10px 0 0 10px;\\n float: left;\\n font-size: 18pt;\\n color: #444B4F;\\n}\\nwish-list .title-dealer {\\n color: black;\\n margin-top: 18px;\\n float: left;\\n}\\nwish-list .dealer-select {\\n padding: 10px 0 0 10px;\\n float: left;\\n}\\nwish-list hr {\\n border-top: 1px solid #1F8BD5;\\n margin-bottom: 10px;\\n margin-top: 10px !important;\\n}\\nwish-list a {\\n color: #1F8BD5;\\n}\\nwish-list hr:not(.margin-top) {\\n margin-top: 10;\\n}\\nwish-list .expire-date {\\n color: red;\\n}\\nwish-list .bold {\\n font-weight: bold;\\n}\\nwish-list .padding-bottom {\\n padding-bottom: 10px;\\n}\\nwish-list .error {\\n color: Red !important;\\n}\\nwish-list .edit-box {\\n border: 1px solid #ccc;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n -webkit-appearance: none;\\n}\\nwish-list .edit-box-error {\\n border: 1px solid red;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n -webkit-appearance: none;\\n}\\nwish-list .validate-error {\\n border: 1px solid red;\\n}\\nwish-list .k-grid td {\\n /*font-size: 12pt;*/\\n font-size: 14px;\\n font-family: \\\"Roboto\\\";\\n padding-top: 2px;\\n padding-bottom: 2px;\\n padding-right: 5px;\\n padding-left: 5px;\\n}\\nwish-list .k-grid-header th.k-header {\\n /*font-size: 12pt;*/\\n font-size: 14px;\\n font-weight: 500;\\n}\\nwish-list .wish-list-wrapper {\\n padding-left: 15px;\\n padding-right: 15px;\\n width: 100%;\\n background-color: #E7E7E7;\\n}\\nwish-list .divider {\\n border-top: 1px solid #1F8BD5;\\n margin-bottom: 10px;\\n margin-top: 10px !important;\\n}\\nwish-list .tab-padding {\\n margin: 20px 0 0 0;\\n}\\nwish-list .wish-list-padding {\\n padding: 0 30px 0px 30px;\\n min-height: 900px;\\n}\\nwish-list .header-background {\\n background-color: #172751;\\n}\\nwish-list .btn-label {\\n color: white;\\n text-align: right;\\n padding: 10px;\\n}\\nwish-list .small-margin {\\n margin: 3px;\\n}\\nwish-list .k-grid table {\\n width: 100% !important;\\n}\\nwish-list .svg-icon.xsm {\\n width: 16px;\\n height: 16px;\\n padding: 1px;\\n margin-bottom: 1px;\\n margin-top: 1px;\\n}\\nwish-list .k-grid .k-grid-header .k-header .k-link {\\n height: auto;\\n}\\nwish-list .k-grid .k-grid-header .k-header {\\n white-space: normal;\\n}\\nwish-list #gridWishList th.k-header.align-center {\\n text-align: center;\\n}\\nwish-list #gridWishList th.k-grid-content.align-center {\\n text-align: center;\\n}\\n.replacement-popup {\\n margin: 0px;\\n}\\n.replacement-popup .replacement-popup-list {\\n overflow-y: auto;\\n height: 180px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy93aXNoLWxpc3QvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFx3aXNoLWxpc3RcXHdpc2gtbGlzdC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy93aXNoLWxpc3Qvd2lzaC1saXN0LmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3dpc2gtbGlzdC9DOlxcQXV0b0FsZXJ0XFx3b3Jrc3BhY2VcXEFsZXJ0TWluZXItUG9ydGFsX3JlbGVhc2VfNi42My4wXFxBdXRvQWxlcn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saXN0L3dpc2gtbGlzdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgJy4uLy4uL3N0eWxlcy92YXJpYWJsZXMnO1xyXG5cclxuJGZvbnQtc2l6ZTogMTFwdDtcclxuJGZyYW1lLWJhY2tncm91bmQtY29sb3I6ICNFN0U3RTc7XHJcblxyXG53aXNoLWxpc3Qge1xyXG4gICAgZm9udC1zaXplOiAkZm9udC1zaXplO1xyXG4gICAgLy8gT3ZlcnJpZGVzIGZvciBmb250LXNpemVzIHdlJ3ZlIHB1dCBlbHNld2hlcmVcclxuICAgIGxhYmVsLCAuZm9ybS1jb250cm9sIHtcclxuICAgICAgICBmb250LXNpemU6ICRmb250LXNpemU7XHJcbiAgICB9XHJcbiAgICAvKiAgICA+IC4tZm9ybWNvbnRhaW5lciB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJGZyYW1lLWJhY2tncm91bmQtY29sb3I7XHJcbiAgICB9XHJcbiovXHJcbiAgICAudGFibGUgPiB0aGVhZCA+IHRyID4gdGgsXHJcbiAgICAudGFibGUgPiB0Ym9keSA+IHRyID4gdGgge1xyXG4gICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuXHJcbiAgICAgICAgJi50aC1ncm91cCB7XHJcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b206IHNvbGlkIDFweCAkZ3JhZGllbnQtbGlnaHQtY29sb3I7XHJcbiAgICAgICAgICAgIGNvbG9yOiAkZ3JhZGllbnQtbGlnaHQtY29sb3I7XHJcbiAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiBib3R0b207XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC50YWJsZSA+IHRib2R5ID4gdHIgPiB0aCxcclxuICAgIC50YWJsZSA+IHRib2R5ID4gdHIgPiB0ZCB7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG5cclxuICAgICAgICAmLmFsaWduLWxlZnQge1xyXG4gICAgICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgJi5hbGlnbi1yaWdodCB7XHJcbiAgICAgICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICB0ZCB7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDVweDtcclxuICAgIH1cclxuXHJcbiAgICAuZmxvYXQtcmlnaHQge1xyXG4gICAgICAgIGZsb2F0OiByaWdodDtcclxuICAgICAgICBwYWRkaW5nLXJpZ2h0OiAxNXB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5wYWRkaW5nLWxlZnQge1xyXG4gICAgICAgIHBhZGRpbmctbGVmdDogMjBweDtcclxuICAgIH1cclxuXHJcbiAgICAubWFyZ2luLWxlZnQge1xyXG4gICAgICAgIG1hcmdpbi1sZWZ0OiAxMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5wYWdlLXRpdGxlIHtcclxuICAgICAgICBwYWRkaW5nOiAxMHB4IDAgMCAxMHB4O1xyXG4gICAgICAgIGZsb2F0OiBsZWZ0O1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMThwdDtcclxuICAgICAgICBjb2xvcjogIzQ0NEI0RjtcclxuICAgIH1cclxuXHJcbiAgICAudGl0bGUtZGVhbGVyIHtcclxuICAgICAgICBjb2xvcjogYmxhY2s7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMThweDtcclxuICAgICAgICBmbG9hdDogbGVmdFxyXG4gICAgfVxyXG5cclxuICAgIC5kZWFsZXItc2VsZWN0IHtcclxuICAgICAgICBwYWRkaW5nOiAxMHB4IDAgMCAxMHB4O1xyXG4gICAgICAgIGZsb2F0OiBsZWZ0XHJcbiAgICB9XHJcblxyXG4gICAgaHIge1xyXG4gICAgICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCAjMUY4QkQ1O1xyXG4gICAgICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMTBweCAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIGEge1xyXG4gICAgICAgIGNvbG9yOiAjMUY4QkQ1O1xyXG4gICAgfVxyXG5cclxuICAgIGhyOm5vdCgubWFyZ2luLXRvcCkge1xyXG4gICAgICAgIG1hcmdpbi10b3A6IDEwO1xyXG4gICAgfVxyXG5cclxuICAgIC5leHBpcmUtZGF0ZSB7XHJcbiAgICAgICAgY29sb3I6IHJlZDtcclxuICAgIH1cclxuXHJcbiAgICAuYm9sZCB7XHJcbiAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbiAgICB9XHJcblxyXG4gICAgLnBhZGRpbmctYm90dG9tIHtcclxuICAgICAgICBwYWRkaW5nLWJvdHRvbTogMTBweDtcclxuICAgIH1cclxuXHJcbiAgICAuZXJyb3Ige1xyXG4gICAgICAgIGNvbG9yOiBSZWQgIWltcG9ydGFudDtcclxuICAgIH1cclxuXHJcbiAgICAuZWRpdC1ib3gge1xyXG4gICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNjY2M7XHJcbiAgICAgICAgLW1vei1ib3JkZXItcmFkaXVzOiAxMHB4O1xyXG4gICAgICAgIC13ZWJraXQtYm9yZGVyLXJhZGl1czogMTBweDtcclxuICAgICAgICBib3JkZXItcmFkaXVzOiAxMHB4O1xyXG4gICAgICAgIGhlaWdodDogMjBweDtcclxuICAgICAgICBmb250LXNpemU6IDEycHQ7XHJcbiAgICAgICAgcGFkZGluZzogMnB4IDhweDtcclxuICAgICAgICBvdXRsaW5lOiAwO1xyXG4gICAgICAgIC13ZWJraXQtYXBwZWFyYW5jZTogbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICAuZWRpdC1ib3gtZXJyb3Ige1xyXG4gICAgICAgIGJvcmRlcjogMXB4IHNvbGlkIHJlZDtcclxuICAgICAgIC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iAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJGZyYW1lLWJhY2tncm91bmQtY29sb3I7XHJcbiAgICB9XHJcblxyXG4gICAgLmRpdmlkZXIge1xyXG4gICAgICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCAjMUY4QkQ1O1xyXG4gICAgICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMTBweCAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIC50YWItcGFkZGluZyB7XHJcbiAgICAgICAgbWFyZ2luOiAyMHB4IDAgMCAwO1xyXG4gICAgfVxyXG5cclxuICAgIC53aXNoLWxpc3QtcGFkZGluZyB7XHJcbiAgICAgICAgcGFkZGluZzogMCAzMHB4IDBweCAzMHB4O1xyXG4gICAgICAgIG1pbi1oZWlnaHQ6IDkwMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5oZWFkZXItYmFja2dyb3VuZCB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogIzE3Mjc1MTtcclxuICAgIH1cclxuXHJcbiAgICAuYnRuLWxhYmVsIHtcclxuICAgICAgICBjb2xvcjogd2hpdGU7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogcmlnaHQ7XHJcbiAgICAgICAgcGFkZGluZzogMTBweDtcclxuICAgIH1cclxuXHJcbiAgICAuc21hbGwtbWFyZ2luIHtcclxuICAgICAgICBtYXJnaW46IDNweDtcclxuICAgIH1cclxuXHJcbiAgICAuay1ncmlkIHRhYmxlIHtcclxuICAgICAgICB3aWR0aDogMTAwJSAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG5cclxuICAgIC5zdmctaWNvbiB7XHJcbiAgICAgICAgJi54c20ge1xyXG4gICAgICAgICAgICB3aWR0aDogMTZweDtcclxuICAgICAgICAgICAgaGVpZ2h0OiAxNnB4O1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAxcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbi1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XHJcbiR0YWItdGV4dC1jb2xvcjogJGJyaWdodEJsdWU7XHJcbiR0YWItYWN0aXZlLXRleHQtY29sb3I6IHdoaXRlO1xyXG5cclxuJGNvbnRyb2wtYmFja2dyb3VuZC1jb2xvcjogIzMzN2FiNztcclxuJGFsZXJ0LWluZm8tYmFja2dyb3VuZC1jb2xvcjogI2U3ZTdlNztcclxuXHJcbiRsaWdodC1mb250LXdlaWdodDogMzAwO1xyXG4kYm9sZC1mb250LXdlaWdodDogNTAwO1xyXG4kZG91YmxlLWJvbGQtZm9udC13ZWlnaHQ6IDkwMDtcclxuXHJcbiRTZWN0aW9uVGl0bGVCbHVlOiAjMzM2Njk5O1xyXG4kU2VjdGlvblRpdGxlU3Ryb2tlOiAjYTZjOWUyO1xyXG4kU2VjdGlvbkxhYmVsOiAjMzMzO1xyXG4kU2VjdGlvblZhbHVlOiAjNTU1O1xyXG4kU2VjdGlvbkJvcmRlcjogI2NjYztcclxuJFNlY3Rpb25JbnB1dEludmFsaWQ6ICNmNTMxNDI7XHJcbiRTZWN0aW9uQm9yZGVySW52YWxpZEZvY3VzOiByZ2JhKDI0NSwgNDksIDY2LCAwLjgpO1xyXG4kU2VjdGlvbkJvcmRlckZvY3VzOiByZ2JhKDgyLCAxNjgsIDIzNiwgMC44KTtcclxuJFNlY3Rpb25Cb3JkZXJCb3hTaGFkb3c6IHJnYmEoODIsIDE2OCwgMjM2LCAwLjYpO1xyXG4kU2VjdGlvbkJvcmRlckludmFsaWRTaGFkb3c6IHJnYmEoMjQ1LCA0OSwgNjYsIDAuNik7XHJcbiRTZWN0aW9uQmFja2dyb3VuZDogI2ZmZjtcclxuXHJcbiRrZW5kb0dyaWRGb250RmFtaWx5OiBcIlJvYm90b1wiO1xyXG4iXX0= */\"","// 20.2.2.34 Math.trunc(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n trunc: function trunc(it) {\n return (it > 0 ? Math.floor : Math.ceil)(it);\n }\n});\n","'use strict';\n// Forced replacement prototype accessors methods\nmodule.exports = require('./_library') || !require('./_fails')(function () {\n var K = Math.random();\n // In FF throws only define methods\n // eslint-disable-next-line no-undef, no-useless-call\n __defineSetter__.call(null, K, function () { /* empty */ });\n delete require('./_global')[K];\n});\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var path = '/app/components/filter-button.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar $export = require('./_export');\nvar toInteger = require('./_to-integer');\nvar aNumberValue = require('./_a-number-value');\nvar repeat = require('./_string-repeat');\nvar $toFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\nvar ERROR = 'Number.toFixed: incorrect invocation!';\nvar ZERO = '0';\n\nvar multiply = function (n, c) {\n var i = -1;\n var c2 = c;\n while (++i < 6) {\n c2 += n * data[i];\n data[i] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\nvar divide = function (n) {\n var i = 6;\n var c = 0;\n while (--i >= 0) {\n c += data[i];\n data[i] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\nvar numToString = function () {\n var i = 6;\n var s = '';\n while (--i >= 0) {\n if (s !== '' || i === 0 || data[i] !== 0) {\n var t = String(data[i]);\n s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n }\n } return s;\n};\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !require('./_fails')(function () {\n // V8 ~ Android 4.3-\n $toFixed.call({});\n})), 'Number', {\n toFixed: function toFixed(fractionDigits) {\n var x = aNumberValue(this, ERROR);\n var f = toInteger(fractionDigits);\n var s = '';\n var m = ZERO;\n var e, z, j, k;\n if (f < 0 || f > 20) throw RangeError(ERROR);\n // eslint-disable-next-line no-self-compare\n if (x != x) return 'NaN';\n if (x <= -1e21 || x >= 1e21) return String(x);\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x > 1e-21) {\n e = log(x * pow(2, 69, 1)) - 69;\n z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(0, z);\n j = f;\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n m = numToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n m = numToString() + repeat.call(ZERO, f);\n }\n }\n if (f > 0) {\n k = m.length;\n m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n } else {\n m = s + m;\n } return m;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar ngx_modal_wrapper_service_1 = require(\"../../../services/ngx-modal-wrapper.service\");\nvar nlo_info_modal_component_1 = require(\"..//nlo-info-modal/nlo-info-modal.component\");\nvar NloInfoComponent = /** @class */ (function () {\n function NloInfoComponent(modalService, tService) {\n this.modalService = modalService;\n this.tService = tService;\n this.onMarkNlo = new core_1.EventEmitter();\n }\n NloInfoComponent.prototype.ngOnInit = function () {\n // open the modal on initial load of deal sheet if any data\n if (this.nloData && this.nloData.length > 0) {\n this.nloInfoModal();\n }\n };\n NloInfoComponent.prototype.nloInfoModal = function () {\n var _this = this;\n var initialState = {\n entityId: this.entityId,\n nloData: this.nloData\n };\n this.bsModalRef = this.modalService.show(nlo_info_modal_component_1.NloInfoModalComponent, { initialState: initialState, class: 'nlo-info-modal' });\n this.bsModalRef.content.onClosed.subscribe(function (result) {\n _this.onMarkNlo.emit({ markAsNLO: result.markasNLO });\n });\n };\n return NloInfoComponent;\n}());\nexports.NloInfoComponent = NloInfoComponent;\n","import { Component, Input, Output, OnInit, EventEmitter } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { NgxModalWrapperService } from '../../../services/ngx-modal-wrapper.service';\r\nimport { NloInfoModalComponent } from '..//nlo-info-modal/nlo-info-modal.component';\r\n\r\n@Component({\r\n selector: 'nlo-info',\r\n templateUrl: './nlo-info.component-ng.html',\r\n styleUrls: ['./nlo-info.component.scss']\r\n})\r\nexport class NloInfoComponent implements OnInit {\r\n @Input() entityId: string;\r\n @Input() nloData: any[];\r\n @Output() onMarkNlo = new EventEmitter();\r\n bsModalRef: BsModalRef;\r\n\r\n constructor(\r\n public modalService: NgxModalWrapperService,\r\n public tService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n // open the modal on initial load of deal sheet if any data\r\n if (this.nloData && this.nloData.length > 0) {\r\n this.nloInfoModal();\r\n }\r\n }\r\n\r\n public nloInfoModal() {\r\n const initialState = {\r\n entityId: this.entityId,\r\n nloData: this.nloData\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(NloInfoModalComponent, { initialState, class: 'nlo-info-modal' });\r\n\r\n this.bsModalRef.content.onClosed.subscribe((result: any) => {\r\n this.onMarkNlo.emit({ markAsNLO: result.markasNLO });\r\n });\r\n }\r\n}\r\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","module.exports = \"\"","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar dealer_settings_service_1 = require(\"../../services/dealer-settings.service\");\nvar dealer_service_1 = require(\"../../services/dealer.service\");\nvar admin_settings_dealerinfo_component_1 = require(\"./admin-settings-dealerinfo.component\");\nvar admin_settings_advanced_component_1 = require(\"./admin-settings-advanced.component\");\nvar admin_settings_creditconvert_component_1 = require(\"./admin-settings-creditconvert.component\");\nvar admin_settings_general_component_1 = require(\"./admin-settings-general.component\");\nvar admin_settings_tabs_1 = require(\"./admin-settings-tabs\");\nvar admin_settings_opportunity_component_1 = require(\"./admin-settings-opportunity.component\");\nvar AdminSettingsComponent = /** @class */ (function () {\n function AdminSettingsComponent(changeDetector, dealerService, modalService, tService, dsService, logger, document) {\n this.changeDetector = changeDetector;\n this.dealerService = dealerService;\n this.modalService = modalService;\n this.tService = tService;\n this.dsService = dsService;\n this.logger = logger;\n this.document = document;\n this.formLoaded = false;\n this.dsa = {};\n this.tabIndex = admin_settings_tabs_1.AdminSettingTabs.General;\n this.disableSaveCancel = false;\n }\n Object.defineProperty(AdminSettingsComponent.prototype, \"tabs\", {\n get: function () { return admin_settings_tabs_1.AdminSettingTabs; },\n enumerable: true,\n configurable: true\n });\n AdminSettingsComponent.prototype.ngOnInit = function () {\n this.dealers = this.dealerService.getSelectedDealers();\n this.selectedDealerId = this.dealers[0].id;\n var dsDealerId = localStorage.getItem('dsDealerId');\n if (dsDealerId != null && this.dealers.some(function (d) { return d.id == Number(dsDealerId); }))\n this.selectedDealerId = Number(dsDealerId);\n };\n AdminSettingsComponent.prototype.ngAfterViewInit = function () {\n var _this = this;\n this.busy = this.loadDealer(this.selectedDealerId).then(function (result) {\n // execute validation for all fields (formats and highlights fields where necessary)\n _this.validateAllFieldsUpdateUI();\n _this.dsa.isFormChanged = false; // we need to set formChanged back to false here as validateAllFieldsUpdateUI will set it to true.\n });\n };\n AdminSettingsComponent.prototype.onTabChanged = function (tabIndex) {\n this.tabIndex = tabIndex;\n localStorage.setItem(\"dsTabId\", String(tabIndex));\n if (this.asDealerInfoComponent && this.asDealerInfoComponent.selectedMakeId != 0) {\n this.asDealerInfoComponent.selectedMakeId = 0;\n this.asDealerInfoComponent.makeChanged();\n }\n };\n AdminSettingsComponent.prototype.dealerChanged = function () {\n var _this = this;\n this.busy = this.loadDealer(this.selectedDealerId).then(function (result) {\n // execute validation for all fields (formats and highlights fields where necessary)\n _this.validateAllFieldsUpdateUI();\n });\n };\n AdminSettingsComponent.prototype.validateAllFieldsUpdateUI = function () {\n for (var _i = 0, _a = this.dsa.validationSetting; _i < _a.length; _i++) {\n var item = _a[_i];\n var target = this.document.getElementsByName(item.fieldName);\n if (target != null && target.length > 0) {\n this.onValidateAfterEntry(target[0]);\n this.onValidateDuringEntry(target[0]);\n }\n }\n };\n // validations we do on keyup.. we set attributes for the input, validate the field value, and set the 'invalid\" cssClass if necessary\n AdminSettingsComponent.prototype.onValidateDuringEntry = function (target) {\n if (event != null && target != null) {\n var isValid = true;\n var vs = this.dsa.validationSetting.find(function (v) { return v.fieldName == target.name; });\n if (vs != null) {\n if (vs != null && vs.decimalPlaceStep)\n target.step = vs.decimalPlaceStep;\n if (vs.maxCharacters)\n target.maxLength = vs.maxCharacters;\n // validate the field data\n isValid = this.validateField(vs, target.value);\n }\n if (isValid)\n target.classList.remove(\"invalid\");\n else\n target.classList.add(\"invalid\");\n }\n };\n // validations we do on blur\n AdminSettingsComponent.prototype.onValidateAfterEntry = function (target) {\n if (event != null && target != null) {\n if (target.name != \"dealershipInfo_DealerMake\") {\n this.dsa.isFormChanged = true;\n }\n this.setValidationSettingEnabled(); // in case enabled/disabled validation settings have changed\n var vs = this.dsa.validationSetting.find(function (v) { return v.fieldName == target.name; });\n if (vs != null && vs.decimalPlaces)\n target.value = parseFloat(target.value).toFixed(vs.decimalPlaces);\n if (vs != null) {\n // set min/max values for the input\n if (vs.maxValue != null) {\n target.max = vs.maxValue;\n if (target.value && target.value > vs.maxValue) {\n target.value = vs.maxValue;\n this.changeDetector.detectChanges();\n target.classList.remove(\"invalid\");\n }\n }\n if (vs.minValue != null) {\n target.min = vs.minValue;\n if (target.value && target.value < vs.minValue) {\n target.value = vs.minValue;\n this.changeDetector.detectChanges();\n target.classList.remove(\"invalid\");\n }\n }\n }\n }\n };\n AdminSettingsComponent.prototype.validateAllFields = function () {\n this.setValidationSettingEnabled();\n var isFormValid = true;\n // we attempt to valid all datasets here (only where validation rules exist)\n for (var _i = 0, _a = Object.keys(this.dsa); _i < _a.length; _i++) {\n var propName = _a[_i];\n var value = this.dsa[propName];\n if (Array.isArray(value)) { // validate arrays of objects\n if (propName != \"validationSetting\") {\n for (var _b = 0, value_1 = value; _b < value_1.length; _b++) {\n var item = value_1[_b];\n for (var _c = 0, _d = Object.keys(item); _c < _d.length; _c++) {\n var objPropName = _d[_c];\n var objValue = item[objPropName];\n if (!this.validateFieldOnSave(propName + \".\" + objPropName, objValue))\n isFormValid = false;\n }\n }\n }\n }\n else if (typeof value == \"object\") // validate single objects\n if (value != null) {\n for (var _e = 0, _f = Object.keys(value); _e < _f.length; _e++) {\n var objPropName = _f[_e];\n var objValue = value[objPropName];\n if (!this.validateFieldOnSave(propName + \".\" + objPropName, objValue))\n isFormValid = false;\n }\n }\n else {\n // we only care about arrays and objects, so ignore anything else\n }\n }\n if (!this.dsa.isDealerLogoUpdate && this.dsa.dealerLogoImage != null)\n this.dsa.dealerLogoImage.logoImageBinary = null;\n var fieldNameToHighlight = null;\n // custom validations start here\n if (!this.asGeneralComponent.twilioNumbersValid) {\n isFormValid = false;\n this.tabIndex = admin_settings_tabs_1.AdminSettingTabs.General;\n }\n if (!this.asDealerInfoComponent.customerCulturesDifferent) {\n isFormValid = false;\n this.tabIndex = admin_settings_tabs_1.AdminSettingTabs.DealerInfo;\n }\n if (!this.asOpportunityComponent.leaseContractEndRangeValid || !this.asOpportunityComponent.purchaseContractEndRangeValid) {\n isFormValid = false;\n this.tabIndex = admin_settings_tabs_1.AdminSettingTabs.Opportunity;\n }\n return isFormValid;\n };\n AdminSettingsComponent.prototype.setValidationSettingEnabled = function () {\n // disable validation when tab is hidden or feature disabled\n for (var _i = 0, _a = this.dsa.validationSetting; _i < _a.length; _i++) {\n var item = _a[_i];\n switch (item.pageNum) {\n case admin_settings_tabs_1.AdminSettingTabs.CreditConvert: // creditConvert\n item.enabled = this.dsa.dealerCreditSoftPull != null && this.dsa.dealerCreditSoftPull.useCreditSoftPull && this.dsa.isCreditConvertDealerSettingEnabled;\n break;\n case admin_settings_tabs_1.AdminSettingTabs.Product: // product\n item.enabled = this.dsa.isProductSettingsEnabled;\n break;\n case admin_settings_tabs_1.AdminSettingTabs.CRMLeadsDelivery: // crm leads delivery\n item.enabled = this.dsa.dealerAdfSetting.enabled;\n break;\n }\n if (item.fieldName == \"DealerSetting.AutoCheckCustomerId\")\n item.enabled = this.dsa.dealerSetting.enableAutoCheck;\n if (item.fieldName == \"DealerSetting.CarFaxUsername\" || item.fieldName == \"DealerSetting.CarFaxPassword\")\n item.enabled = this.dsa.dealerSetting.enableCarFax && this.dsa.dealerSetting.carFaxVersion == \"1\";\n if (item.fieldName == \"DealerSetting.CarFaxAutoPurchase\")\n item.enabled = this.dsa.dealerSetting.enableCarFax && this.dsa.dealerSetting.carFaxVersion == \"2\";\n if (item.fieldName == \"DealerSetting.CarProofAccessKey\")\n item.enabled = this.dsa.dealerSetting.enableCarProof;\n }\n };\n AdminSettingsComponent.prototype.onSave = function () {\n var _this = this;\n this.disableSaveCancel = true;\n this.asGeneralComponent.onSave();\n this.asCreditConvertComponent.onSave();\n if (this.validateAllFields()) {\n try {\n this.busy = this.dsService.UpdateDealerSettingAll(this.dsa).then(function (result) {\n switch (result) {\n case 0: // saved successfully\n case 1: // no changes - not saved\n _this.logger.success(_this.tService.instant(\"changesSaved\"));\n if (result == 0) {\n _this.busy = _this.loadDealer(_this.selectedDealerId).then(function (result) {\n // execute validation for all fields (formats and highlights fields where necessary)\n _this.validateAllFieldsUpdateUI();\n });\n }\n break;\n case 5: // unable to provision text number\n _this.logger.error(_this.tService.instant(\"dsAdmin_unableToProvisionTextNumber\"));\n break;\n default:\n _this.logger.error(_this.tService.instant(\"generalErrorMessageKey\"));\n break;\n }\n _this.disableSaveCancel = false;\n });\n }\n catch (err) {\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\n this.disableSaveCancel = false;\n }\n }\n else {\n this.logger.error(this.tService.instant(\"validationErrorResubmit\"));\n this.validateAllFieldsUpdateUI();\n this.disableSaveCancel = false;\n }\n };\n AdminSettingsComponent.prototype.onCancel = function () {\n var _this = this;\n this.disableSaveCancel = true;\n this.busy = this.loadDealer(this.selectedDealerId).then(function (result) {\n // execute validation for all fields (formats and highlights fields where necessary)\n _this.validateAllFieldsUpdateUI();\n _this.logger.warning(_this.tService.instant(\"settingsReturnedToDefault\"));\n _this.disableSaveCancel = false;\n });\n };\n /* No longer needed.... use isFormChanged property if you need to determine if the form changed as below\n public disableSaveCancel() {\n // return !this.dsa.isFormChanged || this.asDealerInfoComponent.isReadOnly;\n\r\n // just leave disable/save buttons enabled for now\n return false;\n }\n */\n // on save, we don't need to update any css and we need to set the tab where the last error occurred and return validation status\n AdminSettingsComponent.prototype.validateFieldOnSave = function (path, value) {\n var vs = this.dsa.validationSetting.find(function (v) { return v.fieldName.toLowerCase() == path.toLowerCase(); });\n if (vs != null) {\n var isValid = this.validateField(vs, value);\n if (!isValid)\n this.tabIndex = vs.pageNum;\n return isValid;\n }\n return true;\n };\n AdminSettingsComponent.prototype.validateField = function (vs, value) {\n var isFieldEmpty = (value == null || value.length == 0);\n if (vs.enabled) {\n if (vs.required && isFieldEmpty)\n return false;\n if (vs.maxCharacters && value != null && value.length > vs.maxCharacters)\n return false;\n if (vs.isURL && !isFieldEmpty) {\n // regex taken from legacy to ensure same behavior\n var urlRegEx = new RegExp(\"^(http[s]?:\\\\/\\\\/(www\\\\.)?|ftp:\\\\/\\\\/(www\\\\.)?|(www\\\\.)?){1}([0-9A-Za-z-\\\\.@:%_\\+~#=]+)+((\\\\.[a-zA-Z]{2,3})+)(/(.)*)?(\\\\?(.)*)?\");\n if (!value.match(urlRegEx))\n return false;\n }\n var numValue = Number(value);\n if (!Number.isNaN(numValue)) {\n if (vs.minValue != null && numValue < vs.minValue)\n return false;\n if (vs.maxValue != null && numValue > vs.maxValue)\n return false;\n }\n }\n if (vs.fieldName == \"DealerSetting.LeaseContractEndRangeFrom\" || vs.fieldName == \"DealerSetting.LeaseContractEndRangeTo\")\n return this.asOpportunityComponent.leaseContractEndRangeValid;\n if (vs.fieldName == \"DealerSetting.PurchaseContractEndRangeFrom\" || vs.fieldName == \"DealerSetting.PurchaseContractEndTo\")\n return this.asOpportunityComponent.purchaseContractEndRangeValid;\n return true;\n };\n AdminSettingsComponent.prototype.loadDealer = function (dealerId) {\n var _this = this;\n this.formLoaded = false;\n return this.dsService.GetDealerSettingAll(this.selectedDealerId).then(function (result) {\n _this.dsa = result;\n _this.dsa.isFormChanged = false;\n _this.formLoaded = true;\n _this.changeDetector.detectChanges();\n // initialize all the components to update any special settings\n _this.asDealerInfoComponent.makeChanged();\n _this.asCreditConvertComponent.ngOnInit();\n _this.asAdvancedComponent.ngOnInit();\n _this.asGeneralComponent.ngOnInit();\n // hide the creditConvert tab when necessary [hidden]=\"true\" doesn't work for some reason?????\n _this.tabCreditConvertCssClass = (_this.dsa.isCreditConvertDealerSettingEnabled) ? \"\" : \"hidden\";\n _this.tabProductCssClass = (_this.dsa.isProductSettingsEnabled) ? \"\" : \"hidden\";\n // set the default tab\n var dsTabId = localStorage.getItem('dsTabId');\n if (dsTabId != null) {\n _this.tabIndex = Number(dsTabId);\n if (!_this.dsa.isCreditConvertDealerSettingEnabled && _this.tabIndex == admin_settings_tabs_1.AdminSettingTabs.CreditConvert) // if creditConvert settings are disabled, we can't default to that tab\n _this.tabIndex = admin_settings_tabs_1.AdminSettingTabs.General;\n else if (!_this.dsa.isProductSettingsEnabled && _this.tabIndex == admin_settings_tabs_1.AdminSettingTabs.Product)\n _this.tabIndex = admin_settings_tabs_1.AdminSettingTabs.General;\n }\n localStorage.setItem(\"dsDealerId\", String(_this.dsa.dealerSetting.dealerID));\n _this.setValidationSettingEnabled();\n });\n };\n return AdminSettingsComponent;\n}());\nexports.AdminSettingsComponent = AdminSettingsComponent;\n","import { Component, OnInit, ViewChild, ChangeDetectorRef, Inject } from '@angular/core';\r\nimport { DealerSettingResponseDto, DealerSettingRequestDto } from '../../generated/models';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerSettingsService } from '../../services/dealer-settings.service';\r\nimport { DealerService } from '../../services/dealer.service';\r\nimport { AdminSettingsDealerInfoComponent } from './admin-settings-dealerinfo.component';\r\nimport { ValidationSettingDto } from '../../generated/models/validation-setting-dto';\r\nimport { AdminSettingsAdvancedComponent } from './admin-settings-advanced.component';\r\nimport { AdminSettingsCreditConvertComponent } from './admin-settings-creditconvert.component';\r\nimport { AdminSettingsGeneralComponent } from './admin-settings-general.component';\r\nimport { AdminSettingTabs } from './admin-settings-tabs';\r\nimport { AdminSettingsOpportunityComponent } from './admin-settings-opportunity.component';\r\nimport { DOCUMENT } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'admin-settings',\r\n templateUrl: './admin-settings.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsComponent implements OnInit {\r\n\r\n @ViewChild('dealerInfoComponent', {static: false}) asDealerInfoComponent: AdminSettingsDealerInfoComponent;\r\n @ViewChild('creditConvertComponent', {static: false}) asCreditConvertComponent: AdminSettingsCreditConvertComponent;\r\n @ViewChild('advancedComponent', {static: false}) asAdvancedComponent: AdminSettingsAdvancedComponent;\r\n @ViewChild('generalComponent', {static: false}) asGeneralComponent: AdminSettingsGeneralComponent;\r\n @ViewChild('opportunityComponent', {static: false}) asOpportunityComponent: AdminSettingsOpportunityComponent;\r\n bsModalRef: BsModalRef;\r\n public formLoaded: Boolean = false;\r\n public busy: Promise;\r\n public dsa: DealerSettingResponseDto = {};\r\n public selectedDealerId: number;\r\n public dealers: any;\r\n public tabIndex: number = AdminSettingTabs.General;\r\n public tabCreditConvertCssClass: string;\r\n public tabProductCssClass: string;\r\n public disableSaveCancel: boolean = false;\r\n get tabs() { return AdminSettingTabs; }\r\n\r\n constructor(\r\n private changeDetector: ChangeDetectorRef,\r\n private dealerService: DealerService,\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public dsService: DealerSettingsService,\r\n public logger: ToasterLoggerService,\r\n @Inject(DOCUMENT) private document) {\r\n }\r\n\r\n public ngOnInit() {\r\n this.dealers = this.dealerService.getSelectedDealers();\r\n this.selectedDealerId = this.dealers[0].id;\r\n\r\n var dsDealerId = localStorage.getItem('dsDealerId');\r\n\r\n if (dsDealerId != null && this.dealers.some((d: any) => d.id == Number(dsDealerId)))\r\n this.selectedDealerId = Number(dsDealerId);\r\n }\r\n\r\n public ngAfterViewInit() {\r\n this.busy = this.loadDealer(this.selectedDealerId).then(result => {\r\n // execute validation for all fields (formats and highlights fields where necessary)\r\n this.validateAllFieldsUpdateUI();\r\n this.dsa.isFormChanged = false; // we need to set formChanged back to false here as validateAllFieldsUpdateUI will set it to true.\r\n });\r\n }\r\n\r\n public onTabChanged(tabIndex: number) {\r\n this.tabIndex = tabIndex;\r\n localStorage.setItem(\"dsTabId\", String(tabIndex));\r\n if (this.asDealerInfoComponent && this.asDealerInfoComponent.selectedMakeId != 0) {\r\n this.asDealerInfoComponent.selectedMakeId = 0;\r\n this.asDealerInfoComponent.makeChanged();\r\n }\r\n }\r\n\r\n public dealerChanged() {\r\n this.busy = this.loadDealer(this.selectedDealerId).then(result => {\r\n // execute validation for all fields (formats and highlights fields where necessary)\r\n this.validateAllFieldsUpdateUI();\r\n });\r\n }\r\n\r\n private validateAllFieldsUpdateUI() {\r\n for (let item of this.dsa.validationSetting) {\r\n var target = this.document.getElementsByName(item.fieldName);\r\n\r\n if (target != null && target.length > 0) {\r\n this.onValidateAfterEntry(target[0]);\r\n this.onValidateDuringEntry(target[0]);\r\n }\r\n }\r\n }\r\n\r\n // validations we do on keyup.. we set attributes for the input, validate the field value, and set the 'invalid\" cssClass if necessary\r\n public onValidateDuringEntry(target: any) {\r\n if (event != null && target != null) {\r\n var isValid: Boolean = true;\r\n\r\n var vs = this.dsa.validationSetting.find(v => v.fieldName == target.name);\r\n\r\n if (vs != null) {\r\n if (vs != null && vs.decimalPlaceStep)\r\n target.step = vs.decimalPlaceStep;\r\n\r\n if (vs.maxCharacters)\r\n target.maxLength = vs.maxCharacters;\r\n\r\n // validate the field data\r\n isValid = this.validateField(vs, target.value);\r\n }\r\n\r\n if (isValid)\r\n target.classList.remove(\"invalid\");\r\n else\r\n target.classList.add(\"invalid\");\r\n }\r\n }\r\n\r\n // validations we do on blur\r\n public onValidateAfterEntry(target: any) {\r\n if (event != null && target != null) {\r\n if (target.name != \"dealershipInfo_DealerMake\") {\r\n this.dsa.isFormChanged = true;\r\n }\r\n this.setValidationSettingEnabled(); // in case enabled/disabled validation settings have changed\r\n var vs = this.dsa.validationSetting.find(v => v.fieldName == target.name);\r\n\r\n if (vs != null && vs.decimalPlaces)\r\n target.value = parseFloat(target.value).toFixed(vs.decimalPlaces);\r\n\r\n if (vs != null) {\r\n // set min/max values for the input\r\n if (vs.maxValue != null) {\r\n target.max = vs.maxValue;\r\n if (target.value && target.value > vs.maxValue) {\r\n target.value = vs.maxValue;\r\n this.changeDetector.detectChanges();\r\n target.classList.remove(\"invalid\");\r\n }\r\n }\r\n\r\n if (vs.minValue != null) {\r\n target.min = vs.minValue;\r\n if (target.value && target.value < vs.minValue) {\r\n target.value = vs.minValue;\r\n this.changeDetector.detectChanges();\r\n target.classList.remove(\"invalid\");\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n private validateAllFields() {\r\n this.setValidationSettingEnabled();\r\n\r\n var isFormValid: boolean = true;\r\n\r\n // we attempt to valid all datasets here (only where validation rules exist)\r\n for (let propName of Object.keys(this.dsa)) {\r\n var value: any = (this.dsa as any)[propName];\r\n\r\n if (Array.isArray(value)) { // validate arrays of objects\r\n if (propName != \"validationSetting\") {\r\n for (let item of value) {\r\n for (let objPropName of Object.keys(item)) {\r\n var objValue: any = (item as any)[objPropName];\r\n if (!this.validateFieldOnSave(propName + \".\" + objPropName, objValue))\r\n isFormValid = false;\r\n }\r\n }\r\n }\r\n }\r\n else if (typeof value == \"object\") // validate single objects\r\n if (value != null) {\r\n for (let objPropName of Object.keys(value)) {\r\n var objValue: any = (value as any)[objPropName];\r\n if (!this.validateFieldOnSave(propName + \".\" + objPropName, objValue))\r\n isFormValid = false;\r\n }\r\n }\r\n else {\r\n // we only care about arrays and objects, so ignore anything else\r\n }\r\n }\r\n\r\n if (!this.dsa.isDealerLogoUpdate && this.dsa.dealerLogoImage != null)\r\n this.dsa.dealerLogoImage.logoImageBinary = null;\r\n\r\n var fieldNameToHighlight: String = null;\r\n\r\n // custom validations start here\r\n if (!this.asGeneralComponent.twilioNumbersValid) {\r\n isFormValid = false;\r\n this.tabIndex = AdminSettingTabs.General;\r\n }\r\n\r\n if (!this.asDealerInfoComponent.customerCulturesDifferent) {\r\n isFormValid = false;\r\n this.tabIndex = AdminSettingTabs.DealerInfo;\r\n }\r\n\r\n if (!this.asOpportunityComponent.leaseContractEndRangeValid || !this.asOpportunityComponent.purchaseContractEndRangeValid) {\r\n isFormValid = false;\r\n this.tabIndex = AdminSettingTabs.Opportunity;\r\n }\r\n\r\n return isFormValid;\r\n }\r\n\r\n private setValidationSettingEnabled() {\r\n // disable validation when tab is hidden or feature disabled\r\n for (let item of this.dsa.validationSetting) {\r\n switch (item.pageNum) {\r\n case AdminSettingTabs.CreditConvert: // creditConvert\r\n item.enabled = this.dsa.dealerCreditSoftPull != null && this.dsa.dealerCreditSoftPull.useCreditSoftPull && this.dsa.isCreditConvertDealerSettingEnabled;\r\n break;\r\n case AdminSettingTabs.Product: // product\r\n item.enabled = this.dsa.isProductSettingsEnabled;\r\n break;\r\n case AdminSettingTabs.CRMLeadsDelivery: // crm leads delivery\r\n item.enabled = this.dsa.dealerAdfSetting.enabled;\r\n break;\r\n }\r\n\r\n if (item.fieldName == \"DealerSetting.AutoCheckCustomerId\")\r\n item.enabled = this.dsa.dealerSetting.enableAutoCheck;\r\n\r\n if (item.fieldName == \"DealerSetting.CarFaxUsername\" || item.fieldName == \"DealerSetting.CarFaxPassword\")\r\n item.enabled = this.dsa.dealerSetting.enableCarFax && this.dsa.dealerSetting.carFaxVersion == \"1\";\r\n\r\n if (item.fieldName == \"DealerSetting.CarFaxAutoPurchase\")\r\n item.enabled = this.dsa.dealerSetting.enableCarFax && this.dsa.dealerSetting.carFaxVersion == \"2\";\r\n\r\n if (item.fieldName == \"DealerSetting.CarProofAccessKey\")\r\n item.enabled = this.dsa.dealerSetting.enableCarProof;\r\n }\r\n }\r\n\r\n public onSave() {\r\n this.disableSaveCancel = true;\r\n this.asGeneralComponent.onSave();\r\n this.asCreditConvertComponent.onSave();\r\n\r\n if (this.validateAllFields()) {\r\n try {\r\n this.busy = this.dsService.UpdateDealerSettingAll(this.dsa as DealerSettingRequestDto).then(result => {\r\n switch (result) {\r\n case 0: // saved successfully\r\n case 1: // no changes - not saved\r\n this.logger.success(this.tService.instant(\"changesSaved\"));\r\n\r\n if (result == 0) {\r\n this.busy = this.loadDealer(this.selectedDealerId).then(result => {\r\n // execute validation for all fields (formats and highlights fields where necessary)\r\n this.validateAllFieldsUpdateUI();\r\n });\r\n }\r\n\r\n break;\r\n case 5: // unable to provision text number\r\n this.logger.error(this.tService.instant(\"dsAdmin_unableToProvisionTextNumber\"));\r\n break;\r\n default:\r\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\r\n break;\r\n }\r\n\r\n this.disableSaveCancel = false;\r\n });\r\n }\r\n catch (err) {\r\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\r\n this.disableSaveCancel = false;\r\n }\r\n }\r\n else {\r\n this.logger.error(this.tService.instant(\"validationErrorResubmit\"));\r\n this.validateAllFieldsUpdateUI();\r\n this.disableSaveCancel = false;\r\n }\r\n }\r\n\r\n public onCancel() {\r\n this.disableSaveCancel = true;\r\n this.busy = this.loadDealer(this.selectedDealerId).then(result => {\r\n // execute validation for all fields (formats and highlights fields where necessary)\r\n this.validateAllFieldsUpdateUI();\r\n this.logger.warning(this.tService.instant(\"settingsReturnedToDefault\"));\r\n this.disableSaveCancel = false;\r\n });\r\n }\r\n\r\n /* No longer needed.... use isFormChanged property if you need to determine if the form changed as below\r\n public disableSaveCancel() {\r\n // return !this.dsa.isFormChanged || this.asDealerInfoComponent.isReadOnly;\r\n\r\n // just leave disable/save buttons enabled for now\r\n return false;\r\n }\r\n */\r\n\r\n // on save, we don't need to update any css and we need to set the tab where the last error occurred and return validation status\r\n private validateFieldOnSave(path: string, value: string) {\r\n var vs = this.dsa.validationSetting.find(v => v.fieldName.toLowerCase() == path.toLowerCase());\r\n\r\n if (vs != null) {\r\n var isValid: Boolean = this.validateField(vs, value);\r\n if (!isValid)\r\n this.tabIndex = vs.pageNum;\r\n\r\n return isValid;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n private validateField(vs: ValidationSettingDto, value: string): Boolean {\r\n var isFieldEmpty: boolean = (value == null || value.length == 0);\r\n\r\n if (vs.enabled) {\r\n if (vs.required && isFieldEmpty)\r\n return false;\r\n\r\n if (vs.maxCharacters && value != null && value.length > vs.maxCharacters)\r\n return false;\r\n\r\n if (vs.isURL && !isFieldEmpty) {\r\n // regex taken from legacy to ensure same behavior\r\n var urlRegEx = new RegExp(\"^(http[s]?:\\\\/\\\\/(www\\\\.)?|ftp:\\\\/\\\\/(www\\\\.)?|(www\\\\.)?){1}([0-9A-Za-z-\\\\.@:%_\\+~#=]+)+((\\\\.[a-zA-Z]{2,3})+)(/(.)*)?(\\\\?(.)*)?\");\r\n if (!value.match(urlRegEx))\r\n return false;\r\n }\r\n\r\n var numValue: number = Number(value);\r\n\r\n if (!Number.isNaN(numValue)) {\r\n if (vs.minValue != null && numValue < vs.minValue)\r\n return false;\r\n\r\n if (vs.maxValue != null && numValue > vs.maxValue)\r\n return false;\r\n }\r\n }\r\n\r\n if (vs.fieldName == \"DealerSetting.LeaseContractEndRangeFrom\" || vs.fieldName == \"DealerSetting.LeaseContractEndRangeTo\")\r\n return this.asOpportunityComponent.leaseContractEndRangeValid;\r\n\r\n if (vs.fieldName == \"DealerSetting.PurchaseContractEndRangeFrom\" || vs.fieldName == \"DealerSetting.PurchaseContractEndTo\")\r\n return this.asOpportunityComponent.purchaseContractEndRangeValid;\r\n\r\n return true;\r\n }\r\n\r\n private loadDealer(dealerId: Number) {\r\n this.formLoaded = false;\r\n return this.dsService.GetDealerSettingAll(this.selectedDealerId).then(result => {\r\n this.dsa = result;\r\n this.dsa.isFormChanged = false;\r\n this.formLoaded = true;\r\n this.changeDetector.detectChanges();\r\n // initialize all the components to update any special settings\r\n this.asDealerInfoComponent.makeChanged();\r\n this.asCreditConvertComponent.ngOnInit();\r\n this.asAdvancedComponent.ngOnInit();\r\n this.asGeneralComponent.ngOnInit();\r\n\r\n // hide the creditConvert tab when necessary [hidden]=\"true\" doesn't work for some reason?????\r\n this.tabCreditConvertCssClass = (this.dsa.isCreditConvertDealerSettingEnabled) ? \"\" : \"hidden\";\r\n this.tabProductCssClass = (this.dsa.isProductSettingsEnabled) ? \"\" : \"hidden\";\r\n\r\n // set the default tab\r\n var dsTabId = localStorage.getItem('dsTabId');\r\n if (dsTabId != null) {\r\n this.tabIndex = Number(dsTabId);\r\n if (!this.dsa.isCreditConvertDealerSettingEnabled && this.tabIndex == AdminSettingTabs.CreditConvert) // if creditConvert settings are disabled, we can't default to that tab\r\n this.tabIndex = AdminSettingTabs.General;\r\n else if (!this.dsa.isProductSettingsEnabled && this.tabIndex == AdminSettingTabs.Product)\r\n this.tabIndex = AdminSettingTabs.General;\r\n }\r\n\r\n localStorage.setItem(\"dsDealerId\", String(this.dsa.dealerSetting.dealerID));\r\n this.setValidationSettingEnabled();\r\n });\r\n }\r\n}","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./admin-roles-selector.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"@ngx-translate/core\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"./admin-roles-selector.component\"));\nvar styles_AdminRolesSelectorComponent = [i0.styles];\nvar RenderType_AdminRolesSelectorComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AdminRolesSelectorComponent, data: {} });\nexports.RenderType_AdminRolesSelectorComponent = RenderType_AdminRolesSelectorComponent;\nfunction View_AdminRolesSelectorComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 1).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 1).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_v.parent.context.$implicit.allow = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onItemChecked(_co.filterSubItemsByCategoryId(_v.parent.context.$implicit.categoryId, _co.accessList)) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(3, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(5, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.readOnly; var currVal_8 = _v.parent.context.$implicit.allow; _ck(_v, 3, 0, currVal_7, currVal_8); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 5).ngClassValid; var currVal_5 = i1.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 5).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nfunction View_AdminRolesSelectorComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"accessRight\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 3).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 3).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_v.context.$implicit.allow = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onSubItemChecked(_v.parent.context.$implicit, _v.context.$implicit) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(3, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(5, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(7, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵted(8, null, [\"\\u00A0\", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.readOnly; var currVal_8 = _v.context.$implicit.allow; _ck(_v, 5, 0, currVal_7, currVal_8); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 7).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 7).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 7).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 7).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 7).ngClassValid; var currVal_5 = i1.ɵnov(_v, 7).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 7).ngClassPending; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_9 = i1.ɵunv(_v, 8, 0, i1.ɵnov(_v, 9).transform(_v.context.$implicit.accessOptionName)); _ck(_v, 8, 0, currVal_9); }); }\nfunction View_AdminRolesSelectorComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"div\", [[\"class\", \"categoriesContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 6, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminRolesSelectorComponent_2)), i1.ɵdid(3, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 0, \"img\", [[\"class\", \"categoryImage\"]], [[8, \"src\", 4]], null, null, null, null)), (_l()(), i1.ɵted(6, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"div\", [[\"class\", \"accessRightContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminRolesSelectorComponent_3)), i1.ɵdid(10, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.hideCategoryCheckbox; _ck(_v, 3, 0, currVal_0); var currVal_3 = _co.filterSubItemsByCategoryId(_v.context.$implicit.categoryId, _co.accessList); _ck(_v, 10, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.ICONS[_v.context.$implicit.accessOptionName]; _ck(_v, 5, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(_v.context.$implicit.accessOptionName)); _ck(_v, 6, 0, currVal_2); }); }\nfunction View_AdminRolesSelectorComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"cancel\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminRolesSelectorComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary saveButton\"], [\"translate\", \"saveChanges\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onSave() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"saveChanges\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminRolesSelectorComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminRolesSelectorComponent_1)), i1.ɵdid(1, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(2, 0, null, null, 5, \"div\", [[\"class\", \"actionButtonContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"div\", [[\"style\", \"float:right;\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminRolesSelectorComponent_4)), i1.ɵdid(5, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminRolesSelectorComponent_5)), i1.ɵdid(7, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.categories; _ck(_v, 1, 0, currVal_0); var currVal_1 = !_co.readOnly; _ck(_v, 5, 0, currVal_1); var currVal_2 = !_co.readOnly; _ck(_v, 7, 0, currVal_2); }, null); }\nexports.View_AdminRolesSelectorComponent_0 = View_AdminRolesSelectorComponent_0;\nfunction View_AdminRolesSelectorComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"admin-roles-selector\", [], null, null, null, View_AdminRolesSelectorComponent_0, RenderType_AdminRolesSelectorComponent)), i1.ɵdid(1, 49152, null, 0, i5.AdminRolesSelectorComponent, [], null, null)], null, null); }\nexports.View_AdminRolesSelectorComponent_Host_0 = View_AdminRolesSelectorComponent_Host_0;\nvar AdminRolesSelectorComponentNgFactory = i1.ɵccf(\"admin-roles-selector\", i5.AdminRolesSelectorComponent, View_AdminRolesSelectorComponent_Host_0, { accessList: \"accessList\", categories: \"categories\", dealerGroupId: \"dealerGroupId\", hideCategoryCheckbox: \"hideCategoryCheckbox\", readOnly: \"readOnly\" }, { onSaveChanges: \"onSaveChanges\", onCancelChanges: \"onCancelChanges\", accessRightChanged: \"accessRightChanged\" }, []);\nexports.AdminRolesSelectorComponentNgFactory = AdminRolesSelectorComponentNgFactory;\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","module.exports = \".dealer-rates-wrapper {\\n padding-left: 15px;\\n padding-right: 15px;\\n width: 100%;\\n min-height: 900px;\\n}\\n.dealer-rates-wrapper .dealer-rates {\\n background-color: #e6e6e6;\\n margin: 0px;\\n padding: 10px;\\n font-size: 14px;\\n min-height: 900px;\\n /* https://docs.telerik.com/kendo-ui/third-party/using-kendo-with-twitter-bootstrap */\\n}\\n.dealer-rates-wrapper .dealer-rates #gridDataEntryRateMarkUps th.k-header.align-right {\\n text-align: center;\\n}\\n.dealer-rates-wrapper .dealer-rates #gridDataEntryOverAllowance th.k-header.align-right {\\n text-align: center;\\n}\\n.dealer-rates-wrapper .dealer-rates #gridDataEntryUsedRates th.k-header.align-right {\\n text-align: center;\\n}\\n.dealer-rates-wrapper .dealer-rates .tab-help-label {\\n color: #7A8084;\\n margin-left: 15px;\\n}\\n.dealer-rates-wrapper .dealer-rates .k-detail-row {\\n background-color: #a6d1ee;\\n}\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs {\\n /* reset everything to the default box model */\\n /* set a border-box model only to elements that need it */\\n /* reset everything to the default box model */\\n}\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs *, .dealer-rates-wrapper .dealer-rates .kendo-angularjs :before, .dealer-rates-wrapper .dealer-rates .kendo-angularjs :after {\\n -webkit-box-sizing: content-box;\\n box-sizing: content-box;\\n}\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .form-control,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .container,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .container-fluid,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .row,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-1, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-1, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-1, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-1,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-2, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-2, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-2, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-2,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-3, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-3, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-3, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-3,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-4, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-4, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-4, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-4,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-5, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-5, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-5, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-5,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-6, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-6, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-6, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-6,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-7, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-7, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-7, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-7,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-8, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-8, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-8, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-8,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-9, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-9, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-9, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-9,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-10, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-10, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-10, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-10,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-11, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-11, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-11, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-11,\\n.dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-xs-12, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-sm-12, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-md-12, .dealer-rates-wrapper .dealer-rates .kendo-angularjs .col-lg-12 {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n}\\n.dealer-rates-wrapper .dealer-rates .nounderline {\\n text-decoration: none;\\n}\\n.dealer-rates-wrapper .dealer-rates .noRecordsAvailable {\\n font-size: small;\\n}\\n.dealer-rates-wrapper .dealer-rates .k-grid-norecords {\\n margin-top: 20px;\\n}\\n.dealer-rates-wrapper .dealer-rates .tab-header {\\n margin-left: 15px;\\n}\\n.dealer-rates-wrapper .dealer-rates .edit-box {\\n border: 1px solid #ccc;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n text-align: right;\\n -webkit-appearance: none;\\n}\\n.dealer-rates-wrapper .dealer-rates .edit-box-error {\\n border: 1px solid red;\\n border-radius: 10px;\\n height: 20px;\\n font-size: 12pt;\\n padding: 2px 8px;\\n outline: 0;\\n text-align: right;\\n -webkit-appearance: none;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIn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B0aC5rLWhlYWRlci5hbGlnbi1yaWdodCB7XHJcbiAgICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgICAgICB9XHJcblxyXG5cclxuICAgICAgICAudGFiLWhlbHAtbGFiZWwge1xyXG4gICAgICAgICAgICBjb2xvcjogIzdBODA4NDtcclxuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDE1cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuay1kZXRhaWwtcm93IHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2E2ZDFlZTtcclxuICAgICAgICB9XHJcbiAgICAgICAgLyogaHR0cHM6Ly9kb2NzLnRlbGVyaWsuY29tL2tlbmRvLXVpL3RoaXJkLXBhcnR5L3VzaW5nLWtlbmRvLXdpdGgtdHdpdHRlci1ib290c3RyYXAgKi9cclxuICAgICAgICAua2VuZG8tYW5ndWxhcmpzIHtcclxuICAgICAgICAgICAgLyogcmVzZXQgZXZlcnl0aGluZyB0byB0aGUgZGVmYXVsdCBib3ggbW9kZWwgKi9cclxuICAgICAgICAgICAgKiwgOmJlZm9yZSwgOmFmdGVyIHtcclxuICAgICAgICAgICAgICAgIC13ZWJraXQtYm94LXNpemluZzogY29udGVudC1ib3g7XHJcbiAgICAgICAgICAgICAgICAtbW96LWJveC1zaXppbmc6IGNvbnRlbnQtYm94O1xyXG4gICAgICAgICAgICAgICAgYm94LXNpemluZzogY29udGVudC1ib3g7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgLyogc2V0IGEgYm9yZGVyLWJveCBtb2RlbCBvbmx5IHRvIGVsZW1lbnRzIHRoYXQgbmVlZCBpdCAqL1xyXG4gICAgICAgICAgICAuZm9ybS1jb250cm9sLCAvKiBpZiB0aGlzIGNsYXNzIGlzIGFwcGxpZWQgdG8gYSBLZW5kbyBVSSB3aWRnZXQsIGl0cyBsYXlvdXQgbWF5IGNoYW5nZSAqL1xyXG4gICAgICAgICAgICAuY29udGFpbmVyLFxyXG4gICAgICAgICAgICAuY29udGFpbmVyLWZsdWlkLFxyXG4gICAgICAgICAgICAucm93LFxyXG4gICAgICAgICAgICAuY29sLXhzLTEsIC5jb2wtc20tMSwgLmNvbC1tZC0xLCAuY29sLWxnLTEsXHJcbiAgICAgICAgICAgIC5jb2wteHMtMiwgLmNvbC1zbS0yLCAuY29sLW1kLTIsIC5jb2wtbGctMixcclxuICAgICAgICAgICAgLmNvbC14cy0zLCAuY29sLXNtLTMsIC5jb2wtbWQtMywgLmNvbC1sZy0zLFxyXG4gICAgICAgICAgICAuY29sLXhzLTQsIC5jb2wtc20tNCwgLmNvbC1tZC00LCAuY29sLWxnLTQsXHJcbiAgICAgICAgICAgIC5jb2wteHMtNSwgLmNvbC1zbS01LCAuY29sLW1kLTUsIC5jb2wtbGctNSxcclxuICAgICAgICAgICAgLmNvbC14cy02LCAuY29sLXNtLTYsIC5jb2wtbWQtNiwgLmNvbC1sZy02LFxyXG4gICAgICAgICAgICAuY29sLXhzLTcsIC5jb2wtc20tNywgLmNvbC1tZC03LCAuY29sLWxnLTcsXHJcbiAgICAgICAgICAgIC5jb2wteHMtOCwgLmNvbC1zbS04LCAuY29sLW1kLTgsIC5jb2wtbGctOCxcclxuICAgICAgICAgICAgLmNvbC14cy05LCAuY29sLXNtLTksIC5jb2wtbWQtOSwgLmNvbC1sZy05LFxyXG4gICAgICAgICAgICAuY29sLXhzLTEwLCAuY29sLXNtLTEwLCAuY29sLW1kLTEwLCAuY29sLWxnLTEwLFxyXG4gICAgICAgICAgICAuY29sLXhzLTExLCAuY29sLXNtLTExLCAuY29sLW1kLTExLCAuY29sLWxnLTExLFxyXG4gICAgICAgICAgICAuY29sLXhzLTEyLCAuY29sLXNtLTEyLCAuY29sLW1kLTEyLCAuY29sLWxnLTEyIHtcclxuICAgICAgICAgICAgICAgIC13ZWJraXQtYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuICAgICAgICAgICAgICAgIC1tb3otYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuICAgICAgICAgICAgICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgLyogcmVzZXQgZXZlcnl0aGluZyB0byB0aGUgZGVmYXVsdCBib3ggbW9kZWwgKi9cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5ub3VuZGVybGluZSB7XHJcbiAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5ub1JlY29yZHNBdmFpbGFibGUge1xyXG4gICAgICAgICAgICBmb250LXNpemU6IHNtYWxsO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmstZ3JpZC1ub3JlY29yZHMge1xyXG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAyMHB4O1xyXG4gICAgICAgIH1cclxuXHJcblxyXG4gICAgICAgIC50YWItaGVhZGVyIHtcclxuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDE1cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuZWRpdC1ib3gge1xyXG4gICAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCAjY2NjO1xyXG4gICAgICAgICAgICAtbW96LWJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbiAgICAgICAgICAgIC13ZWJraXQtYm9yZGVyLXJhZGl1czogMTBweDtcclxuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogMTBweDtcclxuICAgICAgICAgICAgaGVpZ2h0OiAyMHB4O1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDEycHQ7XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDJweCA4cHg7XHJcbiAgICAgICAgICAgIG91dGxpbmU6IDA7XHJcbiAgICAgICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xyXG4gICAgICAgICAgICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7XHJcbiAgICAgICAgfVxyXG5ccl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NjY2M7XG4gIC1tb3otYm9yZGVyLXJhZGl1czogMTBweDtcbiAgLXdlYmtpdC1ib3JkZXItcmFkaXVzOiAxMHB4O1xuICBib3JkZXItcmFkaXVzOiAxMHB4O1xuICBoZWlnaHQ6IDIwcHg7XG4gIGZvbnQtc2l6ZTogMTJwdDtcbiAgcGFkZGluZzogMnB4IDhweDtcbiAgb3V0bGluZTogMDtcbiAgdGV4dC1hbGlnbjogcmlnaHQ7XG4gIC13ZWJraXQtYXBwZWFyYW5jZTogbm9uZTtcbn1cbi5kZWFsZXItcmF0ZXMtd3JhcHBlciAuZGVhbGVyLXJhdGVzIC5lZGl0LWJveC1lcnJvciB7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHJlZDtcbiAgLW1vei1ib3JkZXItcmFkaXVzOiAxMHB4O1xuICAtd2Via2l0LWJvcmRlci1yYWRpdXM6IDEwcHg7XG4gIGJvcmRlci1yYWRpdXM6IDEwcHg7XG4gIGhlaWdodDogMjBweDtcbiAgZm9udC1zaXplOiAxMnB0O1xuICBwYWRkaW5nOiAycHggOHB4O1xuICBvdXRsaW5lOiAwO1xuICB0ZXh0LWFsaWduOiByaWdodDtcbiAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lO1xufSJdfQ== */\"","var path = '/app/components/deal-sheet/modals/email-info-edit-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./log-action-shortcuts.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../email-template-action/email-template-action.component\"));\nvar i4 = __importStar(require(\"../text-action/text-action.component.ngfactory\"));\nvar i5 = __importStar(require(\"../text-action/text-action.component\"));\nvar i6 = __importStar(require(\"@angular/platform-browser\"));\nvar i7 = __importStar(require(\"../../../services/user.service\"));\nvar i8 = __importStar(require(\"../../../core/toaster-logger.service\"));\nvar i9 = __importStar(require(\"../../../services/notification.service\"));\nvar i10 = __importStar(require(\"../../../services/authorization.service\"));\nvar i11 = __importStar(require(\"../../../services/text-message.service\"));\nvar i12 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar i13 = __importStar(require(\"@angular/common\"));\nvar i14 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar i15 = __importStar(require(\"./log-action-shortcuts.component\"));\nvar i16 = __importStar(require(\"../../../services/log-action-shortcut.service\"));\nvar styles_LogActionShortcutsComponent = [i0.styles];\nvar RenderType_LogActionShortcutsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_LogActionShortcutsComponent, data: {} });\nexports.RenderType_LogActionShortcutsComponent = RenderType_LogActionShortcutsComponent;\nfunction View_LogActionShortcutsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 13, \"div\", [[\"class\", \"log-action-shortcuts\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary btn-sm shortcut-action-btn\"], [\"translate\", \"logACall\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.logCall() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"Log a Call\"])), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary btn-sm shortcut-action-btn\"], [\"translate\", \"logANote\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.logNote() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"Log a Note\"])), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary btn-sm shortcut-action-btn\"], [\"translate\", \"scheduleAppt\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.scheduleAppt() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"Schedule Appt\"])), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"email-template-action\", [[\"isShortcutButton\", \"true\"]], null, null, null, null, null)), i1.ɵdid(11, 999424, null, 0, i3.EmailTemplateActionComponent, [i1.ElementRef, i1.Injector], { opportunity: [0, \"opportunity\"], permissions: [1, \"permissions\"], isEuroLite: [2, \"isEuroLite\"], isShortcutButton: [3, \"isShortcutButton\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"text-action\", [[\"isCustomerConnectOpen\", \"true\"], [\"isShortcutButton\", \"true\"]], null, null, null, i4.View_TextActionComponent_0, i4.RenderType_TextActionComponent)), i1.ɵdid(13, 9158656, null, 0, i5.TextActionComponent, [i6.DomSanitizer, i7.UserService, i8.ToasterLoggerService, i9.NotificationService, i10.AuthorizationService, i1.Renderer2, i11.TextMessageService, i2.TranslateService, i12.LocaleDateTimePipe, i1.ChangeDetectorRef, i13.DOCUMENT, i14.EulaModalService], { opportunity: [0, \"opportunity\"], isTextingEnabled: [1, \"isTextingEnabled\"], isCustomerConnectOpen: [2, \"isCustomerConnectOpen\"], isShortcutButton: [3, \"isShortcutButton\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"logACall\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"logANote\"; _ck(_v, 5, 0, currVal_1); var currVal_2 = \"scheduleAppt\"; _ck(_v, 8, 0, currVal_2); var currVal_3 = _co.opportunity; var currVal_4 = _co.permissions; var currVal_5 = false; var currVal_6 = \"true\"; _ck(_v, 11, 0, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_7 = _co.opportunity; var currVal_8 = _co.isTextingEnabled; var currVal_9 = \"true\"; var currVal_10 = \"true\"; _ck(_v, 13, 0, currVal_7, currVal_8, currVal_9, currVal_10); }, null); }\nfunction View_LogActionShortcutsComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_LogActionShortcutsComponent_1)), i1.ɵdid(1, 16384, null, 0, i13.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.permissions.postActivity; _ck(_v, 1, 0, currVal_0); }, null); }\nexports.View_LogActionShortcutsComponent_0 = View_LogActionShortcutsComponent_0;\nfunction View_LogActionShortcutsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"log-action-shortcuts\", [], null, null, null, View_LogActionShortcutsComponent_0, RenderType_LogActionShortcutsComponent)), i1.ɵdid(1, 114688, null, 0, i15.LogActionShortcutsComponent, [i16.LogActionShortcutService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_LogActionShortcutsComponent_Host_0 = View_LogActionShortcutsComponent_Host_0;\nvar LogActionShortcutsComponentNgFactory = i1.ɵccf(\"log-action-shortcuts\", i15.LogActionShortcutsComponent, View_LogActionShortcutsComponent_Host_0, { isTextingEnabled: \"isTextingEnabled\", permissions: \"permissions\", opportunity: \"opportunity\" }, { logShortcut: \"logShortcut\" }, []);\nexports.LogActionShortcutsComponentNgFactory = LogActionShortcutsComponentNgFactory;\n","
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { copyWithin: require('./_array-copy-within') });\n\nrequire('./_add-to-unscopables')('copyWithin');\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"../tooltip.component.ngfactory\"));\nvar i3 = __importStar(require(\"../tooltip.component\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i5 = __importStar(require(\"@angular/forms\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./admin-settings-crmleadsdelivery.component\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i9 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar i10 = __importStar(require(\"../../services/dealer-settings.service\"));\nvar i11 = __importStar(require(\"../../modules/storage/storage.service\"));\nvar styles_AdminSettingsCrmLeadsDeliveryComponent = [];\nvar RenderType_AdminSettingsCrmLeadsDeliveryComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsCrmLeadsDeliveryComponent, data: {} });\nexports.RenderType_AdminSettingsCrmLeadsDeliveryComponent = RenderType_AdminSettingsCrmLeadsDeliveryComponent;\nfunction View_AdminSettingsCrmLeadsDeliveryComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary saveButton\"], [\"style\", \"font-size:12px\"], [\"translate\", \"sendTestLead\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.sendTestLead() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(1, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"sendTestLead\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminSettingsCrmLeadsDeliveryComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 65, \"div\", [[\"style\", \"clear:both;margin: 20px 0 0 20px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"style\", \"margin:15px 0 8px 0;float:left\"], [\"translate\", \"dsAdmin_leadsSourceOpportunityNameMessage\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"tooltip\", [[\"class\", \"crmLeadOpportunity\"]], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(4, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 60, \"div\", [[\"style\", \"clear:both\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 9).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 9).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.deliverAllOpportunities = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.onDeliverAllOpportunitiesChanged($event) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i0.ɵdid(9, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(11, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(13, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(14, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(16, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 19).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 19).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.deliverOpportunityCreditConvert = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(19, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(21, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(23, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(24, null, [\" AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(26, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(27, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(28, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 29).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 29).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.deliverOpportunityUpgrade = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(29, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(31, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(33, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(34, null, [\" AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(36, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(37, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(38, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 39).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 39).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.deliverOpportunityContractEnd = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(39, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(41, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(43, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(44, null, [\" AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(46, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(47, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(48, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 49).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 49).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.deliverOpportunityMileage = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(49, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(51, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(53, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(54, null, [\" AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(56, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(57, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(58, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 59).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 59).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.deliverOpportunityWarranty = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(59, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(61, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(63, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(64, null, [\" AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_leadsSourceOpportunityNameMessage\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"\"; var currVal_2 = \"dsAdmin_leadOpportunityTooltip\"; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_10 = _co.dsa.dealerAdfSetting.deliverAllOpportunities; _ck(_v, 11, 0, currVal_10); var currVal_19 = _co.dsa.dealerAdfSetting.deliverOpportunityCreditConvert; _ck(_v, 21, 0, currVal_19); var currVal_28 = _co.dsa.dealerAdfSetting.deliverOpportunityUpgrade; _ck(_v, 31, 0, currVal_28); var currVal_37 = _co.dsa.dealerAdfSetting.deliverOpportunityContractEnd; _ck(_v, 41, 0, currVal_37); var currVal_46 = _co.dsa.dealerAdfSetting.deliverOpportunityMileage; _ck(_v, 51, 0, currVal_46); var currVal_55 = _co.dsa.dealerAdfSetting.deliverOpportunityWarranty; _ck(_v, 61, 0, currVal_55); }, function (_ck, _v) { var currVal_3 = i0.ɵnov(_v, 13).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 13).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 13).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 13).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 13).ngClassValid; var currVal_8 = i0.ɵnov(_v, 13).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 13).ngClassPending; _ck(_v, 8, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i0.ɵunv(_v, 14, 0, i0.ɵnov(_v, 15).transform(\"all\")); _ck(_v, 14, 0, currVal_11); var currVal_12 = i0.ɵnov(_v, 23).ngClassUntouched; var currVal_13 = i0.ɵnov(_v, 23).ngClassTouched; var currVal_14 = i0.ɵnov(_v, 23).ngClassPristine; var currVal_15 = i0.ɵnov(_v, 23).ngClassDirty; var currVal_16 = i0.ɵnov(_v, 23).ngClassValid; var currVal_17 = i0.ɵnov(_v, 23).ngClassInvalid; var currVal_18 = i0.ɵnov(_v, 23).ngClassPending; _ck(_v, 18, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18); var currVal_20 = i0.ɵunv(_v, 24, 0, i0.ɵnov(_v, 25).transform(\"creditConvert\")); _ck(_v, 24, 0, currVal_20); var currVal_21 = i0.ɵnov(_v, 33).ngClassUntouched; var currVal_22 = i0.ɵnov(_v, 33).ngClassTouched; var currVal_23 = i0.ɵnov(_v, 33).ngClassPristine; var currVal_24 = i0.ɵnov(_v, 33).ngClassDirty; var currVal_25 = i0.ɵnov(_v, 33).ngClassValid; var currVal_26 = i0.ɵnov(_v, 33).ngClassInvalid; var currVal_27 = i0.ɵnov(_v, 33).ngClassPending; _ck(_v, 28, 0, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27); var currVal_29 = i0.ɵunv(_v, 34, 0, i0.ɵnov(_v, 35).transform(\"dsAdmin_upgradeAorFBlock\")); _ck(_v, 34, 0, currVal_29); var currVal_30 = i0.ɵnov(_v, 43).ngClassUntouched; var currVal_31 = i0.ɵnov(_v, 43).ngClassTouched; var currVal_32 = i0.ɵnov(_v, 43).ngClassPristine; var currVal_33 = i0.ɵnov(_v, 43).ngClassDirty; var currVal_34 = i0.ɵnov(_v, 43).ngClassValid; var currVal_35 = i0.ɵnov(_v, 43).ngClassInvalid; var currVal_36 = i0.ɵnov(_v, 43).ngClassPending; _ck(_v, 38, 0, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34, currVal_35, currVal_36); var currVal_38 = i0.ɵunv(_v, 44, 0, i0.ɵnov(_v, 45).transform(\"contractEndName\")); _ck(_v, 44, 0, currVal_38); var currVal_39 = i0.ɵnov(_v, 53).ngClassUntouched; var currVal_40 = i0.ɵnov(_v, 53).ngClassTouched; var currVal_41 = i0.ɵnov(_v, 53).ngClassPristine; var currVal_42 = i0.ɵnov(_v, 53).ngClassDirty; var currVal_43 = i0.ɵnov(_v, 53).ngClassValid; var currVal_44 = i0.ɵnov(_v, 53).ngClassInvalid; var currVal_45 = i0.ɵnov(_v, 53).ngClassPending; _ck(_v, 48, 0, currVal_39, currVal_40, currVal_41, currVal_42, currVal_43, currVal_44, currVal_45); var currVal_47 = i0.ɵunv(_v, 54, 0, i0.ɵnov(_v, 55).transform(\"mileageLabel\")); _ck(_v, 54, 0, currVal_47); var currVal_48 = i0.ɵnov(_v, 63).ngClassUntouched; var currVal_49 = i0.ɵnov(_v, 63).ngClassTouched; var currVal_50 = i0.ɵnov(_v, 63).ngClassPristine; var currVal_51 = i0.ɵnov(_v, 63).ngClassDirty; var currVal_52 = i0.ɵnov(_v, 63).ngClassValid; var currVal_53 = i0.ɵnov(_v, 63).ngClassInvalid; var currVal_54 = i0.ɵnov(_v, 63).ngClassPending; _ck(_v, 58, 0, currVal_48, currVal_49, currVal_50, currVal_51, currVal_52, currVal_53, currVal_54); var currVal_56 = i0.ɵunv(_v, 64, 0, i0.ɵnov(_v, 65).transform(\"warrantyName\")); _ck(_v, 64, 0, currVal_56); }); }\nfunction View_AdminSettingsCrmLeadsDeliveryComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 285, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 20, \"div\", [[\"class\", \"settingItem row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin:5px 0 0 12px\"], [\"translate\", \"dsAdmin_deliveryLeadsWithSourceAs\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 15, \"div\", [[\"style\", \"float:left;margin-left:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 14, \"select\", [[\"class\", \"form-control\"], [\"style\", \"width:200px\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 6).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 6).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.deliverWithOpportunity = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(6, 16384, null, 0, i5.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.SelectControlValueAccessor]), i0.ɵdid(8, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(10, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵeld(11, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i0.ɵdid(12, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i0.ɵdid(13, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i0.ɵted(-1, null, [\"AutoAlert\"])), (_l()(), i0.ɵeld(15, 0, null, null, 4, \"option\", [], null, null, null, null, null)), i0.ɵdid(16, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i0.ɵdid(17, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i0.ɵted(18, null, [\"AutoAlert-<\", \">\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsCrmLeadsDeliveryComponent_3)), i0.ɵdid(21, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(22, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(23, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_sendLeadsImmediatelyWhen\"]], null, null, null, null, null)), i0.ɵdid(24, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(25, 0, null, null, 53, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(26, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(27, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(28, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 29).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 29).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.autoSendOpportunityCreated = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(29, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(31, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(33, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(34, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(36, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(37, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(38, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 39).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 39).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.autoSendOpportunityUnread = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(39, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(41, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(43, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(44, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(46, 0, null, null, 9, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(47, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(48, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 49).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 49).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.autoSendVinScan = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(49, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(51, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(53, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(54, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(56, 0, null, null, 2, \"div\", [[\"style\", \"margin-top:-10px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(57, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(58, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(59, 0, null, null, 9, \"div\", [[\"style\", \"clear:both\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(60, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(61, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 62).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 62).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.autoSendServiceAppointment = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(62, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(64, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(66, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(67, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(69, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(70, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(71, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 72).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 72).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.autoSendServiceAlert = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(72, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(74, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(76, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(77, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(79, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(80, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_sendLeadsToCRMOnActivity\"]], null, null, null, null, null)), i0.ɵdid(81, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(82, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(83, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(84, 0, null, null, 163, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(85, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(86, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(87, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 88).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 88).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.notePosted = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(88, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(90, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(92, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(93, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(95, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(96, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(97, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 98).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 98).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.phoneCallLogged = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(98, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(100, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(102, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(103, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(105, 0, null, null, 1, \"div\", [[\"translate\", \"dsAdmin_phoneAppointmentDealSheetIs\"]], null, null, null, null, null)), i0.ɵdid(106, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(107, 0, null, null, 50, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(108, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(109, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(110, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 111).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 111).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.phoneCallScheduled = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(111, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(113, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(115, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(116, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(118, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(119, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(120, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 121).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 121).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.phoneCallCompleted = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(121, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(123, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(125, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(126, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(128, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(129, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(130, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 131).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 131).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.phoneCallRescheduled = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(131, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(133, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(135, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(136, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(138, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(139, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(140, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 141).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 141).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.phoneCallReassigned = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(141, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(143, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(145, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(146, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(148, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(149, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(150, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 151).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 151).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.phoneCallCancelled = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(151, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(153, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(155, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(156, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(158, 0, null, null, 1, \"div\", [[\"translate\", \"dsAdmin_appointmentOnAnyDealSheetIs\"]], null, null, null, null, null)), i0.ɵdid(159, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(160, 0, null, null, 50, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(161, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(162, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(163, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 164).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 164).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.appointmentScheduled = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(164, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(166, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(168, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(169, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(171, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(172, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(173, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 174).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 174).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.appointmentCompleted = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(174, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(176, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(178, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(179, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(181, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(182, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(183, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 184).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 184).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.appointmentRescheduled = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(184, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(186, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(188, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(189, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(191, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(192, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(193, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 194).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 194).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.appointmentReassigned = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(194, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(196, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(198, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(199, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(201, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(202, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(203, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 204).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 204).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.appontmentCancelled = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(204, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(206, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(208, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(209, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(211, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(212, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(213, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 214).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 214).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.emailSent = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(214, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(216, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(218, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(219, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(221, 0, null, null, 1, \"div\", [[\"style\", \"float:left;margin:5px 10px 0 0\"], [\"translate\", \"dsAdmin_sendLeadToCRM\"]], null, null, null, null, null)), i0.ɵdid(222, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(223, 0, null, null, 24, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(224, 0, null, null, 23, \"select\", [[\"class\", \"form-control\"], [\"style\", \"width:200px\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 225).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 225).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.delayMinutes = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(225, 16384, null, 0, i5.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.SelectControlValueAccessor]), i0.ɵdid(227, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(229, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵeld(230, 0, null, null, 3, \"option\", [[\"translate\", \"immediately\"], [\"value\", \"0\"]], null, null, null, null, null)), i0.ɵdid(231, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(232, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), i0.ɵdid(233, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(234, 0, null, null, 4, \"option\", [[\"value\", \"15\"]], null, null, null, null, null)), i0.ɵdid(235, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(236, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(237, null, [\"15 \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(239, 0, null, null, 4, \"option\", [[\"value\", \"60\"]], null, null, null, null, null)), i0.ɵdid(240, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(241, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(242, null, [\"1 \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(244, 0, null, null, 3, \"option\", [[\"translate\", \"endOfDay\"], [\"value\", \"-1\"]], null, null, null, null, null)), i0.ɵdid(245, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(246, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), i0.ɵdid(247, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(248, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(249, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_emailUrlFrequencyControl\"]], null, null, null, null, null)), i0.ɵdid(250, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(251, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(252, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(253, 0, null, null, 8, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵted(254, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(256, 0, null, null, 5, \"input\", [[\"class\", \"input-sm textbox\"], [\"style\", \"width:400px\"], [\"type\", \"text\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 257)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 257).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 257)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 257)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.dsa.dealerAdfSetting.crmEmail = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(257, 16384, null, 0, i5.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.DefaultValueAccessor]), i0.ɵdid(259, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(261, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵeld(262, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(263, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(264, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 265).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 265).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.includeDealSheetUrl = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(265, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(267, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(269, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(270, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(272, 0, null, null, 13, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵted(273, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(275, 0, null, null, 8, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerAdfSetting.LeadDuplicationControlInDays\"], [\"required\", \"\"], [\"type\", \"number\"]], [[1, \"required\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 276)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 276).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 276)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 276)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 277).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 277).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 277).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerAdfSetting.leadDuplicationControlInDays = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(276, 16384, null, 0, i5.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(277, 16384, null, 0, i5.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵdid(278, 16384, null, 0, i5.RequiredValidator, [], { required: [0, \"required\"] }, null), i0.ɵprd(1024, null, i5.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i5.RequiredValidator]), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.NumberValueAccessor]), i0.ɵdid(281, 671744, null, 0, i5.NgModel, [[8, null], [6, i5.NG_VALIDATORS], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(283, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(284, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_deliveryLeadsWithSourceAs\"; _ck(_v, 3, 0, currVal_0); var currVal_8 = _co.dsa.dealerAdfSetting.deliverWithOpportunity; _ck(_v, 8, 0, currVal_8); var currVal_9 = false; _ck(_v, 12, 0, currVal_9); var currVal_10 = false; _ck(_v, 13, 0, currVal_10); var currVal_11 = true; _ck(_v, 16, 0, currVal_11); var currVal_12 = true; _ck(_v, 17, 0, currVal_12); var currVal_14 = _co.dsa.dealerAdfSetting.deliverWithOpportunity; _ck(_v, 21, 0, currVal_14); var currVal_15 = \"dsAdmin_sendLeadsImmediatelyWhen\"; _ck(_v, 24, 0, currVal_15); var currVal_23 = _co.dsa.dealerAdfSetting.autoSendOpportunityCreated; _ck(_v, 31, 0, currVal_23); var currVal_32 = _co.dsa.dealerAdfSetting.autoSendOpportunityUnread; _ck(_v, 41, 0, currVal_32); var currVal_41 = _co.dsa.dealerAdfSetting.autoSendVinScan; _ck(_v, 51, 0, currVal_41); var currVal_43 = \"dsAdmin_autoSendVinScan\"; var currVal_44 = \"dsAdmin_autoSendVinScanTooltip\"; _ck(_v, 58, 0, currVal_43, currVal_44); var currVal_52 = _co.dsa.dealerAdfSetting.autoSendServiceAppointment; _ck(_v, 64, 0, currVal_52); var currVal_61 = _co.dsa.dealerAdfSetting.autoSendServiceAlert; _ck(_v, 74, 0, currVal_61); var currVal_63 = \"dsAdmin_sendLeadsToCRMOnActivity\"; _ck(_v, 81, 0, currVal_63); var currVal_64 = \"dsAdmin_sendLeadsToCRMOnActivity\"; var currVal_65 = \"dsAdmin_sendLeadsToCRMOnActivityTooltip\"; _ck(_v, 83, 0, currVal_64, currVal_65); var currVal_73 = _co.dsa.dealerAdfSetting.notePosted; _ck(_v, 90, 0, currVal_73); var currVal_82 = _co.dsa.dealerAdfSetting.phoneCallLogged; _ck(_v, 100, 0, currVal_82); var currVal_84 = \"dsAdmin_phoneAppointmentDealSheetIs\"; _ck(_v, 106, 0, currVal_84); var currVal_92 = _co.dsa.dealerAdfSetting.phoneCallScheduled; _ck(_v, 113, 0, currVal_92); var currVal_101 = _co.dsa.dealerAdfSetting.phoneCallCompleted; _ck(_v, 123, 0, currVal_101); var currVal_110 = _co.dsa.dealerAdfSetting.phoneCallRescheduled; _ck(_v, 133, 0, currVal_110); var currVal_119 = _co.dsa.dealerAdfSetting.phoneCallReassigned; _ck(_v, 143, 0, currVal_119); var currVal_128 = _co.dsa.dealerAdfSetting.phoneCallCancelled; _ck(_v, 153, 0, currVal_128); var currVal_130 = \"dsAdmin_appointmentOnAnyDealSheetIs\"; _ck(_v, 159, 0, currVal_130); var currVal_138 = _co.dsa.dealerAdfSetting.appointmentScheduled; _ck(_v, 166, 0, currVal_138); var currVal_147 = _co.dsa.dealerAdfSetting.appointmentCompleted; _ck(_v, 176, 0, currVal_147); var currVal_156 = _co.dsa.dealerAdfSetting.appointmentRescheduled; _ck(_v, 186, 0, currVal_156); var currVal_165 = _co.dsa.dealerAdfSetting.appointmentReassigned; _ck(_v, 196, 0, currVal_165); var currVal_174 = _co.dsa.dealerAdfSetting.appontmentCancelled; _ck(_v, 206, 0, currVal_174); var currVal_183 = _co.dsa.dealerAdfSetting.emailSent; _ck(_v, 216, 0, currVal_183); var currVal_185 = \"dsAdmin_sendLeadToCRM\"; _ck(_v, 222, 0, currVal_185); var currVal_193 = _co.dsa.dealerAdfSetting.delayMinutes; _ck(_v, 227, 0, currVal_193); var currVal_194 = \"0\"; _ck(_v, 231, 0, currVal_194); var currVal_195 = \"0\"; _ck(_v, 232, 0, currVal_195); var currVal_196 = \"immediately\"; _ck(_v, 233, 0, currVal_196); var currVal_197 = \"15\"; _ck(_v, 235, 0, currVal_197); var currVal_198 = \"15\"; _ck(_v, 236, 0, currVal_198); var currVal_200 = \"60\"; _ck(_v, 240, 0, currVal_200); var currVal_201 = \"60\"; _ck(_v, 241, 0, currVal_201); var currVal_203 = \"-1\"; _ck(_v, 245, 0, currVal_203); var currVal_204 = \"-1\"; _ck(_v, 246, 0, currVal_204); var currVal_205 = \"endOfDay\"; _ck(_v, 247, 0, currVal_205); var currVal_206 = \"dsAdmin_emailUrlFrequencyControl\"; _ck(_v, 250, 0, currVal_206); var currVal_207 = \"dsAdmin_emailUrlFrequencyControl\"; var currVal_208 = \"dsAdmin_emailUrlFrequencyControlTooltip\"; _ck(_v, 252, 0, currVal_207, currVal_208); var currVal_217 = _co.dsa.dealerAdfSetting.crmEmail; _ck(_v, 259, 0, currVal_217); var currVal_225 = _co.dsa.dealerAdfSetting.includeDealSheetUrl; _ck(_v, 267, 0, currVal_225); var currVal_236 = \"\"; _ck(_v, 278, 0, currVal_236); var currVal_237 = \"DealerAdfSetting.LeadDuplicationControlInDays\"; var currVal_238 = _co.dsa.dealerAdfSetting.leadDuplicationControlInDays; _ck(_v, 281, 0, currVal_237, currVal_238); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 10).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 10).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 10).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 10).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 10).ngClassValid; var currVal_6 = i0.ɵnov(_v, 10).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 10).ngClassPending; _ck(_v, 5, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_13 = i0.ɵunv(_v, 18, 0, i0.ɵnov(_v, 19).transform(\"dsAdmin_opportunityName\")); _ck(_v, 18, 0, currVal_13); var currVal_16 = i0.ɵnov(_v, 33).ngClassUntouched; var currVal_17 = i0.ɵnov(_v, 33).ngClassTouched; var currVal_18 = i0.ɵnov(_v, 33).ngClassPristine; var currVal_19 = i0.ɵnov(_v, 33).ngClassDirty; var currVal_20 = i0.ɵnov(_v, 33).ngClassValid; var currVal_21 = i0.ɵnov(_v, 33).ngClassInvalid; var currVal_22 = i0.ɵnov(_v, 33).ngClassPending; _ck(_v, 28, 0, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22); var currVal_24 = i0.ɵunv(_v, 34, 0, i0.ɵnov(_v, 35).transform(\"dsAdmin_autoSendOpportunityCreated\")); _ck(_v, 34, 0, currVal_24); var currVal_25 = i0.ɵnov(_v, 43).ngClassUntouched; var currVal_26 = i0.ɵnov(_v, 43).ngClassTouched; var currVal_27 = i0.ɵnov(_v, 43).ngClassPristine; var currVal_28 = i0.ɵnov(_v, 43).ngClassDirty; var currVal_29 = i0.ɵnov(_v, 43).ngClassValid; var currVal_30 = i0.ɵnov(_v, 43).ngClassInvalid; var currVal_31 = i0.ɵnov(_v, 43).ngClassPending; _ck(_v, 38, 0, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31); var currVal_33 = i0.ɵunv(_v, 44, 0, i0.ɵnov(_v, 45).transform(\"dsAdmin_autoSendOpportunityUnread\")); _ck(_v, 44, 0, currVal_33); var currVal_34 = i0.ɵnov(_v, 53).ngClassUntouched; var currVal_35 = i0.ɵnov(_v, 53).ngClassTouched; var currVal_36 = i0.ɵnov(_v, 53).ngClassPristine; var currVal_37 = i0.ɵnov(_v, 53).ngClassDirty; var currVal_38 = i0.ɵnov(_v, 53).ngClassValid; var currVal_39 = i0.ɵnov(_v, 53).ngClassInvalid; var currVal_40 = i0.ɵnov(_v, 53).ngClassPending; _ck(_v, 48, 0, currVal_34, currVal_35, currVal_36, currVal_37, currVal_38, currVal_39, currVal_40); var currVal_42 = i0.ɵunv(_v, 54, 0, i0.ɵnov(_v, 55).transform(\"dsAdmin_autoSendVinScan\")); _ck(_v, 54, 0, currVal_42); var currVal_45 = i0.ɵnov(_v, 66).ngClassUntouched; var currVal_46 = i0.ɵnov(_v, 66).ngClassTouched; var currVal_47 = i0.ɵnov(_v, 66).ngClassPristine; var currVal_48 = i0.ɵnov(_v, 66).ngClassDirty; var currVal_49 = i0.ɵnov(_v, 66).ngClassValid; var currVal_50 = i0.ɵnov(_v, 66).ngClassInvalid; var currVal_51 = i0.ɵnov(_v, 66).ngClassPending; _ck(_v, 61, 0, currVal_45, currVal_46, currVal_47, currVal_48, currVal_49, currVal_50, currVal_51); var currVal_53 = i0.ɵunv(_v, 67, 0, i0.ɵnov(_v, 68).transform(\"dsAdmin_autoSendServiceAppointment\")); _ck(_v, 67, 0, currVal_53); var currVal_54 = i0.ɵnov(_v, 76).ngClassUntouched; var currVal_55 = i0.ɵnov(_v, 76).ngClassTouched; var currVal_56 = i0.ɵnov(_v, 76).ngClassPristine; var currVal_57 = i0.ɵnov(_v, 76).ngClassDirty; var currVal_58 = i0.ɵnov(_v, 76).ngClassValid; var currVal_59 = i0.ɵnov(_v, 76).ngClassInvalid; var currVal_60 = i0.ɵnov(_v, 76).ngClassPending; _ck(_v, 71, 0, currVal_54, currVal_55, currVal_56, currVal_57, currVal_58, currVal_59, currVal_60); var currVal_62 = i0.ɵunv(_v, 77, 0, i0.ɵnov(_v, 78).transform(\"dsAdmin_autoSendServiceAlert\")); _ck(_v, 77, 0, currVal_62); var currVal_66 = i0.ɵnov(_v, 92).ngClassUntouched; var currVal_67 = i0.ɵnov(_v, 92).ngClassTouched; var currVal_68 = i0.ɵnov(_v, 92).ngClassPristine; var currVal_69 = i0.ɵnov(_v, 92).ngClassDirty; var currVal_70 = i0.ɵnov(_v, 92).ngClassValid; var currVal_71 = i0.ɵnov(_v, 92).ngClassInvalid; var currVal_72 = i0.ɵnov(_v, 92).ngClassPending; _ck(_v, 87, 0, currVal_66, currVal_67, currVal_68, currVal_69, currVal_70, currVal_71, currVal_72); var currVal_74 = i0.ɵunv(_v, 93, 0, i0.ɵnov(_v, 94).transform(\"dsAdmin_notePosted\")); _ck(_v, 93, 0, currVal_74); var currVal_75 = i0.ɵnov(_v, 102).ngClassUntouched; var currVal_76 = i0.ɵnov(_v, 102).ngClassTouched; var currVal_77 = i0.ɵnov(_v, 102).ngClassPristine; var currVal_78 = i0.ɵnov(_v, 102).ngClassDirty; var currVal_79 = i0.ɵnov(_v, 102).ngClassValid; var currVal_80 = i0.ɵnov(_v, 102).ngClassInvalid; var currVal_81 = i0.ɵnov(_v, 102).ngClassPending; _ck(_v, 97, 0, currVal_75, currVal_76, currVal_77, currVal_78, currVal_79, currVal_80, currVal_81); var currVal_83 = i0.ɵunv(_v, 103, 0, i0.ɵnov(_v, 104).transform(\"dsAdmin_phoneCallLogged\")); _ck(_v, 103, 0, currVal_83); var currVal_85 = i0.ɵnov(_v, 115).ngClassUntouched; var currVal_86 = i0.ɵnov(_v, 115).ngClassTouched; var currVal_87 = i0.ɵnov(_v, 115).ngClassPristine; var currVal_88 = i0.ɵnov(_v, 115).ngClassDirty; var currVal_89 = i0.ɵnov(_v, 115).ngClassValid; var currVal_90 = i0.ɵnov(_v, 115).ngClassInvalid; var currVal_91 = i0.ɵnov(_v, 115).ngClassPending; _ck(_v, 110, 0, currVal_85, currVal_86, currVal_87, currVal_88, currVal_89, currVal_90, currVal_91); var currVal_93 = i0.ɵunv(_v, 116, 0, i0.ɵnov(_v, 117).transform(\"ACTIVITY.SCHEDULED\")); _ck(_v, 116, 0, currVal_93); var currVal_94 = i0.ɵnov(_v, 125).ngClassUntouched; var currVal_95 = i0.ɵnov(_v, 125).ngClassTouched; var currVal_96 = i0.ɵnov(_v, 125).ngClassPristine; var currVal_97 = i0.ɵnov(_v, 125).ngClassDirty; var currVal_98 = i0.ɵnov(_v, 125).ngClassValid; var currVal_99 = i0.ɵnov(_v, 125).ngClassInvalid; var currVal_100 = i0.ɵnov(_v, 125).ngClassPending; _ck(_v, 120, 0, currVal_94, currVal_95, currVal_96, currVal_97, currVal_98, currVal_99, currVal_100); var currVal_102 = i0.ɵunv(_v, 126, 0, i0.ɵnov(_v, 127).transform(\"ACTIVITY.COMPLETED\")); _ck(_v, 126, 0, currVal_102); var currVal_103 = i0.ɵnov(_v, 135).ngClassUntouched; var currVal_104 = i0.ɵnov(_v, 135).ngClassTouched; var currVal_105 = i0.ɵnov(_v, 135).ngClassPristine; var currVal_106 = i0.ɵnov(_v, 135).ngClassDirty; var currVal_107 = i0.ɵnov(_v, 135).ngClassValid; var currVal_108 = i0.ɵnov(_v, 135).ngClassInvalid; var currVal_109 = i0.ɵnov(_v, 135).ngClassPending; _ck(_v, 130, 0, currVal_103, currVal_104, currVal_105, currVal_106, currVal_107, currVal_108, currVal_109); var currVal_111 = i0.ɵunv(_v, 136, 0, i0.ɵnov(_v, 137).transform(\"rescheduled\")); _ck(_v, 136, 0, currVal_111); var currVal_112 = i0.ɵnov(_v, 145).ngClassUntouched; var currVal_113 = i0.ɵnov(_v, 145).ngClassTouched; var currVal_114 = i0.ɵnov(_v, 145).ngClassPristine; var currVal_115 = i0.ɵnov(_v, 145).ngClassDirty; var currVal_116 = i0.ɵnov(_v, 145).ngClassValid; var currVal_117 = i0.ɵnov(_v, 145).ngClassInvalid; var currVal_118 = i0.ɵnov(_v, 145).ngClassPending; _ck(_v, 140, 0, currVal_112, currVal_113, currVal_114, currVal_115, currVal_116, currVal_117, currVal_118); var currVal_120 = i0.ɵunv(_v, 146, 0, i0.ɵnov(_v, 147).transform(\"ACTIVITY.REASSIGNED\")); _ck(_v, 146, 0, currVal_120); var currVal_121 = i0.ɵnov(_v, 155).ngClassUntouched; var currVal_122 = i0.ɵnov(_v, 155).ngClassTouched; var currVal_123 = i0.ɵnov(_v, 155).ngClassPristine; var currVal_124 = i0.ɵnov(_v, 155).ngClassDirty; var currVal_125 = i0.ɵnov(_v, 155).ngClassValid; var currVal_126 = i0.ɵnov(_v, 155).ngClassInvalid; var currVal_127 = i0.ɵnov(_v, 155).ngClassPending; _ck(_v, 150, 0, currVal_121, currVal_122, currVal_123, currVal_124, currVal_125, currVal_126, currVal_127); var currVal_129 = i0.ɵunv(_v, 156, 0, i0.ɵnov(_v, 157).transform(\"cancelled\")); _ck(_v, 156, 0, currVal_129); var currVal_131 = i0.ɵnov(_v, 168).ngClassUntouched; var currVal_132 = i0.ɵnov(_v, 168).ngClassTouched; var currVal_133 = i0.ɵnov(_v, 168).ngClassPristine; var currVal_134 = i0.ɵnov(_v, 168).ngClassDirty; var currVal_135 = i0.ɵnov(_v, 168).ngClassValid; var currVal_136 = i0.ɵnov(_v, 168).ngClassInvalid; var currVal_137 = i0.ɵnov(_v, 168).ngClassPending; _ck(_v, 163, 0, currVal_131, currVal_132, currVal_133, currVal_134, currVal_135, currVal_136, currVal_137); var currVal_139 = i0.ɵunv(_v, 169, 0, i0.ɵnov(_v, 170).transform(\"ACTIVITY.SCHEDULED\")); _ck(_v, 169, 0, currVal_139); var currVal_140 = i0.ɵnov(_v, 178).ngClassUntouched; var currVal_141 = i0.ɵnov(_v, 178).ngClassTouched; var currVal_142 = i0.ɵnov(_v, 178).ngClassPristine; var currVal_143 = i0.ɵnov(_v, 178).ngClassDirty; var currVal_144 = i0.ɵnov(_v, 178).ngClassValid; var currVal_145 = i0.ɵnov(_v, 178).ngClassInvalid; var currVal_146 = i0.ɵnov(_v, 178).ngClassPending; _ck(_v, 173, 0, currVal_140, currVal_141, currVal_142, currVal_143, currVal_144, currVal_145, currVal_146); var currVal_148 = i0.ɵunv(_v, 179, 0, i0.ɵnov(_v, 180).transform(\"ACTIVITY.COMPLETED\")); _ck(_v, 179, 0, currVal_148); var currVal_149 = i0.ɵnov(_v, 188).ngClassUntouched; var currVal_150 = i0.ɵnov(_v, 188).ngClassTouched; var currVal_151 = i0.ɵnov(_v, 188).ngClassPristine; var currVal_152 = i0.ɵnov(_v, 188).ngClassDirty; var currVal_153 = i0.ɵnov(_v, 188).ngClassValid; var currVal_154 = i0.ɵnov(_v, 188).ngClassInvalid; var currVal_155 = i0.ɵnov(_v, 188).ngClassPending; _ck(_v, 183, 0, currVal_149, currVal_150, currVal_151, currVal_152, currVal_153, currVal_154, currVal_155); var currVal_157 = i0.ɵunv(_v, 189, 0, i0.ɵnov(_v, 190).transform(\"rescheduled\")); _ck(_v, 189, 0, currVal_157); var currVal_158 = i0.ɵnov(_v, 198).ngClassUntouched; var currVal_159 = i0.ɵnov(_v, 198).ngClassTouched; var currVal_160 = i0.ɵnov(_v, 198).ngClassPristine; var currVal_161 = i0.ɵnov(_v, 198).ngClassDirty; var currVal_162 = i0.ɵnov(_v, 198).ngClassValid; var currVal_163 = i0.ɵnov(_v, 198).ngClassInvalid; var currVal_164 = i0.ɵnov(_v, 198).ngClassPending; _ck(_v, 193, 0, currVal_158, currVal_159, currVal_160, currVal_161, currVal_162, currVal_163, currVal_164); var currVal_166 = i0.ɵunv(_v, 199, 0, i0.ɵnov(_v, 200).transform(\"ACTIVITY.REASSIGNED\")); _ck(_v, 199, 0, currVal_166); var currVal_167 = i0.ɵnov(_v, 208).ngClassUntouched; var currVal_168 = i0.ɵnov(_v, 208).ngClassTouched; var currVal_169 = i0.ɵnov(_v, 208).ngClassPristine; var currVal_170 = i0.ɵnov(_v, 208).ngClassDirty; var currVal_171 = i0.ɵnov(_v, 208).ngClassValid; var currVal_172 = i0.ɵnov(_v, 208).ngClassInvalid; var currVal_173 = i0.ɵnov(_v, 208).ngClassPending; _ck(_v, 203, 0, currVal_167, currVal_168, currVal_169, currVal_170, currVal_171, currVal_172, currVal_173); var currVal_175 = i0.ɵunv(_v, 209, 0, i0.ɵnov(_v, 210).transform(\"cancelled\")); _ck(_v, 209, 0, currVal_175); var currVal_176 = i0.ɵnov(_v, 218).ngClassUntouched; var currVal_177 = i0.ɵnov(_v, 218).ngClassTouched; var currVal_178 = i0.ɵnov(_v, 218).ngClassPristine; var currVal_179 = i0.ɵnov(_v, 218).ngClassDirty; var currVal_180 = i0.ɵnov(_v, 218).ngClassValid; var currVal_181 = i0.ɵnov(_v, 218).ngClassInvalid; var currVal_182 = i0.ɵnov(_v, 218).ngClassPending; _ck(_v, 213, 0, currVal_176, currVal_177, currVal_178, currVal_179, currVal_180, currVal_181, currVal_182); var currVal_184 = i0.ɵunv(_v, 219, 0, i0.ɵnov(_v, 220).transform(\"dsAdmin_whenEmailSentToCustomers\")); _ck(_v, 219, 0, currVal_184); var currVal_186 = i0.ɵnov(_v, 229).ngClassUntouched; var currVal_187 = i0.ɵnov(_v, 229).ngClassTouched; var currVal_188 = i0.ɵnov(_v, 229).ngClassPristine; var currVal_189 = i0.ɵnov(_v, 229).ngClassDirty; var currVal_190 = i0.ɵnov(_v, 229).ngClassValid; var currVal_191 = i0.ɵnov(_v, 229).ngClassInvalid; var currVal_192 = i0.ɵnov(_v, 229).ngClassPending; _ck(_v, 224, 0, currVal_186, currVal_187, currVal_188, currVal_189, currVal_190, currVal_191, currVal_192); var currVal_199 = i0.ɵunv(_v, 237, 0, i0.ɵnov(_v, 238).transform(\"minutes\")); _ck(_v, 237, 0, currVal_199); var currVal_202 = i0.ɵunv(_v, 242, 0, i0.ɵnov(_v, 243).transform(\"hour\")); _ck(_v, 242, 0, currVal_202); var currVal_209 = i0.ɵunv(_v, 254, 0, i0.ɵnov(_v, 255).transform(\"dsAdmin_crmEmails\")); _ck(_v, 254, 0, currVal_209); var currVal_210 = i0.ɵnov(_v, 261).ngClassUntouched; var currVal_211 = i0.ɵnov(_v, 261).ngClassTouched; var currVal_212 = i0.ɵnov(_v, 261).ngClassPristine; var currVal_213 = i0.ɵnov(_v, 261).ngClassDirty; var currVal_214 = i0.ɵnov(_v, 261).ngClassValid; var currVal_215 = i0.ɵnov(_v, 261).ngClassInvalid; var currVal_216 = i0.ɵnov(_v, 261).ngClassPending; _ck(_v, 256, 0, currVal_210, currVal_211, currVal_212, currVal_213, currVal_214, currVal_215, currVal_216); var currVal_218 = i0.ɵnov(_v, 269).ngClassUntouched; var currVal_219 = i0.ɵnov(_v, 269).ngClassTouched; var currVal_220 = i0.ɵnov(_v, 269).ngClassPristine; var currVal_221 = i0.ɵnov(_v, 269).ngClassDirty; var currVal_222 = i0.ɵnov(_v, 269).ngClassValid; var currVal_223 = i0.ɵnov(_v, 269).ngClassInvalid; var currVal_224 = i0.ɵnov(_v, 269).ngClassPending; _ck(_v, 264, 0, currVal_218, currVal_219, currVal_220, currVal_221, currVal_222, currVal_223, currVal_224); var currVal_226 = i0.ɵunv(_v, 270, 0, i0.ɵnov(_v, 271).transform(\"dsAdmin_includeDealSheetURLInNotes\")); _ck(_v, 270, 0, currVal_226); var currVal_227 = i0.ɵunv(_v, 273, 0, i0.ɵnov(_v, 274).transform(\"dsAdmin_leadDuplicationControlInDays\")); _ck(_v, 273, 0, currVal_227); var currVal_228 = (i0.ɵnov(_v, 278).required ? \"\" : null); var currVal_229 = i0.ɵnov(_v, 283).ngClassUntouched; var currVal_230 = i0.ɵnov(_v, 283).ngClassTouched; var currVal_231 = i0.ɵnov(_v, 283).ngClassPristine; var currVal_232 = i0.ɵnov(_v, 283).ngClassDirty; var currVal_233 = i0.ɵnov(_v, 283).ngClassValid; var currVal_234 = i0.ɵnov(_v, 283).ngClassInvalid; var currVal_235 = i0.ɵnov(_v, 283).ngClassPending; _ck(_v, 275, 0, currVal_228, currVal_229, currVal_230, currVal_231, currVal_232, currVal_233, currVal_234, currVal_235); var currVal_239 = i0.ɵunv(_v, 284, 0, i0.ɵnov(_v, 285).transform(\"days\")).toLowerCase(); _ck(_v, 284, 0, currVal_239); }); }\nfunction View_AdminSettingsCrmLeadsDeliveryComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 34, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_sendLeadsFordDirectWhen\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 30, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 8).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.fordDirectAppointment = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(8, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(10, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(12, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(13, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(15, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 18).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 18).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.fordDirectO2OPurlLead = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(18, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(20, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(22, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(23, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(25, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(26, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(27, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 28).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 28).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.fordDirectBatch = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(28, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(30, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(32, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(33, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_sendLeadsFordDirectWhen\"; _ck(_v, 3, 0, currVal_0); var currVal_8 = _co.dsa.dealerAdfSetting.fordDirectAppointment; _ck(_v, 10, 0, currVal_8); var currVal_17 = _co.dsa.dealerAdfSetting.fordDirectO2OPurlLead; _ck(_v, 20, 0, currVal_17); var currVal_26 = _co.dsa.dealerAdfSetting.fordDirectBatch; _ck(_v, 30, 0, currVal_26); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 12).ngClassUntouched; var currVal_2 = i0.ɵnov(_v, 12).ngClassTouched; var currVal_3 = i0.ɵnov(_v, 12).ngClassPristine; var currVal_4 = i0.ɵnov(_v, 12).ngClassDirty; var currVal_5 = i0.ɵnov(_v, 12).ngClassValid; var currVal_6 = i0.ɵnov(_v, 12).ngClassInvalid; var currVal_7 = i0.ɵnov(_v, 12).ngClassPending; _ck(_v, 7, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_9 = i0.ɵunv(_v, 13, 0, i0.ɵnov(_v, 14).transform(\"dsAdmin_fordDirectAppointment\")); _ck(_v, 13, 0, currVal_9); var currVal_10 = i0.ɵnov(_v, 22).ngClassUntouched; var currVal_11 = i0.ɵnov(_v, 22).ngClassTouched; var currVal_12 = i0.ɵnov(_v, 22).ngClassPristine; var currVal_13 = i0.ɵnov(_v, 22).ngClassDirty; var currVal_14 = i0.ɵnov(_v, 22).ngClassValid; var currVal_15 = i0.ɵnov(_v, 22).ngClassInvalid; var currVal_16 = i0.ɵnov(_v, 22).ngClassPending; _ck(_v, 17, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); var currVal_18 = i0.ɵunv(_v, 23, 0, i0.ɵnov(_v, 24).transform(\"dsAdmin_fordDirectO2OPurlLead\")); _ck(_v, 23, 0, currVal_18); var currVal_19 = i0.ɵnov(_v, 32).ngClassUntouched; var currVal_20 = i0.ɵnov(_v, 32).ngClassTouched; var currVal_21 = i0.ɵnov(_v, 32).ngClassPristine; var currVal_22 = i0.ɵnov(_v, 32).ngClassDirty; var currVal_23 = i0.ɵnov(_v, 32).ngClassValid; var currVal_24 = i0.ɵnov(_v, 32).ngClassInvalid; var currVal_25 = i0.ɵnov(_v, 32).ngClassPending; _ck(_v, 27, 0, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25); var currVal_27 = i0.ɵunv(_v, 33, 0, i0.ɵnov(_v, 34).transform(\"dsAdmin_fordDirectBatch\")); _ck(_v, 33, 0, currVal_27); }); }\nfunction View_AdminSettingsCrmLeadsDeliveryComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 23, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 22, \"div\", [[\"class\", \"col-md-12\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_crmLeadsDelivery\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [[\"class\", \"crmLeadsDelivery\"]], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 13, \"div\", [[\"class\", \"settingItem row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 9, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 5, \"input\", [[\"name\", \"DealerAdfSetting.Enabled\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 10).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 10).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerAdfSetting.enabled = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(10, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(12, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(14, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(15, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(17, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsCrmLeadsDeliveryComponent_1)), i0.ɵdid(19, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsCrmLeadsDeliveryComponent_2)), i0.ɵdid(21, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsCrmLeadsDeliveryComponent_4)), i0.ɵdid(23, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_crmLeadsDelivery\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_crmLeadsDelivery\"; var currVal_2 = \"dsAdmin_crmLeadsDeliveryTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_10 = \"DealerAdfSetting.Enabled\"; var currVal_11 = _co.dsa.dealerAdfSetting.enabled; _ck(_v, 12, 0, currVal_10, currVal_11); var currVal_13 = _co.isEmployee; _ck(_v, 19, 0, currVal_13); var currVal_14 = _co.dsa.dealerAdfSetting.enabled; _ck(_v, 21, 0, currVal_14); var currVal_15 = _co.dsa.isFordAlert; _ck(_v, 23, 0, currVal_15); }, function (_ck, _v) { var currVal_3 = i0.ɵnov(_v, 14).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 14).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 14).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 14).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 14).ngClassValid; var currVal_8 = i0.ɵnov(_v, 14).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 14).ngClassPending; _ck(_v, 9, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_12 = i0.ɵunv(_v, 15, 0, i0.ɵnov(_v, 16).transform(\"dsAdmin_deliverLeadsToCRM\")); _ck(_v, 15, 0, currVal_12); }); }\nexports.View_AdminSettingsCrmLeadsDeliveryComponent_0 = View_AdminSettingsCrmLeadsDeliveryComponent_0;\nfunction View_AdminSettingsCrmLeadsDeliveryComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-crmleadsdelivery\", [], null, null, null, View_AdminSettingsCrmLeadsDeliveryComponent_0, RenderType_AdminSettingsCrmLeadsDeliveryComponent)), i0.ɵdid(1, 114688, null, 0, i7.AdminSettingsCrmLeadsDeliveryComponent, [i8.BsModalService, i1.TranslateService, i9.ToasterLoggerService, i10.DealerSettingsService, i11.StorageService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminSettingsCrmLeadsDeliveryComponent_Host_0 = View_AdminSettingsCrmLeadsDeliveryComponent_Host_0;\nvar AdminSettingsCrmLeadsDeliveryComponentNgFactory = i0.ɵccf(\"admin-settings-crmleadsdelivery\", i7.AdminSettingsCrmLeadsDeliveryComponent, View_AdminSettingsCrmLeadsDeliveryComponent_Host_0, { dsa: \"dsa\" }, {}, []);\nexports.AdminSettingsCrmLeadsDeliveryComponentNgFactory = AdminSettingsCrmLeadsDeliveryComponentNgFactory;\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{ 'dsAdmin_crmEmails' | translate }} \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ 'dsAdmin_leadDuplicationControlInDays' | translate }} {{ ('days' | translate).toLowerCase() }}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","module.exports = __webpack_public_path__ + \"logo-service-lead-management.7e8125bd9d690c32a2b0.svg\";","require('../modules/es6.object.to-string');\nrequire('../modules/es6.array.iterator');\nrequire('../modules/es6.weak-map');\nmodule.exports = require('../modules/_core').WeakMap;\n","require('../modules/es6.parse-int');\nmodule.exports = require('../modules/_core').parseInt;\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvZGF0YS1lbnRyeS9yZXBsYWNlbWVudC9lZGl0LXVwZ3JhZGUtZG93bmdyYWRlLW11bHRpLWl0ZW1zLW1vZGFsLmNvbXBvbmVudC5zY3NzIn0= */\"","module.exports = \"Delete\"","var path = '/app/components/wish-list/edit-wish-list-modal.component.html';\nvar html = \"
{{$ctrl.translations.validationRequired}}
{{$ctrl.translations.yearRangeError}}
{{$ctrl.translations.toLabel}}
{{$ctrl.translations.odometerMinMaxRequired}} {{$ctrl.translations.odometerRangeError}}
{{$ctrl.translations.toLabel}}
{{$ctrl.translations.wishlistTrimExceeds}}
{{$ctrl.translations.validationRequired}} {{$ctrl.translations.dateMustBeGreaterToday}}
{{$ctrl.translations.wishlistNotificationReq}} {{$ctrl.translations.wishlistNotificationExceeds}}
{{$ctrl.translations.wishlistRequirements}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar PaymentsComponent = /** @class */ (function () {\n function PaymentsComponent() {\n this.paymentTypes = constants_1.PaymentTypes;\n this.conquestTypes = constants_1.ConquestTypes;\n this.saleTypes = constants_1.SaleTypes;\n this.absoluteValue = Math.abs;\n }\n PaymentsComponent.prototype.ngOnInit = function () {\n };\n PaymentsComponent.prototype.ngOnChanges = function (changes) {\n // Only display this if the improvement is at least 5 CurrencyBucks\n this.shouldShowPaymentBeforeImprovement =\n this.contract && this.contract.paymentBeforeImprovement - this.contract.payment >= 5;\n if (this.contract && this.contract.lastPaymentDate) {\n var lastPaymentDate = new Date(this.contract.lastPaymentDate);\n var lastPaymentMonths = (lastPaymentDate.getFullYear() * 12) + lastPaymentDate.getMonth();\n var now = new Date();\n var currentDateMonths = (now.getFullYear() * 12) + now.getMonth();\n this.paymentsRemainingMo = lastPaymentMonths - currentDateMonths;\n if (this.paymentsRemainingMo < 0) {\n this.paymentsRemainingMo = 0;\n }\n }\n };\n return PaymentsComponent;\n}());\nexports.PaymentsComponent = PaymentsComponent;\n","import { Component, OnInit, Input, OnChanges, SimpleChanges} from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { PaymentTypes, ConquestTypes, SaleTypes } from '../../../../constants';\r\n\r\n@Component({\r\n selector: 'payments',\r\n templateUrl: './payments.component-ng.html',\r\n styleUrls: ['./payments.component.scss']\r\n})\r\nexport class PaymentsComponent implements OnInit, OnChanges {\r\n @Input() type: any;\r\n @Input() contract: any;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() alertExists: any;\r\n @Input() flexAlertExists: any;\r\n\r\n public paymentTypes = PaymentTypes;\r\n public conquestTypes = ConquestTypes;\r\n public saleTypes = SaleTypes;\r\n public absoluteValue = Math.abs;\r\n public shouldShowPaymentBeforeImprovement: boolean;\r\n public paymentsRemainingMo: any;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n // Only display this if the improvement is at least 5 CurrencyBucks\r\n this.shouldShowPaymentBeforeImprovement =\r\n this.contract && this.contract.paymentBeforeImprovement - this.contract.payment >= 5;\r\n\r\n if (this.contract && this.contract.lastPaymentDate) {\r\n const lastPaymentDate = new Date(this.contract.lastPaymentDate);\r\n const lastPaymentMonths = (lastPaymentDate.getFullYear() * 12) + lastPaymentDate.getMonth();\r\n const now = new Date();\r\n const currentDateMonths = (now.getFullYear() * 12) + now.getMonth();\r\n this.paymentsRemainingMo = lastPaymentMonths - currentDateMonths;\r\n if (this.paymentsRemainingMo < 0) {\r\n this.paymentsRemainingMo = 0;\r\n }\r\n }\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dealer_settings_service_1 = require(\"../../services/dealer-settings.service\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_1 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar AdminSettingsCreditConvertComponent = /** @class */ (function () {\n function AdminSettingsCreditConvertComponent(modalService, tService, logger, dsService) {\n this.modalService = modalService;\n this.tService = tService;\n this.logger = logger;\n this.dsService = dsService;\n this.dsa = {};\n this.years = [];\n this.dropdownList = [];\n this.selectedOwners = [];\n this.selectedYears = [];\n this.ownersDropdownSettings = {};\n this.specificYearsSettings = {};\n }\n AdminSettingsCreditConvertComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.ownersDropdownSettings = {\n singleSelection: false,\n text: this.tService.instant('dsAdmin_selectOwners'),\n selectAllText: this.tService.instant('selectAll'),\n enableSearchFilter: false,\n badgeShowLimit: 2,\n labelKey: \"fullName\",\n primaryKey: \"userID\"\n };\n this.specificYearsSettings = {\n badgeShowLimit: 4,\n singleSelection: false,\n text: this.tService.instant('dsAdmin_selectYears'),\n selectAllText: this.tService.instant('selectAll'),\n enableSearchFilter: false,\n };\n this.years = this.dsa.creditConvertFilterYears.map(function (obj) {\n var rObj = {};\n rObj.id = obj;\n rObj.itemName = obj;\n return rObj;\n });\n this.selectedOwners = this.dsa.dealerCreditSoftPullOwner.map(function (obj) {\n var user = _this.dsa.users.find(function (u) { return u.userID == obj.userID; });\n if (user != null)\n return user;\n }).filter(Boolean);\n if (this.dsa.dealerCreditSoftPull.creditSoftPullYearFilter) {\n var selectedYearArray = this.dsa.dealerCreditSoftPull.creditSoftPullYearFilter.split(',');\n this.selectedYears = selectedYearArray.map(function (obj) {\n var rObj = {};\n rObj.id = Number(obj);\n rObj.itemName = Number(obj);\n return rObj;\n });\n }\n };\n AdminSettingsCreditConvertComponent.prototype.onMultiSelectChanged = function () {\n this.dsa.isFormChanged = true;\n };\n AdminSettingsCreditConvertComponent.prototype.onSave = function () {\n this.dsa.dealerCreditSoftPullOwner = this.selectedOwners.map(function (obj) {\n // dealerID and typeID are filled by the api\n var rObj = {};\n rObj.userID = obj.userID;\n return rObj;\n });\n this.dsa.dealerCreditSoftPull.creditSoftPullYearFilter = this.selectedYears.map(function (e) { return e.id; }).join(',');\n };\n return AdminSettingsCreditConvertComponent;\n}());\nexports.AdminSettingsCreditConvertComponent = AdminSettingsCreditConvertComponent;\n","import { Component, ViewChild, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter, ElementRef, NgModule } from '@angular/core';\r\nimport { DealerSettingsService } from '../../services/dealer-settings.service';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerSettingResponseDto, DealerAssignOwnerDto, UserDto } from '../../generated/models';\r\n\r\n@Component({\r\n selector: 'admin-settings-creditconvert',\r\n templateUrl: './admin-settings-creditconvert.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsCreditConvertComponent {\r\n bsModalRef: BsModalRef;\r\n @Input() dsa: DealerSettingResponseDto = {};\r\n\r\n public years: any = [];\r\n public dropdownList: [] = [];\r\n public selectedOwners: any = [];\r\n public selectedYears: any = [];\r\n public ownersDropdownSettings = {};\r\n public specificYearsSettings = {};\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public logger: ToasterLoggerService,\r\n private dsService: DealerSettingsService\r\n ) {\r\n }\r\n\r\n public ngOnInit() {\r\n this.ownersDropdownSettings = {\r\n singleSelection: false,\r\n text: this.tService.instant('dsAdmin_selectOwners'),\r\n selectAllText: this.tService.instant('selectAll'),\r\n enableSearchFilter: false,\r\n badgeShowLimit: 2,\r\n labelKey: \"fullName\",\r\n primaryKey: \"userID\"\r\n }; \r\n\r\n this.specificYearsSettings = {\r\n badgeShowLimit: 4,\r\n singleSelection: false,\r\n text: this.tService.instant('dsAdmin_selectYears'),\r\n selectAllText: this.tService.instant('selectAll'),\r\n enableSearchFilter: false,\r\n\r\n }; \r\n \r\n this.years = this.dsa.creditConvertFilterYears.map(obj => {\r\n var rObj: any = {};\r\n rObj.id = obj;\r\n rObj.itemName = obj;\r\n return rObj;\r\n });\r\n\r\n this.selectedOwners = this.dsa.dealerCreditSoftPullOwner.map(obj => {\r\n var user = this.dsa.users.find(u => u.userID == obj.userID);\r\n if (user != null)\r\n return user;\r\n }).filter(Boolean);\r\n\r\n if (this.dsa.dealerCreditSoftPull.creditSoftPullYearFilter) {\r\n var selectedYearArray = this.dsa.dealerCreditSoftPull.creditSoftPullYearFilter.split(',');\r\n this.selectedYears = selectedYearArray.map(obj => {\r\n var rObj: any = {};\r\n rObj.id = Number(obj);\r\n rObj.itemName = Number(obj);\r\n return rObj;\r\n });\r\n }\r\n }\r\n\r\n public onMultiSelectChanged() {\r\n this.dsa.isFormChanged = true;\r\n }\r\n\r\n public onSave() {\r\n this.dsa.dealerCreditSoftPullOwner = this.selectedOwners.map((obj: UserDto) => {\r\n // dealerID and typeID are filled by the api\r\n var rObj: DealerAssignOwnerDto = {};\r\n rObj.userID = obj.userID; \r\n return rObj;\r\n });\r\n\r\n this.dsa.dealerCreditSoftPull.creditSoftPullYearFilter = this.selectedYears.map((e: any) => e.id).join(',');\r\n }\r\n}","\n/* injects from baggage-loader */\nrequire('./wish-list-trim-list.component.html');\n\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","module.exports = __webpack_public_path__ + \"icon-arrow-up-down-lake.0d4c520a4d1e4dfe55ee.svg\";","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DeskitClientService = /** @class */ (function (_super) {\n __extends(DeskitClientService, _super);\n function DeskitClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param request undefined\n * @return Success\n */\n DeskitClientService.prototype.PushToDeskitPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Deskit/PushToDeskit\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n DeskitClientService.prototype.PushToDeskitPOST = function (request) {\n return this.PushToDeskitPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DeskitClientService.PushToDeskitPOSTPath = '/api/Deskit/PushToDeskit';\n DeskitClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DeskitClientService_Factory() { return new DeskitClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DeskitClientService, providedIn: \"root\" });\n return DeskitClientService;\n}(base_service_1.BaseService));\nexports.DeskitClientService = DeskitClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DeskitQuotingPushResponseDto } from '../models/deskit-quoting-push-response-dto';\r\nimport { DeskitQuotingPushDto } from '../models/deskit-quoting-push-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DeskitClientService extends __BaseService {\r\n static readonly PushToDeskitPOSTPath = '/api/Deskit/PushToDeskit';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n PushToDeskitPOSTResponse(request?: DeskitQuotingPushDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Deskit/PushToDeskit`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n PushToDeskitPOST(request?: DeskitQuotingPushDto): __Observable {\r\n return this.PushToDeskitPOSTResponse(request).pipe(\r\n __map(_r => _r.body as DeskitQuotingPushResponseDto)\r\n );\r\n }\r\n}\r\n\r\nmodule DeskitClientService {\r\n}\r\n\r\nexport { DeskitClientService }\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"icon.aa-icon-star-icon-off[_ngcontent-%COMP%], icon.aa-icon-star-icon-on[_ngcontent-%COMP%]{padding-right:5px}\"];\nexports.styles = styles;\n","require('../modules/es6.string.iterator');\nrequire('../modules/es6.array.is-array');\nrequire('../modules/es6.array.from');\nrequire('../modules/es6.array.of');\nrequire('../modules/es6.array.join');\nrequire('../modules/es6.array.slice');\nrequire('../modules/es6.array.sort');\nrequire('../modules/es6.array.for-each');\nrequire('../modules/es6.array.map');\nrequire('../modules/es6.array.filter');\nrequire('../modules/es6.array.some');\nrequire('../modules/es6.array.every');\nrequire('../modules/es6.array.reduce');\nrequire('../modules/es6.array.reduce-right');\nrequire('../modules/es6.array.index-of');\nrequire('../modules/es6.array.last-index-of');\nrequire('../modules/es6.array.copy-within');\nrequire('../modules/es6.array.fill');\nrequire('../modules/es6.array.find');\nrequire('../modules/es6.array.find-index');\nrequire('../modules/es6.array.species');\nrequire('../modules/es6.array.iterator');\nmodule.exports = require('../modules/_core').Array;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar storage_service_1 = require(\"../../../../modules/storage/storage.service\");\nvar date_format_service_1 = require(\"../../../../services/date-format.service\");\nvar user_service_1 = require(\"../../../../services/user.service\");\nvar moment = require(\"moment\");\nvar CustomerConnectScheduleActionComponent = /** @class */ (function () {\n function CustomerConnectScheduleActionComponent(dateFormatService, storageService, userService) {\n this.storageService = storageService;\n this.userService = userService;\n this.onLogScheduleSubmit = new core_1.EventEmitter();\n this.activityActionEnum = constants_1.ActivityActionEnum;\n this.editedActivityAssignToUser = null;\n this.validatedAssignee = {\n isValid: false,\n index: -1\n };\n this.ownerId = null;\n this.owner = null;\n this.userList = [];\n this.activity = null;\n // owner info\n this.soldById = null;\n this.soldByName = null;\n this.soldByStatus = null;\n // setup time picker\n this.mytime = new Date();\n this.hstep = 1;\n this.mstep = 5;\n this.status = { opened: false };\n this.model = {\n scheduleDueDate: new Date(),\n time: new Date(),\n notes: '',\n user: -1,\n sendReminder: false,\n userChoice: 'other'\n };\n this.scheduleTypeAction = this.subAction; // dialog type\n this.dateOptions = {};\n // setup ui display object type for custom dialogbox\n this.scheduleType = {\n scheduleCall: {\n activityId: this.activityActionEnum.Schedule_Call,\n description: constants_1.TranslateKeys.scheduleTitleCallKey,\n IsAssignToVisible: true,\n IsDateVisible: true,\n IsTimeVisible: true,\n IsReminderVisible: true\n },\n scheduleAppt: {\n activityId: constants_1.ActivityActionEnum.Schedule_Appt,\n description: constants_1.TranslateKeys.scheduleTitleApptKey,\n IsAssignToVisible: true,\n IsDateVisible: true,\n IsTimeVisible: true,\n IsReminderVisible: true\n },\n rescheduleCall: {\n activityId: constants_1.ActivityActionEnum.Reschedule_Call,\n description: constants_1.TranslateKeys.rescheduleTitleCallKey,\n IsAssignToVisible: false,\n IsDateVisible: true,\n IsTimeVisible: true,\n IsReminderVisible: true\n },\n rescheduleAppt: {\n activityId: constants_1.ActivityActionEnum.Reschedule_Appt,\n description: constants_1.TranslateKeys.rescheduleTitleApptKey,\n IsAssignToVisible: false,\n IsDateVisible: true,\n IsTimeVisible: true,\n IsReminderVisible: true\n },\n reassignCall: {\n activityId: constants_1.ActivityActionEnum.Reassign_Call,\n description: constants_1.TranslateKeys.reassignTitleCallKey,\n IsAssignToVisible: true,\n IsDateVisible: false,\n IsTimeVisible: false,\n IsReminderVisible: false\n },\n reassignAppt: {\n activityId: constants_1.ActivityActionEnum.Reassign_Appt,\n description: constants_1.TranslateKeys.reassignTitleApptKey,\n IsAssignToVisible: true,\n IsDateVisible: false,\n IsTimeVisible: false,\n IsReminderVisible: false\n }\n };\n this.dateFormat = dateFormatService.getDateFormatString();\n }\n CustomerConnectScheduleActionComponent.prototype.ngOnInit = function () {\n this.initModels();\n this.currentLoginUserProfile = this.storageService.getItem(constants_1.StorageKeys.UserProfile);\n };\n CustomerConnectScheduleActionComponent.prototype.initModels = function () {\n this.editedActivityAssignToUser = null;\n this.currentLoginUserProfile = this.storageService.getItem(constants_1.StorageKeys.UserProfile);\n this.validatedAssignee = {\n isValid: false,\n index: -1\n };\n var savedCultureName = this.storageService.getItem(constants_1.StorageKeys.CultureName);\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n cultureName = cultureName.toLowerCase();\n // get's passed via resolve\n this.ownerId = null;\n this.owner = null;\n this.userList = [];\n this.activity = null;\n // owner info\n this.soldById = null;\n this.soldByName = null;\n this.soldByStatus = null;\n // setup time picker\n this.mytime = new Date();\n this.hstep = 1;\n this.mstep = 5;\n this.ismeridian = (cultureName === 'fr-fr') ? false : true;\n this.status = { opened: false };\n var now = new Date();\n var dueDate = this.dateAddDays(now, (5 / (24 * 60))); // add 5 min to current time\n this.model = {\n scheduleDueDate: dueDate,\n time: dueDate,\n notes: '',\n user: -1,\n sendReminder: false,\n userChoice: 'other'\n };\n };\n CustomerConnectScheduleActionComponent.prototype.dateAddDays = function (date, daysToAdd) {\n var newDate = new Date(date);\n newDate.setDate(date.getDate() + daysToAdd);\n return newDate;\n };\n // Disable weekend selection\n CustomerConnectScheduleActionComponent.prototype.disabled = function (data) {\n var date = data.date, mode = data.mode;\n return mode === 'day' && (date.getDay() === 0 || date.getDay() === 6);\n };\n CustomerConnectScheduleActionComponent.prototype.calendarClick = function ($event) {\n this.status.opened = true;\n };\n CustomerConnectScheduleActionComponent.prototype.ngOnChanges = function () {\n var _this = this;\n if (this.subAction && this.dialogParams) {\n if (this.isSltUser == null) {\n this.userService.getUserProfile()\n .then(function (userProfile) {\n _this.isSltUser = userProfile.isSltUser;\n _this.updateModel();\n });\n }\n else {\n this.updateModel();\n }\n }\n };\n CustomerConnectScheduleActionComponent.prototype.updateModel = function () {\n this.opportunityId = this.dialogParams.opportunityId;\n this.dealerId = this.dialogParams.dealerId;\n this.scheduleTypeAction = this.subAction; // dialog type\n this.maxFutureDays = this.dialogParams.maxScheduleFutureDays;\n this.ownerUserInfo = this.dialogParams.ownerUserInfoObject;\n var now = new Date();\n var maxDate;\n if (this.isSltUser) {\n var maxSltScheduleDays = 30;\n maxDate = this.dialogParams.expirationDate ?\n new Date(this.dialogParams.expirationDate) :\n moment().add(maxSltScheduleDays, 'days').toDate();\n }\n else {\n maxDate = this.dateAddDays(now, this.maxFutureDays);\n }\n this.dateOptions = {\n minDate: now,\n maxDate: maxDate\n };\n if (this.dialogParams.usersObject && this.dialogParams.usersObject.length) {\n if (this.userList.length > 0) {\n this.userList = [];\n }\n for (var i = 0; i < this.dialogParams.usersObject.length; i++) {\n // Must create a new array and not reference the binding\n // as it can change the parent array. filter and add only user's with type id 1 that is client\n if (this.dialogParams.usersObject[i].userTypeId === 1) {\n this.userList.push(this.dialogParams.usersObject[i]);\n }\n }\n // sort it to ascending order by fullName\n this.userList.sort(this.dynamicSort('fullName'));\n }\n // get passed owner id\n this.ownerId = this.dialogParams.dealSheetOwnerId;\n // if activity is passed from parent\n if (this.dialogParams.activityObject) {\n this.activity = this.dialogParams.activityObject;\n }\n this.setupScheduleDialogUX();\n };\n CustomerConnectScheduleActionComponent.prototype.setupScheduleDialogUX = function () {\n switch (this.scheduleTypeAction) {\n case constants_1.ActivityActionEnum.Schedule_Call:\n // setup dialogUX\n this.currentScheduleType = this.scheduleType.scheduleCall;\n this.ownerId = this.getValidOwnerId(this.ownerId);\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\n this.model.user = -1;\n break;\n case constants_1.ActivityActionEnum.Schedule_Appt:\n this.currentScheduleType = this.scheduleType.scheduleAppt;\n this.ownerId = this.getValidOwnerId(this.ownerId);\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\n this.model.user = -1;\n break;\n case constants_1.ActivityActionEnum.Reschedule_Call:\n // activity is passed from parent\n this.currentScheduleType = this.scheduleType.rescheduleCall;\n this.ownerId = this.getValidOwnerId(this.ownerId);\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\n this.editedActivityAssignToUser = this.getValidatedAssignToUserObject(this.activity.assignedUserID, this.userList);\n if (!this.editedActivityAssignToUser.isValid) {\n this.model.user = -1;\n }\n else {\n this.model.user = this.editedActivityAssignToUser.id;\n }\n break;\n case constants_1.ActivityActionEnum.Reschedule_Appt:\n // activity is passed from parent\n this.currentScheduleType = this.scheduleType.rescheduleAppt;\n this.ownerId = this.getValidOwnerId(this.ownerId);\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\n this.editedActivityAssignToUser = this.getValidatedAssignToUserObject(this.activity.assignedUserID, this.userList);\n if (!this.editedActivityAssignToUser.isValid) {\n this.model.user = -1;\n }\n else {\n this.model.user = this.editedActivityAssignToUser.id;\n }\n break;\n case constants_1.ActivityActionEnum.Reassign_Call:\n // activity is passed from parent\n this.currentScheduleType = this.scheduleType.reassignCall;\n this.ownerId = this.getValidOwnerId(this.ownerId);\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\n this.editedActivityAssignToUser = this.getValidatedAssignToUserObject(this.activity.assignedUserID, this.userList);\n if (!this.editedActivityAssignToUser.isValid) {\n this.model.user = -1;\n }\n else {\n this.model.user = this.editedActivityAssignToUser.id;\n }\n break;\n case constants_1.ActivityActionEnum.Reassign_Appt:\n // activity is passed from parent\n this.currentScheduleType = this.scheduleType.reassignAppt;\n this.ownerId = this.getValidOwnerId(this.ownerId);\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\n this.editedActivityAssignToUser = this.getValidatedAssignToUserObject(this.activity.assignedUserID, this.userList);\n if (!this.editedActivityAssignToUser.isValid) {\n this.model.user = -1;\n }\n else {\n this.model.user = this.editedActivityAssignToUser.id;\n }\n break;\n }\n // this.dialogTitle = this.currentScheduleType.description;\n this.getAssignToSelectedState();\n };\n // based on rules of WEBUI-4465 ownerId is replaced with soldByid\n CustomerConnectScheduleActionComponent.prototype.getValidOwnerId = function (currentOwnerId) {\n currentOwnerId = this.getValidatedAssignToUserObject(currentOwnerId, this.userList).id;\n var userId = -1;\n if (this.ownerUserInfo) {\n if (currentOwnerId === -1 && this.ownerUserInfo.soldByUserId == null && this.ownerUserInfo.soldByUserFullName == null) {\n return -1;\n }\n if (currentOwnerId === -1 && this.ownerUserInfo.soldByUserId == null && this.ownerUserInfo.soldByUserFullName != null) {\n userId = this.getUserIdbyName(this.ownerUserInfo.soldByUserFullName, this.userList);\n return userId;\n }\n if (currentOwnerId === -1 && this.ownerUserInfo.soldByUserId != null) {\n return this.ownerUserInfo.soldByUserId;\n }\n if (currentOwnerId !== -1 && this.ownerUserInfo.ownerUserEnabled === false && this.ownerUserInfo.soldByUserId != null) {\n return this.ownerUserInfo.soldByUserId;\n }\n }\n return currentOwnerId;\n };\n CustomerConnectScheduleActionComponent.prototype.getUserIdbyName = function (userName, userList) {\n for (var i = 0; i < userList.length; i++) {\n if (userList[i].fullName.toLowerCase() === userName.toLowerCase()) {\n return userList[i].id;\n }\n }\n return -1;\n };\n CustomerConnectScheduleActionComponent.prototype.getValidatedAssignToUserObject = function (userID, userList) {\n var resultObj = {\n isValid: false,\n index: -1,\n fullName: null,\n id: -1\n };\n for (var i = 0; i < userList.length; i++) {\n if (userList[i].id === userID) {\n resultObj.isValid = true;\n resultObj.index = i;\n resultObj.fullName = userList[i].fullName;\n resultObj.id = userList[i].id;\n return resultObj;\n }\n }\n return resultObj;\n };\n CustomerConnectScheduleActionComponent.prototype.getAssignToSelectedState = function () {\n if (this.currentLoginUserProfile && !this.currentLoginUserProfile.employeeUser) {\n this.model.userChoice = 'self';\n if (this.currentLoginUserProfile.userId === this.owner.id) {\n this.owner.isValid = false;\n }\n return;\n }\n if (this.owner && this.owner.isValid) {\n this.model.userChoice = 'owner';\n return;\n }\n this.model.userChoice = 'other';\n return;\n };\n // sort a list object based on property\n CustomerConnectScheduleActionComponent.prototype.dynamicSort = function (property) {\n var sortOrder = 1;\n if (property[0] === '-') {\n sortOrder = -1;\n property = property.substr(1);\n }\n return function (a, b) {\n var result = (a[property] < b[property]) ? -1 : (a[property] > b[property]) ? 1 : 0;\n return result * sortOrder;\n };\n };\n CustomerConnectScheduleActionComponent.prototype.onSubmit = function () {\n this.postActivity();\n };\n CustomerConnectScheduleActionComponent.prototype.postActivity = function () {\n var assignToUserId = -1;\n switch (this.model.userChoice) {\n case 'self':\n assignToUserId = this.currentLoginUserProfile.userId;\n break;\n case 'owner':\n assignToUserId = this.owner.id;\n break;\n case 'other':\n assignToUserId = this.model.user;\n break;\n }\n if (!assignToUserId) {\n this.errorMessage = constants_1.TranslateKeys.scheduleAssignToErrorMsgKey;\n this.onLogScheduleSubmit.emit(null);\n return;\n }\n if (assignToUserId === -1) {\n this.errorMessage = constants_1.TranslateKeys.scheduleAssignToErrorMsgKey;\n this.onLogScheduleSubmit.emit(null);\n return;\n }\n var dateTime = new Date(this.model.scheduleDueDate.getFullYear(), this.model.scheduleDueDate.getMonth(), this.model.scheduleDueDate.getDate(), this.model.time.getHours(), this.model.time.getMinutes(), this.model.time.getSeconds());\n var recordId = null;\n if (this.activity) {\n if (this.currentScheduleType.activityId !== constants_1.ActivityActionEnum.Schedule_Call &&\n this.currentScheduleType.activityId !== constants_1.ActivityActionEnum.Schedule_Appt) {\n recordId = this.activity.activityId;\n }\n }\n var activity = {\n entityID: this.opportunityId,\n activityActionID: this.currentScheduleType.activityId,\n notes: this.model.notes,\n assignTo: assignToUserId,\n dueDate: moment(dateTime).format('YYYY-MM-DD[T]HH:mm:ss'),\n sendReminder: this.model.sendReminder,\n activityId: recordId,\n activityActionSubTypeID: null,\n isFollowUpScheduleAppt: false,\n uid: null\n };\n if (!activity.notes) {\n activity.notes = '';\n }\n if (this.dialogParams.uid) {\n activity.uid = this.dialogParams.uid;\n }\n // send activity to dealsheet\n this.onLogScheduleSubmit.emit(activity);\n this.initModels();\n };\n CustomerConnectScheduleActionComponent.prototype.onCancel = function () {\n if (this.dialogParams.uid) {\n this.onLogScheduleSubmit.emit({ uid: this.dialogParams.uid, status: 'cancel' });\n }\n else {\n this.onLogScheduleSubmit.emit('cancel');\n }\n this.initModels();\n };\n CustomerConnectScheduleActionComponent.prototype.setScheduleDueDate = function (date, model) {\n this.model.scheduleDueDate = date;\n this.scheduleDueDateModel = model;\n };\n CustomerConnectScheduleActionComponent.prototype.usersTrackBy = function (index, obj) {\n if (!obj) {\n return null;\n }\n return obj.id;\n };\n return CustomerConnectScheduleActionComponent;\n}());\nexports.CustomerConnectScheduleActionComponent = CustomerConnectScheduleActionComponent;\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, ChangeDetectionStrategy } from '@angular/core';\r\nimport { ActivityActionEnum, StorageKeys, TranslateKeys } from '../../../../constants';\r\nimport { EntityUserInfoDto } from '../../../../generated/models';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { UserProfile } from '../../../../interfaces/user-profile.interface';\r\nimport { StorageService } from '../../../../modules/storage/storage.service';\r\nimport { DateFormatService } from '../../../../services/date-format.service';\r\nimport { UserService } from '../../../../services/user.service';\r\nimport { ScheduleModalParam } from '../ScheduleModalParam.interface';\r\nimport moment = require('moment');\r\n\r\ninterface ScheduleType {\r\n scheduleCall: Schedule;\r\n scheduleAppt: Schedule;\r\n rescheduleCall: Schedule;\r\n rescheduleAppt: Schedule;\r\n reassignCall: Schedule;\r\n reassignAppt: Schedule;\r\n}\r\n\r\ninterface Schedule {\r\n activityId: number;\r\n description: string;\r\n IsAssignToVisible: boolean;\r\n IsDateVisible: boolean;\r\n IsTimeVisible: boolean;\r\n IsReminderVisible: boolean;\r\n}\r\n\r\n@Component({\r\n selector: 'customer-connect-schedule-action',\r\n templateUrl: './customer-connect-schedule-action.component-ng.html',\r\n styleUrls: ['./customer-connect-schedule-action.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CustomerConnectScheduleActionComponent implements OnInit, OnChanges {\r\n\r\n @Input() subAction: number;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() dialogParams: ScheduleModalParam;\r\n @Output() onLogScheduleSubmit = new EventEmitter();\r\n\r\n public activityActionEnum = ActivityActionEnum;\r\n public isSltUser: boolean;\r\n public scheduleDueDateModel: any;\r\n public dateFormat: string;\r\n public editedActivityAssignToUser = null;\r\n public currentLoginUserProfile: UserProfile;\r\n public validatedAssignee = {\r\n isValid: false,\r\n index: -1\r\n };\r\n\r\n ownerId = null;\r\n owner = null;\r\n userList = [];\r\n activity = null;\r\n\r\n // owner info\r\n soldById = null;\r\n soldByName = null;\r\n soldByStatus = null;\r\n\r\n // setup time picker\r\n mytime = new Date();\r\n hstep = 1;\r\n mstep = 5;\r\n ismeridian: boolean;\r\n\r\n status = { opened: false };\r\n\r\n model = {\r\n scheduleDueDate: new Date(),\r\n time: new Date(),\r\n notes: '',\r\n user: -1,\r\n sendReminder: false,\r\n userChoice: 'other'\r\n };\r\n\r\n opportunityId: string;\r\n dealerId: number;\r\n scheduleTypeAction = this.subAction; // dialog type\r\n maxFutureDays: number;\r\n ownerUserInfo: EntityUserInfoDto;\r\n\r\n dateOptions = {};\r\n\r\n errorMessage: string;\r\n\r\n // setup ui display object type for custom dialogbox\r\n public scheduleType = {\r\n scheduleCall: {\r\n activityId: this.activityActionEnum.Schedule_Call,\r\n description: TranslateKeys.scheduleTitleCallKey,\r\n IsAssignToVisible: true,\r\n IsDateVisible: true,\r\n IsTimeVisible: true,\r\n IsReminderVisible: true\r\n } as Schedule,\r\n scheduleAppt: {\r\n activityId: ActivityActionEnum.Schedule_Appt,\r\n description: TranslateKeys.scheduleTitleApptKey,\r\n IsAssignToVisible: true,\r\n IsDateVisible: true,\r\n IsTimeVisible: true,\r\n IsReminderVisible: true\r\n } as Schedule,\r\n rescheduleCall: {\r\n activityId: ActivityActionEnum.Reschedule_Call,\r\n description: TranslateKeys.rescheduleTitleCallKey,\r\n IsAssignToVisible: false,\r\n IsDateVisible: true,\r\n IsTimeVisible: true,\r\n IsReminderVisible: true\r\n } as Schedule,\r\n rescheduleAppt: {\r\n activityId: ActivityActionEnum.Reschedule_Appt,\r\n description: TranslateKeys.rescheduleTitleApptKey,\r\n IsAssignToVisible: false,\r\n IsDateVisible: true,\r\n IsTimeVisible: true,\r\n IsReminderVisible: true\r\n } as Schedule,\r\n reassignCall: {\r\n activityId: ActivityActionEnum.Reassign_Call,\r\n description: TranslateKeys.reassignTitleCallKey,\r\n IsAssignToVisible: true,\r\n IsDateVisible: false,\r\n IsTimeVisible: false,\r\n IsReminderVisible: false\r\n },\r\n reassignAppt: {\r\n activityId: ActivityActionEnum.Reassign_Appt,\r\n description: TranslateKeys.reassignTitleApptKey,\r\n IsAssignToVisible: true,\r\n IsDateVisible: false,\r\n IsTimeVisible: false,\r\n IsReminderVisible: false\r\n } as Schedule\r\n } as ScheduleType;\r\n\r\n currentScheduleType: Schedule;\r\n\r\n constructor(dateFormatService: DateFormatService,\r\n private storageService: StorageService,\r\n private userService: UserService) {\r\n this.dateFormat = dateFormatService.getDateFormatString();\r\n }\r\n\r\n ngOnInit() {\r\n this.initModels();\r\n this.currentLoginUserProfile = this.storageService.getItem(StorageKeys.UserProfile);\r\n }\r\n\r\n initModels() {\r\n this.editedActivityAssignToUser = null;\r\n this.currentLoginUserProfile = this.storageService.getItem(StorageKeys.UserProfile);\r\n this.validatedAssignee = {\r\n isValid: false,\r\n index: -1\r\n };\r\n\r\n const savedCultureName = this.storageService.getItem(StorageKeys.CultureName);\r\n let cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n cultureName = cultureName.toLowerCase();\r\n\r\n // get's passed via resolve\r\n this.ownerId = null;\r\n this.owner = null;\r\n this.userList = [];\r\n this.activity = null;\r\n\r\n // owner info\r\n this.soldById = null;\r\n this.soldByName = null;\r\n this.soldByStatus = null;\r\n\r\n // setup time picker\r\n this.mytime = new Date();\r\n this.hstep = 1;\r\n this.mstep = 5;\r\n this.ismeridian = (cultureName === 'fr-fr') ? false : true;\r\n\r\n this.status = { opened: false };\r\n\r\n const now = new Date();\r\n\r\n const dueDate = this.dateAddDays(now, (5 / (24 * 60))); // add 5 min to current time\r\n\r\n this.model = {\r\n scheduleDueDate: dueDate,\r\n time: dueDate, // new Date(1, 1, 2000, dueDate.getHours(), dueDate.getMinutes()),\r\n notes: '',\r\n user: -1,\r\n sendReminder: false,\r\n userChoice: 'other'\r\n };\r\n }\r\n\r\n dateAddDays(date: Date, daysToAdd: number): Date {\r\n const newDate = new Date(date);\r\n newDate.setDate(date.getDate() + daysToAdd);\r\n return newDate;\r\n }\r\n\r\n // Disable weekend selection\r\n disabled(data) {\r\n const date = data.date,\r\n mode = data.mode;\r\n return mode === 'day' && (date.getDay() === 0 || date.getDay() === 6);\r\n }\r\n\r\n calendarClick($event) {\r\n this.status.opened = true;\r\n }\r\n\r\n ngOnChanges() {\r\n if (this.subAction && this.dialogParams) {\r\n if (this.isSltUser == null) {\r\n this.userService.getUserProfile()\r\n .then(userProfile => {\r\n this.isSltUser = userProfile.isSltUser;\r\n this.updateModel();\r\n });\r\n } else {\r\n this.updateModel();\r\n }\r\n }\r\n }\r\n\r\n updateModel() {\r\n\r\n this.opportunityId = this.dialogParams.opportunityId;\r\n this.dealerId = this.dialogParams.dealerId;\r\n this.scheduleTypeAction = this.subAction; // dialog type\r\n this.maxFutureDays = this.dialogParams.maxScheduleFutureDays;\r\n this.ownerUserInfo = this.dialogParams.ownerUserInfoObject;\r\n\r\n const now = new Date();\r\n let maxDate: Date;\r\n\r\n if (this.isSltUser) {\r\n const maxSltScheduleDays = 30;\r\n maxDate = this.dialogParams.expirationDate ?\r\n new Date(this.dialogParams.expirationDate) :\r\n moment().add(maxSltScheduleDays, 'days').toDate();\r\n } else {\r\n maxDate = this.dateAddDays(now, this.maxFutureDays);\r\n }\r\n\r\n this.dateOptions = {\r\n minDate: now,\r\n maxDate: maxDate\r\n };\r\n\r\n if (this.dialogParams.usersObject && this.dialogParams.usersObject.length) {\r\n if (this.userList.length > 0) { this.userList = []; }\r\n for (let i = 0; i < this.dialogParams.usersObject.length; i++) {\r\n // Must create a new array and not reference the binding\r\n // as it can change the parent array. filter and add only user's with type id 1 that is client\r\n if (this.dialogParams.usersObject[i].userTypeId === 1) {\r\n this.userList.push(this.dialogParams.usersObject[i]);\r\n }\r\n }\r\n // sort it to ascending order by fullName\r\n this.userList.sort(this.dynamicSort('fullName'));\r\n }\r\n\r\n // get passed owner id\r\n this.ownerId = this.dialogParams.dealSheetOwnerId;\r\n\r\n // if activity is passed from parent\r\n if (this.dialogParams.activityObject) {\r\n this.activity = this.dialogParams.activityObject;\r\n }\r\n\r\n this.setupScheduleDialogUX();\r\n }\r\n\r\n setupScheduleDialogUX() {\r\n\r\n switch (this.scheduleTypeAction) {\r\n case ActivityActionEnum.Schedule_Call:\r\n // setup dialogUX\r\n this.currentScheduleType = this.scheduleType.scheduleCall;\r\n this.ownerId = this.getValidOwnerId(this.ownerId);\r\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\r\n this.model.user = -1;\r\n break;\r\n case ActivityActionEnum.Schedule_Appt:\r\n this.currentScheduleType = this.scheduleType.scheduleAppt;\r\n this.ownerId = this.getValidOwnerId(this.ownerId);\r\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\r\n this.model.user = -1;\r\n break;\r\n case ActivityActionEnum.Reschedule_Call:\r\n // activity is passed from parent\r\n this.currentScheduleType = this.scheduleType.rescheduleCall;\r\n this.ownerId = this.getValidOwnerId(this.ownerId);\r\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\r\n this.editedActivityAssignToUser = this.getValidatedAssignToUserObject(this.activity.assignedUserID, this.userList);\r\n if (!this.editedActivityAssignToUser.isValid) {\r\n this.model.user = -1;\r\n } else {\r\n this.model.user = this.editedActivityAssignToUser.id;\r\n }\r\n break;\r\n case ActivityActionEnum.Reschedule_Appt:\r\n // activity is passed from parent\r\n this.currentScheduleType = this.scheduleType.rescheduleAppt;\r\n this.ownerId = this.getValidOwnerId(this.ownerId);\r\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\r\n this.editedActivityAssignToUser = this.getValidatedAssignToUserObject(this.activity.assignedUserID, this.userList);\r\n if (!this.editedActivityAssignToUser.isValid) {\r\n this.model.user = -1;\r\n } else {\r\n this.model.user = this.editedActivityAssignToUser.id;\r\n }\r\n break;\r\n case ActivityActionEnum.Reassign_Call:\r\n // activity is passed from parent\r\n this.currentScheduleType = this.scheduleType.reassignCall;\r\n this.ownerId = this.getValidOwnerId(this.ownerId);\r\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\r\n this.editedActivityAssignToUser = this.getValidatedAssignToUserObject(this.activity.assignedUserID, this.userList);\r\n if (!this.editedActivityAssignToUser.isValid) {\r\n this.model.user = -1;\r\n } else {\r\n this.model.user = this.editedActivityAssignToUser.id;\r\n }\r\n break;\r\n case ActivityActionEnum.Reassign_Appt:\r\n // activity is passed from parent\r\n this.currentScheduleType = this.scheduleType.reassignAppt;\r\n this.ownerId = this.getValidOwnerId(this.ownerId);\r\n this.owner = this.getValidatedAssignToUserObject(this.ownerId, this.userList);\r\n this.editedActivityAssignToUser = this.getValidatedAssignToUserObject(this.activity.assignedUserID, this.userList);\r\n if (!this.editedActivityAssignToUser.isValid) {\r\n this.model.user = -1;\r\n } else {\r\n this.model.user = this.editedActivityAssignToUser.id;\r\n }\r\n break;\r\n }\r\n\r\n // this.dialogTitle = this.currentScheduleType.description;\r\n this.getAssignToSelectedState();\r\n }\r\n\r\n // based on rules of WEBUI-4465 ownerId is replaced with soldByid\r\n getValidOwnerId(currentOwnerId) {\r\n currentOwnerId = this.getValidatedAssignToUserObject(currentOwnerId, this.userList).id;\r\n let userId = -1;\r\n\r\n if (this.ownerUserInfo) {\r\n\r\n if (currentOwnerId === -1 && this.ownerUserInfo.soldByUserId == null && this.ownerUserInfo.soldByUserFullName == null) {\r\n return -1;\r\n }\r\n\r\n if (currentOwnerId === -1 && this.ownerUserInfo.soldByUserId == null && this.ownerUserInfo.soldByUserFullName != null) {\r\n userId = this.getUserIdbyName(this.ownerUserInfo.soldByUserFullName, this.userList);\r\n return userId;\r\n }\r\n\r\n if (currentOwnerId === -1 && this.ownerUserInfo.soldByUserId != null) {\r\n return this.ownerUserInfo.soldByUserId;\r\n }\r\n\r\n if (currentOwnerId !== -1 && this.ownerUserInfo.ownerUserEnabled === false && this.ownerUserInfo.soldByUserId != null) {\r\n return this.ownerUserInfo.soldByUserId;\r\n }\r\n }\r\n\r\n return currentOwnerId;\r\n }\r\n\r\n getUserIdbyName(userName: string, userList): number {\r\n for (let i = 0; i < userList.length; i++) {\r\n if (userList[i].fullName.toLowerCase() === userName.toLowerCase()) {\r\n return userList[i].id;\r\n }\r\n }\r\n return -1;\r\n }\r\n\r\n getValidatedAssignToUserObject(userID, userList): any {\r\n const resultObj = {\r\n isValid: false,\r\n index: -1,\r\n fullName: null,\r\n id: -1\r\n };\r\n\r\n for (let i = 0; i < userList.length; i++) {\r\n if (userList[i].id === userID) {\r\n resultObj.isValid = true;\r\n resultObj.index = i;\r\n resultObj.fullName = userList[i].fullName;\r\n resultObj.id = userList[i].id;\r\n return resultObj;\r\n }\r\n }\r\n return resultObj;\r\n }\r\n\r\n getAssignToSelectedState() {\r\n\r\n if (this.currentLoginUserProfile && !this.currentLoginUserProfile.employeeUser) {\r\n this.model.userChoice = 'self';\r\n if (this.currentLoginUserProfile.userId === this.owner.id) {\r\n this.owner.isValid = false;\r\n }\r\n\r\n return;\r\n }\r\n\r\n if (this.owner && this.owner.isValid) {\r\n this.model.userChoice = 'owner';\r\n return;\r\n }\r\n\r\n this.model.userChoice = 'other';\r\n return;\r\n }\r\n\r\n // sort a list object based on property\r\n dynamicSort(property) {\r\n let sortOrder = 1;\r\n if (property[0] === '-') {\r\n sortOrder = -1;\r\n property = property.substr(1);\r\n }\r\n return function (a, b) {\r\n const result = (a[property] < b[property]) ? -1 : (a[property] > b[property]) ? 1 : 0;\r\n return result * sortOrder;\r\n };\r\n }\r\n\r\n onSubmit() {\r\n this.postActivity();\r\n }\r\n\r\n postActivity() {\r\n let assignToUserId = -1;\r\n switch (this.model.userChoice) {\r\n case 'self':\r\n assignToUserId = this.currentLoginUserProfile.userId;\r\n break;\r\n case 'owner':\r\n assignToUserId = this.owner.id;\r\n break;\r\n case 'other':\r\n assignToUserId = this.model.user;\r\n break;\r\n }\r\n\r\n if (!assignToUserId) {\r\n this.errorMessage = TranslateKeys.scheduleAssignToErrorMsgKey;\r\n this.onLogScheduleSubmit.emit(null);\r\n return;\r\n }\r\n\r\n if (assignToUserId === -1) {\r\n this.errorMessage = TranslateKeys.scheduleAssignToErrorMsgKey;\r\n this.onLogScheduleSubmit.emit(null);\r\n return;\r\n }\r\n\r\n\r\n const dateTime = new Date(this.model.scheduleDueDate.getFullYear(), this.model.scheduleDueDate.getMonth(), this.model.scheduleDueDate.getDate(),\r\n this.model.time.getHours(), this.model.time.getMinutes(), this.model.time.getSeconds());\r\n\r\n let recordId = null;\r\n if (this.activity) {\r\n if (this.currentScheduleType.activityId !== ActivityActionEnum.Schedule_Call &&\r\n this.currentScheduleType.activityId !== ActivityActionEnum.Schedule_Appt) {\r\n recordId = this.activity.activityId;\r\n }\r\n }\r\n\r\n const activity = {\r\n entityID: this.opportunityId,\r\n activityActionID: this.currentScheduleType.activityId,\r\n notes: this.model.notes,\r\n assignTo: assignToUserId, // this.model.user,\r\n dueDate: moment(dateTime).format('YYYY-MM-DD[T]HH:mm:ss'), // in this case, we need to send the local time to the DB - Brad O. 4/23/2018\r\n sendReminder: this.model.sendReminder,\r\n activityId: recordId,\r\n activityActionSubTypeID: null,\r\n isFollowUpScheduleAppt: false,\r\n uid: null\r\n };\r\n\r\n if (!activity.notes) {\r\n activity.notes = '';\r\n }\r\n\r\n if (this.dialogParams.uid) {\r\n activity.uid = this.dialogParams.uid;\r\n }\r\n\r\n // send activity to dealsheet\r\n this.onLogScheduleSubmit.emit(activity);\r\n this.initModels();\r\n }\r\n\r\n onCancel() {\r\n\r\n if (this.dialogParams.uid) {\r\n this.onLogScheduleSubmit.emit({ uid: this.dialogParams.uid, status: 'cancel' });\r\n } else {\r\n this.onLogScheduleSubmit.emit('cancel');\r\n }\r\n\r\n this.initModels();\r\n }\r\n\r\n setScheduleDueDate(date, model) {\r\n this.model.scheduleDueDate = date;\r\n this.scheduleDueDateModel = model;\r\n }\r\n\r\n usersTrackBy(index, obj) {\r\n if (!obj) { return null; }\r\n return obj.id;\r\n }\r\n\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar angular_1 = __importDefault(require(\"angular\"));\nvar moduleName = \"AaApp.Storage\";\nexports.default = moduleName;\nangular_1.default.module(moduleName, []);\n","import angular from \"angular\";\r\n\r\nconst moduleName = \"AaApp.Storage\";\r\nexport default moduleName;\r\n\r\nangular.module(moduleName, []);\r\n","module.exports = \"\"","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./payment-difference.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../../../../filters/locale-currency.pipe\"));\nvar i3 = __importStar(require(\"../../../../../modules/storage/storage.service\"));\nvar i4 = __importStar(require(\"@ngx-translate/core\"));\nvar i5 = __importStar(require(\"./payment-difference.component\"));\nvar styles_PaymentDifferenceComponent = [i0.styles];\nvar RenderType_PaymentDifferenceComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PaymentDifferenceComponent, data: {} });\nexports.RenderType_PaymentDifferenceComponent = RenderType_PaymentDifferenceComponent;\nfunction View_PaymentDifferenceComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i2.LocaleCurrencyPipe, [i3.StorageService]), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"col-xs-5 no-padding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 3, \"span\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵted(3, null, [\" (\", \" \", \") \"])), i1.ɵppd(4, 1), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getPaymentClass(); _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i1.ɵnov(_v, 0), _co.Math.abs(_co.paymentDifference))); var currVal_2 = i1.ɵunv(_v, 3, 1, i1.ɵnov(_v, 5).transform(_co.getPaymentDifferenceLabel())); _ck(_v, 3, 0, currVal_1, currVal_2); }); }\nexports.View_PaymentDifferenceComponent_0 = View_PaymentDifferenceComponent_0;\nfunction View_PaymentDifferenceComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"payment-difference\", [], null, null, null, View_PaymentDifferenceComponent_0, RenderType_PaymentDifferenceComponent)), i1.ɵdid(1, 114688, null, 0, i5.PaymentDifferenceComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_PaymentDifferenceComponent_Host_0 = View_PaymentDifferenceComponent_Host_0;\nvar PaymentDifferenceComponentNgFactory = i1.ɵccf(\"payment-difference\", i5.PaymentDifferenceComponent, View_PaymentDifferenceComponent_Host_0, { vehicle: \"vehicle\", hasPaymentsPermission: \"hasPaymentsPermission\" }, {}, []);\nexports.PaymentDifferenceComponentNgFactory = PaymentDifferenceComponentNgFactory;\n","
\r\n \r\n ({{Math.abs(paymentDifference) | localeCurrency}} {{ getPaymentDifferenceLabel() | translate}})\r\n \r\n
","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar lodash_1 = __importDefault(require(\"lodash\"));\nvar constants_1 = require(\"../../../constants\");\nvar locale_currency_pipe_1 = require(\"../../../filters/locale-currency.pipe\");\nvar locale_date_time_pipe_1 = require(\"../../../filters/locale-date-time.pipe\");\nvar locale_date_pipe_1 = require(\"../../../filters/locale-date.pipe\");\nvar locale_number_pipe_1 = require(\"../../../filters/locale-number.pipe\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar AlertsComponent = /** @class */ (function () {\n function AlertsComponent(localeDateTime, localeDate, localeCurrency, localeNumber, translateService) {\n this.localeDateTime = localeDateTime;\n this.localeDate = localeDate;\n this.localeCurrency = localeCurrency;\n this.localeNumber = localeNumber;\n this.translateService = translateService;\n this.alertNames = lodash_1.default.invert(constants_1.AlertTypes);\n this.alertTypeDescriptors = constants_1.AlertTypeDescriptors;\n this.alertTypes = constants_1.AlertTypes;\n }\n AlertsComponent.prototype.ngOnInit = function () {\n };\n AlertsComponent.prototype.ngOnChanges = function (changes) {\n if (changes.showRelavantInfo && changes.showRelavantInfo.currentValue !== null) {\n // Sometimes the showRelevantInfo input comes over as a string\n if (typeof changes.showRelavantInfo.currentValue === 'string') {\n // tslint:disable-next-line:triple-equals\n this.showRelavantInfo = (changes.showRelavantInfo.currentValue.toLowerCase() == 'true');\n }\n }\n if (changes.values && changes.values.currentValue) {\n if (this.showRelavantInfo) {\n this.updateAlerts();\n }\n }\n };\n AlertsComponent.prototype.alertStyle = function (alertValue) {\n if (alertValue && alertValue.details && alertValue.type) {\n return 'fa fa' + this.alertNames[alertValue.type].toLowerCase();\n }\n else {\n return 'fa fa' + this.alertNames[alertValue].toLowerCase();\n }\n };\n AlertsComponent.prototype.getAlertLetterKey = function (alertValue) {\n var key = lodash_1.default.find(this.alertTypeDescriptors, function (item) {\n if (item === alertValue) {\n return true;\n }\n if (alertValue && item.id === alertValue.toString()) {\n return true;\n }\n if (alertValue && alertValue.type && item.id === alertValue.type.toString()) {\n return true;\n }\n });\n if (key == null || key.translateKey == null) {\n return null;\n }\n return key.translateKey;\n };\n AlertsComponent.prototype.updateAlerts = function () {\n for (var i = 0; i < this.values.length; i++) {\n var alert_1 = this.values[i];\n switch (alert_1.type) {\n case this.alertTypes.alert:\n case this.alertTypes.flexAlert:\n this.setAlertLocaleData(alert_1);\n break;\n case this.alertTypes.service:\n this.setServiceAlertLocaleData(alert_1);\n break;\n case this.alertTypes.appointment:\n this.setAppointmentAlertLocaleData(alert_1);\n break;\n case this.alertTypes.contractEnd:\n this.setContractEndAlertLocaleData(alert_1);\n break;\n case this.alertTypes.mileage:\n this.setMileageAlertLocaleData(alert_1);\n break;\n case this.alertTypes.warranty:\n this.setWarrantyAlertLocaleData(alert_1);\n break;\n default:\n break;\n }\n this.setAlertMessage(alert_1);\n }\n };\n AlertsComponent.prototype.setAlertLocaleData = function (alert) {\n alert.localeData = {\n year: alert.details.yearID,\n make: alert.details.makeName,\n model: alert.details.modelName,\n trim: alert.details.trimName,\n term: alert.details.contractTerm,\n amount: this.localeCurrency.transform(alert.details.payment),\n difference: this.localeCurrency.transform(Math.abs(alert.details.paymentDifferenceAmount)),\n differenceLabel: alert.details.paymentDifferenceAmount > 0 ? 'more' : 'less'\n };\n };\n AlertsComponent.prototype.setServiceAlertLocaleData = function (alert) {\n alert.localeData = {\n repairOrderDate: alert.details.openDate != null ? this.localeDate.transform(alert.details.openDate) : \"\",\n total: alert.details.eighteenMonthServiceCount\n };\n };\n AlertsComponent.prototype.setAppointmentAlertLocaleData = function (alert) {\n alert.localeData = {\n appointmentDate: alert.details.appointmentDate != null ? this.localeDateTime.transform(alert.details.appointmentDate) : \"\"\n };\n };\n AlertsComponent.prototype.setContractEndAlertLocaleData = function (alert) {\n alert.localeData = {\n made: alert.details.paymentsMade,\n remaining: alert.details.paymentsRemaining\n };\n };\n AlertsComponent.prototype.setMileageAlertLocaleData = function (alert) {\n alert.localeData = {\n projectedMileage: this.localeNumber.transform(alert.details.estimatedMaturityMileage),\n currentPenalty: this.localeCurrency.transform(alert.details.currentMileagePenalty),\n projectedPenalty: this.localeCurrency.transform(alert.details.estimatedMileagePenalty)\n };\n };\n AlertsComponent.prototype.setWarrantyAlertLocaleData = function (alert) {\n alert.localeData = {\n months: alert.details.warrantyMonthsRemaining,\n miles: this.localeNumber.transform(alert.details.warrantyMilesRemaining)\n };\n };\n // We're performing the translation here instead of in the template because Angular's {{...}} is encoding\n //   to  , which is the numeric representation of a non-blank space. This was causing  \n // to be displayed literally on the page instead of a non-blank space. We're using the ng-bind-html to inject\n // alert.message into the template so the double-encoding doesn't occur.\n // Example: \n AlertsComponent.prototype.setAlertMessage = function (alert) {\n var _this = this;\n var alertLetterKey = this.getAlertLetterKey(alert);\n var translateKey = '';\n if (alert && alert.translateKey) {\n translateKey = alert.translateKey;\n }\n this.translateService.get([translateKey, alertLetterKey], alert.localeData)\n .subscribe(function (translationSet) {\n alert.message =\n '' + translationSet[alertLetterKey] + '';\n }, function (translationId) {\n alert.message = '';\n });\n };\n return AlertsComponent;\n}());\nexports.AlertsComponent = AlertsComponent;\n","import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';\r\nimport _ from 'lodash';\r\nimport { AlertTypeDescriptors, AlertTypes } from '../../../constants';\r\nimport { LocaleCurrencyPipe } from '../../../filters/locale-currency.pipe';\r\nimport { LocaleDateTimePipe } from '../../../filters/locale-date-time.pipe';\r\nimport { LocaleDatePipe } from '../../../filters/locale-date.pipe';\r\nimport { LocaleNumberPipe } from '../../../filters/locale-number.pipe';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { Alert } from '../../../interfaces/alert.interface';\r\n\r\n@Component({\r\n selector: 'alerts',\r\n templateUrl: './alerts.component-ng.html',\r\n styleUrls: ['./alerts.component.scss']\r\n})\r\nexport class AlertsComponent implements OnInit, OnChanges {\r\n\r\n @Input() values: Array;\r\n @Input() showRelavantInfo: any;\r\n\r\n alertNames = _.invert(AlertTypes);\r\n\r\n private alertTypeDescriptors = AlertTypeDescriptors;\r\n private alertTypes = AlertTypes;\r\n\r\n constructor(private localeDateTime: LocaleDateTimePipe, private localeDate: LocaleDatePipe,\r\n private localeCurrency: LocaleCurrencyPipe, private localeNumber: LocaleNumberPipe, private translateService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.showRelavantInfo && changes.showRelavantInfo.currentValue !== null) {\r\n\r\n // Sometimes the showRelevantInfo input comes over as a string\r\n if (typeof changes.showRelavantInfo.currentValue === 'string') {\r\n // tslint:disable-next-line:triple-equals\r\n this.showRelavantInfo = (changes.showRelavantInfo.currentValue.toLowerCase() == 'true');\r\n }\r\n }\r\n\r\n if (changes.values && changes.values.currentValue) {\r\n if (this.showRelavantInfo) {\r\n this.updateAlerts();\r\n \r\n }\r\n }\r\n }\r\n\r\n alertStyle(alertValue: any): string {\r\n if (alertValue && alertValue.details && alertValue.type) {\r\n return 'fa fa' + this.alertNames[alertValue.type].toLowerCase();\r\n } else {\r\n return 'fa fa' + this.alertNames[alertValue].toLowerCase();\r\n }\r\n }\r\n\r\n getAlertLetterKey(alertValue: any): string {\r\n const key = _.find(this.alertTypeDescriptors, function (item) {\r\n if (item === alertValue) { return true; }\r\n if (alertValue && item.id === alertValue.toString()) { return true; }\r\n if (alertValue && alertValue.type && item.id === alertValue.type.toString()) { return true; }\r\n });\r\n if (key == null || key.translateKey == null) {\r\n return null;\r\n }\r\n return key.translateKey;\r\n }\r\n\r\n updateAlerts(): void {\r\n for (let i = 0; i < this.values.length; i++) {\r\n const alert = this.values[i];\r\n\r\n switch (alert.type) {\r\n case this.alertTypes.alert:\r\n case this.alertTypes.flexAlert:\r\n this.setAlertLocaleData(alert);\r\n break;\r\n case this.alertTypes.service:\r\n this.setServiceAlertLocaleData(alert);\r\n break;\r\n case this.alertTypes.appointment:\r\n this.setAppointmentAlertLocaleData(alert);\r\n break;\r\n case this.alertTypes.contractEnd:\r\n this.setContractEndAlertLocaleData(alert);\r\n break;\r\n case this.alertTypes.mileage:\r\n this.setMileageAlertLocaleData(alert);\r\n break;\r\n case this.alertTypes.warranty:\r\n this.setWarrantyAlertLocaleData(alert);\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n this.setAlertMessage(alert);\r\n }\r\n }\r\n\r\n setAlertLocaleData(alert: Alert): void {\r\n alert.localeData = {\r\n year: alert.details.yearID,\r\n make: alert.details.makeName,\r\n model: alert.details.modelName,\r\n trim: alert.details.trimName,\r\n term: alert.details.contractTerm,\r\n amount: this.localeCurrency.transform(alert.details.payment),\r\n difference: this.localeCurrency.transform(Math.abs(alert.details.paymentDifferenceAmount)),\r\n differenceLabel: alert.details.paymentDifferenceAmount > 0 ? 'more' : 'less'\r\n };\r\n }\r\n\r\n setServiceAlertLocaleData(alert: any): void {\r\n alert.localeData = {\r\n repairOrderDate: alert.details.openDate != null ? this.localeDate.transform(alert.details.openDate) : \"\",\r\n total: alert.details.eighteenMonthServiceCount\r\n };\r\n }\r\n\r\n setAppointmentAlertLocaleData(alert: any): void {\r\n alert.localeData = {\r\n appointmentDate: alert.details.appointmentDate != null ? this.localeDateTime.transform(alert.details.appointmentDate) : \"\"\r\n };\r\n }\r\n\r\n setContractEndAlertLocaleData(alert: any): void {\r\n alert.localeData = {\r\n made: alert.details.paymentsMade,\r\n remaining: alert.details.paymentsRemaining\r\n };\r\n }\r\n\r\n setMileageAlertLocaleData(alert: any): void {\r\n alert.localeData = {\r\n projectedMileage: this.localeNumber.transform(alert.details.estimatedMaturityMileage),\r\n currentPenalty: this.localeCurrency.transform(alert.details.currentMileagePenalty),\r\n projectedPenalty: this.localeCurrency.transform(alert.details.estimatedMileagePenalty)\r\n };\r\n }\r\n\r\n setWarrantyAlertLocaleData(alert) {\r\n alert.localeData = {\r\n months: alert.details.warrantyMonthsRemaining,\r\n miles: this.localeNumber.transform(alert.details.warrantyMilesRemaining)\r\n };\r\n }\r\n\r\n // We're performing the translation here instead of in the template because Angular's {{...}} is encoding\r\n //   to  , which is the numeric representation of a non-blank space. This was causing  \r\n // to be displayed literally on the page instead of a non-blank space. We're using the ng-bind-html to inject\r\n // alert.message into the template so the double-encoding doesn't occur.\r\n // Example: \r\n setAlertMessage(alert: any) {\r\n const alertLetterKey = this.getAlertLetterKey(alert);\r\n let translateKey = '';\r\n if (alert && alert.translateKey) {\r\n translateKey = alert.translateKey;\r\n }\r\n\r\n this.translateService.get([translateKey, alertLetterKey], alert.localeData)\r\n .subscribe((translationSet) => {\r\n alert.message =\r\n '' + translationSet[alertLetterKey] + '';\r\n }, (translationId) => {\r\n alert.message = '';\r\n });\r\n }\r\n}\r\n","'use strict';\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar aFunction = require('./_a-function');\nvar $defineProperty = require('./_object-dp');\n\n// B.2.2.3 Object.prototype.__defineSetter__(P, setter)\nrequire('./_descriptors') && $export($export.P + require('./_object-forced-pam'), 'Object', {\n __defineSetter__: function __defineSetter__(P, setter) {\n $defineProperty.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true });\n }\n});\n","var path = '/app/components/deal-sheet/contract/delivery-monthly-mileage.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/search/ui-datepicker-range.component.html';\nvar html = \"
{{ $ctrl.displayNameKey | translate }}
{{ \\\"searchFrom\\\" | translate }}
{{ \\\"searchTo\\\" | translate }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./payoff.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i4 = __importStar(require(\"../../../icon/icon.component\"));\nvar i5 = __importStar(require(\"@angular/platform-browser\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i8 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i9 = __importStar(require(\"./payoff.component\"));\nvar i10 = __importStar(require(\"../../../../services/ngx-modal-wrapper.service\"));\nvar styles_PayoffComponent = [i0.styles];\nvar RenderType_PayoffComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PayoffComponent, data: {} });\nexports.RenderType_PayoffComponent = RenderType_PayoffComponent;\nfunction View_PayoffComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"a\", [[\"class\", \"edit-icon qa-payoff-edit-link\"], [\"href\", \"#\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.inputPayoffModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-core-edit-icon-000000\"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(3, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 3, 0); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 1).transform(\"adjustPayoff\")), \"\"); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_PayoffComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"translate\", \"payoffAmount\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"span\", [[\"class\", \"field-data\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"span\", [[\"class\", \"qa-payoff-value\"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), i1.ɵppd(6, 1), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PayoffComponent_2)), i1.ɵdid(8, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"payoffAmount\"; _ck(_v, 2, 0, currVal_0); var currVal_2 = ((_co.permissions.editPayoffAmount && (_co.paymentsRemaining > 0)) && !_co.paidOff); _ck(_v, 8, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 5, 0, _ck(_v, 6, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 5, 0, currVal_1); }); }\nfunction View_PayoffComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i7.LocaleCurrencyPipe, [i8.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PayoffComponent_1)), i1.ɵdid(2, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.value != null) && (_co.saleType != _co.saleTypes.cash)); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_PayoffComponent_0 = View_PayoffComponent_0;\nfunction View_PayoffComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"payoff\", [], null, null, null, View_PayoffComponent_0, RenderType_PayoffComponent)), i1.ɵdid(1, 114688, null, 0, i9.PayoffComponent, [i10.NgxModalWrapperService, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_PayoffComponent_Host_0 = View_PayoffComponent_Host_0;\nvar PayoffComponentNgFactory = i1.ɵccf(\"payoff\", i9.PayoffComponent, View_PayoffComponent_Host_0, { value: \"value\", saleType: \"saleType\", paymentsRemaining: \"paymentsRemaining\", paidOff: \"paidOff\", residualAmount: \"residualAmount\", permissions: \"permissions\" }, { onPayoffChange: \"onPayoffChange\" }, []);\nexports.PayoffComponentNgFactory = PayoffComponentNgFactory;\n","\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar user_service_1 = require(\"./../../services/user.service\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../core/toaster-logger.service\");\nvar AdminSettingsVHRDisclaimerComponent = /** @class */ (function () {\n function AdminSettingsVHRDisclaimerComponent(modalService, tService, userService, logger, _bsModalRef) {\n this.modalService = modalService;\n this.tService = tService;\n this.userService = userService;\n this.logger = logger;\n this._bsModalRef = _bsModalRef;\n this.acceptDisclaimer = new core_1.EventEmitter();\n }\n AdminSettingsVHRDisclaimerComponent.prototype.cancel = function () {\n this._bsModalRef.hide();\n };\n AdminSettingsVHRDisclaimerComponent.prototype.ok = function () {\n this._bsModalRef.hide();\n this.acceptDisclaimer.emit();\n };\n return AdminSettingsVHRDisclaimerComponent;\n}());\nexports.AdminSettingsVHRDisclaimerComponent = AdminSettingsVHRDisclaimerComponent;\n","import { Component, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter } from '@angular/core';\r\nimport { UserService } from './../../services/user.service';\r\nimport { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../core/toaster-logger.service';\r\nimport { DealerSettingResponseDto } from '../../generated/models';\r\n\r\n@Component({\r\n selector: 'admin-settings-vhr-disclaimer',\r\n templateUrl: './admin-settings-vhr-disclaimer.component-ng.html'\r\n})\r\n\r\nexport class AdminSettingsVHRDisclaimerComponent {\r\n @Output() acceptDisclaimer = new EventEmitter();\r\n\r\n constructor(\r\n public modalService: BsModalService,\r\n public tService: TranslateService,\r\n public userService: UserService,\r\n public logger: ToasterLoggerService,\r\n public _bsModalRef: BsModalRef \r\n ) {\r\n }\r\n\r\n public cancel(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public ok(): void {\r\n this._bsModalRef.hide();\r\n this.acceptDisclaimer.emit();\r\n }\r\n}","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar cookie_storage_service_1 = require(\"./cookie-storage.service\");\nvar window_ref_service_1 = require(\"../../services/window-ref.service\");\nvar StorageService = /** @class */ (function () {\n function StorageService(window) {\n var _this = this;\n this.window = window;\n // These are stored in a cookie rather than in localStorage because we\n // want these to go away when the browser windows are closed. If we\n // used sessionStorage, they would not be shared when opening a new tab\n // while another tab is still open.\n this.COOKIE_KEYS = [\n 'idToken',\n 'accessToken'\n ];\n this.LOCAL_STORAGE_KEYS = [\n 'referrerUrl',\n 'defaultDealSheetTabs',\n 'euroliteUserColumnSettings',\n 'debug'\n ];\n // LocalStorage changes\n this.STORAGE_SUBSCRIPTIONS = [];\n // localStorage is shared among all browser tabs and is never cleared\n // automatically.\n this.localStorageContainer = new StorageContainer(this.window.localStorage, this.STORAGE_SUBSCRIPTIONS);\n // sessionStorage is shared only with windows opened by this window, and is\n // cleared automatically when the windows are closed.\n this.sessionStorageContainer = new StorageContainer(this.window.sessionStorage, this.STORAGE_SUBSCRIPTIONS);\n // session cookies are shared with all windows and are cleared when all\n // browser windows are closed.\n this.cookieStorageContainer = new cookie_storage_service_1.CookieStorage(this.window);\n this.prevOnStorage = this.window.onstorage;\n this.window.onstorage = function (args) {\n if (_this.prevOnStorage) {\n try {\n _this.prevOnStorage.apply(_this, args);\n }\n catch (e) { /* fallthrough */ }\n }\n _this.STORAGE_SUBSCRIPTIONS.forEach(function (cb) { cb.apply(_this, args); });\n };\n }\n StorageService.prototype.getItem = function (key) {\n var keyStorage = this.getStorageForKey(key);\n return keyStorage.getItem(key);\n };\n StorageService.prototype.setItem = function (key, value) {\n return this.getStorageForKey(key).setItem(key, value);\n };\n StorageService.prototype.removeItem = function (key) {\n return this.getStorageForKey(key).removeItem(key);\n };\n StorageService.prototype.clear = function () {\n var _this = this;\n // Reports and Eurolite Opportunities, store some data in localStorage, so we should avoid clearing\n // the whole storage. Instead, we'll just delete known key names.\n this.LOCAL_STORAGE_KEYS\n .filter(function (key) { return key !== 'defaultDealSheetTabs' && key !== 'euroliteUserColumnSettings'; })\n .forEach(function (key) {\n _this.localStorageContainer.removeItem(key);\n });\n // Cookies and sessionStorage get cleared regularly anyway, so these\n // should be safe to clear.\n this.window.sessionStorage.clear();\n this.COOKIE_KEYS.forEach(function (key) { return _this.cookieStorageContainer.removeItem(key); });\n };\n StorageService.prototype.onchange = function (key, cb) {\n return this.getStorageForKey(key).onchange(key, cb);\n };\n StorageService.prototype.getStorageForKey = function (key) {\n if (this.COOKIE_KEYS.indexOf(key) > -1) {\n return this.cookieStorageContainer;\n }\n else {\n return (this.LOCAL_STORAGE_KEYS.indexOf(key) > -1 || key.startsWith(\"local\"))\n ? this.localStorageContainer\n : this.sessionStorageContainer;\n }\n };\n return StorageService;\n}());\nexports.StorageService = StorageService;\n/**\n * Uses the Web Storage API to store structured values.\n * storage - The underlying storage to wrap.\n */\nvar StorageContainer = /** @class */ (function () {\n function StorageContainer(storage, storageSubscriptionsArray) {\n this.storage = storage;\n this.storageSubscriptionsArray = storageSubscriptionsArray;\n }\n StorageContainer.prototype.getItem = function (key) {\n var serialized = this.storage.getItem(key);\n if (serialized) {\n try {\n serialized = JSON.parse(serialized, this.reviver);\n }\n catch (e) { /* fallthrough */ }\n }\n return serialized;\n };\n StorageContainer.prototype.setItem = function (key, value) {\n var serialized = JSON.stringify(value);\n return this.storage.setItem(key, serialized);\n };\n StorageContainer.prototype.removeItem = function (key) {\n return this.storage.removeItem(key);\n };\n StorageContainer.prototype.onchange = function (key, cb) {\n var wrappedCb = function onchangeCallback(evt) {\n if (key === key) {\n cb({\n key: key,\n value: evt.newValue,\n });\n }\n };\n this.storageSubscriptionsArray.push(wrappedCb);\n return {\n unsubscribe: function () {\n this.storageSubscriptionsArray = this.storageSubscriptionsArray.filter(function (item) { return item !== wrappedCb; });\n }\n };\n };\n StorageContainer.prototype.reviver = function (key, value) {\n var dateFormat = /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.000?Z$/;\n if (typeof value === 'string' && dateFormat.test(value)) {\n return new Date(value);\n }\n return value;\n };\n return StorageContainer;\n}());\nexports.StorageContainer = StorageContainer;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { CookieStorage } from './cookie-storage.service';\r\nimport { WINDOW_REF, WindowWrapper } from '../../services/window-ref.service';\r\nimport { StorageInterface } from './storage.interface';\r\n\r\n@Injectable()\r\nexport class StorageService {\r\n constructor(@Inject(WINDOW_REF) private window: WindowWrapper) {\r\n\r\n this.window.onstorage = (args) => {\r\n\r\n if (this.prevOnStorage) {\r\n try {\r\n this.prevOnStorage.apply(this, args);\r\n } catch (e) { /* fallthrough */ }\r\n }\r\n\r\n this.STORAGE_SUBSCRIPTIONS.forEach((cb) => { cb.apply(this, args); });\r\n };\r\n }\r\n\r\n // These are stored in a cookie rather than in localStorage because we\r\n // want these to go away when the browser windows are closed. If we\r\n // used sessionStorage, they would not be shared when opening a new tab\r\n // while another tab is still open.\r\n private COOKIE_KEYS = [\r\n 'idToken',\r\n 'accessToken'\r\n ];\r\n\r\n private LOCAL_STORAGE_KEYS = [\r\n 'referrerUrl',\r\n 'defaultDealSheetTabs',\r\n 'euroliteUserColumnSettings',\r\n 'debug'\r\n ];\r\n\r\n // LocalStorage changes\r\n private STORAGE_SUBSCRIPTIONS = [];\r\n\r\n // localStorage is shared among all browser tabs and is never cleared\r\n // automatically.\r\n private localStorageContainer: StorageInterface = new StorageContainer(this.window.localStorage, this.STORAGE_SUBSCRIPTIONS);\r\n\r\n // sessionStorage is shared only with windows opened by this window, and is\r\n // cleared automatically when the windows are closed.\r\n private sessionStorageContainer: StorageInterface = new StorageContainer(this.window.sessionStorage, this.STORAGE_SUBSCRIPTIONS);\r\n\r\n // session cookies are shared with all windows and are cleared when all\r\n // browser windows are closed.\r\n private cookieStorageContainer: StorageInterface = new CookieStorage(this.window);\r\n\r\n private prevOnStorage = this.window.onstorage;\r\n\r\n getItem(key: string): any {\r\n const keyStorage = this.getStorageForKey(key);\r\n return keyStorage.getItem(key);\r\n }\r\n\r\n setItem(key: string, value: any): void {\r\n return this.getStorageForKey(key).setItem(key, value);\r\n }\r\n\r\n removeItem(key: string) {\r\n return this.getStorageForKey(key).removeItem(key);\r\n }\r\n\r\n clear() {\r\n // Reports and Eurolite Opportunities, store some data in localStorage, so we should avoid clearing\r\n // the whole storage. Instead, we'll just delete known key names.\r\n this.LOCAL_STORAGE_KEYS\r\n .filter(key => key !== 'defaultDealSheetTabs' && key !== 'euroliteUserColumnSettings')\r\n .forEach((key) => {\r\n this.localStorageContainer.removeItem(key);\r\n });\r\n\r\n // Cookies and sessionStorage get cleared regularly anyway, so these\r\n // should be safe to clear.\r\n this.window.sessionStorage.clear();\r\n this.COOKIE_KEYS.forEach((key) => this.cookieStorageContainer.removeItem(key));\r\n }\r\n\r\n onchange(key, cb) {\r\n return this.getStorageForKey(key).onchange(key, cb);\r\n }\r\n\r\n getStorageForKey(key: string): StorageInterface {\r\n if (this.COOKIE_KEYS.indexOf(key) > -1) {\r\n return this.cookieStorageContainer;\r\n } else {\r\n return (this.LOCAL_STORAGE_KEYS.indexOf(key) > -1 || key.startsWith(\"local\"))\r\n ? this.localStorageContainer\r\n : this.sessionStorageContainer;\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * Uses the Web Storage API to store structured values.\r\n * storage - The underlying storage to wrap.\r\n */\r\nexport class StorageContainer implements StorageInterface {\r\n private storage: any;\r\n storageSubscriptionsArray: Array;\r\n\r\n constructor(storage, storageSubscriptionsArray: Array) {\r\n this.storage = storage;\r\n this.storageSubscriptionsArray = storageSubscriptionsArray;\r\n }\r\n\r\n getItem(key: string): any {\r\n let serialized = this.storage.getItem(key);\r\n if (serialized) {\r\n try {\r\n serialized = JSON.parse(serialized, this.reviver);\r\n } catch (e) { /* fallthrough */ }\r\n }\r\n return serialized;\r\n }\r\n\r\n\r\n setItem(key: string, value: any): void {\r\n const serialized = JSON.stringify(value);\r\n return this.storage.setItem(key, serialized);\r\n }\r\n\r\n removeItem(key: string): void {\r\n return this.storage.removeItem(key);\r\n }\r\n\r\n onchange(key: string, cb: ({}) => void): {} {\r\n const wrappedCb = function onchangeCallback(evt) {\r\n if (key === key) {\r\n cb({\r\n key: key,\r\n value: evt.newValue,\r\n });\r\n }\r\n };\r\n\r\n this.storageSubscriptionsArray.push(wrappedCb);\r\n return {\r\n unsubscribe: function () {\r\n this.storageSubscriptionsArray = this.storageSubscriptionsArray.filter(function (item) { return item !== wrappedCb; });\r\n }\r\n };\r\n }\r\n\r\n reviver(key, value) {\r\n const dateFormat = /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.000?Z$/;\r\n\r\n if (typeof value === 'string' && dateFormat.test(value)) {\r\n return new Date(value);\r\n }\r\n\r\n return value;\r\n }\r\n}\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar SearchClientService = /** @class */ (function (_super) {\n __extends(SearchClientService, _super);\n function SearchClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n */\n SearchClientService.prototype.GetSearchByEntityIdByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Search/GetSearchByEntityId/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n SearchClientService.prototype.GetSearchByEntityIdByEntityidGET = function (entityId) {\n return this.GetSearchByEntityIdByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `SearchClientService.GetOpenOpportunitiesGETParams` containing the following parameters:\n *\n * - `saleTypes`:\n *\n * - `flushCache`:\n */\n SearchClientService.prototype.GetOpenOpportunitiesGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (params.saleTypes || []).forEach(function (val) { if (val != null)\n __params = __params.append('saleTypes', val.toString()); });\n if (params.flushCache != null)\n __params = __params.set('flushCache', params.flushCache.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Search/GetOpenOpportunities\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `SearchClientService.GetOpenOpportunitiesGETParams` containing the following parameters:\n *\n * - `saleTypes`:\n *\n * - `flushCache`:\n */\n SearchClientService.prototype.GetOpenOpportunitiesGET = function (params) {\n return this.GetOpenOpportunitiesGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param saleTypes undefined\n */\n SearchClientService.prototype.GetOpenOpportunitiesFlushCacheGETResponse = function (saleTypes) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (saleTypes || []).forEach(function (val) { if (val != null)\n __params = __params.append('saleTypes', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Search/GetOpenOpportunities/FlushCache\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param saleTypes undefined\n */\n SearchClientService.prototype.GetOpenOpportunitiesFlushCacheGET = function (saleTypes) {\n return this.GetOpenOpportunitiesFlushCacheGETResponse(saleTypes).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n SearchClientService.prototype.GetEntitiesListCustomPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Search/GetEntitiesListCustom\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n SearchClientService.prototype.GetEntitiesListCustomPOST = function (request) {\n return this.GetEntitiesListCustomPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n SearchClientService.prototype.GetOneToOneEntitiesPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Search/GetOneToOneEntities\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n SearchClientService.prototype.GetOneToOneEntitiesPOST = function (request) {\n return this.GetOneToOneEntitiesPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `SearchClientService.GetFreshOpportunitiesGETParams` containing the following parameters:\n *\n * - `flushCache`:\n *\n * - `MaxResults`:\n */\n SearchClientService.prototype.GetFreshOpportunitiesGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.flushCache != null)\n __params = __params.set('flushCache', params.flushCache.toString());\n if (params.MaxResults != null)\n __params = __params.set('MaxResults', params.MaxResults.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Search/GetFreshOpportunities\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `SearchClientService.GetFreshOpportunitiesGETParams` containing the following parameters:\n *\n * - `flushCache`:\n *\n * - `MaxResults`:\n */\n SearchClientService.prototype.GetFreshOpportunitiesGET = function (params) {\n return this.GetFreshOpportunitiesGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param MaxResults undefined\n */\n SearchClientService.prototype.GetFreshOpportunitiesFlushCacheGETResponse = function (MaxResults) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (MaxResults != null)\n __params = __params.set('MaxResults', MaxResults.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Search/GetFreshOpportunities/FlushCache\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param MaxResults undefined\n */\n SearchClientService.prototype.GetFreshOpportunitiesFlushCacheGET = function (MaxResults) {\n return this.GetFreshOpportunitiesFlushCacheGETResponse(MaxResults).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `SearchClientService.GetRecentlyAssignedOpportunitiesGETParams` containing the following parameters:\n *\n * - `flushCache`:\n *\n * - `MaxResults`:\n */\n SearchClientService.prototype.GetRecentlyAssignedOpportunitiesGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.flushCache != null)\n __params = __params.set('flushCache', params.flushCache.toString());\n if (params.MaxResults != null)\n __params = __params.set('MaxResults', params.MaxResults.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Search/GetRecentlyAssignedOpportunities\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `SearchClientService.GetRecentlyAssignedOpportunitiesGETParams` containing the following parameters:\n *\n * - `flushCache`:\n *\n * - `MaxResults`:\n */\n SearchClientService.prototype.GetRecentlyAssignedOpportunitiesGET = function (params) {\n return this.GetRecentlyAssignedOpportunitiesGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param MaxResults undefined\n */\n SearchClientService.prototype.GetRecentlyAssignedOpportunitiesFlushCacheGETResponse = function (MaxResults) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (MaxResults != null)\n __params = __params.set('MaxResults', MaxResults.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Search/GetRecentlyAssignedOpportunities/FlushCache\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param MaxResults undefined\n */\n SearchClientService.prototype.GetRecentlyAssignedOpportunitiesFlushCacheGET = function (MaxResults) {\n return this.GetRecentlyAssignedOpportunitiesFlushCacheGETResponse(MaxResults).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n SearchClientService.prototype.GetSoldBySearchByDealersByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Search/GetSoldBySearchByDealers/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n SearchClientService.prototype.GetSoldBySearchByDealersByDealeridGET = function (dealerId) {\n return this.GetSoldBySearchByDealersByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `SearchClientService.GetPrivateOfferInfoByDealeridByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n SearchClientService.prototype.GetPrivateOfferInfoByDealeridByEntityidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Search/GetPrivateOfferInfo/\" + params.dealerId + \"/\" + params.entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `SearchClientService.GetPrivateOfferInfoByDealeridByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n SearchClientService.prototype.GetPrivateOfferInfoByDealeridByEntityidGET = function (params) {\n return this.GetPrivateOfferInfoByDealeridByEntityidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n SearchClientService.prototype.SaveSearchPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Search/SaveSearch\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n SearchClientService.prototype.SaveSearchPOST = function (request) {\n return this.SaveSearchPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n SearchClientService.prototype.CreateDealerCampaignExportAudiencePOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Search/CreateDealerCampaignExportAudience\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n SearchClientService.prototype.CreateDealerCampaignExportAudiencePOST = function (request) {\n return this.CreateDealerCampaignExportAudiencePOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param days undefined\n * @return Success\n */\n SearchClientService.prototype.GetDealerCampaignRequestsInWindowAsyncByDaysGETResponse = function (days) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Search/GetDealerCampaignRequestsInWindow/\" + days), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param days undefined\n * @return Success\n */\n SearchClientService.prototype.GetDealerCampaignRequestsInWindowAsyncByDaysGET = function (days) {\n return this.GetDealerCampaignRequestsInWindowAsyncByDaysGETResponse(days).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n SearchClientService.prototype.GetNoLongerOwnForDealerByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Search/GetNoLongerOwnForDealer/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n SearchClientService.prototype.GetNoLongerOwnForDealerByDealeridGET = function (dealerId) {\n return this.GetNoLongerOwnForDealerByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n SearchClientService.GetSearchByEntityIdByEntityidGETPath = '/api/Search/GetSearchByEntityId/{entityId}';\n SearchClientService.GetOpenOpportunitiesGETPath = '/api/Search/GetOpenOpportunities';\n SearchClientService.GetOpenOpportunitiesFlushCacheGETPath = '/api/Search/GetOpenOpportunities/FlushCache';\n SearchClientService.GetEntitiesListCustomPOSTPath = '/api/Search/GetEntitiesListCustom';\n SearchClientService.GetOneToOneEntitiesPOSTPath = '/api/Search/GetOneToOneEntities';\n SearchClientService.GetFreshOpportunitiesGETPath = '/api/Search/GetFreshOpportunities';\n SearchClientService.GetFreshOpportunitiesFlushCacheGETPath = '/api/Search/GetFreshOpportunities/FlushCache';\n SearchClientService.GetRecentlyAssignedOpportunitiesGETPath = '/api/Search/GetRecentlyAssignedOpportunities';\n SearchClientService.GetRecentlyAssignedOpportunitiesFlushCacheGETPath = '/api/Search/GetRecentlyAssignedOpportunities/FlushCache';\n SearchClientService.GetSoldBySearchByDealersByDealeridGETPath = '/api/Search/GetSoldBySearchByDealers/{dealerId}';\n SearchClientService.GetPrivateOfferInfoByDealeridByEntityidGETPath = '/api/Search/GetPrivateOfferInfo/{dealerId}/{entityId}';\n SearchClientService.SaveSearchPOSTPath = '/api/Search/SaveSearch';\n SearchClientService.CreateDealerCampaignExportAudiencePOSTPath = '/api/Search/CreateDealerCampaignExportAudience';\n SearchClientService.GetDealerCampaignRequestsInWindowAsyncByDaysGETPath = '/api/Search/GetDealerCampaignRequestsInWindow/{days}';\n SearchClientService.GetNoLongerOwnForDealerByDealeridGETPath = '/api/Search/GetNoLongerOwnForDealer/{dealerId}';\n SearchClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function SearchClientService_Factory() { return new SearchClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: SearchClientService, providedIn: \"root\" });\n return SearchClientService;\n}(base_service_1.BaseService));\nexports.SearchClientService = SearchClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { SearchDto } from '../models/search-dto';\r\nimport { SearchEntityListRequestExtDto } from '../models/search-entity-list-request-ext-dto';\r\nimport { OneToOneRequestDto } from '../models/one-to-one-request-dto';\r\nimport { SoldBy_SearchDto } from '../models/sold-by-_search-dto';\r\nimport { PrivateOfferDto } from '../models/private-offer-dto';\r\nimport { SaveSearchResponse } from '../models/save-search-response';\r\nimport { SaveSearchRequest } from '../models/save-search-request';\r\nimport { Vw_DealerCampaignRequestDto } from '../models/vw-_dealer-campaign-request-dto';\r\nimport { O2ODealerCampaignExportAudienceRequestDto } from '../models/o2odealer-campaign-export-audience-request-dto';\r\nimport { NLPNoLongerOwnResultDto } from '../models/nlpno-longer-own-result-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass SearchClientService extends __BaseService {\r\n static readonly GetSearchByEntityIdByEntityidGETPath = '/api/Search/GetSearchByEntityId/{entityId}';\r\n static readonly GetOpenOpportunitiesGETPath = '/api/Search/GetOpenOpportunities';\r\n static readonly GetOpenOpportunitiesFlushCacheGETPath = '/api/Search/GetOpenOpportunities/FlushCache';\r\n static readonly GetEntitiesListCustomPOSTPath = '/api/Search/GetEntitiesListCustom';\r\n static readonly GetOneToOneEntitiesPOSTPath = '/api/Search/GetOneToOneEntities';\r\n static readonly GetFreshOpportunitiesGETPath = '/api/Search/GetFreshOpportunities';\r\n static readonly GetFreshOpportunitiesFlushCacheGETPath = '/api/Search/GetFreshOpportunities/FlushCache';\r\n static readonly GetRecentlyAssignedOpportunitiesGETPath = '/api/Search/GetRecentlyAssignedOpportunities';\r\n static readonly GetRecentlyAssignedOpportunitiesFlushCacheGETPath = '/api/Search/GetRecentlyAssignedOpportunities/FlushCache';\r\n static readonly GetSoldBySearchByDealersByDealeridGETPath = '/api/Search/GetSoldBySearchByDealers/{dealerId}';\r\n static readonly GetPrivateOfferInfoByDealeridByEntityidGETPath = '/api/Search/GetPrivateOfferInfo/{dealerId}/{entityId}';\r\n static readonly SaveSearchPOSTPath = '/api/Search/SaveSearch';\r\n static readonly CreateDealerCampaignExportAudiencePOSTPath = '/api/Search/CreateDealerCampaignExportAudience';\r\n static readonly GetDealerCampaignRequestsInWindowAsyncByDaysGETPath = '/api/Search/GetDealerCampaignRequestsInWindow/{days}';\r\n static readonly GetNoLongerOwnForDealerByDealeridGETPath = '/api/Search/GetNoLongerOwnForDealer/{dealerId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetSearchByEntityIdByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetSearchByEntityId/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetSearchByEntityIdByEntityidGET(entityId: string): __Observable {\r\n return this.GetSearchByEntityIdByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `SearchClientService.GetOpenOpportunitiesGETParams` containing the following parameters:\r\n *\r\n * - `saleTypes`:\r\n *\r\n * - `flushCache`:\r\n */\r\n GetOpenOpportunitiesGETResponse(params: SearchClientService.GetOpenOpportunitiesGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (params.saleTypes || []).forEach(val => {if (val != null) __params = __params.append('saleTypes', val.toString())});\r\n if (params.flushCache != null) __params = __params.set('flushCache', params.flushCache.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetOpenOpportunities`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `SearchClientService.GetOpenOpportunitiesGETParams` containing the following parameters:\r\n *\r\n * - `saleTypes`:\r\n *\r\n * - `flushCache`:\r\n */\r\n GetOpenOpportunitiesGET(params: SearchClientService.GetOpenOpportunitiesGETParams): __Observable {\r\n return this.GetOpenOpportunitiesGETResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param saleTypes undefined\r\n */\r\n GetOpenOpportunitiesFlushCacheGETResponse(saleTypes?: Array<1 | 2 | 3 | 4 | 6 | 7 | 8>): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (saleTypes || []).forEach(val => {if (val != null) __params = __params.append('saleTypes', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetOpenOpportunities/FlushCache`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param saleTypes undefined\r\n */\r\n GetOpenOpportunitiesFlushCacheGET(saleTypes?: Array<1 | 2 | 3 | 4 | 6 | 7 | 8>): __Observable {\r\n return this.GetOpenOpportunitiesFlushCacheGETResponse(saleTypes).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n GetEntitiesListCustomPOSTResponse(request?: SearchEntityListRequestExtDto): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Search/GetEntitiesListCustom`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n GetEntitiesListCustomPOST(request?: SearchEntityListRequestExtDto): __Observable> {\r\n return this.GetEntitiesListCustomPOSTResponse(request).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n GetOneToOneEntitiesPOSTResponse(request?: OneToOneRequestDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Search/GetOneToOneEntities`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n GetOneToOneEntitiesPOST(request?: OneToOneRequestDto): __Observable {\r\n return this.GetOneToOneEntitiesPOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `SearchClientService.GetFreshOpportunitiesGETParams` containing the following parameters:\r\n *\r\n * - `flushCache`:\r\n *\r\n * - `MaxResults`:\r\n */\r\n GetFreshOpportunitiesGETResponse(params: SearchClientService.GetFreshOpportunitiesGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.flushCache != null) __params = __params.set('flushCache', params.flushCache.toString());\r\n if (params.MaxResults != null) __params = __params.set('MaxResults', params.MaxResults.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetFreshOpportunities`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `SearchClientService.GetFreshOpportunitiesGETParams` containing the following parameters:\r\n *\r\n * - `flushCache`:\r\n *\r\n * - `MaxResults`:\r\n */\r\n GetFreshOpportunitiesGET(params: SearchClientService.GetFreshOpportunitiesGETParams): __Observable {\r\n return this.GetFreshOpportunitiesGETResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param MaxResults undefined\r\n */\r\n GetFreshOpportunitiesFlushCacheGETResponse(MaxResults?: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (MaxResults != null) __params = __params.set('MaxResults', MaxResults.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetFreshOpportunities/FlushCache`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param MaxResults undefined\r\n */\r\n GetFreshOpportunitiesFlushCacheGET(MaxResults?: number): __Observable {\r\n return this.GetFreshOpportunitiesFlushCacheGETResponse(MaxResults).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `SearchClientService.GetRecentlyAssignedOpportunitiesGETParams` containing the following parameters:\r\n *\r\n * - `flushCache`:\r\n *\r\n * - `MaxResults`:\r\n */\r\n GetRecentlyAssignedOpportunitiesGETResponse(params: SearchClientService.GetRecentlyAssignedOpportunitiesGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.flushCache != null) __params = __params.set('flushCache', params.flushCache.toString());\r\n if (params.MaxResults != null) __params = __params.set('MaxResults', params.MaxResults.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetRecentlyAssignedOpportunities`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `SearchClientService.GetRecentlyAssignedOpportunitiesGETParams` containing the following parameters:\r\n *\r\n * - `flushCache`:\r\n *\r\n * - `MaxResults`:\r\n */\r\n GetRecentlyAssignedOpportunitiesGET(params: SearchClientService.GetRecentlyAssignedOpportunitiesGETParams): __Observable {\r\n return this.GetRecentlyAssignedOpportunitiesGETResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param MaxResults undefined\r\n */\r\n GetRecentlyAssignedOpportunitiesFlushCacheGETResponse(MaxResults?: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (MaxResults != null) __params = __params.set('MaxResults', MaxResults.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetRecentlyAssignedOpportunities/FlushCache`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param MaxResults undefined\r\n */\r\n GetRecentlyAssignedOpportunitiesFlushCacheGET(MaxResults?: number): __Observable {\r\n return this.GetRecentlyAssignedOpportunitiesFlushCacheGETResponse(MaxResults).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetSoldBySearchByDealersByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetSoldBySearchByDealers/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetSoldBySearchByDealersByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetSoldBySearchByDealersByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `SearchClientService.GetPrivateOfferInfoByDealeridByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetPrivateOfferInfoByDealeridByEntityidGETResponse(params: SearchClientService.GetPrivateOfferInfoByDealeridByEntityidGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetPrivateOfferInfo/${params.dealerId}/${params.entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `SearchClientService.GetPrivateOfferInfoByDealeridByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetPrivateOfferInfoByDealeridByEntityidGET(params: SearchClientService.GetPrivateOfferInfoByDealeridByEntityidGETParams): __Observable {\r\n return this.GetPrivateOfferInfoByDealeridByEntityidGETResponse(params).pipe(\r\n __map(_r => _r.body as PrivateOfferDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n SaveSearchPOSTResponse(request?: SaveSearchRequest): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Search/SaveSearch`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n SaveSearchPOST(request?: SaveSearchRequest): __Observable {\r\n return this.SaveSearchPOSTResponse(request).pipe(\r\n __map(_r => _r.body as SaveSearchResponse)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CreateDealerCampaignExportAudiencePOSTResponse(request?: O2ODealerCampaignExportAudienceRequestDto): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Search/CreateDealerCampaignExportAudience`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CreateDealerCampaignExportAudiencePOST(request?: O2ODealerCampaignExportAudienceRequestDto): __Observable> {\r\n return this.CreateDealerCampaignExportAudiencePOSTResponse(request).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param days undefined\r\n * @return Success\r\n */\r\n GetDealerCampaignRequestsInWindowAsyncByDaysGETResponse(days: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetDealerCampaignRequestsInWindow/${days}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param days undefined\r\n * @return Success\r\n */\r\n GetDealerCampaignRequestsInWindowAsyncByDaysGET(days: number): __Observable> {\r\n return this.GetDealerCampaignRequestsInWindowAsyncByDaysGETResponse(days).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetNoLongerOwnForDealerByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Search/GetNoLongerOwnForDealer/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetNoLongerOwnForDealerByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetNoLongerOwnForDealerByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n}\r\n\r\nmodule SearchClientService {\r\n\r\n /**\r\n * Parameters for GetOpenOpportunitiesGET\r\n */\r\n export interface GetOpenOpportunitiesGETParams {\r\n saleTypes?: Array<1 | 2 | 3 | 4 | 6 | 7 | 8>;\r\n flushCache?: boolean;\r\n }\r\n\r\n /**\r\n * Parameters for GetFreshOpportunitiesGET\r\n */\r\n export interface GetFreshOpportunitiesGETParams {\r\n flushCache?: boolean;\r\n MaxResults?: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetRecentlyAssignedOpportunitiesGET\r\n */\r\n export interface GetRecentlyAssignedOpportunitiesGETParams {\r\n flushCache?: boolean;\r\n MaxResults?: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetPrivateOfferInfoByDealeridByEntityidGET\r\n */\r\n export interface GetPrivateOfferInfoByDealeridByEntityidGETParams {\r\n entityId: string;\r\n dealerId: number;\r\n }\r\n}\r\n\r\nexport { SearchClientService }\r\n","require('../modules/es6.symbol');\nrequire('../modules/es6.object.to-string');\nmodule.exports = require('../modules/_core').Symbol;\n","var path = '/app/components/deal-sheet/modals/select-modal.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".admin-templates-wrapper[_ngcontent-%COMP%]{font-size:16px;padding-left:15px;padding-right:15px;min-height:900px;background-color:#e7e7e7}.admin-templates-wrapper[_ngcontent-%COMP%] .admin-templates[_ngcontent-%COMP%]{padding:23px}.admin-templates-wrapper[_ngcontent-%COMP%] .row.smtp-type-row[_ngcontent-%COMP%]{margin-bottom:5px}.admin-templates-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}.admin-templates-wrapper[_ngcontent-%COMP%] .k-widget{border-style:none;border-width:0}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%], .admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-content-locked[_ngcontent-%COMP%] > table[_ngcontent-%COMP%], .admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-footer[_ngcontent-%COMP%] table[_ngcontent-%COMP%], .admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-header[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{table-layout:auto}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid td{font-size:14px;font-family:Roboto;border-style:solid;padding:.3em .6em;overflow:hidden;line-height:.3em;vertical-align:middle;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box;border-left:1px solid #d3d3d3;border-bottom:1px solid #d3d3d3}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid td a{color:#003f59}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid .k-pager-nav .k-icon:hover{background-color:#f2f2f2;border-color:#bdc0c2;border-radius:0}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid .k-pager-nav .k-icon{min-width:2em;height:2em;line-height:2em;border-radius:0;cursor:pointer;text-align:center;border:1px solid #bdc0c2}.admin-templates-wrapper[_ngcontent-%COMP%] .k-pager-wrap{clear:both;overflow:hidden;position:relative;border-style:solid;border-width:1px;line-height:2em;padding:.333em 0 .555em}.admin-templates-wrapper[_ngcontent-%COMP%] .k-pager-wrap .k-pager-numbers .k-link:hover{background-color:#1f8bd5;color:#fff}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-aria-root{margin-bottom:5px}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid .k-pager-numbers{float:none;border-width:1px;text-align:center;vertical-align:top;min-width:2em;margin-right:1px;margin-top:0}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-header-wrap{border-color:#bdc0c2;width:99.99%}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-header{border-top:1px solid #444b4f;border-left:1px solid #d3d3d3}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-header th{font-size:16px}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-header th a{text-decoration:none}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-header th a:focus{outline:0}.admin-templates-wrapper[_ngcontent-%COMP%] .k-grid-header th.k-header{font-weight:500}.admin-templates-wrapper[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-size:12pt;color:#444b4f}.admin-templates-wrapper[_ngcontent-%COMP%] .pdf-preview-icon[_ngcontent-%COMP%]{vertical-align:top;width:20px;height:20px;margin-top:5px}.admin-templates-wrapper[_ngcontent-%COMP%] .create-new-button[_ngcontent-%COMP%]{margin:4px 0 15px}.admin-templates-wrapper[_ngcontent-%COMP%] .auto-assignment-svg[_ngcontent-%COMP%]{margin-top:5px;margin-left:7px;background:url(icon-auto-assignment-lake.ab270c561e1ce6b4d3f7.svg) no-repeat;width:20px;height:20px;display:inline-block;line-height:1}.admin-templates-wrapper[_ngcontent-%COMP%] .trash-can-icon[_ngcontent-%COMP%]{margin-top:5px;background:url(https://assets.autoalert.com/img/autoalert-icons/icon-trash-lake.svg) no-repeat;width:20px;height:20px;display:inline-block;line-height:1}.admin-templates-wrapper[_ngcontent-%COMP%] .email-preview-icon[_ngcontent-%COMP%]{margin-top:5px;background:url(https://assets.autoalert.com/img/autoalert-icons/icon-envelope-open-lake.svg) no-repeat;width:20px;height:20px;display:inline-block;line-height:1}.admin-templates-wrapper[_ngcontent-%COMP%] .float-right[_ngcontent-%COMP%]{float:right;padding-right:15px}.admin-templates-wrapper[_ngcontent-%COMP%] .title-dealer[_ngcontent-%COMP%]{color:#000;margin-top:18px;float:left}.admin-templates-wrapper[_ngcontent-%COMP%] .dealer-select[_ngcontent-%COMP%]{padding:10px 0 0 10px;float:left}.admin-templates-wrapper[_ngcontent-%COMP%] .add-confidential-cover-page[_ngcontent-%COMP%]{margin-left:7px}.admin-templates-wrapper[_ngcontent-%COMP%] .use-ssl-row[_ngcontent-%COMP%]{height:36px}.admin-templates-wrapper[_ngcontent-%COMP%] .label-smtp[_ngcontent-%COMP%], .admin-templates-wrapper[_ngcontent-%COMP%] .use-ssl-row[_ngcontent-%COMP%] #useSSL[_ngcontent-%COMP%]{margin-top:7px}.admin-templates-wrapper[_ngcontent-%COMP%] .label-ratio-options[_ngcontent-%COMP%]{margin-left:4px;margin-top:0}.admin-templates-wrapper[_ngcontent-%COMP%] .preview-links[_ngcontent-%COMP%]{text-align:center}.admin-templates-wrapper[_ngcontent-%COMP%] .preview-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:8px}\"];\nexports.styles = styles;\n","var path = '/app/components/search/search-direct-alert-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AccessRights = {\n ViewCustomer: 1,\n VehicleDetails: 2,\n SaleDetails: 3,\n ActivitiesLog: 4,\n ServiceHistory: 5,\n ChangeLog: 6,\n CustomerRecap: 7,\n Inventory: 8,\n Payments: 9,\n PaymentDetails: 10,\n PostActivity: 11,\n MarkAsSold: 12,\n MarkAsPaidOff: 13,\n MarkAsWarranty: 14,\n MarkAsWatch: 15,\n Print: 16,\n Reassign: 17,\n Access: 18,\n EditCustomer: 19,\n ConvertService: 20,\n Sale: 21,\n Payoff: 22,\n Odometer: 23,\n NewVehicle: 24,\n Alert: 25,\n Flex: 26,\n Conversion: 27,\n Appointment: 28,\n Service: 29,\n Mileage: 30,\n /// \n /// two access rights: \"warranty\" and \"MarkAsWarranty\". In legacy, access right of \"MarkAsWarranty\" is on the AccessRights tab.\n /// Cannot find any legitemate use for Warranty: 31.\n /// \n //Warranty: 31,\n ContractEnd: 32,\n AllowExport: 33,\n AllowBatchReassigning: 34,\n AllowBatchAccess: 35,\n ViewAllCustomers: 36,\n EditLayout: 37,\n MarkAsNotOwn: 38,\n Script: 39,\n Scheduled: 40,\n Locked: 41,\n DoNotContact: 42,\n ViewAllConquests: 43,\n Price: 44,\n TradeValue: 45,\n ShareSearch: 46,\n PrintTemplate: 47,\n TemplateSettings: 48,\n TemplateOutput: 49,\n VehicleHistoryReports: 50,\n EmailTemplate: 51,\n SwitchUserDealer: 52,\n PcuVisit: 53,\n AdminCreditConvert: 54,\n EditCreditConvert: 55,\n GrossProfitDetails: 56,\n CurrentVehicleRecentRO: 57,\n CurrentVehicleMileage: 58,\n CurrentVehicleDelivery: 59,\n CurrentVehicleProjectedMileage: 60,\n CurrentVehicleBank: 61,\n CurrentVehicleSoldAs: 62,\n DestinationFeeAsEditable: 63,\n AdministerCreditConvert1Point5: 64,\n HaveNotServiced: 65,\n DueForService: 66,\n ViewSDOSettings: 67,\n DirectAlertSettings: 69,\n ChangeExpirationSetting: 70,\n SelfRegistrationAccess: 72,\n AutoAlertSupport: 73,\n ProductSettingAccess: 74,\n DirectAlert: 75,\n CreditConvertSoftPullManual: 76,\n InMarket: 97,\n InMarketEngaged: 98,\n FullDataExport: 99,\n ManageSearches: 102,\n SendTextSales: 103,\n TextMessageNewNumberSettings: 104,\n SendTextService: 105,\n SendTextSalesCXM: 106,\n SendTextServiceCXM: 107\n};\n","\r\n\r\nexport const AccessRights =\r\n{\r\n ViewCustomer: 1,\r\n VehicleDetails: 2,\r\n SaleDetails: 3,\r\n ActivitiesLog: 4,\r\n ServiceHistory: 5,\r\n ChangeLog: 6,\r\n CustomerRecap: 7,\r\n Inventory: 8,\r\n Payments: 9,\r\n PaymentDetails: 10,\r\n PostActivity: 11,\r\n MarkAsSold: 12,\r\n MarkAsPaidOff: 13,\r\n MarkAsWarranty: 14,\r\n MarkAsWatch: 15,\r\n Print: 16,\r\n Reassign: 17,\r\n Access: 18,\r\n EditCustomer: 19,\r\n ConvertService: 20,\r\n Sale: 21,\r\n Payoff: 22,\r\n Odometer: 23,\r\n NewVehicle: 24,\r\n Alert: 25,\r\n Flex: 26,\r\n Conversion: 27,\r\n Appointment: 28,\r\n Service: 29,\r\n Mileage: 30,\r\n\r\n /// \r\n /// two access rights: \"warranty\" and \"MarkAsWarranty\". In legacy, access right of \"MarkAsWarranty\" is on the AccessRights tab.\r\n /// Cannot find any legitemate use for Warranty: 31.\r\n /// \r\n //Warranty: 31,\r\n\r\n ContractEnd: 32,\r\n AllowExport: 33,\r\n AllowBatchReassigning: 34,\r\n AllowBatchAccess: 35,\r\n ViewAllCustomers: 36,\r\n EditLayout: 37,\r\n MarkAsNotOwn: 38,\r\n Script: 39,\r\n Scheduled: 40,\r\n Locked: 41,\r\n DoNotContact: 42,\r\n ViewAllConquests: 43,\r\n Price: 44,\r\n TradeValue: 45,\r\n ShareSearch: 46,\r\n PrintTemplate: 47,\r\n TemplateSettings: 48,\r\n TemplateOutput: 49,\r\n VehicleHistoryReports: 50,\r\n EmailTemplate: 51,\r\n SwitchUserDealer: 52,\r\n PcuVisit: 53,\r\n AdminCreditConvert: 54,\r\n EditCreditConvert: 55,\r\n GrossProfitDetails: 56,\r\n CurrentVehicleRecentRO: 57,\r\n CurrentVehicleMileage: 58,\r\n CurrentVehicleDelivery: 59,\r\n CurrentVehicleProjectedMileage: 60,\r\n CurrentVehicleBank: 61,\r\n CurrentVehicleSoldAs: 62,\r\n DestinationFeeAsEditable: 63,\r\n AdministerCreditConvert1Point5: 64,\r\n HaveNotServiced: 65,\r\n DueForService: 66,\r\n ViewSDOSettings: 67,\r\n DirectAlertSettings: 69,\r\n ChangeExpirationSetting: 70,\r\n SelfRegistrationAccess: 72,\r\n AutoAlertSupport: 73,\r\n ProductSettingAccess: 74,\r\n DirectAlert: 75,\r\n CreditConvertSoftPullManual: 76,\r\n InMarket: 97,\r\n InMarketEngaged: 98,\r\n FullDataExport: 99,\r\n ManageSearches: 102,\r\n SendTextSales: 103,\r\n TextMessageNewNumberSettings: 104,\r\n SendTextService: 105,\r\n SendTextSalesCXM: 106,\r\n SendTextServiceCXM: 107\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/* tslint:disable */\nvar http_1 = require(\"@angular/common/http\");\n/**\n * Custom parameter codec to correctly handle the plus sign in parameter\n * values. See https://github.com/angular/angular/issues/18261\n */\nvar ParameterCodec = /** @class */ (function () {\n function ParameterCodec() {\n }\n ParameterCodec.prototype.encodeKey = function (key) {\n return encodeURIComponent(key);\n };\n ParameterCodec.prototype.encodeValue = function (value) {\n return encodeURIComponent(value);\n };\n ParameterCodec.prototype.decodeKey = function (key) {\n return decodeURIComponent(key);\n };\n ParameterCodec.prototype.decodeValue = function (value) {\n return decodeURIComponent(value);\n };\n return ParameterCodec;\n}());\nvar PARAMETER_CODEC = new ParameterCodec();\n/**\n * Base class for API services\n */\nvar BaseService = /** @class */ (function () {\n function BaseService(config, http) {\n this.config = config;\n this.http = http;\n this._rootUrl = '';\n }\n Object.defineProperty(BaseService.prototype, \"rootUrl\", {\n /**\n * Returns the root url for API operations. If not set directly in this\n * service, will fallback to ApiConfiguration.rootUrl.\n */\n get: function () {\n return this._rootUrl || this.config.rootUrl;\n },\n /**\n * Sets the root URL for API operations in this service.\n */\n set: function (rootUrl) {\n this._rootUrl = rootUrl;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new `HttpParams` with the correct codec\n */\n BaseService.prototype.newParams = function () {\n return new http_1.HttpParams({\n encoder: PARAMETER_CODEC\n });\n };\n return BaseService;\n}());\nexports.BaseService = BaseService;\n","/* tslint:disable */\r\nimport { HttpClient, HttpParameterCodec, HttpParams } from '@angular/common/http';\r\nimport { AlertminerApiConfiguration } from './alertminer-api-configuration';\r\n\r\n/**\r\n * Custom parameter codec to correctly handle the plus sign in parameter\r\n * values. See https://github.com/angular/angular/issues/18261\r\n */\r\nclass ParameterCodec implements HttpParameterCodec {\r\n encodeKey(key: string): string {\r\n return encodeURIComponent(key);\r\n }\r\n\r\n encodeValue(value: string): string {\r\n return encodeURIComponent(value);\r\n }\r\n\r\n decodeKey(key: string): string {\r\n return decodeURIComponent(key);\r\n }\r\n\r\n decodeValue(value: string): string {\r\n return decodeURIComponent(value);\r\n }\r\n}\r\nconst PARAMETER_CODEC = new ParameterCodec();\r\n\r\n/**\r\n * Base class for API services\r\n */\r\nexport class BaseService {\r\n constructor(\r\n protected config: AlertminerApiConfiguration,\r\n protected http: HttpClient\r\n ) {\r\n }\r\n\r\n private _rootUrl: string = '';\r\n\r\n /**\r\n * Returns the root url for API operations. If not set directly in this\r\n * service, will fallback to ApiConfiguration.rootUrl.\r\n */\r\n get rootUrl(): string {\r\n return this._rootUrl || this.config.rootUrl;\r\n }\r\n\r\n /**\r\n * Sets the root URL for API operations in this service.\r\n */\r\n set rootUrl(rootUrl: string) {\r\n this._rootUrl = rootUrl;\r\n }\r\n\r\n /**\r\n * Creates a new `HttpParams` with the correct codec\r\n */\r\n protected newParams(): HttpParams {\r\n return new HttpParams({\r\n encoder: PARAMETER_CODEC\r\n });\r\n }\r\n}\r\n","var path = '/app/components/search/search-export-epsilon-modal.component.html';\nvar html = \"
* {{'exportToEpsilonRecent' | translate}}
Campaign Name Campaign Type Audience Count
{{request.campaignName}} {{$ctrl.campaignTypeTranslateKey(request.exportCampaignType) | translate}} {{request.audienceCount}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","module.exports = __webpack_public_path__ + \"icon-alertminer-upgrade.b0ef37edef1f80dd7947.png\";","var path = '/app/components/search/search-menu.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar SMTPSettingEnum;\n(function (SMTPSettingEnum) {\n SMTPSettingEnum[SMTPSettingEnum[\"none\"] = 0] = \"none\";\n SMTPSettingEnum[SMTPSettingEnum[\"autoAlert\"] = 1] = \"autoAlert\";\n SMTPSettingEnum[SMTPSettingEnum[\"custom\"] = 2] = \"custom\";\n})(SMTPSettingEnum = exports.SMTPSettingEnum || (exports.SMTPSettingEnum = {}));\n","export enum SMTPSettingEnum {\r\n none = 0,\r\n autoAlert = 1,\r\n custom = 2\r\n}\r\n\r\n\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar MobileCustomerPhoneComponent = /** @class */ (function () {\n function MobileCustomerPhoneComponent() {\n }\n MobileCustomerPhoneComponent.prototype.ngOnInit = function () {\n };\n return MobileCustomerPhoneComponent;\n}());\nexports.MobileCustomerPhoneComponent = MobileCustomerPhoneComponent;\n","import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';\r\nimport { CustomerContact } from '../../../../interfaces/customer-contact.interface';\r\n\r\n@Component({\r\n selector: 'mobile-customer-phone',\r\n templateUrl: './mobile-customer-phone.component-ng.html',\r\n styleUrls: ['./mobile-customer-phone.component.scss', '../customer-info/customer-info.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class MobileCustomerPhoneComponent implements OnInit {\r\n\r\n @Input() doNotCall: boolean;\r\n @Input() phone: CustomerContact;\r\n @Input() type: string;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n}\r\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","var path = '/app/components/template-email.component.html';\nvar html = \"

{{$ctrl.sentEmailObject.dealerName}}
{{$ctrl.sentEmailObject.primaryAddress.address1}}
{{$ctrl.sentEmailObject.primaryAddress.address2}}
{{$ctrl.sentEmailObject.primaryAddress.city}}, {{$ctrl.sentEmailObject.primaryAddress.state}} {{$ctrl.sentEmailObject.primaryAddress.zipCode}}
{{$ctrl.sentEmailObject.secondaryAddress.address1}}
{{$ctrl.sentEmailObject.secondaryAddress.address2}}
{{$ctrl.sentEmailObject.secondaryAddress.city}}, {{$ctrl.sentEmailObject.secondaryAddress.state}} {{$ctrl.sentEmailObject.secondaryAddress.zipCode}}
{{$ctrl.sentEmailObject.primaryAddress.address1}}
{{$ctrl.sentEmailObject.primaryAddress.address2}}
{{$ctrl.sentEmailObject.primaryAddress.city}}, {{$ctrl.sentEmailObject.primaryAddress.state}} {{$ctrl.sentEmailObject.primaryAddress.zipCode}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/search/search-preset-settings.component.html';\nvar html = \"

{{'srchPreClearAssignDlgTitle' | translate}}

{{'srchPreClearAssignDlgBody' | translate}}

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar SaleTypeComponent = /** @class */ (function () {\n function SaleTypeComponent(elementRef, injector) {\n this.saleTypes = constants_1.SaleTypes;\n this.conquestTypes = constants_1.ConquestTypes;\n this.saleTypeTranslateKeys = Object.keys(constants_1.SaleTypes);\n }\n SaleTypeComponent.prototype.ngOnChanges = function (changes) {\n if (changes.saleTypeOriginalLookupId) {\n this.saleTypeOriginalLookupKey = 'saleTypeOriginalLookup' + this.saleTypeOriginalLookupId;\n }\n };\n return SaleTypeComponent;\n}());\nexports.SaleTypeComponent = SaleTypeComponent;\n","import { Component, OnChanges, SimpleChanges, ElementRef, Injector, Input } from '@angular/core';\r\nimport { SaleTypes, ConquestTypes } from '../../../../constants';\r\n\r\n@Component({\r\n selector: 'sale-type',\r\n templateUrl: './sale-type.component-ng.html',\r\n styleUrls: ['./sale-type.component.scss']\r\n})\r\nexport class SaleTypeComponent implements OnChanges {\r\n @Input() value: any;\r\n @Input() conquestType: any;\r\n @Input() saleTypeOriginalLookupId: number;\r\n public saleTypes = SaleTypes;\r\n public conquestTypes = ConquestTypes;\r\n public saleTypeTranslateKeys = Object.keys(SaleTypes);\r\n public saleTypeOriginalLookupKey: string;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector) {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.saleTypeOriginalLookupId) {\r\n this.saleTypeOriginalLookupKey = 'saleTypeOriginalLookup' + this.saleTypeOriginalLookupId;\r\n }\r\n }\r\n\r\n}","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EntityMailHistorySource = {\n NVQ: 1,\n One2One: 2,\n SKG: 3,\n IntelligentMarketing: 4,\n FordCreditMailers: 5,\n SLM: 6,\n ServiceMarketing: 9,\n PartnerExport: 10\n};\n","export const EntityMailHistorySource = {\r\n NVQ: 1,\r\n One2One: 2,\r\n SKG: 3,\r\n IntelligentMarketing: 4,\r\n FordCreditMailers: 5,\r\n SLM: 6,\r\n ServiceMarketing: 9,\r\n PartnerExport: 10\r\n};","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","module.exports = \"\"","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var path = '/app/components/header/pando-inbox.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@uirouter/core\");\nvar mobile_deal_sheet_data_caching_service_1 = require(\"../../../../services/mobile-deal-sheet-data-caching.service\");\nvar deal_sheet_data_service_1 = require(\"../../../../services/deal-sheet-data.service\");\nvar MobileReplacementContractComponent = /** @class */ (function () {\n function MobileReplacementContractComponent(dealSheetDataService, mobileDealSheetDataCachingService, transition) {\n this.dealSheetDataService = dealSheetDataService;\n this.mobileDealSheetDataCachingService = mobileDealSheetDataCachingService;\n this.transition = transition;\n this.showMobileView = true;\n this.opportunityId = this.transition.params().opportunityId;\n }\n MobileReplacementContractComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.showPullForward = this.dealSheetDataService.shouldDisplayPullForward(this.opportunity);\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(function (dealSheetData) {\n _this.opportunity = dealSheetData.opportunity;\n _this.permissions = dealSheetData.permissions;\n _this.countryId = dealSheetData.userProfile.countryId;\n _this.availableContracts = dealSheetData.opportunity.replacementContracts;\n });\n };\n MobileReplacementContractComponent.prototype.ngOnDestroy = function () {\n this.opportunitySubscription.unsubscribe();\n };\n return MobileReplacementContractComponent;\n}());\nexports.MobileReplacementContractComponent = MobileReplacementContractComponent;\n","import { Component, OnDestroy, OnInit, ChangeDetectionStrategy } from '@angular/core';\r\nimport { DealSheetOpportunity } from '../../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { Transition } from '@uirouter/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { MobileDealSheetDataCachingService } from '../../../../services/mobile-deal-sheet-data-caching.service';\r\nimport { DealSheetDataService } from '../../../../services/deal-sheet-data.service';\r\n\r\n@Component({\r\n selector: 'mobile-replacement-contract',\r\n templateUrl: './mobile-replacement-contract.component-ng.html',\r\n styleUrls: ['./mobile-replacement-contract.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class MobileReplacementContractComponent implements OnInit, OnDestroy {\r\n opportunitySubscription: Subscription;\r\n opportunityId: string;\r\n\r\n opportunity: DealSheetOpportunity;\r\n permissions: DealSheetPermissions;\r\n countryId: any;\r\n availableContracts: any;\r\n showMobileView = true;\r\n showPullForward: boolean;\r\n\r\n constructor(private dealSheetDataService: DealSheetDataService,\r\n private mobileDealSheetDataCachingService: MobileDealSheetDataCachingService, private transition: Transition) {\r\n this.opportunityId = this.transition.params().opportunityId;\r\n }\r\n\r\n ngOnInit() {\r\n this.showPullForward = this.dealSheetDataService.shouldDisplayPullForward(this.opportunity);\r\n\r\n this.opportunitySubscription = this.mobileDealSheetDataCachingService.getDealsheetData(this.opportunityId).subscribe(dealSheetData => {\r\n this.opportunity = dealSheetData.opportunity;\r\n this.permissions = dealSheetData.permissions;\r\n this.countryId = dealSheetData.userProfile.countryId;\r\n this.availableContracts = dealSheetData.opportunity.replacementContracts;\r\n });\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.opportunitySubscription.unsubscribe();\r\n }\r\n}\r\n","var path = '/app/components/deal-sheet/culture-select.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/credit-inquiries.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar FordCreditApprovalClientService = /** @class */ (function (_super) {\n __extends(FordCreditApprovalClientService, _super);\n function FordCreditApprovalClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n */\n FordCreditApprovalClientService.prototype.FordCreditApprovalByEntityIdByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/FordCreditApproval/FordCreditApprovalByEntityId/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n FordCreditApprovalClientService.prototype.FordCreditApprovalByEntityIdByEntityidGET = function (entityId) {\n return this.FordCreditApprovalByEntityIdByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n FordCreditApprovalClientService.FordCreditApprovalByEntityIdByEntityidGETPath = '/api/FordCreditApproval/FordCreditApprovalByEntityId/{entityId}';\n FordCreditApprovalClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function FordCreditApprovalClientService_Factory() { return new FordCreditApprovalClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: FordCreditApprovalClientService, providedIn: \"root\" });\n return FordCreditApprovalClientService;\n}(base_service_1.BaseService));\nexports.FordCreditApprovalClientService = FordCreditApprovalClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass FordCreditApprovalClientService extends __BaseService {\r\n static readonly FordCreditApprovalByEntityIdByEntityidGETPath = '/api/FordCreditApproval/FordCreditApprovalByEntityId/{entityId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n FordCreditApprovalByEntityIdByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/FordCreditApproval/FordCreditApprovalByEntityId/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n FordCreditApprovalByEntityIdByEntityidGET(entityId: string): __Observable {\r\n return this.FordCreditApprovalByEntityIdByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule FordCreditApprovalClientService {\r\n}\r\n\r\nexport { FordCreditApprovalClientService }\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".offer-dropdown[_ngcontent-%COMP%]{border-radius:0!important;margin-top:-10px;margin-right:20px;margin-bottom:18px;float:left}.offer-dropdown[_ngcontent-%COMP%] ul.mvos-dropdown[_ngcontent-%COMP%]{width:100%;min-width:300px;margin-top:-5px;margin-left:-15px;margin-right:-15px;padding-top:0;padding-bottom:0;overflow:hidden;border-radius:0!important;-webkit-box-shadow:0 1px 10px rgba(0,0,0,.1);box-shadow:0 1px 10px rgba(0,0,0,.1);position:relative}.offer-dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{margin-top:-10px;min-width:350px;width:100%}.offer-dropdown[_ngcontent-%COMP%] .mvos-selector[_ngcontent-%COMP%] > .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:10px 0 0;display:block;color:#1f8db5;width:100%;min-width:300px;position:relative;border-top:5px solid transparent;background-color:transparent;white-space:normal}.offer-dropdown[_ngcontent-%COMP%] .mvos-selector[_ngcontent-%COMP%] > .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{background-color:#e7e7e7;border-top:5px solid #1f8bd5;padding-top:10px;cursor:pointer}.offer-dropdown[_ngcontent-%COMP%] .mvos-selector[_ngcontent-%COMP%] > .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover:after{border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #1f8bd5;top:0;content:\\\" \\\";left:50%;margin-left:-10px;position:absolute;width:0;height:0}.offer-dropdown[_ngcontent-%COMP%] .mvos-selector[_ngcontent-%COMP%] > .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[selected=true][_ngcontent-%COMP%]{background-color:#f2f2f2;border-top:5px solid #f2f2f2;padding-top:10px;cursor:pointer}.offer-dropdown[_ngcontent-%COMP%] .mvos-selector[_ngcontent-%COMP%] > .dropdown-menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[selected=true][_ngcontent-%COMP%]:hover{background-color:#e7e7e7;border-top:5px solid #1f8bd5;padding-top:10px;cursor:pointer}.offer-dropdown[_ngcontent-%COMP%] .mvos-nomargin[_ngcontent-%COMP%]{margin:0!important}.offer-dropdown[_ngcontent-%COMP%] .mvos1[_ngcontent-%COMP%]{width:100%}.offer-dropdown[_ngcontent-%COMP%] .mvos1[_ngcontent-%COMP%] .mvos-bottom[_ngcontent-%COMP%]{border-bottom:5px solid #e7e7e7;width:100%;position:relative}.offer-dropdown[_ngcontent-%COMP%] .mvos1[_ngcontent-%COMP%] .mvos-bottom[_ngcontent-%COMP%]:after{border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #e7e7e7;top:5px;content:\\\" \\\";left:50%;margin-left:-10px;position:absolute;width:0;height:0}.offer-dropdown[_ngcontent-%COMP%] .mvos[_ngcontent-%COMP%]{width:100%;border-bottom:1px solid #e7e7e7}.offer-dropdown[_ngcontent-%COMP%] .mvos-selector[_ngcontent-%COMP%] ul.mvos-dropdown[_ngcontent-%COMP%] .mvos[_ngcontent-%COMP%] .mvos-more-container[_ngcontent-%COMP%] span.mvos-more[_ngcontent-%COMP%]{display:none}.offer-dropdown[_ngcontent-%COMP%] .mvos-selector[_ngcontent-%COMP%] ul.mvos-dropdown[_ngcontent-%COMP%] .mvos[_ngcontent-%COMP%] .mvos-more-container[_ngcontent-%COMP%]{height:10px}.offer-dropdown[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{padding:0;margin:0}.offer-dropdown[_ngcontent-%COMP%] .mvos-more-container1[_ngcontent-%COMP%]{text-align:left;height:25px}.offer-dropdown[_ngcontent-%COMP%] span.mvos-more[_ngcontent-%COMP%]{font-weight:700;font-size:11px;color:#1f8bd5}.offer-dropdown[_ngcontent-%COMP%] .mvos-details-container[_ngcontent-%COMP%] mvos-type[_ngcontent-%COMP%]{display:block;margin-top:15px;text-transform:uppercase;color:#1f8bd5;font-size:14px}.offer-dropdown[_ngcontent-%COMP%] .mvos-details-container[_ngcontent-%COMP%]{margin-left:8px}.offer-dropdown[_ngcontent-%COMP%] .mvos-details-container[_ngcontent-%COMP%] .mvos-image[_ngcontent-%COMP%]{text-align:right}.offer-dropdown[_ngcontent-%COMP%] .mvos-details-container[_ngcontent-%COMP%] .mvos-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;margin:0;padding:2px}.offer-dropdown[_ngcontent-%COMP%] .mvos-details-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:0}.offer-dropdown[_ngcontent-%COMP%] .mvos-details-container[_ngcontent-%COMP%] span.mvos-condition[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase;font-size:15px;color:#1f8bd5}.offer-dropdown[_ngcontent-%COMP%] .mvos-details-container[_ngcontent-%COMP%] span.mvos-details[_ngcontent-%COMP%], .offer-dropdown[_ngcontent-%COMP%] .mvos-details-container[_ngcontent-%COMP%] span.mvos-yearmake[_ngcontent-%COMP%]{color:#444b4f;margin-right:5px}.offer-dropdown[_ngcontent-%COMP%] .no-padding[_ngcontent-%COMP%]{padding:0}.offBrandDropSelect[_ngcontent-%COMP%]{float:right;margin-top:-6px;font-size:14px;height:32px;width:162px}\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar appSettings = __importStar(require(\"../environments/environment\"));\nexports.APP_SETTINGS_JSON = appSettings.default;\n","import * as appSettings from '../environments/environment';\r\n\r\nexport const APP_SETTINGS_JSON = (appSettings as any).default;\r\n","module.exports = \"service-drive-offers-component .cg-busy {\\n top: -20px;\\n}\\nservice-drive-offers-component p.input-group.datepicker-right-align {\\n margin-bottom: 0;\\n}\\nservice-drive-offers-component hr {\\n margin-top: 20px;\\n}\\n#alerts-dropdown-button {\\n min-width: 100px;\\n}\\n.row-offer-header {\\n height: 40px;\\n}\\nicon.glyphicon-remove {\\n font-size: 14px;\\n}\\nicon.aa-icon-filter {\\n color: #337ab7;\\n}\\n.span-filter-icon {\\n margin-right: 10px;\\n font-size: 20px;\\n vertical-align: middle;\\n cursor: pointer;\\n}\\n.filter-reset {\\n vertical-align: top;\\n top: 7px;\\n position: relative;\\n}\\n/*.btn-delete {\\n border: 1px solid #ccc !important;\\n border-left: 0px !important;\\n height: 34px;\\n width: 45px;\\n}*/\\n.btn-delete {\\n position: absolute;\\n top: 4px;\\n right: 18px;\\n height: 26px;\\n background-color: transparent;\\n}\\n.row-entities {\\n min-height: 50px;\\n}\\n#printOfferIframe {\\n min-height: 768px;\\n width: 100%;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZXJ2aWNlLWRyaXZlL0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC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ICRncmF5LWxpZ2h0ZXIgIWRlZmF1bHQ7XG4iXX0= */\"","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../../core/toaster-logger.service\");\nvar notification_service_1 = require(\"../../../services/notification.service\");\nvar rxjs_1 = require(\"rxjs\");\nvar dms_push_enums_1 = require(\"./dms-push-enums\");\nvar ngx_modal_wrapper_service_1 = require(\"../../../services/ngx-modal-wrapper.service\");\nvar confirm_modal_component_1 = require(\"../../modals/confirm-modal.component\");\nvar platform_browser_1 = require(\"@angular/platform-browser\");\nvar constants_1 = require(\"../../../constants\");\nvar DmsPushModalComponent = /** @class */ (function () {\n function DmsPushModalComponent(domSanitizer, _bsModalRef, modalService, tService, logger, notificationService, dealSheetService) {\n this.domSanitizer = domSanitizer;\n this._bsModalRef = _bsModalRef;\n this.modalService = modalService;\n this.tService = tService;\n this.logger = logger;\n this.notificationService = notificationService;\n this.dealSheetService = dealSheetService;\n this.DisplayView = dms_push_enums_1.DisplayView;\n this.DmsSaleType = dms_push_enums_1.DmsSaleType;\n this.onSaveChanges = new core_1.EventEmitter();\n }\n DmsPushModalComponent.prototype.handlePushResponse = function (message) {\n if (message.data && message.data.data) {\n var result = message.data;\n this.showCloseButton = false;\n this.requestSucceeded = result.data.succeeded;\n if (result.data.matches) {\n console.log(\"DMS Push Customer matches returned\");\n this.currentView = dms_push_enums_1.DisplayView.customerSelectView;\n this.customerMatches = result.data.matches;\n }\n else if (result.data.succeeded) {\n console.log(\"DMS Push Successful insert or update\");\n switch (this.currentRequestType) {\n case dms_push_enums_1.RequestType.customer:\n this.currentView = dms_push_enums_1.DisplayView.customerPushedView;\n this.showCloseButton = true;\n this.newOrUpdatedDMSCustomerID = result.data.notes;\n break;\n case dms_push_enums_1.RequestType.fandI:\n this.currentView = dms_push_enums_1.DisplayView.dealPushedView;\n this.showCloseButton = true;\n this.newOrUpdatedDMSDealID = result.data.notes;\n break;\n default:\n this.currentView = dms_push_enums_1.DisplayView.customerPushedView;\n }\n }\n else {\n console.log(\"DMS Push Request failed. Error code: \" + result.data.notes);\n this.currentView = dms_push_enums_1.DisplayView.errorView;\n this.dmsErrorMsg = \"\";\n if (result.data.notes && result.data.notes.length > 0) {\n if (result.data.notes.indexOf('|') > -1) {\n var parts = result.data.notes.split('|');\n var transKey = parts[0];\n var param1 = parts[1];\n this.dmsErrorMsg = this.tService.instant(\"dmsPushError_\" + transKey, { param1: param1 });\n }\n else {\n this.dmsErrorMsg = this.tService.instant(\"dmsPushError_\" + result.data.notes);\n }\n }\n this.showCloseButton = true;\n }\n console.log(message.data);\n }\n else {\n console.log(\"DMS Push Request failed.\");\n this.currentView = dms_push_enums_1.DisplayView.errorView;\n this.showCloseButton = true;\n }\n this.stopWorkingState();\n };\n DmsPushModalComponent.prototype.showFullAddress = function (customerMatch) {\n var c = customerMatch;\n var fullAddress = \"\";\n if (c.address1 && c.address1 != \" \")\n fullAddress = fullAddress + \" \" + c.address1;\n if (c.address2 && c.address2 != \" \")\n fullAddress = fullAddress + \" \" + c.address2;\n if (c.city && c.city != \" \")\n fullAddress = fullAddress + \" \" + c.city;\n if (c.stateCode && c.stateCode != \" \")\n fullAddress = fullAddress + \", \" + c.stateCode;\n if (c.zipCode && c.zipCode.length > 1)\n fullAddress = fullAddress + \" \" + c.zipCode;\n return fullAddress;\n };\n DmsPushModalComponent.prototype.setAddressInfo = function () {\n this.address1 = null;\n this.address2 = null;\n this.cityStZip = null;\n if (this.customer) {\n if (this.customer.address.streetAddress)\n this.address1 = this.customer.address.streetAddress;\n if (this.customer.address.streetAddress2)\n this.address2 = this.customer.address.streetAddress2;\n this.cityStZip = this.customer.address.city + ', ' + this.customer.address.stateAbbr + ', ' + this.customer.address.zipCode;\n }\n };\n DmsPushModalComponent.prototype.ngOnInit = function () {\n var _this = this;\n this._bsModalRef.hide();\n this.includeDeal = this.replacementVin != null;\n this.primaryPhone = null;\n this.customerSelection = null;\n this.newOrUpdatedDMSCustomerID = null;\n this.newOrUpdatedDMSDealID = null;\n this.showCloseButton = false;\n this.customerMatches = null;\n this.dmsErrorMsg = \"\";\n if (this.customer.address) {\n var state = this.states.find(function (s) { return s.id == _this.customer.address.stateId; });\n this.customer.address.stateAbbr = state.abbreviation;\n }\n this.setAddressInfo();\n if (this.customer.cellPhoneNumber) {\n this.primaryPhone = this.customer.cellPhoneNumber.value;\n }\n else if (this.customer.homePhoneNumber) {\n this.primaryPhone = this.customer.homePhoneNumber.value;\n }\n this.notificationSubscription = this.notificationService.newPushResponse.subscribe(function (message) {\n _this.handlePushResponse(message);\n });\n var getLatestPushRequest = this.buildGetLatestPushRequest();\n this.dealSheetService.dmsPushGetLatest(getLatestPushRequest)\n .then(function (data) {\n if (data) {\n _this.latestFullName = data.fullName;\n _this.latestCreateDateUtc = data.createDateUtc;\n _this.latestDmsCustomerId = data.dmsCustomerId;\n _this.latestDmsDealId = data.dmsDealId;\n _this.latestRequestTypeId = data.requestTypeId;\n if (data.requestTypeId == 1) {\n _this.latestRequestType = \"Deal\";\n }\n else {\n _this.latestRequestType = \"Customer\";\n }\n }\n });\n this.currentView = dms_push_enums_1.DisplayView.initialView;\n //this.customerMatches = [\n // {\n // firstName: \"Mike\",\n // lastName: \"Gone\",\n // dmsCustomerId: \"123456234252351\",\n // phone1: 9495555460,\n // email1: \"mike@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // },\n // {\n // firstName: \"John\",\n // lastName: \"Smith\",\n // dmsCustomerId: \"123456234252352\",\n // phone1: 9495555460,\n // email1: \"john@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // },\n // {\n // firstName: \"Mary\",\n // lastName: \"Hopkins\",\n // dmsCustomerId: \"123456234252353\",\n // phone1: 9495555460,\n // email1: \"mary@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // },\n // {\n // firstName: \"Mary\",\n // lastName: \"Hopkins\",\n // dmsCustomerId: \"123456234252354\",\n // phone1: 9495555460,\n // email1: \"mary@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // },\n // {\n // firstName: \"Mary\",\n // lastName: \"Hopkins\",\n // dmsCustomerId: \"123456234252310\",\n // phone1: 9495555460,\n // email1: \"mary@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // },\n // {\n // firstName: \"Mary\",\n // lastName: \"Hopkins\",\n // dmsCustomerId: \"123456234252311\",\n // phone1: 9495555460,\n // email1: \"mary@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // },\n // {\n // firstName: \"Mary\",\n // lastName: \"Hopkins\",\n // dmsCustomerId: \"123456234252312\",\n // phone1: 9495555460,\n // email1: \"mary@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // },\n // {\n // firstName: \"Mary\",\n // lastName: \"Hopkins\",\n // dmsCustomerId: \"123456234252313\",\n // phone1: 9495555460,\n // email1: \"mary@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // },\n // {\n // firstName: \"Mary\",\n // lastName: \"Hopkins\",\n // dmsCustomerId: \"123456234252314\",\n // phone1: 9495555460,\n // email1: \"mary@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // },\n // {\n // firstName: \"Mary\",\n // lastName: \"Hopkins\",\n // dmsCustomerId: \"123456234252315\",\n // phone1: 9495555460,\n // email1: \"mary@autoalert.com\",\n // address1: \"123 Elm St\",\n // city: \"Irvine\",\n // stateCode: \"CA\",\n // zipCode: 92630\n // }\n //];\n //this.currentView = DisplayView.customerSelectView;\n };\n DmsPushModalComponent.prototype.ngOnDestroy = function () {\n };\n DmsPushModalComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n DmsPushModalComponent.prototype.cancelModal = function () {\n this._bsModalRef.hide();\n this.notificationSubscription.unsubscribe();\n };\n DmsPushModalComponent.prototype.processSelectedCustomer = function (dmsCustomerId) {\n this.customerSelection = dmsCustomerId;\n this.confirmCustomerSelection(dmsCustomerId);\n };\n DmsPushModalComponent.prototype.processNewCustomer = function () {\n this.customerSelection = null;\n var parameters = {\n dmsCustomerId: null,\n forceInsertCustomer: true,\n dmsDealId: null\n };\n this.pushToDms(parameters);\n };\n DmsPushModalComponent.prototype.isNullorWhiteSpace = function (value) {\n return !(value && value.trim().length > 0);\n };\n DmsPushModalComponent.prototype.setBusinessName = function (customer) {\n var businessname = null;\n if (!this.isNullorWhiteSpace(customer.companyName)) {\n businessname = customer.companyName;\n }\n else if (this.isNullorWhiteSpace(customer.firstName) && !this.isNullorWhiteSpace(customer.lastName)) {\n businessname = customer.lastName;\n }\n return businessname;\n };\n DmsPushModalComponent.prototype.buildRequest = function (parameters) {\n this.currentRequestType = this.includeDeal ? dms_push_enums_1.RequestType.fandI : dms_push_enums_1.RequestType.customer;\n var request;\n if (this.currentRequestType == dms_push_enums_1.RequestType.customer) {\n request = {\n ResponseMethod: 1,\n dealerId: this.dealerId,\n idReferences: [\n {\n type: 0,\n referenceId: this.customer.id\n }\n ],\n forceInsertCustomer: false,\n dmsCustomerId: null,\n businessName: this.setBusinessName(this.customer),\n firstName: this.customer.firstName,\n lastName: this.customer.lastName,\n address1: this.address1,\n address2: this.address2,\n city: this.customer.address ? this.customer.address.city : null,\n stateCode: this.customer.address ? this.customer.address.stateAbbr : null,\n zipCode: this.customer.address ? this.customer.address.zipCode : null,\n phoneNumber1: this.customer.homePhoneNumber ? this.customer.homePhoneNumber.value : null,\n phoneNumber2: this.customer.cellPhoneNumber ? this.customer.cellPhoneNumber.value : null,\n email1: this.customer.emailAddress ? this.customer.emailAddress.value : null,\n email2: null,\n };\n if (parameters) {\n request.dmsCustomerId = parameters.dmsCustomerId;\n request.forceInsertCustomer = parameters.forceInsertCustomer;\n }\n }\n else {\n var repSaleType = void 0;\n switch (this.replacementSaleType) {\n case constants_1.SaleTypes.cash:\n repSaleType = dms_push_enums_1.DmsSaleType.cash;\n break;\n case constants_1.SaleTypes.retail:\n repSaleType = dms_push_enums_1.DmsSaleType.retail;\n break;\n case constants_1.SaleTypes.lease:\n repSaleType = dms_push_enums_1.DmsSaleType.lease;\n break;\n default:\n repSaleType = dms_push_enums_1.DmsSaleType.retail;\n }\n request = {\n customer: {\n ResponseMethod: 1,\n dealerId: this.dealerId,\n idReferences: [\n {\n type: 0,\n referenceId: this.customer.id\n }\n ],\n forceInsertCustomer: false,\n dmsCustomerId: null,\n businessName: this.setBusinessName(this.customer),\n firstName: this.customer.firstName,\n lastName: this.customer.lastName,\n address1: this.address1,\n address2: this.address2,\n city: this.customer.address ? this.customer.address.city : null,\n stateCode: this.customer.address ? this.customer.address.stateAbbr : null,\n zipCode: this.customer.address ? this.customer.address.zipCode : null,\n phoneNumber1: this.customer.homePhoneNumber ? this.customer.homePhoneNumber.value : null,\n phoneNumber2: this.customer.cellPhoneNumber ? this.customer.cellPhoneNumber.value : null,\n email1: this.customer.emailAddress ? this.customer.emailAddress.value : null,\n email2: null\n },\n vehicleDeal: {\n dealNumber: null,\n vin: this.replacementVin,\n saleType: repSaleType,\n },\n tradeIns: [\n {\n vin: this.currentVin,\n year: this.currentYear,\n make: this.currentMake,\n model: this.currentModel,\n odometer: this.currentMileage == null || Number.isNaN(this.currentMileage) ? 0 : this.currentMileage,\n allowance: this.currentTradeValue == null || Number.isNaN(this.currentTradeValue) ? 0 : this.currentTradeValue,\n }\n ]\n };\n if (parameters) {\n request.customer.dmsCustomerId = parameters.dmsCustomerId;\n request.customer.forceInsertCustomer = parameters.forceInsertCustomer;\n request.dealNumber = parameters.dmsDealId;\n }\n }\n return request;\n };\n DmsPushModalComponent.prototype.buildGetLatestPushRequest = function () {\n var request = {\n dealerId: this.dealerId,\n idReferences: [\n {\n type: 0,\n referenceId: this.customer.id\n }\n ],\n };\n return request;\n };\n DmsPushModalComponent.prototype.startWorkingState = function () {\n var _this = this;\n this.busy = new Promise(function (resolve) {\n _this.stopWorkingState = resolve;\n });\n };\n DmsPushModalComponent.prototype.stopWorkingState = function () { };\n DmsPushModalComponent.prototype.pushToDms = function (parameters) {\n var _this = this;\n this.currentView = dms_push_enums_1.DisplayView.waitingView;\n this.startWorkingState();\n var request = this.buildRequest(parameters);\n if (this.currentRequestType == dms_push_enums_1.RequestType.fandI) {\n this.dealSheetService.dmsPushPushFAndI(request)\n .then(function (data) {\n if (data) {\n }\n else {\n _this.logger.error(_this.tService.instant(\"generalErrorMessageKey\"));\n }\n });\n }\n else {\n this.dealSheetService.dmsPushCustomer(request)\n .then(function (data) {\n if (data) {\n }\n else {\n _this.logger.error(_this.tService.instant(\"generalErrorMessageKey\"));\n }\n });\n }\n };\n DmsPushModalComponent.prototype.confirmCustomerSelection = function (dmsCustomerId) {\n var _this = this;\n var customer = this.customerMatches.find(function (c) { return c.dmsCustomerId == dmsCustomerId; });\n var fullName = \"\";\n var message = null;\n if (customer && (customer.firstName || customer.lastName)) {\n fullName = ((customer.firstName == null ? \"\" : customer.firstName) + \" \" + (customer.lastName == null ? \"\" : customer.lastName)).trim();\n }\n message = this.domSanitizer.bypassSecurityTrustHtml(\"

Are you sure you wish to push this customer? This push will overwrite the customer and vehicle information.

\" + fullName + \"
\" + dmsCustomerId);\n var initialState = {\n message: message\n };\n var bsModalRef = this.modalService.show(confirm_modal_component_1.ConfirmModalComponent, { initialState: initialState });\n bsModalRef.content.onClosed.subscribe(function (result) {\n if (result.confirmed)\n _this.pushSelectedCustomer(dmsCustomerId);\n });\n };\n DmsPushModalComponent.prototype.pushSelectedCustomer = function (dmsCustomerId) {\n var parameters = {\n dmsCustomerId: dmsCustomerId,\n forceInsertCustomer: false,\n dmsDealId: null\n };\n this.pushToDms(parameters);\n };\n return DmsPushModalComponent;\n}());\nexports.DmsPushModalComponent = DmsPushModalComponent;\n","import { Component, OnInit, OnDestroy, Input, Output, EventEmitter, Inject, AfterViewInit } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ToasterLoggerService } from '../../../core/toaster-logger.service';\r\nimport { DealSheetService } from '../../../ajs-upgraded-providers';\r\nimport { NotificationService } from '../../../services/notification.service';\r\nimport { NotificationMessage } from '../../../interfaces/notification-message.interface';\r\nimport { Observable, Subject, Subscription } from 'rxjs';\r\nimport { DisplayView, RequestType, DmsSaleType } from './dms-push-enums';\r\nimport { NgxModalWrapperService } from '../../../services/ngx-modal-wrapper.service';\r\nimport { ConfirmModalComponent } from '../../modals/confirm-modal.component';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { SaleTypes } from '../../../constants';\r\n\r\n\r\n@Component({\r\n selector: 'dms-push-modal',\r\n templateUrl: './dms-push-modal.component-ng.html',\r\n styleUrls: ['./dms-push-modal.component.scss']\r\n})\r\n\r\nexport class DmsPushModalComponent implements OnInit, OnDestroy, AfterViewInit {\r\n public busy: Promise | Subscription;\r\n private notificationSubscription: Subscription;\r\n public dealerId: number;\r\n public includeDeal: boolean;\r\n public customer: any;\r\n public states: any;\r\n public currentVin: string;\r\n public currentYear: string;\r\n public currentMake: string;\r\n public currentModel: string;\r\n public currentMileage: number;\r\n public currentTradeValue: number;\r\n public replacementVin: string;\r\n public replacementPrice: number;\r\n public replacementSaleType: number;\r\n public address1: string;\r\n public address2: string;\r\n public cityStZip: string;\r\n public primaryPhone: string;\r\n public currentView: DisplayView;\r\n public DisplayView = DisplayView; \r\n public DmsSaleType = DmsSaleType; \r\n public customerMatches: any;\r\n public customerSelection: any;\r\n public currentRequestType: RequestType\r\n public requestSucceeded: boolean\r\n public newOrUpdatedDMSCustomerID: string;\r\n public newOrUpdatedDMSDealID: string;\r\n public showCloseButton: boolean;\r\n public latestCreateDateUtc: Date;\r\n public latestDmsCustomerId: string;\r\n public latestDmsDealId: string;\r\n public latestRequestTypeId: number;\r\n public latestRequestType: string;\r\n public latestFullName: string;\r\n public dmsErrorMsg: string;\r\n\r\n @Output() onSaveChanges = new EventEmitter();\r\n\r\n constructor(private domSanitizer: DomSanitizer,\r\n public _bsModalRef: BsModalRef,\r\n public modalService: NgxModalWrapperService,\r\n public tService: TranslateService,\r\n private logger: ToasterLoggerService,\r\n private notificationService: NotificationService,\r\n @Inject(DealSheetService) private dealSheetService) {\r\n }\r\n\r\n private handlePushResponse(message: any) {\r\n if (message.data && message.data.data) {\r\n let result = message.data;\r\n this.showCloseButton = false;\r\n this.requestSucceeded = result.data.succeeded;\r\n\r\n if (result.data.matches) {\r\n console.log(\"DMS Push Customer matches returned\");\r\n this.currentView = DisplayView.customerSelectView;\r\n this.customerMatches = result.data.matches;\r\n }\r\n else if (result.data.succeeded) {\r\n console.log(\"DMS Push Successful insert or update\");\r\n switch (this.currentRequestType) {\r\n case RequestType.customer:\r\n this.currentView = DisplayView.customerPushedView;\r\n this.showCloseButton = true;\r\n this.newOrUpdatedDMSCustomerID = result.data.notes;\r\n break;\r\n case RequestType.fandI:\r\n this.currentView = DisplayView.dealPushedView;\r\n this.showCloseButton = true;\r\n this.newOrUpdatedDMSDealID = result.data.notes;\r\n break;\r\n default:\r\n this.currentView = DisplayView.customerPushedView;\r\n }\r\n }\r\n else {\r\n console.log(\"DMS Push Request failed. Error code: \" + result.data.notes);\r\n this.currentView = DisplayView.errorView;\r\n this.dmsErrorMsg = \"\";\r\n\r\n if (result.data.notes && result.data.notes.length > 0) {\r\n if (result.data.notes.indexOf('|') > -1) {\r\n const parts = result.data.notes.split('|');\r\n const transKey = parts[0];\r\n const param1 = parts[1];\r\n this.dmsErrorMsg = this.tService.instant(\"dmsPushError_\" + transKey, { param1: param1 });\r\n }\r\n else {\r\n this.dmsErrorMsg = this.tService.instant(\"dmsPushError_\" + result.data.notes);\r\n }\r\n }\r\n\r\n this.showCloseButton = true;\r\n }\r\n console.log(message.data);\r\n }\r\n else {\r\n console.log(\"DMS Push Request failed.\");\r\n this.currentView = DisplayView.errorView;\r\n this.showCloseButton = true;\r\n }\r\n\r\n this.stopWorkingState();\r\n }\r\n\r\n public showFullAddress(customerMatch) {\r\n let c = customerMatch;\r\n let fullAddress = \"\";\r\n\r\n if (c.address1 && c.address1 != \" \")\r\n fullAddress = fullAddress + \" \" + c.address1;\r\n if (c.address2 && c.address2 != \" \")\r\n fullAddress = fullAddress + \" \" + c.address2;\r\n if (c.city && c.city != \" \")\r\n fullAddress = fullAddress + \" \" + c.city;\r\n if (c.stateCode && c.stateCode != \" \")\r\n fullAddress = fullAddress + \", \" + c.stateCode;\r\n if (c.zipCode && c.zipCode.length > 1)\r\n fullAddress = fullAddress + \" \" + c.zipCode;\r\n\r\n return fullAddress;\r\n }\r\n\r\n private setAddressInfo() {\r\n this.address1 = null;\r\n this.address2 = null;\r\n this.cityStZip = null;\r\n\r\n if (this.customer) {\r\n\r\n if (this.customer.address.streetAddress)\r\n this.address1 = this.customer.address.streetAddress\r\n\r\n if (this.customer.address.streetAddress2)\r\n this.address2 = this.customer.address.streetAddress2;\r\n\r\n this.cityStZip = this.customer.address.city + ', ' + this.customer.address.stateAbbr + ', ' + this.customer.address.zipCode;\r\n }\r\n }\r\n\r\n public ngOnInit(): void {\r\n this._bsModalRef.hide();\r\n\r\n this.includeDeal = this.replacementVin != null;\r\n this.primaryPhone = null;\r\n this.customerSelection = null;\r\n this.newOrUpdatedDMSCustomerID = null;\r\n this.newOrUpdatedDMSDealID = null;\r\n this.showCloseButton = false;\r\n this.customerMatches = null;\r\n this.dmsErrorMsg = \"\";\r\n\r\n if (this.customer.address) {\r\n var state = this.states.find(s => s.id == this.customer.address.stateId);\r\n this.customer.address.stateAbbr = state.abbreviation;\r\n }\r\n\r\n this.setAddressInfo();\r\n\r\n if (this.customer.cellPhoneNumber) {\r\n this.primaryPhone = this.customer.cellPhoneNumber.value;\r\n }\r\n else if (this.customer.homePhoneNumber) {\r\n this.primaryPhone = this.customer.homePhoneNumber.value;\r\n }\r\n\r\n this.notificationSubscription = this.notificationService.newPushResponse.subscribe((message: NotificationMessage) => {\r\n this.handlePushResponse(message);\r\n });\r\n\r\n let getLatestPushRequest = this.buildGetLatestPushRequest();\r\n this.dealSheetService.dmsPushGetLatest(getLatestPushRequest)\r\n .then(data => {\r\n if (data) {\r\n this.latestFullName = data.fullName;\r\n this.latestCreateDateUtc = data.createDateUtc;\r\n this.latestDmsCustomerId = data.dmsCustomerId;\r\n this.latestDmsDealId = data.dmsDealId;\r\n this.latestRequestTypeId = data.requestTypeId;\r\n if (data.requestTypeId == 1) {\r\n this.latestRequestType = \"Deal\";\r\n }\r\n else {\r\n this.latestRequestType = \"Customer\";\r\n }\r\n }\r\n });\r\n\r\n this.currentView = DisplayView.initialView;\r\n\r\n\r\n //this.customerMatches = [\r\n // {\r\n // firstName: \"Mike\",\r\n // lastName: \"Gone\",\r\n // dmsCustomerId: \"123456234252351\",\r\n // phone1: 9495555460,\r\n // email1: \"mike@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // },\r\n // {\r\n // firstName: \"John\",\r\n // lastName: \"Smith\",\r\n // dmsCustomerId: \"123456234252352\",\r\n // phone1: 9495555460,\r\n // email1: \"john@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // },\r\n // {\r\n // firstName: \"Mary\",\r\n // lastName: \"Hopkins\",\r\n // dmsCustomerId: \"123456234252353\",\r\n // phone1: 9495555460,\r\n // email1: \"mary@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // },\r\n\r\n // {\r\n // firstName: \"Mary\",\r\n // lastName: \"Hopkins\",\r\n // dmsCustomerId: \"123456234252354\",\r\n // phone1: 9495555460,\r\n // email1: \"mary@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // },\r\n\r\n // {\r\n // firstName: \"Mary\",\r\n // lastName: \"Hopkins\",\r\n // dmsCustomerId: \"123456234252310\",\r\n // phone1: 9495555460,\r\n // email1: \"mary@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // },\r\n // {\r\n // firstName: \"Mary\",\r\n // lastName: \"Hopkins\",\r\n // dmsCustomerId: \"123456234252311\",\r\n // phone1: 9495555460,\r\n // email1: \"mary@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // },\r\n // {\r\n // firstName: \"Mary\",\r\n // lastName: \"Hopkins\",\r\n // dmsCustomerId: \"123456234252312\",\r\n // phone1: 9495555460,\r\n // email1: \"mary@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // },\r\n // {\r\n // firstName: \"Mary\",\r\n // lastName: \"Hopkins\",\r\n // dmsCustomerId: \"123456234252313\",\r\n // phone1: 9495555460,\r\n // email1: \"mary@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // },\r\n // {\r\n // firstName: \"Mary\",\r\n // lastName: \"Hopkins\",\r\n // dmsCustomerId: \"123456234252314\",\r\n // phone1: 9495555460,\r\n // email1: \"mary@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // },\r\n // {\r\n // firstName: \"Mary\",\r\n // lastName: \"Hopkins\",\r\n // dmsCustomerId: \"123456234252315\",\r\n // phone1: 9495555460,\r\n // email1: \"mary@autoalert.com\",\r\n // address1: \"123 Elm St\",\r\n // city: \"Irvine\",\r\n // stateCode: \"CA\",\r\n // zipCode: 92630\r\n // }\r\n //];\r\n //this.currentView = DisplayView.customerSelectView;\r\n\r\n }\r\n\r\n public ngOnDestroy(): void {\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public cancelModal(): void {\r\n this._bsModalRef.hide();\r\n this.notificationSubscription.unsubscribe();\r\n }\r\n\r\n public processSelectedCustomer(dmsCustomerId): void {\r\n this.customerSelection = dmsCustomerId;\r\n this.confirmCustomerSelection(dmsCustomerId);\r\n }\r\n\r\n public processNewCustomer(): void {\r\n this.customerSelection = null;\r\n let parameters = {\r\n dmsCustomerId: null,\r\n forceInsertCustomer: true,\r\n dmsDealId: null\r\n }\r\n this.pushToDms(parameters);\r\n }\r\n\r\n private isNullorWhiteSpace(value) {\r\n return !(value && value.trim().length > 0);\r\n }\r\n\r\n private setBusinessName(customer) {\r\n let businessname = null;\r\n\r\n if (!this.isNullorWhiteSpace(customer.companyName)) {\r\n businessname = customer.companyName;\r\n }\r\n else if (this.isNullorWhiteSpace(customer.firstName) && !this.isNullorWhiteSpace(customer.lastName)) {\r\n businessname = customer.lastName;\r\n }\r\n\r\n return businessname;\r\n }\r\n\r\n private buildRequest(parameters): any {\r\n this.currentRequestType = this.includeDeal ? RequestType.fandI : RequestType.customer;\r\n let request;\r\n \r\n if (this.currentRequestType == RequestType.customer) {\r\n request = {\r\n ResponseMethod: 1,\r\n dealerId: this.dealerId,\r\n idReferences: [\r\n {\r\n type: 0,\r\n referenceId: this.customer.id\r\n }\r\n ],\r\n forceInsertCustomer: false,\r\n dmsCustomerId: null,\r\n businessName: this.setBusinessName(this.customer),\r\n firstName: this.customer.firstName,\r\n lastName: this.customer.lastName,\r\n address1: this.address1,\r\n address2: this.address2,\r\n city: this.customer.address ? this.customer.address.city : null,\r\n stateCode: this.customer.address ? this.customer.address.stateAbbr : null,\r\n zipCode: this.customer.address ? this.customer.address.zipCode : null,\r\n phoneNumber1: this.customer.homePhoneNumber ? this.customer.homePhoneNumber.value : null,\r\n phoneNumber2: this.customer.cellPhoneNumber ? this.customer.cellPhoneNumber.value : null,\r\n email1: this.customer.emailAddress ? this.customer.emailAddress.value : null,\r\n email2: null,\r\n };\r\n\r\n if (parameters) {\r\n request.dmsCustomerId = parameters.dmsCustomerId;\r\n request.forceInsertCustomer = parameters.forceInsertCustomer;\r\n }\r\n\r\n }\r\n else {\r\n let repSaleType : number;\r\n \r\n switch (this.replacementSaleType) {\r\n case SaleTypes.cash:\r\n repSaleType = DmsSaleType.cash;\r\n break;\r\n case SaleTypes.retail:\r\n repSaleType = DmsSaleType.retail;\r\n break;\r\n case SaleTypes.lease:\r\n repSaleType = DmsSaleType.lease;\r\n break;\r\n default:\r\n repSaleType = DmsSaleType.retail;\r\n }\r\n\r\n request = {\r\n customer: {\r\n ResponseMethod: 1,\r\n dealerId: this.dealerId,\r\n idReferences: [\r\n {\r\n type: 0,\r\n referenceId: this.customer.id\r\n }\r\n ],\r\n forceInsertCustomer: false,\r\n dmsCustomerId: null,\r\n businessName: this.setBusinessName(this.customer),\r\n firstName: this.customer.firstName,\r\n lastName: this.customer.lastName,\r\n address1: this.address1,\r\n address2: this.address2,\r\n city: this.customer.address ? this.customer.address.city : null,\r\n stateCode: this.customer.address ? this.customer.address.stateAbbr : null,\r\n zipCode: this.customer.address ? this.customer.address.zipCode : null,\r\n phoneNumber1: this.customer.homePhoneNumber ? this.customer.homePhoneNumber.value : null,\r\n phoneNumber2: this.customer.cellPhoneNumber ? this.customer.cellPhoneNumber.value : null,\r\n email1: this.customer.emailAddress ? this.customer.emailAddress.value : null,\r\n email2: null\r\n },\r\n vehicleDeal: {\r\n dealNumber: null,\r\n vin: this.replacementVin,\r\n saleType: repSaleType,\r\n },\r\n tradeIns: [\r\n {\r\n vin: this.currentVin,\r\n year: this.currentYear,\r\n make: this.currentMake,\r\n model: this.currentModel,\r\n odometer: this.currentMileage == null || Number.isNaN(this.currentMileage) ? 0 : this.currentMileage,\r\n allowance: this.currentTradeValue == null || Number.isNaN(this.currentTradeValue) ? 0 : this.currentTradeValue,\r\n }\r\n ]\r\n };\r\n \r\n if (parameters) {\r\n request.customer.dmsCustomerId = parameters.dmsCustomerId;\r\n request.customer.forceInsertCustomer = parameters.forceInsertCustomer;\r\n request.dealNumber = parameters.dmsDealId;\r\n }\r\n\r\n }\r\n return request;\r\n }\r\n\r\n private buildGetLatestPushRequest(): any {\r\n let request = {\r\n dealerId: this.dealerId,\r\n idReferences: [\r\n {\r\n type: 0,\r\n referenceId: this.customer.id\r\n }\r\n ],\r\n };\r\n\r\n return request;\r\n }\r\n\r\n public startWorkingState() {\r\n this.busy = new Promise((resolve) => {\r\n this.stopWorkingState = resolve;\r\n });\r\n }\r\n\r\n public stopWorkingState() { }\r\n\r\n public pushToDms(parameters): void {\r\n this.currentView = DisplayView.waitingView;\r\n this.startWorkingState();\r\n let request = this.buildRequest(parameters);\r\n \r\n if (this.currentRequestType == RequestType.fandI) {\r\n this.dealSheetService.dmsPushPushFAndI(request)\r\n .then(data => {\r\n if (data) {\r\n }\r\n else {\r\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\r\n }\r\n });\r\n }\r\n else {\r\n this.dealSheetService.dmsPushCustomer(request)\r\n .then(data => {\r\n if (data) {\r\n }\r\n else {\r\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\r\n }\r\n });\r\n }\r\n }\r\n\r\n confirmCustomerSelection(dmsCustomerId): void {\r\n let customer = this.customerMatches.find(c => c.dmsCustomerId == dmsCustomerId);\r\n let fullName = \"\";\r\n let message = null;\r\n if (customer && (customer.firstName || customer.lastName)) {\r\n fullName = ((customer.firstName == null ? \"\" : customer.firstName) + \" \" + (customer.lastName == null ? \"\" : customer.lastName)).trim();\r\n }\r\n message = this.domSanitizer.bypassSecurityTrustHtml(\"

Are you sure you wish to push this customer? This push will overwrite the customer and vehicle information.

\" + fullName + \"
\" + dmsCustomerId);\r\n\r\n const initialState = {\r\n message: message\r\n };\r\n\r\n const bsModalRef = this.modalService.show(ConfirmModalComponent, { initialState });\r\n\r\n bsModalRef.content.onClosed.subscribe((result: any) => {\r\n if (result.confirmed)\r\n this.pushSelectedCustomer(dmsCustomerId);\r\n });\r\n }\r\n\r\n public pushSelectedCustomer(dmsCustomerId): void {\r\n\r\n let parameters = {\r\n dmsCustomerId: dmsCustomerId,\r\n forceInsertCustomer: false,\r\n dmsDealId: null\r\n }\r\n\r\n this.pushToDms(parameters);\r\n }\r\n\r\n}\r\n\r\n\r\n\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar lodash_1 = require(\"lodash\");\nvar search_preset_service_1 = require(\"../../../services/search-preset.service\");\nvar SearchPresetCountsComponent = /** @class */ (function () {\n function SearchPresetCountsComponent(searchPresetService) {\n this.searchPresetService = searchPresetService;\n this.widgetStateChange = new core_1.EventEmitter();\n this.onRunDateChanged = new core_1.EventEmitter();\n this.defaultRowLimit = 5;\n this.maxRowLimit = 50;\n }\n SearchPresetCountsComponent.prototype.ngOnInit = function () {\n };\n SearchPresetCountsComponent.prototype.ngOnChanges = function (changes) {\n if (changes.widgetData && changes.widgetData.currentValue) {\n if (this.widgetData.presetCounts && this.widgetData.presetCounts.length > 0) {\n this.widgetData.presetCounts.sort(this.byOrder);\n this.onRunDateChanged.emit(this.widgetData.presetCounts[0].runDate);\n }\n if (this.widgetData.maxRowsDisplayed == null) {\n this.widgetData.maxRowsDisplayed = this.defaultRowLimit;\n }\n }\n if (changes.selectedDealerId && changes.selectedDealerId.currentValue) {\n if (this.widgetData == null) {\n this.widgetData = {};\n }\n this.widgetData.maxRowsDisplayed = this.defaultRowLimit;\n ;\n }\n };\n SearchPresetCountsComponent.prototype.increaseLimit = function () {\n var _this = this;\n var newMaxRowsDisplayed = this.maxRowLimit;\n if (this.widgetData == null) {\n this.widgetData = {};\n }\n this.widgetState = { maxRowsDisplayed: newMaxRowsDisplayed };\n this.widgetStateChange.emit(this.widgetState);\n var _a = this.widgetData, searchPresets = _a.searchPresets, unusedSearchPresets = _a.unusedSearchPresets, presetCounts = _a.presetCounts;\n var maxRemainingRows = Math.max(this.defaultRowLimit, newMaxRowsDisplayed - searchPresets.length);\n var searchPresetsToQuery = unusedSearchPresets.slice(0, maxRemainingRows);\n this.setLimitPromise =\n this.searchPresetService.getSearchPresetCounts(searchPresetsToQuery, false)\n .then(function (widgetData) {\n _this.widgetData = {\n searchPresets: searchPresets.concat(searchPresetsToQuery),\n unusedSearchPresets: lodash_1.difference(unusedSearchPresets, searchPresetsToQuery),\n presetCounts: presetCounts.concat(widgetData.presetCounts),\n maxRowsDisplayed: newMaxRowsDisplayed,\n };\n });\n };\n SearchPresetCountsComponent.prototype.byOrder = function (searchPreset1, searchPreset2) {\n return searchPreset1.order - searchPreset2.order;\n };\n return SearchPresetCountsComponent;\n}());\nexports.SearchPresetCountsComponent = SearchPresetCountsComponent;\n","import { Component, OnInit, Inject, Input, Output, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { difference } from 'lodash';\r\nimport { SearchPresetService } from '../../../services/search-preset.service';\r\nimport { PopoverModule } from 'ngx-bootstrap/popover';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'search-preset-counts',\r\n templateUrl: './search-preset-counts.component-ng.html',\r\n styleUrls: ['./search-preset-counts.component.scss']\r\n})\r\nexport class SearchPresetCountsComponent implements OnInit, OnChanges {\r\n @Input() widgetData: any;\r\n @Input() selectedDealerId: number;\r\n @Input() widgetState: any;\r\n @Output() widgetStateChange = new EventEmitter();\r\n @Output() onRunDateChanged = new EventEmitter();\r\n\r\n public readonly defaultRowLimit = 5;\r\n public readonly maxRowLimit = 50;\r\n\r\n setLimitPromise: any;\r\n\r\n\r\n constructor(\r\n private searchPresetService: SearchPresetService ) \r\n { }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.widgetData && changes.widgetData.currentValue) {\r\n if (this.widgetData.presetCounts && this.widgetData.presetCounts.length > 0) {\r\n this.widgetData.presetCounts.sort(this.byOrder)\r\n this.onRunDateChanged.emit(this.widgetData.presetCounts[0].runDate );\r\n }\r\n if (this.widgetData.maxRowsDisplayed == null) {\r\n this.widgetData.maxRowsDisplayed = this.defaultRowLimit;\r\n }\r\n }\r\n\r\n if (changes.selectedDealerId && changes.selectedDealerId.currentValue) {\r\n if (this.widgetData == null) {\r\n this.widgetData = {};\r\n }\r\n this.widgetData.maxRowsDisplayed = this.defaultRowLimit;;\r\n }\r\n \r\n }\r\n\r\n \r\n increaseLimit() {\r\n const newMaxRowsDisplayed = this.maxRowLimit;\r\n if (this.widgetData == null) {\r\n this.widgetData = {};\r\n }\r\n this.widgetState = { maxRowsDisplayed: newMaxRowsDisplayed };\r\n this.widgetStateChange.emit(this.widgetState);\r\n\r\n const { searchPresets, unusedSearchPresets, presetCounts } = this.widgetData;\r\n const maxRemainingRows = Math.max(this.defaultRowLimit, newMaxRowsDisplayed - searchPresets.length);\r\n const searchPresetsToQuery = unusedSearchPresets.slice(0, maxRemainingRows);\r\n\r\n this.setLimitPromise =\r\n this.searchPresetService.getSearchPresetCounts(searchPresetsToQuery, false)\r\n .then(widgetData => {\r\n this.widgetData = {\r\n searchPresets: [...searchPresets, ...searchPresetsToQuery],\r\n unusedSearchPresets: difference(unusedSearchPresets, searchPresetsToQuery),\r\n presetCounts: [...presetCounts, ...widgetData.presetCounts],\r\n maxRowsDisplayed: newMaxRowsDisplayed,\r\n };\r\n });\r\n }\r\n\r\n private byOrder(searchPreset1: any, searchPreset2: any) {\r\n return searchPreset1.order - searchPreset2.order;\r\n }\r\n\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar FactoryRebateComponent = /** @class */ (function () {\n function FactoryRebateComponent() {\n this.programSourceTypes = constants_1.ProgramSourceTypes;\n }\n FactoryRebateComponent.prototype.ngOnInit = function () {\n };\n return FactoryRebateComponent;\n}());\nexports.FactoryRebateComponent = FactoryRebateComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\nimport { ProgramSourceTypes } from '../../../../constants';\r\n\r\n\r\n @Component({\r\n selector: 'factory-rebate',\r\n templateUrl: './factory-rebate.component-ng.html',\r\n styleUrls: ['./factory-rebate.component.scss']\r\n })\r\n export class FactoryRebateComponent implements OnInit {\r\n @Input() value: any;\r\n @Input() programSourceId: number;\r\n public programSourceTypes = ProgramSourceTypes;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n }\r\n","require('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.map');\nmodule.exports = require('../modules/_core').Map;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mileage-penalty.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/common\"));\nvar i3 = __importStar(require(\"@ngx-translate/core\"));\nvar i4 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i5 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i6 = __importStar(require(\"./mileage-penalty.component\"));\nvar styles_MileagePenaltyComponent = [i0.styles];\nvar RenderType_MileagePenaltyComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MileagePenaltyComponent, data: {} });\nexports.RenderType_MileagePenaltyComponent = RenderType_MileagePenaltyComponent;\nfunction View_MileagePenaltyComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"span\", [[\"class\", \"field-data\"], [\"id\", \"mileage-penalty\"], [\"translate\", \"currentMileagePenalty\"]], null, null, null, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { mileage: 0 }), i1.ɵdid(4, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(5, 1), i1.ɵpod(6, { amount: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"field-data\"; var currVal_1 = _ck(_v, 3, 0, _co.alertExists); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"currentMileagePenalty\"; var currVal_3 = _ck(_v, 6, 0, i1.ɵunv(_v, 4, 1, _ck(_v, 5, 0, i1.ɵnov(_v.parent.parent, 0), _co.current))); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_MileagePenaltyComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"span\", [[\"class\", \"field-data\"], [\"id\", \"mileage-penalty\"], [\"translate\", \"currentProjectedMileagePenalty\"]], null, null, null, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { mileage: 0 }), i1.ɵdid(4, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(5, 1), i1.ɵppd(6, 1), i1.ɵpod(7, { current: 0, projected: 1 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"field-data\"; var currVal_1 = _ck(_v, 3, 0, _co.alertExists); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"currentProjectedMileagePenalty\"; var currVal_3 = _ck(_v, 7, 0, i1.ɵunv(_v, 4, 1, _ck(_v, 5, 0, i1.ɵnov(_v.parent.parent, 0), _co.current)), i1.ɵunv(_v, 4, 1, _ck(_v, 6, 0, i1.ɵnov(_v.parent.parent, 0), _co.projected))); _ck(_v, 4, 0, currVal_2, currVal_3); }, null); }\nfunction View_MileagePenaltyComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"mileage-penalty\"], [\"translate\", \"mileagePenaltyLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MileagePenaltyComponent_2)), i1.ɵdid(4, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MileagePenaltyComponent_3)), i1.ɵdid(6, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"mileagePenaltyLabel\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = ((_co.current != null) && (_co.projected == null)); _ck(_v, 4, 0, currVal_1); var currVal_2 = ((_co.current != null) && (_co.projected != null)); _ck(_v, 6, 0, currVal_2); }, null); }\nfunction View_MileagePenaltyComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i4.LocaleCurrencyPipe, [i5.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MileagePenaltyComponent_1)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.projected > 0) || (_co.current > 0)); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_MileagePenaltyComponent_0 = View_MileagePenaltyComponent_0;\nfunction View_MileagePenaltyComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mileage-penalty\", [], null, null, null, View_MileagePenaltyComponent_0, RenderType_MileagePenaltyComponent)), i1.ɵdid(1, 114688, null, 0, i6.MileagePenaltyComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MileagePenaltyComponent_Host_0 = View_MileagePenaltyComponent_Host_0;\nvar MileagePenaltyComponentNgFactory = i1.ɵccf(\"mileage-penalty\", i6.MileagePenaltyComponent, View_MileagePenaltyComponent_Host_0, { current: \"current\", projected: \"projected\", alertExists: \"alertExists\" }, {}, []);\nexports.MileagePenaltyComponentNgFactory = MileagePenaltyComponentNgFactory;\n","
0 || current > 0\">\r\n \r\n \r\n \r\n
\r\n","// @@search logic\nrequire('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search) {\n // 21.1.3.15 String.prototype.search(regexp)\n return [function search(regexp) {\n 'use strict';\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n }, $search];\n});\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar UserClientService = /** @class */ (function (_super) {\n __extends(UserClientService, _super);\n function UserClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @return Success\n */\n UserClientService.prototype.LoggedInUserGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/User/LoggedInUser\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n UserClientService.prototype.LoggedInUserGET = function () {\n return this.LoggedInUserGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n UserClientService.prototype.CurrentUserGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/User/CurrentUser\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n UserClientService.prototype.CurrentUserGET = function () {\n return this.CurrentUserGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param username undefined\n * @return Success\n */\n UserClientService.prototype.GetUserByUsernameGETResponse = function (username) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/User/GetUser/\" + username), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param username undefined\n * @return Success\n */\n UserClientService.prototype.GetUserByUsernameGET = function (username) {\n return this.GetUserByUsernameGETResponse(username).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n UserClientService.prototype.GetEnabledUsersForDealerByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/User/GetEnabledUsersForDealer/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n UserClientService.prototype.GetEnabledUsersForDealerByDealeridGET = function (dealerId) {\n return this.GetEnabledUsersForDealerByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n UserClientService.prototype.GetEnabledClientUsersExtByDealerByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/User/GetEnabledClientUsersExtByDealer/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n UserClientService.prototype.GetEnabledClientUsersExtByDealerByDealeridGET = function (dealerId) {\n return this.GetEnabledClientUsersExtByDealerByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param userId undefined\n * @return Success\n */\n UserClientService.prototype.GetUserFullNameByUseridGETResponse = function (userId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/User/FullName/\" + userId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param userId undefined\n * @return Success\n */\n UserClientService.prototype.GetUserFullNameByUseridGET = function (userId) {\n return this.GetUserFullNameByUseridGETResponse(userId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n UserClientService.prototype.GetUserFullNameByEntityByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/User/FullNameByEntity/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n UserClientService.prototype.GetUserFullNameByEntityByEntityidGET = function (entityId) {\n return this.GetUserFullNameByEntityByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n UserClientService.prototype.GetEntityUserInfoByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/User/GetEntityUserInfo/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n UserClientService.prototype.GetEntityUserInfoByEntityidGET = function (entityId) {\n return this.GetEntityUserInfoByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n UserClientService.prototype.LogUserLoginPOSTResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/User/LogUserLogin\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n UserClientService.prototype.LogUserLoginPOST = function () {\n return this.LogUserLoginPOSTResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param emailAddress undefined\n * @return Success\n */\n UserClientService.prototype.FacebookUserIdByEmailaddressGETResponse = function (emailAddress) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/User/FacebookUserId/\" + emailAddress), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param emailAddress undefined\n * @return Success\n */\n UserClientService.prototype.FacebookUserIdByEmailaddressGET = function (emailAddress) {\n return this.FacebookUserIdByEmailaddressGETResponse(emailAddress).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n UserClientService.prototype.GetUserDealersGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/User/GetUserDealers\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n UserClientService.prototype.GetUserDealersGET = function () {\n return this.GetUserDealersGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param countryId undefined\n * @return Success\n */\n UserClientService.prototype.GetUserIsMetricByCountryidGETResponse = function (countryId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/User/GetUserIsMetric/\" + countryId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: _r.body === 'true' });\n }));\n };\n /**\n * @param countryId undefined\n * @return Success\n */\n UserClientService.prototype.GetUserIsMetricByCountryidGET = function (countryId) {\n return this.GetUserIsMetricByCountryidGETResponse(countryId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `UserClientService.CheckUserIPGETParams` containing the following parameters:\n *\n * - `userName`:\n *\n * - `isMobile`:\n *\n * - `ipAddress`:\n *\n * - `dealerIds`:\n *\n * @return Success\n */\n UserClientService.prototype.CheckUserIPGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.userName != null)\n __params = __params.set('userName', params.userName.toString());\n if (params.isMobile != null)\n __params = __params.set('isMobile', params.isMobile.toString());\n if (params.ipAddress != null)\n __params = __params.set('ipAddress', params.ipAddress.toString());\n (params.dealerIds || []).forEach(function (val) { if (val != null)\n __params = __params.append('dealerIds', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/User/CheckUserIP\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `UserClientService.CheckUserIPGETParams` containing the following parameters:\n *\n * - `userName`:\n *\n * - `isMobile`:\n *\n * - `ipAddress`:\n *\n * - `dealerIds`:\n *\n * @return Success\n */\n UserClientService.prototype.CheckUserIPGET = function (params) {\n return this.CheckUserIPGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n UserClientService.prototype.IsWhiteSalePartnerGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/User/IsWhiteSalePartner\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: _r.body === 'true' });\n }));\n };\n /**\n * @return Success\n */\n UserClientService.prototype.IsWhiteSalePartnerGET = function () {\n return this.IsWhiteSalePartnerGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n UserClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/User/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n UserClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n UserClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/User/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n UserClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n UserClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/User/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n UserClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n UserClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/User\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n UserClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n UserClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/User\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n UserClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n UserClientService.LoggedInUserGETPath = '/api/User/LoggedInUser';\n UserClientService.CurrentUserGETPath = '/api/User/CurrentUser';\n UserClientService.GetUserByUsernameGETPath = '/api/User/GetUser/{username}';\n UserClientService.GetEnabledUsersForDealerByDealeridGETPath = '/api/User/GetEnabledUsersForDealer/{dealerId}';\n UserClientService.GetEnabledClientUsersExtByDealerByDealeridGETPath = '/api/User/GetEnabledClientUsersExtByDealer/{dealerId}';\n UserClientService.GetUserFullNameByUseridGETPath = '/api/User/FullName/{userId}';\n UserClientService.GetUserFullNameByEntityByEntityidGETPath = '/api/User/FullNameByEntity/{entityId}';\n UserClientService.GetEntityUserInfoByEntityidGETPath = '/api/User/GetEntityUserInfo/{entityId}';\n UserClientService.LogUserLoginPOSTPath = '/api/User/LogUserLogin';\n UserClientService.FacebookUserIdByEmailaddressGETPath = '/api/User/FacebookUserId/{emailAddress}';\n UserClientService.GetUserDealersGETPath = '/api/User/GetUserDealers';\n UserClientService.GetUserIsMetricByCountryidGETPath = '/api/User/GetUserIsMetric/{countryId}';\n UserClientService.CheckUserIPGETPath = '/api/User/CheckUserIP';\n UserClientService.IsWhiteSalePartnerGETPath = '/api/User/IsWhiteSalePartner';\n UserClientService.ByIdGETPath = '/api/User/{id}';\n UserClientService.ByIdDELETEPath = '/api/User/{id}';\n UserClientService.GetManyGETPath = '/api/User/GetMany';\n UserClientService.PUTPath = '/api/User';\n UserClientService.POSTPath = '/api/User';\n UserClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function UserClientService_Factory() { return new UserClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: UserClientService, providedIn: \"root\" });\n return UserClientService;\n}(base_service_1.BaseService));\nexports.UserClientService = UserClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { CoreApiPrincipal } from '../models/core-api-principal';\r\nimport { UserDto } from '../models/user-dto';\r\nimport { UserExtDto } from '../models/user-ext-dto';\r\nimport { EntityUserInfoDto } from '../models/entity-user-info-dto';\r\nimport { UserDealerModel } from '../models/user-dealer-model';\r\nimport { CheckUserIPResultDto } from '../models/check-user-ipresult-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass UserClientService extends __BaseService {\r\n static readonly LoggedInUserGETPath = '/api/User/LoggedInUser';\r\n static readonly CurrentUserGETPath = '/api/User/CurrentUser';\r\n static readonly GetUserByUsernameGETPath = '/api/User/GetUser/{username}';\r\n static readonly GetEnabledUsersForDealerByDealeridGETPath = '/api/User/GetEnabledUsersForDealer/{dealerId}';\r\n static readonly GetEnabledClientUsersExtByDealerByDealeridGETPath = '/api/User/GetEnabledClientUsersExtByDealer/{dealerId}';\r\n static readonly GetUserFullNameByUseridGETPath = '/api/User/FullName/{userId}';\r\n static readonly GetUserFullNameByEntityByEntityidGETPath = '/api/User/FullNameByEntity/{entityId}';\r\n static readonly GetEntityUserInfoByEntityidGETPath = '/api/User/GetEntityUserInfo/{entityId}';\r\n static readonly LogUserLoginPOSTPath = '/api/User/LogUserLogin';\r\n static readonly FacebookUserIdByEmailaddressGETPath = '/api/User/FacebookUserId/{emailAddress}';\r\n static readonly GetUserDealersGETPath = '/api/User/GetUserDealers';\r\n static readonly GetUserIsMetricByCountryidGETPath = '/api/User/GetUserIsMetric/{countryId}';\r\n static readonly CheckUserIPGETPath = '/api/User/CheckUserIP';\r\n static readonly IsWhiteSalePartnerGETPath = '/api/User/IsWhiteSalePartner';\r\n static readonly ByIdGETPath = '/api/User/{id}';\r\n static readonly ByIdDELETEPath = '/api/User/{id}';\r\n static readonly GetManyGETPath = '/api/User/GetMany';\r\n static readonly PUTPath = '/api/User';\r\n static readonly POSTPath = '/api/User';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n LoggedInUserGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/LoggedInUser`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n LoggedInUserGET(): __Observable {\r\n return this.LoggedInUserGETResponse().pipe(\r\n __map(_r => _r.body as CoreApiPrincipal)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n CurrentUserGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/CurrentUser`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n CurrentUserGET(): __Observable {\r\n return this.CurrentUserGETResponse().pipe(\r\n __map(_r => _r.body as UserDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param username undefined\r\n * @return Success\r\n */\r\n GetUserByUsernameGETResponse(username: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/GetUser/${username}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param username undefined\r\n * @return Success\r\n */\r\n GetUserByUsernameGET(username: string): __Observable {\r\n return this.GetUserByUsernameGETResponse(username).pipe(\r\n __map(_r => _r.body as UserDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetEnabledUsersForDealerByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/GetEnabledUsersForDealer/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetEnabledUsersForDealerByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetEnabledUsersForDealerByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetEnabledClientUsersExtByDealerByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/GetEnabledClientUsersExtByDealer/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetEnabledClientUsersExtByDealerByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetEnabledClientUsersExtByDealerByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param userId undefined\r\n * @return Success\r\n */\r\n GetUserFullNameByUseridGETResponse(userId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/FullName/${userId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param userId undefined\r\n * @return Success\r\n */\r\n GetUserFullNameByUseridGET(userId: number): __Observable {\r\n return this.GetUserFullNameByUseridGETResponse(userId).pipe(\r\n __map(_r => _r.body as string)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetUserFullNameByEntityByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/FullNameByEntity/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetUserFullNameByEntityByEntityidGET(entityId: string): __Observable {\r\n return this.GetUserFullNameByEntityByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as string)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetEntityUserInfoByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/GetEntityUserInfo/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetEntityUserInfoByEntityidGET(entityId: string): __Observable {\r\n return this.GetEntityUserInfoByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as EntityUserInfoDto)\r\n );\r\n }\r\n LogUserLoginPOSTResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/User/LogUserLogin`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n } LogUserLoginPOST(): __Observable {\r\n return this.LogUserLoginPOSTResponse().pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param emailAddress undefined\r\n * @return Success\r\n */\r\n FacebookUserIdByEmailaddressGETResponse(emailAddress: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/FacebookUserId/${emailAddress}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param emailAddress undefined\r\n * @return Success\r\n */\r\n FacebookUserIdByEmailaddressGET(emailAddress: string): __Observable {\r\n return this.FacebookUserIdByEmailaddressGETResponse(emailAddress).pipe(\r\n __map(_r => _r.body as string)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n GetUserDealersGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/GetUserDealers`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n GetUserDealersGET(): __Observable {\r\n return this.GetUserDealersGETResponse().pipe(\r\n __map(_r => _r.body as UserDealerModel)\r\n );\r\n }\r\n\r\n /**\r\n * @param countryId undefined\r\n * @return Success\r\n */\r\n GetUserIsMetricByCountryidGETResponse(countryId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/GetUserIsMetric/${countryId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: (_r as HttpResponse).body === 'true' }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param countryId undefined\r\n * @return Success\r\n */\r\n GetUserIsMetricByCountryidGET(countryId: number): __Observable {\r\n return this.GetUserIsMetricByCountryidGETResponse(countryId).pipe(\r\n __map(_r => _r.body as boolean)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `UserClientService.CheckUserIPGETParams` containing the following parameters:\r\n *\r\n * - `userName`:\r\n *\r\n * - `isMobile`:\r\n *\r\n * - `ipAddress`:\r\n *\r\n * - `dealerIds`:\r\n *\r\n * @return Success\r\n */\r\n CheckUserIPGETResponse(params: UserClientService.CheckUserIPGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.userName != null) __params = __params.set('userName', params.userName.toString());\r\n if (params.isMobile != null) __params = __params.set('isMobile', params.isMobile.toString());\r\n if (params.ipAddress != null) __params = __params.set('ipAddress', params.ipAddress.toString());\r\n (params.dealerIds || []).forEach(val => {if (val != null) __params = __params.append('dealerIds', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/CheckUserIP`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `UserClientService.CheckUserIPGETParams` containing the following parameters:\r\n *\r\n * - `userName`:\r\n *\r\n * - `isMobile`:\r\n *\r\n * - `ipAddress`:\r\n *\r\n * - `dealerIds`:\r\n *\r\n * @return Success\r\n */\r\n CheckUserIPGET(params: UserClientService.CheckUserIPGETParams): __Observable {\r\n return this.CheckUserIPGETResponse(params).pipe(\r\n __map(_r => _r.body as CheckUserIPResultDto)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n IsWhiteSalePartnerGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/IsWhiteSalePartner`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: (_r as HttpResponse).body === 'true' }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n IsWhiteSalePartnerGET(): __Observable {\r\n return this.IsWhiteSalePartnerGETResponse().pipe(\r\n __map(_r => _r.body as boolean)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as UserDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/User/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/User/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: UserDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/User`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: UserDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: UserDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/User`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: UserDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as UserDto)\r\n );\r\n }\r\n}\r\n\r\nmodule UserClientService {\r\n\r\n /**\r\n * Parameters for CheckUserIPGET\r\n */\r\n export interface CheckUserIPGETParams {\r\n userName?: string;\r\n isMobile?: boolean;\r\n ipAddress?: string;\r\n dealerIds?: Array;\r\n }\r\n}\r\n\r\nexport { UserClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MailFormat = {\n Mail: 1,\n Email: 2\n};\n","export const MailFormat = {\r\n Mail: 1,\r\n Email: 2\r\n};","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = require('./_export');\n\n$export($export.P, 'Function', { bind: require('./_bind') });\n","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OpportunityStatuses = {\n scheduled: 1,\n sold: 2,\n closed: 3,\n open: 4\n};\n","export const OpportunityStatuses = {\r\n scheduled: 1,\r\n sold: 2,\r\n closed: 3,\r\n open: 4\r\n};\r\n","var path = '/app/components/deal-sheet/contract/monthly-mileage.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"\"","var path = '/app/components/search/search-manage-presets-container.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \".redactor_toolbar li a.re-button {\\n background-image: url('/images/insert-button.png');\\n}\\n\\n.redactor_toolbar li a.re-button:hover {\\n background-image: url('/images/insert-button-hover.png');\\n}\\n\\n.re-icon.re-layout.redactor-btn-image {\\n background-image: url('/images/insert-layout.png');\\n}\\n\\n.re-icon.re-layout.redactor-btn-image:hover {\\n background-image: url('/images/insert-layout-hover.png');\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2NyaXB0cy9yZWRhY3Rvci9DOlxcQXV0b0FsZXJ0XFx3b3Jrc3BhY2VcXEFsZXJ0TWluZXItUG9ydGFsX3JlbGVhc2VfNi42My4wXFxBdXRvQWxlcnQuUG9ydGFsLk9wcG9ydHVuaXRpZXMvc3JjXFxhcHBcXHNjcmlwdHNcXHJlZGFjdG9yXFxhdXRvYWxlcnQucmVkYWN0b3IuYnV0dG9uLnNjc3MiLCJzcmMvYXBwL3NjcmlwdHMvcmVkYWN0b3IvYXV0b2FsZXJ0LnJlZGFjdG9yLmJ1dHRvbi5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBO0VBQ0ksbURBQUE7Q0NBSDs7QURFRDtFQUNJLHlEQUFBO0ND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bn1cblxuLnJlLWljb24ucmUtbGF5b3V0LnJlZGFjdG9yLWJ0bi1pbWFnZSB7XG4gIGJhY2tncm91bmQtaW1hZ2U6IHVybChcIn4vaW1hZ2VzL2luc2VydC1sYXlvdXQucG5nXCIpO1xufVxuXG4ucmUtaWNvbi5yZS1sYXlvdXQucmVkYWN0b3ItYnRuLWltYWdlOmhvdmVyIHtcbiAgYmFja2dyb3VuZC1pbWFnZTogdXJsKFwifi9pbWFnZXMvaW5zZXJ0LWxheW91dC1ob3Zlci5wbmdcIik7XG59Il19 */\"","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export');\nvar setProto = require('./_set-proto');\n\nif (setProto) $export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch (e) {\n return false;\n }\n }\n});\n","var path = '/app/components/dashboard/dashboard.component.html';\nvar html = \"
1, 'col-md-12': $ctrl.dealers.length == 1}\\\">
  • 1\\\" ng-repeat=\\\"tab in $ctrl.tabs\\\" class=\\\"dashboardtab\\\" ui-sref-active=\\\"active\\\">
1\\\">

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar each = require('./_array-methods')(0);\nvar redefine = require('./_redefine');\nvar meta = require('./_meta');\nvar assign = require('./_object-assign');\nvar weak = require('./_collection-weak');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar validate = require('./_validate-collection');\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar tmp = {};\nvar InternalMap;\n\nvar wrapper = function (get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n if (isObject(key)) {\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return weak.def(validate(this, WEAK_MAP), key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) {\n InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function (key) {\n var proto = $WeakMap.prototype;\n var method = proto[key];\n redefine(proto, key, function (a, b) {\n // store frozen objects on internal weakmap shim\n if (isObject(a) && !isExtensible(a)) {\n if (!this._f) this._f = new InternalMap();\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n","var path = '/app/components/deal-sheet/credit-prescreen.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n\nmodule.exports = function repeat(count) {\n var str = String(defined(this));\n var res = '';\n var n = toInteger(count);\n if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n return res;\n};\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./repair-orders.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"./repair-orders.component\"));\nvar i5 = __importStar(require(\"../../../../filters/locale-date.pipe\"));\nvar styles_RepairOrdersComponent = [i0.styles];\nvar RenderType_RepairOrdersComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_RepairOrdersComponent, data: {} });\nexports.RenderType_RepairOrdersComponent = RenderType_RepairOrdersComponent;\nfunction View_RepairOrdersComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"translate\", \"recentRepairOrderLabel\"]], [[8, \"htmlFor\", 0]], null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 4, \"span\", [[\"class\", \"field-data qa-repair-order-date\"]], [[8, \"id\", 0]], null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(5, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(6, { service: 0 }), (_l()(), i1.ɵted(7, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"recentRepairOrderLabel\"; _ck(_v, 2, 0, currVal_1); var currVal_3 = \"field-data qa-repair-order-date\"; var currVal_4 = _ck(_v, 6, 0, _co.alertExists); _ck(_v, 5, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.idUnique, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", _co.idUnique, \"\"); _ck(_v, 3, 0, currVal_2); var currVal_5 = _co.recentRepairOrder; _ck(_v, 7, 0, currVal_5); }); }\nfunction View_RepairOrdersComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_RepairOrdersComponent_1)), i1.ɵdid(1, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.date; _ck(_v, 1, 0, currVal_0); }, null); }\nexports.View_RepairOrdersComponent_0 = View_RepairOrdersComponent_0;\nfunction View_RepairOrdersComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"repair-orders\", [], null, null, null, View_RepairOrdersComponent_0, RenderType_RepairOrdersComponent)), i1.ɵdid(1, 638976, null, 0, i4.RepairOrdersComponent, [i5.LocaleDatePipe, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_RepairOrdersComponent_Host_0 = View_RepairOrdersComponent_Host_0;\nvar RepairOrdersComponentNgFactory = i1.ɵccf(\"repair-orders\", i4.RepairOrdersComponent, View_RepairOrdersComponent_Host_0, { date: \"date\", total: \"total\", alertExists: \"alertExists\", abbreviate: \"abbreviate\" }, {}, []);\nexports.RepairOrdersComponentNgFactory = RepairOrdersComponentNgFactory;\n","
\r\n \r\n {{recentRepairOrder}}\r\n
\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./customer-culture-select.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"./customer-culture-select.component\"));\nvar i5 = __importStar(require(\"@ngx-translate/core\"));\nvar styles_CustomerCultureSelectComponent = [i0.styles];\nvar RenderType_CustomerCultureSelectComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CustomerCultureSelectComponent, data: {} });\nexports.RenderType_CustomerCultureSelectComponent = RenderType_CustomerCultureSelectComponent;\nfunction View_CustomerCultureSelectComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"label\", [[\"style\", \"padding-right:4px;\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.selectCultureLabel; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_CustomerCultureSelectComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [[\"value\", \"\"]], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"\"; _ck(_v, 1, 0, currVal_0); var currVal_1 = \"\"; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.selectCultureEmptyValueText; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_CustomerCultureSelectComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(2, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _v.context.$implicit.name, \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _v.context.$implicit.name, \"\"); _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.displayName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_CustomerCultureSelectComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"customer-culture-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerCultureSelectComponent_1)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 9, \"select\", [[\"class\", \"form-control preferred-language-select\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedCultureName = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.cultureChange($event) !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(6, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(8, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerCultureSelectComponent_2)), i1.ɵdid(10, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerCultureSelectComponent_3)), i1.ɵdid(12, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.selectCultureLabel; _ck(_v, 2, 0, currVal_0); var currVal_8 = i1.ɵinlineInterpolate(1, \"\", _co.isDisabled, \"\"); var currVal_9 = _co.selectedCultureName; _ck(_v, 6, 0, currVal_8, currVal_9); var currVal_10 = _co.includeEmptyEntry; _ck(_v, 10, 0, currVal_10); var currVal_11 = _co.customerCultures; _ck(_v, 12, 0, currVal_11); }, function (_ck, _v) { var currVal_1 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 8).ngClassValid; var currVal_6 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nexports.View_CustomerCultureSelectComponent_0 = View_CustomerCultureSelectComponent_0;\nfunction View_CustomerCultureSelectComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-culture-select\", [], null, null, null, View_CustomerCultureSelectComponent_0, RenderType_CustomerCultureSelectComponent)), i1.ɵdid(1, 638976, null, 0, i4.CustomerCultureSelectComponent, [i5.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CustomerCultureSelectComponent_Host_0 = View_CustomerCultureSelectComponent_Host_0;\nvar CustomerCultureSelectComponentNgFactory = i1.ɵccf(\"customer-culture-select\", i4.CustomerCultureSelectComponent, View_CustomerCultureSelectComponent_Host_0, { preferredCultureName: \"preferredCultureName\", selectLabelKey: \"selectLabelKey\", includeEmptyEntry: \"includeEmptyEntry\", selectedDealerId: \"selectedDealerId\", isDisabled: \"isDisabled\" }, { preferredCultureNameChange: \"preferredCultureNameChange\" }, []);\nexports.CustomerCultureSelectComponentNgFactory = CustomerCultureSelectComponentNgFactory;\n","
\r\n \r\n \r\n
","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","var getKeys = require('./_object-keys');\nvar toIObject = require('./_to-iobject');\nvar isEnum = require('./_object-pie').f;\nmodule.exports = function (isEntries) {\n return function (it) {\n var O = toIObject(it);\n var keys = getKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) if (isEnum.call(O, key = keys[i++])) {\n result.push(isEntries ? [key, O[key]] : O[key]);\n } return result;\n };\n};\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nrequire(\"./polyfills\");\nvar angular = __importStar(require(\"angular\"));\nvar static_1 = require(\"@angular/upgrade/static\");\nstatic_1.setAngularJSGlobal(angular);\nrequire(\"zone.js\");\nrequire(\"reflect-metadata\");\nvar core_1 = require(\"@uirouter/core\");\nvar core_2 = require(\"@angular/core\");\nvar constants_1 = require(\"./constants\");\nvar __NgCli_bootstrap_1 = __importStar(require(\"./app.module.ngfactory\"));\nvar __NgCli_bootstrap_2 = __importStar(require(\"@angular/platform-browser\"));\n// Using AngularJS config block, call `deferIntercept()`.\n// This tells UI-Router to delay the initial URL sync (until all bootstrapping is complete)\nangular.module('AaApp.Opp').config(['$urlServiceProvider', function ($urlService) { return $urlService.deferIntercept(); }]);\nif (constants_1.Settings.environmentVariables.angularProdMode) {\n core_2.enableProdMode();\n}\n__NgCli_bootstrap_2.platformBrowser().bootstrapModuleFactory(__NgCli_bootstrap_1.AppModuleNgFactory)\n .then(function (platformRef) {\n // Intialize the Angular Module\n // get() the UIRouter instance from DI to initialize the router\n var urlService = platformRef.injector.get(core_1.UIRouter).urlService;\n // Instruct UIRouter to listen to URL changes\n function startUIRouter() {\n urlService.listen();\n urlService.sync();\n }\n platformRef.injector.get(core_2.NgZone).run(startUIRouter);\n});\n","import './polyfills';\r\n\r\nimport * as angular from 'angular';\r\nimport { setAngularJSGlobal } from '@angular/upgrade/static';\r\nsetAngularJSGlobal(angular);\r\n\r\nimport 'zone.js';\r\nimport 'reflect-metadata';\r\n\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app.module';\r\n\r\nimport { UIRouter, UrlService } from '@uirouter/core';\r\nimport { NgZone, enableProdMode } from '@angular/core';\r\nimport { Settings } from './constants';\r\n\r\n// Using AngularJS config block, call `deferIntercept()`.\r\n// This tells UI-Router to delay the initial URL sync (until all bootstrapping is complete)\r\nangular.module('AaApp.Opp').config(['$urlServiceProvider', ($urlService: UrlService) => $urlService.deferIntercept()]);\r\n\r\n\r\nif (Settings.environmentVariables.angularProdMode) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .then(platformRef => {\r\n\r\n // Intialize the Angular Module\r\n // get() the UIRouter instance from DI to initialize the router\r\n const urlService: UrlService = platformRef.injector.get(UIRouter).urlService;\r\n\r\n // Instruct UIRouter to listen to URL changes\r\n function startUIRouter() {\r\n urlService.listen();\r\n urlService.sync();\r\n }\r\n\r\n\r\n platformRef.injector.get(NgZone).run(startUIRouter);\r\n });\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./text-action.component-ng.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/common\"));\nvar i3 = __importStar(require(\"@ngx-translate/core\"));\nvar i4 = __importStar(require(\"@angular/forms\"));\nvar i5 = __importStar(require(\"ng-busy\"));\nvar i6 = __importStar(require(\"./text-action.component\"));\nvar i7 = __importStar(require(\"@angular/platform-browser\"));\nvar i8 = __importStar(require(\"../../../services/user.service\"));\nvar i9 = __importStar(require(\"../../../core/toaster-logger.service\"));\nvar i10 = __importStar(require(\"../../../services/notification.service\"));\nvar i11 = __importStar(require(\"../../../services/authorization.service\"));\nvar i12 = __importStar(require(\"../../../services/text-message.service\"));\nvar i13 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar i14 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar styles_TextActionComponent = [i0.styles];\nvar RenderType_TextActionComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TextActionComponent, data: {} });\nexports.RenderType_TextActionComponent = RenderType_TextActionComponent;\nfunction View_TextActionComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"a\", [[\"class\", \"btn qa-text-btn\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openDialog() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"disabled link-disabled-but-looks-enabled\": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 3, \"span\", [], null, null, null, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(6, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(7, { \"icon-class icon -size-24 text-icon\": 0, \"sms-icon\": 1, \"do-not-text-icon\": 2 }), (_l()(), i1.ɵeld(8, 0, null, null, 3, \"div\", [[\"class\", \"caption\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"btn qa-text-btn\"; var currVal_1 = _ck(_v, 3, 0, !_co.isTextable); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = _ck(_v, 7, 0, true, _co.isTextable, !_co.isTextable); _ck(_v, 6, 0, currVal_2); }, function (_ck, _v) { var currVal_3 = i1.ɵunv(_v, 10, 0, i1.ɵnov(_v, 11).transform(\"textActivity\")); _ck(_v, 10, 0, currVal_3); }); }\nfunction View_TextActionComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary btn-sm shortcut-action-btn\"], [\"translate\", \"sendText\"], [\"type\", \"button\"]], [[1, \"title\", 0], [8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openDialog() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\"Send Text\"]))], function (_ck, _v) { var currVal_2 = \"sendText\"; _ck(_v, 1, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.tooltip; var currVal_1 = !_co.isTextable; _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_TextActionComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [], [[8, \"selected\", 0]], null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i4.NgSelectOption, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), i1.ɵdid(2, 147456, null, 0, i4.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_1 = i1.ɵinlineInterpolate(1, \"\", _v.context.$implicit.value, \"\"); _ck(_v, 1, 0, currVal_1); var currVal_2 = i1.ɵinlineInterpolate(1, \"\", _v.context.$implicit.value, \"\"); _ck(_v, 2, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value === _co.last6Months); _ck(_v, 0, 0, currVal_0); var currVal_3 = _v.context.$implicit.text; _ck(_v, 3, 0, currVal_3); }); }\nfunction View_TextActionComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"modal-title center-modal-title center\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"h4\", [[\"class\", \"modal-header-text\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \" \", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.opportunity.customer.firstName; var currVal_1 = _co.opportunity.customer.lastName; _ck(_v, 2, 0, currVal_0, currVal_1); }); }\nfunction View_TextActionComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"id\", \"dateLine\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.displayDate; _ck(_v, 3, 0, currVal_0); }); }\nfunction View_TextActionComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"user-avatar no-user-avatar\"]], null, null, null, null, null))], null, null); }\nfunction View_TextActionComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"user-avatar\"]], [[4, \"background-image\", null]], null, null, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"no-user-avatar\": 0 })], function (_ck, _v) { var currVal_1 = \"user-avatar\"; var currVal_2 = _ck(_v, 3, 0, !_v.parent.context.$implicit.avatarUrl); _ck(_v, 2, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getSanitizedAvatar(_v.parent.context.$implicit); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_TextActionComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_7)), i1.ɵdid(2, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 13, \"div\", [[\"class\", \"message\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 8, \"div\", [[\"class\", \"text-row\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_8)), i1.ɵdid(6, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"bubble\"]], null, null, null, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(9, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 0, \"span\", [[\"class\", \"message text-content\"]], [[8, \"innerHTML\", 1]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.textMessageService.downloadUpgradeProposalIfAvailable($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_9)), i1.ɵdid(12, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 3, \"div\", [[\"class\", \"message-footer\"]], null, null, null, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(15, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), (_l()(), i1.ɵted(16, null, [\" \", \" \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.shouldDisplayDateLine(_v.context.index); _ck(_v, 2, 0, currVal_0); var currVal_1 = !_v.context.$implicit.outgoing; _ck(_v, 6, 0, currVal_1); var currVal_2 = \"bubble\"; var currVal_3 = (_v.context.$implicit.outgoing ? \"bubble-user\" : \"bubble-customer\"); _ck(_v, 9, 0, currVal_2, currVal_3); var currVal_5 = _v.context.$implicit.outgoing; _ck(_v, 12, 0, currVal_5); var currVal_6 = \"message-footer\"; var currVal_7 = (_v.context.$implicit.outgoing ? \"message-footer-user\" : \"message-footer-customer\"); _ck(_v, 15, 0, currVal_6, currVal_7); }, function (_ck, _v) { var currVal_4 = _v.context.$implicit.cleanedMessage; _ck(_v, 10, 0, currVal_4); var currVal_8 = _v.context.$implicit.messageFooter; _ck(_v, 16, 0, currVal_8); }); }\nfunction View_TextActionComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"a\", [[\"class\", \"insert-upgrade-proposal\"], [\"href\", \"#\"], [\"translate\", \"insertUpgradeProposalLinkLabel\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.insertUpgradeProposalLink() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"insertUpgradeProposalLinkLabel\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_TextActionComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 72, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"text-action-wrapper\"]], [[1, \"title\", 0]], null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_2)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_3)), i1.ɵdid(5, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 50, \"div\", [[\"class\", \"modal fade text-modal\"], [\"id\", \"textModal\"], [\"role\", \"dialog\"], [\"tabindex\", \"-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 49, \"div\", [[\"class\", \"modal-dialog texting-dialog\"], [\"role\", \"document\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 48, \"div\", [[\"class\", \"modal-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 22, \"div\", [[\"class\", \"modal-title-bar\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 21, \"div\", [[\"class\", \"modal-title-bar-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 3, \"div\", [[\"class\", \"timespan-selector pull-left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"select\", [], null, [[null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (_co.timeSpanChanged($event.target.value) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_4)), i1.ɵdid(14, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_5)), i1.ɵdid(16, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 13, \"div\", [[\"class\", \"modal-header-buttons pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 10, \"div\", [[\"class\", \"btn-group btn-group-sm service-sales-buttons\"], [\"role\", \"group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 4, \"button\", [[\"translate\", \"text_sales\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSalesServiceSelection(_co.authorizationKeys.SendTextSales) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(21, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(22, { \"btn btn-default\": 0, \"active\": 1 }), i1.ɵdid(23, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(24, 0, null, null, 4, \"button\", [[\"translate\", \"text_service\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.toggleSalesServiceSelection(_co.authorizationKeys.SendTextService) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i2.ɵNgClassImpl, i2.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(26, 278528, null, 0, i2.NgClass, [i2.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(27, { \"btn btn-default\": 0, \"active\": 1 }), i1.ɵdid(28, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"span\", [[\"class\", \"icon aa-icon-close-icon\"], [\"data-dismiss\", \"modal\"]], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(31, 0, null, null, 0, \"div\", [[\"style\", \"clear: both\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 16777216, [[1, 0], [\"modalBody\", 1]], null, 6, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), i1.ɵprd(512, null, i5.InstanceConfigHolderService, i5.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i5.ɵa, i5.ɵa, []), i1.ɵdid(35, 409600, null, 0, i5.NgBusyDirective, [i5.ɵb, i5.InstanceConfigHolderService, i1.ComponentFactoryResolver, i5.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(36, { busy: 0, delay: 1 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_6)), i1.ɵdid(38, 278528, null, 0, i2.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(39, 0, null, null, 17, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(40, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(41, 0, null, null, 1, \"span\", [[\"class\", \"chat-message-attachment-svg\"]], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(43, 0, [[2, 0], [\"newTextMessage\", 1]], null, 7, \"textarea\", [[\"class\", \"form-control new-text-message\"], [\"cols\", \"60\"], [\"id\", \"newTextMessage\"], [\"maxlength\", \"500\"]], [[8, \"rows\", 0], [8, \"placeholder\", 0], [1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 44)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 44).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 44)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 44)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.newTextMessageValue = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(44, 16384, null, 0, i4.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i4.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(45, 540672, null, 0, i4.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i1.ɵprd(1024, null, i4.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i4.MaxLengthValidator]), i1.ɵprd(1024, null, i4.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i4.DefaultValueAccessor]), i1.ɵdid(48, 671744, null, 0, i4.NgModel, [[8, null], [6, i4.NG_VALIDATORS], [8, null], [6, i4.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i4.NgControl, null, [i4.NgModel]), i1.ɵdid(50, 16384, null, 0, i4.NgControlStatus, [[4, i4.NgControl]], null, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_10)), i1.ɵdid(52, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(53, 0, null, null, 3, \"button\", [[\"class\", \"btn btn-primary btn-sm send-button\"], [\"type\", \"button\"]], [[8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.sendMessage(i1.ɵnov(_v, 43).value) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(54, 0, null, null, 0, \"span\", [[\"class\", \"send-icon-svg\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(55, 0, null, null, 1, \"span\", [[\"translate\", \"send\"]], null, null, null, null, null)), i1.ɵdid(56, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(57, 0, null, null, 15, \"div\", [[\"class\", \"modal fade text-modal\"], [\"id\", \"noUserNumberModal\"], [\"role\", \"dialog\"], [\"tabindex\", \"-1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(58, 0, null, null, 14, \"div\", [[\"class\", \"modal-dialog\"], [\"role\", \"document\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(59, 0, null, null, 13, \"div\", [[\"class\", \"modal-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(60, 0, null, null, 4, \"div\", [[\"class\", \"modal-title-bar\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(61, 0, null, null, 3, \"div\", [[\"class\", \"modal-title-bar-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(62, 0, null, null, 2, \"div\", [[\"class\", \"modal-header-buttons pull-right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(63, 0, null, null, 1, \"span\", [[\"class\", \"icon aa-icon-close-icon\"], [\"data-dismiss\", \"modal\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelUserNumberConfirmation() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(65, 0, null, null, 2, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵted(66, null, [\" \", \" \"])), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(68, 0, null, null, 4, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(69, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"data-dismiss\", \"modal\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, null, null, null, null)), i1.ɵdid(70, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(71, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"data-dismiss\", \"modal\"], [\"translate\", \"continue\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.continueUserNumberConfirmation() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(72, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = !_co.isShortcutButton; _ck(_v, 3, 0, currVal_1); var currVal_2 = _co.isShortcutButton; _ck(_v, 5, 0, currVal_2); var currVal_3 = _co.dateRangeOptions; _ck(_v, 14, 0, currVal_3); var currVal_4 = _co.opportunity; _ck(_v, 16, 0, currVal_4); var currVal_5 = _ck(_v, 22, 0, true, (_co.selectedType === _co.authorizationKeys.SendTextSales)); _ck(_v, 21, 0, currVal_5); var currVal_6 = \"text_sales\"; _ck(_v, 23, 0, currVal_6); var currVal_7 = _ck(_v, 27, 0, true, (_co.selectedType === _co.authorizationKeys.SendTextService)); _ck(_v, 26, 0, currVal_7); var currVal_8 = \"text_service\"; _ck(_v, 28, 0, currVal_8); var currVal_10 = _ck(_v, 36, 0, _co.busy, 200); _ck(_v, 35, 0, currVal_10); var currVal_11 = _co.filteredMessages; _ck(_v, 38, 0, currVal_11); var currVal_23 = \"500\"; _ck(_v, 45, 0, currVal_23); var currVal_24 = !_co.authorizedKeys[_co.selectedType]; var currVal_25 = _co.newTextMessageValue; _ck(_v, 48, 0, currVal_24, currVal_25); var currVal_26 = _co.shouldDisplayUpgradeProposalLink(); _ck(_v, 52, 0, currVal_26); var currVal_28 = \"send\"; _ck(_v, 56, 0, currVal_28); var currVal_31 = \"cancel\"; _ck(_v, 70, 0, currVal_31); var currVal_32 = \"continue\"; _ck(_v, 72, 0, currVal_32); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.tooltip; _ck(_v, 1, 0, currVal_0); var currVal_9 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 29, 0, i1.ɵnov(_v, 30).transform(\"close\")), \"\"); _ck(_v, 29, 0, currVal_9); var currVal_12 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 41, 0, i1.ɵnov(_v, 42).transform(\"textMessageOptOutTooltip\")), \"\"); _ck(_v, 41, 0, currVal_12); var currVal_13 = _co.getMaxRows(i1.ɵnov(_v, 43).value); var currVal_14 = _co.getNewTextMessagePlaceholder(); var currVal_15 = (i1.ɵnov(_v, 45).maxlength ? i1.ɵnov(_v, 45).maxlength : null); var currVal_16 = i1.ɵnov(_v, 50).ngClassUntouched; var currVal_17 = i1.ɵnov(_v, 50).ngClassTouched; var currVal_18 = i1.ɵnov(_v, 50).ngClassPristine; var currVal_19 = i1.ɵnov(_v, 50).ngClassDirty; var currVal_20 = i1.ɵnov(_v, 50).ngClassValid; var currVal_21 = i1.ɵnov(_v, 50).ngClassInvalid; var currVal_22 = i1.ɵnov(_v, 50).ngClassPending; _ck(_v, 43, 0, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22); var currVal_27 = (((i1.ɵnov(_v, 43).value.length === 0) || (i1.ɵnov(_v, 43).value.trim() === \"\")) || !_co.authorizedKeys[_co.selectedType]); _ck(_v, 53, 0, currVal_27); var currVal_29 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 63, 0, i1.ɵnov(_v, 64).transform(\"close\")), \"\"); _ck(_v, 63, 0, currVal_29); var currVal_30 = i1.ɵunv(_v, 66, 0, i1.ɵnov(_v, 67).transform(\"textMessageNoUserNumberWarning\")); _ck(_v, 66, 0, currVal_30); }); }\nfunction View_TextActionComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(671088640, 1, { modalBodyElement: 0 }), i1.ɵqud(671088640, 2, { newTextMessageElement: 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TextActionComponent_1)), i1.ɵdid(3, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isTextingEnabled; _ck(_v, 3, 0, currVal_0); }, null); }\nexports.View_TextActionComponent_0 = View_TextActionComponent_0;\nfunction View_TextActionComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"text-action\", [], null, null, null, View_TextActionComponent_0, RenderType_TextActionComponent)), i1.ɵdid(1, 9158656, null, 0, i6.TextActionComponent, [i7.DomSanitizer, i8.UserService, i9.ToasterLoggerService, i10.NotificationService, i11.AuthorizationService, i1.Renderer2, i12.TextMessageService, i3.TranslateService, i13.LocaleDateTimePipe, i1.ChangeDetectorRef, i2.DOCUMENT, i14.EulaModalService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_TextActionComponent_Host_0 = View_TextActionComponent_Host_0;\nvar TextActionComponentNgFactory = i1.ɵccf(\"text-action\", i6.TextActionComponent, View_TextActionComponent_Host_0, { opportunity: \"opportunity\", isTextingEnabled: \"isTextingEnabled\", isCustomerConnectOpen: \"isCustomerConnectOpen\", isShortcutButton: \"isShortcutButton\" }, {}, []);\nexports.TextActionComponentNgFactory = TextActionComponentNgFactory;\n","\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

{{opportunity.customer.firstName}} {{opportunity.customer.lastName}}

\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{textMessage.displayDate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n {{textMessage.messageFooter}}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'textMessageNoUserNumberWarning' | translate}}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
","var path = '/app/components/deal-sheet/modals/credit-pre-qualified-modal.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var path = '/app/components/search/search-container.component.html';\nvar html = \"


\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar TrimAlternateOfferClientService = /** @class */ (function (_super) {\n __extends(TrimAlternateOfferClientService, _super);\n function TrimAlternateOfferClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param params The `TrimAlternateOfferClientService.ByDealeridByBasetrimidByLevelDELETEParams` containing the following parameters:\n *\n * - `level`:\n *\n * - `dealerID`:\n *\n * - `baseTrimID`:\n */\n TrimAlternateOfferClientService.prototype.ByDealeridByBasetrimidByLevelDELETEResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/TrimAlternateOffer/\" + params.dealerID + \"/\" + params.baseTrimID + \"/\" + params.level), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TrimAlternateOfferClientService.ByDealeridByBasetrimidByLevelDELETEParams` containing the following parameters:\n *\n * - `level`:\n *\n * - `dealerID`:\n *\n * - `baseTrimID`:\n */\n TrimAlternateOfferClientService.prototype.ByDealeridByBasetrimidByLevelDELETE = function (params) {\n return this.ByDealeridByBasetrimidByLevelDELETEResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n TrimAlternateOfferClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/TrimAlternateOffer\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n TrimAlternateOfferClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n TrimAlternateOfferClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/TrimAlternateOffer\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n TrimAlternateOfferClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TrimAlternateOfferClientService.BulkDeletePOSTParams` containing the following parameters:\n *\n * - `trimIDs`:\n *\n * - `level`:\n *\n * - `dealerID`:\n */\n TrimAlternateOfferClientService.prototype.BulkDeletePOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.trimIDs;\n if (params.level != null)\n __params = __params.set('level', params.level.toString());\n if (params.dealerID != null)\n __params = __params.set('dealerID', params.dealerID.toString());\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/TrimAlternateOffer/BulkDelete\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TrimAlternateOfferClientService.BulkDeletePOSTParams` containing the following parameters:\n *\n * - `trimIDs`:\n *\n * - `level`:\n *\n * - `dealerID`:\n */\n TrimAlternateOfferClientService.prototype.BulkDeletePOST = function (params) {\n return this.BulkDeletePOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TrimAlternateOfferClientService.BulkRemoveMappingsPOSTParams` containing the following parameters:\n *\n * - `trimIDs`:\n *\n * - `level`:\n *\n * - `dealerID`:\n */\n TrimAlternateOfferClientService.prototype.BulkRemoveMappingsPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.trimIDs;\n if (params.level != null)\n __params = __params.set('level', params.level.toString());\n if (params.dealerID != null)\n __params = __params.set('dealerID', params.dealerID.toString());\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/TrimAlternateOffer/BulkRemoveMappings\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TrimAlternateOfferClientService.BulkRemoveMappingsPOSTParams` containing the following parameters:\n *\n * - `trimIDs`:\n *\n * - `level`:\n *\n * - `dealerID`:\n */\n TrimAlternateOfferClientService.prototype.BulkRemoveMappingsPOST = function (params) {\n return this.BulkRemoveMappingsPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n TrimAlternateOfferClientService.ByDealeridByBasetrimidByLevelDELETEPath = '/api/TrimAlternateOffer/{dealerID}/{baseTrimID}/{level}';\n TrimAlternateOfferClientService.PUTPath = '/api/TrimAlternateOffer';\n TrimAlternateOfferClientService.POSTPath = '/api/TrimAlternateOffer';\n TrimAlternateOfferClientService.BulkDeletePOSTPath = '/api/TrimAlternateOffer/BulkDelete';\n TrimAlternateOfferClientService.BulkRemoveMappingsPOSTPath = '/api/TrimAlternateOffer/BulkRemoveMappings';\n TrimAlternateOfferClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TrimAlternateOfferClientService_Factory() { return new TrimAlternateOfferClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: TrimAlternateOfferClientService, providedIn: \"root\" });\n return TrimAlternateOfferClientService;\n}(base_service_1.BaseService));\nexports.TrimAlternateOfferClientService = TrimAlternateOfferClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { TrimAlternateOfferDto } from '../models/trim-alternate-offer-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass TrimAlternateOfferClientService extends __BaseService {\r\n static readonly ByDealeridByBasetrimidByLevelDELETEPath = '/api/TrimAlternateOffer/{dealerID}/{baseTrimID}/{level}';\r\n static readonly PUTPath = '/api/TrimAlternateOffer';\r\n static readonly POSTPath = '/api/TrimAlternateOffer';\r\n static readonly BulkDeletePOSTPath = '/api/TrimAlternateOffer/BulkDelete';\r\n static readonly BulkRemoveMappingsPOSTPath = '/api/TrimAlternateOffer/BulkRemoveMappings';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param params The `TrimAlternateOfferClientService.ByDealeridByBasetrimidByLevelDELETEParams` containing the following parameters:\r\n *\r\n * - `level`:\r\n *\r\n * - `dealerID`:\r\n *\r\n * - `baseTrimID`:\r\n */\r\n ByDealeridByBasetrimidByLevelDELETEResponse(params: TrimAlternateOfferClientService.ByDealeridByBasetrimidByLevelDELETEParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/TrimAlternateOffer/${params.dealerID}/${params.baseTrimID}/${params.level}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TrimAlternateOfferClientService.ByDealeridByBasetrimidByLevelDELETEParams` containing the following parameters:\r\n *\r\n * - `level`:\r\n *\r\n * - `dealerID`:\r\n *\r\n * - `baseTrimID`:\r\n */\r\n ByDealeridByBasetrimidByLevelDELETE(params: TrimAlternateOfferClientService.ByDealeridByBasetrimidByLevelDELETEParams): __Observable {\r\n return this.ByDealeridByBasetrimidByLevelDELETEResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: TrimAlternateOfferDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/TrimAlternateOffer`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: TrimAlternateOfferDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: TrimAlternateOfferDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/TrimAlternateOffer`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: TrimAlternateOfferDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as TrimAlternateOfferDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TrimAlternateOfferClientService.BulkDeletePOSTParams` containing the following parameters:\r\n *\r\n * - `trimIDs`:\r\n *\r\n * - `level`:\r\n *\r\n * - `dealerID`:\r\n */\r\n BulkDeletePOSTResponse(params: TrimAlternateOfferClientService.BulkDeletePOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = params.trimIDs;\r\n if (params.level != null) __params = __params.set('level', params.level.toString());\r\n if (params.dealerID != null) __params = __params.set('dealerID', params.dealerID.toString());\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/TrimAlternateOffer/BulkDelete`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TrimAlternateOfferClientService.BulkDeletePOSTParams` containing the following parameters:\r\n *\r\n * - `trimIDs`:\r\n *\r\n * - `level`:\r\n *\r\n * - `dealerID`:\r\n */\r\n BulkDeletePOST(params: TrimAlternateOfferClientService.BulkDeletePOSTParams): __Observable {\r\n return this.BulkDeletePOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TrimAlternateOfferClientService.BulkRemoveMappingsPOSTParams` containing the following parameters:\r\n *\r\n * - `trimIDs`:\r\n *\r\n * - `level`:\r\n *\r\n * - `dealerID`:\r\n */\r\n BulkRemoveMappingsPOSTResponse(params: TrimAlternateOfferClientService.BulkRemoveMappingsPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = params.trimIDs;\r\n if (params.level != null) __params = __params.set('level', params.level.toString());\r\n if (params.dealerID != null) __params = __params.set('dealerID', params.dealerID.toString());\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/TrimAlternateOffer/BulkRemoveMappings`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TrimAlternateOfferClientService.BulkRemoveMappingsPOSTParams` containing the following parameters:\r\n *\r\n * - `trimIDs`:\r\n *\r\n * - `level`:\r\n *\r\n * - `dealerID`:\r\n */\r\n BulkRemoveMappingsPOST(params: TrimAlternateOfferClientService.BulkRemoveMappingsPOSTParams): __Observable {\r\n return this.BulkRemoveMappingsPOSTResponse(params).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule TrimAlternateOfferClientService {\r\n\r\n /**\r\n * Parameters for ByDealeridByBasetrimidByLevelDELETE\r\n */\r\n export interface ByDealeridByBasetrimidByLevelDELETEParams {\r\n level: number;\r\n dealerID: number;\r\n baseTrimID: number;\r\n }\r\n\r\n /**\r\n * Parameters for BulkDeletePOST\r\n */\r\n export interface BulkDeletePOSTParams {\r\n trimIDs?: Array;\r\n level?: number;\r\n dealerID?: number;\r\n }\r\n\r\n /**\r\n * Parameters for BulkRemoveMappingsPOST\r\n */\r\n export interface BulkRemoveMappingsPOSTParams {\r\n trimIDs?: Array;\r\n level?: number;\r\n dealerID?: number;\r\n }\r\n}\r\n\r\nexport { TrimAlternateOfferClientService }\r\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar locale_currency_pipe_1 = require(\"../filters/locale-currency.pipe\");\nvar dealer_service_1 = require(\"./dealer.service\");\nvar customer_service_1 = require(\"./customer.service\");\nvar user_service_1 = require(\"./user.service\");\nvar entity_client_service_1 = require(\"../generated/services/entity-client.service\");\nvar user_client_service_1 = require(\"../generated/services/user-client.service\");\nvar activity_client_service_1 = require(\"../generated/services/activity-client.service\");\nvar entity_opportunity_client_service_1 = require(\"../generated/services/entity-opportunity-client.service\");\nvar tag_client_service_1 = require(\"../generated/services/tag-client.service\");\nvar credit_soft_pull_result_entity_del_client_service_1 = require(\"../generated/services/credit-soft-pull-result-entity-del-client.service\");\nvar ford_credit_approval_client_service_1 = require(\"../generated/services/ford-credit-approval-client.service\");\nvar vehicle_final_trade_value_temp_change_client_service_1 = require(\"../generated/services/vehicle-final-trade-value-temp-change-client.service\");\nvar discrepancy_report_client_service_1 = require(\"../generated/services/discrepancy-report-client.service\");\nvar change_log_client_service_1 = require(\"../generated/services/change-log-client.service\");\nvar pando_claim_client_service_1 = require(\"../generated/services/pando-claim-client.service\");\nvar sale_client_service_1 = require(\"../generated/services/sale-client.service\");\nvar http_interceptor_options_service_1 = require(\"./http/http-interceptor-options.service\");\nvar search_client_service_1 = require(\"../generated/services/search-client.service\");\nvar constants_1 = require(\"../constants\");\nvar log_factory_service_1 = require(\"./log-factory.service\");\nvar Opportunity2Service = /** @class */ (function () {\n function Opportunity2Service(vehicleService, contractService, dealSheetService, mapUtilsService, entityClient, dealerService, customerService, userService, userClient, activityClientService, entityOpportunityClientService, creditSoftPullResultEntityDelClientService, fordCreditApprovalClientService, vehicleFinalTradeValueTempChangeClientService, discrepancyReportClientService, changeLogClientService, pandoClaimClientService, saleClientService, tagClientService, localeCurrency, httpInterceptorOptionsService, searchClientService, logFactory) {\n this.vehicleService = vehicleService;\n this.contractService = contractService;\n this.dealSheetService = dealSheetService;\n this.mapUtilsService = mapUtilsService;\n this.entityClient = entityClient;\n this.dealerService = dealerService;\n this.customerService = customerService;\n this.userService = userService;\n this.userClient = userClient;\n this.activityClientService = activityClientService;\n this.entityOpportunityClientService = entityOpportunityClientService;\n this.creditSoftPullResultEntityDelClientService = creditSoftPullResultEntityDelClientService;\n this.fordCreditApprovalClientService = fordCreditApprovalClientService;\n this.vehicleFinalTradeValueTempChangeClientService = vehicleFinalTradeValueTempChangeClientService;\n this.discrepancyReportClientService = discrepancyReportClientService;\n this.changeLogClientService = changeLogClientService;\n this.pandoClaimClientService = pandoClaimClientService;\n this.saleClientService = saleClientService;\n this.tagClientService = tagClientService;\n this.localeCurrency = localeCurrency;\n this.httpInterceptorOptionsService = httpInterceptorOptionsService;\n this.searchClientService = searchClientService;\n this.activityNotification = { triggered: false, notify: false };\n this.log = logFactory.get();\n }\n // no reference in entire app so commented out.\n // public getAllSaleTypeLocalization() {\n // //return this.coreApiService.api.Sale.GetAllSaleTypeLocalization.GET()\n // return this.saleClientService.GetSaleExtByEntityIdByEntityidGET().toPromise()\n // .then(function (response) {\n // return response ? response : [];\n // });\n // }\n Opportunity2Service.prototype.getSaleExtByEntityId = function (entityId) {\n // return coreApi.api.Sale.GetSaleExtByEntityId['{entityId}'].GET({ entityId: entityId })\n return this.saleClientService.GetSaleExtByEntityIdByEntityidGET(entityId).toPromise()\n .then(function (response) {\n return response;\n });\n };\n Opportunity2Service.prototype.getVehicleTurnPredictor = function (entityId) {\n return this.entityClient.GetVehicleTurnPredictorByEntityidGET(entityId).toPromise()\n .then(function (response) {\n return response;\n });\n };\n Opportunity2Service.prototype.getActiveNLPNoLongerOwn = function (entityId) {\n return this.entityClient.GetActiveNLPNoLongerOwnByEntityidGET(entityId).toPromise()\n .then(function (response) {\n //response.hasData = true;\n //response.data = [\n // {\n // communicationSourceID: 1,\n // communicationText: 'no longer owns the car',\n // insertDate: '07-04-2021 09:45',\n // },\n // {\n // communicationSourceID: 2,\n // communicationText: 'she told me she is not in the market, does not own the lexus anymore, and to stop calling',\n // insertDate: '2021-06-08 12:36:02.363',\n // }\n //];\n return response;\n });\n };\n Opportunity2Service.prototype.updateActiveNLPNoLongerOwn = function (opportunityId, agreed) {\n return this.entityClient.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETResponse({ 'entityId': opportunityId, 'agreed': agreed }).toPromise();\n };\n Opportunity2Service.prototype.getOpportunity = function (opportunityId, stockNo, calculationType, dsPermissions, moduleIds) {\n var _this = this;\n // return this.coreApiService.api.Entity.GetExt['{entityId}'].GET({ entityId: opportunityId });\n return this.entityClient.GetExtByEntityidGET(opportunityId).toPromise()\n .then(function (entityResponse) {\n return _this.dealerService.getDealerSettings(entityResponse.dealerID)\n .then(function (dealerSettings) {\n if (dealerSettings && dealerSettings.allowExpiration && _this.isExpired(entityResponse.expirationDate)) {\n throw new Error('Deal sheet has expired');\n }\n var status;\n if (entityResponse.scheduled) {\n status = constants_1.OpportunityStatuses.scheduled;\n }\n else if (entityResponse.isMarkedAsSold) {\n status = constants_1.OpportunityStatuses.sold;\n }\n else if (entityResponse.closed) {\n status = constants_1.OpportunityStatuses.closed;\n }\n else {\n status = constants_1.OpportunityStatuses.open;\n }\n var opportunity = {\n id: entityResponse.entityID,\n actionAccess: entityResponse.actionAccess,\n keyId: entityResponse.entityKeyID,\n dealerId: entityResponse.dealerID,\n vehicleId: entityResponse.vehicleID,\n customerId: entityResponse.customerID,\n type: entityResponse.entityTypeID,\n hasExtendedWarranty: entityResponse.hasWarranty,\n status: status,\n countryID: entityResponse.countryID,\n stillOwned: (entityResponse.stillOwn == null) ? true : entityResponse.stillOwn,\n paidOff: entityResponse.paidOff,\n watched: entityResponse.watched,\n assignedUserId: entityResponse.ownerUserID,\n isMarkedAsSold: entityResponse.isMarkedAsSold,\n expirationDate: entityResponse.expirationDate,\n entityScore: entityResponse.entityScore,\n autoAssignAccessUserName: entityResponse.autoAssignAccessUserName,\n autoAssignOwner: entityResponse.autoAssignOwner,\n autoAssignAccessUser: entityResponse.autoAssignAccessUser,\n autoAssignAccessSearch: entityResponse.autoAssignAccessSearch,\n autoAssignAccessDate: entityResponse.autoAssignAccessDate,\n autoAssignOwnerDate: entityResponse.autoAssignOwnerDate,\n autoAssignOwnerSearch: entityResponse.autoAssignOwnerSearch,\n dealerSettings: dealerSettings,\n actionChecked: entityResponse.actionChecked,\n onOrder: entityResponse.onOrder == null ? false : entityResponse.onOrder\n };\n if (_this.activityNotification.triggered === false) {\n _this.activityNotification.triggered = true;\n // this.coreApiService.api.Activity.GetNewActivityNotifications['{entityId}'].GET({ entityId: opportunity.id })\n _this.activityClientService.GetNewActivityNotificationsByEntityidGET(opportunity.id).toPromise()\n .then(function (notificationsResponse) {\n if (notificationsResponse && _this.activityNotification) {\n _this.activityNotification.notify = notificationsResponse.notification;\n }\n });\n }\n _this.getNonEssentialOpportunityData(opportunity, dsPermissions, moduleIds);\n var customerServicePromise = dsPermissions && dsPermissions.viewCustomer ?\n _this.customerService.getCustomer(opportunity.id) : _this.customerService.getCustomerName(opportunity.id);\n return customerServicePromise\n .then(function (customer) {\n return Promise.all([\n _this.vehicleService.getCurrentVehicle(opportunity.vehicleId),\n _this.contractService.getCurrentContract(opportunity.id, opportunity.type),\n _this.vehicleService.getReplacementVehicles(opportunity.id, stockNo, customer.pricingPlanId),\n _this.getTags(opportunity.id),\n // this.coreApiService.api.User.FullNameByEntity['{entityId}'].GET({ entityId: opportunity.id }),\n _this.userClient.GetUserFullNameByEntityByEntityidGET(opportunity.id).toPromise() // results[3]\n ])\n .then(function (results) {\n var data = {\n customer: customer,\n currentVehicle: results[0],\n currentContract: results[1],\n replacementVehicles: results[2],\n tags: results[3],\n fullName: results[4]\n };\n return _this.resolveOpportunityDetails(data, opportunity, dsPermissions);\n });\n });\n });\n });\n };\n Opportunity2Service.prototype.getNonEssentialOpportunityData = function (opportunity, dsPermissions, moduleIds) {\n // WEBUI-7833 Non-essential api calls are made here (moved out of $q.all):\n var _this = this;\n // this.coreApiService.api.User.GetEntityUserInfo['{entityId}'].GET({ entityId: opportunity.id })\n try {\n this.userClient.GetEntityUserInfoByEntityidGET(opportunity.id).toPromise()\n .then(function (data) {\n opportunity.ownerUserInfo = data;\n })\n .catch(function (err) {\n _this.log.warn(err);\n });\n }\n catch (err) {\n this.log.warn(err);\n }\n try {\n this.getCreditSoftPullResultAsync(dsPermissions, opportunity.id)\n .then(function (data) { opportunity.creditSoftPull = data; })\n .catch(function (err) {\n _this.log.warn(err);\n });\n }\n catch (err) {\n this.log.warn(err);\n }\n try {\n this.getCreditPrescreenStatus(opportunity.id, moduleIds)\n .then(function (data) { opportunity.creditPrescreenStatus = data; })\n .catch(function (err) {\n _this.log.warn(err);\n });\n }\n catch (err) {\n this.log.warn(err);\n }\n try {\n var isFordAlertEnabled = this.userService.isDealerEnabledForModule(opportunity.dealerId, constants_1.Modules.fordAlert);\n if (isFordAlertEnabled) {\n this.getCreditPreApprovalAsync(opportunity.id)\n .then(function (data) { opportunity.creditPreApproval = data; })\n .catch(function (err) {\n _this.log.warn(err);\n });\n }\n else {\n opportunity.creditPreApproval = null;\n }\n }\n catch (err) {\n this.log.warn(err);\n }\n try {\n this.getPandoClaim(opportunity.id)\n .then(function (data) {\n opportunity.pandoClaim = data;\n })\n .catch(function (err) {\n _this.log.warn(err);\n });\n }\n catch (err) {\n this.log.warn(err);\n }\n };\n Opportunity2Service.prototype.resolveOpportunityDetails = function (data, opportunity, permissions) {\n var _this = this;\n opportunity.currentContract = data.currentContract;\n opportunity.currentVehicle = data.currentVehicle;\n opportunity.currentVehicle.type = opportunity.currentContract.vehicleType;\n opportunity.currentContract.hasExtendedWarranty = opportunity.hasExtendedWarranty;\n opportunity.currentContract.paidOff = opportunity.paidOff;\n if (opportunity.currentContract.paidOff) {\n opportunity.currentContract.paymentsRemaining = 0;\n opportunity.currentContract.payoffAmount = 0;\n }\n opportunity.replacementVehicles = data.replacementVehicles;\n opportunity.replacementVehicle = opportunity.replacementVehicles.standardVehicle;\n opportunity.customer = data.customer;\n opportunity.tags = data.tags;\n opportunity.assignedUserFullName = data.fullName;\n // this.coreApiService.api.Entity.MarkAsRead.POST(\"'\" + opportunity.id + \"'\");\n this.entityClient.MarkAsReadPOST('\\'' + opportunity.id + '\\'').toPromise();\n if (opportunity.type == constants_1.OpportunityTypes.conquest) {\n opportunity.currentContract.conquestType =\n this.isCreditConvertOpportunity(opportunity) ? constants_1.ConquestTypes.creditConvert : constants_1.ConquestTypes.notConverted;\n }\n else if (opportunity.type == constants_1.OpportunityTypes.converted) {\n opportunity.currentContract.conquestType = constants_1.ConquestTypes.converted;\n }\n var tradeValue = (opportunity.stillOwned === null || opportunity.stillOwned === true) ? opportunity.currentVehicle.tradeValue : 0;\n var equityValue = opportunity.currentContract.payoffAmount ? opportunity.currentContract.payoffAmount : 0;\n opportunity.currentContract.equity = { tradeValue: tradeValue, equityValue: tradeValue - equityValue };\n // return this.coreApiService.api.EntityOpportunity.GetOpportunitiesForEntity['{entityId}'].GET({ entityId: opportunity.id })\n return this.entityOpportunityClientService.GetOpportunitiesForEntityByEntityidGET(opportunity.id).toPromise()\n .then(function (response) {\n var alerts = [];\n for (var i = 0; i < response.length; i++) {\n var alert_1 = response[i];\n alerts.push({\n type: alert_1.alertType,\n typeName: _this.getAlertTypeName(alert_1.alertType)\n });\n }\n return alerts.sort(_this.byType);\n })\n .then(function (alerts) {\n opportunity.alerts = alerts;\n return opportunity;\n })\n .then(function () {\n return _this.contractService.getReplacementContracts(opportunity, permissions)\n .then(function (data) {\n opportunity.replacementContracts = data.contracts;\n opportunity.replacementContract = data.defaultContract;\n if (opportunity.replacementContract) {\n opportunity.replacementContract.vehicleType = opportunity.replacementVehicle.type;\n }\n _this.setAlertDetails(opportunity.alerts, opportunity.currentVehicle, opportunity.currentContract, opportunity.replacementVehicle, opportunity.replacementContract);\n return opportunity;\n });\n });\n };\n Opportunity2Service.prototype.isExpired = function (dealSheetExpirationDate) {\n var todayDate = (new Date()).setHours(0, 0, 0, 0);\n var expirationDate = (new Date(dealSheetExpirationDate)).setHours(0, 0, 0, 0);\n return (todayDate > expirationDate);\n };\n Opportunity2Service.prototype.getOpportunityEntityOnly = function (opportunityId) {\n return this.entityClient.GetExtByEntityidGET(opportunityId).toPromise()\n // return this.coreApiService.api.Entity.GetExt['{entityId}'].GET({ entityId: opportunityId })\n .then(function (response) {\n var status;\n if (response.scheduled) {\n status = constants_1.OpportunityStatuses.scheduled;\n }\n else if (response.isMarkedAsSold) {\n status = constants_1.OpportunityStatuses.sold;\n }\n else if (response.closed) {\n status = constants_1.OpportunityStatuses.closed;\n }\n else {\n status = constants_1.OpportunityStatuses.open;\n }\n var opportunity = {\n id: response.entityID,\n actionAccess: response.actionAccess,\n keyId: response.entityKeyID,\n dealerId: response.dealerID,\n vehicleId: response.vehicleID,\n customerId: response.customerID,\n type: response.entityTypeID,\n hasExtendedWarranty: response.hasWarranty,\n status: status,\n stillOwned: (response.stillOwn == null) ? true : response.stillOwn,\n paidOff: response.paidOff,\n watched: response.watched,\n assignedUserId: response.ownerUserID,\n isMarkedAsSold: response.isMarkedAsSold,\n expirationDate: response.expirationDate,\n entityScore: response.entityScore,\n actionChecked: response.actionChecked\n };\n return opportunity;\n });\n };\n Opportunity2Service.prototype.getTags = function (opportunityId) {\n // return this.coreApiService.api.Tag.GetTagsForEntity['{entityId}'].GET({ entityId: opportunityId })\n return this.tagClientService.GetTagsForEntityByEntityidGET(opportunityId).toPromise()\n .then(function (response) {\n var tags = [];\n for (var i = 0; i < response.length; i++) {\n var tag = response[i];\n tag.text = tag.tagText,\n tag.expirationDate = tag.tagExpireDate;\n tags.push(tag);\n }\n return tags;\n });\n };\n Opportunity2Service.prototype.getTagsPivotForDealers = function (selectedDealerId, flushCache) {\n // return this.coreApiService.api.Tag.GetTagsPivotForDealers.GET({ flushCache: flushCache }, { overrideDealerIds: [selectedDealerId] })\n if (selectedDealerId !== null && selectedDealerId !== undefined) {\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId]);\n }\n return this.tagClientService.GetTagsPivotForDealersGET(flushCache).toPromise()\n .then(function (data) {\n return data;\n });\n };\n Opportunity2Service.prototype.resetActivityNotification = function () {\n if (this.activityNotification) {\n this.activityNotification.triggered = false;\n this.activityNotification.notify = false;\n }\n };\n Opportunity2Service.prototype.getOpportunitiesByCustomerId = function (customerId) {\n var _this = this;\n return this.entityClient.GetEntityReportByCustomerIdByCustomeridGET(customerId).toPromise()\n // return this.coreApiService.api.Entity.GetEntityReportByCustomerId['{customerId}'].GET({ customerId: customerId })\n .then(function (response) {\n return _this.buildOpportunitiesFromEntityReport(response);\n });\n };\n Opportunity2Service.prototype.buildOpportunitiesFromEntityReport = function (entityReport) {\n var opportunities = [];\n if (entityReport == null || entityReport.length < 1) {\n return opportunities;\n }\n for (var i = 0; i < entityReport.length; i++) {\n var opportunity = entityReport[i];\n if (opportunity) {\n opportunities.push({\n id: opportunity.entityID,\n type: opportunity.entityTypeID,\n alerts: opportunity.alerts ? opportunity.alerts : [],\n stillOwned: (opportunity.stillOwn == null) ? true : opportunity.stillOwn,\n assignedUserFullName: opportunity.ownerFullName,\n status: opportunity.closed,\n opportunityRank: opportunity.opportunityRank,\n entityScore: opportunity.entityScore,\n currentVehicle: {\n type: opportunity.soldAsNew ? constants_1.VehicleTypes.new : constants_1.VehicleTypes.used,\n makeName: opportunity.makeName,\n yearID: opportunity.yearID == 0 ? '' : opportunity.yearID,\n modelName: opportunity.modelName,\n trimName: opportunity.trimName,\n trimFullName: this.mapUtilsService.getVehicleTrimFullName(opportunity),\n lastServiceDate: opportunity.lastServiceDate,\n vin: opportunity.vin\n },\n currentContract: {\n saleType: opportunity.saleTypeID,\n startDate: opportunity.dealDate,\n soldByFullName: opportunity.soldByFullName\n },\n dealerName: opportunity.dealerName\n });\n }\n }\n return opportunities;\n };\n Opportunity2Service.prototype.getOpportunitiesByVin = function (dealerId, vin) {\n return this.entityClient.GetEntityReportByDealerIdAndVinByDealeridByVinGET({ dealerId: dealerId, vin: vin }).toPromise()\n // return this.coreApiService.api.Entity.GetEntityReportByDealerIdAndVin['{dealerId}']['{vin}'].GET({ dealerId: dealerId, vin: vin })\n .then(function (response) {\n var data = response;\n var opportunities = [];\n for (var i = 0; i < data.length; i++) {\n opportunities.push({\n id: data[i].entityID,\n customerFullName: data[i].customerFullName,\n alerts: data[i].alerts\n });\n }\n return opportunities;\n });\n };\n Opportunity2Service.prototype.getOwnerUserInfo = function (opportunityId) {\n // return this.coreApiService.api.User.GetEntityUserInfo['{entityId}'].GET({ entityId: opportunityId });\n return this.userClient.GetEntityUserInfoByEntityidGET(opportunityId).toPromise();\n };\n Opportunity2Service.prototype.addAlertsAsProperties = function (target, alerts) {\n this.clearAlerts(target);\n for (var i = 0; i < alerts.length; i++) {\n var alert_2 = alerts[i];\n for (var alertType in constants_1.AlertTypes) {\n if (constants_1.AlertTypes.hasOwnProperty(alertType)) {\n if (alert_2.type == constants_1.AlertTypes[alertType]) {\n if (alert_2.typeName.toLowerCase().indexOf('alert') !== -1) {\n target[alert_2.typeName + 'Exists'] = true;\n }\n else {\n target[alert_2.typeName + 'AlertExists'] = true;\n }\n }\n }\n }\n }\n };\n Opportunity2Service.prototype.updateAssignedUser = function (opportunityId, userId) {\n return this.entityClient.ReassignToUserIdPOSTResponse({ 'entityId': opportunityId, 'assignToUserId': userId }).toPromise();\n // return this.coreApiService.api.Entity.ReassignToUserId.POST({ \"entityId\": opportunityId, \"assignToUserId\": userId });\n };\n Opportunity2Service.prototype.markOpportunityWatched = function (opportunityId) {\n return this.entityClient.WatchByEntityidPOSTResponse(opportunityId).toPromise();\n // return this.coreApiService.api.Entity.Watch['{entityId}'].POST({}, { entityId: opportunityId });\n };\n Opportunity2Service.prototype.markOpportunityUnwatched = function (opportunityId) {\n return this.entityClient.UnwatchByEntityidPOSTResponse(opportunityId).toPromise();\n // return this.coreApiService.api.Entity.Unwatch['{entityId}'].POST({}, { entityId: opportunityId });\n };\n Opportunity2Service.prototype.reopenOpportunity = function (opportunityId) {\n return this.entityClient.ReopenByEntityidPOSTResponse(opportunityId).toPromise();\n // return this.coreApiService.api.Entity.Reopen['{entityId}'].POST({}, { entityId: opportunityId });\n };\n Opportunity2Service.prototype.submitCreditPrescreenRequest = function (opportunityId, permissions, moduleIds, dealerSettings) {\n if (permissions.requestCreditPrescreen\n && moduleIds.indexOf(constants_1.Modules.creditConvert) > -1\n && dealerSettings.useCreditSoftPull) {\n // return this.coreApiService.api.Entity.CreditPrescreenRequest['{entityId}'].POST({}, { entityId: opportunityId });\n return this.entityClient.CreditPrescreenRequestByEntityidPOSTResponse(opportunityId).toPromise();\n }\n else {\n return Promise.resolve(false);\n }\n };\n Opportunity2Service.prototype.getCreditPrescreenStatus = function (opportunityId, moduleIds) {\n if (moduleIds.indexOf(constants_1.Modules.creditConvert) > -1) {\n // return this.coreApiService.api.Entity.CreditPrescreenStatus['{entityId}'].GET({ entityId: opportunityId })\n return this.entityClient.CreditPrescreenStatusByEntityidGET(opportunityId).toPromise()\n .then(function (response) {\n return response != '' ? response : null;\n }, function () { });\n }\n else {\n return Promise.resolve(null);\n }\n };\n Opportunity2Service.prototype.getCreditSoftPullResultAsync = function (permissions, opportunityId) {\n if (permissions && permissions.requestCreditPrescreen) {\n // return this.coreApiService.api.CreditSoftPullResultEntityDel['{entityId}'].GET({ entityId: opportunityId })\n return this.creditSoftPullResultEntityDelClientService.GetCreditSoftPullResultEntityDelByEntityidGET(opportunityId).toPromise()\n .then(function (result) { return result; }, function () { });\n }\n else {\n return Promise.resolve(undefined);\n }\n };\n Opportunity2Service.prototype.getCreditPreApprovalAsync = function (opportunityId) {\n // return this.coreApiService.api.FordCreditApproval.FordCreditApprovalByEntityId['{entityId}'].GET({ entityId: opportunityId })\n return this.fordCreditApprovalClientService.FordCreditApprovalByEntityIdByEntityidGET(opportunityId).toPromise()\n .then(function (result) { return result; }, function () { });\n };\n Opportunity2Service.prototype.setAlertDetails = function (alerts, currentVehicle, currentContract, replacementVehicle, replacementContract) {\n for (var i = 0; i < alerts.length; i++) {\n var alert_3 = alerts[i];\n switch (alert_3.type) {\n case constants_1.AlertTypes.alert:\n case constants_1.AlertTypes.flexAlert:\n this.setFlexAlertDetails(alert_3, replacementVehicle, replacementContract);\n break;\n case constants_1.AlertTypes.service:\n this.setServiceAlertDetails(alert_3, currentVehicle);\n break;\n case constants_1.AlertTypes.appointment:\n this.setAppointmentAlertDetails(alert_3, currentVehicle);\n break;\n case constants_1.AlertTypes.contractEnd:\n this.setContractEndAlertDetails(alert_3, currentContract);\n break;\n case constants_1.AlertTypes.mileage:\n this.setMileageAlertDetails(alert_3, currentContract);\n break;\n case constants_1.AlertTypes.warranty:\n this.setWarrantyAlertDetails(alert_3, currentVehicle, currentContract);\n break;\n default:\n break;\n }\n alert_3.translateKey = this.getAlertTranslateKey(alert_3);\n }\n };\n Opportunity2Service.prototype.getAlertTranslateKey = function (alert) {\n if (alert.details && !alert.details.payment\n && (alert.type == constants_1.AlertTypes.alert || alert.type == constants_1.AlertTypes.flexAlert)) {\n return alert.typeName + 'RelevantInfoNoPayment';\n }\n return alert.typeName + 'RelevantInfo';\n };\n Opportunity2Service.prototype.isCreditConvertOpportunity = function (opportunity) {\n return this.containsTag(opportunity, 'CreditConvert');\n };\n Opportunity2Service.prototype.containsTag = function (opportunity, tagText) {\n if (opportunity && opportunity.tags) {\n return opportunity.tags.some(function (tag) {\n return tag.text === tagText;\n });\n }\n };\n Opportunity2Service.prototype.byType = function (alert1, alert2) {\n if (alert1.type > alert2.type) {\n return 1;\n }\n else if (alert1.type < alert2.type) {\n return -1;\n }\n else {\n return 0;\n }\n };\n Opportunity2Service.prototype.setFlexAlertDetails = function (alert, vehicle, contract) {\n alert.details = {\n yearID: vehicle.yearID,\n makeName: vehicle.makeName,\n modelName: vehicle.modelName,\n trimName: vehicle.trimName,\n contractTerm: contract ? contract.term : null,\n payment: contract ? contract.payment : null,\n paymentDifferenceAmount: contract ? contract.paymentDifference : null\n };\n };\n Opportunity2Service.prototype.setServiceAlertDetails = function (alert, vehicle) {\n alert.details = {\n openDate: vehicle.openDate,\n eighteenMonthServiceCount: vehicle.eighteenMonthServiceCount\n };\n };\n Opportunity2Service.prototype.setAppointmentAlertDetails = function (alert, vehicle) {\n alert.details = {\n appointmentDate: vehicle.appointmentDate\n };\n };\n Opportunity2Service.prototype.setContractEndAlertDetails = function (alert, contract) {\n alert.details = {\n paymentsMade: contract.paymentsMade,\n paymentsRemaining: contract.paymentsRemaining\n };\n };\n Opportunity2Service.prototype.setMileageAlertDetails = function (alert, contract) {\n alert.details = {\n estimatedMaturityMileage: contract.estimatedMaturityMileage,\n currentMileagePenalty: contract.currentMileagePenalty,\n estimatedMileagePenalty: contract.estimatedMileagePenalty\n };\n };\n Opportunity2Service.prototype.setWarrantyAlertDetails = function (alert, vehicle, contract) {\n alert.details = {\n warrantyMonthsRemaining: vehicle.warrantyMonthsRemaining ? vehicle.warrantyMonthsRemaining : contract.warrantyMonthsRemaining,\n warrantyMilesRemaining: vehicle.warrantyMilesRemaining ? vehicle.warrantyMilesRemaining : contract.warrantyMilesRemaining\n };\n };\n Opportunity2Service.prototype.getAlertTypeName = function (alertType) {\n switch (alertType) {\n case constants_1.AlertTypes.alert:\n return 'alert';\n case constants_1.AlertTypes.flexAlert:\n return 'flexAlert';\n case constants_1.AlertTypes.inMarket:\n return 'inMarket';\n case constants_1.AlertTypes.inMarketEngaged:\n return 'inMarketEngaged';\n case constants_1.AlertTypes.contractEnd:\n return 'contractEnd';\n case constants_1.AlertTypes.service:\n return 'service';\n case constants_1.AlertTypes.appointment:\n return 'appointment';\n case constants_1.AlertTypes.mileage:\n return 'mileage';\n case constants_1.AlertTypes.warranty:\n return 'warranty';\n default:\n return '';\n }\n };\n Opportunity2Service.prototype.clearAlerts = function (target) {\n target.alertExists = null;\n target.flexAlertExists = null;\n target.serviceAlertExists = null;\n target.appointmentAlertExists = null;\n target.mileageAlertExists = null;\n target.contractEndAlertExists = null;\n target.warrantyAlertExists = null;\n };\n Opportunity2Service.prototype.logTradeValueChange = function (vehicleId, tradeValue) {\n // return this.coreApiService.api.VehicleFinalTradeValueTempChange.LogTradeValueChange.POST({ VehicleID: vehicleId, TradeValue: tradeValue });\n var params = { vehicleID: vehicleId, tradeValue: tradeValue };\n return this.vehicleFinalTradeValueTempChangeClientService.LogTradeValueChangePOSTResponse(params).toPromise();\n };\n Opportunity2Service.prototype.getChangeLogs = function (opportunityId) {\n // return this.coreApiService.api.ChangeLog['{entityId}'].GET({ entityId: opportunityId })\n return this.changeLogClientService.ByEntityidGET(opportunityId).toPromise()\n .then(function (response) {\n if (!response) {\n return null;\n }\n return response;\n });\n };\n Opportunity2Service.prototype.submitDiscrepancy = function (opportunity, discrepancy) {\n var request = {\n entityId: opportunity.id,\n reportableFieldId: discrepancy.type,\n reportableExpectedValue: discrepancy.expectedValue,\n dealerId: opportunity.dealerId,\n dealerName: opportunity.dealer.name,\n customerFullName: opportunity.customer.fullName,\n currentVehicleVin: opportunity.currentVehicle.vin,\n reportDiscrepancyVehicle: {\n yearID: opportunity.replacementVehicle.yearID,\n fullTrimName: opportunity.replacementVehicle.makeName + ' ' + opportunity.replacementVehicle.trimFullName,\n localePrice: this.localeCurrency.transform(opportunity.replacementVehicle.price)\n },\n dealSheetUrl: this.dealSheetService.getDealSheetUrl(opportunity.id),\n ReportableCurrentValues: null,\n reportableCurrentValue: null\n };\n if (discrepancy.multiple) {\n request.ReportableCurrentValues = discrepancy.currentValue;\n }\n else {\n if (discrepancy.type == constants_1.DiscrepancyTypes.tradeValue || discrepancy.type == constants_1.DiscrepancyTypes.payoffAmount) {\n request.reportableCurrentValue = this.localeCurrency.transform(discrepancy.currentValue);\n }\n else {\n request.reportableCurrentValue = discrepancy.currentValue;\n }\n }\n // return this.coreApiService.api.DiscrepancyReport.ReportDiscrepancy.POST(request);\n return this.discrepancyReportClientService.ReportDiscrepancyPOSTResponse(request).toPromise();\n };\n Opportunity2Service.prototype.addTermOverrideChangeLog = function (vehicleId, term) {\n // return this.coreApiService.api.ChangeLog.Term['{vehicleId}']['{term}'].POST({}, { vehicleId: vehicleId, term: term });\n return this.changeLogClientService.AddTermChangeLogByVehicleidByTermPOSTResponse({ vehicleId: vehicleId, term: term }).toPromise();\n };\n Opportunity2Service.prototype.addPriceOverrideChangeLog = function (vehicleId, price) {\n // return this.coreApiService.api.ChangeLog.Price['{vehicleId}']['{price}'].POST({}, { vehicleId: vehicleId, price: price });\n return this.changeLogClientService.AddPriceChangeLogByVehicleidByPricePOSTResponse({ vehicleId: vehicleId, price: price }).toPromise();\n };\n Opportunity2Service.prototype.getPandoClaim = function (opportunityId) {\n // return (this.coreApiService.api.PandoClaim.ByEntity['{entityId}'].GET({ entityId: opportunityId }))\n return this.pandoClaimClientService.ByEntityByEntityidGET(opportunityId).toPromise()\n .then(function (results) {\n return results;\n });\n };\n Opportunity2Service.prototype.hasReviewProDealer = function (entityId) {\n return this.entityClient.HasReviewProDealerByEntityidGET(entityId).toPromise()\n // return (this.coreApiService.api.Entity.HasReviewProDealer['{entityId}'].GET({ entityId: entityId }))\n .then(function (results) {\n return results;\n }, function () {\n return false;\n });\n };\n Opportunity2Service.prototype.hasGeoAlertDealer = function (entityId) {\n return this.entityClient.HasGeoAlertDealerByEntityidGET(entityId).toPromise()\n // return (this.coreApiService.api.Entity.HasGeoAlertDealer['{entityId}'].GET({ entityId: entityId }))\n .then(function (results) {\n return results;\n }, function () {\n return false;\n });\n };\n Opportunity2Service.prototype.getEntityScoreFeature = function (entityId) {\n return this.entityClient.GetEntityScoreFeatureByEntityidGET(entityId).toPromise()\n .then(function (response) {\n return response;\n });\n };\n /* BEGIN --- Unused redundent functions that were created for dealsheet lite in service but never used */\n Opportunity2Service.prototype.showIfNotNullOrEmpty = function (defaultValue, item, obj) {\n if (item != null && item != '') {\n if (obj != null) {\n return obj;\n }\n return item;\n }\n return defaultValue;\n };\n Opportunity2Service.prototype.toYesNoTypeID = function (yesNoTypeName) {\n if (yesNoTypeName == null) {\n return 0;\n }\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\n if (yesNoTypeName == 'yes') {\n return 1;\n }\n if (yesNoTypeName == 'no') {\n return 0;\n }\n return 0;\n };\n Opportunity2Service.prototype.toBoolean = function (yesNoTypeName) {\n if (yesNoTypeName == null) {\n return false;\n }\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\n if (yesNoTypeName == 'yes') {\n return true;\n }\n if (yesNoTypeName == 'no') {\n return false;\n }\n return false;\n };\n Opportunity2Service.prototype.nullIf = function (valueIfNull, defaultValue) {\n if (valueIfNull) {\n return null;\n }\n return defaultValue;\n };\n Opportunity2Service.prototype.defaultValue = function (value, defaultValue) {\n if (value == null) {\n return defaultValue;\n }\n return value;\n };\n Opportunity2Service.prototype.toSaleTypeID = function (saleType) {\n if (saleType == null) {\n return '';\n }\n saleType = saleType.toString().toLowerCase();\n if (saleType == 'lease') {\n return 1;\n }\n if (saleType == 'retail') {\n return 2;\n }\n if (saleType == 'balloon') {\n return 3;\n }\n if (saleType == 'cash') {\n return 4;\n }\n if (saleType == 'onepay lease') {\n return 5;\n }\n if (saleType == 'wholesale') {\n return 6;\n }\n if (saleType == 'incomplete') {\n return 7;\n }\n return '';\n };\n Opportunity2Service.prototype.NewUsedCpoToID = function (vehicleType) {\n if (vehicleType == null) {\n return '';\n }\n vehicleType = vehicleType.toString().toLowerCase();\n if (vehicleType == 'new') {\n return 0;\n }\n if (vehicleType == 'used') {\n return 1;\n }\n if (vehicleType == 'cpo') {\n return 2;\n }\n return '';\n };\n Opportunity2Service.prototype.toAlertTypeList = function (vw_search, replacementVehicle) {\n replacementVehicle.payment = vw_search.replacement_Payment;\n var alerts = [];\n if (vw_search.is_Alert == 'Yes') {\n this.pushAlert(alerts, constants_1.AlertTypes.alert, 'alert', replacementVehicle);\n }\n if (vw_search.is_Appointment == 'Yes') {\n this.pushAlert(alerts, constants_1.AlertTypes.appointment, 'appointment', replacementVehicle);\n }\n if (vw_search.is_Contract_End == 'Yes') {\n this.pushAlert(alerts, constants_1.AlertTypes.contractEnd, 'contractEnd', replacementVehicle);\n }\n // if (vw_search.is_Conversion_Alert == \"Yes\") this.pushAlert(alerts, alertTypes.alert, 'alert');\n if (vw_search.is_Flex_Alert == 'Yes') {\n this.pushAlert(alerts, constants_1.AlertTypes.flexAlert, 'flexAlert', replacementVehicle);\n }\n if (vw_search.is_In_Market == 'Yes') {\n this.pushAlert(alerts, constants_1.AlertTypes.inMarket, 'inMarket', replacementVehicle);\n }\n if (vw_search.is_In_Market_Engaged == 'Yes') {\n this.pushAlert(alerts, constants_1.AlertTypes.inMarketEngaged, 'inMarketEngaged', replacementVehicle);\n }\n if (vw_search.is_Mileage_Alert == 'Yes') {\n this.pushAlert(alerts, constants_1.AlertTypes.mileage, 'mileage', replacementVehicle);\n }\n if (vw_search.is_Warranty_Alert == 'Yes') {\n this.pushAlert(alerts, constants_1.AlertTypes.warranty, 'warranty', replacementVehicle);\n }\n return alerts;\n };\n Opportunity2Service.prototype.pushAlert = function (arr, type, name, replacementVehicle) {\n arr.push({\n type: type,\n typeName: name,\n translateKey: name + 'RelevantInfo',\n details: replacementVehicle,\n });\n };\n /* END ---- Unused redundent functions that were created for dealsheet lite in service but never used */\n Opportunity2Service.prototype.getOpportunityFromViewEntityId = function (entityId, vw_SearchRow) {\n if (vw_SearchRow == null || vw_SearchRow['_EntityID'] == null) {\n entityId = (vw_SearchRow == null) ? entityId : vw_SearchRow.opportunityId;\n // return this.coreApiService.api.Search.GetSearchByEntityId['{entityId}'].GET({ entityId: entityId });\n return this.searchClientService.GetSearchByEntityIdByEntityidGET(entityId).toPromise()\n .then(function (results) { return results; });\n }\n else {\n return Promise.resolve(vw_SearchRow);\n }\n };\n Opportunity2Service.prototype.getOpportunityFromView = function (vw_SearchRow) {\n if (vw_SearchRow == null) {\n return;\n }\n var opportunity = {\n id: vw_SearchRow._EntityID,\n vehicleId: vw_SearchRow._VehicleID,\n type: vw_SearchRow._EntityTypeID,\n stillOwned: this.toBoolean(vw_SearchRow.still_Own),\n paidOff: this.toBoolean(vw_SearchRow.paid_Off),\n dealerId: vw_SearchRow._DealerID,\n customer: {\n fullName: vw_SearchRow.full_Name,\n address: {\n streetAddress: vw_SearchRow.address,\n streetAddress2: vw_SearchRow.address_2,\n stateId: vw_SearchRow._StateID,\n normalizedZipCode: vw_SearchRow.zip_Code,\n zipCode: vw_SearchRow.zip_Code,\n city: vw_SearchRow.city,\n stateName: vw_SearchRow.state\n },\n pricingPlanId: null,\n alternateContacts: [],\n cellPhoneNumber: this.showIfNotNullOrEmpty(null, vw_SearchRow.cell_Phone, {\n 'contactType': 4,\n 'value': vw_SearchRow.cell_Phone,\n 'isBad': false,\n 'isPreferred': true,\n 'doNotCallStatusTypeId': 4\n }),\n 'companyName': '',\n 'doNotCall': this.toBoolean(vw_SearchRow.do_Not_Call),\n 'doNotEmail': this.toBoolean(vw_SearchRow.do_Not_Email),\n 'doNotMail': this.toBoolean(vw_SearchRow.do_Not_Mail),\n 'emailAddress': this.showIfNotNullOrEmpty(null, vw_SearchRow.email, {\n 'contactType': 5,\n 'value': vw_SearchRow.email,\n 'isBad': vw_SearchRow.email != '',\n 'isPreferred': vw_SearchRow.email != ''\n }),\n 'firstName': vw_SearchRow.first_Name,\n 'homePhoneNumber': this.showIfNotNullOrEmpty(null, vw_SearchRow.home_Phone, {\n 'contactType': 2,\n 'value': vw_SearchRow.home_Phone,\n 'isBad': false,\n 'isPreferred': true,\n 'doNotCallStatusTypeId': 4\n }),\n 'id': vw_SearchRow._CustomerID,\n 'invalidContacts': [],\n 'isAddressNotValid': false,\n 'isFullCustomer': true,\n 'lastName': vw_SearchRow.last_Name,\n 'middleName': vw_SearchRow.middle_Name,\n 'workPhoneNumber': this.showIfNotNullOrEmpty(null, vw_SearchRow.work_Phone, {\n 'contactType': 3,\n 'value': vw_SearchRow.work_Phone,\n 'isBad': false,\n 'isPreferred': true,\n 'doNotCallStatusTypeId': 4\n })\n },\n // \"dealer\": {\n // \"name\": \"MB Demo\",\n // \"displayText\": \"MB Demo (MBDEMO)\"\n // },\n entityScore: vw_SearchRow._Opportunity_Rank,\n assignedUserId: vw_SearchRow._OwnerUserID,\n assignedUserFullName: vw_SearchRow._Customer_Owner,\n // alerts: toAlertTypeList(vw_SearchRow),\n permissions: {\n viewContract: true,\n },\n currentContract: {\n adjustedBalance: vw_SearchRow.estimated_Payoff - vw_SearchRow.totalPenalty,\n saleType: vw_SearchRow._SaleTypeID,\n moneyFactor: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.rate : null,\n payment: vw_SearchRow.current_Payment,\n soldByName: vw_SearchRow.sold_By_Name,\n vehicleType: this.NewUsedCpoToID(vw_SearchRow.new_Used),\n paymentsMade: vw_SearchRow.payments_Made,\n paymentsRemaining: vw_SearchRow.payment_Remaining,\n // \"cashPaid\": null,\n allowedMileage: vw_SearchRow.lease_Total_Allowed_Miles,\n // \"estimatedMaturityMileage\": 51700,\n // \"currentMileagePenalty\": 0,\n // \"estimatedMileagePenalty\": 900,\n // \"preferredEquity\": 5350,\n // \"balanceToMaturity\": 13125,\n // \"dispositionFee\": 595,\n entityID: vw_SearchRow._EntityID,\n // \"hasWarranty\": false,\n bankName: vw_SearchRow.bank_Name,\n // \"bankUrl\": \"https://new.mb-advantage.com\",\n // \"isCreditConvert\": true,\n // \"paymentMinimum\": 1700,\n // \"paymentMaximum\": 1750,\n payoffAmount: vw_SearchRow.estimated_Payoff,\n // \"payoffGoodThroughDate\": null,\n lastTouchedDate: vw_SearchRow.last_Payment_Date,\n saleID: vw_SearchRow._SaleID,\n // \"insertDate\": \"2015-04-25T01:25:57.84Z\",\n // \"dealerID\": 1167,\n // \"customerID\": 38827071,\n // \"vehicleID\": 89569084,\n // \"soldAsNew\": true,\n // \"mileageAtDelivery\": 8,\n // \"bankID\": 48,\n dmsDealId: vw_SearchRow.dmS_Deal_ID,\n // \"soldByID\": 314698,\n term: vw_SearchRow.deal_Term,\n dealDate: vw_SearchRow.deal_Date,\n // \"firstPaymentDate\": \"2015-04-18T00:00:00\",\n lastPaymentDate: vw_SearchRow.last_Payment_Date,\n // \"leaseBasePayment\": 1646,\n // \"leaseTotalPayment\": 1790,\n capitalCost: vw_SearchRow.lease_Net_Cap_Cost,\n residualAmount: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.lease_Residual : null,\n // \"leaseAnnualMiles\": null,\n // \"retailPayment\": 0,\n financedAmount: vw_SearchRow.purchase_Amount_Financed,\n // \"balloonPayment\": null,\n cashDown: vw_SearchRow.cash_Down,\n apr: vw_SearchRow._SaleTypeID == 1 ? null : vw_SearchRow.rate,\n // \"isNative\": true,\n // \"boughtExtWarranty\": false,\n // \"hasExtendedWarranty\": false,\n paidOff: this.toYesNoTypeID(vw_SearchRow.paid_Off),\n // \"equity\": {\n // \"tradeValue\": 10, // 62900,\n // \"equityValue\": 5350\n // }\n financedOrCapCost: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.lease_Net_Cap_Cost : vw_SearchRow.purchase_Amount_Financed\n },\n currentVehicle: {\n openDate: vw_SearchRow.openDate,\n tradeValue: vw_SearchRow.trade_Value,\n trimID: vw_SearchRow._TrimID,\n yearID: vw_SearchRow._YearID,\n makeID: vw_SearchRow._MakeID,\n // imagePath: \"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\n // \"imagePath\": \"../../../images/Capture1.png\",\n // imagePath: oneImage,\n type: this.NewUsedCpoToID(vw_SearchRow.new_Used),\n // pricingPlanMsrp: vw_SearchRow.\n // \"addModelToTrim\": false,\n // \"appointmentDate\": \"2018-05-04T12:00:00\",\n // \"dealerID\": 1167,\n // \"displayCodes\": false,\n // \"eighteenMonthServiceCount\": 3,\n // \"estimatedCurrentMileage\": 44200,\n // \"estimatedMilesPerMonth\": 1140,\n // \"extColorID\": null,\n // \"exteriorColor\": \"DESIGNO GRAPHITE\",\n // \"intColorID\": null,\n // \"interiorColor\": null,\n // \"lastOdometerReadingDate\": \"2018-05-04T15:24:00\",\n 'makeName': vw_SearchRow.current_Make_Name,\n // \"mfcModelCode\": null,\n 'modelName': vw_SearchRow.current_Model_Name,\n // \"modelNo\": \"E63SP\",\n // \"odometer\": 38750,\n // \"replacementTrimID\": 422662,\n // \"tradeMileageAdjustment\": -2400,\n // \"tradeSourceID\": 1,\n 'trimFullName': this.defaultValue(vw_SearchRow.current_Model_Name, '') + ' ' + this.defaultValue(vw_SearchRow.current_Trim_Name, ''),\n 'trimName': this.defaultValue(vw_SearchRow.current_Trim_Name, ''),\n // \"vehicleID\": 89569084,\n // \"viN8Key\": \"WDDHH7GB_F\",\n 'vin': vw_SearchRow.vin,\n },\n replacementVehicle: {\n paymentDifferenceAmount: vw_SearchRow.replacement_Payment - vw_SearchRow.current_Payment,\n type: this.NewUsedCpoToID(vw_SearchRow.replacement_New_Used),\n stockNo: vw_SearchRow.replacement_Stock_No,\n // \"odometer\": 0,\n // \"vin\": null,\n msrp: vw_SearchRow.replacement_MSRP,\n price: vw_SearchRow.replacement_MSRP,\n trimID: vw_SearchRow.replacementTrimID,\n // \"daysInStock\": null,\n // \"interiorColor\": null,\n // \"exteriorColor\": null,\n // \"countryID\": 4,\n // \"countryName\": \"France\",\n makeID: vw_SearchRow.replacementMakeID,\n makeName: vw_SearchRow.replacement_Make_Name,\n // modelID: vw_SearchRow.replacementModelID, //replacementModelID needs to be added to vw_search\n modelName: vw_SearchRow.replacement_Model_Name,\n yearID: vw_SearchRow.replacement_Model_Year,\n trimName: vw_SearchRow.replacement_Trim_Name,\n // \"rawTrimName\": null,\n // \"mfcModelCode\": \"E43W4\",\n // \"extID\": \"7778055\",\n // \"extOptionId\": \"0\",\n // \"extFuelTypeId\": 1059,\n // \"cityMPG\": 19,\n // \"cityMPGe\": null,\n // \"highwayMPG\": 25,\n // \"highwayMPGe\": null,\n // \"combinedMPG\": 21,\n // \"batteryRange\": null,\n trimFullName: vw_SearchRow.replacement_Full_Trim_Name,\n },\n replacementContract: {\n keyID: vw_SearchRow._EntityKeyID,\n saleType: this.toSaleTypeID(vw_SearchRow.replacement_Sale_Type),\n // \"saleTypeName\": \"Lease\",\n // \"bankID\": 48,\n // \"bankName\": \"Mercedes-Benz Financial\",\n term: vw_SearchRow.replacement_Term,\n // \"termBeforeImprovement\": null,\n apr: this.toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 2 ? vw_SearchRow.replacement_Rate : null,\n moneyFactor: this.toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 1 ? vw_SearchRow.replacement_Rate : null,\n // \"standardRebate\": 0,\n // \"loyaltyRebate\": 0,\n // \"conquestRebate\": 0,\n // \"cashOrAprRebate\": 1000,\n // \"cashOrApr\": true,\n // \"isValueAdded\": false,\n // \"pullForwardAmount\": 5370,\n // \"specialLoyaltyValue\": 0,\n isOverAllowance: this.toYesNoTypeID(vw_SearchRow.is_Over_Allowance),\n financedAmount: this.nullIf(this.toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 1, vw_SearchRow.replacement_Loan_Amount),\n // \"residualAmount\": 35571.55,\n preferredEquity: vw_SearchRow.preferred_Equity,\n payment: vw_SearchRow.replacement_Payment,\n paymentDifference: vw_SearchRow.replacement_Payment - vw_SearchRow.current_Payment,\n // \"capitalCost\": 67512,\n // \"paymentBeforeImprovement\": null,\n // \"salesTax\": 8.75,\n // \"isClosestTerm\": true,\n isAlert: this.toYesNoTypeID(vw_SearchRow.is_Alert),\n isFlexAlert: this.toYesNoTypeID(vw_SearchRow.is_Flex_Alert),\n isConversionAlert: this.toYesNoTypeID(vw_SearchRow.is_Conversion_Alert),\n },\n alerts: []\n };\n opportunity.alerts = this.toAlertTypeList(vw_SearchRow, opportunity.replacementVehicle);\n return opportunity;\n };\n return Opportunity2Service;\n}());\nexports.Opportunity2Service = Opportunity2Service;\n","import { Inject, Injectable } from '@angular/core';\r\n\r\nimport { VehicleService, ContractService, DealSheetService, MapUtilsService } from '../ajs-upgraded-providers';\r\nimport { LocaleCurrencyPipe } from '../filters/locale-currency.pipe';\r\nimport { DealerService } from './dealer.service';\r\nimport { CustomerService } from './customer.service';\r\nimport { UserService } from './user.service';\r\nimport { EntityClientService } from '../generated/services/entity-client.service';\r\nimport { UserClientService } from '../generated/services/user-client.service';\r\nimport { ActivityClientService } from '../generated/services/activity-client.service';\r\n\r\n\r\nimport { EntityOpportunityClientService } from '../generated/services/entity-opportunity-client.service';\r\nimport { TagClientService } from '../generated/services/tag-client.service';\r\nimport { CreditSoftPullResultEntityDelClientService } from '../generated/services/credit-soft-pull-result-entity-del-client.service';\r\nimport { FordCreditApprovalClientService } from '../generated/services/ford-credit-approval-client.service';\r\nimport { VehicleFinalTradeValueTempChangeClientService } from '../generated/services/vehicle-final-trade-value-temp-change-client.service';\r\nimport { DiscrepancyReportClientService } from '../generated/services/discrepancy-report-client.service';\r\nimport { ChangeLogClientService } from '../generated/services/change-log-client.service';\r\nimport { PandoClaimClientService } from '../generated/services/pando-claim-client.service';\r\nimport { SaleClientService } from '../generated/services/sale-client.service';\r\nimport { HttpInterceptorOptionsService } from './http/http-interceptor-options.service';\r\nimport { SearchClientService } from '../generated/services/search-client.service';\r\n\r\nimport {\r\n Modules\r\n , AlertTypes\r\n , VehicleTypes as vehicleTypes\r\n , DiscrepancyTypes as discrepancyTypes\r\n , ConquestTypes as conquestTypes\r\n , OpportunityTypes as opportunityTypes\r\n , OpportunityStatuses as opportunityStatuses\r\n} from '../constants';\r\n\r\nimport { LogTradeValueChangeRequest } from '../generated/models';\r\nimport { EntityExternalDto } from '../generated/models/entity-external-dto';\r\nimport { DealSheetOpportunity } from '../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { LogFactory, NamedLog } from './log-factory.service';\r\n\r\n@Injectable()\r\nexport class Opportunity2Service {\r\n\r\n private activityNotification = { triggered: false, notify: false };\r\n private log: NamedLog;\r\n\r\n constructor(\r\n @Inject(VehicleService) private vehicleService\r\n , @Inject(ContractService) private contractService\r\n , @Inject(DealSheetService) private dealSheetService\r\n , @Inject(MapUtilsService) private mapUtilsService\r\n , private entityClient: EntityClientService\r\n , private dealerService: DealerService\r\n , private customerService: CustomerService\r\n , private userService: UserService\r\n , private userClient: UserClientService\r\n , private activityClientService: ActivityClientService\r\n , private entityOpportunityClientService: EntityOpportunityClientService\r\n , private creditSoftPullResultEntityDelClientService: CreditSoftPullResultEntityDelClientService\r\n , private fordCreditApprovalClientService: FordCreditApprovalClientService\r\n , private vehicleFinalTradeValueTempChangeClientService: VehicleFinalTradeValueTempChangeClientService\r\n , private discrepancyReportClientService: DiscrepancyReportClientService\r\n , private changeLogClientService: ChangeLogClientService\r\n , private pandoClaimClientService: PandoClaimClientService\r\n , private saleClientService: SaleClientService\r\n , private tagClientService: TagClientService\r\n , private localeCurrency: LocaleCurrencyPipe\r\n , private httpInterceptorOptionsService: HttpInterceptorOptionsService\r\n , private searchClientService: SearchClientService\r\n , logFactory: LogFactory\r\n\r\n ) {\r\n this.log = logFactory.get();\r\n }\r\n\r\n // no reference in entire app so commented out.\r\n // public getAllSaleTypeLocalization() {\r\n // //return this.coreApiService.api.Sale.GetAllSaleTypeLocalization.GET()\r\n // return this.saleClientService.GetSaleExtByEntityIdByEntityidGET().toPromise()\r\n // .then(function (response) {\r\n // return response ? response : [];\r\n // });\r\n // }\r\n\r\n public getSaleExtByEntityId(entityId): any {\r\n // return coreApi.api.Sale.GetSaleExtByEntityId['{entityId}'].GET({ entityId: entityId })\r\n return this.saleClientService.GetSaleExtByEntityIdByEntityidGET(entityId).toPromise()\r\n .then(function (response) {\r\n return response;\r\n });\r\n }\r\n\r\n public getVehicleTurnPredictor(entityId): any {\r\n return this.entityClient.GetVehicleTurnPredictorByEntityidGET(entityId).toPromise()\r\n .then(function (response) {\r\n return response;\r\n });\r\n }\r\n\r\n public getActiveNLPNoLongerOwn(entityId): any {\r\n return this.entityClient.GetActiveNLPNoLongerOwnByEntityidGET(entityId).toPromise()\r\n .then(function (response) {\r\n //response.hasData = true;\r\n //response.data = [\r\n // {\r\n // communicationSourceID: 1,\r\n // communicationText: 'no longer owns the car',\r\n // insertDate: '07-04-2021 09:45',\r\n // },\r\n // {\r\n // communicationSourceID: 2,\r\n // communicationText: 'she told me she is not in the market, does not own the lexus anymore, and to stop calling',\r\n // insertDate: '2021-06-08 12:36:02.363',\r\n // }\r\n //];\r\n return response;\r\n });\r\n }\r\n\r\n public updateActiveNLPNoLongerOwn(opportunityId, agreed) {\r\n return this.entityClient.UpdateActiveNLPNoLongerOwnByEntityidByAgreedGETResponse({ 'entityId': opportunityId, 'agreed': agreed }).toPromise();\r\n }\r\n\r\n public getOpportunity(opportunityId, stockNo, calculationType, dsPermissions: DealSheetPermissions, moduleIds): Promise {\r\n // return this.coreApiService.api.Entity.GetExt['{entityId}'].GET({ entityId: opportunityId });\r\n return this.entityClient.GetExtByEntityidGET(opportunityId).toPromise()\r\n .then((entityResponse) => {\r\n return this.dealerService.getDealerSettings(entityResponse.dealerID)\r\n .then((dealerSettings) => {\r\n if (dealerSettings && dealerSettings.allowExpiration && this.isExpired(entityResponse.expirationDate)) {\r\n throw new Error('Deal sheet has expired');\r\n }\r\n\r\n let status;\r\n if (entityResponse.scheduled) {\r\n status = opportunityStatuses.scheduled;\r\n } else if (entityResponse.isMarkedAsSold) {\r\n status = opportunityStatuses.sold;\r\n } else if (entityResponse.closed) {\r\n status = opportunityStatuses.closed;\r\n } else {\r\n status = opportunityStatuses.open;\r\n }\r\n\r\n const opportunity = {\r\n id: entityResponse.entityID,\r\n actionAccess: entityResponse.actionAccess,\r\n keyId: entityResponse.entityKeyID,\r\n dealerId: entityResponse.dealerID,\r\n vehicleId: entityResponse.vehicleID,\r\n customerId: entityResponse.customerID,\r\n type: entityResponse.entityTypeID,\r\n hasExtendedWarranty: entityResponse.hasWarranty,\r\n status: status,\r\n countryID: entityResponse.countryID,\r\n stillOwned: (entityResponse.stillOwn == null) ? true : entityResponse.stillOwn,\r\n paidOff: entityResponse.paidOff,\r\n watched: entityResponse.watched,\r\n assignedUserId: entityResponse.ownerUserID,\r\n isMarkedAsSold: entityResponse.isMarkedAsSold,\r\n expirationDate: entityResponse.expirationDate,\r\n entityScore: entityResponse.entityScore,\r\n autoAssignAccessUserName: entityResponse.autoAssignAccessUserName,\r\n autoAssignOwner: entityResponse.autoAssignOwner,\r\n autoAssignAccessUser: entityResponse.autoAssignAccessUser,\r\n autoAssignAccessSearch: entityResponse.autoAssignAccessSearch,\r\n autoAssignAccessDate: entityResponse.autoAssignAccessDate,\r\n autoAssignOwnerDate: entityResponse.autoAssignOwnerDate,\r\n autoAssignOwnerSearch: entityResponse.autoAssignOwnerSearch,\r\n dealerSettings: dealerSettings,\r\n actionChecked: entityResponse.actionChecked,\r\n onOrder: entityResponse.onOrder == null ? false : entityResponse.onOrder\r\n } as DealSheetOpportunity;\r\n\r\n if (this.activityNotification.triggered === false) {\r\n this.activityNotification.triggered = true;\r\n // this.coreApiService.api.Activity.GetNewActivityNotifications['{entityId}'].GET({ entityId: opportunity.id })\r\n this.activityClientService.GetNewActivityNotificationsByEntityidGET(opportunity.id).toPromise()\r\n .then((notificationsResponse) => {\r\n if (notificationsResponse && this.activityNotification) {\r\n this.activityNotification.notify = notificationsResponse.notification;\r\n }\r\n });\r\n }\r\n\r\n this.getNonEssentialOpportunityData(opportunity, dsPermissions, moduleIds);\r\n\r\n const customerServicePromise = dsPermissions && dsPermissions.viewCustomer ?\r\n this.customerService.getCustomer(opportunity.id) : this.customerService.getCustomerName(opportunity.id);\r\n\r\n return customerServicePromise\r\n .then((customer) => {\r\n return Promise.all([\r\n this.vehicleService.getCurrentVehicle(opportunity.vehicleId), // results[0]\r\n this.contractService.getCurrentContract(opportunity.id, opportunity.type), // results[1]\r\n this.vehicleService.getReplacementVehicles(opportunity.id, stockNo, customer.pricingPlanId), // results[2]\r\n this.getTags(opportunity.id),\r\n // this.coreApiService.api.User.FullNameByEntity['{entityId}'].GET({ entityId: opportunity.id }),\r\n this.userClient.GetUserFullNameByEntityByEntityidGET(opportunity.id).toPromise() // results[3]\r\n ])\r\n .then((results) => {\r\n const data = {\r\n customer: customer\r\n , currentVehicle: results[0]\r\n , currentContract: results[1]\r\n , replacementVehicles: results[2]\r\n , tags: results[3]\r\n , fullName: results[4]\r\n\r\n };\r\n return this.resolveOpportunityDetails(data, opportunity, dsPermissions);\r\n });\r\n });\r\n });\r\n });\r\n\r\n }\r\n\r\n private getNonEssentialOpportunityData(opportunity, dsPermissions, moduleIds) {\r\n // WEBUI-7833 Non-essential api calls are made here (moved out of $q.all):\r\n\r\n // this.coreApiService.api.User.GetEntityUserInfo['{entityId}'].GET({ entityId: opportunity.id })\r\n try {\r\n this.userClient.GetEntityUserInfoByEntityidGET(opportunity.id).toPromise()\r\n .then(function (data) {\r\n opportunity.ownerUserInfo = data;\r\n })\r\n .catch(err => {\r\n this.log.warn(err);\r\n });\r\n } catch (err) {\r\n this.log.warn(err);\r\n }\r\n\r\n try {\r\n this.getCreditSoftPullResultAsync(dsPermissions, opportunity.id)\r\n .then((data) => { opportunity.creditSoftPull = data; })\r\n .catch(err => {\r\n this.log.warn(err);\r\n });\r\n } catch (err) {\r\n this.log.warn(err);\r\n }\r\n\r\n try {\r\n this.getCreditPrescreenStatus(opportunity.id, moduleIds)\r\n .then((data) => { opportunity.creditPrescreenStatus = data; })\r\n .catch(err => {\r\n this.log.warn(err);\r\n });\r\n } catch (err) {\r\n this.log.warn(err);\r\n }\r\n\r\n try {\r\n const isFordAlertEnabled = this.userService.isDealerEnabledForModule(opportunity.dealerId, Modules.fordAlert);\r\n if (isFordAlertEnabled) {\r\n this.getCreditPreApprovalAsync(opportunity.id)\r\n .then((data) => { opportunity.creditPreApproval = data; })\r\n .catch(err => {\r\n this.log.warn(err);\r\n });\r\n } else {\r\n opportunity.creditPreApproval = null;\r\n }\r\n } catch (err) {\r\n this.log.warn(err);\r\n }\r\n\r\n try {\r\n this.getPandoClaim(opportunity.id)\r\n .then((data) => {\r\n opportunity.pandoClaim = data;\r\n })\r\n .catch(err => {\r\n this.log.warn(err);\r\n });\r\n } catch (err) {\r\n this.log.warn(err);\r\n }\r\n }\r\n\r\n private resolveOpportunityDetails(data: any, opportunity: DealSheetOpportunity, permissions: DealSheetPermissions): Promise {\r\n\r\n opportunity.currentContract = data.currentContract;\r\n opportunity.currentVehicle = data.currentVehicle;\r\n opportunity.currentVehicle.type = opportunity.currentContract.vehicleType;\r\n opportunity.currentContract.hasExtendedWarranty = opportunity.hasExtendedWarranty;\r\n opportunity.currentContract.paidOff = opportunity.paidOff;\r\n if (opportunity.currentContract.paidOff) {\r\n opportunity.currentContract.paymentsRemaining = 0;\r\n opportunity.currentContract.payoffAmount = 0;\r\n }\r\n\r\n opportunity.replacementVehicles = data.replacementVehicles;\r\n opportunity.replacementVehicle = opportunity.replacementVehicles.standardVehicle;\r\n opportunity.customer = data.customer;\r\n opportunity.tags = data.tags;\r\n opportunity.assignedUserFullName = data.fullName;\r\n\r\n // this.coreApiService.api.Entity.MarkAsRead.POST(\"'\" + opportunity.id + \"'\");\r\n this.entityClient.MarkAsReadPOST('\\'' + opportunity.id + '\\'').toPromise();\r\n\r\n if (opportunity.type == opportunityTypes.conquest) {\r\n opportunity.currentContract.conquestType =\r\n this.isCreditConvertOpportunity(opportunity) ? conquestTypes.creditConvert : conquestTypes.notConverted;\r\n } else if (opportunity.type == opportunityTypes.converted) {\r\n opportunity.currentContract.conquestType = conquestTypes.converted;\r\n }\r\n\r\n const tradeValue = (opportunity.stillOwned === null || opportunity.stillOwned === true) ? opportunity.currentVehicle.tradeValue : 0;\r\n const equityValue = opportunity.currentContract.payoffAmount ? opportunity.currentContract.payoffAmount : 0;\r\n opportunity.currentContract.equity = { tradeValue: tradeValue, equityValue: tradeValue - equityValue };\r\n\r\n // return this.coreApiService.api.EntityOpportunity.GetOpportunitiesForEntity['{entityId}'].GET({ entityId: opportunity.id })\r\n return this.entityOpportunityClientService.GetOpportunitiesForEntityByEntityidGET(opportunity.id).toPromise()\r\n .then((response) => {\r\n const alerts = [];\r\n for (let i = 0; i < response.length; i++) {\r\n const alert = response[i];\r\n\r\n alerts.push({\r\n type: alert.alertType,\r\n typeName: this.getAlertTypeName(alert.alertType)\r\n });\r\n }\r\n return alerts.sort(this.byType);\r\n })\r\n .then((alerts) => {\r\n opportunity.alerts = alerts;\r\n return opportunity;\r\n })\r\n .then(() => {\r\n return this.contractService.getReplacementContracts(opportunity, permissions)\r\n .then((data) => {\r\n opportunity.replacementContracts = data.contracts;\r\n opportunity.replacementContract = data.defaultContract;\r\n if (opportunity.replacementContract) {\r\n opportunity.replacementContract.vehicleType = opportunity.replacementVehicle.type;\r\n }\r\n\r\n this.setAlertDetails(opportunity.alerts, opportunity.currentVehicle,\r\n opportunity.currentContract, opportunity.replacementVehicle, opportunity.replacementContract);\r\n return opportunity;\r\n }\r\n\r\n );\r\n });\r\n }\r\n\r\n private isExpired(dealSheetExpirationDate) {\r\n const todayDate = (new Date()).setHours(0, 0, 0, 0);\r\n const expirationDate = (new Date(dealSheetExpirationDate)).setHours(0, 0, 0, 0);\r\n return (todayDate > expirationDate);\r\n }\r\n\r\n public getOpportunityEntityOnly(opportunityId) {\r\n return this.entityClient.GetExtByEntityidGET(opportunityId).toPromise()\r\n // return this.coreApiService.api.Entity.GetExt['{entityId}'].GET({ entityId: opportunityId })\r\n .then((response) => {\r\n let status;\r\n if (response.scheduled) {\r\n status = opportunityStatuses.scheduled;\r\n } else if (response.isMarkedAsSold) {\r\n status = opportunityStatuses.sold;\r\n } else if (response.closed) {\r\n status = opportunityStatuses.closed;\r\n } else {\r\n status = opportunityStatuses.open;\r\n }\r\n const opportunity = {\r\n id: response.entityID,\r\n actionAccess: response.actionAccess,\r\n keyId: response.entityKeyID,\r\n dealerId: response.dealerID,\r\n vehicleId: response.vehicleID,\r\n customerId: response.customerID,\r\n type: response.entityTypeID,\r\n hasExtendedWarranty: response.hasWarranty,\r\n status: status,\r\n stillOwned: (response.stillOwn == null) ? true : response.stillOwn,\r\n paidOff: response.paidOff,\r\n watched: response.watched,\r\n assignedUserId: response.ownerUserID,\r\n isMarkedAsSold: response.isMarkedAsSold,\r\n expirationDate: response.expirationDate,\r\n entityScore: response.entityScore,\r\n actionChecked: response.actionChecked\r\n };\r\n return opportunity;\r\n });\r\n }\r\n\r\n public getTags(opportunityId): any {\r\n // return this.coreApiService.api.Tag.GetTagsForEntity['{entityId}'].GET({ entityId: opportunityId })\r\n return this.tagClientService.GetTagsForEntityByEntityidGET(opportunityId).toPromise()\r\n .then((response) => {\r\n const tags = [];\r\n for (let i = 0; i < response.length; i++) {\r\n const tag = response[i];\r\n tag.text = tag.tagText,\r\n tag.expirationDate = tag.tagExpireDate;\r\n tags.push(tag);\r\n }\r\n return tags;\r\n });\r\n }\r\n\r\n public getTagsPivotForDealers(selectedDealerId, flushCache): any {\r\n // return this.coreApiService.api.Tag.GetTagsPivotForDealers.GET({ flushCache: flushCache }, { overrideDealerIds: [selectedDealerId] })\r\n if (selectedDealerId !== null && selectedDealerId !== undefined) {\r\n this.httpInterceptorOptionsService.setOverrideDealerIds([selectedDealerId]);\r\n }\r\n return this.tagClientService.GetTagsPivotForDealersGET(flushCache).toPromise()\r\n .then((data) => {\r\n return data;\r\n });\r\n }\r\n\r\n public resetActivityNotification() {\r\n if (this.activityNotification) {\r\n this.activityNotification.triggered = false;\r\n this.activityNotification.notify = false;\r\n }\r\n }\r\n\r\n public getOpportunitiesByCustomerId(customerId) {\r\n return this.entityClient.GetEntityReportByCustomerIdByCustomeridGET(customerId).toPromise()\r\n // return this.coreApiService.api.Entity.GetEntityReportByCustomerId['{customerId}'].GET({ customerId: customerId })\r\n .then((response) => {\r\n return this.buildOpportunitiesFromEntityReport(response);\r\n });\r\n }\r\n\r\n public buildOpportunitiesFromEntityReport(entityReport) {\r\n const opportunities = [];\r\n if (entityReport == null || entityReport.length < 1) {\r\n return opportunities;\r\n }\r\n\r\n for (let i = 0; i < entityReport.length; i++) {\r\n const opportunity = entityReport[i];\r\n if (opportunity) {\r\n opportunities.push({\r\n id: opportunity.entityID,\r\n type: opportunity.entityTypeID,\r\n alerts: opportunity.alerts ? opportunity.alerts : [],\r\n stillOwned: (opportunity.stillOwn == null) ? true : opportunity.stillOwn,\r\n assignedUserFullName: opportunity.ownerFullName,\r\n status: opportunity.closed,\r\n opportunityRank: opportunity.opportunityRank,\r\n entityScore: opportunity.entityScore,\r\n currentVehicle: {\r\n type: opportunity.soldAsNew ? vehicleTypes.new : vehicleTypes.used,\r\n makeName: opportunity.makeName,\r\n yearID: opportunity.yearID == 0 ? '' : opportunity.yearID,\r\n modelName: opportunity.modelName,\r\n trimName: opportunity.trimName,\r\n trimFullName: this.mapUtilsService.getVehicleTrimFullName(opportunity),\r\n lastServiceDate: opportunity.lastServiceDate,\r\n vin: opportunity.vin\r\n },\r\n currentContract: {\r\n saleType: opportunity.saleTypeID,\r\n startDate: opportunity.dealDate,\r\n soldByFullName: opportunity.soldByFullName\r\n },\r\n dealerName: opportunity.dealerName\r\n });\r\n }\r\n }\r\n\r\n return opportunities;\r\n }\r\n\r\n public getOpportunitiesByVin(dealerId, vin) {\r\n return this.entityClient.GetEntityReportByDealerIdAndVinByDealeridByVinGET({ dealerId: dealerId, vin: vin }).toPromise()\r\n // return this.coreApiService.api.Entity.GetEntityReportByDealerIdAndVin['{dealerId}']['{vin}'].GET({ dealerId: dealerId, vin: vin })\r\n .then((response) => {\r\n const data = response;\r\n const opportunities = [];\r\n\r\n for (let i = 0; i < data.length; i++) {\r\n opportunities.push({\r\n id: data[i].entityID,\r\n customerFullName: data[i].customerFullName,\r\n alerts: data[i].alerts\r\n });\r\n }\r\n\r\n return opportunities;\r\n });\r\n }\r\n\r\n public getOwnerUserInfo(opportunityId) {\r\n // return this.coreApiService.api.User.GetEntityUserInfo['{entityId}'].GET({ entityId: opportunityId });\r\n return this.userClient.GetEntityUserInfoByEntityidGET(opportunityId).toPromise();\r\n }\r\n\r\n public addAlertsAsProperties(target, alerts) {\r\n this.clearAlerts(target);\r\n for (let i = 0; i < alerts.length; i++) {\r\n const alert = alerts[i];\r\n for (const alertType in AlertTypes) {\r\n if (AlertTypes.hasOwnProperty(alertType)) {\r\n if (alert.type == AlertTypes[alertType]) {\r\n if (alert.typeName.toLowerCase().indexOf('alert') !== -1) {\r\n target[alert.typeName + 'Exists'] = true;\r\n } else {\r\n target[alert.typeName + 'AlertExists'] = true;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n public updateAssignedUser(opportunityId, userId) {\r\n return this.entityClient.ReassignToUserIdPOSTResponse({ 'entityId': opportunityId, 'assignToUserId': userId }).toPromise();\r\n // return this.coreApiService.api.Entity.ReassignToUserId.POST({ \"entityId\": opportunityId, \"assignToUserId\": userId });\r\n }\r\n\r\n public markOpportunityWatched(opportunityId) {\r\n return this.entityClient.WatchByEntityidPOSTResponse(opportunityId).toPromise();\r\n // return this.coreApiService.api.Entity.Watch['{entityId}'].POST({}, { entityId: opportunityId });\r\n }\r\n\r\n public markOpportunityUnwatched(opportunityId) {\r\n return this.entityClient.UnwatchByEntityidPOSTResponse(opportunityId).toPromise();\r\n // return this.coreApiService.api.Entity.Unwatch['{entityId}'].POST({}, { entityId: opportunityId });\r\n }\r\n\r\n public reopenOpportunity(opportunityId): Promise {\r\n return this.entityClient.ReopenByEntityidPOSTResponse(opportunityId).toPromise();\r\n // return this.coreApiService.api.Entity.Reopen['{entityId}'].POST({}, { entityId: opportunityId });\r\n }\r\n\r\n public submitCreditPrescreenRequest(opportunityId, permissions, moduleIds, dealerSettings) {\r\n if (permissions.requestCreditPrescreen\r\n && moduleIds.indexOf(Modules.creditConvert) > -1\r\n && dealerSettings.useCreditSoftPull) {\r\n // return this.coreApiService.api.Entity.CreditPrescreenRequest['{entityId}'].POST({}, { entityId: opportunityId });\r\n return this.entityClient.CreditPrescreenRequestByEntityidPOSTResponse(opportunityId).toPromise();\r\n\r\n } else {\r\n return Promise.resolve(false);\r\n }\r\n }\r\n\r\n public getCreditPrescreenStatus(opportunityId, moduleIds): Promise {\r\n if (moduleIds.indexOf(Modules.creditConvert) > -1) {\r\n // return this.coreApiService.api.Entity.CreditPrescreenStatus['{entityId}'].GET({ entityId: opportunityId })\r\n return this.entityClient.CreditPrescreenStatusByEntityidGET(opportunityId).toPromise()\r\n .then((response) => {\r\n return response != '' ? response : null;\r\n },\r\n () => { });\r\n } else {\r\n return Promise.resolve(null);\r\n }\r\n }\r\n\r\n public getCreditSoftPullResultAsync(permissions, opportunityId): Promise {\r\n if (permissions && permissions.requestCreditPrescreen) {\r\n // return this.coreApiService.api.CreditSoftPullResultEntityDel['{entityId}'].GET({ entityId: opportunityId })\r\n return this.creditSoftPullResultEntityDelClientService.GetCreditSoftPullResultEntityDelByEntityidGET(opportunityId).toPromise()\r\n .then((result) => result,\r\n () => { });\r\n } else {\r\n return Promise.resolve(undefined);\r\n }\r\n }\r\n\r\n private getCreditPreApprovalAsync(opportunityId) {\r\n // return this.coreApiService.api.FordCreditApproval.FordCreditApprovalByEntityId['{entityId}'].GET({ entityId: opportunityId })\r\n return this.fordCreditApprovalClientService.FordCreditApprovalByEntityIdByEntityidGET(opportunityId).toPromise()\r\n .then((result) => result,\r\n function () { });\r\n }\r\n\r\n public setAlertDetails(alerts, currentVehicle, currentContract, replacementVehicle, replacementContract) {\r\n for (let i = 0; i < alerts.length; i++) {\r\n const alert = alerts[i];\r\n\r\n switch (alert.type) {\r\n case AlertTypes.alert:\r\n case AlertTypes.flexAlert:\r\n this.setFlexAlertDetails(alert, replacementVehicle, replacementContract);\r\n break;\r\n case AlertTypes.service:\r\n this.setServiceAlertDetails(alert, currentVehicle);\r\n break;\r\n case AlertTypes.appointment:\r\n this.setAppointmentAlertDetails(alert, currentVehicle);\r\n break;\r\n case AlertTypes.contractEnd:\r\n this.setContractEndAlertDetails(alert, currentContract);\r\n break;\r\n case AlertTypes.mileage:\r\n this.setMileageAlertDetails(alert, currentContract);\r\n break;\r\n case AlertTypes.warranty:\r\n this.setWarrantyAlertDetails(alert, currentVehicle, currentContract);\r\n break;\r\n default:\r\n break;\r\n }\r\n alert.translateKey = this.getAlertTranslateKey(alert);\r\n }\r\n }\r\n\r\n private getAlertTranslateKey(alert) {\r\n if (alert.details && !alert.details.payment\r\n && (alert.type == AlertTypes.alert || alert.type == AlertTypes.flexAlert)) {\r\n return alert.typeName + 'RelevantInfoNoPayment';\r\n }\r\n\r\n return alert.typeName + 'RelevantInfo';\r\n }\r\n\r\n private isCreditConvertOpportunity(opportunity) {\r\n return this.containsTag(opportunity, 'CreditConvert');\r\n }\r\n\r\n private containsTag(opportunity, tagText) {\r\n if (opportunity && opportunity.tags) {\r\n return opportunity.tags.some((tag) => {\r\n return tag.text === tagText;\r\n });\r\n }\r\n }\r\n\r\n private byType(alert1, alert2) {\r\n if (alert1.type > alert2.type) {\r\n return 1;\r\n } else if (alert1.type < alert2.type) {\r\n return -1;\r\n } else {\r\n return 0;\r\n }\r\n }\r\n\r\n private setFlexAlertDetails(alert, vehicle, contract) {\r\n alert.details = {\r\n yearID: vehicle.yearID,\r\n makeName: vehicle.makeName,\r\n modelName: vehicle.modelName,\r\n trimName: vehicle.trimName,\r\n contractTerm: contract ? contract.term : null,\r\n payment: contract ? contract.payment : null,\r\n paymentDifferenceAmount: contract ? contract.paymentDifference : null\r\n };\r\n }\r\n\r\n private setServiceAlertDetails(alert, vehicle) {\r\n alert.details = {\r\n openDate: vehicle.openDate,\r\n eighteenMonthServiceCount: vehicle.eighteenMonthServiceCount\r\n };\r\n }\r\n\r\n private setAppointmentAlertDetails(alert, vehicle) {\r\n alert.details = {\r\n appointmentDate: vehicle.appointmentDate\r\n };\r\n }\r\n\r\n private setContractEndAlertDetails(alert, contract) {\r\n alert.details = {\r\n paymentsMade: contract.paymentsMade,\r\n paymentsRemaining: contract.paymentsRemaining\r\n };\r\n }\r\n\r\n private setMileageAlertDetails(alert, contract) {\r\n alert.details = {\r\n estimatedMaturityMileage: contract.estimatedMaturityMileage,\r\n currentMileagePenalty: contract.currentMileagePenalty,\r\n estimatedMileagePenalty: contract.estimatedMileagePenalty\r\n };\r\n }\r\n\r\n private setWarrantyAlertDetails(alert, vehicle, contract) {\r\n alert.details = {\r\n warrantyMonthsRemaining: vehicle.warrantyMonthsRemaining ? vehicle.warrantyMonthsRemaining : contract.warrantyMonthsRemaining,\r\n warrantyMilesRemaining: vehicle.warrantyMilesRemaining ? vehicle.warrantyMilesRemaining : contract.warrantyMilesRemaining\r\n };\r\n }\r\n\r\n private getAlertTypeName(alertType) {\r\n switch (alertType) {\r\n case AlertTypes.alert:\r\n return 'alert';\r\n case AlertTypes.flexAlert:\r\n return 'flexAlert';\r\n case AlertTypes.inMarket:\r\n return 'inMarket';\r\n case AlertTypes.inMarketEngaged:\r\n return 'inMarketEngaged';\r\n case AlertTypes.contractEnd:\r\n return 'contractEnd';\r\n case AlertTypes.service:\r\n return 'service';\r\n case AlertTypes.appointment:\r\n return 'appointment';\r\n case AlertTypes.mileage:\r\n return 'mileage';\r\n case AlertTypes.warranty:\r\n return 'warranty';\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n private clearAlerts(target) {\r\n target.alertExists = null;\r\n target.flexAlertExists = null;\r\n target.serviceAlertExists = null;\r\n target.appointmentAlertExists = null;\r\n target.mileageAlertExists = null;\r\n target.contractEndAlertExists = null;\r\n target.warrantyAlertExists = null;\r\n }\r\n\r\n public logTradeValueChange(vehicleId, tradeValue) {\r\n // return this.coreApiService.api.VehicleFinalTradeValueTempChange.LogTradeValueChange.POST({ VehicleID: vehicleId, TradeValue: tradeValue });\r\n const params: LogTradeValueChangeRequest = { vehicleID: vehicleId, tradeValue: tradeValue };\r\n return this.vehicleFinalTradeValueTempChangeClientService.LogTradeValueChangePOSTResponse(params).toPromise();\r\n }\r\n\r\n public getChangeLogs(opportunityId) {\r\n // return this.coreApiService.api.ChangeLog['{entityId}'].GET({ entityId: opportunityId })\r\n return this.changeLogClientService.ByEntityidGET(opportunityId).toPromise()\r\n .then((response) => {\r\n if (!response) { return null; }\r\n return response;\r\n });\r\n }\r\n\r\n public submitDiscrepancy(opportunity, discrepancy) {\r\n const request = {\r\n entityId: opportunity.id,\r\n reportableFieldId: discrepancy.type,\r\n reportableExpectedValue: discrepancy.expectedValue,\r\n dealerId: opportunity.dealerId,\r\n dealerName: opportunity.dealer.name,\r\n customerFullName: opportunity.customer.fullName,\r\n currentVehicleVin: opportunity.currentVehicle.vin,\r\n reportDiscrepancyVehicle: {\r\n yearID: opportunity.replacementVehicle.yearID,\r\n fullTrimName: opportunity.replacementVehicle.makeName + ' ' + opportunity.replacementVehicle.trimFullName,\r\n localePrice: this.localeCurrency.transform(opportunity.replacementVehicle.price)\r\n },\r\n dealSheetUrl: this.dealSheetService.getDealSheetUrl(opportunity.id),\r\n ReportableCurrentValues: null,\r\n reportableCurrentValue: null\r\n };\r\n\r\n if (discrepancy.multiple) {\r\n request.ReportableCurrentValues = discrepancy.currentValue;\r\n } else {\r\n if (discrepancy.type == discrepancyTypes.tradeValue || discrepancy.type == discrepancyTypes.payoffAmount) {\r\n request.reportableCurrentValue = this.localeCurrency.transform(discrepancy.currentValue);\r\n } else {\r\n request.reportableCurrentValue = discrepancy.currentValue;\r\n }\r\n }\r\n\r\n // return this.coreApiService.api.DiscrepancyReport.ReportDiscrepancy.POST(request);\r\n return this.discrepancyReportClientService.ReportDiscrepancyPOSTResponse(request).toPromise();\r\n }\r\n\r\n public addTermOverrideChangeLog(vehicleId, term) {\r\n // return this.coreApiService.api.ChangeLog.Term['{vehicleId}']['{term}'].POST({}, { vehicleId: vehicleId, term: term });\r\n return this.changeLogClientService.AddTermChangeLogByVehicleidByTermPOSTResponse({ vehicleId: vehicleId, term: term }).toPromise();\r\n }\r\n\r\n public addPriceOverrideChangeLog(vehicleId, price) {\r\n // return this.coreApiService.api.ChangeLog.Price['{vehicleId}']['{price}'].POST({}, { vehicleId: vehicleId, price: price });\r\n return this.changeLogClientService.AddPriceChangeLogByVehicleidByPricePOSTResponse({ vehicleId: vehicleId, price: price }).toPromise();\r\n }\r\n\r\n public getPandoClaim(opportunityId): any {\r\n // return (this.coreApiService.api.PandoClaim.ByEntity['{entityId}'].GET({ entityId: opportunityId }))\r\n return this.pandoClaimClientService.ByEntityByEntityidGET(opportunityId).toPromise()\r\n .then((results) => {\r\n return results;\r\n });\r\n }\r\n\r\n public hasReviewProDealer(entityId: string): Promise {\r\n return this.entityClient.HasReviewProDealerByEntityidGET(entityId).toPromise()\r\n // return (this.coreApiService.api.Entity.HasReviewProDealer['{entityId}'].GET({ entityId: entityId }))\r\n .then((results) => {\r\n return results;\r\n },\r\n () => {\r\n return false;\r\n });\r\n }\r\n\r\n public hasGeoAlertDealer(entityId: string): Promise {\r\n return this.entityClient.HasGeoAlertDealerByEntityidGET(entityId).toPromise()\r\n // return (this.coreApiService.api.Entity.HasGeoAlertDealer['{entityId}'].GET({ entityId: entityId }))\r\n .then((results) => {\r\n return results;\r\n },\r\n () => {\r\n return false;\r\n });\r\n }\r\n\r\n\r\n public getEntityScoreFeature(entityId): Promise {\r\n return this.entityClient.GetEntityScoreFeatureByEntityidGET(entityId).toPromise()\r\n .then(function (response) {\r\n return response;\r\n });\r\n }\r\n\r\n\r\n\r\n /* BEGIN --- Unused redundent functions that were created for dealsheet lite in service but never used */\r\n\r\n public showIfNotNullOrEmpty(defaultValue, item, obj) {\r\n\r\n if (item != null && item != '') {\r\n if (obj != null) { return obj; }\r\n return item;\r\n }\r\n return defaultValue;\r\n }\r\n\r\n public toYesNoTypeID(yesNoTypeName) {\r\n if (yesNoTypeName == null) { return 0; }\r\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\r\n if (yesNoTypeName == 'yes') { return 1; }\r\n if (yesNoTypeName == 'no') { return 0; }\r\n return 0;\r\n }\r\n\r\n public toBoolean(yesNoTypeName) {\r\n if (yesNoTypeName == null) { return false; }\r\n yesNoTypeName = yesNoTypeName.toString().toLowerCase();\r\n if (yesNoTypeName == 'yes') { return true; }\r\n if (yesNoTypeName == 'no') { return false; }\r\n return false;\r\n }\r\n\r\n public nullIf(valueIfNull, defaultValue) {\r\n if (valueIfNull) { return null; }\r\n return defaultValue;\r\n }\r\n\r\n public defaultValue(value, defaultValue) {\r\n if (value == null) { return defaultValue; }\r\n return value;\r\n }\r\n\r\n public toSaleTypeID(saleType) {\r\n if (saleType == null) { return ''; }\r\n saleType = saleType.toString().toLowerCase();\r\n if (saleType == 'lease') { return 1; }\r\n if (saleType == 'retail') { return 2; }\r\n if (saleType == 'balloon') { return 3; }\r\n if (saleType == 'cash') { return 4; }\r\n if (saleType == 'onepay lease') { return 5; }\r\n if (saleType == 'wholesale') { return 6; }\r\n if (saleType == 'incomplete') { return 7; }\r\n return '';\r\n }\r\n\r\n public NewUsedCpoToID(vehicleType) {\r\n if (vehicleType == null) { return ''; }\r\n vehicleType = vehicleType.toString().toLowerCase();\r\n if (vehicleType == 'new') { return 0; }\r\n if (vehicleType == 'used') { return 1; }\r\n if (vehicleType == 'cpo') { return 2; }\r\n return '';\r\n }\r\n\r\n public toAlertTypeList(vw_search, replacementVehicle) {\r\n replacementVehicle.payment = vw_search.replacement_Payment;\r\n const alerts = [];\r\n if (vw_search.is_Alert == 'Yes') { this.pushAlert(alerts, AlertTypes.alert, 'alert', replacementVehicle); }\r\n if (vw_search.is_Appointment == 'Yes') { this.pushAlert(alerts, AlertTypes.appointment, 'appointment', replacementVehicle); }\r\n if (vw_search.is_Contract_End == 'Yes') { this.pushAlert(alerts, AlertTypes.contractEnd, 'contractEnd', replacementVehicle); }\r\n // if (vw_search.is_Conversion_Alert == \"Yes\") this.pushAlert(alerts, alertTypes.alert, 'alert');\r\n if (vw_search.is_Flex_Alert == 'Yes') { this.pushAlert(alerts, AlertTypes.flexAlert, 'flexAlert', replacementVehicle); }\r\n if (vw_search.is_In_Market == 'Yes') { this.pushAlert(alerts, AlertTypes.inMarket, 'inMarket', replacementVehicle); }\r\n if (vw_search.is_In_Market_Engaged == 'Yes') { this.pushAlert(alerts, AlertTypes.inMarketEngaged, 'inMarketEngaged', replacementVehicle); }\r\n if (vw_search.is_Mileage_Alert == 'Yes') { this.pushAlert(alerts, AlertTypes.mileage, 'mileage', replacementVehicle); }\r\n if (vw_search.is_Warranty_Alert == 'Yes') { this.pushAlert(alerts, AlertTypes.warranty, 'warranty', replacementVehicle); }\r\n\r\n return alerts;\r\n }\r\n\r\n public pushAlert(arr, type, name, replacementVehicle) {\r\n arr.push({\r\n type: type,\r\n typeName: name,\r\n translateKey: name + 'RelevantInfo',\r\n details: replacementVehicle, // terrible. needs refactor.\r\n\r\n });\r\n }\r\n\r\n /* END ---- Unused redundent functions that were created for dealsheet lite in service but never used */\r\n\r\n public getOpportunityFromViewEntityId(entityId, vw_SearchRow) {\r\n if (vw_SearchRow == null || vw_SearchRow['_EntityID'] == null) {\r\n entityId = (vw_SearchRow == null) ? entityId : vw_SearchRow.opportunityId;\r\n // return this.coreApiService.api.Search.GetSearchByEntityId['{entityId}'].GET({ entityId: entityId });\r\n return this.searchClientService.GetSearchByEntityIdByEntityidGET(entityId).toPromise()\r\n .then((results) => results);\r\n } else {\r\n return Promise.resolve(vw_SearchRow);\r\n }\r\n }\r\n\r\n public getOpportunityFromView(vw_SearchRow) {\r\n if (vw_SearchRow == null) {\r\n return;\r\n }\r\n const opportunity = {\r\n id: vw_SearchRow._EntityID,\r\n vehicleId: vw_SearchRow._VehicleID,\r\n type: vw_SearchRow._EntityTypeID,\r\n stillOwned: this.toBoolean(vw_SearchRow.still_Own),\r\n paidOff: this.toBoolean(vw_SearchRow.paid_Off),\r\n dealerId: vw_SearchRow._DealerID,\r\n customer: {\r\n fullName: vw_SearchRow.full_Name,\r\n address: {\r\n streetAddress: vw_SearchRow.address,\r\n streetAddress2: vw_SearchRow.address_2,\r\n stateId: vw_SearchRow._StateID,\r\n normalizedZipCode: vw_SearchRow.zip_Code,\r\n zipCode: vw_SearchRow.zip_Code,\r\n city: vw_SearchRow.city,\r\n stateName: vw_SearchRow.state\r\n },\r\n pricingPlanId: null, // disables UseEmployeePricing\r\n alternateContacts: [],\r\n cellPhoneNumber: this.showIfNotNullOrEmpty(null, vw_SearchRow.cell_Phone, {\r\n 'contactType': 4,\r\n 'value': vw_SearchRow.cell_Phone,\r\n 'isBad': false,\r\n 'isPreferred': true,\r\n 'doNotCallStatusTypeId': 4\r\n }),\r\n 'companyName': '',\r\n 'doNotCall': this.toBoolean(vw_SearchRow.do_Not_Call),\r\n 'doNotEmail': this.toBoolean(vw_SearchRow.do_Not_Email),\r\n 'doNotMail': this.toBoolean(vw_SearchRow.do_Not_Mail),\r\n 'emailAddress': this.showIfNotNullOrEmpty(null, vw_SearchRow.email, {\r\n 'contactType': 5,\r\n 'value': vw_SearchRow.email,\r\n 'isBad': vw_SearchRow.email != '',\r\n 'isPreferred': vw_SearchRow.email != ''\r\n }),\r\n 'firstName': vw_SearchRow.first_Name,\r\n 'homePhoneNumber': this.showIfNotNullOrEmpty(null, vw_SearchRow.home_Phone, {\r\n 'contactType': 2,\r\n 'value': vw_SearchRow.home_Phone,\r\n 'isBad': false,\r\n 'isPreferred': true,\r\n 'doNotCallStatusTypeId': 4\r\n }),\r\n 'id': vw_SearchRow._CustomerID,\r\n 'invalidContacts': [],\r\n 'isAddressNotValid': false,\r\n 'isFullCustomer': true,\r\n 'lastName': vw_SearchRow.last_Name,\r\n 'middleName': vw_SearchRow.middle_Name,\r\n 'workPhoneNumber': this.showIfNotNullOrEmpty(null, vw_SearchRow.work_Phone, {\r\n 'contactType': 3,\r\n 'value': vw_SearchRow.work_Phone,\r\n 'isBad': false,\r\n 'isPreferred': true,\r\n 'doNotCallStatusTypeId': 4\r\n })\r\n },\r\n // \"dealer\": {\r\n // \"name\": \"MB Demo\",\r\n // \"displayText\": \"MB Demo (MBDEMO)\"\r\n // },\r\n entityScore: vw_SearchRow._Opportunity_Rank,\r\n assignedUserId: vw_SearchRow._OwnerUserID,\r\n assignedUserFullName: vw_SearchRow._Customer_Owner,\r\n // alerts: toAlertTypeList(vw_SearchRow),\r\n permissions: {\r\n viewContract: true,\r\n },\r\n currentContract: {\r\n adjustedBalance: vw_SearchRow.estimated_Payoff - vw_SearchRow.totalPenalty,\r\n saleType: vw_SearchRow._SaleTypeID,\r\n moneyFactor: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.rate : null,\r\n payment: vw_SearchRow.current_Payment, // 1790,\r\n soldByName: vw_SearchRow.sold_By_Name, // \"THOMAS CARNEVALE\"\r\n vehicleType: this.NewUsedCpoToID(vw_SearchRow.new_Used),\r\n paymentsMade: vw_SearchRow.payments_Made, // 41,\r\n paymentsRemaining: vw_SearchRow.payment_Remaining, // 7,\r\n // \"cashPaid\": null,\r\n allowedMileage: vw_SearchRow.lease_Total_Allowed_Miles, // 48000, //N/A\r\n // \"estimatedMaturityMileage\": 51700,\r\n // \"currentMileagePenalty\": 0,\r\n // \"estimatedMileagePenalty\": 900,\r\n // \"preferredEquity\": 5350,\r\n // \"balanceToMaturity\": 13125,\r\n // \"dispositionFee\": 595,\r\n entityID: vw_SearchRow._EntityID,\r\n // \"hasWarranty\": false,\r\n bankName: vw_SearchRow.bank_Name,\r\n // \"bankUrl\": \"https://new.mb-advantage.com\",\r\n // \"isCreditConvert\": true,\r\n // \"paymentMinimum\": 1700,\r\n // \"paymentMaximum\": 1750,\r\n payoffAmount: vw_SearchRow.estimated_Payoff, // 57550,\r\n // \"payoffGoodThroughDate\": null,\r\n lastTouchedDate: vw_SearchRow.last_Payment_Date, // How Necessary is this? Required by \r\n saleID: vw_SearchRow._SaleID, // 60924823,\r\n // \"insertDate\": \"2015-04-25T01:25:57.84Z\",\r\n // \"dealerID\": 1167,\r\n // \"customerID\": 38827071,\r\n // \"vehicleID\": 89569084,\r\n // \"soldAsNew\": true,\r\n // \"mileageAtDelivery\": 8,\r\n // \"bankID\": 48,\r\n dmsDealId: vw_SearchRow.dmS_Deal_ID,\r\n // \"soldByID\": 314698,\r\n term: vw_SearchRow.deal_Term,\r\n dealDate: vw_SearchRow.deal_Date,\r\n // \"firstPaymentDate\": \"2015-04-18T00:00:00\",\r\n lastPaymentDate: vw_SearchRow.last_Payment_Date, // \"2019-04-18T00:00:00\",\r\n // \"leaseBasePayment\": 1646,\r\n // \"leaseTotalPayment\": 1790,\r\n capitalCost: vw_SearchRow.lease_Net_Cap_Cost,\r\n residualAmount: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.lease_Residual : null, // 45807,\r\n // \"leaseAnnualMiles\": null,\r\n // \"retailPayment\": 0,\r\n financedAmount: vw_SearchRow.purchase_Amount_Financed,\r\n // \"balloonPayment\": null,\r\n cashDown: vw_SearchRow.cash_Down, // 1495,\r\n apr: vw_SearchRow._SaleTypeID == 1 ? null : vw_SearchRow.rate, // null,\r\n // \"isNative\": true,\r\n // \"boughtExtWarranty\": false,\r\n // \"hasExtendedWarranty\": false,\r\n paidOff: this.toYesNoTypeID(vw_SearchRow.paid_Off), // false\r\n // \"equity\": {\r\n // \"tradeValue\": 10, // 62900,\r\n // \"equityValue\": 5350\r\n // }\r\n financedOrCapCost: vw_SearchRow._SaleTypeID == 1 ? vw_SearchRow.lease_Net_Cap_Cost : vw_SearchRow.purchase_Amount_Financed\r\n },\r\n currentVehicle: {\r\n openDate: vw_SearchRow.openDate,\r\n tradeValue: vw_SearchRow.trade_Value,\r\n trimID: vw_SearchRow._TrimID,\r\n yearID: vw_SearchRow._YearID,\r\n makeID: vw_SearchRow._MakeID,\r\n // imagePath: \"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\r\n // \"imagePath\": \"../../../images/Capture1.png\",\r\n // imagePath: oneImage,\r\n type: this.NewUsedCpoToID(vw_SearchRow.new_Used),\r\n // pricingPlanMsrp: vw_SearchRow.\r\n // \"addModelToTrim\": false,\r\n // \"appointmentDate\": \"2018-05-04T12:00:00\",\r\n // \"dealerID\": 1167,\r\n // \"displayCodes\": false,\r\n // \"eighteenMonthServiceCount\": 3,\r\n // \"estimatedCurrentMileage\": 44200,\r\n // \"estimatedMilesPerMonth\": 1140,\r\n // \"extColorID\": null,\r\n // \"exteriorColor\": \"DESIGNO GRAPHITE\",\r\n // \"intColorID\": null,\r\n // \"interiorColor\": null,\r\n // \"lastOdometerReadingDate\": \"2018-05-04T15:24:00\",\r\n 'makeName': vw_SearchRow.current_Make_Name,\r\n // \"mfcModelCode\": null,\r\n 'modelName': vw_SearchRow.current_Model_Name,\r\n // \"modelNo\": \"E63SP\",\r\n // \"odometer\": 38750,\r\n // \"replacementTrimID\": 422662,\r\n // \"tradeMileageAdjustment\": -2400,\r\n // \"tradeSourceID\": 1,\r\n 'trimFullName': this.defaultValue(vw_SearchRow.current_Model_Name, '') + ' ' + this.defaultValue(vw_SearchRow.current_Trim_Name, ''),\r\n 'trimName': this.defaultValue(vw_SearchRow.current_Trim_Name, ''),\r\n // \"vehicleID\": 89569084,\r\n // \"viN8Key\": \"WDDHH7GB_F\",\r\n 'vin': vw_SearchRow.vin,\r\n // \"vrn\": null,\r\n // \"vrnLastUpdateDate\": \"2016-06-27T14:45:00\",\r\n // \"warrantyMilesRemaining\": 5800,\r\n // \"warrantyMonthsRemaining\": 7\r\n },\r\n replacementVehicle: {\r\n paymentDifferenceAmount: vw_SearchRow.replacement_Payment - vw_SearchRow.current_Payment,\r\n type: this.NewUsedCpoToID(vw_SearchRow.replacement_New_Used), // 0,\r\n stockNo: vw_SearchRow.replacement_Stock_No, // null,\r\n // \"odometer\": 0,\r\n // \"vin\": null,\r\n msrp: vw_SearchRow.replacement_MSRP,\r\n price: vw_SearchRow.replacement_MSRP, // is not part of vw_search, MSRP is part of vw_search.\r\n trimID: vw_SearchRow.replacementTrimID,\r\n // \"daysInStock\": null,\r\n // \"interiorColor\": null,\r\n // \"exteriorColor\": null,\r\n // \"countryID\": 4,\r\n // \"countryName\": \"France\",\r\n makeID: vw_SearchRow.replacementMakeID,\r\n makeName: vw_SearchRow.replacement_Make_Name, // \"Mercedes-Benz\",\r\n // modelID: vw_SearchRow.replacementModelID, //replacementModelID needs to be added to vw_search\r\n modelName: vw_SearchRow.replacement_Model_Name,\r\n yearID: vw_SearchRow.replacement_Model_Year, // 2018,\r\n trimName: vw_SearchRow.replacement_Trim_Name,\r\n // \"rawTrimName\": null,\r\n // \"mfcModelCode\": \"E43W4\",\r\n // \"extID\": \"7778055\",\r\n // \"extOptionId\": \"0\",\r\n // \"extFuelTypeId\": 1059,\r\n // \"cityMPG\": 19,\r\n // \"cityMPGe\": null,\r\n // \"highwayMPG\": 25,\r\n // \"highwayMPGe\": null,\r\n // \"combinedMPG\": 21,\r\n // \"batteryRange\": null,\r\n trimFullName: vw_SearchRow.replacement_Full_Trim_Name, // \"E 43 AMG\",\r\n // \"imagePath\": vw_SearchRow.imagePath, //\"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\r\n // \"imagePath\": \"https://media.chromedata.com/MediaGallery/media/Mjk4MTk1Xk1lZGlhIEdhbGxlcnk/Sn49u8QXXzwYZTjrZnCR0T8Wpzp-bEBtPwoDyPdoT4Zo-WVTyU0mgsvV07a55ZhB/2018MBCBN0001_320_07.png\",\r\n // imagePath: twoImage,\r\n // \"vehicleID\": 89569084,\r\n // \"oldMakeID\": 51,\r\n // \"oldTrimID\": 389466,\r\n // \"newMakeID\": 51,\r\n // \"newTrimID\": 422648,\r\n // \"isValid\": 1,\r\n // \"isConquest\": 0,\r\n // \"newVehiclePrice\": 72595\r\n },\r\n replacementContract: {\r\n keyID: vw_SearchRow._EntityKeyID,\r\n saleType: this.toSaleTypeID(vw_SearchRow.replacement_Sale_Type), // 1,\r\n // \"saleTypeName\": \"Lease\",\r\n // \"bankID\": 48,\r\n // \"bankName\": \"Mercedes-Benz Financial\",\r\n term: vw_SearchRow.replacement_Term,\r\n // \"termBeforeImprovement\": null,\r\n apr: this.toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 2 ? vw_SearchRow.replacement_Rate : null, // null,\r\n moneyFactor: this.toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 1 ? vw_SearchRow.replacement_Rate : null, // 0.00386,\r\n // \"standardRebate\": 0,\r\n // \"loyaltyRebate\": 0,\r\n // \"conquestRebate\": 0,\r\n // \"cashOrAprRebate\": 1000,\r\n // \"cashOrApr\": true,\r\n // \"isValueAdded\": false,\r\n // \"pullForwardAmount\": 5370,\r\n // \"specialLoyaltyValue\": 0,\r\n isOverAllowance: this.toYesNoTypeID(vw_SearchRow.is_Over_Allowance), // false,\r\n financedAmount: this.nullIf(this.toSaleTypeID(vw_SearchRow.replacement_Sale_Type) == 1, vw_SearchRow.replacement_Loan_Amount), // null,\r\n // \"residualAmount\": 35571.55,\r\n preferredEquity: vw_SearchRow.preferred_Equity, // 5350,\r\n payment: vw_SearchRow.replacement_Payment, // 1157,\r\n paymentDifference: vw_SearchRow.replacement_Payment - vw_SearchRow.current_Payment, // -633,\r\n // \"capitalCost\": 67512,\r\n // \"paymentBeforeImprovement\": null,\r\n // \"salesTax\": 8.75,\r\n // \"isClosestTerm\": true,\r\n isAlert: this.toYesNoTypeID(vw_SearchRow.is_Alert), // 1,\r\n isFlexAlert: this.toYesNoTypeID(vw_SearchRow.is_Flex_Alert), // 1,\r\n isConversionAlert: this.toYesNoTypeID(vw_SearchRow.is_Conversion_Alert), // 0,\r\n // \"factoryRebate\": 1000,\r\n // \"dealerRebate\": 0,\r\n // \"cashBack\": 0,\r\n // \"adjustedCashDown\": 0,\r\n // \"isCapDownReduced\": false,\r\n // \"maxCapDown\": null,\r\n // \"isReplacementPayment\": true,\r\n // \"programSourceID\": 2,\r\n },\r\n alerts: []\r\n };\r\n opportunity.alerts = this.toAlertTypeList(vw_SearchRow, opportunity.replacementVehicle);\r\n return opportunity;\r\n }\r\n}\r\n","module.exports = \"\"","require('./_set-species')('Array');\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./allowed-mileage.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-number.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./allowed-mileage.component\"));\nvar styles_AllowedMileageComponent = [i0.styles];\nvar RenderType_AllowedMileageComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AllowedMileageComponent, data: {} });\nexports.RenderType_AllowedMileageComponent = RenderType_AllowedMileageComponent;\nfunction View_AllowedMileageComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [[\"class\", \"value\"], [\"translate\", \"allowedMileage\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(2, 1), i1.ɵpod(3, { mileage: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"allowedMileage\"; var currVal_1 = _ck(_v, 3, 0, i1.ɵunv(_v, 1, 1, _ck(_v, 2, 0, i1.ɵnov(_v.parent, 0), _co.value))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_AllowedMileageComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleNumberPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AllowedMileageComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_AllowedMileageComponent_0 = View_AllowedMileageComponent_0;\nfunction View_AllowedMileageComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"allowed-mileage\", [], null, null, null, View_AllowedMileageComponent_0, RenderType_AllowedMileageComponent)), i1.ɵdid(1, 49152, null, 0, i6.AllowedMileageComponent, [i1.ElementRef, i1.Injector, i3.LocaleNumberPipe], null, null)], null, null); }\nexports.View_AllowedMileageComponent_Host_0 = View_AllowedMileageComponent_Host_0;\nvar AllowedMileageComponentNgFactory = i1.ɵccf(\"allowed-mileage\", i6.AllowedMileageComponent, View_AllowedMileageComponent_Host_0, { value: \"value\" }, {}, []);\nexports.AllowedMileageComponentNgFactory = AllowedMileageComponentNgFactory;\n","\r\n","var path = '/app/components/deal-sheet/modals/view-customer-conversation-modal.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\n// B.2.3.12 String.prototype.strike()\nrequire('./_string-html')('strike', function (createHTML) {\n return function strike() {\n return createHTML(this, 'strike', '', '');\n };\n});\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar services_1 = require(\"../generated/services\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar window_ref_service_1 = require(\"./window-ref.service\");\nvar app_settings_1 = require(\"../constants/app-settings\");\nvar dealer_service_1 = require(\"./dealer.service\");\nvar object_cache_1 = require(\"../utilities/object-cache\");\nvar pando_communication_service_1 = require(\"../services/pando-communication.service\");\nvar UserService = /** @class */ (function () {\n function UserService(window, announcementClientService, cacheManagementClientService, dealerService, eulaClientService, eulaHistoryClientService, storageService, userClientService, userProfileService, pandoCommunicationService) {\n this.window = window;\n this.announcementClientService = announcementClientService;\n this.cacheManagementClientService = cacheManagementClientService;\n this.dealerService = dealerService;\n this.eulaClientService = eulaClientService;\n this.eulaHistoryClientService = eulaHistoryClientService;\n this.storageService = storageService;\n this.userClientService = userClientService;\n this.userProfileService = userProfileService;\n this.pandoCommunicationService = pandoCommunicationService;\n this.facebookUserIdCache = new object_cache_1.ObjectCache({ cacheAgeLimitSeconds: app_settings_1.Settings.environmentVariables.defaultInMemoryCacheTimeoutSeconds });\n }\n UserService.prototype.getAnnouncementForUser = function () {\n return this.announcementClientService\n .GetAnnouncementForUserGET()\n .toPromise();\n };\n UserService.prototype.getCellPhoneNumberDetails = function () {\n return this.getUserProfile().then(function (userProfile) {\n return {\n areaCode: userProfile.cellPhoneArea,\n part1: userProfile.cellPhonePart1,\n part2: userProfile.cellPhonePart2,\n wirelessCarrier: userProfile.cellPhoneCarrier\n };\n });\n };\n UserService.prototype.getCultureNameSync = function () {\n return this.storageService.getItem(\"cultureName\");\n };\n UserService.prototype.getCultures = function () {\n return this.userProfileService.GetCulturesGET().toPromise();\n };\n UserService.prototype.getEula = function (eulaId) {\n return this.eulaClientService.ByIdGET(eulaId).toPromise();\n };\n UserService.prototype.getEulaStatus = function () {\n return this.eulaHistoryClientService.GetStatusGET().toPromise();\n };\n UserService.prototype.getFacebookUserId = function (emailAddress) {\n var _this = this;\n if (isValidEmailAddress(emailAddress)) {\n return this.facebookUserIdCache.getOrFetch(emailAddress, function () { return _this.userClientService\n .FacebookUserIdByEmailaddressGET(emailAddress)\n .toPromise(); });\n }\n else {\n return Promise.resolve(null);\n }\n function isValidEmailAddress(email) {\n var emailExpression = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return emailExpression.test(email);\n }\n };\n UserService.prototype.getTimeZones = function () {\n return this.userProfileService.GetTimeZonesGET().toPromise();\n };\n UserService.prototype.getUser = function (username) {\n return this.userClientService\n .GetUserByUsernameGET(username)\n .toPromise();\n };\n UserService.prototype.getUserIsMetric = function (countryId) {\n return this.userClientService\n .GetUserIsMetricByCountryidGET(countryId)\n .toPromise();\n };\n /**\n * Gets the user profile. A cached value may be returned unless forceReload\n * is specified.\n * @param forceReload - Disregard any cached value and retrieve from the server.\n */\n UserService.prototype.getUserProfile = function (forceReload) {\n if (forceReload === void 0) { forceReload = false; }\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!(forceReload ||\n // If these values are missing, assume this is the first load after\n // login and invalidate any server-side cache\n !this.storageService.getItem(\"accessRightIds\") ||\n !this.storageService.getItem(\"moduleIds\") ||\n !this.storageService.getItem(\"userProfile\"))) return [3 /*break*/, 2];\n this.userPromise = null;\n this.cachedUserProfile = null;\n return [4 /*yield*/, this.cacheManagementClientService\n .FlushUserRelatedCacheGET()\n .toPromise()];\n case 1:\n _b.sent();\n _b.label = 2;\n case 2:\n if (this.cachedUserProfile) {\n return [2 /*return*/, this.cachedUserProfile];\n }\n if (this.userPromise != null) {\n return [2 /*return*/, this.userPromise];\n }\n this.userPromise = this.getUserProfileImpl();\n _a = this;\n return [4 /*yield*/, this.userPromise];\n case 3:\n _a.cachedUserProfile = _b.sent();\n return [2 /*return*/, this.cachedUserProfile];\n }\n });\n });\n };\n /**\n * Gets the user's profile from the server. Never returns a cached value.\n */\n UserService.prototype.getUserProfileImpl = function () {\n return __awaiter(this, void 0, void 0, function () {\n function setGtmData(window, employeeUser, role, dealerCodes) {\n if (!window.dataLayer) {\n var dealerCode;\n if (dealerCodes && dealerCodes.length > 0) {\n dealerCode = dealerCodes[0].dealerCode;\n }\n window.dataLayer = [\n {\n product: \"Opportunities\",\n isAutoAlertEmployee: employeeUser ? \"Yes\" : \"No\",\n dealerCode: dealerCode,\n role: role\n }\n ];\n (function (w, d, s, l, i) {\n w[l] = w[l] || [];\n w[l].push({\n \"gtm.start\": new Date().getTime(),\n event: \"gtm.js\"\n });\n var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != \"dataLayer\" ? \"&l=\" + l : \"\";\n j.async = true;\n j.src =\n \"https://www.googletagmanager.com/gtm.js?id=\" + i + dl;\n f.parentNode.insertBefore(j, f);\n })(window, window.document, \"script\", \"dataLayer\", app_settings_1.Settings.tagManager.containerId);\n }\n }\n var _a, loggedInUser, userInfo, profile, motofuzeUser, gfConfig, selectedDealerIds, cxmViewSelectedDealers, cxmDealers, dealers, dealerListsMatch, dealerGroupId, dealerDisplayText, dealerCodes, dealerModules, countryId, i, dealer, dealerFordInfo, refreshedUser, _loop_1, i, dealerIds, accountPlatformIds, userProfile;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0: return [4 /*yield*/, Promise.all([\n this.userClientService.LoggedInUserGET().toPromise(),\n this.userClientService.CurrentUserGET().toPromise(),\n this.userProfileService.ExtendedGET().toPromise(),\n this.pandoCommunicationService.getMotofuzeCurrentUser(),\n this.pandoCommunicationService.getGlobalFrameConfig()\n ])];\n case 1:\n _a = _b.sent(), loggedInUser = _a[0], userInfo = _a[1], profile = _a[2], motofuzeUser = _a[3], gfConfig = _a[4];\n setGtmData(this.window, profile.isAutoAlertEmployee, loggedInUser.roleName, loggedInUser.dealerCodes);\n return [4 /*yield*/, this.dealerService.getSelectedDealerIds()];\n case 2:\n selectedDealerIds = _b.sent();\n return [4 /*yield*/, this.dealerService.getCXMViewSelectedStores()];\n case 3:\n cxmViewSelectedDealers = _b.sent();\n cxmDealers = cxmViewSelectedDealers && cxmViewSelectedDealers.viewSelectedStores ? cxmViewSelectedDealers.viewSelectedStores : [];\n dealers = [];\n dealerListsMatch = true;\n dealerGroupId = loggedInUser.dealerGroupId;\n dealerDisplayText = loggedInUser.dealerDisplayText;\n dealerCodes = loggedInUser.dealerCodes;\n dealerModules = loggedInUser.dealerModules;\n countryId = loggedInUser.countryId;\n if (!profile.isAutoAlertEmployee) return [3 /*break*/, 7];\n if (!(cxmViewSelectedDealers && cxmDealers)) return [3 /*break*/, 6];\n for (i = 0; i < cxmDealers.length; i++) {\n dealer = { id: cxmDealers[i].AutoAlertDealerID, name: cxmDealers[i].Name };\n dealers.push(dealer);\n if (selectedDealerIds && dealerListsMatch) {\n dealerListsMatch = selectedDealerIds.includes(cxmDealers[i].AutoAlertDealerID);\n }\n else {\n dealerListsMatch = false;\n }\n }\n return [4 /*yield*/, this.dealerService.getDealerFordInfo(dealers[0].id)];\n case 4:\n dealerFordInfo = _b.sent();\n if (dealerFordInfo && dealerFordInfo.length > 0) {\n countryId = dealerFordInfo[0].countryID;\n }\n if ((cxmViewSelectedDealers.viewDealerGroupID && loggedInUser.dealerGroupId && cxmViewSelectedDealers.viewDealerGroupID != loggedInUser.dealerGroupId) ||\n (cxmViewSelectedDealers.viewAccount && loggedInUser.dealerDisplayText && cxmViewSelectedDealers.viewAccount != loggedInUser.dealerDisplayText)) {\n //lists may match but user defaults are not current\n dealerGroupId = cxmViewSelectedDealers.viewDealerGroupID ? cxmViewSelectedDealers.viewDealerGroupID : loggedInUser.dealerGroupId;\n if (cxmViewSelectedDealers.viewSelectedStores.length == 1) {\n dealerDisplayText = cxmViewSelectedDealers.viewSelectedStores[0].Name;\n }\n else {\n dealerDisplayText = cxmViewSelectedDealers.viewAccount;\n }\n }\n if (!(dealerListsMatch == false || (selectedDealerIds && cxmDealers.length != selectedDealerIds.length))) return [3 /*break*/, 6];\n dealerGroupId = cxmViewSelectedDealers.viewDealerGroupID ? cxmViewSelectedDealers.viewDealerGroupID : loggedInUser.dealerGroupId;\n if (cxmViewSelectedDealers.viewSelectedStores.length == 1) {\n dealerDisplayText = cxmViewSelectedDealers.viewSelectedStores[0].Name;\n }\n else {\n dealerDisplayText = cxmDealers.length == 1 ? cxmDealers[0].Name : cxmViewSelectedDealers.viewAccount ? cxmViewSelectedDealers.viewAccount : loggedInUser.dealerDisplayText;\n }\n this.dealerService.updateSelectedDealersToMatchCXM(dealers, dealerGroupId, dealerDisplayText);\n return [4 /*yield*/, this.userClientService.LoggedInUserGET().toPromise()];\n case 5:\n refreshedUser = _b.sent();\n if (refreshedUser) {\n dealerCodes = refreshedUser.dealerCodes;\n dealerModules = refreshedUser.dealerModules;\n }\n _b.label = 6;\n case 6: return [3 /*break*/, 8];\n case 7:\n if (cxmDealers && loggedInUser.dealerCodes) {\n _loop_1 = function (i) {\n var dealer = { id: loggedInUser.dealerCodes[i].dealerID, name: loggedInUser.dealerCodes[i].dealerCode };\n dealers.push(dealer);\n if (dealerListsMatch) {\n dealerListsMatch = cxmDealers.some(function (dealer) { return dealer.AutoAlertDealerID == loggedInUser.dealerCodes[i].dealerID; });\n }\n };\n for (i = 0; i < loggedInUser.dealerCodes.length; i++) {\n _loop_1(i);\n }\n if (cxmDealers.length != loggedInUser.dealerCodes.length || dealerListsMatch == false) {\n this.dealerService.updateCXMSelectedDealersToMatchAlertMiner(dealers);\n }\n }\n _b.label = 8;\n case 8:\n dealerIds = profile.isAutoAlertEmployee\n ? this.dealerService.getSelectedDealerIds() ||\n loggedInUser.dealerIds\n : loggedInUser.dealerIds;\n this.storageService.setItem(\"cultureName\", profile.cultureName);\n this.storageService.setItem(\"timezoneId\", profile.timeZoneID);\n accountPlatformIds = [];\n if (dealerIds && dealerIds.length > 0\n && motofuzeUser && motofuzeUser.ViewAllowedStores && motofuzeUser.ViewAllowedStores.length > 0) {\n dealerIds.forEach(function (id) {\n var store = motofuzeUser.ViewAllowedStores.find(function (x) { return x.AutoAlertDealerID == id; });\n if (store) {\n accountPlatformIds.push(store.AccountPlatformID);\n }\n });\n }\n userProfile = {\n userTypeId: userInfo.userTypeID,\n firstName: userInfo.firstName,\n middleName: userInfo.middleName,\n lastName: userInfo.lastName,\n userFullName: loggedInUser.name,\n dealerGroupId: dealerGroupId,\n dealerDisplayText: dealerDisplayText,\n dealerIds: dealerIds ? dealerIds : loggedInUser.dealerIds,\n roleId: loggedInUser.roleId,\n employeeUser: profile.isAutoAlertEmployee,\n cultureName: profile.cultureName,\n countryId: countryId,\n userId: profile.userID,\n roleName: loggedInUser.roleName,\n dealerCodes: dealerCodes,\n eulaAcceptedDate: profile.eulaAcceptDate,\n email: profile.email,\n phone: profile.phone,\n position: profile.position,\n timeZoneId: loggedInUser.timeZoneId\n ? loggedInUser.timeZoneId\n : profile.timeZoneID,\n lastPasswordResetDate: profile.lastPwdResetDate,\n isSltUser: loggedInUser.isSltUser,\n isLiteUser: loggedInUser.isLiteUser,\n cellPhoneArea: profile.cellPhoneArea,\n cellPhonePart1: profile.cellPhonePart1,\n cellPhonePart2: profile.cellPhonePart2,\n cellPhoneCarrier: profile.cellPhoneCarrier,\n //Per architect, we are keeping the logic to get dealerModules separate from other modules to replicate legacy logic\n dealerModules: dealerModules,\n permissions: motofuzeUser.Permissions,\n accountPlatformIds: accountPlatformIds,\n walkmeSegments: (gfConfig && gfConfig.WalkMeSegments) ? gfConfig.WalkMeSegments : null,\n };\n this.storageService.setItem(\"userProfile\", userProfile);\n return [2 /*return*/, userProfile];\n }\n });\n });\n };\n UserService.prototype.getUsers = function (dealerId) {\n return __awaiter(this, void 0, void 0, function () {\n var enabledUsers;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.dealerService.getEnabledUsersForDealer(dealerId)];\n case 1:\n enabledUsers = _a.sent();\n return [2 /*return*/, enabledUsers.map(function (u) { return ({\n id: u.userID,\n fullName: u.fullName\n }); })];\n }\n });\n });\n };\n //async getUsersExt(dealerId: number): Promise<{ id: number; fullName: string }[]> {\n // const enabledUsers = await this.dealerService.getEnabledUsersForDealer(dealerId);\n // return enabledUsers.map(u => ({\n // id: u.userID,\n // fullName: u.fullName\n // }));\n //}\n UserService.prototype.getUsersExt = function (dealerId) {\n return this.userClientService\n .GetEnabledClientUsersExtByDealerByDealeridGET(dealerId)\n .toPromise();\n };\n UserService.prototype.isAutoAlertEmployee = function () {\n return __awaiter(this, void 0, void 0, function () {\n var userProfile;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.getUserProfile()];\n case 1:\n userProfile = _a.sent();\n return [2 /*return*/, userProfile.employeeUser];\n }\n });\n });\n };\n UserService.prototype.isDealerEnabledForModule = function (dealerId, moduleId) {\n // This really should be calling this.getUserProfile(), but the previous\n // non-TypeScript implementation only ever checked the cached value, so\n // all the usages of this are expecting a boolean return.\n var cachedUserProfile = this.cachedUserProfile;\n if (!cachedUserProfile) {\n return false;\n }\n var dealerModules = cachedUserProfile.dealerModules;\n return dealerModules.some(function (mod) {\n return mod.moduleID === moduleId &&\n (mod.dealerID === dealerId || mod.dealerID === 0);\n });\n };\n UserService.prototype.isModuleEnabledForAnyDealer = function (moduleId) {\n var _this = this;\n var dealerIds = this.dealerService.getSelectedDealerIds();\n return dealerIds.some(function (dealerId) {\n return _this.isDealerEnabledForModule(dealerId, moduleId);\n });\n };\n UserService.prototype.logUserLogin = function () {\n return this.userClientService.LogUserLoginPOST().toPromise();\n };\n UserService.prototype.postResponse = function (eulaId, eulaResponseTypeId) {\n var eulaResponse = { eulaId: eulaId, eulaResponseTypeId: eulaResponseTypeId };\n return this.eulaHistoryClientService\n .PostResponseByEulaidByEularesponsetypeidPOST(eulaResponse)\n .toPromise();\n };\n UserService.prototype.updateAnnouncementUserDisplay = function (announcementId, doNotDisplay) {\n var dto = { announcementId: announcementId, doNotDisplay: doNotDisplay };\n return this.announcementClientService\n .UpdateAnnouncementUserDisplayByAnnouncementidPUT(dto)\n .toPromise();\n };\n UserService.prototype.updateUserProfile = function (userProfile) {\n return this.userProfileService.UpdatePATCH(userProfile).toPromise();\n };\n return UserService;\n}());\nexports.UserService = UserService;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { UserClientService, UserProfileClientService, AnnouncementClientService, EulaClientService, EulaHistoryClientService, CacheManagementClientService } from '../generated/services';\r\nimport { UserDto, UserExtDto, TimeZoneDto, EulaDto, UserProfilePatch } from '../generated/models';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\nimport { AnnouncementDto } from '../generated/models/announcement-dto';\r\nimport { WINDOW_REF, WindowWrapper } from './window-ref.service';\r\nimport { Settings } from '../constants/app-settings';\r\nimport { UserProfile } from '../interfaces/user-profile.interface';\r\nimport { DealerService } from './dealer.service';\r\nimport { ObjectCache } from '../utilities/object-cache';\r\nimport { PandoCommunicationService } from '../services/pando-communication.service';\r\n\r\ninterface CellPhoneNumberDetails {\r\n areaCode: string;\r\n part1: string;\r\n part2: string;\r\n wirelessCarrier: string;\r\n}\r\n\r\n@Injectable()\r\nexport class UserService {\r\n private userPromise: Promise | null;\r\n private cachedUserProfile: UserProfile;\r\n\r\n private facebookUserIdCache = new ObjectCache({cacheAgeLimitSeconds: Settings.environmentVariables.defaultInMemoryCacheTimeoutSeconds})\r\n\r\n constructor(\r\n @Inject(WINDOW_REF) private window: WindowWrapper,\r\n private announcementClientService: AnnouncementClientService,\r\n private cacheManagementClientService: CacheManagementClientService,\r\n private dealerService: DealerService,\r\n private eulaClientService: EulaClientService,\r\n private eulaHistoryClientService: EulaHistoryClientService,\r\n private storageService: StorageService,\r\n private userClientService: UserClientService,\r\n private userProfileService: UserProfileClientService,\r\n private pandoCommunicationService: PandoCommunicationService\r\n ) {}\r\n\r\n getAnnouncementForUser(): Promise {\r\n return this.announcementClientService\r\n .GetAnnouncementForUserGET()\r\n .toPromise();\r\n }\r\n\r\n getCellPhoneNumberDetails(): Promise {\r\n return this.getUserProfile().then(userProfile => {\r\n return {\r\n areaCode: userProfile.cellPhoneArea,\r\n part1: userProfile.cellPhonePart1,\r\n part2: userProfile.cellPhonePart2,\r\n wirelessCarrier: userProfile.cellPhoneCarrier\r\n };\r\n });\r\n }\r\n\r\n getCultureNameSync(): string | null {\r\n return this.storageService.getItem(\"cultureName\");\r\n }\r\n\r\n getCultures(): Promise {\r\n return this.userProfileService.GetCulturesGET().toPromise();\r\n }\r\n\r\n getEula(eulaId: number): Promise {\r\n return this.eulaClientService.ByIdGET(eulaId).toPromise();\r\n }\r\n\r\n getEulaStatus(): Promise {\r\n return this.eulaHistoryClientService.GetStatusGET().toPromise();\r\n }\r\n\r\n getFacebookUserId(emailAddress: string): Promise {\r\n if (isValidEmailAddress(emailAddress)) {\r\n return this.facebookUserIdCache.getOrFetch(emailAddress, \r\n () => this.userClientService\r\n .FacebookUserIdByEmailaddressGET(emailAddress)\r\n .toPromise());\r\n } else {\r\n return Promise.resolve(null);\r\n }\r\n\r\n function isValidEmailAddress(email) {\r\n const emailExpression = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return emailExpression.test(email);\r\n }\r\n }\r\n\r\n getTimeZones(): Promise {\r\n return this.userProfileService.GetTimeZonesGET().toPromise();\r\n }\r\n\r\n getUser(username: string): Promise {\r\n return this.userClientService\r\n .GetUserByUsernameGET(username)\r\n .toPromise();\r\n }\r\n\r\n getUserIsMetric(countryId: number): Promise {\r\n return this.userClientService\r\n .GetUserIsMetricByCountryidGET(countryId)\r\n .toPromise();\r\n }\r\n\r\n /**\r\n * Gets the user profile. A cached value may be returned unless forceReload\r\n * is specified.\r\n * @param forceReload - Disregard any cached value and retrieve from the server.\r\n */\r\n async getUserProfile(forceReload: boolean = false): Promise {\r\n if (\r\n forceReload ||\r\n // If these values are missing, assume this is the first load after\r\n // login and invalidate any server-side cache\r\n !this.storageService.getItem(\"accessRightIds\") ||\r\n !this.storageService.getItem(\"moduleIds\") ||\r\n !this.storageService.getItem(\"userProfile\")\r\n ) {\r\n this.userPromise = null;\r\n this.cachedUserProfile = null;\r\n await this.cacheManagementClientService\r\n .FlushUserRelatedCacheGET()\r\n .toPromise();\r\n }\r\n\r\n if (this.cachedUserProfile) {\r\n return this.cachedUserProfile;\r\n }\r\n\r\n if (this.userPromise != null) {\r\n return this.userPromise;\r\n }\r\n\r\n this.userPromise = this.getUserProfileImpl();\r\n this.cachedUserProfile = await this.userPromise;\r\n return this.cachedUserProfile;\r\n }\r\n\r\n /**\r\n * Gets the user's profile from the server. Never returns a cached value.\r\n */\r\n private async getUserProfileImpl(): Promise {\r\n const [loggedInUser, userInfo, profile, motofuzeUser, gfConfig] = await Promise.all([\r\n this.userClientService.LoggedInUserGET().toPromise(),\r\n this.userClientService.CurrentUserGET().toPromise(),\r\n this.userProfileService.ExtendedGET().toPromise(),\r\n this.pandoCommunicationService.getMotofuzeCurrentUser(),\r\n this.pandoCommunicationService.getGlobalFrameConfig()\r\n ]);\r\n\r\n setGtmData(\r\n this.window,\r\n profile.isAutoAlertEmployee,\r\n loggedInUser.roleName,\r\n loggedInUser.dealerCodes\r\n );\r\n\r\n // Employee users can keep their previously-chosen selected dealer IDs,\r\n // All other users must be reset back to what LoggedInUser says\r\n const selectedDealerIds = await this.dealerService.getSelectedDealerIds();\r\n const cxmViewSelectedDealers = await this.dealerService.getCXMViewSelectedStores();\r\n const cxmDealers = cxmViewSelectedDealers && cxmViewSelectedDealers.viewSelectedStores ? cxmViewSelectedDealers.viewSelectedStores : [];\r\n let dealers = [];\r\n let dealerListsMatch = true;\r\n let dealerGroupId = loggedInUser.dealerGroupId;\r\n let dealerDisplayText = loggedInUser.dealerDisplayText;\r\n let dealerCodes = loggedInUser.dealerCodes;\r\n let dealerModules = loggedInUser.dealerModules;\r\n let countryId = loggedInUser.countryId;\r\n\r\n if (profile.isAutoAlertEmployee) {\r\n if (cxmViewSelectedDealers && cxmDealers) {\r\n for (let i = 0; i < cxmDealers.length; i++) {\r\n let dealer = { id: cxmDealers[i].AutoAlertDealerID, name: cxmDealers[i].Name };\r\n dealers.push(dealer);\r\n if (selectedDealerIds && dealerListsMatch) {\r\n dealerListsMatch = selectedDealerIds.includes(cxmDealers[i].AutoAlertDealerID);\r\n }\r\n else {\r\n dealerListsMatch = false;\r\n }\r\n }\r\n let dealerFordInfo = await this.dealerService.getDealerFordInfo(dealers[0].id);\r\n if (dealerFordInfo && dealerFordInfo.length > 0) {\r\n countryId = dealerFordInfo[0].countryID;\r\n }\r\n if ((cxmViewSelectedDealers.viewDealerGroupID && loggedInUser.dealerGroupId && cxmViewSelectedDealers.viewDealerGroupID != loggedInUser.dealerGroupId) ||\r\n (cxmViewSelectedDealers.viewAccount && loggedInUser.dealerDisplayText && cxmViewSelectedDealers.viewAccount != loggedInUser.dealerDisplayText)) {\r\n //lists may match but user defaults are not current\r\n dealerGroupId = cxmViewSelectedDealers.viewDealerGroupID ? cxmViewSelectedDealers.viewDealerGroupID : loggedInUser.dealerGroupId;\r\n if (cxmViewSelectedDealers.viewSelectedStores.length == 1) {\r\n dealerDisplayText = cxmViewSelectedDealers.viewSelectedStores[0].Name;\r\n }\r\n else {\r\n dealerDisplayText = cxmViewSelectedDealers.viewAccount;\r\n }\r\n }\r\n if (dealerListsMatch == false || (selectedDealerIds && cxmDealers.length != selectedDealerIds.length)) {\r\n dealerGroupId = cxmViewSelectedDealers.viewDealerGroupID ? cxmViewSelectedDealers.viewDealerGroupID : loggedInUser.dealerGroupId;\r\n if (cxmViewSelectedDealers.viewSelectedStores.length == 1) {\r\n dealerDisplayText = cxmViewSelectedDealers.viewSelectedStores[0].Name;\r\n }\r\n else {\r\n dealerDisplayText = cxmDealers.length == 1 ? cxmDealers[0].Name : cxmViewSelectedDealers.viewAccount ? cxmViewSelectedDealers.viewAccount : loggedInUser.dealerDisplayText;\r\n }\r\n this.dealerService.updateSelectedDealersToMatchCXM(dealers, dealerGroupId, dealerDisplayText);\r\n let refreshedUser = await this.userClientService.LoggedInUserGET().toPromise();\r\n if (refreshedUser) {\r\n dealerCodes = refreshedUser.dealerCodes;\r\n dealerModules = refreshedUser.dealerModules;\r\n }\r\n }\r\n }\r\n }\r\n else if (cxmDealers && loggedInUser.dealerCodes) {\r\n for (let i = 0; i < loggedInUser.dealerCodes.length; i++) {\r\n let dealer = { id: loggedInUser.dealerCodes[i].dealerID, name: loggedInUser.dealerCodes[i].dealerCode };\r\n dealers.push(dealer);\r\n if (dealerListsMatch) {\r\n dealerListsMatch = cxmDealers.some(dealer => dealer.AutoAlertDealerID == loggedInUser.dealerCodes[i].dealerID);\r\n }\r\n }\r\n if (cxmDealers.length != loggedInUser.dealerCodes.length || dealerListsMatch == false) {\r\n this.dealerService.updateCXMSelectedDealersToMatchAlertMiner(dealers);\r\n }\r\n }\r\n\r\n const dealerIds = profile.isAutoAlertEmployee\r\n ? this.dealerService.getSelectedDealerIds() ||\r\n loggedInUser.dealerIds\r\n : loggedInUser.dealerIds;\r\n\r\n this.storageService.setItem(\"cultureName\", profile.cultureName);\r\n this.storageService.setItem(\"timezoneId\", profile.timeZoneID);\r\n\r\n const accountPlatformIds = [];\r\n if (dealerIds && dealerIds.length > 0\r\n && motofuzeUser && motofuzeUser.ViewAllowedStores && motofuzeUser.ViewAllowedStores.length > 0) {\r\n dealerIds.forEach((id) => {\r\n const store = motofuzeUser.ViewAllowedStores.find((x) => x.AutoAlertDealerID == id);\r\n if (store) {\r\n accountPlatformIds.push(store.AccountPlatformID);\r\n }\r\n });\r\n }\r\n\r\n const userProfile: UserProfile = {\r\n userTypeId: userInfo.userTypeID,\r\n firstName: userInfo.firstName,\r\n middleName: userInfo.middleName,\r\n lastName: userInfo.lastName,\r\n userFullName: loggedInUser.name,\r\n dealerGroupId: dealerGroupId,\r\n dealerDisplayText: dealerDisplayText,\r\n dealerIds: dealerIds ? dealerIds : loggedInUser.dealerIds,\r\n roleId: loggedInUser.roleId,\r\n employeeUser: profile.isAutoAlertEmployee,\r\n cultureName: profile.cultureName,\r\n countryId: countryId,\r\n userId: profile.userID,\r\n roleName: loggedInUser.roleName,\r\n dealerCodes: dealerCodes,\r\n eulaAcceptedDate: profile.eulaAcceptDate,\r\n email: profile.email,\r\n phone: profile.phone,\r\n position: profile.position,\r\n timeZoneId: loggedInUser.timeZoneId\r\n ? loggedInUser.timeZoneId\r\n : profile.timeZoneID,\r\n lastPasswordResetDate: profile.lastPwdResetDate,\r\n isSltUser: loggedInUser.isSltUser,\r\n isLiteUser: loggedInUser.isLiteUser,\r\n cellPhoneArea: profile.cellPhoneArea,\r\n cellPhonePart1: profile.cellPhonePart1,\r\n cellPhonePart2: profile.cellPhonePart2,\r\n cellPhoneCarrier: profile.cellPhoneCarrier,\r\n\r\n //Per architect, we are keeping the logic to get dealerModules separate from other modules to replicate legacy logic\r\n dealerModules: dealerModules,\r\n permissions: motofuzeUser.Permissions,\r\n accountPlatformIds: accountPlatformIds,\r\n walkmeSegments: (gfConfig && gfConfig.WalkMeSegments) ? gfConfig.WalkMeSegments : null,\r\n };\r\n\r\n this.storageService.setItem(\"userProfile\", userProfile);\r\n\r\n return userProfile;\r\n\r\n function setGtmData(window, employeeUser, role, dealerCodes) {\r\n if (!window.dataLayer) {\r\n var dealerCode;\r\n\r\n if (dealerCodes && dealerCodes.length > 0) {\r\n dealerCode = dealerCodes[0].dealerCode;\r\n }\r\n\r\n window.dataLayer = [\r\n {\r\n product: \"Opportunities\",\r\n isAutoAlertEmployee: employeeUser ? \"Yes\" : \"No\",\r\n dealerCode: dealerCode,\r\n role: role\r\n }\r\n ];\r\n\r\n (function(w, d, s, l, i) {\r\n w[l] = w[l] || [];\r\n w[l].push({\r\n \"gtm.start\": new Date().getTime(),\r\n event: \"gtm.js\"\r\n });\r\n var f = d.getElementsByTagName(s)[0],\r\n j = d.createElement(s),\r\n dl = l != \"dataLayer\" ? \"&l=\" + l : \"\";\r\n (j as any).async = true;\r\n (j as any).src =\r\n \"https://www.googletagmanager.com/gtm.js?id=\" + i + dl;\r\n f.parentNode.insertBefore(j, f);\r\n })(\r\n window,\r\n window.document,\r\n \"script\",\r\n \"dataLayer\",\r\n Settings.tagManager.containerId\r\n );\r\n }\r\n }\r\n }\r\n\r\n async getUsers(dealerId: number): Promise<{ id: number; fullName: string }[]> {\r\n const enabledUsers = await this.dealerService.getEnabledUsersForDealer(dealerId);\r\n return enabledUsers.map(u => ({\r\n id: u.userID,\r\n fullName: u.fullName\r\n }));\r\n }\r\n\r\n //async getUsersExt(dealerId: number): Promise<{ id: number; fullName: string }[]> {\r\n // const enabledUsers = await this.dealerService.getEnabledUsersForDealer(dealerId);\r\n // return enabledUsers.map(u => ({\r\n // id: u.userID,\r\n // fullName: u.fullName\r\n // }));\r\n //}\r\n\r\n getUsersExt(dealerId: number): Promise {\r\n return this.userClientService\r\n .GetEnabledClientUsersExtByDealerByDealeridGET(dealerId)\r\n .toPromise();\r\n }\r\n\r\n async isAutoAlertEmployee(): Promise {\r\n const userProfile = await this.getUserProfile();\r\n return userProfile.employeeUser;\r\n }\r\n\r\n isDealerEnabledForModule(dealerId: number, moduleId: number): boolean {\r\n // This really should be calling this.getUserProfile(), but the previous\r\n // non-TypeScript implementation only ever checked the cached value, so\r\n // all the usages of this are expecting a boolean return.\r\n const cachedUserProfile = this.cachedUserProfile;\r\n if (!cachedUserProfile) {\r\n return false;\r\n }\r\n\r\n const dealerModules = cachedUserProfile.dealerModules;\r\n\r\n return dealerModules.some(mod =>\r\n mod.moduleID === moduleId &&\r\n (mod.dealerID === dealerId || mod.dealerID === 0)\r\n );\r\n }\r\n\r\n isModuleEnabledForAnyDealer(moduleId: number): boolean {\r\n const dealerIds = this.dealerService.getSelectedDealerIds();\r\n return dealerIds.some(dealerId =>\r\n this.isDealerEnabledForModule(dealerId, moduleId));\r\n }\r\n\r\n logUserLogin(): Promise {\r\n return this.userClientService.LogUserLoginPOST().toPromise();\r\n }\r\n\r\n postResponse(eulaId: number, eulaResponseTypeId: 1 | 2 | 3): Promise {\r\n const eulaResponse = { eulaId, eulaResponseTypeId };\r\n return this.eulaHistoryClientService\r\n .PostResponseByEulaidByEularesponsetypeidPOST(eulaResponse)\r\n .toPromise();\r\n }\r\n\r\n updateAnnouncementUserDisplay(\r\n announcementId: number,\r\n doNotDisplay\r\n ): Promise {\r\n const dto = { announcementId, doNotDisplay };\r\n return this.announcementClientService\r\n .UpdateAnnouncementUserDisplayByAnnouncementidPUT(dto)\r\n .toPromise();\r\n }\r\n\r\n updateUserProfile(userProfile: UserProfilePatch): Promise {\r\n return this.userProfileService.UpdatePATCH(userProfile).toPromise();\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./deal-history.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/forms\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"../alerts/alerts.component-ng.ngfactory\"));\nvar i6 = __importStar(require(\"../alerts/alerts.component-ng\"));\nvar i7 = __importStar(require(\"../../../filters/locale-date-time.pipe\"));\nvar i8 = __importStar(require(\"../../../filters/locale-date.pipe\"));\nvar i9 = __importStar(require(\"../../../filters/locale-currency.pipe\"));\nvar i10 = __importStar(require(\"../../../filters/locale-number.pipe\"));\nvar i11 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i12 = __importStar(require(\"../../icon/icon.component\"));\nvar i13 = __importStar(require(\"@angular/platform-browser\"));\nvar i14 = __importStar(require(\"../../../modules/storage/storage.service\"));\nvar i15 = __importStar(require(\"ng-busy\"));\nvar i16 = __importStar(require(\"../default-tab-action/default-tab-action.component.ngfactory\"));\nvar i17 = __importStar(require(\"../default-tab-action/default-tab-action.component\"));\nvar i18 = __importStar(require(\"./deal-history.component\"));\nvar i19 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar styles_DealHistoryComponent = [i0.styles];\nvar RenderType_DealHistoryComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DealHistoryComponent, data: {} });\nexports.RenderType_DealHistoryComponent = RenderType_DealHistoryComponent;\nfunction View_DealHistoryComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"translate\", \"noDealHistory90days\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"noDealHistory90days\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_DealHistoryComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"span\", [[\"class\", \"change-log-selection\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[8, \"id\", 0], [8, \"className\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_v.parent.context.$implicit.selected = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"change\" === en)) {\n var pd_3 = (_co.checkboxClicked() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i3.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.CheckboxControlValueAccessor]), i1.ɵdid(4, 671744, null, 0, i3.NgModel, [[8, null], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(6, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"label\", [], [[8, \"htmlFor\", 0]], null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_9 = _v.parent.context.$implicit.selected; _ck(_v, 4, 0, currVal_9); var currVal_11 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.key, \"\"); _ck(_v, 8, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.moduleName, \"\"); var currVal_1 = i1.ɵinlineInterpolate(1, \"qa-change-log-selection-\", _v.parent.context.$implicit.moduleName, \"\"); var currVal_2 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 6).ngClassValid; var currVal_7 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_10 = i1.ɵinlineInterpolate(1, \"\", _v.parent.context.$implicit.moduleName, \"\"); _ck(_v, 7, 0, currVal_10); }); }\nfunction View_DealHistoryComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealHistoryComponent_4)), i1.ɵdid(2, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = _v.context.$implicit.enabled; _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_DealHistoryComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mapping-details-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], [[null, \"error\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"error\" === en)) {\n var pd_0 = (_co.updateUrl($event, _v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(2, null, [\" \", \" \", \" \"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.photoPath; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.yearID; var currVal_2 = _v.parent.context.$implicit.trimFullName; _ck(_v, 2, 0, currVal_1, currVal_2); }); }\nfunction View_DealHistoryComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"mapping-details-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], [[null, \"error\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"error\" === en)) {\n var pd_0 = (_co.updateUrl($event, _v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"translate\", \"naAbbrMessage\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_1 = \"naAbbrMessage\"; _ck(_v, 3, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.vehicleImageNotAvailableUrl; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_DealHistoryComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(4, null, [\"\", \"\"])), i1.ɵppd(5, 1), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"alerts\", [], null, null, null, i5.View_AlertsComponent_0, i5.RenderType_AlertsComponent)), i1.ɵdid(8, 638976, null, 0, i6.AlertsComponent, [i7.LocaleDateTimePipe, i8.LocaleDatePipe, i9.LocaleCurrencyPipe, i10.LocaleNumberPipe, i2.TranslateService], { values: [0, \"values\"], showRelavantInfo: [1, \"showRelavantInfo\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 4, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealHistoryComponent_6)), i1.ɵdid(11, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealHistoryComponent_7)), i1.ɵdid(13, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(17, 0, null, null, 3, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(18, null, [\"\", \"\"])), i1.ɵppd(19, 1), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_2 = _v.context.$implicit.alerts; var currVal_3 = false; _ck(_v, 8, 0, currVal_2, currVal_3); var currVal_4 = _v.context.$implicit.photoPath; _ck(_v, 11, 0, currVal_4); var currVal_5 = !_v.context.$implicit.photoPath; _ck(_v, 13, 0, currVal_5); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.changeTypes; _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 4, 0, _ck(_v, 5, 0, i1.ɵnov(_v.parent.parent, 0), _v.context.$implicit.date)); _ck(_v, 4, 0, currVal_1); var currVal_6 = (_v.context.$implicit.replacementTerm ? _v.context.$implicit.replacementTerm : i1.ɵunv(_v, 15, 0, i1.ɵnov(_v, 16).transform(\"naAbbrMessage\"))); _ck(_v, 15, 0, currVal_6); var currVal_7 = (_v.context.$implicit.replacementPayment ? i1.ɵunv(_v, 18, 0, _ck(_v, 19, 0, i1.ɵnov(_v.parent.parent, 1), _v.context.$implicit.replacementPayment)) : i1.ɵunv(_v, 18, 0, i1.ɵnov(_v, 20).transform(\"naAbbrMessage\"))); _ck(_v, 18, 0, currVal_7); }); }\nfunction View_DealHistoryComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 27, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealHistoryComponent_3)), i1.ɵdid(3, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 22, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 21, \"table\", [[\"class\", \"table\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 17, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 16, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"th\", [[\"translate\", \"typeOfChange\"]], null, null, null, null, null)), i1.ɵdid(10, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"th\", [[\"translate\", \"dateTime\"]], null, null, null, null, null)), i1.ɵdid(12, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"th\", [[\"translate\", \"alerts\"]], null, null, null, null, null)), i1.ɵdid(14, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"th\", [[\"translate\", \"replacementMapping\"]], null, null, null, null, null)), i1.ɵdid(16, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(17, 0, null, null, 1, \"th\", [[\"translate\", \"term\"]], null, null, null, null, null)), i1.ɵdid(18, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(19, 0, null, null, 5, \"th\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 1, \"span\", [[\"translate\", \"payment\"]], null, null, null, null, null)), i1.ɵdid(21, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(22, 0, null, null, 2, \"icon\", [[\"class\", \"-small -brightblue -white\"], [\"icon\", \"'info'\"]], [[8, \"title\", 0]], null, null, i11.View_IconComponent_0, i11.RenderType_IconComponent)), i1.ɵdid(23, 638976, null, 0, i12.IconComponent, [i13.DomSanitizer], { icon: [0, \"icon\"] }, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealHistoryComponent_5)), i1.ɵdid(27, 278528, null, 0, i4.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.filters; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"typeOfChange\"; _ck(_v, 10, 0, currVal_1); var currVal_2 = \"dateTime\"; _ck(_v, 12, 0, currVal_2); var currVal_3 = \"alerts\"; _ck(_v, 14, 0, currVal_3); var currVal_4 = \"replacementMapping\"; _ck(_v, 16, 0, currVal_4); var currVal_5 = \"term\"; _ck(_v, 18, 0, currVal_5); var currVal_6 = \"payment\"; _ck(_v, 21, 0, currVal_6); var currVal_8 = \"'info'\"; _ck(_v, 23, 0, currVal_8); var currVal_9 = _co.listDealHistory; _ck(_v, 27, 0, currVal_9); }, function (_ck, _v) { var currVal_7 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 22, 0, i1.ɵnov(_v, 24).transform(\"paymentToolTipDealHistory\")), \"\"); _ck(_v, 22, 0, currVal_7); }); }\nfunction View_DealHistoryComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i7.LocaleDateTimePipe, [i14.StorageService]), i1.ɵpid(0, i9.LocaleCurrencyPipe, [i14.StorageService]), (_l()(), i1.ɵeld(2, 16777216, null, null, 13, \"div\", [[\"class\", \"deal-history\"]], null, null, null, null, null)), i1.ɵprd(512, null, i15.InstanceConfigHolderService, i15.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i15.ɵa, i15.ɵa, []), i1.ɵdid(5, 409600, null, 0, i15.NgBusyDirective, [i15.ɵb, i15.InstanceConfigHolderService, i1.ComponentFactoryResolver, i15.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), i1.ɵpod(6, { busy: 0, delay: 1 }), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"h5\", [[\"class\", \"tab-header\"], [\"translate\", \"dealHistory90days\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"default-tab-action\", [], null, [[null, \"onAction\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onAction\" === en)) {\n var pd_0 = (_co.onClick() !== false);\n ad = (pd_0 && ad);\n } return ad; }, i16.View_DefaultTabActionComponent_0, i16.RenderType_DefaultTabActionComponent)), i1.ɵdid(10, 114688, null, 0, i17.DefaultTabActionComponent, [], { defaultTab: [0, \"defaultTab\"], currentTab: [1, \"currentTab\"] }, { onAction: \"onAction\" }), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealHistoryComponent_1)), i1.ɵdid(13, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_DealHistoryComponent_2)), i1.ɵdid(15, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 6, 0, _co.busy, 200); _ck(_v, 5, 0, currVal_0); var currVal_1 = \"dealHistory90days\"; _ck(_v, 8, 0, currVal_1); var currVal_2 = _co.defaultTab; var currVal_3 = _co.currentTab; _ck(_v, 10, 0, currVal_2, currVal_3); var currVal_4 = (_co.listDealHistoryTemp.length == 0); _ck(_v, 13, 0, currVal_4); var currVal_5 = (_co.listDealHistoryTemp.length > 0); _ck(_v, 15, 0, currVal_5); }, null); }\nexports.View_DealHistoryComponent_0 = View_DealHistoryComponent_0;\nfunction View_DealHistoryComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"aa-deal-history\", [], null, null, null, View_DealHistoryComponent_0, RenderType_DealHistoryComponent)), i1.ɵdid(1, 770048, null, 0, i18.DealHistoryComponent, [i2.TranslateService, i19.DealSheetService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DealHistoryComponent_Host_0 = View_DealHistoryComponent_Host_0;\nvar DealHistoryComponentNgFactory = i1.ɵccf(\"aa-deal-history\", i18.DealHistoryComponent, View_DealHistoryComponent_Host_0, { isTabSelected: \"isTabSelected\", defaultTab: \"defaultTab\", currentTab: \"currentTab\", opportunityId: \"opportunityId\" }, { onSetAsDefault: \"onSetAsDefault\" }, []);\nexports.DealHistoryComponentNgFactory = DealHistoryComponentNgFactory;\n","
\r\n
\r\n \r\n
\r\n
\r\n
0\">\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
{{ row.changeTypes }}{{ row.date | localeDateTime }}\r\n \r\n \r\n
\r\n {{row.yearID}} {{ row.trimFullName }}\r\n
\r\n
\r\n \r\n
\r\n
{{ (row.replacementTerm ? row.replacementTerm : ('naAbbrMessage' | translate) ) }}{{ row.replacementPayment ? (row.replacementPayment | localeCurrency) : ('naAbbrMessage' | translate) }}
\r\n
\r\n\r\n
\r\n
","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar ordinaryGetOwnMetadata = metadata.get;\nvar toMetaKey = metadata.key;\n\nmetadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryGetOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n","var path = '/app/components/search/search-export-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".oasisTooltip[_ngcontent-%COMP%]{font-size:12px}\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar angular_1 = __importDefault(require(\"angular\"));\nvar module_1 = __importDefault(require(\"./module\"));\nvar static_1 = require(\"@angular/upgrade/static\");\nvar storage_service_1 = require(\"./storage.service\");\nvar cross_domain_storage_service_1 = require(\"./cross-domain-storage.service\");\nexports.default = module_1.default;\nangular_1.default.module(module_1.default)\n .factory(\"storageService\", static_1.downgradeInjectable(storage_service_1.StorageService))\n .factory(\"crossDomainStorageService\", static_1.downgradeInjectable(cross_domain_storage_service_1.CrossDomainStorageService));\n","import angular from \"angular\";\r\nimport moduleName from \"./module\"\r\nimport { downgradeInjectable } from '@angular/upgrade/static';\r\n\r\nimport { StorageService } from \"./storage.service\";\r\nimport { CrossDomainStorageService } from \"./cross-domain-storage.service\";\r\n\r\nexport default moduleName;\r\n\r\nangular.module(moduleName)\r\n .factory(\"storageService\", downgradeInjectable(StorageService))\r\n .factory(\"crossDomainStorageService\", downgradeInjectable(CrossDomainStorageService))\r\n","'use strict';\nvar isObject = require('./_is-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar HAS_INSTANCE = require('./_wks')('hasInstance');\nvar FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, HAS_INSTANCE, { value: function (O) {\n if (typeof this != 'function' || !isObject(O)) return false;\n if (!isObject(this.prototype)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n return false;\n} });\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".custom-today-class{background-color:#e9edf0}\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/customer-edit.component.html';\nvar html = \"




\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar TextMessageClientService = /** @class */ (function (_super) {\n __extends(TextMessageClientService, _super);\n function TextMessageClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param textMessage undefined\n * @return Success\n */\n TextMessageClientService.prototype.SendPOSTResponse = function (textMessage) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = textMessage;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/TextMessage/Send\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param textMessage undefined\n * @return Success\n */\n TextMessageClientService.prototype.SendPOST = function (textMessage) {\n return this.SendPOSTResponse(textMessage).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n TextMessageClientService.prototype.SendWithUpgradeProposalPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/TextMessage/SendWithUpgradeProposal\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n TextMessageClientService.prototype.SendWithUpgradeProposalPOST = function (request) {\n return this.SendWithUpgradeProposalPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n TextMessageClientService.prototype.GetHistoryForEntityByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/TextMessage/GetHistoryForEntity/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n TextMessageClientService.prototype.GetHistoryForEntityByEntityidGET = function (entityId) {\n return this.GetHistoryForEntityByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param customerId undefined\n * @return Success\n */\n TextMessageClientService.prototype.GetMessagesByCustomerIdByCustomeridGETResponse = function (customerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/TextMessage/GetMessagesByCustomerId/\" + customerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param customerId undefined\n * @return Success\n */\n TextMessageClientService.prototype.GetMessagesByCustomerIdByCustomeridGET = function (customerId) {\n return this.GetMessagesByCustomerIdByCustomeridGETResponse(customerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TextMessageClientService.GetMessagesByCustomerIdByCustomeridByMessageidGETParams` containing the following parameters:\n *\n * - `messageId`:\n *\n * - `customerId`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.GetMessagesByCustomerIdByCustomeridByMessageidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/TextMessage/GetNewMessagesByCustomerId/\" + params.customerId + \"/\" + params.messageId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TextMessageClientService.GetMessagesByCustomerIdByCustomeridByMessageidGETParams` containing the following parameters:\n *\n * - `messageId`:\n *\n * - `customerId`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.GetMessagesByCustomerIdByCustomeridByMessageidGET = function (params) {\n return this.GetMessagesByCustomerIdByCustomeridByMessageidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TextMessageClientService.GetTextableStatusGETParams` containing the following parameters:\n *\n * - `ZipCode`:\n *\n * - `WorkPhone_DoNotCallStatusTypeId`:\n *\n * - `WorkPhone`:\n *\n * - `UpdateDate`:\n *\n * - `StateID`:\n *\n * - `State`:\n *\n * - `PricingPlanID`:\n *\n * - `PreferredCultureName`:\n *\n * - `NormalizedZipCode`:\n *\n * - `MiddleName`:\n *\n * - `LastName`:\n *\n * - `IsFullCustomer`:\n *\n * - `IsAddressNotValid`:\n *\n * - `InvalidContacts`:\n *\n * - `InsertDate`:\n *\n * - `HomePhone_DoNotCallStatusTypeId`:\n *\n * - `HomePhone`:\n *\n * - `FullName`:\n *\n * - `FirstName`:\n *\n * - `ExternalImportID`:\n *\n * - `Email`:\n *\n * - `DoNotText`:\n *\n * - `DoNotMail`:\n *\n * - `DoNotEmail`:\n *\n * - `DoNotCall`:\n *\n * - `DealerID`:\n *\n * - `CustomerID`:\n *\n * - `CreatedByUserID`:\n *\n * - `County`:\n *\n * - `CompanyName`:\n *\n * - `City`:\n *\n * - `CellPhone_DoNotCallStatusTypeId`:\n *\n * - `CellPhone`:\n *\n * - `Address2`:\n *\n * - `Address`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.GetTextableStatusGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.ZipCode != null)\n __params = __params.set('ZipCode', params.ZipCode.toString());\n if (params.WorkPhoneDoNotCallStatusTypeId != null)\n __params = __params.set('WorkPhone_DoNotCallStatusTypeId', params.WorkPhoneDoNotCallStatusTypeId.toString());\n if (params.WorkPhone != null)\n __params = __params.set('WorkPhone', params.WorkPhone.toString());\n if (params.UpdateDate != null)\n __params = __params.set('UpdateDate', params.UpdateDate.toString());\n if (params.StateID != null)\n __params = __params.set('StateID', params.StateID.toString());\n if (params.State != null)\n __params = __params.set('State', params.State.toString());\n if (params.PricingPlanID != null)\n __params = __params.set('PricingPlanID', params.PricingPlanID.toString());\n if (params.PreferredCultureName != null)\n __params = __params.set('PreferredCultureName', params.PreferredCultureName.toString());\n if (params.NormalizedZipCode != null)\n __params = __params.set('NormalizedZipCode', params.NormalizedZipCode.toString());\n if (params.MiddleName != null)\n __params = __params.set('MiddleName', params.MiddleName.toString());\n if (params.LastName != null)\n __params = __params.set('LastName', params.LastName.toString());\n if (params.IsFullCustomer != null)\n __params = __params.set('IsFullCustomer', params.IsFullCustomer.toString());\n if (params.IsAddressNotValid != null)\n __params = __params.set('IsAddressNotValid', params.IsAddressNotValid.toString());\n if (params.InvalidContacts != null)\n __params = __params.set('InvalidContacts', params.InvalidContacts.toString());\n if (params.InsertDate != null)\n __params = __params.set('InsertDate', params.InsertDate.toString());\n if (params.HomePhoneDoNotCallStatusTypeId != null)\n __params = __params.set('HomePhone_DoNotCallStatusTypeId', params.HomePhoneDoNotCallStatusTypeId.toString());\n if (params.HomePhone != null)\n __params = __params.set('HomePhone', params.HomePhone.toString());\n if (params.FullName != null)\n __params = __params.set('FullName', params.FullName.toString());\n if (params.FirstName != null)\n __params = __params.set('FirstName', params.FirstName.toString());\n if (params.ExternalImportID != null)\n __params = __params.set('ExternalImportID', params.ExternalImportID.toString());\n if (params.Email != null)\n __params = __params.set('Email', params.Email.toString());\n if (params.DoNotText != null)\n __params = __params.set('DoNotText', params.DoNotText.toString());\n if (params.DoNotMail != null)\n __params = __params.set('DoNotMail', params.DoNotMail.toString());\n if (params.DoNotEmail != null)\n __params = __params.set('DoNotEmail', params.DoNotEmail.toString());\n if (params.DoNotCall != null)\n __params = __params.set('DoNotCall', params.DoNotCall.toString());\n if (params.DealerID != null)\n __params = __params.set('DealerID', params.DealerID.toString());\n if (params.CustomerID != null)\n __params = __params.set('CustomerID', params.CustomerID.toString());\n if (params.CreatedByUserID != null)\n __params = __params.set('CreatedByUserID', params.CreatedByUserID.toString());\n if (params.County != null)\n __params = __params.set('County', params.County.toString());\n if (params.CompanyName != null)\n __params = __params.set('CompanyName', params.CompanyName.toString());\n if (params.City != null)\n __params = __params.set('City', params.City.toString());\n if (params.CellPhoneDoNotCallStatusTypeId != null)\n __params = __params.set('CellPhone_DoNotCallStatusTypeId', params.CellPhoneDoNotCallStatusTypeId.toString());\n if (params.CellPhone != null)\n __params = __params.set('CellPhone', params.CellPhone.toString());\n if (params.Address2 != null)\n __params = __params.set('Address2', params.Address2.toString());\n if (params.Address != null)\n __params = __params.set('Address', params.Address.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/TextMessage/GetTextableStatus\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TextMessageClientService.GetTextableStatusGETParams` containing the following parameters:\n *\n * - `ZipCode`:\n *\n * - `WorkPhone_DoNotCallStatusTypeId`:\n *\n * - `WorkPhone`:\n *\n * - `UpdateDate`:\n *\n * - `StateID`:\n *\n * - `State`:\n *\n * - `PricingPlanID`:\n *\n * - `PreferredCultureName`:\n *\n * - `NormalizedZipCode`:\n *\n * - `MiddleName`:\n *\n * - `LastName`:\n *\n * - `IsFullCustomer`:\n *\n * - `IsAddressNotValid`:\n *\n * - `InvalidContacts`:\n *\n * - `InsertDate`:\n *\n * - `HomePhone_DoNotCallStatusTypeId`:\n *\n * - `HomePhone`:\n *\n * - `FullName`:\n *\n * - `FirstName`:\n *\n * - `ExternalImportID`:\n *\n * - `Email`:\n *\n * - `DoNotText`:\n *\n * - `DoNotMail`:\n *\n * - `DoNotEmail`:\n *\n * - `DoNotCall`:\n *\n * - `DealerID`:\n *\n * - `CustomerID`:\n *\n * - `CreatedByUserID`:\n *\n * - `County`:\n *\n * - `CompanyName`:\n *\n * - `City`:\n *\n * - `CellPhone_DoNotCallStatusTypeId`:\n *\n * - `CellPhone`:\n *\n * - `Address2`:\n *\n * - `Address`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.GetTextableStatusGET = function (params) {\n return this.GetTextableStatusGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n TextMessageClientService.prototype.IsUserNumberTextableGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/TextMessage/IsUserNumberTextable\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: _r.body === 'true' });\n }));\n };\n /**\n * @return Success\n */\n TextMessageClientService.prototype.IsUserNumberTextableGET = function () {\n return this.IsUserNumberTextableGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TextMessageClientService.SearchForNewNumberGETParams` containing the following parameters:\n *\n * - `stateCode`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.SearchForNewNumberGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.stateCode != null)\n __params = __params.set('stateCode', params.stateCode.toString());\n if (params.dealerId != null)\n __params = __params.set('dealerId', params.dealerId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/TextMessage/SearchForNewNumber\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TextMessageClientService.SearchForNewNumberGETParams` containing the following parameters:\n *\n * - `stateCode`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.SearchForNewNumberGET = function (params) {\n return this.SearchForNewNumberGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TextMessageClientService.SearchForNewNumberByDealeridGETParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `stateCode`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.SearchForNewNumberByDealeridGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.stateCode != null)\n __params = __params.set('stateCode', params.stateCode.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/TextMessage/SearchForNewNumber/\" + params.dealerId + \"/\" + params.stateCode), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TextMessageClientService.SearchForNewNumberByDealeridGETParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `stateCode`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.SearchForNewNumberByDealeridGET = function (params) {\n return this.SearchForNewNumberByDealeridGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TextMessageClientService.SearchForNewNumberByAreaCodeGETParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `areaCode`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.SearchForNewNumberByAreaCodeGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.dealerId != null)\n __params = __params.set('dealerId', params.dealerId.toString());\n if (params.areaCode != null)\n __params = __params.set('areaCode', params.areaCode.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/TextMessage/SearchForNewNumberByAreaCode\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `TextMessageClientService.SearchForNewNumberByAreaCodeGETParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `areaCode`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.SearchForNewNumberByAreaCodeGET = function (params) {\n return this.SearchForNewNumberByAreaCodeGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `TextMessageClientService.PurchaseNewNumberPOSTParams` containing the following parameters:\n *\n * - `newNumberToPurchase`:\n *\n * - `dealerId`:\n *\n * - `accessRightId`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.PurchaseNewNumberPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.newNumberToPurchase != null)\n __params = __params.set('newNumberToPurchase', params.newNumberToPurchase.toString());\n if (params.dealerId != null)\n __params = __params.set('dealerId', params.dealerId.toString());\n if (params.accessRightId != null)\n __params = __params.set('accessRightId', params.accessRightId.toString());\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/TextMessage/PurchaseNewNumber\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param params The `TextMessageClientService.PurchaseNewNumberPOSTParams` containing the following parameters:\n *\n * - `newNumberToPurchase`:\n *\n * - `dealerId`:\n *\n * - `accessRightId`:\n *\n * @return Success\n */\n TextMessageClientService.prototype.PurchaseNewNumberPOST = function (params) {\n return this.PurchaseNewNumberPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n TextMessageClientService.SendPOSTPath = '/api/TextMessage/Send';\n TextMessageClientService.SendWithUpgradeProposalPOSTPath = '/api/TextMessage/SendWithUpgradeProposal';\n TextMessageClientService.GetHistoryForEntityByEntityidGETPath = '/api/TextMessage/GetHistoryForEntity/{entityId}';\n TextMessageClientService.GetMessagesByCustomerIdByCustomeridGETPath = '/api/TextMessage/GetMessagesByCustomerId/{customerId}';\n TextMessageClientService.GetMessagesByCustomerIdByCustomeridByMessageidGETPath = '/api/TextMessage/GetNewMessagesByCustomerId/{customerId}/{messageId}';\n TextMessageClientService.GetTextableStatusGETPath = '/api/TextMessage/GetTextableStatus';\n TextMessageClientService.IsUserNumberTextableGETPath = '/api/TextMessage/IsUserNumberTextable';\n TextMessageClientService.SearchForNewNumberGETPath = '/api/TextMessage/SearchForNewNumber';\n TextMessageClientService.SearchForNewNumberByDealeridGETPath = '/api/TextMessage/SearchForNewNumber/{dealerId}/{stateCode}';\n TextMessageClientService.SearchForNewNumberByAreaCodeGETPath = '/api/TextMessage/SearchForNewNumberByAreaCode';\n TextMessageClientService.PurchaseNewNumberPOSTPath = '/api/TextMessage/PurchaseNewNumber';\n TextMessageClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function TextMessageClientService_Factory() { return new TextMessageClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: TextMessageClientService, providedIn: \"root\" });\n return TextMessageClientService;\n}(base_service_1.BaseService));\nexports.TextMessageClientService = TextMessageClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { TextMessageDto } from '../models/text-message-dto';\r\nimport { SendTextWithUpgradeProposalResponse } from '../models/send-text-with-upgrade-proposal-response';\r\nimport { SendTextWithUpgradeProposalRequest } from '../models/send-text-with-upgrade-proposal-request';\r\nimport { TextableStatusModel } from '../models/textable-status-model';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass TextMessageClientService extends __BaseService {\r\n static readonly SendPOSTPath = '/api/TextMessage/Send';\r\n static readonly SendWithUpgradeProposalPOSTPath = '/api/TextMessage/SendWithUpgradeProposal';\r\n static readonly GetHistoryForEntityByEntityidGETPath = '/api/TextMessage/GetHistoryForEntity/{entityId}';\r\n static readonly GetMessagesByCustomerIdByCustomeridGETPath = '/api/TextMessage/GetMessagesByCustomerId/{customerId}';\r\n static readonly GetMessagesByCustomerIdByCustomeridByMessageidGETPath = '/api/TextMessage/GetNewMessagesByCustomerId/{customerId}/{messageId}';\r\n static readonly GetTextableStatusGETPath = '/api/TextMessage/GetTextableStatus';\r\n static readonly IsUserNumberTextableGETPath = '/api/TextMessage/IsUserNumberTextable';\r\n static readonly SearchForNewNumberGETPath = '/api/TextMessage/SearchForNewNumber';\r\n static readonly SearchForNewNumberByDealeridGETPath = '/api/TextMessage/SearchForNewNumber/{dealerId}/{stateCode}';\r\n static readonly SearchForNewNumberByAreaCodeGETPath = '/api/TextMessage/SearchForNewNumberByAreaCode';\r\n static readonly PurchaseNewNumberPOSTPath = '/api/TextMessage/PurchaseNewNumber';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param textMessage undefined\r\n * @return Success\r\n */\r\n SendPOSTResponse(textMessage?: TextMessageDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = textMessage;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/TextMessage/Send`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param textMessage undefined\r\n * @return Success\r\n */\r\n SendPOST(textMessage?: TextMessageDto): __Observable {\r\n return this.SendPOSTResponse(textMessage).pipe(\r\n __map(_r => _r.body as TextMessageDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n SendWithUpgradeProposalPOSTResponse(request?: SendTextWithUpgradeProposalRequest): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/TextMessage/SendWithUpgradeProposal`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n SendWithUpgradeProposalPOST(request?: SendTextWithUpgradeProposalRequest): __Observable {\r\n return this.SendWithUpgradeProposalPOSTResponse(request).pipe(\r\n __map(_r => _r.body as SendTextWithUpgradeProposalResponse)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetHistoryForEntityByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/TextMessage/GetHistoryForEntity/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetHistoryForEntityByEntityidGET(entityId: string): __Observable {\r\n return this.GetHistoryForEntityByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param customerId undefined\r\n * @return Success\r\n */\r\n GetMessagesByCustomerIdByCustomeridGETResponse(customerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/TextMessage/GetMessagesByCustomerId/${customerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param customerId undefined\r\n * @return Success\r\n */\r\n GetMessagesByCustomerIdByCustomeridGET(customerId: number): __Observable {\r\n return this.GetMessagesByCustomerIdByCustomeridGETResponse(customerId).pipe(\r\n __map(_r => _r.body as TextMessageDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TextMessageClientService.GetMessagesByCustomerIdByCustomeridByMessageidGETParams` containing the following parameters:\r\n *\r\n * - `messageId`:\r\n *\r\n * - `customerId`:\r\n *\r\n * @return Success\r\n */\r\n GetMessagesByCustomerIdByCustomeridByMessageidGETResponse(params: TextMessageClientService.GetMessagesByCustomerIdByCustomeridByMessageidGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/TextMessage/GetNewMessagesByCustomerId/${params.customerId}/${params.messageId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TextMessageClientService.GetMessagesByCustomerIdByCustomeridByMessageidGETParams` containing the following parameters:\r\n *\r\n * - `messageId`:\r\n *\r\n * - `customerId`:\r\n *\r\n * @return Success\r\n */\r\n GetMessagesByCustomerIdByCustomeridByMessageidGET(params: TextMessageClientService.GetMessagesByCustomerIdByCustomeridByMessageidGETParams): __Observable {\r\n return this.GetMessagesByCustomerIdByCustomeridByMessageidGETResponse(params).pipe(\r\n __map(_r => _r.body as TextMessageDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TextMessageClientService.GetTextableStatusGETParams` containing the following parameters:\r\n *\r\n * - `ZipCode`:\r\n *\r\n * - `WorkPhone_DoNotCallStatusTypeId`:\r\n *\r\n * - `WorkPhone`:\r\n *\r\n * - `UpdateDate`:\r\n *\r\n * - `StateID`:\r\n *\r\n * - `State`:\r\n *\r\n * - `PricingPlanID`:\r\n *\r\n * - `PreferredCultureName`:\r\n *\r\n * - `NormalizedZipCode`:\r\n *\r\n * - `MiddleName`:\r\n *\r\n * - `LastName`:\r\n *\r\n * - `IsFullCustomer`:\r\n *\r\n * - `IsAddressNotValid`:\r\n *\r\n * - `InvalidContacts`:\r\n *\r\n * - `InsertDate`:\r\n *\r\n * - `HomePhone_DoNotCallStatusTypeId`:\r\n *\r\n * - `HomePhone`:\r\n *\r\n * - `FullName`:\r\n *\r\n * - `FirstName`:\r\n *\r\n * - `ExternalImportID`:\r\n *\r\n * - `Email`:\r\n *\r\n * - `DoNotText`:\r\n *\r\n * - `DoNotMail`:\r\n *\r\n * - `DoNotEmail`:\r\n *\r\n * - `DoNotCall`:\r\n *\r\n * - `DealerID`:\r\n *\r\n * - `CustomerID`:\r\n *\r\n * - `CreatedByUserID`:\r\n *\r\n * - `County`:\r\n *\r\n * - `CompanyName`:\r\n *\r\n * - `City`:\r\n *\r\n * - `CellPhone_DoNotCallStatusTypeId`:\r\n *\r\n * - `CellPhone`:\r\n *\r\n * - `Address2`:\r\n *\r\n * - `Address`:\r\n *\r\n * @return Success\r\n */\r\n GetTextableStatusGETResponse(params: TextMessageClientService.GetTextableStatusGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.ZipCode != null) __params = __params.set('ZipCode', params.ZipCode.toString());\r\n if (params.WorkPhoneDoNotCallStatusTypeId != null) __params = __params.set('WorkPhone_DoNotCallStatusTypeId', params.WorkPhoneDoNotCallStatusTypeId.toString());\r\n if (params.WorkPhone != null) __params = __params.set('WorkPhone', params.WorkPhone.toString());\r\n if (params.UpdateDate != null) __params = __params.set('UpdateDate', params.UpdateDate.toString());\r\n if (params.StateID != null) __params = __params.set('StateID', params.StateID.toString());\r\n if (params.State != null) __params = __params.set('State', params.State.toString());\r\n if (params.PricingPlanID != null) __params = __params.set('PricingPlanID', params.PricingPlanID.toString());\r\n if (params.PreferredCultureName != null) __params = __params.set('PreferredCultureName', params.PreferredCultureName.toString());\r\n if (params.NormalizedZipCode != null) __params = __params.set('NormalizedZipCode', params.NormalizedZipCode.toString());\r\n if (params.MiddleName != null) __params = __params.set('MiddleName', params.MiddleName.toString());\r\n if (params.LastName != null) __params = __params.set('LastName', params.LastName.toString());\r\n if (params.IsFullCustomer != null) __params = __params.set('IsFullCustomer', params.IsFullCustomer.toString());\r\n if (params.IsAddressNotValid != null) __params = __params.set('IsAddressNotValid', params.IsAddressNotValid.toString());\r\n if (params.InvalidContacts != null) __params = __params.set('InvalidContacts', params.InvalidContacts.toString());\r\n if (params.InsertDate != null) __params = __params.set('InsertDate', params.InsertDate.toString());\r\n if (params.HomePhoneDoNotCallStatusTypeId != null) __params = __params.set('HomePhone_DoNotCallStatusTypeId', params.HomePhoneDoNotCallStatusTypeId.toString());\r\n if (params.HomePhone != null) __params = __params.set('HomePhone', params.HomePhone.toString());\r\n if (params.FullName != null) __params = __params.set('FullName', params.FullName.toString());\r\n if (params.FirstName != null) __params = __params.set('FirstName', params.FirstName.toString());\r\n if (params.ExternalImportID != null) __params = __params.set('ExternalImportID', params.ExternalImportID.toString());\r\n if (params.Email != null) __params = __params.set('Email', params.Email.toString());\r\n if (params.DoNotText != null) __params = __params.set('DoNotText', params.DoNotText.toString());\r\n if (params.DoNotMail != null) __params = __params.set('DoNotMail', params.DoNotMail.toString());\r\n if (params.DoNotEmail != null) __params = __params.set('DoNotEmail', params.DoNotEmail.toString());\r\n if (params.DoNotCall != null) __params = __params.set('DoNotCall', params.DoNotCall.toString());\r\n if (params.DealerID != null) __params = __params.set('DealerID', params.DealerID.toString());\r\n if (params.CustomerID != null) __params = __params.set('CustomerID', params.CustomerID.toString());\r\n if (params.CreatedByUserID != null) __params = __params.set('CreatedByUserID', params.CreatedByUserID.toString());\r\n if (params.County != null) __params = __params.set('County', params.County.toString());\r\n if (params.CompanyName != null) __params = __params.set('CompanyName', params.CompanyName.toString());\r\n if (params.City != null) __params = __params.set('City', params.City.toString());\r\n if (params.CellPhoneDoNotCallStatusTypeId != null) __params = __params.set('CellPhone_DoNotCallStatusTypeId', params.CellPhoneDoNotCallStatusTypeId.toString());\r\n if (params.CellPhone != null) __params = __params.set('CellPhone', params.CellPhone.toString());\r\n if (params.Address2 != null) __params = __params.set('Address2', params.Address2.toString());\r\n if (params.Address != null) __params = __params.set('Address', params.Address.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/TextMessage/GetTextableStatus`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TextMessageClientService.GetTextableStatusGETParams` containing the following parameters:\r\n *\r\n * - `ZipCode`:\r\n *\r\n * - `WorkPhone_DoNotCallStatusTypeId`:\r\n *\r\n * - `WorkPhone`:\r\n *\r\n * - `UpdateDate`:\r\n *\r\n * - `StateID`:\r\n *\r\n * - `State`:\r\n *\r\n * - `PricingPlanID`:\r\n *\r\n * - `PreferredCultureName`:\r\n *\r\n * - `NormalizedZipCode`:\r\n *\r\n * - `MiddleName`:\r\n *\r\n * - `LastName`:\r\n *\r\n * - `IsFullCustomer`:\r\n *\r\n * - `IsAddressNotValid`:\r\n *\r\n * - `InvalidContacts`:\r\n *\r\n * - `InsertDate`:\r\n *\r\n * - `HomePhone_DoNotCallStatusTypeId`:\r\n *\r\n * - `HomePhone`:\r\n *\r\n * - `FullName`:\r\n *\r\n * - `FirstName`:\r\n *\r\n * - `ExternalImportID`:\r\n *\r\n * - `Email`:\r\n *\r\n * - `DoNotText`:\r\n *\r\n * - `DoNotMail`:\r\n *\r\n * - `DoNotEmail`:\r\n *\r\n * - `DoNotCall`:\r\n *\r\n * - `DealerID`:\r\n *\r\n * - `CustomerID`:\r\n *\r\n * - `CreatedByUserID`:\r\n *\r\n * - `County`:\r\n *\r\n * - `CompanyName`:\r\n *\r\n * - `City`:\r\n *\r\n * - `CellPhone_DoNotCallStatusTypeId`:\r\n *\r\n * - `CellPhone`:\r\n *\r\n * - `Address2`:\r\n *\r\n * - `Address`:\r\n *\r\n * @return Success\r\n */\r\n GetTextableStatusGET(params: TextMessageClientService.GetTextableStatusGETParams): __Observable {\r\n return this.GetTextableStatusGETResponse(params).pipe(\r\n __map(_r => _r.body as TextableStatusModel)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n IsUserNumberTextableGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/TextMessage/IsUserNumberTextable`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: (_r as HttpResponse).body === 'true' }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n IsUserNumberTextableGET(): __Observable {\r\n return this.IsUserNumberTextableGETResponse().pipe(\r\n __map(_r => _r.body as boolean)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TextMessageClientService.SearchForNewNumberGETParams` containing the following parameters:\r\n *\r\n * - `stateCode`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n SearchForNewNumberGETResponse(params: TextMessageClientService.SearchForNewNumberGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.stateCode != null) __params = __params.set('stateCode', params.stateCode.toString());\r\n if (params.dealerId != null) __params = __params.set('dealerId', params.dealerId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/TextMessage/SearchForNewNumber`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TextMessageClientService.SearchForNewNumberGETParams` containing the following parameters:\r\n *\r\n * - `stateCode`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n SearchForNewNumberGET(params: TextMessageClientService.SearchForNewNumberGETParams): __Observable> {\r\n return this.SearchForNewNumberGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TextMessageClientService.SearchForNewNumberByDealeridGETParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `stateCode`:\r\n *\r\n * @return Success\r\n */\r\n SearchForNewNumberByDealeridGETResponse(params: TextMessageClientService.SearchForNewNumberByDealeridGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n if (params.stateCode != null) __params = __params.set('stateCode', params.stateCode.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/TextMessage/SearchForNewNumber/${params.dealerId}/${params.stateCode}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TextMessageClientService.SearchForNewNumberByDealeridGETParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `stateCode`:\r\n *\r\n * @return Success\r\n */\r\n SearchForNewNumberByDealeridGET(params: TextMessageClientService.SearchForNewNumberByDealeridGETParams): __Observable> {\r\n return this.SearchForNewNumberByDealeridGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TextMessageClientService.SearchForNewNumberByAreaCodeGETParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `areaCode`:\r\n *\r\n * @return Success\r\n */\r\n SearchForNewNumberByAreaCodeGETResponse(params: TextMessageClientService.SearchForNewNumberByAreaCodeGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.dealerId != null) __params = __params.set('dealerId', params.dealerId.toString());\r\n if (params.areaCode != null) __params = __params.set('areaCode', params.areaCode.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/TextMessage/SearchForNewNumberByAreaCode`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TextMessageClientService.SearchForNewNumberByAreaCodeGETParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `areaCode`:\r\n *\r\n * @return Success\r\n */\r\n SearchForNewNumberByAreaCodeGET(params: TextMessageClientService.SearchForNewNumberByAreaCodeGETParams): __Observable> {\r\n return this.SearchForNewNumberByAreaCodeGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `TextMessageClientService.PurchaseNewNumberPOSTParams` containing the following parameters:\r\n *\r\n * - `newNumberToPurchase`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `accessRightId`:\r\n *\r\n * @return Success\r\n */\r\n PurchaseNewNumberPOSTResponse(params: TextMessageClientService.PurchaseNewNumberPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.newNumberToPurchase != null) __params = __params.set('newNumberToPurchase', params.newNumberToPurchase.toString());\r\n if (params.dealerId != null) __params = __params.set('dealerId', params.dealerId.toString());\r\n if (params.accessRightId != null) __params = __params.set('accessRightId', params.accessRightId.toString());\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/TextMessage/PurchaseNewNumber`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `TextMessageClientService.PurchaseNewNumberPOSTParams` containing the following parameters:\r\n *\r\n * - `newNumberToPurchase`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `accessRightId`:\r\n *\r\n * @return Success\r\n */\r\n PurchaseNewNumberPOST(params: TextMessageClientService.PurchaseNewNumberPOSTParams): __Observable {\r\n return this.PurchaseNewNumberPOSTResponse(params).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n}\r\n\r\nmodule TextMessageClientService {\r\n\r\n /**\r\n * Parameters for GetMessagesByCustomerIdByCustomeridByMessageidGET\r\n */\r\n export interface GetMessagesByCustomerIdByCustomeridByMessageidGETParams {\r\n messageId: number;\r\n customerId: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetTextableStatusGET\r\n */\r\n export interface GetTextableStatusGETParams {\r\n ZipCode?: string;\r\n WorkPhoneDoNotCallStatusTypeId?: 0 | 1 | 2 | 3 | 4;\r\n WorkPhone?: string;\r\n UpdateDate?: string;\r\n StateID?: number;\r\n State?: string;\r\n PricingPlanID?: number;\r\n PreferredCultureName?: string;\r\n NormalizedZipCode?: string;\r\n MiddleName?: string;\r\n LastName?: string;\r\n IsFullCustomer?: boolean;\r\n IsAddressNotValid?: boolean;\r\n InvalidContacts?: string;\r\n InsertDate?: string;\r\n HomePhoneDoNotCallStatusTypeId?: 0 | 1 | 2 | 3 | 4;\r\n HomePhone?: string;\r\n FullName?: string;\r\n FirstName?: string;\r\n ExternalImportID?: number;\r\n Email?: string;\r\n DoNotText?: boolean;\r\n DoNotMail?: boolean;\r\n DoNotEmail?: boolean;\r\n DoNotCall?: boolean;\r\n DealerID?: number;\r\n CustomerID?: number;\r\n CreatedByUserID?: number;\r\n County?: string;\r\n CompanyName?: string;\r\n City?: string;\r\n CellPhoneDoNotCallStatusTypeId?: 0 | 1 | 2 | 3 | 4;\r\n CellPhone?: string;\r\n Address2?: string;\r\n Address?: string;\r\n }\r\n\r\n /**\r\n * Parameters for SearchForNewNumberGET\r\n */\r\n export interface SearchForNewNumberGETParams {\r\n stateCode?: string;\r\n dealerId?: number;\r\n }\r\n\r\n /**\r\n * Parameters for SearchForNewNumberByDealeridGET\r\n */\r\n export interface SearchForNewNumberByDealeridGETParams {\r\n dealerId: number;\r\n stateCode?: string;\r\n }\r\n\r\n /**\r\n * Parameters for SearchForNewNumberByAreaCodeGET\r\n */\r\n export interface SearchForNewNumberByAreaCodeGETParams {\r\n dealerId?: number;\r\n areaCode?: number;\r\n }\r\n\r\n /**\r\n * Parameters for PurchaseNewNumberPOST\r\n */\r\n export interface PurchaseNewNumberPOSTParams {\r\n newNumberToPurchase?: string;\r\n dealerId?: number;\r\n accessRightId?: number;\r\n }\r\n}\r\n\r\nexport { TextMessageClientService }\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./more-vehicle-offers.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"./payment-difference/payment-difference.component.ngfactory\"));\nvar i4 = __importStar(require(\"./payment-difference/payment-difference.component\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./more-vehicle-offers.component\"));\nvar i7 = __importStar(require(\"../../../../services/authorization.service\"));\nvar styles_MoreVehicleOffersComponent = [i0.styles];\nvar RenderType_MoreVehicleOffersComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MoreVehicleOffersComponent, data: {} });\nexports.RenderType_MoreVehicleOffersComponent = RenderType_MoreVehicleOffersComponent;\nfunction View_MoreVehicleOffersComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"mvos-more\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"moreVehicleOffers\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MoreVehicleOffersComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [[\"class\", \"mvos-more\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"offBrandOffers\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MoreVehicleOffersComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 19, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 18, \"a\", [], [[1, \"selected\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.clickHandler(\"standardVehicle\", null, _co.standardVehicle) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 17, \"div\", [[\"class\", \"row mvos\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 16, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 15, \"div\", [[\"class\", \"row mvos-details-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"col-xs-4 mvos-image\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], [[null, \"error\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"error\" === en)) {\n var pd_0 = (_co.updateUrl($event, _co.standardVehicle) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 12, \"div\", [[\"class\", \"col-xs-8 end\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 7, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 4, \"div\", [[\"class\", \"col-xs-7 no-padding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"class\", \"mvos-type\"]], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \" \"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵppd(13, 1), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"payment-difference\", [], null, null, null, i3.View_PaymentDifferenceComponent_0, i3.RenderType_PaymentDifferenceComponent)), i1.ɵdid(15, 114688, null, 0, i4.PaymentDifferenceComponent, [], { vehicle: [0, \"vehicle\"], hasPaymentsPermission: [1, \"hasPaymentsPermission\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.standardVehicle; var currVal_4 = (_co.hasPaymentsPermission && _co.overrideShowPayment); _ck(_v, 15, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getSelectedAttribute(\"standardVehicle\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.standardVehicle.imagePath; _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 11, 0, _ck(_v, 13, 0, i1.ɵnov(_v.parent, 0), i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"replacementVehicle\")))); _ck(_v, 11, 0, currVal_2); var currVal_5 = _co.standardVehicle.yearID; _ck(_v, 17, 0, currVal_5); var currVal_6 = _co.standardVehicle.trimFullName; _ck(_v, 19, 0, currVal_6); }); }\nfunction View_MoreVehicleOffersComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 19, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 18, \"a\", [], [[1, \"selected\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.clickHandler(\"upgradeVehicle\", null, _co.upgradeVehicle) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 17, \"div\", [[\"class\", \"row mvos\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 16, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 15, \"div\", [[\"class\", \"row mvos-details-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"col-xs-4 mvos-image\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], [[null, \"error\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"error\" === en)) {\n var pd_0 = (_co.updateUrl($event, _co.upgradeVehicle) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 12, \"div\", [[\"class\", \"col-xs-8 end\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 7, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 4, \"div\", [[\"class\", \"col-xs-7 no-padding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"class\", \"mvos-type\"]], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵppd(13, 1), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"payment-difference\", [], null, null, null, i3.View_PaymentDifferenceComponent_0, i3.RenderType_PaymentDifferenceComponent)), i1.ɵdid(15, 114688, null, 0, i4.PaymentDifferenceComponent, [], { vehicle: [0, \"vehicle\"], hasPaymentsPermission: [1, \"hasPaymentsPermission\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.upgradeVehicle; var currVal_4 = _co.hasPaymentsPermission; _ck(_v, 15, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getSelectedAttribute(\"upgradeVehicle\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.upgradeVehicle.imagePath; _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 11, 0, _ck(_v, 13, 0, i1.ɵnov(_v.parent, 0), i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"upgrade\")))); _ck(_v, 11, 0, currVal_2); var currVal_5 = _co.upgradeVehicle.yearID; _ck(_v, 17, 0, currVal_5); var currVal_6 = _co.upgradeVehicle.trimFullName; _ck(_v, 19, 0, currVal_6); }); }\nfunction View_MoreVehicleOffersComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 19, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 18, \"a\", [], [[1, \"selected\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.clickHandler(\"downgradeVehicle\", null, _co.downgradeVehicle) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 17, \"div\", [[\"class\", \"row mvos\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 16, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 15, \"div\", [[\"class\", \"row mvos-details-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"col-xs-4 mvos-image\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], [[null, \"error\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"error\" === en)) {\n var pd_0 = (_co.updateUrl($event, _co.downgradeVehicle) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 12, \"div\", [[\"class\", \"col-xs-8 end\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 7, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 4, \"div\", [[\"class\", \"col-xs-7 no-padding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"class\", \"mvos-type\"]], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵppd(13, 1), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"payment-difference\", [], null, null, null, i3.View_PaymentDifferenceComponent_0, i3.RenderType_PaymentDifferenceComponent)), i1.ɵdid(15, 114688, null, 0, i4.PaymentDifferenceComponent, [], { vehicle: [0, \"vehicle\"], hasPaymentsPermission: [1, \"hasPaymentsPermission\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_3 = _co.downgradeVehicle; var currVal_4 = _co.hasPaymentsPermission; _ck(_v, 15, 0, currVal_3, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getSelectedAttribute(\"downgradeVehicle\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.downgradeVehicle.imagePath; _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 11, 0, _ck(_v, 13, 0, i1.ɵnov(_v.parent, 0), i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"downgrade\")))); _ck(_v, 11, 0, currVal_2); var currVal_5 = _co.downgradeVehicle.yearID; _ck(_v, 17, 0, currVal_5); var currVal_6 = _co.downgradeVehicle.trimFullName; _ck(_v, 19, 0, currVal_6); }); }\nfunction View_MoreVehicleOffersComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 19, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 18, \"a\", [], [[1, \"selected\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.clickHandler(\"alternateVehicle\", _v.context.index, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 17, \"div\", [[\"class\", \"row mvos\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 16, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 15, \"div\", [[\"class\", \"row mvos-details-container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"div\", [[\"class\", \"col-xs-4 mvos-image\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], [[null, \"error\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"error\" === en)) {\n var pd_0 = (_co.updateUrl($event, _v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 12, \"div\", [[\"class\", \"col-xs-8 end\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 7, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 4, \"div\", [[\"class\", \"col-xs-7 no-padding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 3, \"div\", [[\"class\", \"mvos-type\"]], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \" \", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵppd(13, 1), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"payment-difference\", [], null, null, null, i3.View_PaymentDifferenceComponent_0, i3.RenderType_PaymentDifferenceComponent)), i1.ɵdid(15, 114688, null, 0, i4.PaymentDifferenceComponent, [], { vehicle: [0, \"vehicle\"], hasPaymentsPermission: [1, \"hasPaymentsPermission\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"span\", [[\"class\", \"mvos-yearmake\"]], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_4 = _v.context.$implicit; var currVal_5 = _co.hasPaymentsPermission; _ck(_v, 15, 0, currVal_4, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getSelectedAttribute(\"alternateVehicle\", _v.context.index); _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.imagePath; _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 11, 0, _ck(_v, 13, 0, i1.ɵnov(_v.parent, 0), i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"alternate\")))); var currVal_3 = ((_co.alternateVehicles.length > 1) ? (_v.context.index + 1) : null); _ck(_v, 11, 0, currVal_2, currVal_3); var currVal_6 = _v.context.$implicit.yearID; _ck(_v, 17, 0, currVal_6); var currVal_7 = _v.context.$implicit.trimFullName; _ck(_v, 19, 0, currVal_7); }); }\nfunction View_MoreVehicleOffersComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i5.UpperCasePipe, []), (_l()(), i1.ɵeld(1, 0, null, null, 18, \"div\", [[\"class\", \"offer-dropdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 17, \"div\", [[\"class\", \"dropdown mvos-selector\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 7, \"a\", [[\"class\", \"dropdown-toggle mvos-dropdown\"], [\"data-toggle\", \"dropdown\"], [\"href\", \"#\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"div\", [[\"class\", \"row mvos1\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 5, \"div\", [], [[8, \"className\", 0]], null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MoreVehicleOffersComponent_1)), i1.ɵdid(7, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MoreVehicleOffersComponent_2)), i1.ɵdid(9, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 0, \"div\", [[\"class\", \"mvos-bottom\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 8, \"ul\", [[\"class\", \"dropdown-menu offercontainer\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MoreVehicleOffersComponent_3)), i1.ɵdid(13, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MoreVehicleOffersComponent_4)), i1.ɵdid(15, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MoreVehicleOffersComponent_5)), i1.ɵdid(17, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MoreVehicleOffersComponent_6)), i1.ɵdid(19, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = !_co.isOffBrand; _ck(_v, 7, 0, currVal_1); var currVal_2 = _co.isOffBrand; _ck(_v, 9, 0, currVal_2); var currVal_3 = ((_co.upgradeVehicle || _co.downgradeVehicle) || (_co.alternateVehicles && !_co.isOffBrand)); _ck(_v, 13, 0, currVal_3); var currVal_4 = _co.upgradeVehicle; _ck(_v, 15, 0, currVal_4); var currVal_5 = _co.downgradeVehicle; _ck(_v, 17, 0, currVal_5); var currVal_6 = _co.alternateVehicles; _ck(_v, 19, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getContainerClass(); _ck(_v, 5, 0, currVal_0); }); }\nexports.View_MoreVehicleOffersComponent_0 = View_MoreVehicleOffersComponent_0;\nfunction View_MoreVehicleOffersComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"aa-more-vehicle-offers\", [], null, null, null, View_MoreVehicleOffersComponent_0, RenderType_MoreVehicleOffersComponent)), i1.ɵdid(1, 114688, null, 0, i6.MoreVehicleOffersComponent, [i7.AuthorizationService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MoreVehicleOffersComponent_Host_0 = View_MoreVehicleOffersComponent_Host_0;\nvar MoreVehicleOffersComponentNgFactory = i1.ɵccf(\"aa-more-vehicle-offers\", i6.MoreVehicleOffersComponent, View_MoreVehicleOffersComponent_Host_0, { upgradeVehicle: \"upgradeVehicle\", downgradeVehicle: \"downgradeVehicle\", standardVehicle: \"standardVehicle\", alternateVehicles: \"alternateVehicles\", selectedVehicle: \"selectedVehicle\", replacementContract: \"replacementContract\", isOffBrand: \"isOffBrand\" }, { select: \"select\" }, []);\nexports.MoreVehicleOffersComponentNgFactory = MoreVehicleOffersComponentNgFactory;\n","","// 20.2.2.3 Math.acosh(x)\nvar $export = require('./_export');\nvar log1p = require('./_math-log1p');\nvar sqrt = Math.sqrt;\nvar $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n && Math.floor($acosh(Number.MAX_VALUE)) == 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n && $acosh(Infinity) == Infinity\n), 'Math', {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? Math.log(x) + Math.LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n",";(function () {\n\n var object = (\n // #34: CommonJS\n typeof exports === 'object' && exports !== null &&\n typeof exports.nodeType !== 'number' ?\n exports :\n // #8: web workers\n typeof self != 'undefined' ?\n self :\n // #31: ExtendScript\n $.global\n );\n\n var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\n function InvalidCharacterError(message) {\n this.message = message;\n }\n InvalidCharacterError.prototype = new Error;\n InvalidCharacterError.prototype.name = 'InvalidCharacterError';\n\n // encoder\n // [https://gist.github.com/999166] by [https://github.com/nignag]\n object.btoa || (\n object.btoa = function (input) {\n var str = String(input);\n for (\n // initialize result and counter\n var block, charCode, idx = 0, map = chars, output = '';\n // if the next str index does not exist:\n // change the mapping table to \"=\"\n // check if d has no fractional digits\n str.charAt(idx | 0) || (map = '=', idx % 1);\n // \"8 - idx % 1 * 8\" generates the sequence 2, 4, 6, 8\n output += map.charAt(63 & block >> 8 - idx % 1 * 8)\n ) {\n charCode = str.charCodeAt(idx += 3/4);\n if (charCode > 0xFF) {\n throw new InvalidCharacterError(\"'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.\");\n }\n block = block << 8 | charCode;\n }\n return output;\n });\n\n // decoder\n // [https://gist.github.com/1020396] by [https://github.com/atk]\n object.atob || (\n object.atob = function (input) {\n var str = String(input).replace(/[=]+$/, ''); // #31: ExtendScript bad parse of /=\n if (str.length % 4 == 1) {\n throw new InvalidCharacterError(\"'atob' failed: The string to be decoded is not correctly encoded.\");\n }\n for (\n // initialize result and counters\n var bc = 0, bs, buffer, idx = 0, output = '';\n // get next character\n buffer = str.charAt(idx++);\n // character found in table? initialize bit storage and add its ascii value;\n ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,\n // and if not first of each 4 characters,\n // convert the first 8 bits to one ascii character\n bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0\n ) {\n // try to find character in table (0-63, not found => -1)\n buffer = chars.indexOf(buffer);\n }\n return output;\n });\n\n}());\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var path = '/app/components/header/customer-engagement-widget-window.component.html';\nvar html = \"
{{ 'service' | translate }} {{ 'web' | translate }} {{ 'mailGroup' | translate }} {{ 'o2o' | translate }} {{ 'reviews' | translate }} {{ 'geoAlert' | translate }}
  
0 }\\\">
{{ engagement.customerFullName }}

{{ $ctrl.descriptionForEngagement(engagement) | translate }}  
{{ engagement.eventDate | localeDate }} {{ engagement.eventDate | localeTime }}
1\\\"> 0) || (engagement.engagementEventGroupId === $ctrl.engagementEventGroups.service && engagement.serviceCount > 1) )\\\"> {{ engagement.serviceCount | localeNumber }} 0) || (engagement.engagementEventGroupId === $ctrl.engagementEventGroups.web && engagement.webCount > 1) )\\\"> {{ engagement.webCount | localeNumber }} 0) || (engagement.engagementEventGroupId === $ctrl.engagementEventGroups.text && engagement.textMessageCount > 1) )\\\"> {{ engagement.textMessageCount | localeNumber }} 0) || (engagement.engagementEventGroupId === $ctrl.engagementEventGroups.autoAssistant && engagement.autoAssistantCount > 1) )\\\"> {{ engagement.autoAssistantCount | localeNumber }} 0) || (engagement.engagementEventGroupId === $ctrl.engagementEventGroups.email && engagement.emailCount > 1) )\\\"> {{ engagement.emailCount | localeNumber }} 0) || (engagement.engagementEventGroupId === $ctrl.engagementEventGroups.one2one && engagement.one2oneCount > 1) )\\\"> {{ engagement.one2oneCount | localeNumber }} 0) || (engagement.engagementEventGroupId === $ctrl.engagementEventGroups.intelligentMarketing && engagement.intelligentMarketingCount > 1) )\\\"> {{ engagement.intelligentMarketingCount | localeNumber }} 0) || (engagement.engagementEventGroupId === $ctrl.engagementEventGroups.reviews && engagement.reviewCount > 1) )\\\"> {{ engagement.reviewCount | localeNumber }} 0) || (engagement.engagementEventGroupId === $ctrl.engagementEventGroups.geoAlert && engagement.geoAlertCount > 1) )\\\"> {{ engagement.geoAlertCount | localeNumber }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var metadata = require('./_metadata');\nvar anObject = require('./_an-object');\nvar getPrototypeOf = require('./_object-gpo');\nvar ordinaryHasOwnMetadata = metadata.has;\nvar toMetaKey = metadata.key;\n\nvar ordinaryHasMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return true;\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n};\n\nmetadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {\n return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n} });\n","// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = require('./_to-iobject');\nvar $getOwnPropertyDescriptor = require('./_object-gopd').f;\n\nrequire('./_object-sap')('getOwnPropertyDescriptor', function () {\n return function getOwnPropertyDescriptor(it, key) {\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n","// 20.2.2.11 Math.clz32(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar authorization_service_1 = require(\"../../../../services/authorization.service\");\nvar OnDemandOffersComponent = /** @class */ (function () {\n function OnDemandOffersComponent(authorizationService, vehicleService, translate) {\n var _this = this;\n this.authorizationService = authorizationService;\n this.vehicleService = vehicleService;\n this.translate = translate;\n // define eventOUT signature\n this.select = new core_1.EventEmitter();\n this.vehicleImageNotAvailableUrl = require('../../../../images/vehicle-image-not-available.png');\n this.selectedVehicle = { selectedVehicleType: 'standardVehicle', alternateVehicleIndex: 0, onDemandVehicle: null };\n this.offBrandHasBeenCalledForEntity = false;\n this.showOffBrandDropSelect = false;\n this.noRecommendationsLabel = '';\n translate.get('loading').subscribe(function (translation) { _this.loadingText = translation; });\n translate.get('onDemandRecommendations').subscribe(function (translation) { _this.noRecommendationsText = translation; });\n }\n OnDemandOffersComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.authorizationService.getDealSheetPermissions()\n .then(function (dealSheetPermissions) {\n _this.hasPaymentsPermission = dealSheetPermissions.payments;\n });\n };\n OnDemandOffersComponent.prototype.ngOnChanges = function (changes) {\n if (changes.dealerGroupMakes) {\n this.selectedMakeId = \"\";\n }\n };\n OnDemandOffersComponent.prototype.toggleOnDemandDropSelect = function () {\n var onDemandDiv = document.getElementById('onDemandOffBrandListToggleWrapper');\n if (this.alternateVehicles) {\n if (onDemandDiv.classList.contains('open')) {\n //logic looks backward but the classList is updated after this event\n this.showOffBrandDropSelect = false;\n }\n else {\n this.showOffBrandDropSelect = true;\n }\n }\n else {\n onDemandDiv.classList.add('open'); //hack to keep the empty list from showing\n this.showOffBrandDropSelect = !this.showOffBrandDropSelect;\n if (!this.showOffBrandDropSelect) {\n this.selectedMakeId = \"\";\n this.noRecommendationsLabel = '';\n }\n }\n };\n OnDemandOffersComponent.prototype.onMakeSelect = function () {\n var _this = this;\n if (this.selectedMakeId && this.selectedMakeId > 0) {\n this.noRecommendationsLabel = this.loadingText;\n this.vehicleService.getOnDemandOffBrandVehicles(this.opportunityId, [this.selectedMakeId])\n .then(function (replacementVehicles) {\n if (replacementVehicles && replacementVehicles.offBrandAlternateVehicles) {\n _this.noRecommendationsLabel = '';\n _this.alternateVehicles = replacementVehicles.offBrandAlternateVehicles;\n document.getElementById('onDemandOffBrandListToggleWrapper').classList.add('open');\n }\n else {\n _this.noRecommendationsLabel = _this.noRecommendationsText;\n }\n });\n }\n };\n OnDemandOffersComponent.prototype.clickHandler = function (chosenVehicleType, alternateVehicleIndex, vehicle) {\n this.selectedVehicle = { selectedVehicleType: 'onDemandVehicle', alternateVehicleIndex: alternateVehicleIndex, onDemandVehicle: vehicle };\n this.select.emit(this.selectedVehicle);\n this.selectedVehicleObject = vehicle;\n };\n // on error of image src load default fallback image\n OnDemandOffersComponent.prototype.updateUrl = function (event, vehicle) {\n vehicle.imagePath = this.vehicleImageNotAvailableUrl;\n };\n OnDemandOffersComponent.prototype.getSelectedAttribute = function (vehicleType, index) {\n if (index === void 0) { index = 0; }\n if (this.selectedVehicle &&\n this.selectedVehicle.selectedVehicleType === vehicleType) {\n var selectedIndex = this.selectedVehicle.alternateVehicleIndex;\n if (selectedIndex !== undefined && selectedIndex !== null) {\n return (this.selectedVehicle.alternateVehicleIndex === index);\n }\n return true;\n }\n return false;\n };\n OnDemandOffersComponent.prototype.getContainerClass = function () {\n return 'row mvos-more-container1';\n };\n return OnDemandOffersComponent;\n}());\nexports.OnDemandOffersComponent = OnDemandOffersComponent;\n","import { Component, EventEmitter, Input, Output, OnInit, OnChanges, Inject, SimpleChanges } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ReplacementVehicle } from '../../../../interfaces/replacement-vehicle.interface';\r\nimport { AuthorizationService } from '../../../../services/authorization.service';\r\nimport { VehicleService } from '../../../../ajs-upgraded-providers';\r\n\r\n@Component({\r\n selector: 'aa-on-demand-offers',\r\n templateUrl: './on-demand-offers.component-ng.html',\r\n styleUrls: ['./more-vehicle-offers.component.scss']\r\n})\r\nexport class OnDemandOffersComponent implements OnInit, OnChanges {\r\n\r\n // define input bindings\r\n @Input() selectedVehicle: { selectedVehicleType: string, alternateVehicleIndex: number, onDemandVehicle: ReplacementVehicle };\r\n @Input() dealerGroupMakes: Array;\r\n @Input() opportunityId: string;\r\n\r\n // define eventOUT signature\r\n @Output() select = new EventEmitter<{}>();\r\n vehicleImageNotAvailableUrl = require('../../../../images/vehicle-image-not-available.png');\r\n selectedVehicleObject: ReplacementVehicle;\r\n hasPaymentsPermission: boolean;\r\n alternateVehicles: Array;\r\n offBrandHasBeenCalledForEntity: boolean;\r\n selectedMakeId: any;\r\n noRecommendationsLabel: string;\r\n showOffBrandDropSelect: boolean;\r\n loadingText: string;\r\n noRecommendationsText: string;\r\n\r\n constructor(private authorizationService: AuthorizationService, @Inject(VehicleService) private vehicleService, private translate: TranslateService) {\r\n this.selectedVehicle = { selectedVehicleType: 'standardVehicle', alternateVehicleIndex: 0, onDemandVehicle: null };\r\n this.offBrandHasBeenCalledForEntity = false;\r\n this.showOffBrandDropSelect = false;\r\n this.noRecommendationsLabel = '';\r\n translate.get('loading').subscribe(translation => { this.loadingText = translation });\r\n translate.get('onDemandRecommendations').subscribe(translation => { this.noRecommendationsText = translation });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.authorizationService.getDealSheetPermissions()\r\n .then(dealSheetPermissions => {\r\n this.hasPaymentsPermission = dealSheetPermissions.payments;\r\n });\r\n }\r\n\r\n ngOnChanges(changes:SimpleChanges): void {\r\n if (changes.dealerGroupMakes) {\r\n this.selectedMakeId = \"\";\r\n }\r\n }\r\n\r\n public toggleOnDemandDropSelect() {\r\n var onDemandDiv = document.getElementById('onDemandOffBrandListToggleWrapper');\r\n if (this.alternateVehicles) {\r\n if (onDemandDiv.classList.contains('open')) {\r\n //logic looks backward but the classList is updated after this event\r\n this.showOffBrandDropSelect = false;\r\n }\r\n else {\r\n this.showOffBrandDropSelect = true;\r\n }\r\n }\r\n else {\r\n onDemandDiv.classList.add('open'); //hack to keep the empty list from showing\r\n this.showOffBrandDropSelect = !this.showOffBrandDropSelect;\r\n if (!this.showOffBrandDropSelect) {\r\n this.selectedMakeId = \"\";\r\n this.noRecommendationsLabel = '';\r\n }\r\n }\r\n }\r\n\r\n public onMakeSelect() {\r\n if (this.selectedMakeId && this.selectedMakeId > 0) {\r\n this.noRecommendationsLabel = this.loadingText;\r\n this.vehicleService.getOnDemandOffBrandVehicles(this.opportunityId, [this.selectedMakeId])\r\n .then((replacementVehicles) => {\r\n if (replacementVehicles && replacementVehicles.offBrandAlternateVehicles) {\r\n this.noRecommendationsLabel = '';\r\n this.alternateVehicles = replacementVehicles.offBrandAlternateVehicles;\r\n document.getElementById('onDemandOffBrandListToggleWrapper').classList.add('open');\r\n }\r\n else {\r\n this.noRecommendationsLabel = this.noRecommendationsText;\r\n }\r\n })\r\n }\r\n }\r\n\r\n clickHandler(chosenVehicleType: string, alternateVehicleIndex: number, vehicle: ReplacementVehicle): void {\r\n this.selectedVehicle = { selectedVehicleType: 'onDemandVehicle', alternateVehicleIndex: alternateVehicleIndex, onDemandVehicle: vehicle };\r\n this.select.emit(this.selectedVehicle);\r\n this.selectedVehicleObject = vehicle;\r\n }\r\n\r\n // on error of image src load default fallback image\r\n updateUrl(event, vehicle: ReplacementVehicle) {\r\n vehicle.imagePath = this.vehicleImageNotAvailableUrl;\r\n }\r\n\r\n getSelectedAttribute(vehicleType: string, index: number = 0): boolean {\r\n\r\n if (this.selectedVehicle &&\r\n this.selectedVehicle.selectedVehicleType === vehicleType) {\r\n const selectedIndex = this.selectedVehicle.alternateVehicleIndex;\r\n if (selectedIndex !== undefined && selectedIndex !== null) {\r\n return (this.selectedVehicle.alternateVehicleIndex === index);\r\n }\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n getContainerClass(): string {\r\n return 'row mvos-more-container1';\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.VehicleTypes = {\n 'new': 0,\n used: 1,\n cpo: 2\n};\n","export const VehicleTypes = {\r\n 'new': 0,\r\n used: 1,\r\n cpo: 2\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./capital-cost.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/common\"));\nvar i6 = __importStar(require(\"./capital-cost.component\"));\nvar styles_CapitalCostComponent = [i0.styles];\nvar RenderType_CapitalCostComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CapitalCostComponent, data: {} });\nexports.RenderType_CapitalCostComponent = RenderType_CapitalCostComponent;\nfunction View_CapitalCostComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"translate\", \"capitalCostLabel\"]], null, null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"span\", [[\"class\", \"field-data qa-capital-cost-value\"]], [[8, \"textContent\", 0]], null, null, null, null)), i1.ɵppd(4, 1)], function (_ck, _v) { var currVal_0 = \"capitalCostLabel\"; _ck(_v, 2, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i1.ɵnov(_v.parent, 0), _co.value)); _ck(_v, 3, 0, currVal_1); }); }\nfunction View_CapitalCostComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleCurrencyPipe, [i4.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CapitalCostComponent_1)), i1.ɵdid(2, 16384, null, 0, i5.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.value != null); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_CapitalCostComponent_0 = View_CapitalCostComponent_0;\nfunction View_CapitalCostComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"capital-cost\", [], null, null, null, View_CapitalCostComponent_0, RenderType_CapitalCostComponent)), i1.ɵdid(1, 114688, null, 0, i6.CapitalCostComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CapitalCostComponent_Host_0 = View_CapitalCostComponent_Host_0;\nvar CapitalCostComponentNgFactory = i1.ɵccf(\"capital-cost\", i6.CapitalCostComponent, View_CapitalCostComponent_Host_0, { value: \"value\" }, {}, []);\nexports.CapitalCostComponentNgFactory = CapitalCostComponentNgFactory;\n","
\r\n \r\n \r\n
","var path = '/app/components/deal-sheet/modals/message-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar Carfaxv2Component = /** @class */ (function () {\n function Carfaxv2Component(vehicleService) {\n this.vehicleService = vehicleService;\n this.showCarFaxLink = false;\n }\n Carfaxv2Component.prototype.ngOnInit = function () {\n };\n Carfaxv2Component.prototype.ngOnChanges = function (changes) {\n if (!this.permissions || !this.dealerSettings || !this.vin || !this.dealerId) {\n return;\n }\n this.showCarFaxLink = this.permissions.vehicleHistoryReports && this.dealerSettings.enableCarFax;\n };\n Carfaxv2Component.prototype.logOut = function () {\n this.vehicleService.carFaxLogOut()\n .then(function (data) {\n var carfaxLogoutUrl = \"https://auth.carfax.com/v2/logout\";\n window.open(carfaxLogoutUrl, '_blank');\n })\n .catch(function () {\n });\n };\n return Carfaxv2Component;\n}());\nexports.Carfaxv2Component = Carfaxv2Component;\n","import { Component, OnInit, Input, OnChanges, SimpleChanges, Inject } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { VehicleService } from '../../../../ajs-upgraded-providers';\r\n\r\n@Component({\r\n selector: 'carfaxv2',\r\n templateUrl: './carfaxv2.component-ng.html',\r\n styleUrls: ['./carfaxv2.component.scss']\r\n})\r\nexport class Carfaxv2Component implements OnInit, OnChanges {\r\n\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() dealerId: string;\r\n @Input() dealerSettings: any;\r\n @Input() opportunityId: string;\r\n @Input() vin: string;\r\n @Input() readonly: boolean;\r\n @Input() isLoggedIn: boolean;\r\n public showCarFaxLink = false;\r\n\r\n constructor(@Inject(VehicleService) private vehicleService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (!this.permissions || !this.dealerSettings || !this.vin || !this.dealerId) {\r\n return;\r\n }\r\n this.showCarFaxLink = this.permissions.vehicleHistoryReports && this.dealerSettings.enableCarFax;\r\n }\r\n\r\n logOut(): void {\r\n this.vehicleService.carFaxLogOut()\r\n .then((data) => {\r\n var carfaxLogoutUrl = \"https://auth.carfax.com/v2/logout\";\r\n window.open(carfaxLogoutUrl, '_blank');\r\n })\r\n .catch(function () {\r\n });\r\n }\r\n\r\n}\r\n","module.exports = \".search-save-modal .modal-body {\\n width: 750px;\\n}\\n.search-save-modal .searchSaveSearchSaveAs {\\n font-size: 20px;\\n font-weight: bold;\\n}\\n.search-save-modal .searchAddConfigureSavedSearchForOpportunitySearches, .search-save-modal .pandoXOptions {\\n padding: 25px 0 0 55px;\\n}\\n.search-save-modal .searchAddSavedSearchToTop {\\n padding: 8px 0 0 70px;\\n}\\n.search-save-modal .searchAddSavedSearchToBottom {\\n padding: 8px 0 0px 70px;\\n}\\n.search-save-modal .searchSelectRundDatesSection {\\n padding: 12px 0 0px 70px;\\n}\\n.search-save-modal .searchSelectRundDates {\\n padding: 8px 0 8px 70px;\\n}\\n.search-save-modal .searchErrorMessages {\\n padding: 0px 10px;\\n}\\n.search-save-modal .assignPandoXRule {\\n padding-bottom: 5px;\\n}\\n.search-save-modal .pandoXOption {\\n padding-left: 20px;\\n padding-bottom: 5px;\\n}\\n.search-save-modal .pandoXOption select {\\n padding-bottom: 5px;\\n}\\n.search-save-modal select.form-control, .search-save-modal .form-control {\\n font-size: 14px;\\n height: 30px;\\n padding: 0px 12px;\\n cursor: pointer;\\n}\\n.search-save-modal label {\\n font-size: 16px;\\n color: #444a50;\\n}\\n.search-save-modal .pandoXOptionSpacing {\\n margin-left: -25px;\\n padding-left: 0px;\\n}\\n.search-save-modal .pandoXOptionLabel {\\n padding-right: 10px;\\n margin-bottom: -5px;\\n height: 30px;\\n vertical-align: sub;\\n}\\n.search-save-modal .executeImmediately {\\n padding-left: 35px;\\n}\\n.search-save-modal .pandoXCategory {\\n width: 200px;\\n}\\n.search-save-modal .pandoXRuleQuantity {\\n width: 100px;\\n}\\n.search-save-modal .form-control[disabled] {\\n background-color: #eeeeee;\\n opacity: 1;\\n}\\n.search-save-modal .datePickerFrom {\\n float: left;\\n margin: 5px 5px 0 0;\\n}\\n.search-save-modal .datePickerTo {\\n float: left;\\n margin: 5px 5px 0 10px;\\n}\\n.search-save-modal .btn.calandar {\\n top: 0px;\\n text-align: center;\\n padding-top: 0px;\\n padding-bottom: 0px;\\n}\\n.search-save-modal .btn.calandar icon.icon {\\n color: #fff;\\n top: 0;\\n}\\n/*# sourceMappingURL=data:application/json;base64,e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ZWN0aW9uIHtcclxuICAgICAgICBwYWRkaW5nOiAxMnB4IDAgMHB4IDcwcHhcclxuICAgIH1cclxuXHJcbiAgICAuc2VhcmNoU2VsZWN0UnVuZERhdGVzIHtcclxuICAgICAgICBwYWRkaW5nOiA4cHggMCA4cHggNzBweFxyXG4gICAgfVxyXG5cclxuXHJcbiAgICAuc2VhcmNoRXJyb3JNZXNzYWdlcyB7XHJcbiAgICAgICAgcGFkZGluZzogMHB4IDEwcHhcclxuICAgIH1cclxuXHJcbiAgICAuYXNzaWduUGFuZG9YUnVsZSB7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDVweDtcclxuICAgIH1cclxuXHJcbiAgICAucGFuZG9YT3B0aW9uIHtcclxuICAgICAgICBwYWRkaW5nLWxlZnQ6IDIwcHg7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDVweDtcclxuXHJcbiAgICAgICAgc2VsZWN0IHtcclxuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDVweDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgc2VsZWN0LmZvcm0tY29udHJvbCwgLmZvcm0tY29udHJvbCB7XHJcbiAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgICAgIGhlaWdodDogMzBweDtcclxuICAgICAgICBwYWRkaW5nOiAwcHggMTJweDtcclxuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICB9XHJcblxyXG4gICAgbGFiZWwge1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTZweDtcclxuICAgICAgICBjb2xvcjogIzQ0NGE1MDtcclxuICAgIH1cclxuXHJcbiAgICAucGFuZG9YT3B0aW9uU3BhY2luZyB7XHJcbiAgICAgICAgbWFyZ2luLWxlZnQ6IC0yNXB4O1xyXG4gICAgICAgIHBhZGRpbmctbGVmdDogMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5wYW5kb1hPcHRpb25MYWJlbCB7XHJcbiAgICAgICAgcGFkZGluZy1yaWdodDogMTBweDtcclxuICAgICAgICBtYXJnaW4tYm90dG9tOiAtNXB4O1xyXG4gICAgICAgIGhlaWdodDogMzBweDtcclxuICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogc3ViO1xyXG4gICAgfVxyXG5cclxuICAgIC5leGVjdXRlSW1tZWRpYXRlbHkge1xyXG4gICAgICAgIHBhZGRpbmctbGVmdDogMzVweDtcclxuICAgIH1cclxuXHJcbiAgICAucGFuZG9YQ2F0ZWdvcnkge1xyXG4gICAgICAgIHdpZHRoOiAyMDBweDtcclxuICAgIH1cclxuXHJcbiAgICAucGFuZG9YUnVsZVF1YW50aXR5IHtcclxuICAgICAgICB3aWR0aDogMTAwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmZvcm0tY29udHJvbCB7XHJcbiAgICAgICAgJltkaXNhYmxlZF0ge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZWVlZWVlO1xyXG4gICAgICAgICAgICBvcGFjaXR5OiAxOyAvLyBpT1MgZml4IGZvciB1bnJlYWRhYmxlIGRpc2FibGVkIGNvbnRlbnQ7IHNlZSBodHRwczovL2dpdGh1Yi5jb20vdHdicy9ib290c3RyYXAvaXNzdWVzLzExNjU1XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5kYXRlUGlja2VyRnJvbSB7XHJcbiAgICAgICAgZmxvYXQ6IGxlZnQ7XHJcbiAgICAgICAgbWFyZ2luOiA1cHggNXB4IDAgMDtcclxuICAgIH1cclxuXHJcbiAgICAuZGF0ZVBpY2tlclRvIHtcclxuICAgICAgICBmbG9hdDogbGVmdDtcclxuICAgICAgICBtYXJnaW46IDVweCA1cHggMCAxMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5idG4uY2FsYW5kYXIge1xyXG4gICAgICAgIHRvcDogMHB4O1xyXG4gICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgICAgICBwYWRkaW5nLXRvcDogMHB4O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dGVnb3J5IHtcbiAgd2lkdGg6IDIwMHB4O1xufVxuLnNlYXJjaC1zYXZlLW1vZGFsIC5wYW5kb1hSdWxlUXVhbnRpdHkge1xuICB3aWR0aDogMTAwcHg7XG59XG4uc2VhcmNoLXNhdmUtbW9kYWwgLmZvcm0tY29udHJvbFtkaXNhYmxlZF0ge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZWVlZWVlO1xuICBvcGFjaXR5OiAxO1xufVxuLnNlYXJjaC1zYXZlLW1vZGFsIC5kYXRlUGlja2VyRnJvbSB7XG4gIGZsb2F0OiBsZWZ0O1xuICBtYXJnaW46IDVweCA1cHggMCAwO1xufVxuLnNlYXJjaC1zYXZlLW1vZGFsIC5kYXRlUGlja2VyVG8ge1xuICBmbG9hdDogbGVmdDtcbiAgbWFyZ2luOiA1cHggNXB4IDAgMTBweDtcbn1cbi5zZWFyY2gtc2F2ZS1tb2RhbCAuYnRuLmNhbGFuZGFyIHtcbiAgdG9wOiAwcHg7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgcGFkZGluZy10b3A6IDBweDtcbiAgcGFkZGluZy1ib3R0b206IDBweDtcbn1cbi5zZWFyY2gtc2F2ZS1tb2RhbCAuYnRuLmNhbGFuZGFyIGljb24uaWNvbiB7XG4gIGNvbG9yOiAjZmZmO1xuICB0b3A6IDA7XG59Il19 */\"","var path = '/app/components/deal-sheet/modals/inventory-search-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/header/quick-search.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar redefineAll = require('./_redefine-all');\nvar getWeak = require('./_meta').getWeak;\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar createArrayMethod = require('./_array-methods');\nvar $has = require('./_has');\nvar validate = require('./_validate-collection');\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n return arrayFind(store.a, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function (key) {\n var index = arrayFindIndex(this.a, function (it) {\n return it[0] === key;\n });\n if (~index) this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var data = getWeak(anObject(key), true);\n if (data === true) uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n","var path = '/app/components/data-entry/data-entry-rates-rate-mark-ups.component.html';\nvar html = \"

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar cookie_storage_service_1 = require(\"./cookie-storage.service\");\nvar app_settings_1 = require(\"../../constants/app-settings\");\nvar core_1 = require(\"@angular/core\");\nvar window_ref_service_1 = require(\"../../services/window-ref.service\");\nfunction crossDomainStorageServiceFactory(window) {\n return new cookie_storage_service_1.CookieStorage(window, app_settings_1.Settings.environmentVariables.crossDomainStorageDomain, app_settings_1.Settings.environmentVariables.crossDomainStoragePrefix);\n}\nexports.crossDomainStorageServiceFactory = crossDomainStorageServiceFactory;\nexports.CrossDomainStorageService = new core_1.InjectionToken('CrossDomainStorageService');\nexports.crossDomainStorageServiceProvider = {\n provide: exports.CrossDomainStorageService,\n useFactory: crossDomainStorageServiceFactory,\n deps: [window_ref_service_1.WINDOW_REF]\n};\n","import { CookieStorage } from './cookie-storage.service';\r\nimport { Settings } from '../../constants/app-settings';\r\nimport { FactoryProvider, InjectionToken } from '@angular/core';\r\nimport { WINDOW_REF, WindowWrapper } from '../../services/window-ref.service';\r\n\r\nexport function crossDomainStorageServiceFactory(window: WindowWrapper) {\r\n return new CookieStorage(window,\r\n Settings.environmentVariables.crossDomainStorageDomain,\r\n Settings.environmentVariables.crossDomainStoragePrefix);\r\n}\r\n\r\nexport const CrossDomainStorageService = new InjectionToken('CrossDomainStorageService');\r\nexport const crossDomainStorageServiceProvider: FactoryProvider = {\r\n provide: CrossDomainStorageService,\r\n useFactory: crossDomainStorageServiceFactory,\r\n deps: [WINDOW_REF]\r\n};\r\n","module.exports = \"\"","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar MakeClientService = /** @class */ (function (_super) {\n __extends(MakeClientService, _super);\n function MakeClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param dealerIds undefined\n */\n MakeClientService.prototype.GetMakesGETResponse = function (dealerIds, countryId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (dealerIds || []).forEach(function (val) { if (val != null)\n __params = __params.append('dealerIds', val.toString()); });\n if (countryId != null)\n __params = __params.set('countryId', countryId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Make/GetMakes\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerIds undefined\n */\n MakeClientService.prototype.GetMakesGET = function (dealerIds, countryId) {\n return this.GetMakesGETResponse(dealerIds, countryId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param countryId undefined\n * @return Success\n */\n MakeClientService.prototype.GetSearchableModelNamesGETResponse = function (countryId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (countryId != null)\n __params = __params.set('countryId', countryId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Make/GetSearchableModelNames\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param countryId undefined\n * @return Success\n */\n MakeClientService.prototype.GetSearchableModelNamesGET = function (countryId) {\n return this.GetSearchableModelNamesGETResponse(countryId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n MakeClientService.prototype.ByIdGETResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Make/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n * @return Success\n */\n MakeClientService.prototype.ByIdGET = function (id) {\n return this.ByIdGETResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param id undefined\n */\n MakeClientService.prototype.ByIdDELETEResponse = function (id) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('DELETE', this.rootUrl + (\"/api/Make/\" + id), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param id undefined\n */\n MakeClientService.prototype.ByIdDELETE = function (id) {\n return this.ByIdDELETEResponse(id).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n MakeClientService.prototype.GetManyGETResponse = function (ids) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (ids || []).forEach(function (val) { if (val != null)\n __params = __params.append('ids', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Make/GetMany\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param ids undefined\n * @return Success\n */\n MakeClientService.prototype.GetManyGET = function (ids) {\n return this.GetManyGETResponse(ids).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n */\n MakeClientService.prototype.PUTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('PUT', this.rootUrl + \"/api/Make\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n */\n MakeClientService.prototype.PUT = function (data) {\n return this.PUTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n MakeClientService.prototype.POSTResponse = function (data) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = data;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Make\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param data undefined\n * @return Success\n */\n MakeClientService.prototype.POST = function (data) {\n return this.POSTResponse(data).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n MakeClientService.GetMakesGETPath = '/api/Make/GetMakes';\n MakeClientService.GetSearchableModelNamesGETPath = '/api/Make/GetSearchableModelNames';\n MakeClientService.ByIdGETPath = '/api/Make/{id}';\n MakeClientService.ByIdDELETEPath = '/api/Make/{id}';\n MakeClientService.GetManyGETPath = '/api/Make/GetMany';\n MakeClientService.PUTPath = '/api/Make';\n MakeClientService.POSTPath = '/api/Make';\n MakeClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function MakeClientService_Factory() { return new MakeClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: MakeClientService, providedIn: \"root\" });\n return MakeClientService;\n}(base_service_1.BaseService));\nexports.MakeClientService = MakeClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { SearchableModelNameDto } from '../models/searchable-model-name-dto';\r\nimport { MakeDto } from '../models/make-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass MakeClientService extends __BaseService {\r\n static readonly GetMakesGETPath = '/api/Make/GetMakes';\r\n static readonly GetSearchableModelNamesGETPath = '/api/Make/GetSearchableModelNames';\r\n static readonly ByIdGETPath = '/api/Make/{id}';\r\n static readonly ByIdDELETEPath = '/api/Make/{id}';\r\n static readonly GetManyGETPath = '/api/Make/GetMany';\r\n static readonly PUTPath = '/api/Make';\r\n static readonly POSTPath = '/api/Make';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param dealerIds undefined\r\n */\r\n GetMakesGETResponse(dealerIds?: Array, countryId?: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (dealerIds || []).forEach(val => {if (val != null) __params = __params.append('dealerIds', val.toString())});\r\n if (countryId != null) __params = __params.set('countryId', countryId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Make/GetMakes`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerIds undefined\r\n */\r\n GetMakesGET(dealerIds?: Array, countryId?: number): __Observable {\r\n return this.GetMakesGETResponse(dealerIds, countryId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param countryId undefined\r\n * @return Success\r\n */\r\n GetSearchableModelNamesGETResponse(countryId?: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (countryId != null) __params = __params.set('countryId', countryId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Make/GetSearchableModelNames`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param countryId undefined\r\n * @return Success\r\n */\r\n GetSearchableModelNamesGET(countryId?: number): __Observable> {\r\n return this.GetSearchableModelNamesGETResponse(countryId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGETResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Make/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n * @return Success\r\n */\r\n ByIdGET(id: number): __Observable {\r\n return this.ByIdGETResponse(id).pipe(\r\n __map(_r => _r.body as MakeDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETEResponse(id: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'DELETE',\r\n this.rootUrl + `/api/Make/${id}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param id undefined\r\n */\r\n ByIdDELETE(id: number): __Observable {\r\n return this.ByIdDELETEResponse(id).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGETResponse(ids?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (ids || []).forEach(val => {if (val != null) __params = __params.append('ids', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Make/GetMany`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param ids undefined\r\n * @return Success\r\n */\r\n GetManyGET(ids?: Array): __Observable> {\r\n return this.GetManyGETResponse(ids).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n */\r\n PUTResponse(data?: MakeDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'PUT',\r\n this.rootUrl + `/api/Make`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n */\r\n PUT(data?: MakeDto): __Observable {\r\n return this.PUTResponse(data).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POSTResponse(data?: MakeDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = data;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Make`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param data undefined\r\n * @return Success\r\n */\r\n POST(data?: MakeDto): __Observable {\r\n return this.POSTResponse(data).pipe(\r\n __map(_r => _r.body as MakeDto)\r\n );\r\n }\r\n}\r\n\r\nmodule MakeClientService {\r\n}\r\n\r\nexport { MakeClientService }\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./admin-roles-modal-addedit.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/forms\"));\nvar i4 = __importStar(require(\"../icon/icon.component.ngfactory\"));\nvar i5 = __importStar(require(\"../icon/icon.component\"));\nvar i6 = __importStar(require(\"@angular/platform-browser\"));\nvar i7 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i9 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i10 = __importStar(require(\"@angular/common\"));\nvar i11 = __importStar(require(\"./admin-roles-modal-addedit.component\"));\nvar i12 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i13 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar styles_AdminRolesModalAddEditComponent = [i0.styles];\nvar RenderType_AdminRolesModalAddEditComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_AdminRolesModalAddEditComponent, data: {} });\nexports.RenderType_AdminRolesModalAddEditComponent = RenderType_AdminRolesModalAddEditComponent;\nfunction View_AdminRolesModalAddEditComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"p\", [[\"translate\", \"selectDefaultRoleTooltip\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"selectDefaultRoleTooltip\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminRolesModalAddEditComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"option\", [], null, null, null, null, null)), i1.ɵdid(1, 147456, null, 0, i3.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i3.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(2, 147456, null, 0, i3.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵted(3, null, [\" \", \" \"]))], function (_ck, _v) { var currVal_0 = _v.context.$implicit.roleID; _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.roleID; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = _v.context.$implicit.roleName; _ck(_v, 3, 0, currVal_2); }); }\nfunction View_AdminRolesModalAddEditComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"invalidField\"], [\"translate\", \"validationRequired\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"validationRequired\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminRolesModalAddEditComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"invalidField\"], [\"translate\", \"validationRequired\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"validationRequired\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_AdminRolesModalAddEditComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 10, \"div\", [[\"class\", \"row startWithParentContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 9, \"div\", [[\"class\", \"col-xs-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedRole.startWithParentRole = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i3.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.CheckboxControlValueAccessor]), i1.ɵdid(6, 671744, null, 0, i3.NgModel, [[8, null], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(8, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"span\", [[\"class\", \"startWithDefaultLabel\"], [\"translate\", \"rolesadmin_startwithdefaultlabel\"]], null, null, null, null, null)), i1.ɵdid(10, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.selectedRole.startWithParentRole; _ck(_v, 6, 0, currVal_7); var currVal_8 = \"rolesadmin_startwithdefaultlabel\"; _ck(_v, 10, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 8).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 8).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 8).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 8).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 8).ngClassValid; var currVal_5 = i1.ɵnov(_v, 8).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 8).ngClassPending; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nfunction View_AdminRolesModalAddEditComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 62, \"div\", [[\"class\", \"alert-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"h4\", [[\"class\", \"modal-title\"], [\"translate\", \"rolesAdmin_addEditCustomPermissionsSet\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(8, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], null, null), (_l()(), i1.ɵeld(9, 0, null, null, 48, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 26, \"div\", [[\"class\", \"row roleSelectContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 7, \"div\", [[\"class\", \"col-xs-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"div\", [[\"style\", \"float:left\"], [\"translate\", \"rolesadmin_similartodefaultrolelabel\"]], null, null, null, null, null)), i1.ɵdid(13, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(14, 0, null, null, 4, \"div\", [[\"class\", \"tooltipContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 16777216, null, null, 2, \"icon\", [[\"icon\", \"'info'\"], [\"popover-placement\", \"right\"], [\"title\", \"\"], [\"triggers\", \"mouseenter:mouseleave\"]], null, null, null, i4.View_IconComponent_0, i4.RenderType_IconComponent)), i1.ɵdid(16, 212992, null, 0, i7.PopoverDirective, [i7.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i8.ComponentLoaderFactory, i9.PositioningService], { popover: [0, \"popover\"], triggers: [1, \"triggers\"] }, null), i1.ɵdid(17, 638976, null, 0, i5.IconComponent, [i6.DomSanitizer], { icon: [0, \"icon\"] }, null), (_l()(), i1.ɵand(0, [[\"popTemplate\", 2]], null, 0, null, View_AdminRolesModalAddEditComponent_1)), (_l()(), i1.ɵeld(19, 0, null, null, 14, \"div\", [[\"class\", \"col-xs-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(20, 0, null, null, 13, \"select\", [[\"class\", \"form-control roleSelect\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 24).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 24).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.selectedRole.parentRoleID = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i10.ɵNgClassImpl, i10.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(22, 278528, null, 0, i10.NgClass, [i10.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(23, { \"fieldInvalid\": 0 }), i1.ɵdid(24, 16384, null, 0, i3.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.SelectControlValueAccessor]), i1.ɵdid(26, 671744, null, 0, i3.NgModel, [[8, null], [8, null], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(28, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(29, 0, null, null, 2, \"option\", [], null, null, null, null, null)), i1.ɵdid(30, 147456, null, 0, i3.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i3.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i1.ɵdid(31, 147456, null, 0, i3.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminRolesModalAddEditComponent_2)), i1.ɵdid(33, 278528, null, 0, i10.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵeld(34, 0, null, null, 2, \"div\", [[\"class\", \"col-xs-2\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminRolesModalAddEditComponent_3)), i1.ɵdid(36, 16384, null, 0, i10.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(37, 0, null, null, 18, \"div\", [[\"class\", \"row roleSelectContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(38, 0, null, null, 1, \"div\", [[\"class\", \"col-xs-5\"], [\"translate\", \"rolesadmin_rolenamelabel\"]], null, null, null, null, null)), i1.ɵdid(39, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(40, 0, null, null, 12, \"div\", [[\"class\", \"col-xs-5\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(41, 0, null, null, 11, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(42, 0, null, null, 10, \"input\", [[\"autofocus\", \"true\"], [\"class\", \"input-sm textbox txtRoleName\"], [\"maxlength\", \"25\"], [\"type\", \"text\"]], [[1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 46)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 46).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 46)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 46)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.selectedRole.roleName = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i10.ɵNgClassImpl, i10.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(44, 278528, null, 0, i10.NgClass, [i10.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(45, { \"fieldInvalid\": 0 }), i1.ɵdid(46, 16384, null, 0, i3.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i3.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(47, 540672, null, 0, i3.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i1.ɵprd(1024, null, i3.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i3.MaxLengthValidator]), i1.ɵprd(1024, null, i3.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i3.DefaultValueAccessor]), i1.ɵdid(50, 671744, null, 0, i3.NgModel, [[8, null], [6, i3.NG_VALIDATORS], [8, null], [6, i3.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i3.NgControl, null, [i3.NgModel]), i1.ɵdid(52, 16384, null, 0, i3.NgControlStatus, [[4, i3.NgControl]], null, null), (_l()(), i1.ɵeld(53, 0, null, null, 2, \"div\", [[\"class\", \"col-xs-2\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminRolesModalAddEditComponent_4)), i1.ɵdid(55, 16384, null, 0, i10.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AdminRolesModalAddEditComponent_5)), i1.ɵdid(57, 16384, null, 0, i10.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(58, 0, null, null, 4, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(59, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(60, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(61, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"submit\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onConfirm() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(62, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"rolesAdmin_addEditCustomPermissionsSet\"; _ck(_v, 4, 0, currVal_0); _ck(_v, 8, 0); var currVal_1 = \"rolesadmin_similartodefaultrolelabel\"; _ck(_v, 13, 0, currVal_1); var currVal_2 = i1.ɵnov(_v, 18); var currVal_3 = \"mouseenter:mouseleave\"; _ck(_v, 16, 0, currVal_2, currVal_3); var currVal_4 = \"'info'\"; _ck(_v, 17, 0, currVal_4); var currVal_12 = \"form-control roleSelect\"; var currVal_13 = _ck(_v, 23, 0, _co.parentRoleInvalid); _ck(_v, 22, 0, currVal_12, currVal_13); var currVal_14 = _co.selectedRole.parentRoleID; _ck(_v, 26, 0, currVal_14); var currVal_15 = null; _ck(_v, 30, 0, currVal_15); var currVal_16 = null; _ck(_v, 31, 0, currVal_16); var currVal_17 = _co.roleOptions[0]; _ck(_v, 33, 0, currVal_17); var currVal_18 = _co.parentRoleInvalid; _ck(_v, 36, 0, currVal_18); var currVal_19 = \"rolesadmin_rolenamelabel\"; _ck(_v, 39, 0, currVal_19); var currVal_28 = \"input-sm textbox txtRoleName\"; var currVal_29 = _ck(_v, 45, 0, _co.roleNameInvalid); _ck(_v, 44, 0, currVal_28, currVal_29); var currVal_30 = \"25\"; _ck(_v, 47, 0, currVal_30); var currVal_31 = _co.selectedRole.roleName; _ck(_v, 50, 0, currVal_31); var currVal_32 = _co.roleNameInvalid; _ck(_v, 55, 0, currVal_32); var currVal_33 = (_co.newRole && (_co.selectedRole.parentRoleID != null)); _ck(_v, 57, 0, currVal_33); var currVal_34 = \"cancel\"; _ck(_v, 60, 0, currVal_34); var currVal_35 = \"submit\"; _ck(_v, 62, 0, currVal_35); }, function (_ck, _v) { var currVal_5 = i1.ɵnov(_v, 28).ngClassUntouched; var currVal_6 = i1.ɵnov(_v, 28).ngClassTouched; var currVal_7 = i1.ɵnov(_v, 28).ngClassPristine; var currVal_8 = i1.ɵnov(_v, 28).ngClassDirty; var currVal_9 = i1.ɵnov(_v, 28).ngClassValid; var currVal_10 = i1.ɵnov(_v, 28).ngClassInvalid; var currVal_11 = i1.ɵnov(_v, 28).ngClassPending; _ck(_v, 20, 0, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11); var currVal_20 = (i1.ɵnov(_v, 47).maxlength ? i1.ɵnov(_v, 47).maxlength : null); var currVal_21 = i1.ɵnov(_v, 52).ngClassUntouched; var currVal_22 = i1.ɵnov(_v, 52).ngClassTouched; var currVal_23 = i1.ɵnov(_v, 52).ngClassPristine; var currVal_24 = i1.ɵnov(_v, 52).ngClassDirty; var currVal_25 = i1.ɵnov(_v, 52).ngClassValid; var currVal_26 = i1.ɵnov(_v, 52).ngClassInvalid; var currVal_27 = i1.ɵnov(_v, 52).ngClassPending; _ck(_v, 42, 0, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27); }); }\nexports.View_AdminRolesModalAddEditComponent_0 = View_AdminRolesModalAddEditComponent_0;\nfunction View_AdminRolesModalAddEditComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"admin-roles-modal-addedit\", [], null, null, null, View_AdminRolesModalAddEditComponent_0, RenderType_AdminRolesModalAddEditComponent)), i1.ɵdid(1, 4308992, null, 0, i11.AdminRolesModalAddEditComponent, [i12.BsModalRef, i2.TranslateService, i13.ToasterLoggerService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminRolesModalAddEditComponent_Host_0 = View_AdminRolesModalAddEditComponent_Host_0;\nvar AdminRolesModalAddEditComponentNgFactory = i1.ɵccf(\"admin-roles-modal-addedit\", i11.AdminRolesModalAddEditComponent, View_AdminRolesModalAddEditComponent_Host_0, {}, { onSaveChanges: \"onSaveChanges\" }, []);\nexports.AdminRolesModalAddEditComponentNgFactory = AdminRolesModalAddEditComponentNgFactory;\n","
\r\n
\r\n
\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mobile-activities.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../activity-list/activity-list.component\"));\nvar i3 = __importStar(require(\"ng-busy\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"@ngx-translate/core\"));\nvar i6 = __importStar(require(\"./mobile-activities.component\"));\nvar i7 = __importStar(require(\"@uirouter/core\"));\nvar i8 = __importStar(require(\"../../../../services/mobile-deal-sheet-data-caching.service\"));\nvar styles_MobileActivitiesComponent = [i0.styles];\nvar RenderType_MobileActivitiesComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MobileActivitiesComponent, data: {} });\nexports.RenderType_MobileActivitiesComponent = RenderType_MobileActivitiesComponent;\nfunction View_MobileActivitiesComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"activity-list\", [], null, null, null, null, null)), i1.ɵdid(1, 999424, null, 0, i2.ActivityListComponent, [i1.ElementRef, i1.Injector], { activities: [0, \"activities\"], permissions: [1, \"permissions\"], status: [2, \"status\"], users: [3, \"users\"], opportunityId: [4, \"opportunityId\"], assignedUserFullName: [5, \"assignedUserFullName\"], assignedUserId: [6, \"assignedUserId\"], ownerUserInfo: [7, \"ownerUserInfo\"], hasReviewPro: [8, \"hasReviewPro\"], hasGeoAlert: [9, \"hasGeoAlert\"], fullName: [10, \"fullName\"], mobileView: [11, \"mobileView\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.activities; var currVal_1 = _co.permissions; var currVal_2 = _co.status; var currVal_3 = _co.users; var currVal_4 = _co.opportunityId; var currVal_5 = _co.assignedUserFullName; var currVal_6 = _co.assignedUserId; var currVal_7 = _co.ownerUserInfo; var currVal_8 = _co.hasReviewPro; var currVal_9 = _co.hasGeoAlert; var currVal_10 = _co.fullName; var currVal_11 = true; _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11]); }, null); }\nfunction View_MobileActivitiesComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 16777216, null, null, 12, \"div\", [[\"class\", \"col-xs-12 mobile-activities\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.InstanceConfigHolderService, i3.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i3.ɵa, i3.ɵa, []), i1.ɵdid(3, 409600, null, 0, i3.NgBusyDirective, [i3.ɵb, i3.InstanceConfigHolderService, i1.ComponentFactoryResolver, i3.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"activity-list\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_MobileActivitiesComponent_1)), i1.ɵdid(6, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 5, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 4, \"nav\", [[\"class\", \"navbar navbar-default navbar-fixed-bottom\"], [\"role\", \"navigation\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 3, \"div\", [[\"class\", \"container\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"button\", [[\"class\", \"btn btn-primary btn-block\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.handleLogActivityNavigation() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵted(11, null, [\" \", \" \"])), i1.ɵpid(131072, i5.TranslatePipe, [i5.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.busy; _ck(_v, 3, 0, currVal_0); var currVal_1 = ((_co.permissions == null) ? null : _co.permissions.activitiesLog); _ck(_v, 6, 0, currVal_1); }, function (_ck, _v) { var currVal_2 = i1.ɵunv(_v, 11, 0, i1.ɵnov(_v, 12).transform(\"customerConnectTab\")); _ck(_v, 11, 0, currVal_2); }); }\nexports.View_MobileActivitiesComponent_0 = View_MobileActivitiesComponent_0;\nfunction View_MobileActivitiesComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mobile-activities\", [], null, null, null, View_MobileActivitiesComponent_0, RenderType_MobileActivitiesComponent)), i1.ɵdid(1, 245760, null, 0, i6.MobileActivitiesComponent, [i7.StateService, i8.MobileDealSheetDataCachingService, i7.Transition], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MobileActivitiesComponent_Host_0 = View_MobileActivitiesComponent_Host_0;\nvar MobileActivitiesComponentNgFactory = i1.ɵccf(\"mobile-activities\", i6.MobileActivitiesComponent, View_MobileActivitiesComponent_Host_0, {}, {}, []);\nexports.MobileActivitiesComponentNgFactory = MobileActivitiesComponentNgFactory;\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar forms_1 = require(\"@angular/forms\");\nvar MinDirective = /** @class */ (function () {\n function MinDirective() {\n }\n MinDirective.prototype.validate = function (control) {\n return forms_1.Validators.min(this.min)(control);\n };\n return MinDirective;\n}());\nexports.MinDirective = MinDirective;\n","import { Directive, Input } from '@angular/core'\r\nimport { NG_VALIDATORS, Validator, AbstractControl, Validators } from '@angular/forms'\r\n\r\n@Directive({\r\n selector: '[min]',\r\n providers: [{ provide: NG_VALIDATORS, useExisting: MinDirective, multi: true }]\r\n})\r\nexport class MinDirective implements Validator {\r\n\r\n @Input() min: number;\r\n\r\n validate(control: AbstractControl): { [key: string]: any } { \r\n return Validators.min(this.min)(control) \r\n }\r\n}\r\n","var path = '/app/components/deal-sheet/email-template-action.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar log_action_shortcut_service_1 = require(\"../../../../services/log-action-shortcut.service\");\nvar constants_1 = require(\"../../../../constants\");\nvar CustomerConnectSubActionsComponent = /** @class */ (function () {\n function CustomerConnectSubActionsComponent(logActionShortcutService, changeDetectorRef) {\n var _this = this;\n this.onAction = new core_1.EventEmitter();\n this.activityActionEnum = constants_1.ActivityActionEnum;\n this.shortcutSubscription = logActionShortcutService.$logShortcutAction.subscribe(function (shortCutActivityActionEnum) {\n _this.shortCutActivityActionEnum = shortCutActivityActionEnum;\n changeDetectorRef.detectChanges();\n });\n }\n CustomerConnectSubActionsComponent.prototype.ngOnInit = function () {\n };\n CustomerConnectSubActionsComponent.prototype.ngOnChanges = function (changes) {\n if (changes.subActionTime && changes.subActionTime.currentValue) {\n // set default radio choice\n if (this.subAction === this.activityActionEnum.Log_Call || this.subAction === this.activityActionEnum.Post_Note) {\n this.selectedLogAction = this.subAction;\n }\n else if (this.subAction === this.activityActionEnum.Schedule_Appt || this.subAction === this.activityActionEnum.Schedule_Call) {\n this.selectedScheduleAction = this.subAction;\n }\n }\n };\n CustomerConnectSubActionsComponent.prototype.ngOnDestroy = function () {\n if (this.shortcutSubscription) {\n this.shortcutSubscription.unsubscribe();\n }\n };\n return CustomerConnectSubActionsComponent;\n}());\nexports.CustomerConnectSubActionsComponent = CustomerConnectSubActionsComponent;\n","import { Component, OnInit, Input, EventEmitter, Output, OnChanges, SimpleChanges, ChangeDetectionStrategy, ChangeDetectorRef, OnDestroy } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { LogActionShortcutService } from '../../../../services/log-action-shortcut.service';\r\nimport { ActivityActionEnum } from '../../../../constants';\r\nimport { Subscription } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'customer-connect-sub-actions',\r\n templateUrl: './customer-connect-sub-actions.component-ng.html',\r\n styleUrls: ['./customer-connect-sub-actions.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CustomerConnectSubActionsComponent implements OnInit, OnChanges, OnDestroy {\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() subAction: any;\r\n @Input() subActionTime: number;\r\n @Output() onAction = new EventEmitter();\r\n\r\n public shortCutActivityActionEnum: number;\r\n public selectedLogAction: number;\r\n public selectedScheduleAction: number;\r\n public activityActionEnum = ActivityActionEnum;\r\n\r\n private shortcutSubscription: Subscription;\r\n\r\n constructor(logActionShortcutService: LogActionShortcutService, changeDetectorRef: ChangeDetectorRef) {\r\n this.shortcutSubscription = logActionShortcutService.$logShortcutAction.subscribe((shortCutActivityActionEnum) => {\r\n this.shortCutActivityActionEnum = shortCutActivityActionEnum;\r\n changeDetectorRef.detectChanges();\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.subActionTime && changes.subActionTime.currentValue) {\r\n // set default radio choice\r\n if (this.subAction === this.activityActionEnum.Log_Call || this.subAction === this.activityActionEnum.Post_Note) {\r\n this.selectedLogAction = this.subAction;\r\n } else if (this.subAction === this.activityActionEnum.Schedule_Appt || this.subAction === this.activityActionEnum.Schedule_Call) {\r\n this.selectedScheduleAction = this.subAction;\r\n }\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.shortcutSubscription) {\r\n this.shortcutSubscription.unsubscribe();\r\n }\r\n }\r\n}\r\n","var path = '/app/components/wish-list/wish-list-matches-modal.component.html';\nvar html = \"
{{$ctrl.wishListMatches.length}} {{$ctrl.translations.wishlistMatchingVehicles}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = \"ul.euro-lite-grid-layout {\\n list-style-type: none;\\n}\\nul.euro-lite-grid-layout li {\\n padding-left: 10px;\\n}\\nul.euro-lite-grid-layout .bold {\\n font-weight: bold;\\n}\\n.euro-lite-grid-layout-title {\\n font-size: 16px;\\n font-weight: bold;\\n}\\n.activity-tooltip-icon {\\n margin-bottom: 0px;\\n padding-bottom: 0px;\\n font-size: large;\\n}\\n.activity-tooltip-notes {\\n font-size: 14px;\\n font-weight: 100;\\n padding-top: 0px;\\n padding-bottom: 4px;\\n vertical-align: top;\\n}\\n.activity-tooltip-title {\\n font-size: 14px;\\n font-weight: bold;\\n padding-top: 0px;\\n padding-bottom: 4px;\\n vertical-align: top;\\n}\\n.euro-lite-opportunities {\\n background-color: #e6e6e6;\\n margin: 0px;\\n padding: 10px;\\n font-size: 14px;\\n min-height: 900px;\\n /* https://docs.telerik.com/kendo-ui/third-party/using-kendo-with-twitter-bootstrap */\\n /* allow grid header text wrap*/\\n}\\n.euro-lite-opportunities .custom-search-input {\\n margin-top: 6px;\\n}\\n.euro-lite-opportunities .k-detail-row {\\n background-color: #a6d1ee;\\n}\\n.euro-lite-opportunities .fa-sm {\\n display: inline-block;\\n font: normal normal normal 18px/1 FontAwesome;\\n font-size: inherit;\\n text-rendering: auto;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n margin-right: 4px;\\n}\\n.euro-lite-opportunities .kendo-angularjs {\\n /* reset everything to the default box model */\\n /* set a border-box model only to elements that need it */\\n /* reset everything to the default box model */\\n}\\n.euro-lite-opportunities .kendo-angularjs *, .euro-lite-opportunities .kendo-angularjs :before, .euro-lite-opportunities .kendo-angularjs :after {\\n -webkit-box-sizing: content-box;\\n box-sizing: content-box;\\n}\\n.euro-lite-opportunities .kendo-angularjs .form-control,\\n.euro-lite-opportunities .kendo-angularjs .container,\\n.euro-lite-opportunities .kendo-angularjs .container-fluid,\\n.euro-lite-opportunities .kendo-angularjs .row,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-1, .euro-lite-opportunities .kendo-angularjs .col-sm-1, .euro-lite-opportunities .kendo-angularjs .col-md-1, .euro-lite-opportunities .kendo-angularjs .col-lg-1,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-2, .euro-lite-opportunities .kendo-angularjs .col-sm-2, .euro-lite-opportunities .kendo-angularjs .col-md-2, .euro-lite-opportunities .kendo-angularjs .col-lg-2,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-3, .euro-lite-opportunities .kendo-angularjs .col-sm-3, .euro-lite-opportunities .kendo-angularjs .col-md-3, .euro-lite-opportunities .kendo-angularjs .col-lg-3,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-4, .euro-lite-opportunities .kendo-angularjs .col-sm-4, .euro-lite-opportunities .kendo-angularjs .col-md-4, .euro-lite-opportunities .kendo-angularjs .col-lg-4,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-5, .euro-lite-opportunities .kendo-angularjs .col-sm-5, .euro-lite-opportunities .kendo-angularjs .col-md-5, .euro-lite-opportunities .kendo-angularjs .col-lg-5,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-6, .euro-lite-opportunities .kendo-angularjs .col-sm-6, .euro-lite-opportunities .kendo-angularjs .col-md-6, .euro-lite-opportunities .kendo-angularjs .col-lg-6,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-7, .euro-lite-opportunities .kendo-angularjs .col-sm-7, .euro-lite-opportunities .kendo-angularjs .col-md-7, .euro-lite-opportunities .kendo-angularjs .col-lg-7,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-8, .euro-lite-opportunities .kendo-angularjs .col-sm-8, .euro-lite-opportunities .kendo-angularjs .col-md-8, .euro-lite-opportunities .kendo-angularjs .col-lg-8,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-9, .euro-lite-opportunities .kendo-angularjs .col-sm-9, .euro-lite-opportunities .kendo-angularjs .col-md-9, .euro-lite-opportunities .kendo-angularjs .col-lg-9,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-10, .euro-lite-opportunities .kendo-angularjs .col-sm-10, .euro-lite-opportunities .kendo-angularjs .col-md-10, .euro-lite-opportunities .kendo-angularjs .col-lg-10,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-11, .euro-lite-opportunities .kendo-angularjs .col-sm-11, .euro-lite-opportunities .kendo-angularjs .col-md-11, .euro-lite-opportunities .kendo-angularjs .col-lg-11,\\n.euro-lite-opportunities .kendo-angularjs .col-xs-12, .euro-lite-opportunities .kendo-angularjs .col-sm-12, .euro-lite-opportunities .kendo-angularjs .col-md-12, .euro-lite-opportunities .kendo-angularjs .col-lg-12 {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n}\\n.euro-lite-opportunities .icon-o2o-offer {\\n margin-top: 7px;\\n}\\n.euro-lite-opportunities .icon-o2o-offer a.o2o-offer {\\n cursor: pointer;\\n}\\n.euro-lite-opportunities .nounderline {\\n text-decoration: none;\\n}\\n.euro-lite-opportunities .noRecordsAvailable {\\n font-size: small;\\n}\\n.euro-lite-opportunities .k-grid-norecords {\\n margin-top: 20px;\\n}\\n.euro-lite-opportunities #grid th.k-header.align-right {\\n text-align: center;\\n}\\n.euro-lite-opportunities .tab-header {\\n margin-left: 15px;\\n}\\n.euro-lite-opportunities .row {\\n padding-bottom: 10px;\\n}\\n.euro-lite-opportunities .make-dropdown, .euro-lite-opportunities .opportunity-dropdown {\\n margin-left: 15px;\\n display: inline-block;\\n}\\n.euro-lite-opportunities .make-dropdown .btn, .euro-lite-opportunities .opportunity-dropdown .btn {\\n background-color: #fff;\\n width: 150px;\\n text-align: left;\\n}\\n.euro-lite-opportunities .make-dropdown .btn .caret, .euro-lite-opportunities .opportunity-dropdown .btn .caret {\\n position: absolute;\\n top: 15px;\\n right: 5px;\\n}\\n.euro-lite-opportunities .make-dropdown .option, .euro-lite-opportunities .opportunity-dropdown .option {\\n height: 24px;\\n}\\n.euro-lite-opportunities .make-dropdown .option .checkboxInput, .euro-lite-opportunities .opportunity-dropdown .option .checkboxInput {\\n margin-top: 2px;\\n vertical-align: middle;\\n}\\n.euro-lite-opportunities .make-dropdown .option div, .euro-lite-opportunities .opportunity-dropdown .option div {\\n margin: 0px;\\n}\\n.euro-lite-opportunities .opp-block-horizontal {\\n display: inline-block;\\n vertical-align: middle;\\n margin-right: 15px;\\n /*input {\\n vertical-align: middle;\\n }*/\\n}\\n.euro-lite-opportunities .opp-block-horizontal.verticalBar {\\n border-right: 1px solid black;\\n vertical-align: middle;\\n margin-bottom: 4px;\\n width: 1px;\\n}\\n.euro-lite-opportunities .opp-block-horizontal .horizontal-alert-type-label {\\n display: inline;\\n color: #000000;\\n margin-left: 75px;\\n}\\n.euro-lite-opportunities .opp-block-horizontal .horizontal-alert-type-label label {\\n color: #000000;\\n}\\n.euro-lite-opportunities .opp-block-horizontal .filterlabel {\\n color: #000000;\\n vertical-align: middle;\\n font-weight: 400;\\n}\\n.euro-lite-opportunities .opp-block-horizontal .btn {\\n background-color: #fff;\\n width: 190px;\\n text-align: left;\\n font-size: 14px;\\n}\\n.euro-lite-opportunities .opp-block-horizontal span {\\n font-size: 14px;\\n color: #000000;\\n /*vertical-align: middle;*/\\n}\\n.euro-lite-opportunities .opp-block-horizontal opportunity-block-horizontal span {\\n color: #337ab7;\\n}\\n.euro-lite-opportunities .alert-letter {\\n color: #fff;\\n font-family: \\\"Roboto\\\", verdana, arial, sans-serif;\\n font-weight: bold;\\n font-size: 18px;\\n line-height: 24px;\\n margin: 0px;\\n}\\n.euro-lite-opportunities .grid-layout-links {\\n display: inline-block;\\n margin-right: 15px;\\n}\\n.euro-lite-opportunities .grid-alert {\\n float: left;\\n margin-right: 5px;\\n margin-bottom: -2px;\\n}\\n.euro-lite-opportunities .grid-faalert {\\n border-radius: 3px;\\n background: #f53142;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-faalert:before {\\n content: \\\"A\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n}\\n.euro-lite-opportunities .grid-faservice {\\n border-radius: 3px;\\n background: #42b93f;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-faservice:before {\\n content: \\\"S\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n}\\n.euro-lite-opportunities .grid-facontractend {\\n border-radius: 3px;\\n background: #226be6;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-facontractend:before {\\n content: \\\"C\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n}\\n.euro-lite-opportunities .grid-famileage {\\n border-radius: 3px;\\n background: #fe6e1a;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-famileage:before {\\n content: \\\"M\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n}\\n.euro-lite-opportunities .grid-fawarranty {\\n border-radius: 3px;\\n background: #7a5ec8;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-fawarranty:before {\\n content: \\\"W\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n}\\n.euro-lite-opportunities .grid-faflexalert {\\n border-radius: 3px;\\n background: #824119;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-faflexalert:before {\\n content: \\\"F\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n}\\n.euro-lite-opportunities .grid-faappointment {\\n border-radius: 3px;\\n background: #257F31;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-faappointment:before {\\n content: \\\"P\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n}\\n.euro-lite-opportunities .grid-fainmarket {\\n border-radius: 3px;\\n background: #CC8800;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-fainmarket:before {\\n content: \\\"I\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n}\\n.euro-lite-opportunities .grid-fainmarketengaged {\\n border-radius: 3px;\\n background: #FCAF26;\\n width: 18px;\\n height: 18px;\\n line-height: 18px !important;\\n text-align: center;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-fainmarketengaged:before {\\n content: \\\"E\\\";\\n color: #fff;\\n font-family: verdana, arial, sans-serif;\\n font-weight: normal;\\n font-size: 14px;\\n line-height: 18px;\\n}\\n.euro-lite-opportunities .grid-faalert {\\n float: left;\\n margin-right: 5px;\\n margin-bottom: -2px;\\n}\\n.euro-lite-opportunities .payment-change-down {\\n background: transparent url('/images/icons/GreenArrowDown16ng.gif') center right no-repeat;\\n padding-right: 20px;\\n padding-top: 1px;\\n float: right;\\n margin-right: 25px;\\n}\\n.euro-lite-opportunities .payment-change-up {\\n background: transparent url('/images/icons/GreenArrowUp16ng.gif') center right no-repeat;\\n padding-right: 20px;\\n padding-top: 1px;\\n float: right;\\n margin-right: 25px;\\n}\\n.euro-lite-opportunities .score {\\n font-size: 12pt;\\n font-weight: 500;\\n}\\n.euro-lite-opportunities .grid-action-menu {\\n text-anchor: end;\\n text-align: right;\\n color: black;\\n}\\n.euro-lite-opportunities .grid-action-menu ul.dropdown-menu {\\n min-width: 80px;\\n width: 110px;\\n top: auto;\\n left: auto;\\n}\\n.euro-lite-opportunities .grid-action-menu ul.dropdown-menu icon {\\n font-size: 10pt;\\n}\\n.euro-lite-opportunities .grid-action-menu ul.dropdown-menu li > a {\\n margin: auto;\\n /*5px 5px 5px 5px;*/\\n margin-left: 8px;\\n margin-right: 2px;\\n margin-bottom: 2px;\\n font-size: 10pt;\\n cursor: pointer;\\n padding: 0px;\\n /*line-height:1.6em;*/\\n}\\n.euro-lite-opportunities .grid-action-menu user-select-action {\\n /*label.light {\\n color: #000;\\n font-size:10pt;\\n cursor: pointer;\\n margin-left:8px;\\n }\\n\\n label.hover {\\n background-color: #f0f0f0;\\n }*/\\n}\\n.euro-lite-opportunities .grid-activity-list {\\n background: #fff;\\n border-bottom: 0px #1f8bd5 solid;\\n border-top: 0px #1f8bd5 solid;\\n padding: 0px;\\n margin: 30px;\\n margin-top: 0px;\\n}\\n.euro-lite-opportunities .grid-activity-list h5 {\\n margin-left: 0px;\\n}\\n.euro-lite-opportunities .grid-activity-list .notes-bar {\\n background-color: #1f8bd5;\\n color: #ffffff;\\n font-weight: 500;\\n vertical-align: bottom;\\n font-size: 12pt;\\n height: 20px;\\n padding-top: 5px;\\n text-align: center;\\n}\\n.euro-lite-opportunities .grid-activity-list activity-list {\\n display: block !important;\\n padding: 10px;\\n color: #444a50;\\n font-size: 16px;\\n line-height: 1.5em;\\n}\\n.euro-lite-opportunities .grid-activity-list activity-list label {\\n color: #1f8bd5;\\n font-size: 12px;\\n}\\n.euro-lite-opportunities .grid-customer-connect {\\n background: #fff;\\n border-bottom: 0px #1f8bd5 solid;\\n border-top: 0px #1f8bd5 solid;\\n padding: 0px;\\n margin: 30px;\\n margin-top: 0px;\\n color: #444a50;\\n min-width: 500px;\\n /*div {\\n border: 2px solid red;\\n }*/\\n}\\n.euro-lite-opportunities .grid-customer-connect .label-top-buffer {\\n padding-top: 6px;\\n padding-bottom: 5px;\\n vertical-align: middle;\\n height: 30px;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table {\\n padding: 5px;\\n width: 100%;\\n table-layout: unset;\\n min-width: 200px;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table th {\\n padding: 5px;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table th .btn-sm {\\n text-align: center;\\n padding: 2px;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table tr {\\n text-align: left;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table td {\\n border: 0px;\\n text-align: left;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table td .btn-sm {\\n text-align: center;\\n padding: 2px;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table tbody {\\n border: none;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table tr:hover {\\n background: transparent;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table tr.k-alt:hover {\\n background: #f1f1f1;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect table td.uib-separator {\\n padding: 5px;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect type-of-call {\\n font-size: 12pt;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect-sub-detail {\\n background: #fff;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect-log-action {\\n background: #fff;\\n}\\n.euro-lite-opportunities .grid-customer-connect customer-connect-schedule-action {\\n background: #fff;\\n}\\n.euro-lite-opportunities .grid-customer-connect span {\\n color: gray;\\n}\\n.euro-lite-opportunities .grid-customer-connect span.error {\\n color: red;\\n}\\n.euro-lite-opportunities .grid-customer-connect label {\\n color: #1f8bd5;\\n font-size: 16px;\\n}\\n.euro-lite-opportunities .grid-customer-connect div.panel-group {\\n border-top: 10px red solid;\\n padding: 0px;\\n border: 0px;\\n margin: 0px;\\n}\\n.euro-lite-opportunities .grid-customer-connect div.row {\\n margin: 0;\\n padding: 0;\\n}\\n.euro-lite-opportunities .grid-customer-connect .panel {\\n padding-bottom: 0px;\\n border: 0px;\\n}\\n.euro-lite-opportunities .grid-customer-connect .panel-heading {\\n padding: 0px;\\n border: 0px;\\n margin: 0px;\\n}\\n.euro-lite-opportunities .grid-customer-connect .panel-body {\\n padding: 5px;\\n border: 0px;\\n margin: 0px;\\n border-top: 2px #1f8bd5 solid;\\n}\\n.euro-lite-opportunities .grid-customer-connect .action-bar {\\n background-color: #1f8bd5;\\n color: #ffffff;\\n font-weight: 500;\\n vertical-align: bottom;\\n font-size: 12pt;\\n height: 20px;\\n padding-top: 5px;\\n}\\n.euro-lite-opportunities .grid-customer-connect .action-menu {\\n border-bottom: 1px #eeeeee solid;\\n padding: 10px;\\n padding-bottom: 0px;\\n}\\n.euro-lite-opportunities .grid-customer-connect .selectedbar {\\n border-bottom: 4px solid #008be8;\\n}\\n.euro-lite-opportunities .grid-customer-connect .timeTicker {\\n margin-top: 35px;\\n}\\n.euro-lite-opportunities .grid-customer-connect .bottom-column {\\n margin-top: 50px;\\n /*vertical-align: bottom;*/\\n}\\n.euro-lite-opportunities .grid-customer-connect .bottom-column-schedule {\\n margin-top: 100px;\\n /*vertical-align: bottom;*/\\n}\\n.euro-lite-opportunities .grid-customer-connect .top-buffer {\\n padding-top: 6px;\\n}\\n.euro-lite-opportunities .grid-customer-connect .comm-tools {\\n display: inline-block;\\n margin-left: 15px;\\n}\\n.euro-lite-opportunities .grid-customer-connect .comm-tools icon.icon {\\n top: 0;\\n}\\n.euro-lite-opportunities .grid-customer-connect .comm-tools:hover .caption {\\n text-decoration: none;\\n}\\n.euro-lite-opportunities .grid-customer-connect .comm-tools .wide-tools {\\n padding-left: 50px;\\n padding-right: 0px;\\n color: #1f8bd5;\\n}\\n.euro-lite-opportunities .grid-customer-connect .comm-tools .wide-tools label {\\n color: #1f8bd5;\\n}\\n.euro-lite-opportunities .k-grid td {\\n font-size: 10pt;\\n font-weight: normal;\\n padding-top: 0px;\\n padding-bottom: 0px;\\n}\\n.euro-lite-opportunities .k-grid-header th.k-header {\\n font-size: 10pt;\\n font-weight: 500;\\n}\\n.euro-lite-opportunities .k-grid tr.k-state-selected:hover {\\n background-color: #a6d1ee;\\n}\\n.euro-lite-opportunities .k-grid tr.k-state-selected {\\n background-color: #a6d1ee;\\n color: #444a50;\\n}\\n.euro-lite-opportunities .k-grid .k-hierarchy-col, .euro-lite-opportunities .k-grid .k-hierarchy-cell k-header {\\n width: 0px;\\n border: none;\\n}\\n.euro-lite-opportunities .k-grid tr:hover {\\n background-color: #e6e6e6;\\n}\\n.euro-lite-opportunities .k-grid .k-grid-header .k-header .k-link {\\n height: auto;\\n}\\n.euro-lite-opportunities .k-grid .k-grid-header .k-header {\\n white-space: normal;\\n vertical-align: text-top;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9vcHBvcnR1bml0aWVzL0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcm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aSB7XHJcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMTBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgLmJvbGQge1xyXG5cdCAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgIH1cclxufVxyXG5cclxuLmV1cm8tbGl0ZS1ncmlkLWxheW91dC10aXRsZSB7XHJcbiAgICBmb250LXNpemU6IDE2cHg7XHJcbiAgICBmb250LXdlaWdodDogYm9sZDtcclxufVxyXG5cclxuXHJcbi5hY3Rpdml0eS10b29sdGlwLWljb24ge1xyXG4gICAgbWFyZ2luLWJvdHRvbTogMHB4O1xyXG4gICAgcGFkZGluZy1ib3R0b206IDBweDtcclxuICAgIGZvbnQtc2l6ZTpsYXJnZTtcclxufVxyXG5cclxuLmFjdGl2aXR5LXRvb2x0aXAtbm90ZXMge1xyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgZm9udC13ZWlnaHQ6MTAwOyAgICAgICAgICBcclxuICAgIHBhZGRpbmctdG9wOiAwcHg7XHJcbiAgICBwYWRkaW5nLWJvdHRvbTogNHB4O1xyXG4gICAgdmVydGljYWwtYWxpZ246dG9wO1xyXG59XHJcblxyXG4uYWN0aXZpdHktdG9vbHRpcC10aXRsZSB7XHJcbiAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgIHBhZGRpbmctdG9wOiAwcHg7XHJcbiAgICBwYWRkaW5nLWJvdHRvbTogNHB4O1xyXG4gICAgdmVydGljYWwtYWxpZ246dG9wO1xyXG59XHJcblxyXG5cclxuLmV1cm8tbGl0ZS1vcHBvcnR1bml0aWVzIHtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICNlNmU2ZTY7XHJcbiAgICBtYXJnaW46IDBweDtcclxuICAgIHBhZGRpbmc6IDEwcHg7XHJcbiAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICBtaW4taGVpZ2h0OiA5MDBweDtcclxuXHJcbiAgICAuY3VzdG9tLXNlYXJjaC1pbnB1dCB7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogNnB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5rLWRldGFpbC1yb3cge1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNhNmQxZWU7XHJcbiAgICB9XHJcblxyXG4gICAgLmZhLXNtIHtcclxuICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICAgICAgZm9udDogbm9ybWFsIG5vcm1hbCBub3JtYWwgMThweC8xIEZvbnRBd2Vzb21lO1xyXG4gICAgICAgIGZvbnQtc2l6ZTogaW5oZXJpdDtcclxuICAgICAgICB0ZXh0LXJlbmRlcmluZzogYXV0bztcclxuICAgICAgICAtd2Via2l0LWZvbnQtc21vb3RoaW5nOiBhbnRpYWxpYXNlZDtcclxuICAgICAgICAtbW96LW9zeC1mb250LXNtb290aGluZzogZ3JheXNjYWxlO1xyXG4gICAgICAgIG1hcmdpbi1yaWdodDogNHB4O1xyXG4gICAgfVxyXG4gICAgLyogaHR0cHM6Ly9kb2NzLnRlbGVyaWsuY29tL2tlbmRvLXVpL3RoaXJkLXBhcnR5L3VzaW5nLWtlbmRvLXdpdGgtdHdpdHRlci1ib290c3RyYXAgKi9cclxuICAgIC5rZW5kby1hbmd1bGFyanMge1xyXG4gICAgICAgIC8qIHJlc2V0IGV2ZXJ5dGhpbmcgdG8gdGhlIGRlZmF1bHQgYm94IG1vZGVsICovXHJcbiAgICAgICAgKiwgOmJlZm9yZSwgOmFmdGVyIHtcclxuICAgICAgICAgICAgLXdlYmtpdC1ib3gtc2l6aW5nOiBjb250ZW50LWJveDtcclxuICAgICAgICAgICAgLW1vei1ib3gtc2l6aW5nOiBjb250ZW50LWJveDtcclxuICAgICAgICAgICAgYm94LXNpemluZzogY29udGVudC1ib3g7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIC8qIHNldCBhIGJvcmRlci1ib3ggbW9kZWwgb25seSB0byBlbGVtZW50cyB0aG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LTEyLCAuY29sLWxnLTEyIHtcclxuICAgICAgICAgICAgLXdlYmtpdC1ib3gtc2l6aW5nOiBib3JkZXItYm94O1xyXG4gICAgICAgICAgICAtbW96LWJveC1zaXppbmc6IGJvcmRlci1ib3g7XHJcbiAgICAgICAgICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIC8qIHJlc2V0IGV2ZXJ5dGhpbmcgdG8gdGhlIGRlZmF1bHQgYm94IG1vZGVsICovXHJcbiAgICB9XHJcblxyXG4gICAgLmljb24tbzJvLW9mZmVyIHtcclxuICAgICAgICBtYXJnaW4tdG9wOiA3cHg7XHJcblxyXG4gICAgICAgIGEubzJvLW9mZmVyIHtcclxuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAubm91bmRlcmxpbmUge1xyXG4gICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICAubm9SZWNvcmRzQXZhaWxhYmxlIHtcclxuICAgICAgICBmb250LXNpemU6IHNtYWxsO1xyXG4gICAgfVxyXG5cclxuICAgIC5rLWdyaWQtbm9yZWNvcmRzIHtcclxuICAgICAgICBtYXJnaW4tdG9wOiAyMHB4O1xyXG4gICAgfVxyXG5cclxuICAgICNncmlkIHRoLmstaGVhZGVyLmFsaWduLXJpZ2h0IHtcclxuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICB9XHJcblxyXG4gICAgLnRhYi1oZWFkZXIge1xyXG4gICAgICAgIG1hcmdpbi1sZWZ0OiAxNXB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5yb3cge1xyXG4gICAgICAgIHBhZGRpbmctYm90dG9tOiAxMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5tYWtlLWRyb3Bkb3duLCAub3Bwb3J0dW5pdHktZHJvcGRvd24ge1xyXG4gICAgICAgIG1hcmdpbi1sZWZ0OiAxNXB4O1xyXG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuXHJcbiAgICAgICAgLmJ0biB7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XHJcbiAgICAgICAgICAgIHdpZHRoOiAxNTBweDtcclxuICAgICAgICAgICAgdGV4dC1hbGlnbjogbGVmdDtcclxuXHJcbiAgICAgICAgICAgIC5jYXJldCB7XHJcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgICAgICAgICB0b3A6IDE1cHg7XHJcbiAgICAgICAgICAgICAgICByaWdodDogNXB4O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAub3B0aW9uIHtcclxuICAgICAgICAgICAgaGVpZ2h0OiAyNHB4O1xyXG5cclxuICAgICAgICAgICAgLmNoZWNrYm94SW5wdXQge1xyXG4gICAgICAgICAgICAgICAgbWFyZ2luLXRvcDogMnB4O1xyXG4gICAgICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgZGl2IHtcclxuICAgICAgICAgICAgICAgIG1hcmdpbjogMHB4O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5vcHAtYmxvY2staG9yaXpvbnRhbCB7XHJcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XHJcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiAxNXB4O1xyXG4gICAgICAgIC8qaW5wdXQge1xyXG4gICAgICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG4gICAgICAgIH0qL1xyXG4gICAgICAgICYudmVydGljYWxCYXIge1xyXG4gICAgICAgICAgICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCBibGFjaztcclxuICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcclxuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogNHB4O1xyXG4gICAgICAgICAgICB3aWR0aDogMXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmhvcml6b250YWwtYWxlcnQtdHlwZS1sYWJlbCB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZTtcclxuICAgICAgICAgICAgY29sb3I6ICMwMDAwMDA7XHJcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiA3NXB4O1xyXG5cclxuICAgICAgICAgICAgbGFiZWwge1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICMwMDAwMDA7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5maWx0ZXJsYWJlbCB7XHJcbiAgICAgICAgICAgIGNvbG9yOiAjMDAwMDAwO1xyXG4gICAgICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG4gICAgICAgICAgICBmb250LXdlaWdodDogNDAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmJ0biB7XHJcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XHJcbiAgICAgICAgICAgIHdpZHRoOiAxOTBweDtcclxuICAgICAgICAgICAgdGV4dC1hbGlnbjogbGVmdDtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgc3BhbiB7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgICAgICAgY29sb3I6ICMwMDAwMDA7XHJcbiAgICAgICAgICAgIC8qdmVydGljYWwtYWxpZ246IG1pZGRsZTsqL1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgb3Bwb3J0dW5pdHktYmxvY2staG9yaXpvbnRhbCB7XHJcbiAgICAgICAgICAgIHNwYW4ge1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICMzMzdhYjc7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLmFsZXJ0LWxldHRlciB7XHJcbiAgICAgICAgY29sb3I6ICNmZmY7XHJcbiAgICAgICAgZm9udC1mYW1pbHk6ICdSb2JvdG8nLCB2ZXJkYW5hLCBhcmlhbCwgc2Fucy1zZXJpZjtcclxuICAgICAgICBmb250LXdlaWdodDogYm9sZDtcclxuICAgICAgICBmb250LXNpemU6IDE4cHg7XHJcbiAgICAgICAgbGluZS1oZWlnaHQ6IDI0cHg7XHJcbiAgICAgICAgbWFyZ2luOiAwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmdyaWQtbGF5b3V0LWxpbmtzIHtcclxuICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiAxNXB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5ncmlkLWFsZXJ0IHtcclxuICAgICAgICBmbG9hdDogbGVmdDtcclxuICAgICAgICBtYXJnaW4tcmlnaHQ6IDVweDtcclxuICAgICAgICBtYXJnaW4tYm90dG9tOiAtMnB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5ncmlkLWZhYWxlcnQge1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDNweDtcclxuICAgICAgICBiYWNrZ3JvdW5kOiAjZjUzMTQyO1xyXG4gICAgICAgIHdpZHRoOiAxOHB4O1xyXG4gICAgICAgIGhlaWdodDogMThweDtcclxuICAgICAgICBsaW5lLWhlaWdodDogMThweCAhaW1wb3J0YW50O1xyXG4gICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgICAgICBtYXJnaW4tdG9wOiAwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmdyaWQtZmFhbGVydDpiZWZvcmUge1xyXG4gICAgICA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W5hLCBhcmlhbCwgc2Fucy1zZXJpZjtcclxuICAgICAgICBmb250LXdlaWdodDogbm9ybWFsO1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgICBsaW5lLWhlaWdodDogMThweDtcclxuICAgIH1cclxuXHJcbiAgICAuZ3JpZC1mYWFwcG9pbnRtZW50IHtcclxuICAgICAgICBib3JkZXItcmFkaXVzOiAzcHg7XHJcbiAgICAgICAgYmFja2dyb3VuZDogIzI1N0YzMTtcclxuICAgICAgICB3aWR0aDogMThweDtcclxuICAgICAgICBoZWlnaHQ6IDE4cHg7XHJcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHggIWltcG9ydGFudDtcclxuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICAgICAgbWFyZ2luLXRvcDogMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5ncmlkLWZhYXBwb2ludG1lbnQ6YmVmb3JlIHtcclxuICAgICAgICBjb250ZW50OiBcIlBcIjtcclxuICAgICAgICBjb2xvcjogI2ZmZjtcclxuICAgICAgICBmb250LWZhbWlseTogdmVyZGFuYSwgYXJpYWwsIHNhbnMtc2VyaWY7XHJcbiAgICAgICAgZm9udC13ZWlnaHQ6IG5vcm1hbDtcclxuICAgICAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICAgICAgbGluZS1oZWlnaHQ6IDE4cHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmdyaWQtZmFpbm1hcmtldCB7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xyXG4gICAgICAgIGJhY2tncm91bmQ6ICNDQzg4MDA7XHJcbiAgICAgICAgd2lkdGg6IDE4cHg7XHJcbiAgICAgICAgaGVpZ2h0OiAxOHB4O1xyXG4gICAgICAgIGxpbmUtaGVpZ2h0OiAxOHB4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgIG1hcmdp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yaWdodDogNXB4O1xyXG4gICAgICAgIG1hcmdpbi1ib3R0b206IC0ycHg7XHJcbiAgICB9XHJcblxyXG4gICAgLnBheW1lbnQtY2hhbmdlLWRvd24ge1xyXG4gICAgICAgIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50IHVybChcIn4vaW1hZ2VzL2ljb25zL0dyZWVuQXJyb3dEb3duMTZuZy5naWZcIikgY2VudGVyIHJpZ2h0IG5vLXJlcGVhdDtcclxuICAgICAgICBwYWRkaW5nLXJpZ2h0OiAyMHB4O1xyXG4gICAgICAgIHBhZGRpbmctdG9wOiAxcHg7XHJcbiAgICAgICAgZmxvYXQ6IHJpZ2h0O1xyXG4gICAgICAgIG1hcmdpbi1yaWdodDogMjVweDtcclxuICAgIH1cclxuXHJcbiAgICAucGF5bWVudC1jaGFuZ2UtdXAge1xyXG4gICAgICAgIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50IHVybChcIn4vaW1hZ2VzL2ljb25zL0dyZWVuQXJyb3dVcDE2bmcuZ2lmXCIpIGNlbnRlciByaWdodCBuby1yZXBlYXQ7XHJcbiAgICAgICAgcGFkZGluZy1yaWdodDogMjBweDtcclxuICAgICAgICBwYWRkaW5nLXRvcDogMXB4O1xyXG4gICAgICAgIGZsb2F0OiByaWdodDtcclxuICAgICAgICBtYXJnaW4tcmlnaHQ6IDI1cHg7XHJcbiAgICB9XHJcblxyXG4gICAgLnNjb3JlIHtcclxuICAgICAgICBmb250LXNpemU6IDEycHQ7XHJcbiAgICAgICAgZm9udC13ZWlnaHQ6IDUwMDtcclxuICAgIH1cclxuXHJcbiAgICAuZ3JpZC1hY3Rpb24tbWVudSB7XHJcbiAgICAgICAgdGV4dC1hbmNob3I6IGVuZDtcclxuICAgICAgICB0ZXh0LWFsaWduOiByaWdodDtcclxuICAgICAgICBjb2xvcjogYmxhY2s7XHJcblxyXG5cclxuICAgICAgICB1bC5kcm9wZG93bi1tZW51IHtcclxuICAgICAgICAgICAgbWluLXdpZHRoOiA4MHB4O1xyXG4gICAgICAgICAgICB3aWR0aDogMTEwcHg7XHJcbiAgICAgICAgICAgIHRvcDogYXV0bztcclxuICAgICAgICAgICAgbGVmdDogYXV0bztcclxuXHJcbiAgICAgICAgICAgIGljb24ge1xyXG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAxMHB0O1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICBsaSA+IGEge1xyXG4gICAgICAgICAgICAgICAgbWFyZ2luOiBhdXRvOyAvKjVweCA1cHggNXB4IDVweDsqL1xyXG4gICAgICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDhweDtcclxuICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogMnB4O1xyXG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMnB4O1xyXG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAxMHB0O1xyXG4gICAgICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgICAgICAgICAgcGFkZGluZzogMHB4O1xyXG4gICAgICAgICAgICAgICAgLypsaW5lLWhlaWdodDoxLjZlbTsqL1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICB1c2VyLXNlbGVjdC1hY3Rpb24ge1xyXG4gICAgICAgICAgICAvKmxhYmVsLmxpZ2h0IHtcclxuICAgICAgICAgICAgY29sb3I6ICMwMDA7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZToxMHB0O1xyXG4gICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OjhweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGxhYmVsLmhvdmVyIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2YwZjBmMDtcclxuICAgICAgICB9Ki9cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLmdyaWQtYWN0aXZpdHktbGlzdCB7XHJcbiAgICAgICAgYmFja2dyb3VuZDogJGJvZHktYmc7XHJcbiAgICAgICAgYm9yZGVyLWJvdHRvbTogMHB4ICMxZjhiZDUgc29saWQ7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogMHB4ICMxZjhiZDUgc29saWQ7XHJcbiAgICAgICAgcGFkZGluZzogMHB4O1xyXG4gICAgICAgIG1hcmdpbjogMzBweDtcclxuICAgICAgICBtYXJnaW4tdG9wOiAwcHg7XHJcblxyXG4gICAgICAgIGg1IHtcclxuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5ub3Rlcy1iYXIge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMWY4YmQ1O1xyXG4gICAgICAgICAgICBjb2xvcjogI2ZmZmZmZjtcclxuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDUwMDtcclxuICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IGJvdHRvbTtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAxMnB0O1xyXG4gICAgICAgICAgICBoZWlnaHQ6IDIwcHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmctdG9wOiA1cHg7XHJcbiAgICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGFjdGl2aXR5LWxpc3Qge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBibG9jayAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAxMHB4O1xyXG4gICAgICAgICAgICBjb2xvcjogJGJvZHktYmFzZS1jb2xvcjtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAxNnB4O1xyXG4gICAgICAgICAgICBsaW5lLWhlaWdodDogMS41ZW07XHJcblxyXG4gICAgICAgICAgICBsYWJlbCB7XHJcbiAgICAgICAgICAgICAgICBjb2xvcjogJGJyaWdodEJsdWU7XHJcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDEycHg7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLmdyaWQtY3VzdG9tZXItY29ubmVjdCB7XHJcbiAgICAgICAgYmFja2dyb3VuZDogJGJvZHktYmc7XHJcbiAgICAgICAgYm9yZGVyLWJvdHRvbTogMHB4ICMxZjhiZDUgc29saWQ7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogMHB4ICMxZjhiZDUgc29saWQ7XHJcbiAgICAgICAgcGFkZGluZzogMHB4O1xyXG4gICAgICAgIG1hcmdpbjogMzBweDtcclxuICAgICAgICBtYXJnaW4tdG9wOiAwcHg7XHJcbiAgICAgICAgY29sb3I6ICRib2R5LWJhc2UtY29sb3I7XHJcbiAgICAgICAgbWluLXdpZHRoOiA1MDBweDtcclxuICAgICAgICAvKmRpdiB7XHJcbiAgICAgICAgICAgIGJvcmRlcjogMnB4IHNvbGlkIHJlZDtcclxuICAgICAgICB9Ki9cclxuICAgICAgICAubGFiZWwtdG9wLWJ1ZmZlciB7XHJcbiAgICAgICAgICAgIHBhZGRpbmctdG9wOiA2cHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmctYm90dG9tOiA1cHg7XHJcbiAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XHJcbiAgICAgICAgICAgIGhlaWdodDogMzBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGN1c3RvbWVyLWNvbm5lY3Qge1xyXG5cclxuICAgICAgICAgICAgdGFibGUge1xyXG4gICAgICAgICAgICAgICAgcGFkZGluZzogNXB4O1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICB0YWJsZS1sYXlvdXQ6IHVuc2V0O1xyXG4gICAgICAgICAgICAgICAgbWluLXdpZHRoOiAyMDBweDtcclxuXHJcbiAgICAgICAgICAgICAgICB0aCB7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogNXB4O1xyXG5cclxuICAgICAgICAgICAgICAgICAgICAuYnRuLXNtIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWRkaW5nOiAycHg7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIHRyIHtcclxuICAgICAgICAgICAgICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0O1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIHRkIHtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXI6IDBweDtcclxuICAgICAgICAgICAgICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0O1xyXG5cclxuICAgICAgICAgICAgICAgICAgICAuYnRuLXNtIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWRkaW5nOiAycHg7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIHRib2R5IHtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXI6IG5vbmU7XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgdHI6aG92ZXIge1xyXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIHRyLmstYWx0OmhvdmVyIHtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiAjZjFmMWYxO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIHRkLnVpYi1zZXBhcmF0b3Ige1xyXG4gICAgICAgICAgICAgICAgICAgIHBhZGRpbmc6IDVweDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgdHlwZS1vZi1jYWxsIHtcclxuICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogMTJwdDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgY3VzdG9tZXItY29ubmVjdC1zdWItZGV0YWlsIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZDogJGJvZHktYmc7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBjdXN0b21lci1jb25uZWN0LWxvZy1hY3Rpb24ge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiAkYm9keS1iZztcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGN1c3RvbWVyLWNvbm5lY3Qtc2NoZWR1bGUtYWN0aW9uIHtcclxuICAgICAgICAgICAgYmFja2dyb3VuZDogJGJvZHktYmc7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBzcGFuIHtcclxuICAgICAgICAgICAgY29sb3I6IGdyYXk7XHJcblxyXG4gICAgICAgICAgICAmLmVycm9yIHtcclxuICAgICAgICAgICAgICAgIGNvbG9yOiByZWQ7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIGxhYmVsIHtcclxuICAgICAgICAgICAgY29sb3I6ICRicmlnaHRCbHVlO1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDE2cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBkaXYucGFuZWwtYm9keSB7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBkaXYucGFuZWwtZ3JvdXAge1xyXG4gICAgICAgICAgICBib3JkZXItdG9wOiAxMHB4IHJlZCBzb2xpZDtcclxuICAgICAgICAgICAgcGFkZGluZzogMHB4O1xyXG4gICAgICAgICAgICBib3JkZXI6IDBweDtcclxuICAgICAgICAgICAgbWFyZ2luOiAwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBkaXYucm93IHtcclxuICAgICAgICAgICAgbWFyZ2luOiAwO1xyXG4gICAgICAgICAgICBwYWRkaW5nOiAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnBhbmVsIHtcclxuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDBweDtcclxuICAgICAgICAgICAgYm9yZGVyOiAwcHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAucGFuZWwtaGVhZGluZyB7XHJcbiAgICAgICAgICAgIHBhZGRpbmc6IDBweDtcclxuICAgICAgICAgICAgYm9yZGVyOiAwcHg7XHJcbiAgICAgICAgICAgIG1hcmdpbjogMHB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnBhbmVsLWJvZHkge1xyXG4gICAgICAgICAgICBwYWRkaW5nOiA1cHg7XHJcbiAgICAgICAgICAgIGJvcmRlcjogMHB4O1xyXG4gICAgICAgICAgICBtYXJnaW46IDBweDtcclxuICAgICAgICAgICAgYm9yZGVyLXRvcDogMnB4ICRicmlnaHRCbHVlIHNvbGlkO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmFjdGlvbi1iYXIge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMWY4YmQ1O1xyXG4gICAgICAgICAgICBjb2xvcjogI2ZmZmZmZjtcclxuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDUwMDtcclxuICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IGJvdHRvbTtcclxuICAgICAgICAgICAgZm9udC1zaXplOiAxMnB0O1xyXG4gICAgICAgICAgICBoZWlnaHQ6IDIwcHg7XHJcbiAgICAgICAgICAgIHBhZGRpbmctdG9wOiA1cHg7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAuYWN0aW9uLW1lbnUge1xyXG4gICAgICAgICAgICBib3JkZXItYm90dG9tOiAxcHggJGdyYXktbGlnaHRlciBzb2xpZDtcclxuICAgICAgICAgICAgcGFkZGluZzogMTBweDtcclxuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDBweDtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5zZWxlY3RlZGJhciB7XHJcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDRweCBzb2xpZCAjMDA4YmU4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnRpbWVUaWNrZXIge1xyXG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAzNXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmJvdHRvbS1jb2x1bW4ge1xyXG4gICAgICAgICAgICBtYXJnaW4tdG9wOiA1MHB4O1xyXG4gICAgICAgICAgICAvKnZlcnRpY2FsLWFsaWduOiBib3R0b207Ki9cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC5ib3R0b20tY29sdW1uLXNjaGVkdWxlIHtcclxuICAgICAgICAgICAgbWFyZ2luLXRvcDogMTAwcHg7XHJcbiAgICAgICAgICAgIC8qdmVydGljYWwtYWxpZ246IGJvdHRvbTsqL1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLnRvcC1idWZmZXIge1xyXG4gICAgICAgICAgICBwYWRkaW5nLXRvcDogNnB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmNvbW0tdG9vbHMge1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICAgICAgICAgIG1hcmdpbi1sZWZ0OiAxNXB4O1xyXG5cclxuICAgICAgICAgICAgaWNvbi5pY29uIHtcclxuICAgICAgICAgICAgICAgIHRvcDogMDtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgJjpob3ZlciB7XHJcbiAgICAgICAgICAgICAgICAuY2FwdGlvbiB7XHJcbiAgICAgICAgICAgICAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAud2lkZS10b29scyB7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDUwcHg7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nLXJpZ2h0OiAwcHg7XHJcbiAgICAgICAgICAgICAgICBjb2xvcjogJGJyaWdodEJsdWU7XHJcblxyXG4gICAgICAgICAgICAgICAgbGFiZWwge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiAkYnJpZ2h0Qmx1ZTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcblxyXG4gICAgLmstZ3JpZCB0ZCB7XHJcbiAgICAgICAgZm9udC1zaXplOiAxMHB0O1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiBub3JtYWw7XHJcbiAgICAgICAgcGFkZGluZy10b3A6IDBweDtcclxuICAgICAgICBwYWRkaW5nLWJvdHRvbTogMHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5rLWdyaWQtaGVhZGVyIHRoLmstaGVhZGVyIHtcclxuICAgICAgICBmb250LXNpemU6IDEwcHQ7XHJcbiAgICAgICAgZm9udC13ZWlnaHQ6IDUwMDtcclxuICAgIH1cclxuXHJcbiAgICAuay1ncmlkIHRyLmstc3RhdGUtc2VsZWN0ZWQ6aG92ZXIge1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNhNmQxZWU7XHJcbiAgICB9XHJcblxyXG4gICAgLmstZ3JpZCB0ci5rLXN0YXRlLXNlbGVjdGVkIHtcclxuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjYTZkMWVlO1xyXG4gICAgICAgIGNvbG9yOiAkYm9keS1iYXNlLWNvbG9yO1xyXG4gICAgfVxyXG5cclxuICAgIC5rLWdyaWQgLmstaGllcmFyY2h5LWNvbCwgLmstZ3JpZCAuay1oaWVyYXJj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RpdmVNZW51SXRlbXM6ICNjMWMyYzQ7XHJcbiRyZXBvcnRzQmFja2dyb3VuZDogI0U3RTdFNztcclxuIl19 */\"","module.exports = \"Unshare Search\"","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar FinancedAmountComponent = /** @class */ (function () {\n function FinancedAmountComponent() {\n }\n FinancedAmountComponent.prototype.ngOnInit = function () {\n };\n return FinancedAmountComponent;\n}());\nexports.FinancedAmountComponent = FinancedAmountComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'financed-amount',\r\n templateUrl: './financed-amount.component-ng.html',\r\n styleUrls: ['./financed-amount.component.scss']\r\n})\r\nexport class FinancedAmountComponent implements OnInit {\r\n @Input() value: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".modal-body[_ngcontent-%COMP%]{font-size:14px}.modal-body[_ngcontent-%COMP%] .bold[_ngcontent-%COMP%]{font-weight:500}.dms-row[_ngcontent-%COMP%]{margin-top:5px}.intro[_ngcontent-%COMP%]{font-size:14px;margin-bottom:20px}.row-underline[_ngcontent-%COMP%]{border-bottom:1px solid #e5e5e5}.sectionHeader[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.table[_ngcontent-%COMP%]{margin-top:0;margin-bottom:5px}.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{font-size:14px}.table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{font-size:12px}.table[_ngcontent-%COMP%] tr.highlighted[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{background-color:#e7e7e7!important}.table[_ngcontent-%COMP%] td.highlight[_ngcontent-%COMP%]{color:#1f8bd5}.table[_ngcontent-%COMP%] td.right[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] th.right[_ngcontent-%COMP%]{text-align:right}.disabled-deal[_ngcontent-%COMP%], .disabled-deal[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#d3d3d3!important}.dms-customer-list[_ngcontent-%COMP%]{overflow-y:auto;min-height:140px;max-height:380px}.dms-id-label[_ngcontent-%COMP%]{width:130px}.dms-colon-suffix[_ngcontent-%COMP%]:after{content:\\\":\\\"}\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar modal_1 = require(\"ngx-bootstrap/modal\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar opportunity2_service_1 = require(\"../../../services/opportunity2.service\");\nvar NloInfoModalComponent = /** @class */ (function () {\n function NloInfoModalComponent(_bsModalRef, tService, opportunity2Service) {\n this._bsModalRef = _bsModalRef;\n this.tService = tService;\n this.opportunity2Service = opportunity2Service;\n this.onClosed = new core_1.EventEmitter();\n this.featuresLoaded = false;\n }\n NloInfoModalComponent.prototype.ngOnInit = function () {\n var _this = this;\n this._bsModalRef.hide();\n this.nloData.forEach(function (item) {\n var transKey = 'nloCommSrc_' + item.communicationSourceID;\n item.communicationSource = _this.tService.instant(transKey);\n });\n };\n NloInfoModalComponent.prototype.ngAfterViewInit = function () {\n this._bsModalRef.hide();\n };\n NloInfoModalComponent.prototype.cancelModal = function () {\n this._bsModalRef.hide();\n };\n NloInfoModalComponent.prototype.markAsNLO = function (markAsNLO) {\n // send event to mark as NLO or decline NLO\n // if successful reload deal sheet\n this.onClosed.emit({ markasNLO: markAsNLO });\n this._bsModalRef.hide();\n };\n return NloInfoModalComponent;\n}());\nexports.NloInfoModalComponent = NloInfoModalComponent;\n","import { Component, OnInit, Input, Output, EventEmitter, AfterViewInit, ViewChild, SimpleChanges } from '@angular/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { Opportunity2Service } from '../../../services/opportunity2.service';\r\n\r\n@Component({\r\n selector: 'nlo-info-modal',\r\n templateUrl: './nlo-info-modal.component-ng.html',\r\n styleUrls: ['./nlo-info-modal.component.scss']\r\n})\r\n\r\nexport class NloInfoModalComponent implements OnInit, AfterViewInit {\r\n @Input() entityId: string;\r\n @Input() nloData: any[];\r\n @Output() onClosed = new EventEmitter();\r\n\r\n public busy: Promise;\r\n public featuresLoaded: boolean = false;\r\n\r\n constructor(\r\n public _bsModalRef: BsModalRef,\r\n private tService: TranslateService,\r\n private opportunity2Service: Opportunity2Service) { }\r\n\r\n public ngOnInit(): void {\r\n this._bsModalRef.hide();\r\n\r\n this.nloData.forEach(item => {\r\n let transKey = 'nloCommSrc_' + item.communicationSourceID;\r\n item.communicationSource = this.tService.instant(transKey);\r\n });\r\n }\r\n\r\n public ngAfterViewInit(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public cancelModal(): void {\r\n this._bsModalRef.hide();\r\n }\r\n\r\n public markAsNLO(markAsNLO): void {\r\n // send event to mark as NLO or decline NLO\r\n // if successful reload deal sheet\r\n this.onClosed.emit({ markasNLO: markAsNLO });\r\n this._bsModalRef.hide();\r\n }\r\n}\r\n\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"../tooltip.component.ngfactory\"));\nvar i3 = __importStar(require(\"../tooltip.component\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i5 = __importStar(require(\"@angular/forms\"));\nvar i6 = __importStar(require(\"./admin-settings-product.component\"));\nvar i7 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i8 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar styles_AdminSettingsProductComponent = [];\nvar RenderType_AdminSettingsProductComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsProductComponent, data: {} });\nexports.RenderType_AdminSettingsProductComponent = RenderType_AdminSettingsProductComponent;\nfunction View_AdminSettingsProductComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 30, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 29, \"div\", [[\"class\", \"col-md-10\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_dataViewSettings\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 14, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 13, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"div\", [[\"class\", \"col-md-2\"], [\"translate\", \"dsAdmin_viewServiceAppointment\"]], null, null, null, null, null)), i0.ɵdid(9, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(10, 0, null, null, 10, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 9, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 6, \"input\", [[\"class\", \"input-sm textboxSm\"], [\"name\", \"DealerSDOSetting.ViewSvcApptDays\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 13)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 13).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 13)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 13)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 14).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 14).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 14).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.dsa.dealerSDOSetting.viewSvcApptDays = $event) !== false);\n ad = (pd_7 && ad);\n } return ad; }, null, null)), i0.ɵdid(13, 16384, null, 0, i5.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(14, 16384, null, 0, i5.NumberValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.NumberValueAccessor]), i0.ɵdid(16, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], isDisabled: [1, \"isDisabled\"], model: [2, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(18, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(19, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(21, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(22, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(23, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 24).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 24).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerSetting.allowExpiration = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(24, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(26, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { isDisabled: [0, \"isDisabled\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(28, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(29, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_dataViewSettings\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_dataViewSettings\"; var currVal_2 = \"dsAdmin_dataViewSettingsTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = \"dsAdmin_viewServiceAppointment\"; _ck(_v, 9, 0, currVal_3); var currVal_11 = \"DealerSDOSetting.ViewSvcApptDays\"; var currVal_12 = !_co.dsa.isSDOChangeExpiration; var currVal_13 = _co.dsa.dealerSDOSetting.viewSvcApptDays; _ck(_v, 16, 0, currVal_11, currVal_12, currVal_13); var currVal_22 = !_co.dsa.isSDOChangeExpiration; var currVal_23 = _co.dsa.dealerSetting.allowExpiration; _ck(_v, 26, 0, currVal_22, currVal_23); }, function (_ck, _v) { var currVal_4 = i0.ɵnov(_v, 18).ngClassUntouched; var currVal_5 = i0.ɵnov(_v, 18).ngClassTouched; var currVal_6 = i0.ɵnov(_v, 18).ngClassPristine; var currVal_7 = i0.ɵnov(_v, 18).ngClassDirty; var currVal_8 = i0.ɵnov(_v, 18).ngClassValid; var currVal_9 = i0.ɵnov(_v, 18).ngClassInvalid; var currVal_10 = i0.ɵnov(_v, 18).ngClassPending; _ck(_v, 12, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10); var currVal_14 = i0.ɵunv(_v, 19, 0, i0.ɵnov(_v, 20).transform(\"days\")); _ck(_v, 19, 0, currVal_14); var currVal_15 = i0.ɵnov(_v, 28).ngClassUntouched; var currVal_16 = i0.ɵnov(_v, 28).ngClassTouched; var currVal_17 = i0.ɵnov(_v, 28).ngClassPristine; var currVal_18 = i0.ɵnov(_v, 28).ngClassDirty; var currVal_19 = i0.ɵnov(_v, 28).ngClassValid; var currVal_20 = i0.ɵnov(_v, 28).ngClassInvalid; var currVal_21 = i0.ɵnov(_v, 28).ngClassPending; _ck(_v, 23, 0, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21); var currVal_24 = i0.ɵunv(_v, 29, 0, i0.ɵnov(_v, 30).transform(\"dsAdmin_allowExpiration\")); _ck(_v, 29, 0, currVal_24); }); }\nexports.View_AdminSettingsProductComponent_0 = View_AdminSettingsProductComponent_0;\nfunction View_AdminSettingsProductComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-product\", [], null, null, null, View_AdminSettingsProductComponent_0, RenderType_AdminSettingsProductComponent)), i0.ɵdid(1, 49152, null, 0, i6.AdminSettingsProductComponent, [i7.BsModalService, i1.TranslateService, i8.ToasterLoggerService], null, null)], null, null); }\nexports.View_AdminSettingsProductComponent_Host_0 = View_AdminSettingsProductComponent_Host_0;\nvar AdminSettingsProductComponentNgFactory = i0.ɵccf(\"admin-settings-product\", i6.AdminSettingsProductComponent, View_AdminSettingsProductComponent_Host_0, { dsa: \"dsa\" }, { onSaveChanges: \"onSaveChanges\" }, []);\nexports.AdminSettingsProductComponentNgFactory = AdminSettingsProductComponentNgFactory;\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ 'days' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","var path = '/app/components/deal-sheet/customer-name.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerSettingClientService = /** @class */ (function (_super) {\n __extends(DealerSettingClientService, _super);\n function DealerSettingClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerSettingClientService.prototype.ByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerSetting/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerSettingClientService.prototype.ByDealeridGET = function (dealerId) {\n return this.ByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerSettingClientService.prototype.GetDealerSmtpSettingByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerSetting/GetDealerSmtpSetting/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerSettingClientService.prototype.GetDealerSmtpSettingByDealeridGET = function (dealerId) {\n return this.GetDealerSmtpSettingByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n */\n DealerSettingClientService.prototype.DealerSettingChangedPOSTResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (dealerId != null)\n __params = __params.set('dealerId', dealerId.toString());\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerSetting/DealerSettingChanged\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n */\n DealerSettingClientService.prototype.DealerSettingChangedPOST = function (dealerId) {\n return this.DealerSettingChangedPOSTResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerSettingClientService.prototype.GetDealerOutboundEmailProviderInfoByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerSetting/GetDealerOutboundEmailProviderInfo/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerSettingClientService.prototype.GetDealerOutboundEmailProviderInfoByDealeridGET = function (dealerId) {\n return this.GetDealerOutboundEmailProviderInfoByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerSettingClientService.prototype.GetDealerSettingAllByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerSetting/GetDealerSettingAll/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n DealerSettingClientService.prototype.GetDealerSettingAllByDealeridGET = function (dealerId) {\n return this.GetDealerSettingAllByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dsa undefined\n * @return Success\n */\n DealerSettingClientService.prototype.UpdateDealerSettingAllPOSTResponse = function (dsa) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = dsa;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerSetting/UpdateDealerSettingAll\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param dsa undefined\n * @return Success\n */\n DealerSettingClientService.prototype.UpdateDealerSettingAllPOST = function (dsa) {\n return this.UpdateDealerSettingAllPOSTResponse(dsa).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n DealerSettingClientService.prototype.SendTestAdfEmailPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerSetting/SendTestAdfEmail\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n DealerSettingClientService.prototype.SendTestAdfEmailPOST = function (request) {\n return this.SendTestAdfEmailPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `DealerSettingClientService.GetTextNumbersByDealeridGETParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `stateCode`:\n *\n * - `areaCode`:\n *\n * @return Success\n */\n DealerSettingClientService.prototype.GetTextNumbersByDealeridGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.stateCode != null)\n __params = __params.set('stateCode', params.stateCode.toString());\n if (params.areaCode != null)\n __params = __params.set('areaCode', params.areaCode.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerSetting/GetTextNumbers/\" + params.dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `DealerSettingClientService.GetTextNumbersByDealeridGETParams` containing the following parameters:\n *\n * - `dealerId`:\n *\n * - `stateCode`:\n *\n * - `areaCode`:\n *\n * @return Success\n */\n DealerSettingClientService.prototype.GetTextNumbersByDealeridGET = function (params) {\n return this.GetTextNumbersByDealeridGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @return Success\n */\n DealerSettingClientService.prototype.UseLegacyDealerSettingsPageGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealerSetting/UseLegacyDealerSettings\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: _r.body === 'true' });\n }));\n };\n /**\n * @return Success\n */\n DealerSettingClientService.prototype.UseLegacyDealerSettingsPageGET = function () {\n return this.UseLegacyDealerSettingsPageGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param inventoryDealerSettingDto undefined\n * @return Success\n */\n DealerSettingClientService.prototype.UpdateInventoryDealerSettingByDealerIdAsyncPOSTResponse = function (inventoryDealerSettingDto) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = inventoryDealerSettingDto;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerSetting/UpdateInventoryDealerSettingByDealerId\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param inventoryDealerSettingDto undefined\n * @return Success\n */\n DealerSettingClientService.prototype.UpdateInventoryDealerSettingByDealerIdAsyncPOST = function (inventoryDealerSettingDto) {\n return this.UpdateInventoryDealerSettingByDealerIdAsyncPOSTResponse(inventoryDealerSettingDto).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerSettingClientService.ByDealeridGETPath = '/api/DealerSetting/{dealerId}';\n DealerSettingClientService.GetDealerSmtpSettingByDealeridGETPath = '/api/DealerSetting/GetDealerSmtpSetting/{dealerId}';\n DealerSettingClientService.DealerSettingChangedPOSTPath = '/api/DealerSetting/DealerSettingChanged';\n DealerSettingClientService.GetDealerOutboundEmailProviderInfoByDealeridGETPath = '/api/DealerSetting/GetDealerOutboundEmailProviderInfo/{dealerId}';\n DealerSettingClientService.GetDealerSettingAllByDealeridGETPath = '/api/DealerSetting/GetDealerSettingAll/{dealerId}';\n DealerSettingClientService.UpdateDealerSettingAllPOSTPath = '/api/DealerSetting/UpdateDealerSettingAll';\n DealerSettingClientService.SendTestAdfEmailPOSTPath = '/api/DealerSetting/SendTestAdfEmail';\n DealerSettingClientService.GetTextNumbersByDealeridGETPath = '/api/DealerSetting/GetTextNumbers/{dealerId}';\n DealerSettingClientService.UseLegacyDealerSettingsPageGETPath = '/api/DealerSetting/UseLegacyDealerSettings';\n DealerSettingClientService.UpdateInventoryDealerSettingByDealerIdAsyncPOSTPath = '/api/DealerSetting/UpdateInventoryDealerSettingByDealerId';\n DealerSettingClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerSettingClientService_Factory() { return new DealerSettingClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerSettingClientService, providedIn: \"root\" });\n return DealerSettingClientService;\n}(base_service_1.BaseService));\nexports.DealerSettingClientService = DealerSettingClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerSettingDto } from '../models/dealer-setting-dto';\r\nimport { DealerSmtpSettingSelectionDto } from '../models/dealer-smtp-setting-selection-dto';\r\nimport { DealerSettingResponseDto } from '../models/dealer-setting-response-dto';\r\nimport { DealerSettingRequestDto } from '../models/dealer-setting-request-dto';\r\nimport { DealerSettingSendTestAdfRequest } from '../models/dealer-setting-send-test-adf-request';\r\nimport { DealerInventorySettingDto } from '../models/dealer-inventory-setting-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerSettingClientService extends __BaseService {\r\n static readonly ByDealeridGETPath = '/api/DealerSetting/{dealerId}';\r\n static readonly GetDealerSmtpSettingByDealeridGETPath = '/api/DealerSetting/GetDealerSmtpSetting/{dealerId}';\r\n static readonly DealerSettingChangedPOSTPath = '/api/DealerSetting/DealerSettingChanged';\r\n static readonly GetDealerOutboundEmailProviderInfoByDealeridGETPath = '/api/DealerSetting/GetDealerOutboundEmailProviderInfo/{dealerId}';\r\n static readonly GetDealerSettingAllByDealeridGETPath = '/api/DealerSetting/GetDealerSettingAll/{dealerId}';\r\n static readonly UpdateDealerSettingAllPOSTPath = '/api/DealerSetting/UpdateDealerSettingAll';\r\n static readonly SendTestAdfEmailPOSTPath = '/api/DealerSetting/SendTestAdfEmail';\r\n static readonly GetTextNumbersByDealeridGETPath = '/api/DealerSetting/GetTextNumbers/{dealerId}';\r\n static readonly UseLegacyDealerSettingsPageGETPath = '/api/DealerSetting/UseLegacyDealerSettings';\r\n static readonly UpdateInventoryDealerSettingByDealerIdAsyncPOSTPath = '/api/DealerSetting/UpdateInventoryDealerSettingByDealerId';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n ByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerSetting/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n ByDealeridGET(dealerId: number): __Observable {\r\n return this.ByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as DealerSettingDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerSmtpSettingByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerSetting/GetDealerSmtpSetting/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerSmtpSettingByDealeridGET(dealerId: number): __Observable {\r\n return this.GetDealerSmtpSettingByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as DealerSmtpSettingSelectionDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n */\r\n DealerSettingChangedPOSTResponse(dealerId?: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (dealerId != null) __params = __params.set('dealerId', dealerId.toString());\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerSetting/DealerSettingChanged`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n */\r\n DealerSettingChangedPOST(dealerId?: number): __Observable {\r\n return this.DealerSettingChangedPOSTResponse(dealerId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerOutboundEmailProviderInfoByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerSetting/GetDealerOutboundEmailProviderInfo/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerOutboundEmailProviderInfoByDealeridGET(dealerId: number): __Observable {\r\n return this.GetDealerOutboundEmailProviderInfoByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerSettingAllByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerSetting/GetDealerSettingAll/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetDealerSettingAllByDealeridGET(dealerId: number): __Observable {\r\n return this.GetDealerSettingAllByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as DealerSettingResponseDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param dsa undefined\r\n * @return Success\r\n */\r\n UpdateDealerSettingAllPOSTResponse(dsa?: DealerSettingRequestDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = dsa;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerSetting/UpdateDealerSettingAll`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param dsa undefined\r\n * @return Success\r\n */\r\n UpdateDealerSettingAllPOST(dsa?: DealerSettingRequestDto): __Observable {\r\n return this.UpdateDealerSettingAllPOSTResponse(dsa).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n SendTestAdfEmailPOSTResponse(request?: DealerSettingSendTestAdfRequest): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerSetting/SendTestAdfEmail`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n SendTestAdfEmailPOST(request?: DealerSettingSendTestAdfRequest): __Observable {\r\n return this.SendTestAdfEmailPOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `DealerSettingClientService.GetTextNumbersByDealeridGETParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `stateCode`:\r\n *\r\n * - `areaCode`:\r\n *\r\n * @return Success\r\n */\r\n GetTextNumbersByDealeridGETResponse(params: DealerSettingClientService.GetTextNumbersByDealeridGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n if (params.stateCode != null) __params = __params.set('stateCode', params.stateCode.toString());\r\n if (params.areaCode != null) __params = __params.set('areaCode', params.areaCode.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerSetting/GetTextNumbers/${params.dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerSettingClientService.GetTextNumbersByDealeridGETParams` containing the following parameters:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `stateCode`:\r\n *\r\n * - `areaCode`:\r\n *\r\n * @return Success\r\n */\r\n GetTextNumbersByDealeridGET(params: DealerSettingClientService.GetTextNumbersByDealeridGETParams): __Observable> {\r\n return this.GetTextNumbersByDealeridGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n UseLegacyDealerSettingsPageGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerSetting/UseLegacyDealerSettings`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: (_r as HttpResponse).body === 'true' }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n UseLegacyDealerSettingsPageGET(): __Observable {\r\n return this.UseLegacyDealerSettingsPageGETResponse().pipe(\r\n __map(_r => _r.body as boolean)\r\n );\r\n }\r\n\r\n /**\r\n * @param inventoryDealerSettingDto undefined\r\n * @return Success\r\n */\r\n UpdateInventoryDealerSettingByDealerIdAsyncPOSTResponse(inventoryDealerSettingDto?: DealerInventorySettingDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = inventoryDealerSettingDto;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerSetting/UpdateInventoryDealerSettingByDealerId`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param inventoryDealerSettingDto undefined\r\n * @return Success\r\n */\r\n UpdateInventoryDealerSettingByDealerIdAsyncPOST(inventoryDealerSettingDto?: DealerInventorySettingDto): __Observable {\r\n return this.UpdateInventoryDealerSettingByDealerIdAsyncPOSTResponse(inventoryDealerSettingDto).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerSettingClientService {\r\n\r\n /**\r\n * Parameters for GetTextNumbersByDealeridGET\r\n */\r\n export interface GetTextNumbersByDealeridGETParams {\r\n dealerId: number;\r\n stateCode?: string;\r\n areaCode?: number;\r\n }\r\n}\r\n\r\nexport { DealerSettingClientService }\r\n","var path = '/app/components/service-drive/modals/service-drive-offers-filter.modal.component.html';\nvar html = \"

{{$item.prop + 'Name' | translate}}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = require('./_export');\nvar toISOString = require('./_date-to-iso-string');\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {\n toISOString: toISOString\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar services_1 = require(\"../../../../generated/services\");\nvar TradeInValueComponent = /** @class */ (function () {\n function TradeInValueComponent(elementRef, injector, vehicleUserTradeValueClientService) {\n this.vehicleUserTradeValueClientService = vehicleUserTradeValueClientService;\n this.tradeValueChange = new core_1.EventEmitter();\n this.hasChanged = false;\n }\n TradeInValueComponent.prototype.onValueChange = function (value) {\n this.validate(value);\n this.tradeValueChange.emit({ tradeValue: this.value, logged: this.hasChanged });\n if (this.hasChanged) {\n this.hasChanged = false;\n }\n };\n TradeInValueComponent.prototype.onStoreTradeValue = function (value) {\n this.validate(value);\n if (this.vehicle && this.vehicle.tradeValue != value) {\n var params = { dealerid: this.vehicle.dealerID, vehicleid: this.vehicle.vehicleID, tradevalue: value };\n this.vehicleUserTradeValueClientService.StoreVehicleUserTradeValueResponse(params).toPromise();\n this.tradeValueChange.emit({ tradeValue: this.value, logged: this.hasChanged });\n if (this.hasChanged) {\n this.hasChanged = false;\n }\n }\n };\n TradeInValueComponent.prototype.tradeOnKeyPress = function (event) {\n if (event.which === 13) {\n this.tradeValueChange.emit({ tradeValue: this.value, logged: this.hasChanged });\n }\n };\n TradeInValueComponent.prototype.update = function (source) {\n this.validate(source);\n this.hasChanged = true;\n };\n // vlidate input to number only\n TradeInValueComponent.prototype.validate = function (source) {\n if (source == '') {\n this.value = 0;\n return;\n }\n if (!source) {\n this.value = 0;\n return;\n }\n source = source + '';\n source = source.trim();\n source = source.replace(/[^0-9]/g, '');\n this.value = parseInt(source);\n };\n return TradeInValueComponent;\n}());\nexports.TradeInValueComponent = TradeInValueComponent;\n","import { Component, ElementRef, Injector, Input, Output, EventEmitter } from '@angular/core';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { VehicleUserTradeValueClientService } from '../../../../generated/services';\r\nimport { StoreVehicleUserTradeValueDto } from '../../../../generated/models';\r\n@Component({\r\n selector: 'trade-in-value',\r\n templateUrl: './trade-in-value.component-ng.html',\r\n styleUrls: ['./trade-in-value.component.scss']\r\n})\r\nexport class TradeInValueComponent {\r\n @Input() vehicle: any;\r\n @Input() value: number;\r\n @Input() showAdjustment: boolean;\r\n @Input() mileageAdjustment: any;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() inputName: string;\r\n @Output() tradeValueChange = new EventEmitter();\r\n @Input() readonly: boolean\r\n private hasChanged: boolean = false;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector, private vehicleUserTradeValueClientService: VehicleUserTradeValueClientService,) {\r\n }\r\n\r\n public onValueChange(value) {\r\n this.validate(value);\r\n this.tradeValueChange.emit({ tradeValue: this.value, logged: this.hasChanged });\r\n if (this.hasChanged) {\r\n this.hasChanged = false;\r\n }\r\n }\r\n \r\n public onStoreTradeValue(value) {\r\n this.validate(value);\r\n if (this.vehicle && this.vehicle.tradeValue != value) {\r\n const params: StoreVehicleUserTradeValueDto = { dealerid: this.vehicle.dealerID, vehicleid: this.vehicle.vehicleID, tradevalue: value };\r\n this.vehicleUserTradeValueClientService.StoreVehicleUserTradeValueResponse(params).toPromise();\r\n\r\n this.tradeValueChange.emit({ tradeValue: this.value, logged: this.hasChanged });\r\n if (this.hasChanged) {\r\n this.hasChanged = false;\r\n }\r\n }\r\n }\r\n\r\n public tradeOnKeyPress(event) {\r\n if (event.which === 13) {\r\n this.tradeValueChange.emit({ tradeValue: this.value, logged: this.hasChanged });\r\n }\r\n }\r\n\r\n public update(source) {\r\n this.validate(source);\r\n this.hasChanged = true;\r\n }\r\n\r\n // vlidate input to number only\r\n private validate(source) {\r\n if (source == '') { this.value = 0; return; }\r\n if (!source) { this.value = 0; return; }\r\n source = source + '';\r\n source = source.trim();\r\n source = source.replace(/[^0-9]/g, '');\r\n this.value = parseInt(source);\r\n }\r\n}","var path = '/app/components/search/ui-checkboxlist.component.html';\nvar html = \"
{{ $ctrl.titleKey | translate }}
{{ $ctrl.displayNameKey | translate }}
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/alert-script.component.html';\nvar html = \"

{{$ctrl.opportunity.customer.fullName}}\\\" translate-value-user-full-name=\\\"{{$ctrl.userFullName}}\\\" translate-value-logged-user=\\\"{{$ctrl.isCrossMake || $ctrl.opportunity.dealer.name ? $ctrl.opportunity.dealer.name : $ctrl.opportunity.currentVehicle.makeName}}\\\" translate-value-make=\\\"{{$ctrl.opportunity.currentVehicle.makeName}}\\\" translate-value-replacement-model=\\\"{{$ctrl.opportunity.replacementVehicle.modelName}}\\\" translate-value-existing-model=\\\"{{$ctrl.opportunity.currentVehicle.modelName }}\\\" translate-value-payments-left=\\\" {{$ctrl.opportunity.currentContract.paymentsRemaining}}\\\" translate-value-year=\\\"{{$ctrl.opportunity.currentVehicle.yearID ? $ctrl.opportunity.currentVehicle.yearID : 'unknown' | translate}}\\\" translate-value-trim=\\\"{{$ctrl.opportunity.currentVehicle.trimFullName}}\\\" translate-value-short-vin=\\\"{{$ctrl.opportunity.currentVehicle.vin | limitTo:-8}}\\\" translate-value-current-payment=\\\"{{$ctrl.opportunity.currentContract.payment | localeCurrency}}\\\" translate-value-current-mileage-penalty=\\\"{{$ctrl.opportunity.currentContract.currentMileagePenalty | localeCurrency}}\\\" translate-value-new-or-newer=\\\"{{($ctrl.opportunity.replacementVehicle.vehicleType == $ctrl.vehicleTypes.new ? 'new' : 'newer') | localeCurrency}}\\\" translate-value-projected-mileage-penalty=\\\"{{$ctrl.opportunity.currentContract.estimatedMileagePenalty | localeCurrency}}\\\" translate-value-current-mileage=\\\"{{$ctrl.opportunity.currentVehicle.odometer | localeNumber}}\\\" translate-value-allowed-mileage=\\\"{{$ctrl.opportunity.currentContract.allowedMileage | localeNumber}}\\\" translate-value-projected-mileage=\\\"{{$ctrl.opportunity.currentContract.estimatedMaturityMileage | localeNumber}}\\\" translate-value-last-odemeter-read=\\\"{{$ctrl.opportunity.currentContract.estimatedCurrentMileage | localeNumber}}\\\" translate-value-credit-preapproval-amount=\\\"{{ ($ctrl.opportunity.creditPreApproval != null ? $ctrl.opportunity.creditPreApproval.approvalAmount : '(unknown)') | localeCurrency}}\\\" translate-value-factory-rebate-amount=\\\"{{ $ctrl.opportunity.replacementContract.factoryRebate | localeCurrency }}\\\" translate-value-replacement-trim-full=\\\"{{$ctrl.opportunity.replacementVehicle.trimFullName}}\\\" translate-value-replacement-year=\\\"{{$ctrl.opportunity.replacementVehicle.yearID}}\\\" translate-value-private-offer-amount=\\\"{{ ($ctrl.opportunity.privateOfferInfo != null ? $ctrl.opportunity.privateOfferInfo.privateOfferAmount : '(unknown)') | localeCurrency}}\\\">

\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = __webpack_public_path__ + \"autoalert-logo-ford.3f4370dc5f325590ae1a.png\";","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","module.exports = \"dealer-dropdown-style {\\n padding: 10px 0 0 10px;\\n float: left;\\n font-size: 11pt;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9DOlxcQXV0b0FsZXJ0XFx3b3Jrc3BhY2VcXEFsZXJ0TWluZXItUG9ydGFsX3JlbGVhc2VfNi42My4wXFxBdXRvQWxlcnQuUG9ydGFsLk9wcG9ydHVuaXRpZXMvc3JjXFxhcHBcXGNvbXBvbmVudHNcXGRlYWxlci1kcm9wZG93bi5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvY29tcG9uZW50cy9kZWFsZXItZHJvcGRvd24uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0E7RUFDSSx1QkFBQTtFQUNBLFlBQUE7RUFDQSxnQkFBQTtDQ0FIIiwiZmlsZSI6InNyYy9hcHAvY29tcG9uZW50cy9kZWFsZXItZHJvcGRvd24uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJcclxuZGVhbGVyLWRyb3Bkb3duLXN0eWxlIHtcclxuICAgIHBhZGRpbmc6IDEwcHggMCAwIDEwcHg7XHJcbiAgICBmbG9hdDogbGVmdDtcclxuICAgIGZvbnQtc2l6ZTogMTFwdDtcclxufVxyXG4iLCJkZWFsZXItZHJvcGRvd24tc3R5bGUge1xuICBwYWRkaW5nOiAxMHB4IDAgMCAxMHB4O1xuICBmbG9hdDogbGVmdDtcbiAgZm9udC1zaXplOiAxMXB0O1xufSJdfQ== */\"","module.exports = \".search-add-access-modal .modal-dialog {\\n width: 700px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1hZGQtYWNjZXNzLW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3NlYXJjaC9zZWFyY2gtYWRkLWFjY2Vzcy1tb2RhbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNJLGFBQUE7Q0NESCIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvc2VhcmNoL3NlYXJjaC1hZGQtYWNjZXNzLW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCBcIi4uLy4uL3N0eWxlcy9hYS12YXJpYWJsZXNcIjtcclxuXHJcbi5zZWFyY2gtYWRkLWFjY2Vzcy1tb2RhbCAubW9kYWwtZGlhbG9nIHtcclxuICAgIHdpZHRoOiA3MDBweDtcclxufVxyXG5cclxuIiwiLnNlYXJjaC1hZGQtYWNjZXNzLW1vZGFsIC5tb2RhbC1kaWFsb2cge1xuICB3aWR0aDogNzAwcHg7XG59Il19 */\"","var path = '/app/components/portal-footer.component.html';\nvar html = \"
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealSheetClientService = /** @class */ (function (_super) {\n __extends(DealSheetClientService, _super);\n function DealSheetClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @return Success\n */\n DealSheetClientService.prototype.UserDealSheetHistoryGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealSheet/History\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @return Success\n */\n DealSheetClientService.prototype.UserDealSheetHistoryGET = function () {\n return this.UserDealSheetHistoryGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param model undefined\n */\n DealSheetClientService.prototype.CalculatePaymentsPOSTResponse = function (model) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = model;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealSheet/CalculatePayments\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param model undefined\n */\n DealSheetClientService.prototype.CalculatePaymentsPOST = function (model) {\n return this.CalculatePaymentsPOSTResponse(model).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param entityId undefined\n */\n DealSheetClientService.prototype.GetDealHistoryByEntityidPOSTResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/DealSheet/GetDealHistory/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n DealSheetClientService.prototype.GetDealHistoryByEntityidPOST = function (entityId) {\n return this.GetDealHistoryByEntityidPOSTResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `DealSheetClientService.CustomerEngagementHistoryGETParams` containing the following parameters:\n *\n * - `lastViewedDate`:\n *\n * - `dateTo`:\n *\n * - `dateFrom`:\n *\n * @return Success\n */\n DealSheetClientService.prototype.CustomerEngagementHistoryGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.lastViewedDate != null)\n __params = __params.set('lastViewedDate', params.lastViewedDate.toString());\n if (params.dateTo != null)\n __params = __params.set('dateTo', params.dateTo.toString());\n if (params.dateFrom != null)\n __params = __params.set('dateFrom', params.dateFrom.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealSheet/CustomerEngagementHistory\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `DealSheetClientService.CustomerEngagementHistoryGETParams` containing the following parameters:\n *\n * - `lastViewedDate`:\n *\n * - `dateTo`:\n *\n * - `dateFrom`:\n *\n * @return Success\n */\n DealSheetClientService.prototype.CustomerEngagementHistoryGET = function (params) {\n return this.CustomerEngagementHistoryGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n DealSheetClientService.prototype.CustomerEngagementsByEntityPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealSheet/CustomerEngagementsByEntity\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n DealSheetClientService.prototype.CustomerEngagementsByEntityPOST = function (request) {\n return this.CustomerEngagementsByEntityPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealSheetClientService.prototype.HasReviewProDealerGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealSheet/HasReviewProDealer\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n DealSheetClientService.prototype.HasReviewProDealerGET = function () {\n return this.HasReviewProDealerGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n DealSheetClientService.prototype.CustomerEngagementDashboardPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealSheet/CustomerEngagementDashboard\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n DealSheetClientService.prototype.CustomerEngagementDashboardPOST = function (request) {\n return this.CustomerEngagementDashboardPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealSheetClientService.prototype.GetCustomerEngagementLastViewedGETResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealSheet/CustomerEngagementLastViewed\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n DealSheetClientService.prototype.GetCustomerEngagementLastViewedGET = function () {\n return this.GetCustomerEngagementLastViewedGETResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealSheetClientService.prototype.UpdateCustomerEngagementLastViewedPOSTResponse = function () {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealSheet/CustomerEngagementLastViewed\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n DealSheetClientService.prototype.UpdateCustomerEngagementLastViewedPOST = function () {\n return this.UpdateCustomerEngagementLastViewedPOSTResponse().pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealSheetClientService.UserDealSheetHistoryGETPath = '/api/DealSheet/History';\n DealSheetClientService.CalculatePaymentsPOSTPath = '/api/DealSheet/CalculatePayments';\n DealSheetClientService.GetDealHistoryByEntityidPOSTPath = '/api/DealSheet/GetDealHistory/{entityId}';\n DealSheetClientService.CustomerEngagementHistoryGETPath = '/api/DealSheet/CustomerEngagementHistory';\n DealSheetClientService.CustomerEngagementsByEntityPOSTPath = '/api/DealSheet/CustomerEngagementsByEntity';\n DealSheetClientService.HasReviewProDealerGETPath = '/api/DealSheet/HasReviewProDealer';\n DealSheetClientService.CustomerEngagementDashboardPOSTPath = '/api/DealSheet/CustomerEngagementDashboard';\n DealSheetClientService.GetCustomerEngagementLastViewedGETPath = '/api/DealSheet/CustomerEngagementLastViewed';\n DealSheetClientService.UpdateCustomerEngagementLastViewedPOSTPath = '/api/DealSheet/CustomerEngagementLastViewed';\n DealSheetClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealSheetClientService_Factory() { return new DealSheetClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealSheetClientService, providedIn: \"root\" });\n return DealSheetClientService;\n}(base_service_1.BaseService));\nexports.DealSheetClientService = DealSheetClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealSheetHistoryDto } from '../models/deal-sheet-history-dto';\r\nimport { CalculationParamModel } from '../models/calculation-param-model';\r\nimport { Usp_GetCustomerEngagementData_ResponseDto } from '../models/usp-_get-customer-engagement-data-_response-dto';\r\nimport { Usp_GetCustomerEngagementsByEntityData_ResponseDto } from '../models/usp-_get-customer-engagements-by-entity-data-_response-dto';\r\nimport { Usp_GetCustomerEngagementsByEntityData_RequestDto } from '../models/usp-_get-customer-engagements-by-entity-data-_request-dto';\r\nimport { Usp_GetCustomerEngagementDashboardDto } from '../models/usp-_get-customer-engagement-dashboard-dto';\r\nimport { Usp_GetCustomerEngagementDashboard_RequestDto } from '../models/usp-_get-customer-engagement-dashboard-_request-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealSheetClientService extends __BaseService {\r\n static readonly UserDealSheetHistoryGETPath = '/api/DealSheet/History';\r\n static readonly CalculatePaymentsPOSTPath = '/api/DealSheet/CalculatePayments';\r\n static readonly GetDealHistoryByEntityidPOSTPath = '/api/DealSheet/GetDealHistory/{entityId}';\r\n static readonly CustomerEngagementHistoryGETPath = '/api/DealSheet/CustomerEngagementHistory';\r\n static readonly CustomerEngagementsByEntityPOSTPath = '/api/DealSheet/CustomerEngagementsByEntity';\r\n static readonly HasReviewProDealerGETPath = '/api/DealSheet/HasReviewProDealer';\r\n static readonly CustomerEngagementDashboardPOSTPath = '/api/DealSheet/CustomerEngagementDashboard';\r\n static readonly GetCustomerEngagementLastViewedGETPath = '/api/DealSheet/CustomerEngagementLastViewed';\r\n static readonly UpdateCustomerEngagementLastViewedPOSTPath = '/api/DealSheet/CustomerEngagementLastViewed';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @return Success\r\n */\r\n UserDealSheetHistoryGETResponse(): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealSheet/History`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @return Success\r\n */\r\n UserDealSheetHistoryGET(): __Observable> {\r\n return this.UserDealSheetHistoryGETResponse().pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param model undefined\r\n */\r\n CalculatePaymentsPOSTResponse(model?: CalculationParamModel): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = model;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealSheet/CalculatePayments`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param model undefined\r\n */\r\n CalculatePaymentsPOST(model?: CalculationParamModel): __Observable {\r\n return this.CalculatePaymentsPOSTResponse(model).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetDealHistoryByEntityidPOSTResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealSheet/GetDealHistory/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n GetDealHistoryByEntityidPOST(entityId: string): __Observable {\r\n return this.GetDealHistoryByEntityidPOSTResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `DealSheetClientService.CustomerEngagementHistoryGETParams` containing the following parameters:\r\n *\r\n * - `lastViewedDate`:\r\n *\r\n * - `dateTo`:\r\n *\r\n * - `dateFrom`:\r\n *\r\n * @return Success\r\n */\r\n CustomerEngagementHistoryGETResponse(params: DealSheetClientService.CustomerEngagementHistoryGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.lastViewedDate != null) __params = __params.set('lastViewedDate', params.lastViewedDate.toString());\r\n if (params.dateTo != null) __params = __params.set('dateTo', params.dateTo.toString());\r\n if (params.dateFrom != null) __params = __params.set('dateFrom', params.dateFrom.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealSheet/CustomerEngagementHistory`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealSheetClientService.CustomerEngagementHistoryGETParams` containing the following parameters:\r\n *\r\n * - `lastViewedDate`:\r\n *\r\n * - `dateTo`:\r\n *\r\n * - `dateFrom`:\r\n *\r\n * @return Success\r\n */\r\n CustomerEngagementHistoryGET(params: DealSheetClientService.CustomerEngagementHistoryGETParams): __Observable> {\r\n return this.CustomerEngagementHistoryGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CustomerEngagementsByEntityPOSTResponse(request?: Usp_GetCustomerEngagementsByEntityData_RequestDto): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealSheet/CustomerEngagementsByEntity`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CustomerEngagementsByEntityPOST(request?: Usp_GetCustomerEngagementsByEntityData_RequestDto): __Observable> {\r\n return this.CustomerEngagementsByEntityPOSTResponse(request).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n HasReviewProDealerGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealSheet/HasReviewProDealer`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n } HasReviewProDealerGET(): __Observable {\r\n return this.HasReviewProDealerGETResponse().pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CustomerEngagementDashboardPOSTResponse(request?: Usp_GetCustomerEngagementDashboard_RequestDto): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealSheet/CustomerEngagementDashboard`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n CustomerEngagementDashboardPOST(request?: Usp_GetCustomerEngagementDashboard_RequestDto): __Observable> {\r\n return this.CustomerEngagementDashboardPOSTResponse(request).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n GetCustomerEngagementLastViewedGETResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealSheet/CustomerEngagementLastViewed`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n } GetCustomerEngagementLastViewedGET(): __Observable {\r\n return this.GetCustomerEngagementLastViewedGETResponse().pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n UpdateCustomerEngagementLastViewedPOSTResponse(): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealSheet/CustomerEngagementLastViewed`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n } UpdateCustomerEngagementLastViewedPOST(): __Observable {\r\n return this.UpdateCustomerEngagementLastViewedPOSTResponse().pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule DealSheetClientService {\r\n\r\n /**\r\n * Parameters for CustomerEngagementHistoryGET\r\n */\r\n export interface CustomerEngagementHistoryGETParams {\r\n lastViewedDate?: string;\r\n dateTo?: string;\r\n dateFrom?: string;\r\n }\r\n}\r\n\r\nexport { DealSheetClientService }\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Named ActivityActionEnum to match the name in c# AutoAlert.AlertMiner.ServiceContract\nexports.ActivityActionEnum = {\n Post_Note: 1,\n Log_Call: 2,\n Schedule_Call: 3,\n Schedule_Appt: 4,\n Phone_Call_Completed: 5,\n Appointment_Completed: 6,\n Expire_Phone_Call: 7,\n Expire_Appointment: 8,\n Email_Sent: 9,\n Reschedule_Call: 10,\n Reschedule_Appt: 11,\n Reassign_Call: 12,\n Reassign_Appt: 13,\n Cancel_Call: 14,\n Cancel_Appt: 15,\n Pushed_To_Compass: 16,\n Email_Template_Sent: 17,\n Manual_Push_To_CRM: 18\n};\n","// Named ActivityActionEnum to match the name in c# AutoAlert.AlertMiner.ServiceContract\r\nexport const ActivityActionEnum = {\r\n Post_Note: 1,\r\n Log_Call: 2,\r\n Schedule_Call: 3,\r\n Schedule_Appt: 4,\r\n Phone_Call_Completed: 5,\r\n Appointment_Completed: 6,\r\n Expire_Phone_Call: 7,\r\n Expire_Appointment: 8,\r\n Email_Sent: 9,\r\n Reschedule_Call: 10,\r\n Reschedule_Appt: 11,\r\n Reassign_Call: 12,\r\n Reassign_Appt: 13,\r\n Cancel_Call: 14,\r\n Cancel_Appt: 15,\r\n Pushed_To_Compass: 16,\r\n Email_Template_Sent: 17,\r\n Manual_Push_To_CRM: 18\r\n};\r\n","var path = '/app/components/reports/reports.component.html';\nvar html = \"
 
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 20.1.2.1 Number.EPSILON\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./payoff-input-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-currency.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"@angular/forms\"));\nvar i6 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i7 = __importStar(require(\"../../../icon/icon.component\"));\nvar i8 = __importStar(require(\"@angular/platform-browser\"));\nvar i9 = __importStar(require(\"../../../../directives/min.directive\"));\nvar i10 = __importStar(require(\"../../../date-input/date-input.component.ngfactory\"));\nvar i11 = __importStar(require(\"../../../date-input/date-input.component\"));\nvar i12 = __importStar(require(\"../../../../services/date-format.service\"));\nvar i13 = __importStar(require(\"@angular/common\"));\nvar i14 = __importStar(require(\"./payoff-input-modal.component\"));\nvar i15 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar styles_PayoffInputModalComponent = [i0.styles];\nvar RenderType_PayoffInputModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PayoffInputModalComponent, data: {} });\nexports.RenderType_PayoffInputModalComponent = RenderType_PayoffInputModalComponent;\nfunction View_PayoffInputModalComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"form-group row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 3, \"span\", [[\"class\", \"error\"], [\"translate\", \"payoffAmountWarning\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(4, 1), i1.ɵpod(5, { amount: 0 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"payoffAmountWarning\"; var currVal_1 = _ck(_v, 5, 0, i1.ɵunv(_v, 3, 1, _ck(_v, 4, 0, i1.ɵnov(_v.parent, 0), _co.minValidValue))); _ck(_v, 3, 0, currVal_0, currVal_1); }, null); }\nfunction View_PayoffInputModalComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"form-group row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"class\", \"error\"], [\"translate\", \"dateOutOfRange\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"dateOutOfRange\"; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PayoffInputModalComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"row form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-12\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"span\", [[\"class\", \"error\"], [\"translate\", \"invalidDateFormat\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"invalidDateFormat\"; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PayoffInputModalComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocaleCurrencyPipe, [i4.StorageService]), i1.ɵqud(671088640, 1, { payoffForm: 0 }), (_l()(), i1.ɵeld(2, 0, null, null, 44, \"div\", [[\"class\", \"modal-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 43, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngSubmit\"], [null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"submit\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onReset() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngSubmit\" === en)) {\n var pd_2 = (_co.savePayoff(i1.ɵnov(_v, 5)) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i5.ɵangular_packages_forms_forms_z, [], null, null), i1.ɵdid(5, 4210688, [[1, 4], [\"payoffForm\", 4]], 0, i5.NgForm, [[8, null], [8, null]], null, { ngSubmit: \"ngSubmit\" }), i1.ɵprd(2048, null, i5.ControlContainer, null, [i5.NgForm]), i1.ɵdid(7, 16384, null, 0, i5.NgControlStatusGroup, [[4, i5.ControlContainer]], null, null), (_l()(), i1.ɵeld(8, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"h5\", [[\"class\", \"modal-title\"], [\"translate\", \"payoffEdit\"]], null, null, null, null, null)), i1.ɵdid(11, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i6.View_IconComponent_0, i6.RenderType_IconComponent)), i1.ɵdid(15, 638976, null, 0, i7.IconComponent, [i8.DomSanitizer], null, null), (_l()(), i1.ɵeld(16, 0, null, null, 25, \"div\", [[\"class\", \"modal-body form-horizontal\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 18, \"div\", [[\"class\", \"row form-group\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 12, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"label\", [[\"translate\", \"amount\"]], null, null, null, null, null)), i1.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(21, 0, null, null, 9, \"input\", [[\"autofocus\", \"\"], [\"class\", \"form-control\"], [\"id\", \"payoffAmount\"], [\"name\", \"payoffAmount\"], [\"required\", \"\"], [\"type\", \"number\"]], [[1, \"required\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 22)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 22).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 22)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 22)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 23).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 23).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 23).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_7 = ((_co.payoffAmount = $event) !== false);\n ad = (pd_7 && ad);\n } if ((\"change\" === en)) {\n var pd_8 = (_co.setShowAmountMsg() !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i1.ɵdid(22, 16384, null, 0, i5.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i5.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(23, 16384, null, 0, i5.NumberValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵdid(24, 16384, null, 0, i5.RequiredValidator, [], { required: [0, \"required\"] }, null), i1.ɵdid(25, 16384, null, 0, i9.MinDirective, [], { min: [0, \"min\"] }, null), i1.ɵprd(1024, null, i5.NG_VALIDATORS, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.RequiredValidator, i9.MinDirective]), i1.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.DefaultValueAccessor, i5.NumberValueAccessor]), i1.ɵdid(28, 671744, null, 0, i5.NgModel, [[2, i5.ControlContainer], [6, i5.NG_VALIDATORS], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i1.ɵdid(30, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i1.ɵeld(31, 0, null, null, 4, \"div\", [[\"class\", \"col-sm-6\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 1, \"label\", [[\"translate\", \"goodThrough\"]], null, null, null, null, null)), i1.ɵdid(33, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(34, 0, null, null, 1, \"date-input\", [], null, [[null, \"onInput\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"onInput\" === en)) {\n var pd_0 = (_co.setGoodThroughDate($event.date, $event.model) !== false);\n ad = (pd_0 && ad);\n } return ad; }, i10.View_DateInputComponent_0, i10.RenderType_DateInputComponent)), i1.ɵdid(35, 638976, null, 0, i11.DateInputComponent, [i12.DateFormatService, i5.FormBuilder, i1.Renderer2], { options: [0, \"options\"], required: [1, \"required\"] }, { onInput: \"onInput\" }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PayoffInputModalComponent_1)), i1.ɵdid(37, 16384, null, 0, i13.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PayoffInputModalComponent_2)), i1.ɵdid(39, 16384, null, 0, i13.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PayoffInputModalComponent_3)), i1.ɵdid(41, 16384, null, 0, i13.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(42, 0, null, null, 4, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(43, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(44, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(45, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"submit\"], [\"type\", \"submit\"]], [[8, \"disabled\", 0]], null, null, null, null)), i1.ɵdid(46, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = \"payoffEdit\"; _ck(_v, 11, 0, currVal_7); _ck(_v, 15, 0); var currVal_8 = \"amount\"; _ck(_v, 20, 0, currVal_8); var currVal_17 = \"\"; _ck(_v, 24, 0, currVal_17); var currVal_18 = _co.minValidValue; _ck(_v, 25, 0, currVal_18); var currVal_19 = \"payoffAmount\"; var currVal_20 = _co.payoffAmount; _ck(_v, 28, 0, currVal_19, currVal_20); var currVal_21 = \"goodThrough\"; _ck(_v, 33, 0, currVal_21); var currVal_22 = _co.dateOptions; var currVal_23 = false; _ck(_v, 35, 0, currVal_22, currVal_23); var currVal_24 = _co.showAmountMsg; _ck(_v, 37, 0, currVal_24); var currVal_25 = ((((_co.goodThroughDateModel == null) ? null : _co.goodThroughDateModel.dirty) && ((_co.goodThroughDateModel == null) ? null : ((_co.goodThroughDateModel.errors == null) ? null : _co.goodThroughDateModel.errors.minDate))) || ((_co.goodThroughDateModel == null) ? null : ((_co.goodThroughDateModel.errors == null) ? null : _co.goodThroughDateModel.errors.maxDate))); _ck(_v, 39, 0, currVal_25); var currVal_26 = ((((_co.goodThroughDateModel == null) ? null : _co.goodThroughDateModel.invalid) && !((_co.goodThroughDateModel == null) ? null : ((_co.goodThroughDateModel.errors == null) ? null : _co.goodThroughDateModel.errors.minDate))) && !((_co.goodThroughDateModel == null) ? null : ((_co.goodThroughDateModel.errors == null) ? null : _co.goodThroughDateModel.errors.maxDate))); _ck(_v, 41, 0, currVal_26); var currVal_27 = \"cancel\"; _ck(_v, 44, 0, currVal_27); var currVal_29 = \"submit\"; _ck(_v, 46, 0, currVal_29); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 7).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 7).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 7).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 7).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 7).ngClassValid; var currVal_5 = i1.ɵnov(_v, 7).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 7).ngClassPending; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_9 = (i1.ɵnov(_v, 24).required ? \"\" : null); var currVal_10 = i1.ɵnov(_v, 30).ngClassUntouched; var currVal_11 = i1.ɵnov(_v, 30).ngClassTouched; var currVal_12 = i1.ɵnov(_v, 30).ngClassPristine; var currVal_13 = i1.ɵnov(_v, 30).ngClassDirty; var currVal_14 = i1.ɵnov(_v, 30).ngClassValid; var currVal_15 = i1.ɵnov(_v, 30).ngClassInvalid; var currVal_16 = i1.ɵnov(_v, 30).ngClassPending; _ck(_v, 21, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16); var currVal_28 = (!i1.ɵnov(_v, 5).form.valid || !((_co.goodThroughDateModel == null) ? null : _co.goodThroughDateModel.valid)); _ck(_v, 45, 0, currVal_28); }); }\nexports.View_PayoffInputModalComponent_0 = View_PayoffInputModalComponent_0;\nfunction View_PayoffInputModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"payoff-input-modal\", [], null, null, null, View_PayoffInputModalComponent_0, RenderType_PayoffInputModalComponent)), i1.ɵdid(1, 4308992, null, 0, i14.PayoffInputModalComponent, [i15.BsModalRef, i2.TranslateService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_PayoffInputModalComponent_Host_0 = View_PayoffInputModalComponent_Host_0;\nvar PayoffInputModalComponentNgFactory = i1.ɵccf(\"payoff-input-modal\", i14.PayoffInputModalComponent, View_PayoffInputModalComponent_Host_0, { minPayoff: \"minPayoff\" }, { onSaveChanges: \"onSaveChanges\" }, []);\nexports.PayoffInputModalComponentNgFactory = PayoffInputModalComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
","'use strict';\n// B.2.3.4 String.prototype.blink()\nrequire('./_string-html')('blink', function (createHTML) {\n return function blink() {\n return createHTML(this, 'blink', '', '');\n };\n});\n","var path = '/app/components/deal-sheet/report-discrepancy-action.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".contact-info[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}\"];\nexports.styles = styles;\n","module.exports = \"\"","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./customer-connect-actions.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"@ngx-translate/core\"));\nvar i4 = __importStar(require(\"@angular/common\"));\nvar i5 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i6 = __importStar(require(\"../../../icon/icon.component\"));\nvar i7 = __importStar(require(\"@angular/platform-browser\"));\nvar i8 = __importStar(require(\"../../email-template-action/email-template-action.component\"));\nvar i9 = __importStar(require(\"../../text-action/text-action.component.ngfactory\"));\nvar i10 = __importStar(require(\"../../text-action/text-action.component\"));\nvar i11 = __importStar(require(\"../../../../services/user.service\"));\nvar i12 = __importStar(require(\"../../../../core/toaster-logger.service\"));\nvar i13 = __importStar(require(\"../../../../services/notification.service\"));\nvar i14 = __importStar(require(\"../../../../services/authorization.service\"));\nvar i15 = __importStar(require(\"../../../../services/text-message.service\"));\nvar i16 = __importStar(require(\"../../../../filters/locale-date-time.pipe\"));\nvar i17 = __importStar(require(\"../../../../ajs-upgraded-providers\"));\nvar i18 = __importStar(require(\"./customer-connect-actions.component\"));\nvar i19 = __importStar(require(\"../../../../services/log-action-shortcut.service\"));\nvar styles_CustomerConnectActionsComponent = [i0.styles];\nvar RenderType_CustomerConnectActionsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CustomerConnectActionsComponent, data: {} });\nexports.RenderType_CustomerConnectActionsComponent = RenderType_CustomerConnectActionsComponent;\nfunction View_CustomerConnectActionsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"wide-tools\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 5, \"input\", [[\"id\", \"doNotCall\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 2).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 2).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = (_co.onDonotCallChange(_co.doNotCall) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(2, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(4, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(6, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"label\", [[\"for\", \"doNotCall\"], [\"translate\", \"customerDoNotCall\"]], null, null, null, null, null)), i1.ɵdid(9, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.doNotCall; _ck(_v, 4, 0, currVal_7); var currVal_8 = \"customerDoNotCall\"; _ck(_v, 9, 0, currVal_8); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 6).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 6).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 6).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 6).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 6).ngClassValid; var currVal_5 = i1.ɵnov(_v, 6).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 6).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nfunction View_CustomerConnectActionsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [[\"class\", \"wide-tools\"]], null, null, null, null, null)), i1.ɵprd(512, null, i4.ɵNgClassImpl, i4.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i4.NgClass, [i4.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { \"display-none\": 0 }), (_l()(), i1.ɵeld(4, 0, null, null, 5, \"input\", [[\"id\", \"doNotEmail\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 5).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = (_co.onDonotEmailChange(_co.doNotEmail) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i1.ɵdid(5, 16384, null, 0, i2.CheckboxControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.CheckboxControlValueAccessor]), i1.ɵdid(7, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(9, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\u00A0 \"])), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"label\", [[\"for\", \"doNotEmail\"], [\"translate\", \"customerDoNotEmail\"]], null, null, null, null, null)), i1.ɵdid(12, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"wide-tools\"; var currVal_1 = _ck(_v, 3, 0, ((_co.activityActionEnum === _co.activityActionEnums.Log_Call) && !_co.showEmail)); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_9 = _co.doNotEmail; _ck(_v, 7, 0, currVal_9); var currVal_10 = \"customerDoNotEmail\"; _ck(_v, 12, 0, currVal_10); }, function (_ck, _v) { var currVal_2 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_3 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_4 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_5 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_6 = i1.ɵnov(_v, 9).ngClassValid; var currVal_7 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_8 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 4, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nfunction View_CustomerConnectActionsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 42, \"div\", [[\"class\", \"action-menu\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 10, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i4.ɵNgClassImpl, i4.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(3, 278528, null, 0, i4.NgClass, [i4.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(4, { \"display-none\": 0 }), (_l()(), i1.ɵeld(5, 0, null, null, 6, \"a\", [[\"class\", \"btn qa-log-activity-btn\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.activityClicked() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"icon\", [[\"class\", \"icon lg aa-icon-core-takenote-icon-000000\"]], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵdid(8, 638976, null, 0, i6.IconComponent, [i7.DomSanitizer], null, null), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"div\", [[\"class\", \"caption\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"label\", [[\"translate\", \"logActivity\"]], null, null, null, null, null)), i1.ɵdid(11, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(12, 0, null, null, 10, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i4.ɵNgClassImpl, i4.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(14, 278528, null, 0, i4.NgClass, [i4.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(15, { \"display-none\": 0 }), (_l()(), i1.ɵeld(16, 0, null, null, 6, \"a\", [[\"class\", \"btn qa-schedule-activity-btn\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.scheduleClicked() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i3.TranslatePipe, [i3.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"icon\", [[\"class\", \"icon lg aa-icon-core-calendar-icon-000000\"]], null, null, null, i5.View_IconComponent_0, i5.RenderType_IconComponent)), i1.ɵdid(19, 638976, null, 0, i6.IconComponent, [i7.DomSanitizer], null, null), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"div\", [[\"class\", \"caption\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 1, \"label\", [[\"translate\", \"scheduleActivity\"]], null, null, null, null, null)), i1.ɵdid(22, 8536064, null, 0, i3.TranslateDirective, [i3.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(23, 0, null, null, 5, \"div\", [[\"class\", \"comm-tools\"]], null, null, null, null, null)), i1.ɵprd(512, null, i4.ɵNgClassImpl, i4.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(25, 278528, null, 0, i4.NgClass, [i4.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(26, { \"display-none\": 0 }), (_l()(), i1.ɵeld(27, 0, null, null, 1, \"email-template-action\", [], null, null, null, null, null)), i1.ɵdid(28, 999424, null, 0, i8.EmailTemplateActionComponent, [i1.ElementRef, i1.Injector], { opportunity: [0, \"opportunity\"], permissions: [1, \"permissions\"], isEuroLite: [2, \"isEuroLite\"] }, null), (_l()(), i1.ɵeld(29, 0, null, null, 5, \"div\", [[\"class\", \"comm-tools\"]], null, null, null, null, null)), i1.ɵprd(512, null, i4.ɵNgClassImpl, i4.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(31, 278528, null, 0, i4.NgClass, [i4.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(32, { \"display-none\": 0 }), (_l()(), i1.ɵeld(33, 0, null, null, 1, \"text-action\", [], null, null, null, i9.View_TextActionComponent_0, i9.RenderType_TextActionComponent)), i1.ɵdid(34, 9158656, null, 0, i10.TextActionComponent, [i7.DomSanitizer, i11.UserService, i12.ToasterLoggerService, i13.NotificationService, i14.AuthorizationService, i1.Renderer2, i15.TextMessageService, i3.TranslateService, i16.LocaleDateTimePipe, i1.ChangeDetectorRef, i4.DOCUMENT, i17.EulaModalService], { opportunity: [0, \"opportunity\"], isTextingEnabled: [1, \"isTextingEnabled\"], isCustomerConnectOpen: [2, \"isCustomerConnectOpen\"] }, null), (_l()(), i1.ɵeld(35, 0, null, null, 7, \"div\", [[\"class\", \"comm-tools do-not-contact-options\"]], null, null, null, null, null)), i1.ɵprd(512, null, i4.ɵNgClassImpl, i4.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(37, 278528, null, 0, i4.NgClass, [i4.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(38, { \"display-none\": 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectActionsComponent_2)), i1.ɵdid(40, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectActionsComponent_3)), i1.ɵdid(42, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"comm-tools \", _co.selectedLogActivity, \"\"); var currVal_1 = _ck(_v, 4, 0, !_co.showLogActivity); _ck(_v, 3, 0, currVal_0, currVal_1); _ck(_v, 8, 0); var currVal_3 = \"logActivity\"; _ck(_v, 11, 0, currVal_3); var currVal_4 = i1.ɵinlineInterpolate(1, \"comm-tools \", _co.selectedscheduleActivity, \"\"); var currVal_5 = _ck(_v, 15, 0, !_co.showScheduleAppt); _ck(_v, 14, 0, currVal_4, currVal_5); _ck(_v, 19, 0); var currVal_7 = \"scheduleActivity\"; _ck(_v, 22, 0, currVal_7); var currVal_8 = \"comm-tools\"; var currVal_9 = _ck(_v, 26, 0, (_co.mobileView || !_co.showEmail)); _ck(_v, 25, 0, currVal_8, currVal_9); var currVal_10 = _co.opportunity; var currVal_11 = _co.permissions; var currVal_12 = _co.isEuroLite; _ck(_v, 28, 0, currVal_10, currVal_11, currVal_12); var currVal_13 = \"comm-tools\"; var currVal_14 = _ck(_v, 32, 0, !_co.showText); _ck(_v, 31, 0, currVal_13, currVal_14); var currVal_15 = _co.opportunity; var currVal_16 = _co.isTextingEnabled; var currVal_17 = _co.isCustomerConnectOpen; _ck(_v, 34, 0, currVal_15, currVal_16, currVal_17); var currVal_18 = \"comm-tools do-not-contact-options\"; var currVal_19 = _ck(_v, 38, 0, ((_co.activityActionEnum !== null) && (_co.activityActionEnum !== _co.activityActionEnums.Log_Call))); _ck(_v, 37, 0, currVal_18, currVal_19); var currVal_20 = _co.permissions.editDoNotContact; _ck(_v, 40, 0, currVal_20); var currVal_21 = (_co.permissions.editDoNotContact && (_co.isEuroLite != true)); _ck(_v, 42, 0, currVal_21); }, function (_ck, _v) { var currVal_2 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"postNotesTooltip\")), \"\"); _ck(_v, 5, 0, currVal_2); var currVal_6 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 16, 0, i1.ɵnov(_v, 17).transform(\"scheduleAppointmentToolTip\")), \"\"); _ck(_v, 16, 0, currVal_6); }); }\nfunction View_CustomerConnectActionsComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerConnectActionsComponent_1)), i1.ɵdid(1, 16384, null, 0, i4.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.permissions == null) ? null : _co.permissions.postActivity); _ck(_v, 1, 0, currVal_0); }, null); }\nexports.View_CustomerConnectActionsComponent_0 = View_CustomerConnectActionsComponent_0;\nfunction View_CustomerConnectActionsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-connect-actions\", [], null, null, null, View_CustomerConnectActionsComponent_0, RenderType_CustomerConnectActionsComponent)), i1.ɵdid(1, 638976, null, 0, i18.CustomerConnectActionsComponent, [i19.LogActionShortcutService, i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CustomerConnectActionsComponent_Host_0 = View_CustomerConnectActionsComponent_Host_0;\nvar CustomerConnectActionsComponentNgFactory = i1.ɵccf(\"customer-connect-actions\", i18.CustomerConnectActionsComponent, View_CustomerConnectActionsComponent_Host_0, { opportunity: \"opportunity\", customer: \"customer\", permissions: \"permissions\", isCustomerConnectOpen: \"isCustomerConnectOpen\", defaultCustomerConnectAction: \"defaultCustomerConnectAction\", isEuroLite: \"isEuroLite\", isTextingEnabled: \"isTextingEnabled\", mobileView: \"mobileView\" }, { onAction: \"onAction\", onCustomerEdit: \"onCustomerEdit\" }, []);\nexports.CustomerConnectActionsComponentNgFactory = CustomerConnectActionsComponentNgFactory;\n","
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n  \r\n \r\n
\r\n\r\n
\r\n  \r\n \r\n
\r\n
\r\n
","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DisplayView;\n(function (DisplayView) {\n DisplayView[DisplayView[\"initialView\"] = 1] = \"initialView\";\n DisplayView[DisplayView[\"customerSelectView\"] = 2] = \"customerSelectView\";\n DisplayView[DisplayView[\"customerPushedView\"] = 3] = \"customerPushedView\";\n DisplayView[DisplayView[\"dealPushedView\"] = 4] = \"dealPushedView\";\n DisplayView[DisplayView[\"errorView\"] = 5] = \"errorView\";\n DisplayView[DisplayView[\"waitingView\"] = 6] = \"waitingView\";\n})(DisplayView = exports.DisplayView || (exports.DisplayView = {}));\nvar RequestType;\n(function (RequestType) {\n RequestType[RequestType[\"customer\"] = 0] = \"customer\";\n RequestType[RequestType[\"fandI\"] = 1] = \"fandI\";\n})(RequestType = exports.RequestType || (exports.RequestType = {}));\nvar DmsSaleType;\n(function (DmsSaleType) {\n DmsSaleType[DmsSaleType[\"cash\"] = 0] = \"cash\";\n DmsSaleType[DmsSaleType[\"lease\"] = 1] = \"lease\";\n DmsSaleType[DmsSaleType[\"retail\"] = 2] = \"retail\";\n})(DmsSaleType = exports.DmsSaleType || (exports.DmsSaleType = {}));\n","export enum DisplayView {\r\n initialView = 1,\r\n customerSelectView = 2,\r\n customerPushedView = 3,\r\n dealPushedView = 4,\r\n errorView = 5,\r\n waitingView = 6\r\n}\r\n\r\nexport enum RequestType {\r\n customer = 0,\r\n fandI = 1\r\n}\r\n\r\nexport enum DmsSaleType {\r\n cash = 0,\r\n lease = 1,\r\n retail = 2\r\n}\r\n","var $export = require('./_export');\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite) {\n var tpl = toIObject(callSite.raw);\n var len = toLength(tpl.length);\n var aLen = arguments.length;\n var res = [];\n var i = 0;\n while (len > i) {\n res.push(String(tpl[i++]));\n if (i < aLen) res.push(String(arguments[i]));\n } return res.join('');\n }\n});\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it) {\n return $entries(it);\n }\n});\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"../icon/icon.component.ngfactory\"));\nvar i3 = __importStar(require(\"../icon/icon.component\"));\nvar i4 = __importStar(require(\"@angular/platform-browser\"));\nvar i5 = __importStar(require(\"./admin-settings-vhr-disclaimer.component\"));\nvar i6 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i7 = __importStar(require(\"../../services/user.service\"));\nvar i8 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar styles_AdminSettingsVHRDisclaimerComponent = [];\nvar RenderType_AdminSettingsVHRDisclaimerComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsVHRDisclaimerComponent, data: {} });\nexports.RenderType_AdminSettingsVHRDisclaimerComponent = RenderType_AdminSettingsVHRDisclaimerComponent;\nfunction View_AdminSettingsVHRDisclaimerComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 17, \"div\", [[\"class\", \"modal-wrapper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 16, \"div\", [[\"class\", \"alert-box\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"h4\", [[\"class\", \"modal-title\"], [\"translate\", \"disclaimer\"]], null, null, null, null, null)), i0.ɵdid(5, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i2.View_IconComponent_0, i2.RenderType_IconComponent)), i0.ɵdid(9, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], null, null), (_l()(), i0.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"div\", [[\"class\", \"vhrDisclaimer\"]], [[8, \"innerHTML\", 1]], null, null, null, null)), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(13, 0, null, null, 4, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(15, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(16, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"ok\"], [\"type\", \"submit\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.ok() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(17, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"disclaimer\"; _ck(_v, 5, 0, currVal_0); _ck(_v, 9, 0); var currVal_2 = \"cancel\"; _ck(_v, 15, 0, currVal_2); var currVal_3 = \"ok\"; _ck(_v, 17, 0, currVal_3); }, function (_ck, _v) { var currVal_1 = i0.ɵunv(_v, 11, 0, i0.ɵnov(_v, 12).transform(\"dsAdmin_vehicleHistoryReportsDisclaimer\")); _ck(_v, 11, 0, currVal_1); }); }\nexports.View_AdminSettingsVHRDisclaimerComponent_0 = View_AdminSettingsVHRDisclaimerComponent_0;\nfunction View_AdminSettingsVHRDisclaimerComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-vhr-disclaimer\", [], null, null, null, View_AdminSettingsVHRDisclaimerComponent_0, RenderType_AdminSettingsVHRDisclaimerComponent)), i0.ɵdid(1, 49152, null, 0, i5.AdminSettingsVHRDisclaimerComponent, [i6.BsModalService, i1.TranslateService, i7.UserService, i8.ToasterLoggerService, i6.BsModalRef], null, null)], null, null); }\nexports.View_AdminSettingsVHRDisclaimerComponent_Host_0 = View_AdminSettingsVHRDisclaimerComponent_Host_0;\nvar AdminSettingsVHRDisclaimerComponentNgFactory = i0.ɵccf(\"admin-settings-vhr-disclaimer\", i5.AdminSettingsVHRDisclaimerComponent, View_AdminSettingsVHRDisclaimerComponent_Host_0, {}, { acceptDisclaimer: \"acceptDisclaimer\" }, []);\nexports.AdminSettingsVHRDisclaimerComponentNgFactory = AdminSettingsVHRDisclaimerComponentNgFactory;\n","
\r\n
\r\n
\r\n
\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./icon.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/common\"));\nvar i3 = __importStar(require(\"./icon.component\"));\nvar i4 = __importStar(require(\"@angular/platform-browser\"));\nvar styles_IconComponent = [i0.styles];\nvar RenderType_IconComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_IconComponent, data: {} });\nexports.RenderType_IconComponent = RenderType_IconComponent;\nfunction View_IconComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"i\", [], [[8, \"innerHTML\", 1]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.ICONS[_co.icon]; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_IconComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_IconComponent_1)), i1.ɵdid(1, 16384, null, 0, i2.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.icon && _co.ICONS[_co.icon]); _ck(_v, 1, 0, currVal_0); }, null); }\nexports.View_IconComponent_0 = View_IconComponent_0;\nfunction View_IconComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"icon\", [], null, null, null, View_IconComponent_0, RenderType_IconComponent)), i1.ɵdid(1, 638976, null, 0, i3.IconComponent, [i4.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_IconComponent_Host_0 = View_IconComponent_Host_0;\nvar IconComponentNgFactory = i1.ɵccf(\"icon\", i3.IconComponent, View_IconComponent_Host_0, { icon: \"icon\" }, {}, []);\nexports.IconComponentNgFactory = IconComponentNgFactory;\n","","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar common_1 = require(\"@angular/common\");\nvar core_1 = require(\"@angular/core\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar LocaleMoneyFactorPipe = /** @class */ (function (_super) {\n __extends(LocaleMoneyFactorPipe, _super);\n function LocaleMoneyFactorPipe(storageService) {\n var _this = _super.call(this, 'en-us') || this;\n _this.storageService = storageService;\n return _this;\n }\n LocaleMoneyFactorPipe.prototype.transform = function (number) {\n if (typeof number === 'number') {\n var savedCultureName = this.storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n return number.toLocaleString(cultureName, { minimumFractionDigits: 5, maximumFractionDigits: 5 });\n }\n };\n return LocaleMoneyFactorPipe;\n}(common_1.DecimalPipe));\nexports.LocaleMoneyFactorPipe = LocaleMoneyFactorPipe;\n","import { DecimalPipe } from '@angular/common';\r\nimport { PipeTransform, Pipe } from '@angular/core';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\n\r\n@Pipe({\r\n name: 'localeMoneyFactor'\r\n})\r\nexport class LocaleMoneyFactorPipe extends DecimalPipe implements PipeTransform {\r\n\r\n constructor(private storageService: StorageService) {\r\n super('en-us');\r\n }\r\n\r\n transform(number: any) {\r\n if (typeof number === 'number') {\r\n const savedCultureName = this.storageService.getItem('cultureName');\r\n const cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n return number.toLocaleString(cultureName, { minimumFractionDigits: 5, maximumFractionDigits: 5 });\r\n }\r\n }\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PaymentTypes = {\n current: 1,\n replacement: 2\n};\n","export const PaymentTypes = {\r\n current: 1,\r\n replacement: 2\r\n}","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar ResidualComponent = /** @class */ (function () {\n function ResidualComponent() {\n }\n ResidualComponent.prototype.ngOnInit = function () {\n };\n return ResidualComponent;\n}());\nexports.ResidualComponent = ResidualComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n @Component({\r\n selector: 'residual',\r\n templateUrl: './residual.component-ng.html',\r\n styleUrls: ['./residual.component.scss']\r\n })\r\n export class ResidualComponent implements OnInit {\r\n @Input() value: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n }\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/activity-list.component.html';\nvar html = \"




\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./customer-info.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../mobile-customer-phone/mobile-customer-phone.component.ngfactory\"));\nvar i4 = __importStar(require(\"../mobile-customer-phone/mobile-customer-phone.component\"));\nvar i5 = __importStar(require(\"../mobile-customer-email/mobile-customer-email.component.ngfactory\"));\nvar i6 = __importStar(require(\"../mobile-customer-email/mobile-customer-email.component\"));\nvar i7 = __importStar(require(\"ng-busy\"));\nvar i8 = __importStar(require(\"@angular/common\"));\nvar i9 = __importStar(require(\"./customer-info.component\"));\nvar i10 = __importStar(require(\"../../../../services/mobile-deal-sheet-data-caching.service\"));\nvar i11 = __importStar(require(\"@uirouter/core\"));\nvar styles_CustomerInfoComponent = [i0.styles];\nvar RenderType_CustomerInfoComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_CustomerInfoComponent, data: {} });\nexports.RenderType_CustomerInfoComponent = RenderType_CustomerInfoComponent;\nfunction View_CustomerInfoComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 15, \"div\", [[\"class\", \"container\"], [\"style\", \"padding-left:40px\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(4, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"mobile-customer-phone\", [], null, null, null, i3.View_MobileCustomerPhoneComponent_0, i3.RenderType_MobileCustomerPhoneComponent)), i1.ɵdid(6, 114688, null, 0, i4.MobileCustomerPhoneComponent, [], { doNotCall: [0, \"doNotCall\"], phone: [1, \"phone\"], type: [2, \"type\"] }, null), (_l()(), i1.ɵeld(7, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"mobile-customer-phone\", [], null, null, null, i3.View_MobileCustomerPhoneComponent_0, i3.RenderType_MobileCustomerPhoneComponent)), i1.ɵdid(9, 114688, null, 0, i4.MobileCustomerPhoneComponent, [], { doNotCall: [0, \"doNotCall\"], phone: [1, \"phone\"], type: [2, \"type\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"mobile-customer-phone\", [], null, null, null, i3.View_MobileCustomerPhoneComponent_0, i3.RenderType_MobileCustomerPhoneComponent)), i1.ɵdid(12, 114688, null, 0, i4.MobileCustomerPhoneComponent, [], { doNotCall: [0, \"doNotCall\"], phone: [1, \"phone\"], type: [2, \"type\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 0, \"hr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"mobile-customer-email\", [], null, null, null, i5.View_MobileCustomerEmailComponent_0, i5.RenderType_MobileCustomerEmailComponent)), i1.ɵdid(15, 114688, null, 0, i6.MobileCustomerEmailComponent, [], { doNotEmail: [0, \"doNotEmail\"], email: [1, \"email\"], type: [2, \"type\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = ((_co.opportunity == null) ? null : ((_co.opportunity.customer == null) ? null : _co.opportunity.customer.doNotCall)); var currVal_2 = ((_co.opportunity == null) ? null : ((_co.opportunity.customer == null) ? null : _co.opportunity.customer.cellPhoneNumber)); var currVal_3 = \"customerCellPhone\"; _ck(_v, 6, 0, currVal_1, currVal_2, currVal_3); var currVal_4 = ((_co.opportunity == null) ? null : ((_co.opportunity.customer == null) ? null : _co.opportunity.customer.doNotCall)); var currVal_5 = ((_co.opportunity == null) ? null : ((_co.opportunity.customer == null) ? null : _co.opportunity.customer.homePhoneNumber)); var currVal_6 = \"customerHomePhone\"; _ck(_v, 9, 0, currVal_4, currVal_5, currVal_6); var currVal_7 = ((_co.opportunity == null) ? null : ((_co.opportunity.customer == null) ? null : _co.opportunity.customer.doNotCall)); var currVal_8 = ((_co.opportunity == null) ? null : ((_co.opportunity.customer == null) ? null : _co.opportunity.customer.workPhoneNumber)); var currVal_9 = \"customerWorkPhone\"; _ck(_v, 12, 0, currVal_7, currVal_8, currVal_9); var currVal_10 = ((_co.opportunity == null) ? null : ((_co.opportunity.customer == null) ? null : _co.opportunity.customer.doNotEmail)); var currVal_11 = ((_co.opportunity == null) ? null : ((_co.opportunity.customer == null) ? null : _co.opportunity.customer.emailAddress)); var currVal_12 = \"customerEmail\"; _ck(_v, 15, 0, currVal_10, currVal_11, currVal_12); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"contactInformation\")); _ck(_v, 2, 0, currVal_0); }); }\nfunction View_CustomerInfoComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 16777216, null, null, 5, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i7.InstanceConfigHolderService, i7.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i7.ɵa, i7.ɵa, []), i1.ɵdid(3, 409600, null, 0, i7.NgBusyDirective, [i7.ɵb, i7.InstanceConfigHolderService, i1.ComponentFactoryResolver, i7.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CustomerInfoComponent_1)), i1.ɵdid(5, 16384, null, 0, i8.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.busy; _ck(_v, 3, 0, currVal_0); var currVal_1 = ((_co.opportunity && ((_co.permissions == null) ? null : _co.permissions.viewCustomer)) && ((_co.opportunity == null) ? null : ((_co.opportunity.customer == null) ? null : _co.opportunity.customer.isFullCustomer))); _ck(_v, 5, 0, currVal_1); }, null); }\nexports.View_CustomerInfoComponent_0 = View_CustomerInfoComponent_0;\nfunction View_CustomerInfoComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"customer-info\", [], null, null, null, View_CustomerInfoComponent_0, RenderType_CustomerInfoComponent)), i1.ɵdid(1, 245760, null, 0, i9.CustomerInfoComponent, [i10.MobileDealSheetDataCachingService, i11.Transition, i1.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_CustomerInfoComponent_Host_0 = View_CustomerInfoComponent_Host_0;\nvar CustomerInfoComponentNgFactory = i1.ɵccf(\"customer-info\", i9.CustomerInfoComponent, View_CustomerInfoComponent_Host_0, {}, {}, []);\nexports.CustomerInfoComponentNgFactory = CustomerInfoComponentNgFactory;\n","
\r\n
\r\n
{{'contactInformation' | translate}}
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
","var path = '/app/components/deal-sheet/contract/bank-rate.component.html';\nvar html = \"
{{$ctrl.bankName}} ( {{$ctrl.apr | localeDecimal}} %) {{$ctrl.bankName}} ( {{$ctrl.apr | localeDecimal}} %) {{$ctrl.bankName}} ( {{$ctrl.moneyFactor | localeDecimal}} %) {{$ctrl.bankName}} ( {{$ctrl.moneyFactor | localeDecimal}} %)
\";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar moment = require(\"moment\");\nvar forms_1 = require(\"@angular/forms\");\nvar date_format_service_1 = require(\"../../services/date-format.service\");\nvar DateInputComponent = /** @class */ (function () {\n function DateInputComponent(dateFormatService, formBuilder, renderer) {\n this.dateFormatService = dateFormatService;\n this.formBuilder = formBuilder;\n this.renderer = renderer;\n this.required = 'required';\n this.onInput = new core_1.EventEmitter();\n this.changedValue = '';\n }\n DateInputComponent.prototype.ngOnInit = function () {\n this.nullDate = '';\n this.dateFormat = this.dateFormatService.getDateMomentFormatString();\n if (this.defaultDate) {\n if (this.defaultDate == null) {\n this.nullDate = 'null-date';\n }\n else { // this only adds a red outline around the input field when date input is blank\n this.nullDate = '';\n }\n }\n this.config = {\n dateInputFormat: this.dateFormat,\n containerClass: 'theme-dark-blue',\n selectFromOtherMonth: true,\n customTodayClass: 'custom-today-class',\n adaptivePosition: true\n };\n this.createForm();\n };\n DateInputComponent.prototype.createForm = function () {\n var _this = this;\n this.dateInputForm = this.formBuilder.group({\n date: ['', this.dateValidator()]\n });\n if (this.defaultDate) {\n this.dateInputForm.controls.date.setValue(new Date(this.defaultDate));\n this.changedValue = this.defaultDate;\n }\n this.dateInputForm.controls.date.valueChanges.subscribe(function (value) {\n _this.onValueChange(value);\n });\n };\n DateInputComponent.prototype.ngOnChanges = function (changes) {\n if (changes.defaultDate) {\n if (((changes.defaultDate.currentValue && changes.defaultDate.firstChange) ||\n (changes.defaultDate.currentValue && !changes.defaultDate.previousValue && moment(changes.defaultDate.currentValue).isValid()) ||\n (changes.defaultDate.currentValue && changes.defaultDate.previousValue &&\n moment(changes.defaultDate.currentValue).isValid() && moment(changes.defaultDate.previousValue).isValid() &&\n changes.defaultDate.currentValue.getTime() !== changes.defaultDate.previousValue.getTime())) &&\n this.dateInputForm) {\n var m = moment(this.defaultDate);\n if (m.isValid()) {\n this.dateInputForm.controls.date.setValue(m.toDate());\n }\n }\n if (changes.defaultDate && !changes.defaultDate.currentValue && changes.defaultDate.previousValue && this.dateInputForm) {\n this.dateInputForm.controls.date.setValue(null);\n }\n if (changes.defaultDate.currentValue == null) {\n this.nullDate = 'null-date';\n }\n else {\n this.nullDate = '';\n }\n }\n };\n DateInputComponent.prototype.dateValidator = function () {\n var _this = this;\n return function (control) {\n var _a;\n var invalid = _this.validateDate(control.value);\n return invalid ? (_a = {}, _a[invalid] = { value: control.value }, _a) : null;\n };\n };\n DateInputComponent.prototype.validateDate = function (date) {\n if (date && this.options && this.options.maxDate) {\n var maxDate = moment(this.options.maxDate);\n if (moment(date).isAfter(maxDate, 'day')) {\n return 'maxDate';\n }\n }\n if (date && this.options && this.options.minDate) {\n var minDate = moment(this.options.minDate);\n if (moment(date).isBefore(minDate, 'day')) {\n return 'minDate';\n }\n }\n return null;\n };\n DateInputComponent.prototype.onValueChange = function (date) {\n if (date === null || !isNaN(date.getTime())) {\n this.onInput.emit({ date: date, model: this.dateInputForm.controls.date });\n this.changedValue = date;\n }\n };\n DateInputComponent.prototype.onBlur = function () {\n var _this = this;\n if (isNaN((new Date(this.changedValue)).getTime())) { // Invalid date\n // By default the input will show \"Invalid Date\", so manually set it to show the actual value\n setTimeout(function () { return _this.renderer.setProperty(_this.dateInput.nativeElement, 'value', _this.changedValue); }, 2);\n this.onInput.emit({ date: this.changedValue, model: this.dateInputForm.controls.date });\n }\n };\n DateInputComponent.prototype.onKeyup = function ($event) {\n if ($event.currentTarget.value.toLowerCase() !== 'invalid date') {\n this.changedValue = $event.currentTarget.value;\n }\n };\n return DateInputComponent;\n}());\nexports.DateInputComponent = DateInputComponent;\n","import { Component, OnInit, Input, Output, EventEmitter, SimpleChanges, OnChanges, ViewChildren, ViewChild, ElementRef, Renderer2 } from '@angular/core';\r\nimport moment = require('moment');\r\nimport { FormBuilder, FormGroup, ValidatorFn, AbstractControl } from '@angular/forms';\r\nimport { DateFormatService } from '../../services/date-format.service';\r\nimport { BsDatepickerConfig } from 'ngx-bootstrap/datepicker';\r\nimport { DateOptions } from './date-options.interface';\r\n\r\n@Component({\r\n selector: 'date-input',\r\n templateUrl: './date-input.component-ng.html',\r\n styleUrls: ['./date-input.component.scss']\r\n})\r\nexport class DateInputComponent implements OnInit, OnChanges {\r\n\r\n @Input() defaultDate: Date;\r\n @Input() options: DateOptions;\r\n @Input() cssClass: string;\r\n @Input() required = 'required';\r\n @Output() onInput = new EventEmitter();\r\n\r\n @ViewChild('dateInput', { static: true }) dateInput: ElementRef;\r\n\r\n dateFormat: string;\r\n nullDate: string;\r\n config: BsDatepickerConfig;\r\n\r\n dateInputForm: FormGroup;\r\n\r\n changedValue: any = '';\r\n\r\n constructor(private dateFormatService: DateFormatService,\r\n private formBuilder: FormBuilder,\r\n private renderer: Renderer2) { }\r\n\r\n ngOnInit() {\r\n\r\n this.nullDate = '';\r\n this.dateFormat = this.dateFormatService.getDateMomentFormatString();\r\n\r\n if (this.defaultDate) {\r\n if (this.defaultDate == null) {\r\n this.nullDate = 'null-date';\r\n } else { // this only adds a red outline around the input field when date input is blank\r\n this.nullDate = '';\r\n }\r\n }\r\n \r\n this.config = {\r\n dateInputFormat: this.dateFormat,\r\n containerClass: 'theme-dark-blue',\r\n selectFromOtherMonth: true,\r\n customTodayClass: 'custom-today-class',\r\n adaptivePosition: true\r\n } as BsDatepickerConfig;\r\n\r\n this.createForm();\r\n }\r\n\r\n createForm() {\r\n this.dateInputForm = this.formBuilder.group({\r\n date: ['', this.dateValidator()]\r\n });\r\n\r\n if (this.defaultDate) {\r\n this.dateInputForm.controls.date.setValue(new Date(this.defaultDate));\r\n this.changedValue = this.defaultDate;\r\n }\r\n\r\n this.dateInputForm.controls.date.valueChanges.subscribe((value) => {\r\n this.onValueChange(value);\r\n });\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.defaultDate) {\r\n if (((changes.defaultDate.currentValue && changes.defaultDate.firstChange) ||\r\n\r\n (changes.defaultDate.currentValue && !changes.defaultDate.previousValue && moment(changes.defaultDate.currentValue).isValid()) ||\r\n\r\n (changes.defaultDate.currentValue && changes.defaultDate.previousValue &&\r\n moment(changes.defaultDate.currentValue).isValid() && moment(changes.defaultDate.previousValue).isValid() &&\r\n changes.defaultDate.currentValue.getTime() !== changes.defaultDate.previousValue.getTime())) &&\r\n this.dateInputForm) {\r\n const m = moment(this.defaultDate);\r\n if (m.isValid()) {\r\n this.dateInputForm.controls.date.setValue(m.toDate());\r\n }\r\n }\r\n\r\n if (changes.defaultDate && !changes.defaultDate.currentValue && changes.defaultDate.previousValue && this.dateInputForm) {\r\n this.dateInputForm.controls.date.setValue(null);\r\n }\r\n\r\n if (changes.defaultDate.currentValue == null) {\r\n this.nullDate = 'null-date';\r\n } else {\r\n this.nullDate = '';\r\n }\r\n }\r\n }\r\n\r\n dateValidator(): ValidatorFn {\r\n return (control: AbstractControl): { [key: string]: any } | null => {\r\n const invalid = this.validateDate(control.value);\r\n return invalid ? { [invalid]: { value: control.value } } : null;\r\n };\r\n }\r\n\r\n validateDate(date: Date): string {\r\n\r\n if (date && this.options && this.options.maxDate) {\r\n const maxDate = moment(this.options.maxDate);\r\n if (moment(date).isAfter(maxDate, 'day')) {\r\n return 'maxDate';\r\n }\r\n }\r\n\r\n if (date && this.options && this.options.minDate) {\r\n const minDate = moment(this.options.minDate);\r\n if (moment(date).isBefore(minDate, 'day')) {\r\n return 'minDate';\r\n }\r\n }\r\n\r\n return null;\r\n }\r\n\r\n onValueChange(date: Date) {\r\n if (date === null || !isNaN(date.getTime())) {\r\n this.onInput.emit({ date: date, model: this.dateInputForm.controls.date });\r\n this.changedValue = date;\r\n }\r\n }\r\n\r\n onBlur() {\r\n if (isNaN((new Date(this.changedValue)).getTime())) { // Invalid date\r\n // By default the input will show \"Invalid Date\", so manually set it to show the actual value\r\n setTimeout(() => this.renderer.setProperty(this.dateInput.nativeElement, 'value', this.changedValue), 2);\r\n this.onInput.emit({ date: this.changedValue, model: this.dateInputForm.controls.date });\r\n }\r\n }\r\n\r\n onKeyup($event) {\r\n if ($event.currentTarget.value.toLowerCase() !== 'invalid date') {\r\n this.changedValue = $event.currentTarget.value;\r\n }\r\n }\r\n}\r\n","require('../modules/es6.regexp.constructor');\nrequire('../modules/es6.regexp.to-string');\nrequire('../modules/es6.regexp.flags');\nrequire('../modules/es6.regexp.match');\nrequire('../modules/es6.regexp.replace');\nrequire('../modules/es6.regexp.search');\nrequire('../modules/es6.regexp.split');\nmodule.exports = require('../modules/_core').RegExp;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./vauto-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../filters/locale-phone.pipe\"));\nvar i4 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i5 = __importStar(require(\"../../../../filters/locale-number.pipe\"));\nvar i6 = __importStar(require(\"../../../../filters/locale-date.pipe\"));\nvar i7 = __importStar(require(\"../../../icon/icon.component.ngfactory\"));\nvar i8 = __importStar(require(\"../../../icon/icon.component\"));\nvar i9 = __importStar(require(\"@angular/platform-browser\"));\nvar i10 = __importStar(require(\"@angular/common\"));\nvar i11 = __importStar(require(\"./vauto-modal.component\"));\nvar i12 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i13 = __importStar(require(\"../../../../core/toaster-logger.service\"));\nvar i14 = __importStar(require(\"../../../../ajs-upgraded-providers\"));\nvar styles_VautoModalComponent = [i0.styles];\nvar RenderType_VautoModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_VautoModalComponent, data: {} });\nexports.RenderType_VautoModalComponent = RenderType_VautoModalComponent;\nfunction View_VautoModalComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \" \", \"\"])), i1.ɵppd(2, 1), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 1, 0, _ck(_v, 2, 0, i1.ɵnov(_v.parent, 1), _co.estimatedMileage)); var currVal_1 = i1.ɵunv(_v, 1, 1, i1.ɵnov(_v, 3).transform(\"vAutoMileageLabel\")); _ck(_v, 1, 0, currVal_0, currVal_1); }); }\nfunction View_VautoModalComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 22, null, null, null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-12 sectionHeader\"], [\"translate\", \"vAutoLatestAppraisalLabel\"]], null, null, null, null, null)), i1.ɵdid(3, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 18, \"table\", [[\"class\", \"table\"], [\"style\", \"margin-top: 4px;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 7, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 6, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoDateCreatedLabel\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoAppraisalIdLabel\"]], null, null, null, null, null)), i1.ɵdid(10, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoViewAppraisalLabel\"]], null, null, null, null, null)), i1.ɵdid(12, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 9, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 8, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \"\"])), i1.ɵppd(17, 1), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), (_l()(), i1.ɵeld(20, 0, null, null, 2, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(21, 0, null, null, 1, \"a\", [[\"class\", \"qa-appraisal-link\"], [\"target\", \"_blank\"], [\"translate\", \"vAutoAppraisalLink\"]], [[8, \"href\", 4]], null, null, null, null)), i1.ɵdid(22, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"vAutoLatestAppraisalLabel\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"vAutoDateCreatedLabel\"; _ck(_v, 8, 0, currVal_1); var currVal_2 = \"vAutoAppraisalIdLabel\"; _ck(_v, 10, 0, currVal_2); var currVal_3 = \"vAutoViewAppraisalLabel\"; _ck(_v, 12, 0, currVal_3); var currVal_7 = \"vAutoAppraisalLink\"; _ck(_v, 22, 0, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = i1.ɵunv(_v, 16, 0, _ck(_v, 17, 0, i1.ɵnov(_v.parent, 2), _co.createDate)); _ck(_v, 16, 0, currVal_4); var currVal_5 = _co.appraisalId; _ck(_v, 19, 0, currVal_5); var currVal_6 = i1.ɵinlineInterpolate(1, \"\", _co.deepLink, \"\"); _ck(_v, 21, 0, currVal_6); }); }\nfunction View_VautoModalComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i3.LocalePhonePipe, [i4.StorageService]), i1.ɵpid(0, i5.LocaleNumberPipe, [i4.StorageService]), i1.ɵpid(0, i6.LocaleDatePipe, [i4.StorageService]), (_l()(), i1.ɵeld(3, 0, null, null, 58, \"div\", [[\"class\", \"modal-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 57, \"div\", [[\"class\", \"alert-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"h5\", [[\"class\", \"modal-title\"], [\"translate\", \"vAutoDialogTitle\"]], null, null, null, null, null)), i1.ɵdid(8, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i7.View_IconComponent_0, i7.RenderType_IconComponent)), i1.ɵdid(12, 638976, null, 0, i8.IconComponent, [i9.DomSanitizer], null, null), (_l()(), i1.ɵeld(13, 0, null, null, 43, \"div\", [[\"class\", \"modal-body form-horizontal\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 42, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 2, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-12 sectionHeader\"]], null, null, null, null, null)), (_l()(), i1.ɵted(17, null, [\"\", \"\"])), (_l()(), i1.ɵeld(18, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-3\"], [\"translate\", \"vAutoAddressLabel\"]], null, null, null, null, null)), i1.ɵdid(20, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(21, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-9 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(22, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(23, null, [\"\", \"\"])), (_l()(), i1.ɵeld(24, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-3\"], [\"translate\", \"vAutoEmailLabel\"]], null, null, null, null, null)), i1.ɵdid(26, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(27, 0, null, null, 2, \"div\", [[\"class\", \"col-sm-9 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(28, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(29, null, [\"\", \"\"])), (_l()(), i1.ɵeld(30, 0, null, null, 6, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(31, 0, null, null, 1, \"label\", [[\"class\", \"col-sm-3\"], [\"translate\", \"vAutoPhoneLabel\"]], null, null, null, null, null)), i1.ɵdid(32, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(33, 0, null, null, 3, \"div\", [[\"class\", \"col-sm-9 bold\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(34, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵted(35, null, [\"\", \"\"])), i1.ɵppd(36, 1), (_l()(), i1.ɵeld(37, 0, null, null, 17, \"table\", [[\"class\", \"table\"], [\"style\", \"margin-top: 8px;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(38, 0, null, null, 7, \"thead\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(39, 0, null, null, 6, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(40, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoVinLabel\"]], null, null, null, null, null)), i1.ɵdid(41, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(42, 0, null, null, 1, \"th\", [[\"translate\", \"vAutoTrimLabel\"]], null, null, null, null, null)), i1.ɵdid(43, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(44, 0, null, null, 1, \"th\", [[\"class\", \"right\"], [\"translate\", \"vAutoTradeOdometerLabel\"]], null, null, null, null, null)), i1.ɵdid(45, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(46, 0, null, null, 8, \"tbody\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(47, 0, null, null, 7, \"tr\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(48, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(49, null, [\"\", \"\"])), (_l()(), i1.ɵeld(50, 0, null, null, 1, \"td\", [], null, null, null, null, null)), (_l()(), i1.ɵted(51, null, [\"\", \"\"])), (_l()(), i1.ɵeld(52, 0, null, null, 2, \"td\", [[\"class\", \"right\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VautoModalComponent_1)), i1.ɵdid(54, 16384, null, 0, i10.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_VautoModalComponent_2)), i1.ɵdid(56, 16384, null, 0, i10.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(57, 0, null, null, 4, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(58, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(59, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(60, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"vAutoSendAppraisalButtonText\"], [\"type\", \"submit\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.sendAppraisal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(61, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"vAutoDialogTitle\"; _ck(_v, 8, 0, currVal_0); _ck(_v, 12, 0); var currVal_2 = \"vAutoAddressLabel\"; _ck(_v, 20, 0, currVal_2); var currVal_4 = \"vAutoEmailLabel\"; _ck(_v, 26, 0, currVal_4); var currVal_6 = \"vAutoPhoneLabel\"; _ck(_v, 32, 0, currVal_6); var currVal_8 = \"vAutoVinLabel\"; _ck(_v, 41, 0, currVal_8); var currVal_9 = \"vAutoTrimLabel\"; _ck(_v, 43, 0, currVal_9); var currVal_10 = \"vAutoTradeOdometerLabel\"; _ck(_v, 45, 0, currVal_10); var currVal_13 = _co.estimatedMileage; _ck(_v, 54, 0, currVal_13); var currVal_14 = _co.hasLatestAppraisal; _ck(_v, 56, 0, currVal_14); var currVal_15 = \"cancel\"; _ck(_v, 59, 0, currVal_15); var currVal_16 = \"vAutoSendAppraisalButtonText\"; _ck(_v, 61, 0, currVal_16); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.customer.fullName; _ck(_v, 17, 0, currVal_1); var currVal_3 = _co.fullAddress; _ck(_v, 23, 0, currVal_3); var currVal_5 = ((_co.customer.emailAddress == null) ? null : _co.customer.emailAddress.value); _ck(_v, 29, 0, currVal_5); var currVal_7 = i1.ɵunv(_v, 35, 0, _ck(_v, 36, 0, i1.ɵnov(_v, 0), _co.primaryPhone)); _ck(_v, 35, 0, currVal_7); var currVal_11 = _co.vehicle.vin; _ck(_v, 49, 0, currVal_11); var currVal_12 = _co.fullTrim; _ck(_v, 51, 0, currVal_12); }); }\nexports.View_VautoModalComponent_0 = View_VautoModalComponent_0;\nfunction View_VautoModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"vauto-modal\", [], null, null, null, View_VautoModalComponent_0, RenderType_VautoModalComponent)), i1.ɵdid(1, 4308992, null, 0, i11.VautoModalComponent, [i12.BsModalRef, i2.TranslateService, i13.ToasterLoggerService, i14.DealSheetService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_VautoModalComponent_Host_0 = View_VautoModalComponent_Host_0;\nvar VautoModalComponentNgFactory = i1.ɵccf(\"vauto-modal\", i11.VautoModalComponent, View_VautoModalComponent_Host_0, {}, { onSaveChanges: \"onSaveChanges\" }, []);\nexports.VautoModalComponentNgFactory = VautoModalComponentNgFactory;\n","
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {{fullAddress}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{customer.emailAddress?.value}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{primaryPhone | localePhone}}\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
{{vehicle.vin}}{{fullTrim}}\r\n {{estimatedMileage | localeNumber}} {{ 'vAutoMileageLabel' | translate }}\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
{{createDate | localeDate}}{{appraisalId}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
","var path = '/app/components/pagination.component.html';\nvar html = \"
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar VehicleSummaryComponent = /** @class */ (function () {\n function VehicleSummaryComponent() {\n this.vehicleTypes = constants_1.VehicleTypes;\n this.vehicleTypeKeys = Object.keys(constants_1.VehicleTypes);\n this.pricingPlanTypes = constants_1.PricingPlanTypes;\n this.pricingPlanTypeKeys = Object.keys(constants_1.PricingPlanTypes);\n this.dealerCountries = constants_1.DealerCountries;\n this.trimPricePlanSource = constants_1.TrimPricePlanSource;\n this.averageTranslateKey = \"average\";\n }\n //constructor() { }\n VehicleSummaryComponent.prototype.ngOnInit = function () {\n };\n VehicleSummaryComponent.prototype.ngOnChanges = function (changes) {\n var hasEmployeePricing = this.trimPlanPriceSourceId === this.trimPricePlanSource.employeePricing;\n if (hasEmployeePricing) {\n this.planTranslationKey = \"planEmpPrice\";\n }\n else if (this.pricingPlanId && this.pricingPlanId > 0) {\n this.planTranslationKey = this.pricingPlanId == constants_1.PricingPlanTypes.azPlan ? \"azPlan\" : \"xPlan\";\n }\n else {\n this.planTranslationKey = \"\";\n }\n if (this.vehicle) {\n this.averageTranslateKey = ((this.vehicle.pricingPlanMsrp && this.vehicle.pricingPlanId) || hasEmployeePricing) ?\n \"avg\" : \"average\";\n }\n };\n VehicleSummaryComponent.prototype.openOasisLink = function () {\n var oasisUrl = constants_1.Settings.environmentVariables.fordOASISUrl;\n oasisUrl = oasisUrl.replace(\"{0}\", this.vehicle.vin);\n window.open(oasisUrl, '_blank');\n };\n return VehicleSummaryComponent;\n}());\nexports.VehicleSummaryComponent = VehicleSummaryComponent;\n","import { Component, Input, OnChanges, SimpleChanges, OnInit } from '@angular/core';\r\nimport { VehicleTypes, DealerCountries, PricingPlanTypes, TrimPricePlanSource, Settings } from '../../../../constants';\r\n\r\n@Component({\r\n selector: 'vehicle-summary',\r\n templateUrl: './vehicle-summary.component-ng.html',\r\n styleUrls: ['./vehicle-summary.component.scss']\r\n})\r\nexport class VehicleSummaryComponent implements OnChanges, OnInit {\r\n @Input() vehicle: any;\r\n @Input() countryId: number;\r\n @Input() isReplacement: boolean;\r\n @Input() isFordAlert: boolean;\r\n @Input() pricingPlanId: number;\r\n @Input() trimPlanPriceSourceName: string;\r\n @Input() trimPlanPriceSourceId: number;\r\n\r\n public vehicleTypes = VehicleTypes;\r\n public vehicleTypeKeys = Object.keys(VehicleTypes);\r\n public pricingPlanTypes = PricingPlanTypes;\r\n public pricingPlanTypeKeys = Object.keys(PricingPlanTypes);\r\n public dealerCountries = DealerCountries;\r\n public trimPricePlanSource = TrimPricePlanSource;\r\n public averageTranslateKey = \"average\";\r\n public planTranslationKey: string;\r\n\r\n //constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n\r\n let hasEmployeePricing = this.trimPlanPriceSourceId === this.trimPricePlanSource.employeePricing;\r\n\r\n if (hasEmployeePricing) {\r\n this.planTranslationKey = \"planEmpPrice\";\r\n } else if (this.pricingPlanId && this.pricingPlanId > 0) {\r\n this.planTranslationKey = this.pricingPlanId == PricingPlanTypes.azPlan ? \"azPlan\" : \"xPlan\";\r\n } else {\r\n this.planTranslationKey = \"\";\r\n }\r\n\r\n if (this.vehicle) {\r\n this.averageTranslateKey = ((this.vehicle.pricingPlanMsrp && this.vehicle.pricingPlanId) || hasEmployeePricing) ?\r\n \"avg\" : \"average\";\r\n }\r\n\r\n }\r\n\r\n openOasisLink() {\r\n var oasisUrl = Settings.environmentVariables.fordOASISUrl;\r\n\r\n oasisUrl = oasisUrl.replace(\"{0}\", this.vehicle.vin);\r\n window.open(oasisUrl, '_blank');\r\n }\r\n\r\n}","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./mobile-deal-sheet.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"../../customer-name/customer-name.component\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"@ngx-translate/core\"));\nvar i5 = __importStar(require(\"ng-busy\"));\nvar i6 = __importStar(require(\"../../../../../../../node_modules/@uirouter/angular/lib/directives/uiView.ngfactory\"));\nvar i7 = __importStar(require(\"@uirouter/angular/lib/directives/uiView\"));\nvar i8 = __importStar(require(\"@uirouter/core\"));\nvar i9 = __importStar(require(\"./mobile-deal-sheet.component\"));\nvar i10 = __importStar(require(\"../../../../services/mobile-deal-sheet-data-caching.service\"));\nvar i11 = __importStar(require(\"../../../../services/deal-sheet-data.service\"));\nvar styles_MobileDealSheetComponent = [i0.styles];\nvar RenderType_MobileDealSheetComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_MobileDealSheetComponent, data: {} });\nexports.RenderType_MobileDealSheetComponent = RenderType_MobileDealSheetComponent;\nfunction View_MobileDealSheetComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 0, null, null, 38, \"div\", [[\"class\", \"container mobile-deal-sheet-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 29, \"nav\", [[\"class\", \"navbar navbar-default navbar-fixed-top\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"customerNameContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"customer-name\", [], null, null, null, null, null)), i1.ɵdid(4, 999424, null, 0, i2.CustomerNameComponent, [i1.ElementRef, i1.Injector], { customer: [0, \"customer\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 3, \"div\", [[\"class\", \"scoreContainer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"div\", [[\"class\", \"scoreLeft\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"score\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\" \", \" \"])), (_l()(), i1.ɵeld(9, 0, null, null, 21, \"ul\", [[\"class\", \"nav nav-justified navbar-nav\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 6, \"li\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectNav(_co.routes.vehicle) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(12, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(13, { \"active\": 0 }), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"a\", [[\"href\", \"#\"]], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(17, 0, null, null, 6, \"li\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectNav(_co.routes.activity) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(19, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(20, { \"active\": 0 }), (_l()(), i1.ɵeld(21, 0, null, null, 2, \"a\", [[\"href\", \"#\"]], null, null, null, null, null)), (_l()(), i1.ɵted(22, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(24, 0, null, null, 6, \"li\", [], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.selectNav(_co.routes.contact) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(26, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), i1.ɵpod(27, { \"active\": 0 }), (_l()(), i1.ɵeld(28, 0, null, null, 2, \"a\", [[\"href\", \"#\"]], null, null, null, null, null)), (_l()(), i1.ɵted(29, null, [\"\", \"\"])), i1.ɵpid(131072, i4.TranslatePipe, [i4.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(31, 0, null, null, 7, \"div\", [[\"class\", \"container nav-content\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(32, 0, null, null, 6, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(33, 16777216, null, null, 3, \"div\", [], null, null, null, null, null)), i1.ɵprd(512, null, i5.InstanceConfigHolderService, i5.InstanceConfigHolderService, []), i1.ɵprd(131584, null, i5.ɵa, i5.ɵa, []), i1.ɵdid(36, 409600, null, 0, i5.NgBusyDirective, [i5.ɵb, i5.InstanceConfigHolderService, i1.ComponentFactoryResolver, i5.ɵa, i1.ApplicationRef, i1.ViewContainerRef, i1.ElementRef, i1.Renderer2, i1.Injector], { options: [0, \"options\"] }, null), (_l()(), i1.ɵeld(37, 16777216, null, null, 1, \"ui-view\", [], null, null, null, i6.View_UIView_0, i6.RenderType_UIView)), i1.ɵdid(38, 245760, null, 0, i7.UIView, [i8.UIRouter, \"UIView.PARENT_INJECT\", i1.ViewContainerRef], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.dealSheetData == null) ? null : _co.dealSheetData.opportunity.customer); _ck(_v, 4, 0, currVal_0); var currVal_2 = _ck(_v, 13, 0, ((_co.selectedNav === _co.routes.vehicle) || (_co.selectedNav === _co.routes.replacementDetails))); _ck(_v, 12, 0, currVal_2); var currVal_4 = _ck(_v, 20, 0, ((_co.selectedNav === _co.routes.activity) || (_co.selectedNav === _co.routes.customerConnect))); _ck(_v, 19, 0, currVal_4); var currVal_6 = _ck(_v, 27, 0, (_co.selectedNav === _co.routes.contact)); _ck(_v, 26, 0, currVal_6); var currVal_8 = _co.busy; _ck(_v, 36, 0, currVal_8); _ck(_v, 38, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = ((_co.dealSheetData == null) ? null : _co.dealSheetData.opportunity.entityScore); _ck(_v, 8, 0, currVal_1); var currVal_3 = i1.ɵunv(_v, 15, 0, i1.ɵnov(_v, 16).transform(\"opportunity\")); _ck(_v, 15, 0, currVal_3); var currVal_5 = i1.ɵunv(_v, 22, 0, i1.ɵnov(_v, 23).transform(\"activities\")); _ck(_v, 22, 0, currVal_5); var currVal_7 = i1.ɵunv(_v, 29, 0, i1.ɵnov(_v, 30).transform(\"Contact\")); _ck(_v, 29, 0, currVal_7); }); }\nexports.View_MobileDealSheetComponent_0 = View_MobileDealSheetComponent_0;\nfunction View_MobileDealSheetComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mobile-deal-sheet\", [], null, null, null, View_MobileDealSheetComponent_0, RenderType_MobileDealSheetComponent)), i1.ɵdid(1, 245760, null, 0, i9.MobileDealSheetComponent, [i10.MobileDealSheetDataCachingService, i11.DealSheetDataService, i8.StateService, i8.TransitionService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_MobileDealSheetComponent_Host_0 = View_MobileDealSheetComponent_Host_0;\nvar MobileDealSheetComponentNgFactory = i1.ɵccf(\"mobile-deal-sheet\", i9.MobileDealSheetComponent, View_MobileDealSheetComponent_Host_0, { opportunityId: \"opportunityId\" }, {}, []);\nexports.MobileDealSheetComponentNgFactory = MobileDealSheetComponentNgFactory;\n","
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    ","var path = '/app/components/header/sub-menu.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', { ownKeys: require('./_own-keys') });\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CustomerCultures = [\n { name: 'af-ZA', displayName: 'Afrikaans' },\n { name: 'sq-AL', displayName: 'Albanian' },\n { name: 'ar-SA', displayName: 'Arabic' },\n { name: 'hy-AM', displayName: 'Armenian' },\n { name: 'bn-BD', displayName: 'Bangla (Bangladesh)' },\n { name: 'bn-IN', displayName: 'Bangla (Bengali India)' },\n { name: 'bs-Latn-BA', displayName: 'Bosnian (Latin)' },\n { name: 'bg-BG', displayName: 'Bulgarian' },\n { name: 'ca-ES', displayName: 'Catalan' },\n { name: 'ca-ES-valencia', displayName: 'Catalan (Valencia)' },\n { name: 'zh-CN', displayName: 'Chinese (Simplified)' },\n { name: 'zh-TW', displayName: 'Chinese (Traditional)' },\n { name: 'hr-HR', displayName: 'Croatian' },\n { name: 'cs-CZ', displayName: 'Czech' },\n { name: 'da-DK', displayName: 'Danish' },\n { name: 'nl-NL', displayName: 'Dutch' },\n { name: 'en-US', displayName: 'English (US)' },\n { name: 'en-CA', displayName: 'English (Canada)' },\n { name: 'et-EE', displayName: 'Estonian' },\n { name: 'fi-FI', displayName: 'Finnish' },\n { name: 'fr-FR', displayName: 'French' },\n { name: 'fr-CA', displayName: 'French (Canada)' },\n { name: 'ka-GE', displayName: 'Georgian' },\n { name: 'de-DE', displayName: 'German' },\n { name: 'el-GR', displayName: 'Greek' },\n { name: 'he-IL', displayName: 'Hebrew' },\n { name: 'hi-IN', displayName: 'Hindi' },\n { name: 'hu-HU', displayName: 'Hungarian' },\n { name: 'is-IS', displayName: 'Icelandic' },\n { name: 'id-ID', displayName: 'Indonesian' },\n { name: 'ga-IE', displayName: 'Irish' },\n { name: 'it-IT', displayName: 'Italian' },\n { name: 'ja-JP', displayName: 'Japanese' },\n { name: 'ko-KR', displayName: 'Korean' },\n { name: 'lv-LV', displayName: 'Latvian' },\n { name: 'lt-LT', displayName: 'Lithuanian' },\n { name: 'lb-LU', displayName: 'Luxembourgish' },\n { name: 'mk-MK', displayName: 'Macedonian (North Macedonia)' },\n { name: 'ms-MY', displayName: 'Malay (Latin)' },\n { name: 'mt-MT', displayName: 'Maltese' },\n { name: 'ne-NP', displayName: 'Nepali' },\n { name: 'nb-NO', displayName: 'Norwegian Bokmål' },\n { name: 'nn-NO', displayName: 'Norwegian Nynorsk' },\n { name: 'fa-IR', displayName: 'Persian (Farsi)' },\n { name: 'pl-PL', displayName: 'Polish' },\n { name: 'pt-PT', displayName: 'Portuguese (Portugal)' },\n { name: 'pt-BR', displayName: 'Portuguese (Brazil)' },\n { name: 'ro-RO', displayName: 'Romanian' },\n { name: 'ru-RU', displayName: 'Russian' },\n { name: 'gd-GB', displayName: 'Scottish Gaelic' },\n { name: 'sr-Cyrl-RS', displayName: 'Serbian (Cyrillic, Serbia)' },\n { name: 'sr-Latn-RS', displayName: 'Serbian (Latin, Serbia)' },\n { name: 'sr-Cyrl-BA', displayName: 'Serbian (Cyrillic, Bosnia & Herzegovina)' },\n { name: 'sk-SK', displayName: 'Slovak' },\n { name: 'sl-SI', displayName: 'Slovenian' },\n { name: 'es-ES', displayName: 'Spanish' },\n { name: 'sv-SE', displayName: 'Swedish' },\n { name: 'th-TH', displayName: 'Thai' },\n { name: 'tr-TR', displayName: 'Turkish' },\n { name: 'uk-UA', displayName: 'Ukrainian' },\n { name: 'vi-VN', displayName: 'Vietnamese' },\n { name: 'cy-GB', displayName: 'Welsh' },\n];\n","export const CustomerCultures = [\r\n { name: 'af-ZA', displayName: 'Afrikaans' },\r\n { name: 'sq-AL', displayName: 'Albanian' },\r\n { name: 'ar-SA', displayName: 'Arabic' },\r\n { name: 'hy-AM', displayName: 'Armenian' },\r\n { name: 'bn-BD', displayName: 'Bangla (Bangladesh)' },\r\n { name: 'bn-IN', displayName: 'Bangla (Bengali India)' },\r\n { name: 'bs-Latn-BA', displayName: 'Bosnian (Latin)' },\r\n { name: 'bg-BG', displayName: 'Bulgarian' },\r\n { name: 'ca-ES', displayName: 'Catalan' },\r\n { name: 'ca-ES-valencia', displayName: 'Catalan (Valencia)' },\r\n { name: 'zh-CN', displayName: 'Chinese (Simplified)' },\r\n { name: 'zh-TW', displayName: 'Chinese (Traditional)' },\r\n { name: 'hr-HR', displayName: 'Croatian' },\r\n { name: 'cs-CZ', displayName: 'Czech' },\r\n { name: 'da-DK', displayName: 'Danish' },\r\n { name: 'nl-NL', displayName: 'Dutch' },\r\n { name: 'en-US', displayName: 'English (US)' },\r\n { name: 'en-CA', displayName: 'English (Canada)' },\r\n { name: 'et-EE', displayName: 'Estonian' },\r\n { name: 'fi-FI', displayName: 'Finnish' },\r\n { name: 'fr-FR', displayName: 'French' },\r\n { name: 'fr-CA', displayName: 'French (Canada)' },\r\n { name: 'ka-GE', displayName: 'Georgian' },\r\n { name: 'de-DE', displayName: 'German' },\r\n { name: 'el-GR', displayName: 'Greek' },\r\n { name: 'he-IL', displayName: 'Hebrew' },\r\n { name: 'hi-IN', displayName: 'Hindi' },\r\n { name: 'hu-HU', displayName: 'Hungarian' },\r\n { name: 'is-IS', displayName: 'Icelandic' },\r\n { name: 'id-ID', displayName: 'Indonesian' },\r\n { name: 'ga-IE', displayName: 'Irish' },\r\n { name: 'it-IT', displayName: 'Italian' },\r\n { name: 'ja-JP', displayName: 'Japanese' },\r\n { name: 'ko-KR', displayName: 'Korean' },\r\n { name: 'lv-LV', displayName: 'Latvian' },\r\n { name: 'lt-LT', displayName: 'Lithuanian' },\r\n { name: 'lb-LU', displayName: 'Luxembourgish' },\r\n { name: 'mk-MK', displayName: 'Macedonian (North Macedonia)' },\r\n { name: 'ms-MY', displayName: 'Malay (Latin)' },\r\n { name: 'mt-MT', displayName: 'Maltese' },\r\n { name: 'ne-NP', displayName: 'Nepali' },\r\n { name: 'nb-NO', displayName: 'Norwegian Bokmål' },\r\n { name: 'nn-NO', displayName: 'Norwegian Nynorsk' },\r\n { name: 'fa-IR', displayName: 'Persian (Farsi)' },\r\n { name: 'pl-PL', displayName: 'Polish' },\r\n { name: 'pt-PT', displayName: 'Portuguese (Portugal)' },\r\n { name: 'pt-BR', displayName: 'Portuguese (Brazil)' },\r\n { name: 'ro-RO', displayName: 'Romanian' },\r\n { name: 'ru-RU', displayName: 'Russian' },\r\n { name: 'gd-GB', displayName: 'Scottish Gaelic' },\r\n { name: 'sr-Cyrl-RS', displayName: 'Serbian (Cyrillic, Serbia)' },\r\n { name: 'sr-Latn-RS', displayName: 'Serbian (Latin, Serbia)' },\r\n { name: 'sr-Cyrl-BA', displayName: 'Serbian (Cyrillic, Bosnia & Herzegovina)' },\r\n { name: 'sk-SK', displayName: 'Slovak' },\r\n { name: 'sl-SI', displayName: 'Slovenian' },\r\n { name: 'es-ES', displayName: 'Spanish' },\r\n { name: 'sv-SE', displayName: 'Swedish' },\r\n { name: 'th-TH', displayName: 'Thai' },\r\n { name: 'tr-TR', displayName: 'Turkish' },\r\n { name: 'uk-UA', displayName: 'Ukrainian' },\r\n { name: 'vi-VN', displayName: 'Vietnamese' },\r\n { name: 'cy-GB', displayName: 'Welsh' },\r\n];\r\n","require('../modules/es7.object.get-own-property-descriptors');\nrequire('../modules/es7.object.values');\nrequire('../modules/es7.object.entries');\nrequire('../modules/es7.object.define-getter');\nrequire('../modules/es7.object.define-setter');\nrequire('../modules/es7.object.lookup-getter');\nrequire('../modules/es7.object.lookup-setter');\nmodule.exports = require('../modules/_core').Object;\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/modals/service-detail-modal.component.html';\nvar html = \"

    {{$ctrl.resolve.roId}}

    {{row.opCode}} {{row.opCode_Description}} {{row.roSale | localeCurrency}} {{row.roSaleCP | localeCurrency}} {{row.roSaleWP | localeCurrency}} {{row.roSaleIP | localeCurrency}}
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = false;\n","var path = '/app/components/deal-sheet/user-select.component.html';\nvar html = \"
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerPriceClientService = /** @class */ (function (_super) {\n __extends(DealerPriceClientService, _super);\n function DealerPriceClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param params The `DealerPriceClientService.GetTrimPriceByDealeridByTrimidGETParams` containing the following parameters:\n *\n * - `trimId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerPriceClientService.prototype.GetTrimPriceByDealeridByTrimidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerPrice/GetTrimPrice/\" + params.dealerId + \"/\" + params.trimId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param params The `DealerPriceClientService.GetTrimPriceByDealeridByTrimidGETParams` containing the following parameters:\n *\n * - `trimId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerPriceClientService.prototype.GetTrimPriceByDealeridByTrimidGET = function (params) {\n return this.GetTrimPriceByDealeridByTrimidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `DealerPriceClientService.GetTrimPlanPriceGETParams` containing the following parameters:\n *\n * - `trimId`:\n *\n * - `pricingPlanId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerPriceClientService.prototype.GetTrimPlanPriceGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.trimId != null)\n __params = __params.set('trimId', params.trimId.toString());\n if (params.pricingPlanId != null)\n __params = __params.set('pricingPlanId', params.pricingPlanId.toString());\n if (params.dealerId != null)\n __params = __params.set('dealerId', params.dealerId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealerPrice/GetTrimPlanPrice\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `DealerPriceClientService.GetTrimPlanPriceGETParams` containing the following parameters:\n *\n * - `trimId`:\n *\n * - `pricingPlanId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerPriceClientService.prototype.GetTrimPlanPriceGET = function (params) {\n return this.GetTrimPlanPriceGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `DealerPriceClientService.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETParams` containing the following parameters:\n *\n * - `vehicleType`:\n *\n * - `msrp`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerPriceClientService.prototype.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerPrice/GetAdjustedInventoryVehiclePrice/\" + params.dealerId + \"/\" + params.vehicleType + \"/\" + params.msrp), __body, {\n headers: __headers,\n params: __params,\n responseType: 'text'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r.clone({ body: parseFloat(_r.body) });\n }));\n };\n /**\n * @param params The `DealerPriceClientService.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETParams` containing the following parameters:\n *\n * - `vehicleType`:\n *\n * - `msrp`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerPriceClientService.prototype.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGET = function (params) {\n return this.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `DealerPriceClientService.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\n *\n * - `year`:\n *\n * - `trimId`:\n *\n * - `modelId`:\n *\n * - `makeId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerPriceClientService.prototype.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/DealerPrice/GetDealerPrices/\" + params.dealerId + \"/\" + params.makeId + \"/\" + params.year + \"/\" + params.modelId + \"/\" + params.trimId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `DealerPriceClientService.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\n *\n * - `year`:\n *\n * - `trimId`:\n *\n * - `modelId`:\n *\n * - `makeId`:\n *\n * - `dealerId`:\n *\n * @return Success\n */\n DealerPriceClientService.prototype.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGET = function (params) {\n return this.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param prices undefined\n * @return Success\n */\n DealerPriceClientService.prototype.UpdateDealerPricesPATCHResponse = function (prices) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = prices;\n var req = new http_1.HttpRequest('PATCH', this.rootUrl + \"/api/DealerPrice\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param prices undefined\n * @return Success\n */\n DealerPriceClientService.prototype.UpdateDealerPricesPATCH = function (prices) {\n return this.UpdateDealerPricesPATCHResponse(prices).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerPriceClientService.GetTrimPriceByDealeridByTrimidGETPath = '/api/DealerPrice/GetTrimPrice/{dealerId}/{trimId}';\n DealerPriceClientService.GetTrimPlanPriceGETPath = '/api/DealerPrice/GetTrimPlanPrice';\n DealerPriceClientService.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETPath = '/api/DealerPrice/GetAdjustedInventoryVehiclePrice/{dealerId}/{vehicleType}/{msrp}';\n DealerPriceClientService.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETPath = '/api/DealerPrice/GetDealerPrices/{dealerId}/{makeId}/{year}/{modelId}/{trimId}';\n DealerPriceClientService.UpdateDealerPricesPATCHPath = '/api/DealerPrice';\n DealerPriceClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerPriceClientService_Factory() { return new DealerPriceClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerPriceClientService, providedIn: \"root\" });\n return DealerPriceClientService;\n}(base_service_1.BaseService));\nexports.DealerPriceClientService = DealerPriceClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerTrimPlanPriceDto } from '../models/dealer-trim-plan-price-dto';\r\nimport { DealerPriceExtDto } from '../models/dealer-price-ext-dto';\r\nimport { DealerPriceDto } from '../models/dealer-price-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerPriceClientService extends __BaseService {\r\n static readonly GetTrimPriceByDealeridByTrimidGETPath = '/api/DealerPrice/GetTrimPrice/{dealerId}/{trimId}';\r\n static readonly GetTrimPlanPriceGETPath = '/api/DealerPrice/GetTrimPlanPrice';\r\n static readonly GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETPath = '/api/DealerPrice/GetAdjustedInventoryVehiclePrice/{dealerId}/{vehicleType}/{msrp}';\r\n static readonly GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETPath = '/api/DealerPrice/GetDealerPrices/{dealerId}/{makeId}/{year}/{modelId}/{trimId}';\r\n static readonly UpdateDealerPricesPATCHPath = '/api/DealerPrice';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param params The `DealerPriceClientService.GetTrimPriceByDealeridByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetTrimPriceByDealeridByTrimidGETResponse(params: DealerPriceClientService.GetTrimPriceByDealeridByTrimidGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerPrice/GetTrimPrice/${params.dealerId}/${params.trimId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerPriceClientService.GetTrimPriceByDealeridByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetTrimPriceByDealeridByTrimidGET(params: DealerPriceClientService.GetTrimPriceByDealeridByTrimidGETParams): __Observable {\r\n return this.GetTrimPriceByDealeridByTrimidGETResponse(params).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `DealerPriceClientService.GetTrimPlanPriceGETParams` containing the following parameters:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `pricingPlanId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetTrimPlanPriceGETResponse(params: DealerPriceClientService.GetTrimPlanPriceGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (params.trimId != null) __params = __params.set('trimId', params.trimId.toString());\r\n if (params.pricingPlanId != null) __params = __params.set('pricingPlanId', params.pricingPlanId.toString());\r\n if (params.dealerId != null) __params = __params.set('dealerId', params.dealerId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerPrice/GetTrimPlanPrice`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerPriceClientService.GetTrimPlanPriceGETParams` containing the following parameters:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `pricingPlanId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetTrimPlanPriceGET(params: DealerPriceClientService.GetTrimPlanPriceGETParams): __Observable {\r\n return this.GetTrimPlanPriceGETResponse(params).pipe(\r\n __map(_r => _r.body as DealerTrimPlanPriceDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `DealerPriceClientService.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETParams` containing the following parameters:\r\n *\r\n * - `vehicleType`:\r\n *\r\n * - `msrp`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETResponse(params: DealerPriceClientService.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerPrice/GetAdjustedInventoryVehiclePrice/${params.dealerId}/${params.vehicleType}/${params.msrp}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'text'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return (_r as HttpResponse).clone({ body: parseFloat((_r as HttpResponse).body as string) }) as __StrictHttpResponse\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerPriceClientService.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETParams` containing the following parameters:\r\n *\r\n * - `vehicleType`:\r\n *\r\n * - `msrp`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGET(params: DealerPriceClientService.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETParams): __Observable {\r\n return this.GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETResponse(params).pipe(\r\n __map(_r => _r.body as number)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `DealerPriceClientService.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `year`:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `modelId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETResponse(params: DealerPriceClientService.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerPrice/GetDealerPrices/${params.dealerId}/${params.makeId}/${params.year}/${params.modelId}/${params.trimId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `DealerPriceClientService.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETParams` containing the following parameters:\r\n *\r\n * - `year`:\r\n *\r\n * - `trimId`:\r\n *\r\n * - `modelId`:\r\n *\r\n * - `makeId`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * @return Success\r\n */\r\n GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGET(params: DealerPriceClientService.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETParams): __Observable> {\r\n return this.GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param prices undefined\r\n * @return Success\r\n */\r\n UpdateDealerPricesPATCHResponse(prices?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = prices;\r\n let req = new HttpRequest(\r\n 'PATCH',\r\n this.rootUrl + `/api/DealerPrice`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param prices undefined\r\n * @return Success\r\n */\r\n UpdateDealerPricesPATCH(prices?: Array): __Observable> {\r\n return this.UpdateDealerPricesPATCHResponse(prices).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerPriceClientService {\r\n\r\n /**\r\n * Parameters for GetTrimPriceByDealeridByTrimidGET\r\n */\r\n export interface GetTrimPriceByDealeridByTrimidGETParams {\r\n trimId: number;\r\n dealerId: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetTrimPlanPriceGET\r\n */\r\n export interface GetTrimPlanPriceGETParams {\r\n trimId?: number;\r\n pricingPlanId?: number;\r\n dealerId?: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGET\r\n */\r\n export interface GetAdjustedInventoryVehiclePriceByDealeridByVehicletypeByMsrpGETParams {\r\n vehicleType: 0 | 1 | 2;\r\n msrp: number;\r\n dealerId: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGET\r\n */\r\n export interface GetDealerPricesByDealeridByMakeidByYearByModelidByTrimidGETParams {\r\n year: number;\r\n trimId: number;\r\n modelId: number;\r\n makeId: number;\r\n dealerId: number;\r\n }\r\n}\r\n\r\nexport { DealerPriceClientService }\r\n","module.exports = \".search-export-modal .modal-dialog {\\n width: 700px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9zZWFyY2gvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxjb21wb25lbnRzXFxzZWFyY2hcXHNlYXJjaC1leHBvcnQtbW9kYWwuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL2NvbXBvbmVudHMvc2VhcmNoL3NlYXJjaC1leHBvcnQtbW9kYWwuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDSSxhQUFBO0NDREgiLCJmaWxlIjoic3JjL2FwcC9jb21wb25lbnRzL3NlYXJjaC9zZWFyY2gtZXhwb3J0LW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCBcIi4uLy4uL3N0eWxlcy9hYS12YXJpYWJsZXNcIjtcclxuXHJcbi5zZWFyY2gtZXhwb3J0LW1vZGFsIC5tb2RhbC1kaWFsb2cge1xyXG4gICAgd2lkdGg6IDcwMHB4O1xyXG59XHJcblxyXG4iLCIuc2VhcmNoLWV4cG9ydC1tb2RhbCAubW9kYWwtZGlhbG9nIHtcbiAgd2lkdGg6IDcwMHB4O1xufSJdfQ== */\"","var $parseFloat = require('./_global').parseFloat;\nvar $trim = require('./_string-trim').trim;\n\nmodule.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str) {\n var string = $trim(String(str), 3);\n var result = $parseFloat(string);\n return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n","module.exports = __webpack_public_path__ + \"service-marketing-mail-blue.409172c34ac54ce6f2fd.svg\";","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar storage_service_1 = require(\"../modules/storage/storage.service\");\nvar LocalePhonePipe = /** @class */ (function () {\n function LocalePhonePipe(storageService) {\n this.storageService = storageService;\n }\n LocalePhonePipe.prototype.transform = function (localePhone) {\n if (!localePhone) {\n return localePhone;\n }\n var savedCultureName = this.storageService.getItem('cultureName');\n var cultureName = savedCultureName ? savedCultureName : 'en-us';\n cultureName = cultureName.toLowerCase();\n if (cultureName === 'fr-fr') {\n return this.formatEurope(localePhone);\n }\n if (cultureName === 'en-gb') {\n return;\n }\n localePhone = localePhone + '';\n var numbers = localePhone.replace(/\\D/g, '');\n // If the phone number is exactly 10 digits, assume it should be in NANP format.\n if (numbers.length === 10) {\n var char = { 0: '(', 3: ') ', 6: '-' };\n numbers = numbers.slice(0, 10);\n var formattedNumber = '';\n for (var i = 0; i < numbers.length; i++) {\n formattedNumber += (char[i] || '') + numbers[i];\n }\n return formattedNumber;\n }\n else {\n // If we can't recognize the format, return the value unformatted.\n return localePhone;\n }\n };\n LocalePhonePipe.prototype.formatEurope = function (phoneNumber) {\n var formatted = '';\n // if phone number has an odd length, the leading digit should stand alone.\n if (phoneNumber.length % 2 === 1) {\n formatted += '0' + phoneNumber[0] + ' ';\n phoneNumber = phoneNumber.substring(1);\n }\n for (var i = 0; i < phoneNumber.length; i++) {\n if (i % 2 === 0 && i !== 0) {\n formatted += ' ';\n }\n formatted += phoneNumber[i];\n }\n return formatted;\n };\n return LocalePhonePipe;\n}());\nexports.LocalePhonePipe = LocalePhonePipe;\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { StorageService } from '../modules/storage/storage.service';\r\n\r\n@Pipe({\r\n name: 'localePhone'\r\n})\r\nexport class LocalePhonePipe implements PipeTransform {\r\n\r\n constructor(private storageService: StorageService) { }\r\n\r\n transform(localePhone: any): string {\r\n if (!localePhone) {\r\n return localePhone;\r\n }\r\n\r\n const savedCultureName = this.storageService.getItem('cultureName');\r\n let cultureName = savedCultureName ? savedCultureName : 'en-us';\r\n cultureName = cultureName.toLowerCase();\r\n\r\n if (cultureName === 'fr-fr') {\r\n return this.formatEurope(localePhone);\r\n }\r\n\r\n if (cultureName === 'en-gb') {\r\n return;\r\n }\r\n\r\n localePhone = localePhone + '';\r\n let numbers = localePhone.replace(/\\D/g, '');\r\n\r\n // If the phone number is exactly 10 digits, assume it should be in NANP format.\r\n if (numbers.length === 10) {\r\n const char = { 0: '(', 3: ') ', 6: '-' };\r\n numbers = numbers.slice(0, 10);\r\n let formattedNumber = '';\r\n\r\n for (let i = 0; i < numbers.length; i++) {\r\n formattedNumber += (char[i] || '') + numbers[i];\r\n }\r\n return formattedNumber;\r\n } else {\r\n // If we can't recognize the format, return the value unformatted.\r\n return localePhone;\r\n }\r\n }\r\n\r\n private formatEurope(phoneNumber: string): string {\r\n let formatted = '';\r\n // if phone number has an odd length, the leading digit should stand alone.\r\n if (phoneNumber.length % 2 === 1) {\r\n formatted += '0' + phoneNumber[0] + ' ';\r\n phoneNumber = phoneNumber.substring(1);\r\n }\r\n for (let i = 0; i < phoneNumber.length; i++) {\r\n if (i % 2 === 0 && i !== 0) {\r\n formatted += ' ';\r\n }\r\n formatted += phoneNumber[i];\r\n }\r\n return formatted;\r\n }\r\n\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar alertMiner = \"https://opportunities-api.autoalert.com\";\nvar reportMiner = \"https://reportminer.autoalert.com\";\nvar dmsPushApi = \"https://cxmintegration.autoalert.com\";\nexports.default = {\n \"environmentVariables\": {\n \"environment\": \"production\",\n \"crossDomainStorageDomain\": \"autoalert.com\",\n \"logDebugEnabled\": false,\n \"pandoInboxEnabled\": true,\n \"pandoDealSheetEnabled\": true,\n \"pandoDealSheetProcessEnabled\": true,\n \"customerEngagementUpdateInterval\": 600,\n \"managerDashboardCustomerEngagementMaxRows\": 50,\n \"autoRewardsUrl\": \"https://www.flexstatonline.net/WebEnrollment/SuperSearch.aspx?%64={0}&%6C={1}&%70={2}&ln={3}&fn={4}\",\n \"fordMakeIds\": [100, 326],\n \"lincolnMakeIds\": [101, 340],\n \"whatFixUrl\": \"https://cdn.whatfix.com/prod/b3d0c6ab-8f0e-4f4d-988a-b4c0374428e0/initiator/initiator.nocache.js\",\n \"employeeDefaultDealer\": {\n \"dealerId\": 1167,\n \"dealerGroupId\": 8844,\n },\n \"showPerformanceReportDayOfMonth\": 1,\n \"defaultInMemoryCacheTimeoutSeconds\": 900,\n \"angularProdMode\": true,\n \"opportunityServiceAng8Enabled\": true,\n \"smartVincentUrl\": \"https://www.smartvincent.dealerconnection.com/smartvincent/svaccess.do?vin={0}&source=autoalert&market={1}&language={2}\",\n \"fordOASISUrl\": \"http://www.proservicetech.com/transport/?flavor=dealers&link=506¶m={0}\"\n },\n \"googleApi\": {\n \"key\": \"AIzaSyCt623PLYGKlpAWvfSPH0xYUppwPIRR3aU\"\n },\n \"featureToggles\": {\n // Set feature toggles to 'true' to enable for all dealers,\n // or provide an array of dealer IDs to enable for selected dealers\n \"enableCustomerEngagementWidget\": true,\n },\n \"apiUrls\": {\n \"alertMiner\": alertMiner,\n \"reportMiner\": reportMiner,\n \"dmsPushApi\": dmsPushApi,\n \"motofuze\": \"https://fs-api.autoalert.com/\",\n \"pandoInboxUrl\": \"https://inbox.autoalert.com/\",\n \"pandoDealSheetUrl\": \"https://connect.autoalert.com/\",\n \"tableauApi\": \"https://pando-api.autoalert.com/pando/analytics/tableau/\",\n \"betaReportsUrl\": \"https://analyticspro.autoalert.com/views/\",\n },\n \"oidc\": {\n \"urls\": [\n alertMiner,\n reportMiner,\n dmsPushApi\n ],\n \"portalUrl\": \"https://opportunities.autoalert.com\",\n \"opportunitiesOrigin\": \"https://opportunities.autoalert.com\",\n \"basePath\": \"https://login.autoalert.com/identity\",\n \"clientId\": \"Portal\",\n \"responseType\": \"code id_token token\",\n \"scope\": \"openid profile aauser opp_api\",\n \"redirectUri\": \"https://opportunities.autoalert.com/identity.html#/auth/callback/\",\n \"logoutUri\": \"https://opportunities.autoalert.com\",\n \"advanceRefresh\": 900000\n },\n \"templateEmail\": {\n \"mailFrom\": \"notifications@aamailer.com\"\n },\n \"menu\": [\n {\n \"name\": \"opportunities\",\n \"order\": 1,\n \"url\": \"/\"\n },\n {\n \"name\": \"social\",\n \"order\": 2,\n \"url\": \"https://social.autoalert.com\"\n },\n {\n \"name\": \"campaigns\",\n \"order\": 3,\n \"url\": \"https://campaigns.autoalert.com\"\n },\n {\n \"name\": \"communication\",\n \"order\": 4,\n \"url\": \"https://communication.autoalert.com\"\n },\n {\n \"name\": \"reports\",\n \"order\": 5,\n \"url\": \"/reports/dashboard\"\n }\n ],\n \"legacy\": {\n \"isDealsheetVersionChangeEnabled\": false,\n \"iframeUrl\": \"//dealer-contentonly.autoalert.com\",\n \"protocol\": \"https:\"\n },\n \"tagManager\": {\n \"containerId\": \"GTM-WV7FRRR\"\n },\n \"whoson\": {\n \"baseUrl\": \"https://autoalert.whoson.com\",\n \"linkId\": \"whoson_chat_link\"\n }\n};\n","const alertMiner = \"https://opportunities-api.autoalert.com\"\r\nconst reportMiner = \"https://reportminer.autoalert.com\"\r\nconst dmsPushApi = \"https://cxmintegration.autoalert.com\"\r\n\r\nexport default {\r\n \"environmentVariables\": {\r\n \"environment\": \"production\",\r\n \"crossDomainStorageDomain\": \"autoalert.com\",\r\n \"logDebugEnabled\": false,\r\n \"pandoInboxEnabled\": true,\r\n \"pandoDealSheetEnabled\": true,\r\n \"pandoDealSheetProcessEnabled\": true,\r\n \"customerEngagementUpdateInterval\": 600,\r\n \"managerDashboardCustomerEngagementMaxRows\": 50,\r\n \"autoRewardsUrl\" : \"https://www.flexstatonline.net/WebEnrollment/SuperSearch.aspx?%64={0}&%6C={1}&%70={2}&ln={3}&fn={4}\",\r\n \"fordMakeIds\": [ 100, 326 ],\r\n \"lincolnMakeIds\": [ 101, 340 ],\r\n \"whatFixUrl\": \"https://cdn.whatfix.com/prod/b3d0c6ab-8f0e-4f4d-988a-b4c0374428e0/initiator/initiator.nocache.js\",\r\n \"employeeDefaultDealer\": {\r\n \"dealerId\": 1167,\r\n \"dealerGroupId\": 8844,\r\n },\r\n \"showPerformanceReportDayOfMonth\": 1,\r\n \"defaultInMemoryCacheTimeoutSeconds\": 900, //15 minutes\r\n \"angularProdMode\": true,\r\n \"opportunityServiceAng8Enabled\": true,\r\n \"smartVincentUrl\": \"https://www.smartvincent.dealerconnection.com/smartvincent/svaccess.do?vin={0}&source=autoalert&market={1}&language={2}\",\r\n \"fordOASISUrl\": \"http://www.proservicetech.com/transport/?flavor=dealers&link=506¶m={0}\"\r\n },\r\n \"googleApi\": {\r\n \"key\": \"AIzaSyCt623PLYGKlpAWvfSPH0xYUppwPIRR3aU\"\r\n },\r\n \"featureToggles\": {\r\n // Set feature toggles to 'true' to enable for all dealers,\r\n // or provide an array of dealer IDs to enable for selected dealers\r\n \"enableCustomerEngagementWidget\": true,\r\n },\r\n \"apiUrls\": {\r\n \"alertMiner\": alertMiner,\r\n \"reportMiner\": reportMiner,\r\n \"dmsPushApi\": dmsPushApi,\r\n \"motofuze\": \"https://fs-api.autoalert.com/\",\r\n \"pandoInboxUrl\" : \"https://inbox.autoalert.com/\",\r\n \"pandoDealSheetUrl\" : \"https://connect.autoalert.com/\",\r\n \"tableauApi\": \"https://pando-api.autoalert.com/pando/analytics/tableau/\",\r\n \"betaReportsUrl\": \"https://analyticspro.autoalert.com/views/\",\r\n },\r\n \"oidc\": {\r\n \"urls\": [\r\n alertMiner,\r\n reportMiner,\r\n dmsPushApi\r\n ],\r\n \"portalUrl\": \"https://opportunities.autoalert.com\",\r\n \"opportunitiesOrigin\": \"https://opportunities.autoalert.com\",\r\n \"basePath\": \"https://login.autoalert.com/identity\",\r\n \"clientId\": \"Portal\",\r\n \"responseType\": \"code id_token token\",\r\n \"scope\": \"openid profile aauser opp_api\",\r\n \"redirectUri\": \"https://opportunities.autoalert.com/identity.html#/auth/callback/\",\r\n \"logoutUri\": \"https://opportunities.autoalert.com\",\r\n \"advanceRefresh\": 900000\r\n },\r\n \"templateEmail\": {\r\n \"mailFrom\": \"notifications@aamailer.com\"\r\n },\r\n \"menu\": [\r\n {\r\n \"name\": \"opportunities\",\r\n \"order\": 1,\r\n \"url\": \"/\"\r\n },\r\n {\r\n \"name\": \"social\",\r\n \"order\": 2,\r\n \"url\": \"https://social.autoalert.com\"\r\n },\r\n {\r\n \"name\": \"campaigns\",\r\n \"order\": 3,\r\n \"url\": \"https://campaigns.autoalert.com\"\r\n },\r\n {\r\n \"name\": \"communication\",\r\n \"order\": 4,\r\n \"url\": \"https://communication.autoalert.com\"\r\n },\r\n {\r\n \"name\": \"reports\",\r\n \"order\": 5,\r\n \"url\": \"/reports/dashboard\"\r\n }\r\n ],\r\n \"legacy\": {\r\n \"isDealsheetVersionChangeEnabled\": false,\r\n \"iframeUrl\": \"//dealer-contentonly.autoalert.com\",\r\n \"protocol\": \"https:\"\r\n },\r\n \"tagManager\": {\r\n \"containerId\": \"GTM-WV7FRRR\"\r\n },\r\n \"whoson\": {\r\n \"baseUrl\": \"https://autoalert.whoson.com\",\r\n \"linkId\": \"whoson_chat_link\"\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@angular/common\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../../../node_modules/@progress/kendo-angular-popup/dist/es2015/index.ngfactory\"));\nvar i4 = __importStar(require(\"@progress/kendo-angular-popup\"));\nvar i5 = __importStar(require(\"@angular/animations\"));\nvar i6 = __importStar(require(\"../../../../node_modules/@progress/kendo-angular-dateinputs/dist/es2015/index.ngfactory\"));\nvar i7 = __importStar(require(\"@angular/forms\"));\nvar i8 = __importStar(require(\"@progress/kendo-angular-dateinputs\"));\nvar i9 = __importStar(require(\"../directives/min.directive\"));\nvar i10 = __importStar(require(\"@progress/kendo-angular-l10n\"));\nvar i11 = __importStar(require(\"@progress/kendo-angular-common\"));\nvar i12 = __importStar(require(\"@progress/kendo-angular-intl\"));\nvar i13 = __importStar(require(\"../directives/max.directive\"));\nvar i14 = __importStar(require(\"./calendar-date-range.component-ng\"));\nvar styles_CalendarDateRangeComponent = [];\nvar RenderType_CalendarDateRangeComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_CalendarDateRangeComponent, data: {} });\nexports.RenderType_CalendarDateRangeComponent = RenderType_CalendarDateRangeComponent;\nfunction View_CalendarDateRangeComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"div\", [], null, [[null, \"touchend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"touchend\" === en)) {\n var pd_0 = (_co.dateSelected(_v.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 3, \"span\", [], null, null, null, null, null)), i0.ɵprd(512, null, i1.ɵNgClassImpl, i1.ɵNgClassR2Impl, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2]), i0.ɵdid(3, 278528, null, 0, i1.NgClass, [i1.ɵNgClassImpl], { ngClass: [0, \"ngClass\"] }, null), (_l()(), i0.ɵted(4, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isFutureDate(_v.context.$implicit); _ck(_v, 3, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.context.$implicit.getDate(); _ck(_v, 4, 0, currVal_1); }); }\nfunction View_CalendarDateRangeComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"col-md-12 error\"], [\"translate\", \"\"]], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵted(2, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"\"; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = \"maxDateRange\"; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_CalendarDateRangeComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"col-md-12 error\"], [\"translate\", \"\"]], null, null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵted(2, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = \"\"; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = \"fromDtGreaterThanToDt\"; _ck(_v, 2, 0, currVal_1); }); }\nfunction View_CalendarDateRangeComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 2, \"a\", [[\"class\", \"btn qa-report-date-range-button\"], [\"href\", \"#\"], [\"translate\", \"\"]], [[2, \"selected\", null]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onPresetSelect(_v.parent.context.$implicit) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵted(3, null, [\" \", \"\"]))], function (_ck, _v) { var currVal_1 = \"\"; _ck(_v, 2, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_v.parent.context.$implicit == _co.currentPreselect); _ck(_v, 1, 0, currVal_0); var currVal_2 = ((_v.parent.context.$implicit == \"D\") ? \"yesterday\" : ((_v.parent.context.$implicit == \"UI\") ? \"\" : _v.parent.context.$implicit)); _ck(_v, 3, 0, currVal_2); }); }\nfunction View_CalendarDateRangeComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CalendarDateRangeComponent_6)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var currVal_0 = (_v.context.$implicit != \"UI\"); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_CalendarDateRangeComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 76, \"kendo-popup\", [[\"class\", \"wrapper kendo-angularjs\"]], null, null, null, i3.View_PopupComponent_0, i3.RenderType_PopupComponent)), i0.ɵprd(512, null, i4.DOMService, i4.DOMService, []), i0.ɵprd(512, null, i4.AlignService, i4.AlignService, [i4.DOMService, [2, i4.SCALE]]), i0.ɵprd(512, null, i4.PositionService, i4.PositionService, [i4.DOMService, [2, i4.SCALE]]), i0.ɵprd(512, null, i4.ResizeService, i4.ResizeService, [i4.DOMService, i0.NgZone]), i0.ɵprd(512, null, i4.ScrollableService, i4.ScrollableService, [i4.DOMService, i0.NgZone]), i0.ɵprd(131584, null, i4.AnimationService, i4.AnimationService, [i5.AnimationBuilder]), i0.ɵdid(7, 13352960, null, 0, i4.PopupComponent, [i0.ElementRef, i4.AlignService, i4.DOMService, i4.PositionService, i4.ResizeService, i4.ScrollableService, i4.AnimationService, i0.Renderer2, i0.NgZone], { anchor: [0, \"anchor\"], anchorAlign: [1, \"anchorAlign\"], popupAlign: [2, \"popupAlign\"] }, null), i0.ɵpod(8, { horizontal: 0, vertical: 1 }), i0.ɵpod(9, { horizontal: 0, vertical: 1 }), (_l()(), i0.ɵeld(10, 0, null, 0, 66, \"div\", [[\"class\", \"calendar-date-range-popup\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 65, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 60, \"div\", [[\"class\", \"col-md-10\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 18, \"kendo-multiviewcalendar\", [[\"kendoDateRangeSelection\", \"\"]], [[1, \"id\", 0], [1, \"role\", 0], [1, \"tabindex\", 0], [1, \"aria-disabled\", 0], [2, \"k-state-disabled\", null], [1, \"aria-activedescendant\", 0]], [[null, \"selectionRangeChange\"], [null, \"blur\"], [null, \"focus\"], [null, \"mouseenter\"], [null, \"mouseleave\"], [null, \"mousedown\"], [null, \"click\"], [null, \"keydown\"], [null, \"keydown.enter\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"blur\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 20).handleBlur() !== false);\n ad = (pd_0 && ad);\n } if ((\"focus\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 20).handleFocus() !== false);\n ad = (pd_1 && ad);\n } if ((\"mouseenter\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 20).handleMouseEnter() !== false);\n ad = (pd_2 && ad);\n } if ((\"mouseleave\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 20).handleMouseLeave() !== false);\n ad = (pd_3 && ad);\n } if ((\"mousedown\" === en)) {\n var pd_4 = (i0.ɵnov(_v, 20).handleMousedown($event) !== false);\n ad = (pd_4 && ad);\n } if ((\"click\" === en)) {\n var pd_5 = (i0.ɵnov(_v, 20).handleClick() !== false);\n ad = (pd_5 && ad);\n } if ((\"keydown\" === en)) {\n var pd_6 = (i0.ɵnov(_v, 20).keydown($event) !== false);\n ad = (pd_6 && ad);\n } if ((\"keydown.enter\" === en)) {\n var pd_7 = (i0.ɵnov(_v, 20).enter() !== false);\n ad = (pd_7 && ad);\n } if ((\"selectionRangeChange\" === en)) {\n var pd_8 = (_co.handleSelectionRange($event) !== false);\n ad = (pd_8 && ad);\n } return ad; }, i6.View_MultiViewCalendarComponent_0, i6.RenderType_MultiViewCalendarComponent)), i0.ɵprd(5120, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i8.MultiViewCalendarComponent]), i0.ɵprd(5120, null, i7.NG_VALIDATORS, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i8.MultiViewCalendarComponent, i9.MinDirective]), i0.ɵprd(512, null, i8.BusViewService, i8.BusViewService, [i0.Injector]), i0.ɵprd(256, null, i10.L10N_PREFIX, \"kendo.multiviewcalendar\", []), i0.ɵprd(131584, null, i10.LocalizationService, i10.LocalizationService, [i10.L10N_PREFIX, [2, i10.MessageService], [2, i10.RTL]]), i0.ɵprd(512, null, i8.NavigationService, i8.NavigationService, [i8.BusViewService]), i0.ɵdid(20, 4964352, null, 7, i8.MultiViewCalendarComponent, [i8.BusViewService, i0.ElementRef, i10.LocalizationService, i8.NavigationService, i0.Renderer2, i0.ChangeDetectorRef, i0.NgZone], { min: [0, \"min\"], activeRangeEnd: [1, \"activeRangeEnd\"], selectionRange: [2, \"selectionRange\"] }, null), i0.ɵqud(335544320, 2, { cellTemplate: 0 }), i0.ɵqud(335544320, 3, { monthCellTemplate: 0 }), i0.ɵqud(335544320, 4, { yearCellTemplate: 0 }), i0.ɵqud(335544320, 5, { decadeCellTemplate: 0 }), i0.ɵqud(335544320, 6, { centuryCellTemplate: 0 }), i0.ɵqud(335544320, 7, { weekNumberTemplate: 0 }), i0.ɵqud(335544320, 8, { headerTitleTemplate: 0 }), i0.ɵdid(28, 212992, [[1, 4]], 0, i8.DateRangeSelectionDirective, [i8.MultiViewCalendarComponent, i0.ChangeDetectorRef, i0.ElementRef, i0.Renderer2, [2, i8.DateRangeService]], { selectionRange: [0, \"selectionRange\"], activeRangeEnd: [1, \"activeRangeEnd\"] }, { selectionRangeChange: \"selectionRangeChange\" }), i0.ɵdid(29, 16384, null, 0, i9.MinDirective, [], { min: [0, \"min\"] }, null), (_l()(), i0.ɵand(0, null, null, 1, null, View_CalendarDateRangeComponent_2)), i0.ɵdid(31, 16384, [[3, 4]], 0, i8.MonthCellTemplateDirective, [i0.TemplateRef], null, null), (_l()(), i0.ɵeld(32, 0, null, null, 35, \"div\", [[\"class\", \"calendar-row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(33, 0, null, null, 0, \"div\", [[\"class\", \"col-md-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(35, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-primary qa-report-date-cancel\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵted(-1, null, [\"Cancel\"])), (_l()(), i0.ɵeld(37, 0, null, null, 12, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(38, 0, null, null, 11, \"kendo-dateinput\", [], [[2, \"selected\", null], [2, \"k-widget\", null], [2, \"k-dateinput\", null], [2, \"k-state-disabled\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"ngModelChange\" === en)) {\n var pd_0 = ((_co.range.start = $event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = (_co.onStartChange($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_DateInputComponent_0, i6.RenderType_DateInputComponent)), i0.ɵprd(6144, null, i11.KendoInput, null, [i8.DateInputComponent]), i0.ɵprd(256, null, i10.L10N_PREFIX, \"kendo.dateinput\", []), i0.ɵprd(131584, null, i10.LocalizationService, i10.LocalizationService, [i10.L10N_PREFIX, [2, i10.MessageService], [2, i10.RTL]]), i0.ɵdid(42, 770048, null, 0, i8.DateInputComponent, [i0.ChangeDetectorRef, i12.IntlService, i0.Renderer2, i0.ElementRef, i0.NgZone, i0.Injector, i10.LocalizationService, [2, i8.PickerService]], { format: [0, \"format\"], max: [1, \"max\"], min: [2, \"min\"] }, { valueChange: \"valueChange\" }), i0.ɵdid(43, 16384, null, 0, i9.MinDirective, [], { min: [0, \"min\"] }, null), i0.ɵdid(44, 16384, null, 0, i13.MaxDirective, [], { max: [0, \"max\"] }, null), i0.ɵprd(1024, null, i7.NG_VALIDATORS, function (p0_0, p1_0, p2_0) { return [p0_0, p1_0, p2_0]; }, [i8.DateInputComponent, i9.MinDirective, i13.MaxDirective]), i0.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i8.DateInputComponent]), i0.ɵdid(47, 671744, [[\"dateStartModel\", 4]], 0, i7.NgModel, [[8, null], [6, i7.NG_VALIDATORS], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i0.ɵdid(49, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null), (_l()(), i0.ɵeld(50, 0, null, null, 1, \"div\", [[\"class\", \"col-md-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(51, 0, null, null, 0, \"span\", [[\"class\", \"calendar-horizontal-line\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(52, 0, null, null, 12, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(53, 0, null, null, 11, \"kendo-dateinput\", [], [[2, \"selected\", null], [2, \"k-widget\", null], [2, \"k-dateinput\", null], [2, \"k-state-disabled\", null], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"valueChange\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"ngModelChange\" === en)) {\n var pd_0 = ((_co.range.end = $event) !== false);\n ad = (pd_0 && ad);\n } if ((\"valueChange\" === en)) {\n var pd_1 = (_co.onEndChange($event) !== false);\n ad = (pd_1 && ad);\n } return ad; }, i6.View_DateInputComponent_0, i6.RenderType_DateInputComponent)), i0.ɵprd(6144, null, i11.KendoInput, null, [i8.DateInputComponent]), i0.ɵprd(256, null, i10.L10N_PREFIX, \"kendo.dateinput\", []), i0.ɵprd(131584, null, i10.LocalizationService, i10.LocalizationService, [i10.L10N_PREFIX, [2, i10.MessageService], [2, i10.RTL]]), i0.ɵdid(57, 770048, null, 0, i8.DateInputComponent, [i0.ChangeDetectorRef, i12.IntlService, i0.Renderer2, i0.ElementRef, i0.NgZone, i0.Injector, i10.LocalizationService, [2, i8.PickerService]], { format: [0, \"format\"], max: [1, \"max\"], min: [2, \"min\"] }, { valueChange: \"valueChange\" }), i0.ɵdid(58, 16384, null, 0, i9.MinDirective, [], { min: [0, \"min\"] }, null), i0.ɵdid(59, 16384, null, 0, i13.MaxDirective, [], { max: [0, \"max\"] }, null), i0.ɵprd(1024, null, i7.NG_VALIDATORS, function (p0_0, p1_0, p2_0) { return [p0_0, p1_0, p2_0]; }, [i8.DateInputComponent, i9.MinDirective, i13.MaxDirective]), i0.ɵprd(1024, null, i7.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i8.DateInputComponent]), i0.ɵdid(62, 671744, [[\"dateEndModel\", 4]], 0, i7.NgModel, [[8, null], [6, i7.NG_VALIDATORS], [8, null], [6, i7.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i7.NgControl, null, [i7.NgModel]), i0.ɵdid(64, 16384, null, 0, i7.NgControlStatus, [[4, i7.NgControl]], null, null), (_l()(), i0.ɵeld(65, 0, null, null, 2, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(66, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-sm btn-primary qa-report-date-update\"]], [[8, \"disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onUpdate() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵted(-1, null, [\"Update\"])), (_l()(), i0.ɵeld(68, 0, null, null, 4, \"div\", [[\"class\", \"calendar-row\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CalendarDateRangeComponent_3)), i0.ɵdid(70, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CalendarDateRangeComponent_4)), i0.ɵdid(72, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(73, 0, null, null, 3, \"div\", [[\"class\", \"col-md-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(74, 0, null, null, 2, \"div\", [[\"class\", \"btn-group\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CalendarDateRangeComponent_5)), i0.ɵdid(76, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v.parent, 2); var currVal_1 = _ck(_v, 8, 0, \"right\", \"bottom\"); var currVal_2 = _ck(_v, 9, 0, \"right\", \"top\"); _ck(_v, 7, 0, currVal_0, currVal_1, currVal_2); var currVal_9 = _co.minStartDate; var currVal_10 = _co.activeRangeEnd; var currVal_11 = _co.range; _ck(_v, 20, 0, currVal_9, currVal_10, currVal_11); var currVal_12 = _co.range; var currVal_13 = _co.activeRangeEnd; _ck(_v, 28, 0, currVal_12, currVal_13); var currVal_14 = _co.minStartDate; _ck(_v, 29, 0, currVal_14); var currVal_26 = _co.manualForcedDateFormat; var currVal_27 = _co.maxEndDate; var currVal_28 = _co.minStartDate; _ck(_v, 42, 0, currVal_26, currVal_27, currVal_28); var currVal_29 = _co.minStartDate; _ck(_v, 43, 0, currVal_29); var currVal_30 = _co.maxEndDate; _ck(_v, 44, 0, currVal_30); var currVal_31 = _co.range.start; _ck(_v, 47, 0, currVal_31); var currVal_43 = _co.manualForcedDateFormat; var currVal_44 = _co.maxEndDate; var currVal_45 = _co.minStartDate; _ck(_v, 57, 0, currVal_43, currVal_44, currVal_45); var currVal_46 = _co.minStartDate; _ck(_v, 58, 0, currVal_46); var currVal_47 = _co.maxEndDate; _ck(_v, 59, 0, currVal_47); var currVal_48 = _co.range.end; _ck(_v, 62, 0, currVal_48); var currVal_50 = _co.isDurationError; _ck(_v, 70, 0, currVal_50); var currVal_51 = _co.isFromDtGreaterThanToDt; _ck(_v, 72, 0, currVal_51); var currVal_52 = _co.dateRangeTypes; _ck(_v, 76, 0, currVal_52); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = i0.ɵnov(_v, 20).widgetId; var currVal_4 = i0.ɵnov(_v, 20).widgetRole; var currVal_5 = i0.ɵnov(_v, 20).calendarTabIndex; var currVal_6 = i0.ɵnov(_v, 20).ariaDisabled; var currVal_7 = i0.ɵnov(_v, 20).ariaDisabled; var currVal_8 = i0.ɵnov(_v, 20).ariaActivedescendant; _ck(_v, 13, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); var currVal_15 = (_co.isDurationError || _co.isFromDtGreaterThanToDt); var currVal_16 = i0.ɵnov(_v, 42).wrapperClass; var currVal_17 = i0.ɵnov(_v, 42).wrapperClass; var currVal_18 = i0.ɵnov(_v, 42).disabledClass; var currVal_19 = i0.ɵnov(_v, 49).ngClassUntouched; var currVal_20 = i0.ɵnov(_v, 49).ngClassTouched; var currVal_21 = i0.ɵnov(_v, 49).ngClassPristine; var currVal_22 = i0.ɵnov(_v, 49).ngClassDirty; var currVal_23 = i0.ɵnov(_v, 49).ngClassValid; var currVal_24 = i0.ɵnov(_v, 49).ngClassInvalid; var currVal_25 = i0.ɵnov(_v, 49).ngClassPending; _ck(_v, 38, 1, [currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25]); var currVal_32 = (_co.isDurationError || _co.isFromDtGreaterThanToDt); var currVal_33 = i0.ɵnov(_v, 57).wrapperClass; var currVal_34 = i0.ɵnov(_v, 57).wrapperClass; var currVal_35 = i0.ɵnov(_v, 57).disabledClass; var currVal_36 = i0.ɵnov(_v, 64).ngClassUntouched; var currVal_37 = i0.ɵnov(_v, 64).ngClassTouched; var currVal_38 = i0.ɵnov(_v, 64).ngClassPristine; var currVal_39 = i0.ɵnov(_v, 64).ngClassDirty; var currVal_40 = i0.ɵnov(_v, 64).ngClassValid; var currVal_41 = i0.ɵnov(_v, 64).ngClassInvalid; var currVal_42 = i0.ɵnov(_v, 64).ngClassPending; _ck(_v, 53, 1, [currVal_32, currVal_33, currVal_34, currVal_35, currVal_36, currVal_37, currVal_38, currVal_39, currVal_40, currVal_41, currVal_42]); var currVal_49 = ((((i0.ɵnov(_v, 62).errors || i0.ɵnov(_v, 47).errors) || _co.isDurationError) || _co.isDurationNullError) || _co.isFromDtGreaterThanToDt); _ck(_v, 66, 0, currVal_49); }); }\nfunction View_CalendarDateRangeComponent_0(_l) { return i0.ɵvid(0, [i0.ɵpid(0, i12.DatePipe, [i12.IntlService]), i0.ɵqud(671088640, 1, { kendoDateRangeSelectionDirective: 0 }), (_l()(), i0.ɵeld(2, 0, [[\"anchor\", 1]], null, 3, \"button\", [[\"class\", \"calendar-anchor-button qa-calendar-button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onToggle() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵted(3, null, [\"\", \" - \", \"\"])), i0.ɵppd(4, 2), i0.ɵppd(5, 2), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CalendarDateRangeComponent_1)), i0.ɵdid(7, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.show; _ck(_v, 7, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i0.ɵnov(_v, 0), _co.defaultStartDate, _co.manualForcedDateFormat)); var currVal_1 = i0.ɵunv(_v, 3, 1, _ck(_v, 5, 0, i0.ɵnov(_v, 0), _co.defaultEndDate, _co.manualForcedDateFormat)); _ck(_v, 3, 0, currVal_0, currVal_1); }); }\nexports.View_CalendarDateRangeComponent_0 = View_CalendarDateRangeComponent_0;\nfunction View_CalendarDateRangeComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"calendar-date-range\", [], null, null, null, View_CalendarDateRangeComponent_0, RenderType_CalendarDateRangeComponent)), i0.ɵdid(1, 573440, null, 0, i14.CalendarDateRangeComponent, [i0.LOCALE_ID, i12.IntlService, i2.TranslateService], null, null)], null, null); }\nexports.View_CalendarDateRangeComponent_Host_0 = View_CalendarDateRangeComponent_Host_0;\nvar CalendarDateRangeComponentNgFactory = i0.ɵccf(\"calendar-date-range\", i14.CalendarDateRangeComponent, View_CalendarDateRangeComponent_Host_0, { dateRangeTypes: \"dateRangeTypes\", startDate: \"startDate\", endDate: \"endDate\", defaultSelectedPresetType: \"defaultSelectedPresetType\" }, { dateRangeSelect: \"dateRangeSelect\", presetDateRangeSelect: \"presetDateRangeSelect\" }, []);\nexports.CalendarDateRangeComponentNgFactory = CalendarDateRangeComponentNgFactory;\n"," \r\n\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n {{date.getDate()}}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    {{'maxDateRange'}}
    \r\n
    {{'fromDtGreaterThanToDt'}}
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar angular_1 = __importDefault(require(\"angular\"));\nvar static_1 = require(\"@angular/upgrade/static\");\nvar module_1 = __importDefault(require(\"./module\"));\nexports.default = module_1.default;\nrequire(\"./auth.provider\");\nrequire(\"./oidc-http.interceptor\");\nvar token_service_1 = require(\"./token.service\");\nangular_1.default.module(module_1.default)\n .factory(\"tokenService\", static_1.downgradeInjectable(token_service_1.TokenService));\n","import angular from \"angular\";\r\nimport { downgradeInjectable } from '@angular/upgrade/static';\r\n\r\nimport moduleName from \"./module\";\r\nexport default moduleName;\r\n\r\nimport \"./auth.provider\";\r\nimport \"./oidc-http.interceptor\";\r\nimport { TokenService } from \"./token.service\";\r\n\r\nangular.module(moduleName)\r\n .factory(\"tokenService\", downgradeInjectable(TokenService))\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar CustomerWorkflowClientService = /** @class */ (function (_super) {\n __extends(CustomerWorkflowClientService, _super);\n function CustomerWorkflowClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n * @return Success\n */\n CustomerWorkflowClientService.prototype.GetStartListCustomerByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/CustomerWorkflow/GetStartListCustomer/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n * @return Success\n */\n CustomerWorkflowClientService.prototype.GetStartListCustomerByEntityidGET = function (entityId) {\n return this.GetStartListCustomerByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `CustomerWorkflowClientService.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTParams` containing the following parameters:\n *\n * - `workflowTemplateId`:\n *\n * - `entityId`:\n *\n * - `form`:\n *\n * @return Success\n */\n CustomerWorkflowClientService.prototype.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = params.form;\n var req = new http_1.HttpRequest('POST', this.rootUrl + (\"/api/CustomerWorkflow/StartCustomerWorkflow/\" + params.entityId + \"/\" + params.workflowTemplateId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `CustomerWorkflowClientService.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTParams` containing the following parameters:\n *\n * - `workflowTemplateId`:\n *\n * - `entityId`:\n *\n * - `form`:\n *\n * @return Success\n */\n CustomerWorkflowClientService.prototype.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOST = function (params) {\n return this.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param startableFormTemplateId undefined\n * @return Success\n */\n CustomerWorkflowClientService.prototype.GetStartFormByStartableformtemplateidGETResponse = function (startableFormTemplateId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/CustomerWorkflow/GetStartForm/\" + startableFormTemplateId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param startableFormTemplateId undefined\n * @return Success\n */\n CustomerWorkflowClientService.prototype.GetStartFormByStartableformtemplateidGET = function (startableFormTemplateId) {\n return this.GetStartFormByStartableformtemplateidGETResponse(startableFormTemplateId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n CustomerWorkflowClientService.GetStartListCustomerByEntityidGETPath = '/api/CustomerWorkflow/GetStartListCustomer/{entityId}';\n CustomerWorkflowClientService.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTPath = '/api/CustomerWorkflow/StartCustomerWorkflow/{entityId}/{workflowTemplateId}';\n CustomerWorkflowClientService.GetStartFormByStartableformtemplateidGETPath = '/api/CustomerWorkflow/GetStartForm/{startableFormTemplateId}';\n CustomerWorkflowClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function CustomerWorkflowClientService_Factory() { return new CustomerWorkflowClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: CustomerWorkflowClientService, providedIn: \"root\" });\n return CustomerWorkflowClientService;\n}(base_service_1.BaseService));\nexports.CustomerWorkflowClientService = CustomerWorkflowClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { StartListCustomerDto } from '../models/start-list-customer-dto';\r\nimport { ActiveWorkflowTemplateData } from '../models/active-workflow-template-data';\r\nimport { PandoFormRequestDto } from '../models/pando-form-request-dto';\r\nimport { PandoFormDto } from '../models/pando-form-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass CustomerWorkflowClientService extends __BaseService {\r\n static readonly GetStartListCustomerByEntityidGETPath = '/api/CustomerWorkflow/GetStartListCustomer/{entityId}';\r\n static readonly StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTPath = '/api/CustomerWorkflow/StartCustomerWorkflow/{entityId}/{workflowTemplateId}';\r\n static readonly GetStartFormByStartableformtemplateidGETPath = '/api/CustomerWorkflow/GetStartForm/{startableFormTemplateId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetStartListCustomerByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/CustomerWorkflow/GetStartListCustomer/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n * @return Success\r\n */\r\n GetStartListCustomerByEntityidGET(entityId: string): __Observable {\r\n return this.GetStartListCustomerByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as StartListCustomerDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `CustomerWorkflowClientService.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTParams` containing the following parameters:\r\n *\r\n * - `workflowTemplateId`:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `form`:\r\n *\r\n * @return Success\r\n */\r\n StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTResponse(params: CustomerWorkflowClientService.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n __body = params.form;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/CustomerWorkflow/StartCustomerWorkflow/${params.entityId}/${params.workflowTemplateId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `CustomerWorkflowClientService.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTParams` containing the following parameters:\r\n *\r\n * - `workflowTemplateId`:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `form`:\r\n *\r\n * @return Success\r\n */\r\n StartCustomerWorkflowByEntityidByWorkflowtemplateidPOST(params: CustomerWorkflowClientService.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTParams): __Observable {\r\n return this.StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTResponse(params).pipe(\r\n __map(_r => _r.body as ActiveWorkflowTemplateData)\r\n );\r\n }\r\n\r\n /**\r\n * @param startableFormTemplateId undefined\r\n * @return Success\r\n */\r\n GetStartFormByStartableformtemplateidGETResponse(startableFormTemplateId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/CustomerWorkflow/GetStartForm/${startableFormTemplateId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param startableFormTemplateId undefined\r\n * @return Success\r\n */\r\n GetStartFormByStartableformtemplateidGET(startableFormTemplateId: string): __Observable {\r\n return this.GetStartFormByStartableformtemplateidGETResponse(startableFormTemplateId).pipe(\r\n __map(_r => _r.body as PandoFormDto)\r\n );\r\n }\r\n}\r\n\r\nmodule CustomerWorkflowClientService {\r\n\r\n /**\r\n * Parameters for StartCustomerWorkflowByEntityidByWorkflowtemplateidPOST\r\n */\r\n export interface StartCustomerWorkflowByEntityidByWorkflowtemplateidPOSTParams {\r\n workflowTemplateId: string;\r\n entityId: string;\r\n form?: PandoFormRequestDto;\r\n }\r\n}\r\n\r\nexport { CustomerWorkflowClientService }\r\n","var path = '/app/components/deal-sheet/contract/lease-mileage.component.html';\nvar html = \"
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar toaster_logger_service_1 = require(\"../../../core/toaster-logger.service\");\nvar ngx_modal_wrapper_service_1 = require(\"../../../services/ngx-modal-wrapper.service\");\nvar deal_sheet_process_component_1 = require(\"./deal-sheet-process.component\");\nvar OpenProcessModalComponent = /** @class */ (function () {\n function OpenProcessModalComponent(tService, modalService, logger, document) {\n this.tService = tService;\n this.modalService = modalService;\n this.logger = logger;\n this.document = document;\n this.openModalChanged = new core_1.EventEmitter();\n }\n OpenProcessModalComponent.prototype.ngOnChanges = function (changes) {\n var _this = this;\n if (this.openModal) {\n var initialState = {\n entityId: this.entityId\n };\n this.bsModalRef = this.modalService.show(deal_sheet_process_component_1.DealSheetProcessComponent, { initialState: initialState });\n this.bsModalRef.content.onClosed.subscribe(function (result) {\n if (result.started != null) {\n if (result.started) {\n _this.logger.success(_this.tService.instant(\"processSuccessfullyInitiated\"));\n }\n else {\n _this.logger.error(_this.tService.instant(\"generalErrorMessageKey\"));\n }\n }\n _this.openModalChanged.emit(false);\n });\n this.openModalChanged.emit(false);\n }\n };\n return OpenProcessModalComponent;\n}());\nexports.OpenProcessModalComponent = OpenProcessModalComponent;\n","import { DOCUMENT } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Output } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { ToasterLoggerService } from '../../../core/toaster-logger.service';\r\nimport { NgxModalWrapperService } from '../../../services/ngx-modal-wrapper.service';\r\nimport { DealSheetProcessComponent } from './deal-sheet-process.component';\r\n\r\n@Component({\r\n selector: 'open-process-modal',\r\n template: '',\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class OpenProcessModalComponent {\r\n constructor(public tService: TranslateService,\r\n public modalService: NgxModalWrapperService,\r\n public logger: ToasterLoggerService,\r\n @Inject(DOCUMENT) private document, ) {\r\n }\r\n\r\n @Input() openModal: boolean;\r\n @Output() openModalChanged = new EventEmitter();\r\n @Input() entityId: string;\r\n\r\n bsModalRef: BsModalRef;\r\n\r\n public ngOnChanges(changes): void {\r\n if (this.openModal) {\r\n const initialState = {\r\n entityId: this.entityId\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(DealSheetProcessComponent, { initialState });\r\n\r\n this.bsModalRef.content.onClosed.subscribe((result: any) => {\r\n if (result.started != null) {\r\n if (result.started) {\r\n this.logger.success(this.tService.instant(\"processSuccessfullyInitiated\"));\r\n } else {\r\n this.logger.error(this.tService.instant(\"generalErrorMessageKey\"));\r\n }\r\n }\r\n\r\n this.openModalChanged.emit(false);\r\n });\r\n\r\n this.openModalChanged.emit(false);\r\n }\r\n }\r\n}\r\n","module.exports = \"Share Search\"","require('../modules/es6.symbol');\nrequire('../modules/es6.object.create');\nrequire('../modules/es6.object.define-property');\nrequire('../modules/es6.object.define-properties');\nrequire('../modules/es6.object.get-own-property-descriptor');\nrequire('../modules/es6.object.get-prototype-of');\nrequire('../modules/es6.object.keys');\nrequire('../modules/es6.object.get-own-property-names');\nrequire('../modules/es6.object.freeze');\nrequire('../modules/es6.object.seal');\nrequire('../modules/es6.object.prevent-extensions');\nrequire('../modules/es6.object.is-frozen');\nrequire('../modules/es6.object.is-sealed');\nrequire('../modules/es6.object.is-extensible');\nrequire('../modules/es6.object.assign');\nrequire('../modules/es6.object.is');\nrequire('../modules/es6.object.set-prototype-of');\nrequire('../modules/es6.object.to-string');\n\nmodule.exports = require('../modules/_core').Object;\n","module.exports = __webpack_public_path__ + \"icon-alertminer-contract.595d23a2cefbad8ca872.png\";","module.exports = __webpack_public_path__ + \"alert-blocks.2bf0f720db86368e989a.svg\";","var path = '/app/components/deal-sheet/financial/financials-lease-sale.component.html';\nvar html = \"
    {{('validationMax' | translate) + ' 199'}} {{('validationMin' | translate) + ' 0'}}
    {{('validationMax' | translate) + ' 20000'}} {{('validationMin' | translate) + ' 50'}}
    {{('validationMax' | translate) + ' 500000'}} {{('validationMin' | translate) + ' 0'}}
    {{('validationMax' | translate) + ' 500000'}} {{('validationMin' | translate) + ' 5000'}}
    {{('validationMax' | translate) + ' ' + $ctrl.financials.convert.maxLeaseResidual}} {{('validationMin' | translate) + ' ' + $ctrl.financials.convert.minLeaseResidual}}
    {{('validationMinHidden' | translate)}}

    {{('validationMax' | translate) + ' 99000'}} {{('validationMin' | translate) + ' 7500'}}
    {{('validationMax' | translate) + ' 100000'}} {{('validationMin' | translate) + ' 0'}}
    {{('validationMax' | translate) + ' 300000'}} {{('validationMin' | translate) + ' 0'}}
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","// 20.1.2.3 Number.isInteger(number)\nvar isObject = require('./_is-object');\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","module.exports = \"reports .quick-links {\\n height: 100%;\\n}\\n\\nreports-container ul li a.active-menu-item {\\n color: #c1c2c4 !important;\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#172751));\\n background: linear-gradient(to bottom, #172751 0%, #172751 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#00548f));\\n background: linear-gradient(#172751, #00548f);\\n border-bottom: #2d89c9 5px solid;\\n}\\n\\n.reports-header {\\n background: -webkit-gradient(linear, left top, right top, from(#172751), to(#1f8bd5));\\n background: linear-gradient(to right, #172751, #1f8bd5);\\n color: #fff;\\n padding: 10px;\\n border-top-left-radius: 10px;\\n border-top-right-radius: 10px;\\n height: 42px;\\n}\\n\\n.reports-menu {\\n padding: 10px 0 0 0;\\n background: -webkit-gradient(linear, left bottom, left top, from(#172751), to(#1f8bd5));\\n background: linear-gradient(to top, #172751, #1f8bd5);\\n}\\n\\n.reports-menu h3 {\\n color: #fff;\\n font-size: 18px;\\n margin-top: 0;\\n}\\n\\n.reports-menu.fixed {\\n min-width: 200px;\\n}\\n\\n.iframe-container {\\n height: 100%;\\n}\\n\\n.page-body {\\n display: table;\\n height: calc(100vh - 140px);\\n width: 100%;\\n}\\n\\n.page-body h5, .page-body h6, .page-body label {\\n color: white;\\n}\\n\\n.page-body .icon {\\n color: white;\\n position: absolute;\\n}\\n\\n.page-body > .row {\\n height: 100%;\\n display: table-row;\\n}\\n\\n.page-body > .row .no-float {\\n display: table-cell;\\n float: none;\\n}\\n\\n.page-body > .row .reports-background {\\n padding-top: 10px !important;\\n vertical-align: top;\\n}\\n\\n.page-body .icon {\\n position: relative !important;\\n}\\n\\n.reports-background {\\n background: #E7E7E7;\\n}\\n\\n.reports-background .report-error-message {\\n color: #444b4f;\\n font-size: 20px;\\n margin-top: 20px;\\n margin-left: 20px;\\n}\\n\\n.reports-container {\\n background-color: white;\\n border-top-left-radius: 10px;\\n border-top-right-radius: 10px;\\n /*margin-top: 15px;*/\\n}\\n\\n.reports-container .no-float {\\n vertical-align: top;\\n}\\n\\n.reports-container h3 {\\n font-size: 1.25em;\\n margin: 0;\\n padding-left: 15px;\\n}\\n\\n.reports-container .dash {\\n margin: 0;\\n}\\n\\n.reports-container .dash .row {\\n margin-left: 0;\\n margin-right: 0;\\n}\\n\\n.reports-container .dash .filters {\\n padding-top: 5px;\\n}\\n\\n.reports-container .dash .filters .display-type {\\n /*margin-left: 5px;*/\\n}\\n\\n.reports-container .dash .filters .display-type label {\\n color: #444b4f;\\n font-size: 0.66em;\\n margin-bottom: 0;\\n}\\n\\n.reports-container .dash .filters .date-picker-container {\\n display: table;\\n}\\n\\n.reports-container .dash .filters .date-picker-container .date-type {\\n padding: 0 5px 0 5px;\\n display: table-cell;\\n vertical-align: middle;\\n /* TODO implement globally */\\n background-color: white;\\n /* END implement globally */\\n}\\n\\n.reports-container .dash .filters .date-picker-container .date-type .icon {\\n font-size: 24px;\\n}\\n\\n.reports-container .dash .filters .date-picker-container .date-type .refresh {\\n color: #3faf49;\\n cursor: pointer;\\n}\\n\\n.reports-container .dash .filters .date-picker-container .date-type.dates-to {\\n padding: 13px 0 0 0;\\n}\\n\\n.reports-container .dash .filters .fancy-button {\\n background: white;\\n color: #2e9feb;\\n border: none;\\n border-bottom: 4px solid #f0f0f0;\\n font-size: 14px;\\n margin: 0 1px;\\n min-width: 38px;\\n}\\n\\n.reports-container .dash .filters .fancy-button.selected:enabled, .reports-container .dash .filters .fancy-button:enabled:hover {\\n outline: 0;\\n font-weight: 300;\\n color: #7a8084;\\n border-bottom: 4px solid #008be8;\\n}\\n\\n.reports-container .title {\\n padding: 10px;\\n}\\n\\n.reports-container .report-filters {\\n display: block;\\n width: 100%;\\n}\\n\\n.reports-container .report-filters .report-child-cells {\\n display: table-cell;\\n vertical-align: middle;\\n line-height: 38px;\\n}\\n\\n.reports-container .report-filters .report-child-cells label {\\n padding: 0 0 0 10px;\\n}\\n\\n.reports-container .cell-label {\\n max-width: 80px;\\n}\\n\\n.reports-container .panel {\\n margin-bottom: 12px;\\n}\\n\\n.reports-container table {\\n margin-bottom: 0;\\n}\\n\\n.reports-container .footer {\\n padding: 10px;\\n margin-top: 10px;\\n}\\n\\n.reports-container .footer span {\\n font-size: 11px;\\n color: #000;\\n}\\n\\n.reports-container select.custom-dropdown option {\\n color: #1F8BD5;\\n}\\n\\n.reports-container select.custom-dropdown option:checked {\\n color: #444b4f;\\n}\\n\\n.reports-container .custom-dropdown {\\n display: inline-block;\\n max-width: 100%;\\n /*height: calc(2.25rem + 2px);*/\\n padding: 0.375rem 1.75rem 0.375rem 0.75rem;\\n line-height: 1.5;\\n color: #444b4f;\\n font-size: 16px;\\n vertical-align: middle;\\n background: #fff url(https://assets.autoalert.com/img/autoalert-icons/icon-chevron-down-lake.svg) no-repeat right 0.75rem center;\\n background-size: 15px 20px;\\n border: 0;\\n border-bottom: 3px solid #1F8BD5;\\n border-radius: 0;\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n -ms-appearance: none;\\n -o-appearance: none;\\n appearance: none;\\n padding-right: 30px;\\n}\\n\\n.reports-container .custom-dropdown .right-align {\\n padding: 0.375rem 2.25rem 0.375rem 0.75rem;\\n text-align: right;\\n}\\n\\n.reports-container select.custom-dropdown::-ms-expand {\\n display: none;\\n}\\n\\n.reports-container .custom-dropdown:focus {\\n border-bottom: 3px solid #1F8BD5;\\n outline: 0;\\n}\\n\\nreports-container {\\n font-family: Roboto, sans-serif;\\n /*#reportArea {\\n .title label {\\n color: #000;\\n padding-left:15px;\\n }\\n\\n .footer span {\\n color: #000;\\n }\\n }*/\\n}\\n\\nreports-container #grid-toolbar {\\n height: auto;\\n}\\n\\nreports-container label.toolbar-label {\\n font-size: 13px;\\n margin-bottom: 0.2em;\\n}\\n\\nreports-container .data-grid {\\n margin: 15px;\\n /*font-family: Arial;*/\\n font-size: 12px;\\n}\\n\\nreports-container .light {\\n color: #000 !important;\\n}\\n\\nreports-container ul.reports-menu {\\n padding: 0 0 0 0;\\n}\\n\\nreports-container ul.reports-menu li {\\n list-style: none;\\n display: table;\\n width: 100%;\\n}\\n\\nreports-container ul.reports-menu li div.performance-menu {\\n font-size: 13px;\\n color: white !important;\\n padding: 0 4px 5px 0;\\n font-weight: 600;\\n text-align: right;\\n border-right: 8px solid transparent;\\n}\\n\\nreports-container ul.reports-menu li div.performance-menu:hover {\\n border-right: 8px solid #03C0E6;\\n}\\n\\nreports-container ul.reports-menu li div.performance-menu.active-menu-item {\\n border-right: 8px solid #172751;\\n}\\n\\nreports-container ul.reports-menu li div.performance-menu-inner:hover {\\n color: #c1c2c4 !important;\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#172751));\\n background: linear-gradient(to bottom, #172751 0%, #172751 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#00548f));\\n background: linear-gradient(#172751, #00548f);\\n border-bottom: none;\\n}\\n\\nreports-container ul.reports-menu li div.performance-menu-inner a {\\n text-decoration: none;\\n}\\n\\nreports-container ul.reports-menu li div.performance-menu-inner a:hover {\\n color: #fff !important;\\n border-bottom: none;\\n}\\n\\nreports-container ul.reports-menu li a {\\n color: #fff;\\n font-family: Roboto, sans-serif;\\n font-size: 14px;\\n font-weight: 300;\\n display: table-cell;\\n width: 200px;\\n height: 35px;\\n vertical-align: middle;\\n padding-left: 17px;\\n}\\n\\nreports-container ul.reports-menu li a.no-category-menu {\\n font-size: 18px;\\n font-weight: bold;\\n color: white !important;\\n padding-left: 7px;\\n font-weight: 500;\\n}\\n\\nreports-container ul.reports-menu li a.performance-menu {\\n font-size: 13px;\\n color: white !important;\\n padding-left: 0;\\n width: auto;\\n display: inline;\\n}\\n\\nreports-container ul.reports-menu li a.active-menu-item {\\n border-bottom: transparent 5px solid;\\n}\\n\\nreports-container ul.reports-menu li a:hover {\\n color: #c1c2c4 !important;\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#172751));\\n background: linear-gradient(to bottom, #172751 0%, #172751 100%);\\n background: -webkit-gradient(linear, left top, left bottom, from(#172751), to(#00548f));\\n background: linear-gradient(#172751, #00548f);\\n border-bottom: #2d89c9 5px solid;\\n}\\n\\nreports-container .iframe-autoalert {\\n /*width: 98% !important;*/\\n padding-top: 15px;\\n position: relative !important;\\n height: calc(100vh - 60px) !important;\\n}\\n\\nreport-viewer {\\n display: block;\\n}\\n\\n.report-settings-mask {\\n z-index: 5;\\n /*background-color: red;\\n opacity: 0.5;*/\\n position: fixed;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n}\\n\\n.report-settings-button {\\n cursor: pointer;\\n display: inline-block;\\n float: right;\\n padding: 12px;\\n}\\n\\n.report-settings-button.active span.ng-scope {\\n color: white;\\n font-size: 0.66em;\\n vertical-align: text-top;\\n}\\n\\n.report-settings-button.active icon {\\n color: lawngreen;\\n}\\n\\n.report-settings-panel {\\n background-color: #fff;\\n position: absolute;\\n right: 0;\\n z-index: 6;\\n width: 240px;\\n border-radius: 10px;\\n -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);\\n box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);\\n}\\n\\n.report-settings-panel-body {\\n padding: 15px;\\n line-height: 25px;\\n}\\n\\n.report-settings-panel-body a {\\n color: #1f8bd5;\\n}\\n\\n.fancy-report-link {\\n cursor: pointer;\\n border-bottom: 4px solid #f0f0f0;\\n display: inline;\\n}\\n\\n.fancy-report-link:hover {\\n border-bottom: 4px solid #008be8;\\n}\\n\\n.icon-stack {\\n position: relative;\\n /*width: 20px;*/\\n height: 20px;\\n display: block;\\n}\\n\\n.icon-stack icon.icon.aa-icon-benchmark.disabled {\\n position: absolute !important;\\n top: 0;\\n right: 0;\\n color: #aaa;\\n}\\n\\n.icon-stack icon.icon.aa-icon-ban {\\n position: absolute !important;\\n left: 0;\\n right: 0;\\n display: none;\\n}\\n\\n#report-wrapper {\\n padding: 1px;\\n}\\n\\n#report-wrapper .table th {\\n text-align: center;\\n}\\n\\n.date-range-nav {\\n padding-top: 15px;\\n text-align: right;\\n}\\n\\n.btn.calandar {\\n top: 0px;\\n text-align: center;\\n padding-top: 4px;\\n padding-bottom: 4px;\\n}\\n\\n.btn.calandar icon.icon {\\n color: #fff;\\n top: 0;\\n}\\n\\n.no-user-avatar {\\n background: url('/images/avatar.png');\\n}\\n\\n.opps-icon {\\n width: 30px;\\n height: 20px;\\n background: url('/images/Opportunities-icon.png') no-repeat;\\n}\\n\\n.mytable td {\\n text-align: center;\\n}\\n\\n.report-version-select {\\n margin-top: 10px;\\n font-size: 14px;\\n padding: 5px;\\n text-align: right;\\n width: 100%;\\n color: white;\\n border-top: 1px solid white;\\n border-bottom: 1px solid white;\\n background-color: transparent;\\n outline: none;\\n}\\n\\n.report-version-select:focus {\\n border-top: 1px solid white;\\n border-bottom: 1px solid white;\\n}\\n\\n.report-version-select span.view-legacy-description {\\n display: block;\\n font-size: 11px;\\n}\\n\\n.report-version-select icon {\\n font-size: 14px;\\n}\\n\\n.reports-menu-toggle {\\n margin: 0 5px;\\n cursor: pointer;\\n display: inline-block;\\n padding-bottom: 7px;\\n}\\n\\n.reports-menu-container {\\n clear: both;\\n}\\n\\n.reports-menu-container .reports-menu {\\n background: none;\\n margin-right: 10px;\\n}\\n\\n.reports-menu-container .reports-menu ul {\\n -webkit-padding-start: 0px;\\n padding-left: 0px;\\n}\\n\\n.reports-menu-container .reports-menu .menu-item {\\n border-bottom: 1px solid #005691;\\n}\\n\\n.report-subscription-modal .modal-dialog {\\n width: 768px;\\n}\\n\\n@media only screen and (min-width: 992px) {\\n .report-subscription-modal .modal-dialog {\\n width: 850px;\\n }\\n}\\n\\n.alert-danger p {\\n margin: 0;\\n}\\n\\nreports-header dealer-make-select label {\\n color: #444b4f !important;\\n font-size: 0.66em;\\n margin-bottom: 0;\\n}\\n\\nreports-header pando-survey-select label {\\n color: #444b4f !important;\\n font-size: 0.66em;\\n margin-bottom: 0;\\n}\\n\\nlabel {\\n font-weight: normal;\\n}\\n\\nreport-subscription-list .btn.transparent:focus {\\n outline: none;\\n}\\n\\nreport-subscription-list .table tbody tr td {\\n vertical-align: middle;\\n padding: 6px;\\n}\\n\\nreport-subscription-list .aa-icon-toggle-on {\\n color: #3FAF49;\\n}\\n\\nreport-subscription-list .aa-icon-toggle-off {\\n color: #7a8084;\\n}\\n\\nreport-subscription-list .aa-icon-core-edit-icon-000000 {\\n color: #1f8bd5;\\n font-size: 24px;\\n}\\n\\nreport-subscription-list .aa-icon-icon-trash {\\n color: #1f8bd5;\\n font-size: 16px;\\n}\\n\\nreport-subscription-list .dealer-name-cell {\\n width: 255px;\\n}\\n\\n.delivery-schedule {\\n color: #1f8bd5;\\n}\\n\\n#subscription-monthly-schedule-date-ranges {\\n color: #1f8bd5;\\n font-size: 12px;\\n height: 26px;\\n padding-top: 3px;\\n padding-bottom: 3px;\\n}\\n\\n#subscription-weekly-schedule-date-ranges {\\n color: #1f8bd5;\\n font-size: 12px;\\n height: 26px;\\n padding-top: 3px;\\n padding-bottom: 3px;\\n}\\n\\n.alert-warning {\\n color: #7a8084;\\n}\\n\\n.menu-category {\\n cursor: pointer;\\n border-top: 1px solid white;\\n border-bottom: 1px solid white;\\n line-height: 45px;\\n padding-left: 7px;\\n}\\n\\n.menu-category h5 {\\n display: inline-block;\\n}\\n\\n.menu-category icon {\\n margin-top: 13px;\\n margin-bottom: 13px;\\n font-size: 15px;\\n}\\n\\n.beta-sup {\\n color: #03C0E6;\\n font-size: 65%;\\n}\\n\\nreports-menu {\\n display: block;\\n}\\n\\n.pilot-label {\\n color: #fff;\\n font-size: 12px;\\n}\\n\\n.delivery-schedule-row-padding {\\n padding-bottom: 3px;\\n}\\n\\n.k-button,\\n.k-button:hover,\\n.k-button.k-state-hover,\\n.k-button.k-state-focused,\\n.k-button:focus,\\n.k-button:focus:not(.k-state-disabled):not([disabled]),\\n.k-button:focus:active:not(.k-state-disabled):not([disabled]) {\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n}\\n\\n.k-chart-shared-tooltip {\\n margin-left: -45px;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tcG9uZW50cy9yZXBvcnRzL0M6XFxBdXRvQWxlcnRcXHdvcmtzcGFjZVxcQWxlcnRNaW5lci1Qb3J0YWxfcmVsZWFzZV82LjYzLjBcXEF1dG9BbGVydC5Qb3J0YWwuT3Bwb3J0dW5pdGllcy9zcmNcXGFwcFxcY29tcG9uZW50c1xccmVwb3J0c1xccmVwb3J0cy5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3JlcG9ydHMvcmVwb3J0cy5zY3NzIiwic3JjL2FwcC9jb21wb25lbnRzL3JlcG9ydHMvQzpcXEF1dG9BbGVydFxcd29ya3NwYWNlXFxBbGVydE1pbmVyLVBvcnRhbF9yZWxlYXNlXzYuNjMuMFxcQXV0b0FsZXJ0LlBvcnRhbC5PcHBvcnR1bml0aWVzL3NyY1xcYXBwXFxzdHlsZXNcXF9hYS12YXJpYWJsZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoi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5yZXBvcnRzLWNvbnRhaW5lciB7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIGJvcmRlci10b3AtbGVmdC1yYWRpdXM6IDEwcHg7XHJcbiAgICBib3JkZXItdG9wLXJpZ2h0LXJhZGl1czogMTBweDtcclxuICAgIC8qbWFyZ2luLXRvcDogMTVweDsqL1xyXG4gICAgLm5vLWZsb2F0IHtcclxuICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogdG9wO1xyXG4gICAgfVxyXG5cclxuICAgIGgzIHtcclxuICAgICAgICBmb250LXNpemU6IDEuMjVlbTtcclxuICAgICAgICBtYXJnaW46IDA7XHJcbiAgICAgICAgcGFkZGluZy1sZWZ0OiAxNXB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5kYXNoIHtcclxuICAgICAgICBtYXJnaW46IDA7XHJcblxyXG4gICAgICAgIC5yb3cge1xyXG4gICAgICAgICAgICBtYXJnaW4tbGVmdDogMDtcclxuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmZpbHRlcnMge1xyXG4gICAgICAgICAgICBwYWRkaW5nLXRvcDogNXB4O1xyXG5cclxuXHJcblxyXG4gICAgICAgICAgICAuZGlzcGxheS10eXBlIHtcclxuICAgICAgICAgICAgICAgIC8qbWFyZ2luLWxlZnQ6IDVweDsqL1xyXG4gICAgICAgICAgICAgICAgbGFiZWwge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiAjNDQ0YjRmO1xyXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogMC42NmVtO1xyXG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5kYXRlLXBpY2tlci1jb250YWluZXIge1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogdGFibGU7XHJcblxyXG4gICAgICAgICAgICAgICAgLmRhdGUtdHlwZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogMCA1cHggMCA1cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogdGFibGUtY2VsbDtcclxuICAgICAgICAgICAgICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG4gICAgICAgICAgICAgICAgICAgIC8qIFRPRE8gaW1wbGVtZW50IGdsb2JhbGx5ICovXHJcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIC5pY29uIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgZm9udC1zaXplOiAyNHB4O1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAvKiBFTkQgaW1wbGVtZW50IGdsb2JhbGx5ICovXHJcbiAgICAgICAgICAgICAgICAgICAgLnJlZnJlc2gge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogIzNmYWY0OTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgJi5kYXRlcy10byB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhZGRpbmc6IDEzcHggMCAwIDA7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAuZmFuY3ktYnV0dG9uIHtcclxuICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IHdoaXRlO1xyXG4gICAgICAgICAgICAgICAgY29sb3I6ICMyZTlmZWI7XHJcbiAgICAgICAgICAgICAgICBib3JkZXI6IG5vbmU7XHJcbiAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiA0cHggc29saWQgI2YwZjBmMDtcclxuICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgICAgICAgICAgIG1hcmdpbjogMCAxcHg7XHJcbiAgICAgICAgICAgICAgICBtaW4td2lkdGg6IDM4cHg7XHJcblxyXG4gICAgICAgICAgICAgICAgJi5zZWxlY3RlZDplbmFibGVkLCAmOmVuYWJsZWQ6aG92ZXIge1xyXG4gICAgICAgICAgICAgICAgICAgIG91dGxpbmU6IDA7XHJcbiAgICAgICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDMwMDtcclxuICAgICAgICAgICAgICAgICAgICBjb2xvcjogIzdhODA4NDtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiA0cHggc29saWQgIzAwOGJlODtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAudGl0bGUge1xyXG4gICAgICAgIHBhZGRpbmc6IDEwcHg7XHJcbiAgICB9XHJcblxyXG4gICAgLnJlcG9ydC1maWx0ZXJzIHtcclxuICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICB3aWR0aDogMTAwJTtcclxuXHJcbiAgICAgICAgLnJlcG9ydC1jaGlsZC1jZWxscyB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IHRhYmxlLWNlbGw7XHJcbiAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XHJcbiAgICAgICAgICAgIGxpbmUtaGVpZ2h0OiAzOHB4O1xyXG5cclxuICAgICAgICAgICAgbGFiZWwge1xyXG4gICAgICAgICAgICAgICAgcGFkZGluZzogMCAwIDAgMTBweDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAuY2VsbC1sYWJlbCB7XHJcbiAgICAgICAgbWF4LXdpZHRoOiA4MHB4O1xyXG4gICAgfVxyXG5cclxuICAgIC5wYW5lbCB7XHJcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMTJweDtcclxuICAgIH1cclxuXHJcbiAgICB0YWJsZSB7XHJcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcclxuICAgIH1cclxuXHJcbiAgICAuZm9vdGVyIHtcclxuICAgICAgICBwYWRkaW5nOiAxMHB4O1xyXG4gICAgICAgIG1hcmdpbi10b3A6IDEwcHg7XHJcblxyXG4gICAgICAgIHNwYW4ge1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDExcHg7XHJcbiAgICAgICAgICAgIGNvbG9yOiAjMDAwO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBzZWxlY3QuY3VzdG9tLWRyb3Bkb3duIG9wdGlvbiB7XHJcbiAgICAgICAgY29sb3I6ICMxRjhCRDU7XHJcbiAgICB9XHJcblxyXG4gICAgc2VsZWN0LmN1c3RvbS1kcm9wZG93biBvcHRpb246Y2hlY2tlZCB7XHJcbiAgICAgICAgY29sb3I6ICM0NDRiNGY7XHJcbiAgICB9XHJcblxyXG4gICAgLmN1c3RvbS1kcm9wZG93biB7XHJcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgICAgIG1heC13aWR0aDogMTAwJTtcclxuICAgICAgICAvKmhlaWdodDogY2FsYygyLjI1cmVtICsgMnB4KTsqL1xyXG4gICAgICAgIHBhZGRpbmc6IC4zNzVyZW0gMS43NXJlbSAuMzc1cmVtIC43NXJlbTtcclxuICAgICAgICBsaW5lLWhlaWdodDogMS41O1xyXG4gICAgICAgIGNvbG9yOiAjNDQ0YjRmO1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTZweDtcclxuICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG4gICAgICAgIGJhY2tncm91bmQ6ICNmZmYgdXJsKGh0dHBzOi8vYXNzZXRzLmF1dG9hbGVydC5jb20vaW1nL2F1dG9hbGVydC1pY29ucy9pY29uLWNoZXZyb24tZG93bi1sYWtlLnN2Zykgbm8tcmVwZWF0IHJpZ2h0IC43NXJlbSBjZW50ZXI7XHJcbiAgICAgICAgYmFja2dyb3VuZC1zaXplOiAxNXB4IDIwcHg7XHJcbiAgICAgICAgYm9yZGVyOiAwO1xyXG4gICAgICAgIGJvcmRlci1ib3R0b206IDNweCBzb2xpZCAjMUY4QkQ1O1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDA7XHJcbiAgICAgICAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lO1xyXG4gICAgICAgIC1tb3otYXBwZWFyYW5jZTogbm9uZTtcclxuICAgICAgICAtbXMtYXBwZWFyYW5jZTogbm9uZTtcclxuICAgICAgICAtby1hcHBlYXJhbmNlOiBub25lO1xyXG4gICAgICAgIGFwcGVhcmFuY2U6IG5vbmU7XHJcbiAgICAgICAgcGFkZGluZy1yaWdodDogMzBweDtcclxuXHJcbiAgICAgICAgLnJpZ2h0LWFsaWduIHtcclxuICAgICAgICAgICAgcGFkZGluZzogLjM3NXJlbSAyLjI1cmVtIC4zNzVyZW0gLjc1cmVtO1xyXG4gICAgICAgICAgICB0ZXh0LWFsaWduOiByaWdodDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgc2VsZWN0LmN1c3RvbS1kcm9wZG93bjo6LW1zLWV4cGFuZCB7XHJcbiAgICAgICAgZGlzcGxheTogbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICAuY3VzdG9tLWRyb3Bkb3duOmZvY3VzIHtcclxuICAgICAgICBib3JkZXItYm90dG9tOiAzcHggc29saWQgIzFGOEJENTtcclxuICAgICAgICBvdXRsaW5lOiAwO1xyXG4gICAgfVxyXG59XHJcblxyXG5yZXBvcnRzLWNvbnRhaW5lciB7XHJcbiAgICBmb250LWZhbWlseTogUm9ib3RvLCBzYW5zLXNlcmlmO1xyXG5cclxuICAgICNncmlkLXRvb2xiYXIge1xyXG4gICAgICAgIGhlaWdodDogYXV0bztcclxuICAgIH1cclxuXHJcbiAgICBsYWJlbC50b29sYmFyLWxhYmVsIHtcclxuICAgICAgICBmb250LXNpemU6IDEzcHg7XHJcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogLjJlbTtcclxuICAgIH1cclxuXHJcbiAgICAuZGF0YS1ncmlkIHtcclxuICAgICAgICBtYXJnaW46IDE1cHg7XHJcbiAgICAgICAgLypmb250LWZhbWlseTogQXJpYWw7Ki9cclxuICAgICAgICBmb250LXNpemU6IDEycHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmxpZ2h0IHtcclxuICAgICAgICBjb2xvcjogIzAwMCAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG4gICAgLyojcmVwb3J0QXJlYSB7XHJcbiAgICAgICAgLnRpdGxlIGxhYmVsIHtcclxuICAgICAgICAgICAgY29sb3I6ICMwMDA7XHJcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDoxNXB4O1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLmZvb3RlciBzcGFuIHtcclxuICAgICAgICAgICAgY29sb3I6ICMwMDA7XHJcbiAgICAgICAgfVxyXG4gICAgfSovXHJcbiAgICB1bC5yZXBvcnRzLW1lbnUge1xyXG4gICAgICAgIHBhZGRpbmc6IDAgMCAwIDA7XHJcblxyXG4gICAgICAgIGxpIHtcclxuICAgICAgICAgICAgbGlzdC1zdHlsZTogbm9uZTtcclxuICAgICAgICAgICAgZGlzcGxheTogdGFibGU7XHJcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xyXG5cclxuICAgICAgICAgICAgZGl2LnBlcmZvcm1hbmNlLW1lbnUge1xyXG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAxM3B4O1xyXG4gICAgICAgICAgICAgICAgY29sb3I6IHdoaXRlICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nOiAwIDRweCA1cHggMDtcclxuICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XHJcbiAgICAgICAgICAgICAgICB0ZXh0LWFsaWduOiByaWdodDtcclxuICAgICAgICAgICAgICAgIGJvcmRlci1yaWdodDogOHB4IHNvbGlkIHRyYW5zcGFyZW50O1xyXG5cclxuICAgICAgICAgICAgICAgICY6aG92ZXIge1xyXG4gICAgICAgICAgICAgICAgICAgIGJvcmRlci1yaWdodDogOHB4IHNvbGlkICRwb25kLWJsdWU7XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgJi5hY3RpdmUtbWVudS1pdGVtIHtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItcmlnaHQ6IDhweCBzb2xpZCAkbmF2eUJsdWU7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGRpdi5wZXJmb3JtYW5jZS1tZW51LWlubmVyIHtcclxuXHJcbiAgICAgICAgICAgICAgICAmOmhvdmVyIHtcclxuICAgICAgICAgICAgICAgICAgICBjb2xvcjogI2MxYzJjNCAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IC13ZWJraXQtbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgJG5hdnlCbHVlIDAlLCAkbGlnaHQtYmx1ZSAxMDAlKTtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQodG8gYm90dG9tLCAkbmF2eUJsdWUgMCUsICRuYXZ5Qmx1ZSAxMDAlKTtcclxuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQoJG5hdnlCbHVlLCAkbGlnaHQtYmx1ZSk7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogbm9uZTtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICBhIHtcclxuICAgICAgICAgICAgICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICY6aG92ZXIge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogI2ZmZiAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiBub25lO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgYSB7XHJcbiAgICAgICAgICAgICAgICBjb2xvcjogI2ZmZjtcclxuICAgICAgICAgICAgICAgIGZvbnQtZmFtaWx5OiBSb2JvdG8sIHNhbnMtc2VyaWY7XHJcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICAgICAgICAgICAgICBmb250LXdlaWdodDogMzAwO1xyXG4gICAgICAgICAgICAgICAgZGlzcGxheTogdGFibGUtY2VsbDtcclxuICAgICAgICAgICAgICAgIHdpZHRoOiAyMDBweDtcclxuICAgICAgICAgICAgICAgIGhlaWdodDogMzVweDtcclxuICAgICAgICAgICAgICAgIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XHJcbiAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDE3cHg7XHJcblxyXG4gICAgICAgICAgICAgICAgJi5uby1jYXRlZ29yeS1tZW51IHtcclxuICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDE4cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHdoaXRlICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiA3cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDUwMDtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICAmLnBlcmZvcm1hbmNlLW1lbnUge1xyXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogMTNweDtcclxuICAgICAgICAgICAgICAgICAgICBjb2xvcjogd2hpdGUgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDA7XHJcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGF1dG87XHJcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgICYuYWN0aXZlLW1lbnUtaXRlbSB7XHJcbiAgICAgICAgICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogdHJhbnNwYXJlbnQgNXB4IHNvbGlkO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgICY6aG92ZXIge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiAjYzFjMmM0ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQodG8gYm90dG9tLCAkbmF2eUJsdWUgMCUsICRsaWdodC1ibHVlIDEwMCUpO1xyXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCh0byBib3R0b20sICRuYXZ5Qmx1ZSAwJSwgJG5hdnlCbHVlIDEwMCUpO1xyXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCgkbmF2eUJsdWUsICRsaWdodC1ibHVlKTtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tOiAjMmQ4OWM5IDVweCBzb2xpZDtcclxuICAgICAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgICAgICBzcGFuIHtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG5cclxucmVwb3J0cy1jb250YWluZXIge1xyXG4gICAgLmlmcmFtZS1hdXRvYWxlcnQge1xyXG4gICAgICAgIC8qd2lkdGg6IDk4JSAhaW1wb3J0YW50OyovXHJcbiAgICAgICAgcGFkZGluZy10b3A6IDE1cHg7XHJcbiAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgaGVpZ2h0OiBjYWxjKDEwMHZoIC0gNjBweCkgIWltcG9ydGFudDtcclxuICAgIH1cclxufVxyXG5cclxucmVwb3J0LXZpZXdlciB7XHJcbiAgICBkaXNwbGF5OiBibG9jaztcclxufVxyXG5cclxuLnJlcG9ydC1zZXR0aW5ncy1tYXNrIHtcclxuICAgIHotaW5kZXg6IDU7XHJcbiAgICAvKmJhY2tncm91bmQtY29sb3I6IHJlZDtcclxuICAgIG9wYWNpdHk6IDAuNTsqL1xyXG4gICAgcG9zaXRpb246IGZpeGVkO1xyXG4gICAgdG9wOiAwO1xyXG4gICAgYm90dG9tOiAwO1xyXG4gICAgbGVmdDogMDtcclxuICAgIHJpZ2h0OiAwO1xyXG59XHJcblxyXG4ucmVwb3J0LXNldHRpbmdzLWJ1dHRvbiB7XHJcbiAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICBmbG9hdDogcmlnaHQ7XHJcbiAgICBwYWRkaW5nOiAxMnB4O1xyXG5cclxuICAgICYuYWN0aXZlIHtcclxuICAgICAgICBzcGFuLm5nLXNjb3BlIHtcclxuICAgICAgICAgICAgY29sb3I6IHdoaXRlO1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDAuNjZlbTtcclxuICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IHRleHQtdG9wO1xyXG4gICAgICAgIH1cclxuICAgICAgICBpY29uIHtcclxuICAgICAgICAgICAgY29sb3I6IGxhd25ncmVlbjtcclxuICAgICAgICB9XHJcbi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uSW5wdXRJbnZhbGlkOiAjZjUzMTQyO1xyXG4kU2VjdGlvbkJvcmRlckludmFsaWRGb2N1czogcmdiYSgyNDUsIDQ5LCA2NiwgMC44KTtcclxuJFNlY3Rpb25Cb3JkZXJGb2N1czogcmdiYSg4MiwgMTY4LCAyMzYsIDAuOCk7XHJcbiRTZWN0aW9uQm9yZGVyQm94U2hhZG93OiByZ2JhKDgyLCAxNjgsIDIzNiwgMC42KTtcclxuJFNlY3Rpb25Cb3JkZXJJbnZhbGlkU2hhZG93OiByZ2JhKDI0NSwgNDksIDY2LCAwLjYpO1xyXG4kU2VjdGlvbkJhY2tncm91bmQ6ICNmZmY7XHJcblxyXG4kYWN0aXZlTWVudUl0ZW1zOiAjYzFjMmM0O1xyXG4kcmVwb3J0c0JhY2tncm91bmQ6ICNFN0U3RTc7XHJcbiJdfQ== */\"","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"../tooltip.component.ngfactory\"));\nvar i3 = __importStar(require(\"../tooltip.component\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i5 = __importStar(require(\"@angular/forms\"));\nvar i6 = __importStar(require(\"../../../../../node_modules/angular2-multiselect-dropdown/angular2-multiselect-dropdown.ngfactory\"));\nvar i7 = __importStar(require(\"angular2-multiselect-dropdown\"));\nvar i8 = __importStar(require(\"@angular/common\"));\nvar i9 = __importStar(require(\"./admin-settings-creditconvert.component\"));\nvar i10 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i11 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar i12 = __importStar(require(\"../../services/dealer-settings.service\"));\nvar styles_AdminSettingsCreditConvertComponent = [];\nvar RenderType_AdminSettingsCreditConvertComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsCreditConvertComponent, data: {} });\nexports.RenderType_AdminSettingsCreditConvertComponent = RenderType_AdminSettingsCreditConvertComponent;\nfunction View_AdminSettingsCreditConvertComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 14, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"creditConvert\"]], null, null, null, null, null)), i0.ɵdid(2, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(4, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(5, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 5, \"input\", [[\"name\", \"DealerCreditSoftPull.UseCreditSoftPull\"], [\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 8).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerCreditSoftPull.useCreditSoftPull = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(8, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(10, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(12, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(13, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"creditConvert\"; _ck(_v, 2, 0, currVal_0); var currVal_1 = \"creditConvert\"; var currVal_2 = \"dsAdmin_creditConvertTooltip\"; _ck(_v, 4, 0, currVal_1, currVal_2); var currVal_10 = \"DealerCreditSoftPull.UseCreditSoftPull\"; var currVal_11 = _co.dsa.dealerCreditSoftPull.useCreditSoftPull; _ck(_v, 10, 0, currVal_10, currVal_11); }, function (_ck, _v) { var currVal_3 = i0.ɵnov(_v, 12).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 12).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 12).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 12).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 12).ngClassValid; var currVal_8 = i0.ɵnov(_v, 12).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 12).ngClassPending; _ck(_v, 7, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_12 = i0.ɵunv(_v, 13, 0, i0.ɵnov(_v, 14).transform(\"dsAdmin_useCreditConvertFeature\")); _ck(_v, 13, 0, currVal_12); }); }\nfunction View_AdminSettingsCreditConvertComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 19, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_creditConvertAssignments\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 13, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"owner\"]], null, null, null, null, null)), i0.ɵdid(8, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(9, 0, null, null, 10, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 9, \"angular2-multiselect\", [], [[8, \"className\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"onSelect\"], [null, \"onDeSelect\"], [null, \"onSelectAll\"], [null, \"onDeSelectAll\"], [\"document\", \"keyup.escape\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keyup.escape\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 11).onEscapeDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_1 = ((_co.selectedOwners = $event) !== false);\n ad = (pd_1 && ad);\n } if ((\"onSelect\" === en)) {\n var pd_2 = (_co.onMultiSelectChanged() !== false);\n ad = (pd_2 && ad);\n } if ((\"onDeSelect\" === en)) {\n var pd_3 = (_co.onMultiSelectChanged() !== false);\n ad = (pd_3 && ad);\n } if ((\"onSelectAll\" === en)) {\n var pd_4 = (_co.onMultiSelectChanged() !== false);\n ad = (pd_4 && ad);\n } if ((\"onDeSelectAll\" === en)) {\n var pd_5 = (_co.onMultiSelectChanged() !== false);\n ad = (pd_5 && ad);\n } return ad; }, i6.View_AngularMultiSelect_0, i6.RenderType_AngularMultiSelect)), i0.ɵdid(11, 13615104, null, 3, i7.AngularMultiSelect, [i0.ElementRef, i0.ChangeDetectorRef, i7.ɵi], { data: [0, \"data\"], settings: [1, \"settings\"] }, { onSelect: \"onSelect\", onDeSelect: \"onDeSelect\", onSelectAll: \"onSelectAll\", onDeSelectAll: \"onDeSelectAll\" }), i0.ɵqud(335544320, 1, { itemTempl: 0 }), i0.ɵqud(335544320, 2, { badgeTempl: 0 }), i0.ɵqud(335544320, 3, { searchTempl: 0 }), i0.ɵprd(1024, null, i5.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i7.AngularMultiSelect]), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.AngularMultiSelect]), i0.ɵdid(17, 671744, null, 0, i5.NgModel, [[8, null], [6, i5.NG_VALIDATORS], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(19, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_creditConvertAssignments\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_creditConvertAssignments\"; var currVal_2 = \"dsAdmin_creditConvertAssignmentsTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = \"owner\"; _ck(_v, 8, 0, currVal_3); var currVal_12 = _co.dsa.users; var currVal_13 = _co.ownersDropdownSettings; _ck(_v, 11, 0, currVal_12, currVal_13); var currVal_14 = _co.selectedOwners; _ck(_v, 17, 0, currVal_14); }, function (_ck, _v) { var currVal_4 = i0.ɵnov(_v, 11).defaultSettings.classes; var currVal_5 = i0.ɵnov(_v, 19).ngClassUntouched; var currVal_6 = i0.ɵnov(_v, 19).ngClassTouched; var currVal_7 = i0.ɵnov(_v, 19).ngClassPristine; var currVal_8 = i0.ɵnov(_v, 19).ngClassDirty; var currVal_9 = i0.ɵnov(_v, 19).ngClassValid; var currVal_10 = i0.ɵnov(_v, 19).ngClassInvalid; var currVal_11 = i0.ɵnov(_v, 19).ngClassPending; _ck(_v, 10, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11); }); }\nfunction View_AdminSettingsCreditConvertComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 117, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_creditConvertFilters\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [[\"class\", \"creditConvertFilters\"]], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 13, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_includeSpecificYears\"]], null, null, null, null, null)), i0.ɵdid(8, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(9, 0, null, null, 10, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 9, \"angular2-multiselect\", [], [[8, \"className\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"onSelect\"], [null, \"onDeSelect\"], [null, \"onSelectAll\"], [null, \"onDeSelectAll\"], [\"document\", \"keyup.escape\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"document:keyup.escape\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 11).onEscapeDown($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_1 = ((_co.selectedYears = $event) !== false);\n ad = (pd_1 && ad);\n } if ((\"onSelect\" === en)) {\n var pd_2 = (_co.onMultiSelectChanged() !== false);\n ad = (pd_2 && ad);\n } if ((\"onDeSelect\" === en)) {\n var pd_3 = (_co.onMultiSelectChanged() !== false);\n ad = (pd_3 && ad);\n } if ((\"onSelectAll\" === en)) {\n var pd_4 = (_co.onMultiSelectChanged() !== false);\n ad = (pd_4 && ad);\n } if ((\"onDeSelectAll\" === en)) {\n var pd_5 = (_co.onMultiSelectChanged() !== false);\n ad = (pd_5 && ad);\n } return ad; }, i6.View_AngularMultiSelect_0, i6.RenderType_AngularMultiSelect)), i0.ɵdid(11, 13615104, null, 3, i7.AngularMultiSelect, [i0.ElementRef, i0.ChangeDetectorRef, i7.ɵi], { data: [0, \"data\"], settings: [1, \"settings\"] }, { onSelect: \"onSelect\", onDeSelect: \"onDeSelect\", onSelectAll: \"onSelectAll\", onDeSelectAll: \"onDeSelectAll\" }), i0.ɵqud(335544320, 4, { itemTempl: 0 }), i0.ɵqud(335544320, 5, { badgeTempl: 0 }), i0.ɵqud(335544320, 6, { searchTempl: 0 }), i0.ɵprd(1024, null, i5.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i7.AngularMultiSelect]), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i7.AngularMultiSelect]), i0.ɵdid(17, 671744, null, 0, i5.NgModel, [[8, null], [6, i5.NG_VALIDATORS], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(19, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵeld(20, 0, null, null, 48, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(21, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_mileageLessOrEqual\"]], null, null, null, null, null)), i0.ɵdid(22, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(23, 0, null, null, 45, \"div\", [[\"class\", \"col-md-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(24, 0, null, null, 44, \"select\", [[\"class\", \"form-control\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 25).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 25).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerCreditSoftPull.creditSoftPullMileageFilter = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(25, 16384, null, 0, i5.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.SelectControlValueAccessor]), i0.ɵdid(27, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(29, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵeld(30, 0, null, null, 2, \"option\", [], null, null, null, null, null)), i0.ɵdid(31, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i0.ɵdid(32, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i0.ɵeld(33, 0, null, null, 3, \"option\", [[\"value\", \"15000\"]], null, null, null, null, null)), i0.ɵdid(34, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(35, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"15,000\"])), (_l()(), i0.ɵeld(37, 0, null, null, 3, \"option\", [[\"value\", \"30000\"]], null, null, null, null, null)), i0.ɵdid(38, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(39, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"30,000\"])), (_l()(), i0.ɵeld(41, 0, null, null, 3, \"option\", [[\"value\", \"45000\"]], null, null, null, null, null)), i0.ɵdid(42, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(43, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"45,000\"])), (_l()(), i0.ɵeld(45, 0, null, null, 3, \"option\", [[\"value\", \"60000\"]], null, null, null, null, null)), i0.ɵdid(46, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(47, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"60,000\"])), (_l()(), i0.ɵeld(49, 0, null, null, 3, \"option\", [[\"value\", \"75000\"]], null, null, null, null, null)), i0.ɵdid(50, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(51, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"75,000\"])), (_l()(), i0.ɵeld(53, 0, null, null, 3, \"option\", [[\"value\", \"90000\"]], null, null, null, null, null)), i0.ɵdid(54, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(55, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"90,000\"])), (_l()(), i0.ɵeld(57, 0, null, null, 3, \"option\", [[\"value\", \"100000\"]], null, null, null, null, null)), i0.ɵdid(58, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(59, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"100,000\"])), (_l()(), i0.ɵeld(61, 0, null, null, 3, \"option\", [[\"value\", \"125000\"]], null, null, null, null, null)), i0.ɵdid(62, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(63, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"125,000\"])), (_l()(), i0.ɵeld(65, 0, null, null, 3, \"option\", [[\"value\", \"150000\"]], null, null, null, null, null)), i0.ɵdid(66, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(67, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"150,000\"])), (_l()(), i0.ɵeld(69, 0, null, null, 38, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(70, 0, null, null, 1, \"div\", [[\"class\", \"col-md-3\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"dsAdmin_excludeIfProcessed\"]], null, null, null, null, null)), i0.ɵdid(71, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(72, 0, null, null, 33, \"div\", [[\"class\", \"col-md-1\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(73, 0, null, null, 32, \"select\", [[\"class\", \"form-control\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 74).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 74).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerCreditSoftPull.creditSoftPullProcessedFilter = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(74, 16384, null, 0, i5.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.SelectControlValueAccessor]), i0.ɵdid(76, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(78, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵeld(79, 0, null, null, 2, \"option\", [], null, null, null, null, null)), i0.ɵdid(80, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { ngValue: [0, \"ngValue\"] }, null), i0.ɵdid(81, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { ngValue: [0, \"ngValue\"] }, null), (_l()(), i0.ɵeld(82, 0, null, null, 3, \"option\", [[\"value\", \"30\"]], null, null, null, null, null)), i0.ɵdid(83, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(84, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"30\"])), (_l()(), i0.ɵeld(86, 0, null, null, 3, \"option\", [[\"value\", \"60\"]], null, null, null, null, null)), i0.ɵdid(87, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(88, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"60\"])), (_l()(), i0.ɵeld(90, 0, null, null, 3, \"option\", [[\"value\", \"90\"]], null, null, null, null, null)), i0.ɵdid(91, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(92, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"90\"])), (_l()(), i0.ɵeld(94, 0, null, null, 3, \"option\", [[\"value\", \"120\"]], null, null, null, null, null)), i0.ɵdid(95, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(96, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"120\"])), (_l()(), i0.ɵeld(98, 0, null, null, 3, \"option\", [[\"value\", \"150\"]], null, null, null, null, null)), i0.ɵdid(99, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(100, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"150\"])), (_l()(), i0.ɵeld(102, 0, null, null, 3, \"option\", [[\"value\", \"180\"]], null, null, null, null, null)), i0.ɵdid(103, 147456, null, 0, i5.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i5.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(104, 147456, null, 0, i5.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"180\"])), (_l()(), i0.ɵeld(106, 0, null, null, 1, \"div\", [[\"class\", \"col-md-1\"], [\"style\", \"margin-top:5px\"], [\"translate\", \"days\"]], null, null, null, null, null)), i0.ɵdid(107, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(108, 0, null, null, 9, \"div\", [[\"class\", \"settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(109, 0, null, null, 8, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(110, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 111).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 111).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerCreditSoftPull.ignoreFiltersOnPredictiveRepull = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(111, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(113, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(115, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(116, null, [\" \", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_creditConvertFilters\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_creditConvertFilters\"; var currVal_2 = \"dsAdmin_creditConvertFiltersTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_3 = \"dsAdmin_includeSpecificYears\"; _ck(_v, 8, 0, currVal_3); var currVal_12 = _co.years; var currVal_13 = _co.specificYearsSettings; _ck(_v, 11, 0, currVal_12, currVal_13); var currVal_14 = _co.selectedYears; _ck(_v, 17, 0, currVal_14); var currVal_15 = \"dsAdmin_mileageLessOrEqual\"; _ck(_v, 22, 0, currVal_15); var currVal_23 = _co.dsa.dealerCreditSoftPull.creditSoftPullMileageFilter; _ck(_v, 27, 0, currVal_23); var currVal_24 = null; _ck(_v, 31, 0, currVal_24); var currVal_25 = null; _ck(_v, 32, 0, currVal_25); var currVal_26 = \"15000\"; _ck(_v, 34, 0, currVal_26); var currVal_27 = \"15000\"; _ck(_v, 35, 0, currVal_27); var currVal_28 = \"30000\"; _ck(_v, 38, 0, currVal_28); var currVal_29 = \"30000\"; _ck(_v, 39, 0, currVal_29); var currVal_30 = \"45000\"; _ck(_v, 42, 0, currVal_30); var currVal_31 = \"45000\"; _ck(_v, 43, 0, currVal_31); var currVal_32 = \"60000\"; _ck(_v, 46, 0, currVal_32); var currVal_33 = \"60000\"; _ck(_v, 47, 0, currVal_33); var currVal_34 = \"75000\"; _ck(_v, 50, 0, currVal_34); var currVal_35 = \"75000\"; _ck(_v, 51, 0, currVal_35); var currVal_36 = \"90000\"; _ck(_v, 54, 0, currVal_36); var currVal_37 = \"90000\"; _ck(_v, 55, 0, currVal_37); var currVal_38 = \"100000\"; _ck(_v, 58, 0, currVal_38); var currVal_39 = \"100000\"; _ck(_v, 59, 0, currVal_39); var currVal_40 = \"125000\"; _ck(_v, 62, 0, currVal_40); var currVal_41 = \"125000\"; _ck(_v, 63, 0, currVal_41); var currVal_42 = \"150000\"; _ck(_v, 66, 0, currVal_42); var currVal_43 = \"150000\"; _ck(_v, 67, 0, currVal_43); var currVal_44 = \"dsAdmin_excludeIfProcessed\"; _ck(_v, 71, 0, currVal_44); var currVal_52 = _co.dsa.dealerCreditSoftPull.creditSoftPullProcessedFilter; _ck(_v, 76, 0, currVal_52); var currVal_53 = null; _ck(_v, 80, 0, currVal_53); var currVal_54 = null; _ck(_v, 81, 0, currVal_54); var currVal_55 = \"30\"; _ck(_v, 83, 0, currVal_55); var currVal_56 = \"30\"; _ck(_v, 84, 0, currVal_56); var currVal_57 = \"60\"; _ck(_v, 87, 0, currVal_57); var currVal_58 = \"60\"; _ck(_v, 88, 0, currVal_58); var currVal_59 = \"90\"; _ck(_v, 91, 0, currVal_59); var currVal_60 = \"90\"; _ck(_v, 92, 0, currVal_60); var currVal_61 = \"120\"; _ck(_v, 95, 0, currVal_61); var currVal_62 = \"120\"; _ck(_v, 96, 0, currVal_62); var currVal_63 = \"150\"; _ck(_v, 99, 0, currVal_63); var currVal_64 = \"150\"; _ck(_v, 100, 0, currVal_64); var currVal_65 = \"180\"; _ck(_v, 103, 0, currVal_65); var currVal_66 = \"180\"; _ck(_v, 104, 0, currVal_66); var currVal_67 = \"days\"; _ck(_v, 107, 0, currVal_67); var currVal_75 = _co.dsa.dealerCreditSoftPull.ignoreFiltersOnPredictiveRepull; _ck(_v, 113, 0, currVal_75); }, function (_ck, _v) { var currVal_4 = i0.ɵnov(_v, 11).defaultSettings.classes; var currVal_5 = i0.ɵnov(_v, 19).ngClassUntouched; var currVal_6 = i0.ɵnov(_v, 19).ngClassTouched; var currVal_7 = i0.ɵnov(_v, 19).ngClassPristine; var currVal_8 = i0.ɵnov(_v, 19).ngClassDirty; var currVal_9 = i0.ɵnov(_v, 19).ngClassValid; var currVal_10 = i0.ɵnov(_v, 19).ngClassInvalid; var currVal_11 = i0.ɵnov(_v, 19).ngClassPending; _ck(_v, 10, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11); var currVal_16 = i0.ɵnov(_v, 29).ngClassUntouched; var currVal_17 = i0.ɵnov(_v, 29).ngClassTouched; var currVal_18 = i0.ɵnov(_v, 29).ngClassPristine; var currVal_19 = i0.ɵnov(_v, 29).ngClassDirty; var currVal_20 = i0.ɵnov(_v, 29).ngClassValid; var currVal_21 = i0.ɵnov(_v, 29).ngClassInvalid; var currVal_22 = i0.ɵnov(_v, 29).ngClassPending; _ck(_v, 24, 0, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22); var currVal_45 = i0.ɵnov(_v, 78).ngClassUntouched; var currVal_46 = i0.ɵnov(_v, 78).ngClassTouched; var currVal_47 = i0.ɵnov(_v, 78).ngClassPristine; var currVal_48 = i0.ɵnov(_v, 78).ngClassDirty; var currVal_49 = i0.ɵnov(_v, 78).ngClassValid; var currVal_50 = i0.ɵnov(_v, 78).ngClassInvalid; var currVal_51 = i0.ɵnov(_v, 78).ngClassPending; _ck(_v, 73, 0, currVal_45, currVal_46, currVal_47, currVal_48, currVal_49, currVal_50, currVal_51); var currVal_68 = i0.ɵnov(_v, 115).ngClassUntouched; var currVal_69 = i0.ɵnov(_v, 115).ngClassTouched; var currVal_70 = i0.ɵnov(_v, 115).ngClassPristine; var currVal_71 = i0.ɵnov(_v, 115).ngClassDirty; var currVal_72 = i0.ɵnov(_v, 115).ngClassValid; var currVal_73 = i0.ɵnov(_v, 115).ngClassInvalid; var currVal_74 = i0.ɵnov(_v, 115).ngClassPending; _ck(_v, 110, 0, currVal_68, currVal_69, currVal_70, currVal_71, currVal_72, currVal_73, currVal_74); var currVal_76 = i0.ɵunv(_v, 116, 0, i0.ɵnov(_v, 117).transform(\"dsAdmin_ignoreFiltersForRepull\")); _ck(_v, 116, 0, currVal_76); }); }\nfunction View_AdminSettingsCreditConvertComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 37, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, \"div\", [[\"class\", \"sectionSpacer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"settingTitle\"], [\"translate\", \"dsAdmin_newFeaturePilotControl\"]], null, null, null, null, null)), i0.ɵdid(3, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"tooltip\", [], null, null, null, i2.View_TooltipComponent_0, i2.RenderType_TooltipComponent)), i0.ɵdid(5, 49152, null, 0, i3.TooltipComponent, [i4.PopoverModule], { titleKey: [0, \"titleKey\"], contentKey: [1, \"contentKey\"] }, null), (_l()(), i0.ɵeld(6, 0, null, null, 31, \"div\", [[\"class\", \"row settingItem\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 30, \"div\", [[\"class\", \"col-md-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 6, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 11).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 11).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerCreditSoftPull.enableRealTimeScan = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(11, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(13, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(15, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(16, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(18, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(19, 0, null, null, 6, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 21).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 21).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerCreditSoftPull.enableLeaseAlerts = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(21, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(23, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(25, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(26, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(28, 0, null, null, 9, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(29, 0, null, null, 6, \"label\", [], null, null, null, null, null)), (_l()(), i0.ɵeld(30, 0, null, null, 5, \"input\", [[\"type\", \"checkbox\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 31).onChange($event.target.checked) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 31).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.dsa.dealerCreditSoftPull.processFirstTimeConquests = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(31, 16384, null, 0, i5.CheckboxControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i5.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i5.CheckboxControlValueAccessor]), i0.ɵdid(33, 671744, null, 0, i5.NgModel, [[8, null], [8, null], [8, null], [6, i5.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i5.NgControl, null, [i5.NgModel]), i0.ɵdid(35, 16384, null, 0, i5.NgControlStatus, [[4, i5.NgControl]], null, null), (_l()(), i0.ɵted(36, null, [\" \", \" \"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef])], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"dsAdmin_newFeaturePilotControl\"; _ck(_v, 3, 0, currVal_0); var currVal_1 = \"dsAdmin_newFeaturePilotControl\"; var currVal_2 = \"dsAdmin_newFeaturePilotControlTooltip\"; _ck(_v, 5, 0, currVal_1, currVal_2); var currVal_10 = _co.dsa.dealerCreditSoftPull.enableRealTimeScan; _ck(_v, 13, 0, currVal_10); var currVal_19 = _co.dsa.dealerCreditSoftPull.enableLeaseAlerts; _ck(_v, 23, 0, currVal_19); var currVal_28 = _co.dsa.dealerCreditSoftPull.processFirstTimeConquests; _ck(_v, 33, 0, currVal_28); }, function (_ck, _v) { var currVal_3 = i0.ɵnov(_v, 15).ngClassUntouched; var currVal_4 = i0.ɵnov(_v, 15).ngClassTouched; var currVal_5 = i0.ɵnov(_v, 15).ngClassPristine; var currVal_6 = i0.ɵnov(_v, 15).ngClassDirty; var currVal_7 = i0.ɵnov(_v, 15).ngClassValid; var currVal_8 = i0.ɵnov(_v, 15).ngClassInvalid; var currVal_9 = i0.ɵnov(_v, 15).ngClassPending; _ck(_v, 10, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_11 = i0.ɵunv(_v, 16, 0, i0.ɵnov(_v, 17).transform(\"dsAdmin_enableRealTimeScan\")); _ck(_v, 16, 0, currVal_11); var currVal_12 = i0.ɵnov(_v, 25).ngClassUntouched; var currVal_13 = i0.ɵnov(_v, 25).ngClassTouched; var currVal_14 = i0.ɵnov(_v, 25).ngClassPristine; var currVal_15 = i0.ɵnov(_v, 25).ngClassDirty; var currVal_16 = i0.ɵnov(_v, 25).ngClassValid; var currVal_17 = i0.ɵnov(_v, 25).ngClassInvalid; var currVal_18 = i0.ɵnov(_v, 25).ngClassPending; _ck(_v, 20, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18); var currVal_20 = i0.ɵunv(_v, 26, 0, i0.ɵnov(_v, 27).transform(\"dsAdmin_enableLeaseAlerts\")); _ck(_v, 26, 0, currVal_20); var currVal_21 = i0.ɵnov(_v, 35).ngClassUntouched; var currVal_22 = i0.ɵnov(_v, 35).ngClassTouched; var currVal_23 = i0.ɵnov(_v, 35).ngClassPristine; var currVal_24 = i0.ɵnov(_v, 35).ngClassDirty; var currVal_25 = i0.ɵnov(_v, 35).ngClassValid; var currVal_26 = i0.ɵnov(_v, 35).ngClassInvalid; var currVal_27 = i0.ɵnov(_v, 35).ngClassPending; _ck(_v, 30, 0, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27); var currVal_29 = i0.ɵunv(_v, 36, 0, i0.ɵnov(_v, 37).transform(\"dsAdmin_processFirstTimeConquests\")); _ck(_v, 36, 0, currVal_29); }); }\nfunction View_AdminSettingsCreditConvertComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsCreditConvertComponent_3)), i0.ɵdid(2, 16384, null, 0, i8.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsCreditConvertComponent_4)), i0.ɵdid(4, 16384, null, 0, i8.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsCreditConvertComponent_5)), i0.ɵdid(6, 16384, null, 0, i8.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.dsa.isCreditConvertAdmin || _co.dsa.isCreditConvertEditor); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.dsa.isCreditConvertAdmin || _co.dsa.isCreditConvertEditor); _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.dsa.isCreditConvertAdmin; _ck(_v, 6, 0, currVal_2); }, null); }\nfunction View_AdminSettingsCreditConvertComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"col-md-11\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsCreditConvertComponent_1)), i0.ɵdid(3, 16384, null, 0, i8.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsCreditConvertComponent_2)), i0.ɵdid(5, 16384, null, 0, i8.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.dsa.isCreditConvertAdmin; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.dsa.dealerCreditSoftPull.useCreditSoftPull; _ck(_v, 5, 0, currVal_1); }, null); }\nexports.View_AdminSettingsCreditConvertComponent_0 = View_AdminSettingsCreditConvertComponent_0;\nfunction View_AdminSettingsCreditConvertComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-creditconvert\", [], null, null, null, View_AdminSettingsCreditConvertComponent_0, RenderType_AdminSettingsCreditConvertComponent)), i0.ɵdid(1, 114688, null, 0, i9.AdminSettingsCreditConvertComponent, [i10.BsModalService, i1.TranslateService, i11.ToasterLoggerService, i12.DealerSettingsService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminSettingsCreditConvertComponent_Host_0 = View_AdminSettingsCreditConvertComponent_Host_0;\nvar AdminSettingsCreditConvertComponentNgFactory = i0.ɵccf(\"admin-settings-creditconvert\", i9.AdminSettingsCreditConvertComponent, View_AdminSettingsCreditConvertComponent_Host_0, { dsa: \"dsa\" }, {}, []);\nexports.AdminSettingsCreditConvertComponentNgFactory = AdminSettingsCreditConvertComponentNgFactory;\n","
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {{ 'dsAdmin_enableRealTimeScan' | translate }}\r\n
    \r\n
    \r\n {{ 'dsAdmin_enableLeaseAlerts' | translate }}\r\n
    \r\n
    \r\n {{ 'dsAdmin_processFirstTimeConquests' | translate }}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","module.exports = __webpack_public_path__ + \"icon-sms-lake.1e1c9a8ad3c1ad3d667e.svg\";","var path = '/app/components/service-drive/service-drive-offers.component.html';\nvar html = \"
    Home: Service Drive Offers
    {{ $ctrl.dateStart | localeDate }}

    # RO/Appt Date Categoriessss Full Trim VIN
    {{$index + 1}} {{offer.customerFullName}} {{ $ctrl.getLatestDate(offer); }} {{offer.responsibleUserFullName}} {{offer.fullTrimName}} {{offer.vin}} {{offer.soldByUserFullName}} {{offer.lastPrintedDate | localeDateTime }}
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".modal-header[_ngcontent-%COMP%]{background:-webkit-gradient(linear,left top,right top,from(#172751),to(#1f8bd5)) fixed;background:linear-gradient(to right,#172751,#1f8bd5) fixed;color:#fff;border-radius:5px 5px 0 0;text-align:left;margin:0;display:block;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:10px}.roleNameInvalid[_ngcontent-%COMP%]{color:Red;float:left;margin-left:5px}.roleSelectContainer[_ngcontent-%COMP%]{margin-top:10px}.roleSelect[_ngcontent-%COMP%]{width:200px;height:35px}.startWithParentContainer[_ngcontent-%COMP%]{margin-top:10px}\"];\nexports.styles = styles;\n","var path = '/app/components/data-entry/replacement/data-entry-replacement-offers.component.html';\nvar html = \"
    {{'replacementOffers' | translate}}
    1\\\">
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./extended-warranty.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"../../../../filters/locale-number.pipe\"));\nvar i5 = __importStar(require(\"../../../../modules/storage/storage.service\"));\nvar i6 = __importStar(require(\"./extended-warranty.component\"));\nvar styles_ExtendedWarrantyComponent = [i0.styles];\nvar RenderType_ExtendedWarrantyComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_ExtendedWarrantyComponent, data: {} });\nexports.RenderType_ExtendedWarrantyComponent = RenderType_ExtendedWarrantyComponent;\nfunction View_ExtendedWarrantyComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"id\", \"extended-warranty\"], [\"translate\", \"extendedWarranty\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"extendedWarranty\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ExtendedWarrantyComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"id\", \"extended-warranty\"], [\"translate\", \"warrantyExpired\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"warrantyExpired\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ExtendedWarrantyComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_4)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !((((_co.contract == null) ? null : _co.contract.saleType) == ((_co.saleTypes == null) ? null : _co.saleTypes.retail)) && (((_co.vehicle == null) ? null : _co.vehicle.type) == ((_co.vehicleTypes == null) ? null : _co.vehicleTypes.used))); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ExtendedWarrantyComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"span\", [[\"id\", \"extended-warranty\"]], null, null, null, null, null))], null, null); }\nfunction View_ExtendedWarrantyComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"span\", [[\"class\", \"qa-extended-warranty-value\"], [\"id\", \"extended-warranty\"], [\"translate\", \"warranty\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(2, 1), i1.ɵppd(3, 1), i1.ɵpod(4, { months: 0, miles: 1 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"warranty\"; var currVal_1 = _ck(_v, 4, 0, i1.ɵunv(_v, 1, 1, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent, 0), ((_co.vehicle && _co.vehicle.warrantyMonthsRemaining) || (_co.contract && _co.contract.warrantyMonthsRemaining)))), i1.ɵunv(_v, 1, 1, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent.parent, 0), ((_co.vehicle && _co.vehicle.warrantyMilesRemaining) || (_co.contract && _co.contract.warrantyMilesRemaining))))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_ExtendedWarrantyComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"span\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_7)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = !(((((_co.contract == null) ? null : _co.contract.saleType) == ((_co.saleTypes == null) ? null : _co.saleTypes.retail)) && (((_co.vehicle == null) ? null : _co.vehicle.type) == ((_co.vehicleTypes == null) ? null : _co.vehicleTypes.used))) && (_co.replacementVehicleType != ((_co.vehicleTypes == null) ? null : _co.vehicleTypes.new))); _ck(_v, 2, 0, currVal_0); }, null); }\nfunction View_ExtendedWarrantyComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"span\", [[\"id\", \"extended-warranty\"], [\"translate\", \"extendedWarranty\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"extendedWarranty\"; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_ExtendedWarrantyComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"span\", [[\"id\", \"extended-warranty\"]], null, null, null, null, null))], null, null); }\nfunction View_ExtendedWarrantyComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, \"span\", [[\"class\", \"qa-extended-warranty-value\"], [\"id\", \"extended-warranty\"], [\"translate\", \"warranty\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"], translateParams: [1, \"translateParams\"] }, null), i1.ɵppd(2, 1), i1.ɵppd(3, 1), i1.ɵpod(4, { months: 0, miles: 1 })], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"warranty\"; var currVal_1 = _ck(_v, 4, 0, i1.ɵunv(_v, 1, 1, _ck(_v, 2, 0, i1.ɵnov(_v.parent.parent.parent, 0), ((_co.vehicle && _co.vehicle.warrantyMonthsRemaining) || (_co.contract && _co.contract.warrantyMonthsRemaining)))), i1.ɵunv(_v, 1, 1, _ck(_v, 3, 0, i1.ɵnov(_v.parent.parent.parent, 0), ((_co.vehicle && _co.vehicle.warrantyMilesRemaining) || (_co.contract && _co.contract.warrantyMilesRemaining))))); _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_ExtendedWarrantyComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"div\", [[\"class\", \"field-data\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(2, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(3, { warranty: 0 }), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_9)), i1.ɵdid(5, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_10)), i1.ɵdid(7, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_11)), i1.ɵdid(9, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"field-data\"; var currVal_1 = _ck(_v, 3, 0, _co.alertExists); _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = (_co.getWarrantyStatus() === \"EXTENDED\"); _ck(_v, 5, 0, currVal_2); var currVal_3 = (_co.getWarrantyStatus() === \"NONE\"); _ck(_v, 7, 0, currVal_3); var currVal_4 = ((_co.getWarrantyStatus() === \"ACTIVE\") && !(((((_co.contract == null) ? null : _co.contract.saleType) == ((_co.saleTypes == null) ? null : _co.saleTypes.retail)) && (((_co.vehicle == null) ? null : _co.vehicle.type) == ((_co.vehicleTypes == null) ? null : _co.vehicleTypes.used))) && (_co.replacementVehicleType != ((_co.vehicleTypes == null) ? null : _co.vehicleTypes.new)))); _ck(_v, 9, 0, currVal_4); }, null); }\nfunction View_ExtendedWarrantyComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 17, \"div\", [[\"class\", \"field row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"label\", [[\"class\", \"field-label\"], [\"for\", \"extended-warranty\"], [\"translate\", \"warrantyLabel\"]], [[8, \"hidden\", 0]], null, null, null, null)), i1.ɵdid(2, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 12, \"div\", [[\"class\", \"field-data\"]], null, null, null, null, null)), i1.ɵprd(512, null, i3.ɵNgClassImpl, i3.ɵNgClassR2Impl, [i1.IterableDiffers, i1.KeyValueDiffers, i1.ElementRef, i1.Renderer2]), i1.ɵdid(5, 278528, null, 0, i3.NgClass, [i3.ɵNgClassImpl], { klass: [0, \"klass\"], ngClass: [1, \"ngClass\"] }, null), i1.ɵpod(6, { warranty: 0 }), i1.ɵdid(7, 16384, null, 0, i3.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_2)), i1.ɵdid(9, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_3)), i1.ɵdid(11, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_5)), i1.ɵdid(13, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_6)), i1.ɵdid(15, 278528, null, 0, i3.NgSwitchCase, [i1.ViewContainerRef, i1.TemplateRef, i3.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_8)), i1.ɵdid(17, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = \"warrantyLabel\"; _ck(_v, 2, 0, currVal_1); var currVal_2 = \"field-data\"; var currVal_3 = _ck(_v, 6, 0, _co.alertExists); _ck(_v, 5, 0, currVal_2, currVal_3); var currVal_4 = _co.getWarrantyStatus(); _ck(_v, 7, 0, currVal_4); var currVal_5 = \"EXTENDED\"; _ck(_v, 9, 0, currVal_5); var currVal_6 = \"EXPIRED\"; _ck(_v, 11, 0, currVal_6); var currVal_7 = \"NONE\"; _ck(_v, 13, 0, currVal_7); var currVal_8 = \"ACTIVE\"; _ck(_v, 15, 0, currVal_8); var currVal_9 = !_co.getWarrantyStatus(); _ck(_v, 17, 0, currVal_9); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !(_co.getWarrantyStatus() && (((_co.getWarrantyStatus() == \"EXTENDED\") || ((_co.getWarrantyStatus() == \"EXPIRED\") && (((_co.vehicle == null) ? null : _co.vehicle.type) != ((_co.vehicleTypes == null) ? null : _co.vehicleTypes.used)))) || (_co.getWarrantyStatus() == \"ACTIVE\"))); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_ExtendedWarrantyComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i4.LocaleNumberPipe, [i5.StorageService]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_ExtendedWarrantyComponent_1)), i1.ɵdid(2, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = ((((_co.contract == null) ? null : _co.contract.conquestType) != ((_co.conquestTypes == null) ? null : _co.conquestTypes.notConverted)) && ((_co.permissions == null) ? null : _co.permissions.viewContract)); _ck(_v, 2, 0, currVal_0); }, null); }\nexports.View_ExtendedWarrantyComponent_0 = View_ExtendedWarrantyComponent_0;\nfunction View_ExtendedWarrantyComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"extended-warranty\", [], null, null, null, View_ExtendedWarrantyComponent_0, RenderType_ExtendedWarrantyComponent)), i1.ɵdid(1, 114688, null, 0, i6.ExtendedWarrantyComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_ExtendedWarrantyComponent_Host_0 = View_ExtendedWarrantyComponent_Host_0;\nvar ExtendedWarrantyComponentNgFactory = i1.ɵccf(\"extended-warranty\", i6.ExtendedWarrantyComponent, View_ExtendedWarrantyComponent_Host_0, { contract: \"contract\", vehicle: \"vehicle\", alertExists: \"alertExists\", permissions: \"permissions\", replacementVehicleType: \"replacementVehicleType\" }, {}, []);\nexports.ExtendedWarrantyComponentNgFactory = ExtendedWarrantyComponentNgFactory;\n","
    \r\n\r\n \r\n\r\n
    \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n
    \r\n\r\n
    \r\n","module.exports = __webpack_public_path__ + \"icon-alertminer-in-market.9c85fbdbd3ef36190cf0.png\";","var path = '/app/components/search/search-form.component.html';\nvar html = \"
    1\\\" class=\\\"row dealerRow\\\">
    1\\\" class=\\\"row\\\">
    {{ section.displayNameKey | translate}}
    {{ section.displayNameKey | translate}}
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar PandoClaimClientService = /** @class */ (function (_super) {\n __extends(PandoClaimClientService, _super);\n function PandoClaimClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param entityId undefined\n */\n PandoClaimClientService.prototype.ByEntityByEntityidGETResponse = function (entityId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/PandoClaim/ByEntity/\" + entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param entityId undefined\n */\n PandoClaimClientService.prototype.ByEntityByEntityidGET = function (entityId) {\n return this.ByEntityByEntityidGETResponse(entityId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n PandoClaimClientService.ByEntityByEntityidGETPath = '/api/PandoClaim/ByEntity/{entityId}';\n PandoClaimClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function PandoClaimClientService_Factory() { return new PandoClaimClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: PandoClaimClientService, providedIn: \"root\" });\n return PandoClaimClientService;\n}(base_service_1.BaseService));\nexports.PandoClaimClientService = PandoClaimClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass PandoClaimClientService extends __BaseService {\r\n static readonly ByEntityByEntityidGETPath = '/api/PandoClaim/ByEntity/{entityId}';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param entityId undefined\r\n */\r\n ByEntityByEntityidGETResponse(entityId: string): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/PandoClaim/ByEntity/${entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param entityId undefined\r\n */\r\n ByEntityByEntityidGET(entityId: string): __Observable {\r\n return this.ByEntityByEntityidGETResponse(entityId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule PandoClaimClientService {\r\n}\r\n\r\nexport { PandoClaimClientService }\r\n","var path = '/app/components/deal-sheet/pando-process-claim-info.component.html';\nvar html = \" : {{$ctrl.claimInfo.fullName}} \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","'use strict';\nvar $export = require('./_export');\nvar $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments[1]);\n }\n});\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\"\"];\nexports.styles = styles;\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./display-modal.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i4 = __importStar(require(\"../../icon/icon.component\"));\nvar i5 = __importStar(require(\"@angular/platform-browser\"));\nvar i6 = __importStar(require(\"./display-modal.component\"));\nvar i7 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar styles_DisplayModalComponent = [i0.styles];\nvar RenderType_DisplayModalComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_DisplayModalComponent, data: {} });\nexports.RenderType_DisplayModalComponent = RenderType_DisplayModalComponent;\nfunction View_DisplayModalComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { iframe: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 13, \"div\", [[\"class\", \"alert-box\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"h4\", [[\"class\", \"modal-title\"], [\"translate\", \"preview\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i1.ɵdid(9, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null), (_l()(), i1.ɵeld(10, 0, null, null, 1, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, [[1, 0], [\"frame\", 1]], null, 0, \"iframe\", [[\"class\", \"ifrmContainer\"], [\"style\", \"border: none;width: 100%;height: 680px\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 2, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.onCancel() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(14, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_0 = \"preview\"; _ck(_v, 5, 0, currVal_0); _ck(_v, 9, 0); var currVal_1 = \"close\"; _ck(_v, 14, 0, currVal_1); }, null); }\nexports.View_DisplayModalComponent_0 = View_DisplayModalComponent_0;\nfunction View_DisplayModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"display-modal\", [], null, null, null, View_DisplayModalComponent_0, RenderType_DisplayModalComponent)), i1.ɵdid(1, 114688, null, 0, i6.DisplayModalComponent, [i7.BsModalRef, i5.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_DisplayModalComponent_Host_0 = View_DisplayModalComponent_Host_0;\nvar DisplayModalComponentNgFactory = i1.ɵccf(\"display-modal\", i6.DisplayModalComponent, View_DisplayModalComponent_Host_0, { htmlContent: \"htmlContent\" }, { onClosed: \"onClosed\" }, []);\nexports.DisplayModalComponentNgFactory = DisplayModalComponentNgFactory;\n","
    \r\n
    \r\n
    \r\n

    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n","// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n","require('../modules/es6.string.from-code-point');\nrequire('../modules/es6.string.raw');\nrequire('../modules/es6.string.trim');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/es6.string.code-point-at');\nrequire('../modules/es6.string.ends-with');\nrequire('../modules/es6.string.includes');\nrequire('../modules/es6.string.repeat');\nrequire('../modules/es6.string.starts-with');\nrequire('../modules/es6.string.anchor');\nrequire('../modules/es6.string.big');\nrequire('../modules/es6.string.blink');\nrequire('../modules/es6.string.bold');\nrequire('../modules/es6.string.fixed');\nrequire('../modules/es6.string.fontcolor');\nrequire('../modules/es6.string.fontsize');\nrequire('../modules/es6.string.italics');\nrequire('../modules/es6.string.link');\nrequire('../modules/es6.string.small');\nrequire('../modules/es6.string.strike');\nrequire('../modules/es6.string.sub');\nrequire('../modules/es6.string.sup');\nrequire('../modules/es6.regexp.match');\nrequire('../modules/es6.regexp.replace');\nrequire('../modules/es6.regexp.search');\nrequire('../modules/es6.regexp.split');\nmodule.exports = require('../modules/_core').String;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TradeValueTypes = {\n dealerTradeValue: 0,\n autoAlertTradeValue: 1,\n blackBookTradeValue: 2,\n auctionTradeValue: 3,\n estimateTradeValue: 4,\n galvesTradeValue: 5,\n manualTradeValue: 6\n};\n","\r\nexport const TradeValueTypes = {\r\n dealerTradeValue: 0,\r\n autoAlertTradeValue: 1,\r\n blackBookTradeValue: 2,\r\n auctionTradeValue: 3,\r\n estimateTradeValue: 4,\r\n galvesTradeValue: 5,\r\n manualTradeValue: 6\r\n};\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar locale_number_pipe_1 = require(\"../../../../filters/locale-number.pipe\");\nvar AllowedMileageComponent = /** @class */ (function () {\n function AllowedMileageComponent(elementRef, injector, localeNumber) {\n this.localeNumber = localeNumber;\n }\n return AllowedMileageComponent;\n}());\nexports.AllowedMileageComponent = AllowedMileageComponent;\n","import { Component, ElementRef, Injector, Input } from '@angular/core';\r\nimport { LocaleNumberPipe } from '../../../../filters/locale-number.pipe';\r\n\r\n@Component({\r\n selector: 'allowed-mileage',\r\n templateUrl: './allowed-mileage.component-ng.html',\r\n styleUrls: ['./allowed-mileage.component.scss']\r\n})\r\nexport class AllowedMileageComponent {\r\n @Input() value: any;\r\n\r\n constructor(elementRef: ElementRef, injector: Injector, public localeNumber: LocaleNumberPipe) {\r\n }\r\n\r\n}","module.exports = __webpack_public_path__ + \"Enterprise_Customer_White_Icon.cd97a6346250bd617104.png\";","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar constants_1 = require(\"../../../../constants\");\nvar log_action_shortcut_service_1 = require(\"../../../../services/log-action-shortcut.service\");\nvar CustomerConnectActionsComponent = /** @class */ (function () {\n function CustomerConnectActionsComponent(logActionShortcutService, changeDetectorRef) {\n this.logActionShortcutService = logActionShortcutService;\n this.changeDetectorRef = changeDetectorRef;\n this.ActivityActionEnum = constants_1.ActivityActionEnum;\n this.onAction = new core_1.EventEmitter();\n this.onCustomerEdit = new core_1.EventEmitter();\n this.activityActionEnum = this.ActivityActionEnum.Log_Call;\n this.selectedBar = 'selectedbar';\n this.activityActionEnums = constants_1.ActivityActionEnum;\n this.showLogActivity = true;\n this.showScheduleAppt = true;\n this.showEmail = true;\n this.showText = true;\n this.shortcutInProgress = false;\n }\n CustomerConnectActionsComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.logActionShortcutService.$logShortcutAction.subscribe(function (activityActionEnum) { return _this.handleShortcutEvent(activityActionEnum); });\n };\n CustomerConnectActionsComponent.prototype.activityClicked = function (activityActionEnum) {\n if (!activityActionEnum) {\n activityActionEnum = this.ActivityActionEnum.Log_Call;\n }\n this.onAction.emit(activityActionEnum);\n this.selectLogActivity();\n this.changeDetectorRef.detectChanges();\n };\n CustomerConnectActionsComponent.prototype.scheduleClicked = function () {\n this.onAction.emit(this.ActivityActionEnum.Schedule_Appt);\n this.selectScheduleActivity();\n this.changeDetectorRef.detectChanges();\n };\n CustomerConnectActionsComponent.prototype.ngOnChanges = function (changes) {\n if (changes.isCustomerConnectOpen && changes.isCustomerConnectOpen.currentValue) {\n if (this.shortcutInProgress) {\n this.shortcutInProgress = false;\n return;\n }\n if (this.defaultCustomerConnectAction === this.ActivityActionEnum.Log_Call\n || this.defaultCustomerConnectAction === this.ActivityActionEnum.Post_Note) {\n this.activityActionEnum = this.defaultCustomerConnectAction;\n this.activityClicked();\n }\n else if (this.defaultCustomerConnectAction === this.ActivityActionEnum.Schedule_Appt\n || this.defaultCustomerConnectAction === this.ActivityActionEnum.Schedule_Call) {\n this.scheduleClicked();\n }\n this.logActionShortcutService.reset();\n }\n else {\n this.setAllShowFlags(true);\n this.activityActionEnum = this.defaultCustomerConnectAction;\n this.shortcutInProgress = false;\n }\n if (this.customer) {\n this.doNotCall = this.customer.doNotCall;\n this.doNotEmail = this.customer.doNotEmail;\n }\n };\n CustomerConnectActionsComponent.prototype.handleShortcutEvent = function (activityActionEnum) {\n if (activityActionEnum === null) {\n return;\n }\n this.shortcutInProgress = true;\n this.setAllShowFlags(false);\n this.activityActionEnum = activityActionEnum;\n switch (activityActionEnum) {\n case this.activityActionEnums.Log_Call:\n case this.activityActionEnums.Post_Note:\n this.showLogActivity = true;\n this.activityClicked(this.activityActionEnum);\n break;\n case this.activityActionEnums.Schedule_Appt:\n this.showScheduleAppt = true;\n this.scheduleClicked();\n break;\n }\n };\n CustomerConnectActionsComponent.prototype.setAllShowFlags = function (on) {\n this.showLogActivity = on;\n this.showScheduleAppt = on;\n this.showEmail = on;\n this.showText = on;\n };\n CustomerConnectActionsComponent.prototype.selectLogActivity = function () {\n this.selectedLogActivity = this.selectedBar;\n this.selectedscheduleActivity = '';\n };\n CustomerConnectActionsComponent.prototype.selectScheduleActivity = function () {\n this.selectedLogActivity = '';\n this.selectedscheduleActivity = this.selectedBar;\n };\n CustomerConnectActionsComponent.prototype.onDonotCallChange = function (doNotCall) {\n this.doNotCall = !doNotCall;\n this.onDonotCallEmailChange();\n };\n CustomerConnectActionsComponent.prototype.onDonotEmailChange = function (doNotEmail) {\n this.doNotEmail = !doNotEmail;\n this.onDonotCallEmailChange();\n };\n CustomerConnectActionsComponent.prototype.onDonotCallEmailChange = function () {\n this.editableCustomer = this.getCustomerCopy();\n this.editableCustomer.doNotCall = this.doNotCall;\n this.editableCustomer.doNotEmail = this.doNotEmail;\n var emitValue = { $value: this.editableCustomer };\n this.onCustomerEdit.emit(emitValue);\n };\n CustomerConnectActionsComponent.prototype.getCustomerCopy = function () {\n var cloneCustomer = {\n id: this.opportunity.customer.id,\n firstName: this.opportunity.customer.firstName,\n middleName: this.opportunity.customer.middleName,\n lastName: this.opportunity.customer.lastName,\n fullName: this.opportunity.customer.fullName,\n companyName: this.opportunity.customer.companyName,\n invalidContacts: this.opportunity.customer.invalidContacts.slice(),\n alternateContacts: this.opportunity.customer.alternateContacts.slice(),\n doNotCall: this.opportunity.customer.doNotCall,\n doNotEmail: this.opportunity.customer.doNotEmail,\n doNotText: this.opportunity.customer.doNotText,\n isFullCustomer: this.opportunity.customer.isFullCustomer,\n isAddressNotValid: this.opportunity.customer.isAddressNotValid,\n address: {\n streetAddress: this.opportunity.customer.address.streetAddress,\n streetAddress2: this.opportunity.customer.address.streetAddress2,\n city: this.opportunity.customer.address.city,\n stateId: this.opportunity.customer.address.stateId,\n stateName: this.opportunity.customer.address.stateName,\n zipCode: this.opportunity.customer.address.zipCode,\n normalizedZipCode: this.opportunity.customer.address.normalizedZipCode\n },\n // Create phony records for the UI if there is currenly no value\n homePhoneNumber: this.opportunity.customer.homePhoneNumber,\n workPhoneNumber: this.opportunity.customer.workPhoneNumber,\n cellPhoneNumber: this.opportunity.customer.cellPhoneNumber,\n emailAddress: this.opportunity.customer.emailAddress\n };\n return cloneCustomer;\n };\n return CustomerConnectActionsComponent;\n}());\nexports.CustomerConnectActionsComponent = CustomerConnectActionsComponent;\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\r\nimport { ActivityActionEnum } from '../../../../constants';\r\nimport { Customer } from '../../../../interfaces/customer.interface';\r\nimport { DealSheetOpportunity } from '../../../../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\nimport { DealSheetPermissions } from '../../../../interfaces/deal-sheet/deal-sheet-permissions.interface';\r\nimport { LogActionShortcutService } from '../../../../services/log-action-shortcut.service';\r\n\r\n@Component({\r\n selector: 'customer-connect-actions',\r\n templateUrl: './customer-connect-actions.component-ng.html',\r\n styleUrls: ['./customer-connect-actions.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CustomerConnectActionsComponent implements OnInit, OnChanges {\r\n constructor(private logActionShortcutService: LogActionShortcutService,\r\n private changeDetectorRef: ChangeDetectorRef) { }\r\n\r\n private ActivityActionEnum = ActivityActionEnum;\r\n\r\n @Input() opportunity: DealSheetOpportunity;\r\n @Input() customer: Customer;\r\n @Input() permissions: DealSheetPermissions;\r\n @Input() isCustomerConnectOpen: boolean;\r\n @Input() defaultCustomerConnectAction: any;\r\n @Output() onAction = new EventEmitter();\r\n @Output() onCustomerEdit = new EventEmitter();\r\n @Input() isEuroLite: boolean;\r\n @Input() isTextingEnabled: boolean;\r\n @Input() mobileView: boolean;\r\n\r\n private activityActionEnum = this.ActivityActionEnum.Log_Call;\r\n\r\n private editableCustomer: any;\r\n\r\n public selectedLogActivity: string;\r\n public selectedscheduleActivity: string;\r\n private doNotCall: boolean;\r\n private doNotEmail: boolean;\r\n private readonly selectedBar = 'selectedbar';\r\n private activityActionEnums = ActivityActionEnum;\r\n\r\n public showLogActivity = true;\r\n public showScheduleAppt = true;\r\n public showEmail = true;\r\n public showText = true;\r\n\r\n private shortcutInProgress = false;\r\n\r\n ngOnInit() {\r\n this.logActionShortcutService.$logShortcutAction.subscribe((activityActionEnum) => this.handleShortcutEvent(activityActionEnum));\r\n }\r\n\r\n public activityClicked(activityActionEnum?: number) {\r\n if (!activityActionEnum) { activityActionEnum = this.ActivityActionEnum.Log_Call; }\r\n this.onAction.emit(activityActionEnum);\r\n this.selectLogActivity();\r\n this.changeDetectorRef.detectChanges();\r\n }\r\n\r\n public scheduleClicked() {\r\n this.onAction.emit(this.ActivityActionEnum.Schedule_Appt);\r\n this.selectScheduleActivity();\r\n this.changeDetectorRef.detectChanges();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.isCustomerConnectOpen && changes.isCustomerConnectOpen.currentValue) {\r\n\r\n if (this.shortcutInProgress) {\r\n this.shortcutInProgress = false;\r\n return;\r\n }\r\n\r\n if (this.defaultCustomerConnectAction === this.ActivityActionEnum.Log_Call\r\n || this.defaultCustomerConnectAction === this.ActivityActionEnum.Post_Note) {\r\n this.activityActionEnum = this.defaultCustomerConnectAction;\r\n this.activityClicked();\r\n } else if (this.defaultCustomerConnectAction === this.ActivityActionEnum.Schedule_Appt\r\n || this.defaultCustomerConnectAction === this.ActivityActionEnum.Schedule_Call) {\r\n\r\n this.scheduleClicked();\r\n }\r\n\r\n this.logActionShortcutService.reset();\r\n\r\n } else {\r\n this.setAllShowFlags(true);\r\n this.activityActionEnum = this.defaultCustomerConnectAction;\r\n this.shortcutInProgress = false;\r\n }\r\n\r\n if (this.customer) {\r\n this.doNotCall = this.customer.doNotCall;\r\n this.doNotEmail = this.customer.doNotEmail;\r\n }\r\n }\r\n\r\n private handleShortcutEvent(activityActionEnum?: number) {\r\n if (activityActionEnum === null) { return; }\r\n\r\n this.shortcutInProgress = true;\r\n this.setAllShowFlags(false);\r\n this.activityActionEnum = activityActionEnum;\r\n\r\n switch (activityActionEnum) {\r\n case this.activityActionEnums.Log_Call:\r\n case this.activityActionEnums.Post_Note:\r\n this.showLogActivity = true;\r\n this.activityClicked(this.activityActionEnum);\r\n break;\r\n case this.activityActionEnums.Schedule_Appt:\r\n this.showScheduleAppt = true;\r\n this.scheduleClicked();\r\n break;\r\n }\r\n }\r\n\r\n private setAllShowFlags(on: boolean) {\r\n this.showLogActivity = on;\r\n this.showScheduleAppt = on;\r\n this.showEmail = on;\r\n this.showText = on;\r\n }\r\n\r\n private selectLogActivity() {\r\n this.selectedLogActivity = this.selectedBar;\r\n this.selectedscheduleActivity = '';\r\n }\r\n\r\n private selectScheduleActivity() {\r\n this.selectedLogActivity = '';\r\n this.selectedscheduleActivity = this.selectedBar;\r\n }\r\n\r\n onDonotCallChange(doNotCall: boolean): void {\r\n this.doNotCall = !doNotCall;\r\n this.onDonotCallEmailChange();\r\n }\r\n\r\n onDonotEmailChange(doNotEmail: boolean): void {\r\n this.doNotEmail = !doNotEmail;\r\n this.onDonotCallEmailChange();\r\n }\r\n\r\n onDonotCallEmailChange(): void {\r\n this.editableCustomer = this.getCustomerCopy();\r\n this.editableCustomer.doNotCall = this.doNotCall;\r\n this.editableCustomer.doNotEmail = this.doNotEmail;\r\n const emitValue = { $value: this.editableCustomer };\r\n this.onCustomerEdit.emit(emitValue);\r\n }\r\n\r\n private getCustomerCopy(): Customer {\r\n\r\n const cloneCustomer = {\r\n id: this.opportunity.customer.id,\r\n firstName: this.opportunity.customer.firstName,\r\n middleName: this.opportunity.customer.middleName,\r\n lastName: this.opportunity.customer.lastName,\r\n fullName: this.opportunity.customer.fullName,\r\n companyName: this.opportunity.customer.companyName,\r\n invalidContacts: this.opportunity.customer.invalidContacts.slice(),\r\n alternateContacts: this.opportunity.customer.alternateContacts.slice(),\r\n doNotCall: this.opportunity.customer.doNotCall,\r\n doNotEmail: this.opportunity.customer.doNotEmail,\r\n doNotText: this.opportunity.customer.doNotText,\r\n isFullCustomer: this.opportunity.customer.isFullCustomer,\r\n isAddressNotValid: this.opportunity.customer.isAddressNotValid,\r\n address: {\r\n streetAddress: this.opportunity.customer.address.streetAddress,\r\n streetAddress2: this.opportunity.customer.address.streetAddress2,\r\n city: this.opportunity.customer.address.city,\r\n stateId: this.opportunity.customer.address.stateId,\r\n stateName: this.opportunity.customer.address.stateName,\r\n zipCode: this.opportunity.customer.address.zipCode,\r\n normalizedZipCode: this.opportunity.customer.address.normalizedZipCode\r\n },\r\n\r\n // Create phony records for the UI if there is currenly no value\r\n homePhoneNumber: this.opportunity.customer.homePhoneNumber,\r\n workPhoneNumber: this.opportunity.customer.workPhoneNumber,\r\n cellPhoneNumber: this.opportunity.customer.cellPhoneNumber,\r\n emailAddress: this.opportunity.customer.emailAddress\r\n } as Customer;\r\n\r\n return cloneCustomer;\r\n }\r\n}\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./vincue.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"./vincue.component\"));\nvar i4 = __importStar(require(\"../../../../services/ngx-modal-wrapper.service\"));\nvar i5 = __importStar(require(\"../../../../core/toaster-logger.service\"));\nvar i6 = __importStar(require(\"../../../../ajs-upgraded-providers\"));\nvar styles_VinCueComponent = [i0.styles];\nvar RenderType_VinCueComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_VinCueComponent, data: {} });\nexports.RenderType_VinCueComponent = RenderType_VinCueComponent;\nfunction View_VinCueComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"a\", [[\"class\", \"btn qa-vInCue-btn\"], [\"href\", \"#\"]], [[8, \"title\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.vincueModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(3, 0, null, null, 0, \"img\", [[\"src\", \"../../../../images/vincue_wordmark_black.svg\"], [\"style\", \"height:22px;width:auto;\"]], null, null, null, null, null))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"vinCueCreateAppraisalButtonText\")), \"\"); _ck(_v, 1, 0, currVal_0); }); }\nexports.View_VinCueComponent_0 = View_VinCueComponent_0;\nfunction View_VinCueComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"vincue\", [], null, null, null, View_VinCueComponent_0, RenderType_VinCueComponent)), i1.ɵdid(1, 638976, null, 0, i3.VinCueComponent, [i4.NgxModalWrapperService, i2.TranslateService, i5.ToasterLoggerService, i6.VehicleService, i6.DealSheetService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_VinCueComponent_Host_0 = View_VinCueComponent_Host_0;\nvar VinCueComponentNgFactory = i1.ɵccf(\"vincue\", i3.VinCueComponent, View_VinCueComponent_Host_0, { dealerId: \"dealerId\", customer: \"customer\", vehicle: \"vehicle\", assignedUserFullName: \"assignedUserFullName\" }, {}, []);\nexports.VinCueComponentNgFactory = VinCueComponentNgFactory;\n","
    \r\n \r\n \r\n \r\n
    \r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ChangeLogType = {\n unknown: 0,\n pricing: 1\n};\nexports.default = exports.ChangeLogType;\n","export const ChangeLogType = {\r\n unknown: 0,\r\n pricing: 1\r\n};\r\n\r\nexport default ChangeLogType;\r\n","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".nloInfoTooltip[_ngcontent-%COMP%]{font-size:12px}\"];\nexports.styles = styles;\n","var path = '/app/components/deal-sheet/modals/deal-sheet-modal.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","var path = '/app/components/deal-sheet/watch.component.html';\nvar html = \" \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","module.exports = __webpack_public_path__ + \"icon-pando-profile-off.8c44fef1e89142021141.svg\";","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar CashDownComponent = /** @class */ (function () {\n function CashDownComponent() {\n }\n CashDownComponent.prototype.ngOnInit = function () {\n };\n return CashDownComponent;\n}());\nexports.CashDownComponent = CashDownComponent;\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'cash-down',\r\n templateUrl: './cash-down.component-ng.html',\r\n styleUrls: ['./cash-down.component.scss']\r\n})\r\nexport class CashDownComponent implements OnInit {\r\n @Input() value: number;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n }\r\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"@ngx-translate/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"../icon/icon.component.ngfactory\"));\nvar i4 = __importStar(require(\"../icon/icon.component\"));\nvar i5 = __importStar(require(\"@angular/platform-browser\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"./admin-settings-modal-sendtestlead.component\"));\nvar i8 = __importStar(require(\"ngx-bootstrap/modal\"));\nvar i9 = __importStar(require(\"../../core/toaster-logger.service\"));\nvar styles_AdminSettingsModalSendTestLeadComponent = [];\nvar RenderType_AdminSettingsModalSendTestLeadComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AdminSettingsModalSendTestLeadComponent, data: {} });\nexports.RenderType_AdminSettingsModalSendTestLeadComponent = RenderType_AdminSettingsModalSendTestLeadComponent;\nfunction View_AdminSettingsModalSendTestLeadComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"invalidField\"], [\"translate\", \"invalidEmailAddress\"]], [[8, \"hidden\", 0]], null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_1 = \"invalidEmailAddress\"; _ck(_v, 1, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = (i0.ɵnov(_v.parent, 28).valid || i0.ɵnov(_v.parent, 28).pristine); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AdminSettingsModalSendTestLeadComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"invalidField\"], [\"translate\", \"requiredEmailAddress\"]], [[8, \"hidden\", 0]], null, null, null, null)), i0.ɵdid(1, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var currVal_1 = \"requiredEmailAddress\"; _ck(_v, 1, 0, currVal_1); }, function (_ck, _v) { var currVal_0 = (i0.ɵnov(_v.parent, 28).valid || i0.ɵnov(_v.parent, 28).pristine); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_AdminSettingsModalSendTestLeadComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 84, \"div\", [[\"class\", \"modal-wrapper\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 83, \"form\", [[\"novalidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngSubmit\"], [null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"submit\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 3).onSubmit($event) !== false);\n ad = (pd_0 && ad);\n } if ((\"reset\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 3).onReset() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngSubmit\" === en)) {\n var pd_2 = (_co.sendEmail(i0.ɵnov(_v, 3)) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(2, 16384, null, 0, i2.ɵangular_packages_forms_forms_z, [], null, null), i0.ɵdid(3, 4210688, [[\"sendLeadForm\", 4]], 0, i2.NgForm, [[8, null], [8, null]], null, { ngSubmit: \"ngSubmit\" }), i0.ɵprd(2048, null, i2.ControlContainer, null, [i2.NgForm]), i0.ɵdid(5, 16384, null, 0, i2.NgControlStatusGroup, [[4, i2.ControlContainer]], null, null), (_l()(), i0.ɵeld(6, 0, null, null, 78, \"div\", [[\"class\", \"alert-box\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 7, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 2, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 1, \"h4\", [[\"class\", \"modal-title\"], [\"translate\", \"sendTestLead\"]], null, null, null, null, null)), i0.ɵdid(10, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(11, 0, null, null, 3, \"div\", [[\"style\", \"float:right\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(12, 0, null, null, 2, \"button\", [[\"aria-label\", \"Close\"], [\"class\", \"close\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"icon\", [[\"class\", \"icon aa-icon-close-icon\"]], null, null, null, i3.View_IconComponent_0, i3.RenderType_IconComponent)), i0.ɵdid(14, 638976, null, 0, i4.IconComponent, [i5.DomSanitizer], null, null), (_l()(), i0.ɵeld(15, 0, null, null, 64, \"div\", [[\"class\", \"modal-body\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(16, 0, null, null, 16, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(17, 0, null, null, 1, \"div\", [[\"class\", \"col-xs-2\"], [\"translate\", \"email\"]], null, null, null, null, null)), i0.ɵdid(18, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(19, 0, null, null, 12, \"div\", [[\"class\", \"col-xs-7\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(20, 0, null, null, 11, \"div\", [[\"style\", \"float:left\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(21, 0, null, null, 10, \"input\", [[\"autofocus\", \"true\"], [\"class\", \"input-sm textbox txtEmail\"], [\"email\", \"true\"], [\"id\", \"testemail\"], [\"maxlength\", \"100\"], [\"name\", \"testemail\"], [\"required\", \"\"], [\"type\", \"email\"]], [[8, \"placeholder\", 0], [1, \"required\", 0], [1, \"maxlength\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 22)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 22).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i0.ɵnov(_v, 22)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i0.ɵnov(_v, 22)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.email = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i0.ɵdid(22, 16384, null, 0, i2.DefaultValueAccessor, [i0.Renderer2, i0.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i0.ɵdid(23, 16384, null, 0, i2.RequiredValidator, [], { required: [0, \"required\"] }, null), i0.ɵdid(24, 540672, null, 0, i2.MaxLengthValidator, [], { maxlength: [0, \"maxlength\"] }, null), i0.ɵdid(25, 16384, null, 0, i2.EmailValidator, [], { email: [0, \"email\"] }, null), i0.ɵprd(1024, null, i2.NG_VALIDATORS, function (p0_0, p1_0, p2_0) { return [p0_0, p1_0, p2_0]; }, [i2.RequiredValidator, i2.MaxLengthValidator, i2.EmailValidator]), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i0.ɵdid(28, 671744, [[\"testemail\", 4]], 0, i2.NgModel, [[2, i2.ControlContainer], [6, i2.NG_VALIDATORS], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(30, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(32, 0, null, null, 0, \"div\", [[\"class\", \"col-xs-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(33, 0, null, null, 40, \"div\", [[\"class\", \"row sourceSelectContainer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 2, \"div\", [[\"class\", \"col-xs-2\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(35, 0, null, null, 1, \"div\", [[\"style\", \"float:left\"], [\"translate\", \"source\"]], null, null, null, null, null)), i0.ɵdid(36, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(37, 0, null, null, 35, \"div\", [[\"class\", \"col-xs-7\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(38, 0, null, null, 34, \"select\", [[\"class\", \"form-control sourceSelect\"], [\"name\", \"source\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i0.ɵnov(_v, 39).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i0.ɵnov(_v, 39).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.source = $event) !== false);\n ad = (pd_2 && ad);\n } return ad; }, null, null)), i0.ɵdid(39, 16384, null, 0, i2.SelectControlValueAccessor, [i0.Renderer2, i0.ElementRef], null, null), i0.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i0.ɵdid(41, 671744, null, 0, i2.NgModel, [[2, i2.ControlContainer], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i0.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i0.ɵdid(43, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i0.ɵeld(44, 0, null, null, 3, \"option\", [[\"value\", \"AutoAlert\"]], null, null, null, null, null)), i0.ɵdid(45, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(46, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(-1, null, [\"AutoAlert\"])), (_l()(), i0.ɵeld(48, 0, null, null, 4, \"option\", [[\"value\", \"AutoAlert-CreditConvert\"]], null, null, null, null, null)), i0.ɵdid(49, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(50, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(51, null, [\"AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(53, 0, null, null, 4, \"option\", [[\"value\", \"AutoAlert-Upgrade\"]], null, null, null, null, null)), i0.ɵdid(54, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(55, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(56, null, [\"AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(58, 0, null, null, 4, \"option\", [[\"value\", \"AutoAlert-Mileage\"]], null, null, null, null, null)), i0.ɵdid(59, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(60, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(61, null, [\"AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(63, 0, null, null, 4, \"option\", [[\"value\", \"AutoAlert-ContractEnd\"]], null, null, null, null, null)), i0.ɵdid(64, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(65, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(66, null, [\"AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(68, 0, null, null, 4, \"option\", [[\"value\", \"AutoAlert-Warranty\"]], null, null, null, null, null)), i0.ɵdid(69, 147456, null, 0, i2.NgSelectOption, [i0.ElementRef, i0.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i0.ɵdid(70, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i0.ElementRef, i0.Renderer2, [8, null]], { value: [0, \"value\"] }, null), (_l()(), i0.ɵted(71, null, [\"AutoAlert-\", \"\"])), i0.ɵpid(131072, i1.TranslatePipe, [i1.TranslateService, i0.ChangeDetectorRef]), (_l()(), i0.ɵeld(73, 0, null, null, 0, \"div\", [[\"class\", \"col-xs-3\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(74, 0, null, null, 5, \"div\", [[\"class\", \"row\"], [\"style\", \"margin-top:10px;\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(75, 0, null, null, 4, \"div\", [[\"class\", \"col-xs-12\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsModalSendTestLeadComponent_1)), i0.ɵdid(77, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_AdminSettingsModalSendTestLeadComponent_2)), i0.ɵdid(79, 16384, null, 0, i6.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(80, 0, null, null, 4, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(81, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.cancelModal() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i0.ɵdid(82, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i0.ɵeld(83, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"send\"], [\"type\", \"submit\"]], [[8, \"disabled\", 0]], null, null, null, null)), i0.ɵdid(84, 8536064, null, 0, i1.TranslateDirective, [i1.TranslateService, i0.ElementRef, i0.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_7 = \"sendTestLead\"; _ck(_v, 10, 0, currVal_7); _ck(_v, 14, 0); var currVal_8 = \"email\"; _ck(_v, 18, 0, currVal_8); var currVal_19 = \"\"; _ck(_v, 23, 0, currVal_19); var currVal_20 = \"100\"; _ck(_v, 24, 0, currVal_20); var currVal_21 = \"true\"; _ck(_v, 25, 0, currVal_21); var currVal_22 = \"testemail\"; var currVal_23 = _co.email; _ck(_v, 28, 0, currVal_22, currVal_23); var currVal_24 = \"source\"; _ck(_v, 36, 0, currVal_24); var currVal_32 = \"source\"; var currVal_33 = _co.source; _ck(_v, 41, 0, currVal_32, currVal_33); var currVal_34 = \"AutoAlert\"; _ck(_v, 45, 0, currVal_34); var currVal_35 = \"AutoAlert\"; _ck(_v, 46, 0, currVal_35); var currVal_36 = \"AutoAlert-CreditConvert\"; _ck(_v, 49, 0, currVal_36); var currVal_37 = \"AutoAlert-CreditConvert\"; _ck(_v, 50, 0, currVal_37); var currVal_39 = \"AutoAlert-Upgrade\"; _ck(_v, 54, 0, currVal_39); var currVal_40 = \"AutoAlert-Upgrade\"; _ck(_v, 55, 0, currVal_40); var currVal_42 = \"AutoAlert-Mileage\"; _ck(_v, 59, 0, currVal_42); var currVal_43 = \"AutoAlert-Mileage\"; _ck(_v, 60, 0, currVal_43); var currVal_45 = \"AutoAlert-ContractEnd\"; _ck(_v, 64, 0, currVal_45); var currVal_46 = \"AutoAlert-ContractEnd\"; _ck(_v, 65, 0, currVal_46); var currVal_48 = \"AutoAlert-Warranty\"; _ck(_v, 69, 0, currVal_48); var currVal_49 = \"AutoAlert-Warranty\"; _ck(_v, 70, 0, currVal_49); var currVal_51 = ((i0.ɵnov(_v, 28).errors == null) ? null : i0.ɵnov(_v, 28).errors.email); _ck(_v, 77, 0, currVal_51); var currVal_52 = ((i0.ɵnov(_v, 28).errors == null) ? null : i0.ɵnov(_v, 28).errors.required); _ck(_v, 79, 0, currVal_52); var currVal_53 = \"cancel\"; _ck(_v, 82, 0, currVal_53); var currVal_55 = \"send\"; _ck(_v, 84, 0, currVal_55); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 5).ngClassUntouched; var currVal_1 = i0.ɵnov(_v, 5).ngClassTouched; var currVal_2 = i0.ɵnov(_v, 5).ngClassPristine; var currVal_3 = i0.ɵnov(_v, 5).ngClassDirty; var currVal_4 = i0.ɵnov(_v, 5).ngClassValid; var currVal_5 = i0.ɵnov(_v, 5).ngClassInvalid; var currVal_6 = i0.ɵnov(_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_9 = i0.ɵinlineInterpolate(1, \"\", i0.ɵunv(_v, 21, 0, i0.ɵnov(_v, 31).transform(\"crmEmailAddress\")), \"\"); var currVal_10 = (i0.ɵnov(_v, 23).required ? \"\" : null); var currVal_11 = (i0.ɵnov(_v, 24).maxlength ? i0.ɵnov(_v, 24).maxlength : null); var currVal_12 = i0.ɵnov(_v, 30).ngClassUntouched; var currVal_13 = i0.ɵnov(_v, 30).ngClassTouched; var currVal_14 = i0.ɵnov(_v, 30).ngClassPristine; var currVal_15 = i0.ɵnov(_v, 30).ngClassDirty; var currVal_16 = i0.ɵnov(_v, 30).ngClassValid; var currVal_17 = i0.ɵnov(_v, 30).ngClassInvalid; var currVal_18 = i0.ɵnov(_v, 30).ngClassPending; _ck(_v, 21, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18); var currVal_25 = i0.ɵnov(_v, 43).ngClassUntouched; var currVal_26 = i0.ɵnov(_v, 43).ngClassTouched; var currVal_27 = i0.ɵnov(_v, 43).ngClassPristine; var currVal_28 = i0.ɵnov(_v, 43).ngClassDirty; var currVal_29 = i0.ɵnov(_v, 43).ngClassValid; var currVal_30 = i0.ɵnov(_v, 43).ngClassInvalid; var currVal_31 = i0.ɵnov(_v, 43).ngClassPending; _ck(_v, 38, 0, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31); var currVal_38 = i0.ɵunv(_v, 51, 0, i0.ɵnov(_v, 52).transform(\"creditConvert\")); _ck(_v, 51, 0, currVal_38); var currVal_41 = i0.ɵunv(_v, 56, 0, i0.ɵnov(_v, 57).transform(\"upgrade\")); _ck(_v, 56, 0, currVal_41); var currVal_44 = i0.ɵunv(_v, 61, 0, i0.ɵnov(_v, 62).transform(\"mileageLabel\")); _ck(_v, 61, 0, currVal_44); var currVal_47 = i0.ɵunv(_v, 66, 0, i0.ɵnov(_v, 67).transform(\"contractEnd\")); _ck(_v, 66, 0, currVal_47); var currVal_50 = i0.ɵunv(_v, 71, 0, i0.ɵnov(_v, 72).transform(\"warrantyLabel\")); _ck(_v, 71, 0, currVal_50); var currVal_54 = !i0.ɵnov(_v, 3).form.valid; _ck(_v, 83, 0, currVal_54); }); }\nexports.View_AdminSettingsModalSendTestLeadComponent_0 = View_AdminSettingsModalSendTestLeadComponent_0;\nfunction View_AdminSettingsModalSendTestLeadComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"admin-settings-modal-sendtestlead\", [], null, null, null, View_AdminSettingsModalSendTestLeadComponent_0, RenderType_AdminSettingsModalSendTestLeadComponent)), i0.ɵdid(1, 4308992, null, 0, i7.AdminSettingsModalSendTestLeadComponent, [i8.BsModalRef, i1.TranslateService, i9.ToasterLoggerService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_AdminSettingsModalSendTestLeadComponent_Host_0 = View_AdminSettingsModalSendTestLeadComponent_Host_0;\nvar AdminSettingsModalSendTestLeadComponentNgFactory = i0.ɵccf(\"admin-settings-modal-sendtestlead\", i7.AdminSettingsModalSendTestLeadComponent, View_AdminSettingsModalSendTestLeadComponent_Host_0, {}, { sendTestLead: \"sendTestLead\" }, []);\nexports.AdminSettingsModalSendTestLeadComponentNgFactory = AdminSettingsModalSendTestLeadComponentNgFactory;\n","
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    ","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./pando-availability.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@angular/forms\"));\nvar i3 = __importStar(require(\"@angular/common\"));\nvar i4 = __importStar(require(\"@ngx-translate/core\"));\nvar i5 = __importStar(require(\"../../../directives/min.directive\"));\nvar i6 = __importStar(require(\"../../../directives/max.directive\"));\nvar i7 = __importStar(require(\"./pando-availability.component\"));\nvar i8 = __importStar(require(\"../../../services/pando-communication.service\"));\nvar i9 = __importStar(require(\"../../../core/toaster-logger.service\"));\nvar styles_PandoAvailabilityComponent = [i0.styles];\nvar RenderType_PandoAvailabilityComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_PandoAvailabilityComponent, data: {} });\nexports.RenderType_PandoAvailabilityComponent = RenderType_PandoAvailabilityComponent;\nfunction View_PandoAvailabilityComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"class\", \"availabilityIcon\"], [\"src\", \"../../../images/timeclock-available.svg\"]], null, null, null, null, null))], null, null); }\nfunction View_PandoAvailabilityComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"class\", \"availabilityIcon\"], [\"src\", \"../../../images/timeclock-busy.svg\"]], null, null, null, null, null))], null, null); }\nfunction View_PandoAvailabilityComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [[\"class\", \"availabilityIcon\"], [\"src\", \"../../../images/timeclock-unavailable.svg\"]], null, null, null, null, null))], null, null); }\nfunction View_PandoAvailabilityComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 11, \"div\", [[\"class\", \"avilabilityBottomPadding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 10, \"div\", [[\"class\", \"form-check\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"input\", [[\"class\", \"form-check-input\"], [\"name\", \"unavailableOption\"], [\"type\", \"radio\"]], [[8, \"id\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 5).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_6 = ((_co.unavailableSelectedOption = $event) !== false);\n ad = (pd_6 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(5, 212992, null, 0, i2.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i2.ɵangular_packages_forms_forms_o, i1.Injector], { name: [0, \"name\"], value: [1, \"value\"] }, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.RadioControlValueAccessor]), i1.ɵdid(7, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(9, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], [[8, \"htmlFor\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_8 = \"unavailableOption\"; var currVal_9 = _v.context.$implicit.Id; _ck(_v, 5, 0, currVal_8, currVal_9); var currVal_10 = \"unavailableOption\"; var currVal_11 = _co.unavailableSelectedOption; _ck(_v, 7, 0, currVal_10, currVal_11); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"control_unavailable_optionRB_\", _v.context.index, \"\"); var currVal_1 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 9).ngClassValid; var currVal_6 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_12 = i1.ɵinlineInterpolate(1, \"control_unavailable_optionRB_\", _v.context.index, \"\"); _ck(_v, 10, 0, currVal_12); var currVal_13 = _v.context.$implicit.Text; _ck(_v, 12, 0, currVal_13); }); }\nfunction View_PandoAvailabilityComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PandoAvailabilityComponent_5)), i1.ɵdid(2, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"div\", [[\"translate\", \"reason\"]], null, null, null, null, null)), i1.ɵdid(4, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(5, 0, null, null, 6, \"div\", [[\"class\", \"avilabilityBottomPadding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(6, 0, null, null, 5, \"textarea\", [], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 7)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 7).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 7)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 7)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.unavailableNote = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(7, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(9, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(11, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.unavailableReasons; var currVal_1 = _co.trackByUnavailableReasonsById; _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = \"reason\"; _ck(_v, 4, 0, currVal_2); var currVal_10 = _co.unavailableNote; _ck(_v, 9, 0, currVal_10); }, function (_ck, _v) { var currVal_3 = i1.ɵnov(_v, 11).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 11).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 11).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 11).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 11).ngClassValid; var currVal_8 = i1.ɵnov(_v, 11).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 11).ngClassPending; _ck(_v, 6, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }\nfunction View_PandoAvailabilityComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 12, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 11, \"div\", [[\"class\", \"avilabilityBottomPadding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 10, \"div\", [[\"class\", \"form-check\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 6, \"input\", [[\"class\", \"form-check-input\"], [\"name\", \"busyOption\"], [\"type\", \"radio\"]], [[8, \"id\", 0], [2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 4)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 4).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 4)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 4)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 5).onChange() !== false);\n ad = (pd_4 && ad);\n } if ((\"blur\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 5).onTouched() !== false);\n ad = (pd_5 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_6 = ((_co.busySelectedOption = $event) !== false);\n ad = (pd_6 && ad);\n } return ad; }, null, null)), i1.ɵdid(4, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(5, 212992, null, 0, i2.RadioControlValueAccessor, [i1.Renderer2, i1.ElementRef, i2.ɵangular_packages_forms_forms_o, i1.Injector], { name: [0, \"name\"], value: [1, \"value\"] }, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.RadioControlValueAccessor]), i1.ɵdid(7, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { name: [0, \"name\"], model: [1, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(9, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"label\", [[\"class\", \"form-check-label\"]], [[8, \"htmlFor\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"small\", [], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_8 = \"busyOption\"; var currVal_9 = _v.context.$implicit.Id; _ck(_v, 5, 0, currVal_8, currVal_9); var currVal_10 = \"busyOption\"; var currVal_11 = _co.busySelectedOption; _ck(_v, 7, 0, currVal_10, currVal_11); }, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"control_busy_optionRB_\", _v.context.index, \"\"); var currVal_1 = i1.ɵnov(_v, 9).ngClassUntouched; var currVal_2 = i1.ɵnov(_v, 9).ngClassTouched; var currVal_3 = i1.ɵnov(_v, 9).ngClassPristine; var currVal_4 = i1.ɵnov(_v, 9).ngClassDirty; var currVal_5 = i1.ɵnov(_v, 9).ngClassValid; var currVal_6 = i1.ɵnov(_v, 9).ngClassInvalid; var currVal_7 = i1.ɵnov(_v, 9).ngClassPending; _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_12 = i1.ɵinlineInterpolate(1, \"control_busy_optionRB_\", _v.context.index, \"\"); _ck(_v, 10, 0, currVal_12); var currVal_13 = _v.context.$implicit.Text; _ck(_v, 12, 0, currVal_13); }); }\nfunction View_PandoAvailabilityComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 28, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 27, \"div\", [[\"align\", \"left\"], [\"class\", \"form-horizontal\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PandoAvailabilityComponent_7)), i1.ɵdid(3, 278528, null, 0, i3.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"], ngForTrackBy: [1, \"ngForTrackBy\"] }, null), (_l()(), i1.ɵeld(4, 0, null, null, 1, \"div\", [[\"translate\", \"reason\"]], null, null, null, null, null)), i1.ɵdid(5, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(6, 0, null, null, 6, \"div\", [[\"class\", \"avilabilityBottomPadding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(7, 0, null, null, 5, \"textarea\", [], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 8)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 8).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 8)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 8)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_4 = ((_co.busyNote = $event) !== false);\n ad = (pd_4 && ad);\n } return ad; }, null, null)), i1.ɵdid(8, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.DefaultValueAccessor]), i1.ɵdid(10, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(12, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(13, 0, null, null, 15, \"div\", [[\"class\", \"avilabilityBottomPadding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"span\", [[\"class\", \"busyFor\"], [\"translate\", \"busyFor\"]], null, null, null, null, null)), i1.ɵdid(15, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(16, 0, null, null, 9, \"input\", [[\"id\", \"busynumber\"], [\"max\", \"120\"], [\"min\", \"1\"], [\"type\", \"number\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"change\"], [null, \"ngModelChange\"], [null, \"input\"], [null, \"blur\"], [null, \"compositionstart\"], [null, \"compositionend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"input\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 17)._handleInput($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 17).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"compositionstart\" === en)) {\n var pd_2 = (i1.ɵnov(_v, 17)._compositionStart() !== false);\n ad = (pd_2 && ad);\n } if ((\"compositionend\" === en)) {\n var pd_3 = (i1.ɵnov(_v, 17)._compositionEnd($event.target.value) !== false);\n ad = (pd_3 && ad);\n } if ((\"change\" === en)) {\n var pd_4 = (i1.ɵnov(_v, 18).onChange($event.target.value) !== false);\n ad = (pd_4 && ad);\n } if ((\"input\" === en)) {\n var pd_5 = (i1.ɵnov(_v, 18).onChange($event.target.value) !== false);\n ad = (pd_5 && ad);\n } if ((\"blur\" === en)) {\n var pd_6 = (i1.ɵnov(_v, 18).onTouched() !== false);\n ad = (pd_6 && ad);\n } if ((\"change\" === en)) {\n var pd_7 = (_co.validateBusyMin() !== false);\n ad = (pd_7 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_8 = ((_co.busyForMinutes = $event) !== false);\n ad = (pd_8 && ad);\n } return ad; }, null, null)), i1.ɵdid(17, 16384, null, 0, i2.DefaultValueAccessor, [i1.Renderer2, i1.ElementRef, [2, i2.COMPOSITION_BUFFER_MODE]], null, null), i1.ɵdid(18, 16384, null, 0, i2.NumberValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵdid(19, 16384, null, 0, i5.MinDirective, [], { min: [0, \"min\"] }, null), i1.ɵdid(20, 16384, null, 0, i6.MaxDirective, [], { max: [0, \"max\"] }, null), i1.ɵprd(1024, null, i2.NG_VALIDATORS, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i5.MinDirective, i6.MaxDirective]), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0, p1_0) { return [p0_0, p1_0]; }, [i2.DefaultValueAccessor, i2.NumberValueAccessor]), i1.ɵdid(23, 671744, null, 0, i2.NgModel, [[8, null], [6, i2.NG_VALIDATORS], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(25, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(26, 0, null, null, 1, \"span\", [[\"translate\", \"minutes\"]], null, null, null, null, null)), i1.ɵdid(27, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵted(-1, null, [\" [1-120]\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.busyReasons; var currVal_1 = _co.trackByBusyReasonsById; _ck(_v, 3, 0, currVal_0, currVal_1); var currVal_2 = \"reason\"; _ck(_v, 5, 0, currVal_2); var currVal_10 = _co.busyNote; _ck(_v, 10, 0, currVal_10); var currVal_11 = \"busyFor\"; _ck(_v, 15, 0, currVal_11); var currVal_19 = \"1\"; _ck(_v, 19, 0, currVal_19); var currVal_20 = \"120\"; _ck(_v, 20, 0, currVal_20); var currVal_21 = _co.busyForMinutes; _ck(_v, 23, 0, currVal_21); var currVal_22 = \"minutes\"; _ck(_v, 27, 0, currVal_22); }, function (_ck, _v) { var currVal_3 = i1.ɵnov(_v, 12).ngClassUntouched; var currVal_4 = i1.ɵnov(_v, 12).ngClassTouched; var currVal_5 = i1.ɵnov(_v, 12).ngClassPristine; var currVal_6 = i1.ɵnov(_v, 12).ngClassDirty; var currVal_7 = i1.ɵnov(_v, 12).ngClassValid; var currVal_8 = i1.ɵnov(_v, 12).ngClassInvalid; var currVal_9 = i1.ɵnov(_v, 12).ngClassPending; _ck(_v, 7, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); var currVal_12 = i1.ɵnov(_v, 25).ngClassUntouched; var currVal_13 = i1.ɵnov(_v, 25).ngClassTouched; var currVal_14 = i1.ɵnov(_v, 25).ngClassPristine; var currVal_15 = i1.ɵnov(_v, 25).ngClassDirty; var currVal_16 = i1.ɵnov(_v, 25).ngClassValid; var currVal_17 = i1.ɵnov(_v, 25).ngClassInvalid; var currVal_18 = i1.ɵnov(_v, 25).ngClassPending; _ck(_v, 16, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18); }); }\nfunction View_PandoAvailabilityComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"error\"]], null, null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵinlineInterpolate(1, \"\", _co.errorMsgKey, \"\"); _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_PandoAvailabilityComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"aa-header-modal-mask\"]], [[8, \"hidden\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = ((_co.isDropdownVisible = false) !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 45, \"span\", [[\"class\", \"dropdown\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"a\", [[\"data-toggle\", \"dropdown\"], [\"href\", \"javascript:void(0);\"], [\"id\", \"availabilityTogglerDropdown\"], [\"ng-click\", \"onUserAvailabilityClick()\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PandoAvailabilityComponent_1)), i1.ɵdid(4, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PandoAvailabilityComponent_2)), i1.ɵdid(6, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PandoAvailabilityComponent_3)), i1.ɵdid(8, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(9, 0, null, null, 37, \"ul\", [[\"class\", \"dropdown-menu pull-right\"], [\"id\", \"availabilityPanelNgx\"]], [[8, \"hidden\", 0]], null, null, null, null)), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"h5\", [[\"class\", \"header-modal-h5\"], [\"translate\", \"setAvailability\"]], null, null, null, null, null)), i1.ɵdid(12, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(13, 0, null, null, 33, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(14, 0, null, null, 32, \"div\", [[\"id\", \"availabilityPanel\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(15, 0, null, null, 31, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(16, 0, null, null, 18, \"div\", [[\"class\", \"avilabilityBottomPadding\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(17, 0, null, null, 17, \"select\", [[\"class\", \"form-control\"], [\"id\", \"userChoice\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"click\"], [null, \"change\"], [null, \"blur\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n var pd_0 = (i1.ɵnov(_v, 18).onChange($event.target.value) !== false);\n ad = (pd_0 && ad);\n } if ((\"blur\" === en)) {\n var pd_1 = (i1.ɵnov(_v, 18).onTouched() !== false);\n ad = (pd_1 && ad);\n } if ((\"ngModelChange\" === en)) {\n var pd_2 = ((_co.modelUserSelection = $event) !== false);\n ad = (pd_2 && ad);\n } if ((\"click\" === en)) {\n var pd_3 = (_co.toggleAvailabilitySwitch() !== false);\n ad = (pd_3 && ad);\n } return ad; }, null, null)), i1.ɵdid(18, 16384, null, 0, i2.SelectControlValueAccessor, [i1.Renderer2, i1.ElementRef], null, null), i1.ɵprd(1024, null, i2.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.SelectControlValueAccessor]), i1.ɵdid(20, 671744, null, 0, i2.NgModel, [[8, null], [8, null], [8, null], [6, i2.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i2.NgControl, null, [i2.NgModel]), i1.ɵdid(22, 16384, null, 0, i2.NgControlStatus, [[4, i2.NgControl]], null, null), (_l()(), i1.ɵeld(23, 0, null, null, 3, \"option\", [[\"translate\", \"Available\"]], null, null, null, null, null)), i1.ɵdid(24, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(25, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), i1.ɵdid(26, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(27, 0, null, null, 3, \"option\", [[\"translate\", \"busy\"]], null, null, null, null, null)), i1.ɵdid(28, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(29, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), i1.ɵdid(30, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(31, 0, null, null, 3, \"option\", [[\"translate\", \"notAvailable\"]], null, null, null, null, null)), i1.ɵdid(32, 147456, null, 0, i2.NgSelectOption, [i1.ElementRef, i1.Renderer2, [2, i2.SelectControlValueAccessor]], { value: [0, \"value\"] }, null), i1.ɵdid(33, 147456, null, 0, i2.ɵangular_packages_forms_forms_y, [i1.ElementRef, i1.Renderer2, [8, null]], { value: [0, \"value\"] }, null), i1.ɵdid(34, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PandoAvailabilityComponent_4)), i1.ɵdid(36, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PandoAvailabilityComponent_6)), i1.ɵdid(38, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PandoAvailabilityComponent_8)), i1.ɵdid(40, 16384, null, 0, i3.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(41, 0, null, null, 5, \"div\", [[\"class\", \"modal-footer\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(42, 0, null, null, 4, \"div\", [[\"class\", \"button-span\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(43, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"cancel\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.resetUI() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(44, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), (_l()(), i1.ɵeld(45, 0, null, null, 1, \"button\", [[\"class\", \"btn btn-primary\"], [\"translate\", \"update\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.submitAvailabilityStatus() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(46, 8536064, null, 0, i4.TranslateDirective, [i4.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = (_co.chatStaff.Availability == _co.userAvailability.Available); _ck(_v, 4, 0, currVal_1); var currVal_2 = (_co.chatStaff.Availability == _co.userAvailability.Busy); _ck(_v, 6, 0, currVal_2); var currVal_3 = (_co.chatStaff.Availability == _co.userAvailability.NotAvailable); _ck(_v, 8, 0, currVal_3); var currVal_5 = \"setAvailability\"; _ck(_v, 12, 0, currVal_5); var currVal_13 = _co.modelUserSelection; _ck(_v, 20, 0, currVal_13); var currVal_14 = i1.ɵinlineInterpolate(1, \"\", _co.userAvailability.Available, \"\"); _ck(_v, 24, 0, currVal_14); var currVal_15 = i1.ɵinlineInterpolate(1, \"\", _co.userAvailability.Available, \"\"); _ck(_v, 25, 0, currVal_15); var currVal_16 = \"Available\"; _ck(_v, 26, 0, currVal_16); var currVal_17 = i1.ɵinlineInterpolate(1, \"\", _co.userAvailability.Busy, \"\"); _ck(_v, 28, 0, currVal_17); var currVal_18 = i1.ɵinlineInterpolate(1, \"\", _co.userAvailability.Busy, \"\"); _ck(_v, 29, 0, currVal_18); var currVal_19 = \"busy\"; _ck(_v, 30, 0, currVal_19); var currVal_20 = i1.ɵinlineInterpolate(1, \"\", _co.userAvailability.NotAvailable, \"\"); _ck(_v, 32, 0, currVal_20); var currVal_21 = i1.ɵinlineInterpolate(1, \"\", _co.userAvailability.NotAvailable, \"\"); _ck(_v, 33, 0, currVal_21); var currVal_22 = \"notAvailable\"; _ck(_v, 34, 0, currVal_22); var currVal_23 = (_co.modelUserSelection == _co.userAvailability.NotAvailable); _ck(_v, 36, 0, currVal_23); var currVal_24 = (_co.modelUserSelection == _co.userAvailability.Busy); _ck(_v, 38, 0, currVal_24); var currVal_25 = _co.error; _ck(_v, 40, 0, currVal_25); var currVal_26 = \"cancel\"; _ck(_v, 44, 0, currVal_26); var currVal_27 = \"update\"; _ck(_v, 46, 0, currVal_27); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = !_co.isDropdownVisible; _ck(_v, 0, 0, currVal_0); var currVal_4 = !_co.isDropdownVisible; _ck(_v, 9, 0, currVal_4); var currVal_6 = i1.ɵnov(_v, 22).ngClassUntouched; var currVal_7 = i1.ɵnov(_v, 22).ngClassTouched; var currVal_8 = i1.ɵnov(_v, 22).ngClassPristine; var currVal_9 = i1.ɵnov(_v, 22).ngClassDirty; var currVal_10 = i1.ɵnov(_v, 22).ngClassValid; var currVal_11 = i1.ɵnov(_v, 22).ngClassInvalid; var currVal_12 = i1.ɵnov(_v, 22).ngClassPending; _ck(_v, 17, 0, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12); }); }\nexports.View_PandoAvailabilityComponent_0 = View_PandoAvailabilityComponent_0;\nfunction View_PandoAvailabilityComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"pandoAvailability\", [], null, null, null, View_PandoAvailabilityComponent_0, RenderType_PandoAvailabilityComponent)), i1.ɵdid(1, 638976, null, 0, i7.PandoAvailabilityComponent, [i8.PandoCommunicationService, i4.TranslateService, i9.ToasterLoggerService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_PandoAvailabilityComponent_Host_0 = View_PandoAvailabilityComponent_Host_0;\nvar PandoAvailabilityComponentNgFactory = i1.ɵccf(\"pandoAvailability\", i7.PandoAvailabilityComponent, View_PandoAvailabilityComponent_Host_0, { isAutoAlertUser: \"isAutoAlertUser\", isAvailable: \"isAvailable\", availability: \"availability\" }, {}, []);\nexports.PandoAvailabilityComponentNgFactory = PandoAvailabilityComponentNgFactory;\n","
    \r\n\r\n \r\n \r\n \r\n \r\n \r\n
      \r\n
    • \r\n
    • \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      [1-120]
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
    • \r\n
    \r\n
    \r\n\r\n\r\n\r\n\r\n","'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar fails = require('./_fails');\nvar getTime = Date.prototype.getTime;\nvar $toISOString = Date.prototype.toISOString;\n\nvar lz = function (num) {\n return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\nmodule.exports = (fails(function () {\n return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n $toISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n var d = this;\n var y = d.getUTCFullYear();\n var m = d.getUTCMilliseconds();\n var s = y < 0 ? '-' : y > 9999 ? '+' : '';\n return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n} : $toISOString;\n","var path = '/app/components/deal-sheet/financial/financials-cash-sale.component.html';\nvar html = \"
    {{('validationMax' | translate) + ' 500000'}} {{('validationMin' | translate) + ' 1000'}}
    {{('validationMax' | translate) + ' 300000'}} {{('validationMin' | translate) + ' 0'}}
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar ngx_modal_wrapper_service_1 = require(\"../../../services/ngx-modal-wrapper.service\");\nvar score_info_modal_component_1 = require(\"..//score-info-modal/score-info-modal.component\");\nvar ScoreInfoComponent = /** @class */ (function () {\n function ScoreInfoComponent(modalService, tService) {\n this.modalService = modalService;\n this.tService = tService;\n }\n ScoreInfoComponent.prototype.ngOnInit = function () {\n };\n ScoreInfoComponent.prototype.scoreInfoModal = function () {\n var initialState = {\n entityId: this.entityId,\n };\n this.bsModalRef = this.modalService.show(score_info_modal_component_1.ScoreInfoModalComponent, { initialState: initialState, class: 'score-info-modal' });\n };\n return ScoreInfoComponent;\n}());\nexports.ScoreInfoComponent = ScoreInfoComponent;\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { BsModalRef } from 'ngx-bootstrap/modal';\r\nimport { NgxModalWrapperService } from '../../../services/ngx-modal-wrapper.service';\r\nimport { ScoreInfoModalComponent } from '..//score-info-modal/score-info-modal.component';\r\n\r\n@Component({\r\n selector: 'score-info',\r\n templateUrl: './score-info.component-ng.html',\r\n styleUrls: ['./score-info.component.scss']\r\n})\r\nexport class ScoreInfoComponent implements OnInit {\r\n @Input() entityId: string;\r\n bsModalRef: BsModalRef;\r\n\r\n constructor(\r\n public modalService: NgxModalWrapperService,\r\n public tService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n public scoreInfoModal() {\r\n const initialState = {\r\n entityId: this.entityId,\r\n };\r\n\r\n this.bsModalRef = this.modalService.show(ScoreInfoModalComponent, { initialState, class: 'score-info-modal' });\r\n }\r\n\r\n}\r\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar rxjs_1 = require(\"rxjs\");\nvar operators_1 = require(\"rxjs/operators\");\nvar services_1 = require(\"../generated/services\");\nvar TextMessageService = /** @class */ (function () {\n function TextMessageService(legacyService, textMessageClientService) {\n this.legacyService = legacyService;\n this.textMessageClientService = textMessageClientService;\n }\n // The \"logic\" in this method is attempting to parse out the urls and determine which are upgrade proposals and which are dealer contact info urls\n TextMessageService.replaceUrlStringWithHtmlLink = function (message, useWhiteLink) {\n var index = 0;\n var urls = []; // Used to hold all the found urls with http in them.\n var infoUrlNumber = -1;\n while (index < message.length) {\n var urlStartIndex = message.indexOf('http', index);\n if (urlStartIndex < 0)\n break;\n var urlEndIndex = message.indexOf(' ', urlStartIndex);\n var urlSecondEndIndex = message.indexOf('
    ', urlStartIndex);\n if (urlSecondEndIndex != -1 && urlSecondEndIndex < urlEndIndex) // Determine if the url ends with a line break or a space\n urlEndIndex = urlSecondEndIndex;\n if (urlEndIndex < 0) {\n urlEndIndex = message.length;\n }\n index = urlEndIndex;\n urls.push(message.substring(urlStartIndex, urlEndIndex));\n // Used to determine if this is a dealer contact info url based on the string 'Info: ' being in front *wish there was a better way*\n if (message.indexOf('Info: ', urlStartIndex - 6) > 0)\n infoUrlNumber = urls.length - 1;\n }\n for (var i = 0; i < urls.length; i++) {\n // Had to embed the style here because of angular's view encapsulation. The alternative was to turn view encapsulation off entirely for the component\n if (i == infoUrlNumber) {\n // Since this function is used in different UI spots the styling color for the link text is different for different backgrounds\n if (useWhiteLink) {\n message = message.replace(urls[i], \"\" + urls[i] + \"\");\n }\n else {\n message = message.replace(urls[i], \"\" + urls[i] + \"\");\n }\n }\n else {\n if (useWhiteLink) {\n message = message.replace(urls[i], \"\" + urls[i] + \"\");\n }\n else {\n message = message.replace(urls[i], \"\" + urls[i] + \"\");\n }\n }\n }\n return message;\n };\n TextMessageService.prototype.sendText = function (newMessage) {\n return this.textMessageClientService.SendPOST(newMessage)\n .pipe(operators_1.take(1));\n };\n TextMessageService.prototype.sendTextWithUpgradeProposal = function (newMessage, opportunity) {\n var _this = this;\n return rxjs_1.from(this.legacyService.getCalculationParameters(opportunity))\n .pipe(operators_1.flatMap(function (upgradeProposalCalcParameters) {\n return _this.textMessageClientService.SendWithUpgradeProposalPOST({ textRequest: newMessage, proposalRequest: upgradeProposalCalcParameters })\n .pipe(operators_1.take(1));\n }));\n };\n /**\n * This method is used to get all text messages for a customer\n * If a messageId is provided, only messages that occurred after that id will be returned\n * @param customerId Id of the customer to get\n * @param textMessageId Id of the textMessage to get history after\n * \"/api/TextMessage/GeNewMessagesByCustomerId/{customerId}/{messageId}\"\n */\n TextMessageService.prototype.getHistoryByCustomerId = function (customerId, textMessageId) {\n var _this = this;\n {\n var observable = (textMessageId) ?\n this.textMessageClientService.GetMessagesByCustomerIdByCustomeridByMessageidGET({ customerId: customerId, messageId: textMessageId }) :\n this.textMessageClientService.GetMessagesByCustomerIdByCustomeridGET(customerId);\n return observable\n .pipe(operators_1.take(1), operators_1.map(function (response) {\n return _this.mapGetResponse(response);\n }), operators_1.catchError(function (error) {\n console.error(error);\n return rxjs_1.throwError('Error retrieveing text message history.');\n }));\n }\n };\n TextMessageService.prototype.mapGetResponse = function (textMessages) {\n if (Array.isArray(textMessages)) {\n textMessages.forEach(function (r) {\n // Replace text line breaks with html line breaks so they can be displayed properly\n r.message = r.message.replace(/\\n\\r?/g, '
    ');\n });\n return textMessages;\n }\n return [];\n };\n TextMessageService.prototype.getHistory = function (opportunity) {\n return this.getHistoryByCustomerId(opportunity.customer.id);\n };\n TextMessageService.prototype.downloadUpgradeProposalIfAvailable = function ($event, textMessage) {\n if ($event.target.tagName != 'A') {\n return;\n }\n // Determine if this is one of our url shortened urls or unshortened up url\n var isFzlnk = ($event.target.outerHTML.indexOf('aalnk') > -1 || $event.target.outerHTML.indexOf('fzlnk') > -1 || $event.target.outerHTML.indexOf('myupgradeproposal') > -1);\n // This triggers an upgrade proposal if it is a shortened url and not the dealer contact info url\n // iscontactinfo is set in replaceUrlStringWithHtmlLink()\n if (textMessage && textMessage.activityId > 0 && isFzlnk && $event.target.outerHTML.indexOf('iscontactinfo') == -1) {\n this.legacyService.downloadUpgradeProposalByActivity({\n activityId: textMessage.activityId\n });\n }\n };\n TextMessageService.prototype.getTextableStatus = function (customer, dealerId) {\n var customerDto = {\n CellPhone: (customer.cellPhoneNumber) ? customer.cellPhoneNumber.value : '',\n DealerID: dealerId,\n InvalidContacts: (customer.invalidContacts) ? customer.invalidContacts.join(',') : '',\n CustomerID: customer.id\n };\n return this.textMessageClientService.GetTextableStatusGET(customerDto)\n .pipe(operators_1.take(1));\n };\n TextMessageService.prototype.isUserNumberTextable = function () {\n return this.textMessageClientService.IsUserNumberTextableGET()\n .pipe(operators_1.take(1));\n };\n return TextMessageService;\n}());\nexports.TextMessageService = TextMessageService;\n","import { Inject, Injectable } from '@angular/core';\r\nimport { from, Observable, throwError } from 'rxjs';\r\nimport { catchError, flatMap, map, take } from 'rxjs/operators';\r\nimport { LegacyService } from '../ajs-upgraded-providers';\r\nimport { SendTextWithUpgradeProposalResponse, TextableStatusModel, TextMessageDto } from '../generated/models';\r\nimport { TextMessageClientService } from '../generated/services';\r\nimport { Customer } from '../interfaces/customer.interface';\r\nimport { DealSheetOpportunity } from '../interfaces/deal-sheet/deal-sheet-opportunity.interface';\r\n\r\n@Injectable()\r\nexport class TextMessageService {\r\n constructor(@Inject(LegacyService) private legacyService,\r\n private textMessageClientService: TextMessageClientService) {\r\n }\r\n\r\n\r\n // The \"logic\" in this method is attempting to parse out the urls and determine which are upgrade proposals and which are dealer contact info urls\r\n public static replaceUrlStringWithHtmlLink(message: string, useWhiteLink: boolean): string {\r\n let index = 0;\r\n let urls: Array = []; // Used to hold all the found urls with http in them.\r\n let infoUrlNumber = -1;\r\n while (index < message.length) {\r\n let urlStartIndex = message.indexOf('http', index);\r\n if (urlStartIndex < 0)\r\n break;\r\n\r\n let urlEndIndex = message.indexOf(' ', urlStartIndex);\r\n \r\n let urlSecondEndIndex = message.indexOf('
    ', urlStartIndex)\r\n\r\n if (urlSecondEndIndex != -1 && urlSecondEndIndex < urlEndIndex) // Determine if the url ends with a line break or a space\r\n urlEndIndex = urlSecondEndIndex;\r\n\r\n if (urlEndIndex < 0) { urlEndIndex = message.length; }\r\n index = urlEndIndex;\r\n\r\n urls.push(message.substring(urlStartIndex, urlEndIndex));\r\n\r\n // Used to determine if this is a dealer contact info url based on the string 'Info: ' being in front *wish there was a better way*\r\n if (message.indexOf('Info: ', urlStartIndex - 6) > 0) \r\n infoUrlNumber = urls.length - 1;\r\n }\r\n for (var i = 0; i < urls.length; i++) {\r\n // Had to embed the style here because of angular's view encapsulation. The alternative was to turn view encapsulation off entirely for the component\r\n if (i == infoUrlNumber) {\r\n // Since this function is used in different UI spots the styling color for the link text is different for different backgrounds\r\n if (useWhiteLink) {\r\n message = message.replace(urls[i], `${urls[i]}`);\r\n } else {\r\n message = message.replace(urls[i], `${urls[i]}`);\r\n }\r\n }\r\n else {\r\n if (useWhiteLink) {\r\n message = message.replace(urls[i], `${urls[i]}`);\r\n } else {\r\n message = message.replace(urls[i], `${urls[i]}`);\r\n }\r\n }\r\n\r\n }\r\n return message;\r\n }\r\n\r\n sendText(newMessage: TextMessageDto): Observable {\r\n return this.textMessageClientService.SendPOST(newMessage)\r\n .pipe(\r\n take(1)\r\n );\r\n }\r\n\r\n sendTextWithUpgradeProposal(newMessage: TextMessageDto, opportunity: DealSheetOpportunity): Observable {\r\n return from(this.legacyService.getCalculationParameters(opportunity))\r\n .pipe(\r\n flatMap((upgradeProposalCalcParameters) => {\r\n return this.textMessageClientService.SendWithUpgradeProposalPOST(\r\n { textRequest: newMessage, proposalRequest: upgradeProposalCalcParameters }\r\n )\r\n .pipe(\r\n take(1)\r\n );\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * This method is used to get all text messages for a customer\r\n * If a messageId is provided, only messages that occurred after that id will be returned\r\n * @param customerId Id of the customer to get\r\n * @param textMessageId Id of the textMessage to get history after\r\n * \"/api/TextMessage/GeNewMessagesByCustomerId/{customerId}/{messageId}\"\r\n */\r\n getHistoryByCustomerId(customerId: number, textMessageId?: number): Observable {\r\n {\r\n const observable = (textMessageId) ?\r\n this.textMessageClientService.GetMessagesByCustomerIdByCustomeridByMessageidGET({ customerId: customerId, messageId: textMessageId }) :\r\n this.textMessageClientService.GetMessagesByCustomerIdByCustomeridGET(customerId);\r\n\r\n return observable\r\n .pipe(\r\n take(1),\r\n map(response => {\r\n return this.mapGetResponse(response as TextMessageDto[]);\r\n }),\r\n catchError((error) => {\r\n console.error(error);\r\n return throwError('Error retrieveing text message history.');\r\n }));\r\n }\r\n }\r\n\r\n private mapGetResponse(textMessages: TextMessageDto[]) {\r\n if (Array.isArray(textMessages)) {\r\n textMessages.forEach(r => {\r\n // Replace text line breaks with html line breaks so they can be displayed properly\r\n r.message = r.message.replace(/\\n\\r?/g, '
    ');\r\n });\r\n return textMessages;\r\n }\r\n\r\n return [] as TextMessageDto[];\r\n }\r\n\r\n getHistory(opportunity: DealSheetOpportunity): Observable {\r\n return this.getHistoryByCustomerId(opportunity.customer.id);\r\n }\r\n\r\n downloadUpgradeProposalIfAvailable($event: any, textMessage: TextMessageDto): void {\r\n if ($event.target.tagName != 'A') { return; }\r\n\r\n // Determine if this is one of our url shortened urls or unshortened up url\r\n let isFzlnk = ($event.target.outerHTML.indexOf('aalnk') > -1 || $event.target.outerHTML.indexOf('fzlnk') > -1 || $event.target.outerHTML.indexOf('myupgradeproposal') > -1);\r\n // This triggers an upgrade proposal if it is a shortened url and not the dealer contact info url\r\n // iscontactinfo is set in replaceUrlStringWithHtmlLink()\r\n if (textMessage && textMessage.activityId > 0 && isFzlnk && $event.target.outerHTML.indexOf('iscontactinfo') == -1) {\r\n this.legacyService.downloadUpgradeProposalByActivity({\r\n activityId: textMessage.activityId\r\n });\r\n }\r\n }\r\n\r\n getTextableStatus(customer: Customer, dealerId: number): Observable {\r\n\r\n const customerDto: TextMessageClientService.GetTextableStatusGETParams = {\r\n CellPhone: (customer.cellPhoneNumber) ? customer.cellPhoneNumber.value : '',\r\n DealerID: dealerId,\r\n InvalidContacts: (customer.invalidContacts) ? customer.invalidContacts.join(',') : '',\r\n CustomerID: customer.id\r\n };\r\n\r\n return this.textMessageClientService.GetTextableStatusGET(customerDto)\r\n .pipe(\r\n take(1)\r\n );\r\n }\r\n\r\n isUserNumberTextable(): Observable {\r\n return this.textMessageClientService.IsUserNumberTextableGET()\r\n .pipe(\r\n take(1)\r\n );\r\n }\r\n}\r\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar DealerSmtpSettingClientService = /** @class */ (function (_super) {\n __extends(DealerSmtpSettingClientService, _super);\n function DealerSmtpSettingClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param dealerId undefined\n */\n DealerSmtpSettingClientService.prototype.GetDealerSmtpSettingsGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (dealerId != null)\n __params = __params.set('dealerId', dealerId.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/DealerSmtpSetting/GetDealerSmtpSettings\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n */\n DealerSmtpSettingClientService.prototype.GetDealerSmtpSettingsGET = function (dealerId) {\n return this.GetDealerSmtpSettingsGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n */\n DealerSmtpSettingClientService.prototype.SaveDealerSmtpSettingsPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/DealerSmtpSetting/SaveDealerSmtpSettings\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n */\n DealerSmtpSettingClientService.prototype.SaveDealerSmtpSettingsPOST = function (request) {\n return this.SaveDealerSmtpSettingsPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n DealerSmtpSettingClientService.GetDealerSmtpSettingsGETPath = '/api/DealerSmtpSetting/GetDealerSmtpSettings';\n DealerSmtpSettingClientService.SaveDealerSmtpSettingsPOSTPath = '/api/DealerSmtpSetting/SaveDealerSmtpSettings';\n DealerSmtpSettingClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DealerSmtpSettingClientService_Factory() { return new DealerSmtpSettingClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: DealerSmtpSettingClientService, providedIn: \"root\" });\n return DealerSmtpSettingClientService;\n}(base_service_1.BaseService));\nexports.DealerSmtpSettingClientService = DealerSmtpSettingClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { DealerSmtpSettingCustomDto } from '../models/dealer-smtp-setting-custom-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass DealerSmtpSettingClientService extends __BaseService {\r\n static readonly GetDealerSmtpSettingsGETPath = '/api/DealerSmtpSetting/GetDealerSmtpSettings';\r\n static readonly SaveDealerSmtpSettingsPOSTPath = '/api/DealerSmtpSetting/SaveDealerSmtpSettings';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n */\r\n GetDealerSmtpSettingsGETResponse(dealerId?: number): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n if (dealerId != null) __params = __params.set('dealerId', dealerId.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/DealerSmtpSetting/GetDealerSmtpSettings`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n */\r\n GetDealerSmtpSettingsGET(dealerId?: number): __Observable {\r\n return this.GetDealerSmtpSettingsGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n */\r\n SaveDealerSmtpSettingsPOSTResponse(request?: DealerSmtpSettingCustomDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/DealerSmtpSetting/SaveDealerSmtpSettings`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n */\r\n SaveDealerSmtpSettingsPOST(request?: DealerSmtpSettingCustomDto): __Observable {\r\n return this.SaveDealerSmtpSettingsPOSTResponse(request).pipe(\r\n __map(_r => _r.body as null)\r\n );\r\n }\r\n}\r\n\r\nmodule DealerSmtpSettingClientService {\r\n}\r\n\r\nexport { DealerSmtpSettingClientService }\r\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","// 20.2.2.16 Math.fround(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', { fround: require('./_math-fround') });\n","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar i0 = __importStar(require(\"./tags.component.scss.shim.ngstyle\"));\nvar i1 = __importStar(require(\"@angular/core\"));\nvar i2 = __importStar(require(\"@ngx-translate/core\"));\nvar i3 = __importStar(require(\"ngx-bootstrap/popover\"));\nvar i4 = __importStar(require(\"ngx-bootstrap/component-loader\"));\nvar i5 = __importStar(require(\"ngx-bootstrap/positioning\"));\nvar i6 = __importStar(require(\"@angular/common\"));\nvar i7 = __importStar(require(\"../../icon/icon.component.ngfactory\"));\nvar i8 = __importStar(require(\"../../icon/icon.component\"));\nvar i9 = __importStar(require(\"@angular/platform-browser\"));\nvar i10 = __importStar(require(\"../../../filters/locale-date.pipe\"));\nvar i11 = __importStar(require(\"../../../modules/storage/storage.service\"));\nvar i12 = __importStar(require(\"./tags.component\"));\nvar i13 = __importStar(require(\"../../../ajs-upgraded-providers\"));\nvar styles_TagsComponent = [i0.styles];\nvar RenderType_TagsComponent = i1.ɵcrt({ encapsulation: 0, styles: styles_TagsComponent, data: {} });\nexports.RenderType_TagsComponent = RenderType_TagsComponent;\nfunction View_TagsComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"li\", [[\"class\", \"tag\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [], [[8, \"title\", 0]], null, null, null, null)), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(3, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = i1.ɵinlineInterpolate(1, \"\", i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform((_v.context.$implicit.expirationDate ? \"tagExpiration\" : \"tagNoExpiration\"), _v.context.$implicit)), \"\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = _v.context.$implicit.text; _ck(_v, 3, 0, currVal_1); }); }\nfunction View_TagsComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 2, \"button\", [[\"class\", \"btn btn-primary\"], [\"placement\", \"left\"], [\"translate\", \"fordOasis\"], [\"triggers\", \"mouseenter:mouseleave\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n var pd_0 = (_co.openOasisLink() !== false);\n ad = (pd_0 && ad);\n } return ad; }, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), i1.ɵdid(2, 212992, null, 0, i3.PopoverDirective, [i3.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i4.ComponentLoaderFactory, i5.PositioningService], { popover: [0, \"popover\"], placement: [1, \"placement\"], triggers: [2, \"triggers\"] }, null), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = \"fordOasis\"; _ck(_v, 1, 0, currVal_0); var currVal_1 = i1.ɵnov(_v.parent, 10); var currVal_2 = \"left\"; var currVal_3 = \"mouseenter:mouseleave\"; _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3); }, null); }\nfunction View_TagsComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"p\", [[\"class\", \"oasisTooltip\"], [\"translate\", \"fordOasisTooltip\"]], [[8, \"innerHTML\", 1]], null, null, null, null)), i1.ɵdid(1, 8536064, null, 0, i2.TranslateDirective, [i2.TranslateService, i1.ElementRef, i1.ChangeDetectorRef], { translate: [0, \"translate\"] }, null), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], function (_ck, _v) { var currVal_1 = \"fordOasisTooltip\"; _ck(_v, 1, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 0, 0, i1.ɵnov(_v, 2).transform(_co.fordOasisTooltip)); _ck(_v, 0, 0, currVal_0); }); }\nfunction View_TagsComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"title\"], [\"style\", \"padding-top: 0;\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 1, 0, i1.ɵnov(_v, 2).transform(\"multipleRecalls\")); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_TagsComponent_8(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"header flexitem\"], [\"style\", \"padding-right: 10px;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"titleMainLabel\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"span\", [[\"class\", \"titleMainBody\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"recallNumberMfr\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.recallNotificationList[0].recallNumber_mfr; _ck(_v, 6, 0, currVal_1); }); }\nfunction View_TagsComponent_9(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"header flexitem\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"titleMainLabel\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"span\", [[\"class\", \"titleMainBody\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"recallNumberNhtsa\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.recallNotificationList[0].recallNumber_Nhtsa; _ck(_v, 6, 0, currVal_1); }); }\nfunction View_TagsComponent_10(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"titleMainLabel\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [[\"class\", \"titleMainBody\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"recallDate\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent.parent.parent.parent, 0), _co.recallNotificationList[0].vinRecallDate)); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_TagsComponent_11(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"titleMainLabel\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 3, \"span\", [[\"class\", \"titleMainBody\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"isRecallRemedyAvailable\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_co.recallNotificationList[0].isRemedyAvailable ? i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"yes\")) : i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 8).transform(\"no\"))); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_TagsComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 30, \"div\", [[\"class\", \"recall-single-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"header-container\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_8)), i1.ɵdid(3, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_9)), i1.ɵdid(5, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_10)), i1.ɵdid(7, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_11)), i1.ɵdid(9, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"span\", [[\"class\", \"title\"]], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"span\", [[\"class\", \"body\"]], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \"\"])), (_l()(), i1.ɵeld(17, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"span\", [[\"class\", \"title\"]], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(22, 0, null, null, 1, \"span\", [[\"class\", \"body\"]], null, null, null, null, null)), (_l()(), i1.ɵted(23, null, [\"\", \"\"])), (_l()(), i1.ɵeld(24, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"span\", [[\"class\", \"title\"]], null, null, null, null, null)), (_l()(), i1.ɵted(26, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"span\", [[\"class\", \"body\"]], null, null, null, null, null)), (_l()(), i1.ɵted(30, null, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.recallNotificationList[0].recallNumber_mfr != null); _ck(_v, 3, 0, currVal_0); var currVal_1 = (_co.recallNotificationList[0].recallNumber_Nhtsa != null); _ck(_v, 5, 0, currVal_1); var currVal_2 = (_co.recallNotificationList[0].vinRecallDate != null); _ck(_v, 7, 0, currVal_2); var currVal_3 = (_co.recallNotificationList[0].isRemedyAvailable != null); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_4 = i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 13).transform(\"recallDescription\")); _ck(_v, 12, 0, currVal_4); var currVal_5 = _co.recallNotificationList[0].description; _ck(_v, 16, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"recallSafetyRisk\")); _ck(_v, 19, 0, currVal_6); var currVal_7 = _co.recallNotificationList[0].safetyRisk; _ck(_v, 23, 0, currVal_7); var currVal_8 = i1.ɵunv(_v, 26, 0, i1.ɵnov(_v, 27).transform(\"recallRemedy\")); _ck(_v, 26, 0, currVal_8); var currVal_9 = _co.recallNotificationList[0].remedy; _ck(_v, 30, 0, currVal_9); }); }\nfunction View_TagsComponent_14(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"header flexitem\"], [\"style\", \"padding-right: 10px;\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"titleMainLabel\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"span\", [[\"class\", \"titleMainBody\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"recallNumberMfr\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.recallNumber_mfr; _ck(_v, 6, 0, currVal_1); }); }\nfunction View_TagsComponent_15(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"header flexitem\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"titleMainLabel\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"span\", [[\"class\", \"titleMainBody\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"recallNumberNhtsa\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.recallNumber_Nhtsa; _ck(_v, 6, 0, currVal_1); }); }\nfunction View_TagsComponent_16(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"titleMainLabel\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 2, \"span\", [[\"class\", \"titleMainBody\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵppd(7, 1)], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"recallDate\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = i1.ɵunv(_v, 6, 0, _ck(_v, 7, 0, i1.ɵnov(_v.parent.parent.parent.parent.parent, 0), _v.parent.context.$implicit.vinRecallDate)); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_TagsComponent_17(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"span\", [[\"class\", \"titleMainLabel\"]], null, null, null, null, null)), (_l()(), i1.ɵted(2, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(5, 0, null, null, 3, \"span\", [[\"class\", \"titleMainBody\"]], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef])], null, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 2, 0, i1.ɵnov(_v, 3).transform(\"isRecallRemedyAvailable\")); _ck(_v, 2, 0, currVal_0); var currVal_1 = (_v.parent.context.$implicit.isRemedyAvailable ? i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 7).transform(\"yes\")) : i1.ɵunv(_v, 6, 0, i1.ɵnov(_v, 8).transform(\"no\"))); _ck(_v, 6, 0, currVal_1); }); }\nfunction View_TagsComponent_13(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 30, \"li\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"header-container\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_14)), i1.ɵdid(3, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_15)), i1.ɵdid(5, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_16)), i1.ɵdid(7, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_17)), i1.ɵdid(9, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵeld(10, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"span\", [[\"class\", \"title\"]], null, null, null, null, null)), (_l()(), i1.ɵted(12, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(15, 0, null, null, 1, \"span\", [[\"class\", \"body\"]], null, null, null, null, null)), (_l()(), i1.ɵted(16, null, [\"\", \"\"])), (_l()(), i1.ɵeld(17, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(18, 0, null, null, 2, \"span\", [[\"class\", \"title\"]], null, null, null, null, null)), (_l()(), i1.ɵted(19, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(22, 0, null, null, 1, \"span\", [[\"class\", \"body\"]], null, null, null, null, null)), (_l()(), i1.ɵted(23, null, [\"\", \"\"])), (_l()(), i1.ɵeld(24, 0, null, null, 6, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"span\", [[\"class\", \"title\"]], null, null, null, null, null)), (_l()(), i1.ɵted(26, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵted(-1, null, [\"\\u00A0\"])), (_l()(), i1.ɵeld(29, 0, null, null, 1, \"span\", [[\"class\", \"body\"]], null, null, null, null, null)), (_l()(), i1.ɵted(30, null, [\"\", \"\"]))], function (_ck, _v) { var currVal_0 = (_v.context.$implicit.recallNumber_mfr != null); _ck(_v, 3, 0, currVal_0); var currVal_1 = (_v.context.$implicit.recallNumber_Nhtsa != null); _ck(_v, 5, 0, currVal_1); var currVal_2 = (_v.context.$implicit.vinRecallDate != null); _ck(_v, 7, 0, currVal_2); var currVal_3 = (_v.context.$implicit.isRemedyAvailable != null); _ck(_v, 9, 0, currVal_3); }, function (_ck, _v) { var currVal_4 = i1.ɵunv(_v, 12, 0, i1.ɵnov(_v, 13).transform(\"recallDescription\")); _ck(_v, 12, 0, currVal_4); var currVal_5 = _v.context.$implicit.description; _ck(_v, 16, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 19, 0, i1.ɵnov(_v, 20).transform(\"recallSafetyRisk\")); _ck(_v, 19, 0, currVal_6); var currVal_7 = _v.context.$implicit.safetyRisk; _ck(_v, 23, 0, currVal_7); var currVal_8 = i1.ɵunv(_v, 26, 0, i1.ɵnov(_v, 27).transform(\"recallRemedy\")); _ck(_v, 26, 0, currVal_8); var currVal_9 = _v.context.$implicit.remedy; _ck(_v, 30, 0, currVal_9); }); }\nfunction View_TagsComponent_12(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"div\", [[\"class\", \"recall-list-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 2, \"ul\", [], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_13)), i1.ɵdid(3, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.recallNotificationList; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_TagsComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, \"div\", [], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 0, null, null, 15, \"div\", [[\"class\", \"vinRecall\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"row\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"div\", [[\"class\", \"col-md-8\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"h3\", [[\"style\", \"margin-top:0;\"]], null, null, null, null, null)), (_l()(), i1.ɵted(5, null, [\"\", \"\"])), i1.ɵpid(131072, i2.TranslatePipe, [i2.TranslateService, i1.ChangeDetectorRef]), (_l()(), i1.ɵeld(7, 0, null, null, 3, \"div\", [[\"class\", \"col-md-4 text-right\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_4)), i1.ɵdid(9, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(0, [[\"popOasisTemplate\", 2]], null, 0, null, View_TagsComponent_5)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_6)), i1.ɵdid(12, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_7)), i1.ɵdid(14, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_12)), i1.ɵdid(16, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = (((_co.recallNotificationList.length > 0) && _co.isFordAlert) && ((_co.makeName == \"Ford\") || (_co.makeName == \"Lincoln\"))); _ck(_v, 9, 0, currVal_1); var currVal_2 = (_co.recallNotificationList.length > 1); _ck(_v, 12, 0, currVal_2); var currVal_3 = (_co.recallNotificationList.length == 1); _ck(_v, 14, 0, currVal_3); var currVal_4 = (_co.recallNotificationList.length > 1); _ck(_v, 16, 0, currVal_4); }, function (_ck, _v) { var currVal_0 = i1.ɵunv(_v, 5, 0, i1.ɵnov(_v, 6).transform(\"recallInfo\")); _ck(_v, 5, 0, currVal_0); }); }\nfunction View_TagsComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, \"li\", [[\"class\", \"recallItem\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(1, 16777216, null, null, 3, \"div\", [[\"containerClass\", \"popover\"], [\"outsideClick\", \"true\"], [\"placement\", \"auto\"]], null, null, null, null, null)), i1.ɵdid(2, 212992, null, 0, i3.PopoverDirective, [i3.PopoverConfig, i1.ElementRef, i1.Renderer2, i1.ViewContainerRef, i4.ComponentLoaderFactory, i5.PositioningService], { popover: [0, \"popover\"], placement: [1, \"placement\"], outsideClick: [2, \"outsideClick\"], containerClass: [3, \"containerClass\"] }, null), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"icon\", [[\"class\", \"recall-tag-svg\"], [\"style\", \"width:125px; height:18px\"]], null, null, null, i7.View_IconComponent_0, i7.RenderType_IconComponent)), i1.ɵdid(4, 638976, null, 0, i8.IconComponent, [i9.DomSanitizer], null, null), (_l()(), i1.ɵand(0, [[\"popTemplate\", 2]], null, 0, null, View_TagsComponent_3))], function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 5); var currVal_1 = \"auto\"; var currVal_2 = \"true\"; var currVal_3 = \"popover\"; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3); _ck(_v, 4, 0); }, null); }\nfunction View_TagsComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i10.LocaleDatePipe, [i11.StorageService]), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"ul\", [[\"class\", \"tags\"]], null, null, null, null, null)), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_1)), i1.ɵdid(3, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_TagsComponent_2)), i1.ɵdid(5, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.values; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.hasRecallNotice; _ck(_v, 5, 0, currVal_1); }, null); }\nexports.View_TagsComponent_0 = View_TagsComponent_0;\nfunction View_TagsComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"tags\", [], null, null, null, View_TagsComponent_0, RenderType_TagsComponent)), i1.ɵdid(1, 638976, null, 0, i12.TagsComponent, [i10.LocaleDatePipe, i13.VehicleService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nexports.View_TagsComponent_Host_0 = View_TagsComponent_Host_0;\nvar TagsComponentNgFactory = i1.ɵccf(\"tags\", i12.TagsComponent, View_TagsComponent_Host_0, { values: \"values\", vehicleId: \"vehicleId\", makeName: \"makeName\", dealerId: \"dealerId\", isFordAlert: \"isFordAlert\" }, {}, []);\nexports.TagsComponentNgFactory = TagsComponentNgFactory;\n","
      \r\n
    • \r\n {{tag.text}}\r\n
    • \r\n
    • \r\n
      \r\n \r\n
      \r\n\r\n \r\n
      \r\n
      \r\n \r\n
      \r\n

      {{'recallInfo' | translate}}

      \r\n
      \r\n \r\n \r\n

      \r\n
      \r\n
      \r\n
      \r\n\r\n
      1\">{{'multipleRecalls' | translate}}
      \r\n\r\n
      \r\n
      \r\n
      \r\n {{'recallNumberMfr' | translate}} {{ recallNotificationList[0].recallNumber_mfr }}\r\n
      \r\n
      \r\n {{'recallNumberNhtsa' | translate}} {{ recallNotificationList[0].recallNumber_Nhtsa }}\r\n
      \r\n
      \r\n
      {{'recallDate' | translate}} {{recallNotificationList[0].vinRecallDate | localeDate}}
      \r\n
      \r\n {{'isRecallRemedyAvailable' | translate}} {{ recallNotificationList[0].isRemedyAvailable ? ('yes' | translate) : ('no' | translate) }}\r\n
      \r\n
      {{'recallDescription' | translate}} {{recallNotificationList[0].description}}
      \r\n
      {{'recallSafetyRisk' | translate}} {{recallNotificationList[0].safetyRisk}}
      \r\n
      {{'recallRemedy' | translate}} {{recallNotificationList[0].remedy}}
      \r\n
      \r\n\r\n
      1\" class=\"recall-list-wrapper\">\r\n
        \r\n
      • \r\n
        \r\n
        \r\n {{'recallNumberMfr' | translate}} {{ recallInformation.recallNumber_mfr }}\r\n
        \r\n
        \r\n {{'recallNumberNhtsa' | translate}} {{ recallInformation.recallNumber_Nhtsa }}\r\n
        \r\n
        \r\n
        {{'recallDate' | translate}} {{recallInformation.vinRecallDate | localeDate}}
        \r\n
        \r\n {{'isRecallRemedyAvailable' | translate}} {{ recallInformation.isRemedyAvailable ? ('yes' | translate) : ('no' | translate) }}\r\n
        \r\n
        {{'recallDescription' | translate}} {{recallInformation.description}}
        \r\n
        {{'recallSafetyRisk' | translate}} {{recallInformation.safetyRisk}}
        \r\n
        {{'recallRemedy' | translate}} {{recallInformation.remedy}}
        \r\n
      • \r\n
      \r\n\r\n
      \r\n
      \r\n
      \r\n
      \r\n
    • \r\n
    \r\n\r\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","var path = '/app/components/search/search-export-epsilon-result-modal.component.html';\nvar html = \"
    * {{'exportToEpsilonResult' | translate}}
    Campaign Name Campaign Type Audience Count
    {{request.campaignName}} {{$ctrl.campaignTypeTranslateKey(request.exportCampaignType) | translate}} {{request.audienceCount}}
    \";\nwindow.angular.module('ng').run(['$templateCache', function(c) { c.put(path, html) }]);\nmodule.exports = path;","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar http_1 = require(\"@angular/common/http\");\nvar base_service_1 = require(\"../base-service\");\nvar alertminer_api_configuration_1 = require(\"../alertminer-api-configuration\");\nvar operators_1 = require(\"rxjs/operators\");\nvar i0 = __importStar(require(\"@angular/core\"));\nvar i1 = __importStar(require(\"../alertminer-api-configuration\"));\nvar i2 = __importStar(require(\"@angular/common/http\"));\nvar InventoryClientService = /** @class */ (function (_super) {\n __extends(InventoryClientService, _super);\n function InventoryClientService(config, http) {\n return _super.call(this, config, http) || this;\n }\n /**\n * @param request undefined\n * @return Success\n */\n InventoryClientService.prototype.InventoryBestMatchToTrimPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Inventory/InventoryBestMatchToTrim\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n InventoryClientService.prototype.InventoryBestMatchToTrimPOST = function (request) {\n return this.InventoryBestMatchToTrimPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n InventoryClientService.prototype.InventoryBestMatchPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Inventory/InventoryBestMatch\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n InventoryClientService.prototype.InventoryBestMatchPOST = function (request) {\n return this.InventoryBestMatchPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `InventoryClientService.InventoryRecommendationUsedCarByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `saleType`:\n *\n * - `currentTerm`:\n *\n * - `currentPayment`:\n *\n * @return Success\n */\n InventoryClientService.prototype.InventoryRecommendationUsedCarByEntityidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n if (params.saleType != null)\n __params = __params.set('saleType', params.saleType.toString());\n if (params.currentTerm != null)\n __params = __params.set('currentTerm', params.currentTerm.toString());\n if (params.currentPayment != null)\n __params = __params.set('currentPayment', params.currentPayment.toString());\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Inventory/InventoryRecommendation_UsedCar/\" + params.entityId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `InventoryClientService.InventoryRecommendationUsedCarByEntityidGETParams` containing the following parameters:\n *\n * - `entityId`:\n *\n * - `saleType`:\n *\n * - `currentTerm`:\n *\n * - `currentPayment`:\n *\n * @return Success\n */\n InventoryClientService.prototype.InventoryRecommendationUsedCarByEntityidGET = function (params) {\n return this.InventoryRecommendationUsedCarByEntityidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n InventoryClientService.prototype.InventoryRecommendationNewCarPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Inventory/InventoryRecommendation_NewCar\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n InventoryClientService.prototype.InventoryRecommendationNewCarPOST = function (request) {\n return this.InventoryRecommendationNewCarPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n InventoryClientService.prototype.GetStockViewByDealeridGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Inventory/GetStockView/\" + dealerId), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n InventoryClientService.prototype.GetStockViewByDealeridGET = function (dealerId) {\n return this.GetStockViewByDealeridGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n InventoryClientService.prototype.GetStockViewsGETResponse = function (dealerId) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n (dealerId || []).forEach(function (val) { if (val != null)\n __params = __params.append('dealerId', val.toString()); });\n var req = new http_1.HttpRequest('GET', this.rootUrl + \"/api/Inventory/GetStockView\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param dealerId undefined\n * @return Success\n */\n InventoryClientService.prototype.GetStockViewsGET = function (dealerId) {\n return this.GetStockViewsGETResponse(dealerId).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `InventoryClientService.GetExtByStockNoByStocknoByEntityidByPricingplanidGETParams` containing the following parameters:\n *\n * - `stockNo`:\n *\n * - `pricingPlanID`:\n *\n * - `entityId`:\n *\n * @return Success\n */\n InventoryClientService.prototype.GetExtByStockNoByStocknoByEntityidByPricingplanidGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Inventory/GetExtByStockNo/\" + params.stockNo + \"/\" + params.entityId + \"/\" + params.pricingPlanID), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `InventoryClientService.GetExtByStockNoByStocknoByEntityidByPricingplanidGETParams` containing the following parameters:\n *\n * - `stockNo`:\n *\n * - `pricingPlanID`:\n *\n * - `entityId`:\n *\n * @return Success\n */\n InventoryClientService.prototype.GetExtByStockNoByStocknoByEntityidByPricingplanidGET = function (params) {\n return this.GetExtByStockNoByStocknoByEntityidByPricingplanidGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param params The `InventoryClientService.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETParams` containing the following parameters:\n *\n * - `stockNumber`:\n *\n * - `dealerId`:\n *\n * - `cashAdjustment`:\n *\n * @return Success\n */\n InventoryClientService.prototype.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETResponse = function (params) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n var req = new http_1.HttpRequest('GET', this.rootUrl + (\"/api/Inventory/GetInventoryOpportunities/\" + params.dealerId + \"/\" + params.stockNumber + \"/\" + params.cashAdjustment), __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param params The `InventoryClientService.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETParams` containing the following parameters:\n *\n * - `stockNumber`:\n *\n * - `dealerId`:\n *\n * - `cashAdjustment`:\n *\n * @return Success\n */\n InventoryClientService.prototype.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGET = function (params) {\n return this.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETResponse(params).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n InventoryClientService.prototype.SearchPOSTResponse = function (request) {\n var __params = this.newParams();\n var __headers = new http_1.HttpHeaders();\n var __body = null;\n __body = request;\n var req = new http_1.HttpRequest('POST', this.rootUrl + \"/api/Inventory/Search\", __body, {\n headers: __headers,\n params: __params,\n responseType: 'json'\n });\n return this.http.request(req).pipe(operators_1.filter(function (_r) { return _r instanceof http_1.HttpResponse; }), operators_1.map(function (_r) {\n return _r;\n }));\n };\n /**\n * @param request undefined\n * @return Success\n */\n InventoryClientService.prototype.SearchPOST = function (request) {\n return this.SearchPOSTResponse(request).pipe(operators_1.map(function (_r) { return _r.body; }));\n };\n InventoryClientService.InventoryBestMatchToTrimPOSTPath = '/api/Inventory/InventoryBestMatchToTrim';\n InventoryClientService.InventoryBestMatchPOSTPath = '/api/Inventory/InventoryBestMatch';\n InventoryClientService.InventoryRecommendationUsedCarByEntityidGETPath = '/api/Inventory/InventoryRecommendation_UsedCar/{entityId}';\n InventoryClientService.InventoryRecommendationNewCarPOSTPath = '/api/Inventory/InventoryRecommendation_NewCar';\n InventoryClientService.GetStockViewByDealeridGETPath = '/api/Inventory/GetStockView/{dealerId}';\n InventoryClientService.GetStockViewsGETPath = '/api/Inventory/GetStockView';\n InventoryClientService.GetExtByStockNoByStocknoByEntityidByPricingplanidGETPath = '/api/Inventory/GetExtByStockNo/{stockNo}/{entityId}/{pricingPlanID}';\n InventoryClientService.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETPath = '/api/Inventory/GetInventoryOpportunities/{dealerId}/{stockNumber}/{cashAdjustment}';\n InventoryClientService.SearchPOSTPath = '/api/Inventory/Search';\n InventoryClientService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function InventoryClientService_Factory() { return new InventoryClientService(i0.ɵɵinject(i1.AlertminerApiConfiguration), i0.ɵɵinject(i2.HttpClient)); }, token: InventoryClientService, providedIn: \"root\" });\n return InventoryClientService;\n}(base_service_1.BaseService));\nexports.InventoryClientService = InventoryClientService;\n","/* tslint:disable */\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { BaseService as __BaseService } from '../base-service';\r\nimport { AlertminerApiConfiguration as __Configuration } from '../alertminer-api-configuration';\r\nimport { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';\r\nimport { Observable as __Observable } from 'rxjs';\r\nimport { map as __map, filter as __filter } from 'rxjs/operators';\r\n\r\nimport { InventoryBestRepTrimMatchDto } from '../models/inventory-best-rep-trim-match-dto';\r\nimport { InventoryBestMatchToTrimRequestDto } from '../models/inventory-best-match-to-trim-request-dto';\r\nimport { InventoryBestMatchResultDto } from '../models/inventory-best-match-result-dto';\r\nimport { InventoryBestMatchRequestDto } from '../models/inventory-best-match-request-dto';\r\nimport { InventoryExtDto } from '../models/inventory-ext-dto';\r\nimport { InventoryRecommendations_NewCarRequest } from '../models/inventory-recommendations-_new-car-request';\r\nimport { InventoryStockMinViewDto } from '../models/inventory-stock-min-view-dto';\r\nimport { InventoryOpportunitiesExtractDto } from '../models/inventory-opportunities-extract-dto';\r\nimport { InventorySearchRequestDto } from '../models/inventory-search-request-dto';\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nclass InventoryClientService extends __BaseService {\r\n static readonly InventoryBestMatchToTrimPOSTPath = '/api/Inventory/InventoryBestMatchToTrim';\r\n static readonly InventoryBestMatchPOSTPath = '/api/Inventory/InventoryBestMatch';\r\n static readonly InventoryRecommendationUsedCarByEntityidGETPath = '/api/Inventory/InventoryRecommendation_UsedCar/{entityId}';\r\n static readonly InventoryRecommendationNewCarPOSTPath = '/api/Inventory/InventoryRecommendation_NewCar';\r\n static readonly GetStockViewByDealeridGETPath = '/api/Inventory/GetStockView/{dealerId}';\r\n static readonly GetStockViewsGETPath = '/api/Inventory/GetStockView';\r\n static readonly GetExtByStockNoByStocknoByEntityidByPricingplanidGETPath = '/api/Inventory/GetExtByStockNo/{stockNo}/{entityId}/{pricingPlanID}';\r\n static readonly GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETPath = '/api/Inventory/GetInventoryOpportunities/{dealerId}/{stockNumber}/{cashAdjustment}';\r\n static readonly SearchPOSTPath = '/api/Inventory/Search';\r\n\r\n constructor(\r\n config: __Configuration,\r\n http: HttpClient\r\n ) {\r\n super(config, http);\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n InventoryBestMatchToTrimPOSTResponse(request?: InventoryBestMatchToTrimRequestDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Inventory/InventoryBestMatchToTrim`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n InventoryBestMatchToTrimPOST(request?: InventoryBestMatchToTrimRequestDto): __Observable {\r\n return this.InventoryBestMatchToTrimPOSTResponse(request).pipe(\r\n __map(_r => _r.body as InventoryBestRepTrimMatchDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n InventoryBestMatchPOSTResponse(request?: InventoryBestMatchRequestDto): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Inventory/InventoryBestMatch`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n InventoryBestMatchPOST(request?: InventoryBestMatchRequestDto): __Observable {\r\n return this.InventoryBestMatchPOSTResponse(request).pipe(\r\n __map(_r => _r.body as InventoryBestMatchResultDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `InventoryClientService.InventoryRecommendationUsedCarByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `saleType`:\r\n *\r\n * - `currentTerm`:\r\n *\r\n * - `currentPayment`:\r\n *\r\n * @return Success\r\n */\r\n InventoryRecommendationUsedCarByEntityidGETResponse(params: InventoryClientService.InventoryRecommendationUsedCarByEntityidGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n if (params.saleType != null) __params = __params.set('saleType', params.saleType.toString());\r\n if (params.currentTerm != null) __params = __params.set('currentTerm', params.currentTerm.toString());\r\n if (params.currentPayment != null) __params = __params.set('currentPayment', params.currentPayment.toString());\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Inventory/InventoryRecommendation_UsedCar/${params.entityId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `InventoryClientService.InventoryRecommendationUsedCarByEntityidGETParams` containing the following parameters:\r\n *\r\n * - `entityId`:\r\n *\r\n * - `saleType`:\r\n *\r\n * - `currentTerm`:\r\n *\r\n * - `currentPayment`:\r\n *\r\n * @return Success\r\n */\r\n InventoryRecommendationUsedCarByEntityidGET(params: InventoryClientService.InventoryRecommendationUsedCarByEntityidGETParams): __Observable> {\r\n return this.InventoryRecommendationUsedCarByEntityidGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n InventoryRecommendationNewCarPOSTResponse(request?: InventoryRecommendations_NewCarRequest): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Inventory/InventoryRecommendation_NewCar`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n InventoryRecommendationNewCarPOST(request?: InventoryRecommendations_NewCarRequest): __Observable> {\r\n return this.InventoryRecommendationNewCarPOSTResponse(request).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetStockViewByDealeridGETResponse(dealerId: number): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Inventory/GetStockView/${dealerId}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetStockViewByDealeridGET(dealerId: number): __Observable> {\r\n return this.GetStockViewByDealeridGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetStockViewsGETResponse(dealerId?: Array): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n (dealerId || []).forEach(val => {if (val != null) __params = __params.append('dealerId', val.toString())});\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Inventory/GetStockView`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param dealerId undefined\r\n * @return Success\r\n */\r\n GetStockViewsGET(dealerId?: Array): __Observable> {\r\n return this.GetStockViewsGETResponse(dealerId).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `InventoryClientService.GetExtByStockNoByStocknoByEntityidByPricingplanidGETParams` containing the following parameters:\r\n *\r\n * - `stockNo`:\r\n *\r\n * - `pricingPlanID`:\r\n *\r\n * - `entityId`:\r\n *\r\n * @return Success\r\n */\r\n GetExtByStockNoByStocknoByEntityidByPricingplanidGETResponse(params: InventoryClientService.GetExtByStockNoByStocknoByEntityidByPricingplanidGETParams): __Observable<__StrictHttpResponse> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Inventory/GetExtByStockNo/${params.stockNo}/${params.entityId}/${params.pricingPlanID}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `InventoryClientService.GetExtByStockNoByStocknoByEntityidByPricingplanidGETParams` containing the following parameters:\r\n *\r\n * - `stockNo`:\r\n *\r\n * - `pricingPlanID`:\r\n *\r\n * - `entityId`:\r\n *\r\n * @return Success\r\n */\r\n GetExtByStockNoByStocknoByEntityidByPricingplanidGET(params: InventoryClientService.GetExtByStockNoByStocknoByEntityidByPricingplanidGETParams): __Observable {\r\n return this.GetExtByStockNoByStocknoByEntityidByPricingplanidGETResponse(params).pipe(\r\n __map(_r => _r.body as InventoryExtDto)\r\n );\r\n }\r\n\r\n /**\r\n * @param params The `InventoryClientService.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETParams` containing the following parameters:\r\n *\r\n * - `stockNumber`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `cashAdjustment`:\r\n *\r\n * @return Success\r\n */\r\n GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETResponse(params: InventoryClientService.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETParams): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n\r\n\r\n\r\n let req = new HttpRequest(\r\n 'GET',\r\n this.rootUrl + `/api/Inventory/GetInventoryOpportunities/${params.dealerId}/${params.stockNumber}/${params.cashAdjustment}`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param params The `InventoryClientService.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETParams` containing the following parameters:\r\n *\r\n * - `stockNumber`:\r\n *\r\n * - `dealerId`:\r\n *\r\n * - `cashAdjustment`:\r\n *\r\n * @return Success\r\n */\r\n GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGET(params: InventoryClientService.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETParams): __Observable> {\r\n return this.GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETResponse(params).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n SearchPOSTResponse(request?: InventorySearchRequestDto): __Observable<__StrictHttpResponse>> {\r\n let __params = this.newParams();\r\n let __headers = new HttpHeaders();\r\n let __body: any = null;\r\n __body = request;\r\n let req = new HttpRequest(\r\n 'POST',\r\n this.rootUrl + `/api/Inventory/Search`,\r\n __body,\r\n {\r\n headers: __headers,\r\n params: __params,\r\n responseType: 'json'\r\n });\r\n\r\n return this.http.request(req).pipe(\r\n __filter(_r => _r instanceof HttpResponse),\r\n __map((_r) => {\r\n return _r as __StrictHttpResponse>;\r\n })\r\n );\r\n }\r\n /**\r\n * @param request undefined\r\n * @return Success\r\n */\r\n SearchPOST(request?: InventorySearchRequestDto): __Observable> {\r\n return this.SearchPOSTResponse(request).pipe(\r\n __map(_r => _r.body as Array)\r\n );\r\n }\r\n}\r\n\r\nmodule InventoryClientService {\r\n\r\n /**\r\n * Parameters for InventoryRecommendationUsedCarByEntityidGET\r\n */\r\n export interface InventoryRecommendationUsedCarByEntityidGETParams {\r\n entityId: string;\r\n saleType?: 1 | 2 | 3 | 4 | 6 | 7 | 8;\r\n currentTerm?: number;\r\n currentPayment?: number;\r\n }\r\n\r\n /**\r\n * Parameters for GetExtByStockNoByStocknoByEntityidByPricingplanidGET\r\n */\r\n export interface GetExtByStockNoByStocknoByEntityidByPricingplanidGETParams {\r\n stockNo: string;\r\n pricingPlanID: number;\r\n entityId: string;\r\n }\r\n\r\n /**\r\n * Parameters for GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGET\r\n */\r\n export interface GetInventoryOpportunitiesByDealeridByStocknumberByCashadjustmentGETParams {\r\n stockNumber: string;\r\n dealerId: number;\r\n cashAdjustment: number;\r\n }\r\n}\r\n\r\nexport { InventoryClientService }\r\n","var $export = require('./_export');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar fromCharCode = String.fromCharCode;\nvar $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n // 21.1.2.2 String.fromCodePoint(...codePoints)\n fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n var res = [];\n var aLen = arguments.length;\n var i = 0;\n var code;\n while (aLen > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');\n res.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n );\n } return res.join('');\n }\n});\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar core_2 = require(\"@ngx-translate/core\");\nvar rxjs_1 = require(\"rxjs\");\nvar DealHistoryComponent = /** @class */ (function () {\n function DealHistoryComponent(translateService, dealSheetService) {\n this.translateService = translateService;\n this.dealSheetService = dealSheetService;\n this.listDealHistory = [];\n this.listDealHistoryTemp = [];\n this.subscriptionAggregator = new rxjs_1.Subscription();\n this.opportunityId = '';\n this.onSetAsDefault = new core_1.EventEmitter();\n this.vehicleImageNotAvailableUrl = require('../../../images/vehicle-image-not-available.png');\n }\n DealHistoryComponent.prototype.ngOnInit = function () {\n this.setFilters();\n };\n DealHistoryComponent.prototype.ngOnDestroy = function () {\n this.subscriptionAggregator.unsubscribe();\n };\n DealHistoryComponent.prototype.ngOnChanges = function (changes) {\n if (changes.opportunityId) {\n this.dealHistoryData = null;\n }\n if (changes.isTabSelected && changes.isTabSelected.currentValue) {\n if (!this.dealHistoryData) {\n this.alertsTranslatedText = this.translateService.instant('alerts');\n this.mappingTranslatedText = this.translateService.instant('mapping');\n this.termTranslatedText = this.translateService.instant('term');\n this.paymentTranslatedText = this.translateService.instant('payment');\n this.busy = this.getDealHistory();\n this.subscriptionAggregator.add(this.busy);\n }\n }\n };\n DealHistoryComponent.prototype.onClick = function () {\n this.onSetAsDefault.emit();\n };\n DealHistoryComponent.prototype.getDealHistory = function () {\n var _this = this;\n return rxjs_1.from(this.dealSheetService.getDealHistory(this.opportunityId))\n .subscribe(function (dealHistoryData) {\n _this.dealHistoryData = dealHistoryData;\n _this.initData(dealHistoryData);\n });\n };\n DealHistoryComponent.prototype.initData = function (data) {\n for (var _i = 0, data_1 = data; _i < data_1.length; _i++) {\n var ele = data_1[_i];\n var changeTypes = [];\n if (ele.isAlertChange)\n changeTypes.push(this.alertsTranslatedText);\n if (ele.isMappingChange)\n changeTypes.push(this.mappingTranslatedText);\n if (ele.isPaymentChange)\n changeTypes.push(this.paymentTranslatedText);\n if (ele.isTermChange)\n changeTypes.push(this.termTranslatedText);\n ele.changeTypes = changeTypes.join(\", \");\n }\n var listDealHistory = data.filter(function (ele) {\n return ele.isAlertChange ||\n ele.isMappingChange ||\n ele.isPaymentChange ||\n ele.isTermChange;\n }).map(function (history) { return (__assign({}, history, { alerts: history.alerts.map(function (type) { return ({ type: type }); }) })); });\n this.listDealHistory = listDealHistory;\n this.listDealHistoryTemp = listDealHistory;\n };\n DealHistoryComponent.prototype.setFilters = function () {\n this.filters = [{\n key: 'alerts',\n moduleName: 'alerts',\n enabled: true,\n selected: true\n }, {\n key: 'mapping',\n moduleName: 'mapping',\n enabled: true,\n selected: true\n }, {\n key: 'term',\n moduleName: 'term',\n enabled: true,\n selected: true\n }, {\n key: 'payment',\n moduleName: 'payment',\n enabled: true,\n selected: true\n }];\n };\n DealHistoryComponent.prototype.updateUrl = function (event, row) {\n row.photoPath = this.vehicleImageNotAvailableUrl;\n };\n DealHistoryComponent.prototype.checkboxClicked = function () {\n var _this = this;\n this.listDealHistory = this.listDealHistoryTemp.filter(function (ele) {\n var selections = _this.filters.filter(function (i) { return i.selected; }).map(function (a) { return a.key; });\n return selections.length !== 0 && ((ele.isAlertChange && selections.includes('alerts')) ||\n (ele.isMappingChange && selections.includes('mapping')) ||\n (ele.isPaymentChange && selections.includes('payment')) ||\n (ele.isTermChange && selections.includes('term')));\n });\n };\n return DealHistoryComponent;\n}());\nexports.DealHistoryComponent = DealHistoryComponent;\n","import { Component, OnInit, Input, Output, Inject, OnChanges, SimpleChanges, OnDestroy, EventEmitter } from '@angular/core';\r\nimport { DealHistoryDto } from '../../../interfaces/deal-history-dto.interface';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { DealSheetService } from '../../../ajs-upgraded-providers';\r\nimport { Observable, Subject, Subscription, from } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'aa-deal-history',\r\n templateUrl: './deal-history.component-ng.html',\r\n styleUrls: ['./deal-history.component.scss']\r\n})\r\nexport class DealHistoryComponent implements OnChanges, OnInit, OnDestroy {\r\n public filters: any;\r\n public listDealHistory: Array = [];\r\n public listDealHistoryTemp: Array = [];\r\n private subscriptionAggregator = new Subscription();\r\n public busy: Subscription;\r\n\r\n\r\n private alertsTranslatedText: string;\r\n private mappingTranslatedText: string;\r\n private termTranslatedText: string;\r\n private paymentTranslatedText: string;\r\n private dealHistoryData: any;\r\n\r\n @Input() isTabSelected: boolean;\r\n @Input() defaultTab: number;\r\n @Input() currentTab: number;\r\n @Input() opportunityId: any = '';\r\n\r\n @Output() onSetAsDefault = new EventEmitter();\r\n\r\n constructor(private translateService: TranslateService,\r\n @Inject(DealSheetService) private dealSheetService) { }\r\n\r\n public vehicleImageNotAvailableUrl = require('../../../images/vehicle-image-not-available.png');\r\n\r\n ngOnInit() {\r\n this.setFilters();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptionAggregator.unsubscribe();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.opportunityId) {\r\n this.dealHistoryData = null;\r\n }\r\n\r\n if (changes.isTabSelected && changes.isTabSelected.currentValue) {\r\n if (!this.dealHistoryData) {\r\n this.alertsTranslatedText = this.translateService.instant('alerts');\r\n this.mappingTranslatedText = this.translateService.instant('mapping');\r\n this.termTranslatedText = this.translateService.instant('term');\r\n this.paymentTranslatedText = this.translateService.instant('payment');\r\n this.busy = this.getDealHistory();\r\n this.subscriptionAggregator.add(this.busy);\r\n }\r\n }\r\n }\r\n\r\n onClick(): void {\r\n this.onSetAsDefault.emit();\r\n }\r\n\r\n getDealHistory(): Subscription {\r\n return from(this.dealSheetService.getDealHistory(this.opportunityId))\r\n .subscribe(dealHistoryData => {\r\n this.dealHistoryData = dealHistoryData;\r\n this.initData(dealHistoryData);\r\n });\r\n }\r\n\r\n\r\n private initData(data) {\r\n for (const ele of data) {\r\n let changeTypes = [];\r\n if (ele.isAlertChange) changeTypes.push(this.alertsTranslatedText);\r\n if (ele.isMappingChange) changeTypes.push(this.mappingTranslatedText);\r\n if (ele.isPaymentChange) changeTypes.push(this.paymentTranslatedText);\r\n if (ele.isTermChange) changeTypes.push(this.termTranslatedText);\r\n\r\n ele.changeTypes = changeTypes.join(\", \");\r\n }\r\n\r\n let listDealHistory = data.filter(ele =>\r\n ele.isAlertChange ||\r\n ele.isMappingChange ||\r\n ele.isPaymentChange ||\r\n ele.isTermChange\r\n ).map(history => ({\r\n ...history,\r\n alerts: history.alerts.map(type => ({ type })),\r\n }));\r\n\r\n this.listDealHistory = listDealHistory;\r\n this.listDealHistoryTemp = listDealHistory;\r\n }\r\n\r\n private setFilters() {\r\n this.filters = [{\r\n key: 'alerts',\r\n moduleName: 'alerts',\r\n enabled: true,\r\n selected: true\r\n }, {\r\n key: 'mapping',\r\n moduleName: 'mapping',\r\n enabled: true,\r\n selected: true\r\n }, {\r\n key: 'term',\r\n moduleName: 'term',\r\n enabled: true,\r\n selected: true\r\n }, {\r\n key: 'payment',\r\n moduleName: 'payment',\r\n enabled: true,\r\n selected: true\r\n }];\r\n\r\n }\r\n\r\n updateUrl(event, row: DealHistoryDto) {\r\n row.photoPath = this.vehicleImageNotAvailableUrl;\r\n }\r\n\r\n checkboxClicked() {\r\n this.listDealHistory = this.listDealHistoryTemp.filter(ele => {\r\n let selections = this.filters.filter(i => i.selected).map(a => a.key);\r\n\r\n return selections.length !== 0 && (\r\n (ele.isAlertChange && selections.includes('alerts')) ||\r\n (ele.isMappingChange && selections.includes('mapping')) ||\r\n (ele.isPaymentChange && selections.includes('payment')) ||\r\n (ele.isTermChange && selections.includes('term'))\r\n );\r\n });\r\n }\r\n\r\n}\r\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"zn8P\";","\"use strict\";\n/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar styles = [\".log-action-shortcuts[_ngcontent-%COMP%]{float:left;padding-left:10px}.log-action-shortcuts[_ngcontent-%COMP%] .shortcut-action-btn{background:#192c54;margin-left:5px}.log-action-shortcuts[_ngcontent-%COMP%] .shortcut-action-btn:hover{color:#c1c2c4!important;background:-webkit-gradient(linear,left top,left bottom,from(#192c54),to(#192c54));background:linear-gradient(to bottom,#192c54 0,#192c54 100%);background:-webkit-gradient(linear,left top,left bottom,from(#192c54),to(#00548f));background:linear-gradient(#192c54,#00548f)}.log-action-shortcuts[_ngcontent-%COMP%] .email-template-action-wrapper{display:inline}.log-action-shortcuts[_ngcontent-%COMP%] .email-template-action-wrapper .shortcut-action-btn{margin-left:0}.log-action-shortcuts[_ngcontent-%COMP%] .text-action-wrapper{display:inline}.log-action-shortcuts[_ngcontent-%COMP%] .text-action-wrapper .shortcut-action-btn{margin-left:0}\"];\nexports.styles = styles;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar core_1 = require(\"@angular/core\");\nvar forms_1 = require(\"@angular/forms\");\nvar stock_number_search_service_1 = require(\"../../../services/stock-number-search.service\");\nvar core_2 = require(\"@uirouter/core\");\nvar user_service_1 = require(\"../../../services/user.service\");\nvar StockNumberSearchComponent = /** @class */ (function () {\n function StockNumberSearchComponent(userService, stockNumberSearchService, stateService) {\n this.userService = userService;\n this.stockNumberSearchService = stockNumberSearchService;\n this.stateService = stateService;\n this.inventoryStockMinViewCtrl = new forms_1.FormControl();\n this.myForm = new forms_1.FormGroup({\n inventoryStockMinView: this.inventoryStockMinViewCtrl\n });\n this.inventoryStockMinViews = [];\n this.selected = {};\n }\n StockNumberSearchComponent.prototype.ngOnInit = function () {\n var _this = this;\n this.searchText = '';\n this.isLoaded = false;\n this.userService.getUserProfile()\n .then(function (userProfile) { return _this.isSltUser = userProfile.isSltUser; });\n this.stockNumberSearchService.getStockList()\n .then(function (inventoryStockMinViews) { return _this.inventoryStockMinViews = inventoryStockMinViews; });\n };\n StockNumberSearchComponent.prototype.onSelect = function (stockNoInput) {\n var stockNo = (stockNoInput.value) ? stockNoInput.value : stockNoInput;\n if (this.stateService.params.stockNo == stockNo) {\n this.stateService.reload();\n }\n else {\n var params = {\n isShowUsed: true,\n hasOpp: true,\n sortColumnName: 'GrossProfitFormatted',\n stockNo: stockNo\n };\n this.stateService.go('preOwnedManagerFindABuyer', params);\n }\n };\n return StockNumberSearchComponent;\n}());\nexports.StockNumberSearchComponent = StockNumberSearchComponent;\n","import { Component, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { InventoryStockMinViewDto } from '../../../generated/models/inventory-stock-min-view-dto';\r\nimport { StockNumberSearchService } from '../../../services/stock-number-search.service';\r\nimport { StateService } from '@uirouter/core';\r\nimport { UserService } from '../../../services/user.service';\r\n\r\n@Component({\r\n selector: 'stock-number-search',\r\n templateUrl: './stock-number-search.component-ng.html',\r\n styleUrls: ['./stock-number-search.component.scss']\r\n})\r\nexport class StockNumberSearchComponent implements OnInit {\r\n\r\n inventoryStockMinViewCtrl = new FormControl();\r\n\r\n myForm = new FormGroup({\r\n inventoryStockMinView: this.inventoryStockMinViewCtrl\r\n });\r\n \r\n inventoryStockMinViews: Array = [];\r\n\r\n selected: InventoryStockMinViewDto = {};\r\n searchText: string;\r\n isSltUser: boolean;\r\n isLoaded: boolean;\r\n \r\n constructor(\r\n private userService: UserService,\r\n private stockNumberSearchService: StockNumberSearchService,\r\n private stateService: StateService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.searchText = '';\r\n this.isLoaded = false;\r\n\r\n this.userService.getUserProfile()\r\n .then((userProfile) => this.isSltUser = userProfile.isSltUser);\r\n\r\n this.stockNumberSearchService.getStockList()\r\n .then((inventoryStockMinViews) => this.inventoryStockMinViews = inventoryStockMinViews);\r\n }\r\n \r\n onSelect(stockNoInput: any): void {\r\n let stockNo = (stockNoInput.value) ? stockNoInput.value : stockNoInput;\r\n if (this.stateService.params.stockNo == stockNo) {\r\n this.stateService.reload();\r\n }\r\n else {\r\n var params = {\r\n isShowUsed: true,\r\n hasOpp: true,\r\n sortColumnName: 'GrossProfitFormatted',\r\n stockNo: stockNo\r\n };\r\n this.stateService.go('preOwnedManagerFindABuyer', params)\r\n }\r\n }\r\n}\r\n","// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = require('./_export');\nvar isInteger = require('./_is-integer');\nvar abs = Math.abs;\n\n$export($export.S, 'Number', {\n isSafeInteger: function isSafeInteger(number) {\n return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n }\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventType;\n(function (EventType) {\n EventType[EventType[\"engagement\"] = 0] = \"engagement\";\n})(EventType = exports.EventType || (exports.EventType = {}));\nvar EngagementEventTypeEnum;\n(function (EngagementEventTypeEnum) {\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"newServiceAppointment\"] = 1] = \"newServiceAppointment\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"inService\"] = 2] = \"inService\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"emailOpened\"] = 3] = \"emailOpened\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"emailReplied\"] = 4] = \"emailReplied\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"pURLView\"] = 5] = \"pURLView\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"pURLLeadSubmission\"] = 6] = \"pURLLeadSubmission\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"websiteEngaged\"] = 7] = \"websiteEngaged\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"websiteLeadSubmission\"] = 8] = \"websiteLeadSubmission\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"onlineServiceReview\"] = 9] = \"onlineServiceReview\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"onlineSalesReview\"] = 10] = \"onlineSalesReview\";\n EngagementEventTypeEnum[EngagementEventTypeEnum[\"textMessageReplied\"] = 11] = \"textMessageReplied\";\n})(EngagementEventTypeEnum = exports.EngagementEventTypeEnum || (exports.EngagementEventTypeEnum = {}));\n","export interface NotificationMessage {\r\n eventType: EventType;\r\n eventTime: Date;\r\n data: NotificationData;\r\n}\r\n\r\nexport interface NotificationData {\r\n entityID?: string;\r\n dealerID?: number;\r\n engagementTimeUtc: Date;\r\n type: EngagementEventTypeEnum;\r\n directUsers: Object[];\r\n customerID: number;\r\n}\r\n\r\nexport enum EventType {\r\n engagement = 0\r\n}\r\n\r\nexport enum EngagementEventTypeEnum {\r\n newServiceAppointment = 1,\r\n inService = 2,\r\n emailOpened = 3,\r\n emailReplied = 4,\r\n pURLView = 5,\r\n pURLLeadSubmission = 6,\r\n websiteEngaged = 7,\r\n websiteLeadSubmission = 8,\r\n onlineServiceReview = 9,\r\n onlineSalesReview = 10,\r\n textMessageReplied = 11\r\n}\r\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n"],"sourceRoot":""}